@konnectio/core 4.8.3 → 4.8.4
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-BmK388lK.js → ActionField-DNhrzibV.js} +42 -42
- package/dist/ActionField-DNhrzibV.js.br +0 -0
- package/dist/ActionField-DNhrzibV.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BCEm7qR0.js → AvailabilitySkeleton-DyHPcQ3l.js} +1863 -1863
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
- package/dist/{CheckoutWindow-DvJ7vnNs.js → CheckoutWindow-C7AVcaIo.js} +446 -446
- package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
- package/dist/{ErrorMessage-KXjD72UF.js → ErrorMessage-i6VD5R-W.js} +12 -12
- package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
- package/dist/ErrorMessage-i6VD5R-W.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CYlTT_Hr.js → EventAvailabilityForm-B5degNGN.js} +28 -28
- package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
- package/dist/{Field-BDefa6ac.js → Field-CysA6ZKB.js} +14 -14
- package/dist/Field-CysA6ZKB.js.br +0 -0
- package/dist/Field-CysA6ZKB.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js +320 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
- package/dist/{SelectField-D7e73Bye.js → SelectField-BUeYRCxc.js} +2947 -3417
- package/dist/SelectField-BUeYRCxc.js.br +0 -0
- package/dist/SelectField-BUeYRCxc.js.gz +0 -0
- package/dist/TermsOfService-DgMhoS_V.js +17 -0
- package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
- package/dist/_-DFyJPf6E.js +25 -0
- package/dist/_-DFyJPf6E.js.br +0 -0
- package/dist/_-DFyJPf6E.js.gz +0 -0
- package/dist/availability.js +40 -40
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +58 -58
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/deep-link.js +12 -12
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-Div6l3C2.js → dist-CS5pBdeg.js} +22 -22
- package/dist/dist-CS5pBdeg.js.br +0 -0
- package/dist/dist-CS5pBdeg.js.gz +0 -0
- package/dist/{dist-B3QSYyxo.js → dist-D4fD_33g.js} +5 -5
- package/dist/dist-D4fD_33g.js.br +0 -0
- package/dist/dist-D4fD_33g.js.gz +0 -0
- package/dist/event.js +371 -371
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +49 -49
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +161 -161
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DPU-N3nF.js → giftCard-ChLbvI2n.js} +15 -15
- package/dist/giftCard-ChLbvI2n.js.br +0 -0
- package/dist/giftCard-ChLbvI2n.js.gz +0 -0
- package/dist/hotel.js +776 -776
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-BF6zkld-.js → i18n-_behsDNX.js} +1030 -530
- package/dist/i18n-_behsDNX.js.br +0 -0
- package/dist/{i18n-BF6zkld-.js.gz → i18n-_behsDNX.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-Bb9B24D1.js → style-DWSfukOm.js} +372 -372
- package/dist/style-DWSfukOm.js.br +0 -0
- package/dist/style-DWSfukOm.js.gz +0 -0
- package/dist-wix/availability.js +29 -29
- package/dist-wix/event.js +4 -4
- package/dist-wix/gift-card-validation.js +21 -21
- package/dist-wix/gift-card.js +25 -25
- package/dist-wix/hotel.js +4 -4
- package/package.json +5 -4
- package/dist/ActionField-BmK388lK.js.br +0 -0
- package/dist/ActionField-BmK388lK.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.br +0 -0
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.gz +0 -0
- package/dist/CheckoutWindow-DvJ7vnNs.js.br +0 -0
- package/dist/CheckoutWindow-DvJ7vnNs.js.gz +0 -0
- package/dist/ErrorMessage-KXjD72UF.js.br +0 -0
- package/dist/ErrorMessage-KXjD72UF.js.gz +0 -0
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.br +0 -0
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.gz +0 -0
- package/dist/Field-BDefa6ac.js.br +0 -0
- package/dist/Field-BDefa6ac.js.gz +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js +0 -320
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.br +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.gz +0 -0
- package/dist/SelectField-D7e73Bye.js.br +0 -0
- package/dist/SelectField-D7e73Bye.js.gz +0 -0
- package/dist/TermsOfService-CAeM3I9r.js +0 -17
- package/dist/TermsOfService-CAeM3I9r.js.br +0 -0
- package/dist/TermsOfService-CAeM3I9r.js.gz +0 -0
- package/dist/_-B4tCu0BU.js +0 -25
- package/dist/_-B4tCu0BU.js.br +0 -0
- package/dist/_-B4tCu0BU.js.gz +0 -2
- package/dist/dist-B3QSYyxo.js.br +0 -0
- package/dist/dist-B3QSYyxo.js.gz +0 -0
- package/dist/dist-Div6l3C2.js.br +0 -0
- package/dist/dist-Div6l3C2.js.gz +0 -0
- package/dist/giftCard-DPU-N3nF.js.br +0 -0
- package/dist/giftCard-DPU-N3nF.js.gz +0 -0
- package/dist/i18n-BF6zkld-.js.br +0 -0
- package/dist/style-Bb9B24D1.js.br +0 -0
- package/dist/style-Bb9B24D1.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import { C as
|
|
4
|
-
import { a as
|
|
5
|
-
import { t as
|
|
6
|
-
import { a as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
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-
|
|
1
|
+
import { A as e, At as t, D as n, E as r, Et as i, F as a, I as o, L as s, M as c, N as l, P as u, Pt as d, Q as f, a as p, at as m, bt as h, et as g, f as _, ft as v, gt as y, h as b, it as x, j as S, jt as C, mt as w, n as T, o as E, p as D, w as O, wt as k, z as A } from "./i18n-_behsDNX.js";
|
|
2
|
+
import { t as j } from "./dist-CS5pBdeg.js";
|
|
3
|
+
import { C as M, D as ee, E as N, G as P, H as F, J as te, L as ne, N as I, Q as L, S as R, T as re, V as z, Y as B, Z as V, b as ie, ct as ae, et as H, it as U, j as oe, lt as se, n as W, nt as ce, r as G, tt as K, v as q, w as J, x as Y, z as le } from "./SelectField-BUeYRCxc.js";
|
|
4
|
+
import { a as ue, c as de, i as fe, l as pe, n as me, s as he, t as ge } from "./CheckoutWindow-C7AVcaIo.js";
|
|
5
|
+
import { t as _e } from "./_-DFyJPf6E.js";
|
|
6
|
+
import { a as ve, c as ye, d as be, f as xe, i as Se, l as Ce, n as we, o as Te, r as Ee, s as De, u as Oe } from "./AvailabilitySkeleton-DyHPcQ3l.js";
|
|
7
|
+
import { t as ke } from "./EventAvailabilityForm-B5degNGN.js";
|
|
8
|
+
import { t as Ae } from "./style-DWSfukOm.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-D4fD_33g.js";
|
|
10
10
|
//#region node_modules/date-fns/formatDistanceStrict.js
|
|
11
11
|
function Z(e, t, n) {
|
|
12
|
-
let r =
|
|
12
|
+
let r = ye(), i = n?.locale ?? r.locale ?? Ee, a = ve(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] = Te(n?.in, ...a > 0 ? [t, e] : [e, t]), l = Se(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / Ce, f = (u - (De(c) - De(s))) / Ce, p = n?.unit, m;
|
|
18
18
|
if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
|
|
19
19
|
let e = l(u / 1e3);
|
|
20
20
|
return i.formatDistance("xSeconds", e, o);
|
|
@@ -28,21 +28,21 @@ function Z(e, t, n) {
|
|
|
28
28
|
return i.formatDistance("xHours", e, o);
|
|
29
29
|
}
|
|
30
30
|
if (m === "day") {
|
|
31
|
-
let e = l(f /
|
|
31
|
+
let e = l(f / Oe);
|
|
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 / be);
|
|
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 / xe);
|
|
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 ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
45
|
+
var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
46
46
|
__name: "_",
|
|
47
47
|
props: {
|
|
48
48
|
name: {},
|
|
@@ -72,69 +72,69 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
72
72
|
},
|
|
73
73
|
callback: {}
|
|
74
74
|
},
|
|
75
|
-
setup(
|
|
76
|
-
let { t:
|
|
77
|
-
if (!
|
|
78
|
-
|
|
75
|
+
setup(n) {
|
|
76
|
+
let { t: r } = p(), i = n, { display: a } = I(), { hideEventGuestAmount: o } = b(N()), { maxNumberOfPeople: u, numberOfPeople: d, eventId: f, currentEventDate: h, tableGroupId: _ } = b(J()), { getTemplateAvailability: v, getEventAvailability: x, isEventListingLoading: w } = J(), { addToCart: T } = ee(), E = e(() => i.maxGuests || i.maxOnlineReservationLimit || u.value || Infinity), D = k(0), O = e(() => w(i.listingId)), A = () => {
|
|
77
|
+
if (!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
|
|
78
|
+
a({
|
|
79
79
|
type: "error",
|
|
80
|
-
message:
|
|
80
|
+
message: r("alert.error.selectPeople")
|
|
81
81
|
});
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
id:
|
|
86
|
-
name:
|
|
87
|
-
value:
|
|
88
|
-
}),
|
|
84
|
+
i.trackingEnabled && T({
|
|
85
|
+
id: i.listingId,
|
|
86
|
+
name: i.name,
|
|
87
|
+
value: i.fromPrice || 0
|
|
88
|
+
}), f.value = i.listingId, d.value = i.useNumberOfProductsForPersons ? NaN : D.value, v(i.callback);
|
|
89
89
|
}, j = () => {
|
|
90
|
-
if (!
|
|
91
|
-
|
|
90
|
+
if (!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
|
|
91
|
+
a({
|
|
92
92
|
type: "error",
|
|
93
|
-
message:
|
|
93
|
+
message: r("alert.error.selectPeople")
|
|
94
94
|
});
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
id:
|
|
99
|
-
name:
|
|
100
|
-
value:
|
|
101
|
-
}),
|
|
97
|
+
i.trackingEnabled && T({
|
|
98
|
+
id: i.listingId,
|
|
99
|
+
name: i.name,
|
|
100
|
+
value: i.fromPrice || 0
|
|
101
|
+
}), f.value = i.listingId, _.value = i.tableGroupId, d.value = i.useNumberOfProductsForPersons ? NaN : D.value, x(i.callback);
|
|
102
102
|
};
|
|
103
|
-
return (
|
|
103
|
+
return (e, i) => (g(), c(Pe, {
|
|
104
104
|
type: "event",
|
|
105
|
-
"listing-id":
|
|
106
|
-
gallery:
|
|
107
|
-
name:
|
|
108
|
-
description:
|
|
109
|
-
"prices-from":
|
|
110
|
-
"to-date":
|
|
111
|
-
layout:
|
|
112
|
-
"disable-deep-link":
|
|
105
|
+
"listing-id": n.listingId,
|
|
106
|
+
gallery: n.gallery,
|
|
107
|
+
name: n.name,
|
|
108
|
+
description: n.description,
|
|
109
|
+
"prices-from": n.fromPrice,
|
|
110
|
+
"to-date": n.toDate,
|
|
111
|
+
layout: t(U).Event,
|
|
112
|
+
"disable-deep-link": n.disableDeepLink
|
|
113
113
|
}, {
|
|
114
|
-
description:
|
|
115
|
-
action:
|
|
114
|
+
description: y(() => [m(e.$slots, "description", { maxNumberOfPeople: t(u) }, void 0, !0)]),
|
|
115
|
+
action: y(() => [m(e.$slots, "action", {}, () => [S("div", { class: C(["konnectio-event-listing-action", { "no-selectable-people": n.useNumberOfProductsForPersons }]) }, [n.useNumberOfProductsForPersons ? l("", !0) : (g(), c(G, {
|
|
116
116
|
key: 0,
|
|
117
117
|
modelValue: D.value,
|
|
118
|
-
"onUpdate:modelValue":
|
|
119
|
-
label:
|
|
118
|
+
"onUpdate:modelValue": i[0] ||= (e) => D.value = e,
|
|
119
|
+
label: t(r)("event.numberOfGuests"),
|
|
120
120
|
icon: "users",
|
|
121
121
|
"icon-type": "fas",
|
|
122
122
|
"icon-placement": "label",
|
|
123
|
-
description:
|
|
123
|
+
description: E.value <= 20 && !t(o) ? `${t(r)("general.availableFor")}: 1 - ${E.value} ${t(B)(t(r)("general.guests"))}` : void 0,
|
|
124
124
|
"min-value": 0,
|
|
125
|
-
"max-value":
|
|
125
|
+
"max-value": E.value
|
|
126
126
|
}, null, 8, [
|
|
127
127
|
"modelValue",
|
|
128
128
|
"label",
|
|
129
129
|
"description",
|
|
130
130
|
"max-value"
|
|
131
|
-
])),
|
|
132
|
-
label:
|
|
133
|
-
disabled:
|
|
131
|
+
])), S("div", ze, [s(q, {
|
|
132
|
+
label: n.soldOut ? t(r)("event.soldOut") : t(r)("event.bookNowButton"),
|
|
133
|
+
disabled: n.soldOut,
|
|
134
134
|
"is-loading": O.value,
|
|
135
135
|
"full-width": "",
|
|
136
|
-
"sub-label":
|
|
137
|
-
onClickEvent:
|
|
136
|
+
"sub-label": t(V)(t(h)),
|
|
137
|
+
onClickEvent: i[1] ||= (e) => n.type === "event" ? j() : A()
|
|
138
138
|
}, null, 8, [
|
|
139
139
|
"label",
|
|
140
140
|
"disabled",
|
|
@@ -159,7 +159,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
159
159
|
}, Ue = {
|
|
160
160
|
key: 2,
|
|
161
161
|
class: "konnectio-pill-button"
|
|
162
|
-
}, We = { key: 0 }, Ge = { key: 1 }, Q = /*#__PURE__*/
|
|
162
|
+
}, We = { key: 0 }, Ge = { key: 1 }, Q = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
163
163
|
__name: "Event",
|
|
164
164
|
props: {
|
|
165
165
|
name: {},
|
|
@@ -181,42 +181,42 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
181
181
|
trackingEnabled: { type: Boolean },
|
|
182
182
|
callback: {}
|
|
183
183
|
},
|
|
184
|
-
setup(
|
|
185
|
-
let
|
|
186
|
-
if (!
|
|
187
|
-
let e =
|
|
184
|
+
setup(n) {
|
|
185
|
+
let r = n, { t: i } = p(), { hideEventLength: a, hideEventEndTime: o } = b(N()), f = e(() => {
|
|
186
|
+
if (!r.length) return;
|
|
187
|
+
let e = r.length.split(":");
|
|
188
188
|
return Z(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
|
|
189
189
|
});
|
|
190
|
-
return (
|
|
191
|
-
"listing-id":
|
|
192
|
-
name:
|
|
193
|
-
description:
|
|
194
|
-
gallery:
|
|
195
|
-
"prices-from":
|
|
196
|
-
"table-group-id":
|
|
197
|
-
"max-guests":
|
|
198
|
-
"use-number-of-products-for-persons":
|
|
199
|
-
"to-date":
|
|
200
|
-
"sold-out":
|
|
190
|
+
return (e, r) => (g(), c(Be, {
|
|
191
|
+
"listing-id": n.listingId,
|
|
192
|
+
name: n.name,
|
|
193
|
+
description: n.description,
|
|
194
|
+
gallery: n.gallery,
|
|
195
|
+
"prices-from": n.fromPrice,
|
|
196
|
+
"table-group-id": n.tableGroupId,
|
|
197
|
+
"max-guests": n.maxOnlineReservationLimit,
|
|
198
|
+
"use-number-of-products-for-persons": n.useNumberOfProductsForPersons,
|
|
199
|
+
"to-date": n.toDate,
|
|
200
|
+
"sold-out": n.soldOut,
|
|
201
201
|
type: "event",
|
|
202
|
-
"tracking-enabled":
|
|
203
|
-
callback:
|
|
202
|
+
"tracking-enabled": n.trackingEnabled,
|
|
203
|
+
callback: n.callback
|
|
204
204
|
}, {
|
|
205
|
-
description:
|
|
205
|
+
description: y(() => [n.description ? (g(), c(X, {
|
|
206
206
|
key: 0,
|
|
207
|
-
text:
|
|
208
|
-
}, null, 8, ["text"])) :
|
|
209
|
-
|
|
210
|
-
!
|
|
207
|
+
text: n.description
|
|
208
|
+
}, null, 8, ["text"])) : l("", !0), S("ul", Ve, [
|
|
209
|
+
l("", !0),
|
|
210
|
+
!t(a) && f.value ? (g(), u("li", He, [S("div", null, [s(Y, {
|
|
211
211
|
icon: "calendar-clock",
|
|
212
212
|
color: "header"
|
|
213
|
-
}),
|
|
214
|
-
|
|
213
|
+
}), S("span", null, d(t(i)("event.lengthOfEvent")), 1)]), S("span", null, d(f.value), 1)])) : l("", !0),
|
|
214
|
+
n.timeFrom ? (g(), u("li", Ue, [S("div", null, [s(Y, {
|
|
215
215
|
icon: "calendar-clock",
|
|
216
216
|
color: "header"
|
|
217
|
-
}),
|
|
217
|
+
}), S("span", null, d(t(i)("event.startAndEndTime")), 1)]), t(o) ? (g(), u("span", Ge, d(t(K)(n.timeFrom)), 1)) : (g(), u("span", We, d(t(ce)(n.timeFrom, n.timeTo)), 1))])) : l("", !0)
|
|
218
218
|
])]),
|
|
219
|
-
action:
|
|
219
|
+
action: y(() => [m(e.$slots, "action", {}, void 0, !0)]),
|
|
220
220
|
_: 3
|
|
221
221
|
}, 8, [
|
|
222
222
|
"listing-id",
|
|
@@ -236,7 +236,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
236
236
|
}), [["__scopeId", "data-v-2ecac268"]]), Ke = {
|
|
237
237
|
key: 0,
|
|
238
238
|
class: "konnectio-event-grouped-listings-container"
|
|
239
|
-
}, qe = { class: "konnectio-event-grouped-listings" }, Je = /*#__PURE__*/
|
|
239
|
+
}, qe = { class: "konnectio-event-grouped-listings" }, Je = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
240
240
|
__name: "Event",
|
|
241
241
|
props: {
|
|
242
242
|
name: {},
|
|
@@ -245,21 +245,21 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
245
245
|
callback: { type: Function }
|
|
246
246
|
},
|
|
247
247
|
setup(e) {
|
|
248
|
-
return (t,
|
|
248
|
+
return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", Ke, [l("", !0), S("ul", qe, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, tableGroupId: o, description: s, soldOut: l, length: u, images: d, maxOnlineReservationLimit: f, maxPaxPerReservation: p, useNumberOfProductsForPersons: m, maxTicketsLimit: h }) => (g(), c(Q, {
|
|
249
249
|
key: t,
|
|
250
250
|
type: "event",
|
|
251
251
|
"listing-id": t,
|
|
252
|
-
"table-group-id":
|
|
253
|
-
description:
|
|
254
|
-
name:
|
|
255
|
-
length:
|
|
256
|
-
gallery:
|
|
252
|
+
"table-group-id": o,
|
|
253
|
+
description: s,
|
|
254
|
+
name: r,
|
|
255
|
+
length: u,
|
|
256
|
+
gallery: d,
|
|
257
257
|
days: n,
|
|
258
|
-
"max-online-reservation-limit":
|
|
259
|
-
"time-from":
|
|
260
|
-
"time-to":
|
|
261
|
-
"sold-out":
|
|
262
|
-
"use-number-of-products-for-persons":
|
|
258
|
+
"max-online-reservation-limit": p || f || h || void 0,
|
|
259
|
+
"time-from": i,
|
|
260
|
+
"time-to": a,
|
|
261
|
+
"sold-out": l,
|
|
262
|
+
"use-number-of-products-for-persons": m,
|
|
263
263
|
"tracking-enabled": e.trackingEnabled,
|
|
264
264
|
callback: e.callback
|
|
265
265
|
}, null, 8, [
|
|
@@ -277,7 +277,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
277
277
|
"use-number-of-products-for-persons",
|
|
278
278
|
"tracking-enabled",
|
|
279
279
|
"callback"
|
|
280
|
-
]))), 128))])])) : e.events ? (
|
|
280
|
+
]))), 128))])])) : e.events ? (g(), c(Q, {
|
|
281
281
|
key: e.events[0].id,
|
|
282
282
|
type: "event",
|
|
283
283
|
"listing-id": e.events[0].id,
|
|
@@ -313,9 +313,9 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
313
313
|
"use-number-of-products-for-persons",
|
|
314
314
|
"tracking-enabled",
|
|
315
315
|
"callback"
|
|
316
|
-
])) :
|
|
316
|
+
])) : l("", !0);
|
|
317
317
|
}
|
|
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__*/
|
|
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__*/ R(/* @__PURE__ */ A({
|
|
319
319
|
__name: "NextEvent",
|
|
320
320
|
props: {
|
|
321
321
|
name: {},
|
|
@@ -336,15 +336,15 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
336
336
|
trackingEnabled: { type: Boolean },
|
|
337
337
|
callback: { type: Function }
|
|
338
338
|
},
|
|
339
|
-
setup(
|
|
340
|
-
let { t:
|
|
341
|
-
function
|
|
342
|
-
l.value ? i(l.value) :
|
|
343
|
-
message:
|
|
339
|
+
setup(n) {
|
|
340
|
+
let { t: r } = p(), { updateEventDate: i } = M(), { display: a } = I(), l = k(), m = n;
|
|
341
|
+
function h() {
|
|
342
|
+
l.value ? i(l.value) : a({
|
|
343
|
+
message: r("alert.error.selectDate"),
|
|
344
344
|
type: "error"
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
|
-
let
|
|
347
|
+
let _ = e(() => le(m.fromDate, m.toDate) <= 1), v = e(() => [
|
|
348
348
|
0,
|
|
349
349
|
1,
|
|
350
350
|
2,
|
|
@@ -352,41 +352,41 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
352
352
|
4,
|
|
353
353
|
5,
|
|
354
354
|
6
|
|
355
|
-
].filter((e) => !
|
|
356
|
-
return
|
|
357
|
-
|
|
358
|
-
}), (
|
|
359
|
-
name:
|
|
360
|
-
description:
|
|
361
|
-
"from-date":
|
|
362
|
-
"to-date":
|
|
363
|
-
length:
|
|
364
|
-
"time-from":
|
|
365
|
-
"time-to":
|
|
366
|
-
gallery:
|
|
367
|
-
days:
|
|
368
|
-
"listing-id":
|
|
369
|
-
"table-group-id":
|
|
370
|
-
"max-online-reservation-limit":
|
|
371
|
-
"minimum-person-count":
|
|
372
|
-
"use-number-of-products-for-persons":
|
|
373
|
-
"tracking-enabled":
|
|
374
|
-
"sold-out":
|
|
375
|
-
callback:
|
|
355
|
+
].filter((e) => !z(m.days).includes(e)));
|
|
356
|
+
return f(() => {
|
|
357
|
+
_.value && (l.value = new Date(m.fromDate));
|
|
358
|
+
}), (e, i) => (g(), c(Q, {
|
|
359
|
+
name: n.name,
|
|
360
|
+
description: n.description,
|
|
361
|
+
"from-date": n.fromDate,
|
|
362
|
+
"to-date": n.toDate,
|
|
363
|
+
length: n.length,
|
|
364
|
+
"time-from": n.timeFrom,
|
|
365
|
+
"time-to": n.timeTo,
|
|
366
|
+
gallery: n.gallery,
|
|
367
|
+
days: n.days,
|
|
368
|
+
"listing-id": n.listingId,
|
|
369
|
+
"table-group-id": n.tableGroupId,
|
|
370
|
+
"max-online-reservation-limit": n.maxOnlineReservationLimit,
|
|
371
|
+
"minimum-person-count": n.minimumPersonCount,
|
|
372
|
+
"use-number-of-products-for-persons": n.useNumberOfProductsForPersons,
|
|
373
|
+
"tracking-enabled": n.trackingEnabled,
|
|
374
|
+
"sold-out": n.soldOut,
|
|
375
|
+
callback: n.callback,
|
|
376
376
|
"disable-deep-link": !0
|
|
377
377
|
}, {
|
|
378
|
-
action:
|
|
378
|
+
action: y(() => [S("div", null, [S("div", Ye, [s(we, {
|
|
379
379
|
modelValue: l.value,
|
|
380
|
-
"onUpdate:modelValue":
|
|
381
|
-
label: `${
|
|
382
|
-
placeholder:
|
|
380
|
+
"onUpdate:modelValue": i[0] ||= (e) => l.value = e,
|
|
381
|
+
label: `${t(r)("event.selectDate")}*`,
|
|
382
|
+
placeholder: t(r)("event.selectDate"),
|
|
383
383
|
"icon-type": "fas",
|
|
384
384
|
"icon-placement": "label",
|
|
385
|
-
readonly:
|
|
386
|
-
"start-date":
|
|
387
|
-
"min-date":
|
|
388
|
-
"max-date": new Date(
|
|
389
|
-
"disabled-week-days":
|
|
385
|
+
readonly: _.value,
|
|
386
|
+
"start-date": n.fromDate === "0001-01-01T00:00:00Z" ? new Date(n.toDate) : new Date(n.fromDate),
|
|
387
|
+
"min-date": n.fromDate === "0001-01-01T00:00:00Z" ? new Date(n.toDate) : new Date(n.fromDate),
|
|
388
|
+
"max-date": new Date(n.toDate),
|
|
389
|
+
"disabled-week-days": v.value
|
|
390
390
|
}, null, 8, [
|
|
391
391
|
"modelValue",
|
|
392
392
|
"label",
|
|
@@ -396,10 +396,10 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
396
396
|
"min-date",
|
|
397
397
|
"max-date",
|
|
398
398
|
"disabled-week-days"
|
|
399
|
-
]),
|
|
400
|
-
label:
|
|
401
|
-
onClick:
|
|
402
|
-
}, null, 8, ["label"])])]),
|
|
399
|
+
]), S("div", Xe, [s(q, {
|
|
400
|
+
label: t(r)("availability.buttonLabel"),
|
|
401
|
+
onClick: O(h, ["prevent"])
|
|
402
|
+
}, null, 8, ["label"])])]), S("div", Ze, [_.value ? (g(), u("span", Qe, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(V)(n.fromDate)), 1)])) : (g(), u("span", $, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(L)(n.days)), 1)]))])])]),
|
|
403
403
|
_: 1
|
|
404
404
|
}, 8, [
|
|
405
405
|
"name",
|
|
@@ -424,7 +424,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
424
424
|
}), [["__scopeId", "data-v-91ea584c"]]), et = {
|
|
425
425
|
key: 0,
|
|
426
426
|
class: "konnectio-event-grouped-listings-container"
|
|
427
|
-
}, tt = { class: "konnectio-event-grouped-listings" }, nt = /*#__PURE__*/
|
|
427
|
+
}, tt = { class: "konnectio-event-grouped-listings" }, nt = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
428
428
|
__name: "NextEvent",
|
|
429
429
|
props: {
|
|
430
430
|
name: {},
|
|
@@ -433,22 +433,22 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
433
433
|
callback: { type: Function }
|
|
434
434
|
},
|
|
435
435
|
setup(e) {
|
|
436
|
-
return (t,
|
|
436
|
+
return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", et, [l("", !0), S("ul", tt, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, fromDate: o, toDate: s, tableGroupId: l, description: u, soldOut: d, length: f, images: p, maxOnlineReservationLimit: m, maxPaxPerReservation: h, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (g(), c($e, {
|
|
437
437
|
key: t,
|
|
438
438
|
type: "event",
|
|
439
439
|
"listing-id": t,
|
|
440
|
-
"table-group-id":
|
|
441
|
-
description:
|
|
442
|
-
name:
|
|
443
|
-
length:
|
|
444
|
-
gallery:
|
|
440
|
+
"table-group-id": l,
|
|
441
|
+
description: u,
|
|
442
|
+
name: r,
|
|
443
|
+
length: f,
|
|
444
|
+
gallery: p,
|
|
445
445
|
days: n,
|
|
446
|
-
"from-date":
|
|
447
|
-
"to-date":
|
|
448
|
-
"max-online-reservation-limit":
|
|
449
|
-
"time-from":
|
|
450
|
-
"time-to":
|
|
451
|
-
"sold-out":
|
|
446
|
+
"from-date": o,
|
|
447
|
+
"to-date": s,
|
|
448
|
+
"max-online-reservation-limit": h || m || v || void 0,
|
|
449
|
+
"time-from": i,
|
|
450
|
+
"time-to": a,
|
|
451
|
+
"sold-out": d,
|
|
452
452
|
"use-number-of-products-for-persons": _,
|
|
453
453
|
"tracking-enabled": e.trackingEnabled,
|
|
454
454
|
callback: e.callback
|
|
@@ -469,7 +469,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
469
469
|
"use-number-of-products-for-persons",
|
|
470
470
|
"tracking-enabled",
|
|
471
471
|
"callback"
|
|
472
|
-
]))), 128))])])) : e.events ? (
|
|
472
|
+
]))), 128))])])) : e.events ? (g(), c($e, {
|
|
473
473
|
key: e.events[0].id,
|
|
474
474
|
type: "event",
|
|
475
475
|
"listing-id": e.events[0].id,
|
|
@@ -505,9 +505,9 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
505
505
|
"use-number-of-products-for-persons",
|
|
506
506
|
"tracking-enabled",
|
|
507
507
|
"callback"
|
|
508
|
-
])) :
|
|
508
|
+
])) : l("", !0);
|
|
509
509
|
}
|
|
510
|
-
}), [["__scopeId", "data-v-56a468d4"]]), rt = ["innerHTML"], it = /*#__PURE__*/
|
|
510
|
+
}), [["__scopeId", "data-v-56a468d4"]]), rt = ["innerHTML"], it = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
511
511
|
__name: "FallbackEvent",
|
|
512
512
|
props: {
|
|
513
513
|
name: {},
|
|
@@ -520,8 +520,8 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
520
520
|
callback: { type: Function }
|
|
521
521
|
},
|
|
522
522
|
setup(e) {
|
|
523
|
-
let { t } =
|
|
524
|
-
return (
|
|
523
|
+
let { t: n } = p();
|
|
524
|
+
return (r, i) => (g(), c(Q, {
|
|
525
525
|
name: e.name,
|
|
526
526
|
description: e.description,
|
|
527
527
|
"from-date": e.fromDate,
|
|
@@ -532,9 +532,9 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
532
532
|
callback: e.callback,
|
|
533
533
|
"disable-deep-link": !0
|
|
534
534
|
}, {
|
|
535
|
-
action:
|
|
535
|
+
action: y(() => [S("div", {
|
|
536
536
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
537
|
-
innerHTML:
|
|
537
|
+
innerHTML: t(n)("event.notAvailable", { name: `<b>${e.name}</b>` })
|
|
538
538
|
}, null, 8, rt)]),
|
|
539
539
|
_: 1
|
|
540
540
|
}, 8, [
|
|
@@ -548,7 +548,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
548
548
|
"callback"
|
|
549
549
|
]));
|
|
550
550
|
}
|
|
551
|
-
}), [["__scopeId", "data-v-aca89b02"]]), at = /* @__PURE__ */
|
|
551
|
+
}), [["__scopeId", "data-v-aca89b02"]]), at = /* @__PURE__ */ A({
|
|
552
552
|
__name: "Template",
|
|
553
553
|
props: {
|
|
554
554
|
name: {},
|
|
@@ -565,7 +565,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
565
565
|
callback: {}
|
|
566
566
|
},
|
|
567
567
|
setup(e) {
|
|
568
|
-
return (t, n) => (
|
|
568
|
+
return (t, n) => (g(), c(Be, {
|
|
569
569
|
"listing-id": e.listingId,
|
|
570
570
|
gallery: e.images,
|
|
571
571
|
name: e.name,
|
|
@@ -592,7 +592,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__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__*/ R(/* @__PURE__ */ A({
|
|
596
596
|
__name: "EventReservationForm",
|
|
597
597
|
props: {
|
|
598
598
|
showGiftCard: {
|
|
@@ -605,48 +605,48 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
605
605
|
},
|
|
606
606
|
prevCallback: {}
|
|
607
607
|
},
|
|
608
|
-
setup(
|
|
609
|
-
let { t:
|
|
610
|
-
return (
|
|
611
|
-
"discount-code":
|
|
612
|
-
"onUpdate:discountCode":
|
|
613
|
-
"validate-discount-code":
|
|
614
|
-
"show-gift-card":
|
|
615
|
-
"show-terms-notice":
|
|
616
|
-
"is-sidebar-loading": !
|
|
617
|
-
"base-price":
|
|
618
|
-
"total-price":
|
|
619
|
-
"weekend-fee":
|
|
620
|
-
"room-upgrade":
|
|
621
|
-
notice:
|
|
622
|
-
"prev-callback":
|
|
623
|
-
},
|
|
624
|
-
form:
|
|
625
|
-
innerHTML:
|
|
608
|
+
setup(e) {
|
|
609
|
+
let { t: n } = p(), i = v(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: f, numberOfRooms: _, numberOfTotalDays: C, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: M, roomUpgrade: ee, discountCode: P, totalSelectedProducts: F, discountValue: te, appliedDiscountCode: ne } = b(J()), { totalAddonPrice: I, validateDiscountCode: L } = J(), { currency: R, hideEventLength: re } = b(N()), z = n("event.reservationNotice");
|
|
610
|
+
return (p, v) => (g(), c(je, {
|
|
611
|
+
"discount-code": t(P),
|
|
612
|
+
"onUpdate:discountCode": v[0] ||= (e) => h(P) ? P.value = e : null,
|
|
613
|
+
"validate-discount-code": t(L),
|
|
614
|
+
"show-gift-card": e.showGiftCard,
|
|
615
|
+
"show-terms-notice": e.showTermsNotice,
|
|
616
|
+
"is-sidebar-loading": !t(o),
|
|
617
|
+
"base-price": t(A),
|
|
618
|
+
"total-price": t(j),
|
|
619
|
+
"weekend-fee": t(M),
|
|
620
|
+
"room-upgrade": t(ee),
|
|
621
|
+
notice: t(z),
|
|
622
|
+
"prev-callback": e.prevCallback
|
|
623
|
+
}, a({
|
|
624
|
+
form: y(() => [m(p.$slots, "form", {}, void 0, !0), t(z) ? (g(), u("div", ot, [S("p", {
|
|
625
|
+
innerHTML: t(z),
|
|
626
626
|
class: "konnectio-wysiwyg"
|
|
627
|
-
}, null, 8, st)])) :
|
|
628
|
-
"reservation-summary":
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
!
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
], 64)) :
|
|
638
|
-
!
|
|
639
|
-
!
|
|
640
|
-
|
|
627
|
+
}, null, 8, st)])) : l("", !0)]),
|
|
628
|
+
"reservation-summary": y(() => [
|
|
629
|
+
t(w) ? l("", !0) : (g(), u("li", ct, [S("span", null, d(t(n)("general.date")), 1), S("b", null, d(t(V)(t(T))), 1)])),
|
|
630
|
+
t(f) > 0 ? (g(), u("li", lt, [S("span", null, d(t(n)("event.numberOfGuests")), 1), S("b", null, d(t(f)), 1)])) : l("", !0),
|
|
631
|
+
!t(w) && t(F) > 0 ? (g(), u("li", ut, [S("span", null, d(t(n)("event.numberOfProducts")), 1), S("b", null, d(t(F)), 1)])) : l("", !0),
|
|
632
|
+
t(w) ? (g(), u(r, { key: 3 }, [
|
|
633
|
+
S("li", null, [S("span", null, d(t(n)("booking.reservation.arrival")), 1), S("b", null, d(t(V)(t(D))), 1)]),
|
|
634
|
+
S("li", null, [S("span", null, d(t(n)("booking.reservation.departure")), 1), S("b", null, d(t(V)(t(D), t(C))), 1)]),
|
|
635
|
+
S("li", null, [S("span", null, d(t(n)("event.numberOfRooms")), 1), S("b", null, d(t(_)), 1)]),
|
|
636
|
+
t(C) > 0 ? (g(), u("li", dt, [S("span", null, d(t(n)("event.numberOfDays")), 1), S("b", null, d(t(C)), 1)])) : l("", !0)
|
|
637
|
+
], 64)) : l("", !0),
|
|
638
|
+
!t(w) && t(s) ? (g(), u("li", ft, [S("span", null, d(t(n)("event.startOfEvent")), 1), S("b", null, d(t(K)(t(s))), 1)])) : l("", !0),
|
|
639
|
+
!t(w) && t(E) && !t(re) ? (g(), u("li", pt, [S("span", null, d(t(n)("event.lengthOfEvent")), 1), S("b", null, d(t(K)(t(E))), 1)])) : l("", !0),
|
|
640
|
+
t(te) ? (g(), u("li", mt, [S("span", null, d(t(n)("general.discountCode")), 1), S("b", null, d(t(ne)), 1)])) : l("", !0)
|
|
641
641
|
]),
|
|
642
|
-
"price-summary":
|
|
643
|
-
navigation:
|
|
644
|
-
"mobile-under-price":
|
|
645
|
-
"mobile-summary":
|
|
642
|
+
"price-summary": y(() => [!t(w) && t(O) > 0 ? (g(), u("li", ht, [S("span", null, d(t(n)("booking.availability.basePrice")), 1), S("b", null, d(t(H)(t(O), t(R))), 1)])) : l("", !0), t(k) ? (g(!0), u(r, { key: 1 }, x(t(k), ({ roomGroupId: e }, i) => (g(), u(r, null, [t(I)(e, i) > 0 ? (g(), u("li", { key: e }, [S("span", null, d(t(n)("booking.reservation.addons")) + " - " + d(t(n)("booking.reservation.room")) + " #" + d(i + 1), 1), S("b", null, d(t(H)(t(I)(e, i), t(R))), 1)])) : l("", !0)], 64))), 256)) : l("", !0)]),
|
|
643
|
+
navigation: y(() => [m(p.$slots, "navigation", {}, void 0, !0)]),
|
|
644
|
+
"mobile-under-price": y(() => [t(w) && t(C) > 0 ? (g(), u("div", gt, [S("span", null, d(t(V)(t(D))) + " - " + d(t(V)(t(D), t(C))), 1)])) : (g(), u("div", _t, [S("span", null, d(t(V)(t(T))), 1)]))]),
|
|
645
|
+
"mobile-summary": y(() => [!t(w) && t(F) > 0 ? (g(), u("span", vt, d(t(n)("event.numberOfProducts")) + ": " + d(t(F)), 1)) : l("", !0)]),
|
|
646
646
|
_: 2
|
|
647
|
-
}, [
|
|
647
|
+
}, [t(i).sidebar ? {
|
|
648
648
|
name: "sidebar",
|
|
649
|
-
fn:
|
|
649
|
+
fn: y(() => [m(p.$slots, "sidebar", {}, void 0, !0)]),
|
|
650
650
|
key: "0"
|
|
651
651
|
} : void 0]), 1032, [
|
|
652
652
|
"discount-code",
|
|
@@ -662,10 +662,10 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__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__*/ R(/* @__PURE__ */ A({
|
|
666
666
|
__name: "EventSkeleton",
|
|
667
667
|
setup(e) {
|
|
668
|
-
return (e, t) => (
|
|
668
|
+
return (e, t) => (g(), u("div", bt, [S("div", xt, [s(Fe)]), S("div", St, [l("", !0), s(Ie)])]));
|
|
669
669
|
}
|
|
670
670
|
}), [["__scopeId", "data-v-af0e7efb"]]), wt = {
|
|
671
671
|
key: 0,
|
|
@@ -682,7 +682,7 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__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__*/ R(/* @__PURE__ */ A({
|
|
686
686
|
name: "EventLayout",
|
|
687
687
|
__name: "Event",
|
|
688
688
|
props: {
|
|
@@ -699,14 +699,14 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
699
699
|
excludeEventIds: { default: "" },
|
|
700
700
|
styling: {}
|
|
701
701
|
},
|
|
702
|
-
setup(
|
|
703
|
-
let
|
|
704
|
-
|
|
705
|
-
let $ =
|
|
702
|
+
setup(a) {
|
|
703
|
+
let f = a, { t: m } = p(), v = J(), { isHostedCheckoutActive: C } = b(oe()), { addons: T, products: E, numberOfDays: D, flagOnTable: O, numberOfHighChairs: k, name: A, phone: j, email: L, remark: R, allergies: z, arrivalTime: B, hasEvents: V, hasTemplates: U, getTemplates: ce, getEventData: le, getTemplateData: ve, getEventTableData: ye, hasProducts: be, eventRateType: xe, areListingsAvailable: Se, isAvailabilityDataAvailable: Ce, hasListingData: we, isPaymentLoading: Te, isReservationFormFilled: Ee, requiresArrivalTime: De, hasSelectedRequiredProducts: Oe, getUnavailableEvents: Ae, hasFallbackEvents: je, getFallbackEvents: Pe, excludeEventIds: Ie } = b(v), Re = e(() => v.getSortedEvents(f.sortOrder)), { currency: X, enableTracking: Z } = b(N()), { setActiveIdFilter: ze } = N(), { eventDate: Be, eventLocation: Ve } = b(M()), { isValidRestaurantId: He } = M(), { initialize: Ue, fetchListings: We, createBooking: Ge, bookingPayload: Q, localAddonPrice: Ke, totalAddonPrice: qe, reset: Ye, goBack: Xe } = J(), { beginEventCheckout: Ze } = ee(), { display: Qe } = I();
|
|
704
|
+
pe.useHttpClient(he(re()));
|
|
705
|
+
let $ = i(), $e;
|
|
706
706
|
function et() {
|
|
707
707
|
let { url: e, data: t } = Q();
|
|
708
708
|
if (!$.value || $e !== e) {
|
|
709
|
-
let n =
|
|
709
|
+
let n = de("post", e, t);
|
|
710
710
|
n.setValidationTimeout(600), $e = e, $.value = n;
|
|
711
711
|
}
|
|
712
712
|
return $.value;
|
|
@@ -718,22 +718,22 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
718
718
|
function rt(e) {
|
|
719
719
|
return $.value?.errors[e];
|
|
720
720
|
}
|
|
721
|
-
|
|
722
|
-
let ot =
|
|
721
|
+
w(A, () => tt("name")), w(L, () => tt("email")), w(j, () => tt("phone"));
|
|
722
|
+
let ot = e(() => [
|
|
723
723
|
{
|
|
724
724
|
id: "availability",
|
|
725
|
-
label:
|
|
725
|
+
label: m("booking.availability.title"),
|
|
726
726
|
icon: "search"
|
|
727
727
|
},
|
|
728
728
|
{
|
|
729
729
|
id: "addons",
|
|
730
|
-
label:
|
|
730
|
+
label: m("general.addons"),
|
|
731
731
|
icon: "shopping-cart",
|
|
732
732
|
hidden: !1
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
735
|
id: "reservation",
|
|
736
|
-
label:
|
|
736
|
+
label: m("booking.reservation.title"),
|
|
737
737
|
icon: "concierge-bell"
|
|
738
738
|
},
|
|
739
739
|
{
|
|
@@ -742,20 +742,20 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
744
|
id: "confirmation",
|
|
745
|
-
label:
|
|
745
|
+
label: m("booking.confirmation.title"),
|
|
746
746
|
icon: "calendar-check"
|
|
747
747
|
}
|
|
748
|
-
]), st =
|
|
748
|
+
]), st = e(() => {
|
|
749
749
|
let e = [];
|
|
750
|
-
return
|
|
750
|
+
return ye.value && ye.value.forEach((t) => {
|
|
751
751
|
e.find((e) => e.value === t.time) || e.push({
|
|
752
|
-
label:
|
|
752
|
+
label: K(t.time),
|
|
753
753
|
value: t.time
|
|
754
754
|
});
|
|
755
755
|
}), e;
|
|
756
756
|
});
|
|
757
757
|
function ct() {
|
|
758
|
-
Ye(
|
|
758
|
+
Ye(f.resetDate === "yes");
|
|
759
759
|
}
|
|
760
760
|
async function lt(e) {
|
|
761
761
|
Z.value && Ze();
|
|
@@ -763,51 +763,51 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
763
763
|
t && et().setErrors(t);
|
|
764
764
|
}
|
|
765
765
|
function ut() {
|
|
766
|
-
let e =
|
|
766
|
+
let e = _("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
|
|
767
767
|
if (n) {
|
|
768
|
-
if (
|
|
768
|
+
if (te(n)) {
|
|
769
769
|
let t = new Date(n);
|
|
770
770
|
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Be.value = t : (Qe({
|
|
771
|
-
message:
|
|
771
|
+
message: m("alert.error.invalidDateRange"),
|
|
772
772
|
type: "error"
|
|
773
773
|
}), e.d = void 0);
|
|
774
774
|
} else Qe({
|
|
775
|
-
message:
|
|
775
|
+
message: m("alert.error.wrongDateFormat"),
|
|
776
776
|
type: "error"
|
|
777
777
|
});
|
|
778
778
|
}
|
|
779
779
|
isNaN(t) || (He(t) ? Ve.value = t : (e.rid = void 0, Qe({
|
|
780
|
-
message:
|
|
780
|
+
message: m("alert.error.hotelIdNotFound"),
|
|
781
781
|
type: "error"
|
|
782
|
-
}))), isNaN(r) || ze(String(r)),
|
|
782
|
+
}))), isNaN(r) || ze(String(r)), f.excludeEventIds && (Ie.value = f.excludeEventIds), We();
|
|
783
783
|
}
|
|
784
|
-
return (
|
|
785
|
-
default:
|
|
786
|
-
default:
|
|
784
|
+
return (e, i) => (g(), c(ie, { styling: a.styling }, {
|
|
785
|
+
default: y(() => [(g(), c(n, { onResolve: ut }, {
|
|
786
|
+
default: y(() => [s(_e, {
|
|
787
787
|
id: "konnectio-event-module",
|
|
788
|
-
"access-token":
|
|
789
|
-
callback:
|
|
788
|
+
"access-token": a.accessToken,
|
|
789
|
+
callback: t(Ue)
|
|
790
790
|
}, {
|
|
791
|
-
default:
|
|
791
|
+
default: y(() => [s(Le, {
|
|
792
792
|
steps: ot.value,
|
|
793
793
|
onReset: ct
|
|
794
794
|
}, {
|
|
795
|
-
availability:
|
|
796
|
-
sidebar:
|
|
795
|
+
availability: y(({ next: e }) => [s(yt, null, {
|
|
796
|
+
sidebar: y(() => [s(ke, {
|
|
797
797
|
redirection: !1,
|
|
798
|
-
"selected-location": Number(
|
|
799
|
-
"hide-locations":
|
|
798
|
+
"selected-location": Number(a.selectedLocation),
|
|
799
|
+
"hide-locations": a.hideLocations === "yes"
|
|
800
800
|
}, null, 8, ["selected-location", "hide-locations"])]),
|
|
801
|
-
form:
|
|
802
|
-
|
|
803
|
-
key:
|
|
801
|
+
form: y(() => [t(we) && t(Se) ? (g(), u("div", wt, [
|
|
802
|
+
t(je) ? (g(), u("ul", Tt, [(g(!0), u(r, null, x(t(Pe), ({ id: n, name: r, description: i, images: a }) => (g(), c(it, {
|
|
803
|
+
key: n,
|
|
804
804
|
type: "event",
|
|
805
|
-
"listing-id":
|
|
805
|
+
"listing-id": n,
|
|
806
806
|
description: i,
|
|
807
|
-
name:
|
|
808
|
-
gallery:
|
|
809
|
-
"tracking-enabled":
|
|
810
|
-
callback:
|
|
807
|
+
name: r,
|
|
808
|
+
gallery: a,
|
|
809
|
+
"tracking-enabled": t(Z),
|
|
810
|
+
callback: e
|
|
811
811
|
}, null, 8, [
|
|
812
812
|
"listing-id",
|
|
813
813
|
"description",
|
|
@@ -815,35 +815,35 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
815
815
|
"gallery",
|
|
816
816
|
"tracking-enabled",
|
|
817
817
|
"callback"
|
|
818
|
-
]))), 128))])) :
|
|
819
|
-
Re.value.length > 0 &&
|
|
818
|
+
]))), 128))])) : l("", !0),
|
|
819
|
+
Re.value.length > 0 && t(Ae).length > 0 ? (g(), u("h2", Et, [s(Y, {
|
|
820
820
|
icon: "calendar-clock",
|
|
821
821
|
type: "fal",
|
|
822
822
|
color: "header"
|
|
823
|
-
}),
|
|
824
|
-
|
|
825
|
-
key:
|
|
826
|
-
name:
|
|
827
|
-
events:
|
|
828
|
-
"tracking-enabled":
|
|
829
|
-
callback:
|
|
823
|
+
}), S("span", null, d(t(m)("event.availableNow")), 1)])) : l("", !0),
|
|
824
|
+
S("ul", Dt, [t(V) && a.onlyShow !== "templates" ? (g(!0), u(r, { key: 0 }, x(Re.value, (n) => (g(), c(Je, {
|
|
825
|
+
key: n.name,
|
|
826
|
+
name: n.name,
|
|
827
|
+
events: n.events ?? [],
|
|
828
|
+
"tracking-enabled": t(Z),
|
|
829
|
+
callback: e
|
|
830
830
|
}, null, 8, [
|
|
831
831
|
"name",
|
|
832
832
|
"events",
|
|
833
833
|
"tracking-enabled",
|
|
834
834
|
"callback"
|
|
835
|
-
]))), 128)) :
|
|
836
|
-
key:
|
|
837
|
-
"listing-id":
|
|
838
|
-
name:
|
|
835
|
+
]))), 128)) : l("", !0), t(U) && a.onlyShow !== "events" ? (g(!0), u(r, { key: 1 }, x(t(ce), ({ id: n, name: r, fromDate: i, toDate: a, minimumPersonCount: o, fromPrice: s, description: l, images: u }) => (g(), c(at, {
|
|
836
|
+
key: n,
|
|
837
|
+
"listing-id": n,
|
|
838
|
+
name: r,
|
|
839
839
|
images: u,
|
|
840
840
|
description: l,
|
|
841
841
|
"from-date": i,
|
|
842
|
-
"to-date":
|
|
843
|
-
"minimum-person-count":
|
|
844
|
-
fromPrice:
|
|
845
|
-
"tracking-enabled":
|
|
846
|
-
callback:
|
|
842
|
+
"to-date": a,
|
|
843
|
+
"minimum-person-count": o,
|
|
844
|
+
fromPrice: s,
|
|
845
|
+
"tracking-enabled": t(Z),
|
|
846
|
+
callback: e
|
|
847
847
|
}, null, 8, [
|
|
848
848
|
"listing-id",
|
|
849
849
|
"name",
|
|
@@ -855,99 +855,99 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
855
855
|
"fromPrice",
|
|
856
856
|
"tracking-enabled",
|
|
857
857
|
"callback"
|
|
858
|
-
]))), 128)) :
|
|
859
|
-
|
|
858
|
+
]))), 128)) : l("", !0)]),
|
|
859
|
+
t(Ae).length > 0 && a.onlyShow !== "templates" ? (g(), u(r, { key: 2 }, [S("h2", Ot, [s(Y, {
|
|
860
860
|
icon: "calendar-circle-exclamation",
|
|
861
861
|
type: "fal",
|
|
862
862
|
color: "header"
|
|
863
|
-
}),
|
|
864
|
-
key:
|
|
865
|
-
name:
|
|
866
|
-
events:
|
|
867
|
-
"tracking-enabled":
|
|
868
|
-
callback:
|
|
863
|
+
}), S("span", null, d(t(m)("event.availableLater")), 1)]), S("ul", kt, [(g(!0), u(r, null, x(t(Ae), (n) => (g(), c(nt, {
|
|
864
|
+
key: n.name,
|
|
865
|
+
name: n.name,
|
|
866
|
+
events: n.events ?? [],
|
|
867
|
+
"tracking-enabled": t(Z),
|
|
868
|
+
callback: e
|
|
869
869
|
}, null, 8, [
|
|
870
870
|
"name",
|
|
871
871
|
"events",
|
|
872
872
|
"tracking-enabled",
|
|
873
873
|
"callback"
|
|
874
|
-
]))), 128))])], 64)) :
|
|
875
|
-
(!
|
|
874
|
+
]))), 128))])], 64)) : l("", !0),
|
|
875
|
+
(!t(V) && !t(U) || !t(V) && a.onlyShow === "events" || !t(U) && a.onlyShow === "templates") && !t(je) ? (g(), u("div", {
|
|
876
876
|
key: 3,
|
|
877
877
|
class: "konnectio-panel",
|
|
878
|
-
innerHTML:
|
|
879
|
-
}, null, 8, At)) :
|
|
880
|
-
])) : (
|
|
878
|
+
innerHTML: t(m)("event.nothingAvailable")
|
|
879
|
+
}, null, 8, At)) : l("", !0)
|
|
880
|
+
])) : (g(), c(Fe, { key: 1 }))]),
|
|
881
881
|
_: 2
|
|
882
882
|
}, 1024)]),
|
|
883
|
-
addons:
|
|
883
|
+
addons: y(({ next: e, prev: n }) => [t(Ce) ? (g(), c(yt, {
|
|
884
884
|
key: 0,
|
|
885
|
-
"prev-callback": () =>
|
|
885
|
+
"prev-callback": () => t(Xe)(n)
|
|
886
886
|
}, {
|
|
887
|
-
form:
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
887
|
+
form: y(() => [S("form", jt, [
|
|
888
|
+
S("h2", null, [S("span", null, d(t(m)("event.selectProducts")), 1)]),
|
|
889
|
+
t(ve) && t(ve).length > 0 ? (g(), u("ul", Mt, [(g(!0), u(r, null, x(t(ve), ({ roomGroupId: e, addons: n, adultPerRoom: a }, l) => (g(), u("li", { key: e }, [S("h5", null, [
|
|
890
|
+
S("span", null, d(t(m)("booking.reservation.room")) + " #" + d(l + 1), 1),
|
|
891
|
+
i[9] ||= o(" (", -1),
|
|
892
|
+
s(Y, {
|
|
893
893
|
icon: "male",
|
|
894
894
|
type: "fas",
|
|
895
895
|
color: "header"
|
|
896
896
|
}),
|
|
897
|
-
|
|
898
|
-
]),
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
897
|
+
o(" " + d(a) + ") ", 1)
|
|
898
|
+
]), S("table", Nt, [
|
|
899
|
+
S("thead", null, [S("tr", null, [
|
|
900
|
+
S("th", null, [S("span", null, d(t(m)("booking.reservation.addons")), 1)]),
|
|
901
|
+
i[10] ||= S("th", { class: "konnectio-event-addons-input" }, null, -1),
|
|
902
|
+
S("th", Pt, [S("span", null, d(t(m)("booking.availability.price")), 1)])
|
|
903
903
|
])]),
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
904
|
+
S("tbody", null, [(g(!0), u(r, null, x(n, ({ id: n, cardinality: r, name: a, price: o, quantityStrategy: s }) => (g(), u("tr", { key: n }, [
|
|
905
|
+
S("td", null, [
|
|
906
|
+
S("b", null, d(a), 1),
|
|
907
|
+
i[11] ||= S("br", null, null, -1),
|
|
908
|
+
S("span", null, d(t(H)(o, t(X))) + " " + d(t(P)(s)), 1)
|
|
909
909
|
]),
|
|
910
|
-
|
|
910
|
+
S("td", Ft, [r === t(ae).Mandatory ? (g(), c(G, {
|
|
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
|
-
})) : (
|
|
917
|
+
})) : (g(), c(G, {
|
|
918
918
|
key: 1,
|
|
919
|
-
modelValue:
|
|
920
|
-
"onUpdate:modelValue": (
|
|
919
|
+
modelValue: t(T)[`${e}.${n}.${l}`],
|
|
920
|
+
"onUpdate:modelValue": (r) => t(T)[`${e}.${n}.${l}`] = r,
|
|
921
921
|
small: !0,
|
|
922
922
|
"min-value": 0,
|
|
923
|
-
"max-value":
|
|
923
|
+
"max-value": t(F)(r)
|
|
924
924
|
}, null, 8, [
|
|
925
925
|
"modelValue",
|
|
926
926
|
"onUpdate:modelValue",
|
|
927
927
|
"max-value"
|
|
928
928
|
]))]),
|
|
929
|
-
|
|
929
|
+
S("td", It, [S("span", null, d(t(H)(t(Ke)(n, e, l), t(X))), 1)])
|
|
930
930
|
]))), 128))]),
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
931
|
+
S("tfoot", null, [S("tr", null, [
|
|
932
|
+
i[12] ||= S("td", null, null, -1),
|
|
933
|
+
i[13] ||= S("td", null, null, -1),
|
|
934
|
+
S("td", Lt, [S("u", null, [S("span", null, d(t(H)(t(qe)(e, l), t(X))), 1)])])
|
|
935
935
|
])])
|
|
936
|
-
])]))), 128))])) :
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
i && i !==
|
|
940
|
-
|
|
941
|
-
]),
|
|
942
|
-
modelValue:
|
|
943
|
-
"onUpdate:modelValue": (
|
|
936
|
+
])]))), 128))])) : l("", !0),
|
|
937
|
+
t(be) ? (g(), u("table", Rt, [S("tbody", null, [(g(!0), u(r, null, x(t(le).products, ({ id: e, name: n, price: r, description: i }) => (g(), u("tr", { key: e }, [S("td", zt, [
|
|
938
|
+
S("b", null, [S("span", null, d(t(ne)(n)), 1)]),
|
|
939
|
+
i && i !== n ? (g(), u("span", Bt, d(t(ne)(i)), 1)) : l("", !0),
|
|
940
|
+
S("u", null, d(t(H)(r, t(X))), 1)
|
|
941
|
+
]), S("td", Vt, [s(G, {
|
|
942
|
+
modelValue: t(E)[e],
|
|
943
|
+
"onUpdate:modelValue": (n) => t(E)[e] = n,
|
|
944
944
|
small: !0,
|
|
945
945
|
"min-value": 0
|
|
946
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) :
|
|
946
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : l("", !0)
|
|
947
947
|
])]),
|
|
948
|
-
navigation:
|
|
949
|
-
label:
|
|
950
|
-
disabled: !
|
|
948
|
+
navigation: y(() => [s(q, {
|
|
949
|
+
label: t(m)("event.startReservation"),
|
|
950
|
+
disabled: !t(Oe),
|
|
951
951
|
"full-width": "",
|
|
952
952
|
onClickEvent: e
|
|
953
953
|
}, null, 8, [
|
|
@@ -956,21 +956,21 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
956
956
|
"onClickEvent"
|
|
957
957
|
])]),
|
|
958
958
|
_: 2
|
|
959
|
-
}, 1032, ["prev-callback"])) :
|
|
960
|
-
reservation:
|
|
959
|
+
}, 1032, ["prev-callback"])) : l("", !0)]),
|
|
960
|
+
reservation: y(({ next: e, prev: n }) => [s(yt, {
|
|
961
961
|
"show-terms-notice": !0,
|
|
962
962
|
"show-gift-card": !0,
|
|
963
|
-
"prev-callback": () =>
|
|
963
|
+
"prev-callback": () => t(Xe)(n)
|
|
964
964
|
}, {
|
|
965
|
-
form:
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
modelValue:
|
|
969
|
-
"onUpdate:modelValue":
|
|
965
|
+
form: y(() => [S("form", Ht, [
|
|
966
|
+
S("h2", null, [S("span", null, d(t(m)("booking.reservation.detailsTitle")), 1)]),
|
|
967
|
+
s(W, {
|
|
968
|
+
modelValue: t(A),
|
|
969
|
+
"onUpdate:modelValue": i[0] ||= (e) => h(A) ? A.value = e : null,
|
|
970
970
|
type: "text",
|
|
971
|
-
label:
|
|
971
|
+
label: t(m)("booking.reservation.name"),
|
|
972
972
|
icon: "user-alt",
|
|
973
|
-
placeholder:
|
|
973
|
+
placeholder: t(m)("booking.reservation.namePlaceholder"),
|
|
974
974
|
error: rt("name"),
|
|
975
975
|
required: ""
|
|
976
976
|
}, null, 8, [
|
|
@@ -979,15 +979,15 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
979
979
|
"placeholder",
|
|
980
980
|
"error"
|
|
981
981
|
]),
|
|
982
|
-
|
|
983
|
-
modelValue:
|
|
984
|
-
"onUpdate:modelValue":
|
|
985
|
-
label:
|
|
982
|
+
s(W, {
|
|
983
|
+
modelValue: t(L),
|
|
984
|
+
"onUpdate:modelValue": i[1] ||= (e) => h(L) ? L.value = e : null,
|
|
985
|
+
label: t(m)("booking.reservation.email"),
|
|
986
986
|
type: "email",
|
|
987
987
|
name: "email",
|
|
988
988
|
autocomplete: "email",
|
|
989
989
|
icon: "at",
|
|
990
|
-
placeholder:
|
|
990
|
+
placeholder: t(m)("booking.reservation.emailPlaceholder"),
|
|
991
991
|
error: rt("email"),
|
|
992
992
|
required: ""
|
|
993
993
|
}, null, 8, [
|
|
@@ -996,12 +996,12 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
996
996
|
"placeholder",
|
|
997
997
|
"error"
|
|
998
998
|
]),
|
|
999
|
-
|
|
1000
|
-
modelValue:
|
|
1001
|
-
"onUpdate:modelValue":
|
|
1002
|
-
label:
|
|
999
|
+
s(ue, {
|
|
1000
|
+
modelValue: t(j),
|
|
1001
|
+
"onUpdate:modelValue": i[2] ||= (e) => h(j) ? j.value = e : null,
|
|
1002
|
+
label: t(m)("booking.reservation.phone"),
|
|
1003
1003
|
icon: "phone-office",
|
|
1004
|
-
placeholder:
|
|
1004
|
+
placeholder: t(m)("booking.reservation.phonePlaceholder"),
|
|
1005
1005
|
error: rt("phone"),
|
|
1006
1006
|
required: ""
|
|
1007
1007
|
}, null, 8, [
|
|
@@ -1010,11 +1010,11 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1010
1010
|
"placeholder",
|
|
1011
1011
|
"error"
|
|
1012
1012
|
]),
|
|
1013
|
-
|
|
1013
|
+
t(De) ? (g(), c(Me, {
|
|
1014
1014
|
key: 0,
|
|
1015
|
-
modelValue:
|
|
1016
|
-
"onUpdate:modelValue":
|
|
1017
|
-
label:
|
|
1015
|
+
modelValue: t(B),
|
|
1016
|
+
"onUpdate:modelValue": i[3] ||= (e) => h(B) ? B.value = e : null,
|
|
1017
|
+
label: t(m)("event.selectArrivalTime"),
|
|
1018
1018
|
name: "eventTimeTable",
|
|
1019
1019
|
checkboxes: st.value,
|
|
1020
1020
|
required: ""
|
|
@@ -1022,62 +1022,62 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1022
1022
|
"modelValue",
|
|
1023
1023
|
"label",
|
|
1024
1024
|
"checkboxes"
|
|
1025
|
-
])) :
|
|
1026
|
-
|
|
1025
|
+
])) : l("", !0),
|
|
1026
|
+
t(xe) === t(se).FullDayEvent ? (g(), c(G, {
|
|
1027
1027
|
key: 1,
|
|
1028
|
-
modelValue:
|
|
1029
|
-
"onUpdate:modelValue":
|
|
1030
|
-
label:
|
|
1028
|
+
modelValue: t(D),
|
|
1029
|
+
"onUpdate:modelValue": i[4] ||= (e) => h(D) ? D.value = e : null,
|
|
1030
|
+
label: t(m)("event.numberOfDays"),
|
|
1031
1031
|
"min-value": 1,
|
|
1032
1032
|
required: ""
|
|
1033
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1034
|
-
|
|
1033
|
+
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1034
|
+
a.showHighChairs === "yes" ? (g(), c(G, {
|
|
1035
1035
|
key: 2,
|
|
1036
|
-
modelValue:
|
|
1037
|
-
"onUpdate:modelValue":
|
|
1038
|
-
label:
|
|
1036
|
+
modelValue: t(k),
|
|
1037
|
+
"onUpdate:modelValue": i[5] ||= (e) => h(k) ? k.value = e : null,
|
|
1038
|
+
label: t(m)("event.numberOfHighChairs"),
|
|
1039
1039
|
icon: "baby",
|
|
1040
1040
|
"no-optional-label": !1
|
|
1041
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1042
|
-
|
|
1041
|
+
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1042
|
+
a.showFlagOnTable === "yes" ? (g(), c(fe, {
|
|
1043
1043
|
key: 3,
|
|
1044
|
-
modelValue:
|
|
1045
|
-
"onUpdate:modelValue":
|
|
1046
|
-
label:
|
|
1047
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1048
|
-
|
|
1044
|
+
modelValue: t(O),
|
|
1045
|
+
"onUpdate:modelValue": i[6] ||= (e) => h(O) ? O.value = e : null,
|
|
1046
|
+
label: t(m)("event.flagOnTable")
|
|
1047
|
+
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1048
|
+
a.hideRemarks === "yes" ? l("", !0) : (g(), c(W, {
|
|
1049
1049
|
key: 4,
|
|
1050
|
-
modelValue:
|
|
1051
|
-
"onUpdate:modelValue":
|
|
1050
|
+
modelValue: t(R),
|
|
1051
|
+
"onUpdate:modelValue": i[7] ||= (e) => h(R) ? R.value = e : null,
|
|
1052
1052
|
type: "textarea",
|
|
1053
|
-
label:
|
|
1053
|
+
label: t(m)("booking.reservation.remark"),
|
|
1054
1054
|
icon: "info-circle",
|
|
1055
|
-
placeholder:
|
|
1055
|
+
placeholder: t(m)("booking.reservation.remarkPlaceholder")
|
|
1056
1056
|
}, null, 8, [
|
|
1057
1057
|
"modelValue",
|
|
1058
1058
|
"label",
|
|
1059
1059
|
"placeholder"
|
|
1060
1060
|
])),
|
|
1061
|
-
|
|
1061
|
+
a.hideAllergies !== "yes" && t(le)?.showAllergyFoodFieldOnline ? (g(), c(W, {
|
|
1062
1062
|
key: 5,
|
|
1063
|
-
modelValue:
|
|
1064
|
-
"onUpdate:modelValue":
|
|
1063
|
+
modelValue: t(z),
|
|
1064
|
+
"onUpdate:modelValue": i[8] ||= (e) => h(z) ? z.value = e : null,
|
|
1065
1065
|
type: "textarea",
|
|
1066
|
-
label:
|
|
1066
|
+
label: t(m)("booking.reservation.allergies"),
|
|
1067
1067
|
icon: "allergies",
|
|
1068
|
-
placeholder:
|
|
1068
|
+
placeholder: t(m)("booking.reservation.allergiesPlaceholder")
|
|
1069
1069
|
}, null, 8, [
|
|
1070
1070
|
"modelValue",
|
|
1071
1071
|
"label",
|
|
1072
1072
|
"placeholder"
|
|
1073
|
-
])) :
|
|
1073
|
+
])) : l("", !0)
|
|
1074
1074
|
])]),
|
|
1075
|
-
navigation:
|
|
1076
|
-
label:
|
|
1077
|
-
"is-loading":
|
|
1078
|
-
disabled: !
|
|
1075
|
+
navigation: y(() => [t(C) ? (g(), c(me, { key: 0 })) : l("", !0), s(q, {
|
|
1076
|
+
label: t(m)("general.confirmReservation"),
|
|
1077
|
+
"is-loading": t(Te) || t(C),
|
|
1078
|
+
disabled: !t(Ee),
|
|
1079
1079
|
"full-width": "",
|
|
1080
|
-
onClickEvent: (
|
|
1080
|
+
onClickEvent: (t) => lt(e)
|
|
1081
1081
|
}, null, 8, [
|
|
1082
1082
|
"label",
|
|
1083
1083
|
"is-loading",
|
|
@@ -1086,20 +1086,20 @@ var ze = { class: "konnectio-event-listing-action-button" }, Be = /*#__PURE__*/
|
|
|
1086
1086
|
])]),
|
|
1087
1087
|
_: 2
|
|
1088
1088
|
}, 1032, ["prev-callback"])]),
|
|
1089
|
-
payment:
|
|
1090
|
-
confirmation:
|
|
1089
|
+
payment: y(() => [s(ge)]),
|
|
1090
|
+
confirmation: y(() => [s(Ne, { message: t(m)("event.confirmationMessage") }, null, 8, ["message"])]),
|
|
1091
1091
|
_: 1
|
|
1092
1092
|
}, 8, ["steps"])]),
|
|
1093
1093
|
_: 1
|
|
1094
1094
|
}, 8, ["access-token", "callback"])]),
|
|
1095
|
-
fallback:
|
|
1095
|
+
fallback: y(() => [s(Ct)]),
|
|
1096
1096
|
_: 1
|
|
1097
1097
|
}))]),
|
|
1098
1098
|
_: 1
|
|
1099
1099
|
}, 8, ["styling"]));
|
|
1100
1100
|
}
|
|
1101
|
-
}), [["__scopeId", "data-v-7b7bd39f"]]), Wt =
|
|
1102
|
-
e.use(
|
|
1101
|
+
}), [["__scopeId", "data-v-7b7bd39f"]]), Wt = D(), Gt = E("konnectio-event", Ut, (e) => {
|
|
1102
|
+
e.use(j), e.use(T), e.use(Wt), e.use(Ae), e.use(Re);
|
|
1103
1103
|
});
|
|
1104
1104
|
//#endregion
|
|
1105
1105
|
export { Gt as default };
|