@konnectio/core 4.0.118 → 4.0.119
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--tGPb0Ob.js → ActionField-yaTIHJvx.js} +2 -2
- package/dist/ActionField-yaTIHJvx.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DcJF9jAN.js → AvailabilitySkeleton-CV6IiFig.js} +5 -5
- package/dist/AvailabilitySkeleton-CV6IiFig.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js.br +0 -0
- package/dist/{CheckoutWindow-0SQ_8VzW.js → CheckoutWindow-BLhGzw4p.js} +2 -2
- package/dist/CheckoutWindow-BLhGzw4p.js.br +0 -0
- package/dist/{ErrorMessage-Bwb7Ib84.js → ErrorMessage-CMNpag_d.js} +2 -2
- package/dist/ErrorMessage-CMNpag_d.js.br +0 -0
- package/dist/{EventAvailabilityForm-DMLUjzLU.js → EventAvailabilityForm-5IKyXHH5.js} +3 -3
- package/dist/EventAvailabilityForm-5IKyXHH5.js.br +0 -0
- package/dist/{Field-CbCFTaTs.js → Field-CvoF7Glc.js} +3 -3
- package/dist/Field-CvoF7Glc.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-K7qu_idf.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js → SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js} +2 -2
- package/dist/SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js.br +0 -0
- package/dist/{TermsOfService-BeBLKeU1.js → TermsOfService-D_TOJHKs.js} +3 -3
- package/dist/_-4AAzKjzk.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-BHgddsWZ.js → _.vue_vue_type_style_index_0_lang-Iq1FI_VA.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/event.js +278 -288
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-3jj6EyhQ.js → giftCard-DvqomDap.js} +2 -2
- package/dist/giftCard-DvqomDap.js.br +0 -0
- package/dist/hotel.js +7 -7
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-B2kZ4Lq-.js → masonry.plugin-rZZcRBGq.js} +5 -5
- package/dist/masonry.plugin-rZZcRBGq.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 +1 -1
- package/dist/ActionField--tGPb0Ob.js.br +0 -0
- package/dist/AvailabilitySkeleton-DcJF9jAN.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js.br +0 -0
- package/dist/CheckoutWindow-0SQ_8VzW.js.br +0 -0
- package/dist/ErrorMessage-Bwb7Ib84.js.br +0 -0
- package/dist/EventAvailabilityForm-DMLUjzLU.js.br +0 -0
- package/dist/Field-CbCFTaTs.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js.br +0 -0
- package/dist/_-DJq3nquJ.js +0 -5
- package/dist/giftCard-3jj6EyhQ.js.br +0 -0
- package/dist/masonry.plugin-B2kZ4Lq-.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { d as W, u as ae, s as Y, r as Fe, c as j, a as o, b as
|
|
2
|
-
import { a as
|
|
1
|
+
import { d as W, u as ae, s as Y, r as Fe, c as j, a as o, b as $, w as m, v as X, i as e, e as t, j as f, f as p, n as Xe, g as c, t as a, o as Ze, h as xe, x as de, y as et, z as tt, F as A, A as H, B as M, S as nt, k as at, l as ot, m as lt, p as st, q as it } from "./mitt-HQsLmGCg.js";
|
|
2
|
+
import { a as _e, f as Z, g as ue, l as rt, s as U, d as ce, B as ut, _ as x, h as we, I as ne, i as dt, u as Pe, j as ct, k as mt, m as pt, n as $e, o as K, p as vt, q as Oe, T as re, O as bt, C as ft, r as gt, t as kt, v as yt } from "./SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js";
|
|
3
3
|
import { G as ht } from "./style-Cc6LpDdk.js";
|
|
4
|
-
import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as Pt, _ as
|
|
6
|
-
import { e as Bt, c as
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as Mt } from "./EventAvailabilityForm-
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
4
|
+
import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-Iq1FI_VA.js";
|
|
5
|
+
import { B as Pt, _ as $t, R as _t, L as Le, S as wt, M as Et, C as Ot, T as Vt, V as Nt, a as Tt } from "./masonry.plugin-rZZcRBGq.js";
|
|
6
|
+
import { e as Bt, c as Ct, n as St, g as Ve, m as Ne, a as Te, b as Be, d as Ft, f as Ce, _ as Lt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js";
|
|
7
|
+
import { C as It, P as At, a as Rt } from "./CheckoutWindow-BLhGzw4p.js";
|
|
8
|
+
import { E as Mt } from "./EventAvailabilityForm-5IKyXHH5.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js";
|
|
10
10
|
function Ut(g) {
|
|
11
11
|
return (l) => {
|
|
12
|
-
const
|
|
13
|
-
return
|
|
12
|
+
const v = (g ? Math[g] : Math.trunc)(l);
|
|
13
|
+
return v === 0 ? 0 : v;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
function Gt(g, l, n) {
|
|
17
|
-
const
|
|
17
|
+
const v = Ft(), b = n?.locale ?? v.locale ?? Bt, i = Ct(g, l);
|
|
18
18
|
if (isNaN(i))
|
|
19
19
|
throw new RangeError("Invalid time value");
|
|
20
20
|
const k = Object.assign({}, n, {
|
|
21
21
|
addSuffix: n?.addSuffix,
|
|
22
22
|
comparison: i
|
|
23
|
-
}), [E, y] =
|
|
23
|
+
}), [E, y] = St(
|
|
24
24
|
n?.in,
|
|
25
25
|
...i > 0 ? [l, g] : [g, l]
|
|
26
|
-
), s = Ut(n?.roundingMethod ?? "round"),
|
|
26
|
+
), s = Ut(n?.roundingMethod ?? "round"), O = y.getTime() - E.getTime(), D = O / Ce, _ = Ve(y) - Ve(E), N = (O - _) / Ce, F = n?.unit;
|
|
27
27
|
let P;
|
|
28
|
-
if (
|
|
29
|
-
const u = s(
|
|
30
|
-
return
|
|
28
|
+
if (F ? P = F : D < 1 ? P = "second" : D < 60 ? P = "minute" : D < Ne ? P = "hour" : N < Te ? P = "day" : N < Be ? P = "month" : P = "year", P === "second") {
|
|
29
|
+
const u = s(O / 1e3);
|
|
30
|
+
return b.formatDistance("xSeconds", u, k);
|
|
31
31
|
} else if (P === "minute") {
|
|
32
32
|
const u = s(D);
|
|
33
|
-
return
|
|
33
|
+
return b.formatDistance("xMinutes", u, k);
|
|
34
34
|
} else if (P === "hour") {
|
|
35
35
|
const u = s(D / 60);
|
|
36
|
-
return
|
|
36
|
+
return b.formatDistance("xHours", u, k);
|
|
37
37
|
} else if (P === "day") {
|
|
38
38
|
const u = s(N / Ne);
|
|
39
|
-
return
|
|
39
|
+
return b.formatDistance("xDays", u, k);
|
|
40
40
|
} else if (P === "month") {
|
|
41
41
|
const u = s(N / Te);
|
|
42
|
-
return u === 12 &&
|
|
42
|
+
return u === 12 && F !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", u, k);
|
|
43
43
|
} else {
|
|
44
44
|
const u = s(N / Be);
|
|
45
|
-
return
|
|
45
|
+
return b.formatDistance("xYears", u, k);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__ */ W({
|
|
@@ -69,36 +69,36 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
|
|
|
69
69
|
callback: {}
|
|
70
70
|
},
|
|
71
71
|
setup(g) {
|
|
72
|
-
const { t: l } = ae(), n = g, { display:
|
|
73
|
-
maxNumberOfPeople:
|
|
72
|
+
const { t: l } = ae(), n = g, { display: v } = _e(), {
|
|
73
|
+
maxNumberOfPeople: b,
|
|
74
74
|
numberOfPeople: i,
|
|
75
75
|
eventId: k,
|
|
76
76
|
currentEventDate: E,
|
|
77
77
|
tableGroupId: y
|
|
78
78
|
} = Y(Z()), {
|
|
79
79
|
getTemplateAvailability: s,
|
|
80
|
-
getEventAvailability:
|
|
80
|
+
getEventAvailability: O,
|
|
81
81
|
isEventListingLoading: D
|
|
82
|
-
} = Z(),
|
|
83
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
84
|
-
|
|
82
|
+
} = Z(), _ = Fe(0), N = j(() => D(n.listingId)), F = () => {
|
|
83
|
+
if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
|
|
84
|
+
v({
|
|
85
85
|
type: "error",
|
|
86
86
|
message: l("alert.error.selectPeople")
|
|
87
87
|
});
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
k.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN :
|
|
90
|
+
k.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, s(n.callback);
|
|
91
91
|
}, P = () => {
|
|
92
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
93
|
-
|
|
92
|
+
if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
|
|
93
|
+
v({
|
|
94
94
|
type: "error",
|
|
95
95
|
message: l("alert.error.selectPeople")
|
|
96
96
|
});
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
|
-
k.value = n.listingId, y.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN :
|
|
99
|
+
k.value = n.listingId, y.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, O(n.callback);
|
|
100
100
|
};
|
|
101
|
-
return (u, L) => (o(),
|
|
101
|
+
return (u, L) => (o(), $(Pt, {
|
|
102
102
|
type: "event",
|
|
103
103
|
"listing-id": u.listingId,
|
|
104
104
|
gallery: u.gallery,
|
|
@@ -109,7 +109,7 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
|
|
|
109
109
|
layout: e(ut).Event
|
|
110
110
|
}, {
|
|
111
111
|
description: m(() => [
|
|
112
|
-
X(u.$slots, "description", { maxNumberOfPeople: e(
|
|
112
|
+
X(u.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
113
113
|
]),
|
|
114
114
|
action: m(() => [
|
|
115
115
|
X(u.$slots, "action", {}, () => [
|
|
@@ -119,26 +119,26 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
|
|
|
119
119
|
{ "no-selectable-people": u.useNumberOfProductsForPersons }
|
|
120
120
|
])
|
|
121
121
|
}, [
|
|
122
|
-
u.useNumberOfProductsForPersons ?
|
|
122
|
+
u.useNumberOfProductsForPersons ? f("", !0) : (o(), $(ue, {
|
|
123
123
|
key: 0,
|
|
124
|
-
modelValue:
|
|
125
|
-
"onUpdate:modelValue": L[0] || (L[0] = (
|
|
124
|
+
modelValue: _.value,
|
|
125
|
+
"onUpdate:modelValue": L[0] || (L[0] = (I) => _.value = I),
|
|
126
126
|
label: e(l)("event.numberOfGuests"),
|
|
127
127
|
icon: "users",
|
|
128
128
|
"icon-type": "fas",
|
|
129
129
|
"icon-placement": "label",
|
|
130
130
|
description: u.maxGuests <= 20 ? `${e(l)("general.availableFor")}: 1 - ${u.maxGuests} ${e(rt)(e(l)("general.guests"))}` : void 0,
|
|
131
131
|
"min-value": 0,
|
|
132
|
-
"max-value": u.maxOnlineReservationLimit || u.maxGuests || e(
|
|
132
|
+
"max-value": u.maxOnlineReservationLimit || u.maxGuests || e(b) || 1 / 0
|
|
133
133
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
134
134
|
t("div", zt, [
|
|
135
|
-
|
|
135
|
+
p(ce, {
|
|
136
136
|
label: u.soldOut ? e(l)("event.soldOut") : e(l)("event.bookNowButton"),
|
|
137
137
|
disabled: u.soldOut,
|
|
138
138
|
"is-loading": N.value,
|
|
139
139
|
"full-width": "",
|
|
140
140
|
"sub-label": e(U)(e(E)),
|
|
141
|
-
onClickEvent: L[1] || (L[1] = (
|
|
141
|
+
onClickEvent: L[1] || (L[1] = (I) => u.type === "event" ? P() : F())
|
|
142
142
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
143
143
|
])
|
|
144
144
|
], 2)
|
|
@@ -147,7 +147,7 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
|
|
|
147
147
|
_: 3
|
|
148
148
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
149
149
|
}
|
|
150
|
-
}),
|
|
150
|
+
}), Ie = /* @__PURE__ */ x(qt, [["__scopeId", "data-v-81aa25c5"]]), Ht = { class: "konnectio-event-listing-information-new" };
|
|
151
151
|
const Yt = {
|
|
152
152
|
key: 1,
|
|
153
153
|
class: "konnectio-pill-button"
|
|
@@ -174,14 +174,14 @@ const Yt = {
|
|
|
174
174
|
callback: {}
|
|
175
175
|
},
|
|
176
176
|
setup(g) {
|
|
177
|
-
const l = g, { t: n } = ae(), { hideEventLength:
|
|
177
|
+
const l = g, { t: n } = ae(), { hideEventLength: v } = Y(we()), b = j(() => {
|
|
178
178
|
const i = l.length.split(":");
|
|
179
179
|
return Gt(
|
|
180
180
|
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
181
181
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
182
182
|
);
|
|
183
183
|
});
|
|
184
|
-
return (i, k) => (o(),
|
|
184
|
+
return (i, k) => (o(), $(Ie, {
|
|
185
185
|
"listing-id": i.listingId,
|
|
186
186
|
name: i.name,
|
|
187
187
|
description: i.description,
|
|
@@ -196,25 +196,25 @@ const Yt = {
|
|
|
196
196
|
callback: i.callback
|
|
197
197
|
}, {
|
|
198
198
|
description: m(() => [
|
|
199
|
-
i.description ? (o(),
|
|
199
|
+
i.description ? (o(), $($t, {
|
|
200
200
|
key: 0,
|
|
201
201
|
text: i.description
|
|
202
|
-
}, null, 8, ["text"])) :
|
|
202
|
+
}, null, 8, ["text"])) : f("", !0),
|
|
203
203
|
t("ul", Ht, [
|
|
204
|
-
|
|
205
|
-
e(
|
|
204
|
+
f("", !0),
|
|
205
|
+
e(v) ? f("", !0) : (o(), c("li", Yt, [
|
|
206
206
|
t("div", null, [
|
|
207
|
-
|
|
207
|
+
p(ne, {
|
|
208
208
|
icon: "calendar-clock",
|
|
209
209
|
color: "header"
|
|
210
210
|
}),
|
|
211
211
|
t("span", null, a(e(n)("event.lengthOfEvent")), 1)
|
|
212
212
|
]),
|
|
213
|
-
t("span", null, a(
|
|
213
|
+
t("span", null, a(b.value), 1)
|
|
214
214
|
])),
|
|
215
215
|
t("li", jt, [
|
|
216
216
|
t("div", null, [
|
|
217
|
-
|
|
217
|
+
p(ne, {
|
|
218
218
|
icon: "calendar-clock",
|
|
219
219
|
color: "header"
|
|
220
220
|
}),
|
|
@@ -252,17 +252,17 @@ const Yt = {
|
|
|
252
252
|
callback: { type: Function }
|
|
253
253
|
},
|
|
254
254
|
setup(g) {
|
|
255
|
-
const { t: l } = ae(), { updateEventDate: n } = Pe(), { display:
|
|
255
|
+
const { t: l } = ae(), { updateEventDate: n } = Pe(), { display: v } = _e(), b = Fe(), i = g;
|
|
256
256
|
function k() {
|
|
257
|
-
|
|
257
|
+
b.value ? n(b.value) : v({
|
|
258
258
|
message: l("alert.error.selectDate"),
|
|
259
259
|
type: "error"
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
262
|
const E = j(() => mt(i.fromDate, i.toDate) <= 1), y = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !pt(i.days).includes(s)));
|
|
263
263
|
return Ze(() => {
|
|
264
|
-
E.value && (
|
|
265
|
-
}), (s,
|
|
264
|
+
E.value && (b.value = new Date(i.fromDate));
|
|
265
|
+
}), (s, O) => (o(), $(Ae, {
|
|
266
266
|
name: s.name,
|
|
267
267
|
description: s.description,
|
|
268
268
|
"from-date": s.fromDate,
|
|
@@ -284,9 +284,9 @@ const Yt = {
|
|
|
284
284
|
action: m(() => [
|
|
285
285
|
t("div", null, [
|
|
286
286
|
t("div", Qt, [
|
|
287
|
-
|
|
288
|
-
modelValue:
|
|
289
|
-
"onUpdate:modelValue":
|
|
287
|
+
p(Lt, {
|
|
288
|
+
modelValue: b.value,
|
|
289
|
+
"onUpdate:modelValue": O[0] || (O[0] = (D) => b.value = D),
|
|
290
290
|
label: `${e(l)("event.selectDate")}*`,
|
|
291
291
|
placeholder: e(l)("event.selectDate"),
|
|
292
292
|
"icon-type": "fas",
|
|
@@ -298,17 +298,17 @@ const Yt = {
|
|
|
298
298
|
"disabled-week-days": y.value
|
|
299
299
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
300
300
|
t("div", Jt, [
|
|
301
|
-
|
|
301
|
+
p(ce, {
|
|
302
302
|
label: e(l)("availability.buttonLabel"),
|
|
303
303
|
onClick: xe(k, ["prevent"])
|
|
304
304
|
}, null, 8, ["label"])
|
|
305
305
|
])
|
|
306
306
|
]),
|
|
307
307
|
t("div", Kt, [
|
|
308
|
-
E.value ? (o(),
|
|
308
|
+
E.value ? (o(), c("span", Xt, [
|
|
309
309
|
de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
|
|
310
310
|
t("u", null, a(e(U)(s.fromDate)), 1)
|
|
311
|
-
])) : (o(),
|
|
311
|
+
])) : (o(), c("span", Zt, [
|
|
312
312
|
de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
|
|
313
313
|
t("u", null, a(e(ct)(s.days)), 1)
|
|
314
314
|
]))
|
|
@@ -344,15 +344,15 @@ const Yt = {
|
|
|
344
344
|
url: l.image
|
|
345
345
|
}];
|
|
346
346
|
});
|
|
347
|
-
return (
|
|
348
|
-
"listing-id":
|
|
347
|
+
return (v, b) => (o(), $(Ie, {
|
|
348
|
+
"listing-id": v.listingId,
|
|
349
349
|
gallery: n.value,
|
|
350
|
-
name:
|
|
351
|
-
description:
|
|
352
|
-
"prices-from":
|
|
353
|
-
"to-date":
|
|
350
|
+
name: v.name,
|
|
351
|
+
description: v.description,
|
|
352
|
+
"prices-from": v.fromPrice,
|
|
353
|
+
"to-date": v.toDate,
|
|
354
354
|
type: "template",
|
|
355
|
-
callback:
|
|
355
|
+
callback: v.callback
|
|
356
356
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
357
357
|
}
|
|
358
358
|
}), nn = { key: 0 }, an = { key: 1 }, on = { key: 2 }, ln = { key: 4 }, sn = { key: 5 }, rn = { key: 0 }, un = { key: 0 }, dn = { key: 1 }, cn = {
|
|
@@ -367,32 +367,32 @@ const Yt = {
|
|
|
367
367
|
},
|
|
368
368
|
setup(g) {
|
|
369
369
|
const { t: l } = ae(), n = et(), {
|
|
370
|
-
areListingsAvailable:
|
|
371
|
-
arrivalTime:
|
|
370
|
+
areListingsAvailable: v,
|
|
371
|
+
arrivalTime: b,
|
|
372
372
|
numberOfPeople: i,
|
|
373
373
|
numberOfRooms: k,
|
|
374
374
|
numberOfTotalDays: E,
|
|
375
375
|
isTemplateEvent: y,
|
|
376
376
|
currentEventDate: s,
|
|
377
|
-
length:
|
|
377
|
+
length: O,
|
|
378
378
|
fromDate: D,
|
|
379
|
-
tableBasePrice:
|
|
379
|
+
tableBasePrice: _,
|
|
380
380
|
getTemplateData: N,
|
|
381
|
-
basePrice:
|
|
381
|
+
basePrice: F,
|
|
382
382
|
totalPrice: P,
|
|
383
383
|
weekendFee: u,
|
|
384
384
|
roomUpgrade: L,
|
|
385
|
-
discountCode:
|
|
385
|
+
discountCode: I,
|
|
386
386
|
totalSelectedProducts: Q
|
|
387
387
|
} = Y(Z()), { totalAddonPrice: me, validateDiscountCode: pe } = Z(), { currency: oe, hideEventLength: ve } = Y(we());
|
|
388
|
-
return (R, le) => (o(),
|
|
389
|
-
"discount-code": e(
|
|
390
|
-
"onUpdate:discountCode": le[0] || (le[0] = (J) => M(
|
|
388
|
+
return (R, le) => (o(), $(_t, {
|
|
389
|
+
"discount-code": e(I),
|
|
390
|
+
"onUpdate:discountCode": le[0] || (le[0] = (J) => M(I) ? I.value = J : null),
|
|
391
391
|
"validate-discount-code": e(pe),
|
|
392
392
|
"show-gift-card": R.showGiftCard,
|
|
393
393
|
"show-terms-notice": R.showTermsNotice,
|
|
394
|
-
"is-sidebar-loading": !e(
|
|
395
|
-
"base-price": e(
|
|
394
|
+
"is-sidebar-loading": !e(v),
|
|
395
|
+
"base-price": e(F),
|
|
396
396
|
"total-price": e(P),
|
|
397
397
|
"weekend-fee": e(u),
|
|
398
398
|
"room-upgrade": e(L),
|
|
@@ -403,19 +403,19 @@ const Yt = {
|
|
|
403
403
|
X(R.$slots, "form", {}, void 0, !0)
|
|
404
404
|
]),
|
|
405
405
|
"reservation-summary": m(() => [
|
|
406
|
-
e(y) ?
|
|
406
|
+
e(y) ? f("", !0) : (o(), c("li", nn, [
|
|
407
407
|
t("span", null, a(e(l)("general.date")), 1),
|
|
408
408
|
t("b", null, a(e(U)(e(s))), 1)
|
|
409
409
|
])),
|
|
410
|
-
e(i) > 0 ? (o(),
|
|
410
|
+
e(i) > 0 ? (o(), c("li", an, [
|
|
411
411
|
t("span", null, a(e(l)("event.numberOfGuests")), 1),
|
|
412
412
|
t("b", null, a(e(i)), 1)
|
|
413
|
-
])) :
|
|
414
|
-
!e(y) && e(Q) > 0 ? (o(),
|
|
413
|
+
])) : f("", !0),
|
|
414
|
+
!e(y) && e(Q) > 0 ? (o(), c("li", on, [
|
|
415
415
|
t("span", null, a(e(l)("event.numberOfProducts")), 1),
|
|
416
416
|
t("b", null, a(e(Q)), 1)
|
|
417
|
-
])) :
|
|
418
|
-
e(y) ? (o(),
|
|
417
|
+
])) : f("", !0),
|
|
418
|
+
e(y) ? (o(), c(A, { key: 3 }, [
|
|
419
419
|
t("li", null, [
|
|
420
420
|
t("span", null, a(e(l)("booking.reservation.arrival")), 1),
|
|
421
421
|
t("b", null, a(e(U)(e(D))), 1)
|
|
@@ -432,38 +432,38 @@ const Yt = {
|
|
|
432
432
|
t("span", null, a(e(l)("event.numberOfDays")), 1),
|
|
433
433
|
t("b", null, a(e(E)), 1)
|
|
434
434
|
])
|
|
435
|
-
], 64)) :
|
|
436
|
-
!e(y) && e(
|
|
435
|
+
], 64)) : f("", !0),
|
|
436
|
+
!e(y) && e(b) ? (o(), c("li", ln, [
|
|
437
437
|
t("span", null, a(e(l)("event.startOfEvent")), 1),
|
|
438
|
-
t("b", null, a(e(
|
|
439
|
-
])) :
|
|
440
|
-
!e(y) && e(
|
|
438
|
+
t("b", null, a(e($e)(e(b))), 1)
|
|
439
|
+
])) : f("", !0),
|
|
440
|
+
!e(y) && e(O) && !e(ve) ? (o(), c("li", sn, [
|
|
441
441
|
t("span", null, a(e(l)("event.lengthOfEvent")), 1),
|
|
442
|
-
t("b", null, a(e(
|
|
443
|
-
])) :
|
|
442
|
+
t("b", null, a(e($e)(e(O))), 1)
|
|
443
|
+
])) : f("", !0)
|
|
444
444
|
]),
|
|
445
445
|
"price-summary": m(() => [
|
|
446
|
-
!e(y) && e(
|
|
446
|
+
!e(y) && e(_) > 0 ? (o(), c("li", rn, [
|
|
447
447
|
t("span", null, a(e(l)("booking.availability.basePrice")), 1),
|
|
448
|
-
t("b", null, a(e(K)(e(
|
|
449
|
-
])) :
|
|
450
|
-
e(N) ? (o(!0),
|
|
448
|
+
t("b", null, a(e(K)(e(_), e(oe))), 1)
|
|
449
|
+
])) : f("", !0),
|
|
450
|
+
e(N) ? (o(!0), c(A, { key: 1 }, H(e(N), ({ roomGroupId: J }, se) => (o(), c("li", { key: J }, [
|
|
451
451
|
t("span", null, a(e(l)("booking.reservation.addons")) + " - " + a(e(l)("booking.reservation.room")) + " #" + a(se + 1), 1),
|
|
452
452
|
t("b", null, a(e(K)(e(me)(J, se), e(oe))), 1)
|
|
453
|
-
]))), 128)) :
|
|
453
|
+
]))), 128)) : f("", !0)
|
|
454
454
|
]),
|
|
455
455
|
navigation: m(() => [
|
|
456
456
|
X(R.$slots, "navigation", {}, void 0, !0)
|
|
457
457
|
]),
|
|
458
458
|
"mobile-under-price": m(() => [
|
|
459
|
-
e(y) ? (o(),
|
|
459
|
+
e(y) ? (o(), c("div", un, [
|
|
460
460
|
t("span", null, a(e(U)(e(D))) + " - " + a(e(U)(e(D), e(E))), 1)
|
|
461
|
-
])) : (o(),
|
|
461
|
+
])) : (o(), c("div", dn, [
|
|
462
462
|
t("span", null, a(e(U)(e(s))), 1)
|
|
463
463
|
]))
|
|
464
464
|
]),
|
|
465
465
|
"mobile-summary": m(() => [
|
|
466
|
-
!e(y) && e(Q) > 0 ? (o(),
|
|
466
|
+
!e(y) && e(Q) > 0 ? (o(), c("span", cn, a(e(l)("event.numberOfProducts")) + ": " + a(e(Q)), 1)) : f("", !0)
|
|
467
467
|
]),
|
|
468
468
|
_: 2
|
|
469
469
|
}, [
|
|
@@ -479,13 +479,13 @@ const Yt = {
|
|
|
479
479
|
}), De = /* @__PURE__ */ x(mn, [["__scopeId", "data-v-c4b0b5c7"]]), pn = { class: "event-skeleton" }, vn = { class: "event-skeleton-content" }, bn = { class: "event-skeleton-sidebar" }, fn = /* @__PURE__ */ W({
|
|
480
480
|
__name: "EventSkeleton",
|
|
481
481
|
setup(g) {
|
|
482
|
-
return (l, n) => (o(),
|
|
482
|
+
return (l, n) => (o(), c("div", pn, [
|
|
483
483
|
t("div", vn, [
|
|
484
|
-
|
|
484
|
+
p(Le)
|
|
485
485
|
]),
|
|
486
486
|
t("div", bn, [
|
|
487
|
-
|
|
488
|
-
|
|
487
|
+
f("", !0),
|
|
488
|
+
p(wt)
|
|
489
489
|
])
|
|
490
490
|
]));
|
|
491
491
|
}
|
|
@@ -495,15 +495,13 @@ const Yt = {
|
|
|
495
495
|
}, yn = {
|
|
496
496
|
key: 0,
|
|
497
497
|
class: "konnectio-hotel-availability-title"
|
|
498
|
-
}
|
|
499
|
-
const hn = { class: "konnectio-event-listings" };
|
|
500
|
-
const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel-availability-title" }, _n = { class: "konnectio-event-listings" }, $n = ["innerHTML"], wn = { class: "konnectio-panel" }, En = {
|
|
498
|
+
}, hn = { class: "konnectio-event-listings" }, Dn = { class: "konnectio-hotel-availability-title" }, Pn = { class: "konnectio-event-listings" }, $n = ["innerHTML"], _n = { class: "konnectio-panel" }, wn = {
|
|
501
499
|
key: 0,
|
|
502
500
|
id: "konnectio-event-addons"
|
|
503
|
-
},
|
|
501
|
+
}, En = { class: "konnectio-table with-lines" }, On = { class: "konnectio-event-addons-price" }, Vn = { class: "konnectio-event-addons-input" }, Nn = { class: "konnectio-event-addons-price" }, Tn = { class: "konnectio-event-addons-price" }, Bn = {
|
|
504
502
|
key: 1,
|
|
505
503
|
class: "konnectio-table with-lines"
|
|
506
|
-
}, Cn = { class: "konnectio-table-addons-information" },
|
|
504
|
+
}, Cn = { class: "konnectio-table-addons-information" }, Sn = { key: 0 }, Fn = { class: "konnectio-table-addons-option" }, Ln = { class: "konnectio-panel" }, In = /* @__PURE__ */ W({
|
|
507
505
|
name: "EventLayout",
|
|
508
506
|
__name: "Event",
|
|
509
507
|
props: {
|
|
@@ -515,22 +513,22 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
515
513
|
},
|
|
516
514
|
setup(g) {
|
|
517
515
|
const l = g, { t: n } = ae(), {
|
|
518
|
-
addons:
|
|
519
|
-
products:
|
|
516
|
+
addons: v,
|
|
517
|
+
products: b,
|
|
520
518
|
numberOfDays: i,
|
|
521
519
|
name: k,
|
|
522
520
|
phone: E,
|
|
523
521
|
email: y,
|
|
524
522
|
remark: s,
|
|
525
|
-
allergies:
|
|
523
|
+
allergies: O,
|
|
526
524
|
arrivalTime: D,
|
|
527
|
-
hasEvents:
|
|
525
|
+
hasEvents: _,
|
|
528
526
|
hasTemplates: N,
|
|
529
|
-
getEvents:
|
|
527
|
+
getEvents: F,
|
|
530
528
|
getTemplates: P,
|
|
531
529
|
getEventData: u,
|
|
532
530
|
getTemplateData: L,
|
|
533
|
-
getEventTableData:
|
|
531
|
+
getEventTableData: I,
|
|
534
532
|
hasProducts: Q,
|
|
535
533
|
eventRateType: me,
|
|
536
534
|
areListingsAvailable: pe,
|
|
@@ -549,7 +547,7 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
549
547
|
totalAddonPrice: Ye,
|
|
550
548
|
reset: je,
|
|
551
549
|
goBack: Ee
|
|
552
|
-
} = Z(), { display: fe } =
|
|
550
|
+
} = Z(), { display: fe } = _e(), We = j(() => [
|
|
553
551
|
{
|
|
554
552
|
id: "availability",
|
|
555
553
|
label: n("booking.availability.title"),
|
|
@@ -577,10 +575,10 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
577
575
|
}
|
|
578
576
|
]), Qe = j(() => {
|
|
579
577
|
const w = [];
|
|
580
|
-
return
|
|
581
|
-
w.find((B) => B.value ===
|
|
582
|
-
label:
|
|
583
|
-
value:
|
|
578
|
+
return I.value && I.value.forEach((d) => {
|
|
579
|
+
w.find((B) => B.value === d.time) || w.push({
|
|
580
|
+
label: $e(d.time),
|
|
581
|
+
value: d.time
|
|
584
582
|
});
|
|
585
583
|
}), w;
|
|
586
584
|
});
|
|
@@ -590,11 +588,11 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
590
588
|
function Ke() {
|
|
591
589
|
const w = gt("history", {
|
|
592
590
|
removeNullishValues: !0
|
|
593
|
-
}),
|
|
591
|
+
}), d = parseInt(w.rid), B = w.d, V = parseInt(w.eid);
|
|
594
592
|
if (B)
|
|
595
593
|
if (kt(B)) {
|
|
596
|
-
const
|
|
597
|
-
|
|
594
|
+
const C = new Date(B), S = C.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
595
|
+
S >= h ? (Re.value = C, w.d = void 0) : fe({
|
|
598
596
|
message: n("alert.error.invalidDateRange"),
|
|
599
597
|
type: "error"
|
|
600
598
|
});
|
|
@@ -603,126 +601,118 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
603
601
|
message: n("alert.error.wrongDateFormat"),
|
|
604
602
|
type: "error"
|
|
605
603
|
});
|
|
606
|
-
isNaN(
|
|
604
|
+
isNaN(d) || (Ue(d) ? Me.value = d : fe({
|
|
607
605
|
message: n("alert.error.hotelIdNotFound"),
|
|
608
606
|
type: "error"
|
|
609
607
|
}));
|
|
610
608
|
let r;
|
|
611
|
-
isNaN(
|
|
609
|
+
isNaN(V) || (r = V), ze(r);
|
|
612
610
|
}
|
|
613
|
-
return (w,
|
|
611
|
+
return (w, d) => (o(), $(ft, { styling: w.styling }, {
|
|
614
612
|
default: m(() => [
|
|
615
|
-
(o(),
|
|
613
|
+
(o(), $(nt, { onResolve: Ke }, {
|
|
616
614
|
default: m(() => [
|
|
617
|
-
|
|
615
|
+
p(Dt, {
|
|
618
616
|
id: "konnectio-event-module",
|
|
619
617
|
"access-token": w.accessToken,
|
|
620
618
|
callback: e(Ge)
|
|
621
619
|
}, {
|
|
622
620
|
default: m(() => [
|
|
623
|
-
|
|
621
|
+
p(Et, {
|
|
624
622
|
steps: We.value,
|
|
625
623
|
onReset: Je
|
|
626
624
|
}, {
|
|
627
625
|
availability: m(({ next: B }) => [
|
|
628
|
-
|
|
626
|
+
p(De, null, {
|
|
629
627
|
sidebar: m(() => [
|
|
630
|
-
|
|
628
|
+
p(Mt, {
|
|
631
629
|
redirection: !1,
|
|
632
630
|
"selected-location": Number(w.selectedLocation)
|
|
633
631
|
}, null, 8, ["selected-location"])
|
|
634
632
|
]),
|
|
635
633
|
form: m(() => [
|
|
636
|
-
e(ve) && e(pe) ? (o(),
|
|
637
|
-
e(
|
|
638
|
-
|
|
634
|
+
e(ve) && e(pe) ? (o(), c("div", kn, [
|
|
635
|
+
e(F).length > 0 && e(be).length > 0 ? (o(), c("h2", yn, [
|
|
636
|
+
p(ne, {
|
|
639
637
|
icon: "calendar-clock",
|
|
640
638
|
type: "fal",
|
|
641
639
|
color: "header"
|
|
642
640
|
}),
|
|
643
641
|
t("span", null, a(e(n)("event.availableNow")), 1)
|
|
644
|
-
])) :
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
fromPrice: T,
|
|
707
|
-
callback: B
|
|
708
|
-
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
709
|
-
])
|
|
710
|
-
], 64)) : p("", !0),
|
|
711
|
-
e(be).length > 0 && w.onlyShow !== "templates" ? (o(), d(F, { key: 3 }, [
|
|
712
|
-
t("h2", Pn, [
|
|
713
|
-
v(ne, {
|
|
642
|
+
])) : f("", !0),
|
|
643
|
+
t("ul", hn, [
|
|
644
|
+
e(_) && w.onlyShow !== "templates" ? (o(!0), c(A, { key: 0 }, H(e(F), ({
|
|
645
|
+
id: V,
|
|
646
|
+
days: r,
|
|
647
|
+
name: C,
|
|
648
|
+
timeFrom: S,
|
|
649
|
+
timeTo: h,
|
|
650
|
+
fromDate: T,
|
|
651
|
+
toDate: G,
|
|
652
|
+
tableGroupId: z,
|
|
653
|
+
description: ee,
|
|
654
|
+
soldOut: te,
|
|
655
|
+
length: q,
|
|
656
|
+
images: ge,
|
|
657
|
+
maxOnlineReservationLimit: ke,
|
|
658
|
+
maxPaxPerReservation: ye,
|
|
659
|
+
useNumberOfProductsForPersons: he
|
|
660
|
+
}) => (o(), $(Ae, {
|
|
661
|
+
key: V,
|
|
662
|
+
type: "event",
|
|
663
|
+
"listing-id": V,
|
|
664
|
+
"table-group-id": z,
|
|
665
|
+
description: ee,
|
|
666
|
+
name: C,
|
|
667
|
+
length: q,
|
|
668
|
+
gallery: ge,
|
|
669
|
+
days: r,
|
|
670
|
+
"from-date": T,
|
|
671
|
+
"to-date": G,
|
|
672
|
+
"max-online-reservation-limit": ye || ke,
|
|
673
|
+
"time-from": S,
|
|
674
|
+
"time-to": h,
|
|
675
|
+
"sold-out": te,
|
|
676
|
+
"use-number-of-products-for-persons": he,
|
|
677
|
+
callback: B
|
|
678
|
+
}, 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", "use-number-of-products-for-persons", "callback"]))), 128)) : f("", !0),
|
|
679
|
+
e(N) && w.onlyShow !== "events" ? (o(!0), c(A, { key: 1 }, H(e(P), ({
|
|
680
|
+
id: V,
|
|
681
|
+
name: r,
|
|
682
|
+
fromDate: C,
|
|
683
|
+
toDate: S,
|
|
684
|
+
minimumPersonCount: h,
|
|
685
|
+
fromPrice: T,
|
|
686
|
+
description: G,
|
|
687
|
+
imageUrl: z
|
|
688
|
+
}) => (o(), $(tn, {
|
|
689
|
+
key: V,
|
|
690
|
+
"listing-id": V,
|
|
691
|
+
name: r,
|
|
692
|
+
image: z,
|
|
693
|
+
description: G,
|
|
694
|
+
"from-date": C,
|
|
695
|
+
"to-date": S,
|
|
696
|
+
"minimum-person-count": h,
|
|
697
|
+
fromPrice: T,
|
|
698
|
+
callback: B
|
|
699
|
+
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : f("", !0)
|
|
700
|
+
]),
|
|
701
|
+
e(be).length > 0 && w.onlyShow !== "templates" ? (o(), c(A, { key: 1 }, [
|
|
702
|
+
t("h2", Dn, [
|
|
703
|
+
p(ne, {
|
|
714
704
|
icon: "calendar-circle-exclamation",
|
|
715
705
|
type: "fal",
|
|
716
706
|
color: "header"
|
|
717
707
|
}),
|
|
718
708
|
t("span", null, a(e(n)("event.availableLater")), 1)
|
|
719
709
|
]),
|
|
720
|
-
t("ul",
|
|
721
|
-
(o(!0),
|
|
722
|
-
id:
|
|
710
|
+
t("ul", Pn, [
|
|
711
|
+
(o(!0), c(A, null, H(e(be), ({
|
|
712
|
+
id: V,
|
|
723
713
|
days: r,
|
|
724
|
-
name:
|
|
725
|
-
timeFrom:
|
|
714
|
+
name: C,
|
|
715
|
+
timeFrom: S,
|
|
726
716
|
timeTo: h,
|
|
727
717
|
fromDate: T,
|
|
728
718
|
toDate: G,
|
|
@@ -734,112 +724,112 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
734
724
|
maxOnlineReservationLimit: ke,
|
|
735
725
|
maxPaxPerReservation: ye,
|
|
736
726
|
useNumberOfProductsForPersons: he
|
|
737
|
-
}) => (o(),
|
|
738
|
-
key:
|
|
727
|
+
}) => (o(), $(en, {
|
|
728
|
+
key: V,
|
|
739
729
|
type: "event",
|
|
740
|
-
"listing-id":
|
|
730
|
+
"listing-id": V,
|
|
741
731
|
"table-group-id": z,
|
|
742
732
|
description: ee,
|
|
743
|
-
name:
|
|
733
|
+
name: C,
|
|
744
734
|
length: q,
|
|
745
735
|
gallery: ge,
|
|
746
736
|
days: r,
|
|
747
737
|
"from-date": T,
|
|
748
738
|
"to-date": G,
|
|
749
739
|
"max-online-reservation-limit": ye || ke,
|
|
750
|
-
"time-from":
|
|
740
|
+
"time-from": S,
|
|
751
741
|
"time-to": h,
|
|
752
742
|
"sold-out": te,
|
|
753
743
|
"use-number-of-products-for-persons": he,
|
|
754
744
|
callback: B
|
|
755
745
|
}, 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", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
756
746
|
])
|
|
757
|
-
], 64)) :
|
|
758
|
-
!e(
|
|
759
|
-
key:
|
|
747
|
+
], 64)) : f("", !0),
|
|
748
|
+
!e(_) && !e(N) || !e(_) && w.onlyShow === "events" || !e(N) && w.onlyShow === "templates" ? (o(), c("div", {
|
|
749
|
+
key: 2,
|
|
760
750
|
class: "konnectio-panel",
|
|
761
751
|
innerHTML: e(n)("event.nothingAvailable")
|
|
762
|
-
}, null, 8, $n)) :
|
|
763
|
-
])) : (o(),
|
|
752
|
+
}, null, 8, $n)) : f("", !0)
|
|
753
|
+
])) : (o(), $(Le, { key: 1 }))
|
|
764
754
|
]),
|
|
765
755
|
_: 2
|
|
766
756
|
}, 1024)
|
|
767
757
|
]),
|
|
768
|
-
addons: m(({ next: B, prev:
|
|
769
|
-
e(oe) ? (o(),
|
|
758
|
+
addons: m(({ next: B, prev: V }) => [
|
|
759
|
+
e(oe) ? (o(), $(De, {
|
|
770
760
|
key: 0,
|
|
771
|
-
"prev-callback": () => e(Ee)(
|
|
761
|
+
"prev-callback": () => e(Ee)(V)
|
|
772
762
|
}, {
|
|
773
763
|
form: m(() => [
|
|
774
|
-
t("form",
|
|
764
|
+
t("form", _n, [
|
|
775
765
|
t("h2", null, [
|
|
776
766
|
t("span", null, a(e(n)("event.selectProducts")), 1)
|
|
777
767
|
]),
|
|
778
|
-
e(L) && e(L).length > 0 ? (o(),
|
|
779
|
-
(o(!0),
|
|
768
|
+
e(L) && e(L).length > 0 ? (o(), c("ul", wn, [
|
|
769
|
+
(o(!0), c(A, null, H(e(L), ({
|
|
780
770
|
roomGroupId: r,
|
|
781
|
-
addons:
|
|
782
|
-
adultPerRoom:
|
|
783
|
-
}, h) => (o(),
|
|
771
|
+
addons: C,
|
|
772
|
+
adultPerRoom: S
|
|
773
|
+
}, h) => (o(), c("li", { key: r }, [
|
|
784
774
|
t("h5", null, [
|
|
785
775
|
t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(h + 1), 1),
|
|
786
|
-
|
|
787
|
-
|
|
776
|
+
d[7] || (d[7] = de(" (")),
|
|
777
|
+
p(ne, {
|
|
788
778
|
icon: "male",
|
|
789
779
|
type: "fas",
|
|
790
780
|
color: "header"
|
|
791
781
|
}),
|
|
792
|
-
de(" " + a(
|
|
782
|
+
de(" " + a(S) + ") ", 1)
|
|
793
783
|
]),
|
|
794
|
-
t("table",
|
|
784
|
+
t("table", En, [
|
|
795
785
|
t("thead", null, [
|
|
796
786
|
t("tr", null, [
|
|
797
787
|
t("th", null, [
|
|
798
788
|
t("span", null, a(e(n)("booking.reservation.addons")), 1)
|
|
799
789
|
]),
|
|
800
|
-
|
|
790
|
+
d[8] || (d[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
801
791
|
t("th", On, [
|
|
802
792
|
t("span", null, a(e(n)("booking.availability.price")), 1)
|
|
803
793
|
])
|
|
804
794
|
])
|
|
805
795
|
]),
|
|
806
796
|
t("tbody", null, [
|
|
807
|
-
(o(!0),
|
|
797
|
+
(o(!0), c(A, null, H(C, ({
|
|
808
798
|
id: T,
|
|
809
799
|
cardinality: G,
|
|
810
800
|
name: z,
|
|
811
801
|
price: ee,
|
|
812
802
|
quantityStrategy: te
|
|
813
|
-
}) => (o(),
|
|
803
|
+
}) => (o(), c("tr", { key: T }, [
|
|
814
804
|
t("td", null, [
|
|
815
805
|
t("b", null, a(z), 1),
|
|
816
|
-
|
|
806
|
+
d[9] || (d[9] = t("br", null, null, -1)),
|
|
817
807
|
t("span", null, a(e(K)(ee, e(ie))) + " " + a(e(vt)(te)), 1)
|
|
818
808
|
]),
|
|
819
|
-
t("td",
|
|
820
|
-
G === 3 ? (o(),
|
|
809
|
+
t("td", Vn, [
|
|
810
|
+
G === 3 ? (o(), $(ue, {
|
|
821
811
|
key: 0,
|
|
822
|
-
modelValue: e(
|
|
823
|
-
"onUpdate:modelValue": (q) => e(
|
|
812
|
+
modelValue: e(v)[`${r}.${T}.${h}`],
|
|
813
|
+
"onUpdate:modelValue": (q) => e(v)[`${r}.${T}.${h}`] = q,
|
|
824
814
|
small: !0,
|
|
825
815
|
"min-value": 0
|
|
826
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(),
|
|
816
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), $(It, {
|
|
827
817
|
key: 1,
|
|
828
|
-
modelValue: e(
|
|
829
|
-
"onUpdate:modelValue": (q) => e(
|
|
818
|
+
modelValue: e(v)[`${r}.${T}.${h}`],
|
|
819
|
+
"onUpdate:modelValue": (q) => e(v)[`${r}.${T}.${h}`] = q,
|
|
830
820
|
numeric: !0
|
|
831
821
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
832
822
|
]),
|
|
833
|
-
t("td",
|
|
823
|
+
t("td", Nn, [
|
|
834
824
|
t("span", null, a(e(K)(e(He)(T, r, h), e(ie))), 1)
|
|
835
825
|
])
|
|
836
826
|
]))), 128))
|
|
837
827
|
]),
|
|
838
828
|
t("tfoot", null, [
|
|
839
829
|
t("tr", null, [
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
t("td",
|
|
830
|
+
d[10] || (d[10] = t("td", null, null, -1)),
|
|
831
|
+
d[11] || (d[11] = t("td", null, null, -1)),
|
|
832
|
+
t("td", Tn, [
|
|
843
833
|
t("u", null, [
|
|
844
834
|
t("span", null, a(e(K)(e(Ye)(r, h), e(ie))), 1)
|
|
845
835
|
])
|
|
@@ -848,32 +838,32 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
848
838
|
])
|
|
849
839
|
])
|
|
850
840
|
]))), 128))
|
|
851
|
-
])) :
|
|
852
|
-
e(Q) ? (o(),
|
|
841
|
+
])) : f("", !0),
|
|
842
|
+
e(Q) ? (o(), c("table", Bn, [
|
|
853
843
|
t("tbody", null, [
|
|
854
|
-
(o(!0),
|
|
844
|
+
(o(!0), c(A, null, H(e(u).products, ({ id: r, name: C, price: S, description: h }) => (o(), c("tr", { key: r }, [
|
|
855
845
|
t("td", Cn, [
|
|
856
846
|
t("b", null, [
|
|
857
|
-
t("span", null, a(e(
|
|
847
|
+
t("span", null, a(e(Oe)(C)), 1)
|
|
858
848
|
]),
|
|
859
|
-
h && h !==
|
|
860
|
-
t("u", null, a(e(K)(
|
|
849
|
+
h && h !== C ? (o(), c("span", Sn, a(e(Oe)(h)), 1)) : f("", !0),
|
|
850
|
+
t("u", null, a(e(K)(S, e(ie))), 1)
|
|
861
851
|
]),
|
|
862
|
-
t("td",
|
|
863
|
-
|
|
864
|
-
modelValue: e(
|
|
865
|
-
"onUpdate:modelValue": (T) => e(
|
|
852
|
+
t("td", Fn, [
|
|
853
|
+
p(ue, {
|
|
854
|
+
modelValue: e(b)[r],
|
|
855
|
+
"onUpdate:modelValue": (T) => e(b)[r] = T,
|
|
866
856
|
small: !0,
|
|
867
857
|
"min-value": 0
|
|
868
858
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
869
859
|
])
|
|
870
860
|
]))), 128))
|
|
871
861
|
])
|
|
872
|
-
])) :
|
|
862
|
+
])) : f("", !0)
|
|
873
863
|
])
|
|
874
864
|
]),
|
|
875
865
|
navigation: m(() => [
|
|
876
|
-
|
|
866
|
+
p(ce, {
|
|
877
867
|
label: e(n)("event.startReservation"),
|
|
878
868
|
disabled: !e(se),
|
|
879
869
|
"full-width": "",
|
|
@@ -881,31 +871,31 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
881
871
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
882
872
|
]),
|
|
883
873
|
_: 2
|
|
884
|
-
}, 1032, ["prev-callback"])) :
|
|
874
|
+
}, 1032, ["prev-callback"])) : f("", !0)
|
|
885
875
|
]),
|
|
886
|
-
reservation: m(({ next: B, prev:
|
|
887
|
-
|
|
876
|
+
reservation: m(({ next: B, prev: V }) => [
|
|
877
|
+
p(De, {
|
|
888
878
|
"show-terms-notice": !0,
|
|
889
879
|
"show-gift-card": !0,
|
|
890
|
-
"prev-callback": () => e(Ee)(
|
|
880
|
+
"prev-callback": () => e(Ee)(V)
|
|
891
881
|
}, {
|
|
892
882
|
form: m(() => [
|
|
893
883
|
t("form", Ln, [
|
|
894
884
|
t("h2", null, [
|
|
895
885
|
t("span", null, a(e(n)("booking.reservation.detailsTitle")), 1)
|
|
896
886
|
]),
|
|
897
|
-
|
|
887
|
+
p(re, {
|
|
898
888
|
modelValue: e(k),
|
|
899
|
-
"onUpdate:modelValue":
|
|
889
|
+
"onUpdate:modelValue": d[0] || (d[0] = (r) => M(k) ? k.value = r : null),
|
|
900
890
|
type: "text",
|
|
901
891
|
label: e(n)("booking.reservation.name"),
|
|
902
892
|
icon: "user-alt",
|
|
903
893
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
904
894
|
required: ""
|
|
905
895
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
906
|
-
|
|
896
|
+
p(re, {
|
|
907
897
|
modelValue: e(y),
|
|
908
|
-
"onUpdate:modelValue":
|
|
898
|
+
"onUpdate:modelValue": d[1] || (d[1] = (r) => M(y) ? y.value = r : null),
|
|
909
899
|
label: e(n)("booking.reservation.email"),
|
|
910
900
|
type: "email",
|
|
911
901
|
name: "email",
|
|
@@ -914,42 +904,42 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
914
904
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
915
905
|
required: ""
|
|
916
906
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
917
|
-
|
|
907
|
+
p(At, {
|
|
918
908
|
modelValue: e(E),
|
|
919
|
-
"onUpdate:modelValue":
|
|
909
|
+
"onUpdate:modelValue": d[2] || (d[2] = (r) => M(E) ? E.value = r : null),
|
|
920
910
|
label: e(n)("booking.reservation.phone"),
|
|
921
911
|
icon: "phone-office",
|
|
922
912
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
923
913
|
required: ""
|
|
924
914
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
925
|
-
e(J) ? (o(),
|
|
915
|
+
e(J) ? (o(), $(Ot, {
|
|
926
916
|
key: 0,
|
|
927
917
|
modelValue: e(D),
|
|
928
|
-
"onUpdate:modelValue":
|
|
918
|
+
"onUpdate:modelValue": d[3] || (d[3] = (r) => M(D) ? D.value = r : null),
|
|
929
919
|
label: e(n)("event.selectArrivalTime"),
|
|
930
920
|
name: "eventTimeTable",
|
|
931
921
|
checkboxes: Qe.value,
|
|
932
922
|
required: ""
|
|
933
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) :
|
|
934
|
-
e(me) === e(bt).FullDayEvent ? (o(),
|
|
923
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])) : f("", !0),
|
|
924
|
+
e(me) === e(bt).FullDayEvent ? (o(), $(ue, {
|
|
935
925
|
key: 1,
|
|
936
926
|
modelValue: e(i),
|
|
937
|
-
"onUpdate:modelValue":
|
|
927
|
+
"onUpdate:modelValue": d[4] || (d[4] = (r) => M(i) ? i.value = r : null),
|
|
938
928
|
label: e(n)("event.numberOfDays"),
|
|
939
929
|
"min-value": 1,
|
|
940
930
|
required: ""
|
|
941
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
942
|
-
|
|
931
|
+
}, null, 8, ["modelValue", "label"])) : f("", !0),
|
|
932
|
+
p(re, {
|
|
943
933
|
modelValue: e(s),
|
|
944
|
-
"onUpdate:modelValue":
|
|
934
|
+
"onUpdate:modelValue": d[5] || (d[5] = (r) => M(s) ? s.value = r : null),
|
|
945
935
|
type: "textarea",
|
|
946
936
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
947
937
|
icon: "info-circle",
|
|
948
938
|
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
949
939
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
950
|
-
|
|
951
|
-
modelValue: e(
|
|
952
|
-
"onUpdate:modelValue":
|
|
940
|
+
p(re, {
|
|
941
|
+
modelValue: e(O),
|
|
942
|
+
"onUpdate:modelValue": d[6] || (d[6] = (r) => M(O) ? O.value = r : null),
|
|
953
943
|
type: "textarea",
|
|
954
944
|
label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
|
|
955
945
|
icon: "allergies",
|
|
@@ -958,7 +948,7 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
958
948
|
])
|
|
959
949
|
]),
|
|
960
950
|
navigation: m(() => [
|
|
961
|
-
|
|
951
|
+
p(ce, {
|
|
962
952
|
label: e(n)("general.confirmReservation"),
|
|
963
953
|
"is-loading": e(R),
|
|
964
954
|
disabled: !e(le),
|
|
@@ -970,10 +960,10 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
970
960
|
}, 1032, ["prev-callback"])
|
|
971
961
|
]),
|
|
972
962
|
payment: m(() => [
|
|
973
|
-
|
|
963
|
+
p(Rt)
|
|
974
964
|
]),
|
|
975
965
|
confirmation: m(() => [
|
|
976
|
-
|
|
966
|
+
p(Vt, {
|
|
977
967
|
message: e(n)("event.confirmationMessage")
|
|
978
968
|
}, null, 8, ["message"])
|
|
979
969
|
]),
|
|
@@ -984,7 +974,7 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
984
974
|
}, 8, ["access-token", "callback"])
|
|
985
975
|
]),
|
|
986
976
|
fallback: m(() => [
|
|
987
|
-
|
|
977
|
+
p(gn)
|
|
988
978
|
]),
|
|
989
979
|
_: 1
|
|
990
980
|
}))
|
|
@@ -992,8 +982,8 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
|
|
|
992
982
|
_: 1
|
|
993
983
|
}, 8, ["styling"]));
|
|
994
984
|
}
|
|
995
|
-
}),
|
|
996
|
-
class
|
|
985
|
+
}), Se = /* @__PURE__ */ x(In, [["__scopeId", "data-v-ac75b987"]]), An = at(), Rn = it();
|
|
986
|
+
class Mn extends HTMLElement {
|
|
997
987
|
vueApp;
|
|
998
988
|
constructor() {
|
|
999
989
|
super();
|
|
@@ -1002,14 +992,14 @@ class Un extends HTMLElement {
|
|
|
1002
992
|
this.vueApp.unmount();
|
|
1003
993
|
}
|
|
1004
994
|
connectedCallback() {
|
|
1005
|
-
const l = ot(
|
|
1006
|
-
this.vueApp = lt(
|
|
995
|
+
const l = ot(Se, this.attributes);
|
|
996
|
+
this.vueApp = lt(Se, l), this.vueApp.provide("emitter", Rn), this.vueApp.use(st), this.vueApp.use(An), this.vueApp.use(Nt), this.vueApp.use(ht), this.vueApp.use(Tt), this.vueApp.use(yt, { bootstrap: !0 });
|
|
1007
997
|
const n = document.createElement("div");
|
|
1008
998
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
1009
999
|
}
|
|
1010
1000
|
}
|
|
1011
|
-
window.customElements.define("konnectio-event",
|
|
1001
|
+
window.customElements.define("konnectio-event", Mn);
|
|
1012
1002
|
export {
|
|
1013
|
-
|
|
1003
|
+
Mn as default
|
|
1014
1004
|
};
|
|
1015
1005
|
//# sourceMappingURL=event.js.map
|