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