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