@konnectio/core 4.0.56-rc33 → 4.0.56-rc35
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-tze5AH3K.js → ActionField-Bruv7ZZW.js} +1 -1
- package/dist/ActionField-Bruv7ZZW.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BO4Erg_O.js → AvailabilitySkeleton-DxVPZPw3.js} +3 -3
- package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-_E-GDGw7.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js} +1 -1
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
- package/dist/{CheckoutWindow-CIZWV-gI.js → CheckoutWindow-Dn3fiFuv.js} +1 -1
- package/dist/{CheckoutWindow-CIZWV-gI.js.br → CheckoutWindow-Dn3fiFuv.js.br} +0 -0
- package/dist/{ErrorMessage-BzZDhDkX.js → ErrorMessage-VK8egk99.js} +1 -1
- package/dist/ErrorMessage-VK8egk99.js.br +0 -0
- package/dist/{EventAvailabilityForm-D73TXrag.js → EventAvailabilityForm-DbkL5luy.js} +141 -141
- package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
- package/dist/{Field-oZiblvji.js → Field-fZ3Q2e9-.js} +1 -1
- package/dist/Field-fZ3Q2e9-.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js} +8 -8
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
- package/dist/{TermsOfService-yJlRLBDk.js → TermsOfService-2g29W45E.js} +2 -2
- package/dist/availability.js +4 -4
- package/dist/availability.js.br +0 -0
- package/dist/event.js +223 -222
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +4 -4
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +59 -58
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +492 -531
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-B71LqMrD.js → masonry.plugin-WFnnzw7L.js} +642 -602
- package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-tze5AH3K.js.br +0 -0
- package/dist/AvailabilitySkeleton-BO4Erg_O.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-_E-GDGw7.js.br +0 -0
- package/dist/ErrorMessage-BzZDhDkX.js.br +0 -0
- package/dist/EventAvailabilityForm-D73TXrag.js.br +0 -0
- package/dist/Field-oZiblvji.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js.br +0 -0
- package/dist/masonry.plugin-B71LqMrD.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { B as ot, R as lt, L as
|
|
3
|
-
import { u as
|
|
4
|
-
import { t as
|
|
5
|
-
import { a as
|
|
6
|
-
function
|
|
7
|
-
const i =
|
|
1
|
+
import { d as Y, u as le, M as Ie, K as H, m as Re, i as ae, o as a, a as V, w as m, ae as ne, g as e, f as t, e as v, k as oe, C as me, af as Ue, _ as se, c as d, h as we, b as h, a3 as pe, t as o, ag as Fe, ah as ze, N as De, ai as Ge, a5 as be, aj as ve, a4 as R, ab as G, F as B, a2 as I, l as qe, p as He, a1 as je, S as Ye, Q as he, ak as ke, al as Qe, q as ye, T as ce, v as Ze, x as Ke, y as We, z as Je, A as Xe, B as xe, D as et, ad as tt, G as nt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js";
|
|
2
|
+
import { B as ot, R as lt, L as Pe, S as at, M as st, C as it, T as rt, V as ut, G as ct } from "./masonry.plugin-WFnnzw7L.js";
|
|
3
|
+
import { u as j, E as dt } from "./EventAvailabilityForm-DbkL5luy.js";
|
|
4
|
+
import { t as q, e as mt, g as _e, m as $e, a as Te, b as Ee, c as pt, d as Ve } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js";
|
|
5
|
+
import { a as vt, P as ft, C as gt } from "./CheckoutWindow-Dn3fiFuv.js";
|
|
6
|
+
function bt(f, n) {
|
|
7
|
+
const i = q(f), c = q(n), l = i.getTime() - c.getTime();
|
|
8
8
|
return l < 0 ? -1 : l > 0 ? 1 : l;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function ht(f) {
|
|
11
11
|
return (n) => {
|
|
12
12
|
const c = (f ? Math[f] : Math.trunc)(n);
|
|
13
13
|
return c === 0 ? 0 : c;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
const c =
|
|
16
|
+
function kt(f, n, i) {
|
|
17
|
+
const c = pt(), l = i?.locale ?? c.locale ?? mt, _ = bt(f, n);
|
|
18
18
|
if (isNaN(_))
|
|
19
19
|
throw new RangeError("Invalid time value");
|
|
20
20
|
const g = Object.assign({}, i, {
|
|
@@ -22,10 +22,10 @@ function bt(f, n, i) {
|
|
|
22
22
|
comparison: _
|
|
23
23
|
});
|
|
24
24
|
let $, u;
|
|
25
|
-
_ > 0 ? ($ =
|
|
26
|
-
const p =
|
|
25
|
+
_ > 0 ? ($ = q(n), u = q(f)) : ($ = q(f), u = q(n));
|
|
26
|
+
const p = ht(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Ve, C = _e(u) - _e($), D = (k - C) / Ve, P = i?.unit;
|
|
27
27
|
let s;
|
|
28
|
-
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : D < Te ? s = "day" : D <
|
|
28
|
+
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : D < Te ? s = "day" : D < Ee ? s = "month" : s = "year", s === "second") {
|
|
29
29
|
const b = p(k / 1e3);
|
|
30
30
|
return l.formatDistance("xSeconds", b, g);
|
|
31
31
|
} else if (s === "minute") {
|
|
@@ -41,11 +41,11 @@ function bt(f, n, i) {
|
|
|
41
41
|
const b = p(D / Te);
|
|
42
42
|
return b === 12 && P !== "month" ? l.formatDistance("xYears", 1, g) : l.formatDistance("xMonths", b, g);
|
|
43
43
|
} else {
|
|
44
|
-
const b = p(D /
|
|
44
|
+
const b = p(D / Ee);
|
|
45
45
|
return l.formatDistance("xYears", b, g);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio-event-listing-action-button" }, $t = /* @__PURE__ */ Y({
|
|
49
49
|
__name: "_",
|
|
50
50
|
props: {
|
|
51
51
|
name: {},
|
|
@@ -73,11 +73,11 @@ const ht = { class: "konnectio-event-listing-action" }, kt = { class: "konnectio
|
|
|
73
73
|
numberOfPeople: _,
|
|
74
74
|
eventId: g,
|
|
75
75
|
tableGroupId: $
|
|
76
|
-
} =
|
|
76
|
+
} = H(j()), {
|
|
77
77
|
getTemplateAvailability: u,
|
|
78
78
|
getEventAvailability: p,
|
|
79
79
|
isEventListingLoading: k
|
|
80
|
-
} =
|
|
80
|
+
} = j(), y = Re(0), C = ae(() => k(i.listingId)), D = () => {
|
|
81
81
|
y.value > 0 ? (g.value = i.listingId, _.value = y.value, u(i.callback)) : c({
|
|
82
82
|
type: "error",
|
|
83
83
|
message: n("alert.error.selectPeople")
|
|
@@ -101,10 +101,10 @@ const ht = { class: "konnectio-event-listing-action" }, kt = { class: "konnectio
|
|
|
101
101
|
ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
|
|
102
102
|
]),
|
|
103
103
|
action: m(() => [
|
|
104
|
-
t("div",
|
|
104
|
+
t("div", yt, [
|
|
105
105
|
v(oe, {
|
|
106
106
|
modelValue: y.value,
|
|
107
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
107
|
+
"onUpdate:modelValue": b[0] || (b[0] = (O) => y.value = O),
|
|
108
108
|
label: e(n)("event.numberOfGuests"),
|
|
109
109
|
icon: "users",
|
|
110
110
|
"icon-type": "fas",
|
|
@@ -113,12 +113,12 @@ const ht = { class: "konnectio-event-listing-action" }, kt = { class: "konnectio
|
|
|
113
113
|
"min-value": s.type === "event" ? 0 : s.minimumPersonCount,
|
|
114
114
|
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
|
|
115
115
|
}, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
|
|
116
|
-
t("div",
|
|
117
|
-
v(
|
|
116
|
+
t("div", _t, [
|
|
117
|
+
v(me, {
|
|
118
118
|
label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
119
119
|
disabled: s.soldOut,
|
|
120
|
-
"is-loading":
|
|
121
|
-
onClickEvent: b[1] || (b[1] = (
|
|
120
|
+
"is-loading": C.value,
|
|
121
|
+
onClickEvent: b[1] || (b[1] = (O) => s.type === "event" ? P() : D())
|
|
122
122
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
123
123
|
])
|
|
124
124
|
])
|
|
@@ -126,8 +126,8 @@ const ht = { class: "konnectio-event-listing-action" }, kt = { class: "konnectio
|
|
|
126
126
|
_: 3
|
|
127
127
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
128
128
|
}
|
|
129
|
-
}),
|
|
130
|
-
const
|
|
129
|
+
}), Ae = /* @__PURE__ */ se($t, [["__scopeId", "data-v-8e796505"]]), Tt = ["innerHTML"], Et = { class: "konnectio-event-listing-information-new" };
|
|
130
|
+
const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-button" }, Dt = /* @__PURE__ */ Y({
|
|
131
131
|
__name: "Event",
|
|
132
132
|
props: {
|
|
133
133
|
name: {},
|
|
@@ -149,14 +149,14 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
149
149
|
callback: {}
|
|
150
150
|
},
|
|
151
151
|
setup(f) {
|
|
152
|
-
const n = f, { t: i } = le(), c =
|
|
152
|
+
const n = f, { t: i } = le(), c = ae(() => {
|
|
153
153
|
const l = n.length.split(":");
|
|
154
|
-
return
|
|
155
|
-
new Date(2e3, 0, 1, Number(l[0]), Number(l[1]),
|
|
154
|
+
return console.log(l), kt(
|
|
155
|
+
new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
|
|
156
156
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
157
157
|
);
|
|
158
158
|
});
|
|
159
|
-
return (l, _) => (a(), V(
|
|
159
|
+
return (l, _) => (a(), V(Ae, {
|
|
160
160
|
"listing-id": l.listingId,
|
|
161
161
|
name: l.name,
|
|
162
162
|
description: l.description,
|
|
@@ -171,13 +171,13 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
171
171
|
description: m(() => [
|
|
172
172
|
l.description ? (a(), d("p", {
|
|
173
173
|
key: 0,
|
|
174
|
-
innerHTML: e(
|
|
175
|
-
}, null, 8,
|
|
176
|
-
t("ul",
|
|
174
|
+
innerHTML: e(we)(l.description)
|
|
175
|
+
}, null, 8, Tt)) : h("", !0),
|
|
176
|
+
t("ul", Et, [
|
|
177
177
|
h("", !0),
|
|
178
|
-
t("li",
|
|
178
|
+
t("li", Vt, [
|
|
179
179
|
t("div", null, [
|
|
180
|
-
v(
|
|
180
|
+
v(pe, {
|
|
181
181
|
icon: "calendar-clock",
|
|
182
182
|
color: "header"
|
|
183
183
|
}),
|
|
@@ -185,9 +185,9 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
185
185
|
]),
|
|
186
186
|
t("span", null, o(c.value), 1)
|
|
187
187
|
]),
|
|
188
|
-
t("li",
|
|
188
|
+
t("li", wt, [
|
|
189
189
|
t("div", null, [
|
|
190
|
-
v(
|
|
190
|
+
v(pe, {
|
|
191
191
|
icon: "calendar-clock",
|
|
192
192
|
color: "header"
|
|
193
193
|
}),
|
|
@@ -200,7 +200,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
200
200
|
_: 1
|
|
201
201
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
|
|
202
202
|
}
|
|
203
|
-
}),
|
|
203
|
+
}), Pt = /* @__PURE__ */ se(Dt, [["__scopeId", "data-v-148bf11e"]]), At = ["innerHTML"], Ct = /* @__PURE__ */ Y({
|
|
204
204
|
__name: "Template",
|
|
205
205
|
props: {
|
|
206
206
|
name: {},
|
|
@@ -217,7 +217,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
217
217
|
callback: {}
|
|
218
218
|
},
|
|
219
219
|
setup(f) {
|
|
220
|
-
const n = f, i =
|
|
220
|
+
const n = f, i = ae(() => {
|
|
221
221
|
if (n.image)
|
|
222
222
|
return [{
|
|
223
223
|
large: n.image,
|
|
@@ -226,7 +226,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
226
226
|
url: n.image
|
|
227
227
|
}];
|
|
228
228
|
});
|
|
229
|
-
return (c, l) => (a(), V(
|
|
229
|
+
return (c, l) => (a(), V(Ae, {
|
|
230
230
|
"listing-id": c.listingId,
|
|
231
231
|
gallery: i.value,
|
|
232
232
|
name: c.name,
|
|
@@ -239,13 +239,13 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
239
239
|
description: m(() => [
|
|
240
240
|
c.description ? (a(), d("p", {
|
|
241
241
|
key: 0,
|
|
242
|
-
innerHTML: e(
|
|
243
|
-
}, null, 8,
|
|
242
|
+
innerHTML: e(we)(c.description)
|
|
243
|
+
}, null, 8, At)) : h("", !0)
|
|
244
244
|
]),
|
|
245
245
|
_: 1
|
|
246
246
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
247
247
|
}
|
|
248
|
-
}),
|
|
248
|
+
}), Ot = { key: 0 }, Bt = { key: 1 }, St = { key: 2 }, Lt = { key: 3 }, Nt = { key: 4 }, Mt = { key: 5 }, It = { key: 0 }, de = /* @__PURE__ */ Y({
|
|
249
249
|
__name: "EventReservationForm",
|
|
250
250
|
props: {
|
|
251
251
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -262,19 +262,19 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
262
262
|
length: p,
|
|
263
263
|
fromDate: k,
|
|
264
264
|
tableBasePrice: y,
|
|
265
|
-
getTemplateData:
|
|
265
|
+
getTemplateData: C,
|
|
266
266
|
basePrice: D,
|
|
267
267
|
totalPrice: P,
|
|
268
268
|
weekendFee: s,
|
|
269
269
|
roomUpgrade: b,
|
|
270
|
-
discountCode:
|
|
271
|
-
} =
|
|
272
|
-
return (
|
|
273
|
-
"discount-code": e(
|
|
274
|
-
"onUpdate:discountCode":
|
|
275
|
-
"validate-discount-code": e(
|
|
276
|
-
"show-gift-card":
|
|
277
|
-
"show-terms-notice":
|
|
270
|
+
discountCode: O
|
|
271
|
+
} = H(j()), { totalAddonPrice: J, validateDiscountCode: ie } = j(), { currency: X } = H(De());
|
|
272
|
+
return (S, x) => (a(), V(lt, {
|
|
273
|
+
"discount-code": e(O),
|
|
274
|
+
"onUpdate:discountCode": x[0] || (x[0] = (F) => I(O) ? O.value = F : null),
|
|
275
|
+
"validate-discount-code": e(ie),
|
|
276
|
+
"show-gift-card": S.showGiftCard,
|
|
277
|
+
"show-terms-notice": S.showTermsNotice,
|
|
278
278
|
"is-sidebar-loading": !e(c),
|
|
279
279
|
"base-price": e(D),
|
|
280
280
|
"total-price": e(P),
|
|
@@ -283,14 +283,14 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
283
283
|
notice: e(n)("hotel.reservationNotice")
|
|
284
284
|
}, Ge({
|
|
285
285
|
form: m(() => [
|
|
286
|
-
ne(
|
|
286
|
+
ne(S.$slots, "form")
|
|
287
287
|
]),
|
|
288
288
|
"reservation-summary": m(() => [
|
|
289
|
-
e(u) ? (a(), d("li",
|
|
289
|
+
e(u) ? (a(), d("li", Ot, [
|
|
290
290
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
291
291
|
t("b", null, o(e(be)(e(k))), 1)
|
|
292
292
|
])) : h("", !0),
|
|
293
|
-
e(u) ? (a(), d("li",
|
|
293
|
+
e(u) ? (a(), d("li", Bt, [
|
|
294
294
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
295
295
|
t("b", null, o(e(be)(e(k), e($))), 1)
|
|
296
296
|
])) : h("", !0),
|
|
@@ -298,69 +298,70 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
298
298
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
299
299
|
t("b", null, o(e(_)), 1)
|
|
300
300
|
]),
|
|
301
|
-
e(u) ? (a(), d("li",
|
|
301
|
+
e(u) ? (a(), d("li", St, [
|
|
302
302
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
303
303
|
t("b", null, o(e(g)), 1)
|
|
304
304
|
])) : h("", !0),
|
|
305
|
-
e(u) ? (a(), d("li",
|
|
305
|
+
e(u) ? (a(), d("li", Lt, [
|
|
306
306
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
307
307
|
t("b", null, o(e($)), 1)
|
|
308
308
|
])) : h("", !0),
|
|
309
|
-
!e(u) && e(l) ? (a(), d("li",
|
|
309
|
+
!e(u) && e(l) ? (a(), d("li", Nt, [
|
|
310
310
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
311
|
-
t("b", null, o(e(
|
|
311
|
+
t("b", null, o(e(ve)(e(l))), 1)
|
|
312
312
|
])) : h("", !0),
|
|
313
|
-
!e(u) && e(p) ? (a(), d("li",
|
|
313
|
+
!e(u) && e(p) ? (a(), d("li", Mt, [
|
|
314
314
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
315
|
-
t("b", null, o(e(
|
|
315
|
+
t("b", null, o(e(ve)(e(p))), 1)
|
|
316
316
|
])) : h("", !0)
|
|
317
317
|
]),
|
|
318
318
|
"price-summary": m(() => [
|
|
319
|
-
!e(u) && e(y) > 0 ? (a(), d("li",
|
|
319
|
+
!e(u) && e(y) > 0 ? (a(), d("li", It, [
|
|
320
320
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
321
|
-
t("b", null, o(e(R)(e(y), e(
|
|
321
|
+
t("b", null, o(e(R)(e(y), e(X))), 1)
|
|
322
322
|
])) : h("", !0),
|
|
323
|
-
e(
|
|
324
|
-
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(
|
|
325
|
-
t("b", null, o(e(R)(e(
|
|
323
|
+
e(C) ? (a(!0), d(B, { key: 1 }, G(e(C), ({ roomGroupId: F }, ee) => (a(), d("li", { key: F }, [
|
|
324
|
+
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
|
|
325
|
+
t("b", null, o(e(R)(e(J)(F, ee), e(X))), 1)
|
|
326
326
|
]))), 128)) : h("", !0)
|
|
327
327
|
]),
|
|
328
328
|
navigation: m(() => [
|
|
329
|
-
ne(
|
|
329
|
+
ne(S.$slots, "navigation")
|
|
330
330
|
]),
|
|
331
331
|
_: 2
|
|
332
332
|
}, [
|
|
333
333
|
e(i).sidebar ? {
|
|
334
334
|
name: "sidebar",
|
|
335
335
|
fn: m(() => [
|
|
336
|
-
ne(
|
|
336
|
+
ne(S.$slots, "sidebar")
|
|
337
337
|
]),
|
|
338
338
|
key: "0"
|
|
339
339
|
} : void 0
|
|
340
340
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
|
|
341
341
|
}
|
|
342
|
-
}),
|
|
342
|
+
}), Rt = { class: "event-skeleton" }, Ut = { class: "event-skeleton-content" }, Ft = { class: "event-skeleton-sidebar" }, zt = /* @__PURE__ */ Y({
|
|
343
343
|
__name: "EventSkeleton",
|
|
344
344
|
setup(f) {
|
|
345
|
-
return (n, i) => (a(), d("div",
|
|
346
|
-
t("div",
|
|
347
|
-
v(
|
|
345
|
+
return (n, i) => (a(), d("div", Rt, [
|
|
346
|
+
t("div", Ut, [
|
|
347
|
+
v(Pe)
|
|
348
348
|
]),
|
|
349
|
-
t("div",
|
|
349
|
+
t("div", Ft, [
|
|
350
350
|
h("", !0),
|
|
351
351
|
v(at)
|
|
352
352
|
])
|
|
353
353
|
]));
|
|
354
354
|
}
|
|
355
|
-
}),
|
|
355
|
+
}), Gt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), U = (f) => (We("data-v-aa29118e"), f = f(), Je(), f), qt = {
|
|
356
356
|
key: 0,
|
|
357
357
|
id: "fresh-booking-event-overview"
|
|
358
358
|
};
|
|
359
|
-
const
|
|
360
|
-
const
|
|
359
|
+
const Ht = { class: "fresh-booking-event-listings" };
|
|
360
|
+
const jt = { class: "fresh-booking-event-listings" }, Yt = { class: "fresh-booking-panel" }, Qt = {
|
|
361
361
|
key: 1,
|
|
362
362
|
id: "fresh-booking-event-addons"
|
|
363
|
-
},
|
|
363
|
+
}, Zt = { class: "fresh-booking-table with-lines" }, Kt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Wt = { class: "fresh-booking-event-addons-price" }, Jt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), Xt = { class: "fresh-booking-event-addons-input" }, xt = { class: "fresh-booking-event-addons-price" }, en = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = { class: "fresh-booking-event-addons-price" }, on = { key: 2 };
|
|
364
|
+
const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { class: "fresh-booking-table with-lines" }, rn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), un = { class: "fresh-booking-event-addons-price" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), dn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = { class: "fresh-booking-event-addons-input" }, pn = { class: "fresh-booking-event-addons-price" }, vn = ["onClick"], fn = { class: "fresh-booking-panel" }, gn = ["onClick"], bn = /* @__PURE__ */ Y({
|
|
364
365
|
name: "EventLayout",
|
|
365
366
|
__name: "Event",
|
|
366
367
|
props: {
|
|
@@ -380,193 +381,202 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
380
381
|
arrivalTime: p,
|
|
381
382
|
hasEvents: k,
|
|
382
383
|
hasTemplates: y,
|
|
383
|
-
getEvents:
|
|
384
|
+
getEvents: C,
|
|
384
385
|
getTemplates: D,
|
|
385
386
|
getEventData: P,
|
|
386
387
|
getTemplateData: s,
|
|
387
388
|
getEventTableData: b,
|
|
388
|
-
hasProducts:
|
|
389
|
-
eventRateType:
|
|
390
|
-
areListingsAvailable:
|
|
391
|
-
isAvailabilityDataAvailable:
|
|
392
|
-
isTemplateEvent:
|
|
393
|
-
hasListingData:
|
|
394
|
-
isPaymentLoading:
|
|
395
|
-
} =
|
|
389
|
+
hasProducts: O,
|
|
390
|
+
eventRateType: J,
|
|
391
|
+
areListingsAvailable: ie,
|
|
392
|
+
isAvailabilityDataAvailable: X,
|
|
393
|
+
isTemplateEvent: S,
|
|
394
|
+
hasListingData: x,
|
|
395
|
+
isPaymentLoading: F
|
|
396
|
+
} = H(j()), { searchDate: ee } = H(qe()), {
|
|
396
397
|
initialize: Ce,
|
|
397
|
-
fetchListings:
|
|
398
|
+
fetchListings: Oe,
|
|
398
399
|
createBooking: Be,
|
|
399
400
|
localAddonPrice: fe,
|
|
400
|
-
totalAddonPrice:
|
|
401
|
+
totalAddonPrice: Se,
|
|
401
402
|
reset: ge
|
|
402
|
-
} =
|
|
403
|
-
|
|
403
|
+
} = j(), { currency: Q } = H(De()), Le = ae(() => {
|
|
404
|
+
const L = [];
|
|
405
|
+
return b.value && b.value.forEach((T) => {
|
|
406
|
+
L.push({
|
|
407
|
+
label: ve(T.time),
|
|
408
|
+
value: T.time
|
|
409
|
+
});
|
|
410
|
+
}), L;
|
|
411
|
+
});
|
|
412
|
+
return He(() => Ce()), je(ee, () => Oe()), (L, T) => (a(), V(Ke, { styling: L.styling }, {
|
|
404
413
|
default: m(() => [
|
|
405
414
|
(a(), V(Ye, null, {
|
|
406
415
|
default: m(() => [
|
|
407
416
|
v(Ze, {
|
|
408
417
|
id: "konnectio-event-module",
|
|
409
418
|
type: "none",
|
|
410
|
-
"access-token":
|
|
419
|
+
"access-token": L.accessToken
|
|
411
420
|
}, {
|
|
412
421
|
default: m(() => [
|
|
413
422
|
v(st, null, {
|
|
414
|
-
availability: m(({ next:
|
|
423
|
+
availability: m(({ next: z }) => [
|
|
415
424
|
v(de, null, {
|
|
416
425
|
sidebar: m(() => [
|
|
417
426
|
v(dt, { redirection: !1 })
|
|
418
427
|
]),
|
|
419
428
|
form: m(() => [
|
|
420
|
-
e(
|
|
421
|
-
e(k) &&
|
|
429
|
+
e(x) && e(ie) ? (a(), d("div", qt, [
|
|
430
|
+
e(k) && L.onlyShow !== "templates" ? (a(), d(B, { key: 0 }, [
|
|
422
431
|
h("", !0),
|
|
423
|
-
t("ul",
|
|
424
|
-
(a(!0), d(
|
|
432
|
+
t("ul", Ht, [
|
|
433
|
+
(a(!0), d(B, null, G(e(C), ({
|
|
425
434
|
id: A,
|
|
426
435
|
days: r,
|
|
427
|
-
name:
|
|
428
|
-
timeFrom:
|
|
429
|
-
timeTo:
|
|
436
|
+
name: N,
|
|
437
|
+
timeFrom: M,
|
|
438
|
+
timeTo: E,
|
|
430
439
|
fromDate: w,
|
|
431
|
-
toDate:
|
|
432
|
-
tableGroupId:
|
|
433
|
-
description:
|
|
434
|
-
soldOut:
|
|
435
|
-
length:
|
|
440
|
+
toDate: Z,
|
|
441
|
+
tableGroupId: K,
|
|
442
|
+
description: re,
|
|
443
|
+
soldOut: ue,
|
|
444
|
+
length: W,
|
|
436
445
|
images: Ne,
|
|
437
446
|
maxOnlineReservationLimit: Me
|
|
438
|
-
}) => (a(), V(
|
|
447
|
+
}) => (a(), V(Pt, {
|
|
439
448
|
key: A,
|
|
440
449
|
type: "event",
|
|
441
450
|
"listing-id": A,
|
|
442
|
-
"table-group-id":
|
|
443
|
-
description:
|
|
444
|
-
name:
|
|
445
|
-
length:
|
|
451
|
+
"table-group-id": K,
|
|
452
|
+
description: re,
|
|
453
|
+
name: N,
|
|
454
|
+
length: W,
|
|
446
455
|
gallery: Ne,
|
|
447
456
|
days: r,
|
|
448
457
|
"from-date": w,
|
|
449
|
-
"to-date":
|
|
458
|
+
"to-date": Z,
|
|
450
459
|
"max-online-reservation-limit": Me,
|
|
451
|
-
"time-from":
|
|
452
|
-
"time-to":
|
|
453
|
-
"sold-out":
|
|
454
|
-
callback:
|
|
460
|
+
"time-from": M,
|
|
461
|
+
"time-to": E,
|
|
462
|
+
"sold-out": ue,
|
|
463
|
+
callback: z
|
|
455
464
|
}, 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))
|
|
456
465
|
])
|
|
457
466
|
], 64)) : h("", !0),
|
|
458
|
-
e(y) &&
|
|
467
|
+
e(y) && L.onlyShow !== "events" ? (a(), d(B, { key: 1 }, [
|
|
459
468
|
h("", !0),
|
|
460
|
-
t("ul",
|
|
461
|
-
(a(!0), d(
|
|
469
|
+
t("ul", jt, [
|
|
470
|
+
(a(!0), d(B, null, G(e(D), ({
|
|
462
471
|
id: A,
|
|
463
472
|
name: r,
|
|
464
|
-
fromDate:
|
|
465
|
-
toDate:
|
|
466
|
-
minimumPersonCount:
|
|
473
|
+
fromDate: N,
|
|
474
|
+
toDate: M,
|
|
475
|
+
minimumPersonCount: E,
|
|
467
476
|
fromPrice: w,
|
|
468
|
-
description:
|
|
469
|
-
imageUrl:
|
|
470
|
-
}) => (a(), V(
|
|
477
|
+
description: Z,
|
|
478
|
+
imageUrl: K
|
|
479
|
+
}) => (a(), V(Ct, {
|
|
471
480
|
key: A,
|
|
472
481
|
"listing-id": A,
|
|
473
482
|
name: r,
|
|
474
|
-
image:
|
|
475
|
-
description:
|
|
476
|
-
"from-date":
|
|
477
|
-
"to-date":
|
|
478
|
-
"minimum-person-count":
|
|
483
|
+
image: K,
|
|
484
|
+
description: Z,
|
|
485
|
+
"from-date": N,
|
|
486
|
+
"to-date": M,
|
|
487
|
+
"minimum-person-count": E,
|
|
479
488
|
fromPrice: w,
|
|
480
|
-
callback:
|
|
489
|
+
callback: z
|
|
481
490
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
482
491
|
])
|
|
483
492
|
], 64)) : h("", !0)
|
|
484
|
-
])) : (a(), V(
|
|
493
|
+
])) : (a(), V(Pe, { key: 1 }))
|
|
485
494
|
]),
|
|
486
495
|
_: 2
|
|
487
496
|
}, 1024)
|
|
488
497
|
]),
|
|
489
|
-
addons: m(({ next:
|
|
490
|
-
e(
|
|
498
|
+
addons: m(({ next: z, prev: A }) => [
|
|
499
|
+
e(X) ? (a(), V(de, { key: 0 }, {
|
|
491
500
|
form: m(() => [
|
|
492
|
-
t("form",
|
|
501
|
+
t("form", Yt, [
|
|
493
502
|
t("h2", null, [
|
|
494
503
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
495
504
|
]),
|
|
496
|
-
e(
|
|
505
|
+
e(J) === e(he).FullDayEvent ? (a(), V(oe, {
|
|
497
506
|
key: 0,
|
|
498
507
|
modelValue: e(l),
|
|
499
|
-
"onUpdate:modelValue":
|
|
508
|
+
"onUpdate:modelValue": T[0] || (T[0] = (r) => I(l) ? l.value = r : null),
|
|
500
509
|
label: e(n)("event.numberOfDays"),
|
|
501
510
|
"min-value": 1,
|
|
502
511
|
required: ""
|
|
503
512
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
504
|
-
e(s) && e(s).length > 0 ? (a(), d("ul",
|
|
505
|
-
(a(!0), d(
|
|
513
|
+
e(s) && e(s).length > 0 ? (a(), d("ul", Qt, [
|
|
514
|
+
(a(!0), d(B, null, G(e(s), ({
|
|
506
515
|
roomGroupId: r,
|
|
507
|
-
addons:
|
|
508
|
-
adultPerRoom:
|
|
509
|
-
},
|
|
516
|
+
addons: N,
|
|
517
|
+
adultPerRoom: M
|
|
518
|
+
}, E) => (a(), d("li", { key: r }, [
|
|
510
519
|
t("h5", null, [
|
|
511
|
-
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(
|
|
520
|
+
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
|
|
512
521
|
ke(" ("),
|
|
513
|
-
v(
|
|
522
|
+
v(pe, {
|
|
514
523
|
icon: "male",
|
|
515
524
|
type: "fas",
|
|
516
525
|
color: "header"
|
|
517
526
|
}),
|
|
518
|
-
ke(" " + o(
|
|
527
|
+
ke(" " + o(M) + ") ", 1)
|
|
519
528
|
]),
|
|
520
|
-
t("table",
|
|
529
|
+
t("table", Zt, [
|
|
521
530
|
t("thead", null, [
|
|
522
531
|
t("tr", null, [
|
|
523
532
|
t("th", null, [
|
|
524
533
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
525
534
|
]),
|
|
526
|
-
|
|
527
|
-
t("th",
|
|
535
|
+
Kt,
|
|
536
|
+
t("th", Wt, [
|
|
528
537
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
529
538
|
])
|
|
530
539
|
])
|
|
531
540
|
]),
|
|
532
541
|
t("tbody", null, [
|
|
533
|
-
(a(!0), d(
|
|
542
|
+
(a(!0), d(B, null, G(N, ({
|
|
534
543
|
id: w,
|
|
535
|
-
cardinality:
|
|
536
|
-
name:
|
|
537
|
-
price:
|
|
538
|
-
quantityStrategy:
|
|
544
|
+
cardinality: Z,
|
|
545
|
+
name: K,
|
|
546
|
+
price: re,
|
|
547
|
+
quantityStrategy: ue
|
|
539
548
|
}) => (a(), d("tr", { key: w }, [
|
|
540
549
|
t("td", null, [
|
|
541
|
-
t("b", null, o(
|
|
542
|
-
|
|
543
|
-
t("span", null, o(e(R)(
|
|
550
|
+
t("b", null, o(K), 1),
|
|
551
|
+
Jt,
|
|
552
|
+
t("span", null, o(e(R)(re, e(Q))) + " " + o(e(Qe)(ue)), 1)
|
|
544
553
|
]),
|
|
545
|
-
t("td",
|
|
546
|
-
|
|
554
|
+
t("td", Xt, [
|
|
555
|
+
Z === 3 ? (a(), V(oe, {
|
|
547
556
|
key: 0,
|
|
548
|
-
modelValue: e(i)[`${r}.${w}.${
|
|
549
|
-
"onUpdate:modelValue": (
|
|
557
|
+
modelValue: e(i)[`${r}.${w}.${E}`],
|
|
558
|
+
"onUpdate:modelValue": (W) => e(i)[`${r}.${w}.${E}`] = W,
|
|
550
559
|
small: !0,
|
|
551
560
|
"min-value": 0
|
|
552
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), V(
|
|
561
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), V(vt, {
|
|
553
562
|
key: 1,
|
|
554
|
-
modelValue: e(i)[`${r}.${w}.${
|
|
555
|
-
"onUpdate:modelValue": (
|
|
563
|
+
modelValue: e(i)[`${r}.${w}.${E}`],
|
|
564
|
+
"onUpdate:modelValue": (W) => e(i)[`${r}.${w}.${E}`] = W,
|
|
556
565
|
numeric: !0
|
|
557
566
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
558
567
|
]),
|
|
559
|
-
t("td",
|
|
560
|
-
t("span", null, o(e(R)(e(fe)(w, r,
|
|
568
|
+
t("td", xt, [
|
|
569
|
+
t("span", null, o(e(R)(e(fe)(w, r, E), e(Q))), 1)
|
|
561
570
|
])
|
|
562
571
|
]))), 128))
|
|
563
572
|
]),
|
|
564
573
|
t("tfoot", null, [
|
|
565
574
|
t("tr", null, [
|
|
566
|
-
|
|
567
|
-
|
|
575
|
+
en,
|
|
576
|
+
tn,
|
|
577
|
+
t("td", nn, [
|
|
568
578
|
t("u", null, [
|
|
569
|
-
t("span", null, o(e(R)(e(
|
|
579
|
+
t("span", null, o(e(R)(e(Se)(r, E), e(Q))), 1)
|
|
570
580
|
])
|
|
571
581
|
])
|
|
572
582
|
])
|
|
@@ -574,54 +584,45 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
574
584
|
])
|
|
575
585
|
]))), 128))
|
|
576
586
|
])) : h("", !0),
|
|
577
|
-
e(
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
modelValue: e(p),
|
|
588
|
-
"onUpdate:modelValue": E[1] || (E[1] = (C) => I(p) ? p.value = C : null),
|
|
589
|
-
type: "radio",
|
|
590
|
-
name: "eventTimeTable",
|
|
591
|
-
val: r.time,
|
|
592
|
-
label: e(pe)(r.time)
|
|
593
|
-
}, null, 8, ["modelValue", "val", "label"])
|
|
594
|
-
]))), 128))
|
|
595
|
-
])
|
|
587
|
+
e(J) !== e(he).FullDayEvent && !e(S) ? (a(), d("div", on, [
|
|
588
|
+
h("", !0),
|
|
589
|
+
v(it, {
|
|
590
|
+
modelValue: e(p),
|
|
591
|
+
"onUpdate:modelValue": T[1] || (T[1] = (r) => I(p) ? p.value = r : null),
|
|
592
|
+
label: e(n)("event.selectArrivalTime"),
|
|
593
|
+
name: "eventTimeTable",
|
|
594
|
+
checkboxes: Le.value,
|
|
595
|
+
required: ""
|
|
596
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])
|
|
596
597
|
])) : h("", !0),
|
|
597
|
-
e(
|
|
598
|
-
t("label",
|
|
598
|
+
e(O) ? (a(), d("div", ln, [
|
|
599
|
+
t("label", an, [
|
|
599
600
|
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
600
601
|
]),
|
|
601
|
-
t("table",
|
|
602
|
+
t("table", sn, [
|
|
602
603
|
t("thead", null, [
|
|
603
604
|
t("tr", null, [
|
|
604
605
|
t("th", null, [
|
|
605
606
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
606
607
|
]),
|
|
607
|
-
|
|
608
|
-
t("th",
|
|
608
|
+
rn,
|
|
609
|
+
t("th", un, [
|
|
609
610
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
610
611
|
])
|
|
611
612
|
])
|
|
612
613
|
]),
|
|
613
614
|
t("tbody", null, [
|
|
614
|
-
(a(!0), d(
|
|
615
|
+
(a(!0), d(B, null, G(e(P).products, ({ productID: r, productName: N, price: M, description: E }) => (a(), d("tr", { key: r }, [
|
|
615
616
|
t("td", null, [
|
|
616
617
|
t("b", null, [
|
|
617
|
-
t("span", null, o(
|
|
618
|
+
t("span", null, o(N), 1)
|
|
618
619
|
]),
|
|
619
|
-
|
|
620
|
-
t("span", null, o(
|
|
620
|
+
cn,
|
|
621
|
+
t("span", null, o(E), 1),
|
|
621
622
|
dn,
|
|
622
|
-
t("span", null, o(e(R)(
|
|
623
|
+
t("span", null, o(e(R)(M, e(Q))), 1)
|
|
623
624
|
]),
|
|
624
|
-
t("td",
|
|
625
|
+
t("td", mn, [
|
|
625
626
|
v(oe, {
|
|
626
627
|
modelValue: e(c)[r],
|
|
627
628
|
"onUpdate:modelValue": (w) => e(c)[r] = w,
|
|
@@ -629,8 +630,8 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
629
630
|
"min-value": 0
|
|
630
631
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
631
632
|
]),
|
|
632
|
-
t("td",
|
|
633
|
-
t("span", null, o(e(R)(e(fe)(r), e(
|
|
633
|
+
t("td", pn, [
|
|
634
|
+
t("span", null, o(e(R)(e(fe)(r), e(Q))), 1)
|
|
634
635
|
])
|
|
635
636
|
]))), 128))
|
|
636
637
|
])
|
|
@@ -639,43 +640,43 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
639
640
|
])
|
|
640
641
|
]),
|
|
641
642
|
navigation: m(() => [
|
|
642
|
-
v(
|
|
643
|
+
v(me, {
|
|
643
644
|
label: "Next",
|
|
644
645
|
"full-width": "",
|
|
645
|
-
onClickEvent:
|
|
646
|
+
onClickEvent: z
|
|
646
647
|
}, null, 8, ["onClickEvent"]),
|
|
647
648
|
t("button", {
|
|
648
649
|
class: "konnectio-abort-reservation link",
|
|
649
650
|
onClick: ye((r) => e(ge)(A), ["prevent"])
|
|
650
651
|
}, [
|
|
651
652
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
652
|
-
], 8,
|
|
653
|
+
], 8, vn)
|
|
653
654
|
]),
|
|
654
655
|
_: 2
|
|
655
656
|
}, 1024)) : h("", !0)
|
|
656
657
|
]),
|
|
657
|
-
reservation: m(({ next:
|
|
658
|
+
reservation: m(({ next: z, prev: A }) => [
|
|
658
659
|
v(de, {
|
|
659
660
|
"show-terms-notice": !0,
|
|
660
661
|
"show-gift-card": !0
|
|
661
662
|
}, {
|
|
662
663
|
form: m(() => [
|
|
663
|
-
t("form",
|
|
664
|
+
t("form", fn, [
|
|
664
665
|
t("h2", null, [
|
|
665
666
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
666
667
|
]),
|
|
667
|
-
v(
|
|
668
|
+
v(ce, {
|
|
668
669
|
modelValue: e(_),
|
|
669
|
-
"onUpdate:modelValue":
|
|
670
|
+
"onUpdate:modelValue": T[2] || (T[2] = (r) => I(_) ? _.value = r : null),
|
|
670
671
|
type: "text",
|
|
671
672
|
label: e(n)("booking.reservation.name"),
|
|
672
673
|
icon: "user-alt",
|
|
673
674
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
674
675
|
required: ""
|
|
675
676
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
676
|
-
v(
|
|
677
|
+
v(ce, {
|
|
677
678
|
modelValue: e($),
|
|
678
|
-
"onUpdate:modelValue":
|
|
679
|
+
"onUpdate:modelValue": T[3] || (T[3] = (r) => I($) ? $.value = r : null),
|
|
679
680
|
label: e(n)("booking.reservation.email"),
|
|
680
681
|
type: "email",
|
|
681
682
|
name: "email",
|
|
@@ -684,17 +685,17 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
684
685
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
685
686
|
required: ""
|
|
686
687
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
687
|
-
v(
|
|
688
|
+
v(ft, {
|
|
688
689
|
modelValue: e(g),
|
|
689
|
-
"onUpdate:modelValue":
|
|
690
|
+
"onUpdate:modelValue": T[4] || (T[4] = (r) => I(g) ? g.value = r : null),
|
|
690
691
|
label: e(n)("booking.reservation.phone"),
|
|
691
692
|
icon: "phone-office",
|
|
692
693
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
693
694
|
required: ""
|
|
694
695
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
695
|
-
v(
|
|
696
|
+
v(ce, {
|
|
696
697
|
modelValue: e(u),
|
|
697
|
-
"onUpdate:modelValue":
|
|
698
|
+
"onUpdate:modelValue": T[5] || (T[5] = (r) => I(u) ? u.value = r : null),
|
|
698
699
|
type: "textarea",
|
|
699
700
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
700
701
|
icon: "info-circle",
|
|
@@ -703,27 +704,27 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
703
704
|
])
|
|
704
705
|
]),
|
|
705
706
|
navigation: m(() => [
|
|
706
|
-
v(
|
|
707
|
+
v(me, {
|
|
707
708
|
label: e(n)("general.confirmReservation"),
|
|
708
|
-
"is-loading": e(
|
|
709
|
+
"is-loading": e(F),
|
|
709
710
|
"full-width": "",
|
|
710
|
-
onClickEvent: (r) => e(Be)(
|
|
711
|
+
onClickEvent: (r) => e(Be)(z)
|
|
711
712
|
}, null, 8, ["label", "is-loading", "onClickEvent"]),
|
|
712
713
|
t("button", {
|
|
713
714
|
class: "konnectio-abort-reservation link",
|
|
714
715
|
onClick: ye((r) => e(ge)(A), ["prevent"])
|
|
715
716
|
}, [
|
|
716
717
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
717
|
-
], 8,
|
|
718
|
+
], 8, gn)
|
|
718
719
|
]),
|
|
719
720
|
_: 2
|
|
720
721
|
}, 1024)
|
|
721
722
|
]),
|
|
722
723
|
payment: m(() => [
|
|
723
|
-
v(
|
|
724
|
+
v(gt)
|
|
724
725
|
]),
|
|
725
726
|
confirmation: m(() => [
|
|
726
|
-
v(
|
|
727
|
+
v(rt, {
|
|
727
728
|
message: e(n)("event.confirmationMessage")
|
|
728
729
|
}, null, 8, ["message"])
|
|
729
730
|
]),
|
|
@@ -734,7 +735,7 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
734
735
|
}, 8, ["access-token"])
|
|
735
736
|
]),
|
|
736
737
|
fallback: m(() => [
|
|
737
|
-
v(
|
|
738
|
+
v(Gt)
|
|
738
739
|
]),
|
|
739
740
|
_: 1
|
|
740
741
|
}))
|
|
@@ -742,8 +743,8 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
742
743
|
_: 1
|
|
743
744
|
}, 8, ["styling"]));
|
|
744
745
|
}
|
|
745
|
-
}), te = /* @__PURE__ */
|
|
746
|
-
class
|
|
746
|
+
}), te = /* @__PURE__ */ se(bn, [["__scopeId", "data-v-aa29118e"]]), hn = Xe(), kn = nt();
|
|
747
|
+
class yn extends HTMLElement {
|
|
747
748
|
vueApp;
|
|
748
749
|
constructor() {
|
|
749
750
|
super();
|
|
@@ -765,12 +766,12 @@ class kn extends HTMLElement {
|
|
|
765
766
|
let p = this.attributes.getNamedItem(u)?.value;
|
|
766
767
|
g.hasOwnProperty(u) && (p = g[u]), _[u] = p;
|
|
767
768
|
}
|
|
768
|
-
this.vueApp = xe(te, _), this.vueApp.provide("emitter",
|
|
769
|
+
this.vueApp = xe(te, _), this.vueApp.provide("emitter", kn), this.vueApp.use(et), this.vueApp.use(hn), this.vueApp.use(ut), this.vueApp.use(ct), this.vueApp.use(tt, { bootstrap: !0 });
|
|
769
770
|
const $ = document.createElement("div");
|
|
770
771
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
771
772
|
}
|
|
772
773
|
}
|
|
773
|
-
window.customElements.define("konnectio-event",
|
|
774
|
+
window.customElements.define("konnectio-event", yn);
|
|
774
775
|
export {
|
|
775
|
-
|
|
776
|
+
yn as default
|
|
776
777
|
};
|