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