@konnectio/core 4.11.1 → 4.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionField-CD7A8umF.js → ActionField-dg0RS8gf.js} +16 -17
- package/dist/ActionField-dg0RS8gf.js.br +0 -0
- package/dist/ActionField-dg0RS8gf.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-D_EldM2s.js → AvailabilitySkeleton-uoeeP_5d.js} +2374 -2900
- package/dist/AvailabilitySkeleton-uoeeP_5d.js.br +0 -0
- package/dist/AvailabilitySkeleton-uoeeP_5d.js.gz +0 -0
- package/dist/{CheckoutWindow-BYvzbPyY.js → CheckoutWindow-DXRVoh-J.js} +579 -655
- package/dist/CheckoutWindow-DXRVoh-J.js.br +0 -0
- package/dist/CheckoutWindow-DXRVoh-J.js.gz +0 -0
- package/dist/{ErrorMessage-GCkS8yEW.js → ErrorMessage-OQ4r9QGR.js} +12 -14
- package/dist/ErrorMessage-OQ4r9QGR.js.br +0 -0
- package/dist/ErrorMessage-OQ4r9QGR.js.gz +0 -0
- package/dist/{EventAvailabilityForm-f-BUsWJ-.js → EventAvailabilityForm-B4pOCkcm.js} +29 -30
- package/dist/EventAvailabilityForm-B4pOCkcm.js.br +0 -0
- package/dist/EventAvailabilityForm-B4pOCkcm.js.gz +0 -0
- package/dist/{Field-TMCJPa0F.js → Field-DpRx5gtJ.js} +6 -7
- package/dist/Field-DpRx5gtJ.js.br +0 -0
- package/dist/Field-DpRx5gtJ.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BSM-KcqG.js +312 -0
- package/dist/HotelAvailabilityForm-BSM-KcqG.js.br +0 -0
- package/dist/HotelAvailabilityForm-BSM-KcqG.js.gz +0 -0
- package/dist/{SelectField-DSkOZgE4.js → SelectField-CEEffgaQ.js} +3462 -2858
- package/dist/SelectField-CEEffgaQ.js.br +0 -0
- package/dist/SelectField-CEEffgaQ.js.gz +0 -0
- package/dist/{TermsOfService-D9W3pXOi.js → TermsOfService-C4YZ5zhE.js} +5 -6
- package/dist/TermsOfService-C4YZ5zhE.js.br +0 -0
- package/dist/TermsOfService-C4YZ5zhE.js.gz +0 -0
- package/dist/_-DM-h5BQz.js +24 -0
- package/dist/_-DM-h5BQz.js.br +0 -0
- package/dist/_-DM-h5BQz.js.gz +0 -0
- package/dist/availability.js +24 -25
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +57 -62
- 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/deep-link.js +15 -16
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-Vu9z8BNS.js → dist-BQy2-bMP.js} +168 -139
- package/dist/dist-BQy2-bMP.js.br +0 -0
- package/dist/dist-BQy2-bMP.js.gz +0 -0
- package/dist/{dist-YUX9nmGu.js → dist-Q9kXoafy.js} +705 -756
- package/dist/dist-Q9kXoafy.js.br +0 -0
- package/dist/dist-Q9kXoafy.js.gz +0 -0
- package/dist/event.js +334 -344
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +42 -43
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +157 -161
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DwGwHq7_.js → giftCard-DO4ELDIx.js} +14 -15
- package/dist/giftCard-DO4ELDIx.js.br +0 -0
- package/dist/giftCard-DO4ELDIx.js.gz +0 -0
- package/dist/hotel.js +983 -1145
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-BU9Enb5i.js → i18n-Dq3VKG7w.js} +4004 -3647
- package/dist/i18n-Dq3VKG7w.js.br +0 -0
- package/dist/i18n-Dq3VKG7w.js.gz +0 -0
- package/dist/polyfill.js +905 -818
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-QGRDbDUS.js} +2 -3
- package/dist/rolldown-runtime-QGRDbDUS.js.br +0 -0
- package/dist/rolldown-runtime-QGRDbDUS.js.gz +0 -0
- package/dist/style-xK2dve9W.js +1284 -0
- package/dist/style-xK2dve9W.js.br +0 -0
- package/dist/style-xK2dve9W.js.gz +0 -0
- package/dist-wix/availability.js +42 -34
- package/dist-wix/event.js +54 -46
- package/dist-wix/gift-card-validation.js +39 -31
- package/dist-wix/gift-card.js +43 -35
- package/dist-wix/hotel.js +54 -46
- package/package.json +32 -32
- package/dist/ActionField-CD7A8umF.js.br +0 -0
- package/dist/ActionField-CD7A8umF.js.gz +0 -0
- package/dist/AvailabilitySkeleton-D_EldM2s.js.br +0 -0
- package/dist/AvailabilitySkeleton-D_EldM2s.js.gz +0 -0
- package/dist/CheckoutWindow-BYvzbPyY.js.br +0 -0
- package/dist/CheckoutWindow-BYvzbPyY.js.gz +0 -0
- package/dist/ErrorMessage-GCkS8yEW.js.br +0 -0
- package/dist/ErrorMessage-GCkS8yEW.js.gz +0 -0
- package/dist/EventAvailabilityForm-f-BUsWJ-.js.br +0 -0
- package/dist/EventAvailabilityForm-f-BUsWJ-.js.gz +0 -0
- package/dist/Field-TMCJPa0F.js.br +0 -0
- package/dist/Field-TMCJPa0F.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BjaKmdM9.js +0 -322
- package/dist/HotelAvailabilityForm-BjaKmdM9.js.br +0 -0
- package/dist/HotelAvailabilityForm-BjaKmdM9.js.gz +0 -0
- package/dist/SelectField-DSkOZgE4.js.br +0 -0
- package/dist/SelectField-DSkOZgE4.js.gz +0 -0
- package/dist/TermsOfService-D9W3pXOi.js.br +0 -0
- package/dist/TermsOfService-D9W3pXOi.js.gz +0 -0
- package/dist/_-DY1GJjiW.js +0 -25
- package/dist/_-DY1GJjiW.js.br +0 -0
- package/dist/_-DY1GJjiW.js.gz +0 -0
- package/dist/dist-Vu9z8BNS.js.br +0 -0
- package/dist/dist-Vu9z8BNS.js.gz +0 -0
- package/dist/dist-YUX9nmGu.js.br +0 -0
- package/dist/dist-YUX9nmGu.js.gz +0 -0
- package/dist/giftCard-DwGwHq7_.js.br +0 -0
- package/dist/giftCard-DwGwHq7_.js.gz +0 -0
- package/dist/i18n-BU9Enb5i.js.br +0 -0
- package/dist/i18n-BU9Enb5i.js.gz +0 -0
- package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
- package/dist/rolldown-runtime-B0aSnxlc.js.gz +0 -5
- package/dist/style-E-j_0DIE.js +0 -1711
- package/dist/style-E-j_0DIE.js.br +0 -0
- package/dist/style-E-j_0DIE.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { A as e,
|
|
2
|
-
import { t as j } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { a as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
function
|
|
12
|
-
let r =
|
|
1
|
+
import { A as e, Ct as t, D as n, Dt as r, E as i, F as a, I as o, L as s, M as c, N as l, Ot as u, P as d, Q as f, _t as p, a as m, et as h, f as g, ft as _, h as v, j as y, jt as b, mt as x, n as S, nt as C, o as w, p as T, rt as E, ut as D, w as O, xt as k, z as A } from "./i18n-Dq3VKG7w.js";
|
|
2
|
+
import { t as j } from "./style-xK2dve9W.js";
|
|
3
|
+
import { a as ee, c as te, i as ne, l as M, n as re, s as ie, t as ae } from "./CheckoutWindow-DXRVoh-J.js";
|
|
4
|
+
import { $ as N, B as oe, C as se, F as ce, J as P, K as le, L as F, S as I, T as ue, U as de, X as L, Z as fe, b as R, ct as pe, et as z, g as B, j as me, k as he, n as V, q as H, r as U, rt as W, st as ge, tt as _e, v as ve, w as G, x as ye, y as K, z as be } from "./SelectField-CEEffgaQ.js";
|
|
5
|
+
import { t as xe } from "./_-DM-h5BQz.js";
|
|
6
|
+
import { a as q, c as Se, d as Ce, f as we, i as Te, l as Ee, n as De, o as Oe, r as ke, s as Ae, u as je } from "./AvailabilitySkeleton-uoeeP_5d.js";
|
|
7
|
+
import { a as Me, c as Ne, i as Pe, l as J, n as Fe, o as Ie, s as Le, t as Re, u as ze } from "./dist-BQy2-bMP.js";
|
|
8
|
+
import { t as Be } from "./EventAvailabilityForm-B4pOCkcm.js";
|
|
9
|
+
import { t as Ve } from "./dist-Q9kXoafy.js";
|
|
10
|
+
// node_modules/date-fns/formatDistanceStrict.js
|
|
11
|
+
function Y(e, t, n) {
|
|
12
|
+
let r = Se(), i = n?.locale ?? r.locale ?? ke, a = q(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] = Oe(n?.in, ...a > 0 ? [t, e] : [e, t]), l = Te(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / Ee, f = (u - (Ae(c) - Ae(s))) / Ee, 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,20 @@ function X(e, t, n) {
|
|
|
28
28
|
return i.formatDistance("xHours", e, o);
|
|
29
29
|
}
|
|
30
30
|
if (m === "day") {
|
|
31
|
-
let e = l(f /
|
|
31
|
+
let e = l(f / je);
|
|
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 / Ce);
|
|
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 / we);
|
|
40
40
|
return i.formatDistance("xYears", e, o);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
43
|
+
// src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
|
|
44
|
+
var X = { class: "konnectio-event-listing-action-button" }, He = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
46
45
|
__name: "_",
|
|
47
46
|
props: {
|
|
48
47
|
name: {},
|
|
@@ -72,69 +71,61 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
72
71
|
},
|
|
73
72
|
callback: {}
|
|
74
73
|
},
|
|
75
|
-
setup(
|
|
76
|
-
let { t:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
});
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
i.trackingEnabled && T({
|
|
74
|
+
setup(t) {
|
|
75
|
+
let { t: n } = m(), i = t, { display: a } = me(), { hideEventGuestAmount: o } = v(G()), { maxNumberOfPeople: d, numberOfPeople: f, eventId: p, currentEventDate: g, tableGroupId: _ } = v(I()), { getTemplateAvailability: b, getEventAvailability: S, isEventListingLoading: C } = I(), { addToCart: w } = ue(), T = e(() => i.maxGuests || i.maxOnlineReservationLimit || d.value || Infinity), D = k(0), O = e(() => C(i.listingId)), A = () => {
|
|
76
|
+
!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value)) ? a({
|
|
77
|
+
type: "error",
|
|
78
|
+
message: n("alert.error.selectPeople")
|
|
79
|
+
}) : (i.trackingEnabled && w({
|
|
85
80
|
id: i.listingId,
|
|
86
81
|
name: i.name,
|
|
87
82
|
value: i.fromPrice || 0
|
|
88
|
-
}),
|
|
83
|
+
}), p.value = i.listingId, f.value = i.useNumberOfProductsForPersons ? NaN : D.value, b(i.callback));
|
|
89
84
|
}, j = () => {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
});
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
i.trackingEnabled && T({
|
|
85
|
+
!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value)) ? a({
|
|
86
|
+
type: "error",
|
|
87
|
+
message: n("alert.error.selectPeople")
|
|
88
|
+
}) : (i.trackingEnabled && w({
|
|
98
89
|
id: i.listingId,
|
|
99
90
|
name: i.name,
|
|
100
91
|
value: i.fromPrice || 0
|
|
101
|
-
}),
|
|
92
|
+
}), p.value = i.listingId, _.value = i.tableGroupId, f.value = i.useNumberOfProductsForPersons ? NaN : D.value, S(i.callback));
|
|
102
93
|
};
|
|
103
|
-
return (e, i) => (
|
|
94
|
+
return (e, i) => (h(), c(J, {
|
|
104
95
|
type: "event",
|
|
105
|
-
"listing-id":
|
|
106
|
-
gallery:
|
|
107
|
-
name:
|
|
108
|
-
description:
|
|
109
|
-
"prices-from":
|
|
110
|
-
"to-date":
|
|
111
|
-
layout:
|
|
112
|
-
"disable-deep-link":
|
|
96
|
+
"listing-id": t.listingId,
|
|
97
|
+
gallery: t.gallery,
|
|
98
|
+
name: t.name,
|
|
99
|
+
description: t.description,
|
|
100
|
+
"prices-from": t.fromPrice,
|
|
101
|
+
"to-date": t.toDate,
|
|
102
|
+
layout: r(W).Event,
|
|
103
|
+
"disable-deep-link": t.disableDeepLink
|
|
113
104
|
}, {
|
|
114
|
-
description:
|
|
115
|
-
action:
|
|
105
|
+
description: x(() => [E(e.$slots, "description", { maxNumberOfPeople: r(d) }, void 0, !0)]),
|
|
106
|
+
action: x(() => [E(e.$slots, "action", {}, () => [y("div", { class: u(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? l("", !0) : (h(), c(U, {
|
|
116
107
|
key: 0,
|
|
117
108
|
modelValue: D.value,
|
|
118
109
|
"onUpdate:modelValue": i[0] ||= (e) => D.value = e,
|
|
119
|
-
label:
|
|
110
|
+
label: r(n)("event.numberOfGuests"),
|
|
120
111
|
icon: "users",
|
|
121
112
|
"icon-type": "fas",
|
|
122
113
|
"icon-placement": "label",
|
|
123
|
-
description:
|
|
114
|
+
description: T.value <= 20 && !r(o) ? `${r(n)("general.availableFor")}: 1 - ${T.value} ${r(H)(r(n)("general.guests"))}` : void 0,
|
|
124
115
|
"min-value": 0,
|
|
125
|
-
"max-value":
|
|
116
|
+
"max-value": T.value
|
|
126
117
|
}, null, 8, [
|
|
127
118
|
"modelValue",
|
|
128
119
|
"label",
|
|
129
120
|
"description",
|
|
130
121
|
"max-value"
|
|
131
|
-
])),
|
|
132
|
-
label:
|
|
133
|
-
disabled:
|
|
122
|
+
])), y("div", X, [s(B, {
|
|
123
|
+
label: t.soldOut ? r(n)("event.soldOut") : r(n)("event.bookNowButton"),
|
|
124
|
+
disabled: t.soldOut,
|
|
134
125
|
"is-loading": O.value,
|
|
135
126
|
"full-width": "",
|
|
136
|
-
"sub-label":
|
|
137
|
-
onClickEvent: i[1] ||= (e) =>
|
|
127
|
+
"sub-label": r(L)(r(g)),
|
|
128
|
+
onClickEvent: i[1] ||= (e) => t.type === "event" ? j() : A()
|
|
138
129
|
}, null, 8, [
|
|
139
130
|
"label",
|
|
140
131
|
"disabled",
|
|
@@ -153,13 +144,13 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
153
144
|
"disable-deep-link"
|
|
154
145
|
]));
|
|
155
146
|
}
|
|
156
|
-
}), [["__scopeId", "data-v-bfd98c31"]]),
|
|
147
|
+
}), [["__scopeId", "data-v-bfd98c31"]]), Ue = { class: "konnectio-event-listing-information-new" }, We = {
|
|
157
148
|
key: 1,
|
|
158
149
|
class: "konnectio-pill-button"
|
|
159
|
-
},
|
|
150
|
+
}, Ge = {
|
|
160
151
|
key: 2,
|
|
161
152
|
class: "konnectio-pill-button"
|
|
162
|
-
},
|
|
153
|
+
}, Ke = { key: 0 }, qe = { key: 1 }, Z = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
163
154
|
__name: "Event",
|
|
164
155
|
props: {
|
|
165
156
|
name: {},
|
|
@@ -181,42 +172,42 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
181
172
|
trackingEnabled: { type: Boolean },
|
|
182
173
|
callback: {}
|
|
183
174
|
},
|
|
184
|
-
setup(
|
|
185
|
-
let
|
|
186
|
-
if (!
|
|
187
|
-
let e =
|
|
188
|
-
return
|
|
175
|
+
setup(t) {
|
|
176
|
+
let n = t, { t: i } = m(), { hideEventLength: a, hideEventEndTime: o } = v(G()), u = e(() => {
|
|
177
|
+
if (!n.length) return;
|
|
178
|
+
let e = n.length.split(":");
|
|
179
|
+
return Y(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
|
|
189
180
|
});
|
|
190
|
-
return (e,
|
|
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":
|
|
181
|
+
return (e, n) => (h(), c(He, {
|
|
182
|
+
"listing-id": t.listingId,
|
|
183
|
+
name: t.name,
|
|
184
|
+
description: t.description,
|
|
185
|
+
gallery: t.gallery,
|
|
186
|
+
"prices-from": t.fromPrice,
|
|
187
|
+
"table-group-id": t.tableGroupId,
|
|
188
|
+
"max-guests": t.maxOnlineReservationLimit,
|
|
189
|
+
"use-number-of-products-for-persons": t.useNumberOfProductsForPersons,
|
|
190
|
+
"to-date": t.toDate,
|
|
191
|
+
"sold-out": t.soldOut,
|
|
201
192
|
type: "event",
|
|
202
|
-
"tracking-enabled":
|
|
203
|
-
callback:
|
|
193
|
+
"tracking-enabled": t.trackingEnabled,
|
|
194
|
+
callback: t.callback
|
|
204
195
|
}, {
|
|
205
|
-
description:
|
|
196
|
+
description: x(() => [t.description ? (h(), c(ze, {
|
|
206
197
|
key: 0,
|
|
207
|
-
text:
|
|
208
|
-
}, null, 8, ["text"])) : l("", !0),
|
|
198
|
+
text: t.description
|
|
199
|
+
}, null, 8, ["text"])) : l("", !0), y("ul", Ue, [
|
|
209
200
|
l("", !0),
|
|
210
|
-
!
|
|
201
|
+
!r(a) && u.value ? (h(), d("li", We, [y("div", null, [s(K, {
|
|
211
202
|
icon: "calendar-clock",
|
|
212
203
|
color: "header"
|
|
213
|
-
}),
|
|
214
|
-
|
|
204
|
+
}), y("span", null, b(r(i)("event.lengthOfEvent")), 1)]), y("span", null, b(u.value), 1)])) : l("", !0),
|
|
205
|
+
t.timeFrom ? (h(), d("li", Ge, [y("div", null, [s(K, {
|
|
215
206
|
icon: "calendar-clock",
|
|
216
207
|
color: "header"
|
|
217
|
-
}),
|
|
208
|
+
}), y("span", null, b(r(i)("event.startAndEndTime")), 1)]), r(o) ? (h(), d("span", qe, b(r(z)(t.timeFrom)), 1)) : (h(), d("span", Ke, b(r(_e)(t.timeFrom, t.timeTo)), 1))])) : l("", !0)
|
|
218
209
|
])]),
|
|
219
|
-
action:
|
|
210
|
+
action: x(() => [E(e.$slots, "action", {}, void 0, !0)]),
|
|
220
211
|
_: 3
|
|
221
212
|
}, 8, [
|
|
222
213
|
"listing-id",
|
|
@@ -233,10 +224,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
233
224
|
"callback"
|
|
234
225
|
]));
|
|
235
226
|
}
|
|
236
|
-
}), [["__scopeId", "data-v-2ecac268"]]),
|
|
227
|
+
}), [["__scopeId", "data-v-2ecac268"]]), Je = {
|
|
237
228
|
key: 0,
|
|
238
229
|
class: "konnectio-event-grouped-listings-container"
|
|
239
|
-
},
|
|
230
|
+
}, Ye = { class: "konnectio-event-grouped-listings" }, Xe = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
240
231
|
__name: "Event",
|
|
241
232
|
props: {
|
|
242
233
|
name: {},
|
|
@@ -245,7 +236,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
245
236
|
callback: { type: Function }
|
|
246
237
|
},
|
|
247
238
|
setup(e) {
|
|
248
|
-
return (t, n) => e.events && e.events.length > 1 ? (
|
|
239
|
+
return (t, n) => e.events && e.events.length > 1 ? (h(), d("div", Je, [l("", !0), y("ul", Ye, [(h(!0), d(i, null, C(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: g }) => (h(), c(Z, {
|
|
249
240
|
key: t,
|
|
250
241
|
type: "event",
|
|
251
242
|
"listing-id": t,
|
|
@@ -255,7 +246,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
255
246
|
length: u,
|
|
256
247
|
gallery: d,
|
|
257
248
|
days: n,
|
|
258
|
-
"max-online-reservation-limit": p || f ||
|
|
249
|
+
"max-online-reservation-limit": p || f || g || void 0,
|
|
259
250
|
"time-from": i,
|
|
260
251
|
"time-to": a,
|
|
261
252
|
"sold-out": l,
|
|
@@ -277,7 +268,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
277
268
|
"use-number-of-products-for-persons",
|
|
278
269
|
"tracking-enabled",
|
|
279
270
|
"callback"
|
|
280
|
-
]))), 128))])])) : e.events ? (
|
|
271
|
+
]))), 128))])])) : e.events ? (h(), c(Z, {
|
|
281
272
|
key: e.events[0].id,
|
|
282
273
|
type: "event",
|
|
283
274
|
"listing-id": e.events[0].id,
|
|
@@ -315,7 +306,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
315
306
|
"callback"
|
|
316
307
|
])) : l("", !0);
|
|
317
308
|
}
|
|
318
|
-
}), [["__scopeId", "data-v-1c96b9a2"]]),
|
|
309
|
+
}), [["__scopeId", "data-v-1c96b9a2"]]), Ze = { class: "konnectio-special-offer-availability" }, Qe = { class: "konnectio-special-offer-availability-button" }, $e = { class: "konnectio-warning-notice" }, et = { key: 0 }, tt = { key: 1 }, Q = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
319
310
|
__name: "NextEvent",
|
|
320
311
|
props: {
|
|
321
312
|
name: {},
|
|
@@ -336,15 +327,15 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
336
327
|
trackingEnabled: { type: Boolean },
|
|
337
328
|
callback: { type: Function }
|
|
338
329
|
},
|
|
339
|
-
setup(
|
|
340
|
-
let { t:
|
|
341
|
-
function
|
|
330
|
+
setup(t) {
|
|
331
|
+
let { t: n } = m(), { updateEventDate: i } = ye(), { display: a } = me(), l = k(), u = t;
|
|
332
|
+
function p() {
|
|
342
333
|
l.value ? i(l.value) : a({
|
|
343
|
-
message:
|
|
334
|
+
message: n("alert.error.selectDate"),
|
|
344
335
|
type: "error"
|
|
345
336
|
});
|
|
346
337
|
}
|
|
347
|
-
let
|
|
338
|
+
let g = e(() => F(u.fromDate, u.toDate) <= 1), _ = e(() => [
|
|
348
339
|
0,
|
|
349
340
|
1,
|
|
350
341
|
2,
|
|
@@ -352,41 +343,41 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
352
343
|
4,
|
|
353
344
|
5,
|
|
354
345
|
6
|
|
355
|
-
].filter((e) => !
|
|
346
|
+
].filter((e) => !be(u.days).includes(e))), v = e(() => u.fromDate === "0001-01-01T00:00:00Z" ? new Date(u.toDate) : F(u.fromDate, /* @__PURE__ */ new Date()) <= 0 ? /* @__PURE__ */ new Date() : new Date(u.fromDate));
|
|
356
347
|
return f(() => {
|
|
357
|
-
|
|
358
|
-
}), (e, i) => (
|
|
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:
|
|
348
|
+
g.value && (l.value = new Date(u.fromDate));
|
|
349
|
+
}), (e, i) => (h(), c(Z, {
|
|
350
|
+
name: t.name,
|
|
351
|
+
description: t.description,
|
|
352
|
+
"from-date": t.fromDate,
|
|
353
|
+
"to-date": t.toDate,
|
|
354
|
+
length: t.length,
|
|
355
|
+
"time-from": t.timeFrom,
|
|
356
|
+
"time-to": t.timeTo,
|
|
357
|
+
gallery: t.gallery,
|
|
358
|
+
days: t.days,
|
|
359
|
+
"listing-id": t.listingId,
|
|
360
|
+
"table-group-id": t.tableGroupId,
|
|
361
|
+
"max-online-reservation-limit": t.maxOnlineReservationLimit,
|
|
362
|
+
"minimum-person-count": t.minimumPersonCount,
|
|
363
|
+
"use-number-of-products-for-persons": t.useNumberOfProductsForPersons,
|
|
364
|
+
"tracking-enabled": t.trackingEnabled,
|
|
365
|
+
"sold-out": t.soldOut,
|
|
366
|
+
callback: t.callback,
|
|
376
367
|
"disable-deep-link": !0
|
|
377
368
|
}, {
|
|
378
|
-
action:
|
|
369
|
+
action: x(() => [y("div", null, [y("div", Ze, [s(De, {
|
|
379
370
|
modelValue: l.value,
|
|
380
371
|
"onUpdate:modelValue": i[0] ||= (e) => l.value = e,
|
|
381
|
-
label: `${
|
|
382
|
-
placeholder:
|
|
372
|
+
label: `${r(n)("event.selectDate")}*`,
|
|
373
|
+
placeholder: r(n)("event.selectDate"),
|
|
383
374
|
"icon-type": "fas",
|
|
384
375
|
"icon-placement": "label",
|
|
385
|
-
readonly:
|
|
386
|
-
"start-date":
|
|
387
|
-
"min-date":
|
|
388
|
-
"max-date": new Date(
|
|
389
|
-
"disabled-week-days":
|
|
376
|
+
readonly: g.value,
|
|
377
|
+
"start-date": v.value,
|
|
378
|
+
"min-date": v.value,
|
|
379
|
+
"max-date": new Date(t.toDate),
|
|
380
|
+
"disabled-week-days": _.value
|
|
390
381
|
}, null, 8, [
|
|
391
382
|
"modelValue",
|
|
392
383
|
"label",
|
|
@@ -396,10 +387,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
396
387
|
"min-date",
|
|
397
388
|
"max-date",
|
|
398
389
|
"disabled-week-days"
|
|
399
|
-
]),
|
|
400
|
-
label:
|
|
401
|
-
onClick: O(
|
|
402
|
-
}, null, 8, ["label"])])]),
|
|
390
|
+
]), y("div", Qe, [s(B, {
|
|
391
|
+
label: r(n)("availability.buttonLabel"),
|
|
392
|
+
onClick: O(p, ["prevent"])
|
|
393
|
+
}, null, 8, ["label"])])]), y("div", $e, [g.value ? (h(), d("span", et, [o("*" + b(r(n)("event.canBeBooked")) + " ", 1), y("u", null, b(r(L)(t.fromDate)), 1)])) : (h(), d("span", tt, [o("*" + b(r(n)("event.canBeBooked")) + " ", 1), y("u", null, b(r(fe)(t.days)), 1)]))])])]),
|
|
403
394
|
_: 1
|
|
404
395
|
}, 8, [
|
|
405
396
|
"name",
|
|
@@ -421,10 +412,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
421
412
|
"callback"
|
|
422
413
|
]));
|
|
423
414
|
}
|
|
424
|
-
}), [["__scopeId", "data-v-76846960"]]),
|
|
415
|
+
}), [["__scopeId", "data-v-76846960"]]), nt = {
|
|
425
416
|
key: 0,
|
|
426
417
|
class: "konnectio-event-grouped-listings-container"
|
|
427
|
-
},
|
|
418
|
+
}, rt = { class: "konnectio-event-grouped-listings" }, it = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
428
419
|
__name: "NextEvent",
|
|
429
420
|
props: {
|
|
430
421
|
name: {},
|
|
@@ -433,7 +424,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
433
424
|
callback: { type: Function }
|
|
434
425
|
},
|
|
435
426
|
setup(e) {
|
|
436
|
-
return (t, n) => e.events && e.events.length > 1 ? (
|
|
427
|
+
return (t, n) => e.events && e.events.length > 1 ? (h(), d("div", nt, [l("", !0), y("ul", rt, [(h(!0), d(i, null, C(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: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (h(), c(Q, {
|
|
437
428
|
key: t,
|
|
438
429
|
type: "event",
|
|
439
430
|
"listing-id": t,
|
|
@@ -445,7 +436,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
445
436
|
days: n,
|
|
446
437
|
"from-date": o,
|
|
447
438
|
"to-date": s,
|
|
448
|
-
"max-online-reservation-limit":
|
|
439
|
+
"max-online-reservation-limit": g || m || v || void 0,
|
|
449
440
|
"time-from": i,
|
|
450
441
|
"time-to": a,
|
|
451
442
|
"sold-out": d,
|
|
@@ -469,7 +460,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
469
460
|
"use-number-of-products-for-persons",
|
|
470
461
|
"tracking-enabled",
|
|
471
462
|
"callback"
|
|
472
|
-
]))), 128))])])) : e.events ? (
|
|
463
|
+
]))), 128))])])) : e.events ? (h(), c(Q, {
|
|
473
464
|
key: e.events[0].id,
|
|
474
465
|
type: "event",
|
|
475
466
|
"listing-id": e.events[0].id,
|
|
@@ -507,7 +498,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
507
498
|
"callback"
|
|
508
499
|
])) : l("", !0);
|
|
509
500
|
}
|
|
510
|
-
}), [["__scopeId", "data-v-56a468d4"]]),
|
|
501
|
+
}), [["__scopeId", "data-v-56a468d4"]]), at = ["innerHTML"], ot = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
511
502
|
__name: "FallbackEvent",
|
|
512
503
|
props: {
|
|
513
504
|
name: {},
|
|
@@ -520,8 +511,8 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
520
511
|
callback: { type: Function }
|
|
521
512
|
},
|
|
522
513
|
setup(e) {
|
|
523
|
-
let { t
|
|
524
|
-
return (
|
|
514
|
+
let { t } = m();
|
|
515
|
+
return (n, i) => (h(), c(Z, {
|
|
525
516
|
name: e.name,
|
|
526
517
|
description: e.description,
|
|
527
518
|
"from-date": e.fromDate,
|
|
@@ -532,10 +523,10 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
532
523
|
callback: e.callback,
|
|
533
524
|
"disable-deep-link": !0
|
|
534
525
|
}, {
|
|
535
|
-
action:
|
|
526
|
+
action: x(() => [y("div", {
|
|
536
527
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
537
|
-
innerHTML: t
|
|
538
|
-
}, null, 8,
|
|
528
|
+
innerHTML: r(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
|
|
529
|
+
}, null, 8, at)]),
|
|
539
530
|
_: 1
|
|
540
531
|
}, 8, [
|
|
541
532
|
"name",
|
|
@@ -548,7 +539,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
548
539
|
"callback"
|
|
549
540
|
]));
|
|
550
541
|
}
|
|
551
|
-
}), [["__scopeId", "data-v-aca89b02"]]),
|
|
542
|
+
}), [["__scopeId", "data-v-aca89b02"]]), st = /* @__PURE__ */ A({
|
|
552
543
|
__name: "Template",
|
|
553
544
|
props: {
|
|
554
545
|
name: {},
|
|
@@ -565,7 +556,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
565
556
|
callback: {}
|
|
566
557
|
},
|
|
567
558
|
setup(e) {
|
|
568
|
-
return (t, n) => (
|
|
559
|
+
return (t, n) => (h(), c(He, {
|
|
569
560
|
"listing-id": e.listingId,
|
|
570
561
|
gallery: e.images,
|
|
571
562
|
name: e.name,
|
|
@@ -586,7 +577,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
586
577
|
"callback"
|
|
587
578
|
]));
|
|
588
579
|
}
|
|
589
|
-
}),
|
|
580
|
+
}), $ = {
|
|
590
581
|
key: 0,
|
|
591
582
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
592
583
|
}, ct = ["innerHTML"], lt = { key: 0 }, ut = { key: 1 }, dt = { key: 2 }, ft = { key: 0 }, pt = { key: 4 }, mt = { key: 5 }, ht = { key: 6 }, gt = { key: 0 }, _t = { key: 0 }, vt = { key: 1 }, yt = {
|
|
@@ -606,47 +597,47 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
606
597
|
prevCallback: {}
|
|
607
598
|
},
|
|
608
599
|
setup(e) {
|
|
609
|
-
let { t
|
|
610
|
-
return (
|
|
611
|
-
"discount-code":
|
|
612
|
-
"onUpdate:discountCode": v[0] ||= (e) =>
|
|
613
|
-
"validate-discount-code":
|
|
600
|
+
let { t } = m(), n = D(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: u, numberOfRooms: f, numberOfTotalDays: g, isTemplateEvent: _, currentEventDate: S, length: w, fromDate: T, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: ee, roomUpgrade: te, discountCode: ne, totalSelectedProducts: M, discountValue: re, appliedDiscountCode: ie } = v(I()), { totalAddonPrice: ae, validateDiscountCode: oe } = I(), { currency: se, hideEventLength: ce } = v(G()), P = t("event.reservationNotice");
|
|
601
|
+
return (m, v) => (h(), c(Me, {
|
|
602
|
+
"discount-code": r(ne),
|
|
603
|
+
"onUpdate:discountCode": v[0] ||= (e) => p(ne) ? ne.value = e : null,
|
|
604
|
+
"validate-discount-code": r(oe),
|
|
614
605
|
"show-gift-card": e.showGiftCard,
|
|
615
606
|
"show-terms-notice": e.showTermsNotice,
|
|
616
|
-
"is-sidebar-loading": !
|
|
617
|
-
"base-price":
|
|
618
|
-
"total-price":
|
|
619
|
-
"weekend-fee":
|
|
620
|
-
"room-upgrade":
|
|
621
|
-
notice:
|
|
607
|
+
"is-sidebar-loading": !r(o),
|
|
608
|
+
"base-price": r(A),
|
|
609
|
+
"total-price": r(j),
|
|
610
|
+
"weekend-fee": r(ee),
|
|
611
|
+
"room-upgrade": r(te),
|
|
612
|
+
notice: r(P),
|
|
622
613
|
"prev-callback": e.prevCallback
|
|
623
614
|
}, a({
|
|
624
|
-
form:
|
|
625
|
-
innerHTML:
|
|
615
|
+
form: x(() => [E(m.$slots, "form", {}, void 0, !0), r(P) ? (h(), d("div", $, [y("p", {
|
|
616
|
+
innerHTML: r(P),
|
|
626
617
|
class: "konnectio-wysiwyg"
|
|
627
618
|
}, null, 8, ct)])) : l("", !0)]),
|
|
628
|
-
"reservation-summary":
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
!
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
619
|
+
"reservation-summary": x(() => [
|
|
620
|
+
r(_) ? l("", !0) : (h(), d("li", lt, [y("span", null, b(r(t)("general.date")), 1), y("b", null, b(r(L)(r(S))), 1)])),
|
|
621
|
+
r(u) > 0 ? (h(), d("li", ut, [y("span", null, b(r(t)("event.numberOfGuests")), 1), y("b", null, b(r(u)), 1)])) : l("", !0),
|
|
622
|
+
!r(_) && r(M) > 0 ? (h(), d("li", dt, [y("span", null, b(r(t)("event.numberOfProducts")), 1), y("b", null, b(r(M)), 1)])) : l("", !0),
|
|
623
|
+
r(_) ? (h(), d(i, { key: 3 }, [
|
|
624
|
+
y("li", null, [y("span", null, b(r(t)("booking.reservation.arrival")), 1), y("b", null, b(r(L)(r(T))), 1)]),
|
|
625
|
+
y("li", null, [y("span", null, b(r(t)("booking.reservation.departure")), 1), y("b", null, b(r(L)(r(T), r(g))), 1)]),
|
|
626
|
+
y("li", null, [y("span", null, b(r(t)("event.numberOfRooms")), 1), y("b", null, b(r(f)), 1)]),
|
|
627
|
+
r(g) > 0 ? (h(), d("li", ft, [y("span", null, b(r(t)("event.numberOfDays")), 1), y("b", null, b(r(g)), 1)])) : l("", !0)
|
|
637
628
|
], 64)) : l("", !0),
|
|
638
|
-
!
|
|
639
|
-
!
|
|
640
|
-
|
|
629
|
+
!r(_) && r(s) ? (h(), d("li", pt, [y("span", null, b(r(t)("event.startOfEvent")), 1), y("b", null, b(r(z)(r(s))), 1)])) : l("", !0),
|
|
630
|
+
!r(_) && r(w) && !r(ce) ? (h(), d("li", mt, [y("span", null, b(r(t)("event.lengthOfEvent")), 1), y("b", null, b(r(z)(r(w))), 1)])) : l("", !0),
|
|
631
|
+
r(re) ? (h(), d("li", ht, [y("span", null, b(r(t)("general.discountCode")), 1), y("b", null, b(r(ie)), 1)])) : l("", !0)
|
|
641
632
|
]),
|
|
642
|
-
"price-summary":
|
|
643
|
-
navigation:
|
|
644
|
-
"mobile-under-price":
|
|
645
|
-
"mobile-summary":
|
|
633
|
+
"price-summary": x(() => [!r(_) && r(O) > 0 ? (h(), d("li", gt, [y("span", null, b(r(t)("booking.availability.basePrice")), 1), y("b", null, b(r(N)(r(O), r(se))), 1)])) : l("", !0), r(k) ? (h(!0), d(i, { key: 1 }, C(r(k), ({ roomGroupId: e }, n) => (h(), d(i, null, [r(ae)(e, n) > 0 ? (h(), d("li", { key: e }, [y("span", null, b(r(t)("booking.reservation.addons")) + " - " + b(r(t)("booking.reservation.room")) + " #" + b(n + 1), 1), y("b", null, b(r(N)(r(ae)(e, n), r(se))), 1)])) : l("", !0)], 64))), 256)) : l("", !0)]),
|
|
634
|
+
navigation: x(() => [E(m.$slots, "navigation", {}, void 0, !0)]),
|
|
635
|
+
"mobile-under-price": x(() => [r(_) && r(g) > 0 ? (h(), d("div", _t, [y("span", null, b(r(L)(r(T))) + " - " + b(r(L)(r(T), r(g))), 1)])) : (h(), d("div", vt, [y("span", null, b(r(L)(r(S))), 1)]))]),
|
|
636
|
+
"mobile-summary": x(() => [!r(_) && r(M) > 0 ? (h(), d("span", yt, b(r(t)("event.numberOfProducts")) + ": " + b(r(M)), 1)) : l("", !0)]),
|
|
646
637
|
_: 2
|
|
647
|
-
}, [
|
|
638
|
+
}, [r(n).sidebar ? {
|
|
648
639
|
name: "sidebar",
|
|
649
|
-
fn:
|
|
640
|
+
fn: x(() => [E(m.$slots, "sidebar", {}, void 0, !0)]),
|
|
650
641
|
key: "0"
|
|
651
642
|
} : void 0]), 1032, [
|
|
652
643
|
"discount-code",
|
|
@@ -665,7 +656,7 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
665
656
|
}), [["__scopeId", "data-v-c1e1c642"]]), xt = { class: "event-skeleton" }, St = { class: "event-skeleton-content" }, Ct = { class: "event-skeleton-sidebar" }, wt = /*#__PURE__*/ R(/* @__PURE__ */ A({
|
|
666
657
|
__name: "EventSkeleton",
|
|
667
658
|
setup(e) {
|
|
668
|
-
return (e, t) => (
|
|
659
|
+
return (e, t) => (h(), d("div", xt, [y("div", St, [s(Fe)]), y("div", Ct, [l("", !0), s(Ie)])]));
|
|
669
660
|
}
|
|
670
661
|
}), [["__scopeId", "data-v-af0e7efb"]]), Tt = {
|
|
671
662
|
key: 0,
|
|
@@ -703,40 +694,40 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
703
694
|
styling: {}
|
|
704
695
|
},
|
|
705
696
|
setup(a) {
|
|
706
|
-
let
|
|
707
|
-
|
|
708
|
-
let
|
|
709
|
-
function
|
|
710
|
-
let { url: e, data: t } =
|
|
711
|
-
if (
|
|
712
|
-
let n =
|
|
713
|
-
n.setValidationTimeout(600),
|
|
697
|
+
let u = a, { t: f } = m(), S = I(), { isHostedCheckoutActive: w } = v(he()), { addons: T, products: E, numberOfDays: D, flagOnTable: O, numberOfHighChairs: k, name: A, phone: j, email: F, remark: L, allergies: fe, arrivalTime: R, hasEvents: H, hasTemplates: W, getTemplates: _e, getEventData: be, getTemplateData: q, getEventTableData: Se, hasProducts: Ce, eventRateType: we, areListingsAvailable: Te, isAvailabilityDataAvailable: Ee, hasListingData: De, listingsFetchFailed: Oe, isPaymentLoading: ke, isReservationFormFilled: Ae, requiresArrivalTime: je, hasSelectedRequiredProducts: Me, getUnavailableEvents: J, hasFallbackEvents: Ie, getFallbackEvents: Re, excludeEventIds: ze } = v(S), Ve = e(() => S.getSortedEvents(u.sortOrder)), { currency: Y, enableTracking: X } = v(G()), { setActiveIdFilter: He } = G(), { eventDate: Ue, eventLocation: We } = v(ye()), { isValidRestaurantId: Ge } = ye(), { initialize: Ke, fetchListings: qe, createBooking: Z, bookingPayload: Je, localAddonPrice: Ye, totalAddonPrice: Ze, reset: Qe, goBack: $e } = I(), { beginEventCheckout: et } = ue(), { display: tt } = me();
|
|
698
|
+
M.useHttpClient(te(se()));
|
|
699
|
+
let Q = t(), nt;
|
|
700
|
+
function rt() {
|
|
701
|
+
let { url: e, data: t } = Je();
|
|
702
|
+
if (!Q.value || nt !== e) {
|
|
703
|
+
let n = ie("post", e, t);
|
|
704
|
+
n.setValidationTimeout(600), nt = e, Q.value = n;
|
|
714
705
|
}
|
|
715
|
-
return
|
|
706
|
+
return Q.value;
|
|
716
707
|
}
|
|
717
|
-
function
|
|
718
|
-
let t =
|
|
719
|
-
t.setData(
|
|
708
|
+
function at(e) {
|
|
709
|
+
let t = rt();
|
|
710
|
+
t.setData(Je().data), t.validate(e);
|
|
720
711
|
}
|
|
721
|
-
function
|
|
722
|
-
return
|
|
712
|
+
function $(e) {
|
|
713
|
+
return Q.value?.errors[e];
|
|
723
714
|
}
|
|
724
|
-
|
|
715
|
+
_(A, () => at("name")), _(F, () => at("email")), _(j, () => at("phone"));
|
|
725
716
|
let ct = e(() => [
|
|
726
717
|
{
|
|
727
718
|
id: "availability",
|
|
728
|
-
label:
|
|
719
|
+
label: f("booking.availability.title"),
|
|
729
720
|
icon: "search"
|
|
730
721
|
},
|
|
731
722
|
{
|
|
732
723
|
id: "addons",
|
|
733
|
-
label:
|
|
724
|
+
label: f("general.addons"),
|
|
734
725
|
icon: "shopping-cart",
|
|
735
726
|
hidden: !1
|
|
736
727
|
},
|
|
737
728
|
{
|
|
738
729
|
id: "reservation",
|
|
739
|
-
label:
|
|
730
|
+
label: f("booking.reservation.title"),
|
|
740
731
|
icon: "concierge-bell"
|
|
741
732
|
},
|
|
742
733
|
{
|
|
@@ -745,71 +736,71 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
745
736
|
},
|
|
746
737
|
{
|
|
747
738
|
id: "confirmation",
|
|
748
|
-
label:
|
|
739
|
+
label: f("booking.confirmation.title"),
|
|
749
740
|
icon: "calendar-check"
|
|
750
741
|
}
|
|
751
742
|
]), lt = e(() => {
|
|
752
743
|
let e = [];
|
|
753
|
-
return
|
|
744
|
+
return Se.value && Se.value.forEach((t) => {
|
|
754
745
|
e.find((e) => e.value === t.time) || e.push({
|
|
755
|
-
label:
|
|
746
|
+
label: z(t.time),
|
|
756
747
|
value: t.time
|
|
757
748
|
});
|
|
758
749
|
}), e;
|
|
759
750
|
});
|
|
760
751
|
function ut() {
|
|
761
|
-
|
|
752
|
+
Qe(u.resetDate === "yes");
|
|
762
753
|
}
|
|
763
754
|
async function dt(e) {
|
|
764
|
-
|
|
765
|
-
let t = await
|
|
766
|
-
t &&
|
|
755
|
+
X.value && et();
|
|
756
|
+
let t = await Z(e);
|
|
757
|
+
t && rt().setErrors(t);
|
|
767
758
|
}
|
|
768
759
|
function ft() {
|
|
769
|
-
let e =
|
|
760
|
+
let e = g("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
|
|
770
761
|
if (n) {
|
|
771
|
-
if (
|
|
772
|
-
let t =
|
|
773
|
-
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? (
|
|
774
|
-
message:
|
|
762
|
+
if (le(n)) {
|
|
763
|
+
let t = P(n);
|
|
764
|
+
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? (Ue.value = t, e.d = void 0) : (tt({
|
|
765
|
+
message: f("alert.error.invalidDateRange"),
|
|
775
766
|
type: "error"
|
|
776
767
|
}), e.d = void 0);
|
|
777
|
-
} else
|
|
778
|
-
message:
|
|
768
|
+
} else tt({
|
|
769
|
+
message: f("alert.error.wrongDateFormat"),
|
|
779
770
|
type: "error"
|
|
780
771
|
});
|
|
781
772
|
}
|
|
782
|
-
isNaN(t) || (
|
|
783
|
-
message:
|
|
773
|
+
isNaN(t) || (Ge(t) ? We.value = t : (e.rid = void 0, tt({
|
|
774
|
+
message: f("alert.error.hotelIdNotFound"),
|
|
784
775
|
type: "error"
|
|
785
|
-
}))), isNaN(r) ||
|
|
776
|
+
}))), isNaN(r) || He(String(r)), u.excludeEventIds && (ze.value = u.excludeEventIds), qe();
|
|
786
777
|
}
|
|
787
|
-
return (e,
|
|
788
|
-
default:
|
|
789
|
-
default:
|
|
778
|
+
return (e, t) => (h(), c(ve, { styling: a.styling }, {
|
|
779
|
+
default: x(() => [(h(), c(n, { onResolve: ft }, {
|
|
780
|
+
default: x(() => [s(xe, {
|
|
790
781
|
id: "konnectio-event-module",
|
|
791
782
|
"access-token": a.accessToken,
|
|
792
|
-
callback:
|
|
783
|
+
callback: r(Ke)
|
|
793
784
|
}, {
|
|
794
|
-
default:
|
|
785
|
+
default: x(() => [s(Le, {
|
|
795
786
|
steps: ct.value,
|
|
796
787
|
onReset: ut
|
|
797
788
|
}, {
|
|
798
|
-
availability:
|
|
799
|
-
sidebar:
|
|
789
|
+
availability: x(({ next: e }) => [s(bt, null, {
|
|
790
|
+
sidebar: x(() => [s(Be, {
|
|
800
791
|
redirection: !1,
|
|
801
792
|
"selected-location": Number(a.selectedLocation),
|
|
802
793
|
"hide-locations": a.hideLocations === "yes"
|
|
803
794
|
}, null, 8, ["selected-location", "hide-locations"])]),
|
|
804
|
-
form:
|
|
805
|
-
|
|
806
|
-
key:
|
|
795
|
+
form: x(() => [r(De) && r(Te) ? (h(), d("div", Tt, [
|
|
796
|
+
r(Ie) ? (h(), d("ul", Et, [(h(!0), d(i, null, C(r(Re), ({ id: t, name: n, description: i, images: a }) => (h(), c(ot, {
|
|
797
|
+
key: t,
|
|
807
798
|
type: "event",
|
|
808
|
-
"listing-id":
|
|
799
|
+
"listing-id": t,
|
|
809
800
|
description: i,
|
|
810
|
-
name:
|
|
801
|
+
name: n,
|
|
811
802
|
gallery: a,
|
|
812
|
-
"tracking-enabled":
|
|
803
|
+
"tracking-enabled": r(X),
|
|
813
804
|
callback: e
|
|
814
805
|
}, null, 8, [
|
|
815
806
|
"listing-id",
|
|
@@ -819,33 +810,33 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
819
810
|
"tracking-enabled",
|
|
820
811
|
"callback"
|
|
821
812
|
]))), 128))])) : l("", !0),
|
|
822
|
-
|
|
813
|
+
Ve.value.length > 0 && r(J).length > 0 ? (h(), d("h2", Dt, [s(K, {
|
|
823
814
|
icon: "calendar-clock",
|
|
824
815
|
type: "fal",
|
|
825
816
|
color: "header"
|
|
826
|
-
}),
|
|
827
|
-
|
|
828
|
-
key:
|
|
829
|
-
name:
|
|
830
|
-
events:
|
|
831
|
-
"tracking-enabled":
|
|
817
|
+
}), y("span", null, b(r(f)("event.availableNow")), 1)])) : l("", !0),
|
|
818
|
+
y("ul", Ot, [r(H) && a.onlyShow !== "templates" ? (h(!0), d(i, { key: 0 }, C(Ve.value, (t) => (h(), c(Xe, {
|
|
819
|
+
key: t.name,
|
|
820
|
+
name: t.name,
|
|
821
|
+
events: t.events ?? [],
|
|
822
|
+
"tracking-enabled": r(X),
|
|
832
823
|
callback: e
|
|
833
824
|
}, null, 8, [
|
|
834
825
|
"name",
|
|
835
826
|
"events",
|
|
836
827
|
"tracking-enabled",
|
|
837
828
|
"callback"
|
|
838
|
-
]))), 128)) : l("", !0),
|
|
839
|
-
key:
|
|
840
|
-
"listing-id":
|
|
841
|
-
name:
|
|
829
|
+
]))), 128)) : l("", !0), r(W) && a.onlyShow !== "events" ? (h(!0), d(i, { key: 1 }, C(r(_e), ({ id: t, name: n, fromDate: i, toDate: a, minimumPersonCount: o, fromPrice: s, description: l, images: u }) => (h(), c(st, {
|
|
830
|
+
key: t,
|
|
831
|
+
"listing-id": t,
|
|
832
|
+
name: n,
|
|
842
833
|
images: u,
|
|
843
834
|
description: l,
|
|
844
835
|
"from-date": i,
|
|
845
836
|
"to-date": a,
|
|
846
837
|
"minimum-person-count": o,
|
|
847
838
|
fromPrice: s,
|
|
848
|
-
"tracking-enabled":
|
|
839
|
+
"tracking-enabled": r(X),
|
|
849
840
|
callback: e
|
|
850
841
|
}, null, 8, [
|
|
851
842
|
"listing-id",
|
|
@@ -859,15 +850,15 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
859
850
|
"tracking-enabled",
|
|
860
851
|
"callback"
|
|
861
852
|
]))), 128)) : l("", !0)]),
|
|
862
|
-
|
|
853
|
+
r(J).length > 0 && a.onlyShow !== "templates" ? (h(), d(i, { key: 2 }, [y("h2", kt, [s(K, {
|
|
863
854
|
icon: "calendar-circle-exclamation",
|
|
864
855
|
type: "fal",
|
|
865
856
|
color: "header"
|
|
866
|
-
}),
|
|
867
|
-
key:
|
|
868
|
-
name:
|
|
869
|
-
events:
|
|
870
|
-
"tracking-enabled":
|
|
857
|
+
}), y("span", null, b(r(f)("event.availableLater")), 1)]), y("ul", At, [(h(!0), d(i, null, C(r(J), (t) => (h(), c(it, {
|
|
858
|
+
key: t.name,
|
|
859
|
+
name: t.name,
|
|
860
|
+
events: t.events ?? [],
|
|
861
|
+
"tracking-enabled": r(X),
|
|
871
862
|
callback: e
|
|
872
863
|
}, null, 8, [
|
|
873
864
|
"name",
|
|
@@ -875,86 +866,86 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
875
866
|
"tracking-enabled",
|
|
876
867
|
"callback"
|
|
877
868
|
]))), 128))])], 64)) : l("", !0),
|
|
878
|
-
(!
|
|
869
|
+
(!r(H) && !r(W) || !r(H) && a.onlyShow === "events" || !r(W) && a.onlyShow === "templates") && !r(Ie) ? (h(), d("div", {
|
|
879
870
|
key: 3,
|
|
880
871
|
class: "konnectio-panel",
|
|
881
|
-
innerHTML:
|
|
872
|
+
innerHTML: r(f)("event.nothingAvailable")
|
|
882
873
|
}, null, 8, jt)) : l("", !0)
|
|
883
|
-
])) :
|
|
884
|
-
label:
|
|
874
|
+
])) : r(Oe) && r(Te) ? (h(), d("div", Mt, [y("span", null, b(r(f)("alert.error.couldntFetchListings")), 1), s(B, {
|
|
875
|
+
label: r(f)("general.searchAgain"),
|
|
885
876
|
"full-width": "",
|
|
886
|
-
onClickEvent:
|
|
887
|
-
}, null, 8, ["label"])])) : (
|
|
877
|
+
onClickEvent: t[0] ||= (e) => r(qe)()
|
|
878
|
+
}, null, 8, ["label"])])) : (h(), c(Fe, { key: 2 }))]),
|
|
888
879
|
_: 2
|
|
889
880
|
}, 1024)]),
|
|
890
|
-
addons:
|
|
881
|
+
addons: x(({ next: e, prev: n }) => [r(Ee) ? (h(), c(bt, {
|
|
891
882
|
key: 0,
|
|
892
|
-
"prev-callback": () =>
|
|
883
|
+
"prev-callback": () => r($e)(n)
|
|
893
884
|
}, {
|
|
894
|
-
form:
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
885
|
+
form: x(() => [y("form", Nt, [
|
|
886
|
+
y("h2", null, [y("span", null, b(r(f)("event.selectProducts")), 1)]),
|
|
887
|
+
r(q) && r(q).length > 0 ? (h(), d("ul", Pt, [(h(!0), d(i, null, C(r(q), ({ roomGroupId: e, addons: n, adultPerRoom: a }, l) => (h(), d("li", { key: e }, [y("h5", null, [
|
|
888
|
+
y("span", null, b(r(f)("booking.reservation.room")) + " #" + b(l + 1), 1),
|
|
889
|
+
t[10] ||= o(" (", -1),
|
|
899
890
|
s(K, {
|
|
900
891
|
icon: "male",
|
|
901
892
|
type: "fas",
|
|
902
893
|
color: "header"
|
|
903
894
|
}),
|
|
904
|
-
o(" " +
|
|
905
|
-
]),
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
895
|
+
o(" " + b(a) + ") ", 1)
|
|
896
|
+
]), y("table", Ft, [
|
|
897
|
+
y("thead", null, [y("tr", null, [
|
|
898
|
+
y("th", null, [y("span", null, b(r(f)("booking.reservation.addons")), 1)]),
|
|
899
|
+
t[11] ||= y("th", { class: "konnectio-event-addons-input" }, null, -1),
|
|
900
|
+
y("th", It, [y("span", null, b(r(f)("booking.availability.price")), 1)])
|
|
910
901
|
])]),
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
902
|
+
y("tbody", null, [(h(!0), d(i, null, C(n, ({ id: n, cardinality: i, name: a, price: o, quantityStrategy: s }) => (h(), d("tr", { key: n }, [
|
|
903
|
+
y("td", null, [
|
|
904
|
+
y("b", null, b(a), 1),
|
|
905
|
+
t[12] ||= y("br", null, null, -1),
|
|
906
|
+
y("span", null, b(r(N)(o, r(Y))) + " " + b(r(de)(s)), 1)
|
|
916
907
|
]),
|
|
917
|
-
|
|
908
|
+
y("td", Lt, [i === r(ge).Mandatory ? (h(), c(U, {
|
|
918
909
|
key: 0,
|
|
919
910
|
"model-value": 1,
|
|
920
911
|
small: !0,
|
|
921
912
|
"min-value": 1,
|
|
922
913
|
"max-value": 1,
|
|
923
914
|
readonly: ""
|
|
924
|
-
})) : (
|
|
915
|
+
})) : (h(), c(U, {
|
|
925
916
|
key: 1,
|
|
926
|
-
modelValue:
|
|
927
|
-
"onUpdate:modelValue": (
|
|
917
|
+
modelValue: r(T)[`${e}.${n}.${l}`],
|
|
918
|
+
"onUpdate:modelValue": (t) => r(T)[`${e}.${n}.${l}`] = t,
|
|
928
919
|
small: !0,
|
|
929
920
|
"min-value": 0,
|
|
930
|
-
"max-value":
|
|
921
|
+
"max-value": r(oe)(i)
|
|
931
922
|
}, null, 8, [
|
|
932
923
|
"modelValue",
|
|
933
924
|
"onUpdate:modelValue",
|
|
934
925
|
"max-value"
|
|
935
926
|
]))]),
|
|
936
|
-
|
|
927
|
+
y("td", Rt, [y("span", null, b(r(N)(r(Ye)(n, e, l), r(Y))), 1)])
|
|
937
928
|
]))), 128))]),
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
929
|
+
y("tfoot", null, [y("tr", null, [
|
|
930
|
+
t[13] ||= y("td", null, null, -1),
|
|
931
|
+
t[14] ||= y("td", null, null, -1),
|
|
932
|
+
y("td", zt, [y("u", null, [y("span", null, b(r(N)(r(Ze)(e, l), r(Y))), 1)])])
|
|
942
933
|
])])
|
|
943
934
|
])]))), 128))])) : l("", !0),
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
i && i !==
|
|
947
|
-
|
|
948
|
-
]),
|
|
949
|
-
modelValue:
|
|
950
|
-
"onUpdate:modelValue": (
|
|
935
|
+
r(Ce) ? (h(), d("table", Bt, [y("tbody", null, [(h(!0), d(i, null, C(r(be).products, ({ id: e, name: t, price: n, description: i }) => (h(), d("tr", { key: e }, [y("td", Vt, [
|
|
936
|
+
y("b", null, [y("span", null, b(r(ce)(t)), 1)]),
|
|
937
|
+
i && i !== t ? (h(), d("span", Ht, b(r(ce)(i)), 1)) : l("", !0),
|
|
938
|
+
y("u", null, b(r(N)(n, r(Y))), 1)
|
|
939
|
+
]), y("td", Ut, [s(U, {
|
|
940
|
+
modelValue: r(E)[e],
|
|
941
|
+
"onUpdate:modelValue": (t) => r(E)[e] = t,
|
|
951
942
|
small: !0,
|
|
952
943
|
"min-value": 0
|
|
953
944
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : l("", !0)
|
|
954
945
|
])]),
|
|
955
|
-
navigation:
|
|
956
|
-
label:
|
|
957
|
-
disabled: !
|
|
946
|
+
navigation: x(() => [s(B, {
|
|
947
|
+
label: r(f)("event.startReservation"),
|
|
948
|
+
disabled: !r(Me),
|
|
958
949
|
"full-width": "",
|
|
959
950
|
onClickEvent: e
|
|
960
951
|
}, null, 8, [
|
|
@@ -964,21 +955,21 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
964
955
|
])]),
|
|
965
956
|
_: 2
|
|
966
957
|
}, 1032, ["prev-callback"])) : l("", !0)]),
|
|
967
|
-
reservation:
|
|
958
|
+
reservation: x(({ next: e, prev: n }) => [s(bt, {
|
|
968
959
|
"show-terms-notice": !0,
|
|
969
960
|
"show-gift-card": !0,
|
|
970
|
-
"prev-callback": () =>
|
|
961
|
+
"prev-callback": () => r($e)(n)
|
|
971
962
|
}, {
|
|
972
|
-
form:
|
|
973
|
-
|
|
974
|
-
s(
|
|
975
|
-
modelValue:
|
|
976
|
-
"onUpdate:modelValue":
|
|
963
|
+
form: x(() => [y("form", Wt, [
|
|
964
|
+
y("h2", null, [y("span", null, b(r(f)("booking.reservation.detailsTitle")), 1)]),
|
|
965
|
+
s(V, {
|
|
966
|
+
modelValue: r(A),
|
|
967
|
+
"onUpdate:modelValue": t[1] ||= (e) => p(A) ? A.value = e : null,
|
|
977
968
|
type: "text",
|
|
978
|
-
label:
|
|
969
|
+
label: r(f)("booking.reservation.name"),
|
|
979
970
|
icon: "user-alt",
|
|
980
|
-
placeholder:
|
|
981
|
-
error:
|
|
971
|
+
placeholder: r(f)("booking.reservation.namePlaceholder"),
|
|
972
|
+
error: $("name"),
|
|
982
973
|
required: ""
|
|
983
974
|
}, null, 8, [
|
|
984
975
|
"modelValue",
|
|
@@ -986,16 +977,16 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
986
977
|
"placeholder",
|
|
987
978
|
"error"
|
|
988
979
|
]),
|
|
989
|
-
s(
|
|
990
|
-
modelValue:
|
|
991
|
-
"onUpdate:modelValue":
|
|
992
|
-
label:
|
|
980
|
+
s(V, {
|
|
981
|
+
modelValue: r(F),
|
|
982
|
+
"onUpdate:modelValue": t[2] ||= (e) => p(F) ? F.value = e : null,
|
|
983
|
+
label: r(f)("booking.reservation.email"),
|
|
993
984
|
type: "email",
|
|
994
985
|
name: "email",
|
|
995
986
|
autocomplete: "email",
|
|
996
987
|
icon: "at",
|
|
997
|
-
placeholder:
|
|
998
|
-
error:
|
|
988
|
+
placeholder: r(f)("booking.reservation.emailPlaceholder"),
|
|
989
|
+
error: $("email"),
|
|
999
990
|
required: ""
|
|
1000
991
|
}, null, 8, [
|
|
1001
992
|
"modelValue",
|
|
@@ -1003,13 +994,13 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
1003
994
|
"placeholder",
|
|
1004
995
|
"error"
|
|
1005
996
|
]),
|
|
1006
|
-
s(
|
|
1007
|
-
modelValue:
|
|
1008
|
-
"onUpdate:modelValue":
|
|
1009
|
-
label:
|
|
997
|
+
s(ee, {
|
|
998
|
+
modelValue: r(j),
|
|
999
|
+
"onUpdate:modelValue": t[3] ||= (e) => p(j) ? j.value = e : null,
|
|
1000
|
+
label: r(f)("booking.reservation.phone"),
|
|
1010
1001
|
icon: "phone-office",
|
|
1011
|
-
placeholder:
|
|
1012
|
-
error:
|
|
1002
|
+
placeholder: r(f)("booking.reservation.phonePlaceholder"),
|
|
1003
|
+
error: $("phone"),
|
|
1013
1004
|
required: ""
|
|
1014
1005
|
}, null, 8, [
|
|
1015
1006
|
"modelValue",
|
|
@@ -1017,11 +1008,11 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
1017
1008
|
"placeholder",
|
|
1018
1009
|
"error"
|
|
1019
1010
|
]),
|
|
1020
|
-
|
|
1011
|
+
r(je) ? (h(), c(Ne, {
|
|
1021
1012
|
key: 0,
|
|
1022
|
-
modelValue:
|
|
1023
|
-
"onUpdate:modelValue":
|
|
1024
|
-
label:
|
|
1013
|
+
modelValue: r(R),
|
|
1014
|
+
"onUpdate:modelValue": t[4] ||= (e) => p(R) ? R.value = e : null,
|
|
1015
|
+
label: r(f)("event.selectArrivalTime"),
|
|
1025
1016
|
name: "eventTimeTable",
|
|
1026
1017
|
checkboxes: lt.value,
|
|
1027
1018
|
required: ""
|
|
@@ -1030,59 +1021,59 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
1030
1021
|
"label",
|
|
1031
1022
|
"checkboxes"
|
|
1032
1023
|
])) : l("", !0),
|
|
1033
|
-
|
|
1024
|
+
r(we) === r(pe).FullDayEvent ? (h(), c(U, {
|
|
1034
1025
|
key: 1,
|
|
1035
|
-
modelValue:
|
|
1036
|
-
"onUpdate:modelValue":
|
|
1037
|
-
label:
|
|
1026
|
+
modelValue: r(D),
|
|
1027
|
+
"onUpdate:modelValue": t[5] ||= (e) => p(D) ? D.value = e : null,
|
|
1028
|
+
label: r(f)("event.numberOfDays"),
|
|
1038
1029
|
"min-value": 1,
|
|
1039
1030
|
required: ""
|
|
1040
1031
|
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1041
|
-
a.showHighChairs === "yes" ? (
|
|
1032
|
+
a.showHighChairs === "yes" ? (h(), c(U, {
|
|
1042
1033
|
key: 2,
|
|
1043
|
-
modelValue:
|
|
1044
|
-
"onUpdate:modelValue":
|
|
1045
|
-
label:
|
|
1034
|
+
modelValue: r(k),
|
|
1035
|
+
"onUpdate:modelValue": t[6] ||= (e) => p(k) ? k.value = e : null,
|
|
1036
|
+
label: r(f)("event.numberOfHighChairs"),
|
|
1046
1037
|
icon: "baby",
|
|
1047
1038
|
"no-optional-label": !1
|
|
1048
1039
|
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1049
|
-
a.showFlagOnTable === "yes" ? (
|
|
1040
|
+
a.showFlagOnTable === "yes" ? (h(), c(ne, {
|
|
1050
1041
|
key: 3,
|
|
1051
|
-
modelValue:
|
|
1052
|
-
"onUpdate:modelValue":
|
|
1053
|
-
label:
|
|
1042
|
+
modelValue: r(O),
|
|
1043
|
+
"onUpdate:modelValue": t[7] ||= (e) => p(O) ? O.value = e : null,
|
|
1044
|
+
label: r(f)("event.flagOnTable")
|
|
1054
1045
|
}, null, 8, ["modelValue", "label"])) : l("", !0),
|
|
1055
|
-
a.hideRemarks === "yes" ? l("", !0) : (
|
|
1046
|
+
a.hideRemarks === "yes" ? l("", !0) : (h(), c(V, {
|
|
1056
1047
|
key: 4,
|
|
1057
|
-
modelValue:
|
|
1058
|
-
"onUpdate:modelValue":
|
|
1048
|
+
modelValue: r(L),
|
|
1049
|
+
"onUpdate:modelValue": t[8] ||= (e) => p(L) ? L.value = e : null,
|
|
1059
1050
|
type: "textarea",
|
|
1060
|
-
label:
|
|
1051
|
+
label: r(f)("booking.reservation.remark"),
|
|
1061
1052
|
icon: "info-circle",
|
|
1062
|
-
placeholder:
|
|
1053
|
+
placeholder: r(f)("booking.reservation.remarkPlaceholder")
|
|
1063
1054
|
}, null, 8, [
|
|
1064
1055
|
"modelValue",
|
|
1065
1056
|
"label",
|
|
1066
1057
|
"placeholder"
|
|
1067
1058
|
])),
|
|
1068
|
-
a.hideAllergies !== "yes" &&
|
|
1059
|
+
a.hideAllergies !== "yes" && r(be)?.showAllergyFoodFieldOnline ? (h(), c(V, {
|
|
1069
1060
|
key: 5,
|
|
1070
|
-
modelValue:
|
|
1071
|
-
"onUpdate:modelValue":
|
|
1061
|
+
modelValue: r(fe),
|
|
1062
|
+
"onUpdate:modelValue": t[9] ||= (e) => p(fe) ? fe.value = e : null,
|
|
1072
1063
|
type: "textarea",
|
|
1073
|
-
label:
|
|
1064
|
+
label: r(f)("booking.reservation.allergies"),
|
|
1074
1065
|
icon: "allergies",
|
|
1075
|
-
placeholder:
|
|
1066
|
+
placeholder: r(f)("booking.reservation.allergiesPlaceholder")
|
|
1076
1067
|
}, null, 8, [
|
|
1077
1068
|
"modelValue",
|
|
1078
1069
|
"label",
|
|
1079
1070
|
"placeholder"
|
|
1080
1071
|
])) : l("", !0)
|
|
1081
1072
|
])]),
|
|
1082
|
-
navigation:
|
|
1083
|
-
label:
|
|
1084
|
-
"is-loading":
|
|
1085
|
-
disabled: !
|
|
1073
|
+
navigation: x(() => [r(w) ? (h(), c(re, { key: 0 })) : l("", !0), s(B, {
|
|
1074
|
+
label: r(f)("general.confirmReservation"),
|
|
1075
|
+
"is-loading": r(ke) || r(w),
|
|
1076
|
+
disabled: !r(Ae),
|
|
1086
1077
|
"full-width": "",
|
|
1087
1078
|
onClickEvent: (t) => dt(e)
|
|
1088
1079
|
}, null, 8, [
|
|
@@ -1093,20 +1084,19 @@ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R
|
|
|
1093
1084
|
])]),
|
|
1094
1085
|
_: 2
|
|
1095
1086
|
}, 1032, ["prev-callback"])]),
|
|
1096
|
-
payment:
|
|
1097
|
-
confirmation:
|
|
1087
|
+
payment: x(() => [s(ae)]),
|
|
1088
|
+
confirmation: x(() => [s(Pe, { message: r(f)("event.confirmationMessage") }, null, 8, ["message"])]),
|
|
1098
1089
|
_: 1
|
|
1099
1090
|
}, 8, ["steps"])]),
|
|
1100
1091
|
_: 1
|
|
1101
1092
|
}, 8, ["access-token", "callback"])]),
|
|
1102
|
-
fallback:
|
|
1093
|
+
fallback: x(() => [s(wt)]),
|
|
1103
1094
|
_: 1
|
|
1104
1095
|
}))]),
|
|
1105
1096
|
_: 1
|
|
1106
1097
|
}, 8, ["styling"]));
|
|
1107
1098
|
}
|
|
1108
|
-
}), [["__scopeId", "data-v-a5263005"]]), Kt =
|
|
1109
|
-
e.use(
|
|
1099
|
+
}), [["__scopeId", "data-v-a5263005"]]), Kt = T(), qt = w("konnectio-event", Gt, (e) => {
|
|
1100
|
+
e.use(Ve), e.use(S), e.use(Kt), e.use(j), e.use(Re);
|
|
1110
1101
|
});
|
|
1111
|
-
//#endregion
|
|
1112
1102
|
export { qt as default };
|