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