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