@konnectio/core 4.0.56-rc47 → 4.0.56-rc49
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-Ck8cxR78.js → ActionField-B9sCmWFD.js} +11 -11
- package/dist/ActionField-B9sCmWFD.js.br +0 -0
- package/dist/{AvailabilitySkeleton-C_OWp8Fq.js → AvailabilitySkeleton-sGz2nSbb.js} +35 -35
- package/dist/AvailabilitySkeleton-sGz2nSbb.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js.br +0 -0
- package/dist/{CheckoutWindow-DcaNMI9K.js → CheckoutWindow-CrzoIK1a.js} +14 -14
- package/dist/CheckoutWindow-CrzoIK1a.js.br +0 -0
- package/dist/{ErrorMessage-DH5q_ieB.js → ErrorMessage-SZPwCpu-.js} +4 -4
- package/dist/ErrorMessage-SZPwCpu-.js.br +0 -0
- package/dist/{EventAvailabilityForm-DphCQOMO.js → EventAvailabilityForm-DFuang-b.js} +138 -138
- package/dist/EventAvailabilityForm-DFuang-b.js.br +0 -0
- package/dist/{Field-Dg8W7a_X.js → Field-CLXqVSAA.js} +12 -12
- package/dist/Field-CLXqVSAA.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js} +2151 -2132
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js.br +0 -0
- package/dist/{TermsOfService-DenzWB_O.js → TermsOfService-DBwm3BP2.js} +7 -7
- package/dist/TermsOfService-DBwm3BP2.js.br +0 -0
- package/dist/_-BOjhcjBA.js +12 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-VOXCSp8f.js → _.vue_vue_type_style_index_0_lang-BNx_Z1PF.js} +11 -11
- package/dist/_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js.br +0 -0
- package/dist/availability.js +40 -41
- package/dist/availability.js.br +0 -0
- package/dist/event.js +155 -153
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +26 -27
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +127 -127
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BpIUm5ol.js → giftCard-hEwcI_Rx.js} +11 -11
- package/dist/giftCard-hEwcI_Rx.js.br +0 -0
- package/dist/hotel.js +620 -618
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-Bo5QRvUz.js → masonry.plugin-C474cwA-.js} +1026 -1009
- package/dist/masonry.plugin-C474cwA-.js.br +0 -0
- package/dist/navigation.js +2 -2
- package/dist/polyfill.js +726 -726
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-pAUg9FFo.js +11818 -0
- package/dist/tracing-pAUg9FFo.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-Ck8cxR78.js.br +0 -0
- package/dist/AvailabilitySkeleton-C_OWp8Fq.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br +0 -0
- package/dist/CheckoutWindow-DcaNMI9K.js.br +0 -0
- package/dist/ErrorMessage-DH5q_ieB.js.br +0 -0
- package/dist/EventAvailabilityForm-DphCQOMO.js.br +0 -0
- package/dist/Field-Dg8W7a_X.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.br +0 -0
- package/dist/TermsOfService-DenzWB_O.js.br +0 -0
- package/dist/_-DgexTosT.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.br +0 -0
- package/dist/_commonjsHelpers-ytV6SVHa.js +0 -9541
- package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
- package/dist/giftCard-BpIUm5ol.js.br +0 -0
- package/dist/masonry.plugin-Bo5QRvUz.js.br +0 -0
- package/dist/sentry-D1A53_C5.js +0 -18
- package/dist/tracing-wxeFiHIa.js +0 -2287
- package/dist/tracing-wxeFiHIa.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { d as Y, 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 Ue, C as Fe, A as z, F as B, x as M, q as qe, S as ze, D as
|
|
2
|
-
import { h as ae, a as Ye, s as H,
|
|
3
|
-
import { B as
|
|
4
|
-
import { u as j, E as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { t as G, e as
|
|
7
|
-
import { a as
|
|
1
|
+
import { d as Y, 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 Ue, C as Fe, A as z, F as B, x as M, q as qe, S as ze, D as ge, i as he, p as Ge, j as He, k as je } from "./tracing-pAUg9FFo.js";
|
|
2
|
+
import { h as ae, a as Ye, s as H, J as Ze, l as oe, C as me, K as Je, _ as se, j as De, A as pe, M as Ke, b as Ve, D as ke, N as ve, B as R, m as Qe, O as ye, P as We, T as ce, n as Xe, o as xe, p as et, q as tt, H as nt, t as ot } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js";
|
|
3
|
+
import { B as lt, R as at, L as Pe, S as st, M as it, C as rt, T as ut, V as ct, G as dt } from "./masonry.plugin-C474cwA-.js";
|
|
4
|
+
import { u as j, E as mt } from "./EventAvailabilityForm-DFuang-b.js";
|
|
5
|
+
import { _ as pt } from "./_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js";
|
|
6
|
+
import { t as G, e as vt, g as _e, m as $e, a as we, b as Ee, c as ft, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js";
|
|
7
|
+
import { a as bt, P as gt, C as ht } from "./CheckoutWindow-CrzoIK1a.js";
|
|
8
8
|
import "./navigation.js";
|
|
9
9
|
(function() {
|
|
10
10
|
try {
|
|
11
11
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
12
|
-
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "
|
|
12
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "53cda170-f9ad-4a25-962e-90eadf66bc37", c._sentryDebugIdIdentifier = "sentry-dbid-53cda170-f9ad-4a25-962e-90eadf66bc37");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
|
-
function
|
|
16
|
+
function kt(c, n) {
|
|
17
17
|
const i = G(c), d = G(n), l = i.getTime() - d.getTime();
|
|
18
18
|
return l < 0 ? -1 : l > 0 ? 1 : l;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function yt(c) {
|
|
21
21
|
return (n) => {
|
|
22
22
|
const d = (c ? Math[c] : Math.trunc)(n);
|
|
23
23
|
return d === 0 ? 0 : d;
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
const d =
|
|
26
|
+
function _t(c, n, i) {
|
|
27
|
+
const d = ft(), l = i?.locale ?? d.locale ?? vt, _ = kt(c, n);
|
|
28
28
|
if (isNaN(_))
|
|
29
29
|
throw new RangeError("Invalid time value");
|
|
30
|
-
const
|
|
30
|
+
const b = Object.assign({}, i, {
|
|
31
31
|
addSuffix: i?.addSuffix,
|
|
32
32
|
comparison: _
|
|
33
33
|
});
|
|
34
34
|
let $, u;
|
|
35
35
|
_ > 0 ? ($ = G(n), u = G(c)) : ($ = G(c), u = G(n));
|
|
36
|
-
const v =
|
|
36
|
+
const v = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), V = (k - C) / Te, P = i?.unit;
|
|
37
37
|
let s;
|
|
38
|
-
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y <
|
|
39
|
-
const
|
|
40
|
-
return l.formatDistance("xSeconds",
|
|
38
|
+
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : V < we ? s = "day" : V < Ee ? s = "month" : s = "year", s === "second") {
|
|
39
|
+
const g = v(k / 1e3);
|
|
40
|
+
return l.formatDistance("xSeconds", g, b);
|
|
41
41
|
} else if (s === "minute") {
|
|
42
|
-
const
|
|
43
|
-
return l.formatDistance("xMinutes",
|
|
42
|
+
const g = v(y);
|
|
43
|
+
return l.formatDistance("xMinutes", g, b);
|
|
44
44
|
} else if (s === "hour") {
|
|
45
|
-
const
|
|
46
|
-
return l.formatDistance("xHours",
|
|
45
|
+
const g = v(y / 60);
|
|
46
|
+
return l.formatDistance("xHours", g, b);
|
|
47
47
|
} else if (s === "day") {
|
|
48
|
-
const
|
|
49
|
-
return l.formatDistance("xDays",
|
|
48
|
+
const g = v(V / $e);
|
|
49
|
+
return l.formatDistance("xDays", g, b);
|
|
50
50
|
} else if (s === "month") {
|
|
51
|
-
const
|
|
52
|
-
return
|
|
51
|
+
const g = v(V / we);
|
|
52
|
+
return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
|
|
53
53
|
} else {
|
|
54
|
-
const
|
|
55
|
-
return l.formatDistance("xYears",
|
|
54
|
+
const g = v(V / Ee);
|
|
55
|
+
return l.formatDistance("xYears", g, b);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
const
|
|
58
|
+
const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio-event-listing-action-button" }, Et = /* @__PURE__ */ Y({
|
|
59
59
|
__name: "_",
|
|
60
60
|
props: {
|
|
61
61
|
name: {},
|
|
@@ -81,24 +81,24 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
|
|
|
81
81
|
const { t: n } = ae(), i = c, { display: d } = Ye(), {
|
|
82
82
|
maxNumberOfPeople: l,
|
|
83
83
|
numberOfPeople: _,
|
|
84
|
-
eventId:
|
|
84
|
+
eventId: b,
|
|
85
85
|
tableGroupId: $
|
|
86
86
|
} = H(j()), {
|
|
87
87
|
getTemplateAvailability: u,
|
|
88
88
|
getEventAvailability: v,
|
|
89
89
|
isEventListingLoading: k
|
|
90
|
-
} = j(), y = Re(0), C = le(() => k(i.listingId)),
|
|
91
|
-
y.value > 0 ? (
|
|
90
|
+
} = j(), y = Re(0), C = le(() => k(i.listingId)), V = () => {
|
|
91
|
+
y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : d({
|
|
92
92
|
type: "error",
|
|
93
93
|
message: n("alert.error.selectPeople")
|
|
94
94
|
});
|
|
95
95
|
}, P = () => {
|
|
96
|
-
y.value > 0 ? (
|
|
96
|
+
y.value > 0 ? (b.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, v(i.callback)) : d({
|
|
97
97
|
type: "error",
|
|
98
98
|
message: n("alert.error.selectPeople")
|
|
99
99
|
});
|
|
100
100
|
};
|
|
101
|
-
return (s,
|
|
101
|
+
return (s, g) => (a(), T(lt, {
|
|
102
102
|
type: "event",
|
|
103
103
|
"listing-id": s.listingId,
|
|
104
104
|
gallery: s.gallery,
|
|
@@ -112,10 +112,10 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
|
|
|
112
112
|
ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
|
|
113
113
|
]),
|
|
114
114
|
action: p(() => [
|
|
115
|
-
t("div",
|
|
115
|
+
t("div", $t, [
|
|
116
116
|
f(oe, {
|
|
117
117
|
modelValue: y.value,
|
|
118
|
-
"onUpdate:modelValue":
|
|
118
|
+
"onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
|
|
119
119
|
label: e(n)("event.numberOfGuests"),
|
|
120
120
|
icon: "users",
|
|
121
121
|
"icon-type": "fas",
|
|
@@ -124,12 +124,12 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
|
|
|
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", wt, [
|
|
128
128
|
f(me, {
|
|
129
129
|
label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
130
130
|
disabled: s.soldOut,
|
|
131
131
|
"is-loading": C.value,
|
|
132
|
-
onClickEvent:
|
|
132
|
+
onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : V())
|
|
133
133
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
134
134
|
])
|
|
135
135
|
])
|
|
@@ -137,8 +137,8 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
|
|
|
137
137
|
_: 3
|
|
138
138
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
139
139
|
}
|
|
140
|
-
}),
|
|
141
|
-
const Vt = { class: "konnectio-pill-button" },
|
|
140
|
+
}), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-38f9c15b"]]), Tt = ["innerHTML"], Dt = { class: "konnectio-event-listing-information-new" };
|
|
141
|
+
const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-button" }, At = /* @__PURE__ */ Y({
|
|
142
142
|
__name: "Event",
|
|
143
143
|
props: {
|
|
144
144
|
name: {},
|
|
@@ -162,12 +162,12 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { 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), _t(
|
|
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
|
);
|
|
169
169
|
});
|
|
170
|
-
return (l, _) => (a(), T(
|
|
170
|
+
return (l, _) => (a(), T(Ae, {
|
|
171
171
|
"listing-id": l.listingId,
|
|
172
172
|
name: l.name,
|
|
173
173
|
description: l.description,
|
|
@@ -183,8 +183,8 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
|
|
|
183
183
|
l.description ? (a(), m("p", {
|
|
184
184
|
key: 0,
|
|
185
185
|
innerHTML: e(De)(l.description)
|
|
186
|
-
}, null, 8,
|
|
187
|
-
t("ul",
|
|
186
|
+
}, null, 8, Tt)) : h("", !0),
|
|
187
|
+
t("ul", Dt, [
|
|
188
188
|
h("", !0),
|
|
189
189
|
t("li", Vt, [
|
|
190
190
|
t("div", null, [
|
|
@@ -196,7 +196,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
|
|
|
196
196
|
]),
|
|
197
197
|
t("span", null, o(d.value), 1)
|
|
198
198
|
]),
|
|
199
|
-
t("li",
|
|
199
|
+
t("li", Pt, [
|
|
200
200
|
t("div", null, [
|
|
201
201
|
f(pe, {
|
|
202
202
|
icon: "calendar-clock",
|
|
@@ -211,7 +211,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
|
|
|
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
|
+
}), Ct = /* @__PURE__ */ se(At, [["__scopeId", "data-v-148bf11e"]]), Ot = ["innerHTML"], Bt = /* @__PURE__ */ Y({
|
|
215
215
|
__name: "Template",
|
|
216
216
|
props: {
|
|
217
217
|
name: {},
|
|
@@ -237,7 +237,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
|
|
|
237
237
|
url: n.image
|
|
238
238
|
}];
|
|
239
239
|
});
|
|
240
|
-
return (d, l) => (a(), T(
|
|
240
|
+
return (d, l) => (a(), T(Ae, {
|
|
241
241
|
"listing-id": d.listingId,
|
|
242
242
|
gallery: i.value,
|
|
243
243
|
name: d.name,
|
|
@@ -251,12 +251,12 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
|
|
|
251
251
|
d.description ? (a(), m("p", {
|
|
252
252
|
key: 0,
|
|
253
253
|
innerHTML: e(De)(d.description)
|
|
254
|
-
}, null, 8,
|
|
254
|
+
}, null, 8, Ot)) : h("", !0)
|
|
255
255
|
]),
|
|
256
256
|
_: 1
|
|
257
257
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
258
258
|
}
|
|
259
|
-
}),
|
|
259
|
+
}), St = { key: 0 }, Lt = { key: 1 }, It = { key: 2 }, Nt = { key: 3 }, Mt = { key: 4 }, Rt = { key: 5 }, Ut = { key: 0 }, de = /* @__PURE__ */ Y({
|
|
260
260
|
__name: "EventReservationForm",
|
|
261
261
|
props: {
|
|
262
262
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -267,67 +267,67 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
|
|
|
267
267
|
areListingsAvailable: d,
|
|
268
268
|
arrivalTime: l,
|
|
269
269
|
numberOfPeople: _,
|
|
270
|
-
numberOfRooms:
|
|
270
|
+
numberOfRooms: b,
|
|
271
271
|
numberOfTotalDays: $,
|
|
272
272
|
isTemplateEvent: u,
|
|
273
273
|
length: v,
|
|
274
274
|
fromDate: k,
|
|
275
275
|
tableBasePrice: y,
|
|
276
276
|
getTemplateData: C,
|
|
277
|
-
basePrice:
|
|
277
|
+
basePrice: V,
|
|
278
278
|
totalPrice: P,
|
|
279
279
|
weekendFee: s,
|
|
280
|
-
roomUpgrade:
|
|
280
|
+
roomUpgrade: g,
|
|
281
281
|
discountCode: O
|
|
282
|
-
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(
|
|
283
|
-
return (S, x) => (a(), T(
|
|
282
|
+
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(Ve());
|
|
283
|
+
return (S, x) => (a(), T(at, {
|
|
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),
|
|
287
287
|
"show-gift-card": S.showGiftCard,
|
|
288
288
|
"show-terms-notice": S.showTermsNotice,
|
|
289
289
|
"is-sidebar-loading": !e(d),
|
|
290
|
-
"base-price": e(
|
|
290
|
+
"base-price": e(V),
|
|
291
291
|
"total-price": e(P),
|
|
292
292
|
"weekend-fee": e(s),
|
|
293
|
-
"room-upgrade": e(
|
|
293
|
+
"room-upgrade": e(g),
|
|
294
294
|
notice: e(n)("hotel.reservationNotice")
|
|
295
295
|
}, Fe({
|
|
296
296
|
form: p(() => [
|
|
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", St, [
|
|
301
301
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
302
|
-
t("b", null, o(e(
|
|
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", Lt, [
|
|
305
305
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
306
|
-
t("b", null, o(e(
|
|
306
|
+
t("b", null, o(e(ke)(e(k), e($))), 1)
|
|
307
307
|
])) : h("", !0),
|
|
308
308
|
t("li", null, [
|
|
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", It, [
|
|
313
313
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
314
|
-
t("b", null, o(e(
|
|
314
|
+
t("b", null, o(e(b)), 1)
|
|
315
315
|
])) : h("", !0),
|
|
316
|
-
e(u) ? (a(), m("li",
|
|
316
|
+
e(u) ? (a(), m("li", Nt, [
|
|
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", Mt, [
|
|
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", Rt, [
|
|
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", Ut, [
|
|
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 Vt = { class: "konnectio-pill-button" }, Dt = { 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
|
+
}), Ft = { class: "event-skeleton" }, qt = { class: "event-skeleton-content" }, zt = { class: "event-skeleton-sidebar" }, Gt = /* @__PURE__ */ Y({
|
|
354
354
|
__name: "EventSkeleton",
|
|
355
355
|
setup(c) {
|
|
356
|
-
return (n, i) => (a(), m("div",
|
|
357
|
-
t("div", Ft, [
|
|
358
|
-
f(Ae)
|
|
359
|
-
]),
|
|
356
|
+
return (n, i) => (a(), m("div", Ft, [
|
|
360
357
|
t("div", qt, [
|
|
358
|
+
f(Pe)
|
|
359
|
+
]),
|
|
360
|
+
t("div", zt, [
|
|
361
361
|
h("", !0),
|
|
362
|
-
f(
|
|
362
|
+
f(st)
|
|
363
363
|
])
|
|
364
364
|
]));
|
|
365
365
|
}
|
|
366
|
-
}),
|
|
366
|
+
}), Ht = /* @__PURE__ */ se(Gt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-1369b33a"), c = c(), He(), c), jt = {
|
|
367
367
|
key: 0,
|
|
368
|
-
id: "
|
|
368
|
+
id: "konnectio-event-listings-wrapper"
|
|
369
369
|
};
|
|
370
|
-
const
|
|
371
|
-
const
|
|
370
|
+
const Yt = { class: "konnectio-event-listings" };
|
|
371
|
+
const Zt = { class: "konnectio-event-listings" }, Jt = { class: "konnectio-panel" }, Kt = {
|
|
372
372
|
key: 1,
|
|
373
373
|
id: "fresh-booking-event-addons"
|
|
374
|
-
},
|
|
375
|
-
const
|
|
374
|
+
}, Qt = { class: "konnectio-table with-lines" }, Wt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Xt = { class: "konnectio-event-addons-price" }, xt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), en = { class: "konnectio-event-addons-input" }, tn = { class: "konnectio-event-addons-price" }, nn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), on = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), ln = { class: "konnectio-event-addons-price" }, an = { key: 2 };
|
|
375
|
+
const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class: "konnectio-table with-lines" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), dn = { class: "konnectio-event-addons-price" }, mn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), pn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), vn = { class: "konnectio-event-addons-input" }, fn = { class: "konnectio-event-addons-price" }, bn = ["onClick"], gn = { class: "konnectio-panel" }, hn = ["onClick"], kn = /* @__PURE__ */ Y({
|
|
376
376
|
name: "EventLayout",
|
|
377
377
|
__name: "Event",
|
|
378
378
|
props: {
|
|
@@ -386,17 +386,17 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
386
386
|
products: d,
|
|
387
387
|
numberOfDays: l,
|
|
388
388
|
name: _,
|
|
389
|
-
phone:
|
|
389
|
+
phone: b,
|
|
390
390
|
email: $,
|
|
391
391
|
remark: u,
|
|
392
392
|
arrivalTime: v,
|
|
393
393
|
hasEvents: k,
|
|
394
394
|
hasTemplates: y,
|
|
395
395
|
getEvents: C,
|
|
396
|
-
getTemplates:
|
|
396
|
+
getTemplates: V,
|
|
397
397
|
getEventData: P,
|
|
398
398
|
getTemplateData: s,
|
|
399
|
-
getEventTableData:
|
|
399
|
+
getEventTableData: g,
|
|
400
400
|
hasProducts: O,
|
|
401
401
|
eventRateType: W,
|
|
402
402
|
areListingsAvailable: ie,
|
|
@@ -405,15 +405,15 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
405
405
|
hasListingData: x,
|
|
406
406
|
isPaymentLoading: F
|
|
407
407
|
} = H(j()), { searchDate: ee } = H(Qe()), {
|
|
408
|
-
initialize:
|
|
409
|
-
fetchListings:
|
|
408
|
+
initialize: Ce,
|
|
409
|
+
fetchListings: Oe,
|
|
410
410
|
createBooking: Be,
|
|
411
|
-
localAddonPrice:
|
|
411
|
+
localAddonPrice: fe,
|
|
412
412
|
totalAddonPrice: Se,
|
|
413
413
|
reset: be
|
|
414
|
-
} = j(), { currency: Z } = H(
|
|
414
|
+
} = j(), { currency: Z } = H(Ve()), Le = le(() => {
|
|
415
415
|
const L = [];
|
|
416
|
-
return
|
|
416
|
+
return g.value && g.value.forEach((w) => {
|
|
417
417
|
L.push({
|
|
418
418
|
label: ve(w.time),
|
|
419
419
|
value: w.time
|
|
@@ -421,36 +421,38 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
421
421
|
}), L;
|
|
422
422
|
});
|
|
423
423
|
function Ie() {
|
|
424
|
-
|
|
424
|
+
console.log("after meta"), Oe();
|
|
425
425
|
}
|
|
426
|
-
return qe(ee, () =>
|
|
426
|
+
return qe(ee, () => {
|
|
427
|
+
console.log("search date");
|
|
428
|
+
}), (L, w) => (a(), T(Xe, { styling: L.styling }, {
|
|
427
429
|
default: p(() => [
|
|
428
430
|
(a(), T(ze, { onResolve: Ie }, {
|
|
429
431
|
default: p(() => [
|
|
430
|
-
f(
|
|
432
|
+
f(pt, {
|
|
431
433
|
id: "konnectio-event-module",
|
|
432
434
|
"access-token": L.accessToken,
|
|
433
|
-
callback: e(
|
|
435
|
+
callback: e(Ce)
|
|
434
436
|
}, {
|
|
435
437
|
default: p(() => [
|
|
436
|
-
f(
|
|
438
|
+
f(it, null, {
|
|
437
439
|
availability: p(({ next: q }) => [
|
|
438
440
|
f(de, null, {
|
|
439
441
|
sidebar: p(() => [
|
|
440
|
-
f(
|
|
442
|
+
f(mt, { redirection: !1 })
|
|
441
443
|
]),
|
|
442
444
|
form: p(() => [
|
|
443
|
-
e(x) && e(ie) ? (a(), m("div",
|
|
445
|
+
e(x) && e(ie) ? (a(), m("div", jt, [
|
|
444
446
|
e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
|
|
445
447
|
h("", !0),
|
|
446
|
-
t("ul",
|
|
448
|
+
t("ul", Yt, [
|
|
447
449
|
(a(!0), m(B, null, z(e(C), ({
|
|
448
450
|
id: A,
|
|
449
451
|
days: r,
|
|
450
452
|
name: I,
|
|
451
453
|
timeFrom: N,
|
|
452
454
|
timeTo: E,
|
|
453
|
-
fromDate:
|
|
455
|
+
fromDate: D,
|
|
454
456
|
toDate: J,
|
|
455
457
|
tableGroupId: K,
|
|
456
458
|
description: re,
|
|
@@ -458,7 +460,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
458
460
|
length: Q,
|
|
459
461
|
images: Ne,
|
|
460
462
|
maxOnlineReservationLimit: Me
|
|
461
|
-
}) => (a(), T(
|
|
463
|
+
}) => (a(), T(Ct, {
|
|
462
464
|
key: A,
|
|
463
465
|
type: "event",
|
|
464
466
|
"listing-id": A,
|
|
@@ -468,7 +470,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
468
470
|
length: Q,
|
|
469
471
|
gallery: Ne,
|
|
470
472
|
days: r,
|
|
471
|
-
"from-date":
|
|
473
|
+
"from-date": D,
|
|
472
474
|
"to-date": J,
|
|
473
475
|
"max-online-reservation-limit": Me,
|
|
474
476
|
"time-from": N,
|
|
@@ -480,17 +482,17 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
480
482
|
], 64)) : h("", !0),
|
|
481
483
|
e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
|
|
482
484
|
h("", !0),
|
|
483
|
-
t("ul",
|
|
484
|
-
(a(!0), m(B, null, z(e(
|
|
485
|
+
t("ul", Zt, [
|
|
486
|
+
(a(!0), m(B, null, z(e(V), ({
|
|
485
487
|
id: A,
|
|
486
488
|
name: r,
|
|
487
489
|
fromDate: I,
|
|
488
490
|
toDate: N,
|
|
489
491
|
minimumPersonCount: E,
|
|
490
|
-
fromPrice:
|
|
492
|
+
fromPrice: D,
|
|
491
493
|
description: J,
|
|
492
494
|
imageUrl: K
|
|
493
|
-
}) => (a(), T(
|
|
495
|
+
}) => (a(), T(Bt, {
|
|
494
496
|
key: A,
|
|
495
497
|
"listing-id": A,
|
|
496
498
|
name: r,
|
|
@@ -499,12 +501,12 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
499
501
|
"from-date": I,
|
|
500
502
|
"to-date": N,
|
|
501
503
|
"minimum-person-count": E,
|
|
502
|
-
fromPrice:
|
|
504
|
+
fromPrice: D,
|
|
503
505
|
callback: q
|
|
504
506
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
505
507
|
])
|
|
506
508
|
], 64)) : h("", !0)
|
|
507
|
-
])) : (a(), T(
|
|
509
|
+
])) : (a(), T(Pe, { key: 1 }))
|
|
508
510
|
]),
|
|
509
511
|
_: 2
|
|
510
512
|
}, 1024)
|
|
@@ -512,11 +514,11 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
512
514
|
addons: p(({ next: q, prev: A }) => [
|
|
513
515
|
e(X) ? (a(), T(de, { key: 0 }, {
|
|
514
516
|
form: p(() => [
|
|
515
|
-
t("form",
|
|
517
|
+
t("form", Jt, [
|
|
516
518
|
t("h2", null, [
|
|
517
519
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
518
520
|
]),
|
|
519
|
-
e(W) === e(
|
|
521
|
+
e(W) === e(ye).FullDayEvent ? (a(), T(oe, {
|
|
520
522
|
key: 0,
|
|
521
523
|
modelValue: e(l),
|
|
522
524
|
"onUpdate:modelValue": w[0] || (w[0] = (r) => M(l) ? l.value = r : null),
|
|
@@ -524,7 +526,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
524
526
|
"min-value": 1,
|
|
525
527
|
required: ""
|
|
526
528
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
527
|
-
e(s) && e(s).length > 0 ? (a(), m("ul",
|
|
529
|
+
e(s) && e(s).length > 0 ? (a(), m("ul", Kt, [
|
|
528
530
|
(a(!0), m(B, null, z(e(s), ({
|
|
529
531
|
roomGroupId: r,
|
|
530
532
|
addons: I,
|
|
@@ -532,63 +534,63 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
532
534
|
}, E) => (a(), m("li", { key: r }, [
|
|
533
535
|
t("h5", null, [
|
|
534
536
|
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
|
|
535
|
-
|
|
537
|
+
ge(" ("),
|
|
536
538
|
f(pe, {
|
|
537
539
|
icon: "male",
|
|
538
540
|
type: "fas",
|
|
539
541
|
color: "header"
|
|
540
542
|
}),
|
|
541
|
-
|
|
543
|
+
ge(" " + o(N) + ") ", 1)
|
|
542
544
|
]),
|
|
543
|
-
t("table",
|
|
545
|
+
t("table", Qt, [
|
|
544
546
|
t("thead", null, [
|
|
545
547
|
t("tr", null, [
|
|
546
548
|
t("th", null, [
|
|
547
549
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
548
550
|
]),
|
|
549
|
-
|
|
550
|
-
t("th",
|
|
551
|
+
Wt,
|
|
552
|
+
t("th", Xt, [
|
|
551
553
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
552
554
|
])
|
|
553
555
|
])
|
|
554
556
|
]),
|
|
555
557
|
t("tbody", null, [
|
|
556
558
|
(a(!0), m(B, null, z(I, ({
|
|
557
|
-
id:
|
|
559
|
+
id: D,
|
|
558
560
|
cardinality: J,
|
|
559
561
|
name: K,
|
|
560
562
|
price: re,
|
|
561
563
|
quantityStrategy: ue
|
|
562
|
-
}) => (a(), m("tr", { key:
|
|
564
|
+
}) => (a(), m("tr", { key: D }, [
|
|
563
565
|
t("td", null, [
|
|
564
566
|
t("b", null, o(K), 1),
|
|
565
|
-
|
|
567
|
+
xt,
|
|
566
568
|
t("span", null, o(e(R)(re, e(Z))) + " " + o(e(We)(ue)), 1)
|
|
567
569
|
]),
|
|
568
|
-
t("td",
|
|
570
|
+
t("td", en, [
|
|
569
571
|
J === 3 ? (a(), T(oe, {
|
|
570
572
|
key: 0,
|
|
571
|
-
modelValue: e(i)[`${r}.${
|
|
572
|
-
"onUpdate:modelValue": (Q) => e(i)[`${r}.${
|
|
573
|
+
modelValue: e(i)[`${r}.${D}.${E}`],
|
|
574
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
|
|
573
575
|
small: !0,
|
|
574
576
|
"min-value": 0
|
|
575
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(
|
|
577
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(bt, {
|
|
576
578
|
key: 1,
|
|
577
|
-
modelValue: e(i)[`${r}.${
|
|
578
|
-
"onUpdate:modelValue": (Q) => e(i)[`${r}.${
|
|
579
|
+
modelValue: e(i)[`${r}.${D}.${E}`],
|
|
580
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
|
|
579
581
|
numeric: !0
|
|
580
582
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
581
583
|
]),
|
|
582
|
-
t("td",
|
|
583
|
-
t("span", null, o(e(R)(e(
|
|
584
|
+
t("td", tn, [
|
|
585
|
+
t("span", null, o(e(R)(e(fe)(D, r, E), e(Z))), 1)
|
|
584
586
|
])
|
|
585
587
|
]))), 128))
|
|
586
588
|
]),
|
|
587
589
|
t("tfoot", null, [
|
|
588
590
|
t("tr", null, [
|
|
589
|
-
tn,
|
|
590
591
|
nn,
|
|
591
|
-
|
|
592
|
+
on,
|
|
593
|
+
t("td", ln, [
|
|
592
594
|
t("u", null, [
|
|
593
595
|
t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
|
|
594
596
|
])
|
|
@@ -598,9 +600,9 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
598
600
|
])
|
|
599
601
|
]))), 128))
|
|
600
602
|
])) : h("", !0),
|
|
601
|
-
e(W) !== e(
|
|
603
|
+
e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", an, [
|
|
602
604
|
h("", !0),
|
|
603
|
-
f(
|
|
605
|
+
f(rt, {
|
|
604
606
|
modelValue: e(v),
|
|
605
607
|
"onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
|
|
606
608
|
label: e(n)("event.selectArrivalTime"),
|
|
@@ -609,18 +611,18 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
609
611
|
required: ""
|
|
610
612
|
}, null, 8, ["modelValue", "label", "checkboxes"])
|
|
611
613
|
])) : h("", !0),
|
|
612
|
-
e(O) ? (a(), m("div",
|
|
613
|
-
t("label",
|
|
614
|
+
e(O) ? (a(), m("div", sn, [
|
|
615
|
+
t("label", rn, [
|
|
614
616
|
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
615
617
|
]),
|
|
616
|
-
t("table",
|
|
618
|
+
t("table", un, [
|
|
617
619
|
t("thead", null, [
|
|
618
620
|
t("tr", null, [
|
|
619
621
|
t("th", null, [
|
|
620
622
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
621
623
|
]),
|
|
622
|
-
|
|
623
|
-
t("th",
|
|
624
|
+
cn,
|
|
625
|
+
t("th", dn, [
|
|
624
626
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
625
627
|
])
|
|
626
628
|
])
|
|
@@ -631,21 +633,21 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
631
633
|
t("b", null, [
|
|
632
634
|
t("span", null, o(I), 1)
|
|
633
635
|
]),
|
|
634
|
-
dn,
|
|
635
|
-
t("span", null, o(E), 1),
|
|
636
636
|
mn,
|
|
637
|
+
t("span", null, o(E), 1),
|
|
638
|
+
pn,
|
|
637
639
|
t("span", null, o(e(R)(N, e(Z))), 1)
|
|
638
640
|
]),
|
|
639
|
-
t("td",
|
|
641
|
+
t("td", vn, [
|
|
640
642
|
f(oe, {
|
|
641
643
|
modelValue: e(d)[r],
|
|
642
|
-
"onUpdate:modelValue": (
|
|
644
|
+
"onUpdate:modelValue": (D) => e(d)[r] = D,
|
|
643
645
|
small: !0,
|
|
644
646
|
"min-value": 0
|
|
645
647
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
646
648
|
]),
|
|
647
|
-
t("td",
|
|
648
|
-
t("span", null, o(e(R)(e(
|
|
649
|
+
t("td", fn, [
|
|
650
|
+
t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
|
|
649
651
|
])
|
|
650
652
|
]))), 128))
|
|
651
653
|
])
|
|
@@ -661,10 +663,10 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
661
663
|
}, null, 8, ["label", "onClickEvent"]),
|
|
662
664
|
t("button", {
|
|
663
665
|
class: "konnectio-abort-reservation link",
|
|
664
|
-
onClick:
|
|
666
|
+
onClick: he((r) => e(be)(A), ["prevent"])
|
|
665
667
|
}, [
|
|
666
668
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
667
|
-
], 8,
|
|
669
|
+
], 8, bn)
|
|
668
670
|
]),
|
|
669
671
|
_: 2
|
|
670
672
|
}, 1024)) : h("", !0)
|
|
@@ -700,8 +702,8 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
700
702
|
required: ""
|
|
701
703
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
702
704
|
f(gt, {
|
|
703
|
-
modelValue: e(
|
|
704
|
-
"onUpdate:modelValue": w[4] || (w[4] = (r) => M(
|
|
705
|
+
modelValue: e(b),
|
|
706
|
+
"onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
|
|
705
707
|
label: e(n)("booking.reservation.phone"),
|
|
706
708
|
icon: "phone-office",
|
|
707
709
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
@@ -726,19 +728,19 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
726
728
|
}, null, 8, ["label", "is-loading", "onClickEvent"]),
|
|
727
729
|
t("button", {
|
|
728
730
|
class: "konnectio-abort-reservation link",
|
|
729
|
-
onClick:
|
|
731
|
+
onClick: he((r) => e(be)(A), ["prevent"])
|
|
730
732
|
}, [
|
|
731
733
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
732
|
-
], 8,
|
|
734
|
+
], 8, hn)
|
|
733
735
|
]),
|
|
734
736
|
_: 2
|
|
735
737
|
}, 1024)
|
|
736
738
|
]),
|
|
737
739
|
payment: p(() => [
|
|
738
|
-
f(
|
|
740
|
+
f(ht)
|
|
739
741
|
]),
|
|
740
742
|
confirmation: p(() => [
|
|
741
|
-
f(
|
|
743
|
+
f(ut, {
|
|
742
744
|
message: e(n)("event.confirmationMessage")
|
|
743
745
|
}, null, 8, ["message"])
|
|
744
746
|
]),
|
|
@@ -749,7 +751,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
749
751
|
}, 8, ["access-token", "callback"])
|
|
750
752
|
]),
|
|
751
753
|
fallback: p(() => [
|
|
752
|
-
f(
|
|
754
|
+
f(Ht)
|
|
753
755
|
]),
|
|
754
756
|
_: 1
|
|
755
757
|
}))
|
|
@@ -757,8 +759,8 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
|
|
|
757
759
|
_: 1
|
|
758
760
|
}, 8, ["styling"]));
|
|
759
761
|
}
|
|
760
|
-
}), te = /* @__PURE__ */ se(
|
|
761
|
-
class
|
|
762
|
+
}), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-1369b33a"]]), yn = xe(), _n = ot();
|
|
763
|
+
class $n extends HTMLElement {
|
|
762
764
|
vueApp;
|
|
763
765
|
constructor() {
|
|
764
766
|
super();
|
|
@@ -771,22 +773,22 @@ class _n extends HTMLElement {
|
|
|
771
773
|
let i = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
772
774
|
const d = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, k) => (k ? "-" : "") + v.toLowerCase()), l = (u) => u.replace(/-./g, (v) => v[1].toUpperCase()), _ = {};
|
|
773
775
|
i = i.map(d);
|
|
774
|
-
const
|
|
776
|
+
const b = {};
|
|
775
777
|
for (const u of this.attributes) {
|
|
776
778
|
const k = u.name.split(".");
|
|
777
|
-
k.length > 1 && (
|
|
779
|
+
k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = u.value);
|
|
778
780
|
}
|
|
779
781
|
for (const u of i) {
|
|
780
782
|
let v = this.attributes.getNamedItem(u)?.value;
|
|
781
|
-
|
|
783
|
+
b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
|
|
782
784
|
}
|
|
783
|
-
this.vueApp = je(te, _), this.vueApp.provide("emitter",
|
|
785
|
+
this.vueApp = je(te, _), et(this.vueApp), this.vueApp.provide("emitter", _n), this.vueApp.use(tt), this.vueApp.use(yn), this.vueApp.use(ct), this.vueApp.use(dt), this.vueApp.use(nt, { bootstrap: !0 });
|
|
784
786
|
const $ = document.createElement("div");
|
|
785
787
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
786
788
|
}
|
|
787
789
|
}
|
|
788
|
-
window.customElements.define("konnectio-event",
|
|
790
|
+
window.customElements.define("konnectio-event", $n);
|
|
789
791
|
export {
|
|
790
|
-
|
|
792
|
+
$n as default
|
|
791
793
|
};
|
|
792
794
|
//# sourceMappingURL=event.js.map
|