@konnectio/core 4.1.25 → 4.1.27
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-Byphj0Tz.js → ActionField-DgmchlH1.js} +3 -3
- package/dist/ActionField-DgmchlH1.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B0QKE2w7.js → AvailabilitySkeleton-Cb1mXip0.js} +6 -6
- package/dist/AvailabilitySkeleton-Cb1mXip0.js.br +0 -0
- package/dist/{CheckoutWindow-CdfbRids.js → CheckoutWindow-faqSlYg7.js} +81 -81
- package/dist/CheckoutWindow-faqSlYg7.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-DswbhRqx.js → DateField.vue_vue_type_style_index_0_lang-CsHaOHl-.js} +3 -3
- package/dist/DateField.vue_vue_type_style_index_0_lang-CsHaOHl-.js.br +0 -0
- package/dist/{ErrorMessage-DLJ8ex_l.js → ErrorMessage-BLRv3QIb.js} +3 -3
- package/dist/ErrorMessage-BLRv3QIb.js.br +0 -0
- package/dist/{EventAvailabilityForm--OEvhI2k.js → EventAvailabilityForm-BQDBjpCr.js} +4 -4
- package/dist/EventAvailabilityForm-BQDBjpCr.js.br +0 -0
- package/dist/{Field-CnkchTkD.js → Field-DaO8VHZ_.js} +4 -4
- package/dist/Field-DaO8VHZ_.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CTx5uukT.js → SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js} +196 -196
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js.br +0 -0
- package/dist/{TermsOfService--r0HtnHN.js → TermsOfService-2IXnGpmG.js} +4 -4
- package/dist/_-Ca4yBxqD.js +5 -0
- package/dist/{_-CZ8jnPtM.js → _-Dn0RYBro.js} +3 -3
- package/dist/{_.vue_vue_type_style_index_0_lang-_5JpDLv9.js → _.vue_vue_type_style_index_0_lang-zBkQ6C_3.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +5 -5
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +565 -529
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +13 -13
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +27 -27
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-B_8JDqmM.js → giftCard-DNVqygWX.js} +3 -3
- package/dist/giftCard-DNVqygWX.js.br +0 -0
- package/dist/hotel.js +10 -10
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BAy_0U4n.js → masonry.plugin-DXn9h4DT.js} +7 -7
- package/dist/masonry.plugin-DXn9h4DT.js.br +0 -0
- package/dist/{mitt-C3d-HkGz.js → mitt-CgrYtI2g.js} +6 -6
- package/dist/mitt-CgrYtI2g.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-BsotZoKR.js → style-B_8a8HvR.js} +2 -2
- package/dist/style-B_8a8HvR.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-Byphj0Tz.js.br +0 -0
- package/dist/AvailabilitySkeleton-B0QKE2w7.js.br +0 -0
- package/dist/CheckoutWindow-CdfbRids.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-DswbhRqx.js.br +0 -0
- package/dist/ErrorMessage-DLJ8ex_l.js.br +0 -0
- package/dist/EventAvailabilityForm--OEvhI2k.js.br +0 -0
- package/dist/Field-CnkchTkD.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CTx5uukT.js.br +0 -0
- package/dist/_-CrOQ-FMR.js +0 -5
- package/dist/giftCard-B_8JDqmM.js.br +0 -0
- package/dist/masonry.plugin-BAy_0U4n.js.br +0 -0
- package/dist/mitt-C3d-HkGz.js.br +0 -0
- package/dist/style-BsotZoKR.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { a as
|
|
3
|
-
import { G as Pt } from "./style-
|
|
4
|
-
import { _ as
|
|
5
|
-
import { B as
|
|
6
|
-
import { g as
|
|
7
|
-
import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-
|
|
8
|
-
import { E as
|
|
9
|
-
function
|
|
10
|
-
return (
|
|
11
|
-
const
|
|
12
|
-
return
|
|
1
|
+
import { d as q, u as ne, s as Y, c as j, r as Le, a as $, b as o, g as e, w as m, q as Q, e as t, n as xe, i as c, f as v, h as r, t as l, F as C, v as G, o as et, j as tt, x as ue, y as nt, z as U, A as at, S as ot, k as lt, _ as st, l as it, m as rt, p as ut } from "./mitt-CgrYtI2g.js";
|
|
2
|
+
import { a as Pe, f as J, B as dt, g as re, l as ct, s as z, e as de, _ as W, h as ce, I as te, i as mt, u as ye, j as pt, k as vt, m as bt, n as Z, o as he, T as ie, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js";
|
|
3
|
+
import { G as Pt } from "./style-B_8a8HvR.js";
|
|
4
|
+
import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-zBkQ6C_3.js";
|
|
5
|
+
import { B as wt, _ as _t, R as Et, L as Be, S as Ot, M as Vt, T as Nt, C as Tt, V as Lt, a as Bt } from "./masonry.plugin-DXn9h4DT.js";
|
|
6
|
+
import { g as Ft, e as Ct, c as St, n as At, a as _e, m as Ee, b as Oe, d as Ve, f as Ne, _ as It } from "./DateField.vue_vue_type_style_index_0_lang-CsHaOHl-.js";
|
|
7
|
+
import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-faqSlYg7.js";
|
|
8
|
+
import { E as Gt } from "./EventAvailabilityForm-BQDBjpCr.js";
|
|
9
|
+
function zt(w) {
|
|
10
|
+
return (n) => {
|
|
11
|
+
const g = (w ? Math[w] : Math.trunc)(n);
|
|
12
|
+
return g === 0 ? 0 : g;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
const
|
|
15
|
+
function qt(w, n, a) {
|
|
16
|
+
const g = Ft(), p = a?.locale ?? g.locale ?? Ct, i = St(w, n);
|
|
17
17
|
if (isNaN(i))
|
|
18
18
|
throw new RangeError("Invalid time value");
|
|
19
|
-
const
|
|
20
|
-
addSuffix:
|
|
19
|
+
const k = Object.assign({}, a, {
|
|
20
|
+
addSuffix: a?.addSuffix,
|
|
21
21
|
comparison: i
|
|
22
|
-
}), [
|
|
23
|
-
|
|
24
|
-
...i > 0 ? [
|
|
25
|
-
), s =
|
|
26
|
-
let
|
|
27
|
-
if (
|
|
28
|
-
const
|
|
29
|
-
return
|
|
30
|
-
} else if (
|
|
31
|
-
const
|
|
32
|
-
return
|
|
33
|
-
} else if (
|
|
34
|
-
const
|
|
35
|
-
return
|
|
36
|
-
} else if (
|
|
37
|
-
const
|
|
38
|
-
return
|
|
39
|
-
} else if (
|
|
40
|
-
const
|
|
41
|
-
return
|
|
22
|
+
}), [y, h] = At(
|
|
23
|
+
a?.in,
|
|
24
|
+
...i > 0 ? [n, w] : [w, n]
|
|
25
|
+
), s = zt("round"), O = h.getTime() - y.getTime(), D = O / Ne, T = _e(h) - _e(y), b = (O - T) / Ne, S = a?.unit;
|
|
26
|
+
let _;
|
|
27
|
+
if (D < 1 ? _ = "second" : D < 60 ? _ = "minute" : D < Ee ? _ = "hour" : b < Oe ? _ = "day" : b < Ve ? _ = "month" : _ = "year", _ === "second") {
|
|
28
|
+
const P = s(O / 1e3);
|
|
29
|
+
return p.formatDistance("xSeconds", P, k);
|
|
30
|
+
} else if (_ === "minute") {
|
|
31
|
+
const P = s(D);
|
|
32
|
+
return p.formatDistance("xMinutes", P, k);
|
|
33
|
+
} else if (_ === "hour") {
|
|
34
|
+
const P = s(D / 60);
|
|
35
|
+
return p.formatDistance("xHours", P, k);
|
|
36
|
+
} else if (_ === "day") {
|
|
37
|
+
const P = s(b / Ee);
|
|
38
|
+
return p.formatDistance("xDays", P, k);
|
|
39
|
+
} else if (_ === "month") {
|
|
40
|
+
const P = s(b / Oe);
|
|
41
|
+
return P === 12 && S !== "month" ? p.formatDistance("xYears", 1, k) : p.formatDistance("xMonths", P, k);
|
|
42
42
|
} else {
|
|
43
|
-
const
|
|
44
|
-
return
|
|
43
|
+
const P = s(b / Ve);
|
|
44
|
+
return p.formatDistance("xYears", P, k);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__ */
|
|
47
|
+
const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__ */ q({
|
|
48
48
|
__name: "_",
|
|
49
49
|
props: {
|
|
50
50
|
name: {},
|
|
@@ -68,37 +68,37 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
|
|
|
68
68
|
disableDeepLink: { type: Boolean, default: !1 },
|
|
69
69
|
callback: {}
|
|
70
70
|
},
|
|
71
|
-
setup(
|
|
72
|
-
const { t:
|
|
73
|
-
maxNumberOfPeople:
|
|
71
|
+
setup(w) {
|
|
72
|
+
const { t: n } = ne(), a = w, { display: g } = Pe(), {
|
|
73
|
+
maxNumberOfPeople: p,
|
|
74
74
|
numberOfPeople: i,
|
|
75
|
-
eventId:
|
|
76
|
-
currentEventDate:
|
|
77
|
-
tableGroupId:
|
|
78
|
-
} =
|
|
75
|
+
eventId: k,
|
|
76
|
+
currentEventDate: y,
|
|
77
|
+
tableGroupId: h
|
|
78
|
+
} = Y(J()), {
|
|
79
79
|
getTemplateAvailability: s,
|
|
80
|
-
getEventAvailability:
|
|
81
|
-
isEventListingLoading:
|
|
82
|
-
} =
|
|
83
|
-
if (!
|
|
84
|
-
|
|
80
|
+
getEventAvailability: O,
|
|
81
|
+
isEventListingLoading: D
|
|
82
|
+
} = J(), T = j(() => a.maxGuests || a.maxOnlineReservationLimit || p.value || 1 / 0), b = Le(0), S = j(() => D(a.listingId)), _ = () => {
|
|
83
|
+
if (!a.useNumberOfProductsForPersons && (b.value === 0 || isNaN(b.value))) {
|
|
84
|
+
g({
|
|
85
85
|
type: "error",
|
|
86
|
-
message:
|
|
86
|
+
message: n("alert.error.selectPeople")
|
|
87
87
|
});
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
if (!
|
|
93
|
-
|
|
90
|
+
k.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : b.value, s(a.callback);
|
|
91
|
+
}, P = () => {
|
|
92
|
+
if (!a.useNumberOfProductsForPersons && (b.value === 0 || isNaN(b.value))) {
|
|
93
|
+
g({
|
|
94
94
|
type: "error",
|
|
95
|
-
message:
|
|
95
|
+
message: n("alert.error.selectPeople")
|
|
96
96
|
});
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
k.value = a.listingId, h.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : b.value, O(a.callback);
|
|
100
100
|
};
|
|
101
|
-
return (f,
|
|
101
|
+
return (f, L) => (o(), $(wt, {
|
|
102
102
|
type: "event",
|
|
103
103
|
"listing-id": f.listingId,
|
|
104
104
|
gallery: f.gallery,
|
|
@@ -109,37 +109,37 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
|
|
|
109
109
|
layout: e(dt).Event,
|
|
110
110
|
"disable-deep-link": f.disableDeepLink
|
|
111
111
|
}, {
|
|
112
|
-
description:
|
|
113
|
-
|
|
112
|
+
description: m(() => [
|
|
113
|
+
Q(f.$slots, "description", { maxNumberOfPeople: e(p) }, void 0, !0)
|
|
114
114
|
]),
|
|
115
|
-
action:
|
|
116
|
-
|
|
115
|
+
action: m(() => [
|
|
116
|
+
Q(f.$slots, "action", {}, () => [
|
|
117
117
|
t("div", {
|
|
118
118
|
class: xe([
|
|
119
119
|
"konnectio-event-listing-action",
|
|
120
120
|
{ "no-selectable-people": f.useNumberOfProductsForPersons }
|
|
121
121
|
])
|
|
122
122
|
}, [
|
|
123
|
-
f.useNumberOfProductsForPersons ?
|
|
123
|
+
f.useNumberOfProductsForPersons ? c("", !0) : (o(), $(re, {
|
|
124
124
|
key: 0,
|
|
125
125
|
modelValue: b.value,
|
|
126
|
-
"onUpdate:modelValue":
|
|
127
|
-
label: e(
|
|
126
|
+
"onUpdate:modelValue": L[0] || (L[0] = (I) => b.value = I),
|
|
127
|
+
label: e(n)("event.numberOfGuests"),
|
|
128
128
|
icon: "users",
|
|
129
129
|
"icon-type": "fas",
|
|
130
130
|
"icon-placement": "label",
|
|
131
|
-
description:
|
|
131
|
+
description: T.value <= 20 ? `${e(n)("general.availableFor")}: 1 - ${T.value} ${e(ct)(e(n)("general.guests"))}` : void 0,
|
|
132
132
|
"min-value": 0,
|
|
133
|
-
"max-value":
|
|
133
|
+
"max-value": T.value
|
|
134
134
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
135
135
|
t("div", Ht, [
|
|
136
|
-
|
|
137
|
-
label: f.soldOut ? e(
|
|
136
|
+
v(de, {
|
|
137
|
+
label: f.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
138
138
|
disabled: f.soldOut,
|
|
139
|
-
"is-loading":
|
|
139
|
+
"is-loading": S.value,
|
|
140
140
|
"full-width": "",
|
|
141
|
-
"sub-label": e(z)(e(
|
|
142
|
-
onClickEvent:
|
|
141
|
+
"sub-label": e(z)(e(y)),
|
|
142
|
+
onClickEvent: L[1] || (L[1] = (I) => f.type === "event" ? P() : _())
|
|
143
143
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
144
144
|
])
|
|
145
145
|
], 2)
|
|
@@ -148,11 +148,11 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
|
|
|
148
148
|
_: 3
|
|
149
149
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
150
150
|
}
|
|
151
|
-
}),
|
|
151
|
+
}), Fe = /* @__PURE__ */ W(Yt, [["__scopeId", "data-v-804b8a95"]]), jt = { class: "konnectio-event-listing-information-new" };
|
|
152
152
|
const Wt = {
|
|
153
153
|
key: 1,
|
|
154
154
|
class: "konnectio-pill-button"
|
|
155
|
-
}, Zt = { class: "konnectio-pill-button" }, Qt = /* @__PURE__ */
|
|
155
|
+
}, Zt = { class: "konnectio-pill-button" }, Qt = /* @__PURE__ */ q({
|
|
156
156
|
__name: "Event",
|
|
157
157
|
props: {
|
|
158
158
|
name: {},
|
|
@@ -174,15 +174,15 @@ const Wt = {
|
|
|
174
174
|
trackingEnabled: { type: Boolean },
|
|
175
175
|
callback: {}
|
|
176
176
|
},
|
|
177
|
-
setup(
|
|
178
|
-
const
|
|
179
|
-
const i =
|
|
180
|
-
return
|
|
177
|
+
setup(w) {
|
|
178
|
+
const n = w, { t: a } = ne(), { hideEventLength: g } = Y(ce()), p = j(() => {
|
|
179
|
+
const i = n.length.split(":");
|
|
180
|
+
return qt(
|
|
181
181
|
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
182
182
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
183
183
|
);
|
|
184
184
|
});
|
|
185
|
-
return (i,
|
|
185
|
+
return (i, k) => (o(), $(Fe, {
|
|
186
186
|
"listing-id": i.listingId,
|
|
187
187
|
name: i.name,
|
|
188
188
|
description: i.description,
|
|
@@ -196,42 +196,111 @@ const Wt = {
|
|
|
196
196
|
type: "event",
|
|
197
197
|
callback: i.callback
|
|
198
198
|
}, {
|
|
199
|
-
description:
|
|
200
|
-
i.description ? (o(),
|
|
199
|
+
description: m(() => [
|
|
200
|
+
i.description ? (o(), $(_t, {
|
|
201
201
|
key: 0,
|
|
202
202
|
text: i.description
|
|
203
|
-
}, null, 8, ["text"])) :
|
|
203
|
+
}, null, 8, ["text"])) : c("", !0),
|
|
204
204
|
t("ul", jt, [
|
|
205
|
-
|
|
206
|
-
e(
|
|
205
|
+
c("", !0),
|
|
206
|
+
e(g) ? c("", !0) : (o(), r("li", Wt, [
|
|
207
207
|
t("div", null, [
|
|
208
|
-
|
|
208
|
+
v(te, {
|
|
209
209
|
icon: "calendar-clock",
|
|
210
210
|
color: "header"
|
|
211
211
|
}),
|
|
212
|
-
t("span", null,
|
|
212
|
+
t("span", null, l(e(a)("event.lengthOfEvent")), 1)
|
|
213
213
|
]),
|
|
214
|
-
t("span", null,
|
|
214
|
+
t("span", null, l(p.value), 1)
|
|
215
215
|
])),
|
|
216
216
|
t("li", Zt, [
|
|
217
217
|
t("div", null, [
|
|
218
|
-
|
|
218
|
+
v(te, {
|
|
219
219
|
icon: "calendar-clock",
|
|
220
220
|
color: "header"
|
|
221
221
|
}),
|
|
222
|
-
t("span", null,
|
|
222
|
+
t("span", null, l(e(a)("event.startAndEndTime")), 1)
|
|
223
223
|
]),
|
|
224
|
-
t("span", null,
|
|
224
|
+
t("span", null, l(e(mt)(i.timeFrom, i.timeTo)), 1)
|
|
225
225
|
])
|
|
226
226
|
])
|
|
227
227
|
]),
|
|
228
|
-
action:
|
|
229
|
-
|
|
228
|
+
action: m(() => [
|
|
229
|
+
Q(i.$slots, "action", {}, void 0, !0)
|
|
230
230
|
]),
|
|
231
231
|
_: 3
|
|
232
232
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
|
|
233
233
|
}
|
|
234
|
-
}),
|
|
234
|
+
}), De = /* @__PURE__ */ W(Qt, [["__scopeId", "data-v-806a0acd"]]), Jt = {
|
|
235
|
+
key: 0,
|
|
236
|
+
class: "konnectio-event-grouped-listings-container"
|
|
237
|
+
}, Kt = { class: "konnectio-event-grouped-listings" }, Xt = /* @__PURE__ */ q({
|
|
238
|
+
__name: "Event",
|
|
239
|
+
props: {
|
|
240
|
+
name: {},
|
|
241
|
+
events: {},
|
|
242
|
+
callback: { type: Function }
|
|
243
|
+
},
|
|
244
|
+
setup(w) {
|
|
245
|
+
return (n, a) => n.events && n.events.length > 1 ? (o(), r("div", Jt, [
|
|
246
|
+
c("", !0),
|
|
247
|
+
t("ul", Kt, [
|
|
248
|
+
(o(!0), r(C, null, G(n.events, ({
|
|
249
|
+
id: g,
|
|
250
|
+
days: p,
|
|
251
|
+
name: i,
|
|
252
|
+
timeFrom: k,
|
|
253
|
+
timeTo: y,
|
|
254
|
+
fromDate: h,
|
|
255
|
+
toDate: s,
|
|
256
|
+
tableGroupId: O,
|
|
257
|
+
description: D,
|
|
258
|
+
soldOut: T,
|
|
259
|
+
length: b,
|
|
260
|
+
images: S,
|
|
261
|
+
maxOnlineReservationLimit: _,
|
|
262
|
+
maxPaxPerReservation: P,
|
|
263
|
+
useNumberOfProductsForPersons: f,
|
|
264
|
+
maxTicketsLimit: L
|
|
265
|
+
}) => (o(), $(De, {
|
|
266
|
+
key: g,
|
|
267
|
+
type: "event",
|
|
268
|
+
"listing-id": g,
|
|
269
|
+
"table-group-id": O,
|
|
270
|
+
description: D,
|
|
271
|
+
name: i,
|
|
272
|
+
length: b,
|
|
273
|
+
gallery: S,
|
|
274
|
+
days: p,
|
|
275
|
+
"max-online-reservation-limit": P || _ || L,
|
|
276
|
+
"time-from": k,
|
|
277
|
+
"time-to": y,
|
|
278
|
+
"sold-out": T,
|
|
279
|
+
"use-number-of-products-for-persons": f,
|
|
280
|
+
callback: n.callback
|
|
281
|
+
}, 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", "callback"]))), 128))
|
|
282
|
+
])
|
|
283
|
+
])) : n.events ? (o(), $(De, {
|
|
284
|
+
key: n.events[0].id,
|
|
285
|
+
type: "event",
|
|
286
|
+
"listing-id": n.events[0].id,
|
|
287
|
+
"table-group-id": n.events[0].tableGroupId,
|
|
288
|
+
description: n.events[0].description,
|
|
289
|
+
name: n.events[0].name,
|
|
290
|
+
length: n.events[0].length,
|
|
291
|
+
gallery: n.events[0].images,
|
|
292
|
+
days: n.events[0].days,
|
|
293
|
+
"from-date": n.events[0].fromDate,
|
|
294
|
+
"to-date": n.events[0].toDate,
|
|
295
|
+
"max-online-reservation-limit": n.events[0].maxPaxPerReservation || n.events[0].maxOnlineReservationLimit || n.events[0].maxTicketsLimit,
|
|
296
|
+
"time-from": n.events[0].timeFrom,
|
|
297
|
+
"time-to": n.events[0].timeTo,
|
|
298
|
+
"sold-out": n.events[0].soldOut,
|
|
299
|
+
"use-number-of-products-for-persons": n.events[0].useNumberOfProductsForPersons,
|
|
300
|
+
callback: n.callback
|
|
301
|
+
}, 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", "callback"])) : c("", !0);
|
|
302
|
+
}
|
|
303
|
+
}), xt = /* @__PURE__ */ W(Xt, [["__scopeId", "data-v-3a92c817"]]), en = { class: "konnectio-special-offer-availability" }, tn = { class: "konnectio-special-offer-availability-button" }, nn = { class: "konnectio-warning-notice" }, an = { key: 0 }, on = { key: 1 }, ln = /* @__PURE__ */ q({
|
|
235
304
|
__name: "NextEvent",
|
|
236
305
|
props: {
|
|
237
306
|
name: {},
|
|
@@ -252,18 +321,18 @@ const Wt = {
|
|
|
252
321
|
trackingEnabled: { type: Boolean },
|
|
253
322
|
callback: { type: Function }
|
|
254
323
|
},
|
|
255
|
-
setup(
|
|
256
|
-
const { t:
|
|
257
|
-
function
|
|
258
|
-
|
|
259
|
-
message:
|
|
324
|
+
setup(w) {
|
|
325
|
+
const { t: n } = ne(), { updateEventDate: a } = ye(), { display: g } = Pe(), p = Le(), i = w;
|
|
326
|
+
function k() {
|
|
327
|
+
p.value ? a(p.value) : g({
|
|
328
|
+
message: n("alert.error.selectDate"),
|
|
260
329
|
type: "error"
|
|
261
330
|
});
|
|
262
331
|
}
|
|
263
|
-
const
|
|
332
|
+
const y = j(() => pt(i.fromDate, i.toDate) <= 1), h = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(i.days).includes(s)));
|
|
264
333
|
return et(() => {
|
|
265
|
-
|
|
266
|
-
}), (s,
|
|
334
|
+
y.value && (p.value = new Date(i.fromDate));
|
|
335
|
+
}), (s, O) => (o(), $(De, {
|
|
267
336
|
name: s.name,
|
|
268
337
|
description: s.description,
|
|
269
338
|
"from-date": s.fromDate,
|
|
@@ -283,36 +352,36 @@ const Wt = {
|
|
|
283
352
|
callback: s.callback,
|
|
284
353
|
"disable-deep-link": !0
|
|
285
354
|
}, {
|
|
286
|
-
action:
|
|
355
|
+
action: m(() => [
|
|
287
356
|
t("div", null, [
|
|
288
|
-
t("div",
|
|
289
|
-
|
|
290
|
-
modelValue:
|
|
291
|
-
"onUpdate:modelValue":
|
|
292
|
-
label: `${e(
|
|
293
|
-
placeholder: e(
|
|
357
|
+
t("div", en, [
|
|
358
|
+
v(It, {
|
|
359
|
+
modelValue: p.value,
|
|
360
|
+
"onUpdate:modelValue": O[0] || (O[0] = (D) => p.value = D),
|
|
361
|
+
label: `${e(n)("event.selectDate")}*`,
|
|
362
|
+
placeholder: e(n)("event.selectDate"),
|
|
294
363
|
"icon-type": "fas",
|
|
295
364
|
"icon-placement": "label",
|
|
296
|
-
readonly:
|
|
365
|
+
readonly: y.value,
|
|
297
366
|
"start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
|
|
298
367
|
"min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
|
|
299
368
|
"max-date": new Date(s.toDate),
|
|
300
|
-
"disabled-week-days":
|
|
369
|
+
"disabled-week-days": h.value
|
|
301
370
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
302
|
-
t("div",
|
|
303
|
-
|
|
304
|
-
label: e(
|
|
305
|
-
onClick: tt(
|
|
371
|
+
t("div", tn, [
|
|
372
|
+
v(de, {
|
|
373
|
+
label: e(n)("availability.buttonLabel"),
|
|
374
|
+
onClick: tt(k, ["prevent"])
|
|
306
375
|
}, null, 8, ["label"])
|
|
307
376
|
])
|
|
308
377
|
]),
|
|
309
|
-
t("div",
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
t("u", null,
|
|
313
|
-
])) : (o(),
|
|
314
|
-
|
|
315
|
-
t("u", null,
|
|
378
|
+
t("div", nn, [
|
|
379
|
+
y.value ? (o(), r("span", an, [
|
|
380
|
+
ue("*" + l(e(n)("event.canBeBooked")) + " ", 1),
|
|
381
|
+
t("u", null, l(e(z)(s.fromDate)), 1)
|
|
382
|
+
])) : (o(), r("span", on, [
|
|
383
|
+
ue("*" + l(e(n)("event.canBeBooked")) + " ", 1),
|
|
384
|
+
t("u", null, l(e(bt)(s.days)), 1)
|
|
316
385
|
]))
|
|
317
386
|
])
|
|
318
387
|
])
|
|
@@ -320,7 +389,7 @@ const Wt = {
|
|
|
320
389
|
_: 1
|
|
321
390
|
}, 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"]));
|
|
322
391
|
}
|
|
323
|
-
}),
|
|
392
|
+
}), sn = /* @__PURE__ */ W(ln, [["__scopeId", "data-v-f6aed3b0"]]), rn = /* @__PURE__ */ q({
|
|
324
393
|
__name: "Template",
|
|
325
394
|
props: {
|
|
326
395
|
name: {},
|
|
@@ -336,167 +405,167 @@ const Wt = {
|
|
|
336
405
|
trackingEnabled: { type: Boolean },
|
|
337
406
|
callback: {}
|
|
338
407
|
},
|
|
339
|
-
setup(
|
|
340
|
-
return (
|
|
341
|
-
"listing-id":
|
|
342
|
-
gallery:
|
|
343
|
-
name:
|
|
344
|
-
description:
|
|
345
|
-
"prices-from":
|
|
346
|
-
"to-date":
|
|
408
|
+
setup(w) {
|
|
409
|
+
return (n, a) => (o(), $(Fe, {
|
|
410
|
+
"listing-id": n.listingId,
|
|
411
|
+
gallery: n.images,
|
|
412
|
+
name: n.name,
|
|
413
|
+
description: n.description,
|
|
414
|
+
"prices-from": n.fromPrice,
|
|
415
|
+
"to-date": n.toDate,
|
|
347
416
|
type: "template",
|
|
348
|
-
callback:
|
|
417
|
+
callback: n.callback
|
|
349
418
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
350
419
|
}
|
|
351
|
-
}),
|
|
420
|
+
}), un = { key: 0 }, dn = { key: 1 }, cn = { key: 2 }, mn = { key: 0 }, pn = { key: 4 }, vn = { key: 5 }, bn = { key: 0 }, fn = { key: 0 }, gn = { key: 1 }, kn = {
|
|
352
421
|
key: 0,
|
|
353
422
|
class: "konnectio-capitalize"
|
|
354
|
-
},
|
|
423
|
+
}, yn = /* @__PURE__ */ q({
|
|
355
424
|
__name: "EventReservationForm",
|
|
356
425
|
props: {
|
|
357
426
|
showGiftCard: { type: Boolean, default: !1 },
|
|
358
427
|
showTermsNotice: { type: Boolean, default: !1 },
|
|
359
428
|
prevCallback: {}
|
|
360
429
|
},
|
|
361
|
-
setup(
|
|
362
|
-
const { t:
|
|
363
|
-
areListingsAvailable:
|
|
364
|
-
arrivalTime:
|
|
430
|
+
setup(w) {
|
|
431
|
+
const { t: n } = ne(), a = nt(), {
|
|
432
|
+
areListingsAvailable: g,
|
|
433
|
+
arrivalTime: p,
|
|
365
434
|
numberOfPeople: i,
|
|
366
|
-
numberOfRooms:
|
|
367
|
-
numberOfTotalDays:
|
|
368
|
-
isTemplateEvent:
|
|
435
|
+
numberOfRooms: k,
|
|
436
|
+
numberOfTotalDays: y,
|
|
437
|
+
isTemplateEvent: h,
|
|
369
438
|
currentEventDate: s,
|
|
370
|
-
length:
|
|
371
|
-
fromDate:
|
|
372
|
-
tableBasePrice:
|
|
439
|
+
length: O,
|
|
440
|
+
fromDate: D,
|
|
441
|
+
tableBasePrice: T,
|
|
373
442
|
getTemplateData: b,
|
|
374
|
-
basePrice:
|
|
375
|
-
totalPrice:
|
|
376
|
-
weekendFee:
|
|
443
|
+
basePrice: S,
|
|
444
|
+
totalPrice: _,
|
|
445
|
+
weekendFee: P,
|
|
377
446
|
roomUpgrade: f,
|
|
378
|
-
discountCode:
|
|
447
|
+
discountCode: L,
|
|
379
448
|
totalSelectedProducts: I
|
|
380
|
-
} =
|
|
381
|
-
return (M,
|
|
382
|
-
"discount-code": e(
|
|
383
|
-
"onUpdate:discountCode":
|
|
384
|
-
"validate-discount-code": e(
|
|
449
|
+
} = Y(J()), { totalAddonPrice: ae, validateDiscountCode: me } = J(), { currency: oe, hideEventLength: pe } = Y(ce());
|
|
450
|
+
return (M, le) => (o(), $(Et, {
|
|
451
|
+
"discount-code": e(L),
|
|
452
|
+
"onUpdate:discountCode": le[0] || (le[0] = (H) => U(L) ? L.value = H : null),
|
|
453
|
+
"validate-discount-code": e(me),
|
|
385
454
|
"show-gift-card": M.showGiftCard,
|
|
386
455
|
"show-terms-notice": M.showTermsNotice,
|
|
387
|
-
"is-sidebar-loading": !e(
|
|
388
|
-
"base-price": e(
|
|
389
|
-
"total-price": e(
|
|
390
|
-
"weekend-fee": e(
|
|
456
|
+
"is-sidebar-loading": !e(g),
|
|
457
|
+
"base-price": e(S),
|
|
458
|
+
"total-price": e(_),
|
|
459
|
+
"weekend-fee": e(P),
|
|
391
460
|
"room-upgrade": e(f),
|
|
392
|
-
notice: e(
|
|
461
|
+
notice: e(n)("event.reservationNotice"),
|
|
393
462
|
"prev-callback": M.prevCallback
|
|
394
463
|
}, at({
|
|
395
|
-
form:
|
|
396
|
-
|
|
464
|
+
form: m(() => [
|
|
465
|
+
Q(M.$slots, "form", {}, void 0, !0)
|
|
397
466
|
]),
|
|
398
|
-
"reservation-summary":
|
|
399
|
-
e(
|
|
400
|
-
t("span", null,
|
|
401
|
-
t("b", null,
|
|
467
|
+
"reservation-summary": m(() => [
|
|
468
|
+
e(h) ? c("", !0) : (o(), r("li", un, [
|
|
469
|
+
t("span", null, l(e(n)("general.date")), 1),
|
|
470
|
+
t("b", null, l(e(z)(e(s))), 1)
|
|
402
471
|
])),
|
|
403
|
-
e(i) > 0 ? (o(),
|
|
404
|
-
t("span", null,
|
|
405
|
-
t("b", null,
|
|
406
|
-
])) :
|
|
407
|
-
!e(
|
|
408
|
-
t("span", null,
|
|
409
|
-
t("b", null,
|
|
410
|
-
])) :
|
|
411
|
-
e(
|
|
472
|
+
e(i) > 0 ? (o(), r("li", dn, [
|
|
473
|
+
t("span", null, l(e(n)("event.numberOfGuests")), 1),
|
|
474
|
+
t("b", null, l(e(i)), 1)
|
|
475
|
+
])) : c("", !0),
|
|
476
|
+
!e(h) && e(I) > 0 ? (o(), r("li", cn, [
|
|
477
|
+
t("span", null, l(e(n)("event.numberOfProducts")), 1),
|
|
478
|
+
t("b", null, l(e(I)), 1)
|
|
479
|
+
])) : c("", !0),
|
|
480
|
+
e(h) ? (o(), r(C, { key: 3 }, [
|
|
412
481
|
t("li", null, [
|
|
413
|
-
t("span", null,
|
|
414
|
-
t("b", null,
|
|
482
|
+
t("span", null, l(e(n)("booking.reservation.arrival")), 1),
|
|
483
|
+
t("b", null, l(e(z)(e(D))), 1)
|
|
415
484
|
]),
|
|
416
485
|
t("li", null, [
|
|
417
|
-
t("span", null,
|
|
418
|
-
t("b", null,
|
|
486
|
+
t("span", null, l(e(n)("booking.reservation.departure")), 1),
|
|
487
|
+
t("b", null, l(e(z)(e(D), e(y))), 1)
|
|
419
488
|
]),
|
|
420
489
|
t("li", null, [
|
|
421
|
-
t("span", null,
|
|
422
|
-
t("b", null,
|
|
490
|
+
t("span", null, l(e(n)("event.numberOfRooms")), 1),
|
|
491
|
+
t("b", null, l(e(k)), 1)
|
|
423
492
|
]),
|
|
424
|
-
e(
|
|
425
|
-
t("span", null,
|
|
426
|
-
t("b", null,
|
|
427
|
-
])) :
|
|
428
|
-
], 64)) :
|
|
429
|
-
!e(
|
|
430
|
-
t("span", null,
|
|
431
|
-
t("b", null,
|
|
432
|
-
])) :
|
|
433
|
-
!e(
|
|
434
|
-
t("span", null,
|
|
435
|
-
t("b", null,
|
|
436
|
-
])) :
|
|
493
|
+
e(y) > 0 ? (o(), r("li", mn, [
|
|
494
|
+
t("span", null, l(e(n)("event.numberOfDays")), 1),
|
|
495
|
+
t("b", null, l(e(y)), 1)
|
|
496
|
+
])) : c("", !0)
|
|
497
|
+
], 64)) : c("", !0),
|
|
498
|
+
!e(h) && e(p) ? (o(), r("li", pn, [
|
|
499
|
+
t("span", null, l(e(n)("event.startOfEvent")), 1),
|
|
500
|
+
t("b", null, l(e(he)(e(p))), 1)
|
|
501
|
+
])) : c("", !0),
|
|
502
|
+
!e(h) && e(O) && !e(pe) ? (o(), r("li", vn, [
|
|
503
|
+
t("span", null, l(e(n)("event.lengthOfEvent")), 1),
|
|
504
|
+
t("b", null, l(e(he)(e(O))), 1)
|
|
505
|
+
])) : c("", !0)
|
|
437
506
|
]),
|
|
438
|
-
"price-summary":
|
|
439
|
-
!e(
|
|
440
|
-
t("span", null,
|
|
441
|
-
t("b", null,
|
|
442
|
-
])) :
|
|
443
|
-
e(b) ? (o(!0),
|
|
444
|
-
e(
|
|
445
|
-
t("span", null,
|
|
446
|
-
t("b", null,
|
|
447
|
-
])) :
|
|
448
|
-
], 64))), 256)) :
|
|
507
|
+
"price-summary": m(() => [
|
|
508
|
+
!e(h) && e(T) > 0 ? (o(), r("li", bn, [
|
|
509
|
+
t("span", null, l(e(n)("booking.availability.basePrice")), 1),
|
|
510
|
+
t("b", null, l(e(Z)(e(T), e(oe))), 1)
|
|
511
|
+
])) : c("", !0),
|
|
512
|
+
e(b) ? (o(!0), r(C, { key: 1 }, G(e(b), ({ roomGroupId: H }, K) => (o(), r(C, null, [
|
|
513
|
+
e(ae)(H, K) > 0 ? (o(), r("li", { key: H }, [
|
|
514
|
+
t("span", null, l(e(n)("booking.reservation.addons")) + " - " + l(e(n)("booking.reservation.room")) + " #" + l(K + 1), 1),
|
|
515
|
+
t("b", null, l(e(Z)(e(ae)(H, K), e(oe))), 1)
|
|
516
|
+
])) : c("", !0)
|
|
517
|
+
], 64))), 256)) : c("", !0)
|
|
449
518
|
]),
|
|
450
|
-
navigation:
|
|
451
|
-
|
|
519
|
+
navigation: m(() => [
|
|
520
|
+
Q(M.$slots, "navigation", {}, void 0, !0)
|
|
452
521
|
]),
|
|
453
|
-
"mobile-under-price":
|
|
454
|
-
e(
|
|
455
|
-
t("span", null,
|
|
456
|
-
])) : (o(),
|
|
457
|
-
t("span", null,
|
|
522
|
+
"mobile-under-price": m(() => [
|
|
523
|
+
e(h) && e(y) > 0 ? (o(), r("div", fn, [
|
|
524
|
+
t("span", null, l(e(z)(e(D))) + " - " + l(e(z)(e(D), e(y))), 1)
|
|
525
|
+
])) : (o(), r("div", gn, [
|
|
526
|
+
t("span", null, l(e(z)(e(s))), 1)
|
|
458
527
|
]))
|
|
459
528
|
]),
|
|
460
|
-
"mobile-summary":
|
|
461
|
-
!e(
|
|
529
|
+
"mobile-summary": m(() => [
|
|
530
|
+
!e(h) && e(I) > 0 ? (o(), r("span", kn, l(e(n)("event.numberOfProducts")) + ": " + l(e(I)), 1)) : c("", !0)
|
|
462
531
|
]),
|
|
463
532
|
_: 2
|
|
464
533
|
}, [
|
|
465
|
-
e(
|
|
534
|
+
e(a).sidebar ? {
|
|
466
535
|
name: "sidebar",
|
|
467
|
-
fn:
|
|
468
|
-
|
|
536
|
+
fn: m(() => [
|
|
537
|
+
Q(M.$slots, "sidebar", {}, void 0, !0)
|
|
469
538
|
]),
|
|
470
539
|
key: "0"
|
|
471
540
|
} : void 0
|
|
472
541
|
]), 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"]));
|
|
473
542
|
}
|
|
474
|
-
}),
|
|
543
|
+
}), ke = /* @__PURE__ */ W(yn, [["__scopeId", "data-v-9b28e490"]]), hn = { class: "event-skeleton" }, Dn = { class: "event-skeleton-content" }, Pn = { class: "event-skeleton-sidebar" }, $n = /* @__PURE__ */ q({
|
|
475
544
|
__name: "EventSkeleton",
|
|
476
|
-
setup(
|
|
477
|
-
return (
|
|
478
|
-
t("div",
|
|
479
|
-
|
|
545
|
+
setup(w) {
|
|
546
|
+
return (n, a) => (o(), r("div", hn, [
|
|
547
|
+
t("div", Dn, [
|
|
548
|
+
v(Be)
|
|
480
549
|
]),
|
|
481
|
-
t("div",
|
|
482
|
-
|
|
483
|
-
|
|
550
|
+
t("div", Pn, [
|
|
551
|
+
c("", !0),
|
|
552
|
+
v(Ot)
|
|
484
553
|
])
|
|
485
554
|
]));
|
|
486
555
|
}
|
|
487
|
-
}),
|
|
556
|
+
}), wn = /* @__PURE__ */ W($n, [["__scopeId", "data-v-3e15c4e3"]]), _n = {
|
|
488
557
|
key: 0,
|
|
489
558
|
id: "konnectio-event-listings-wrapper"
|
|
490
|
-
},
|
|
559
|
+
}, En = {
|
|
491
560
|
key: 0,
|
|
492
561
|
class: "konnectio-hotel-availability-title"
|
|
493
|
-
},
|
|
562
|
+
}, On = { class: "konnectio-event-listings" }, Vn = { class: "konnectio-hotel-availability-title" }, Nn = { class: "konnectio-event-listings" }, Tn = ["innerHTML"], Ln = { class: "konnectio-panel" }, Bn = {
|
|
494
563
|
key: 0,
|
|
495
564
|
id: "konnectio-event-addons"
|
|
496
|
-
},
|
|
565
|
+
}, Fn = { class: "konnectio-table with-lines" }, Cn = { class: "konnectio-event-addons-price" }, Sn = { class: "konnectio-event-addons-input" }, An = { class: "konnectio-event-addons-price" }, In = { class: "konnectio-event-addons-price" }, Rn = {
|
|
497
566
|
key: 1,
|
|
498
567
|
class: "konnectio-table with-lines"
|
|
499
|
-
},
|
|
568
|
+
}, Mn = { class: "konnectio-table-addons-information" }, Un = { key: 0 }, Gn = { class: "konnectio-table-addons-option" }, zn = { class: "konnectio-panel" }, qn = /* @__PURE__ */ q({
|
|
500
569
|
name: "EventLayout",
|
|
501
570
|
__name: "Event",
|
|
502
571
|
props: {
|
|
@@ -507,57 +576,57 @@ const Wt = {
|
|
|
507
576
|
hideLocations: { default: "no" },
|
|
508
577
|
styling: {}
|
|
509
578
|
},
|
|
510
|
-
setup(
|
|
511
|
-
const
|
|
512
|
-
addons:
|
|
513
|
-
products:
|
|
579
|
+
setup(w) {
|
|
580
|
+
const n = w, { t: a } = ne(), {
|
|
581
|
+
addons: g,
|
|
582
|
+
products: p,
|
|
514
583
|
numberOfDays: i,
|
|
515
|
-
name:
|
|
516
|
-
phone:
|
|
517
|
-
email:
|
|
584
|
+
name: k,
|
|
585
|
+
phone: y,
|
|
586
|
+
email: h,
|
|
518
587
|
remark: s,
|
|
519
|
-
allergies:
|
|
520
|
-
arrivalTime:
|
|
521
|
-
hasEvents:
|
|
588
|
+
allergies: O,
|
|
589
|
+
arrivalTime: D,
|
|
590
|
+
hasEvents: T,
|
|
522
591
|
hasTemplates: b,
|
|
523
|
-
getEvents:
|
|
524
|
-
getTemplates:
|
|
525
|
-
getEventData:
|
|
592
|
+
getEvents: S,
|
|
593
|
+
getTemplates: _,
|
|
594
|
+
getEventData: P,
|
|
526
595
|
getTemplateData: f,
|
|
527
|
-
getEventTableData:
|
|
596
|
+
getEventTableData: L,
|
|
528
597
|
hasProducts: I,
|
|
529
|
-
eventRateType:
|
|
530
|
-
areListingsAvailable:
|
|
531
|
-
isAvailabilityDataAvailable:
|
|
532
|
-
hasListingData:
|
|
598
|
+
eventRateType: ae,
|
|
599
|
+
areListingsAvailable: me,
|
|
600
|
+
isAvailabilityDataAvailable: oe,
|
|
601
|
+
hasListingData: pe,
|
|
533
602
|
isPaymentLoading: M,
|
|
534
|
-
isReservationFormFilled:
|
|
535
|
-
requiresArrivalTime:
|
|
536
|
-
hasSelectedRequiredProducts:
|
|
537
|
-
getUnavailableEvents:
|
|
538
|
-
} =
|
|
539
|
-
initialize:
|
|
540
|
-
fetchListings:
|
|
541
|
-
createBooking:
|
|
542
|
-
localAddonPrice:
|
|
543
|
-
totalAddonPrice:
|
|
544
|
-
reset:
|
|
545
|
-
goBack:
|
|
546
|
-
} =
|
|
603
|
+
isReservationFormFilled: le,
|
|
604
|
+
requiresArrivalTime: H,
|
|
605
|
+
hasSelectedRequiredProducts: K,
|
|
606
|
+
getUnavailableEvents: ve
|
|
607
|
+
} = Y(J()), { currency: se } = Y(ce()), { setActiveIdFilter: Ce } = ce(), { eventDate: Se, eventLocation: Ae } = Y(ye()), { isValidRestaurantId: Ie } = ye(), {
|
|
608
|
+
initialize: Re,
|
|
609
|
+
fetchListings: Me,
|
|
610
|
+
createBooking: Ue,
|
|
611
|
+
localAddonPrice: Ge,
|
|
612
|
+
totalAddonPrice: ze,
|
|
613
|
+
reset: qe,
|
|
614
|
+
goBack: $e
|
|
615
|
+
} = J(), { display: be } = Pe(), He = j(() => [
|
|
547
616
|
{
|
|
548
617
|
id: "availability",
|
|
549
|
-
label:
|
|
618
|
+
label: a("booking.availability.title"),
|
|
550
619
|
icon: "search"
|
|
551
620
|
},
|
|
552
621
|
{
|
|
553
622
|
id: "addons",
|
|
554
|
-
label:
|
|
623
|
+
label: a("general.addons"),
|
|
555
624
|
icon: "shopping-cart",
|
|
556
625
|
hidden: !1
|
|
557
626
|
},
|
|
558
627
|
{
|
|
559
628
|
id: "reservation",
|
|
560
|
-
label:
|
|
629
|
+
label: a("booking.reservation.title"),
|
|
561
630
|
icon: "concierge-bell"
|
|
562
631
|
},
|
|
563
632
|
{
|
|
@@ -566,261 +635,228 @@ const Wt = {
|
|
|
566
635
|
},
|
|
567
636
|
{
|
|
568
637
|
id: "confirmation",
|
|
569
|
-
label:
|
|
638
|
+
label: a("booking.confirmation.title"),
|
|
570
639
|
icon: "calendar-check"
|
|
571
640
|
}
|
|
572
|
-
]),
|
|
573
|
-
const
|
|
574
|
-
return
|
|
575
|
-
|
|
576
|
-
label:
|
|
641
|
+
]), Ye = j(() => {
|
|
642
|
+
const E = [];
|
|
643
|
+
return L.value && L.value.forEach((d) => {
|
|
644
|
+
E.find((B) => B.value === d.time) || E.push({
|
|
645
|
+
label: he(d.time),
|
|
577
646
|
value: d.time
|
|
578
647
|
});
|
|
579
|
-
}),
|
|
648
|
+
}), E;
|
|
580
649
|
});
|
|
581
|
-
function
|
|
582
|
-
|
|
650
|
+
function je() {
|
|
651
|
+
qe(n.resetDate === "yes");
|
|
583
652
|
}
|
|
584
|
-
function
|
|
585
|
-
const
|
|
653
|
+
function We() {
|
|
654
|
+
const E = yt("history", {
|
|
586
655
|
removeNullishValues: !0
|
|
587
|
-
}), d = parseInt(
|
|
588
|
-
if (
|
|
589
|
-
if (ht(
|
|
590
|
-
const
|
|
591
|
-
|
|
592
|
-
message:
|
|
656
|
+
}), d = parseInt(E.rid), B = E.d, V = parseInt(E.eid);
|
|
657
|
+
if (B)
|
|
658
|
+
if (ht(B)) {
|
|
659
|
+
const u = new Date(B), A = u.setHours(12, 0, 0, 0), R = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
660
|
+
A >= R ? (Se.value = u, E.d = void 0) : be({
|
|
661
|
+
message: a("alert.error.invalidDateRange"),
|
|
593
662
|
type: "error"
|
|
594
663
|
});
|
|
595
664
|
} else
|
|
596
|
-
|
|
597
|
-
message:
|
|
665
|
+
be({
|
|
666
|
+
message: a("alert.error.wrongDateFormat"),
|
|
598
667
|
type: "error"
|
|
599
668
|
});
|
|
600
|
-
isNaN(d) || (
|
|
601
|
-
message:
|
|
669
|
+
isNaN(d) || (Ie(d) ? Ae.value = d : (E.rid = void 0, be({
|
|
670
|
+
message: a("alert.error.hotelIdNotFound"),
|
|
602
671
|
type: "error"
|
|
603
|
-
}))), isNaN(
|
|
672
|
+
}))), isNaN(V) || Ce(V), Me();
|
|
604
673
|
}
|
|
605
|
-
return (
|
|
606
|
-
default:
|
|
607
|
-
(o(),
|
|
608
|
-
default:
|
|
609
|
-
|
|
674
|
+
return (E, d) => (o(), $(kt, { styling: E.styling }, {
|
|
675
|
+
default: m(() => [
|
|
676
|
+
(o(), $(ot, { onResolve: We }, {
|
|
677
|
+
default: m(() => [
|
|
678
|
+
v($t, {
|
|
610
679
|
id: "konnectio-event-module",
|
|
611
|
-
"access-token":
|
|
612
|
-
callback: e(
|
|
680
|
+
"access-token": E.accessToken,
|
|
681
|
+
callback: e(Re)
|
|
613
682
|
}, {
|
|
614
|
-
default:
|
|
615
|
-
|
|
616
|
-
steps:
|
|
617
|
-
onReset:
|
|
683
|
+
default: m(() => [
|
|
684
|
+
v(Vt, {
|
|
685
|
+
steps: He.value,
|
|
686
|
+
onReset: je
|
|
618
687
|
}, {
|
|
619
|
-
availability:
|
|
620
|
-
|
|
621
|
-
sidebar:
|
|
622
|
-
|
|
688
|
+
availability: m(({ next: B }) => [
|
|
689
|
+
v(ke, null, {
|
|
690
|
+
sidebar: m(() => [
|
|
691
|
+
v(Gt, {
|
|
623
692
|
redirection: !1,
|
|
624
|
-
"selected-location": Number(
|
|
625
|
-
"hide-locations":
|
|
693
|
+
"selected-location": Number(E.selectedLocation),
|
|
694
|
+
"hide-locations": E.hideLocations === "yes"
|
|
626
695
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
627
696
|
]),
|
|
628
|
-
form:
|
|
629
|
-
e(
|
|
630
|
-
e(
|
|
631
|
-
|
|
697
|
+
form: m(() => [
|
|
698
|
+
e(pe) && e(me) ? (o(), r("div", _n, [
|
|
699
|
+
e(S).length > 0 && e(ve).length > 0 ? (o(), r("h2", En, [
|
|
700
|
+
v(te, {
|
|
632
701
|
icon: "calendar-clock",
|
|
633
702
|
type: "fal",
|
|
634
703
|
color: "header"
|
|
635
704
|
}),
|
|
636
|
-
t("span", null,
|
|
637
|
-
])) :
|
|
638
|
-
t("ul",
|
|
639
|
-
e(
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
days: r,
|
|
666
|
-
"from-date": T,
|
|
667
|
-
"to-date": G,
|
|
668
|
-
"max-online-reservation-limit": he || ye || Pe,
|
|
669
|
-
"time-from": S,
|
|
670
|
-
"time-to": O,
|
|
671
|
-
"sold-out": ne,
|
|
672
|
-
"use-number-of-products-for-persons": De,
|
|
673
|
-
callback: L
|
|
674
|
-
}, 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", "callback"]))), 128)) : m("", !0),
|
|
675
|
-
e(b) && y.onlyShow !== "events" ? (o(!0), u(A, { key: 1 }, W(e(E), ({
|
|
676
|
-
id: N,
|
|
677
|
-
name: r,
|
|
678
|
-
fromDate: C,
|
|
679
|
-
toDate: S,
|
|
680
|
-
minimumPersonCount: O,
|
|
681
|
-
fromPrice: T,
|
|
682
|
-
description: G,
|
|
683
|
-
imageUrl: H,
|
|
684
|
-
images: Y
|
|
685
|
-
}) => (o(), w(an, {
|
|
686
|
-
key: N,
|
|
687
|
-
"listing-id": N,
|
|
688
|
-
name: r,
|
|
689
|
-
image: H,
|
|
690
|
-
images: Y,
|
|
691
|
-
description: G,
|
|
692
|
-
"from-date": C,
|
|
693
|
-
"to-date": S,
|
|
694
|
-
"minimum-person-count": O,
|
|
695
|
-
fromPrice: T,
|
|
696
|
-
callback: L
|
|
697
|
-
}, null, 8, ["listing-id", "name", "image", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : m("", !0)
|
|
705
|
+
t("span", null, l(e(a)("event.availableNow")), 1)
|
|
706
|
+
])) : c("", !0),
|
|
707
|
+
t("ul", On, [
|
|
708
|
+
e(T) && E.onlyShow !== "templates" ? (o(!0), r(C, { key: 0 }, G(e(S), (V) => (o(), $(xt, {
|
|
709
|
+
name: V.name,
|
|
710
|
+
events: V.events,
|
|
711
|
+
callback: B
|
|
712
|
+
}, null, 8, ["name", "events", "callback"]))), 256)) : c("", !0),
|
|
713
|
+
e(b) && E.onlyShow !== "events" ? (o(!0), r(C, { key: 1 }, G(e(_), ({
|
|
714
|
+
id: V,
|
|
715
|
+
name: u,
|
|
716
|
+
fromDate: A,
|
|
717
|
+
toDate: R,
|
|
718
|
+
minimumPersonCount: N,
|
|
719
|
+
fromPrice: F,
|
|
720
|
+
description: X,
|
|
721
|
+
images: x
|
|
722
|
+
}) => (o(), $(rn, {
|
|
723
|
+
key: V,
|
|
724
|
+
"listing-id": V,
|
|
725
|
+
name: u,
|
|
726
|
+
images: x,
|
|
727
|
+
description: X,
|
|
728
|
+
"from-date": A,
|
|
729
|
+
"to-date": R,
|
|
730
|
+
"minimum-person-count": N,
|
|
731
|
+
fromPrice: F,
|
|
732
|
+
callback: B
|
|
733
|
+
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : c("", !0)
|
|
698
734
|
]),
|
|
699
|
-
e(
|
|
700
|
-
t("h2",
|
|
701
|
-
|
|
735
|
+
e(ve).length > 0 && E.onlyShow !== "templates" ? (o(), r(C, { key: 1 }, [
|
|
736
|
+
t("h2", Vn, [
|
|
737
|
+
v(te, {
|
|
702
738
|
icon: "calendar-circle-exclamation",
|
|
703
739
|
type: "fal",
|
|
704
740
|
color: "header"
|
|
705
741
|
}),
|
|
706
|
-
t("span", null,
|
|
742
|
+
t("span", null, l(e(a)("event.availableLater")), 1)
|
|
707
743
|
]),
|
|
708
|
-
t("ul",
|
|
709
|
-
(o(!0),
|
|
710
|
-
id:
|
|
711
|
-
days:
|
|
712
|
-
name:
|
|
713
|
-
timeFrom:
|
|
714
|
-
timeTo:
|
|
715
|
-
fromDate:
|
|
716
|
-
toDate:
|
|
717
|
-
tableGroupId:
|
|
718
|
-
description:
|
|
719
|
-
soldOut:
|
|
720
|
-
length:
|
|
721
|
-
images:
|
|
722
|
-
maxOnlineReservationLimit:
|
|
723
|
-
maxPaxPerReservation:
|
|
724
|
-
useNumberOfProductsForPersons:
|
|
725
|
-
maxTicketsLimit:
|
|
726
|
-
}) => (o(),
|
|
727
|
-
key:
|
|
744
|
+
t("ul", Nn, [
|
|
745
|
+
(o(!0), r(C, null, G(e(ve), ({
|
|
746
|
+
id: V,
|
|
747
|
+
days: u,
|
|
748
|
+
name: A,
|
|
749
|
+
timeFrom: R,
|
|
750
|
+
timeTo: N,
|
|
751
|
+
fromDate: F,
|
|
752
|
+
toDate: X,
|
|
753
|
+
tableGroupId: x,
|
|
754
|
+
description: fe,
|
|
755
|
+
soldOut: ge,
|
|
756
|
+
length: ee,
|
|
757
|
+
images: Ze,
|
|
758
|
+
maxOnlineReservationLimit: Qe,
|
|
759
|
+
maxPaxPerReservation: Je,
|
|
760
|
+
useNumberOfProductsForPersons: Ke,
|
|
761
|
+
maxTicketsLimit: Xe
|
|
762
|
+
}) => (o(), $(sn, {
|
|
763
|
+
key: V,
|
|
728
764
|
type: "event",
|
|
729
|
-
"listing-id":
|
|
730
|
-
"table-group-id":
|
|
731
|
-
description:
|
|
732
|
-
name:
|
|
733
|
-
length:
|
|
734
|
-
gallery:
|
|
735
|
-
days:
|
|
736
|
-
"from-date":
|
|
737
|
-
"to-date":
|
|
738
|
-
"max-online-reservation-limit":
|
|
739
|
-
"time-from":
|
|
740
|
-
"time-to":
|
|
741
|
-
"sold-out":
|
|
742
|
-
"use-number-of-products-for-persons":
|
|
743
|
-
callback:
|
|
765
|
+
"listing-id": V,
|
|
766
|
+
"table-group-id": x,
|
|
767
|
+
description: fe,
|
|
768
|
+
name: A,
|
|
769
|
+
length: ee,
|
|
770
|
+
gallery: Ze,
|
|
771
|
+
days: u,
|
|
772
|
+
"from-date": F,
|
|
773
|
+
"to-date": X,
|
|
774
|
+
"max-online-reservation-limit": Je || Qe || Xe,
|
|
775
|
+
"time-from": R,
|
|
776
|
+
"time-to": N,
|
|
777
|
+
"sold-out": ge,
|
|
778
|
+
"use-number-of-products-for-persons": Ke,
|
|
779
|
+
callback: B
|
|
744
780
|
}, 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", "callback"]))), 128))
|
|
745
781
|
])
|
|
746
|
-
], 64)) :
|
|
747
|
-
!e(
|
|
782
|
+
], 64)) : c("", !0),
|
|
783
|
+
!e(T) && !e(b) || !e(T) && E.onlyShow === "events" || !e(b) && E.onlyShow === "templates" ? (o(), r("div", {
|
|
748
784
|
key: 2,
|
|
749
785
|
class: "konnectio-panel",
|
|
750
|
-
innerHTML: e(
|
|
751
|
-
}, null, 8,
|
|
752
|
-
])) : (o(),
|
|
786
|
+
innerHTML: e(a)("event.nothingAvailable")
|
|
787
|
+
}, null, 8, Tn)) : c("", !0)
|
|
788
|
+
])) : (o(), $(Be, { key: 1 }))
|
|
753
789
|
]),
|
|
754
790
|
_: 2
|
|
755
791
|
}, 1024)
|
|
756
792
|
]),
|
|
757
|
-
addons:
|
|
758
|
-
e(
|
|
793
|
+
addons: m(({ next: B, prev: V }) => [
|
|
794
|
+
e(oe) ? (o(), $(ke, {
|
|
759
795
|
key: 0,
|
|
760
|
-
"prev-callback": () => e(
|
|
796
|
+
"prev-callback": () => e($e)(V)
|
|
761
797
|
}, {
|
|
762
|
-
form:
|
|
763
|
-
t("form",
|
|
798
|
+
form: m(() => [
|
|
799
|
+
t("form", Ln, [
|
|
764
800
|
t("h2", null, [
|
|
765
|
-
t("span", null,
|
|
801
|
+
t("span", null, l(e(a)("event.selectProducts")), 1)
|
|
766
802
|
]),
|
|
767
|
-
e(f) && e(f).length > 0 ? (o(),
|
|
768
|
-
(o(!0),
|
|
769
|
-
roomGroupId:
|
|
770
|
-
addons:
|
|
771
|
-
adultPerRoom:
|
|
772
|
-
},
|
|
803
|
+
e(f) && e(f).length > 0 ? (o(), r("ul", Bn, [
|
|
804
|
+
(o(!0), r(C, null, G(e(f), ({
|
|
805
|
+
roomGroupId: u,
|
|
806
|
+
addons: A,
|
|
807
|
+
adultPerRoom: R
|
|
808
|
+
}, N) => (o(), r("li", { key: u }, [
|
|
773
809
|
t("h5", null, [
|
|
774
|
-
t("span", null,
|
|
775
|
-
d[7] || (d[7] =
|
|
776
|
-
|
|
810
|
+
t("span", null, l(e(a)("booking.reservation.room")) + " #" + l(N + 1), 1),
|
|
811
|
+
d[7] || (d[7] = ue(" (")),
|
|
812
|
+
v(te, {
|
|
777
813
|
icon: "male",
|
|
778
814
|
type: "fas",
|
|
779
815
|
color: "header"
|
|
780
816
|
}),
|
|
781
|
-
|
|
817
|
+
ue(" " + l(R) + ") ", 1)
|
|
782
818
|
]),
|
|
783
|
-
t("table",
|
|
819
|
+
t("table", Fn, [
|
|
784
820
|
t("thead", null, [
|
|
785
821
|
t("tr", null, [
|
|
786
822
|
t("th", null, [
|
|
787
|
-
t("span", null,
|
|
823
|
+
t("span", null, l(e(a)("booking.reservation.addons")), 1)
|
|
788
824
|
]),
|
|
789
825
|
d[8] || (d[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
790
|
-
t("th",
|
|
791
|
-
t("span", null,
|
|
826
|
+
t("th", Cn, [
|
|
827
|
+
t("span", null, l(e(a)("booking.availability.price")), 1)
|
|
792
828
|
])
|
|
793
829
|
])
|
|
794
830
|
]),
|
|
795
831
|
t("tbody", null, [
|
|
796
|
-
(o(!0),
|
|
797
|
-
id:
|
|
798
|
-
cardinality:
|
|
799
|
-
name:
|
|
800
|
-
price:
|
|
801
|
-
quantityStrategy:
|
|
802
|
-
}) => (o(),
|
|
832
|
+
(o(!0), r(C, null, G(A, ({
|
|
833
|
+
id: F,
|
|
834
|
+
cardinality: X,
|
|
835
|
+
name: x,
|
|
836
|
+
price: fe,
|
|
837
|
+
quantityStrategy: ge
|
|
838
|
+
}) => (o(), r("tr", { key: F }, [
|
|
803
839
|
t("td", null, [
|
|
804
|
-
t("b", null,
|
|
840
|
+
t("b", null, l(x), 1),
|
|
805
841
|
d[9] || (d[9] = t("br", null, null, -1)),
|
|
806
|
-
t("span", null,
|
|
842
|
+
t("span", null, l(e(Z)(fe, e(se))) + " " + l(e(gt)(ge)), 1)
|
|
807
843
|
]),
|
|
808
|
-
t("td",
|
|
809
|
-
|
|
844
|
+
t("td", Sn, [
|
|
845
|
+
X === 3 ? (o(), $(re, {
|
|
810
846
|
key: 0,
|
|
811
|
-
modelValue: e(
|
|
812
|
-
"onUpdate:modelValue": (
|
|
847
|
+
modelValue: e(g)[`${u}.${F}.${N}`],
|
|
848
|
+
"onUpdate:modelValue": (ee) => e(g)[`${u}.${F}.${N}`] = ee,
|
|
813
849
|
small: !0,
|
|
814
850
|
"min-value": 0
|
|
815
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(),
|
|
851
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), $(Ut, {
|
|
816
852
|
key: 1,
|
|
817
|
-
modelValue: e(
|
|
818
|
-
"onUpdate:modelValue": (
|
|
853
|
+
modelValue: e(g)[`${u}.${F}.${N}`],
|
|
854
|
+
"onUpdate:modelValue": (ee) => e(g)[`${u}.${F}.${N}`] = ee,
|
|
819
855
|
numeric: !0
|
|
820
856
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
821
857
|
]),
|
|
822
|
-
t("td",
|
|
823
|
-
t("span", null,
|
|
858
|
+
t("td", An, [
|
|
859
|
+
t("span", null, l(e(Z)(e(Ge)(F, u, N), e(se))), 1)
|
|
824
860
|
])
|
|
825
861
|
]))), 128))
|
|
826
862
|
]),
|
|
@@ -828,142 +864,142 @@ const Wt = {
|
|
|
828
864
|
t("tr", null, [
|
|
829
865
|
d[10] || (d[10] = t("td", null, null, -1)),
|
|
830
866
|
d[11] || (d[11] = t("td", null, null, -1)),
|
|
831
|
-
t("td",
|
|
867
|
+
t("td", In, [
|
|
832
868
|
t("u", null, [
|
|
833
|
-
t("span", null,
|
|
869
|
+
t("span", null, l(e(Z)(e(ze)(u, N), e(se))), 1)
|
|
834
870
|
])
|
|
835
871
|
])
|
|
836
872
|
])
|
|
837
873
|
])
|
|
838
874
|
])
|
|
839
875
|
]))), 128))
|
|
840
|
-
])) :
|
|
841
|
-
e(I) ? (o(),
|
|
876
|
+
])) : c("", !0),
|
|
877
|
+
e(I) ? (o(), r("table", Rn, [
|
|
842
878
|
t("tbody", null, [
|
|
843
|
-
(o(!0),
|
|
844
|
-
t("td",
|
|
879
|
+
(o(!0), r(C, null, G(e(P).products, ({ id: u, name: A, price: R, description: N }) => (o(), r("tr", { key: u }, [
|
|
880
|
+
t("td", Mn, [
|
|
845
881
|
t("b", null, [
|
|
846
|
-
t("span", null,
|
|
882
|
+
t("span", null, l(e(we)(A)), 1)
|
|
847
883
|
]),
|
|
848
|
-
|
|
849
|
-
t("u", null,
|
|
884
|
+
N && N !== A ? (o(), r("span", Un, l(e(we)(N)), 1)) : c("", !0),
|
|
885
|
+
t("u", null, l(e(Z)(R, e(se))), 1)
|
|
850
886
|
]),
|
|
851
|
-
t("td",
|
|
852
|
-
|
|
853
|
-
modelValue: e(
|
|
854
|
-
"onUpdate:modelValue": (
|
|
887
|
+
t("td", Gn, [
|
|
888
|
+
v(re, {
|
|
889
|
+
modelValue: e(p)[u],
|
|
890
|
+
"onUpdate:modelValue": (F) => e(p)[u] = F,
|
|
855
891
|
small: !0,
|
|
856
892
|
"min-value": 0
|
|
857
893
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
858
894
|
])
|
|
859
895
|
]))), 128))
|
|
860
896
|
])
|
|
861
|
-
])) :
|
|
897
|
+
])) : c("", !0)
|
|
862
898
|
])
|
|
863
899
|
]),
|
|
864
|
-
navigation:
|
|
865
|
-
|
|
866
|
-
label: e(
|
|
867
|
-
disabled: !e(
|
|
900
|
+
navigation: m(() => [
|
|
901
|
+
v(de, {
|
|
902
|
+
label: e(a)("event.startReservation"),
|
|
903
|
+
disabled: !e(K),
|
|
868
904
|
"full-width": "",
|
|
869
|
-
onClickEvent:
|
|
905
|
+
onClickEvent: B
|
|
870
906
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
871
907
|
]),
|
|
872
908
|
_: 2
|
|
873
|
-
}, 1032, ["prev-callback"])) :
|
|
909
|
+
}, 1032, ["prev-callback"])) : c("", !0)
|
|
874
910
|
]),
|
|
875
|
-
reservation:
|
|
876
|
-
|
|
911
|
+
reservation: m(({ next: B, prev: V }) => [
|
|
912
|
+
v(ke, {
|
|
877
913
|
"show-terms-notice": !0,
|
|
878
914
|
"show-gift-card": !0,
|
|
879
|
-
"prev-callback": () => e(
|
|
915
|
+
"prev-callback": () => e($e)(V)
|
|
880
916
|
}, {
|
|
881
|
-
form:
|
|
882
|
-
t("form",
|
|
917
|
+
form: m(() => [
|
|
918
|
+
t("form", zn, [
|
|
883
919
|
t("h2", null, [
|
|
884
|
-
t("span", null,
|
|
920
|
+
t("span", null, l(e(a)("booking.reservation.detailsTitle")), 1)
|
|
885
921
|
]),
|
|
886
|
-
|
|
887
|
-
modelValue: e(
|
|
888
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
922
|
+
v(ie, {
|
|
923
|
+
modelValue: e(k),
|
|
924
|
+
"onUpdate:modelValue": d[0] || (d[0] = (u) => U(k) ? k.value = u : null),
|
|
889
925
|
type: "text",
|
|
890
|
-
label: e(
|
|
926
|
+
label: e(a)("booking.reservation.name"),
|
|
891
927
|
icon: "user-alt",
|
|
892
|
-
placeholder: e(
|
|
928
|
+
placeholder: e(a)("booking.reservation.namePlaceholder"),
|
|
893
929
|
required: ""
|
|
894
930
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
895
|
-
|
|
896
|
-
modelValue: e(
|
|
897
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
898
|
-
label: e(
|
|
931
|
+
v(ie, {
|
|
932
|
+
modelValue: e(h),
|
|
933
|
+
"onUpdate:modelValue": d[1] || (d[1] = (u) => U(h) ? h.value = u : null),
|
|
934
|
+
label: e(a)("booking.reservation.email"),
|
|
899
935
|
type: "email",
|
|
900
936
|
name: "email",
|
|
901
937
|
autocomplete: "email",
|
|
902
938
|
icon: "at",
|
|
903
|
-
placeholder: e(
|
|
939
|
+
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
904
940
|
required: ""
|
|
905
941
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
906
|
-
|
|
907
|
-
modelValue: e(
|
|
908
|
-
"onUpdate:modelValue": d[2] || (d[2] = (
|
|
909
|
-
label: e(
|
|
942
|
+
v(Mt, {
|
|
943
|
+
modelValue: e(y),
|
|
944
|
+
"onUpdate:modelValue": d[2] || (d[2] = (u) => U(y) ? y.value = u : null),
|
|
945
|
+
label: e(a)("booking.reservation.phone"),
|
|
910
946
|
icon: "phone-office",
|
|
911
|
-
placeholder: e(
|
|
947
|
+
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
912
948
|
required: ""
|
|
913
949
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
914
|
-
e(
|
|
950
|
+
e(H) ? (o(), $(Tt, {
|
|
915
951
|
key: 0,
|
|
916
|
-
modelValue: e(
|
|
917
|
-
"onUpdate:modelValue": d[3] || (d[3] = (
|
|
918
|
-
label: e(
|
|
952
|
+
modelValue: e(D),
|
|
953
|
+
"onUpdate:modelValue": d[3] || (d[3] = (u) => U(D) ? D.value = u : null),
|
|
954
|
+
label: e(a)("event.selectArrivalTime"),
|
|
919
955
|
name: "eventTimeTable",
|
|
920
|
-
checkboxes:
|
|
956
|
+
checkboxes: Ye.value,
|
|
921
957
|
required: ""
|
|
922
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) :
|
|
923
|
-
e(
|
|
958
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
|
|
959
|
+
e(ae) === e(ft).FullDayEvent ? (o(), $(re, {
|
|
924
960
|
key: 1,
|
|
925
961
|
modelValue: e(i),
|
|
926
|
-
"onUpdate:modelValue": d[4] || (d[4] = (
|
|
927
|
-
label: e(
|
|
962
|
+
"onUpdate:modelValue": d[4] || (d[4] = (u) => U(i) ? i.value = u : null),
|
|
963
|
+
label: e(a)("event.numberOfDays"),
|
|
928
964
|
"min-value": 1,
|
|
929
965
|
required: ""
|
|
930
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
931
|
-
|
|
966
|
+
}, null, 8, ["modelValue", "label"])) : c("", !0),
|
|
967
|
+
v(ie, {
|
|
932
968
|
modelValue: e(s),
|
|
933
|
-
"onUpdate:modelValue": d[5] || (d[5] = (
|
|
969
|
+
"onUpdate:modelValue": d[5] || (d[5] = (u) => U(s) ? s.value = u : null),
|
|
934
970
|
type: "textarea",
|
|
935
|
-
label: `${e(
|
|
971
|
+
label: `${e(a)("booking.reservation.remark")} (${e(a)("booking.reservation.optional")})`,
|
|
936
972
|
icon: "info-circle",
|
|
937
|
-
placeholder: e(
|
|
973
|
+
placeholder: e(a)("booking.reservation.remarkPlaceholder")
|
|
938
974
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
939
|
-
|
|
940
|
-
modelValue: e(
|
|
941
|
-
"onUpdate:modelValue": d[6] || (d[6] = (
|
|
975
|
+
v(ie, {
|
|
976
|
+
modelValue: e(O),
|
|
977
|
+
"onUpdate:modelValue": d[6] || (d[6] = (u) => U(O) ? O.value = u : null),
|
|
942
978
|
type: "textarea",
|
|
943
|
-
label: `${e(
|
|
979
|
+
label: `${e(a)("booking.reservation.allergies")} (${e(a)("booking.reservation.optional")})`,
|
|
944
980
|
icon: "allergies",
|
|
945
|
-
placeholder: e(
|
|
981
|
+
placeholder: e(a)("booking.reservation.allergiesPlaceholder")
|
|
946
982
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
947
983
|
])
|
|
948
984
|
]),
|
|
949
|
-
navigation:
|
|
950
|
-
|
|
951
|
-
label: e(
|
|
985
|
+
navigation: m(() => [
|
|
986
|
+
v(de, {
|
|
987
|
+
label: e(a)("general.confirmReservation"),
|
|
952
988
|
"is-loading": e(M),
|
|
953
|
-
disabled: !e(
|
|
989
|
+
disabled: !e(le),
|
|
954
990
|
"full-width": "",
|
|
955
|
-
onClickEvent: (
|
|
991
|
+
onClickEvent: (u) => e(Ue)(B)
|
|
956
992
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
957
993
|
]),
|
|
958
994
|
_: 2
|
|
959
995
|
}, 1032, ["prev-callback"])
|
|
960
996
|
]),
|
|
961
|
-
payment:
|
|
962
|
-
|
|
997
|
+
payment: m(() => [
|
|
998
|
+
v(Rt)
|
|
963
999
|
]),
|
|
964
|
-
confirmation:
|
|
965
|
-
|
|
966
|
-
message: e(
|
|
1000
|
+
confirmation: m(() => [
|
|
1001
|
+
v(Nt, {
|
|
1002
|
+
message: e(a)("event.confirmationMessage")
|
|
967
1003
|
}, null, 8, ["message"])
|
|
968
1004
|
]),
|
|
969
1005
|
_: 1
|
|
@@ -972,8 +1008,8 @@ const Wt = {
|
|
|
972
1008
|
_: 1
|
|
973
1009
|
}, 8, ["access-token", "callback"])
|
|
974
1010
|
]),
|
|
975
|
-
fallback:
|
|
976
|
-
|
|
1011
|
+
fallback: m(() => [
|
|
1012
|
+
v(wn)
|
|
977
1013
|
]),
|
|
978
1014
|
_: 1
|
|
979
1015
|
}))
|
|
@@ -981,8 +1017,8 @@ const Wt = {
|
|
|
981
1017
|
_: 1
|
|
982
1018
|
}, 8, ["styling"]));
|
|
983
1019
|
}
|
|
984
|
-
}),
|
|
985
|
-
class
|
|
1020
|
+
}), Te = /* @__PURE__ */ W(qn, [["__scopeId", "data-v-0e17daac"]]), Hn = lt(), Yn = st, jn = Yn();
|
|
1021
|
+
class Wn extends HTMLElement {
|
|
986
1022
|
vueApp;
|
|
987
1023
|
constructor() {
|
|
988
1024
|
super();
|
|
@@ -991,14 +1027,14 @@ class Gn extends HTMLElement {
|
|
|
991
1027
|
this.vueApp.unmount();
|
|
992
1028
|
}
|
|
993
1029
|
connectedCallback() {
|
|
994
|
-
const
|
|
995
|
-
this.vueApp = rt(
|
|
996
|
-
const
|
|
997
|
-
this.vueApp.mount(
|
|
1030
|
+
const n = it(Te, this.attributes);
|
|
1031
|
+
this.vueApp = rt(Te, n), this.vueApp.provide("emitter", jn), this.vueApp.use(ut), this.vueApp.use(Hn), this.vueApp.use(Lt), this.vueApp.use(Pt), this.vueApp.use(Bt), this.vueApp.use(Dt, { bootstrap: !0 });
|
|
1032
|
+
const a = document.createElement("div");
|
|
1033
|
+
this.vueApp.mount(a), this.appendChild(a.children[0]);
|
|
998
1034
|
}
|
|
999
1035
|
}
|
|
1000
|
-
window.customElements.define("konnectio-event",
|
|
1036
|
+
window.customElements.define("konnectio-event", Wn);
|
|
1001
1037
|
export {
|
|
1002
|
-
|
|
1038
|
+
Wn as default
|
|
1003
1039
|
};
|
|
1004
1040
|
//# sourceMappingURL=event.js.map
|