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