@konnectio/core 4.0.56-rc50 → 4.0.56-rc52
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-BQQitCzR.js → ActionField-DIdYUr4q.js} +13 -13
- package/dist/ActionField-DIdYUr4q.js.br +0 -0
- package/dist/{AvailabilitySkeleton-TZiNrJ8t.js → AvailabilitySkeleton-ZjKDUWD5.js} +31 -31
- package/dist/AvailabilitySkeleton-ZjKDUWD5.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js.br +0 -0
- package/dist/{CheckoutWindow-DBBmXrsX.js → CheckoutWindow-DXyFRc3f.js} +14 -14
- package/dist/CheckoutWindow-DXyFRc3f.js.br +0 -0
- package/dist/{ErrorMessage-Dw-TLplp.js → ErrorMessage-CzmACL-t.js} +4 -4
- package/dist/ErrorMessage-CzmACL-t.js.br +0 -0
- package/dist/EventAvailabilityForm-B6_lpxim.js +452 -0
- package/dist/EventAvailabilityForm-B6_lpxim.js.br +0 -0
- package/dist/{Field-B4x3qSfU.js → Field-CDhrfFEj.js} +12 -12
- package/dist/Field-CDhrfFEj.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js} +1318 -1328
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js.br +0 -0
- package/dist/{TermsOfService-DLchxC08.js → TermsOfService-CV3L_dLg.js} +10 -10
- package/dist/TermsOfService-CV3L_dLg.js.br +0 -0
- package/dist/_-DsHpGwqH.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.js +68 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.js.br +0 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js +9530 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
- package/dist/availability.js +41 -41
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/event.js +156 -151
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +23 -22
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +58 -57
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-9uCMmY6r.js → giftCard-C8PqkLNd.js} +5 -5
- package/dist/giftCard-C8PqkLNd.js.br +0 -0
- package/dist/hotel.js +278 -274
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C4-Uj22v.js → masonry.plugin-BZn5-UMi.js} +166 -166
- package/dist/masonry.plugin-BZn5-UMi.js.br +0 -0
- package/dist/polyfill.js +727 -725
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-BSHzssDu.js +18 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-wxeFiHIa.js +2287 -0
- package/dist/tracing-wxeFiHIa.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-BQQitCzR.js.br +0 -0
- package/dist/AvailabilitySkeleton-TZiNrJ8t.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js.br +0 -0
- package/dist/CheckoutWindow-DBBmXrsX.js.br +0 -0
- package/dist/ErrorMessage-Dw-TLplp.js.br +0 -0
- package/dist/EventAvailabilityForm-DimufYUP.js +0 -437
- package/dist/EventAvailabilityForm-DimufYUP.js.br +0 -0
- package/dist/Field-B4x3qSfU.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js.br +0 -0
- package/dist/TermsOfService-DLchxC08.js.br +0 -0
- package/dist/_-C7wxqlYk.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js +0 -68
- package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js.br +0 -0
- package/dist/giftCard-9uCMmY6r.js.br +0 -0
- package/dist/masonry.plugin-C4-Uj22v.js.br +0 -0
- package/dist/tracing-Dm-FNj-F.js +0 -11807
- package/dist/tracing-Dm-FNj-F.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import { d as j, r as Re, 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
|
|
2
|
-
import { h as ae, a as je, s as Q,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
1
|
+
import { d as j, r as Re, 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 Fe, C as Ue, A as G, F as S, x as M, S as ze, D as ge, i as he, p as Ge, j as qe, k as He } from "./_commonjsHelpers-04Qj4xBt.js";
|
|
2
|
+
import { h as ae, a as je, s as Q, 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, O as ye, N as Ke, T as ue, n as Qe, o as We, p as xe, F as Xe, q as et } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js";
|
|
3
|
+
import { c as tt } from "./sentry-BSHzssDu.js";
|
|
4
|
+
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 ct } from "./masonry.plugin-BZn5-UMi.js";
|
|
5
|
+
import { u as H, E as ut } from "./EventAvailabilityForm-B6_lpxim.js";
|
|
6
|
+
import { _ as dt } from "./_.vue_vue_type_style_index_0_lang-BdZjHOFy.js";
|
|
7
|
+
import { t as q, 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-Dv10C6pz.js";
|
|
8
|
+
import { a as vt, P as ft, C as bt } from "./CheckoutWindow-DXyFRc3f.js";
|
|
8
9
|
import "./deep-link.js";
|
|
9
10
|
(function() {
|
|
10
11
|
try {
|
|
11
|
-
var
|
|
12
|
-
n && (
|
|
12
|
+
var u = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
13
|
+
n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "fca83b9e-e9ff-4efa-863e-68cef7d1e295", u._sentryDebugIdIdentifier = "sentry-dbid-fca83b9e-e9ff-4efa-863e-68cef7d1e295");
|
|
13
14
|
} catch {
|
|
14
15
|
}
|
|
15
16
|
})();
|
|
16
|
-
function gt(
|
|
17
|
-
const
|
|
17
|
+
function gt(u, n) {
|
|
18
|
+
const s = q(u), d = q(n), l = s.getTime() - d.getTime();
|
|
18
19
|
return l < 0 ? -1 : l > 0 ? 1 : l;
|
|
19
20
|
}
|
|
20
|
-
function ht(
|
|
21
|
+
function ht(u) {
|
|
21
22
|
return (n) => {
|
|
22
|
-
const d = (
|
|
23
|
+
const d = (u ? Math[u] : Math.trunc)(n);
|
|
23
24
|
return d === 0 ? 0 : d;
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
|
-
function kt(
|
|
27
|
-
const d = pt(), l =
|
|
27
|
+
function kt(u, n, s) {
|
|
28
|
+
const d = pt(), l = s?.locale ?? d.locale ?? mt, _ = gt(u, n);
|
|
28
29
|
if (isNaN(_))
|
|
29
30
|
throw new RangeError("Invalid time value");
|
|
30
|
-
const b = Object.assign({},
|
|
31
|
-
addSuffix:
|
|
31
|
+
const b = Object.assign({}, s, {
|
|
32
|
+
addSuffix: s?.addSuffix,
|
|
32
33
|
comparison: _
|
|
33
34
|
});
|
|
34
|
-
let $,
|
|
35
|
-
_ > 0 ? ($ =
|
|
36
|
-
const v = ht(
|
|
37
|
-
let
|
|
38
|
-
if (P ?
|
|
35
|
+
let $, c;
|
|
36
|
+
_ > 0 ? ($ = q(n), c = q(u)) : ($ = q(u), c = q(n));
|
|
37
|
+
const v = ht(s?.roundingMethod ?? "round"), k = c.getTime() - $.getTime(), y = k / Te, C = _e(c) - _e($), D = (k - C) / Te, P = s?.unit;
|
|
38
|
+
let i;
|
|
39
|
+
if (P ? i = P : y < 1 ? i = "second" : y < 60 ? i = "minute" : y < $e ? i = "hour" : D < we ? i = "day" : D < Ee ? i = "month" : i = "year", i === "second") {
|
|
39
40
|
const g = v(k / 1e3);
|
|
40
41
|
return l.formatDistance("xSeconds", g, b);
|
|
41
|
-
} else if (
|
|
42
|
+
} else if (i === "minute") {
|
|
42
43
|
const g = v(y);
|
|
43
44
|
return l.formatDistance("xMinutes", g, b);
|
|
44
|
-
} else if (
|
|
45
|
+
} else if (i === "hour") {
|
|
45
46
|
const g = v(y / 60);
|
|
46
47
|
return l.formatDistance("xHours", g, b);
|
|
47
|
-
} else if (
|
|
48
|
+
} else if (i === "day") {
|
|
48
49
|
const g = v(D / $e);
|
|
49
50
|
return l.formatDistance("xDays", g, b);
|
|
50
|
-
} else if (
|
|
51
|
+
} else if (i === "month") {
|
|
51
52
|
const g = v(D / we);
|
|
52
53
|
return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
|
|
53
54
|
} else {
|
|
@@ -77,39 +78,39 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
77
78
|
trackingEnabled: { type: Boolean },
|
|
78
79
|
callback: {}
|
|
79
80
|
},
|
|
80
|
-
setup(
|
|
81
|
-
const { t: n } = ae(),
|
|
81
|
+
setup(u) {
|
|
82
|
+
const { t: n } = ae(), s = u, { display: d } = je(), {
|
|
82
83
|
maxNumberOfPeople: l,
|
|
83
84
|
numberOfPeople: _,
|
|
84
85
|
eventId: b,
|
|
85
86
|
tableGroupId: $
|
|
86
87
|
} = Q(H()), {
|
|
87
|
-
getTemplateAvailability:
|
|
88
|
+
getTemplateAvailability: c,
|
|
88
89
|
getEventAvailability: v,
|
|
89
90
|
isEventListingLoading: k
|
|
90
|
-
} = H(), y = Re(0), C = le(() => k(
|
|
91
|
-
y.value > 0 ? (b.value =
|
|
91
|
+
} = H(), y = Re(0), C = le(() => k(s.listingId)), D = () => {
|
|
92
|
+
y.value > 0 ? (b.value = s.listingId, _.value = y.value, c(s.callback)) : d({
|
|
92
93
|
type: "error",
|
|
93
94
|
message: n("alert.error.selectPeople")
|
|
94
95
|
});
|
|
95
96
|
}, P = () => {
|
|
96
|
-
y.value > 0 ? (b.value =
|
|
97
|
+
y.value > 0 ? (b.value = s.listingId, $.value = s.tableGroupId, _.value = y.value, v(s.callback)) : d({
|
|
97
98
|
type: "error",
|
|
98
99
|
message: n("alert.error.selectPeople")
|
|
99
100
|
});
|
|
100
101
|
};
|
|
101
|
-
return (
|
|
102
|
+
return (i, g) => (a(), T(nt, {
|
|
102
103
|
type: "event",
|
|
103
|
-
"listing-id":
|
|
104
|
-
gallery:
|
|
105
|
-
name:
|
|
106
|
-
description:
|
|
107
|
-
"prices-from":
|
|
108
|
-
"to-date":
|
|
104
|
+
"listing-id": i.listingId,
|
|
105
|
+
gallery: i.gallery,
|
|
106
|
+
name: i.name,
|
|
107
|
+
description: i.description,
|
|
108
|
+
"prices-from": i.fromPrice,
|
|
109
|
+
"to-date": i.toDate,
|
|
109
110
|
layout: e(Ze).Event
|
|
110
111
|
}, {
|
|
111
112
|
description: p(() => [
|
|
112
|
-
ne(
|
|
113
|
+
ne(i.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
|
|
113
114
|
]),
|
|
114
115
|
action: p(() => [
|
|
115
116
|
t("div", yt, [
|
|
@@ -120,16 +121,16 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
120
121
|
icon: "users",
|
|
121
122
|
"icon-type": "fas",
|
|
122
123
|
"icon-placement": "label",
|
|
123
|
-
description:
|
|
124
|
-
"min-value":
|
|
125
|
-
"max-value":
|
|
126
|
-
}, null, 8, ["modelValue", "label", "description", "
|
|
124
|
+
description: i.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${i.maxGuests} ${e(Ye)(e(n)("general.guests"))}` : void 0,
|
|
125
|
+
"min-value": 0,
|
|
126
|
+
"max-value": i.maxOnlineReservationLimit || i.maxGuests || e(l) || 1 / 0
|
|
127
|
+
}, null, 8, ["modelValue", "label", "description", "max-value"]),
|
|
127
128
|
t("div", _t, [
|
|
128
129
|
f(me, {
|
|
129
|
-
label:
|
|
130
|
-
disabled:
|
|
130
|
+
label: i.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
131
|
+
disabled: i.soldOut,
|
|
131
132
|
"is-loading": C.value,
|
|
132
|
-
onClickEvent: g[1] || (g[1] = (O) =>
|
|
133
|
+
onClickEvent: g[1] || (g[1] = (O) => i.type === "event" ? P() : D())
|
|
133
134
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
134
135
|
])
|
|
135
136
|
])
|
|
@@ -137,7 +138,7 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
137
138
|
_: 3
|
|
138
139
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
139
140
|
}
|
|
140
|
-
}), Ae = /* @__PURE__ */ se($t, [["__scopeId", "data-v-
|
|
141
|
+
}), Ae = /* @__PURE__ */ se($t, [["__scopeId", "data-v-a29b3262"]]), wt = ["innerHTML"], Et = { class: "konnectio-event-listing-information-new" };
|
|
141
142
|
const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-button" }, Dt = /* @__PURE__ */ j({
|
|
142
143
|
__name: "Event",
|
|
143
144
|
props: {
|
|
@@ -159,8 +160,8 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
159
160
|
trackingEnabled: { type: Boolean },
|
|
160
161
|
callback: {}
|
|
161
162
|
},
|
|
162
|
-
setup(
|
|
163
|
-
const n =
|
|
163
|
+
setup(u) {
|
|
164
|
+
const n = u, { t: s } = ae(), d = le(() => {
|
|
164
165
|
const l = n.length.split(":");
|
|
165
166
|
return console.log(l), kt(
|
|
166
167
|
new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
|
|
@@ -192,7 +193,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
192
193
|
icon: "calendar-clock",
|
|
193
194
|
color: "header"
|
|
194
195
|
}),
|
|
195
|
-
t("span", null, o(e(
|
|
196
|
+
t("span", null, o(e(s)("event.lengthOfEvent")), 1)
|
|
196
197
|
]),
|
|
197
198
|
t("span", null, o(d.value), 1)
|
|
198
199
|
]),
|
|
@@ -202,7 +203,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
202
203
|
icon: "calendar-clock",
|
|
203
204
|
color: "header"
|
|
204
205
|
}),
|
|
205
|
-
t("span", null, o(e(
|
|
206
|
+
t("span", null, o(e(s)("event.startAndEndTime")), 1)
|
|
206
207
|
]),
|
|
207
208
|
t("span", null, o(e(Je)(l.timeFrom, l.timeTo)), 1)
|
|
208
209
|
])
|
|
@@ -227,8 +228,8 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
227
228
|
trackingEnabled: { type: Boolean },
|
|
228
229
|
callback: {}
|
|
229
230
|
},
|
|
230
|
-
setup(
|
|
231
|
-
const n =
|
|
231
|
+
setup(u) {
|
|
232
|
+
const n = u, s = le(() => {
|
|
232
233
|
if (n.image)
|
|
233
234
|
return [{
|
|
234
235
|
large: n.image,
|
|
@@ -239,7 +240,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
239
240
|
});
|
|
240
241
|
return (d, l) => (a(), T(Ae, {
|
|
241
242
|
"listing-id": d.listingId,
|
|
242
|
-
gallery:
|
|
243
|
+
gallery: s.value,
|
|
243
244
|
name: d.name,
|
|
244
245
|
description: d.description,
|
|
245
246
|
"prices-from": d.fromPrice,
|
|
@@ -262,46 +263,46 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
262
263
|
showGiftCard: { type: Boolean, default: !1 },
|
|
263
264
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
264
265
|
},
|
|
265
|
-
setup(
|
|
266
|
-
const { t: n } = ae(),
|
|
266
|
+
setup(u) {
|
|
267
|
+
const { t: n } = ae(), s = Fe(), {
|
|
267
268
|
areListingsAvailable: d,
|
|
268
269
|
arrivalTime: l,
|
|
269
270
|
numberOfPeople: _,
|
|
270
271
|
numberOfRooms: b,
|
|
271
272
|
numberOfTotalDays: $,
|
|
272
|
-
isTemplateEvent:
|
|
273
|
+
isTemplateEvent: c,
|
|
273
274
|
length: v,
|
|
274
275
|
fromDate: k,
|
|
275
276
|
tableBasePrice: y,
|
|
276
277
|
getTemplateData: C,
|
|
277
278
|
basePrice: D,
|
|
278
279
|
totalPrice: P,
|
|
279
|
-
weekendFee:
|
|
280
|
+
weekendFee: i,
|
|
280
281
|
roomUpgrade: g,
|
|
281
282
|
discountCode: O
|
|
282
|
-
} = Q(H()), { totalAddonPrice: W, validateDiscountCode: ie } = H(), { currency:
|
|
283
|
-
return (
|
|
283
|
+
} = Q(H()), { totalAddonPrice: W, validateDiscountCode: ie } = H(), { currency: x } = Q(De());
|
|
284
|
+
return (L, X) => (a(), T(ot, {
|
|
284
285
|
"discount-code": e(O),
|
|
285
|
-
"onUpdate:discountCode":
|
|
286
|
+
"onUpdate:discountCode": X[0] || (X[0] = (U) => M(O) ? O.value = U : null),
|
|
286
287
|
"validate-discount-code": e(ie),
|
|
287
|
-
"show-gift-card":
|
|
288
|
-
"show-terms-notice":
|
|
288
|
+
"show-gift-card": L.showGiftCard,
|
|
289
|
+
"show-terms-notice": L.showTermsNotice,
|
|
289
290
|
"is-sidebar-loading": !e(d),
|
|
290
291
|
"base-price": e(D),
|
|
291
292
|
"total-price": e(P),
|
|
292
|
-
"weekend-fee": e(
|
|
293
|
+
"weekend-fee": e(i),
|
|
293
294
|
"room-upgrade": e(g),
|
|
294
295
|
notice: e(n)("hotel.reservationNotice")
|
|
295
|
-
},
|
|
296
|
+
}, Ue({
|
|
296
297
|
form: p(() => [
|
|
297
|
-
ne(
|
|
298
|
+
ne(L.$slots, "form")
|
|
298
299
|
]),
|
|
299
300
|
"reservation-summary": p(() => [
|
|
300
|
-
e(
|
|
301
|
+
e(c) ? (a(), m("li", Ot, [
|
|
301
302
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
302
303
|
t("b", null, o(e(ke)(e(k))), 1)
|
|
303
304
|
])) : h("", !0),
|
|
304
|
-
e(
|
|
305
|
+
e(c) ? (a(), m("li", Bt, [
|
|
305
306
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
306
307
|
t("b", null, o(e(ke)(e(k), e($))), 1)
|
|
307
308
|
])) : h("", !0),
|
|
@@ -309,61 +310,61 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
309
310
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
310
311
|
t("b", null, o(e(_)), 1)
|
|
311
312
|
]),
|
|
312
|
-
e(
|
|
313
|
+
e(c) ? (a(), m("li", St, [
|
|
313
314
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
314
315
|
t("b", null, o(e(b)), 1)
|
|
315
316
|
])) : h("", !0),
|
|
316
|
-
e(
|
|
317
|
+
e(c) ? (a(), m("li", Lt, [
|
|
317
318
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
318
319
|
t("b", null, o(e($)), 1)
|
|
319
320
|
])) : h("", !0),
|
|
320
|
-
!e(
|
|
321
|
+
!e(c) && e(l) ? (a(), m("li", It, [
|
|
321
322
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
322
323
|
t("b", null, o(e(ve)(e(l))), 1)
|
|
323
324
|
])) : h("", !0),
|
|
324
|
-
!e(
|
|
325
|
+
!e(c) && e(v) ? (a(), m("li", Nt, [
|
|
325
326
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
326
327
|
t("b", null, o(e(ve)(e(v))), 1)
|
|
327
328
|
])) : h("", !0)
|
|
328
329
|
]),
|
|
329
330
|
"price-summary": p(() => [
|
|
330
|
-
!e(
|
|
331
|
+
!e(c) && e(y) > 0 ? (a(), m("li", Mt, [
|
|
331
332
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
332
|
-
t("b", null, o(e(R)(e(y), e(
|
|
333
|
+
t("b", null, o(e(R)(e(y), e(x))), 1)
|
|
333
334
|
])) : h("", !0),
|
|
334
|
-
e(C) ? (a(!0), m(
|
|
335
|
+
e(C) ? (a(!0), m(S, { key: 1 }, G(e(C), ({ roomGroupId: U }, ee) => (a(), m("li", { key: U }, [
|
|
335
336
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
|
|
336
|
-
t("b", null, o(e(R)(e(W)(
|
|
337
|
+
t("b", null, o(e(R)(e(W)(U, ee), e(x))), 1)
|
|
337
338
|
]))), 128)) : h("", !0)
|
|
338
339
|
]),
|
|
339
340
|
navigation: p(() => [
|
|
340
|
-
ne(
|
|
341
|
+
ne(L.$slots, "navigation")
|
|
341
342
|
]),
|
|
342
343
|
_: 2
|
|
343
344
|
}, [
|
|
344
|
-
e(
|
|
345
|
+
e(s).sidebar ? {
|
|
345
346
|
name: "sidebar",
|
|
346
347
|
fn: p(() => [
|
|
347
|
-
ne(
|
|
348
|
+
ne(L.$slots, "sidebar")
|
|
348
349
|
]),
|
|
349
350
|
key: "0"
|
|
350
351
|
} : void 0
|
|
351
352
|
]), 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
353
|
}
|
|
353
|
-
}), Rt = { class: "event-skeleton" },
|
|
354
|
+
}), Rt = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, Ut = { class: "event-skeleton-sidebar" }, zt = /* @__PURE__ */ j({
|
|
354
355
|
__name: "EventSkeleton",
|
|
355
|
-
setup(
|
|
356
|
-
return (n,
|
|
357
|
-
t("div",
|
|
356
|
+
setup(u) {
|
|
357
|
+
return (n, s) => (a(), m("div", Rt, [
|
|
358
|
+
t("div", Ft, [
|
|
358
359
|
f(Pe)
|
|
359
360
|
]),
|
|
360
|
-
t("div",
|
|
361
|
+
t("div", Ut, [
|
|
361
362
|
h("", !0),
|
|
362
363
|
f(lt)
|
|
363
364
|
])
|
|
364
365
|
]));
|
|
365
366
|
}
|
|
366
|
-
}),
|
|
367
|
+
}), Gt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), F = (u) => (Ge("data-v-3b118dcb"), u = u(), qe(), u), qt = {
|
|
367
368
|
key: 0,
|
|
368
369
|
id: "konnectio-event-listings-wrapper"
|
|
369
370
|
};
|
|
@@ -371,39 +372,40 @@ const Ht = { class: "konnectio-event-listings" };
|
|
|
371
372
|
const jt = { class: "konnectio-event-listings" }, Yt = { class: "konnectio-panel" }, Zt = {
|
|
372
373
|
key: 1,
|
|
373
374
|
id: "fresh-booking-event-addons"
|
|
374
|
-
}, Jt = { class: "konnectio-table with-lines" }, Kt = /* @__PURE__ */
|
|
375
|
-
const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class: "konnectio-table with-lines" }, rn = /* @__PURE__ */
|
|
375
|
+
}, Jt = { class: "konnectio-table with-lines" }, Kt = /* @__PURE__ */ F(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Qt = { class: "konnectio-event-addons-price" }, Wt = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), xt = { class: "konnectio-event-addons-input" }, Xt = { class: "konnectio-event-addons-price" }, en = /* @__PURE__ */ F(() => /* @__PURE__ */ t("td", null, null, -1)), tn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("td", null, null, -1)), nn = { class: "konnectio-event-addons-price" }, on = { key: 2 };
|
|
376
|
+
const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class: "konnectio-table with-lines" }, rn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), cn = { class: "konnectio-event-addons-price" }, un = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), dn = /* @__PURE__ */ F(() => /* @__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__ */ j({
|
|
376
377
|
name: "EventLayout",
|
|
377
378
|
__name: "Event",
|
|
378
379
|
props: {
|
|
379
380
|
accessToken: {},
|
|
380
381
|
onlyShow: { default: "everything" },
|
|
382
|
+
selectedLocation: {},
|
|
381
383
|
styling: {}
|
|
382
384
|
},
|
|
383
|
-
setup(
|
|
385
|
+
setup(u) {
|
|
384
386
|
const { t: n } = ae(), {
|
|
385
|
-
addons:
|
|
387
|
+
addons: s,
|
|
386
388
|
products: d,
|
|
387
389
|
numberOfDays: l,
|
|
388
390
|
name: _,
|
|
389
391
|
phone: b,
|
|
390
392
|
email: $,
|
|
391
|
-
remark:
|
|
393
|
+
remark: c,
|
|
392
394
|
arrivalTime: v,
|
|
393
395
|
hasEvents: k,
|
|
394
396
|
hasTemplates: y,
|
|
395
397
|
getEvents: C,
|
|
396
398
|
getTemplates: D,
|
|
397
399
|
getEventData: P,
|
|
398
|
-
getTemplateData:
|
|
400
|
+
getTemplateData: i,
|
|
399
401
|
getEventTableData: g,
|
|
400
402
|
hasProducts: O,
|
|
401
403
|
eventRateType: W,
|
|
402
404
|
areListingsAvailable: ie,
|
|
403
|
-
isAvailabilityDataAvailable:
|
|
404
|
-
isTemplateEvent:
|
|
405
|
-
hasListingData:
|
|
406
|
-
isPaymentLoading:
|
|
405
|
+
isAvailabilityDataAvailable: x,
|
|
406
|
+
isTemplateEvent: L,
|
|
407
|
+
hasListingData: X,
|
|
408
|
+
isPaymentLoading: U,
|
|
407
409
|
isReservationFormFilled: ee
|
|
408
410
|
} = Q(H()), {
|
|
409
411
|
initialize: Ce,
|
|
@@ -413,39 +415,42 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
413
415
|
totalAddonPrice: Se,
|
|
414
416
|
reset: be
|
|
415
417
|
} = H(), { currency: Y } = Q(De()), Le = le(() => {
|
|
416
|
-
const
|
|
418
|
+
const B = [];
|
|
417
419
|
return g.value && g.value.forEach((w) => {
|
|
418
|
-
|
|
420
|
+
B.push({
|
|
419
421
|
label: ve(w.time),
|
|
420
422
|
value: w.time
|
|
421
423
|
});
|
|
422
|
-
}),
|
|
424
|
+
}), B;
|
|
423
425
|
});
|
|
424
426
|
function Ie() {
|
|
425
427
|
Oe();
|
|
426
428
|
}
|
|
427
|
-
return (
|
|
429
|
+
return (B, w) => (a(), T(Qe, { styling: B.styling }, {
|
|
428
430
|
default: p(() => [
|
|
429
|
-
(a(), T(
|
|
431
|
+
(a(), T(ze, { onResolve: Ie }, {
|
|
430
432
|
default: p(() => [
|
|
431
433
|
f(dt, {
|
|
432
434
|
id: "konnectio-event-module",
|
|
433
|
-
"access-token":
|
|
435
|
+
"access-token": B.accessToken,
|
|
434
436
|
callback: e(Ce)
|
|
435
437
|
}, {
|
|
436
438
|
default: p(() => [
|
|
437
439
|
f(at, null, {
|
|
438
|
-
availability: p(({ next:
|
|
440
|
+
availability: p(({ next: z }) => [
|
|
439
441
|
f(de, null, {
|
|
440
442
|
sidebar: p(() => [
|
|
441
|
-
f(
|
|
443
|
+
f(ut, {
|
|
444
|
+
redirection: !1,
|
|
445
|
+
"selected-location": Number(B.selectedLocation)
|
|
446
|
+
}, null, 8, ["selected-location"])
|
|
442
447
|
]),
|
|
443
448
|
form: p(() => [
|
|
444
|
-
e(
|
|
445
|
-
e(k) &&
|
|
449
|
+
e(X) && e(ie) ? (a(), m("div", qt, [
|
|
450
|
+
e(k) && B.onlyShow !== "templates" ? (a(), m(S, { key: 0 }, [
|
|
446
451
|
h("", !0),
|
|
447
452
|
t("ul", Ht, [
|
|
448
|
-
(a(!0), m(
|
|
453
|
+
(a(!0), m(S, null, G(e(C), ({
|
|
449
454
|
id: A,
|
|
450
455
|
days: r,
|
|
451
456
|
name: I,
|
|
@@ -455,7 +460,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
455
460
|
toDate: Z,
|
|
456
461
|
tableGroupId: J,
|
|
457
462
|
description: re,
|
|
458
|
-
soldOut:
|
|
463
|
+
soldOut: ce,
|
|
459
464
|
length: K,
|
|
460
465
|
images: Ne,
|
|
461
466
|
maxOnlineReservationLimit: Me
|
|
@@ -474,15 +479,15 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
474
479
|
"max-online-reservation-limit": Me,
|
|
475
480
|
"time-from": N,
|
|
476
481
|
"time-to": E,
|
|
477
|
-
"sold-out":
|
|
478
|
-
callback:
|
|
482
|
+
"sold-out": ce,
|
|
483
|
+
callback: z
|
|
479
484
|
}, 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))
|
|
480
485
|
])
|
|
481
486
|
], 64)) : h("", !0),
|
|
482
|
-
e(y) &&
|
|
487
|
+
e(y) && B.onlyShow !== "events" ? (a(), m(S, { key: 1 }, [
|
|
483
488
|
h("", !0),
|
|
484
489
|
t("ul", jt, [
|
|
485
|
-
(a(!0), m(
|
|
490
|
+
(a(!0), m(S, null, G(e(D), ({
|
|
486
491
|
id: A,
|
|
487
492
|
name: r,
|
|
488
493
|
fromDate: I,
|
|
@@ -501,7 +506,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
501
506
|
"to-date": N,
|
|
502
507
|
"minimum-person-count": E,
|
|
503
508
|
fromPrice: V,
|
|
504
|
-
callback:
|
|
509
|
+
callback: z
|
|
505
510
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
506
511
|
])
|
|
507
512
|
], 64)) : h("", !0)
|
|
@@ -510,8 +515,8 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
510
515
|
_: 2
|
|
511
516
|
}, 1024)
|
|
512
517
|
]),
|
|
513
|
-
addons: p(({ next:
|
|
514
|
-
e(
|
|
518
|
+
addons: p(({ next: z, prev: A }) => [
|
|
519
|
+
e(x) ? (a(), T(de, { key: 0 }, {
|
|
515
520
|
form: p(() => [
|
|
516
521
|
t("form", Yt, [
|
|
517
522
|
t("h2", null, [
|
|
@@ -525,8 +530,8 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
525
530
|
"min-value": 1,
|
|
526
531
|
required: ""
|
|
527
532
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
528
|
-
e(
|
|
529
|
-
(a(!0), m(
|
|
533
|
+
e(i) && e(i).length > 0 ? (a(), m("ul", Zt, [
|
|
534
|
+
(a(!0), m(S, null, G(e(i), ({
|
|
530
535
|
roomGroupId: r,
|
|
531
536
|
addons: I,
|
|
532
537
|
adultPerRoom: N
|
|
@@ -554,33 +559,33 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
554
559
|
])
|
|
555
560
|
]),
|
|
556
561
|
t("tbody", null, [
|
|
557
|
-
(a(!0), m(
|
|
562
|
+
(a(!0), m(S, null, G(I, ({
|
|
558
563
|
id: V,
|
|
559
564
|
cardinality: Z,
|
|
560
565
|
name: J,
|
|
561
566
|
price: re,
|
|
562
|
-
quantityStrategy:
|
|
567
|
+
quantityStrategy: ce
|
|
563
568
|
}) => (a(), m("tr", { key: V }, [
|
|
564
569
|
t("td", null, [
|
|
565
570
|
t("b", null, o(J), 1),
|
|
566
571
|
Wt,
|
|
567
|
-
t("span", null, o(e(R)(re, e(Y))) + " " + o(e(Ke)(
|
|
572
|
+
t("span", null, o(e(R)(re, e(Y))) + " " + o(e(Ke)(ce)), 1)
|
|
568
573
|
]),
|
|
569
|
-
t("td",
|
|
574
|
+
t("td", xt, [
|
|
570
575
|
Z === 3 ? (a(), T(oe, {
|
|
571
576
|
key: 0,
|
|
572
|
-
modelValue: e(
|
|
573
|
-
"onUpdate:modelValue": (K) => e(
|
|
577
|
+
modelValue: e(s)[`${r}.${V}.${E}`],
|
|
578
|
+
"onUpdate:modelValue": (K) => e(s)[`${r}.${V}.${E}`] = K,
|
|
574
579
|
small: !0,
|
|
575
580
|
"min-value": 0
|
|
576
581
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(vt, {
|
|
577
582
|
key: 1,
|
|
578
|
-
modelValue: e(
|
|
579
|
-
"onUpdate:modelValue": (K) => e(
|
|
583
|
+
modelValue: e(s)[`${r}.${V}.${E}`],
|
|
584
|
+
"onUpdate:modelValue": (K) => e(s)[`${r}.${V}.${E}`] = K,
|
|
580
585
|
numeric: !0
|
|
581
586
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
582
587
|
]),
|
|
583
|
-
t("td",
|
|
588
|
+
t("td", Xt, [
|
|
584
589
|
t("span", null, o(e(R)(e(fe)(V, r, E), e(Y))), 1)
|
|
585
590
|
])
|
|
586
591
|
]))), 128))
|
|
@@ -599,7 +604,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
599
604
|
])
|
|
600
605
|
]))), 128))
|
|
601
606
|
])) : h("", !0),
|
|
602
|
-
e(W) !== e(ye).FullDayEvent && !e(
|
|
607
|
+
e(W) !== e(ye).FullDayEvent && !e(L) ? (a(), m("div", on, [
|
|
603
608
|
h("", !0),
|
|
604
609
|
f(st, {
|
|
605
610
|
modelValue: e(v),
|
|
@@ -621,18 +626,18 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
621
626
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
622
627
|
]),
|
|
623
628
|
rn,
|
|
624
|
-
t("th",
|
|
629
|
+
t("th", cn, [
|
|
625
630
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
626
631
|
])
|
|
627
632
|
])
|
|
628
633
|
]),
|
|
629
634
|
t("tbody", null, [
|
|
630
|
-
(a(!0), m(
|
|
635
|
+
(a(!0), m(S, null, G(e(P).products, ({ productID: r, productName: I, price: N, description: E }) => (a(), m("tr", { key: r }, [
|
|
631
636
|
t("td", null, [
|
|
632
637
|
t("b", null, [
|
|
633
638
|
t("span", null, o(I), 1)
|
|
634
639
|
]),
|
|
635
|
-
|
|
640
|
+
un,
|
|
636
641
|
t("span", null, o(E), 1),
|
|
637
642
|
dn,
|
|
638
643
|
t("span", null, o(e(R)(N, e(Y))), 1)
|
|
@@ -658,7 +663,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
658
663
|
f(me, {
|
|
659
664
|
label: e(n)("general.startReservation"),
|
|
660
665
|
"full-width": "",
|
|
661
|
-
onClickEvent:
|
|
666
|
+
onClickEvent: z
|
|
662
667
|
}, null, 8, ["label", "onClickEvent"]),
|
|
663
668
|
t("button", {
|
|
664
669
|
class: "konnectio-abort-reservation link",
|
|
@@ -670,7 +675,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
670
675
|
_: 2
|
|
671
676
|
}, 1024)) : h("", !0)
|
|
672
677
|
]),
|
|
673
|
-
reservation: p(({ next:
|
|
678
|
+
reservation: p(({ next: z, prev: A }) => [
|
|
674
679
|
f(de, {
|
|
675
680
|
"show-terms-notice": !0,
|
|
676
681
|
"show-gift-card": !0
|
|
@@ -680,7 +685,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
680
685
|
t("h2", null, [
|
|
681
686
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
682
687
|
]),
|
|
683
|
-
f(
|
|
688
|
+
f(ue, {
|
|
684
689
|
modelValue: e(_),
|
|
685
690
|
"onUpdate:modelValue": w[2] || (w[2] = (r) => M(_) ? _.value = r : null),
|
|
686
691
|
type: "text",
|
|
@@ -689,7 +694,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
689
694
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
690
695
|
required: ""
|
|
691
696
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
692
|
-
f(
|
|
697
|
+
f(ue, {
|
|
693
698
|
modelValue: e($),
|
|
694
699
|
"onUpdate:modelValue": w[3] || (w[3] = (r) => M($) ? $.value = r : null),
|
|
695
700
|
label: e(n)("booking.reservation.email"),
|
|
@@ -708,9 +713,9 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
708
713
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
709
714
|
required: ""
|
|
710
715
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
711
|
-
f(
|
|
712
|
-
modelValue: e(
|
|
713
|
-
"onUpdate:modelValue": w[5] || (w[5] = (r) => M(
|
|
716
|
+
f(ue, {
|
|
717
|
+
modelValue: e(c),
|
|
718
|
+
"onUpdate:modelValue": w[5] || (w[5] = (r) => M(c) ? c.value = r : null),
|
|
714
719
|
type: "textarea",
|
|
715
720
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
716
721
|
icon: "info-circle",
|
|
@@ -721,10 +726,10 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
721
726
|
navigation: p(() => [
|
|
722
727
|
f(me, {
|
|
723
728
|
label: e(n)("general.confirmReservation"),
|
|
724
|
-
"is-loading": e(
|
|
729
|
+
"is-loading": e(U),
|
|
725
730
|
disabled: !e(ee),
|
|
726
731
|
"full-width": "",
|
|
727
|
-
onClickEvent: (r) => e(Be)(
|
|
732
|
+
onClickEvent: (r) => e(Be)(z)
|
|
728
733
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"]),
|
|
729
734
|
t("button", {
|
|
730
735
|
class: "konnectio-abort-reservation link",
|
|
@@ -751,7 +756,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
751
756
|
}, 8, ["access-token", "callback"])
|
|
752
757
|
]),
|
|
753
758
|
fallback: p(() => [
|
|
754
|
-
f(
|
|
759
|
+
f(Gt)
|
|
755
760
|
]),
|
|
756
761
|
_: 1
|
|
757
762
|
}))
|
|
@@ -759,7 +764,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
759
764
|
_: 1
|
|
760
765
|
}, 8, ["styling"]));
|
|
761
766
|
}
|
|
762
|
-
}), te = /* @__PURE__ */ se(gn, [["__scopeId", "data-v-
|
|
767
|
+
}), te = /* @__PURE__ */ se(gn, [["__scopeId", "data-v-3b118dcb"]]), hn = We(), kn = et();
|
|
763
768
|
class yn extends HTMLElement {
|
|
764
769
|
vueApp;
|
|
765
770
|
constructor() {
|
|
@@ -770,19 +775,19 @@ class yn extends HTMLElement {
|
|
|
770
775
|
}
|
|
771
776
|
connectedCallback() {
|
|
772
777
|
const n = typeof te == "function" ? te.options : te;
|
|
773
|
-
let
|
|
774
|
-
const d = (
|
|
775
|
-
|
|
778
|
+
let s = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
779
|
+
const d = (c) => c.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, k) => (k ? "-" : "") + v.toLowerCase()), l = (c) => c.replace(/-./g, (v) => v[1].toUpperCase()), _ = {};
|
|
780
|
+
s = s.map(d);
|
|
776
781
|
const b = {};
|
|
777
|
-
for (const
|
|
778
|
-
const k =
|
|
779
|
-
k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] =
|
|
782
|
+
for (const c of this.attributes) {
|
|
783
|
+
const k = c.name.split(".");
|
|
784
|
+
k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = c.value);
|
|
780
785
|
}
|
|
781
|
-
for (const
|
|
782
|
-
let v = this.attributes.getNamedItem(
|
|
783
|
-
b.hasOwnProperty(
|
|
786
|
+
for (const c of s) {
|
|
787
|
+
let v = this.attributes.getNamedItem(c)?.value;
|
|
788
|
+
b.hasOwnProperty(c) && (v = b[c]), _[c] = v;
|
|
784
789
|
}
|
|
785
|
-
this.vueApp = He(te, _),
|
|
790
|
+
this.vueApp = He(te, _), tt(this.vueApp), this.vueApp.provide("emitter", kn), this.vueApp.use(xe), this.vueApp.use(hn), this.vueApp.use(rt), this.vueApp.use(ct), this.vueApp.use(Xe, { bootstrap: !0 });
|
|
786
791
|
const $ = document.createElement("div");
|
|
787
792
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
788
793
|
}
|