@konnectio/core 4.0.76 → 4.0.78
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-CHwplij8.js → ActionField-D1AcDNUE.js} +3 -3
- package/dist/ActionField-D1AcDNUE.js.br +0 -0
- package/dist/{AvailabilitySkeleton-Cy0P6NKm.js → AvailabilitySkeleton-B0FWFnN6.js} +6 -6
- package/dist/AvailabilitySkeleton-B0FWFnN6.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DxsosH1C.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-JnSSHTkH.js} +2924 -2923
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-JnSSHTkH.js.br +0 -0
- package/dist/{CheckoutWindow-Bfhocd4F.js → CheckoutWindow-Cws4xlFh.js} +4 -4
- package/dist/CheckoutWindow-Cws4xlFh.js.br +0 -0
- package/dist/{ErrorMessage-CtXOviJv.js → ErrorMessage-B6BIQrJ8.js} +3 -3
- package/dist/ErrorMessage-B6BIQrJ8.js.br +0 -0
- package/dist/{EventAvailabilityForm-Bg2tNWol.js → EventAvailabilityForm-CTrHK6u8.js} +5 -5
- package/dist/EventAvailabilityForm-CTrHK6u8.js.br +0 -0
- package/dist/{Field-BHkztiL_.js → Field-BryEWVA8.js} +3 -3
- package/dist/Field-BryEWVA8.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BvjuCBue.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-ZheDrC_U.js} +7 -7
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-ZheDrC_U.js.br +0 -0
- package/dist/{TermsOfService-D7x_WeB9.js → TermsOfService-uJR7p5kw.js} +5 -5
- package/dist/TermsOfService-uJR7p5kw.js.br +0 -0
- package/dist/{_-5d7Am3XD.js → _-BxNIkTdg.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-2eVbpOnK.js → _.vue_vue_type_style_index_0_lang-BWlknM8U.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-BWlknM8U.js.br +0 -0
- package/dist/{_commonjsHelpers-B13T3-KN.js → _commonjsHelpers-DQdlNp0G.js} +2 -2
- package/dist/_commonjsHelpers-DQdlNp0G.js.br +0 -0
- package/dist/{_sentry-release-injection-file-Ckhbagwi.js → _sentry-release-injection-file-DkG7UTOK.js} +3 -3
- package/dist/_sentry-release-injection-file-DkG7UTOK.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 +132 -128
- 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-C3-VNyzx.js → giftCard-wJFR36fs.js} +4 -4
- package/dist/giftCard-wJFR36fs.js.br +0 -0
- package/dist/hotel.js +10 -10
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CqrNqwa8.js → masonry.plugin-u5HYEWAB.js} +13 -12
- package/dist/masonry.plugin-u5HYEWAB.js.br +0 -0
- package/dist/{mitt-BsDqRQVb.js → mitt-Cch9H-U-.js} +4 -4
- package/dist/mitt-Cch9H-U-.js.br +0 -0
- package/dist/polyfill.js +4812 -4798
- package/dist/polyfill.js.br +0 -0
- package/dist/{sentry-COtUucgq.js → sentry-CLKvKsmO.js} +2 -2
- package/dist/{style-BSS_jYVc.js → style-Dg684HOi.js} +2 -2
- package/dist/style-Dg684HOi.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +9 -9
- package/dist/ActionField-CHwplij8.js.br +0 -0
- package/dist/AvailabilitySkeleton-Cy0P6NKm.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DxsosH1C.js.br +0 -0
- package/dist/CheckoutWindow-Bfhocd4F.js.br +0 -0
- package/dist/ErrorMessage-CtXOviJv.js.br +0 -0
- package/dist/EventAvailabilityForm-Bg2tNWol.js.br +0 -0
- package/dist/Field-BHkztiL_.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BvjuCBue.js.br +0 -0
- package/dist/TermsOfService-D7x_WeB9.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-2eVbpOnK.js.br +0 -0
- package/dist/_commonjsHelpers-B13T3-KN.js.br +0 -0
- package/dist/_sentry-release-injection-file-Ckhbagwi.js.br +0 -0
- package/dist/giftCard-C3-VNyzx.js.br +0 -0
- package/dist/masonry.plugin-CqrNqwa8.js.br +0 -0
- package/dist/mitt-BsDqRQVb.js.br +0 -0
- package/dist/style-BSS_jYVc.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { d as Y, r as
|
|
2
|
-
import { u as se, s as q, c as
|
|
3
|
-
import { c as
|
|
4
|
-
import { a as Se, b as le, l as
|
|
5
|
-
import { G as
|
|
6
|
-
import { e as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { B as
|
|
9
|
-
import { C as
|
|
10
|
-
import { E as At } from "./EventAvailabilityForm-
|
|
1
|
+
import { d as Y, r as We, c as J, a, b as P, w as m, l as ae, u as e, e as t, i as d, f as v, n as Je, g as u, t as o, m as Xe, q as Ze, s as G, F as R, v as M, S as xe, x as _e, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-DkG7UTOK.js";
|
|
2
|
+
import { u as se, s as q, c as ot, l as at, i as lt, m as st } from "./mitt-Cch9H-U-.js";
|
|
3
|
+
import { c as it } from "./sentry-CLKvKsmO.js";
|
|
4
|
+
import { a as Se, b as le, l as rt, s as U, 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-ZheDrC_U.js";
|
|
5
|
+
import { G as gt } from "./style-Dg684HOi.js";
|
|
6
|
+
import { e as kt, c as ht, t as oe, g as $e, m as De, a as Ee, b as Ve, d as yt, f as Te, u as H } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-JnSSHTkH.js";
|
|
7
|
+
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-BWlknM8U.js";
|
|
8
|
+
import { B as Pt, _ as wt, R as $t, L as Ie, S as Dt, M as Et, C as Vt, T as Tt, V as Ot, a as St } from "./masonry.plugin-u5HYEWAB.js";
|
|
9
|
+
import { C as It, P as Nt, a as Bt } from "./CheckoutWindow-Cws4xlFh.js";
|
|
10
|
+
import { E as At } from "./EventAvailabilityForm-CTrHK6u8.js";
|
|
11
11
|
(function() {
|
|
12
12
|
try {
|
|
13
13
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
14
|
-
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "
|
|
14
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "5d3c07fb-dfdc-4ee3-915a-0ab71d5eec9f", c._sentryDebugIdIdentifier = "sentry-dbid-5d3c07fb-dfdc-4ee3-915a-0ab71d5eec9f");
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
17
|
})();
|
|
@@ -23,14 +23,14 @@ import { E as At } from "./EventAvailabilityForm-Bg2tNWol.js";
|
|
|
23
23
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
24
24
|
);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Ct(c) {
|
|
27
27
|
return (n) => {
|
|
28
28
|
const f = (c ? Math[c] : Math.trunc)(n);
|
|
29
29
|
return f === 0 ? 0 : f;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
const f =
|
|
32
|
+
function Lt(c, n, i) {
|
|
33
|
+
const f = yt(), g = i?.locale ?? f.locale ?? kt, r = ht(c, n);
|
|
34
34
|
if (isNaN(r))
|
|
35
35
|
throw new RangeError("Invalid time value");
|
|
36
36
|
const h = Object.assign({}, i, {
|
|
@@ -39,9 +39,9 @@ function Ct(c, n, i) {
|
|
|
39
39
|
});
|
|
40
40
|
let E, p;
|
|
41
41
|
r > 0 ? (E = oe(n), p = oe(c)) : (E = oe(c), p = oe(n));
|
|
42
|
-
const w =
|
|
42
|
+
const w = Ct(i?.roundingMethod ?? "round"), V = p.getTime() - E.getTime(), _ = V / Te, $ = $e(p) - $e(E), T = (V - $) / Te, B = i?.unit;
|
|
43
43
|
let k;
|
|
44
|
-
if (
|
|
44
|
+
if (B ? k = B : _ < 1 ? k = "second" : _ < 60 ? k = "minute" : _ < De ? k = "hour" : T < Ee ? k = "day" : T < Ve ? k = "month" : k = "year", k === "second") {
|
|
45
45
|
const l = w(V / 1e3);
|
|
46
46
|
return g.formatDistance("xSeconds", l, h);
|
|
47
47
|
} else if (k === "minute") {
|
|
@@ -55,13 +55,13 @@ function Ct(c, n, i) {
|
|
|
55
55
|
return g.formatDistance("xDays", l, h);
|
|
56
56
|
} else if (k === "month") {
|
|
57
57
|
const l = w(T / Ee);
|
|
58
|
-
return l === 12 &&
|
|
58
|
+
return l === 12 && B !== "month" ? g.formatDistance("xYears", 1, h) : g.formatDistance("xMonths", l, h);
|
|
59
59
|
} else {
|
|
60
60
|
const l = w(T / Ve);
|
|
61
61
|
return g.formatDistance("xYears", l, h);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
const
|
|
64
|
+
const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__ */ Y({
|
|
65
65
|
__name: "_",
|
|
66
66
|
props: {
|
|
67
67
|
name: {},
|
|
@@ -95,7 +95,7 @@ const Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
95
95
|
getTemplateAvailability: w,
|
|
96
96
|
getEventAvailability: V,
|
|
97
97
|
isEventListingLoading: _
|
|
98
|
-
} = H(), $ =
|
|
98
|
+
} = H(), $ = We(0), T = J(() => _(i.listingId)), B = () => {
|
|
99
99
|
if (!i.useNumberOfProductsForPersons && $.value === 0) {
|
|
100
100
|
f({
|
|
101
101
|
type: "error",
|
|
@@ -114,7 +114,7 @@ const Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
114
114
|
}
|
|
115
115
|
h.value = i.listingId, p.value = i.tableGroupId, r.value = $.value, V(i.callback);
|
|
116
116
|
};
|
|
117
|
-
return (l,
|
|
117
|
+
return (l, A) => (a(), P(Pt, {
|
|
118
118
|
type: "event",
|
|
119
119
|
"listing-id": l.listingId,
|
|
120
120
|
gallery: l.gallery,
|
|
@@ -122,14 +122,14 @@ const Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
122
122
|
description: l.description,
|
|
123
123
|
"prices-from": l.fromPrice,
|
|
124
124
|
"to-date": l.toDate,
|
|
125
|
-
layout: e(
|
|
125
|
+
layout: e(ut).Event
|
|
126
126
|
}, {
|
|
127
127
|
description: m(() => [
|
|
128
128
|
ae(l.$slots, "description", { maxNumberOfPeople: e(g) }, void 0, !0)
|
|
129
129
|
]),
|
|
130
130
|
action: m(() => [
|
|
131
131
|
t("div", {
|
|
132
|
-
class:
|
|
132
|
+
class: Je([
|
|
133
133
|
"konnectio-event-listing-action",
|
|
134
134
|
{ "no-selectable-people": l.useNumberOfProductsForPersons }
|
|
135
135
|
])
|
|
@@ -137,23 +137,23 @@ const Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
137
137
|
l.useNumberOfProductsForPersons ? d("", !0) : (a(), P(le, {
|
|
138
138
|
key: 0,
|
|
139
139
|
modelValue: $.value,
|
|
140
|
-
"onUpdate:modelValue":
|
|
140
|
+
"onUpdate:modelValue": A[0] || (A[0] = (L) => $.value = L),
|
|
141
141
|
label: e(n)("event.numberOfGuests"),
|
|
142
142
|
icon: "users",
|
|
143
143
|
"icon-type": "fas",
|
|
144
144
|
"icon-placement": "label",
|
|
145
|
-
description: l.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${l.maxGuests} ${e(
|
|
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
147
|
"max-value": l.maxOnlineReservationLimit || l.maxGuests || e(g) || 1 / 0
|
|
148
148
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
149
|
-
t("div",
|
|
149
|
+
t("div", Ft, [
|
|
150
150
|
v(be, {
|
|
151
151
|
label: l.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
152
152
|
disabled: l.soldOut,
|
|
153
153
|
"is-loading": T.value,
|
|
154
154
|
"full-width": "",
|
|
155
155
|
"sub-label": e(U)(e(E)),
|
|
156
|
-
onClickEvent:
|
|
156
|
+
onClickEvent: A[1] || (A[1] = (L) => l.type === "event" ? k() : B())
|
|
157
157
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
158
158
|
])
|
|
159
159
|
], 2)
|
|
@@ -161,11 +161,11 @@ const Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
161
161
|
_: 3
|
|
162
162
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
163
163
|
}
|
|
164
|
-
}), Ne = /* @__PURE__ */ ie(
|
|
165
|
-
const
|
|
164
|
+
}), Ne = /* @__PURE__ */ ie(Rt, [["__scopeId", "data-v-ef9fea04"]]), Mt = { class: "konnectio-event-listing-information-new" };
|
|
165
|
+
const Ut = {
|
|
166
166
|
key: 1,
|
|
167
167
|
class: "konnectio-pill-button"
|
|
168
|
-
},
|
|
168
|
+
}, qt = { class: "konnectio-pill-button" }, zt = /* @__PURE__ */ Y({
|
|
169
169
|
__name: "Event",
|
|
170
170
|
props: {
|
|
171
171
|
name: {},
|
|
@@ -190,7 +190,7 @@ const Mt = {
|
|
|
190
190
|
setup(c) {
|
|
191
191
|
const n = c, { t: i } = se(), { hideEventLength: f } = q(he()), g = J(() => {
|
|
192
192
|
const r = n.length.split(":");
|
|
193
|
-
return
|
|
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
|
);
|
|
@@ -209,13 +209,13 @@ const Mt = {
|
|
|
209
209
|
callback: r.callback
|
|
210
210
|
}, {
|
|
211
211
|
description: m(() => [
|
|
212
|
-
r.description ? (a(), P(
|
|
212
|
+
r.description ? (a(), P(wt, {
|
|
213
213
|
key: 0,
|
|
214
214
|
text: r.description
|
|
215
215
|
}, null, 8, ["text"])) : d("", !0),
|
|
216
|
-
t("ul",
|
|
216
|
+
t("ul", Mt, [
|
|
217
217
|
d("", !0),
|
|
218
|
-
e(f) ? d("", !0) : (a(), u("li",
|
|
218
|
+
e(f) ? d("", !0) : (a(), u("li", Ut, [
|
|
219
219
|
t("div", null, [
|
|
220
220
|
v(ge, {
|
|
221
221
|
icon: "calendar-clock",
|
|
@@ -225,7 +225,7 @@ const Mt = {
|
|
|
225
225
|
]),
|
|
226
226
|
t("span", null, o(g.value), 1)
|
|
227
227
|
])),
|
|
228
|
-
t("li",
|
|
228
|
+
t("li", qt, [
|
|
229
229
|
t("div", null, [
|
|
230
230
|
v(ge, {
|
|
231
231
|
icon: "calendar-clock",
|
|
@@ -233,14 +233,14 @@ const Mt = {
|
|
|
233
233
|
}),
|
|
234
234
|
t("span", null, o(e(i)("event.startAndEndTime")), 1)
|
|
235
235
|
]),
|
|
236
|
-
t("span", null, o(e(
|
|
236
|
+
t("span", null, o(e(dt)(r.timeFrom, r.timeTo)), 1)
|
|
237
237
|
])
|
|
238
238
|
])
|
|
239
239
|
]),
|
|
240
240
|
_: 1
|
|
241
241
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "callback"]));
|
|
242
242
|
}
|
|
243
|
-
}),
|
|
243
|
+
}), Gt = /* @__PURE__ */ ie(zt, [["__scopeId", "data-v-fe4489ed"]]), jt = /* @__PURE__ */ Y({
|
|
244
244
|
__name: "Template",
|
|
245
245
|
props: {
|
|
246
246
|
name: {},
|
|
@@ -277,7 +277,7 @@ const Mt = {
|
|
|
277
277
|
callback: f.callback
|
|
278
278
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
279
279
|
}
|
|
280
|
-
}),
|
|
280
|
+
}), Ht = { key: 0 }, Yt = { key: 1 }, Kt = { key: 2 }, Qt = { key: 3 }, Wt = { key: 4 }, Jt = { key: 5 }, Xt = { key: 6 }, Zt = { key: 7 }, xt = { key: 0 }, en = { key: 0 }, tn = { key: 1 }, nn = { key: 2 }, fe = /* @__PURE__ */ Y({
|
|
281
281
|
__name: "EventReservationForm",
|
|
282
282
|
props: {
|
|
283
283
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -285,7 +285,7 @@ const Mt = {
|
|
|
285
285
|
prevCallback: {}
|
|
286
286
|
},
|
|
287
287
|
setup(c) {
|
|
288
|
-
const { t: n } = se(), i =
|
|
288
|
+
const { t: n } = se(), i = Xe(), {
|
|
289
289
|
areListingsAvailable: f,
|
|
290
290
|
arrivalTime: g,
|
|
291
291
|
numberOfPeople: r,
|
|
@@ -297,65 +297,65 @@ const Mt = {
|
|
|
297
297
|
fromDate: _,
|
|
298
298
|
tableBasePrice: $,
|
|
299
299
|
getTemplateData: T,
|
|
300
|
-
basePrice:
|
|
300
|
+
basePrice: B,
|
|
301
301
|
totalPrice: k,
|
|
302
302
|
weekendFee: l,
|
|
303
|
-
roomUpgrade:
|
|
303
|
+
roomUpgrade: A,
|
|
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($t, {
|
|
307
307
|
"discount-code": e(L),
|
|
308
308
|
"onUpdate:discountCode": Z[0] || (Z[0] = (z) => M(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(
|
|
313
|
+
"base-price": e(B),
|
|
314
314
|
"total-price": e(k),
|
|
315
315
|
"weekend-fee": e(l),
|
|
316
|
-
"room-upgrade": e(
|
|
316
|
+
"room-upgrade": e(A),
|
|
317
317
|
notice: e(n)("event.reservationNotice"),
|
|
318
318
|
"prev-callback": F.prevCallback
|
|
319
|
-
},
|
|
319
|
+
}, Ze({
|
|
320
320
|
form: m(() => [
|
|
321
321
|
ae(F.$slots, "form")
|
|
322
322
|
]),
|
|
323
323
|
"reservation-summary": m(() => [
|
|
324
|
-
e(p) ? (a(), u("li",
|
|
324
|
+
e(p) ? (a(), u("li", Ht, [
|
|
325
325
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
326
326
|
t("b", null, o(e(U)(e(_))), 1)
|
|
327
327
|
])) : d("", !0),
|
|
328
|
-
e(p) ? (a(), u("li",
|
|
328
|
+
e(p) ? (a(), u("li", Yt, [
|
|
329
329
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
330
330
|
t("b", null, o(e(U)(e(_), e(E))), 1)
|
|
331
331
|
])) : d("", !0),
|
|
332
|
-
e(p) ? d("", !0) : (a(), u("li",
|
|
332
|
+
e(p) ? d("", !0) : (a(), u("li", Kt, [
|
|
333
333
|
t("span", null, o(e(n)("general.date")), 1),
|
|
334
334
|
t("b", null, o(e(U)(e(w))), 1)
|
|
335
335
|
])),
|
|
336
|
-
e(r) > 0 ? (a(), u("li",
|
|
336
|
+
e(r) > 0 ? (a(), u("li", Qt, [
|
|
337
337
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
338
338
|
t("b", null, o(e(r)), 1)
|
|
339
339
|
])) : d("", !0),
|
|
340
|
-
e(p) ? (a(), u("li",
|
|
340
|
+
e(p) ? (a(), u("li", Wt, [
|
|
341
341
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
342
342
|
t("b", null, o(e(h)), 1)
|
|
343
343
|
])) : d("", !0),
|
|
344
|
-
e(p) ? (a(), u("li",
|
|
344
|
+
e(p) ? (a(), u("li", Jt, [
|
|
345
345
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
346
346
|
t("b", null, o(e(E)), 1)
|
|
347
347
|
])) : d("", !0),
|
|
348
|
-
!e(p) && e(g) ? (a(), u("li",
|
|
348
|
+
!e(p) && e(g) ? (a(), u("li", Xt, [
|
|
349
349
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
350
350
|
t("b", null, o(e(ke)(e(g))), 1)
|
|
351
351
|
])) : d("", !0),
|
|
352
|
-
!e(p) && e(V) && !e(ce) ? (a(), u("li",
|
|
352
|
+
!e(p) && e(V) && !e(ce) ? (a(), u("li", Zt, [
|
|
353
353
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
354
354
|
t("b", null, o(e(ke)(e(V))), 1)
|
|
355
355
|
])) : d("", !0)
|
|
356
356
|
]),
|
|
357
357
|
"price-summary": m(() => [
|
|
358
|
-
!e(p) && e($) > 0 ? (a(), u("li",
|
|
358
|
+
!e(p) && e($) > 0 ? (a(), u("li", xt, [
|
|
359
359
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
360
360
|
t("b", null, o(e(j)(e($), e(X))), 1)
|
|
361
361
|
])) : d("", !0),
|
|
@@ -368,15 +368,15 @@ const Mt = {
|
|
|
368
368
|
ae(F.$slots, "navigation")
|
|
369
369
|
]),
|
|
370
370
|
"mobile-under-price": m(() => [
|
|
371
|
-
e(p) ? (a(), u("div",
|
|
371
|
+
e(p) ? (a(), u("div", en, [
|
|
372
372
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
373
373
|
t("b", null, o(e(U)(e(_))), 1)
|
|
374
374
|
])) : d("", !0),
|
|
375
|
-
e(p) ? (a(), u("li",
|
|
375
|
+
e(p) ? (a(), u("li", tn, [
|
|
376
376
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
377
377
|
t("b", null, o(e(U)(e(_), e(E))), 1)
|
|
378
378
|
])) : d("", !0),
|
|
379
|
-
e(p) ? d("", !0) : (a(), u("div",
|
|
379
|
+
e(p) ? d("", !0) : (a(), u("div", nn, [
|
|
380
380
|
t("span", null, o(e(U)(e(w))), 1)
|
|
381
381
|
]))
|
|
382
382
|
]),
|
|
@@ -391,34 +391,34 @@ const Mt = {
|
|
|
391
391
|
} : void 0
|
|
392
392
|
]), 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
393
|
}
|
|
394
|
-
}),
|
|
394
|
+
}), on = { class: "event-skeleton" }, an = { class: "event-skeleton-content" }, ln = { class: "event-skeleton-sidebar" }, sn = /* @__PURE__ */ Y({
|
|
395
395
|
__name: "EventSkeleton",
|
|
396
396
|
setup(c) {
|
|
397
|
-
return (n, i) => (a(), u("div",
|
|
398
|
-
t("div",
|
|
397
|
+
return (n, i) => (a(), u("div", on, [
|
|
398
|
+
t("div", an, [
|
|
399
399
|
v(Ie)
|
|
400
400
|
]),
|
|
401
|
-
t("div",
|
|
401
|
+
t("div", ln, [
|
|
402
402
|
d("", !0),
|
|
403
|
-
v(
|
|
403
|
+
v(Dt)
|
|
404
404
|
])
|
|
405
405
|
]));
|
|
406
406
|
}
|
|
407
|
-
}),
|
|
407
|
+
}), rn = /* @__PURE__ */ ie(sn, [["__scopeId", "data-v-3e15c4e3"]]), re = (c) => (et("data-v-9fc730cd"), c = c(), tt(), c), un = {
|
|
408
408
|
key: 0,
|
|
409
409
|
id: "konnectio-event-listings-wrapper"
|
|
410
410
|
};
|
|
411
|
-
const
|
|
412
|
-
const
|
|
411
|
+
const dn = { class: "konnectio-event-listings" };
|
|
412
|
+
const cn = { class: "konnectio-event-listings" }, mn = {
|
|
413
413
|
key: 2,
|
|
414
414
|
class: "konnectio-panel"
|
|
415
|
-
},
|
|
415
|
+
}, pn = { class: "konnectio-panel" }, vn = {
|
|
416
416
|
key: 0,
|
|
417
417
|
id: "konnectio-event-addons"
|
|
418
|
-
},
|
|
418
|
+
}, fn = { class: "konnectio-table with-lines" }, bn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), gn = { class: "konnectio-event-addons-price" }, kn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("br", null, null, -1)), hn = { class: "konnectio-event-addons-input" }, yn = { class: "konnectio-event-addons-price" }, _n = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), Pn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), wn = { class: "konnectio-event-addons-price" }, $n = {
|
|
419
419
|
key: 1,
|
|
420
420
|
class: "konnectio-table with-lines"
|
|
421
|
-
},
|
|
421
|
+
}, Dn = { class: "konnectio-table-addons-information" }, En = { key: 0 }, Vn = { class: "konnectio-table-addons-option" }, Tn = { class: "konnectio-panel" }, On = /* @__PURE__ */ Y({
|
|
422
422
|
name: "EventLayout",
|
|
423
423
|
__name: "Event",
|
|
424
424
|
props: {
|
|
@@ -441,10 +441,10 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
441
441
|
hasEvents: _,
|
|
442
442
|
hasTemplates: $,
|
|
443
443
|
getEvents: T,
|
|
444
|
-
getTemplates:
|
|
444
|
+
getTemplates: B,
|
|
445
445
|
getEventData: k,
|
|
446
446
|
getTemplateData: l,
|
|
447
|
-
getEventTableData:
|
|
447
|
+
getEventTableData: A,
|
|
448
448
|
hasProducts: L,
|
|
449
449
|
eventRateType: ue,
|
|
450
450
|
areListingsAvailable: de,
|
|
@@ -454,14 +454,15 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
454
454
|
isReservationFormFilled: Z,
|
|
455
455
|
requiresArrivalTime: z,
|
|
456
456
|
hasSelectedRequiredProducts: x
|
|
457
|
-
} = q(H()), { currency: ee } = q(he()), { eventDate:
|
|
457
|
+
} = q(H()), { currency: ee } = q(he()), { eventDate: Be, eventLocation: Ae } = q(Pe()), { isValidRestaurantId: Ce } = Pe(), {
|
|
458
458
|
initialize: Le,
|
|
459
459
|
fetchListings: Fe,
|
|
460
460
|
createBooking: Re,
|
|
461
461
|
localAddonPrice: Me,
|
|
462
462
|
totalAddonPrice: Ue,
|
|
463
|
-
reset:
|
|
464
|
-
|
|
463
|
+
reset: qe,
|
|
464
|
+
goBack: ye
|
|
465
|
+
} = H(), { display: me } = Se(), ze = J(() => [
|
|
465
466
|
{
|
|
466
467
|
id: "availability",
|
|
467
468
|
label: n("booking.availability.title"),
|
|
@@ -487,23 +488,23 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
487
488
|
label: n("booking.confirmation.title"),
|
|
488
489
|
icon: "calendar-check"
|
|
489
490
|
}
|
|
490
|
-
]),
|
|
491
|
+
]), Ge = J(() => {
|
|
491
492
|
const D = [];
|
|
492
|
-
return
|
|
493
|
+
return A.value && A.value.forEach((b) => {
|
|
493
494
|
D.push({
|
|
494
495
|
label: ke(b.time),
|
|
495
496
|
value: b.time
|
|
496
497
|
});
|
|
497
498
|
}), D;
|
|
498
499
|
});
|
|
499
|
-
function
|
|
500
|
-
const D =
|
|
500
|
+
function je() {
|
|
501
|
+
const D = vt("history", {
|
|
501
502
|
removeNullishValues: !0
|
|
502
503
|
}), b = parseInt(D.rid), N = D.d, O = parseInt(D.eid);
|
|
503
504
|
if (N)
|
|
504
|
-
if (
|
|
505
|
+
if (ft(N)) {
|
|
505
506
|
const I = new Date(N), C = I.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
506
|
-
C >= y ? (
|
|
507
|
+
C >= y ? (Be.value = I, D.d = void 0) : me({
|
|
507
508
|
message: n("alert.error.invalidDateRange"),
|
|
508
509
|
type: "error"
|
|
509
510
|
});
|
|
@@ -512,24 +513,27 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
512
513
|
message: n("alert.error.wrongDateFormat"),
|
|
513
514
|
type: "error"
|
|
514
515
|
});
|
|
515
|
-
isNaN(b) || (Ce(b) ?
|
|
516
|
+
isNaN(b) || (Ce(b) ? Ae.value = b : me({
|
|
516
517
|
message: n("alert.error.hotelIdNotFound"),
|
|
517
518
|
type: "error"
|
|
518
519
|
}));
|
|
519
520
|
let s;
|
|
520
521
|
isNaN(O) || (s = O), Fe(s);
|
|
521
522
|
}
|
|
522
|
-
return (D, b) => (a(), P(
|
|
523
|
+
return (D, b) => (a(), P(pt, { styling: D.styling }, {
|
|
523
524
|
default: m(() => [
|
|
524
|
-
(a(), P(
|
|
525
|
+
(a(), P(xe, { onResolve: je }, {
|
|
525
526
|
default: m(() => [
|
|
526
|
-
v(
|
|
527
|
+
v(_t, {
|
|
527
528
|
id: "konnectio-event-module",
|
|
528
529
|
"access-token": D.accessToken,
|
|
529
530
|
callback: e(Le)
|
|
530
531
|
}, {
|
|
531
532
|
default: m(() => [
|
|
532
|
-
v(
|
|
533
|
+
v(Et, {
|
|
534
|
+
steps: ze.value,
|
|
535
|
+
onReset: e(qe)
|
|
536
|
+
}, {
|
|
533
537
|
availability: m(({ next: N }) => [
|
|
534
538
|
v(fe, null, {
|
|
535
539
|
sidebar: m(() => [
|
|
@@ -539,10 +543,10 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
539
543
|
}, null, 8, ["selected-location"])
|
|
540
544
|
]),
|
|
541
545
|
form: m(() => [
|
|
542
|
-
e(ce) && e(de) ? (a(), u("div",
|
|
546
|
+
e(ce) && e(de) ? (a(), u("div", un, [
|
|
543
547
|
e(_) && D.onlyShow !== "templates" ? (a(), u(R, { key: 0 }, [
|
|
544
548
|
d("", !0),
|
|
545
|
-
t("ul",
|
|
549
|
+
t("ul", dn, [
|
|
546
550
|
(a(!0), u(R, null, G(e(T), ({
|
|
547
551
|
id: O,
|
|
548
552
|
days: s,
|
|
@@ -555,11 +559,11 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
555
559
|
description: pe,
|
|
556
560
|
soldOut: ve,
|
|
557
561
|
length: W,
|
|
558
|
-
images:
|
|
559
|
-
maxOnlineReservationLimit:
|
|
560
|
-
maxPaxPerReservation:
|
|
561
|
-
useNumberOfProductsForPersons:
|
|
562
|
-
}) => (a(), P(
|
|
562
|
+
images: He,
|
|
563
|
+
maxOnlineReservationLimit: Ye,
|
|
564
|
+
maxPaxPerReservation: Ke,
|
|
565
|
+
useNumberOfProductsForPersons: Qe
|
|
566
|
+
}) => (a(), P(Gt, {
|
|
563
567
|
key: O,
|
|
564
568
|
type: "event",
|
|
565
569
|
"listing-id": O,
|
|
@@ -567,23 +571,23 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
567
571
|
description: pe,
|
|
568
572
|
name: I,
|
|
569
573
|
length: W,
|
|
570
|
-
gallery:
|
|
574
|
+
gallery: He,
|
|
571
575
|
days: s,
|
|
572
576
|
"from-date": S,
|
|
573
577
|
"to-date": K,
|
|
574
|
-
"max-online-reservation-limit":
|
|
578
|
+
"max-online-reservation-limit": Ke || Ye,
|
|
575
579
|
"time-from": C,
|
|
576
580
|
"time-to": y,
|
|
577
581
|
"sold-out": ve,
|
|
578
|
-
"use-number-of-products-for-persons":
|
|
582
|
+
"use-number-of-products-for-persons": Qe,
|
|
579
583
|
callback: N
|
|
580
584
|
}, 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))
|
|
581
585
|
])
|
|
582
586
|
], 64)) : d("", !0),
|
|
583
587
|
e($) && D.onlyShow !== "events" ? (a(), u(R, { key: 1 }, [
|
|
584
588
|
d("", !0),
|
|
585
|
-
t("ul",
|
|
586
|
-
(a(!0), u(R, null, G(e(
|
|
589
|
+
t("ul", cn, [
|
|
590
|
+
(a(!0), u(R, null, G(e(B), ({
|
|
587
591
|
id: O,
|
|
588
592
|
name: s,
|
|
589
593
|
fromDate: I,
|
|
@@ -592,7 +596,7 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
592
596
|
fromPrice: S,
|
|
593
597
|
description: K,
|
|
594
598
|
imageUrl: Q
|
|
595
|
-
}) => (a(), P(
|
|
599
|
+
}) => (a(), P(jt, {
|
|
596
600
|
key: O,
|
|
597
601
|
"listing-id": O,
|
|
598
602
|
name: s,
|
|
@@ -606,7 +610,7 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
606
610
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
607
611
|
])
|
|
608
612
|
], 64)) : d("", !0),
|
|
609
|
-
!e(_) && !e($) || !e(_) && D.onlyShow === "events" || !e($) && D.onlyShow === "templates" ? (a(), u("div",
|
|
613
|
+
!e(_) && !e($) || !e(_) && D.onlyShow === "events" || !e($) && D.onlyShow === "templates" ? (a(), u("div", mn, [
|
|
610
614
|
t("span", null, o(e(n)("event.nothingAvailable")), 1)
|
|
611
615
|
])) : d("", !0)
|
|
612
616
|
])) : (a(), P(Ie, { key: 1 }))
|
|
@@ -620,11 +624,11 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
620
624
|
"prev-callback": () => e(ye)(O)
|
|
621
625
|
}, {
|
|
622
626
|
form: m(() => [
|
|
623
|
-
t("form",
|
|
627
|
+
t("form", pn, [
|
|
624
628
|
t("h2", null, [
|
|
625
629
|
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
626
630
|
]),
|
|
627
|
-
e(l) && e(l).length > 0 ? (a(), u("ul",
|
|
631
|
+
e(l) && e(l).length > 0 ? (a(), u("ul", vn, [
|
|
628
632
|
(a(!0), u(R, null, G(e(l), ({
|
|
629
633
|
roomGroupId: s,
|
|
630
634
|
addons: I,
|
|
@@ -640,14 +644,14 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
640
644
|
}),
|
|
641
645
|
_e(" " + o(C) + ") ", 1)
|
|
642
646
|
]),
|
|
643
|
-
t("table",
|
|
647
|
+
t("table", fn, [
|
|
644
648
|
t("thead", null, [
|
|
645
649
|
t("tr", null, [
|
|
646
650
|
t("th", null, [
|
|
647
651
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
648
652
|
]),
|
|
649
|
-
|
|
650
|
-
t("th",
|
|
653
|
+
bn,
|
|
654
|
+
t("th", gn, [
|
|
651
655
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
652
656
|
])
|
|
653
657
|
])
|
|
@@ -662,33 +666,33 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
662
666
|
}) => (a(), u("tr", { key: S }, [
|
|
663
667
|
t("td", null, [
|
|
664
668
|
t("b", null, o(Q), 1),
|
|
665
|
-
|
|
666
|
-
t("span", null, o(e(j)(pe, e(ee))) + " " + o(e(
|
|
669
|
+
kn,
|
|
670
|
+
t("span", null, o(e(j)(pe, e(ee))) + " " + o(e(ct)(ve)), 1)
|
|
667
671
|
]),
|
|
668
|
-
t("td",
|
|
672
|
+
t("td", hn, [
|
|
669
673
|
K === 3 ? (a(), P(le, {
|
|
670
674
|
key: 0,
|
|
671
675
|
modelValue: e(i)[`${s}.${S}.${y}`],
|
|
672
676
|
"onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
|
|
673
677
|
small: !0,
|
|
674
678
|
"min-value": 0
|
|
675
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(
|
|
679
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(It, {
|
|
676
680
|
key: 1,
|
|
677
681
|
modelValue: e(i)[`${s}.${S}.${y}`],
|
|
678
682
|
"onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
|
|
679
683
|
numeric: !0
|
|
680
684
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
681
685
|
]),
|
|
682
|
-
t("td",
|
|
686
|
+
t("td", yn, [
|
|
683
687
|
t("span", null, o(e(j)(e(Me)(S, s, y), e(ee))), 1)
|
|
684
688
|
])
|
|
685
689
|
]))), 128))
|
|
686
690
|
]),
|
|
687
691
|
t("tfoot", null, [
|
|
688
692
|
t("tr", null, [
|
|
689
|
-
yn,
|
|
690
693
|
_n,
|
|
691
|
-
|
|
694
|
+
Pn,
|
|
695
|
+
t("td", wn, [
|
|
692
696
|
t("u", null, [
|
|
693
697
|
t("span", null, o(e(j)(e(Ue)(s, y), e(ee))), 1)
|
|
694
698
|
])
|
|
@@ -698,17 +702,17 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
698
702
|
])
|
|
699
703
|
]))), 128))
|
|
700
704
|
])) : d("", !0),
|
|
701
|
-
e(L) ? (a(), u("table",
|
|
705
|
+
e(L) ? (a(), u("table", $n, [
|
|
702
706
|
t("tbody", null, [
|
|
703
707
|
(a(!0), u(R, null, G(e(k).products, ({ id: s, name: I, price: C, description: y }) => (a(), u("tr", { key: s }, [
|
|
704
|
-
t("td",
|
|
708
|
+
t("td", Dn, [
|
|
705
709
|
t("b", null, [
|
|
706
710
|
t("span", null, o(e(we)(I)), 1)
|
|
707
711
|
]),
|
|
708
|
-
y && y !== I ? (a(), u("span",
|
|
712
|
+
y && y !== I ? (a(), u("span", En, o(e(we)(y)), 1)) : d("", !0),
|
|
709
713
|
t("span", null, o(e(j)(C, e(ee))), 1)
|
|
710
714
|
]),
|
|
711
|
-
t("td",
|
|
715
|
+
t("td", Vn, [
|
|
712
716
|
v(le, {
|
|
713
717
|
modelValue: e(f)[s],
|
|
714
718
|
"onUpdate:modelValue": (S) => e(f)[s] = S,
|
|
@@ -739,7 +743,7 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
739
743
|
"prev-callback": () => e(ye)(O)
|
|
740
744
|
}, {
|
|
741
745
|
form: m(() => [
|
|
742
|
-
t("form",
|
|
746
|
+
t("form", Tn, [
|
|
743
747
|
t("h2", null, [
|
|
744
748
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
745
749
|
]),
|
|
@@ -763,7 +767,7 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
763
767
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
764
768
|
required: ""
|
|
765
769
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
766
|
-
v(
|
|
770
|
+
v(Nt, {
|
|
767
771
|
modelValue: e(h),
|
|
768
772
|
"onUpdate:modelValue": b[2] || (b[2] = (s) => M(h) ? h.value = s : null),
|
|
769
773
|
label: e(n)("booking.reservation.phone"),
|
|
@@ -771,16 +775,16 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
771
775
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
772
776
|
required: ""
|
|
773
777
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
774
|
-
e(z) ? (a(), P(
|
|
778
|
+
e(z) ? (a(), P(Vt, {
|
|
775
779
|
key: 0,
|
|
776
780
|
modelValue: e(V),
|
|
777
781
|
"onUpdate:modelValue": b[3] || (b[3] = (s) => M(V) ? V.value = s : null),
|
|
778
782
|
label: e(n)("event.selectArrivalTime"),
|
|
779
783
|
name: "eventTimeTable",
|
|
780
|
-
checkboxes:
|
|
784
|
+
checkboxes: Ge.value,
|
|
781
785
|
required: ""
|
|
782
786
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : d("", !0),
|
|
783
|
-
e(ue) === e(
|
|
787
|
+
e(ue) === e(mt).FullDayEvent ? (a(), P(le, {
|
|
784
788
|
key: 1,
|
|
785
789
|
modelValue: e(g),
|
|
786
790
|
"onUpdate:modelValue": b[4] || (b[4] = (s) => M(g) ? g.value = s : null),
|
|
@@ -819,21 +823,21 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
819
823
|
}, 1032, ["prev-callback"])
|
|
820
824
|
]),
|
|
821
825
|
payment: m(() => [
|
|
822
|
-
v(
|
|
826
|
+
v(Bt)
|
|
823
827
|
]),
|
|
824
828
|
confirmation: m(() => [
|
|
825
|
-
v(
|
|
829
|
+
v(Tt, {
|
|
826
830
|
message: e(n)("event.confirmationMessage")
|
|
827
831
|
}, null, 8, ["message"])
|
|
828
832
|
]),
|
|
829
833
|
_: 1
|
|
830
|
-
}, 8, ["steps"])
|
|
834
|
+
}, 8, ["steps", "onReset"])
|
|
831
835
|
]),
|
|
832
836
|
_: 1
|
|
833
837
|
}, 8, ["access-token", "callback"])
|
|
834
838
|
]),
|
|
835
839
|
fallback: m(() => [
|
|
836
|
-
v(
|
|
840
|
+
v(rn)
|
|
837
841
|
]),
|
|
838
842
|
_: 1
|
|
839
843
|
}))
|
|
@@ -841,8 +845,8 @@ const dn = { class: "konnectio-event-listings" }, cn = {
|
|
|
841
845
|
_: 1
|
|
842
846
|
}, 8, ["styling"]));
|
|
843
847
|
}
|
|
844
|
-
}), Oe = /* @__PURE__ */ ie(
|
|
845
|
-
class
|
|
848
|
+
}), Oe = /* @__PURE__ */ ie(On, [["__scopeId", "data-v-9fc730cd"]]), Sn = ot(), In = st();
|
|
849
|
+
class Nn extends HTMLElement {
|
|
846
850
|
vueApp;
|
|
847
851
|
constructor() {
|
|
848
852
|
super();
|
|
@@ -851,14 +855,14 @@ class In extends HTMLElement {
|
|
|
851
855
|
this.vueApp.unmount();
|
|
852
856
|
}
|
|
853
857
|
connectedCallback() {
|
|
854
|
-
const n =
|
|
855
|
-
this.vueApp =
|
|
858
|
+
const n = at(Oe, this.attributes);
|
|
859
|
+
this.vueApp = nt(Oe, n), it(this.vueApp), this.vueApp.provide("emitter", In), this.vueApp.use(lt), this.vueApp.use(Sn), this.vueApp.use(Ot), this.vueApp.use(gt), this.vueApp.use(St), this.vueApp.use(bt, { bootstrap: !0 });
|
|
856
860
|
const i = document.createElement("div");
|
|
857
861
|
this.vueApp.mount(i), this.appendChild(i.children[0]);
|
|
858
862
|
}
|
|
859
863
|
}
|
|
860
|
-
window.customElements.define("konnectio-event",
|
|
864
|
+
window.customElements.define("konnectio-event", Nn);
|
|
861
865
|
export {
|
|
862
|
-
|
|
866
|
+
Nn as default
|
|
863
867
|
};
|
|
864
868
|
//# sourceMappingURL=event.js.map
|