@konnectio/core 4.3.18 → 4.4.1
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/README.md +274 -274
- package/dist/{ActionField-Bg0yFXyo.js → ActionField-DFZa6XEE.js} +4 -4
- package/dist/ActionField-DFZa6XEE.js.br +0 -0
- package/dist/ActionField-DFZa6XEE.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DLjqFg6U.js → AvailabilitySkeleton-DF-xbqwc.js} +8 -8
- package/dist/AvailabilitySkeleton-DF-xbqwc.js.br +0 -0
- package/dist/AvailabilitySkeleton-DF-xbqwc.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js +10189 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js.gz +0 -0
- package/dist/{CheckoutWindow-BMdnoHy9.js → CheckoutWindow-D1K21oen.js} +13 -13
- package/dist/CheckoutWindow-D1K21oen.js.br +0 -0
- package/dist/CheckoutWindow-D1K21oen.js.gz +0 -0
- package/dist/{ErrorMessage-jEofs6LL.js → ErrorMessage-BK__LpVs.js} +4 -4
- package/dist/ErrorMessage-BK__LpVs.js.br +0 -0
- package/dist/ErrorMessage-BK__LpVs.js.gz +0 -0
- package/dist/{EventAvailabilityForm-DP2s7m8v.js → EventAvailabilityForm-0wtbzDvF.js} +5 -5
- package/dist/EventAvailabilityForm-0wtbzDvF.js.br +0 -0
- package/dist/EventAvailabilityForm-0wtbzDvF.js.gz +0 -0
- package/dist/{Field-3KNgiKPM.js → Field-BtzC8Gm7.js} +7 -7
- package/dist/Field-BtzC8Gm7.js.br +0 -0
- package/dist/Field-BtzC8Gm7.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js +21 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js.br +2 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js → SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js} +4867 -4261
- package/dist/SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js.gz +0 -0
- package/dist/{TermsOfService-CAwgDlMG.js → TermsOfService-BDjNCWRO.js} +8 -8
- package/dist/TermsOfService-BDjNCWRO.js.br +0 -0
- package/dist/TermsOfService-BDjNCWRO.js.gz +0 -0
- package/dist/_-CgubYUBN.js +5 -0
- package/dist/_-CgubYUBN.js.br +0 -0
- package/dist/_-CgubYUBN.js.gz +0 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js → _.vue_vue_type_style_index_0_lang-B5YYDdEe.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-B5YYDdEe.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B5YYDdEe.js.gz +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
- package/dist/availability.js +9 -9
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +7 -7
- 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 +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/event.js +367 -373
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +14 -14
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +14 -14
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-CrwgJ6Fm.js → giftCard-ClmfxLn7.js} +3 -3
- package/dist/giftCard-ClmfxLn7.js.br +0 -0
- package/dist/giftCard-ClmfxLn7.js.gz +0 -0
- package/dist/hotel.js +523 -518
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-DR2Ax4hj.js → index-CypuSCab.js} +50 -48
- package/dist/index-CypuSCab.js.br +0 -0
- package/dist/index-CypuSCab.js.gz +0 -0
- package/dist/{masonry.plugin-CKPCoYcs.js → masonry.plugin-BRPC0wYu.js} +121 -158
- package/dist/masonry.plugin-BRPC0wYu.js.br +0 -0
- package/dist/masonry.plugin-BRPC0wYu.js.gz +0 -0
- package/dist/{mitt-CqW9zFaX.js → mitt-CvmiLPAX.js} +4643 -4431
- package/dist/mitt-CvmiLPAX.js.br +0 -0
- package/dist/mitt-CvmiLPAX.js.gz +0 -0
- package/dist/polyfill.js +5965 -5688
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/style-DisyGIDX.js +1750 -0
- package/dist/style-DisyGIDX.js.br +0 -0
- package/dist/style-DisyGIDX.js.gz +0 -0
- package/package.json +118 -118
- package/dist/ActionField-Bg0yFXyo.js.br +0 -0
- package/dist/ActionField-Bg0yFXyo.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DLjqFg6U.js.br +0 -0
- package/dist/AvailabilitySkeleton-DLjqFg6U.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js +0 -9324
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js.gz +0 -0
- package/dist/CheckoutWindow-BMdnoHy9.js.br +0 -0
- package/dist/CheckoutWindow-BMdnoHy9.js.gz +0 -0
- package/dist/ErrorMessage-jEofs6LL.js.br +0 -0
- package/dist/ErrorMessage-jEofs6LL.js.gz +0 -0
- package/dist/EventAvailabilityForm-DP2s7m8v.js.br +0 -0
- package/dist/EventAvailabilityForm-DP2s7m8v.js.gz +0 -0
- package/dist/Field-3KNgiKPM.js.br +0 -0
- package/dist/Field-3KNgiKPM.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js +0 -21
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js.gz +0 -0
- package/dist/TermsOfService-CAwgDlMG.js.br +0 -0
- package/dist/TermsOfService-CAwgDlMG.js.gz +0 -0
- package/dist/_-DQD4tHzx.js +0 -5
- package/dist/_-DQD4tHzx.js.br +0 -0
- package/dist/_-DQD4tHzx.js.gz +0 -2
- package/dist/_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js.gz +0 -0
- package/dist/giftCard-CrwgJ6Fm.js.br +0 -0
- package/dist/giftCard-CrwgJ6Fm.js.gz +0 -0
- package/dist/index-DR2Ax4hj.js.br +0 -0
- package/dist/index-DR2Ax4hj.js.gz +0 -0
- package/dist/masonry.plugin-CKPCoYcs.js.br +0 -0
- package/dist/masonry.plugin-CKPCoYcs.js.gz +0 -0
- package/dist/mitt-CqW9zFaX.js.br +0 -0
- package/dist/mitt-CqW9zFaX.js.gz +0 -0
- package/dist/style-Tyu_krEp.js +0 -2340
- package/dist/style-Tyu_krEp.js.br +0 -0
- package/dist/style-Tyu_krEp.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,52 +1,46 @@
|
|
|
1
|
-
import { d as M, u as _, s as q, c as
|
|
2
|
-
import { G as
|
|
3
|
-
import { a as Ee, f as oe, g as X, h as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { B as
|
|
6
|
-
import { g as
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.
|
|
10
|
-
import { f as
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
const k = (t ? Math[t] : Math.trunc)(i);
|
|
14
|
-
return k === 0 ? 0 : k;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
function Wt(t, i, a) {
|
|
18
|
-
const k = St(), b = a?.locale ?? k.locale ?? Rt, f = Mt(t, i);
|
|
1
|
+
import { d as M, u as _, s as q, c as Y, r as Ae, a as v, b as l, g as e, w as b, q as K, e as n, i as r, f as h, n as ot, h as s, t as o, F as N, v as R, o as it, j as st, x as ue, y as rt, z as S, A as dt, S as ct, k as ut, _ as mt, l as vt, m as bt, p as gt } from "./mitt-CvmiLPAX.js";
|
|
2
|
+
import { G as ft } from "./style-DisyGIDX.js";
|
|
3
|
+
import { a as Ee, f as oe, g as X, h as Se, B as kt, i as ae, l as yt, s as z, e as me, _ as G, I as le, j as ht, k as ve, u as Pe, m as pt, n as Dt, o as Pt, p as J, T as ce, O as Et, q as $t, r as xe, C as wt, t as Ot, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js";
|
|
4
|
+
import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-B5YYDdEe.js";
|
|
5
|
+
import { B as Vt, _ as Ft, R as Nt, L as Re, S as Lt, M as Ct, T as Bt, C as It, V as At, a as St } from "./masonry.plugin-BRPC0wYu.js";
|
|
6
|
+
import { g as Rt, e as Mt, c as Ut, n as Ht, a as Te, b as Gt, m as Ve, d as Fe, f as Ne, h as Le, _ as zt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js";
|
|
7
|
+
import { C as qt, P as Yt, a as Ce } from "./CheckoutWindow-D1K21oen.js";
|
|
8
|
+
import { E as jt } from "./EventAvailabilityForm-0wtbzDvF.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js";
|
|
10
|
+
import { f as Wt } from "./index-CypuSCab.js";
|
|
11
|
+
function Zt(t, i, a) {
|
|
12
|
+
const E = Rt(), m = a?.locale ?? E.locale ?? Mt, f = Ut(t, i);
|
|
19
13
|
if (isNaN(f))
|
|
20
14
|
throw new RangeError("Invalid time value");
|
|
21
15
|
const g = Object.assign({}, a, {
|
|
22
16
|
addSuffix: a?.addSuffix,
|
|
23
17
|
comparison: f
|
|
24
|
-
}), [
|
|
18
|
+
}), [k, p] = Ht(
|
|
25
19
|
a?.in,
|
|
26
20
|
...f > 0 ? [i, t] : [t, i]
|
|
27
|
-
),
|
|
21
|
+
), D = Gt("round"), $ = p.getTime() - k.getTime(), P = $ / Le, T = Te(p) - Te(k), w = ($ - T) / Le, x = a?.unit;
|
|
28
22
|
let u;
|
|
29
|
-
if (
|
|
30
|
-
const
|
|
31
|
-
return
|
|
23
|
+
if (P < 1 ? u = "second" : P < 60 ? u = "minute" : P < Ve ? u = "hour" : w < Fe ? u = "day" : w < Ne ? u = "month" : u = "year", u === "second") {
|
|
24
|
+
const y = D($ / 1e3);
|
|
25
|
+
return m.formatDistance("xSeconds", y, g);
|
|
32
26
|
} else if (u === "minute") {
|
|
33
|
-
const
|
|
34
|
-
return
|
|
27
|
+
const y = D(P);
|
|
28
|
+
return m.formatDistance("xMinutes", y, g);
|
|
35
29
|
} else if (u === "hour") {
|
|
36
|
-
const
|
|
37
|
-
return
|
|
30
|
+
const y = D(P / 60);
|
|
31
|
+
return m.formatDistance("xHours", y, g);
|
|
38
32
|
} else if (u === "day") {
|
|
39
|
-
const
|
|
40
|
-
return
|
|
33
|
+
const y = D(w / Ve);
|
|
34
|
+
return m.formatDistance("xDays", y, g);
|
|
41
35
|
} else if (u === "month") {
|
|
42
|
-
const
|
|
43
|
-
return
|
|
36
|
+
const y = D(w / Fe);
|
|
37
|
+
return y === 12 && x !== "month" ? m.formatDistance("xYears", 1, g) : m.formatDistance("xMonths", y, g);
|
|
44
38
|
} else {
|
|
45
|
-
const
|
|
46
|
-
return
|
|
39
|
+
const y = D(w / Ne);
|
|
40
|
+
return m.formatDistance("xYears", y, g);
|
|
47
41
|
}
|
|
48
42
|
}
|
|
49
|
-
const
|
|
43
|
+
const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__ */ M({
|
|
50
44
|
__name: "_",
|
|
51
45
|
props: {
|
|
52
46
|
name: {},
|
|
@@ -71,21 +65,21 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
71
65
|
callback: {}
|
|
72
66
|
},
|
|
73
67
|
setup(t) {
|
|
74
|
-
const { t: i } = _(), a = t, { display:
|
|
75
|
-
hideEventGuestAmount:
|
|
68
|
+
const { t: i } = _(), a = t, { display: E } = Ee(), {
|
|
69
|
+
hideEventGuestAmount: m
|
|
76
70
|
} = q(oe()), {
|
|
77
71
|
maxNumberOfPeople: f,
|
|
78
72
|
numberOfPeople: g,
|
|
79
|
-
eventId:
|
|
73
|
+
eventId: k,
|
|
80
74
|
currentEventDate: p,
|
|
81
|
-
tableGroupId:
|
|
75
|
+
tableGroupId: D
|
|
82
76
|
} = q(X()), {
|
|
83
77
|
getTemplateAvailability: $,
|
|
84
|
-
getEventAvailability:
|
|
78
|
+
getEventAvailability: P,
|
|
85
79
|
isEventListingLoading: T
|
|
86
|
-
} = X(), { addToCart: w } =
|
|
80
|
+
} = X(), { addToCart: w } = Se(), x = Y(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), u = Ae(0), y = Y(() => T(a.listingId)), j = () => {
|
|
87
81
|
if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
|
|
88
|
-
|
|
82
|
+
E({
|
|
89
83
|
type: "error",
|
|
90
84
|
message: i("alert.error.selectPeople")
|
|
91
85
|
});
|
|
@@ -95,10 +89,10 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
95
89
|
id: a.listingId,
|
|
96
90
|
name: a.name,
|
|
97
91
|
value: a.fromPrice || 0
|
|
98
|
-
}),
|
|
92
|
+
}), k.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
|
|
99
93
|
}, B = () => {
|
|
100
94
|
if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
|
|
101
|
-
|
|
95
|
+
E({
|
|
102
96
|
type: "error",
|
|
103
97
|
message: i("alert.error.selectPeople")
|
|
104
98
|
});
|
|
@@ -108,9 +102,9 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
108
102
|
id: a.listingId,
|
|
109
103
|
name: a.name,
|
|
110
104
|
value: a.fromPrice || 0
|
|
111
|
-
}),
|
|
105
|
+
}), k.value = a.listingId, D.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, P(a.callback);
|
|
112
106
|
};
|
|
113
|
-
return (C, U) => (l(),
|
|
107
|
+
return (C, U) => (l(), v(Vt, {
|
|
114
108
|
type: "event",
|
|
115
109
|
"listing-id": t.listingId,
|
|
116
110
|
gallery: t.gallery,
|
|
@@ -121,18 +115,18 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
121
115
|
layout: e(kt).Event,
|
|
122
116
|
"disable-deep-link": t.disableDeepLink
|
|
123
117
|
}, {
|
|
124
|
-
description:
|
|
118
|
+
description: b(() => [
|
|
125
119
|
K(C.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
|
|
126
120
|
]),
|
|
127
|
-
action:
|
|
121
|
+
action: b(() => [
|
|
128
122
|
K(C.$slots, "action", {}, () => [
|
|
129
123
|
n("div", {
|
|
130
|
-
class:
|
|
124
|
+
class: ot([
|
|
131
125
|
"konnectio-event-listing-action",
|
|
132
126
|
{ "no-selectable-people": t.useNumberOfProductsForPersons }
|
|
133
127
|
])
|
|
134
128
|
}, [
|
|
135
|
-
t.useNumberOfProductsForPersons ? r("", !0) : (l(),
|
|
129
|
+
t.useNumberOfProductsForPersons ? r("", !0) : (l(), v(ae, {
|
|
136
130
|
key: 0,
|
|
137
131
|
modelValue: u.value,
|
|
138
132
|
"onUpdate:modelValue": U[0] || (U[0] = (Q) => u.value = Q),
|
|
@@ -140,18 +134,18 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
140
134
|
icon: "users",
|
|
141
135
|
"icon-type": "fas",
|
|
142
136
|
"icon-placement": "label",
|
|
143
|
-
description:
|
|
137
|
+
description: x.value <= 20 && !e(m) ? `${e(i)("general.availableFor")}: 1 - ${x.value} ${e(yt)(e(i)("general.guests"))}` : void 0,
|
|
144
138
|
"min-value": 0,
|
|
145
|
-
"max-value":
|
|
139
|
+
"max-value": x.value
|
|
146
140
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
147
|
-
n("div",
|
|
141
|
+
n("div", Qt, [
|
|
148
142
|
h(me, {
|
|
149
143
|
label: t.soldOut ? e(i)("event.soldOut") : e(i)("event.bookNowButton"),
|
|
150
144
|
disabled: t.soldOut,
|
|
151
|
-
"is-loading":
|
|
145
|
+
"is-loading": y.value,
|
|
152
146
|
"full-width": "",
|
|
153
147
|
"sub-label": e(z)(e(p)),
|
|
154
|
-
onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() :
|
|
148
|
+
onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() : j())
|
|
155
149
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
156
150
|
])
|
|
157
151
|
], 2)
|
|
@@ -160,14 +154,14 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
160
154
|
_: 3
|
|
161
155
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
162
156
|
}
|
|
163
|
-
}),
|
|
164
|
-
const
|
|
157
|
+
}), Me = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-23ac9949"]]), Kt = { class: "konnectio-event-listing-information-new" };
|
|
158
|
+
const Xt = {
|
|
165
159
|
key: 1,
|
|
166
160
|
class: "konnectio-pill-button"
|
|
167
|
-
},
|
|
161
|
+
}, _t = {
|
|
168
162
|
key: 2,
|
|
169
163
|
class: "konnectio-pill-button"
|
|
170
|
-
},
|
|
164
|
+
}, en = { key: 0 }, tn = { key: 1 }, nn = /* @__PURE__ */ M({
|
|
171
165
|
__name: "Event",
|
|
172
166
|
props: {
|
|
173
167
|
name: {},
|
|
@@ -191,18 +185,18 @@ const Kt = {
|
|
|
191
185
|
},
|
|
192
186
|
setup(t) {
|
|
193
187
|
const i = t, { t: a } = _(), {
|
|
194
|
-
hideEventLength:
|
|
195
|
-
hideEventEndTime:
|
|
196
|
-
} = q(oe()), f =
|
|
188
|
+
hideEventLength: E,
|
|
189
|
+
hideEventEndTime: m
|
|
190
|
+
} = q(oe()), f = Y(() => {
|
|
197
191
|
if (!i.length)
|
|
198
192
|
return;
|
|
199
193
|
const g = i.length.split(":");
|
|
200
|
-
return
|
|
194
|
+
return Zt(
|
|
201
195
|
new Date(2e3, 0, 1, Number(g[0]), Number(g[1]), 0),
|
|
202
196
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
203
197
|
);
|
|
204
198
|
});
|
|
205
|
-
return (g,
|
|
199
|
+
return (g, k) => (l(), v(Me, {
|
|
206
200
|
"listing-id": t.listingId,
|
|
207
201
|
name: t.name,
|
|
208
202
|
description: t.description,
|
|
@@ -217,14 +211,14 @@ const Kt = {
|
|
|
217
211
|
"tracking-enabled": t.trackingEnabled,
|
|
218
212
|
callback: t.callback
|
|
219
213
|
}, {
|
|
220
|
-
description:
|
|
221
|
-
t.description ? (l(),
|
|
214
|
+
description: b(() => [
|
|
215
|
+
t.description ? (l(), v(Ft, {
|
|
222
216
|
key: 0,
|
|
223
217
|
text: t.description
|
|
224
218
|
}, null, 8, ["text"])) : r("", !0),
|
|
225
|
-
n("ul",
|
|
219
|
+
n("ul", Kt, [
|
|
226
220
|
r("", !0),
|
|
227
|
-
!e(
|
|
221
|
+
!e(E) && f.value ? (l(), s("li", Xt, [
|
|
228
222
|
n("div", null, [
|
|
229
223
|
h(le, {
|
|
230
224
|
icon: "calendar-clock",
|
|
@@ -234,7 +228,7 @@ const Kt = {
|
|
|
234
228
|
]),
|
|
235
229
|
n("span", null, o(f.value), 1)
|
|
236
230
|
])) : r("", !0),
|
|
237
|
-
t.timeFrom ? (l(), s("li",
|
|
231
|
+
t.timeFrom ? (l(), s("li", _t, [
|
|
238
232
|
n("div", null, [
|
|
239
233
|
h(le, {
|
|
240
234
|
icon: "calendar-clock",
|
|
@@ -242,20 +236,20 @@ const Kt = {
|
|
|
242
236
|
}),
|
|
243
237
|
n("span", null, o(e(a)("event.startAndEndTime")), 1)
|
|
244
238
|
]),
|
|
245
|
-
e(
|
|
239
|
+
e(m) ? (l(), s("span", tn, o(e(ve)(t.timeFrom)), 1)) : (l(), s("span", en, o(e(ht)(t.timeFrom, t.timeTo)), 1))
|
|
246
240
|
])) : r("", !0)
|
|
247
241
|
])
|
|
248
242
|
]),
|
|
249
|
-
action:
|
|
243
|
+
action: b(() => [
|
|
250
244
|
K(g.$slots, "action", {}, void 0, !0)
|
|
251
245
|
]),
|
|
252
246
|
_: 3
|
|
253
247
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "tracking-enabled", "callback"]));
|
|
254
248
|
}
|
|
255
|
-
}), be = /* @__PURE__ */ G(
|
|
249
|
+
}), be = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-40cbbf2c"]]), an = {
|
|
256
250
|
key: 0,
|
|
257
251
|
class: "konnectio-event-grouped-listings-container"
|
|
258
|
-
},
|
|
252
|
+
}, ln = { class: "konnectio-event-grouped-listings" }, on = /* @__PURE__ */ M({
|
|
259
253
|
__name: "Event",
|
|
260
254
|
props: {
|
|
261
255
|
name: {},
|
|
@@ -264,44 +258,44 @@ const Kt = {
|
|
|
264
258
|
callback: { type: Function }
|
|
265
259
|
},
|
|
266
260
|
setup(t) {
|
|
267
|
-
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div",
|
|
261
|
+
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", an, [
|
|
268
262
|
r("", !0),
|
|
269
|
-
n("ul",
|
|
263
|
+
n("ul", ln, [
|
|
270
264
|
(l(!0), s(N, null, R(t.events, ({
|
|
271
|
-
id:
|
|
272
|
-
days:
|
|
265
|
+
id: E,
|
|
266
|
+
days: m,
|
|
273
267
|
name: f,
|
|
274
268
|
timeFrom: g,
|
|
275
|
-
timeTo:
|
|
269
|
+
timeTo: k,
|
|
276
270
|
tableGroupId: p,
|
|
277
|
-
description:
|
|
271
|
+
description: D,
|
|
278
272
|
soldOut: $,
|
|
279
|
-
length:
|
|
273
|
+
length: P,
|
|
280
274
|
images: T,
|
|
281
275
|
maxOnlineReservationLimit: w,
|
|
282
|
-
maxPaxPerReservation:
|
|
276
|
+
maxPaxPerReservation: x,
|
|
283
277
|
useNumberOfProductsForPersons: u,
|
|
284
|
-
maxTicketsLimit:
|
|
285
|
-
}) => (l(),
|
|
286
|
-
key:
|
|
278
|
+
maxTicketsLimit: y
|
|
279
|
+
}) => (l(), v(be, {
|
|
280
|
+
key: E,
|
|
287
281
|
type: "event",
|
|
288
|
-
"listing-id":
|
|
282
|
+
"listing-id": E,
|
|
289
283
|
"table-group-id": p,
|
|
290
|
-
description:
|
|
284
|
+
description: D,
|
|
291
285
|
name: f,
|
|
292
|
-
length:
|
|
286
|
+
length: P,
|
|
293
287
|
gallery: T,
|
|
294
|
-
days:
|
|
295
|
-
"max-online-reservation-limit":
|
|
288
|
+
days: m,
|
|
289
|
+
"max-online-reservation-limit": x || w || y || void 0,
|
|
296
290
|
"time-from": g,
|
|
297
|
-
"time-to":
|
|
291
|
+
"time-to": k,
|
|
298
292
|
"sold-out": $,
|
|
299
293
|
"use-number-of-products-for-persons": u,
|
|
300
294
|
"tracking-enabled": t.trackingEnabled,
|
|
301
295
|
callback: t.callback
|
|
302
296
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
|
|
303
297
|
])
|
|
304
|
-
])) : t.events ? (l(),
|
|
298
|
+
])) : t.events ? (l(), v(be, {
|
|
305
299
|
key: t.events[0].id,
|
|
306
300
|
type: "event",
|
|
307
301
|
"listing-id": t.events[0].id,
|
|
@@ -322,7 +316,7 @@ const Kt = {
|
|
|
322
316
|
callback: t.callback
|
|
323
317
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
|
|
324
318
|
}
|
|
325
|
-
}),
|
|
319
|
+
}), sn = /* @__PURE__ */ G(on, [["__scopeId", "data-v-374ad034"]]), rn = { class: "konnectio-special-offer-availability" }, dn = { class: "konnectio-special-offer-availability-button" }, cn = { class: "konnectio-warning-notice" }, un = { key: 0 }, mn = { key: 1 }, vn = /* @__PURE__ */ M({
|
|
326
320
|
__name: "NextEvent",
|
|
327
321
|
props: {
|
|
328
322
|
name: {},
|
|
@@ -344,17 +338,17 @@ const Kt = {
|
|
|
344
338
|
callback: { type: Function }
|
|
345
339
|
},
|
|
346
340
|
setup(t) {
|
|
347
|
-
const { t: i } = _(), { updateEventDate: a } = Pe(), { display:
|
|
341
|
+
const { t: i } = _(), { updateEventDate: a } = Pe(), { display: E } = Ee(), m = Ae(), f = t;
|
|
348
342
|
function g() {
|
|
349
|
-
|
|
343
|
+
m.value ? a(m.value) : E({
|
|
350
344
|
message: i("alert.error.selectDate"),
|
|
351
345
|
type: "error"
|
|
352
346
|
});
|
|
353
347
|
}
|
|
354
|
-
const
|
|
355
|
-
return
|
|
356
|
-
|
|
357
|
-
}), (
|
|
348
|
+
const k = Y(() => pt(f.fromDate, f.toDate) <= 1), p = Y(() => [0, 1, 2, 3, 4, 5, 6].filter((D) => !Dt(f.days).includes(D)));
|
|
349
|
+
return it(() => {
|
|
350
|
+
k.value && (m.value = new Date(f.fromDate));
|
|
351
|
+
}), (D, $) => (l(), v(be, {
|
|
358
352
|
name: t.name,
|
|
359
353
|
description: t.description,
|
|
360
354
|
"from-date": t.fromDate,
|
|
@@ -374,36 +368,36 @@ const Kt = {
|
|
|
374
368
|
callback: t.callback,
|
|
375
369
|
"disable-deep-link": !0
|
|
376
370
|
}, {
|
|
377
|
-
action:
|
|
371
|
+
action: b(() => [
|
|
378
372
|
n("div", null, [
|
|
379
|
-
n("div",
|
|
380
|
-
h(
|
|
381
|
-
modelValue:
|
|
382
|
-
"onUpdate:modelValue": $[0] || ($[0] = (
|
|
373
|
+
n("div", rn, [
|
|
374
|
+
h(zt, {
|
|
375
|
+
modelValue: m.value,
|
|
376
|
+
"onUpdate:modelValue": $[0] || ($[0] = (P) => m.value = P),
|
|
383
377
|
label: `${e(i)("event.selectDate")}*`,
|
|
384
378
|
placeholder: e(i)("event.selectDate"),
|
|
385
379
|
"icon-type": "fas",
|
|
386
380
|
"icon-placement": "label",
|
|
387
|
-
readonly:
|
|
381
|
+
readonly: k.value,
|
|
388
382
|
"start-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
|
|
389
383
|
"min-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
|
|
390
384
|
"max-date": new Date(t.toDate),
|
|
391
385
|
"disabled-week-days": p.value
|
|
392
386
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
393
|
-
n("div",
|
|
387
|
+
n("div", dn, [
|
|
394
388
|
h(me, {
|
|
395
389
|
label: e(i)("availability.buttonLabel"),
|
|
396
|
-
onClick:
|
|
390
|
+
onClick: st(g, ["prevent"])
|
|
397
391
|
}, null, 8, ["label"])
|
|
398
392
|
])
|
|
399
393
|
]),
|
|
400
394
|
n("div", cn, [
|
|
401
|
-
|
|
395
|
+
k.value ? (l(), s("span", un, [
|
|
402
396
|
ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
|
|
403
397
|
n("u", null, o(e(z)(t.fromDate)), 1)
|
|
404
|
-
])) : (l(), s("span",
|
|
398
|
+
])) : (l(), s("span", mn, [
|
|
405
399
|
ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
|
|
406
|
-
n("u", null, o(e(
|
|
400
|
+
n("u", null, o(e(Pt)(t.days)), 1)
|
|
407
401
|
]))
|
|
408
402
|
])
|
|
409
403
|
])
|
|
@@ -411,10 +405,10 @@ const Kt = {
|
|
|
411
405
|
_: 1
|
|
412
406
|
}, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
|
|
413
407
|
}
|
|
414
|
-
}),
|
|
408
|
+
}), Be = /* @__PURE__ */ G(vn, [["__scopeId", "data-v-f6aed3b0"]]), bn = {
|
|
415
409
|
key: 0,
|
|
416
410
|
class: "konnectio-event-grouped-listings-container"
|
|
417
|
-
},
|
|
411
|
+
}, gn = { class: "konnectio-event-grouped-listings" }, fn = /* @__PURE__ */ M({
|
|
418
412
|
__name: "NextEvent",
|
|
419
413
|
props: {
|
|
420
414
|
name: {},
|
|
@@ -423,48 +417,48 @@ const Kt = {
|
|
|
423
417
|
callback: { type: Function }
|
|
424
418
|
},
|
|
425
419
|
setup(t) {
|
|
426
|
-
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div",
|
|
420
|
+
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", bn, [
|
|
427
421
|
r("", !0),
|
|
428
|
-
n("ul",
|
|
422
|
+
n("ul", gn, [
|
|
429
423
|
(l(!0), s(N, null, R(t.events, ({
|
|
430
|
-
id:
|
|
431
|
-
days:
|
|
424
|
+
id: E,
|
|
425
|
+
days: m,
|
|
432
426
|
name: f,
|
|
433
427
|
timeFrom: g,
|
|
434
|
-
timeTo:
|
|
428
|
+
timeTo: k,
|
|
435
429
|
fromDate: p,
|
|
436
|
-
toDate:
|
|
430
|
+
toDate: D,
|
|
437
431
|
tableGroupId: $,
|
|
438
|
-
description:
|
|
432
|
+
description: P,
|
|
439
433
|
soldOut: T,
|
|
440
434
|
length: w,
|
|
441
|
-
images:
|
|
435
|
+
images: x,
|
|
442
436
|
maxOnlineReservationLimit: u,
|
|
443
|
-
maxPaxPerReservation:
|
|
444
|
-
useNumberOfProductsForPersons:
|
|
437
|
+
maxPaxPerReservation: y,
|
|
438
|
+
useNumberOfProductsForPersons: j,
|
|
445
439
|
maxTicketsLimit: B
|
|
446
|
-
}) => (l(),
|
|
447
|
-
key:
|
|
440
|
+
}) => (l(), v(Be, {
|
|
441
|
+
key: E,
|
|
448
442
|
type: "event",
|
|
449
|
-
"listing-id":
|
|
443
|
+
"listing-id": E,
|
|
450
444
|
"table-group-id": $,
|
|
451
|
-
description:
|
|
445
|
+
description: P,
|
|
452
446
|
name: f,
|
|
453
447
|
length: w,
|
|
454
|
-
gallery:
|
|
455
|
-
days:
|
|
448
|
+
gallery: x,
|
|
449
|
+
days: m,
|
|
456
450
|
"from-date": p,
|
|
457
|
-
"to-date":
|
|
458
|
-
"max-online-reservation-limit":
|
|
451
|
+
"to-date": D,
|
|
452
|
+
"max-online-reservation-limit": y || u || B || void 0,
|
|
459
453
|
"time-from": g,
|
|
460
|
-
"time-to":
|
|
454
|
+
"time-to": k,
|
|
461
455
|
"sold-out": T,
|
|
462
|
-
"use-number-of-products-for-persons":
|
|
456
|
+
"use-number-of-products-for-persons": j,
|
|
463
457
|
"tracking-enabled": t.trackingEnabled,
|
|
464
458
|
callback: t.callback
|
|
465
459
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
|
|
466
460
|
])
|
|
467
|
-
])) : t.events ? (l(),
|
|
461
|
+
])) : t.events ? (l(), v(Be, {
|
|
468
462
|
key: t.events[0].id,
|
|
469
463
|
type: "event",
|
|
470
464
|
"listing-id": t.events[0].id,
|
|
@@ -485,7 +479,7 @@ const Kt = {
|
|
|
485
479
|
callback: t.callback
|
|
486
480
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
|
|
487
481
|
}
|
|
488
|
-
}), kn = /* @__PURE__ */ G(
|
|
482
|
+
}), kn = /* @__PURE__ */ G(fn, [["__scopeId", "data-v-39263761"]]), yn = ["innerHTML"], hn = /* @__PURE__ */ M({
|
|
489
483
|
__name: "FallbackEvent",
|
|
490
484
|
props: {
|
|
491
485
|
name: {},
|
|
@@ -499,7 +493,7 @@ const Kt = {
|
|
|
499
493
|
},
|
|
500
494
|
setup(t) {
|
|
501
495
|
const { t: i } = _();
|
|
502
|
-
return (a,
|
|
496
|
+
return (a, E) => (l(), v(be, {
|
|
503
497
|
name: t.name,
|
|
504
498
|
description: t.description,
|
|
505
499
|
"from-date": t.fromDate,
|
|
@@ -510,16 +504,16 @@ const Kt = {
|
|
|
510
504
|
callback: t.callback,
|
|
511
505
|
"disable-deep-link": !0
|
|
512
506
|
}, {
|
|
513
|
-
action:
|
|
507
|
+
action: b(() => [
|
|
514
508
|
n("div", {
|
|
515
509
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
516
510
|
innerHTML: e(i)("event.notAvailable", { name: `<b>${t.name}</b>` })
|
|
517
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, yn)
|
|
518
512
|
]),
|
|
519
513
|
_: 1
|
|
520
514
|
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
|
|
521
515
|
}
|
|
522
|
-
}),
|
|
516
|
+
}), pn = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-0167deff"]]), Dn = /* @__PURE__ */ M({
|
|
523
517
|
__name: "Template",
|
|
524
518
|
props: {
|
|
525
519
|
name: {},
|
|
@@ -536,7 +530,7 @@ const Kt = {
|
|
|
536
530
|
callback: {}
|
|
537
531
|
},
|
|
538
532
|
setup(t) {
|
|
539
|
-
return (i, a) => (l(),
|
|
533
|
+
return (i, a) => (l(), v(Me, {
|
|
540
534
|
"listing-id": t.listingId,
|
|
541
535
|
gallery: t.images,
|
|
542
536
|
name: t.name,
|
|
@@ -548,13 +542,13 @@ const Kt = {
|
|
|
548
542
|
callback: t.callback
|
|
549
543
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "tracking-enabled", "callback"]));
|
|
550
544
|
}
|
|
551
|
-
}),
|
|
545
|
+
}), Pn = {
|
|
552
546
|
key: 0,
|
|
553
547
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
554
|
-
},
|
|
548
|
+
}, En = ["innerHTML"], $n = { key: 0 }, wn = { key: 1 }, On = { key: 2 }, xn = { key: 0 }, Tn = { key: 4 }, Vn = { key: 5 }, Fn = { key: 6 }, Nn = { key: 0 }, Ln = { key: 0 }, Cn = { key: 1 }, Bn = {
|
|
555
549
|
key: 0,
|
|
556
550
|
class: "konnectio-capitalize"
|
|
557
|
-
},
|
|
551
|
+
}, In = /* @__PURE__ */ M({
|
|
558
552
|
__name: "EventReservationForm",
|
|
559
553
|
props: {
|
|
560
554
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -562,156 +556,156 @@ const Kt = {
|
|
|
562
556
|
prevCallback: {}
|
|
563
557
|
},
|
|
564
558
|
setup(t) {
|
|
565
|
-
const { t: i } = _(), a =
|
|
566
|
-
areListingsAvailable:
|
|
567
|
-
arrivalTime:
|
|
559
|
+
const { t: i } = _(), a = rt(), {
|
|
560
|
+
areListingsAvailable: E,
|
|
561
|
+
arrivalTime: m,
|
|
568
562
|
numberOfPeople: f,
|
|
569
563
|
numberOfRooms: g,
|
|
570
|
-
numberOfTotalDays:
|
|
564
|
+
numberOfTotalDays: k,
|
|
571
565
|
isTemplateEvent: p,
|
|
572
|
-
currentEventDate:
|
|
566
|
+
currentEventDate: D,
|
|
573
567
|
length: $,
|
|
574
|
-
fromDate:
|
|
568
|
+
fromDate: P,
|
|
575
569
|
tableBasePrice: T,
|
|
576
570
|
getTemplateData: w,
|
|
577
|
-
basePrice:
|
|
571
|
+
basePrice: x,
|
|
578
572
|
totalPrice: u,
|
|
579
|
-
weekendFee:
|
|
580
|
-
roomUpgrade:
|
|
573
|
+
weekendFee: y,
|
|
574
|
+
roomUpgrade: j,
|
|
581
575
|
discountCode: B,
|
|
582
576
|
totalSelectedProducts: C,
|
|
583
577
|
discountValue: U,
|
|
584
578
|
appliedDiscountCode: Q
|
|
585
|
-
} = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength:
|
|
586
|
-
return (te, re) => (l(),
|
|
579
|
+
} = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength: fe } = q(oe()), ee = i("event.reservationNotice");
|
|
580
|
+
return (te, re) => (l(), v(Nt, {
|
|
587
581
|
"discount-code": e(B),
|
|
588
|
-
"onUpdate:discountCode": re[0] || (re[0] = (
|
|
582
|
+
"onUpdate:discountCode": re[0] || (re[0] = (W) => S(B) ? B.value = W : null),
|
|
589
583
|
"validate-discount-code": e(ge),
|
|
590
584
|
"show-gift-card": t.showGiftCard,
|
|
591
585
|
"show-terms-notice": t.showTermsNotice,
|
|
592
|
-
"is-sidebar-loading": !e(
|
|
593
|
-
"base-price": e(
|
|
586
|
+
"is-sidebar-loading": !e(E),
|
|
587
|
+
"base-price": e(x),
|
|
594
588
|
"total-price": e(u),
|
|
595
|
-
"weekend-fee": e(
|
|
596
|
-
"room-upgrade": e(
|
|
589
|
+
"weekend-fee": e(y),
|
|
590
|
+
"room-upgrade": e(j),
|
|
597
591
|
notice: e(ee),
|
|
598
592
|
"prev-callback": t.prevCallback
|
|
599
|
-
},
|
|
600
|
-
form:
|
|
593
|
+
}, dt({
|
|
594
|
+
form: b(() => [
|
|
601
595
|
K(te.$slots, "form", {}, void 0, !0),
|
|
602
|
-
e(ee) ? (l(), s("div",
|
|
596
|
+
e(ee) ? (l(), s("div", Pn, [
|
|
603
597
|
n("p", {
|
|
604
598
|
innerHTML: e(ee),
|
|
605
599
|
class: "konnectio-wysiwyg"
|
|
606
|
-
}, null, 8,
|
|
600
|
+
}, null, 8, En)
|
|
607
601
|
])) : r("", !0)
|
|
608
602
|
]),
|
|
609
|
-
"reservation-summary":
|
|
610
|
-
e(p) ? r("", !0) : (l(), s("li",
|
|
603
|
+
"reservation-summary": b(() => [
|
|
604
|
+
e(p) ? r("", !0) : (l(), s("li", $n, [
|
|
611
605
|
n("span", null, o(e(i)("general.date")), 1),
|
|
612
|
-
n("b", null, o(e(z)(e(
|
|
606
|
+
n("b", null, o(e(z)(e(D))), 1)
|
|
613
607
|
])),
|
|
614
|
-
e(f) > 0 ? (l(), s("li",
|
|
608
|
+
e(f) > 0 ? (l(), s("li", wn, [
|
|
615
609
|
n("span", null, o(e(i)("event.numberOfGuests")), 1),
|
|
616
610
|
n("b", null, o(e(f)), 1)
|
|
617
611
|
])) : r("", !0),
|
|
618
|
-
!e(p) && e(C) > 0 ? (l(), s("li",
|
|
612
|
+
!e(p) && e(C) > 0 ? (l(), s("li", On, [
|
|
619
613
|
n("span", null, o(e(i)("event.numberOfProducts")), 1),
|
|
620
614
|
n("b", null, o(e(C)), 1)
|
|
621
615
|
])) : r("", !0),
|
|
622
616
|
e(p) ? (l(), s(N, { key: 3 }, [
|
|
623
617
|
n("li", null, [
|
|
624
618
|
n("span", null, o(e(i)("booking.reservation.arrival")), 1),
|
|
625
|
-
n("b", null, o(e(z)(e(
|
|
619
|
+
n("b", null, o(e(z)(e(P))), 1)
|
|
626
620
|
]),
|
|
627
621
|
n("li", null, [
|
|
628
622
|
n("span", null, o(e(i)("booking.reservation.departure")), 1),
|
|
629
|
-
n("b", null, o(e(z)(e(
|
|
623
|
+
n("b", null, o(e(z)(e(P), e(k))), 1)
|
|
630
624
|
]),
|
|
631
625
|
n("li", null, [
|
|
632
626
|
n("span", null, o(e(i)("event.numberOfRooms")), 1),
|
|
633
627
|
n("b", null, o(e(g)), 1)
|
|
634
628
|
]),
|
|
635
|
-
e(
|
|
629
|
+
e(k) > 0 ? (l(), s("li", xn, [
|
|
636
630
|
n("span", null, o(e(i)("event.numberOfDays")), 1),
|
|
637
|
-
n("b", null, o(e(
|
|
631
|
+
n("b", null, o(e(k)), 1)
|
|
638
632
|
])) : r("", !0)
|
|
639
633
|
], 64)) : r("", !0),
|
|
640
|
-
!e(p) && e(
|
|
634
|
+
!e(p) && e(m) ? (l(), s("li", Tn, [
|
|
641
635
|
n("span", null, o(e(i)("event.startOfEvent")), 1),
|
|
642
|
-
n("b", null, o(e(ve)(e(
|
|
636
|
+
n("b", null, o(e(ve)(e(m))), 1)
|
|
643
637
|
])) : r("", !0),
|
|
644
|
-
!e(p) && e($) && !e(
|
|
638
|
+
!e(p) && e($) && !e(fe) ? (l(), s("li", Vn, [
|
|
645
639
|
n("span", null, o(e(i)("event.lengthOfEvent")), 1),
|
|
646
640
|
n("b", null, o(e(ve)(e($))), 1)
|
|
647
641
|
])) : r("", !0),
|
|
648
|
-
e(U) ? (l(), s("li",
|
|
642
|
+
e(U) ? (l(), s("li", Fn, [
|
|
649
643
|
n("span", null, o(e(i)("general.discountCode")), 1),
|
|
650
644
|
n("b", null, o(e(Q)), 1)
|
|
651
645
|
])) : r("", !0)
|
|
652
646
|
]),
|
|
653
|
-
"price-summary":
|
|
654
|
-
!e(p) && e(T) > 0 ? (l(), s("li",
|
|
647
|
+
"price-summary": b(() => [
|
|
648
|
+
!e(p) && e(T) > 0 ? (l(), s("li", Nn, [
|
|
655
649
|
n("span", null, o(e(i)("booking.availability.basePrice")), 1),
|
|
656
650
|
n("b", null, o(e(J)(e(T), e(se))), 1)
|
|
657
651
|
])) : r("", !0),
|
|
658
|
-
e(w) ? (l(!0), s(N, { key: 1 }, R(e(w), ({ roomGroupId:
|
|
659
|
-
e(ie)(
|
|
660
|
-
n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(
|
|
661
|
-
n("b", null, o(e(J)(e(ie)(
|
|
652
|
+
e(w) ? (l(!0), s(N, { key: 1 }, R(e(w), ({ roomGroupId: W }, Z) => (l(), s(N, null, [
|
|
653
|
+
e(ie)(W, Z) > 0 ? (l(), s("li", { key: W }, [
|
|
654
|
+
n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(Z + 1), 1),
|
|
655
|
+
n("b", null, o(e(J)(e(ie)(W, Z), e(se))), 1)
|
|
662
656
|
])) : r("", !0)
|
|
663
657
|
], 64))), 256)) : r("", !0)
|
|
664
658
|
]),
|
|
665
|
-
navigation:
|
|
659
|
+
navigation: b(() => [
|
|
666
660
|
K(te.$slots, "navigation", {}, void 0, !0)
|
|
667
661
|
]),
|
|
668
|
-
"mobile-under-price":
|
|
669
|
-
e(p) && e(
|
|
670
|
-
n("span", null, o(e(z)(e(
|
|
671
|
-
])) : (l(), s("div",
|
|
672
|
-
n("span", null, o(e(z)(e(
|
|
662
|
+
"mobile-under-price": b(() => [
|
|
663
|
+
e(p) && e(k) > 0 ? (l(), s("div", Ln, [
|
|
664
|
+
n("span", null, o(e(z)(e(P))) + " - " + o(e(z)(e(P), e(k))), 1)
|
|
665
|
+
])) : (l(), s("div", Cn, [
|
|
666
|
+
n("span", null, o(e(z)(e(D))), 1)
|
|
673
667
|
]))
|
|
674
668
|
]),
|
|
675
|
-
"mobile-summary":
|
|
676
|
-
!e(p) && e(C) > 0 ? (l(), s("span",
|
|
669
|
+
"mobile-summary": b(() => [
|
|
670
|
+
!e(p) && e(C) > 0 ? (l(), s("span", Bn, o(e(i)("event.numberOfProducts")) + ": " + o(e(C)), 1)) : r("", !0)
|
|
677
671
|
]),
|
|
678
672
|
_: 2
|
|
679
673
|
}, [
|
|
680
674
|
e(a).sidebar ? {
|
|
681
675
|
name: "sidebar",
|
|
682
|
-
fn:
|
|
676
|
+
fn: b(() => [
|
|
683
677
|
K(te.$slots, "sidebar", {}, void 0, !0)
|
|
684
678
|
]),
|
|
685
679
|
key: "0"
|
|
686
680
|
} : void 0
|
|
687
681
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
|
|
688
682
|
}
|
|
689
|
-
}), De = /* @__PURE__ */ G(
|
|
683
|
+
}), De = /* @__PURE__ */ G(In, [["__scopeId", "data-v-d2ff3f68"]]), An = { class: "event-skeleton" }, Sn = { class: "event-skeleton-content" }, Rn = { class: "event-skeleton-sidebar" }, Mn = /* @__PURE__ */ M({
|
|
690
684
|
__name: "EventSkeleton",
|
|
691
685
|
setup(t) {
|
|
692
|
-
return (i, a) => (l(), s("div",
|
|
693
|
-
n("div", An, [
|
|
694
|
-
h(Se)
|
|
695
|
-
]),
|
|
686
|
+
return (i, a) => (l(), s("div", An, [
|
|
696
687
|
n("div", Sn, [
|
|
688
|
+
h(Re)
|
|
689
|
+
]),
|
|
690
|
+
n("div", Rn, [
|
|
697
691
|
r("", !0),
|
|
698
|
-
h(
|
|
692
|
+
h(Lt)
|
|
699
693
|
])
|
|
700
694
|
]));
|
|
701
695
|
}
|
|
702
|
-
}),
|
|
696
|
+
}), Un = /* @__PURE__ */ G(Mn, [["__scopeId", "data-v-3e15c4e3"]]), Hn = {
|
|
703
697
|
key: 0,
|
|
704
698
|
id: "konnectio-event-listings-wrapper"
|
|
705
|
-
},
|
|
699
|
+
}, Gn = {
|
|
706
700
|
key: 1,
|
|
707
701
|
class: "konnectio-hotel-availability-title"
|
|
708
|
-
},
|
|
702
|
+
}, zn = { class: "konnectio-event-listings" }, qn = { class: "konnectio-hotel-availability-title" }, Yn = { class: "konnectio-event-listings" }, jn = ["innerHTML"], Wn = { class: "konnectio-panel" }, Zn = {
|
|
709
703
|
key: 0,
|
|
710
704
|
id: "konnectio-event-addons"
|
|
711
|
-
},
|
|
705
|
+
}, Qn = { class: "konnectio-table with-lines" }, Jn = { class: "konnectio-event-addons-price" }, Kn = { class: "konnectio-event-addons-input" }, Xn = { class: "konnectio-event-addons-price" }, _n = { class: "konnectio-event-addons-price" }, ea = {
|
|
712
706
|
key: 1,
|
|
713
707
|
class: "konnectio-table with-lines without-header"
|
|
714
|
-
},
|
|
708
|
+
}, ta = { class: "konnectio-table-addons-information" }, na = { key: 0 }, aa = { class: "konnectio-table-addons-option" }, la = { class: "konnectio-panel" }, oa = /* @__PURE__ */ M({
|
|
715
709
|
name: "EventLayout",
|
|
716
710
|
__name: "Event",
|
|
717
711
|
props: {
|
|
@@ -724,25 +718,25 @@ const Kt = {
|
|
|
724
718
|
hideAllergies: { default: "no" },
|
|
725
719
|
showFlagOnTable: { default: "no" },
|
|
726
720
|
showHighChairs: {},
|
|
721
|
+
sortOrder: { default: "asc" },
|
|
727
722
|
styling: {}
|
|
728
723
|
},
|
|
729
724
|
setup(t) {
|
|
730
|
-
const i = t, { t: a } = _(), {
|
|
731
|
-
addons:
|
|
732
|
-
products:
|
|
733
|
-
numberOfDays:
|
|
734
|
-
flagOnTable:
|
|
735
|
-
numberOfHighChairs:
|
|
736
|
-
name:
|
|
737
|
-
phone:
|
|
738
|
-
email:
|
|
739
|
-
remark:
|
|
740
|
-
allergies:
|
|
741
|
-
arrivalTime:
|
|
742
|
-
hasEvents:
|
|
743
|
-
hasTemplates:
|
|
744
|
-
|
|
745
|
-
getTemplates: Y,
|
|
725
|
+
const i = t, { t: a } = _(), E = X(), {
|
|
726
|
+
addons: m,
|
|
727
|
+
products: f,
|
|
728
|
+
numberOfDays: g,
|
|
729
|
+
flagOnTable: k,
|
|
730
|
+
numberOfHighChairs: p,
|
|
731
|
+
name: D,
|
|
732
|
+
phone: $,
|
|
733
|
+
email: P,
|
|
734
|
+
remark: T,
|
|
735
|
+
allergies: w,
|
|
736
|
+
arrivalTime: x,
|
|
737
|
+
hasEvents: u,
|
|
738
|
+
hasTemplates: y,
|
|
739
|
+
getTemplates: j,
|
|
746
740
|
getEventData: B,
|
|
747
741
|
getTemplateData: C,
|
|
748
742
|
getEventTableData: U,
|
|
@@ -750,23 +744,23 @@ const Kt = {
|
|
|
750
744
|
eventRateType: ie,
|
|
751
745
|
areListingsAvailable: ge,
|
|
752
746
|
isAvailabilityDataAvailable: se,
|
|
753
|
-
hasListingData:
|
|
747
|
+
hasListingData: fe,
|
|
754
748
|
isPaymentLoading: ee,
|
|
755
749
|
isReservationFormFilled: te,
|
|
756
750
|
requiresArrivalTime: re,
|
|
757
|
-
hasSelectedRequiredProducts:
|
|
758
|
-
getUnavailableEvents:
|
|
751
|
+
hasSelectedRequiredProducts: W,
|
|
752
|
+
getUnavailableEvents: Z,
|
|
759
753
|
hasFallbackEvents: $e,
|
|
760
|
-
getFallbackEvents:
|
|
761
|
-
} = q(
|
|
762
|
-
initialize:
|
|
763
|
-
fetchListings:
|
|
764
|
-
createBooking:
|
|
765
|
-
localAddonPrice:
|
|
766
|
-
totalAddonPrice:
|
|
767
|
-
reset:
|
|
768
|
-
goBack:
|
|
769
|
-
} = X(), { beginEventCheckout:
|
|
754
|
+
getFallbackEvents: Ue
|
|
755
|
+
} = q(E), we = Y(() => E.getSortedEvents(i.sortOrder)), { currency: de, enableTracking: ne } = q(oe()), { setActiveIdFilter: He } = oe(), { eventDate: Ge, eventLocation: ze } = q(Pe()), { isValidRestaurantId: qe } = Pe(), {
|
|
756
|
+
initialize: Ye,
|
|
757
|
+
fetchListings: je,
|
|
758
|
+
createBooking: We,
|
|
759
|
+
localAddonPrice: Ze,
|
|
760
|
+
totalAddonPrice: Qe,
|
|
761
|
+
reset: Je,
|
|
762
|
+
goBack: Oe
|
|
763
|
+
} = X(), { beginEventCheckout: Ke } = Se(), { display: ke } = Ee(), Xe = Y(() => [
|
|
770
764
|
{
|
|
771
765
|
id: "availability",
|
|
772
766
|
label: a("booking.availability.title"),
|
|
@@ -792,83 +786,83 @@ const Kt = {
|
|
|
792
786
|
label: a("booking.confirmation.title"),
|
|
793
787
|
icon: "calendar-check"
|
|
794
788
|
}
|
|
795
|
-
]),
|
|
789
|
+
]), _e = Y(() => {
|
|
796
790
|
const L = [];
|
|
797
|
-
return U.value && U.value.forEach((
|
|
798
|
-
L.find((V) => V.value ===
|
|
799
|
-
label: ve(
|
|
800
|
-
value:
|
|
791
|
+
return U.value && U.value.forEach((c) => {
|
|
792
|
+
L.find((V) => V.value === c.time) || L.push({
|
|
793
|
+
label: ve(c.time),
|
|
794
|
+
value: c.time
|
|
801
795
|
});
|
|
802
796
|
}), L;
|
|
803
797
|
});
|
|
804
|
-
function
|
|
805
|
-
|
|
798
|
+
function et() {
|
|
799
|
+
Je(i.resetDate === "yes");
|
|
806
800
|
}
|
|
807
|
-
function
|
|
808
|
-
ne.value &&
|
|
801
|
+
function tt(L) {
|
|
802
|
+
ne.value && Ke(), We(L);
|
|
809
803
|
}
|
|
810
|
-
function
|
|
811
|
-
const L =
|
|
804
|
+
function nt() {
|
|
805
|
+
const L = Ot("history", {
|
|
812
806
|
removeNullishValues: !0
|
|
813
|
-
}),
|
|
807
|
+
}), c = parseInt(L.rid), V = L.d, O = parseInt(L.eid);
|
|
814
808
|
if (V)
|
|
815
809
|
if (xt(V)) {
|
|
816
|
-
const
|
|
817
|
-
I >= H ?
|
|
810
|
+
const d = new Date(V), I = d.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
811
|
+
I >= H ? Ge.value = d : (ke({
|
|
818
812
|
message: a("alert.error.invalidDateRange"),
|
|
819
813
|
type: "error"
|
|
820
814
|
}), L.d = void 0);
|
|
821
815
|
} else
|
|
822
|
-
|
|
816
|
+
ke({
|
|
823
817
|
message: a("alert.error.wrongDateFormat"),
|
|
824
818
|
type: "error"
|
|
825
819
|
});
|
|
826
|
-
isNaN(
|
|
820
|
+
isNaN(c) || (qe(c) ? ze.value = c : (L.rid = void 0, ke({
|
|
827
821
|
message: a("alert.error.hotelIdNotFound"),
|
|
828
822
|
type: "error"
|
|
829
|
-
}))), isNaN(
|
|
823
|
+
}))), isNaN(O) || He(O), je();
|
|
830
824
|
}
|
|
831
|
-
return (L,
|
|
832
|
-
default:
|
|
833
|
-
(l(),
|
|
834
|
-
default:
|
|
835
|
-
h(
|
|
825
|
+
return (L, c) => (l(), v(wt, { styling: t.styling }, {
|
|
826
|
+
default: b(() => [
|
|
827
|
+
(l(), v(ct, { onResolve: nt }, {
|
|
828
|
+
default: b(() => [
|
|
829
|
+
h(Tt, {
|
|
836
830
|
id: "konnectio-event-module",
|
|
837
831
|
"access-token": t.accessToken,
|
|
838
|
-
callback: e(
|
|
832
|
+
callback: e(Ye)
|
|
839
833
|
}, {
|
|
840
|
-
default:
|
|
841
|
-
h(
|
|
842
|
-
steps:
|
|
843
|
-
onReset:
|
|
834
|
+
default: b(() => [
|
|
835
|
+
h(Ct, {
|
|
836
|
+
steps: Xe.value,
|
|
837
|
+
onReset: et
|
|
844
838
|
}, {
|
|
845
|
-
availability:
|
|
839
|
+
availability: b(({ next: V }) => [
|
|
846
840
|
h(De, null, {
|
|
847
|
-
sidebar:
|
|
848
|
-
h(
|
|
841
|
+
sidebar: b(() => [
|
|
842
|
+
h(jt, {
|
|
849
843
|
redirection: !1,
|
|
850
844
|
"selected-location": Number(t.selectedLocation),
|
|
851
845
|
"hide-locations": t.hideLocations === "yes"
|
|
852
846
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
853
847
|
]),
|
|
854
|
-
form:
|
|
855
|
-
e(
|
|
856
|
-
e($e) ? (l(!0), s(N, { key: 0 }, R(e(
|
|
857
|
-
id:
|
|
858
|
-
name:
|
|
848
|
+
form: b(() => [
|
|
849
|
+
e(fe) && e(ge) ? (l(), s("div", Hn, [
|
|
850
|
+
e($e) ? (l(!0), s(N, { key: 0 }, R(e(Ue), ({
|
|
851
|
+
id: O,
|
|
852
|
+
name: d,
|
|
859
853
|
description: I,
|
|
860
854
|
images: H
|
|
861
|
-
}) => (l(),
|
|
862
|
-
key:
|
|
855
|
+
}) => (l(), v(pn, {
|
|
856
|
+
key: O,
|
|
863
857
|
type: "event",
|
|
864
|
-
"listing-id":
|
|
858
|
+
"listing-id": O,
|
|
865
859
|
description: I,
|
|
866
|
-
name:
|
|
860
|
+
name: d,
|
|
867
861
|
gallery: H,
|
|
868
862
|
"tracking-enabled": e(ne),
|
|
869
863
|
callback: V
|
|
870
864
|
}, null, 8, ["listing-id", "description", "name", "gallery", "tracking-enabled", "callback"]))), 128)) : r("", !0),
|
|
871
|
-
|
|
865
|
+
we.value.length > 0 && e(Z).length > 0 ? (l(), s("h2", Gn, [
|
|
872
866
|
h(le, {
|
|
873
867
|
icon: "calendar-clock",
|
|
874
868
|
type: "fal",
|
|
@@ -876,26 +870,26 @@ const Kt = {
|
|
|
876
870
|
}),
|
|
877
871
|
n("span", null, o(e(a)("event.availableNow")), 1)
|
|
878
872
|
])) : r("", !0),
|
|
879
|
-
n("ul",
|
|
880
|
-
e(
|
|
881
|
-
name:
|
|
882
|
-
events:
|
|
873
|
+
n("ul", zn, [
|
|
874
|
+
e(u) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, R(we.value, (O) => (l(), v(sn, {
|
|
875
|
+
name: O.name,
|
|
876
|
+
events: O.events,
|
|
883
877
|
"tracking-enabled": e(ne),
|
|
884
878
|
callback: V
|
|
885
879
|
}, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : r("", !0),
|
|
886
|
-
e(
|
|
887
|
-
id:
|
|
888
|
-
name:
|
|
880
|
+
e(y) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, R(e(j), ({
|
|
881
|
+
id: O,
|
|
882
|
+
name: d,
|
|
889
883
|
fromDate: I,
|
|
890
884
|
toDate: H,
|
|
891
885
|
minimumPersonCount: F,
|
|
892
886
|
fromPrice: A,
|
|
893
887
|
description: ye,
|
|
894
888
|
images: he
|
|
895
|
-
}) => (l(),
|
|
896
|
-
key:
|
|
897
|
-
"listing-id":
|
|
898
|
-
name:
|
|
889
|
+
}) => (l(), v(Dn, {
|
|
890
|
+
key: O,
|
|
891
|
+
"listing-id": O,
|
|
892
|
+
name: d,
|
|
899
893
|
images: he,
|
|
900
894
|
description: ye,
|
|
901
895
|
"from-date": I,
|
|
@@ -906,8 +900,8 @@ const Kt = {
|
|
|
906
900
|
callback: V
|
|
907
901
|
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "tracking-enabled", "callback"]))), 128)) : r("", !0)
|
|
908
902
|
]),
|
|
909
|
-
e(
|
|
910
|
-
n("h2",
|
|
903
|
+
e(Z).length > 0 && t.onlyShow !== "templates" ? (l(), s(N, { key: 2 }, [
|
|
904
|
+
n("h2", qn, [
|
|
911
905
|
h(le, {
|
|
912
906
|
icon: "calendar-circle-exclamation",
|
|
913
907
|
type: "fal",
|
|
@@ -915,44 +909,44 @@ const Kt = {
|
|
|
915
909
|
}),
|
|
916
910
|
n("span", null, o(e(a)("event.availableLater")), 1)
|
|
917
911
|
]),
|
|
918
|
-
n("ul",
|
|
919
|
-
(l(!0), s(N, null, R(e(
|
|
920
|
-
name:
|
|
921
|
-
events:
|
|
912
|
+
n("ul", Yn, [
|
|
913
|
+
(l(!0), s(N, null, R(e(Z), (O) => (l(), v(kn, {
|
|
914
|
+
name: O.name,
|
|
915
|
+
events: O.events,
|
|
922
916
|
"tracking-enabled": e(ne),
|
|
923
917
|
callback: V
|
|
924
918
|
}, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256))
|
|
925
919
|
])
|
|
926
920
|
], 64)) : r("", !0),
|
|
927
|
-
(!e(
|
|
921
|
+
(!e(u) && !e(y) || !e(u) && t.onlyShow === "events" || !e(y) && t.onlyShow === "templates") && !e($e) ? (l(), s("div", {
|
|
928
922
|
key: 3,
|
|
929
923
|
class: "konnectio-panel",
|
|
930
924
|
innerHTML: e(a)("event.nothingAvailable")
|
|
931
|
-
}, null, 8,
|
|
932
|
-
])) : (l(),
|
|
925
|
+
}, null, 8, jn)) : r("", !0)
|
|
926
|
+
])) : (l(), v(Re, { key: 1 }))
|
|
933
927
|
]),
|
|
934
928
|
_: 2
|
|
935
929
|
}, 1024)
|
|
936
930
|
]),
|
|
937
|
-
addons:
|
|
938
|
-
e(se) ? (l(),
|
|
931
|
+
addons: b(({ next: V, prev: O }) => [
|
|
932
|
+
e(se) ? (l(), v(De, {
|
|
939
933
|
key: 0,
|
|
940
|
-
"prev-callback": () => e(
|
|
934
|
+
"prev-callback": () => e(Oe)(O)
|
|
941
935
|
}, {
|
|
942
|
-
form:
|
|
943
|
-
n("form",
|
|
936
|
+
form: b(() => [
|
|
937
|
+
n("form", Wn, [
|
|
944
938
|
n("h2", null, [
|
|
945
939
|
n("span", null, o(e(a)("event.selectProducts")), 1)
|
|
946
940
|
]),
|
|
947
|
-
e(C) && e(C).length > 0 ? (l(), s("ul",
|
|
941
|
+
e(C) && e(C).length > 0 ? (l(), s("ul", Zn, [
|
|
948
942
|
(l(!0), s(N, null, R(e(C), ({
|
|
949
|
-
roomGroupId:
|
|
943
|
+
roomGroupId: d,
|
|
950
944
|
addons: I,
|
|
951
945
|
adultPerRoom: H
|
|
952
|
-
}, F) => (l(), s("li", { key:
|
|
946
|
+
}, F) => (l(), s("li", { key: d }, [
|
|
953
947
|
n("h5", null, [
|
|
954
948
|
n("span", null, o(e(a)("booking.reservation.room")) + " #" + o(F + 1), 1),
|
|
955
|
-
|
|
949
|
+
c[9] || (c[9] = ue(" (", -1)),
|
|
956
950
|
h(le, {
|
|
957
951
|
icon: "male",
|
|
958
952
|
type: "fas",
|
|
@@ -960,14 +954,14 @@ const Kt = {
|
|
|
960
954
|
}),
|
|
961
955
|
ue(" " + o(H) + ") ", 1)
|
|
962
956
|
]),
|
|
963
|
-
n("table",
|
|
957
|
+
n("table", Qn, [
|
|
964
958
|
n("thead", null, [
|
|
965
959
|
n("tr", null, [
|
|
966
960
|
n("th", null, [
|
|
967
961
|
n("span", null, o(e(a)("booking.reservation.addons")), 1)
|
|
968
962
|
]),
|
|
969
|
-
|
|
970
|
-
n("th",
|
|
963
|
+
c[10] || (c[10] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
964
|
+
n("th", Jn, [
|
|
971
965
|
n("span", null, o(e(a)("booking.availability.price")), 1)
|
|
972
966
|
])
|
|
973
967
|
])
|
|
@@ -977,40 +971,40 @@ const Kt = {
|
|
|
977
971
|
id: A,
|
|
978
972
|
cardinality: ye,
|
|
979
973
|
name: he,
|
|
980
|
-
price:
|
|
981
|
-
quantityStrategy:
|
|
974
|
+
price: at,
|
|
975
|
+
quantityStrategy: lt
|
|
982
976
|
}) => (l(), s("tr", { key: A }, [
|
|
983
977
|
n("td", null, [
|
|
984
978
|
n("b", null, o(he), 1),
|
|
985
|
-
|
|
986
|
-
n("span", null, o(e(J)(
|
|
979
|
+
c[11] || (c[11] = n("br", null, null, -1)),
|
|
980
|
+
n("span", null, o(e(J)(at, e(de))) + " " + o(e($t)(lt)), 1)
|
|
987
981
|
]),
|
|
988
|
-
n("td",
|
|
989
|
-
ye === 3 ? (l(),
|
|
982
|
+
n("td", Kn, [
|
|
983
|
+
ye === 3 ? (l(), v(ae, {
|
|
990
984
|
key: 0,
|
|
991
|
-
modelValue: e(
|
|
992
|
-
"onUpdate:modelValue": (pe) => e(
|
|
985
|
+
modelValue: e(m)[`${d}.${A}.${F}`],
|
|
986
|
+
"onUpdate:modelValue": (pe) => e(m)[`${d}.${A}.${F}`] = pe,
|
|
993
987
|
small: !0,
|
|
994
988
|
"min-value": 0
|
|
995
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(),
|
|
989
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), v(Ce, {
|
|
996
990
|
key: 1,
|
|
997
|
-
modelValue: e(
|
|
998
|
-
"onUpdate:modelValue": (pe) => e(
|
|
991
|
+
modelValue: e(m)[`${d}.${A}.${F}`],
|
|
992
|
+
"onUpdate:modelValue": (pe) => e(m)[`${d}.${A}.${F}`] = pe,
|
|
999
993
|
numeric: !0
|
|
1000
994
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1001
995
|
]),
|
|
1002
|
-
n("td",
|
|
1003
|
-
n("span", null, o(e(J)(e(
|
|
996
|
+
n("td", Xn, [
|
|
997
|
+
n("span", null, o(e(J)(e(Ze)(A, d, F), e(de))), 1)
|
|
1004
998
|
])
|
|
1005
999
|
]))), 128))
|
|
1006
1000
|
]),
|
|
1007
1001
|
n("tfoot", null, [
|
|
1008
1002
|
n("tr", null, [
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
n("td",
|
|
1003
|
+
c[12] || (c[12] = n("td", null, null, -1)),
|
|
1004
|
+
c[13] || (c[13] = n("td", null, null, -1)),
|
|
1005
|
+
n("td", _n, [
|
|
1012
1006
|
n("u", null, [
|
|
1013
|
-
n("span", null, o(e(J)(e(
|
|
1007
|
+
n("span", null, o(e(J)(e(Qe)(d, F), e(de))), 1)
|
|
1014
1008
|
])
|
|
1015
1009
|
])
|
|
1016
1010
|
])
|
|
@@ -1018,20 +1012,20 @@ const Kt = {
|
|
|
1018
1012
|
])
|
|
1019
1013
|
]))), 128))
|
|
1020
1014
|
])) : r("", !0),
|
|
1021
|
-
e(Q) ? (l(), s("table",
|
|
1015
|
+
e(Q) ? (l(), s("table", ea, [
|
|
1022
1016
|
n("tbody", null, [
|
|
1023
|
-
(l(!0), s(N, null, R(e(B).products, ({ id:
|
|
1024
|
-
n("td",
|
|
1017
|
+
(l(!0), s(N, null, R(e(B).products, ({ id: d, name: I, price: H, description: F }) => (l(), s("tr", { key: d }, [
|
|
1018
|
+
n("td", ta, [
|
|
1025
1019
|
n("b", null, [
|
|
1026
1020
|
n("span", null, o(e(xe)(I)), 1)
|
|
1027
1021
|
]),
|
|
1028
|
-
F && F !== I ? (l(), s("span",
|
|
1029
|
-
n("u", null, o(e(J)(H, e(
|
|
1022
|
+
F && F !== I ? (l(), s("span", na, o(e(xe)(F)), 1)) : r("", !0),
|
|
1023
|
+
n("u", null, o(e(J)(H, e(de))), 1)
|
|
1030
1024
|
]),
|
|
1031
|
-
n("td",
|
|
1025
|
+
n("td", aa, [
|
|
1032
1026
|
h(ae, {
|
|
1033
|
-
modelValue: e(
|
|
1034
|
-
"onUpdate:modelValue": (A) => e(
|
|
1027
|
+
modelValue: e(f)[d],
|
|
1028
|
+
"onUpdate:modelValue": (A) => e(f)[d] = A,
|
|
1035
1029
|
small: !0,
|
|
1036
1030
|
"min-value": 0
|
|
1037
1031
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1041,10 +1035,10 @@ const Kt = {
|
|
|
1041
1035
|
])) : r("", !0)
|
|
1042
1036
|
])
|
|
1043
1037
|
]),
|
|
1044
|
-
navigation:
|
|
1038
|
+
navigation: b(() => [
|
|
1045
1039
|
h(me, {
|
|
1046
1040
|
label: e(a)("event.startReservation"),
|
|
1047
|
-
disabled: !e(
|
|
1041
|
+
disabled: !e(W),
|
|
1048
1042
|
"full-width": "",
|
|
1049
1043
|
onClickEvent: V
|
|
1050
1044
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
@@ -1052,29 +1046,29 @@ const Kt = {
|
|
|
1052
1046
|
_: 2
|
|
1053
1047
|
}, 1032, ["prev-callback"])) : r("", !0)
|
|
1054
1048
|
]),
|
|
1055
|
-
reservation:
|
|
1049
|
+
reservation: b(({ next: V, prev: O }) => [
|
|
1056
1050
|
h(De, {
|
|
1057
1051
|
"show-terms-notice": !0,
|
|
1058
1052
|
"show-gift-card": !0,
|
|
1059
|
-
"prev-callback": () => e(
|
|
1053
|
+
"prev-callback": () => e(Oe)(O)
|
|
1060
1054
|
}, {
|
|
1061
|
-
form:
|
|
1062
|
-
n("form",
|
|
1055
|
+
form: b(() => [
|
|
1056
|
+
n("form", la, [
|
|
1063
1057
|
n("h2", null, [
|
|
1064
1058
|
n("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
|
|
1065
1059
|
]),
|
|
1066
|
-
h(
|
|
1067
|
-
modelValue: e(
|
|
1068
|
-
"onUpdate:modelValue":
|
|
1060
|
+
h(ce, {
|
|
1061
|
+
modelValue: e(D),
|
|
1062
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => S(D) ? D.value = d : null),
|
|
1069
1063
|
type: "text",
|
|
1070
1064
|
label: e(a)("booking.reservation.name"),
|
|
1071
1065
|
icon: "user-alt",
|
|
1072
1066
|
placeholder: e(a)("booking.reservation.namePlaceholder"),
|
|
1073
1067
|
required: ""
|
|
1074
1068
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1075
|
-
h(
|
|
1076
|
-
modelValue: e(
|
|
1077
|
-
"onUpdate:modelValue":
|
|
1069
|
+
h(ce, {
|
|
1070
|
+
modelValue: e(P),
|
|
1071
|
+
"onUpdate:modelValue": c[1] || (c[1] = (d) => S(P) ? P.value = d : null),
|
|
1078
1072
|
label: e(a)("booking.reservation.email"),
|
|
1079
1073
|
type: "email",
|
|
1080
1074
|
name: "email",
|
|
@@ -1083,58 +1077,58 @@ const Kt = {
|
|
|
1083
1077
|
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
1084
1078
|
required: ""
|
|
1085
1079
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1086
|
-
h(
|
|
1087
|
-
modelValue: e(
|
|
1088
|
-
"onUpdate:modelValue":
|
|
1080
|
+
h(Yt, {
|
|
1081
|
+
modelValue: e($),
|
|
1082
|
+
"onUpdate:modelValue": c[2] || (c[2] = (d) => S($) ? $.value = d : null),
|
|
1089
1083
|
label: e(a)("booking.reservation.phone"),
|
|
1090
1084
|
icon: "phone-office",
|
|
1091
1085
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
1092
1086
|
required: ""
|
|
1093
1087
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1094
|
-
e(re) ? (l(),
|
|
1088
|
+
e(re) ? (l(), v(It, {
|
|
1095
1089
|
key: 0,
|
|
1096
|
-
modelValue: e(
|
|
1097
|
-
"onUpdate:modelValue":
|
|
1090
|
+
modelValue: e(x),
|
|
1091
|
+
"onUpdate:modelValue": c[3] || (c[3] = (d) => S(x) ? x.value = d : null),
|
|
1098
1092
|
label: e(a)("event.selectArrivalTime"),
|
|
1099
1093
|
name: "eventTimeTable",
|
|
1100
|
-
checkboxes:
|
|
1094
|
+
checkboxes: _e.value,
|
|
1101
1095
|
required: ""
|
|
1102
1096
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : r("", !0),
|
|
1103
|
-
e(ie) === e(
|
|
1097
|
+
e(ie) === e(Et).FullDayEvent ? (l(), v(ae, {
|
|
1104
1098
|
key: 1,
|
|
1105
|
-
modelValue: e(
|
|
1106
|
-
"onUpdate:modelValue":
|
|
1099
|
+
modelValue: e(g),
|
|
1100
|
+
"onUpdate:modelValue": c[4] || (c[4] = (d) => S(g) ? g.value = d : null),
|
|
1107
1101
|
label: e(a)("event.numberOfDays"),
|
|
1108
1102
|
"min-value": 1,
|
|
1109
1103
|
required: ""
|
|
1110
1104
|
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1111
|
-
t.showHighChairs === "yes" ? (l(),
|
|
1105
|
+
t.showHighChairs === "yes" ? (l(), v(ae, {
|
|
1112
1106
|
key: 2,
|
|
1113
|
-
modelValue: e(
|
|
1114
|
-
"onUpdate:modelValue":
|
|
1107
|
+
modelValue: e(p),
|
|
1108
|
+
"onUpdate:modelValue": c[5] || (c[5] = (d) => S(p) ? p.value = d : null),
|
|
1115
1109
|
label: e(a)("event.numberOfHighChairs"),
|
|
1116
1110
|
icon: "baby",
|
|
1117
1111
|
"no-optional-label": !1
|
|
1118
1112
|
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1119
|
-
t.showFlagOnTable === "yes" ? (l(),
|
|
1113
|
+
t.showFlagOnTable === "yes" ? (l(), v(Ce, {
|
|
1120
1114
|
key: 3,
|
|
1121
|
-
modelValue: e(
|
|
1122
|
-
"onUpdate:modelValue":
|
|
1115
|
+
modelValue: e(k),
|
|
1116
|
+
"onUpdate:modelValue": c[6] || (c[6] = (d) => S(k) ? k.value = d : null),
|
|
1123
1117
|
label: e(a)("event.flagOnTable")
|
|
1124
1118
|
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1125
|
-
t.hideRemarks !== "yes" ? (l(),
|
|
1119
|
+
t.hideRemarks !== "yes" ? (l(), v(ce, {
|
|
1126
1120
|
key: 4,
|
|
1127
|
-
modelValue: e(
|
|
1128
|
-
"onUpdate:modelValue":
|
|
1121
|
+
modelValue: e(T),
|
|
1122
|
+
"onUpdate:modelValue": c[7] || (c[7] = (d) => S(T) ? T.value = d : null),
|
|
1129
1123
|
type: "textarea",
|
|
1130
1124
|
label: e(a)("booking.reservation.remark"),
|
|
1131
1125
|
icon: "info-circle",
|
|
1132
1126
|
placeholder: e(a)("booking.reservation.remarkPlaceholder")
|
|
1133
1127
|
}, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0),
|
|
1134
|
-
t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(),
|
|
1128
|
+
t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), v(ce, {
|
|
1135
1129
|
key: 5,
|
|
1136
|
-
modelValue: e(
|
|
1137
|
-
"onUpdate:modelValue":
|
|
1130
|
+
modelValue: e(w),
|
|
1131
|
+
"onUpdate:modelValue": c[8] || (c[8] = (d) => S(w) ? w.value = d : null),
|
|
1138
1132
|
type: "textarea",
|
|
1139
1133
|
label: e(a)("booking.reservation.allergies"),
|
|
1140
1134
|
icon: "allergies",
|
|
@@ -1142,23 +1136,23 @@ const Kt = {
|
|
|
1142
1136
|
}, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0)
|
|
1143
1137
|
])
|
|
1144
1138
|
]),
|
|
1145
|
-
navigation:
|
|
1139
|
+
navigation: b(() => [
|
|
1146
1140
|
h(me, {
|
|
1147
1141
|
label: e(a)("general.confirmReservation"),
|
|
1148
1142
|
"is-loading": e(ee),
|
|
1149
1143
|
disabled: !e(te),
|
|
1150
1144
|
"full-width": "",
|
|
1151
|
-
onClickEvent: (
|
|
1145
|
+
onClickEvent: (d) => tt(V)
|
|
1152
1146
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
1153
1147
|
]),
|
|
1154
1148
|
_: 2
|
|
1155
1149
|
}, 1032, ["prev-callback"])
|
|
1156
1150
|
]),
|
|
1157
|
-
payment:
|
|
1158
|
-
h(
|
|
1151
|
+
payment: b(() => [
|
|
1152
|
+
h(qt)
|
|
1159
1153
|
]),
|
|
1160
|
-
confirmation:
|
|
1161
|
-
h(
|
|
1154
|
+
confirmation: b(() => [
|
|
1155
|
+
h(Bt, {
|
|
1162
1156
|
message: e(a)("event.confirmationMessage")
|
|
1163
1157
|
}, null, 8, ["message"])
|
|
1164
1158
|
]),
|
|
@@ -1168,8 +1162,8 @@ const Kt = {
|
|
|
1168
1162
|
_: 1
|
|
1169
1163
|
}, 8, ["access-token", "callback"])
|
|
1170
1164
|
]),
|
|
1171
|
-
fallback:
|
|
1172
|
-
h(
|
|
1165
|
+
fallback: b(() => [
|
|
1166
|
+
h(Un)
|
|
1173
1167
|
]),
|
|
1174
1168
|
_: 1
|
|
1175
1169
|
}))
|
|
@@ -1177,8 +1171,8 @@ const Kt = {
|
|
|
1177
1171
|
_: 1
|
|
1178
1172
|
}, 8, ["styling"]));
|
|
1179
1173
|
}
|
|
1180
|
-
}),
|
|
1181
|
-
class
|
|
1174
|
+
}), Ie = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-f58c56d6"]]), ia = ut(), sa = mt, ra = sa();
|
|
1175
|
+
class da extends HTMLElement {
|
|
1182
1176
|
vueApp;
|
|
1183
1177
|
constructor() {
|
|
1184
1178
|
super();
|
|
@@ -1187,14 +1181,14 @@ class ra extends HTMLElement {
|
|
|
1187
1181
|
this.vueApp.unmount();
|
|
1188
1182
|
}
|
|
1189
1183
|
connectedCallback() {
|
|
1190
|
-
const i =
|
|
1191
|
-
this.vueApp =
|
|
1184
|
+
const i = vt(Ie, this.attributes);
|
|
1185
|
+
this.vueApp = bt(Ie, i), this.vueApp.provide("emitter", ra), this.vueApp.use(Wt), this.vueApp.use(gt), this.vueApp.use(ia), this.vueApp.use(At), this.vueApp.use(ft), this.vueApp.use(St);
|
|
1192
1186
|
const a = document.createElement("div");
|
|
1193
1187
|
this.vueApp.mount(a), this.appendChild(a.children[0]);
|
|
1194
1188
|
}
|
|
1195
1189
|
}
|
|
1196
|
-
window.customElements.define("konnectio-event",
|
|
1190
|
+
window.customElements.define("konnectio-event", da);
|
|
1197
1191
|
export {
|
|
1198
|
-
|
|
1192
|
+
da as default
|
|
1199
1193
|
};
|
|
1200
1194
|
//# sourceMappingURL=event.js.map
|