@konnectio/core 4.0.56-rc44 → 4.0.56-rc46
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-Djfp-835.js → ActionField-l77AHDt_.js} +10 -10
- package/dist/ActionField-l77AHDt_.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DDFsTOcT.js → AvailabilitySkeleton-6QuYlrqw.js} +53 -53
- package/dist/AvailabilitySkeleton-6QuYlrqw.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js +7814 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js.br +0 -0
- package/dist/{CheckoutWindow-CNEuNkIt.js → CheckoutWindow-CNF_LAo6.js} +4 -4
- package/dist/CheckoutWindow-CNF_LAo6.js.br +0 -0
- package/dist/{ErrorMessage-bD3z1ENc.js → ErrorMessage-B0Hm-dJ0.js} +4 -4
- package/dist/ErrorMessage-B0Hm-dJ0.js.br +0 -0
- package/dist/{EventAvailabilityForm-BJ6gzh6V.js → EventAvailabilityForm-BfhYKChb.js} +77 -78
- package/dist/EventAvailabilityForm-BfhYKChb.js.br +0 -0
- package/dist/{Field-BflvstOX.js → Field-BJ8nOhMT.js} +8 -8
- package/dist/Field-BJ8nOhMT.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js} +2382 -2376
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js.br +0 -0
- package/dist/TermsOfService-f7DfHbk2.js +35 -0
- package/dist/TermsOfService-f7DfHbk2.js.br +0 -0
- package/dist/{_-DuCIctjS.js → _-CaC826yR.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js +68 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js.br +0 -0
- package/dist/{_commonjsHelpers-BnQF6Gki.js → _commonjsHelpers-ytV6SVHa.js} +2025 -2027
- package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
- package/dist/availability.js +41 -41
- package/dist/availability.js.br +0 -0
- package/dist/event.js +100 -99
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +25 -25
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +130 -131
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-CWyKVevn.js → giftCard-DhbT2_l0.js} +6 -6
- package/dist/giftCard-DhbT2_l0.js.br +0 -0
- package/dist/hotel.js +275 -274
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CttzlASt.js → masonry.plugin-CVpZ_aQu.js} +3386 -3355
- package/dist/masonry.plugin-CVpZ_aQu.js.br +0 -0
- package/dist/navigation.js +2 -2
- package/dist/polyfill.js +3830 -3828
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-D1A53_C5.js +18 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-wnoA9-xG.js → tracing-wxeFiHIa.js} +3 -3
- package/dist/tracing-wxeFiHIa.js.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-Djfp-835.js.br +0 -0
- package/dist/AvailabilitySkeleton-DDFsTOcT.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js +0 -7746
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js.br +0 -0
- package/dist/CheckoutWindow-CNEuNkIt.js.br +0 -0
- package/dist/ErrorMessage-bD3z1ENc.js.br +0 -0
- package/dist/EventAvailabilityForm-BJ6gzh6V.js.br +0 -0
- package/dist/Field-BflvstOX.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js.br +0 -0
- package/dist/TermsOfService-CgTw1PTk.js +0 -35
- package/dist/TermsOfService-CgTw1PTk.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js +0 -71
- package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js.br +0 -0
- package/dist/_commonjsHelpers-BnQF6Gki.js.br +0 -0
- package/dist/giftCard-CWyKVevn.js.br +0 -0
- package/dist/masonry.plugin-CttzlASt.js.br +0 -0
- package/dist/sentry-6-6DYT4Z.js +0 -18
- package/dist/tracing-wnoA9-xG.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import { d as Y, r as Me, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Re, C as Ue, A as z, F as B, x as M,
|
|
2
|
-
import { h as ae, a as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { a as bt, P as gt, C as ht } from "./CheckoutWindow-CNEuNkIt.js";
|
|
1
|
+
import { d as Y, r as Me, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Re, C as Ue, A as z, F as B, x as M, q as Fe, S as qe, D as ge, i as he, p as ze, j as Ge, k as He } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
+
import { h as ae, a as je, s as H, H as Ye, l as oe, C as me, J as Ze, _ as se, j as Ve, z as pe, K as Je, b as De, B as ke, M as ve, A as R, m as Ke, O as ye, N as Qe, T as ce, n as We, o as Xe, p as xe, F as et, q as tt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js";
|
|
3
|
+
import { B as nt, R as ot, L as Pe, S as lt, M as at, C as st, T as it, V as rt, G as ut } from "./masonry.plugin-CVpZ_aQu.js";
|
|
4
|
+
import { u as j, E as ct } from "./EventAvailabilityForm-BfhYKChb.js";
|
|
5
|
+
import { _ as dt } from "./_.vue_vue_type_style_index_0_lang-BLztxup-.js";
|
|
6
|
+
import { t as G, e as mt, g as _e, m as $e, a as we, b as Ee, c as pt, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js";
|
|
7
|
+
import { a as vt, P as ft, C as bt } from "./CheckoutWindow-CNF_LAo6.js";
|
|
9
8
|
import "./navigation.js";
|
|
10
9
|
(function() {
|
|
11
10
|
try {
|
|
12
11
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
13
|
-
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "
|
|
12
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "f9b6b90d-795b-4469-83b3-a1139df36daf", c._sentryDebugIdIdentifier = "sentry-dbid-f9b6b90d-795b-4469-83b3-a1139df36daf");
|
|
14
13
|
} catch {
|
|
15
14
|
}
|
|
16
15
|
})();
|
|
17
|
-
function
|
|
16
|
+
function gt(c, n) {
|
|
18
17
|
const i = G(c), d = G(n), l = i.getTime() - d.getTime();
|
|
19
18
|
return l < 0 ? -1 : l > 0 ? 1 : l;
|
|
20
19
|
}
|
|
21
|
-
function
|
|
20
|
+
function ht(c) {
|
|
22
21
|
return (n) => {
|
|
23
22
|
const d = (c ? Math[c] : Math.trunc)(n);
|
|
24
23
|
return d === 0 ? 0 : d;
|
|
25
24
|
};
|
|
26
25
|
}
|
|
27
|
-
function
|
|
28
|
-
const d =
|
|
26
|
+
function kt(c, n, i) {
|
|
27
|
+
const d = pt(), l = i?.locale ?? d.locale ?? mt, _ = gt(c, n);
|
|
29
28
|
if (isNaN(_))
|
|
30
29
|
throw new RangeError("Invalid time value");
|
|
31
30
|
const b = Object.assign({}, i, {
|
|
@@ -34,7 +33,7 @@ function _t(c, n, i) {
|
|
|
34
33
|
});
|
|
35
34
|
let $, u;
|
|
36
35
|
_ > 0 ? ($ = G(n), u = G(c)) : ($ = G(c), u = G(n));
|
|
37
|
-
const v =
|
|
36
|
+
const v = ht(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
|
|
38
37
|
let s;
|
|
39
38
|
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : D < we ? s = "day" : D < Ee ? s = "month" : s = "year", s === "second") {
|
|
40
39
|
const g = v(k / 1e3);
|
|
@@ -56,7 +55,7 @@ function _t(c, n, i) {
|
|
|
56
55
|
return l.formatDistance("xYears", g, b);
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
|
-
const
|
|
58
|
+
const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio-event-listing-action-button" }, $t = /* @__PURE__ */ Y({
|
|
60
59
|
__name: "_",
|
|
61
60
|
props: {
|
|
62
61
|
name: {},
|
|
@@ -79,7 +78,7 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
79
78
|
callback: {}
|
|
80
79
|
},
|
|
81
80
|
setup(c) {
|
|
82
|
-
const { t: n } = ae(), i = c, { display: d } =
|
|
81
|
+
const { t: n } = ae(), i = c, { display: d } = je(), {
|
|
83
82
|
maxNumberOfPeople: l,
|
|
84
83
|
numberOfPeople: _,
|
|
85
84
|
eventId: b,
|
|
@@ -99,20 +98,21 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
99
98
|
message: n("alert.error.selectPeople")
|
|
100
99
|
});
|
|
101
100
|
};
|
|
102
|
-
return (s, g) => (a(), T(
|
|
101
|
+
return (s, g) => (a(), T(nt, {
|
|
102
|
+
type: "event",
|
|
103
103
|
"listing-id": s.listingId,
|
|
104
104
|
gallery: s.gallery,
|
|
105
105
|
name: s.name,
|
|
106
106
|
description: s.description,
|
|
107
107
|
"prices-from": s.fromPrice,
|
|
108
108
|
"to-date": s.toDate,
|
|
109
|
-
layout: e(
|
|
109
|
+
layout: e(Ze).Event
|
|
110
110
|
}, {
|
|
111
111
|
description: p(() => [
|
|
112
112
|
ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
|
|
113
113
|
]),
|
|
114
114
|
action: p(() => [
|
|
115
|
-
t("div",
|
|
115
|
+
t("div", yt, [
|
|
116
116
|
f(oe, {
|
|
117
117
|
modelValue: y.value,
|
|
118
118
|
"onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
|
|
@@ -120,11 +120,11 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
120
120
|
icon: "users",
|
|
121
121
|
"icon-type": "fas",
|
|
122
122
|
"icon-placement": "label",
|
|
123
|
-
description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(
|
|
123
|
+
description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(Ye)(e(n)("general.guests"))}` : void 0,
|
|
124
124
|
"min-value": s.type === "event" ? 0 : s.minimumPersonCount,
|
|
125
125
|
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
|
|
126
126
|
}, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
|
|
127
|
-
t("div",
|
|
127
|
+
t("div", _t, [
|
|
128
128
|
f(me, {
|
|
129
129
|
label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
130
130
|
disabled: s.soldOut,
|
|
@@ -137,8 +137,8 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
137
137
|
_: 3
|
|
138
138
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
139
139
|
}
|
|
140
|
-
}), Ae = /* @__PURE__ */ se(
|
|
141
|
-
const
|
|
140
|
+
}), Ae = /* @__PURE__ */ se($t, [["__scopeId", "data-v-38f9c15b"]]), wt = ["innerHTML"], Et = { class: "konnectio-event-listing-information-new" };
|
|
141
|
+
const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-button" }, Dt = /* @__PURE__ */ Y({
|
|
142
142
|
__name: "Event",
|
|
143
143
|
props: {
|
|
144
144
|
name: {},
|
|
@@ -162,7 +162,7 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
162
162
|
setup(c) {
|
|
163
163
|
const n = c, { t: i } = ae(), d = le(() => {
|
|
164
164
|
const l = n.length.split(":");
|
|
165
|
-
return console.log(l),
|
|
165
|
+
return console.log(l), kt(
|
|
166
166
|
new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
|
|
167
167
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
168
168
|
);
|
|
@@ -183,10 +183,10 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
183
183
|
l.description ? (a(), m("p", {
|
|
184
184
|
key: 0,
|
|
185
185
|
innerHTML: e(Ve)(l.description)
|
|
186
|
-
}, null, 8,
|
|
187
|
-
t("ul",
|
|
186
|
+
}, null, 8, wt)) : h("", !0),
|
|
187
|
+
t("ul", Et, [
|
|
188
188
|
h("", !0),
|
|
189
|
-
t("li",
|
|
189
|
+
t("li", Tt, [
|
|
190
190
|
t("div", null, [
|
|
191
191
|
f(pe, {
|
|
192
192
|
icon: "calendar-clock",
|
|
@@ -196,7 +196,7 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
196
196
|
]),
|
|
197
197
|
t("span", null, o(d.value), 1)
|
|
198
198
|
]),
|
|
199
|
-
t("li",
|
|
199
|
+
t("li", Vt, [
|
|
200
200
|
t("div", null, [
|
|
201
201
|
f(pe, {
|
|
202
202
|
icon: "calendar-clock",
|
|
@@ -204,14 +204,14 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
204
204
|
}),
|
|
205
205
|
t("span", null, o(e(i)("event.startAndEndTime")), 1)
|
|
206
206
|
]),
|
|
207
|
-
t("span", null, o(e(
|
|
207
|
+
t("span", null, o(e(Je)(l.timeFrom, l.timeTo)), 1)
|
|
208
208
|
])
|
|
209
209
|
])
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
|
|
213
213
|
}
|
|
214
|
-
}),
|
|
214
|
+
}), Pt = /* @__PURE__ */ se(Dt, [["__scopeId", "data-v-148bf11e"]]), At = ["innerHTML"], Ct = /* @__PURE__ */ Y({
|
|
215
215
|
__name: "Template",
|
|
216
216
|
props: {
|
|
217
217
|
name: {},
|
|
@@ -251,12 +251,12 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
251
251
|
d.description ? (a(), m("p", {
|
|
252
252
|
key: 0,
|
|
253
253
|
innerHTML: e(Ve)(d.description)
|
|
254
|
-
}, null, 8,
|
|
254
|
+
}, null, 8, At)) : h("", !0)
|
|
255
255
|
]),
|
|
256
256
|
_: 1
|
|
257
257
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
258
258
|
}
|
|
259
|
-
}),
|
|
259
|
+
}), Ot = { key: 0 }, Bt = { key: 1 }, St = { key: 2 }, Lt = { key: 3 }, It = { key: 4 }, Nt = { key: 5 }, Mt = { key: 0 }, de = /* @__PURE__ */ Y({
|
|
260
260
|
__name: "EventReservationForm",
|
|
261
261
|
props: {
|
|
262
262
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -280,7 +280,7 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
280
280
|
roomUpgrade: g,
|
|
281
281
|
discountCode: O
|
|
282
282
|
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
|
|
283
|
-
return (S, x) => (a(), T(
|
|
283
|
+
return (S, x) => (a(), T(ot, {
|
|
284
284
|
"discount-code": e(O),
|
|
285
285
|
"onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
|
|
286
286
|
"validate-discount-code": e(ie),
|
|
@@ -297,11 +297,11 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
297
297
|
ne(S.$slots, "form")
|
|
298
298
|
]),
|
|
299
299
|
"reservation-summary": p(() => [
|
|
300
|
-
e(u) ? (a(), m("li",
|
|
300
|
+
e(u) ? (a(), m("li", Ot, [
|
|
301
301
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
302
302
|
t("b", null, o(e(ke)(e(k))), 1)
|
|
303
303
|
])) : h("", !0),
|
|
304
|
-
e(u) ? (a(), m("li",
|
|
304
|
+
e(u) ? (a(), m("li", Bt, [
|
|
305
305
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
306
306
|
t("b", null, o(e(ke)(e(k), e($))), 1)
|
|
307
307
|
])) : h("", !0),
|
|
@@ -309,25 +309,25 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
309
309
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
310
310
|
t("b", null, o(e(_)), 1)
|
|
311
311
|
]),
|
|
312
|
-
e(u) ? (a(), m("li",
|
|
312
|
+
e(u) ? (a(), m("li", St, [
|
|
313
313
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
314
314
|
t("b", null, o(e(b)), 1)
|
|
315
315
|
])) : h("", !0),
|
|
316
|
-
e(u) ? (a(), m("li",
|
|
316
|
+
e(u) ? (a(), m("li", Lt, [
|
|
317
317
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
318
318
|
t("b", null, o(e($)), 1)
|
|
319
319
|
])) : h("", !0),
|
|
320
|
-
!e(u) && e(l) ? (a(), m("li",
|
|
320
|
+
!e(u) && e(l) ? (a(), m("li", It, [
|
|
321
321
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
322
322
|
t("b", null, o(e(ve)(e(l))), 1)
|
|
323
323
|
])) : h("", !0),
|
|
324
|
-
!e(u) && e(v) ? (a(), m("li",
|
|
324
|
+
!e(u) && e(v) ? (a(), m("li", Nt, [
|
|
325
325
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
326
326
|
t("b", null, o(e(ve)(e(v))), 1)
|
|
327
327
|
])) : h("", !0)
|
|
328
328
|
]),
|
|
329
329
|
"price-summary": p(() => [
|
|
330
|
-
!e(u) && e(y) > 0 ? (a(), m("li",
|
|
330
|
+
!e(u) && e(y) > 0 ? (a(), m("li", Mt, [
|
|
331
331
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
332
332
|
t("b", null, o(e(R)(e(y), e(X))), 1)
|
|
333
333
|
])) : h("", !0),
|
|
@@ -350,29 +350,29 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
350
350
|
} : void 0
|
|
351
351
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
|
|
352
352
|
}
|
|
353
|
-
}),
|
|
353
|
+
}), Rt = { class: "event-skeleton" }, Ut = { class: "event-skeleton-content" }, Ft = { class: "event-skeleton-sidebar" }, qt = /* @__PURE__ */ Y({
|
|
354
354
|
__name: "EventSkeleton",
|
|
355
355
|
setup(c) {
|
|
356
|
-
return (n, i) => (a(), m("div",
|
|
357
|
-
t("div",
|
|
356
|
+
return (n, i) => (a(), m("div", Rt, [
|
|
357
|
+
t("div", Ut, [
|
|
358
358
|
f(Pe)
|
|
359
359
|
]),
|
|
360
|
-
t("div",
|
|
360
|
+
t("div", Ft, [
|
|
361
361
|
h("", !0),
|
|
362
|
-
f(
|
|
362
|
+
f(lt)
|
|
363
363
|
])
|
|
364
364
|
]));
|
|
365
365
|
}
|
|
366
|
-
}),
|
|
366
|
+
}), zt = /* @__PURE__ */ se(qt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (ze("data-v-df616d0e"), c = c(), Ge(), c), Gt = {
|
|
367
367
|
key: 0,
|
|
368
368
|
id: "fresh-booking-event-overview"
|
|
369
369
|
};
|
|
370
|
-
const
|
|
371
|
-
const
|
|
370
|
+
const Ht = { class: "fresh-booking-event-listings" };
|
|
371
|
+
const jt = { class: "fresh-booking-event-listings" }, Yt = { class: "konnectio-panel" }, Zt = {
|
|
372
372
|
key: 1,
|
|
373
373
|
id: "fresh-booking-event-addons"
|
|
374
|
-
},
|
|
375
|
-
const
|
|
374
|
+
}, Jt = { class: "konnectio-table with-lines" }, Kt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Qt = { class: "konnectio-event-addons-price" }, Wt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), Xt = { class: "konnectio-event-addons-input" }, xt = { class: "konnectio-event-addons-price" }, en = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = { class: "konnectio-event-addons-price" }, on = { key: 2 };
|
|
375
|
+
const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class: "konnectio-table with-lines" }, rn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), un = { class: "konnectio-event-addons-price" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), dn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = { class: "konnectio-event-addons-input" }, pn = { class: "konnectio-event-addons-price" }, vn = ["onClick"], fn = { class: "konnectio-panel" }, bn = ["onClick"], gn = /* @__PURE__ */ Y({
|
|
376
376
|
name: "EventLayout",
|
|
377
377
|
__name: "Event",
|
|
378
378
|
props: {
|
|
@@ -404,7 +404,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
404
404
|
isTemplateEvent: S,
|
|
405
405
|
hasListingData: x,
|
|
406
406
|
isPaymentLoading: F
|
|
407
|
-
} = H(j()), { searchDate: ee } = H(
|
|
407
|
+
} = H(j()), { searchDate: ee } = H(Ke()), {
|
|
408
408
|
initialize: Ce,
|
|
409
409
|
fetchListings: Oe,
|
|
410
410
|
createBooking: Be,
|
|
@@ -420,26 +420,27 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
420
420
|
});
|
|
421
421
|
}), L;
|
|
422
422
|
});
|
|
423
|
-
return Fe(
|
|
423
|
+
return Fe(ee, () => Oe()), (L, w) => (a(), T(We, { styling: L.styling }, {
|
|
424
424
|
default: p(() => [
|
|
425
|
-
(a(), T(
|
|
425
|
+
(a(), T(qe, null, {
|
|
426
426
|
default: p(() => [
|
|
427
|
-
f(
|
|
427
|
+
f(dt, {
|
|
428
428
|
id: "konnectio-event-module",
|
|
429
|
-
"access-token": L.accessToken
|
|
429
|
+
"access-token": L.accessToken,
|
|
430
|
+
callback: e(Ce)
|
|
430
431
|
}, {
|
|
431
432
|
default: p(() => [
|
|
432
|
-
f(
|
|
433
|
+
f(at, null, {
|
|
433
434
|
availability: p(({ next: q }) => [
|
|
434
435
|
f(de, null, {
|
|
435
436
|
sidebar: p(() => [
|
|
436
|
-
f(
|
|
437
|
+
f(ct, { redirection: !1 })
|
|
437
438
|
]),
|
|
438
439
|
form: p(() => [
|
|
439
|
-
e(x) && e(ie) ? (a(), m("div",
|
|
440
|
+
e(x) && e(ie) ? (a(), m("div", Gt, [
|
|
440
441
|
e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
|
|
441
442
|
h("", !0),
|
|
442
|
-
t("ul",
|
|
443
|
+
t("ul", Ht, [
|
|
443
444
|
(a(!0), m(B, null, z(e(C), ({
|
|
444
445
|
id: A,
|
|
445
446
|
days: r,
|
|
@@ -454,7 +455,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
454
455
|
length: Q,
|
|
455
456
|
images: Ie,
|
|
456
457
|
maxOnlineReservationLimit: Ne
|
|
457
|
-
}) => (a(), T(
|
|
458
|
+
}) => (a(), T(Pt, {
|
|
458
459
|
key: A,
|
|
459
460
|
type: "event",
|
|
460
461
|
"listing-id": A,
|
|
@@ -476,7 +477,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
476
477
|
], 64)) : h("", !0),
|
|
477
478
|
e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
|
|
478
479
|
h("", !0),
|
|
479
|
-
t("ul",
|
|
480
|
+
t("ul", jt, [
|
|
480
481
|
(a(!0), m(B, null, z(e(D), ({
|
|
481
482
|
id: A,
|
|
482
483
|
name: r,
|
|
@@ -486,7 +487,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
486
487
|
fromPrice: V,
|
|
487
488
|
description: J,
|
|
488
489
|
imageUrl: K
|
|
489
|
-
}) => (a(), T(
|
|
490
|
+
}) => (a(), T(Ct, {
|
|
490
491
|
key: A,
|
|
491
492
|
"listing-id": A,
|
|
492
493
|
name: r,
|
|
@@ -508,7 +509,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
508
509
|
addons: p(({ next: q, prev: A }) => [
|
|
509
510
|
e(X) ? (a(), T(de, { key: 0 }, {
|
|
510
511
|
form: p(() => [
|
|
511
|
-
t("form",
|
|
512
|
+
t("form", Yt, [
|
|
512
513
|
t("h2", null, [
|
|
513
514
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
514
515
|
]),
|
|
@@ -520,7 +521,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
520
521
|
"min-value": 1,
|
|
521
522
|
required: ""
|
|
522
523
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
523
|
-
e(s) && e(s).length > 0 ? (a(), m("ul",
|
|
524
|
+
e(s) && e(s).length > 0 ? (a(), m("ul", Zt, [
|
|
524
525
|
(a(!0), m(B, null, z(e(s), ({
|
|
525
526
|
roomGroupId: r,
|
|
526
527
|
addons: I,
|
|
@@ -536,14 +537,14 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
536
537
|
}),
|
|
537
538
|
ge(" " + o(N) + ") ", 1)
|
|
538
539
|
]),
|
|
539
|
-
t("table",
|
|
540
|
+
t("table", Jt, [
|
|
540
541
|
t("thead", null, [
|
|
541
542
|
t("tr", null, [
|
|
542
543
|
t("th", null, [
|
|
543
544
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
544
545
|
]),
|
|
545
|
-
|
|
546
|
-
t("th",
|
|
546
|
+
Kt,
|
|
547
|
+
t("th", Qt, [
|
|
547
548
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
548
549
|
])
|
|
549
550
|
])
|
|
@@ -558,33 +559,33 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
558
559
|
}) => (a(), m("tr", { key: V }, [
|
|
559
560
|
t("td", null, [
|
|
560
561
|
t("b", null, o(K), 1),
|
|
561
|
-
|
|
562
|
-
t("span", null, o(e(R)(re, e(Z))) + " " + o(e(
|
|
562
|
+
Wt,
|
|
563
|
+
t("span", null, o(e(R)(re, e(Z))) + " " + o(e(Qe)(ue)), 1)
|
|
563
564
|
]),
|
|
564
|
-
t("td",
|
|
565
|
+
t("td", Xt, [
|
|
565
566
|
J === 3 ? (a(), T(oe, {
|
|
566
567
|
key: 0,
|
|
567
568
|
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
568
569
|
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
569
570
|
small: !0,
|
|
570
571
|
"min-value": 0
|
|
571
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(
|
|
572
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(vt, {
|
|
572
573
|
key: 1,
|
|
573
574
|
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
574
575
|
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
575
576
|
numeric: !0
|
|
576
577
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
577
578
|
]),
|
|
578
|
-
t("td",
|
|
579
|
+
t("td", xt, [
|
|
579
580
|
t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
|
|
580
581
|
])
|
|
581
582
|
]))), 128))
|
|
582
583
|
]),
|
|
583
584
|
t("tfoot", null, [
|
|
584
585
|
t("tr", null, [
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
t("td",
|
|
586
|
+
en,
|
|
587
|
+
tn,
|
|
588
|
+
t("td", nn, [
|
|
588
589
|
t("u", null, [
|
|
589
590
|
t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
|
|
590
591
|
])
|
|
@@ -594,9 +595,9 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
594
595
|
])
|
|
595
596
|
]))), 128))
|
|
596
597
|
])) : h("", !0),
|
|
597
|
-
e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div",
|
|
598
|
+
e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", on, [
|
|
598
599
|
h("", !0),
|
|
599
|
-
f(
|
|
600
|
+
f(st, {
|
|
600
601
|
modelValue: e(v),
|
|
601
602
|
"onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
|
|
602
603
|
label: e(n)("event.selectArrivalTime"),
|
|
@@ -605,18 +606,18 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
605
606
|
required: ""
|
|
606
607
|
}, null, 8, ["modelValue", "label", "checkboxes"])
|
|
607
608
|
])) : h("", !0),
|
|
608
|
-
e(O) ? (a(), m("div",
|
|
609
|
-
t("label",
|
|
609
|
+
e(O) ? (a(), m("div", ln, [
|
|
610
|
+
t("label", an, [
|
|
610
611
|
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
611
612
|
]),
|
|
612
|
-
t("table",
|
|
613
|
+
t("table", sn, [
|
|
613
614
|
t("thead", null, [
|
|
614
615
|
t("tr", null, [
|
|
615
616
|
t("th", null, [
|
|
616
617
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
617
618
|
]),
|
|
618
|
-
|
|
619
|
-
t("th",
|
|
619
|
+
rn,
|
|
620
|
+
t("th", un, [
|
|
620
621
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
621
622
|
])
|
|
622
623
|
])
|
|
@@ -627,12 +628,12 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
627
628
|
t("b", null, [
|
|
628
629
|
t("span", null, o(I), 1)
|
|
629
630
|
]),
|
|
630
|
-
|
|
631
|
+
cn,
|
|
631
632
|
t("span", null, o(E), 1),
|
|
632
|
-
|
|
633
|
+
dn,
|
|
633
634
|
t("span", null, o(e(R)(N, e(Z))), 1)
|
|
634
635
|
]),
|
|
635
|
-
t("td",
|
|
636
|
+
t("td", mn, [
|
|
636
637
|
f(oe, {
|
|
637
638
|
modelValue: e(d)[r],
|
|
638
639
|
"onUpdate:modelValue": (V) => e(d)[r] = V,
|
|
@@ -640,7 +641,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
640
641
|
"min-value": 0
|
|
641
642
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
642
643
|
]),
|
|
643
|
-
t("td",
|
|
644
|
+
t("td", pn, [
|
|
644
645
|
t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
|
|
645
646
|
])
|
|
646
647
|
]))), 128))
|
|
@@ -660,7 +661,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
660
661
|
onClick: he((r) => e(be)(A), ["prevent"])
|
|
661
662
|
}, [
|
|
662
663
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
663
|
-
], 8,
|
|
664
|
+
], 8, vn)
|
|
664
665
|
]),
|
|
665
666
|
_: 2
|
|
666
667
|
}, 1024)) : h("", !0)
|
|
@@ -671,7 +672,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
671
672
|
"show-gift-card": !0
|
|
672
673
|
}, {
|
|
673
674
|
form: p(() => [
|
|
674
|
-
t("form",
|
|
675
|
+
t("form", fn, [
|
|
675
676
|
t("h2", null, [
|
|
676
677
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
677
678
|
]),
|
|
@@ -695,7 +696,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
695
696
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
696
697
|
required: ""
|
|
697
698
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
698
|
-
f(
|
|
699
|
+
f(ft, {
|
|
699
700
|
modelValue: e(b),
|
|
700
701
|
"onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
|
|
701
702
|
label: e(n)("booking.reservation.phone"),
|
|
@@ -725,16 +726,16 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
725
726
|
onClick: he((r) => e(be)(A), ["prevent"])
|
|
726
727
|
}, [
|
|
727
728
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
728
|
-
], 8,
|
|
729
|
+
], 8, bn)
|
|
729
730
|
]),
|
|
730
731
|
_: 2
|
|
731
732
|
}, 1024)
|
|
732
733
|
]),
|
|
733
734
|
payment: p(() => [
|
|
734
|
-
f(
|
|
735
|
+
f(bt)
|
|
735
736
|
]),
|
|
736
737
|
confirmation: p(() => [
|
|
737
|
-
f(
|
|
738
|
+
f(it, {
|
|
738
739
|
message: e(n)("event.confirmationMessage")
|
|
739
740
|
}, null, 8, ["message"])
|
|
740
741
|
]),
|
|
@@ -742,10 +743,10 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
742
743
|
})
|
|
743
744
|
]),
|
|
744
745
|
_: 1
|
|
745
|
-
}, 8, ["access-token"])
|
|
746
|
+
}, 8, ["access-token", "callback"])
|
|
746
747
|
]),
|
|
747
748
|
fallback: p(() => [
|
|
748
|
-
f(
|
|
749
|
+
f(zt)
|
|
749
750
|
]),
|
|
750
751
|
_: 1
|
|
751
752
|
}))
|
|
@@ -753,8 +754,8 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
753
754
|
_: 1
|
|
754
755
|
}, 8, ["styling"]));
|
|
755
756
|
}
|
|
756
|
-
}), te = /* @__PURE__ */ se(
|
|
757
|
-
class
|
|
757
|
+
}), te = /* @__PURE__ */ se(gn, [["__scopeId", "data-v-df616d0e"]]), hn = Xe(), kn = tt();
|
|
758
|
+
class yn extends HTMLElement {
|
|
758
759
|
vueApp;
|
|
759
760
|
constructor() {
|
|
760
761
|
super();
|
|
@@ -776,13 +777,13 @@ class $n extends HTMLElement {
|
|
|
776
777
|
let v = this.attributes.getNamedItem(u)?.value;
|
|
777
778
|
b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
|
|
778
779
|
}
|
|
779
|
-
this.vueApp =
|
|
780
|
+
this.vueApp = He(te, _), this.vueApp.provide("emitter", kn), this.vueApp.use(xe), this.vueApp.use(hn), this.vueApp.use(rt), this.vueApp.use(ut), this.vueApp.use(et, { bootstrap: !0 });
|
|
780
781
|
const $ = document.createElement("div");
|
|
781
782
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
782
783
|
}
|
|
783
784
|
}
|
|
784
|
-
window.customElements.define("konnectio-event",
|
|
785
|
+
window.customElements.define("konnectio-event", yn);
|
|
785
786
|
export {
|
|
786
|
-
|
|
787
|
+
yn as default
|
|
787
788
|
};
|
|
788
789
|
//# sourceMappingURL=event.js.map
|
package/dist/event.js.br
CHANGED
|
Binary file
|