@konnectio/core 4.0.71 → 4.0.73
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-BOjNNOwm.js → ActionField-B0Q8mtx4.js} +3 -3
- package/dist/ActionField-B0Q8mtx4.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BBZ1jYsL.js → AvailabilitySkeleton-TBnj1i7P.js} +8 -8
- package/dist/AvailabilitySkeleton-TBnj1i7P.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CHMKGo1f.js} +700 -707
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CHMKGo1f.js.br +0 -0
- package/dist/{CheckoutWindow-Be87geqA.js → CheckoutWindow-B9f5zjsR.js} +4 -4
- package/dist/CheckoutWindow-B9f5zjsR.js.br +0 -0
- package/dist/{ErrorMessage-PrTNCV3L.js → ErrorMessage-CJVhwzgd.js} +3 -3
- package/dist/ErrorMessage-CJVhwzgd.js.br +0 -0
- package/dist/{EventAvailabilityForm-B_kQ68K4.js → EventAvailabilityForm-gx7rIOkz.js} +33 -32
- package/dist/EventAvailabilityForm-gx7rIOkz.js.br +0 -0
- package/dist/{Field-Cly4g5NO.js → Field-alis_4SB.js} +3 -3
- package/dist/Field-alis_4SB.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnQ4jzKF.js} +4602 -4576
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnQ4jzKF.js.br +0 -0
- package/dist/{TermsOfService-B4VF2Mqd.js → TermsOfService-Clv1-wBR.js} +5 -5
- package/dist/TermsOfService-Clv1-wBR.js.br +0 -0
- package/dist/{_-D9xfNmwK.js → _-DCgp8uOr.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-CEE8x56y.js → _.vue_vue_type_style_index_0_lang-B0Oz4Jrm.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-B0Oz4Jrm.js.br +0 -0
- package/dist/{_commonjsHelpers-CjBehFnu.js → _commonjsHelpers-qzLmMf0u.js} +2 -2
- package/dist/_commonjsHelpers-qzLmMf0u.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DsYwID46.js → _sentry-release-injection-file-CDmq8APH.js} +2137 -2122
- package/dist/_sentry-release-injection-file-CDmq8APH.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 +162 -167
- 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-DL8SvzFu.js → giftCard-Cu6jvt4a.js} +4 -4
- package/dist/giftCard-Cu6jvt4a.js.br +0 -0
- package/dist/hotel.js +625 -622
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DyMWv_cS.js → masonry.plugin-B8f9K_-M.js} +4037 -3823
- package/dist/masonry.plugin-B8f9K_-M.js.br +0 -0
- package/dist/{mitt-CxLBLOxI.js → mitt-C3HhhwJL.js} +2 -2
- package/dist/mitt-C3HhhwJL.js.br +0 -0
- package/dist/polyfill.js +4675 -4611
- package/dist/polyfill.js.br +0 -0
- package/dist/{sentry-9IPMO-VI.js → sentry-D5Z9Niph.js} +3 -3
- package/dist/{style-bf_adpj0.js → style-DVq0262Q.js} +2 -2
- package/dist/style-DVq0262Q.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-1TgukAt0.js → tracing-BVguX61l.js} +185 -189
- package/dist/tracing-BVguX61l.js.br +0 -0
- package/package.json +10 -9
- package/dist/ActionField-BOjNNOwm.js.br +0 -0
- package/dist/AvailabilitySkeleton-BBZ1jYsL.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js.br +0 -0
- package/dist/CheckoutWindow-Be87geqA.js.br +0 -0
- package/dist/ErrorMessage-PrTNCV3L.js.br +0 -0
- package/dist/EventAvailabilityForm-B_kQ68K4.js.br +0 -0
- package/dist/Field-Cly4g5NO.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js.br +0 -0
- package/dist/TermsOfService-B4VF2Mqd.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CEE8x56y.js.br +0 -0
- package/dist/_commonjsHelpers-CjBehFnu.js.br +0 -0
- package/dist/_sentry-release-injection-file-DsYwID46.js.br +0 -0
- package/dist/giftCard-DL8SvzFu.js.br +0 -0
- package/dist/masonry.plugin-DyMWv_cS.js.br +0 -0
- package/dist/mitt-CxLBLOxI.js.br +0 -0
- package/dist/style-bf_adpj0.js.br +0 -0
- package/dist/tracing-1TgukAt0.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { d as Y, r as Qe, c as J, a, b as P, w as m, l as
|
|
2
|
-
import { u as
|
|
3
|
-
import { c as st } from "./sentry-
|
|
4
|
-
import { a as
|
|
5
|
-
import { G as bt } from "./style-
|
|
6
|
-
import { e as gt, c as kt, t as
|
|
7
|
-
import { _ as yt } from "./_.vue_vue_type_style_index_0_lang-
|
|
8
|
-
import { B as _t, _ as Pt, R as wt, L as
|
|
9
|
-
import { C as
|
|
10
|
-
import { E as
|
|
1
|
+
import { d as Y, r as Qe, 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 We, g as u, t as o, m as Je, q as Xe, s as G, F as R, v as M, S as Ze, x as _e, p as xe, j as et, k as tt } from "./_sentry-release-injection-file-CDmq8APH.js";
|
|
2
|
+
import { u as se, s as q, c as nt, l as ot, i as at, m as lt } from "./mitt-C3HhhwJL.js";
|
|
3
|
+
import { c as st } from "./sentry-D5Z9Niph.js";
|
|
4
|
+
import { a as Se, b as le, l as it, s as U, c as be, B as rt, _ as ie, d as he, I as ge, e as ut, f as ke, g as j, u as Pe, h as dt, i as we, T as ne, O as ct, C as mt, j as pt, k as vt, m as ft } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnQ4jzKF.js";
|
|
5
|
+
import { G as bt } from "./style-DVq0262Q.js";
|
|
6
|
+
import { e as gt, c as kt, t as oe, g as $e, m as De, a as Ee, b as Ve, d as ht, f as Te, u as H } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CHMKGo1f.js";
|
|
7
|
+
import { _ as yt } from "./_.vue_vue_type_style_index_0_lang-B0Oz4Jrm.js";
|
|
8
|
+
import { B as _t, _ as Pt, R as wt, L as Ie, S as $t, M as Dt, C as Et, T as Vt, V as Tt, a as Ot } from "./masonry.plugin-B8f9K_-M.js";
|
|
9
|
+
import { C as St, P as It, a as Nt } from "./CheckoutWindow-B9f5zjsR.js";
|
|
10
|
+
import { E as At } from "./EventAvailabilityForm-gx7rIOkz.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] = "f033e626-8c6b-46d9-aab6-a7f985d6dd6a", c._sentryDebugIdIdentifier = "sentry-dbid-f033e626-8c6b-46d9-aab6-a7f985d6dd6a");
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
17
|
})();
|
|
18
18
|
{
|
|
19
|
-
var
|
|
20
|
-
|
|
19
|
+
var te = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
20
|
+
te._sentryModuleMetadata = te._sentryModuleMetadata || {}, te._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
21
21
|
{},
|
|
22
|
-
|
|
22
|
+
te._sentryModuleMetadata[new Error().stack],
|
|
23
23
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
24
24
|
);
|
|
25
25
|
}
|
|
@@ -29,7 +29,7 @@ function Bt(c) {
|
|
|
29
29
|
return f === 0 ? 0 : f;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ct(c, n, i) {
|
|
33
33
|
const f = ht(), g = i?.locale ?? f.locale ?? gt, r = kt(c, n);
|
|
34
34
|
if (isNaN(r))
|
|
35
35
|
throw new RangeError("Invalid time value");
|
|
@@ -38,10 +38,10 @@ function At(c, n, i) {
|
|
|
38
38
|
comparison: r
|
|
39
39
|
});
|
|
40
40
|
let E, p;
|
|
41
|
-
r > 0 ? (E =
|
|
42
|
-
const w = Bt(i?.roundingMethod ?? "round"), V = p.getTime() - E.getTime(), _ = V / Te, $ = $e(p) - $e(E), T = (V - $) / Te,
|
|
41
|
+
r > 0 ? (E = oe(n), p = oe(c)) : (E = oe(c), p = oe(n));
|
|
42
|
+
const w = Bt(i?.roundingMethod ?? "round"), V = p.getTime() - E.getTime(), _ = V / Te, $ = $e(p) - $e(E), T = (V - $) / Te, A = i?.unit;
|
|
43
43
|
let k;
|
|
44
|
-
if (
|
|
44
|
+
if (A ? k = A : _ < 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 At(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 && A !== "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 Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__ */ Y({
|
|
65
65
|
__name: "_",
|
|
66
66
|
props: {
|
|
67
67
|
name: {},
|
|
@@ -85,7 +85,7 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
|
|
|
85
85
|
callback: {}
|
|
86
86
|
},
|
|
87
87
|
setup(c) {
|
|
88
|
-
const { t: n } =
|
|
88
|
+
const { t: n } = se(), i = c, { display: f } = Se(), {
|
|
89
89
|
maxNumberOfPeople: g,
|
|
90
90
|
numberOfPeople: r,
|
|
91
91
|
eventId: h,
|
|
@@ -95,7 +95,7 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
|
|
|
95
95
|
getTemplateAvailability: w,
|
|
96
96
|
getEventAvailability: V,
|
|
97
97
|
isEventListingLoading: _
|
|
98
|
-
} = H(), $ = Qe(0), T = J(() => _(i.listingId)),
|
|
98
|
+
} = H(), $ = Qe(0), T = J(() => _(i.listingId)), A = () => {
|
|
99
99
|
if (!i.useNumberOfProductsForPersons && $.value === 0) {
|
|
100
100
|
f({
|
|
101
101
|
type: "error",
|
|
@@ -114,7 +114,7 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Lt = /* @__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, B) => (a(), P(_t, {
|
|
118
118
|
type: "event",
|
|
119
119
|
"listing-id": l.listingId,
|
|
120
120
|
gallery: l.gallery,
|
|
@@ -125,7 +125,7 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
|
|
|
125
125
|
layout: e(rt).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", {
|
|
@@ -134,10 +134,10 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
|
|
|
134
134
|
{ "no-selectable-people": l.useNumberOfProductsForPersons }
|
|
135
135
|
])
|
|
136
136
|
}, [
|
|
137
|
-
l.useNumberOfProductsForPersons ? d("", !0) : (a(), P(
|
|
137
|
+
l.useNumberOfProductsForPersons ? d("", !0) : (a(), P(le, {
|
|
138
138
|
key: 0,
|
|
139
139
|
modelValue: $.value,
|
|
140
|
-
"onUpdate:modelValue":
|
|
140
|
+
"onUpdate:modelValue": B[0] || (B[0] = (L) => $.value = L),
|
|
141
141
|
label: e(n)("event.numberOfGuests"),
|
|
142
142
|
icon: "users",
|
|
143
143
|
"icon-type": "fas",
|
|
@@ -146,13 +146,14 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
|
|
|
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", Lt, [
|
|
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
|
+
"full-width": "",
|
|
154
155
|
"sub-label": e(U)(e(E)),
|
|
155
|
-
onClickEvent:
|
|
156
|
+
onClickEvent: B[1] || (B[1] = (L) => l.type === "event" ? k() : A())
|
|
156
157
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
157
158
|
])
|
|
158
159
|
], 2)
|
|
@@ -160,11 +161,11 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
|
|
|
160
161
|
_: 3
|
|
161
162
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
162
163
|
}
|
|
163
|
-
}),
|
|
164
|
-
const
|
|
164
|
+
}), Ne = /* @__PURE__ */ ie(Ft, [["__scopeId", "data-v-ef9fea04"]]), Rt = { class: "konnectio-event-listing-information-new" };
|
|
165
|
+
const Mt = {
|
|
165
166
|
key: 1,
|
|
166
167
|
class: "konnectio-pill-button"
|
|
167
|
-
},
|
|
168
|
+
}, Ut = { class: "konnectio-pill-button" }, qt = /* @__PURE__ */ Y({
|
|
168
169
|
__name: "Event",
|
|
169
170
|
props: {
|
|
170
171
|
name: {},
|
|
@@ -187,14 +188,14 @@ const Rt = {
|
|
|
187
188
|
callback: {}
|
|
188
189
|
},
|
|
189
190
|
setup(c) {
|
|
190
|
-
const n = c, { t: i } =
|
|
191
|
+
const n = c, { t: i } = se(), { hideEventLength: f } = q(he()), g = J(() => {
|
|
191
192
|
const r = n.length.split(":");
|
|
192
|
-
return
|
|
193
|
+
return Ct(
|
|
193
194
|
new Date(2e3, 0, 1, Number(r[0]), Number(r[1]), 0),
|
|
194
195
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
195
196
|
);
|
|
196
197
|
});
|
|
197
|
-
return (r, h) => (a(), P(
|
|
198
|
+
return (r, h) => (a(), P(Ne, {
|
|
198
199
|
"listing-id": r.listingId,
|
|
199
200
|
name: r.name,
|
|
200
201
|
description: r.description,
|
|
@@ -212,9 +213,9 @@ const Rt = {
|
|
|
212
213
|
key: 0,
|
|
213
214
|
text: r.description
|
|
214
215
|
}, null, 8, ["text"])) : d("", !0),
|
|
215
|
-
t("ul",
|
|
216
|
+
t("ul", Rt, [
|
|
216
217
|
d("", !0),
|
|
217
|
-
e(f) ? d("", !0) : (a(), u("li",
|
|
218
|
+
e(f) ? d("", !0) : (a(), u("li", Mt, [
|
|
218
219
|
t("div", null, [
|
|
219
220
|
v(ge, {
|
|
220
221
|
icon: "calendar-clock",
|
|
@@ -224,7 +225,7 @@ const Rt = {
|
|
|
224
225
|
]),
|
|
225
226
|
t("span", null, o(g.value), 1)
|
|
226
227
|
])),
|
|
227
|
-
t("li",
|
|
228
|
+
t("li", Ut, [
|
|
228
229
|
t("div", null, [
|
|
229
230
|
v(ge, {
|
|
230
231
|
icon: "calendar-clock",
|
|
@@ -239,7 +240,7 @@ const Rt = {
|
|
|
239
240
|
_: 1
|
|
240
241
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "callback"]));
|
|
241
242
|
}
|
|
242
|
-
}),
|
|
243
|
+
}), zt = /* @__PURE__ */ ie(qt, [["__scopeId", "data-v-fe4489ed"]]), Gt = /* @__PURE__ */ Y({
|
|
243
244
|
__name: "Template",
|
|
244
245
|
props: {
|
|
245
246
|
name: {},
|
|
@@ -265,7 +266,7 @@ const Rt = {
|
|
|
265
266
|
url: n.image
|
|
266
267
|
}];
|
|
267
268
|
});
|
|
268
|
-
return (f, g) => (a(), P(
|
|
269
|
+
return (f, g) => (a(), P(Ne, {
|
|
269
270
|
"listing-id": f.listingId,
|
|
270
271
|
gallery: i.value,
|
|
271
272
|
name: f.name,
|
|
@@ -276,7 +277,7 @@ const Rt = {
|
|
|
276
277
|
callback: f.callback
|
|
277
278
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
278
279
|
}
|
|
279
|
-
}),
|
|
280
|
+
}), jt = { key: 0 }, Ht = { key: 1 }, Yt = { key: 2 }, Kt = { key: 3 }, Qt = { key: 4 }, Wt = { key: 5 }, Jt = { key: 6 }, Xt = { key: 7 }, Zt = { key: 0 }, xt = { key: 0 }, en = { key: 1 }, tn = { key: 2 }, fe = /* @__PURE__ */ Y({
|
|
280
281
|
__name: "EventReservationForm",
|
|
281
282
|
props: {
|
|
282
283
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -284,7 +285,7 @@ const Rt = {
|
|
|
284
285
|
prevCallback: {}
|
|
285
286
|
},
|
|
286
287
|
setup(c) {
|
|
287
|
-
const { t: n } =
|
|
288
|
+
const { t: n } = se(), i = Je(), {
|
|
288
289
|
areListingsAvailable: f,
|
|
289
290
|
arrivalTime: g,
|
|
290
291
|
numberOfPeople: r,
|
|
@@ -296,86 +297,86 @@ const Rt = {
|
|
|
296
297
|
fromDate: _,
|
|
297
298
|
tableBasePrice: $,
|
|
298
299
|
getTemplateData: T,
|
|
299
|
-
basePrice:
|
|
300
|
+
basePrice: A,
|
|
300
301
|
totalPrice: k,
|
|
301
302
|
weekendFee: l,
|
|
302
|
-
roomUpgrade:
|
|
303
|
+
roomUpgrade: B,
|
|
303
304
|
discountCode: L
|
|
304
|
-
} = q(H()), { totalAddonPrice: ue, validateDiscountCode: de } = H(), { currency:
|
|
305
|
-
return (F,
|
|
305
|
+
} = q(H()), { totalAddonPrice: ue, validateDiscountCode: de } = H(), { currency: X, hideEventLength: ce } = q(he());
|
|
306
|
+
return (F, Z) => (a(), P(wt, {
|
|
306
307
|
"discount-code": e(L),
|
|
307
|
-
"onUpdate:discountCode":
|
|
308
|
+
"onUpdate:discountCode": Z[0] || (Z[0] = (z) => M(L) ? L.value = z : null),
|
|
308
309
|
"validate-discount-code": e(de),
|
|
309
310
|
"show-gift-card": F.showGiftCard,
|
|
310
311
|
"show-terms-notice": F.showTermsNotice,
|
|
311
312
|
"is-sidebar-loading": !e(f),
|
|
312
|
-
"base-price": e(
|
|
313
|
+
"base-price": e(A),
|
|
313
314
|
"total-price": e(k),
|
|
314
315
|
"weekend-fee": e(l),
|
|
315
|
-
"room-upgrade": e(
|
|
316
|
+
"room-upgrade": e(B),
|
|
316
317
|
notice: e(n)("event.reservationNotice"),
|
|
317
318
|
"prev-callback": F.prevCallback
|
|
318
319
|
}, Xe({
|
|
319
320
|
form: m(() => [
|
|
320
|
-
|
|
321
|
+
ae(F.$slots, "form")
|
|
321
322
|
]),
|
|
322
323
|
"reservation-summary": m(() => [
|
|
323
|
-
e(p) ? (a(), u("li",
|
|
324
|
+
e(p) ? (a(), u("li", jt, [
|
|
324
325
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
325
326
|
t("b", null, o(e(U)(e(_))), 1)
|
|
326
327
|
])) : d("", !0),
|
|
327
|
-
e(p) ? (a(), u("li",
|
|
328
|
+
e(p) ? (a(), u("li", Ht, [
|
|
328
329
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
329
330
|
t("b", null, o(e(U)(e(_), e(E))), 1)
|
|
330
331
|
])) : d("", !0),
|
|
331
|
-
e(p) ? d("", !0) : (a(), u("li",
|
|
332
|
+
e(p) ? d("", !0) : (a(), u("li", Yt, [
|
|
332
333
|
t("span", null, o(e(n)("general.date")), 1),
|
|
333
334
|
t("b", null, o(e(U)(e(w))), 1)
|
|
334
335
|
])),
|
|
335
|
-
e(r) > 0 ? (a(), u("li",
|
|
336
|
+
e(r) > 0 ? (a(), u("li", Kt, [
|
|
336
337
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
337
338
|
t("b", null, o(e(r)), 1)
|
|
338
339
|
])) : d("", !0),
|
|
339
|
-
e(p) ? (a(), u("li",
|
|
340
|
+
e(p) ? (a(), u("li", Qt, [
|
|
340
341
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
341
342
|
t("b", null, o(e(h)), 1)
|
|
342
343
|
])) : d("", !0),
|
|
343
|
-
e(p) ? (a(), u("li",
|
|
344
|
+
e(p) ? (a(), u("li", Wt, [
|
|
344
345
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
345
346
|
t("b", null, o(e(E)), 1)
|
|
346
347
|
])) : d("", !0),
|
|
347
|
-
!e(p) && e(g) ? (a(), u("li",
|
|
348
|
+
!e(p) && e(g) ? (a(), u("li", Jt, [
|
|
348
349
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
349
350
|
t("b", null, o(e(ke)(e(g))), 1)
|
|
350
351
|
])) : d("", !0),
|
|
351
|
-
!e(p) && e(V) && !e(ce) ? (a(), u("li",
|
|
352
|
+
!e(p) && e(V) && !e(ce) ? (a(), u("li", Xt, [
|
|
352
353
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
353
354
|
t("b", null, o(e(ke)(e(V))), 1)
|
|
354
355
|
])) : d("", !0)
|
|
355
356
|
]),
|
|
356
357
|
"price-summary": m(() => [
|
|
357
|
-
!e(p) && e($) > 0 ? (a(), u("li",
|
|
358
|
+
!e(p) && e($) > 0 ? (a(), u("li", Zt, [
|
|
358
359
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
359
|
-
t("b", null, o(e(j)(e($), e(
|
|
360
|
+
t("b", null, o(e(j)(e($), e(X))), 1)
|
|
360
361
|
])) : d("", !0),
|
|
361
|
-
e(T) ? (a(!0), u(R, { key: 1 }, G(e(T), ({ roomGroupId: z },
|
|
362
|
-
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(
|
|
363
|
-
t("b", null, o(e(j)(e(ue)(z,
|
|
362
|
+
e(T) ? (a(!0), u(R, { key: 1 }, G(e(T), ({ roomGroupId: z }, x) => (a(), u("li", { key: z }, [
|
|
363
|
+
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(x + 1), 1),
|
|
364
|
+
t("b", null, o(e(j)(e(ue)(z, x), e(X))), 1)
|
|
364
365
|
]))), 128)) : d("", !0)
|
|
365
366
|
]),
|
|
366
367
|
navigation: m(() => [
|
|
367
|
-
|
|
368
|
+
ae(F.$slots, "navigation")
|
|
368
369
|
]),
|
|
369
370
|
"mobile-under-price": m(() => [
|
|
370
|
-
e(p) ? (a(), u("div",
|
|
371
|
+
e(p) ? (a(), u("div", xt, [
|
|
371
372
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
372
373
|
t("b", null, o(e(U)(e(_))), 1)
|
|
373
374
|
])) : d("", !0),
|
|
374
|
-
e(p) ? (a(), u("li",
|
|
375
|
+
e(p) ? (a(), u("li", en, [
|
|
375
376
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
376
377
|
t("b", null, o(e(U)(e(_), e(E))), 1)
|
|
377
378
|
])) : d("", !0),
|
|
378
|
-
e(p) ? d("", !0) : (a(), u("div",
|
|
379
|
+
e(p) ? d("", !0) : (a(), u("div", tn, [
|
|
379
380
|
t("span", null, o(e(U)(e(w))), 1)
|
|
380
381
|
]))
|
|
381
382
|
]),
|
|
@@ -384,45 +385,40 @@ const Rt = {
|
|
|
384
385
|
e(i).sidebar ? {
|
|
385
386
|
name: "sidebar",
|
|
386
387
|
fn: m(() => [
|
|
387
|
-
|
|
388
|
+
ae(F.$slots, "sidebar")
|
|
388
389
|
]),
|
|
389
390
|
key: "0"
|
|
390
391
|
} : void 0
|
|
391
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"]));
|
|
392
393
|
}
|
|
393
|
-
}),
|
|
394
|
+
}), nn = { class: "event-skeleton" }, on = { class: "event-skeleton-content" }, an = { class: "event-skeleton-sidebar" }, ln = /* @__PURE__ */ Y({
|
|
394
395
|
__name: "EventSkeleton",
|
|
395
396
|
setup(c) {
|
|
396
|
-
return (n, i) => (a(), u("div",
|
|
397
|
-
t("div", nn, [
|
|
398
|
-
v(Ne)
|
|
399
|
-
]),
|
|
397
|
+
return (n, i) => (a(), u("div", nn, [
|
|
400
398
|
t("div", on, [
|
|
399
|
+
v(Ie)
|
|
400
|
+
]),
|
|
401
|
+
t("div", an, [
|
|
401
402
|
d("", !0),
|
|
402
403
|
v($t)
|
|
403
404
|
])
|
|
404
405
|
]));
|
|
405
406
|
}
|
|
406
|
-
}),
|
|
407
|
+
}), sn = /* @__PURE__ */ ie(ln, [["__scopeId", "data-v-3e15c4e3"]]), re = (c) => (xe("data-v-a3289359"), c = c(), et(), c), rn = {
|
|
407
408
|
key: 0,
|
|
408
409
|
id: "konnectio-event-listings-wrapper"
|
|
409
410
|
};
|
|
410
|
-
const
|
|
411
|
-
const
|
|
411
|
+
const un = { class: "konnectio-event-listings" };
|
|
412
|
+
const dn = { class: "konnectio-event-listings" }, cn = {
|
|
412
413
|
key: 2,
|
|
413
414
|
class: "konnectio-panel"
|
|
414
|
-
},
|
|
415
|
+
}, mn = { class: "konnectio-panel" }, pn = {
|
|
415
416
|
key: 0,
|
|
416
417
|
id: "konnectio-event-addons"
|
|
417
|
-
},
|
|
418
|
+
}, vn = { class: "konnectio-table with-lines" }, fn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), bn = { class: "konnectio-event-addons-price" }, gn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("br", null, null, -1)), kn = { class: "konnectio-event-addons-input" }, hn = { class: "konnectio-event-addons-price" }, yn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), _n = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), Pn = { class: "konnectio-event-addons-price" }, wn = {
|
|
418
419
|
key: 1,
|
|
419
420
|
class: "konnectio-table with-lines"
|
|
420
|
-
},
|
|
421
|
-
/* @__PURE__ */ t("tr", null, [
|
|
422
|
-
/* @__PURE__ */ t("th"),
|
|
423
|
-
/* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" })
|
|
424
|
-
])
|
|
425
|
-
], -1)), $n = { class: "konnectio-table-addons-information" }, Dn = { key: 0 }, En = { class: "konnectio-table-addons-option" }, Vn = { class: "konnectio-panel" }, Tn = /* @__PURE__ */ Y({
|
|
421
|
+
}, $n = { class: "konnectio-table-addons-information" }, Dn = { key: 0 }, En = { class: "konnectio-table-addons-option" }, Vn = { class: "konnectio-panel" }, Tn = /* @__PURE__ */ Y({
|
|
426
422
|
name: "EventLayout",
|
|
427
423
|
__name: "Event",
|
|
428
424
|
props: {
|
|
@@ -432,7 +428,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
432
428
|
styling: {}
|
|
433
429
|
},
|
|
434
430
|
setup(c) {
|
|
435
|
-
const { t: n } =
|
|
431
|
+
const { t: n } = se(), {
|
|
436
432
|
addons: i,
|
|
437
433
|
products: f,
|
|
438
434
|
numberOfDays: g,
|
|
@@ -445,27 +441,27 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
445
441
|
hasEvents: _,
|
|
446
442
|
hasTemplates: $,
|
|
447
443
|
getEvents: T,
|
|
448
|
-
getTemplates:
|
|
444
|
+
getTemplates: A,
|
|
449
445
|
getEventData: k,
|
|
450
446
|
getTemplateData: l,
|
|
451
|
-
getEventTableData:
|
|
447
|
+
getEventTableData: B,
|
|
452
448
|
hasProducts: L,
|
|
453
449
|
eventRateType: ue,
|
|
454
450
|
areListingsAvailable: de,
|
|
455
|
-
isAvailabilityDataAvailable:
|
|
451
|
+
isAvailabilityDataAvailable: X,
|
|
456
452
|
hasListingData: ce,
|
|
457
453
|
isPaymentLoading: F,
|
|
458
|
-
isReservationFormFilled:
|
|
454
|
+
isReservationFormFilled: Z,
|
|
459
455
|
requiresArrivalTime: z,
|
|
460
|
-
hasSelectedRequiredProducts:
|
|
461
|
-
} = q(H()), { currency:
|
|
456
|
+
hasSelectedRequiredProducts: x
|
|
457
|
+
} = q(H()), { currency: ee } = q(he()), { eventDate: Ae, eventLocation: Be } = q(Pe()), { isValidRestaurantId: Ce } = Pe(), {
|
|
462
458
|
initialize: Le,
|
|
463
459
|
fetchListings: Fe,
|
|
464
460
|
createBooking: Re,
|
|
465
461
|
localAddonPrice: Me,
|
|
466
462
|
totalAddonPrice: Ue,
|
|
467
463
|
reset: ye
|
|
468
|
-
} = H(), { display: me } =
|
|
464
|
+
} = H(), { display: me } = Se(), qe = J(() => [
|
|
469
465
|
{
|
|
470
466
|
id: "availability",
|
|
471
467
|
label: n("booking.availability.title"),
|
|
@@ -493,7 +489,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
493
489
|
}
|
|
494
490
|
]), ze = J(() => {
|
|
495
491
|
const D = [];
|
|
496
|
-
return
|
|
492
|
+
return B.value && B.value.forEach((b) => {
|
|
497
493
|
D.push({
|
|
498
494
|
label: ke(b.time),
|
|
499
495
|
value: b.time
|
|
@@ -503,11 +499,11 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
503
499
|
function Ge() {
|
|
504
500
|
const D = pt("history", {
|
|
505
501
|
removeNullishValues: !0
|
|
506
|
-
}), b = parseInt(D.rid),
|
|
507
|
-
if (
|
|
508
|
-
if (vt(
|
|
509
|
-
const
|
|
510
|
-
C >= y ? (
|
|
502
|
+
}), b = parseInt(D.rid), N = D.d, O = parseInt(D.eid);
|
|
503
|
+
if (N)
|
|
504
|
+
if (vt(N)) {
|
|
505
|
+
const I = new Date(N), C = I.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
506
|
+
C >= y ? (Ae.value = I, D.d = void 0) : me({
|
|
511
507
|
message: n("alert.error.invalidDateRange"),
|
|
512
508
|
type: "error"
|
|
513
509
|
});
|
|
@@ -516,7 +512,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
516
512
|
message: n("alert.error.wrongDateFormat"),
|
|
517
513
|
type: "error"
|
|
518
514
|
});
|
|
519
|
-
isNaN(b) || (Ce(b) ?
|
|
515
|
+
isNaN(b) || (Ce(b) ? Be.value = b : me({
|
|
520
516
|
message: n("alert.error.hotelIdNotFound"),
|
|
521
517
|
type: "error"
|
|
522
518
|
}));
|
|
@@ -534,26 +530,26 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
534
530
|
}, {
|
|
535
531
|
default: m(() => [
|
|
536
532
|
v(Dt, { steps: qe.value }, {
|
|
537
|
-
availability: m(({ next:
|
|
533
|
+
availability: m(({ next: N }) => [
|
|
538
534
|
v(fe, null, {
|
|
539
535
|
sidebar: m(() => [
|
|
540
|
-
v(
|
|
536
|
+
v(At, {
|
|
541
537
|
redirection: !1,
|
|
542
538
|
"selected-location": Number(D.selectedLocation)
|
|
543
539
|
}, null, 8, ["selected-location"])
|
|
544
540
|
]),
|
|
545
541
|
form: m(() => [
|
|
546
|
-
e(ce) && e(de) ? (a(), u("div",
|
|
542
|
+
e(ce) && e(de) ? (a(), u("div", rn, [
|
|
547
543
|
e(_) && D.onlyShow !== "templates" ? (a(), u(R, { key: 0 }, [
|
|
548
544
|
d("", !0),
|
|
549
|
-
t("ul",
|
|
545
|
+
t("ul", un, [
|
|
550
546
|
(a(!0), u(R, null, G(e(T), ({
|
|
551
547
|
id: O,
|
|
552
548
|
days: s,
|
|
553
|
-
name:
|
|
549
|
+
name: I,
|
|
554
550
|
timeFrom: C,
|
|
555
551
|
timeTo: y,
|
|
556
|
-
fromDate:
|
|
552
|
+
fromDate: S,
|
|
557
553
|
toDate: K,
|
|
558
554
|
tableGroupId: Q,
|
|
559
555
|
description: pe,
|
|
@@ -563,75 +559,75 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
563
559
|
maxOnlineReservationLimit: He,
|
|
564
560
|
maxPaxPerReservation: Ye,
|
|
565
561
|
useNumberOfProductsForPersons: Ke
|
|
566
|
-
}) => (a(), P(
|
|
562
|
+
}) => (a(), P(zt, {
|
|
567
563
|
key: O,
|
|
568
564
|
type: "event",
|
|
569
565
|
"listing-id": O,
|
|
570
566
|
"table-group-id": Q,
|
|
571
567
|
description: pe,
|
|
572
|
-
name:
|
|
568
|
+
name: I,
|
|
573
569
|
length: W,
|
|
574
570
|
gallery: je,
|
|
575
571
|
days: s,
|
|
576
|
-
"from-date":
|
|
572
|
+
"from-date": S,
|
|
577
573
|
"to-date": K,
|
|
578
574
|
"max-online-reservation-limit": Ye || He,
|
|
579
575
|
"time-from": C,
|
|
580
576
|
"time-to": y,
|
|
581
577
|
"sold-out": ve,
|
|
582
578
|
"use-number-of-products-for-persons": Ke,
|
|
583
|
-
callback:
|
|
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
582
|
], 64)) : d("", !0),
|
|
587
583
|
e($) && D.onlyShow !== "events" ? (a(), u(R, { key: 1 }, [
|
|
588
584
|
d("", !0),
|
|
589
|
-
t("ul",
|
|
590
|
-
(a(!0), u(R, null, G(e(
|
|
585
|
+
t("ul", dn, [
|
|
586
|
+
(a(!0), u(R, null, G(e(A), ({
|
|
591
587
|
id: O,
|
|
592
588
|
name: s,
|
|
593
|
-
fromDate:
|
|
589
|
+
fromDate: I,
|
|
594
590
|
toDate: C,
|
|
595
591
|
minimumPersonCount: y,
|
|
596
|
-
fromPrice:
|
|
592
|
+
fromPrice: S,
|
|
597
593
|
description: K,
|
|
598
594
|
imageUrl: Q
|
|
599
|
-
}) => (a(), P(
|
|
595
|
+
}) => (a(), P(Gt, {
|
|
600
596
|
key: O,
|
|
601
597
|
"listing-id": O,
|
|
602
598
|
name: s,
|
|
603
599
|
image: Q,
|
|
604
600
|
description: K,
|
|
605
|
-
"from-date":
|
|
601
|
+
"from-date": I,
|
|
606
602
|
"to-date": C,
|
|
607
603
|
"minimum-person-count": y,
|
|
608
|
-
fromPrice:
|
|
609
|
-
callback:
|
|
604
|
+
fromPrice: S,
|
|
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
608
|
], 64)) : d("", !0),
|
|
613
|
-
!e(_) && !e($) || !e(_) && D.onlyShow === "events" || !e($) && D.onlyShow === "templates" ? (a(), u("div",
|
|
609
|
+
!e(_) && !e($) || !e(_) && D.onlyShow === "events" || !e($) && D.onlyShow === "templates" ? (a(), u("div", cn, [
|
|
614
610
|
t("span", null, o(e(n)("event.nothingAvailable")), 1)
|
|
615
611
|
])) : d("", !0)
|
|
616
|
-
])) : (a(), P(
|
|
612
|
+
])) : (a(), P(Ie, { key: 1 }))
|
|
617
613
|
]),
|
|
618
614
|
_: 2
|
|
619
615
|
}, 1024)
|
|
620
616
|
]),
|
|
621
|
-
addons: m(({ next:
|
|
622
|
-
e(
|
|
617
|
+
addons: m(({ next: N, prev: O }) => [
|
|
618
|
+
e(X) ? (a(), P(fe, {
|
|
623
619
|
key: 0,
|
|
624
620
|
"prev-callback": () => e(ye)(O)
|
|
625
621
|
}, {
|
|
626
622
|
form: m(() => [
|
|
627
|
-
t("form",
|
|
623
|
+
t("form", mn, [
|
|
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",
|
|
627
|
+
e(l) && e(l).length > 0 ? (a(), u("ul", pn, [
|
|
632
628
|
(a(!0), u(R, null, G(e(l), ({
|
|
633
629
|
roomGroupId: s,
|
|
634
|
-
addons:
|
|
630
|
+
addons: I,
|
|
635
631
|
adultPerRoom: C
|
|
636
632
|
}, y) => (a(), u("li", { key: s }, [
|
|
637
633
|
t("h5", null, [
|
|
@@ -644,57 +640,57 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
644
640
|
}),
|
|
645
641
|
_e(" " + o(C) + ") ", 1)
|
|
646
642
|
]),
|
|
647
|
-
t("table",
|
|
643
|
+
t("table", vn, [
|
|
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
|
+
fn,
|
|
650
|
+
t("th", bn, [
|
|
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(R, null, G(
|
|
661
|
-
id:
|
|
656
|
+
(a(!0), u(R, null, G(I, ({
|
|
657
|
+
id: S,
|
|
662
658
|
cardinality: K,
|
|
663
659
|
name: Q,
|
|
664
660
|
price: pe,
|
|
665
661
|
quantityStrategy: ve
|
|
666
|
-
}) => (a(), u("tr", { key:
|
|
662
|
+
}) => (a(), u("tr", { key: S }, [
|
|
667
663
|
t("td", null, [
|
|
668
664
|
t("b", null, o(Q), 1),
|
|
669
|
-
|
|
670
|
-
t("span", null, o(e(j)(pe, e(
|
|
665
|
+
gn,
|
|
666
|
+
t("span", null, o(e(j)(pe, e(ee))) + " " + o(e(dt)(ve)), 1)
|
|
671
667
|
]),
|
|
672
|
-
t("td",
|
|
673
|
-
K === 3 ? (a(), P(
|
|
668
|
+
t("td", kn, [
|
|
669
|
+
K === 3 ? (a(), P(le, {
|
|
674
670
|
key: 0,
|
|
675
|
-
modelValue: e(i)[`${s}.${
|
|
676
|
-
"onUpdate:modelValue": (W) => e(i)[`${s}.${
|
|
671
|
+
modelValue: e(i)[`${s}.${S}.${y}`],
|
|
672
|
+
"onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
|
|
677
673
|
small: !0,
|
|
678
674
|
"min-value": 0
|
|
679
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(
|
|
675
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(St, {
|
|
680
676
|
key: 1,
|
|
681
|
-
modelValue: e(i)[`${s}.${
|
|
682
|
-
"onUpdate:modelValue": (W) => e(i)[`${s}.${
|
|
677
|
+
modelValue: e(i)[`${s}.${S}.${y}`],
|
|
678
|
+
"onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
|
|
683
679
|
numeric: !0
|
|
684
680
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
685
681
|
]),
|
|
686
|
-
t("td",
|
|
687
|
-
t("span", null, o(e(j)(e(Me)(
|
|
682
|
+
t("td", hn, [
|
|
683
|
+
t("span", null, o(e(j)(e(Me)(S, s, y), e(ee))), 1)
|
|
688
684
|
])
|
|
689
685
|
]))), 128))
|
|
690
686
|
]),
|
|
691
687
|
t("tfoot", null, [
|
|
692
688
|
t("tr", null, [
|
|
693
|
-
hn,
|
|
694
689
|
yn,
|
|
695
|
-
|
|
690
|
+
_n,
|
|
691
|
+
t("td", Pn, [
|
|
696
692
|
t("u", null, [
|
|
697
|
-
t("span", null, o(e(j)(e(Ue)(s, y), e(
|
|
693
|
+
t("span", null, o(e(j)(e(Ue)(s, y), e(ee))), 1)
|
|
698
694
|
])
|
|
699
695
|
])
|
|
700
696
|
])
|
|
@@ -702,21 +698,20 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
702
698
|
])
|
|
703
699
|
]))), 128))
|
|
704
700
|
])) : d("", !0),
|
|
705
|
-
e(L) ? (a(), u("table",
|
|
706
|
-
wn,
|
|
701
|
+
e(L) ? (a(), u("table", wn, [
|
|
707
702
|
t("tbody", null, [
|
|
708
|
-
(a(!0), u(R, null, G(e(k).products, ({ id: s, name:
|
|
703
|
+
(a(!0), u(R, null, G(e(k).products, ({ id: s, name: I, price: C, description: y }) => (a(), u("tr", { key: s }, [
|
|
709
704
|
t("td", $n, [
|
|
710
705
|
t("b", null, [
|
|
711
|
-
t("span", null, o(e(we)(
|
|
706
|
+
t("span", null, o(e(we)(I)), 1)
|
|
712
707
|
]),
|
|
713
|
-
y && y !==
|
|
714
|
-
t("span", null, o(e(j)(C, e(
|
|
708
|
+
y && y !== I ? (a(), u("span", Dn, o(e(we)(y)), 1)) : d("", !0),
|
|
709
|
+
t("span", null, o(e(j)(C, e(ee))), 1)
|
|
715
710
|
]),
|
|
716
711
|
t("td", En, [
|
|
717
|
-
v(
|
|
712
|
+
v(le, {
|
|
718
713
|
modelValue: e(f)[s],
|
|
719
|
-
"onUpdate:modelValue": (
|
|
714
|
+
"onUpdate:modelValue": (S) => e(f)[s] = S,
|
|
720
715
|
small: !0,
|
|
721
716
|
"min-value": 0
|
|
722
717
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -729,15 +724,15 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
729
724
|
navigation: m(() => [
|
|
730
725
|
v(be, {
|
|
731
726
|
label: e(n)("event.startReservation"),
|
|
732
|
-
disabled: !e(
|
|
727
|
+
disabled: !e(x),
|
|
733
728
|
"full-width": "",
|
|
734
|
-
onClickEvent:
|
|
729
|
+
onClickEvent: N
|
|
735
730
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
736
731
|
]),
|
|
737
732
|
_: 2
|
|
738
733
|
}, 1032, ["prev-callback"])) : d("", !0)
|
|
739
734
|
]),
|
|
740
|
-
reservation: m(({ next:
|
|
735
|
+
reservation: m(({ next: N, prev: O }) => [
|
|
741
736
|
v(fe, {
|
|
742
737
|
"show-terms-notice": !0,
|
|
743
738
|
"show-gift-card": !0,
|
|
@@ -748,7 +743,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
748
743
|
t("h2", null, [
|
|
749
744
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
750
745
|
]),
|
|
751
|
-
v(
|
|
746
|
+
v(ne, {
|
|
752
747
|
modelValue: e(r),
|
|
753
748
|
"onUpdate:modelValue": b[0] || (b[0] = (s) => M(r) ? r.value = s : null),
|
|
754
749
|
type: "text",
|
|
@@ -757,7 +752,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
757
752
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
758
753
|
required: ""
|
|
759
754
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
760
|
-
v(
|
|
755
|
+
v(ne, {
|
|
761
756
|
modelValue: e(E),
|
|
762
757
|
"onUpdate:modelValue": b[1] || (b[1] = (s) => M(E) ? E.value = s : null),
|
|
763
758
|
label: e(n)("booking.reservation.email"),
|
|
@@ -785,7 +780,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
785
780
|
checkboxes: ze.value,
|
|
786
781
|
required: ""
|
|
787
782
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : d("", !0),
|
|
788
|
-
e(ue) === e(ct).FullDayEvent ? (a(), P(
|
|
783
|
+
e(ue) === e(ct).FullDayEvent ? (a(), P(le, {
|
|
789
784
|
key: 1,
|
|
790
785
|
modelValue: e(g),
|
|
791
786
|
"onUpdate:modelValue": b[4] || (b[4] = (s) => M(g) ? g.value = s : null),
|
|
@@ -793,7 +788,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
793
788
|
"min-value": 1,
|
|
794
789
|
required: ""
|
|
795
790
|
}, null, 8, ["modelValue", "label"])) : d("", !0),
|
|
796
|
-
v(
|
|
791
|
+
v(ne, {
|
|
797
792
|
modelValue: e(p),
|
|
798
793
|
"onUpdate:modelValue": b[5] || (b[5] = (s) => M(p) ? p.value = s : null),
|
|
799
794
|
type: "textarea",
|
|
@@ -801,7 +796,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
801
796
|
icon: "info-circle",
|
|
802
797
|
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
803
798
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
804
|
-
v(
|
|
799
|
+
v(ne, {
|
|
805
800
|
modelValue: e(w),
|
|
806
801
|
"onUpdate:modelValue": b[6] || (b[6] = (s) => M(w) ? w.value = s : null),
|
|
807
802
|
type: "textarea",
|
|
@@ -815,9 +810,9 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
815
810
|
v(be, {
|
|
816
811
|
label: e(n)("general.confirmReservation"),
|
|
817
812
|
"is-loading": e(F),
|
|
818
|
-
disabled: !e(
|
|
813
|
+
disabled: !e(Z),
|
|
819
814
|
"full-width": "",
|
|
820
|
-
onClickEvent: (s) => e(Re)(
|
|
815
|
+
onClickEvent: (s) => e(Re)(N)
|
|
821
816
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
822
817
|
]),
|
|
823
818
|
_: 2
|
|
@@ -838,7 +833,7 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
838
833
|
}, 8, ["access-token", "callback"])
|
|
839
834
|
]),
|
|
840
835
|
fallback: m(() => [
|
|
841
|
-
v(
|
|
836
|
+
v(sn)
|
|
842
837
|
]),
|
|
843
838
|
_: 1
|
|
844
839
|
}))
|
|
@@ -846,8 +841,8 @@ const un = { class: "konnectio-event-listings" }, dn = {
|
|
|
846
841
|
_: 1
|
|
847
842
|
}, 8, ["styling"]));
|
|
848
843
|
}
|
|
849
|
-
}), Oe = /* @__PURE__ */
|
|
850
|
-
class
|
|
844
|
+
}), Oe = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-a3289359"]]), On = nt(), Sn = lt();
|
|
845
|
+
class In extends HTMLElement {
|
|
851
846
|
vueApp;
|
|
852
847
|
constructor() {
|
|
853
848
|
super();
|
|
@@ -857,13 +852,13 @@ class Nn extends HTMLElement {
|
|
|
857
852
|
}
|
|
858
853
|
connectedCallback() {
|
|
859
854
|
const n = ot(Oe, this.attributes);
|
|
860
|
-
this.vueApp = tt(Oe, n), st(this.vueApp), this.vueApp.provide("emitter",
|
|
855
|
+
this.vueApp = tt(Oe, n), st(this.vueApp), this.vueApp.provide("emitter", Sn), this.vueApp.use(at), this.vueApp.use(On), this.vueApp.use(Tt), this.vueApp.use(bt), this.vueApp.use(Ot), this.vueApp.use(ft, { bootstrap: !0 });
|
|
861
856
|
const i = document.createElement("div");
|
|
862
857
|
this.vueApp.mount(i), this.appendChild(i.children[0]);
|
|
863
858
|
}
|
|
864
859
|
}
|
|
865
|
-
window.customElements.define("konnectio-event",
|
|
860
|
+
window.customElements.define("konnectio-event", In);
|
|
866
861
|
export {
|
|
867
|
-
|
|
862
|
+
In as default
|
|
868
863
|
};
|
|
869
864
|
//# sourceMappingURL=event.js.map
|