@konnectio/core 4.0.99 → 4.0.101
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-IOx3ZRnf.js → ActionField-C3Cyxi5Q.js} +2 -2
- package/dist/ActionField-C3Cyxi5Q.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DJZ5q3NO.js → AvailabilitySkeleton-BIc6OPvo.js} +5 -5
- package/dist/AvailabilitySkeleton-BIc6OPvo.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-bIDNSR5b.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BnJFLLBB.js} +160 -160
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BnJFLLBB.js.br +0 -0
- package/dist/{CheckoutWindow-BoDi-872.js → CheckoutWindow-D4TzWjhF.js} +2 -2
- package/dist/CheckoutWindow-D4TzWjhF.js.br +0 -0
- package/dist/{ErrorMessage-Dm6szrbM.js → ErrorMessage-CIeuHK4s.js} +2 -2
- package/dist/ErrorMessage-CIeuHK4s.js.br +0 -0
- package/dist/{EventAvailabilityForm-SimpuNtH.js → EventAvailabilityForm-BLI0AB6C.js} +3 -3
- package/dist/EventAvailabilityForm-BLI0AB6C.js.br +0 -0
- package/dist/{Field-NwGowmOF.js → Field-3yPNEwdb.js} +3 -3
- package/dist/Field-3yPNEwdb.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B_h4O-O8.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7UgYF-.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-BrxKwUUL.js → SelectField.vue_vue_type_style_index_0_lang-DdksDWOr.js} +2 -2
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DdksDWOr.js.br +0 -0
- package/dist/{TermsOfService-BrVaz2YB.js → TermsOfService-Cbm3UR7t.js} +3 -3
- package/dist/_-CAqjShU3.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-BMOiT4OK.js → _.vue_vue_type_style_index_0_lang-CLXvfe45.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 +406 -402
- 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-ApIE63zX.js → giftCard-DlkMDK-m.js} +2 -2
- package/dist/giftCard-DlkMDK-m.js.br +0 -0
- package/dist/hotel.js +425 -431
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CFKgaeSf.js → masonry.plugin-CZHScYDX.js} +6 -6
- package/dist/masonry.plugin-CZHScYDX.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 +7 -7
- package/dist/ActionField-IOx3ZRnf.js.br +0 -0
- package/dist/AvailabilitySkeleton-DJZ5q3NO.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-bIDNSR5b.js.br +0 -0
- package/dist/CheckoutWindow-BoDi-872.js.br +0 -0
- package/dist/ErrorMessage-Dm6szrbM.js.br +0 -0
- package/dist/EventAvailabilityForm-SimpuNtH.js.br +0 -0
- package/dist/Field-NwGowmOF.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BrxKwUUL.js.br +0 -0
- package/dist/_-BU4kS4Or.js +0 -5
- package/dist/giftCard-ApIE63zX.js.br +0 -0
- package/dist/masonry.plugin-CFKgaeSf.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
import { d as j, u as le, s as z, r as
|
|
2
|
-
import { a as Ne, f as oe, l as
|
|
3
|
-
import { G as
|
|
4
|
-
import { b as me, f as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { B as
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
1
|
+
import { d as j, u as le, s as z, r as Xe, c as J, a, b as P, w as p, v as ne, i as e, e as t, j as v, f, n as Ze, g as c, t as l, x as et, y as tt, F as A, z as q, A as R, S as nt, B as he, k as ot, l as lt, m as at, p as st, q as it } from "./mitt-BvlSsOyy.js";
|
|
2
|
+
import { a as Ne, f as oe, l as rt, s as U, d as ve, B as ut, _ as ae, g as ke, I as fe, h as dt, i as be, j as H, u as _e, k as ct, m as De, T as te, O as mt, C as pt, n as vt, o as ft, p as bt } from "./SelectField.vue_vue_type_style_index_0_lang-DdksDWOr.js";
|
|
3
|
+
import { G as gt } from "./style-CYxgAqoT.js";
|
|
4
|
+
import { b as me, f as kt, a as yt, l as ht, m as _t, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BnJFLLBB.js";
|
|
5
|
+
import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-CLXvfe45.js";
|
|
6
|
+
import { B as Pt, _ as Et, R as Vt, L as Se, S as $t, M as wt, C as Tt, T as Ot, V as Nt, a as St } from "./masonry.plugin-CZHScYDX.js";
|
|
7
|
+
import { C as Ft, P as Mt, a as Bt } from "./CheckoutWindow-D4TzWjhF.js";
|
|
8
|
+
import { E as Ct } from "./EventAvailabilityForm-BLI0AB6C.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7UgYF-.js";
|
|
10
10
|
const Pe = 6e4, Ee = 525600, Ve = 43200, $e = 1440, we = Symbol.for("constructDateFrom");
|
|
11
|
-
function Fe(s,
|
|
12
|
-
return typeof s == "function" ? s(
|
|
11
|
+
function Fe(s, o) {
|
|
12
|
+
return typeof s == "function" ? s(o) : s && typeof s == "object" && we in s ? s[we](o) : s instanceof Date ? new s.constructor(o) : new Date(o);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
const
|
|
14
|
+
function Lt(s, ...o) {
|
|
15
|
+
const n = Fe.bind(
|
|
16
16
|
null,
|
|
17
|
-
s ||
|
|
17
|
+
s || o.find((m) => typeof m == "object")
|
|
18
18
|
);
|
|
19
|
-
return
|
|
19
|
+
return o.map(n);
|
|
20
20
|
}
|
|
21
|
-
let
|
|
22
|
-
function
|
|
23
|
-
return
|
|
21
|
+
let At = {};
|
|
22
|
+
function It() {
|
|
23
|
+
return At;
|
|
24
24
|
}
|
|
25
|
-
function ge(s,
|
|
25
|
+
function ge(s, o) {
|
|
26
26
|
return Fe(s, s);
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const Rt = {
|
|
29
29
|
full: "EEEE, MMMM do, y",
|
|
30
30
|
long: "MMMM do, y",
|
|
31
31
|
medium: "MMM d, y",
|
|
32
32
|
short: "MM/dd/yyyy"
|
|
33
|
-
},
|
|
33
|
+
}, Ut = {
|
|
34
34
|
full: "h:mm:ss a zzzz",
|
|
35
35
|
long: "h:mm:ss a z",
|
|
36
36
|
medium: "h:mm:ss a",
|
|
37
37
|
short: "h:mm a"
|
|
38
|
-
},
|
|
38
|
+
}, zt = {
|
|
39
39
|
full: "{{date}} 'at' {{time}}",
|
|
40
40
|
long: "{{date}} 'at' {{time}}",
|
|
41
41
|
medium: "{{date}}, {{time}}",
|
|
42
42
|
short: "{{date}}, {{time}}"
|
|
43
|
-
},
|
|
43
|
+
}, Gt = {
|
|
44
44
|
date: me({
|
|
45
|
-
formats:
|
|
45
|
+
formats: Rt,
|
|
46
46
|
defaultWidth: "full"
|
|
47
47
|
}),
|
|
48
48
|
time: me({
|
|
49
|
-
formats:
|
|
49
|
+
formats: Ut,
|
|
50
50
|
defaultWidth: "full"
|
|
51
51
|
}),
|
|
52
52
|
dateTime: me({
|
|
53
|
-
formats:
|
|
53
|
+
formats: zt,
|
|
54
54
|
defaultWidth: "full"
|
|
55
55
|
})
|
|
56
|
-
},
|
|
56
|
+
}, qt = {
|
|
57
57
|
code: "en-US",
|
|
58
|
-
formatDistance:
|
|
59
|
-
formatLong:
|
|
60
|
-
formatRelative:
|
|
61
|
-
localize:
|
|
62
|
-
match:
|
|
58
|
+
formatDistance: kt,
|
|
59
|
+
formatLong: Gt,
|
|
60
|
+
formatRelative: yt,
|
|
61
|
+
localize: ht,
|
|
62
|
+
match: _t,
|
|
63
63
|
options: {
|
|
64
64
|
weekStartsOn: 0,
|
|
65
65
|
firstWeekContainsDate: 1
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
function Te(s) {
|
|
69
|
-
const
|
|
69
|
+
const o = ge(s), n = new Date(
|
|
70
70
|
Date.UTC(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
o.getFullYear(),
|
|
72
|
+
o.getMonth(),
|
|
73
|
+
o.getDate(),
|
|
74
|
+
o.getHours(),
|
|
75
|
+
o.getMinutes(),
|
|
76
|
+
o.getSeconds(),
|
|
77
|
+
o.getMilliseconds()
|
|
78
78
|
)
|
|
79
79
|
);
|
|
80
|
-
return
|
|
80
|
+
return n.setUTCFullYear(o.getFullYear()), +s - +n;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
const
|
|
84
|
-
return
|
|
82
|
+
function Ht(s, o) {
|
|
83
|
+
const n = +ge(s) - +ge(o);
|
|
84
|
+
return n < 0 ? -1 : n > 0 ? 1 : n;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return (
|
|
88
|
-
const
|
|
89
|
-
return
|
|
86
|
+
function Yt(s) {
|
|
87
|
+
return (o) => {
|
|
88
|
+
const m = (s ? Math[s] : Math.trunc)(o);
|
|
89
|
+
return m === 0 ? 0 : m;
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
const
|
|
92
|
+
function jt(s, o, n) {
|
|
93
|
+
const m = It(), b = n?.locale ?? m.locale ?? qt, d = Ht(s, o);
|
|
94
94
|
if (isNaN(d))
|
|
95
95
|
throw new RangeError("Invalid time value");
|
|
96
|
-
const k = Object.assign({},
|
|
97
|
-
addSuffix:
|
|
96
|
+
const k = Object.assign({}, n, {
|
|
97
|
+
addSuffix: n?.addSuffix,
|
|
98
98
|
comparison: d
|
|
99
|
-
}), [
|
|
100
|
-
|
|
101
|
-
...d > 0 ? [
|
|
102
|
-
), V =
|
|
99
|
+
}), [w, E] = Lt(
|
|
100
|
+
n?.in,
|
|
101
|
+
...d > 0 ? [o, s] : [s, o]
|
|
102
|
+
), V = Yt(n?.roundingMethod ?? "round"), T = E.getTime() - w.getTime(), _ = T / Pe, y = Te(E) - Te(w), $ = (T - y) / Pe, B = n?.unit;
|
|
103
103
|
let g;
|
|
104
|
-
if (
|
|
105
|
-
const i = V(
|
|
104
|
+
if (B ? g = B : _ < 1 ? g = "second" : _ < 60 ? g = "minute" : _ < $e ? g = "hour" : $ < Ve ? g = "day" : $ < Ee ? g = "month" : g = "year", g === "second") {
|
|
105
|
+
const i = V(T / 1e3);
|
|
106
106
|
return b.formatDistance("xSeconds", i, k);
|
|
107
107
|
} else if (g === "minute") {
|
|
108
108
|
const i = V(_);
|
|
@@ -111,17 +111,17 @@ function Ht(s, t, a) {
|
|
|
111
111
|
const i = V(_ / 60);
|
|
112
112
|
return b.formatDistance("xHours", i, k);
|
|
113
113
|
} else if (g === "day") {
|
|
114
|
-
const i = V(
|
|
114
|
+
const i = V($ / $e);
|
|
115
115
|
return b.formatDistance("xDays", i, k);
|
|
116
116
|
} else if (g === "month") {
|
|
117
|
-
const i = V(
|
|
118
|
-
return i === 12 &&
|
|
117
|
+
const i = V($ / Ve);
|
|
118
|
+
return i === 12 && B !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", i, k);
|
|
119
119
|
} else {
|
|
120
|
-
const i = V(
|
|
120
|
+
const i = V($ / Ee);
|
|
121
121
|
return b.formatDistance("xYears", i, k);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
const
|
|
124
|
+
const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ j({
|
|
125
125
|
__name: "_",
|
|
126
126
|
props: {
|
|
127
127
|
name: {},
|
|
@@ -145,36 +145,36 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
|
|
|
145
145
|
callback: {}
|
|
146
146
|
},
|
|
147
147
|
setup(s) {
|
|
148
|
-
const { t } = le(),
|
|
148
|
+
const { t: o } = le(), n = s, { display: m } = Ne(), {
|
|
149
149
|
maxNumberOfPeople: b,
|
|
150
150
|
numberOfPeople: d,
|
|
151
151
|
eventId: k,
|
|
152
|
-
currentEventDate:
|
|
152
|
+
currentEventDate: w,
|
|
153
153
|
tableGroupId: E
|
|
154
154
|
} = z(Y()), {
|
|
155
155
|
getTemplateAvailability: V,
|
|
156
|
-
getEventAvailability:
|
|
156
|
+
getEventAvailability: T,
|
|
157
157
|
isEventListingLoading: _
|
|
158
|
-
} = Y(),
|
|
159
|
-
if (!
|
|
160
|
-
|
|
158
|
+
} = Y(), y = Xe(0), $ = J(() => _(n.listingId)), B = () => {
|
|
159
|
+
if (!n.useNumberOfProductsForPersons && (y.value === 0 || isNaN(y.value))) {
|
|
160
|
+
m({
|
|
161
161
|
type: "error",
|
|
162
|
-
message:
|
|
162
|
+
message: o("alert.error.selectPeople")
|
|
163
163
|
});
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
|
-
k.value =
|
|
166
|
+
k.value = n.listingId, d.value = y.value, V(n.callback);
|
|
167
167
|
}, g = () => {
|
|
168
|
-
if (!
|
|
169
|
-
|
|
168
|
+
if (!n.useNumberOfProductsForPersons && (y.value === 0 || isNaN(y.value))) {
|
|
169
|
+
m({
|
|
170
170
|
type: "error",
|
|
171
|
-
message:
|
|
171
|
+
message: o("alert.error.selectPeople")
|
|
172
172
|
});
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
|
-
k.value =
|
|
175
|
+
k.value = n.listingId, E.value = n.tableGroupId, d.value = y.value, T(n.callback);
|
|
176
176
|
};
|
|
177
|
-
return (i,
|
|
177
|
+
return (i, M) => (a(), P(Pt, {
|
|
178
178
|
type: "event",
|
|
179
179
|
"listing-id": i.listingId,
|
|
180
180
|
gallery: i.gallery,
|
|
@@ -182,38 +182,38 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
|
|
|
182
182
|
description: i.description,
|
|
183
183
|
"prices-from": i.fromPrice,
|
|
184
184
|
"to-date": i.toDate,
|
|
185
|
-
layout: e(
|
|
185
|
+
layout: e(ut).Event
|
|
186
186
|
}, {
|
|
187
|
-
description:
|
|
187
|
+
description: p(() => [
|
|
188
188
|
ne(i.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
189
189
|
]),
|
|
190
|
-
action:
|
|
191
|
-
|
|
192
|
-
class:
|
|
190
|
+
action: p(() => [
|
|
191
|
+
t("div", {
|
|
192
|
+
class: Ze([
|
|
193
193
|
"konnectio-event-listing-action",
|
|
194
194
|
{ "no-selectable-people": i.useNumberOfProductsForPersons }
|
|
195
195
|
])
|
|
196
196
|
}, [
|
|
197
|
-
i.useNumberOfProductsForPersons ? v("", !0) : (
|
|
197
|
+
i.useNumberOfProductsForPersons ? v("", !0) : (a(), P(oe, {
|
|
198
198
|
key: 0,
|
|
199
|
-
modelValue:
|
|
200
|
-
"onUpdate:modelValue":
|
|
201
|
-
label: e(
|
|
199
|
+
modelValue: y.value,
|
|
200
|
+
"onUpdate:modelValue": M[0] || (M[0] = (C) => y.value = C),
|
|
201
|
+
label: e(o)("event.numberOfGuests"),
|
|
202
202
|
icon: "users",
|
|
203
203
|
"icon-type": "fas",
|
|
204
204
|
"icon-placement": "label",
|
|
205
|
-
description: i.maxGuests <= 20 ? `${e(
|
|
205
|
+
description: i.maxGuests <= 20 ? `${e(o)("general.availableFor")}: 1 - ${i.maxGuests} ${e(rt)(e(o)("general.guests"))}` : void 0,
|
|
206
206
|
"min-value": 0,
|
|
207
207
|
"max-value": i.maxOnlineReservationLimit || i.maxGuests || e(b) || 1 / 0
|
|
208
208
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
209
|
-
|
|
209
|
+
t("div", Wt, [
|
|
210
210
|
f(ve, {
|
|
211
|
-
label: i.soldOut ? e(
|
|
211
|
+
label: i.soldOut ? e(o)("event.soldOut") : e(o)("event.bookNowButton"),
|
|
212
212
|
disabled: i.soldOut,
|
|
213
|
-
"is-loading":
|
|
213
|
+
"is-loading": $.value,
|
|
214
214
|
"full-width": "",
|
|
215
|
-
"sub-label": e(U)(e(
|
|
216
|
-
onClickEvent:
|
|
215
|
+
"sub-label": e(U)(e(w)),
|
|
216
|
+
onClickEvent: M[1] || (M[1] = (C) => i.type === "event" ? g() : B())
|
|
217
217
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
218
218
|
])
|
|
219
219
|
], 2)
|
|
@@ -221,11 +221,11 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
|
|
|
221
221
|
_: 3
|
|
222
222
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
223
223
|
}
|
|
224
|
-
}), Me = /* @__PURE__ */ ae(
|
|
225
|
-
const
|
|
224
|
+
}), Me = /* @__PURE__ */ ae(Qt, [["__scopeId", "data-v-19799af2"]]), xt = { class: "konnectio-event-listing-information-new" };
|
|
225
|
+
const Jt = {
|
|
226
226
|
key: 1,
|
|
227
227
|
class: "konnectio-pill-button"
|
|
228
|
-
},
|
|
228
|
+
}, Kt = { class: "konnectio-pill-button" }, Xt = /* @__PURE__ */ j({
|
|
229
229
|
__name: "Event",
|
|
230
230
|
props: {
|
|
231
231
|
name: {},
|
|
@@ -248,14 +248,14 @@ const Qt = {
|
|
|
248
248
|
callback: {}
|
|
249
249
|
},
|
|
250
250
|
setup(s) {
|
|
251
|
-
const
|
|
252
|
-
const d =
|
|
253
|
-
return
|
|
251
|
+
const o = s, { t: n } = le(), { hideEventLength: m } = z(ke()), b = J(() => {
|
|
252
|
+
const d = o.length.split(":");
|
|
253
|
+
return jt(
|
|
254
254
|
new Date(2e3, 0, 1, Number(d[0]), Number(d[1]), 0),
|
|
255
255
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
256
256
|
);
|
|
257
257
|
});
|
|
258
|
-
return (d, k) => (
|
|
258
|
+
return (d, k) => (a(), P(Me, {
|
|
259
259
|
"listing-id": d.listingId,
|
|
260
260
|
name: d.name,
|
|
261
261
|
description: d.description,
|
|
@@ -268,39 +268,39 @@ const Qt = {
|
|
|
268
268
|
type: "event",
|
|
269
269
|
callback: d.callback
|
|
270
270
|
}, {
|
|
271
|
-
description:
|
|
272
|
-
d.description ? (
|
|
271
|
+
description: p(() => [
|
|
272
|
+
d.description ? (a(), P(Et, {
|
|
273
273
|
key: 0,
|
|
274
274
|
text: d.description
|
|
275
275
|
}, null, 8, ["text"])) : v("", !0),
|
|
276
|
-
|
|
276
|
+
t("ul", xt, [
|
|
277
277
|
v("", !0),
|
|
278
|
-
e(
|
|
279
|
-
|
|
278
|
+
e(m) ? v("", !0) : (a(), c("li", Jt, [
|
|
279
|
+
t("div", null, [
|
|
280
280
|
f(fe, {
|
|
281
281
|
icon: "calendar-clock",
|
|
282
282
|
color: "header"
|
|
283
283
|
}),
|
|
284
|
-
|
|
284
|
+
t("span", null, l(e(n)("event.lengthOfEvent")), 1)
|
|
285
285
|
]),
|
|
286
|
-
|
|
286
|
+
t("span", null, l(b.value), 1)
|
|
287
287
|
])),
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
t("li", Kt, [
|
|
289
|
+
t("div", null, [
|
|
290
290
|
f(fe, {
|
|
291
291
|
icon: "calendar-clock",
|
|
292
292
|
color: "header"
|
|
293
293
|
}),
|
|
294
|
-
|
|
294
|
+
t("span", null, l(e(n)("event.startAndEndTime")), 1)
|
|
295
295
|
]),
|
|
296
|
-
|
|
296
|
+
t("span", null, l(e(dt)(d.timeFrom, d.timeTo)), 1)
|
|
297
297
|
])
|
|
298
298
|
])
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "callback"]));
|
|
302
302
|
}
|
|
303
|
-
}),
|
|
303
|
+
}), Zt = /* @__PURE__ */ ae(Xt, [["__scopeId", "data-v-fe4489ed"]]), en = /* @__PURE__ */ j({
|
|
304
304
|
__name: "Template",
|
|
305
305
|
props: {
|
|
306
306
|
name: {},
|
|
@@ -317,27 +317,27 @@ const Qt = {
|
|
|
317
317
|
callback: {}
|
|
318
318
|
},
|
|
319
319
|
setup(s) {
|
|
320
|
-
const
|
|
321
|
-
if (
|
|
320
|
+
const o = s, n = J(() => {
|
|
321
|
+
if (o.image)
|
|
322
322
|
return [{
|
|
323
|
-
large:
|
|
324
|
-
medium:
|
|
325
|
-
thumb:
|
|
326
|
-
url:
|
|
323
|
+
large: o.image,
|
|
324
|
+
medium: o.image,
|
|
325
|
+
thumb: o.image,
|
|
326
|
+
url: o.image
|
|
327
327
|
}];
|
|
328
328
|
});
|
|
329
|
-
return (
|
|
330
|
-
"listing-id":
|
|
331
|
-
gallery:
|
|
332
|
-
name:
|
|
333
|
-
description:
|
|
334
|
-
"prices-from":
|
|
335
|
-
"to-date":
|
|
329
|
+
return (m, b) => (a(), P(Me, {
|
|
330
|
+
"listing-id": m.listingId,
|
|
331
|
+
gallery: n.value,
|
|
332
|
+
name: m.name,
|
|
333
|
+
description: m.description,
|
|
334
|
+
"prices-from": m.fromPrice,
|
|
335
|
+
"to-date": m.toDate,
|
|
336
336
|
type: "template",
|
|
337
|
-
callback:
|
|
337
|
+
callback: m.callback
|
|
338
338
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
339
339
|
}
|
|
340
|
-
}),
|
|
340
|
+
}), tn = { key: 0 }, nn = { key: 1 }, on = { key: 3 }, ln = { key: 4 }, an = { key: 0 }, sn = { key: 0 }, rn = { key: 1 }, pe = /* @__PURE__ */ j({
|
|
341
341
|
__name: "EventReservationForm",
|
|
342
342
|
props: {
|
|
343
343
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -345,191 +345,192 @@ const Qt = {
|
|
|
345
345
|
prevCallback: {}
|
|
346
346
|
},
|
|
347
347
|
setup(s) {
|
|
348
|
-
const { t } = le(),
|
|
349
|
-
areListingsAvailable:
|
|
348
|
+
const { t: o } = le(), n = et(), {
|
|
349
|
+
areListingsAvailable: m,
|
|
350
350
|
arrivalTime: b,
|
|
351
351
|
numberOfPeople: d,
|
|
352
352
|
numberOfRooms: k,
|
|
353
|
-
numberOfTotalDays:
|
|
353
|
+
numberOfTotalDays: w,
|
|
354
354
|
isTemplateEvent: E,
|
|
355
355
|
currentEventDate: V,
|
|
356
|
-
length:
|
|
356
|
+
length: T,
|
|
357
357
|
fromDate: _,
|
|
358
|
-
tableBasePrice:
|
|
359
|
-
getTemplateData:
|
|
360
|
-
basePrice:
|
|
358
|
+
tableBasePrice: y,
|
|
359
|
+
getTemplateData: $,
|
|
360
|
+
basePrice: B,
|
|
361
361
|
totalPrice: g,
|
|
362
362
|
weekendFee: i,
|
|
363
|
-
roomUpgrade:
|
|
364
|
-
discountCode:
|
|
363
|
+
roomUpgrade: M,
|
|
364
|
+
discountCode: C
|
|
365
365
|
} = z(Y()), { totalAddonPrice: se, validateDiscountCode: ie } = Y(), { currency: K, hideEventLength: re } = z(ke());
|
|
366
|
-
return (I, X) => (
|
|
367
|
-
"discount-code": e(
|
|
368
|
-
"onUpdate:discountCode": X[0] || (X[0] = (G) => R(
|
|
366
|
+
return (I, X) => (a(), P(Vt, {
|
|
367
|
+
"discount-code": e(C),
|
|
368
|
+
"onUpdate:discountCode": X[0] || (X[0] = (G) => R(C) ? C.value = G : null),
|
|
369
369
|
"validate-discount-code": e(ie),
|
|
370
370
|
"show-gift-card": I.showGiftCard,
|
|
371
371
|
"show-terms-notice": I.showTermsNotice,
|
|
372
|
-
"is-sidebar-loading": !e(
|
|
373
|
-
"base-price": e(
|
|
372
|
+
"is-sidebar-loading": !e(m),
|
|
373
|
+
"base-price": e(B),
|
|
374
374
|
"total-price": e(g),
|
|
375
375
|
"weekend-fee": e(i),
|
|
376
|
-
"room-upgrade": e(
|
|
377
|
-
notice: e(
|
|
376
|
+
"room-upgrade": e(M),
|
|
377
|
+
notice: e(o)("event.reservationNotice"),
|
|
378
378
|
"prev-callback": I.prevCallback
|
|
379
|
-
},
|
|
380
|
-
form:
|
|
379
|
+
}, tt({
|
|
380
|
+
form: p(() => [
|
|
381
381
|
ne(I.$slots, "form")
|
|
382
382
|
]),
|
|
383
|
-
"reservation-summary":
|
|
384
|
-
e(E) ? v("", !0) : (
|
|
385
|
-
|
|
386
|
-
|
|
383
|
+
"reservation-summary": p(() => [
|
|
384
|
+
e(E) ? v("", !0) : (a(), c("li", tn, [
|
|
385
|
+
t("span", null, l(e(o)("general.date")), 1),
|
|
386
|
+
t("b", null, l(e(U)(e(V))), 1)
|
|
387
387
|
])),
|
|
388
|
-
e(d) > 0 ? (
|
|
389
|
-
|
|
390
|
-
|
|
388
|
+
e(d) > 0 ? (a(), c("li", nn, [
|
|
389
|
+
t("span", null, l(e(o)("event.numberOfGuests")), 1),
|
|
390
|
+
t("b", null, l(e(d)), 1)
|
|
391
391
|
])) : v("", !0),
|
|
392
|
-
e(E) ? (
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
392
|
+
e(E) ? (a(), c(A, { key: 2 }, [
|
|
393
|
+
t("li", null, [
|
|
394
|
+
t("span", null, l(e(o)("booking.reservation.arrival")), 1),
|
|
395
|
+
t("b", null, l(e(U)(e(_))), 1)
|
|
396
396
|
]),
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
397
|
+
t("li", null, [
|
|
398
|
+
t("span", null, l(e(o)("booking.reservation.departure")), 1),
|
|
399
|
+
t("b", null, l(e(U)(e(_), e(w))), 1)
|
|
400
400
|
]),
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
401
|
+
t("li", null, [
|
|
402
|
+
t("span", null, l(e(o)("event.numberOfRooms")), 1),
|
|
403
|
+
t("b", null, l(e(k)), 1)
|
|
404
404
|
]),
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
405
|
+
t("li", null, [
|
|
406
|
+
t("span", null, l(e(o)("event.numberOfDays")), 1),
|
|
407
|
+
t("b", null, l(e(w)), 1)
|
|
408
408
|
])
|
|
409
409
|
], 64)) : v("", !0),
|
|
410
|
-
!e(E) && e(b) ? (
|
|
411
|
-
|
|
412
|
-
|
|
410
|
+
!e(E) && e(b) ? (a(), c("li", on, [
|
|
411
|
+
t("span", null, l(e(o)("event.startOfEvent")), 1),
|
|
412
|
+
t("b", null, l(e(be)(e(b))), 1)
|
|
413
413
|
])) : v("", !0),
|
|
414
|
-
!e(E) && e(
|
|
415
|
-
|
|
416
|
-
|
|
414
|
+
!e(E) && e(T) && !e(re) ? (a(), c("li", ln, [
|
|
415
|
+
t("span", null, l(e(o)("event.lengthOfEvent")), 1),
|
|
416
|
+
t("b", null, l(e(be)(e(T))), 1)
|
|
417
417
|
])) : v("", !0)
|
|
418
418
|
]),
|
|
419
|
-
"price-summary":
|
|
420
|
-
!e(E) && e(
|
|
421
|
-
|
|
422
|
-
|
|
419
|
+
"price-summary": p(() => [
|
|
420
|
+
!e(E) && e(y) > 0 ? (a(), c("li", an, [
|
|
421
|
+
t("span", null, l(e(o)("booking.availability.basePrice")), 1),
|
|
422
|
+
t("b", null, l(e(H)(e(y), e(K))), 1)
|
|
423
423
|
])) : v("", !0),
|
|
424
|
-
e(
|
|
425
|
-
|
|
426
|
-
|
|
424
|
+
e($) ? (a(!0), c(A, { key: 1 }, q(e($), ({ roomGroupId: G }, Z) => (a(), c("li", { key: G }, [
|
|
425
|
+
t("span", null, l(e(o)("booking.reservation.addons")) + " - " + l(e(o)("booking.reservation.room")) + " #" + l(Z + 1), 1),
|
|
426
|
+
t("b", null, l(e(H)(e(se)(G, Z), e(K))), 1)
|
|
427
427
|
]))), 128)) : v("", !0)
|
|
428
428
|
]),
|
|
429
|
-
navigation:
|
|
429
|
+
navigation: p(() => [
|
|
430
430
|
ne(I.$slots, "navigation")
|
|
431
431
|
]),
|
|
432
|
-
"mobile-under-price":
|
|
433
|
-
e(E) ? (
|
|
434
|
-
|
|
435
|
-
])) : (
|
|
436
|
-
|
|
432
|
+
"mobile-under-price": p(() => [
|
|
433
|
+
e(E) ? (a(), c("div", sn, [
|
|
434
|
+
t("span", null, l(e(U)(e(_))) + " - " + l(e(U)(e(_), e(w))), 1)
|
|
435
|
+
])) : (a(), c("div", rn, [
|
|
436
|
+
t("span", null, l(e(U)(e(V))), 1)
|
|
437
437
|
]))
|
|
438
438
|
]),
|
|
439
439
|
_: 2
|
|
440
440
|
}, [
|
|
441
|
-
e(
|
|
441
|
+
e(n).sidebar ? {
|
|
442
442
|
name: "sidebar",
|
|
443
|
-
fn:
|
|
443
|
+
fn: p(() => [
|
|
444
444
|
ne(I.$slots, "sidebar")
|
|
445
445
|
]),
|
|
446
446
|
key: "0"
|
|
447
447
|
} : void 0
|
|
448
448
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
|
|
449
449
|
}
|
|
450
|
-
}),
|
|
450
|
+
}), un = { class: "event-skeleton" }, dn = { class: "event-skeleton-content" }, cn = { class: "event-skeleton-sidebar" }, mn = /* @__PURE__ */ j({
|
|
451
451
|
__name: "EventSkeleton",
|
|
452
452
|
setup(s) {
|
|
453
|
-
return (
|
|
454
|
-
|
|
453
|
+
return (o, n) => (a(), c("div", un, [
|
|
454
|
+
t("div", dn, [
|
|
455
455
|
f(Se)
|
|
456
456
|
]),
|
|
457
|
-
|
|
457
|
+
t("div", cn, [
|
|
458
458
|
v("", !0),
|
|
459
|
-
f(
|
|
459
|
+
f($t)
|
|
460
460
|
])
|
|
461
461
|
]));
|
|
462
462
|
}
|
|
463
|
-
}),
|
|
463
|
+
}), pn = /* @__PURE__ */ ae(mn, [["__scopeId", "data-v-3e15c4e3"]]), vn = {
|
|
464
464
|
key: 0,
|
|
465
465
|
id: "konnectio-event-listings-wrapper"
|
|
466
466
|
};
|
|
467
|
-
const
|
|
468
|
-
const
|
|
467
|
+
const fn = { class: "konnectio-event-listings" };
|
|
468
|
+
const bn = { class: "konnectio-event-listings" }, gn = ["innerHTML"], kn = { class: "konnectio-panel" }, yn = {
|
|
469
469
|
key: 0,
|
|
470
470
|
id: "konnectio-event-addons"
|
|
471
|
-
},
|
|
471
|
+
}, hn = { class: "konnectio-table with-lines" }, _n = { class: "konnectio-event-addons-price" }, Dn = { class: "konnectio-event-addons-input" }, Pn = { class: "konnectio-event-addons-price" }, En = { class: "konnectio-event-addons-price" }, Vn = {
|
|
472
472
|
key: 1,
|
|
473
473
|
class: "konnectio-table with-lines"
|
|
474
|
-
},
|
|
474
|
+
}, $n = { class: "konnectio-table-addons-information" }, wn = { key: 0 }, Tn = { class: "konnectio-table-addons-option" }, On = { class: "konnectio-panel" }, Nn = /* @__PURE__ */ j({
|
|
475
475
|
name: "EventLayout",
|
|
476
476
|
__name: "Event",
|
|
477
477
|
props: {
|
|
478
478
|
accessToken: {},
|
|
479
479
|
onlyShow: { default: "everything" },
|
|
480
480
|
selectedLocation: {},
|
|
481
|
+
resetDate: { default: "no" },
|
|
481
482
|
styling: {}
|
|
482
483
|
},
|
|
483
484
|
setup(s) {
|
|
484
|
-
const { t } = le(), {
|
|
485
|
-
addons:
|
|
486
|
-
products:
|
|
487
|
-
numberOfDays:
|
|
488
|
-
name:
|
|
489
|
-
phone:
|
|
490
|
-
email:
|
|
491
|
-
remark:
|
|
492
|
-
allergies:
|
|
493
|
-
arrivalTime:
|
|
494
|
-
hasEvents:
|
|
495
|
-
hasTemplates:
|
|
496
|
-
getEvents:
|
|
497
|
-
getTemplates:
|
|
498
|
-
getEventData:
|
|
499
|
-
getTemplateData:
|
|
485
|
+
const o = s, { t: n } = le(), {
|
|
486
|
+
addons: m,
|
|
487
|
+
products: b,
|
|
488
|
+
numberOfDays: d,
|
|
489
|
+
name: k,
|
|
490
|
+
phone: w,
|
|
491
|
+
email: E,
|
|
492
|
+
remark: V,
|
|
493
|
+
allergies: T,
|
|
494
|
+
arrivalTime: _,
|
|
495
|
+
hasEvents: y,
|
|
496
|
+
hasTemplates: $,
|
|
497
|
+
getEvents: B,
|
|
498
|
+
getTemplates: g,
|
|
499
|
+
getEventData: i,
|
|
500
|
+
getTemplateData: M,
|
|
500
501
|
getEventTableData: C,
|
|
501
|
-
hasProducts:
|
|
502
|
-
eventRateType:
|
|
503
|
-
areListingsAvailable:
|
|
504
|
-
isAvailabilityDataAvailable:
|
|
505
|
-
hasListingData:
|
|
506
|
-
isPaymentLoading:
|
|
507
|
-
isReservationFormFilled:
|
|
508
|
-
requiresArrivalTime:
|
|
509
|
-
hasSelectedRequiredProducts:
|
|
510
|
-
} = z(Y()), { currency: ee } = z(ke()), { eventDate: Ce, eventLocation:
|
|
511
|
-
initialize:
|
|
512
|
-
fetchListings:
|
|
513
|
-
createBooking:
|
|
514
|
-
localAddonPrice:
|
|
515
|
-
totalAddonPrice:
|
|
516
|
-
reset:
|
|
517
|
-
goBack:
|
|
518
|
-
} = Y(), { display: ue } = Ne(),
|
|
502
|
+
hasProducts: se,
|
|
503
|
+
eventRateType: ie,
|
|
504
|
+
areListingsAvailable: K,
|
|
505
|
+
isAvailabilityDataAvailable: re,
|
|
506
|
+
hasListingData: I,
|
|
507
|
+
isPaymentLoading: X,
|
|
508
|
+
isReservationFormFilled: G,
|
|
509
|
+
requiresArrivalTime: Z,
|
|
510
|
+
hasSelectedRequiredProducts: Be
|
|
511
|
+
} = z(Y()), { currency: ee } = z(ke()), { eventDate: Ce, eventLocation: Le } = z(_e()), { isValidRestaurantId: Ae } = _e(), {
|
|
512
|
+
initialize: Ie,
|
|
513
|
+
fetchListings: Re,
|
|
514
|
+
createBooking: Ue,
|
|
515
|
+
localAddonPrice: ze,
|
|
516
|
+
totalAddonPrice: Ge,
|
|
517
|
+
reset: qe,
|
|
518
|
+
goBack: ye
|
|
519
|
+
} = Y(), { display: ue } = Ne(), He = J(() => [
|
|
519
520
|
{
|
|
520
521
|
id: "availability",
|
|
521
|
-
label:
|
|
522
|
+
label: n("booking.availability.title"),
|
|
522
523
|
icon: "search"
|
|
523
524
|
},
|
|
524
525
|
{
|
|
525
526
|
id: "addons",
|
|
526
|
-
label:
|
|
527
|
+
label: n("general.addons"),
|
|
527
528
|
icon: "shopping-cart",
|
|
528
529
|
hidden: !1
|
|
529
530
|
},
|
|
530
531
|
{
|
|
531
532
|
id: "reservation",
|
|
532
|
-
label:
|
|
533
|
+
label: n("booking.reservation.title"),
|
|
533
534
|
icon: "concierge-bell"
|
|
534
535
|
},
|
|
535
536
|
{
|
|
@@ -538,10 +539,10 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
538
539
|
},
|
|
539
540
|
{
|
|
540
541
|
id: "confirmation",
|
|
541
|
-
label:
|
|
542
|
+
label: n("booking.confirmation.title"),
|
|
542
543
|
icon: "calendar-check"
|
|
543
544
|
}
|
|
544
|
-
]),
|
|
545
|
+
]), Ye = J(() => {
|
|
545
546
|
const D = [];
|
|
546
547
|
return C.value && C.value.forEach((u) => {
|
|
547
548
|
D.find((O) => O.value === u.time) || D.push({
|
|
@@ -550,73 +551,76 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
550
551
|
});
|
|
551
552
|
}), D;
|
|
552
553
|
});
|
|
553
|
-
function
|
|
554
|
-
|
|
554
|
+
function je() {
|
|
555
|
+
qe(o.resetDate === "yes");
|
|
556
|
+
}
|
|
557
|
+
function We() {
|
|
558
|
+
const D = vt("history", {
|
|
555
559
|
removeNullishValues: !0
|
|
556
560
|
}), u = parseInt(D.rid), O = D.d, N = parseInt(D.eid);
|
|
557
561
|
if (O)
|
|
558
|
-
if (
|
|
559
|
-
const F = new Date(O),
|
|
560
|
-
|
|
561
|
-
message:
|
|
562
|
+
if (ft(O)) {
|
|
563
|
+
const F = new Date(O), L = F.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
564
|
+
L >= h ? (Ce.value = F, D.d = void 0) : ue({
|
|
565
|
+
message: n("alert.error.invalidDateRange"),
|
|
562
566
|
type: "error"
|
|
563
567
|
});
|
|
564
568
|
} else
|
|
565
569
|
ue({
|
|
566
|
-
message:
|
|
570
|
+
message: n("alert.error.wrongDateFormat"),
|
|
567
571
|
type: "error"
|
|
568
572
|
});
|
|
569
|
-
isNaN(u) || (
|
|
570
|
-
message:
|
|
573
|
+
isNaN(u) || (Ae(u) ? Le.value = u : ue({
|
|
574
|
+
message: n("alert.error.hotelIdNotFound"),
|
|
571
575
|
type: "error"
|
|
572
576
|
}));
|
|
573
577
|
let r;
|
|
574
|
-
isNaN(N) || (r = N),
|
|
578
|
+
isNaN(N) || (r = N), Re(r);
|
|
575
579
|
}
|
|
576
|
-
return (D, u) => (
|
|
577
|
-
default:
|
|
578
|
-
(
|
|
579
|
-
default:
|
|
580
|
-
f(
|
|
580
|
+
return (D, u) => (a(), P(pt, { styling: D.styling }, {
|
|
581
|
+
default: p(() => [
|
|
582
|
+
(a(), P(nt, { onResolve: We }, {
|
|
583
|
+
default: p(() => [
|
|
584
|
+
f(Dt, {
|
|
581
585
|
id: "konnectio-event-module",
|
|
582
586
|
"access-token": D.accessToken,
|
|
583
|
-
callback: e(
|
|
587
|
+
callback: e(Ie)
|
|
584
588
|
}, {
|
|
585
|
-
default:
|
|
586
|
-
f(
|
|
587
|
-
steps:
|
|
588
|
-
onReset:
|
|
589
|
+
default: p(() => [
|
|
590
|
+
f(wt, {
|
|
591
|
+
steps: He.value,
|
|
592
|
+
onReset: je
|
|
589
593
|
}, {
|
|
590
|
-
availability:
|
|
594
|
+
availability: p(({ next: O }) => [
|
|
591
595
|
f(pe, null, {
|
|
592
|
-
sidebar:
|
|
593
|
-
f(
|
|
596
|
+
sidebar: p(() => [
|
|
597
|
+
f(Ct, {
|
|
594
598
|
redirection: !1,
|
|
595
599
|
"selected-location": Number(D.selectedLocation)
|
|
596
600
|
}, null, 8, ["selected-location"])
|
|
597
601
|
]),
|
|
598
|
-
form:
|
|
599
|
-
e(
|
|
600
|
-
e(
|
|
602
|
+
form: p(() => [
|
|
603
|
+
e(I) && e(K) ? (a(), c("div", vn, [
|
|
604
|
+
e(y) && D.onlyShow !== "templates" ? (a(), c(A, { key: 0 }, [
|
|
601
605
|
v("", !0),
|
|
602
|
-
|
|
603
|
-
(
|
|
606
|
+
t("ul", fn, [
|
|
607
|
+
(a(!0), c(A, null, q(e(B), ({
|
|
604
608
|
id: N,
|
|
605
609
|
days: r,
|
|
606
610
|
name: F,
|
|
607
|
-
timeFrom:
|
|
608
|
-
timeTo:
|
|
611
|
+
timeFrom: L,
|
|
612
|
+
timeTo: h,
|
|
609
613
|
fromDate: S,
|
|
610
614
|
toDate: W,
|
|
611
615
|
tableGroupId: Q,
|
|
612
616
|
description: de,
|
|
613
617
|
soldOut: ce,
|
|
614
618
|
length: x,
|
|
615
|
-
images:
|
|
616
|
-
maxOnlineReservationLimit:
|
|
617
|
-
maxPaxPerReservation:
|
|
618
|
-
useNumberOfProductsForPersons:
|
|
619
|
-
}) => (
|
|
619
|
+
images: Qe,
|
|
620
|
+
maxOnlineReservationLimit: xe,
|
|
621
|
+
maxPaxPerReservation: Je,
|
|
622
|
+
useNumberOfProductsForPersons: Ke
|
|
623
|
+
}) => (a(), P(Zt, {
|
|
620
624
|
key: N,
|
|
621
625
|
type: "event",
|
|
622
626
|
"listing-id": N,
|
|
@@ -624,132 +628,132 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
624
628
|
description: de,
|
|
625
629
|
name: F,
|
|
626
630
|
length: x,
|
|
627
|
-
gallery:
|
|
631
|
+
gallery: Qe,
|
|
628
632
|
days: r,
|
|
629
633
|
"from-date": S,
|
|
630
634
|
"to-date": W,
|
|
631
|
-
"max-online-reservation-limit":
|
|
632
|
-
"time-from":
|
|
633
|
-
"time-to":
|
|
635
|
+
"max-online-reservation-limit": Je || xe,
|
|
636
|
+
"time-from": L,
|
|
637
|
+
"time-to": h,
|
|
634
638
|
"sold-out": ce,
|
|
635
|
-
"use-number-of-products-for-persons":
|
|
639
|
+
"use-number-of-products-for-persons": Ke,
|
|
636
640
|
callback: O
|
|
637
641
|
}, 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))
|
|
638
642
|
])
|
|
639
643
|
], 64)) : v("", !0),
|
|
640
|
-
e(
|
|
644
|
+
e($) && D.onlyShow !== "events" ? (a(), c(A, { key: 1 }, [
|
|
641
645
|
v("", !0),
|
|
642
|
-
|
|
643
|
-
(
|
|
646
|
+
t("ul", bn, [
|
|
647
|
+
(a(!0), c(A, null, q(e(g), ({
|
|
644
648
|
id: N,
|
|
645
649
|
name: r,
|
|
646
650
|
fromDate: F,
|
|
647
|
-
toDate:
|
|
648
|
-
minimumPersonCount:
|
|
651
|
+
toDate: L,
|
|
652
|
+
minimumPersonCount: h,
|
|
649
653
|
fromPrice: S,
|
|
650
654
|
description: W,
|
|
651
655
|
imageUrl: Q
|
|
652
|
-
}) => (
|
|
656
|
+
}) => (a(), P(en, {
|
|
653
657
|
key: N,
|
|
654
658
|
"listing-id": N,
|
|
655
659
|
name: r,
|
|
656
660
|
image: Q,
|
|
657
661
|
description: W,
|
|
658
662
|
"from-date": F,
|
|
659
|
-
"to-date":
|
|
660
|
-
"minimum-person-count":
|
|
663
|
+
"to-date": L,
|
|
664
|
+
"minimum-person-count": h,
|
|
661
665
|
fromPrice: S,
|
|
662
666
|
callback: O
|
|
663
667
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
664
668
|
])
|
|
665
669
|
], 64)) : v("", !0),
|
|
666
|
-
!e(
|
|
670
|
+
!e(y) && !e($) || !e(y) && D.onlyShow === "events" || !e($) && D.onlyShow === "templates" ? (a(), c("div", {
|
|
667
671
|
key: 2,
|
|
668
672
|
class: "konnectio-panel",
|
|
669
|
-
innerHTML: e(
|
|
670
|
-
}, null, 8,
|
|
671
|
-
])) : (
|
|
673
|
+
innerHTML: e(n)("event.nothingAvailable")
|
|
674
|
+
}, null, 8, gn)) : v("", !0)
|
|
675
|
+
])) : (a(), P(Se, { key: 1 }))
|
|
672
676
|
]),
|
|
673
677
|
_: 2
|
|
674
678
|
}, 1024)
|
|
675
679
|
]),
|
|
676
|
-
addons:
|
|
677
|
-
e(
|
|
680
|
+
addons: p(({ next: O, prev: N }) => [
|
|
681
|
+
e(re) ? (a(), P(pe, {
|
|
678
682
|
key: 0,
|
|
679
|
-
"prev-callback": () => e(
|
|
683
|
+
"prev-callback": () => e(ye)(N)
|
|
680
684
|
}, {
|
|
681
|
-
form:
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
+
form: p(() => [
|
|
686
|
+
t("form", kn, [
|
|
687
|
+
t("h2", null, [
|
|
688
|
+
t("span", null, l(e(n)("event.selectProducts")), 1)
|
|
685
689
|
]),
|
|
686
|
-
e(
|
|
687
|
-
(
|
|
690
|
+
e(M) && e(M).length > 0 ? (a(), c("ul", yn, [
|
|
691
|
+
(a(!0), c(A, null, q(e(M), ({
|
|
688
692
|
roomGroupId: r,
|
|
689
693
|
addons: F,
|
|
690
|
-
adultPerRoom:
|
|
691
|
-
},
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
u[7] || (u[7] =
|
|
694
|
+
adultPerRoom: L
|
|
695
|
+
}, h) => (a(), c("li", { key: r }, [
|
|
696
|
+
t("h5", null, [
|
|
697
|
+
t("span", null, l(e(n)("booking.reservation.room")) + " #" + l(h + 1), 1),
|
|
698
|
+
u[7] || (u[7] = he(" (")),
|
|
695
699
|
f(fe, {
|
|
696
700
|
icon: "male",
|
|
697
701
|
type: "fas",
|
|
698
702
|
color: "header"
|
|
699
703
|
}),
|
|
700
|
-
|
|
704
|
+
he(" " + l(L) + ") ", 1)
|
|
701
705
|
]),
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
706
|
+
t("table", hn, [
|
|
707
|
+
t("thead", null, [
|
|
708
|
+
t("tr", null, [
|
|
709
|
+
t("th", null, [
|
|
710
|
+
t("span", null, l(e(n)("booking.reservation.addons")), 1)
|
|
707
711
|
]),
|
|
708
|
-
u[8] || (u[8] =
|
|
709
|
-
|
|
710
|
-
|
|
712
|
+
u[8] || (u[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
713
|
+
t("th", _n, [
|
|
714
|
+
t("span", null, l(e(n)("booking.availability.price")), 1)
|
|
711
715
|
])
|
|
712
716
|
])
|
|
713
717
|
]),
|
|
714
|
-
|
|
715
|
-
(
|
|
718
|
+
t("tbody", null, [
|
|
719
|
+
(a(!0), c(A, null, q(F, ({
|
|
716
720
|
id: S,
|
|
717
721
|
cardinality: W,
|
|
718
722
|
name: Q,
|
|
719
723
|
price: de,
|
|
720
724
|
quantityStrategy: ce
|
|
721
|
-
}) => (
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
u[9] || (u[9] =
|
|
725
|
-
|
|
725
|
+
}) => (a(), c("tr", { key: S }, [
|
|
726
|
+
t("td", null, [
|
|
727
|
+
t("b", null, l(Q), 1),
|
|
728
|
+
u[9] || (u[9] = t("br", null, null, -1)),
|
|
729
|
+
t("span", null, l(e(H)(de, e(ee))) + " " + l(e(ct)(ce)), 1)
|
|
726
730
|
]),
|
|
727
|
-
|
|
728
|
-
W === 3 ? (
|
|
731
|
+
t("td", Dn, [
|
|
732
|
+
W === 3 ? (a(), P(oe, {
|
|
729
733
|
key: 0,
|
|
730
|
-
modelValue: e(
|
|
731
|
-
"onUpdate:modelValue": (x) => e(
|
|
734
|
+
modelValue: e(m)[`${r}.${S}.${h}`],
|
|
735
|
+
"onUpdate:modelValue": (x) => e(m)[`${r}.${S}.${h}`] = x,
|
|
732
736
|
small: !0,
|
|
733
737
|
"min-value": 0
|
|
734
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (
|
|
738
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(Ft, {
|
|
735
739
|
key: 1,
|
|
736
|
-
modelValue: e(
|
|
737
|
-
"onUpdate:modelValue": (x) => e(
|
|
740
|
+
modelValue: e(m)[`${r}.${S}.${h}`],
|
|
741
|
+
"onUpdate:modelValue": (x) => e(m)[`${r}.${S}.${h}`] = x,
|
|
738
742
|
numeric: !0
|
|
739
743
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
740
744
|
]),
|
|
741
|
-
|
|
742
|
-
|
|
745
|
+
t("td", Pn, [
|
|
746
|
+
t("span", null, l(e(H)(e(ze)(S, r, h), e(ee))), 1)
|
|
743
747
|
])
|
|
744
748
|
]))), 128))
|
|
745
749
|
]),
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
u[10] || (u[10] =
|
|
749
|
-
u[11] || (u[11] =
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
750
|
+
t("tfoot", null, [
|
|
751
|
+
t("tr", null, [
|
|
752
|
+
u[10] || (u[10] = t("td", null, null, -1)),
|
|
753
|
+
u[11] || (u[11] = t("td", null, null, -1)),
|
|
754
|
+
t("td", En, [
|
|
755
|
+
t("u", null, [
|
|
756
|
+
t("span", null, l(e(H)(e(Ge)(r, h), e(ee))), 1)
|
|
753
757
|
])
|
|
754
758
|
])
|
|
755
759
|
])
|
|
@@ -757,20 +761,20 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
757
761
|
])
|
|
758
762
|
]))), 128))
|
|
759
763
|
])) : v("", !0),
|
|
760
|
-
e(
|
|
761
|
-
|
|
762
|
-
(
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
764
|
+
e(se) ? (a(), c("table", Vn, [
|
|
765
|
+
t("tbody", null, [
|
|
766
|
+
(a(!0), c(A, null, q(e(i).products, ({ id: r, name: F, price: L, description: h }) => (a(), c("tr", { key: r }, [
|
|
767
|
+
t("td", $n, [
|
|
768
|
+
t("b", null, [
|
|
769
|
+
t("span", null, l(e(De)(F)), 1)
|
|
766
770
|
]),
|
|
767
|
-
|
|
768
|
-
|
|
771
|
+
h && h !== F ? (a(), c("span", wn, l(e(De)(h)), 1)) : v("", !0),
|
|
772
|
+
t("span", null, l(e(H)(L, e(ee))), 1)
|
|
769
773
|
]),
|
|
770
|
-
|
|
774
|
+
t("td", Tn, [
|
|
771
775
|
f(oe, {
|
|
772
|
-
modelValue: e(
|
|
773
|
-
"onUpdate:modelValue": (S) => e(
|
|
776
|
+
modelValue: e(b)[r],
|
|
777
|
+
"onUpdate:modelValue": (S) => e(b)[r] = S,
|
|
774
778
|
small: !0,
|
|
775
779
|
"min-value": 0
|
|
776
780
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -780,10 +784,10 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
780
784
|
])) : v("", !0)
|
|
781
785
|
])
|
|
782
786
|
]),
|
|
783
|
-
navigation:
|
|
787
|
+
navigation: p(() => [
|
|
784
788
|
f(ve, {
|
|
785
|
-
label: e(
|
|
786
|
-
disabled: !e(
|
|
789
|
+
label: e(n)("event.startReservation"),
|
|
790
|
+
disabled: !e(Be),
|
|
787
791
|
"full-width": "",
|
|
788
792
|
onClickEvent: O
|
|
789
793
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
@@ -791,108 +795,108 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
791
795
|
_: 2
|
|
792
796
|
}, 1032, ["prev-callback"])) : v("", !0)
|
|
793
797
|
]),
|
|
794
|
-
reservation:
|
|
798
|
+
reservation: p(({ next: O, prev: N }) => [
|
|
795
799
|
f(pe, {
|
|
796
800
|
"show-terms-notice": !0,
|
|
797
801
|
"show-gift-card": !0,
|
|
798
|
-
"prev-callback": () => e(
|
|
802
|
+
"prev-callback": () => e(ye)(N)
|
|
799
803
|
}, {
|
|
800
|
-
form:
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
+
form: p(() => [
|
|
805
|
+
t("form", On, [
|
|
806
|
+
t("h2", null, [
|
|
807
|
+
t("span", null, l(e(n)("booking.reservation.detailsTitle")), 1)
|
|
804
808
|
]),
|
|
805
809
|
f(te, {
|
|
806
|
-
modelValue: e(
|
|
807
|
-
"onUpdate:modelValue": u[0] || (u[0] = (r) => R(
|
|
810
|
+
modelValue: e(k),
|
|
811
|
+
"onUpdate:modelValue": u[0] || (u[0] = (r) => R(k) ? k.value = r : null),
|
|
808
812
|
type: "text",
|
|
809
|
-
label: e(
|
|
813
|
+
label: e(n)("booking.reservation.name"),
|
|
810
814
|
icon: "user-alt",
|
|
811
|
-
placeholder: e(
|
|
815
|
+
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
812
816
|
required: ""
|
|
813
817
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
814
818
|
f(te, {
|
|
815
|
-
modelValue: e(
|
|
816
|
-
"onUpdate:modelValue": u[1] || (u[1] = (r) => R(
|
|
817
|
-
label: e(
|
|
819
|
+
modelValue: e(E),
|
|
820
|
+
"onUpdate:modelValue": u[1] || (u[1] = (r) => R(E) ? E.value = r : null),
|
|
821
|
+
label: e(n)("booking.reservation.email"),
|
|
818
822
|
type: "email",
|
|
819
823
|
name: "email",
|
|
820
824
|
autocomplete: "email",
|
|
821
825
|
icon: "at",
|
|
822
|
-
placeholder: e(
|
|
826
|
+
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
823
827
|
required: ""
|
|
824
828
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
825
|
-
f(
|
|
826
|
-
modelValue: e(
|
|
827
|
-
"onUpdate:modelValue": u[2] || (u[2] = (r) => R(
|
|
828
|
-
label: e(
|
|
829
|
+
f(Mt, {
|
|
830
|
+
modelValue: e(w),
|
|
831
|
+
"onUpdate:modelValue": u[2] || (u[2] = (r) => R(w) ? w.value = r : null),
|
|
832
|
+
label: e(n)("booking.reservation.phone"),
|
|
829
833
|
icon: "phone-office",
|
|
830
|
-
placeholder: e(
|
|
834
|
+
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
831
835
|
required: ""
|
|
832
836
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
833
|
-
e(
|
|
837
|
+
e(Z) ? (a(), P(Tt, {
|
|
834
838
|
key: 0,
|
|
835
|
-
modelValue: e(
|
|
836
|
-
"onUpdate:modelValue": u[3] || (u[3] = (r) => R(
|
|
837
|
-
label: e(
|
|
839
|
+
modelValue: e(_),
|
|
840
|
+
"onUpdate:modelValue": u[3] || (u[3] = (r) => R(_) ? _.value = r : null),
|
|
841
|
+
label: e(n)("event.selectArrivalTime"),
|
|
838
842
|
name: "eventTimeTable",
|
|
839
|
-
checkboxes:
|
|
843
|
+
checkboxes: Ye.value,
|
|
840
844
|
required: ""
|
|
841
845
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
|
|
842
|
-
e(
|
|
846
|
+
e(ie) === e(mt).FullDayEvent ? (a(), P(oe, {
|
|
843
847
|
key: 1,
|
|
844
|
-
modelValue: e(
|
|
845
|
-
"onUpdate:modelValue": u[4] || (u[4] = (r) => R(
|
|
846
|
-
label: e(
|
|
848
|
+
modelValue: e(d),
|
|
849
|
+
"onUpdate:modelValue": u[4] || (u[4] = (r) => R(d) ? d.value = r : null),
|
|
850
|
+
label: e(n)("event.numberOfDays"),
|
|
847
851
|
"min-value": 1,
|
|
848
852
|
required: ""
|
|
849
853
|
}, null, 8, ["modelValue", "label"])) : v("", !0),
|
|
850
854
|
f(te, {
|
|
851
|
-
modelValue: e(
|
|
852
|
-
"onUpdate:modelValue": u[5] || (u[5] = (r) => R(
|
|
855
|
+
modelValue: e(V),
|
|
856
|
+
"onUpdate:modelValue": u[5] || (u[5] = (r) => R(V) ? V.value = r : null),
|
|
853
857
|
type: "textarea",
|
|
854
|
-
label: `${e(
|
|
858
|
+
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
855
859
|
icon: "info-circle",
|
|
856
|
-
placeholder: e(
|
|
860
|
+
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
857
861
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
858
862
|
f(te, {
|
|
859
|
-
modelValue: e(
|
|
860
|
-
"onUpdate:modelValue": u[6] || (u[6] = (r) => R(
|
|
863
|
+
modelValue: e(T),
|
|
864
|
+
"onUpdate:modelValue": u[6] || (u[6] = (r) => R(T) ? T.value = r : null),
|
|
861
865
|
type: "textarea",
|
|
862
|
-
label: `${e(
|
|
866
|
+
label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
|
|
863
867
|
icon: "allergies",
|
|
864
|
-
placeholder: e(
|
|
868
|
+
placeholder: e(n)("booking.reservation.allergiesPlaceholder")
|
|
865
869
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
866
870
|
])
|
|
867
871
|
]),
|
|
868
|
-
navigation:
|
|
872
|
+
navigation: p(() => [
|
|
869
873
|
f(ve, {
|
|
870
|
-
label: e(
|
|
871
|
-
"is-loading": e(
|
|
872
|
-
disabled: !e(
|
|
874
|
+
label: e(n)("general.confirmReservation"),
|
|
875
|
+
"is-loading": e(X),
|
|
876
|
+
disabled: !e(G),
|
|
873
877
|
"full-width": "",
|
|
874
|
-
onClickEvent: (r) => e(
|
|
878
|
+
onClickEvent: (r) => e(Ue)(O)
|
|
875
879
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
876
880
|
]),
|
|
877
881
|
_: 2
|
|
878
882
|
}, 1032, ["prev-callback"])
|
|
879
883
|
]),
|
|
880
|
-
payment:
|
|
881
|
-
f(
|
|
884
|
+
payment: p(() => [
|
|
885
|
+
f(Bt)
|
|
882
886
|
]),
|
|
883
|
-
confirmation:
|
|
884
|
-
f(
|
|
885
|
-
message: e(
|
|
887
|
+
confirmation: p(() => [
|
|
888
|
+
f(Ot, {
|
|
889
|
+
message: e(n)("event.confirmationMessage")
|
|
886
890
|
}, null, 8, ["message"])
|
|
887
891
|
]),
|
|
888
892
|
_: 1
|
|
889
|
-
}, 8, ["steps"
|
|
893
|
+
}, 8, ["steps"])
|
|
890
894
|
]),
|
|
891
895
|
_: 1
|
|
892
896
|
}, 8, ["access-token", "callback"])
|
|
893
897
|
]),
|
|
894
|
-
fallback:
|
|
895
|
-
f(
|
|
898
|
+
fallback: p(() => [
|
|
899
|
+
f(pn)
|
|
896
900
|
]),
|
|
897
901
|
_: 1
|
|
898
902
|
}))
|
|
@@ -900,8 +904,8 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
900
904
|
_: 1
|
|
901
905
|
}, 8, ["styling"]));
|
|
902
906
|
}
|
|
903
|
-
}), Oe = /* @__PURE__ */ ae(
|
|
904
|
-
class
|
|
907
|
+
}), Oe = /* @__PURE__ */ ae(Nn, [["__scopeId", "data-v-92eae590"]]), Sn = ot(), Fn = it();
|
|
908
|
+
class Mn extends HTMLElement {
|
|
905
909
|
vueApp;
|
|
906
910
|
constructor() {
|
|
907
911
|
super();
|
|
@@ -910,14 +914,14 @@ class Sn extends HTMLElement {
|
|
|
910
914
|
this.vueApp.unmount();
|
|
911
915
|
}
|
|
912
916
|
connectedCallback() {
|
|
913
|
-
const
|
|
914
|
-
this.vueApp =
|
|
915
|
-
const
|
|
916
|
-
this.vueApp.mount(
|
|
917
|
+
const o = lt(Oe, this.attributes);
|
|
918
|
+
this.vueApp = at(Oe, o), this.vueApp.provide("emitter", Fn), this.vueApp.use(st), this.vueApp.use(Sn), this.vueApp.use(Nt), this.vueApp.use(gt), this.vueApp.use(St), this.vueApp.use(bt, { bootstrap: !0 });
|
|
919
|
+
const n = document.createElement("div");
|
|
920
|
+
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
917
921
|
}
|
|
918
922
|
}
|
|
919
|
-
window.customElements.define("konnectio-event",
|
|
923
|
+
window.customElements.define("konnectio-event", Mn);
|
|
920
924
|
export {
|
|
921
|
-
|
|
925
|
+
Mn as default
|
|
922
926
|
};
|
|
923
927
|
//# sourceMappingURL=event.js.map
|