@konnectio/core 4.4.9 → 4.5.1
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/README.md +274 -274
- package/dist/ActionField-CCjWElNQ.js +148 -0
- package/dist/ActionField-CCjWElNQ.js.br +0 -0
- package/dist/ActionField-CCjWElNQ.js.gz +0 -0
- package/dist/AvailabilitySkeleton-IQbxzq3Q.js +10129 -0
- package/dist/AvailabilitySkeleton-IQbxzq3Q.js.br +0 -0
- package/dist/AvailabilitySkeleton-IQbxzq3Q.js.gz +0 -0
- package/dist/CheckoutWindow-xnLaHTT5.js +701 -0
- package/dist/CheckoutWindow-xnLaHTT5.js.br +0 -0
- package/dist/CheckoutWindow-xnLaHTT5.js.gz +0 -0
- package/dist/ErrorMessage-6_ULtG_D.js +31 -0
- package/dist/ErrorMessage-6_ULtG_D.js.br +0 -0
- package/dist/ErrorMessage-6_ULtG_D.js.gz +0 -0
- package/dist/EventAvailabilityForm-Dq4WxMuL.js +114 -0
- package/dist/EventAvailabilityForm-Dq4WxMuL.js.br +0 -0
- package/dist/EventAvailabilityForm-Dq4WxMuL.js.gz +0 -0
- package/dist/Field-00JXggoS.js +57 -0
- package/dist/Field-00JXggoS.js.br +0 -0
- package/dist/Field-00JXggoS.js.gz +0 -0
- package/dist/HotelAvailabilityForm-D_mVPzOx.js +317 -0
- package/dist/HotelAvailabilityForm-D_mVPzOx.js.br +0 -0
- package/dist/HotelAvailabilityForm-D_mVPzOx.js.gz +0 -0
- package/dist/SelectField-BYcZ8xUa.js +11161 -0
- package/dist/SelectField-BYcZ8xUa.js.br +0 -0
- package/dist/SelectField-BYcZ8xUa.js.gz +0 -0
- package/dist/TermsOfService-tFJBZdRe.js +17 -0
- package/dist/TermsOfService-tFJBZdRe.js.br +0 -0
- package/dist/TermsOfService-tFJBZdRe.js.gz +0 -0
- package/dist/_-BZTN6PmS.js +22 -0
- package/dist/_-BZTN6PmS.js.br +0 -0
- package/dist/_-BZTN6PmS.js.gz +5 -0
- package/dist/availability.js +99 -129
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +155 -158
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/chunk-BPfpcrXh.js +20 -0
- package/dist/chunk-BPfpcrXh.js.br +0 -0
- package/dist/chunk-BPfpcrXh.js.gz +2 -0
- package/dist/core.css +2 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/deep-link.js +43 -47
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/dist-oox8Oy7m.js +944 -0
- package/dist/dist-oox8Oy7m.js.br +0 -0
- package/dist/dist-oox8Oy7m.js.gz +0 -0
- package/dist/event.js +1069 -1192
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +114 -161
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +452 -451
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/giftCard-Dlw7i36H.js +101 -0
- package/dist/giftCard-Dlw7i36H.js.br +0 -0
- package/dist/giftCard-Dlw7i36H.js.gz +0 -0
- package/dist/hotel.js +8169 -10403
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/masonry.plugin-qpD7rOEC.js +8747 -0
- package/dist/masonry.plugin-qpD7rOEC.js.br +0 -0
- package/dist/masonry.plugin-qpD7rOEC.js.gz +0 -0
- package/dist/mitt-DrOLO7f9.js +9694 -0
- package/dist/mitt-DrOLO7f9.js.br +0 -0
- package/dist/mitt-DrOLO7f9.js.gz +0 -0
- package/dist/polyfill.js +9298 -11610
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/style-CCnDB_V1.js +1709 -0
- package/dist/style-CCnDB_V1.js.br +0 -0
- package/dist/style-CCnDB_V1.js.gz +0 -0
- package/package.json +115 -118
- package/dist/ActionField-CjB94ywQ.js +0 -103
- package/dist/ActionField-CjB94ywQ.js.br +0 -0
- package/dist/ActionField-CjB94ywQ.js.gz +0 -0
- package/dist/AvailabilitySkeleton-GcNIEr0O.js +0 -346
- package/dist/AvailabilitySkeleton-GcNIEr0O.js.br +0 -0
- package/dist/AvailabilitySkeleton-GcNIEr0O.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js +0 -10311
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.gz +0 -0
- package/dist/CheckoutWindow-jLe1mUEB.js +0 -668
- package/dist/CheckoutWindow-jLe1mUEB.js.br +0 -0
- package/dist/CheckoutWindow-jLe1mUEB.js.gz +0 -0
- package/dist/ErrorMessage-uA3IcjN_.js +0 -39
- package/dist/ErrorMessage-uA3IcjN_.js.br +0 -0
- package/dist/ErrorMessage-uA3IcjN_.js.gz +0 -0
- package/dist/EventAvailabilityForm-4m-RW0Lx.js +0 -119
- package/dist/EventAvailabilityForm-4m-RW0Lx.js.br +0 -0
- package/dist/EventAvailabilityForm-4m-RW0Lx.js.gz +0 -0
- package/dist/Field-D9fOd9ca.js +0 -44
- package/dist/Field-D9fOd9ca.js.br +0 -0
- package/dist/Field-D9fOd9ca.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js +0 -21
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.br +0 -5
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js +0 -11918
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.gz +0 -0
- package/dist/TermsOfService-CD3_lM8u.js +0 -28
- package/dist/TermsOfService-CD3_lM8u.js.br +0 -0
- package/dist/TermsOfService-CD3_lM8u.js.gz +0 -0
- package/dist/_-DeLqDsjZ.js +0 -5
- package/dist/_-DeLqDsjZ.js.br +0 -0
- package/dist/_-DeLqDsjZ.js.gz +0 -2
- package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js +0 -25
- package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.gz +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -9
- package/dist/_commonjsHelpers-DaMA6jEr.js.br +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
- package/dist/giftCard-G-zvnJVj.js +0 -109
- package/dist/giftCard-G-zvnJVj.js.br +0 -0
- package/dist/giftCard-G-zvnJVj.js.gz +0 -0
- package/dist/index-BEOLg3OJ.js +0 -639
- package/dist/index-BEOLg3OJ.js.br +0 -0
- package/dist/index-BEOLg3OJ.js.gz +0 -0
- package/dist/masonry.plugin-gbufcPfU.js +0 -10816
- package/dist/masonry.plugin-gbufcPfU.js.br +0 -0
- package/dist/masonry.plugin-gbufcPfU.js.gz +0 -0
- package/dist/mitt-Cj---5fy.js +0 -13346
- package/dist/mitt-Cj---5fy.js.br +0 -0
- package/dist/mitt-Cj---5fy.js.gz +0 -0
- package/dist/style-n4UQjvXd.js +0 -1750
- package/dist/style-n4UQjvXd.js.br +0 -0
- package/dist/style-n4UQjvXd.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,1194 +1,1071 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
|
|
11
|
-
function
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return y === 12 && x !== "month" ? m.formatDistance("xYears", 1, g) : m.formatDistance("xMonths", y, g);
|
|
38
|
-
} else {
|
|
39
|
-
const y = D(w / Ne);
|
|
40
|
-
return m.formatDistance("xYears", y, g);
|
|
41
|
-
}
|
|
1
|
+
import { $ as e, A as t, At as n, D as r, Dt as i, E as a, Et as o, M as s, O as c, P as l, S as u, T as d, Y as f, bt as p, c as m, dt as h, et as g, gt as _, j as v, k as y, o as b, p as x, q as S, r as C, s as w, st as T, t as E, u as D, x as O, y as k } from "./mitt-DrOLO7f9.js";
|
|
2
|
+
import { t as A } from "./dist-oox8Oy7m.js";
|
|
3
|
+
import { B as ee, C as j, D as te, E as M, F as N, G as P, H as F, J as I, K as L, L as R, M as z, Q as ne, S as B, U as V, X as H, Y as U, b as re, dt as ie, n as W, r as G, rt as ae, v as K, w as q, x as J, z as oe } from "./SelectField-BYcZ8xUa.js";
|
|
4
|
+
import { t as se } from "./_-BZTN6PmS.js";
|
|
5
|
+
import { a as ce, c as le, d as ue, f as de, i as fe, l as pe, n as me, o as he, r as Y, s as X, u as ge } from "./AvailabilitySkeleton-IQbxzq3Q.js";
|
|
6
|
+
import { t as _e } from "./EventAvailabilityForm-Dq4WxMuL.js";
|
|
7
|
+
import { t as ve } from "./style-CCnDB_V1.js";
|
|
8
|
+
import { a as ye, c as be, d as Z, l as xe, n as Q, o as Se, r as Ce, s as we, t as Te, u as Ee } from "./masonry.plugin-qpD7rOEC.js";
|
|
9
|
+
import { i as De, r as Oe, t as ke } from "./CheckoutWindow-xnLaHTT5.js";
|
|
10
|
+
//#region node_modules/date-fns/formatDistanceStrict.js
|
|
11
|
+
function Ae(e, t, n) {
|
|
12
|
+
let r = le(), i = n?.locale ?? r.locale ?? Y, a = ce(e, t);
|
|
13
|
+
if (isNaN(a)) throw RangeError("Invalid time value");
|
|
14
|
+
let o = Object.assign({}, n, {
|
|
15
|
+
addSuffix: n?.addSuffix,
|
|
16
|
+
comparison: a
|
|
17
|
+
}), [s, c] = he(n?.in, ...a > 0 ? [t, e] : [e, t]), l = fe(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / pe, f = (u - (X(c) - X(s))) / pe, p = n?.unit, m;
|
|
18
|
+
if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
|
|
19
|
+
let e = l(u / 1e3);
|
|
20
|
+
return i.formatDistance("xSeconds", e, o);
|
|
21
|
+
} else if (m === "minute") {
|
|
22
|
+
let e = l(d);
|
|
23
|
+
return i.formatDistance("xMinutes", e, o);
|
|
24
|
+
} else if (m === "hour") {
|
|
25
|
+
let e = l(d / 60);
|
|
26
|
+
return i.formatDistance("xHours", e, o);
|
|
27
|
+
} else if (m === "day") {
|
|
28
|
+
let e = l(f / ge);
|
|
29
|
+
return i.formatDistance("xDays", e, o);
|
|
30
|
+
} else if (m === "month") {
|
|
31
|
+
let e = l(f / ue);
|
|
32
|
+
return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
|
|
33
|
+
} else {
|
|
34
|
+
let e = l(f / de);
|
|
35
|
+
return i.formatDistance("xYears", e, o);
|
|
36
|
+
}
|
|
42
37
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
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
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
},
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
},
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
type: "email",
|
|
1074
|
-
name: "email",
|
|
1075
|
-
autocomplete: "email",
|
|
1076
|
-
icon: "at",
|
|
1077
|
-
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
1078
|
-
required: ""
|
|
1079
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1080
|
-
h(Yt, {
|
|
1081
|
-
modelValue: e($),
|
|
1082
|
-
"onUpdate:modelValue": d[2] || (d[2] = (c) => S($) ? $.value = c : null),
|
|
1083
|
-
label: e(a)("booking.reservation.phone"),
|
|
1084
|
-
icon: "phone-office",
|
|
1085
|
-
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
1086
|
-
required: ""
|
|
1087
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1088
|
-
e(re) ? (l(), v(It, {
|
|
1089
|
-
key: 0,
|
|
1090
|
-
modelValue: e(x),
|
|
1091
|
-
"onUpdate:modelValue": d[3] || (d[3] = (c) => S(x) ? x.value = c : null),
|
|
1092
|
-
label: e(a)("event.selectArrivalTime"),
|
|
1093
|
-
name: "eventTimeTable",
|
|
1094
|
-
checkboxes: _e.value,
|
|
1095
|
-
required: ""
|
|
1096
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) : r("", !0),
|
|
1097
|
-
e(ie) === e(Et).FullDayEvent ? (l(), v(ae, {
|
|
1098
|
-
key: 1,
|
|
1099
|
-
modelValue: e(g),
|
|
1100
|
-
"onUpdate:modelValue": d[4] || (d[4] = (c) => S(g) ? g.value = c : null),
|
|
1101
|
-
label: e(a)("event.numberOfDays"),
|
|
1102
|
-
"min-value": 1,
|
|
1103
|
-
required: ""
|
|
1104
|
-
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1105
|
-
t.showHighChairs === "yes" ? (l(), v(ae, {
|
|
1106
|
-
key: 2,
|
|
1107
|
-
modelValue: e(p),
|
|
1108
|
-
"onUpdate:modelValue": d[5] || (d[5] = (c) => S(p) ? p.value = c : null),
|
|
1109
|
-
label: e(a)("event.numberOfHighChairs"),
|
|
1110
|
-
icon: "baby",
|
|
1111
|
-
"no-optional-label": !1
|
|
1112
|
-
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1113
|
-
t.showFlagOnTable === "yes" ? (l(), v(Ce, {
|
|
1114
|
-
key: 3,
|
|
1115
|
-
modelValue: e(f),
|
|
1116
|
-
"onUpdate:modelValue": d[6] || (d[6] = (c) => S(f) ? f.value = c : null),
|
|
1117
|
-
label: e(a)("event.flagOnTable")
|
|
1118
|
-
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1119
|
-
t.hideRemarks !== "yes" ? (l(), v(de, {
|
|
1120
|
-
key: 4,
|
|
1121
|
-
modelValue: e(T),
|
|
1122
|
-
"onUpdate:modelValue": d[7] || (d[7] = (c) => S(T) ? T.value = c : null),
|
|
1123
|
-
type: "textarea",
|
|
1124
|
-
label: e(a)("booking.reservation.remark"),
|
|
1125
|
-
icon: "info-circle",
|
|
1126
|
-
placeholder: e(a)("booking.reservation.remarkPlaceholder")
|
|
1127
|
-
}, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0),
|
|
1128
|
-
t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), v(de, {
|
|
1129
|
-
key: 5,
|
|
1130
|
-
modelValue: e(w),
|
|
1131
|
-
"onUpdate:modelValue": d[8] || (d[8] = (c) => S(w) ? w.value = c : null),
|
|
1132
|
-
type: "textarea",
|
|
1133
|
-
label: e(a)("booking.reservation.allergies"),
|
|
1134
|
-
icon: "allergies",
|
|
1135
|
-
placeholder: e(a)("booking.reservation.allergiesPlaceholder")
|
|
1136
|
-
}, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0)
|
|
1137
|
-
])
|
|
1138
|
-
]),
|
|
1139
|
-
navigation: b(() => [
|
|
1140
|
-
h(me, {
|
|
1141
|
-
label: e(a)("general.confirmReservation"),
|
|
1142
|
-
"is-loading": e(ee),
|
|
1143
|
-
disabled: !e(te),
|
|
1144
|
-
"full-width": "",
|
|
1145
|
-
onClickEvent: (c) => tt(V)
|
|
1146
|
-
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
1147
|
-
]),
|
|
1148
|
-
_: 2
|
|
1149
|
-
}, 1032, ["prev-callback"])
|
|
1150
|
-
]),
|
|
1151
|
-
payment: b(() => [
|
|
1152
|
-
h(qt)
|
|
1153
|
-
]),
|
|
1154
|
-
confirmation: b(() => [
|
|
1155
|
-
h(Bt, {
|
|
1156
|
-
message: e(a)("event.confirmationMessage")
|
|
1157
|
-
}, null, 8, ["message"])
|
|
1158
|
-
]),
|
|
1159
|
-
_: 1
|
|
1160
|
-
}, 8, ["steps"])
|
|
1161
|
-
]),
|
|
1162
|
-
_: 1
|
|
1163
|
-
}, 8, ["access-token", "callback"])
|
|
1164
|
-
]),
|
|
1165
|
-
fallback: b(() => [
|
|
1166
|
-
h(Un)
|
|
1167
|
-
]),
|
|
1168
|
-
_: 1
|
|
1169
|
-
}))
|
|
1170
|
-
]),
|
|
1171
|
-
_: 1
|
|
1172
|
-
}, 8, ["styling"]));
|
|
1173
|
-
}
|
|
1174
|
-
}), Ie = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-cb6a3dc9"]]), ia = ut(), sa = mt, ra = sa();
|
|
1175
|
-
class ca extends HTMLElement {
|
|
1176
|
-
vueApp;
|
|
1177
|
-
constructor() {
|
|
1178
|
-
super();
|
|
1179
|
-
}
|
|
1180
|
-
disconnectedCallback() {
|
|
1181
|
-
this.vueApp.unmount();
|
|
1182
|
-
}
|
|
1183
|
-
connectedCallback() {
|
|
1184
|
-
const i = vt(Ie, this.attributes);
|
|
1185
|
-
this.vueApp = bt(Ie, i), this.vueApp.provide("emitter", ra), this.vueApp.use(Wt), this.vueApp.use(gt), this.vueApp.use(ia), this.vueApp.use(At), this.vueApp.use(kt), this.vueApp.use(St);
|
|
1186
|
-
const a = document.createElement("div");
|
|
1187
|
-
this.vueApp.mount(a), this.appendChild(a.children[0]);
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
window.customElements.define("konnectio-event", ca);
|
|
1191
|
-
export {
|
|
1192
|
-
ca as default
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
|
|
40
|
+
var je = { class: "konnectio-event-listing-action-button" }, Me = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
41
|
+
__name: "_",
|
|
42
|
+
props: {
|
|
43
|
+
name: {},
|
|
44
|
+
description: {},
|
|
45
|
+
toDate: {},
|
|
46
|
+
listingId: {},
|
|
47
|
+
tableGroupId: {},
|
|
48
|
+
days: {},
|
|
49
|
+
length: {},
|
|
50
|
+
timeFrom: {},
|
|
51
|
+
timeTo: {},
|
|
52
|
+
maxOnlineReservationLimit: {},
|
|
53
|
+
minimumPersonCount: {},
|
|
54
|
+
maxGuests: {},
|
|
55
|
+
fromPrice: { default: 0 },
|
|
56
|
+
gallery: {},
|
|
57
|
+
soldOut: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !1
|
|
60
|
+
},
|
|
61
|
+
useNumberOfProductsForPersons: { type: Boolean },
|
|
62
|
+
type: {},
|
|
63
|
+
trackingEnabled: { type: Boolean },
|
|
64
|
+
disableDeepLink: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: !1
|
|
67
|
+
},
|
|
68
|
+
callback: {}
|
|
69
|
+
},
|
|
70
|
+
setup(e) {
|
|
71
|
+
let { t } = b(), n = e, { display: l } = z(), { hideEventGuestAmount: u } = D(M()), { maxNumberOfPeople: m, numberOfPeople: _, eventId: v, currentEventDate: y, tableGroupId: x } = D(q()), { getTemplateAvailability: S, getEventAvailability: C, isEventListingLoading: w } = q(), { addToCart: T } = te(), E = d(() => n.maxGuests || n.maxOnlineReservationLimit || m.value || Infinity), O = p(0), k = d(() => w(n.listingId)), A = () => {
|
|
72
|
+
if (!n.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
73
|
+
l({
|
|
74
|
+
type: "error",
|
|
75
|
+
message: t("alert.error.selectPeople")
|
|
76
|
+
});
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
n.trackingEnabled && T({
|
|
80
|
+
id: n.listingId,
|
|
81
|
+
name: n.name,
|
|
82
|
+
value: n.fromPrice || 0
|
|
83
|
+
}), v.value = n.listingId, _.value = n.useNumberOfProductsForPersons ? NaN : O.value, S(n.callback);
|
|
84
|
+
}, ee = () => {
|
|
85
|
+
if (!n.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
86
|
+
l({
|
|
87
|
+
type: "error",
|
|
88
|
+
message: t("alert.error.selectPeople")
|
|
89
|
+
});
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
n.trackingEnabled && T({
|
|
93
|
+
id: n.listingId,
|
|
94
|
+
name: n.name,
|
|
95
|
+
value: n.fromPrice || 0
|
|
96
|
+
}), v.value = n.listingId, x.value = n.tableGroupId, _.value = n.useNumberOfProductsForPersons ? NaN : O.value, C(n.callback);
|
|
97
|
+
};
|
|
98
|
+
return (n, l) => (f(), r(Ee, {
|
|
99
|
+
type: "event",
|
|
100
|
+
"listing-id": e.listingId,
|
|
101
|
+
gallery: e.gallery,
|
|
102
|
+
name: e.name,
|
|
103
|
+
description: e.description,
|
|
104
|
+
"prices-from": e.fromPrice,
|
|
105
|
+
"to-date": e.toDate,
|
|
106
|
+
layout: o(ne).Event,
|
|
107
|
+
"disable-deep-link": e.disableDeepLink
|
|
108
|
+
}, {
|
|
109
|
+
description: h(() => [g(n.$slots, "description", { maxNumberOfPeople: o(m) }, void 0, !0)]),
|
|
110
|
+
action: h(() => [g(n.$slots, "action", {}, () => [a("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": e.useNumberOfProductsForPersons }]) }, [e.useNumberOfProductsForPersons ? c("", !0) : (f(), r(G, {
|
|
111
|
+
key: 0,
|
|
112
|
+
modelValue: O.value,
|
|
113
|
+
"onUpdate:modelValue": l[0] ||= (e) => O.value = e,
|
|
114
|
+
label: o(t)("event.numberOfGuests"),
|
|
115
|
+
icon: "users",
|
|
116
|
+
"icon-type": "fas",
|
|
117
|
+
"icon-placement": "label",
|
|
118
|
+
description: E.value <= 20 && !o(u) ? `${o(t)("general.availableFor")}: 1 - ${E.value} ${o(V)(o(t)("general.guests"))}` : void 0,
|
|
119
|
+
"min-value": 0,
|
|
120
|
+
"max-value": E.value
|
|
121
|
+
}, null, 8, [
|
|
122
|
+
"modelValue",
|
|
123
|
+
"label",
|
|
124
|
+
"description",
|
|
125
|
+
"max-value"
|
|
126
|
+
])), a("div", je, [s(K, {
|
|
127
|
+
label: e.soldOut ? o(t)("event.soldOut") : o(t)("event.bookNowButton"),
|
|
128
|
+
disabled: e.soldOut,
|
|
129
|
+
"is-loading": k.value,
|
|
130
|
+
"full-width": "",
|
|
131
|
+
"sub-label": o(P)(o(y)),
|
|
132
|
+
onClickEvent: l[1] ||= (t) => e.type === "event" ? ee() : A()
|
|
133
|
+
}, null, 8, [
|
|
134
|
+
"label",
|
|
135
|
+
"disabled",
|
|
136
|
+
"is-loading",
|
|
137
|
+
"sub-label"
|
|
138
|
+
])])], 2)], !0)]),
|
|
139
|
+
_: 3
|
|
140
|
+
}, 8, [
|
|
141
|
+
"listing-id",
|
|
142
|
+
"gallery",
|
|
143
|
+
"name",
|
|
144
|
+
"description",
|
|
145
|
+
"prices-from",
|
|
146
|
+
"to-date",
|
|
147
|
+
"layout",
|
|
148
|
+
"disable-deep-link"
|
|
149
|
+
]));
|
|
150
|
+
}
|
|
151
|
+
}), [["__scopeId", "data-v-23ac9949"]]), Ne = { class: "konnectio-event-listing-information-new" }, Pe = {
|
|
152
|
+
key: 1,
|
|
153
|
+
class: "konnectio-pill-button"
|
|
154
|
+
}, Fe = {
|
|
155
|
+
key: 2,
|
|
156
|
+
class: "konnectio-pill-button"
|
|
157
|
+
}, Ie = { key: 0 }, Le = { key: 1 }, $ = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
158
|
+
__name: "Event",
|
|
159
|
+
props: {
|
|
160
|
+
name: {},
|
|
161
|
+
description: {},
|
|
162
|
+
fromDate: {},
|
|
163
|
+
toDate: {},
|
|
164
|
+
length: {},
|
|
165
|
+
timeFrom: {},
|
|
166
|
+
timeTo: {},
|
|
167
|
+
gallery: {},
|
|
168
|
+
days: {},
|
|
169
|
+
listingId: {},
|
|
170
|
+
tableGroupId: {},
|
|
171
|
+
maxOnlineReservationLimit: {},
|
|
172
|
+
minimumPersonCount: {},
|
|
173
|
+
fromPrice: { default: 0 },
|
|
174
|
+
soldOut: { type: Boolean },
|
|
175
|
+
useNumberOfProductsForPersons: { type: Boolean },
|
|
176
|
+
trackingEnabled: { type: Boolean },
|
|
177
|
+
callback: {}
|
|
178
|
+
},
|
|
179
|
+
setup(e) {
|
|
180
|
+
let t = e, { t: i } = b(), { hideEventLength: l, hideEventEndTime: u } = D(M()), p = d(() => {
|
|
181
|
+
if (!t.length) return;
|
|
182
|
+
let e = t.length.split(":");
|
|
183
|
+
return Ae(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
|
|
184
|
+
});
|
|
185
|
+
return (t, d) => (f(), r(Me, {
|
|
186
|
+
"listing-id": e.listingId,
|
|
187
|
+
name: e.name,
|
|
188
|
+
description: e.description,
|
|
189
|
+
gallery: e.gallery,
|
|
190
|
+
"prices-from": e.fromPrice,
|
|
191
|
+
"table-group-id": e.tableGroupId,
|
|
192
|
+
"max-guests": e.maxOnlineReservationLimit,
|
|
193
|
+
"use-number-of-products-for-persons": e.useNumberOfProductsForPersons,
|
|
194
|
+
"to-date": e.toDate,
|
|
195
|
+
"sold-out": e.soldOut,
|
|
196
|
+
type: "event",
|
|
197
|
+
"tracking-enabled": e.trackingEnabled,
|
|
198
|
+
callback: e.callback
|
|
199
|
+
}, {
|
|
200
|
+
description: h(() => [e.description ? (f(), r(Z, {
|
|
201
|
+
key: 0,
|
|
202
|
+
text: e.description
|
|
203
|
+
}, null, 8, ["text"])) : c("", !0), a("ul", Ne, [
|
|
204
|
+
c("", !0),
|
|
205
|
+
!o(l) && p.value ? (f(), y("li", Pe, [a("div", null, [s(J, {
|
|
206
|
+
icon: "calendar-clock",
|
|
207
|
+
color: "header"
|
|
208
|
+
}), a("span", null, n(o(i)("event.lengthOfEvent")), 1)]), a("span", null, n(p.value), 1)])) : c("", !0),
|
|
209
|
+
e.timeFrom ? (f(), y("li", Fe, [a("div", null, [s(J, {
|
|
210
|
+
icon: "calendar-clock",
|
|
211
|
+
color: "header"
|
|
212
|
+
}), a("span", null, n(o(i)("event.startAndEndTime")), 1)]), o(u) ? (f(), y("span", Le, n(o(U)(e.timeFrom)), 1)) : (f(), y("span", Ie, n(o(H)(e.timeFrom, e.timeTo)), 1))])) : c("", !0)
|
|
213
|
+
])]),
|
|
214
|
+
action: h(() => [g(t.$slots, "action", {}, void 0, !0)]),
|
|
215
|
+
_: 3
|
|
216
|
+
}, 8, [
|
|
217
|
+
"listing-id",
|
|
218
|
+
"name",
|
|
219
|
+
"description",
|
|
220
|
+
"gallery",
|
|
221
|
+
"prices-from",
|
|
222
|
+
"table-group-id",
|
|
223
|
+
"max-guests",
|
|
224
|
+
"use-number-of-products-for-persons",
|
|
225
|
+
"to-date",
|
|
226
|
+
"sold-out",
|
|
227
|
+
"tracking-enabled",
|
|
228
|
+
"callback"
|
|
229
|
+
]));
|
|
230
|
+
}
|
|
231
|
+
}), [["__scopeId", "data-v-40cbbf2c"]]), Re = {
|
|
232
|
+
key: 0,
|
|
233
|
+
class: "konnectio-event-grouped-listings-container"
|
|
234
|
+
}, ze = { class: "konnectio-event-grouped-listings" }, Be = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
235
|
+
__name: "Event",
|
|
236
|
+
props: {
|
|
237
|
+
name: {},
|
|
238
|
+
events: {},
|
|
239
|
+
trackingEnabled: { type: Boolean },
|
|
240
|
+
callback: { type: Function }
|
|
241
|
+
},
|
|
242
|
+
setup(t) {
|
|
243
|
+
return (n, i) => t.events && t.events.length > 1 ? (f(), y("div", Re, [c("", !0), a("ul", ze, [(f(!0), y(O, null, e(t.events, ({ id: e, days: n, name: i, timeFrom: a, timeTo: o, tableGroupId: s, description: c, soldOut: l, length: u, images: d, maxOnlineReservationLimit: p, maxPaxPerReservation: m, useNumberOfProductsForPersons: h, maxTicketsLimit: g }) => (f(), r($, {
|
|
244
|
+
key: e,
|
|
245
|
+
type: "event",
|
|
246
|
+
"listing-id": e,
|
|
247
|
+
"table-group-id": s,
|
|
248
|
+
description: c,
|
|
249
|
+
name: i,
|
|
250
|
+
length: u,
|
|
251
|
+
gallery: d,
|
|
252
|
+
days: n,
|
|
253
|
+
"max-online-reservation-limit": m || p || g || void 0,
|
|
254
|
+
"time-from": a,
|
|
255
|
+
"time-to": o,
|
|
256
|
+
"sold-out": l,
|
|
257
|
+
"use-number-of-products-for-persons": h,
|
|
258
|
+
"tracking-enabled": t.trackingEnabled,
|
|
259
|
+
callback: t.callback
|
|
260
|
+
}, null, 8, [
|
|
261
|
+
"listing-id",
|
|
262
|
+
"table-group-id",
|
|
263
|
+
"description",
|
|
264
|
+
"name",
|
|
265
|
+
"length",
|
|
266
|
+
"gallery",
|
|
267
|
+
"days",
|
|
268
|
+
"max-online-reservation-limit",
|
|
269
|
+
"time-from",
|
|
270
|
+
"time-to",
|
|
271
|
+
"sold-out",
|
|
272
|
+
"use-number-of-products-for-persons",
|
|
273
|
+
"tracking-enabled",
|
|
274
|
+
"callback"
|
|
275
|
+
]))), 128))])])) : t.events ? (f(), r($, {
|
|
276
|
+
key: t.events[0].id,
|
|
277
|
+
type: "event",
|
|
278
|
+
"listing-id": t.events[0].id,
|
|
279
|
+
"table-group-id": t.events[0].tableGroupId,
|
|
280
|
+
description: t.events[0].description,
|
|
281
|
+
name: t.events[0].name,
|
|
282
|
+
length: t.events[0].length,
|
|
283
|
+
gallery: t.events[0].images,
|
|
284
|
+
days: t.events[0].days,
|
|
285
|
+
"from-date": t.events[0].fromDate,
|
|
286
|
+
"to-date": t.events[0].toDate,
|
|
287
|
+
"max-online-reservation-limit": t.events[0].maxPaxPerReservation || t.events[0].maxOnlineReservationLimit || t.events[0].maxTicketsLimit || void 0,
|
|
288
|
+
"time-from": t.events[0].timeFrom,
|
|
289
|
+
"time-to": t.events[0].timeTo,
|
|
290
|
+
"sold-out": t.events[0].soldOut,
|
|
291
|
+
"use-number-of-products-for-persons": t.events[0].useNumberOfProductsForPersons,
|
|
292
|
+
"tracking-enabled": t.trackingEnabled,
|
|
293
|
+
callback: t.callback
|
|
294
|
+
}, null, 8, [
|
|
295
|
+
"listing-id",
|
|
296
|
+
"table-group-id",
|
|
297
|
+
"description",
|
|
298
|
+
"name",
|
|
299
|
+
"length",
|
|
300
|
+
"gallery",
|
|
301
|
+
"days",
|
|
302
|
+
"from-date",
|
|
303
|
+
"to-date",
|
|
304
|
+
"max-online-reservation-limit",
|
|
305
|
+
"time-from",
|
|
306
|
+
"time-to",
|
|
307
|
+
"sold-out",
|
|
308
|
+
"use-number-of-products-for-persons",
|
|
309
|
+
"tracking-enabled",
|
|
310
|
+
"callback"
|
|
311
|
+
])) : c("", !0);
|
|
312
|
+
}
|
|
313
|
+
}), [["__scopeId", "data-v-374ad034"]]), Ve = { class: "konnectio-special-offer-availability" }, He = { class: "konnectio-special-offer-availability-button" }, Ue = { class: "konnectio-warning-notice" }, We = { key: 0 }, Ge = { key: 1 }, Ke = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
314
|
+
__name: "NextEvent",
|
|
315
|
+
props: {
|
|
316
|
+
name: {},
|
|
317
|
+
description: {},
|
|
318
|
+
fromDate: {},
|
|
319
|
+
toDate: {},
|
|
320
|
+
length: {},
|
|
321
|
+
timeFrom: {},
|
|
322
|
+
timeTo: {},
|
|
323
|
+
gallery: {},
|
|
324
|
+
days: {},
|
|
325
|
+
listingId: {},
|
|
326
|
+
tableGroupId: {},
|
|
327
|
+
maxOnlineReservationLimit: {},
|
|
328
|
+
minimumPersonCount: {},
|
|
329
|
+
soldOut: { type: Boolean },
|
|
330
|
+
useNumberOfProductsForPersons: { type: Boolean },
|
|
331
|
+
trackingEnabled: { type: Boolean },
|
|
332
|
+
callback: { type: Function }
|
|
333
|
+
},
|
|
334
|
+
setup(e) {
|
|
335
|
+
let { t } = b(), { updateEventDate: i } = j(), { display: c } = z(), l = p(), u = e;
|
|
336
|
+
function m() {
|
|
337
|
+
l.value ? i(l.value) : c({
|
|
338
|
+
message: t("alert.error.selectDate"),
|
|
339
|
+
type: "error"
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
let g = d(() => R(u.fromDate, u.toDate) <= 1), _ = d(() => [
|
|
343
|
+
0,
|
|
344
|
+
1,
|
|
345
|
+
2,
|
|
346
|
+
3,
|
|
347
|
+
4,
|
|
348
|
+
5,
|
|
349
|
+
6
|
|
350
|
+
].filter((e) => !oe(u.days).includes(e)));
|
|
351
|
+
return S(() => {
|
|
352
|
+
g.value && (l.value = new Date(u.fromDate));
|
|
353
|
+
}), (i, c) => (f(), r($, {
|
|
354
|
+
name: e.name,
|
|
355
|
+
description: e.description,
|
|
356
|
+
"from-date": e.fromDate,
|
|
357
|
+
"to-date": e.toDate,
|
|
358
|
+
length: e.length,
|
|
359
|
+
"time-from": e.timeFrom,
|
|
360
|
+
"time-to": e.timeTo,
|
|
361
|
+
gallery: e.gallery,
|
|
362
|
+
days: e.days,
|
|
363
|
+
"listing-id": e.listingId,
|
|
364
|
+
"table-group-id": e.tableGroupId,
|
|
365
|
+
"max-online-reservation-limit": e.maxOnlineReservationLimit,
|
|
366
|
+
"minimum-person-count": e.minimumPersonCount,
|
|
367
|
+
"use-number-of-products-for-persons": e.useNumberOfProductsForPersons,
|
|
368
|
+
"tracking-enabled": e.trackingEnabled,
|
|
369
|
+
"sold-out": e.soldOut,
|
|
370
|
+
callback: e.callback,
|
|
371
|
+
"disable-deep-link": !0
|
|
372
|
+
}, {
|
|
373
|
+
action: h(() => [a("div", null, [a("div", Ve, [s(me, {
|
|
374
|
+
modelValue: l.value,
|
|
375
|
+
"onUpdate:modelValue": c[0] ||= (e) => l.value = e,
|
|
376
|
+
label: `${o(t)("event.selectDate")}*`,
|
|
377
|
+
placeholder: o(t)("event.selectDate"),
|
|
378
|
+
"icon-type": "fas",
|
|
379
|
+
"icon-placement": "label",
|
|
380
|
+
readonly: g.value,
|
|
381
|
+
"start-date": e.fromDate === "0001-01-01T00:00:00Z" ? new Date(e.toDate) : new Date(e.fromDate),
|
|
382
|
+
"min-date": e.fromDate === "0001-01-01T00:00:00Z" ? new Date(e.toDate) : new Date(e.fromDate),
|
|
383
|
+
"max-date": new Date(e.toDate),
|
|
384
|
+
"disabled-week-days": _.value
|
|
385
|
+
}, null, 8, [
|
|
386
|
+
"modelValue",
|
|
387
|
+
"label",
|
|
388
|
+
"placeholder",
|
|
389
|
+
"readonly",
|
|
390
|
+
"start-date",
|
|
391
|
+
"min-date",
|
|
392
|
+
"max-date",
|
|
393
|
+
"disabled-week-days"
|
|
394
|
+
]), a("div", He, [s(K, {
|
|
395
|
+
label: o(t)("availability.buttonLabel"),
|
|
396
|
+
onClick: k(m, ["prevent"])
|
|
397
|
+
}, null, 8, ["label"])])]), a("div", Ue, [g.value ? (f(), y("span", We, [v("*" + n(o(t)("event.canBeBooked")) + " ", 1), a("u", null, n(o(P)(e.fromDate)), 1)])) : (f(), y("span", Ge, [v("*" + n(o(t)("event.canBeBooked")) + " ", 1), a("u", null, n(o(L)(e.days)), 1)]))])])]),
|
|
398
|
+
_: 1
|
|
399
|
+
}, 8, [
|
|
400
|
+
"name",
|
|
401
|
+
"description",
|
|
402
|
+
"from-date",
|
|
403
|
+
"to-date",
|
|
404
|
+
"length",
|
|
405
|
+
"time-from",
|
|
406
|
+
"time-to",
|
|
407
|
+
"gallery",
|
|
408
|
+
"days",
|
|
409
|
+
"listing-id",
|
|
410
|
+
"table-group-id",
|
|
411
|
+
"max-online-reservation-limit",
|
|
412
|
+
"minimum-person-count",
|
|
413
|
+
"use-number-of-products-for-persons",
|
|
414
|
+
"tracking-enabled",
|
|
415
|
+
"sold-out",
|
|
416
|
+
"callback"
|
|
417
|
+
]));
|
|
418
|
+
}
|
|
419
|
+
}), [["__scopeId", "data-v-f6aed3b0"]]), qe = {
|
|
420
|
+
key: 0,
|
|
421
|
+
class: "konnectio-event-grouped-listings-container"
|
|
422
|
+
}, Je = { class: "konnectio-event-grouped-listings" }, Ye = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
423
|
+
__name: "NextEvent",
|
|
424
|
+
props: {
|
|
425
|
+
name: {},
|
|
426
|
+
events: {},
|
|
427
|
+
trackingEnabled: { type: Boolean },
|
|
428
|
+
callback: { type: Function }
|
|
429
|
+
},
|
|
430
|
+
setup(t) {
|
|
431
|
+
return (n, i) => t.events && t.events.length > 1 ? (f(), y("div", qe, [c("", !0), a("ul", Je, [(f(!0), y(O, null, e(t.events, ({ id: e, days: n, name: i, timeFrom: a, timeTo: o, fromDate: s, toDate: c, tableGroupId: l, description: u, soldOut: d, length: p, images: m, maxOnlineReservationLimit: h, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (f(), r(Ke, {
|
|
432
|
+
key: e,
|
|
433
|
+
type: "event",
|
|
434
|
+
"listing-id": e,
|
|
435
|
+
"table-group-id": l,
|
|
436
|
+
description: u,
|
|
437
|
+
name: i,
|
|
438
|
+
length: p,
|
|
439
|
+
gallery: m,
|
|
440
|
+
days: n,
|
|
441
|
+
"from-date": s,
|
|
442
|
+
"to-date": c,
|
|
443
|
+
"max-online-reservation-limit": g || h || v || void 0,
|
|
444
|
+
"time-from": a,
|
|
445
|
+
"time-to": o,
|
|
446
|
+
"sold-out": d,
|
|
447
|
+
"use-number-of-products-for-persons": _,
|
|
448
|
+
"tracking-enabled": t.trackingEnabled,
|
|
449
|
+
callback: t.callback
|
|
450
|
+
}, null, 8, [
|
|
451
|
+
"listing-id",
|
|
452
|
+
"table-group-id",
|
|
453
|
+
"description",
|
|
454
|
+
"name",
|
|
455
|
+
"length",
|
|
456
|
+
"gallery",
|
|
457
|
+
"days",
|
|
458
|
+
"from-date",
|
|
459
|
+
"to-date",
|
|
460
|
+
"max-online-reservation-limit",
|
|
461
|
+
"time-from",
|
|
462
|
+
"time-to",
|
|
463
|
+
"sold-out",
|
|
464
|
+
"use-number-of-products-for-persons",
|
|
465
|
+
"tracking-enabled",
|
|
466
|
+
"callback"
|
|
467
|
+
]))), 128))])])) : t.events ? (f(), r(Ke, {
|
|
468
|
+
key: t.events[0].id,
|
|
469
|
+
type: "event",
|
|
470
|
+
"listing-id": t.events[0].id,
|
|
471
|
+
"table-group-id": t.events[0].tableGroupId,
|
|
472
|
+
description: t.events[0].description,
|
|
473
|
+
name: t.events[0].name,
|
|
474
|
+
length: t.events[0].length,
|
|
475
|
+
gallery: t.events[0].images,
|
|
476
|
+
days: t.events[0].days,
|
|
477
|
+
"from-date": t.events[0].fromDate,
|
|
478
|
+
"to-date": t.events[0].toDate,
|
|
479
|
+
"max-online-reservation-limit": t.events[0].maxPaxPerReservation || t.events[0].maxOnlineReservationLimit || t.events[0].maxTicketsLimit || void 0,
|
|
480
|
+
"time-from": t.events[0].timeFrom,
|
|
481
|
+
"time-to": t.events[0].timeTo,
|
|
482
|
+
"sold-out": t.events[0].soldOut,
|
|
483
|
+
"use-number-of-products-for-persons": t.events[0].useNumberOfProductsForPersons,
|
|
484
|
+
"tracking-enabled": t.trackingEnabled,
|
|
485
|
+
callback: t.callback
|
|
486
|
+
}, null, 8, [
|
|
487
|
+
"listing-id",
|
|
488
|
+
"table-group-id",
|
|
489
|
+
"description",
|
|
490
|
+
"name",
|
|
491
|
+
"length",
|
|
492
|
+
"gallery",
|
|
493
|
+
"days",
|
|
494
|
+
"from-date",
|
|
495
|
+
"to-date",
|
|
496
|
+
"max-online-reservation-limit",
|
|
497
|
+
"time-from",
|
|
498
|
+
"time-to",
|
|
499
|
+
"sold-out",
|
|
500
|
+
"use-number-of-products-for-persons",
|
|
501
|
+
"tracking-enabled",
|
|
502
|
+
"callback"
|
|
503
|
+
])) : c("", !0);
|
|
504
|
+
}
|
|
505
|
+
}), [["__scopeId", "data-v-39263761"]]), Xe = ["innerHTML"], Ze = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
506
|
+
__name: "FallbackEvent",
|
|
507
|
+
props: {
|
|
508
|
+
name: {},
|
|
509
|
+
description: {},
|
|
510
|
+
fromDate: {},
|
|
511
|
+
gallery: {},
|
|
512
|
+
days: {},
|
|
513
|
+
listingId: {},
|
|
514
|
+
trackingEnabled: { type: Boolean },
|
|
515
|
+
callback: { type: Function }
|
|
516
|
+
},
|
|
517
|
+
setup(e) {
|
|
518
|
+
let { t } = b();
|
|
519
|
+
return (n, i) => (f(), r($, {
|
|
520
|
+
name: e.name,
|
|
521
|
+
description: e.description,
|
|
522
|
+
"from-date": e.fromDate,
|
|
523
|
+
gallery: e.gallery,
|
|
524
|
+
days: e.days,
|
|
525
|
+
"listing-id": e.listingId,
|
|
526
|
+
"tracking-enabled": e.trackingEnabled,
|
|
527
|
+
callback: e.callback,
|
|
528
|
+
"disable-deep-link": !0
|
|
529
|
+
}, {
|
|
530
|
+
action: h(() => [a("div", {
|
|
531
|
+
class: "konnectio-filter-notice konnectio-top-message",
|
|
532
|
+
innerHTML: o(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
|
|
533
|
+
}, null, 8, Xe)]),
|
|
534
|
+
_: 1
|
|
535
|
+
}, 8, [
|
|
536
|
+
"name",
|
|
537
|
+
"description",
|
|
538
|
+
"from-date",
|
|
539
|
+
"gallery",
|
|
540
|
+
"days",
|
|
541
|
+
"listing-id",
|
|
542
|
+
"tracking-enabled",
|
|
543
|
+
"callback"
|
|
544
|
+
]));
|
|
545
|
+
}
|
|
546
|
+
}), [["__scopeId", "data-v-0167deff"]]), Qe = /* @__PURE__ */ l({
|
|
547
|
+
__name: "Template",
|
|
548
|
+
props: {
|
|
549
|
+
name: {},
|
|
550
|
+
description: {},
|
|
551
|
+
fromDate: {},
|
|
552
|
+
toDate: {},
|
|
553
|
+
listingId: {},
|
|
554
|
+
tableGroupId: {},
|
|
555
|
+
maxOnlineReservationLimit: {},
|
|
556
|
+
minimumPersonCount: {},
|
|
557
|
+
fromPrice: { default: 0 },
|
|
558
|
+
images: {},
|
|
559
|
+
trackingEnabled: { type: Boolean },
|
|
560
|
+
callback: {}
|
|
561
|
+
},
|
|
562
|
+
setup(e) {
|
|
563
|
+
return (t, n) => (f(), r(Me, {
|
|
564
|
+
"listing-id": e.listingId,
|
|
565
|
+
gallery: e.images,
|
|
566
|
+
name: e.name,
|
|
567
|
+
description: e.description,
|
|
568
|
+
"prices-from": e.fromPrice,
|
|
569
|
+
"to-date": e.toDate,
|
|
570
|
+
type: "template",
|
|
571
|
+
"tracking-enabled": e.trackingEnabled,
|
|
572
|
+
callback: e.callback
|
|
573
|
+
}, null, 8, [
|
|
574
|
+
"listing-id",
|
|
575
|
+
"gallery",
|
|
576
|
+
"name",
|
|
577
|
+
"description",
|
|
578
|
+
"prices-from",
|
|
579
|
+
"to-date",
|
|
580
|
+
"tracking-enabled",
|
|
581
|
+
"callback"
|
|
582
|
+
]));
|
|
583
|
+
}
|
|
584
|
+
}), $e = {
|
|
585
|
+
key: 0,
|
|
586
|
+
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
587
|
+
}, et = ["innerHTML"], tt = { key: 0 }, nt = { key: 1 }, rt = { key: 2 }, it = { key: 0 }, at = { key: 4 }, ot = { key: 5 }, st = { key: 6 }, ct = { key: 0 }, lt = { key: 0 }, ut = { key: 1 }, dt = {
|
|
588
|
+
key: 0,
|
|
589
|
+
class: "konnectio-capitalize"
|
|
590
|
+
}, ft = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
591
|
+
__name: "EventReservationForm",
|
|
592
|
+
props: {
|
|
593
|
+
showGiftCard: {
|
|
594
|
+
type: Boolean,
|
|
595
|
+
default: !1
|
|
596
|
+
},
|
|
597
|
+
showTermsNotice: {
|
|
598
|
+
type: Boolean,
|
|
599
|
+
default: !1
|
|
600
|
+
},
|
|
601
|
+
prevCallback: {}
|
|
602
|
+
},
|
|
603
|
+
setup(i) {
|
|
604
|
+
let { t: s } = b(), l = T(), { areListingsAvailable: u, arrivalTime: d, numberOfPeople: p, numberOfRooms: m, numberOfTotalDays: v, isTemplateEvent: x, currentEventDate: S, length: C, fromDate: w, tableBasePrice: E, getTemplateData: k, basePrice: A, totalPrice: ee, weekendFee: j, roomUpgrade: te, discountCode: N, totalSelectedProducts: F, discountValue: L, appliedDiscountCode: R } = D(q()), { totalAddonPrice: z, validateDiscountCode: ne } = q(), { currency: B, hideEventLength: V } = D(M()), H = s("event.reservationNotice");
|
|
605
|
+
return (b, T) => (f(), r(Se, {
|
|
606
|
+
"discount-code": o(N),
|
|
607
|
+
"onUpdate:discountCode": T[0] ||= (e) => _(N) ? N.value = e : null,
|
|
608
|
+
"validate-discount-code": o(ne),
|
|
609
|
+
"show-gift-card": i.showGiftCard,
|
|
610
|
+
"show-terms-notice": i.showTermsNotice,
|
|
611
|
+
"is-sidebar-loading": !o(u),
|
|
612
|
+
"base-price": o(A),
|
|
613
|
+
"total-price": o(ee),
|
|
614
|
+
"weekend-fee": o(j),
|
|
615
|
+
"room-upgrade": o(te),
|
|
616
|
+
notice: o(H),
|
|
617
|
+
"prev-callback": i.prevCallback
|
|
618
|
+
}, t({
|
|
619
|
+
form: h(() => [g(b.$slots, "form", {}, void 0, !0), o(H) ? (f(), y("div", $e, [a("p", {
|
|
620
|
+
innerHTML: o(H),
|
|
621
|
+
class: "konnectio-wysiwyg"
|
|
622
|
+
}, null, 8, et)])) : c("", !0)]),
|
|
623
|
+
"reservation-summary": h(() => [
|
|
624
|
+
o(x) ? c("", !0) : (f(), y("li", tt, [a("span", null, n(o(s)("general.date")), 1), a("b", null, n(o(P)(o(S))), 1)])),
|
|
625
|
+
o(p) > 0 ? (f(), y("li", nt, [a("span", null, n(o(s)("event.numberOfGuests")), 1), a("b", null, n(o(p)), 1)])) : c("", !0),
|
|
626
|
+
!o(x) && o(F) > 0 ? (f(), y("li", rt, [a("span", null, n(o(s)("event.numberOfProducts")), 1), a("b", null, n(o(F)), 1)])) : c("", !0),
|
|
627
|
+
o(x) ? (f(), y(O, { key: 3 }, [
|
|
628
|
+
a("li", null, [a("span", null, n(o(s)("booking.reservation.arrival")), 1), a("b", null, n(o(P)(o(w))), 1)]),
|
|
629
|
+
a("li", null, [a("span", null, n(o(s)("booking.reservation.departure")), 1), a("b", null, n(o(P)(o(w), o(v))), 1)]),
|
|
630
|
+
a("li", null, [a("span", null, n(o(s)("event.numberOfRooms")), 1), a("b", null, n(o(m)), 1)]),
|
|
631
|
+
o(v) > 0 ? (f(), y("li", it, [a("span", null, n(o(s)("event.numberOfDays")), 1), a("b", null, n(o(v)), 1)])) : c("", !0)
|
|
632
|
+
], 64)) : c("", !0),
|
|
633
|
+
!o(x) && o(d) ? (f(), y("li", at, [a("span", null, n(o(s)("event.startOfEvent")), 1), a("b", null, n(o(U)(o(d))), 1)])) : c("", !0),
|
|
634
|
+
!o(x) && o(C) && !o(V) ? (f(), y("li", ot, [a("span", null, n(o(s)("event.lengthOfEvent")), 1), a("b", null, n(o(U)(o(C))), 1)])) : c("", !0),
|
|
635
|
+
o(L) ? (f(), y("li", st, [a("span", null, n(o(s)("general.discountCode")), 1), a("b", null, n(o(R)), 1)])) : c("", !0)
|
|
636
|
+
]),
|
|
637
|
+
"price-summary": h(() => [!o(x) && o(E) > 0 ? (f(), y("li", ct, [a("span", null, n(o(s)("booking.availability.basePrice")), 1), a("b", null, n(o(I)(o(E), o(B))), 1)])) : c("", !0), o(k) ? (f(!0), y(O, { key: 1 }, e(o(k), ({ roomGroupId: e }, t) => (f(), y(O, null, [o(z)(e, t) > 0 ? (f(), y("li", { key: e }, [a("span", null, n(o(s)("booking.reservation.addons")) + " - " + n(o(s)("booking.reservation.room")) + " #" + n(t + 1), 1), a("b", null, n(o(I)(o(z)(e, t), o(B))), 1)])) : c("", !0)], 64))), 256)) : c("", !0)]),
|
|
638
|
+
navigation: h(() => [g(b.$slots, "navigation", {}, void 0, !0)]),
|
|
639
|
+
"mobile-under-price": h(() => [o(x) && o(v) > 0 ? (f(), y("div", lt, [a("span", null, n(o(P)(o(w))) + " - " + n(o(P)(o(w), o(v))), 1)])) : (f(), y("div", ut, [a("span", null, n(o(P)(o(S))), 1)]))]),
|
|
640
|
+
"mobile-summary": h(() => [!o(x) && o(F) > 0 ? (f(), y("span", dt, n(o(s)("event.numberOfProducts")) + ": " + n(o(F)), 1)) : c("", !0)]),
|
|
641
|
+
_: 2
|
|
642
|
+
}, [o(l).sidebar ? {
|
|
643
|
+
name: "sidebar",
|
|
644
|
+
fn: h(() => [g(b.$slots, "sidebar", {}, void 0, !0)]),
|
|
645
|
+
key: "0"
|
|
646
|
+
} : void 0]), 1032, [
|
|
647
|
+
"discount-code",
|
|
648
|
+
"validate-discount-code",
|
|
649
|
+
"show-gift-card",
|
|
650
|
+
"show-terms-notice",
|
|
651
|
+
"is-sidebar-loading",
|
|
652
|
+
"base-price",
|
|
653
|
+
"total-price",
|
|
654
|
+
"weekend-fee",
|
|
655
|
+
"room-upgrade",
|
|
656
|
+
"notice",
|
|
657
|
+
"prev-callback"
|
|
658
|
+
]));
|
|
659
|
+
}
|
|
660
|
+
}), [["__scopeId", "data-v-d2ff3f68"]]), pt = { class: "event-skeleton" }, mt = { class: "event-skeleton-content" }, ht = { class: "event-skeleton-sidebar" }, gt = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
661
|
+
__name: "EventSkeleton",
|
|
662
|
+
setup(e) {
|
|
663
|
+
return (e, t) => (f(), y("div", pt, [a("div", mt, [s(Ce)]), a("div", ht, [c("", !0), s(we)])]));
|
|
664
|
+
}
|
|
665
|
+
}), [["__scopeId", "data-v-3e15c4e3"]]), _t = {
|
|
666
|
+
key: 0,
|
|
667
|
+
id: "konnectio-event-listings-wrapper"
|
|
668
|
+
}, vt = {
|
|
669
|
+
key: 1,
|
|
670
|
+
class: "konnectio-hotel-availability-title"
|
|
671
|
+
}, yt = { class: "konnectio-event-listings" }, bt = { class: "konnectio-hotel-availability-title" }, xt = { class: "konnectio-event-listings" }, St = ["innerHTML"], Ct = { class: "konnectio-panel" }, wt = {
|
|
672
|
+
key: 0,
|
|
673
|
+
id: "konnectio-event-addons"
|
|
674
|
+
}, Tt = { class: "konnectio-table with-lines" }, Et = { class: "konnectio-event-addons-price" }, Dt = { class: "konnectio-event-addons-input" }, Ot = { class: "konnectio-event-addons-price" }, kt = { class: "konnectio-event-addons-price" }, At = {
|
|
675
|
+
key: 1,
|
|
676
|
+
class: "konnectio-table with-lines without-header"
|
|
677
|
+
}, jt = { class: "konnectio-table-addons-information" }, Mt = { key: 0 }, Nt = { class: "konnectio-table-addons-option" }, Pt = { class: "konnectio-panel" }, Ft = /* @__PURE__ */ B(/* @__PURE__ */ l({
|
|
678
|
+
name: "EventLayout",
|
|
679
|
+
__name: "Event",
|
|
680
|
+
props: {
|
|
681
|
+
accessToken: {},
|
|
682
|
+
onlyShow: { default: "everything" },
|
|
683
|
+
selectedLocation: {},
|
|
684
|
+
resetDate: { default: "no" },
|
|
685
|
+
hideLocations: { default: "no" },
|
|
686
|
+
hideRemarks: { default: "no" },
|
|
687
|
+
hideAllergies: { default: "no" },
|
|
688
|
+
showFlagOnTable: { default: "no" },
|
|
689
|
+
showHighChairs: {},
|
|
690
|
+
sortOrder: { default: "asc" },
|
|
691
|
+
styling: {}
|
|
692
|
+
},
|
|
693
|
+
setup(t) {
|
|
694
|
+
let i = t, { t: l } = b(), p = q(), { addons: m, products: g, numberOfDays: x, flagOnTable: S, numberOfHighChairs: C, name: w, phone: T, email: E, remark: k, allergies: A, arrivalTime: P, hasEvents: L, hasTemplates: R, getTemplates: ne, getEventData: B, getTemplateData: V, getEventTableData: H, hasProducts: oe, eventRateType: ce, areListingsAvailable: le, isAvailabilityDataAvailable: ue, hasListingData: de, isPaymentLoading: fe, isReservationFormFilled: pe, requiresArrivalTime: me, hasSelectedRequiredProducts: he, getUnavailableEvents: Y, hasFallbackEvents: X, getFallbackEvents: ge } = D(p), ve = d(() => p.getSortedEvents(i.sortOrder)), { currency: Z, enableTracking: Q } = D(M()), { setActiveIdFilter: Se } = M(), { eventDate: we, eventLocation: Te } = D(j()), { isValidRestaurantId: Ee } = j(), { initialize: Ae, fetchListings: je, createBooking: Me, localAddonPrice: Ne, totalAddonPrice: Pe, reset: Fe, goBack: Ie } = q(), { beginEventCheckout: Le } = te(), { display: $ } = z(), Re = d(() => [
|
|
695
|
+
{
|
|
696
|
+
id: "availability",
|
|
697
|
+
label: l("booking.availability.title"),
|
|
698
|
+
icon: "search"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
id: "addons",
|
|
702
|
+
label: l("general.addons"),
|
|
703
|
+
icon: "shopping-cart",
|
|
704
|
+
hidden: !1
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
id: "reservation",
|
|
708
|
+
label: l("booking.reservation.title"),
|
|
709
|
+
icon: "concierge-bell"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
id: "payment",
|
|
713
|
+
hidden: !0
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
id: "confirmation",
|
|
717
|
+
label: l("booking.confirmation.title"),
|
|
718
|
+
icon: "calendar-check"
|
|
719
|
+
}
|
|
720
|
+
]), ze = d(() => {
|
|
721
|
+
let e = [];
|
|
722
|
+
return H.value && H.value.forEach((t) => {
|
|
723
|
+
e.find((e) => e.value === t.time) || e.push({
|
|
724
|
+
label: U(t.time),
|
|
725
|
+
value: t.time
|
|
726
|
+
});
|
|
727
|
+
}), e;
|
|
728
|
+
});
|
|
729
|
+
function Ve() {
|
|
730
|
+
Fe(i.resetDate === "yes");
|
|
731
|
+
}
|
|
732
|
+
function He(e) {
|
|
733
|
+
Q.value && Le(), Me(e);
|
|
734
|
+
}
|
|
735
|
+
function Ue() {
|
|
736
|
+
let e = ie("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
|
|
737
|
+
if (n) if (F(n)) {
|
|
738
|
+
let t = new Date(n);
|
|
739
|
+
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? we.value = t : ($({
|
|
740
|
+
message: l("alert.error.invalidDateRange"),
|
|
741
|
+
type: "error"
|
|
742
|
+
}), e.d = void 0);
|
|
743
|
+
} else $({
|
|
744
|
+
message: l("alert.error.wrongDateFormat"),
|
|
745
|
+
type: "error"
|
|
746
|
+
});
|
|
747
|
+
isNaN(t) || (Ee(t) ? Te.value = t : (e.rid = void 0, $({
|
|
748
|
+
message: l("alert.error.hotelIdNotFound"),
|
|
749
|
+
type: "error"
|
|
750
|
+
}))), isNaN(r) || Se(r), je();
|
|
751
|
+
}
|
|
752
|
+
return (i, d) => (f(), r(re, { styling: t.styling }, {
|
|
753
|
+
default: h(() => [(f(), r(u, { onResolve: Ue }, {
|
|
754
|
+
default: h(() => [s(se, {
|
|
755
|
+
id: "konnectio-event-module",
|
|
756
|
+
"access-token": t.accessToken,
|
|
757
|
+
callback: o(Ae)
|
|
758
|
+
}, {
|
|
759
|
+
default: h(() => [s(be, {
|
|
760
|
+
steps: Re.value,
|
|
761
|
+
onReset: Ve
|
|
762
|
+
}, {
|
|
763
|
+
availability: h(({ next: i }) => [s(ft, null, {
|
|
764
|
+
sidebar: h(() => [s(_e, {
|
|
765
|
+
redirection: !1,
|
|
766
|
+
"selected-location": Number(t.selectedLocation),
|
|
767
|
+
"hide-locations": t.hideLocations === "yes"
|
|
768
|
+
}, null, 8, ["selected-location", "hide-locations"])]),
|
|
769
|
+
form: h(() => [o(de) && o(le) ? (f(), y("div", _t, [
|
|
770
|
+
o(X) ? (f(!0), y(O, { key: 0 }, e(o(ge), ({ id: e, name: t, description: n, images: a }) => (f(), r(Ze, {
|
|
771
|
+
key: e,
|
|
772
|
+
type: "event",
|
|
773
|
+
"listing-id": e,
|
|
774
|
+
description: n,
|
|
775
|
+
name: t,
|
|
776
|
+
gallery: a,
|
|
777
|
+
"tracking-enabled": o(Q),
|
|
778
|
+
callback: i
|
|
779
|
+
}, null, 8, [
|
|
780
|
+
"listing-id",
|
|
781
|
+
"description",
|
|
782
|
+
"name",
|
|
783
|
+
"gallery",
|
|
784
|
+
"tracking-enabled",
|
|
785
|
+
"callback"
|
|
786
|
+
]))), 128)) : c("", !0),
|
|
787
|
+
ve.value.length > 0 && o(Y).length > 0 ? (f(), y("h2", vt, [s(J, {
|
|
788
|
+
icon: "calendar-clock",
|
|
789
|
+
type: "fal",
|
|
790
|
+
color: "header"
|
|
791
|
+
}), a("span", null, n(o(l)("event.availableNow")), 1)])) : c("", !0),
|
|
792
|
+
a("ul", yt, [o(L) && t.onlyShow !== "templates" ? (f(!0), y(O, { key: 0 }, e(ve.value, (e) => (f(), r(Be, {
|
|
793
|
+
name: e.name,
|
|
794
|
+
events: e.events,
|
|
795
|
+
"tracking-enabled": o(Q),
|
|
796
|
+
callback: i
|
|
797
|
+
}, null, 8, [
|
|
798
|
+
"name",
|
|
799
|
+
"events",
|
|
800
|
+
"tracking-enabled",
|
|
801
|
+
"callback"
|
|
802
|
+
]))), 256)) : c("", !0), o(R) && t.onlyShow !== "events" ? (f(!0), y(O, { key: 1 }, e(o(ne), ({ id: e, name: t, fromDate: n, toDate: a, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (f(), r(Qe, {
|
|
803
|
+
key: e,
|
|
804
|
+
"listing-id": e,
|
|
805
|
+
name: t,
|
|
806
|
+
images: u,
|
|
807
|
+
description: l,
|
|
808
|
+
"from-date": n,
|
|
809
|
+
"to-date": a,
|
|
810
|
+
"minimum-person-count": s,
|
|
811
|
+
fromPrice: c,
|
|
812
|
+
"tracking-enabled": o(Q),
|
|
813
|
+
callback: i
|
|
814
|
+
}, null, 8, [
|
|
815
|
+
"listing-id",
|
|
816
|
+
"name",
|
|
817
|
+
"images",
|
|
818
|
+
"description",
|
|
819
|
+
"from-date",
|
|
820
|
+
"to-date",
|
|
821
|
+
"minimum-person-count",
|
|
822
|
+
"fromPrice",
|
|
823
|
+
"tracking-enabled",
|
|
824
|
+
"callback"
|
|
825
|
+
]))), 128)) : c("", !0)]),
|
|
826
|
+
o(Y).length > 0 && t.onlyShow !== "templates" ? (f(), y(O, { key: 2 }, [a("h2", bt, [s(J, {
|
|
827
|
+
icon: "calendar-circle-exclamation",
|
|
828
|
+
type: "fal",
|
|
829
|
+
color: "header"
|
|
830
|
+
}), a("span", null, n(o(l)("event.availableLater")), 1)]), a("ul", xt, [(f(!0), y(O, null, e(o(Y), (e) => (f(), r(Ye, {
|
|
831
|
+
name: e.name,
|
|
832
|
+
events: e.events,
|
|
833
|
+
"tracking-enabled": o(Q),
|
|
834
|
+
callback: i
|
|
835
|
+
}, null, 8, [
|
|
836
|
+
"name",
|
|
837
|
+
"events",
|
|
838
|
+
"tracking-enabled",
|
|
839
|
+
"callback"
|
|
840
|
+
]))), 256))])], 64)) : c("", !0),
|
|
841
|
+
(!o(L) && !o(R) || !o(L) && t.onlyShow === "events" || !o(R) && t.onlyShow === "templates") && !o(X) ? (f(), y("div", {
|
|
842
|
+
key: 3,
|
|
843
|
+
class: "konnectio-panel",
|
|
844
|
+
innerHTML: o(l)("event.nothingAvailable")
|
|
845
|
+
}, null, 8, St)) : c("", !0)
|
|
846
|
+
])) : (f(), r(Ce, { key: 1 }))]),
|
|
847
|
+
_: 2
|
|
848
|
+
}, 1024)]),
|
|
849
|
+
addons: h(({ next: t, prev: i }) => [o(ue) ? (f(), r(ft, {
|
|
850
|
+
key: 0,
|
|
851
|
+
"prev-callback": () => o(Ie)(i)
|
|
852
|
+
}, {
|
|
853
|
+
form: h(() => [a("form", Ct, [
|
|
854
|
+
a("h2", null, [a("span", null, n(o(l)("event.selectProducts")), 1)]),
|
|
855
|
+
o(V) && o(V).length > 0 ? (f(), y("ul", wt, [(f(!0), y(O, null, e(o(V), ({ roomGroupId: t, addons: i, adultPerRoom: c }, u) => (f(), y("li", { key: t }, [a("h5", null, [
|
|
856
|
+
a("span", null, n(o(l)("booking.reservation.room")) + " #" + n(u + 1), 1),
|
|
857
|
+
d[9] ||= v(" (", -1),
|
|
858
|
+
s(J, {
|
|
859
|
+
icon: "male",
|
|
860
|
+
type: "fas",
|
|
861
|
+
color: "header"
|
|
862
|
+
}),
|
|
863
|
+
v(" " + n(c) + ") ", 1)
|
|
864
|
+
]), a("table", Tt, [
|
|
865
|
+
a("thead", null, [a("tr", null, [
|
|
866
|
+
a("th", null, [a("span", null, n(o(l)("booking.reservation.addons")), 1)]),
|
|
867
|
+
d[10] ||= a("th", { class: "konnectio-event-addons-input" }, null, -1),
|
|
868
|
+
a("th", Et, [a("span", null, n(o(l)("booking.availability.price")), 1)])
|
|
869
|
+
])]),
|
|
870
|
+
a("tbody", null, [(f(!0), y(O, null, e(i, ({ id: e, cardinality: i, name: s, price: c, quantityStrategy: l }) => (f(), y("tr", { key: e }, [
|
|
871
|
+
a("td", null, [
|
|
872
|
+
a("b", null, n(s), 1),
|
|
873
|
+
d[11] ||= a("br", null, null, -1),
|
|
874
|
+
a("span", null, n(o(I)(c, o(Z))) + " " + n(o(ee)(l)), 1)
|
|
875
|
+
]),
|
|
876
|
+
a("td", Dt, [i === 3 ? (f(), r(G, {
|
|
877
|
+
key: 0,
|
|
878
|
+
modelValue: o(m)[`${t}.${e}.${u}`],
|
|
879
|
+
"onUpdate:modelValue": (n) => o(m)[`${t}.${e}.${u}`] = n,
|
|
880
|
+
small: !0,
|
|
881
|
+
"min-value": 0
|
|
882
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (f(), r(Oe, {
|
|
883
|
+
key: 1,
|
|
884
|
+
modelValue: o(m)[`${t}.${e}.${u}`],
|
|
885
|
+
"onUpdate:modelValue": (n) => o(m)[`${t}.${e}.${u}`] = n,
|
|
886
|
+
numeric: !0
|
|
887
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))]),
|
|
888
|
+
a("td", Ot, [a("span", null, n(o(I)(o(Ne)(e, t, u), o(Z))), 1)])
|
|
889
|
+
]))), 128))]),
|
|
890
|
+
a("tfoot", null, [a("tr", null, [
|
|
891
|
+
d[12] ||= a("td", null, null, -1),
|
|
892
|
+
d[13] ||= a("td", null, null, -1),
|
|
893
|
+
a("td", kt, [a("u", null, [a("span", null, n(o(I)(o(Pe)(t, u), o(Z))), 1)])])
|
|
894
|
+
])])
|
|
895
|
+
])]))), 128))])) : c("", !0),
|
|
896
|
+
o(oe) ? (f(), y("table", At, [a("tbody", null, [(f(!0), y(O, null, e(o(B).products, ({ id: e, name: t, price: r, description: i }) => (f(), y("tr", { key: e }, [a("td", jt, [
|
|
897
|
+
a("b", null, [a("span", null, n(o(N)(t)), 1)]),
|
|
898
|
+
i && i !== t ? (f(), y("span", Mt, n(o(N)(i)), 1)) : c("", !0),
|
|
899
|
+
a("u", null, n(o(I)(r, o(Z))), 1)
|
|
900
|
+
]), a("td", Nt, [s(G, {
|
|
901
|
+
modelValue: o(g)[e],
|
|
902
|
+
"onUpdate:modelValue": (t) => o(g)[e] = t,
|
|
903
|
+
small: !0,
|
|
904
|
+
"min-value": 0
|
|
905
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : c("", !0)
|
|
906
|
+
])]),
|
|
907
|
+
navigation: h(() => [s(K, {
|
|
908
|
+
label: o(l)("event.startReservation"),
|
|
909
|
+
disabled: !o(he),
|
|
910
|
+
"full-width": "",
|
|
911
|
+
onClickEvent: t
|
|
912
|
+
}, null, 8, [
|
|
913
|
+
"label",
|
|
914
|
+
"disabled",
|
|
915
|
+
"onClickEvent"
|
|
916
|
+
])]),
|
|
917
|
+
_: 2
|
|
918
|
+
}, 1032, ["prev-callback"])) : c("", !0)]),
|
|
919
|
+
reservation: h(({ next: e, prev: i }) => [s(ft, {
|
|
920
|
+
"show-terms-notice": !0,
|
|
921
|
+
"show-gift-card": !0,
|
|
922
|
+
"prev-callback": () => o(Ie)(i)
|
|
923
|
+
}, {
|
|
924
|
+
form: h(() => [a("form", Pt, [
|
|
925
|
+
a("h2", null, [a("span", null, n(o(l)("booking.reservation.detailsTitle")), 1)]),
|
|
926
|
+
s(W, {
|
|
927
|
+
modelValue: o(w),
|
|
928
|
+
"onUpdate:modelValue": d[0] ||= (e) => _(w) ? w.value = e : null,
|
|
929
|
+
type: "text",
|
|
930
|
+
label: o(l)("booking.reservation.name"),
|
|
931
|
+
icon: "user-alt",
|
|
932
|
+
placeholder: o(l)("booking.reservation.namePlaceholder"),
|
|
933
|
+
required: ""
|
|
934
|
+
}, null, 8, [
|
|
935
|
+
"modelValue",
|
|
936
|
+
"label",
|
|
937
|
+
"placeholder"
|
|
938
|
+
]),
|
|
939
|
+
s(W, {
|
|
940
|
+
modelValue: o(E),
|
|
941
|
+
"onUpdate:modelValue": d[1] ||= (e) => _(E) ? E.value = e : null,
|
|
942
|
+
label: o(l)("booking.reservation.email"),
|
|
943
|
+
type: "email",
|
|
944
|
+
name: "email",
|
|
945
|
+
autocomplete: "email",
|
|
946
|
+
icon: "at",
|
|
947
|
+
placeholder: o(l)("booking.reservation.emailPlaceholder"),
|
|
948
|
+
required: ""
|
|
949
|
+
}, null, 8, [
|
|
950
|
+
"modelValue",
|
|
951
|
+
"label",
|
|
952
|
+
"placeholder"
|
|
953
|
+
]),
|
|
954
|
+
s(De, {
|
|
955
|
+
modelValue: o(T),
|
|
956
|
+
"onUpdate:modelValue": d[2] ||= (e) => _(T) ? T.value = e : null,
|
|
957
|
+
label: o(l)("booking.reservation.phone"),
|
|
958
|
+
icon: "phone-office",
|
|
959
|
+
placeholder: o(l)("booking.reservation.phonePlaceholder"),
|
|
960
|
+
required: ""
|
|
961
|
+
}, null, 8, [
|
|
962
|
+
"modelValue",
|
|
963
|
+
"label",
|
|
964
|
+
"placeholder"
|
|
965
|
+
]),
|
|
966
|
+
o(me) ? (f(), r(xe, {
|
|
967
|
+
key: 0,
|
|
968
|
+
modelValue: o(P),
|
|
969
|
+
"onUpdate:modelValue": d[3] ||= (e) => _(P) ? P.value = e : null,
|
|
970
|
+
label: o(l)("event.selectArrivalTime"),
|
|
971
|
+
name: "eventTimeTable",
|
|
972
|
+
checkboxes: ze.value,
|
|
973
|
+
required: ""
|
|
974
|
+
}, null, 8, [
|
|
975
|
+
"modelValue",
|
|
976
|
+
"label",
|
|
977
|
+
"checkboxes"
|
|
978
|
+
])) : c("", !0),
|
|
979
|
+
o(ce) === o(ae).FullDayEvent ? (f(), r(G, {
|
|
980
|
+
key: 1,
|
|
981
|
+
modelValue: o(x),
|
|
982
|
+
"onUpdate:modelValue": d[4] ||= (e) => _(x) ? x.value = e : null,
|
|
983
|
+
label: o(l)("event.numberOfDays"),
|
|
984
|
+
"min-value": 1,
|
|
985
|
+
required: ""
|
|
986
|
+
}, null, 8, ["modelValue", "label"])) : c("", !0),
|
|
987
|
+
t.showHighChairs === "yes" ? (f(), r(G, {
|
|
988
|
+
key: 2,
|
|
989
|
+
modelValue: o(C),
|
|
990
|
+
"onUpdate:modelValue": d[5] ||= (e) => _(C) ? C.value = e : null,
|
|
991
|
+
label: o(l)("event.numberOfHighChairs"),
|
|
992
|
+
icon: "baby",
|
|
993
|
+
"no-optional-label": !1
|
|
994
|
+
}, null, 8, ["modelValue", "label"])) : c("", !0),
|
|
995
|
+
t.showFlagOnTable === "yes" ? (f(), r(Oe, {
|
|
996
|
+
key: 3,
|
|
997
|
+
modelValue: o(S),
|
|
998
|
+
"onUpdate:modelValue": d[6] ||= (e) => _(S) ? S.value = e : null,
|
|
999
|
+
label: o(l)("event.flagOnTable")
|
|
1000
|
+
}, null, 8, ["modelValue", "label"])) : c("", !0),
|
|
1001
|
+
t.hideRemarks === "yes" ? c("", !0) : (f(), r(W, {
|
|
1002
|
+
key: 4,
|
|
1003
|
+
modelValue: o(k),
|
|
1004
|
+
"onUpdate:modelValue": d[7] ||= (e) => _(k) ? k.value = e : null,
|
|
1005
|
+
type: "textarea",
|
|
1006
|
+
label: o(l)("booking.reservation.remark"),
|
|
1007
|
+
icon: "info-circle",
|
|
1008
|
+
placeholder: o(l)("booking.reservation.remarkPlaceholder")
|
|
1009
|
+
}, null, 8, [
|
|
1010
|
+
"modelValue",
|
|
1011
|
+
"label",
|
|
1012
|
+
"placeholder"
|
|
1013
|
+
])),
|
|
1014
|
+
t.hideAllergies !== "yes" && o(B)?.showAllergyFoodFieldOnline ? (f(), r(W, {
|
|
1015
|
+
key: 5,
|
|
1016
|
+
modelValue: o(A),
|
|
1017
|
+
"onUpdate:modelValue": d[8] ||= (e) => _(A) ? A.value = e : null,
|
|
1018
|
+
type: "textarea",
|
|
1019
|
+
label: o(l)("booking.reservation.allergies"),
|
|
1020
|
+
icon: "allergies",
|
|
1021
|
+
placeholder: o(l)("booking.reservation.allergiesPlaceholder")
|
|
1022
|
+
}, null, 8, [
|
|
1023
|
+
"modelValue",
|
|
1024
|
+
"label",
|
|
1025
|
+
"placeholder"
|
|
1026
|
+
])) : c("", !0)
|
|
1027
|
+
])]),
|
|
1028
|
+
navigation: h(() => [s(K, {
|
|
1029
|
+
label: o(l)("general.confirmReservation"),
|
|
1030
|
+
"is-loading": o(fe),
|
|
1031
|
+
disabled: !o(pe),
|
|
1032
|
+
"full-width": "",
|
|
1033
|
+
onClickEvent: (t) => He(e)
|
|
1034
|
+
}, null, 8, [
|
|
1035
|
+
"label",
|
|
1036
|
+
"is-loading",
|
|
1037
|
+
"disabled",
|
|
1038
|
+
"onClickEvent"
|
|
1039
|
+
])]),
|
|
1040
|
+
_: 2
|
|
1041
|
+
}, 1032, ["prev-callback"])]),
|
|
1042
|
+
payment: h(() => [s(ke)]),
|
|
1043
|
+
confirmation: h(() => [s(ye, { message: o(l)("event.confirmationMessage") }, null, 8, ["message"])]),
|
|
1044
|
+
_: 1
|
|
1045
|
+
}, 8, ["steps"])]),
|
|
1046
|
+
_: 1
|
|
1047
|
+
}, 8, ["access-token", "callback"])]),
|
|
1048
|
+
fallback: h(() => [s(gt)]),
|
|
1049
|
+
_: 1
|
|
1050
|
+
}))]),
|
|
1051
|
+
_: 1
|
|
1052
|
+
}, 8, ["styling"]));
|
|
1053
|
+
}
|
|
1054
|
+
}), [["__scopeId", "data-v-f58c56d6"]]), It = m(), Lt = E(), Rt = class extends HTMLElement {
|
|
1055
|
+
vueApp;
|
|
1056
|
+
constructor() {
|
|
1057
|
+
super();
|
|
1058
|
+
}
|
|
1059
|
+
disconnectedCallback() {
|
|
1060
|
+
this.vueApp.unmount();
|
|
1061
|
+
}
|
|
1062
|
+
connectedCallback() {
|
|
1063
|
+
let e = w(Ft, this.attributes);
|
|
1064
|
+
this.vueApp = x(Ft, e), this.vueApp.provide("emitter", Lt), this.vueApp.use(A), this.vueApp.use(C), this.vueApp.use(It), this.vueApp.use(Te), this.vueApp.use(ve), this.vueApp.use(Q);
|
|
1065
|
+
let t = document.createElement("div");
|
|
1066
|
+
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
1067
|
+
}
|
|
1193
1068
|
};
|
|
1194
|
-
|
|
1069
|
+
window.customElements.define("konnectio-event", Rt);
|
|
1070
|
+
//#endregion
|
|
1071
|
+
export { Rt as default };
|