@konnectio/core 4.0.63 → 4.0.65
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-3MggPKk9.js → ActionField-D5c9yQMq.js} +36 -28
- package/dist/ActionField-D5c9yQMq.js.br +0 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.js +299 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js} +934 -924
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js.br +0 -0
- package/dist/{CheckoutWindow-DolJgk40.js → CheckoutWindow-B74NMuGr.js} +174 -166
- package/dist/CheckoutWindow-B74NMuGr.js.br +0 -0
- package/dist/{ErrorMessage-BksKCxAq.js → ErrorMessage-CWR5rjTx.js} +24 -16
- package/dist/ErrorMessage-CWR5rjTx.js.br +0 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js +125 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js.br +0 -0
- package/dist/Field-C4DyN4XC.js +58 -0
- package/dist/Field-C4DyN4XC.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js +18813 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js.br +0 -0
- package/dist/TermsOfService-Bx4b2VxT.js +44 -0
- package/dist/TermsOfService-Bx4b2VxT.js.br +0 -0
- package/dist/_-DmU4JLX1.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js.br +0 -0
- package/dist/_commonjsHelpers-BbdZelfp.js +25 -0
- package/dist/_commonjsHelpers-BbdZelfp.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DEszgcWK.js → _sentry-release-injection-file-tJBg8sGS.js} +1643 -1635
- package/dist/_sentry-release-injection-file-tJBg8sGS.js.br +0 -0
- package/dist/availability.js +65 -55
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +29 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +260 -252
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +64 -56
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +137 -129
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-SDJGsDep.js +134 -0
- package/dist/giftCard-SDJGsDep.js.br +0 -0
- package/dist/hotel.js +939 -920
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-GGoTX7a7.js → masonry.plugin-BhK5XQta.js} +860 -852
- package/dist/masonry.plugin-BhK5XQta.js.br +0 -0
- package/dist/{mitt-DnPlcQNp.js → mitt-CGFh35r5.js} +505 -497
- package/dist/mitt-CGFh35r5.js.br +0 -0
- package/dist/polyfill.js +6471 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-2RYcVxT9.js → style-BQlIFUN3.js} +418 -403
- package/dist/style-BQlIFUN3.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{_commonjsHelpers-DEK47QeC.js → tracing-B1Jp160Y.js} +597 -544
- package/dist/tracing-B1Jp160Y.js.br +0 -0
- package/package.json +16 -16
- package/dist/ActionField-3MggPKk9.js.br +0 -0
- package/dist/AvailabilitySkeleton-DSgC6hn3.js +0 -293
- package/dist/AvailabilitySkeleton-DSgC6hn3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js.br +0 -0
- package/dist/CheckoutWindow-DolJgk40.js.br +0 -0
- package/dist/ErrorMessage-BksKCxAq.js.br +0 -0
- package/dist/EventAvailabilityForm-DZljldrC.js +0 -117
- package/dist/EventAvailabilityForm-DZljldrC.js.br +0 -0
- package/dist/Field-DGi_AnA6.js +0 -50
- package/dist/Field-DGi_AnA6.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js +0 -18734
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js.br +0 -0
- package/dist/TermsOfService-LDUTInOo.js +0 -36
- package/dist/TermsOfService-LDUTInOo.js.br +0 -0
- package/dist/_-CBEOFztf.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js +0 -69
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js.br +0 -0
- package/dist/_commonjsHelpers-DEK47QeC.js.br +0 -0
- package/dist/_sentry-release-injection-file-DEszgcWK.js.br +0 -0
- package/dist/giftCard-DLrIdehA.js +0 -126
- package/dist/giftCard-DLrIdehA.js.br +0 -0
- package/dist/masonry.plugin-GGoTX7a7.js.br +0 -0
- package/dist/mitt-DnPlcQNp.js.br +0 -0
- package/dist/style-2RYcVxT9.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,38 +1,46 @@
|
|
|
1
|
-
import { d as H, r as Qe, c as
|
|
2
|
-
import { u as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { e as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { B as
|
|
8
|
-
import { C as
|
|
9
|
-
import { E as
|
|
1
|
+
import { d as H, r as Qe, c as ie, a as o, b as $, w as f, l as ae, u as e, e as t, i as c, f as h, n as We, g as d, t as a, m as xe, q as Je, s as q, F, v as R, S as Xe, x as we, h as Pe, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-tJBg8sGS.js";
|
|
2
|
+
import { u as re, s as U, c as ot, i as at, m as lt } from "./mitt-CGFh35r5.js";
|
|
3
|
+
import { c as st, G as it } from "./style-BQlIFUN3.js";
|
|
4
|
+
import { a as Se, b as le, l as rt, s as se, c as ge, B as ut, _ as ue, d as ye, I as he, e as dt, f as ke, g as j, u as $e, h as ct, i as De, T as te, O as mt, C as pt, j as vt, k as ft, m as bt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js";
|
|
5
|
+
import { e as gt, c as ht, t as ne, g as Ve, m as Ee, a as Oe, b as Te, d as kt, f as Ae, u as G } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js";
|
|
6
|
+
import { _ as yt } from "./_.vue_vue_type_style_index_0_lang-B2Kq55VX.js";
|
|
7
|
+
import { B as _t, _ as wt, R as Pt, L as Ie, S as $t, M as Dt, C as Vt, T as Et, V as Ot } from "./masonry.plugin-BhK5XQta.js";
|
|
8
|
+
import { C as Tt, P as At, a as St } from "./CheckoutWindow-B74NMuGr.js";
|
|
9
|
+
import { E as It } from "./EventAvailabilityForm-lFAnwVMX.js";
|
|
10
10
|
(function() {
|
|
11
11
|
try {
|
|
12
12
|
var m = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
13
|
-
n && (m._sentryDebugIds = m._sentryDebugIds || {}, m._sentryDebugIds[n] = "
|
|
13
|
+
n && (m._sentryDebugIds = m._sentryDebugIds || {}, m._sentryDebugIds[n] = "0f43af4d-fb68-4efb-b91f-1752810edf65", m._sentryDebugIdIdentifier = "sentry-dbid-0f43af4d-fb68-4efb-b91f-1752810edf65");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
17
|
-
|
|
17
|
+
{
|
|
18
|
+
var ee = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
19
|
+
ee._sentryModuleMetadata = ee._sentryModuleMetadata || {}, ee._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
20
|
+
{},
|
|
21
|
+
ee._sentryModuleMetadata[new Error().stack],
|
|
22
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
function Nt(m) {
|
|
18
26
|
return (n) => {
|
|
19
27
|
const p = (m ? Math[m] : Math.trunc)(n);
|
|
20
28
|
return p === 0 ? 0 : p;
|
|
21
29
|
};
|
|
22
30
|
}
|
|
23
|
-
function
|
|
24
|
-
const p =
|
|
31
|
+
function Ct(m, n, r) {
|
|
32
|
+
const p = kt(), b = r?.locale ?? p.locale ?? gt, i = ht(m, n);
|
|
25
33
|
if (isNaN(i))
|
|
26
34
|
throw new RangeError("Invalid time value");
|
|
27
35
|
const v = Object.assign({}, r, {
|
|
28
36
|
addSuffix: r?.addSuffix,
|
|
29
37
|
comparison: i
|
|
30
38
|
});
|
|
31
|
-
let
|
|
32
|
-
i > 0 ? (
|
|
33
|
-
const g =
|
|
39
|
+
let P, u;
|
|
40
|
+
i > 0 ? (P = ne(n), u = ne(m)) : (P = ne(m), u = ne(n));
|
|
41
|
+
const g = Nt(r?.roundingMethod ?? "round"), y = u.getTime() - P.getTime(), E = y / Ae, D = Ve(u) - Ve(P), O = (y - D) / Ae, N = r?.unit;
|
|
34
42
|
let _;
|
|
35
|
-
if (N ? _ = N : E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E <
|
|
43
|
+
if (N ? _ = N : E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E < Ee ? _ = "hour" : O < Oe ? _ = "day" : O < Te ? _ = "month" : _ = "year", _ === "second") {
|
|
36
44
|
const l = g(y / 1e3);
|
|
37
45
|
return b.formatDistance("xSeconds", l, v);
|
|
38
46
|
} else if (_ === "minute") {
|
|
@@ -42,17 +50,17 @@ function Nt(m, n, r) {
|
|
|
42
50
|
const l = g(E / 60);
|
|
43
51
|
return b.formatDistance("xHours", l, v);
|
|
44
52
|
} else if (_ === "day") {
|
|
45
|
-
const l = g(O /
|
|
53
|
+
const l = g(O / Ee);
|
|
46
54
|
return b.formatDistance("xDays", l, v);
|
|
47
55
|
} else if (_ === "month") {
|
|
48
|
-
const l = g(O /
|
|
56
|
+
const l = g(O / Oe);
|
|
49
57
|
return l === 12 && N !== "month" ? b.formatDistance("xYears", 1, v) : b.formatDistance("xMonths", l, v);
|
|
50
58
|
} else {
|
|
51
|
-
const l = g(O /
|
|
59
|
+
const l = g(O / Te);
|
|
52
60
|
return b.formatDistance("xYears", l, v);
|
|
53
61
|
}
|
|
54
62
|
}
|
|
55
|
-
const
|
|
63
|
+
const Bt = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__ */ H({
|
|
56
64
|
__name: "_",
|
|
57
65
|
props: {
|
|
58
66
|
name: {},
|
|
@@ -76,17 +84,17 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Bt = /* @__PURE__
|
|
|
76
84
|
callback: {}
|
|
77
85
|
},
|
|
78
86
|
setup(m) {
|
|
79
|
-
const { t: n } =
|
|
87
|
+
const { t: n } = re(), r = m, { display: p } = Se(), {
|
|
80
88
|
maxNumberOfPeople: b,
|
|
81
89
|
numberOfPeople: i,
|
|
82
90
|
eventId: v,
|
|
83
|
-
currentEventDate:
|
|
91
|
+
currentEventDate: P,
|
|
84
92
|
tableGroupId: u
|
|
85
|
-
} =
|
|
93
|
+
} = U(G()), {
|
|
86
94
|
getTemplateAvailability: g,
|
|
87
95
|
getEventAvailability: y,
|
|
88
96
|
isEventListingLoading: E
|
|
89
|
-
} =
|
|
97
|
+
} = G(), D = Qe(0), O = ie(() => E(r.listingId)), N = () => {
|
|
90
98
|
if (!r.useNumberOfProductsForPersons && D.value === 0) {
|
|
91
99
|
p({
|
|
92
100
|
type: "error",
|
|
@@ -105,7 +113,7 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Bt = /* @__PURE__
|
|
|
105
113
|
}
|
|
106
114
|
v.value = r.listingId, u.value = r.tableGroupId, i.value = D.value, y(r.callback);
|
|
107
115
|
};
|
|
108
|
-
return (l, C) => (o(),
|
|
116
|
+
return (l, C) => (o(), $(_t, {
|
|
109
117
|
type: "event",
|
|
110
118
|
"listing-id": l.listingId,
|
|
111
119
|
gallery: l.gallery,
|
|
@@ -113,10 +121,10 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Bt = /* @__PURE__
|
|
|
113
121
|
description: l.description,
|
|
114
122
|
"prices-from": l.fromPrice,
|
|
115
123
|
"to-date": l.toDate,
|
|
116
|
-
layout: e(
|
|
124
|
+
layout: e(ut).Event
|
|
117
125
|
}, {
|
|
118
126
|
description: f(() => [
|
|
119
|
-
|
|
127
|
+
ae(l.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
120
128
|
]),
|
|
121
129
|
action: f(() => [
|
|
122
130
|
t("div", {
|
|
@@ -125,7 +133,7 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Bt = /* @__PURE__
|
|
|
125
133
|
{ "no-selectable-people": l.useNumberOfProductsForPersons }
|
|
126
134
|
])
|
|
127
135
|
}, [
|
|
128
|
-
l.useNumberOfProductsForPersons ?
|
|
136
|
+
l.useNumberOfProductsForPersons ? c("", !0) : (o(), $(le, {
|
|
129
137
|
key: 0,
|
|
130
138
|
modelValue: D.value,
|
|
131
139
|
"onUpdate:modelValue": C[0] || (C[0] = (L) => D.value = L),
|
|
@@ -133,16 +141,16 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Bt = /* @__PURE__
|
|
|
133
141
|
icon: "users",
|
|
134
142
|
"icon-type": "fas",
|
|
135
143
|
"icon-placement": "label",
|
|
136
|
-
description: l.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${l.maxGuests} ${e(
|
|
144
|
+
description: l.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${l.maxGuests} ${e(rt)(e(n)("general.guests"))}` : void 0,
|
|
137
145
|
"min-value": 0,
|
|
138
146
|
"max-value": l.maxOnlineReservationLimit || l.maxGuests || e(b) || 1 / 0
|
|
139
147
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
140
|
-
t("div",
|
|
141
|
-
h(
|
|
148
|
+
t("div", Bt, [
|
|
149
|
+
h(ge, {
|
|
142
150
|
label: l.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
143
151
|
disabled: l.soldOut,
|
|
144
152
|
"is-loading": O.value,
|
|
145
|
-
"sub-label": e(
|
|
153
|
+
"sub-label": e(se)(e(P)),
|
|
146
154
|
onClickEvent: C[1] || (C[1] = (L) => l.type === "event" ? _() : N())
|
|
147
155
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
148
156
|
])
|
|
@@ -151,11 +159,11 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Bt = /* @__PURE__
|
|
|
151
159
|
_: 3
|
|
152
160
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
153
161
|
}
|
|
154
|
-
}),
|
|
155
|
-
const
|
|
162
|
+
}), Ne = /* @__PURE__ */ ue(Lt, [["__scopeId", "data-v-ce0428f4"]]), Ft = { class: "konnectio-event-listing-information-new" };
|
|
163
|
+
const Rt = {
|
|
156
164
|
key: 1,
|
|
157
165
|
class: "konnectio-pill-button"
|
|
158
|
-
},
|
|
166
|
+
}, Mt = { class: "konnectio-pill-button" }, Ut = /* @__PURE__ */ H({
|
|
159
167
|
__name: "Event",
|
|
160
168
|
props: {
|
|
161
169
|
name: {},
|
|
@@ -178,14 +186,14 @@ const Ft = {
|
|
|
178
186
|
callback: {}
|
|
179
187
|
},
|
|
180
188
|
setup(m) {
|
|
181
|
-
const n = m, { t: r } =
|
|
189
|
+
const n = m, { t: r } = re(), { hideEventLength: p } = U(ye()), b = ie(() => {
|
|
182
190
|
const i = n.length.split(":");
|
|
183
|
-
return
|
|
191
|
+
return Ct(
|
|
184
192
|
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
185
193
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
186
194
|
);
|
|
187
195
|
});
|
|
188
|
-
return (i, v) => (o(),
|
|
196
|
+
return (i, v) => (o(), $(Ne, {
|
|
189
197
|
"listing-id": i.listingId,
|
|
190
198
|
name: i.name,
|
|
191
199
|
description: i.description,
|
|
@@ -199,15 +207,15 @@ const Ft = {
|
|
|
199
207
|
callback: i.callback
|
|
200
208
|
}, {
|
|
201
209
|
description: f(() => [
|
|
202
|
-
i.description ? (o(),
|
|
210
|
+
i.description ? (o(), $(wt, {
|
|
203
211
|
key: 0,
|
|
204
212
|
text: i.description
|
|
205
|
-
}, null, 8, ["text"])) :
|
|
206
|
-
t("ul",
|
|
207
|
-
|
|
208
|
-
e(p) ?
|
|
213
|
+
}, null, 8, ["text"])) : c("", !0),
|
|
214
|
+
t("ul", Ft, [
|
|
215
|
+
c("", !0),
|
|
216
|
+
e(p) ? c("", !0) : (o(), d("li", Rt, [
|
|
209
217
|
t("div", null, [
|
|
210
|
-
h(
|
|
218
|
+
h(he, {
|
|
211
219
|
icon: "calendar-clock",
|
|
212
220
|
color: "header"
|
|
213
221
|
}),
|
|
@@ -215,22 +223,22 @@ const Ft = {
|
|
|
215
223
|
]),
|
|
216
224
|
t("span", null, a(b.value), 1)
|
|
217
225
|
])),
|
|
218
|
-
t("li",
|
|
226
|
+
t("li", Mt, [
|
|
219
227
|
t("div", null, [
|
|
220
|
-
h(
|
|
228
|
+
h(he, {
|
|
221
229
|
icon: "calendar-clock",
|
|
222
230
|
color: "header"
|
|
223
231
|
}),
|
|
224
232
|
t("span", null, a(e(r)("event.startAndEndTime")), 1)
|
|
225
233
|
]),
|
|
226
|
-
t("span", null, a(e(
|
|
234
|
+
t("span", null, a(e(dt)(i.timeFrom, i.timeTo)), 1)
|
|
227
235
|
])
|
|
228
236
|
])
|
|
229
237
|
]),
|
|
230
238
|
_: 1
|
|
231
239
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "callback"]));
|
|
232
240
|
}
|
|
233
|
-
}),
|
|
241
|
+
}), zt = /* @__PURE__ */ ue(Ut, [["__scopeId", "data-v-fe4489ed"]]), qt = /* @__PURE__ */ H({
|
|
234
242
|
__name: "Template",
|
|
235
243
|
props: {
|
|
236
244
|
name: {},
|
|
@@ -247,7 +255,7 @@ const Ft = {
|
|
|
247
255
|
callback: {}
|
|
248
256
|
},
|
|
249
257
|
setup(m) {
|
|
250
|
-
const n = m, r =
|
|
258
|
+
const n = m, r = ie(() => {
|
|
251
259
|
if (n.image)
|
|
252
260
|
return [{
|
|
253
261
|
large: n.image,
|
|
@@ -256,7 +264,7 @@ const Ft = {
|
|
|
256
264
|
url: n.image
|
|
257
265
|
}];
|
|
258
266
|
});
|
|
259
|
-
return (p, b) => (o(),
|
|
267
|
+
return (p, b) => (o(), $(Ne, {
|
|
260
268
|
"listing-id": p.listingId,
|
|
261
269
|
gallery: r.value,
|
|
262
270
|
name: p.name,
|
|
@@ -267,19 +275,19 @@ const Ft = {
|
|
|
267
275
|
callback: p.callback
|
|
268
276
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
269
277
|
}
|
|
270
|
-
}),
|
|
278
|
+
}), jt = { key: 0 }, Gt = { key: 1 }, Ht = { key: 2 }, Yt = { key: 3 }, Zt = { key: 4 }, Kt = { key: 5 }, Qt = { key: 6 }, Wt = { key: 7 }, xt = { key: 0 }, be = /* @__PURE__ */ H({
|
|
271
279
|
__name: "EventReservationForm",
|
|
272
280
|
props: {
|
|
273
281
|
showGiftCard: { type: Boolean, default: !1 },
|
|
274
282
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
275
283
|
},
|
|
276
284
|
setup(m) {
|
|
277
|
-
const { t: n } =
|
|
285
|
+
const { t: n } = re(), r = xe(), {
|
|
278
286
|
areListingsAvailable: p,
|
|
279
287
|
arrivalTime: b,
|
|
280
288
|
numberOfPeople: i,
|
|
281
289
|
numberOfRooms: v,
|
|
282
|
-
numberOfTotalDays:
|
|
290
|
+
numberOfTotalDays: P,
|
|
283
291
|
isTemplateEvent: u,
|
|
284
292
|
currentEventDate: g,
|
|
285
293
|
length: y,
|
|
@@ -291,13 +299,13 @@ const Ft = {
|
|
|
291
299
|
weekendFee: l,
|
|
292
300
|
roomUpgrade: C,
|
|
293
301
|
discountCode: L
|
|
294
|
-
} =
|
|
295
|
-
return (
|
|
302
|
+
} = U(G()), { totalAddonPrice: de, validateDiscountCode: ce } = G(), { currency: W, hideEventLength: me } = U(ye());
|
|
303
|
+
return (M, x) => (o(), $(Pt, {
|
|
296
304
|
"discount-code": e(L),
|
|
297
|
-
"onUpdate:discountCode":
|
|
305
|
+
"onUpdate:discountCode": x[0] || (x[0] = (z) => R(L) ? L.value = z : null),
|
|
298
306
|
"validate-discount-code": e(ce),
|
|
299
|
-
"show-gift-card":
|
|
300
|
-
"show-terms-notice":
|
|
307
|
+
"show-gift-card": M.showGiftCard,
|
|
308
|
+
"show-terms-notice": M.showTermsNotice,
|
|
301
309
|
"is-sidebar-loading": !e(p),
|
|
302
310
|
"base-price": e(N),
|
|
303
311
|
"total-price": e(_),
|
|
@@ -306,99 +314,99 @@ const Ft = {
|
|
|
306
314
|
notice: e(n)("event.reservationNotice")
|
|
307
315
|
}, Je({
|
|
308
316
|
form: f(() => [
|
|
309
|
-
|
|
317
|
+
ae(M.$slots, "form")
|
|
310
318
|
]),
|
|
311
319
|
"reservation-summary": f(() => [
|
|
312
|
-
e(u) ? (o(),
|
|
320
|
+
e(u) ? (o(), d("li", jt, [
|
|
313
321
|
t("span", null, a(e(n)("booking.reservation.arrival")), 1),
|
|
314
|
-
t("b", null, a(e(
|
|
315
|
-
])) :
|
|
316
|
-
e(u) ? (o(),
|
|
322
|
+
t("b", null, a(e(se)(e(E))), 1)
|
|
323
|
+
])) : c("", !0),
|
|
324
|
+
e(u) ? (o(), d("li", Gt, [
|
|
317
325
|
t("span", null, a(e(n)("booking.reservation.departure")), 1),
|
|
318
|
-
t("b", null, a(e(
|
|
319
|
-
])) :
|
|
320
|
-
e(u) ?
|
|
326
|
+
t("b", null, a(e(se)(e(E), e(P))), 1)
|
|
327
|
+
])) : c("", !0),
|
|
328
|
+
e(u) ? c("", !0) : (o(), d("li", Ht, [
|
|
321
329
|
t("span", null, a(e(n)("general.date")), 1),
|
|
322
|
-
t("b", null, a(e(
|
|
330
|
+
t("b", null, a(e(se)(e(g))), 1)
|
|
323
331
|
])),
|
|
324
|
-
e(i) > 0 ? (o(),
|
|
332
|
+
e(i) > 0 ? (o(), d("li", Yt, [
|
|
325
333
|
t("span", null, a(e(n)("event.numberOfGuests")), 1),
|
|
326
334
|
t("b", null, a(e(i)), 1)
|
|
327
|
-
])) :
|
|
328
|
-
e(u) ? (o(),
|
|
335
|
+
])) : c("", !0),
|
|
336
|
+
e(u) ? (o(), d("li", Zt, [
|
|
329
337
|
t("span", null, a(e(n)("event.numberOfRooms")), 1),
|
|
330
338
|
t("b", null, a(e(v)), 1)
|
|
331
|
-
])) :
|
|
332
|
-
e(u) ? (o(),
|
|
339
|
+
])) : c("", !0),
|
|
340
|
+
e(u) ? (o(), d("li", Kt, [
|
|
333
341
|
t("span", null, a(e(n)("event.numberOfDays")), 1),
|
|
334
|
-
t("b", null, a(e(
|
|
335
|
-
])) :
|
|
336
|
-
!e(u) && e(b) ? (o(),
|
|
342
|
+
t("b", null, a(e(P)), 1)
|
|
343
|
+
])) : c("", !0),
|
|
344
|
+
!e(u) && e(b) ? (o(), d("li", Qt, [
|
|
337
345
|
t("span", null, a(e(n)("event.startOfEvent")), 1),
|
|
338
|
-
t("b", null, a(e(
|
|
339
|
-
])) :
|
|
340
|
-
!e(u) && e(y) && !e(
|
|
346
|
+
t("b", null, a(e(ke)(e(b))), 1)
|
|
347
|
+
])) : c("", !0),
|
|
348
|
+
!e(u) && e(y) && !e(me) ? (o(), d("li", Wt, [
|
|
341
349
|
t("span", null, a(e(n)("event.lengthOfEvent")), 1),
|
|
342
|
-
t("b", null, a(e(
|
|
343
|
-
])) :
|
|
350
|
+
t("b", null, a(e(ke)(e(y))), 1)
|
|
351
|
+
])) : c("", !0)
|
|
344
352
|
]),
|
|
345
353
|
"price-summary": f(() => [
|
|
346
|
-
!e(u) && e(D) > 0 ? (o(),
|
|
354
|
+
!e(u) && e(D) > 0 ? (o(), d("li", xt, [
|
|
347
355
|
t("span", null, a(e(n)("booking.availability.basePrice")), 1),
|
|
348
|
-
t("b", null, a(e(
|
|
349
|
-
])) :
|
|
350
|
-
e(O) ? (o(!0),
|
|
351
|
-
t("span", null, a(e(n)("booking.reservation.addons")) + " - " + a(e(n)("booking.reservation.room")) + " #" + a(
|
|
352
|
-
t("b", null, a(e(
|
|
353
|
-
]))), 128)) :
|
|
356
|
+
t("b", null, a(e(j)(e(D), e(W))), 1)
|
|
357
|
+
])) : c("", !0),
|
|
358
|
+
e(O) ? (o(!0), d(F, { key: 1 }, q(e(O), ({ roomGroupId: z }, J) => (o(), d("li", { key: z }, [
|
|
359
|
+
t("span", null, a(e(n)("booking.reservation.addons")) + " - " + a(e(n)("booking.reservation.room")) + " #" + a(J + 1), 1),
|
|
360
|
+
t("b", null, a(e(j)(e(de)(z, J), e(W))), 1)
|
|
361
|
+
]))), 128)) : c("", !0)
|
|
354
362
|
]),
|
|
355
363
|
navigation: f(() => [
|
|
356
|
-
|
|
364
|
+
ae(M.$slots, "navigation")
|
|
357
365
|
]),
|
|
358
366
|
_: 2
|
|
359
367
|
}, [
|
|
360
368
|
e(r).sidebar ? {
|
|
361
369
|
name: "sidebar",
|
|
362
370
|
fn: f(() => [
|
|
363
|
-
|
|
371
|
+
ae(M.$slots, "sidebar")
|
|
364
372
|
]),
|
|
365
373
|
key: "0"
|
|
366
374
|
} : void 0
|
|
367
375
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
|
|
368
376
|
}
|
|
369
|
-
}), Jt = { class: "event-skeleton" },
|
|
377
|
+
}), Jt = { class: "event-skeleton" }, Xt = { class: "event-skeleton-content" }, en = { class: "event-skeleton-sidebar" }, tn = /* @__PURE__ */ H({
|
|
370
378
|
__name: "EventSkeleton",
|
|
371
379
|
setup(m) {
|
|
372
|
-
return (n, r) => (o(),
|
|
373
|
-
t("div", Kt, [
|
|
374
|
-
h(Ae)
|
|
375
|
-
]),
|
|
380
|
+
return (n, r) => (o(), d("div", Jt, [
|
|
376
381
|
t("div", Xt, [
|
|
377
|
-
|
|
382
|
+
h(Ie)
|
|
383
|
+
]),
|
|
384
|
+
t("div", en, [
|
|
385
|
+
c("", !0),
|
|
378
386
|
h($t)
|
|
379
387
|
])
|
|
380
388
|
]));
|
|
381
389
|
}
|
|
382
|
-
}),
|
|
390
|
+
}), nn = /* @__PURE__ */ ue(tn, [["__scopeId", "data-v-3e15c4e3"]]), Q = (m) => (et("data-v-2a75f76b"), m = m(), tt(), m), on = {
|
|
383
391
|
key: 0,
|
|
384
392
|
id: "konnectio-event-listings-wrapper"
|
|
385
393
|
};
|
|
386
|
-
const
|
|
387
|
-
const
|
|
394
|
+
const an = { class: "konnectio-event-listings" };
|
|
395
|
+
const ln = { class: "konnectio-event-listings" }, sn = {
|
|
388
396
|
key: 2,
|
|
389
397
|
class: "konnectio-panel"
|
|
390
|
-
},
|
|
398
|
+
}, rn = { class: "konnectio-panel" }, un = {
|
|
391
399
|
key: 0,
|
|
392
400
|
id: "konnectio-event-addons"
|
|
393
|
-
},
|
|
401
|
+
}, dn = { class: "konnectio-table with-lines" }, cn = /* @__PURE__ */ Q(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), mn = { class: "konnectio-event-addons-price" }, pn = /* @__PURE__ */ Q(() => /* @__PURE__ */ t("br", null, null, -1)), vn = { class: "konnectio-event-addons-input" }, fn = { class: "konnectio-event-addons-price" }, bn = /* @__PURE__ */ Q(() => /* @__PURE__ */ t("td", null, null, -1)), gn = /* @__PURE__ */ Q(() => /* @__PURE__ */ t("td", null, null, -1)), hn = { class: "konnectio-event-addons-price" }, kn = {
|
|
394
402
|
key: 1,
|
|
395
403
|
class: "konnectio-table with-lines"
|
|
396
|
-
},
|
|
404
|
+
}, yn = /* @__PURE__ */ Q(() => /* @__PURE__ */ t("thead", null, [
|
|
397
405
|
/* @__PURE__ */ t("tr", null, [
|
|
398
406
|
/* @__PURE__ */ t("th"),
|
|
399
407
|
/* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" })
|
|
400
408
|
])
|
|
401
|
-
], -1)),
|
|
409
|
+
], -1)), _n = { class: "konnectio-table-addons-information" }, wn = { key: 0 }, Pn = { class: "konnectio-table-addons-option" }, $n = ["onClick"], Dn = { class: "konnectio-panel" }, Vn = ["onClick"], En = /* @__PURE__ */ H({
|
|
402
410
|
name: "EventLayout",
|
|
403
411
|
__name: "Event",
|
|
404
412
|
props: {
|
|
@@ -408,13 +416,13 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
408
416
|
styling: {}
|
|
409
417
|
},
|
|
410
418
|
setup(m) {
|
|
411
|
-
const { t: n } =
|
|
419
|
+
const { t: n } = re(), {
|
|
412
420
|
addons: r,
|
|
413
421
|
products: p,
|
|
414
422
|
numberOfDays: b,
|
|
415
423
|
name: i,
|
|
416
424
|
phone: v,
|
|
417
|
-
email:
|
|
425
|
+
email: P,
|
|
418
426
|
remark: u,
|
|
419
427
|
allergies: g,
|
|
420
428
|
arrivalTime: y,
|
|
@@ -426,22 +434,22 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
426
434
|
getTemplateData: l,
|
|
427
435
|
getEventTableData: C,
|
|
428
436
|
hasProducts: L,
|
|
429
|
-
eventRateType:
|
|
437
|
+
eventRateType: de,
|
|
430
438
|
areListingsAvailable: ce,
|
|
431
|
-
isAvailabilityDataAvailable:
|
|
432
|
-
hasListingData:
|
|
433
|
-
isPaymentLoading:
|
|
434
|
-
isReservationFormFilled:
|
|
439
|
+
isAvailabilityDataAvailable: W,
|
|
440
|
+
hasListingData: me,
|
|
441
|
+
isPaymentLoading: M,
|
|
442
|
+
isReservationFormFilled: x,
|
|
435
443
|
requiresArrivalTime: z,
|
|
436
|
-
hasSelectedRequiredProducts:
|
|
437
|
-
} =
|
|
438
|
-
initialize:
|
|
439
|
-
fetchListings:
|
|
440
|
-
createBooking:
|
|
444
|
+
hasSelectedRequiredProducts: J
|
|
445
|
+
} = U(G()), { currency: X } = U(ye()), { eventDate: Ce, eventLocation: Be } = U($e()), { isValidRestaurantId: Le } = $e(), {
|
|
446
|
+
initialize: Fe,
|
|
447
|
+
fetchListings: Re,
|
|
448
|
+
createBooking: Me,
|
|
441
449
|
localAddonPrice: Ue,
|
|
442
|
-
totalAddonPrice:
|
|
443
|
-
reset:
|
|
444
|
-
} =
|
|
450
|
+
totalAddonPrice: ze,
|
|
451
|
+
reset: _e
|
|
452
|
+
} = G(), { display: pe } = Se(), qe = [
|
|
445
453
|
{
|
|
446
454
|
id: "availability",
|
|
447
455
|
label: n("booking.availability.title"),
|
|
@@ -467,266 +475,266 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
467
475
|
label: n("booking.confirmation.title"),
|
|
468
476
|
icon: "calendar-check"
|
|
469
477
|
}
|
|
470
|
-
],
|
|
478
|
+
], je = ie(() => {
|
|
471
479
|
const V = [];
|
|
472
480
|
return C.value && C.value.forEach((k) => {
|
|
473
481
|
V.push({
|
|
474
|
-
label:
|
|
482
|
+
label: ke(k.time),
|
|
475
483
|
value: k.time
|
|
476
484
|
});
|
|
477
485
|
}), V;
|
|
478
486
|
});
|
|
479
|
-
function
|
|
480
|
-
const V =
|
|
487
|
+
function Ge() {
|
|
488
|
+
const V = vt("hash-params", {
|
|
481
489
|
removeNullishValues: !0
|
|
482
490
|
}), k = parseInt(V.rid), I = V.d, T = parseInt(V.eid);
|
|
483
491
|
if (I)
|
|
484
|
-
if (
|
|
485
|
-
const
|
|
486
|
-
B >=
|
|
492
|
+
if (ft(I)) {
|
|
493
|
+
const S = new Date(I), B = S.setHours(12, 0, 0, 0), w = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
494
|
+
B >= w ? (Ce.value = S, V.d = void 0) : pe({
|
|
487
495
|
message: n("alert.error.invalidDateRange"),
|
|
488
496
|
type: "error"
|
|
489
497
|
});
|
|
490
498
|
} else
|
|
491
|
-
|
|
499
|
+
pe({
|
|
492
500
|
message: n("alert.error.wrongDateFormat"),
|
|
493
501
|
type: "error"
|
|
494
502
|
});
|
|
495
|
-
isNaN(k) || (
|
|
503
|
+
isNaN(k) || (Le(k) ? Be.value = k : pe({
|
|
496
504
|
message: n("alert.error.hotelIdNotFound"),
|
|
497
505
|
type: "error"
|
|
498
506
|
}));
|
|
499
507
|
let s;
|
|
500
|
-
isNaN(T) || (s = T),
|
|
508
|
+
isNaN(T) || (s = T), Re(s);
|
|
501
509
|
}
|
|
502
|
-
return (V, k) => (o(),
|
|
510
|
+
return (V, k) => (o(), $(pt, { styling: V.styling }, {
|
|
503
511
|
default: f(() => [
|
|
504
|
-
(o(),
|
|
512
|
+
(o(), $(Xe, { onResolve: Ge }, {
|
|
505
513
|
default: f(() => [
|
|
506
|
-
h(
|
|
514
|
+
h(yt, {
|
|
507
515
|
id: "konnectio-event-module",
|
|
508
516
|
"access-token": V.accessToken,
|
|
509
|
-
callback: e(
|
|
517
|
+
callback: e(Fe)
|
|
510
518
|
}, {
|
|
511
519
|
default: f(() => [
|
|
512
|
-
h(
|
|
520
|
+
h(Dt, { steps: qe }, {
|
|
513
521
|
availability: f(({ next: I }) => [
|
|
514
|
-
h(
|
|
522
|
+
h(be, null, {
|
|
515
523
|
sidebar: f(() => [
|
|
516
|
-
h(
|
|
524
|
+
h(It, {
|
|
517
525
|
redirection: !1,
|
|
518
526
|
"selected-location": Number(V.selectedLocation)
|
|
519
527
|
}, null, 8, ["selected-location"])
|
|
520
528
|
]),
|
|
521
529
|
form: f(() => [
|
|
522
|
-
e(
|
|
523
|
-
e(E) && V.onlyShow !== "templates" ? (o(),
|
|
524
|
-
|
|
525
|
-
t("ul",
|
|
526
|
-
(o(!0),
|
|
530
|
+
e(me) && e(ce) ? (o(), d("div", on, [
|
|
531
|
+
e(E) && V.onlyShow !== "templates" ? (o(), d(F, { key: 0 }, [
|
|
532
|
+
c("", !0),
|
|
533
|
+
t("ul", an, [
|
|
534
|
+
(o(!0), d(F, null, q(e(O), ({
|
|
527
535
|
id: T,
|
|
528
536
|
days: s,
|
|
529
|
-
name:
|
|
537
|
+
name: S,
|
|
530
538
|
timeFrom: B,
|
|
531
|
-
timeTo:
|
|
532
|
-
fromDate:
|
|
539
|
+
timeTo: w,
|
|
540
|
+
fromDate: A,
|
|
533
541
|
toDate: Y,
|
|
534
542
|
tableGroupId: Z,
|
|
535
|
-
description:
|
|
536
|
-
soldOut:
|
|
537
|
-
length:
|
|
538
|
-
images:
|
|
539
|
-
maxOnlineReservationLimit:
|
|
540
|
-
maxPaxPerReservation:
|
|
541
|
-
useNumberOfProductsForPersons:
|
|
542
|
-
}) => (o(),
|
|
543
|
+
description: ve,
|
|
544
|
+
soldOut: fe,
|
|
545
|
+
length: K,
|
|
546
|
+
images: He,
|
|
547
|
+
maxOnlineReservationLimit: Ye,
|
|
548
|
+
maxPaxPerReservation: Ze,
|
|
549
|
+
useNumberOfProductsForPersons: Ke
|
|
550
|
+
}) => (o(), $(zt, {
|
|
543
551
|
key: T,
|
|
544
552
|
type: "event",
|
|
545
553
|
"listing-id": T,
|
|
546
554
|
"table-group-id": Z,
|
|
547
|
-
description:
|
|
548
|
-
name:
|
|
549
|
-
length:
|
|
550
|
-
gallery:
|
|
555
|
+
description: ve,
|
|
556
|
+
name: S,
|
|
557
|
+
length: K,
|
|
558
|
+
gallery: He,
|
|
551
559
|
days: s,
|
|
552
|
-
"from-date":
|
|
560
|
+
"from-date": A,
|
|
553
561
|
"to-date": Y,
|
|
554
|
-
"max-online-reservation-limit":
|
|
562
|
+
"max-online-reservation-limit": Ze || Ye,
|
|
555
563
|
"time-from": B,
|
|
556
|
-
"time-to":
|
|
557
|
-
"sold-out":
|
|
558
|
-
"use-number-of-products-for-persons":
|
|
564
|
+
"time-to": w,
|
|
565
|
+
"sold-out": fe,
|
|
566
|
+
"use-number-of-products-for-persons": Ke,
|
|
559
567
|
callback: I
|
|
560
568
|
}, 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))
|
|
561
569
|
])
|
|
562
|
-
], 64)) :
|
|
563
|
-
e(D) && V.onlyShow !== "events" ? (o(),
|
|
564
|
-
|
|
565
|
-
t("ul",
|
|
566
|
-
(o(!0),
|
|
570
|
+
], 64)) : c("", !0),
|
|
571
|
+
e(D) && V.onlyShow !== "events" ? (o(), d(F, { key: 1 }, [
|
|
572
|
+
c("", !0),
|
|
573
|
+
t("ul", ln, [
|
|
574
|
+
(o(!0), d(F, null, q(e(N), ({
|
|
567
575
|
id: T,
|
|
568
576
|
name: s,
|
|
569
|
-
fromDate:
|
|
577
|
+
fromDate: S,
|
|
570
578
|
toDate: B,
|
|
571
|
-
minimumPersonCount:
|
|
572
|
-
fromPrice:
|
|
579
|
+
minimumPersonCount: w,
|
|
580
|
+
fromPrice: A,
|
|
573
581
|
description: Y,
|
|
574
582
|
imageUrl: Z
|
|
575
|
-
}) => (o(),
|
|
583
|
+
}) => (o(), $(qt, {
|
|
576
584
|
key: T,
|
|
577
585
|
"listing-id": T,
|
|
578
586
|
name: s,
|
|
579
587
|
image: Z,
|
|
580
588
|
description: Y,
|
|
581
|
-
"from-date":
|
|
589
|
+
"from-date": S,
|
|
582
590
|
"to-date": B,
|
|
583
|
-
"minimum-person-count":
|
|
584
|
-
fromPrice:
|
|
591
|
+
"minimum-person-count": w,
|
|
592
|
+
fromPrice: A,
|
|
585
593
|
callback: I
|
|
586
594
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
587
595
|
])
|
|
588
|
-
], 64)) :
|
|
589
|
-
!e(E) && !e(D) || !e(E) && V.onlyShow === "events" || !e(D) && V.onlyShow === "templates" ? (o(),
|
|
596
|
+
], 64)) : c("", !0),
|
|
597
|
+
!e(E) && !e(D) || !e(E) && V.onlyShow === "events" || !e(D) && V.onlyShow === "templates" ? (o(), d("div", sn, [
|
|
590
598
|
t("span", null, a(e(n)("event.nothingAvailable")), 1)
|
|
591
|
-
])) :
|
|
592
|
-
])) : (o(),
|
|
599
|
+
])) : c("", !0)
|
|
600
|
+
])) : (o(), $(Ie, { key: 1 }))
|
|
593
601
|
]),
|
|
594
602
|
_: 2
|
|
595
603
|
}, 1024)
|
|
596
604
|
]),
|
|
597
605
|
addons: f(({ next: I, prev: T }) => [
|
|
598
|
-
e(
|
|
606
|
+
e(W) ? (o(), $(be, { key: 0 }, {
|
|
599
607
|
form: f(() => [
|
|
600
|
-
t("form",
|
|
608
|
+
t("form", rn, [
|
|
601
609
|
t("h2", null, [
|
|
602
610
|
t("span", null, a(e(n)("event.selectProducts")), 1)
|
|
603
611
|
]),
|
|
604
|
-
e(l) && e(l).length > 0 ? (o(),
|
|
605
|
-
(o(!0),
|
|
612
|
+
e(l) && e(l).length > 0 ? (o(), d("ul", un, [
|
|
613
|
+
(o(!0), d(F, null, q(e(l), ({
|
|
606
614
|
roomGroupId: s,
|
|
607
|
-
addons:
|
|
615
|
+
addons: S,
|
|
608
616
|
adultPerRoom: B
|
|
609
|
-
},
|
|
617
|
+
}, w) => (o(), d("li", { key: s }, [
|
|
610
618
|
t("h5", null, [
|
|
611
|
-
t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(
|
|
612
|
-
|
|
613
|
-
h(
|
|
619
|
+
t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(w + 1), 1),
|
|
620
|
+
we(" ("),
|
|
621
|
+
h(he, {
|
|
614
622
|
icon: "male",
|
|
615
623
|
type: "fas",
|
|
616
624
|
color: "header"
|
|
617
625
|
}),
|
|
618
|
-
|
|
626
|
+
we(" " + a(B) + ") ", 1)
|
|
619
627
|
]),
|
|
620
|
-
t("table",
|
|
628
|
+
t("table", dn, [
|
|
621
629
|
t("thead", null, [
|
|
622
630
|
t("tr", null, [
|
|
623
631
|
t("th", null, [
|
|
624
632
|
t("span", null, a(e(n)("booking.reservation.addons")), 1)
|
|
625
633
|
]),
|
|
626
634
|
cn,
|
|
627
|
-
t("th",
|
|
635
|
+
t("th", mn, [
|
|
628
636
|
t("span", null, a(e(n)("booking.availability.price")), 1)
|
|
629
637
|
])
|
|
630
638
|
])
|
|
631
639
|
]),
|
|
632
640
|
t("tbody", null, [
|
|
633
|
-
(o(!0),
|
|
634
|
-
id:
|
|
641
|
+
(o(!0), d(F, null, q(S, ({
|
|
642
|
+
id: A,
|
|
635
643
|
cardinality: Y,
|
|
636
644
|
name: Z,
|
|
637
|
-
price:
|
|
638
|
-
quantityStrategy:
|
|
639
|
-
}) => (o(),
|
|
645
|
+
price: ve,
|
|
646
|
+
quantityStrategy: fe
|
|
647
|
+
}) => (o(), d("tr", { key: A }, [
|
|
640
648
|
t("td", null, [
|
|
641
649
|
t("b", null, a(Z), 1),
|
|
642
|
-
|
|
643
|
-
t("span", null, a(e(
|
|
650
|
+
pn,
|
|
651
|
+
t("span", null, a(e(j)(ve, e(X))) + " " + a(e(ct)(fe)), 1)
|
|
644
652
|
]),
|
|
645
|
-
t("td",
|
|
646
|
-
Y === 3 ? (o(),
|
|
653
|
+
t("td", vn, [
|
|
654
|
+
Y === 3 ? (o(), $(le, {
|
|
647
655
|
key: 0,
|
|
648
|
-
modelValue: e(r)[`${s}.${
|
|
649
|
-
"onUpdate:modelValue": (
|
|
656
|
+
modelValue: e(r)[`${s}.${A}.${w}`],
|
|
657
|
+
"onUpdate:modelValue": (K) => e(r)[`${s}.${A}.${w}`] = K,
|
|
650
658
|
small: !0,
|
|
651
659
|
"min-value": 0
|
|
652
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(),
|
|
660
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), $(Tt, {
|
|
653
661
|
key: 1,
|
|
654
|
-
modelValue: e(r)[`${s}.${
|
|
655
|
-
"onUpdate:modelValue": (
|
|
662
|
+
modelValue: e(r)[`${s}.${A}.${w}`],
|
|
663
|
+
"onUpdate:modelValue": (K) => e(r)[`${s}.${A}.${w}`] = K,
|
|
656
664
|
numeric: !0
|
|
657
665
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
658
666
|
]),
|
|
659
|
-
t("td",
|
|
660
|
-
t("span", null, a(e(
|
|
667
|
+
t("td", fn, [
|
|
668
|
+
t("span", null, a(e(j)(e(Ue)(A, s, w), e(X))), 1)
|
|
661
669
|
])
|
|
662
670
|
]))), 128))
|
|
663
671
|
]),
|
|
664
672
|
t("tfoot", null, [
|
|
665
673
|
t("tr", null, [
|
|
666
|
-
fn,
|
|
667
674
|
bn,
|
|
668
|
-
|
|
675
|
+
gn,
|
|
676
|
+
t("td", hn, [
|
|
669
677
|
t("u", null, [
|
|
670
|
-
t("span", null, a(e(
|
|
678
|
+
t("span", null, a(e(j)(e(ze)(s, w), e(X))), 1)
|
|
671
679
|
])
|
|
672
680
|
])
|
|
673
681
|
])
|
|
674
682
|
])
|
|
675
683
|
])
|
|
676
684
|
]))), 128))
|
|
677
|
-
])) :
|
|
678
|
-
e(L) ? (o(),
|
|
679
|
-
|
|
685
|
+
])) : c("", !0),
|
|
686
|
+
e(L) ? (o(), d("table", kn, [
|
|
687
|
+
yn,
|
|
680
688
|
t("tbody", null, [
|
|
681
|
-
(o(!0),
|
|
682
|
-
t("td",
|
|
689
|
+
(o(!0), d(F, null, q(e(_).products, ({ id: s, name: S, price: B, description: w }) => (o(), d("tr", { key: s }, [
|
|
690
|
+
t("td", _n, [
|
|
683
691
|
t("b", null, [
|
|
684
|
-
t("span", null, a(e(
|
|
692
|
+
t("span", null, a(e(De)(S)), 1)
|
|
685
693
|
]),
|
|
686
|
-
|
|
687
|
-
t("span", null, a(e(
|
|
694
|
+
w && w !== S ? (o(), d("span", wn, a(e(De)(w)), 1)) : c("", !0),
|
|
695
|
+
t("span", null, a(e(j)(B, e(X))), 1)
|
|
688
696
|
]),
|
|
689
697
|
t("td", Pn, [
|
|
690
|
-
h(
|
|
698
|
+
h(le, {
|
|
691
699
|
modelValue: e(p)[s],
|
|
692
|
-
"onUpdate:modelValue": (
|
|
700
|
+
"onUpdate:modelValue": (A) => e(p)[s] = A,
|
|
693
701
|
small: !0,
|
|
694
702
|
"min-value": 0
|
|
695
703
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
696
704
|
])
|
|
697
705
|
]))), 128))
|
|
698
706
|
])
|
|
699
|
-
])) :
|
|
707
|
+
])) : c("", !0)
|
|
700
708
|
])
|
|
701
709
|
]),
|
|
702
710
|
navigation: f(() => [
|
|
703
|
-
h(
|
|
711
|
+
h(ge, {
|
|
704
712
|
label: e(n)("event.startReservation"),
|
|
705
|
-
disabled: !e(
|
|
713
|
+
disabled: !e(J),
|
|
706
714
|
"full-width": "",
|
|
707
715
|
onClickEvent: I
|
|
708
716
|
}, null, 8, ["label", "disabled", "onClickEvent"]),
|
|
709
717
|
t("button", {
|
|
710
718
|
class: "konnectio-abort-reservation link",
|
|
711
|
-
onClick: Pe((s) => e(
|
|
719
|
+
onClick: Pe((s) => e(_e)(T), ["prevent"])
|
|
712
720
|
}, [
|
|
713
721
|
t("span", null, a(e(n)("general.goAStepBack")), 1)
|
|
714
722
|
], 8, $n)
|
|
715
723
|
]),
|
|
716
724
|
_: 2
|
|
717
|
-
}, 1024)) :
|
|
725
|
+
}, 1024)) : c("", !0)
|
|
718
726
|
]),
|
|
719
727
|
reservation: f(({ next: I, prev: T }) => [
|
|
720
|
-
h(
|
|
728
|
+
h(be, {
|
|
721
729
|
"show-terms-notice": !0,
|
|
722
730
|
"show-gift-card": !0
|
|
723
731
|
}, {
|
|
724
732
|
form: f(() => [
|
|
725
|
-
t("form",
|
|
733
|
+
t("form", Dn, [
|
|
726
734
|
t("h2", null, [
|
|
727
735
|
t("span", null, a(e(n)("booking.reservation.detailsTitle")), 1)
|
|
728
736
|
]),
|
|
729
|
-
h(
|
|
737
|
+
h(te, {
|
|
730
738
|
modelValue: e(i),
|
|
731
739
|
"onUpdate:modelValue": k[0] || (k[0] = (s) => R(i) ? i.value = s : null),
|
|
732
740
|
type: "text",
|
|
@@ -735,9 +743,9 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
735
743
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
736
744
|
required: ""
|
|
737
745
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
738
|
-
h(
|
|
739
|
-
modelValue: e(
|
|
740
|
-
"onUpdate:modelValue": k[1] || (k[1] = (s) => R(
|
|
746
|
+
h(te, {
|
|
747
|
+
modelValue: e(P),
|
|
748
|
+
"onUpdate:modelValue": k[1] || (k[1] = (s) => R(P) ? P.value = s : null),
|
|
741
749
|
label: e(n)("booking.reservation.email"),
|
|
742
750
|
type: "email",
|
|
743
751
|
name: "email",
|
|
@@ -746,7 +754,7 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
746
754
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
747
755
|
required: ""
|
|
748
756
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
749
|
-
h(
|
|
757
|
+
h(At, {
|
|
750
758
|
modelValue: e(v),
|
|
751
759
|
"onUpdate:modelValue": k[2] || (k[2] = (s) => R(v) ? v.value = s : null),
|
|
752
760
|
label: e(n)("booking.reservation.phone"),
|
|
@@ -754,24 +762,24 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
754
762
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
755
763
|
required: ""
|
|
756
764
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
757
|
-
e(z) ? (o(),
|
|
765
|
+
e(z) ? (o(), $(Vt, {
|
|
758
766
|
key: 0,
|
|
759
767
|
modelValue: e(y),
|
|
760
768
|
"onUpdate:modelValue": k[3] || (k[3] = (s) => R(y) ? y.value = s : null),
|
|
761
769
|
label: e(n)("event.selectArrivalTime"),
|
|
762
770
|
name: "eventTimeTable",
|
|
763
|
-
checkboxes:
|
|
771
|
+
checkboxes: je.value,
|
|
764
772
|
required: ""
|
|
765
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) :
|
|
766
|
-
e(
|
|
773
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
|
|
774
|
+
e(de) === e(mt).FullDayEvent ? (o(), $(le, {
|
|
767
775
|
key: 1,
|
|
768
776
|
modelValue: e(b),
|
|
769
777
|
"onUpdate:modelValue": k[4] || (k[4] = (s) => R(b) ? b.value = s : null),
|
|
770
778
|
label: e(n)("event.numberOfDays"),
|
|
771
779
|
"min-value": 1,
|
|
772
780
|
required: ""
|
|
773
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
774
|
-
h(
|
|
781
|
+
}, null, 8, ["modelValue", "label"])) : c("", !0),
|
|
782
|
+
h(te, {
|
|
775
783
|
modelValue: e(u),
|
|
776
784
|
"onUpdate:modelValue": k[5] || (k[5] = (s) => R(u) ? u.value = s : null),
|
|
777
785
|
type: "textarea",
|
|
@@ -779,7 +787,7 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
779
787
|
icon: "info-circle",
|
|
780
788
|
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
781
789
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
782
|
-
h(
|
|
790
|
+
h(te, {
|
|
783
791
|
modelValue: e(g),
|
|
784
792
|
"onUpdate:modelValue": k[6] || (k[6] = (s) => R(g) ? g.value = s : null),
|
|
785
793
|
type: "textarea",
|
|
@@ -790,19 +798,19 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
790
798
|
])
|
|
791
799
|
]),
|
|
792
800
|
navigation: f(() => [
|
|
793
|
-
h(
|
|
801
|
+
h(ge, {
|
|
794
802
|
label: e(n)("general.confirmReservation"),
|
|
795
|
-
"is-loading": e(
|
|
796
|
-
disabled: !e(
|
|
803
|
+
"is-loading": e(M),
|
|
804
|
+
disabled: !e(x),
|
|
797
805
|
"full-width": "",
|
|
798
|
-
onClickEvent: (s) => e(
|
|
806
|
+
onClickEvent: (s) => e(Me)(I)
|
|
799
807
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"]),
|
|
800
808
|
t("button", {
|
|
801
809
|
class: "konnectio-abort-reservation link",
|
|
802
|
-
onClick: Pe((s) => e(
|
|
810
|
+
onClick: Pe((s) => e(_e)(T), ["prevent"])
|
|
803
811
|
}, [
|
|
804
812
|
t("span", null, a(e(n)("general.goAStepBack")), 1)
|
|
805
|
-
], 8,
|
|
813
|
+
], 8, Vn)
|
|
806
814
|
]),
|
|
807
815
|
_: 2
|
|
808
816
|
}, 1024)
|
|
@@ -811,7 +819,7 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
811
819
|
h(St)
|
|
812
820
|
]),
|
|
813
821
|
confirmation: f(() => [
|
|
814
|
-
h(
|
|
822
|
+
h(Et, {
|
|
815
823
|
message: e(n)("event.confirmationMessage")
|
|
816
824
|
}, null, 8, ["message"])
|
|
817
825
|
]),
|
|
@@ -822,7 +830,7 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
822
830
|
}, 8, ["access-token", "callback"])
|
|
823
831
|
]),
|
|
824
832
|
fallback: f(() => [
|
|
825
|
-
h(
|
|
833
|
+
h(nn)
|
|
826
834
|
]),
|
|
827
835
|
_: 1
|
|
828
836
|
}))
|
|
@@ -830,8 +838,8 @@ const an = { class: "konnectio-event-listings" }, ln = {
|
|
|
830
838
|
_: 1
|
|
831
839
|
}, 8, ["styling"]));
|
|
832
840
|
}
|
|
833
|
-
}),
|
|
834
|
-
class
|
|
841
|
+
}), oe = /* @__PURE__ */ ue(En, [["__scopeId", "data-v-2a75f76b"]]), On = ot(), Tn = lt();
|
|
842
|
+
class An extends HTMLElement {
|
|
835
843
|
vueApp;
|
|
836
844
|
constructor() {
|
|
837
845
|
super();
|
|
@@ -840,7 +848,7 @@ class Tn extends HTMLElement {
|
|
|
840
848
|
this.vueApp.unmount();
|
|
841
849
|
}
|
|
842
850
|
connectedCallback() {
|
|
843
|
-
const n = typeof
|
|
851
|
+
const n = typeof oe == "function" ? oe.options : oe;
|
|
844
852
|
let r = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
845
853
|
const p = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (g, y) => (y ? "-" : "") + g.toLowerCase()), b = (u) => u.replace(/-./g, (g) => g[1].toUpperCase()), i = {};
|
|
846
854
|
r = r.map(p);
|
|
@@ -853,13 +861,13 @@ class Tn extends HTMLElement {
|
|
|
853
861
|
let g = this.attributes.getNamedItem(u)?.value;
|
|
854
862
|
v.hasOwnProperty(u) && (g = v[u]), i[u] = g;
|
|
855
863
|
}
|
|
856
|
-
this.vueApp =
|
|
857
|
-
const
|
|
858
|
-
this.vueApp.mount(
|
|
864
|
+
this.vueApp = nt(oe, i), st(this.vueApp), this.vueApp.provide("emitter", Tn), this.vueApp.use(at), this.vueApp.use(On), this.vueApp.use(Ot), this.vueApp.use(it), this.vueApp.use(bt, { bootstrap: !0 });
|
|
865
|
+
const P = document.createElement("div");
|
|
866
|
+
this.vueApp.mount(P), this.appendChild(P.children[0]);
|
|
859
867
|
}
|
|
860
868
|
}
|
|
861
|
-
window.customElements.define("konnectio-event",
|
|
869
|
+
window.customElements.define("konnectio-event", An);
|
|
862
870
|
export {
|
|
863
|
-
|
|
871
|
+
An as default
|
|
864
872
|
};
|
|
865
873
|
//# sourceMappingURL=event.js.map
|