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