@konnectio/core 4.2.1 → 4.2.2
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-Bcy5D_-Z.js → ActionField-D4-xFqsi.js} +2 -2
- package/dist/ActionField-D4-xFqsi.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DE75BETc.js → AvailabilitySkeleton-PECkwtXv.js} +5 -5
- package/dist/AvailabilitySkeleton-PECkwtXv.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-AwKhgw1y.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js.br +0 -0
- package/dist/{CheckoutWindow-bU1z5tKT.js → CheckoutWindow-BiVijMff.js} +2 -2
- package/dist/CheckoutWindow-BiVijMff.js.br +0 -0
- package/dist/{ErrorMessage-C1fuMuGn.js → ErrorMessage-CA9UHGeN.js} +2 -2
- package/dist/ErrorMessage-CA9UHGeN.js.br +0 -0
- package/dist/{EventAvailabilityForm-B9zzngfg.js → EventAvailabilityForm-BegeTLnc.js} +3 -3
- package/dist/EventAvailabilityForm-BegeTLnc.js.br +0 -0
- package/dist/{Field-BRJ9Ribk.js → Field-BkQsgaIV.js} +3 -3
- package/dist/Field-BkQsgaIV.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Crusy0Cn.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-ysPyDXQ-.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-Dz41Lkl5.js → SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js} +811 -810
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js.br +0 -0
- package/dist/{TermsOfService-BlaDn79S.js → TermsOfService-DEMDueQM.js} +3 -3
- package/dist/_-DXRM8SN0.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-D12jEOTl.js → _.vue_vue_type_style_index_0_lang-CqZnPVm4.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +232 -228
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-C2J9lmv0.js → giftCard-DsZ5JsJN.js} +2 -2
- package/dist/giftCard-DsZ5JsJN.js.br +0 -0
- package/dist/hotel.js +1073 -1072
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CRhNH_fs.js → masonry.plugin-B7soNeYB.js} +5 -5
- package/dist/masonry.plugin-B7soNeYB.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-Bcy5D_-Z.js.br +0 -0
- package/dist/AvailabilitySkeleton-DE75BETc.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-AwKhgw1y.js.br +0 -0
- package/dist/CheckoutWindow-bU1z5tKT.js.br +0 -0
- package/dist/ErrorMessage-C1fuMuGn.js.br +0 -0
- package/dist/EventAvailabilityForm-B9zzngfg.js.br +0 -0
- package/dist/Field-BRJ9Ribk.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-Dz41Lkl5.js.br +0 -0
- package/dist/_-GLf8DdLh.js +0 -5
- package/dist/giftCard-C2J9lmv0.js.br +0 -0
- package/dist/masonry.plugin-CRhNH_fs.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { d as q, u as oe, s as z, c as W, r as Fe, a as
|
|
2
|
-
import { a as Pe, f as ae, g as K, B as dt, h as ue, l as ct, s as G, e as ce, _ as Z, I as ne, i as mt, j as me, u as he, k as pt, m as vt, n as bt, o as Q, T as re, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { d as q, u as oe, s as z, c as W, r as Fe, a as g, b as o, g as e, w as m, q as J, e as t, n as xe, i as c, f as v, h as r, t as l, F as C, v as U, o as et, j as tt, x as de, y as nt, z as M, A as at, S as ot, k as lt, _ as st, l as it, m as rt, p as ut } from "./mitt-CgrYtI2g.js";
|
|
2
|
+
import { a as Pe, f as ae, g as K, B as dt, h as ue, l as ct, s as G, e as ce, _ as Z, I as ne, i as mt, j as me, u as he, k as pt, m as vt, n as bt, o as Q, T as re, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js";
|
|
3
3
|
import { G as Pt } from "./style-B_8a8HvR.js";
|
|
4
|
-
import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as wt, _ as
|
|
6
|
-
import { g as Bt, e as
|
|
7
|
-
import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-
|
|
8
|
-
import { E as Gt } from "./EventAvailabilityForm-
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
10
|
-
function zt(
|
|
4
|
+
import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-CqZnPVm4.js";
|
|
5
|
+
import { B as wt, _ as Et, R as _t, L as Le, S as Ot, M as Vt, T as Tt, C as Nt, V as Ft, a as Lt } from "./masonry.plugin-B7soNeYB.js";
|
|
6
|
+
import { g as Bt, e as At, c as Ct, n as St, a as Ee, m as _e, b as Oe, d as Ve, f as Te, _ as It } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js";
|
|
7
|
+
import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-BiVijMff.js";
|
|
8
|
+
import { E as Gt } from "./EventAvailabilityForm-BegeTLnc.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-ysPyDXQ-.js";
|
|
10
|
+
function zt(w) {
|
|
11
11
|
return (n) => {
|
|
12
|
-
const
|
|
13
|
-
return
|
|
12
|
+
const k = (w ? Math[w] : Math.trunc)(n);
|
|
13
|
+
return k === 0 ? 0 : k;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function qt(
|
|
17
|
-
const
|
|
16
|
+
function qt(w, n, a) {
|
|
17
|
+
const k = Bt(), p = a?.locale ?? k.locale ?? At, b = Ct(w, n);
|
|
18
18
|
if (isNaN(b))
|
|
19
19
|
throw new RangeError("Invalid time value");
|
|
20
20
|
const i = Object.assign({}, a, {
|
|
21
21
|
addSuffix: a?.addSuffix,
|
|
22
22
|
comparison: b
|
|
23
|
-
}), [f,
|
|
23
|
+
}), [f, y] = St(
|
|
24
24
|
a?.in,
|
|
25
|
-
...b > 0 ? [n,
|
|
26
|
-
), s = zt("round"), O =
|
|
27
|
-
let
|
|
28
|
-
if (
|
|
29
|
-
const
|
|
30
|
-
return
|
|
31
|
-
} else if (
|
|
32
|
-
const
|
|
33
|
-
return
|
|
34
|
-
} else if (
|
|
35
|
-
const
|
|
36
|
-
return
|
|
37
|
-
} else if (
|
|
38
|
-
const
|
|
39
|
-
return
|
|
40
|
-
} else if (
|
|
41
|
-
const
|
|
42
|
-
return
|
|
25
|
+
...b > 0 ? [n, w] : [w, n]
|
|
26
|
+
), s = zt("round"), O = y.getTime() - f.getTime(), P = O / Te, L = Ee(y) - Ee(f), _ = (O - L) / Te, V = a?.unit;
|
|
27
|
+
let E;
|
|
28
|
+
if (P < 1 ? E = "second" : P < 60 ? E = "minute" : P < _e ? E = "hour" : _ < Oe ? E = "day" : _ < Ve ? E = "month" : E = "year", E === "second") {
|
|
29
|
+
const $ = s(O / 1e3);
|
|
30
|
+
return p.formatDistance("xSeconds", $, i);
|
|
31
|
+
} else if (E === "minute") {
|
|
32
|
+
const $ = s(P);
|
|
33
|
+
return p.formatDistance("xMinutes", $, i);
|
|
34
|
+
} else if (E === "hour") {
|
|
35
|
+
const $ = s(P / 60);
|
|
36
|
+
return p.formatDistance("xHours", $, i);
|
|
37
|
+
} else if (E === "day") {
|
|
38
|
+
const $ = s(_ / _e);
|
|
39
|
+
return p.formatDistance("xDays", $, i);
|
|
40
|
+
} else if (E === "month") {
|
|
41
|
+
const $ = s(_ / Oe);
|
|
42
|
+
return $ === 12 && V !== "month" ? p.formatDistance("xYears", 1, i) : p.formatDistance("xMonths", $, i);
|
|
43
43
|
} else {
|
|
44
|
-
const
|
|
45
|
-
return
|
|
44
|
+
const $ = s(_ / Ve);
|
|
45
|
+
return p.formatDistance("xYears", $, i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__ */ q({
|
|
@@ -69,22 +69,22 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
|
|
|
69
69
|
disableDeepLink: { type: Boolean, default: !1 },
|
|
70
70
|
callback: {}
|
|
71
71
|
},
|
|
72
|
-
setup(
|
|
73
|
-
const { t: n } = oe(), a =
|
|
74
|
-
hideEventGuestAmount:
|
|
72
|
+
setup(w) {
|
|
73
|
+
const { t: n } = oe(), a = w, { display: k } = Pe(), {
|
|
74
|
+
hideEventGuestAmount: p
|
|
75
75
|
} = z(ae()), {
|
|
76
76
|
maxNumberOfPeople: b,
|
|
77
77
|
numberOfPeople: i,
|
|
78
78
|
eventId: f,
|
|
79
|
-
currentEventDate:
|
|
79
|
+
currentEventDate: y,
|
|
80
80
|
tableGroupId: s
|
|
81
81
|
} = z(K()), {
|
|
82
82
|
getTemplateAvailability: O,
|
|
83
|
-
getEventAvailability:
|
|
83
|
+
getEventAvailability: P,
|
|
84
84
|
isEventListingLoading: L
|
|
85
|
-
} = K(),
|
|
85
|
+
} = K(), _ = W(() => a.maxGuests || a.maxOnlineReservationLimit || b.value || 1 / 0), V = Fe(0), E = W(() => L(a.listingId)), $ = () => {
|
|
86
86
|
if (!a.useNumberOfProductsForPersons && (V.value === 0 || isNaN(V.value))) {
|
|
87
|
-
|
|
87
|
+
k({
|
|
88
88
|
type: "error",
|
|
89
89
|
message: n("alert.error.selectPeople")
|
|
90
90
|
});
|
|
@@ -93,56 +93,56 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
|
|
|
93
93
|
f.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value, O(a.callback);
|
|
94
94
|
}, H = () => {
|
|
95
95
|
if (!a.useNumberOfProductsForPersons && (V.value === 0 || isNaN(V.value))) {
|
|
96
|
-
|
|
96
|
+
k({
|
|
97
97
|
type: "error",
|
|
98
98
|
message: n("alert.error.selectPeople")
|
|
99
99
|
});
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
-
f.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value,
|
|
102
|
+
f.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : V.value, P(a.callback);
|
|
103
103
|
};
|
|
104
|
-
return (
|
|
104
|
+
return (h, A) => (o(), g(wt, {
|
|
105
105
|
type: "event",
|
|
106
|
-
"listing-id":
|
|
107
|
-
gallery:
|
|
108
|
-
name:
|
|
109
|
-
description:
|
|
110
|
-
"prices-from":
|
|
111
|
-
"to-date":
|
|
106
|
+
"listing-id": h.listingId,
|
|
107
|
+
gallery: h.gallery,
|
|
108
|
+
name: h.name,
|
|
109
|
+
description: h.description,
|
|
110
|
+
"prices-from": h.fromPrice,
|
|
111
|
+
"to-date": h.toDate,
|
|
112
112
|
layout: e(dt).Event,
|
|
113
|
-
"disable-deep-link":
|
|
113
|
+
"disable-deep-link": h.disableDeepLink
|
|
114
114
|
}, {
|
|
115
115
|
description: m(() => [
|
|
116
|
-
J(
|
|
116
|
+
J(h.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
117
117
|
]),
|
|
118
118
|
action: m(() => [
|
|
119
|
-
J(
|
|
119
|
+
J(h.$slots, "action", {}, () => [
|
|
120
120
|
t("div", {
|
|
121
121
|
class: xe([
|
|
122
122
|
"konnectio-event-listing-action",
|
|
123
|
-
{ "no-selectable-people":
|
|
123
|
+
{ "no-selectable-people": h.useNumberOfProductsForPersons }
|
|
124
124
|
])
|
|
125
125
|
}, [
|
|
126
|
-
|
|
126
|
+
h.useNumberOfProductsForPersons ? c("", !0) : (o(), g(ue, {
|
|
127
127
|
key: 0,
|
|
128
128
|
modelValue: V.value,
|
|
129
|
-
"onUpdate:modelValue":
|
|
129
|
+
"onUpdate:modelValue": A[0] || (A[0] = (Y) => V.value = Y),
|
|
130
130
|
label: e(n)("event.numberOfGuests"),
|
|
131
131
|
icon: "users",
|
|
132
132
|
"icon-type": "fas",
|
|
133
133
|
"icon-placement": "label",
|
|
134
|
-
description:
|
|
134
|
+
description: _.value <= 20 && !e(p) ? `${e(n)("general.availableFor")}: 1 - ${_.value} ${e(ct)(e(n)("general.guests"))}` : void 0,
|
|
135
135
|
"min-value": 0,
|
|
136
|
-
"max-value":
|
|
136
|
+
"max-value": _.value
|
|
137
137
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
138
138
|
t("div", Ht, [
|
|
139
|
-
|
|
140
|
-
label:
|
|
141
|
-
disabled:
|
|
142
|
-
"is-loading":
|
|
139
|
+
v(ce, {
|
|
140
|
+
label: h.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
141
|
+
disabled: h.soldOut,
|
|
142
|
+
"is-loading": E.value,
|
|
143
143
|
"full-width": "",
|
|
144
|
-
"sub-label": e(G)(e(
|
|
145
|
-
onClickEvent:
|
|
144
|
+
"sub-label": e(G)(e(y)),
|
|
145
|
+
onClickEvent: A[1] || (A[1] = (Y) => h.type === "event" ? H() : $())
|
|
146
146
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
147
147
|
])
|
|
148
148
|
], 2)
|
|
@@ -177,10 +177,10 @@ const Wt = {
|
|
|
177
177
|
trackingEnabled: { type: Boolean },
|
|
178
178
|
callback: {}
|
|
179
179
|
},
|
|
180
|
-
setup(
|
|
181
|
-
const n =
|
|
182
|
-
hideEventLength:
|
|
183
|
-
hideEventEndTime:
|
|
180
|
+
setup(w) {
|
|
181
|
+
const n = w, { t: a } = oe(), {
|
|
182
|
+
hideEventLength: k,
|
|
183
|
+
hideEventEndTime: p
|
|
184
184
|
} = z(ae()), b = W(() => {
|
|
185
185
|
const i = n.length.split(":");
|
|
186
186
|
return qt(
|
|
@@ -188,7 +188,7 @@ const Wt = {
|
|
|
188
188
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
189
189
|
);
|
|
190
190
|
});
|
|
191
|
-
return (i, f) => (o(),
|
|
191
|
+
return (i, f) => (o(), g(Be, {
|
|
192
192
|
"listing-id": i.listingId,
|
|
193
193
|
name: i.name,
|
|
194
194
|
description: i.description,
|
|
@@ -203,15 +203,15 @@ const Wt = {
|
|
|
203
203
|
callback: i.callback
|
|
204
204
|
}, {
|
|
205
205
|
description: m(() => [
|
|
206
|
-
i.description ? (o(),
|
|
206
|
+
i.description ? (o(), g(Et, {
|
|
207
207
|
key: 0,
|
|
208
208
|
text: i.description
|
|
209
209
|
}, null, 8, ["text"])) : c("", !0),
|
|
210
210
|
t("ul", jt, [
|
|
211
211
|
c("", !0),
|
|
212
|
-
e(
|
|
212
|
+
e(k) ? c("", !0) : (o(), r("li", Wt, [
|
|
213
213
|
t("div", null, [
|
|
214
|
-
|
|
214
|
+
v(ne, {
|
|
215
215
|
icon: "calendar-clock",
|
|
216
216
|
color: "header"
|
|
217
217
|
}),
|
|
@@ -221,13 +221,13 @@ const Wt = {
|
|
|
221
221
|
])),
|
|
222
222
|
t("li", Zt, [
|
|
223
223
|
t("div", null, [
|
|
224
|
-
|
|
224
|
+
v(ne, {
|
|
225
225
|
icon: "calendar-clock",
|
|
226
226
|
color: "header"
|
|
227
227
|
}),
|
|
228
228
|
t("span", null, l(e(a)("event.startAndEndTime")), 1)
|
|
229
229
|
]),
|
|
230
|
-
e(
|
|
230
|
+
e(p) ? (o(), r("span", Jt, l(e(me)(i.timeFrom)), 1)) : (o(), r("span", Qt, l(e(mt)(i.timeFrom, i.timeTo)), 1))
|
|
231
231
|
])
|
|
232
232
|
])
|
|
233
233
|
]),
|
|
@@ -247,44 +247,44 @@ const Wt = {
|
|
|
247
247
|
events: {},
|
|
248
248
|
callback: { type: Function }
|
|
249
249
|
},
|
|
250
|
-
setup(
|
|
250
|
+
setup(w) {
|
|
251
251
|
return (n, a) => n.events && n.events.length > 1 ? (o(), r("div", Xt, [
|
|
252
252
|
c("", !0),
|
|
253
253
|
t("ul", xt, [
|
|
254
|
-
(o(!0), r(
|
|
255
|
-
id:
|
|
256
|
-
days:
|
|
254
|
+
(o(!0), r(C, null, U(n.events, ({
|
|
255
|
+
id: k,
|
|
256
|
+
days: p,
|
|
257
257
|
name: b,
|
|
258
258
|
timeFrom: i,
|
|
259
259
|
timeTo: f,
|
|
260
|
-
tableGroupId:
|
|
260
|
+
tableGroupId: y,
|
|
261
261
|
description: s,
|
|
262
262
|
soldOut: O,
|
|
263
|
-
length:
|
|
263
|
+
length: P,
|
|
264
264
|
images: L,
|
|
265
|
-
maxOnlineReservationLimit:
|
|
265
|
+
maxOnlineReservationLimit: _,
|
|
266
266
|
maxPaxPerReservation: V,
|
|
267
|
-
useNumberOfProductsForPersons:
|
|
268
|
-
maxTicketsLimit:
|
|
269
|
-
}) => (o(),
|
|
270
|
-
key:
|
|
267
|
+
useNumberOfProductsForPersons: E,
|
|
268
|
+
maxTicketsLimit: $
|
|
269
|
+
}) => (o(), g(De, {
|
|
270
|
+
key: k,
|
|
271
271
|
type: "event",
|
|
272
|
-
"listing-id":
|
|
273
|
-
"table-group-id":
|
|
272
|
+
"listing-id": k,
|
|
273
|
+
"table-group-id": y,
|
|
274
274
|
description: s,
|
|
275
275
|
name: b,
|
|
276
|
-
length:
|
|
276
|
+
length: P,
|
|
277
277
|
gallery: L,
|
|
278
|
-
days:
|
|
279
|
-
"max-online-reservation-limit": V ||
|
|
278
|
+
days: p,
|
|
279
|
+
"max-online-reservation-limit": V || _ || $,
|
|
280
280
|
"time-from": i,
|
|
281
281
|
"time-to": f,
|
|
282
282
|
"sold-out": O,
|
|
283
|
-
"use-number-of-products-for-persons":
|
|
283
|
+
"use-number-of-products-for-persons": E,
|
|
284
284
|
callback: n.callback
|
|
285
285
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
286
286
|
])
|
|
287
|
-
])) : n.events ? (o(),
|
|
287
|
+
])) : n.events ? (o(), g(De, {
|
|
288
288
|
key: n.events[0].id,
|
|
289
289
|
type: "event",
|
|
290
290
|
"listing-id": n.events[0].id,
|
|
@@ -325,18 +325,18 @@ const Wt = {
|
|
|
325
325
|
trackingEnabled: { type: Boolean },
|
|
326
326
|
callback: { type: Function }
|
|
327
327
|
},
|
|
328
|
-
setup(
|
|
329
|
-
const { t: n } = oe(), { updateEventDate: a } = he(), { display:
|
|
328
|
+
setup(w) {
|
|
329
|
+
const { t: n } = oe(), { updateEventDate: a } = he(), { display: k } = Pe(), p = Fe(), b = w;
|
|
330
330
|
function i() {
|
|
331
|
-
|
|
331
|
+
p.value ? a(p.value) : k({
|
|
332
332
|
message: n("alert.error.selectDate"),
|
|
333
333
|
type: "error"
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
const f = W(() => pt(b.fromDate, b.toDate) <= 1),
|
|
336
|
+
const f = W(() => pt(b.fromDate, b.toDate) <= 1), y = W(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(b.days).includes(s)));
|
|
337
337
|
return et(() => {
|
|
338
|
-
f.value && (
|
|
339
|
-
}), (s, O) => (o(),
|
|
338
|
+
f.value && (p.value = new Date(b.fromDate));
|
|
339
|
+
}), (s, O) => (o(), g(De, {
|
|
340
340
|
name: s.name,
|
|
341
341
|
description: s.description,
|
|
342
342
|
"from-date": s.fromDate,
|
|
@@ -359,9 +359,9 @@ const Wt = {
|
|
|
359
359
|
action: m(() => [
|
|
360
360
|
t("div", null, [
|
|
361
361
|
t("div", nn, [
|
|
362
|
-
|
|
363
|
-
modelValue:
|
|
364
|
-
"onUpdate:modelValue": O[0] || (O[0] = (
|
|
362
|
+
v(It, {
|
|
363
|
+
modelValue: p.value,
|
|
364
|
+
"onUpdate:modelValue": O[0] || (O[0] = (P) => p.value = P),
|
|
365
365
|
label: `${e(n)("event.selectDate")}*`,
|
|
366
366
|
placeholder: e(n)("event.selectDate"),
|
|
367
367
|
"icon-type": "fas",
|
|
@@ -370,10 +370,10 @@ const Wt = {
|
|
|
370
370
|
"start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
|
|
371
371
|
"min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
|
|
372
372
|
"max-date": new Date(s.toDate),
|
|
373
|
-
"disabled-week-days":
|
|
373
|
+
"disabled-week-days": y.value
|
|
374
374
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
375
375
|
t("div", an, [
|
|
376
|
-
|
|
376
|
+
v(ce, {
|
|
377
377
|
label: e(n)("availability.buttonLabel"),
|
|
378
378
|
onClick: tt(i, ["prevent"])
|
|
379
379
|
}, null, 8, ["label"])
|
|
@@ -409,8 +409,8 @@ const Wt = {
|
|
|
409
409
|
trackingEnabled: { type: Boolean },
|
|
410
410
|
callback: {}
|
|
411
411
|
},
|
|
412
|
-
setup(
|
|
413
|
-
return (n, a) => (o(),
|
|
412
|
+
setup(w) {
|
|
413
|
+
return (n, a) => (o(), g(Be, {
|
|
414
414
|
"listing-id": n.listingId,
|
|
415
415
|
gallery: n.images,
|
|
416
416
|
name: n.name,
|
|
@@ -431,36 +431,36 @@ const Wt = {
|
|
|
431
431
|
showTermsNotice: { type: Boolean, default: !1 },
|
|
432
432
|
prevCallback: {}
|
|
433
433
|
},
|
|
434
|
-
setup(
|
|
434
|
+
setup(w) {
|
|
435
435
|
const { t: n } = oe(), a = nt(), {
|
|
436
|
-
areListingsAvailable:
|
|
437
|
-
arrivalTime:
|
|
436
|
+
areListingsAvailable: k,
|
|
437
|
+
arrivalTime: p,
|
|
438
438
|
numberOfPeople: b,
|
|
439
439
|
numberOfRooms: i,
|
|
440
440
|
numberOfTotalDays: f,
|
|
441
|
-
isTemplateEvent:
|
|
441
|
+
isTemplateEvent: y,
|
|
442
442
|
currentEventDate: s,
|
|
443
443
|
length: O,
|
|
444
|
-
fromDate:
|
|
444
|
+
fromDate: P,
|
|
445
445
|
tableBasePrice: L,
|
|
446
|
-
getTemplateData:
|
|
446
|
+
getTemplateData: _,
|
|
447
447
|
basePrice: V,
|
|
448
|
-
totalPrice:
|
|
449
|
-
weekendFee:
|
|
448
|
+
totalPrice: E,
|
|
449
|
+
weekendFee: $,
|
|
450
450
|
roomUpgrade: H,
|
|
451
|
-
discountCode:
|
|
452
|
-
totalSelectedProducts:
|
|
451
|
+
discountCode: h,
|
|
452
|
+
totalSelectedProducts: A
|
|
453
453
|
} = z(K()), { totalAddonPrice: Y, validateDiscountCode: pe } = K(), { currency: le, hideEventLength: ve } = z(ae());
|
|
454
|
-
return (R, se) => (o(),
|
|
455
|
-
"discount-code": e(
|
|
456
|
-
"onUpdate:discountCode": se[0] || (se[0] = (j) => M(
|
|
454
|
+
return (R, se) => (o(), g(_t, {
|
|
455
|
+
"discount-code": e(h),
|
|
456
|
+
"onUpdate:discountCode": se[0] || (se[0] = (j) => M(h) ? h.value = j : null),
|
|
457
457
|
"validate-discount-code": e(pe),
|
|
458
458
|
"show-gift-card": R.showGiftCard,
|
|
459
459
|
"show-terms-notice": R.showTermsNotice,
|
|
460
|
-
"is-sidebar-loading": !e(
|
|
460
|
+
"is-sidebar-loading": !e(k),
|
|
461
461
|
"base-price": e(V),
|
|
462
|
-
"total-price": e(
|
|
463
|
-
"weekend-fee": e(
|
|
462
|
+
"total-price": e(E),
|
|
463
|
+
"weekend-fee": e($),
|
|
464
464
|
"room-upgrade": e(H),
|
|
465
465
|
notice: e(n)("event.reservationNotice"),
|
|
466
466
|
"prev-callback": R.prevCallback
|
|
@@ -469,7 +469,7 @@ const Wt = {
|
|
|
469
469
|
J(R.$slots, "form", {}, void 0, !0)
|
|
470
470
|
]),
|
|
471
471
|
"reservation-summary": m(() => [
|
|
472
|
-
e(
|
|
472
|
+
e(y) ? c("", !0) : (o(), r("li", cn, [
|
|
473
473
|
t("span", null, l(e(n)("general.date")), 1),
|
|
474
474
|
t("b", null, l(e(G)(e(s))), 1)
|
|
475
475
|
])),
|
|
@@ -477,18 +477,18 @@ const Wt = {
|
|
|
477
477
|
t("span", null, l(e(n)("event.numberOfGuests")), 1),
|
|
478
478
|
t("b", null, l(e(b)), 1)
|
|
479
479
|
])) : c("", !0),
|
|
480
|
-
!e(
|
|
480
|
+
!e(y) && e(A) > 0 ? (o(), r("li", pn, [
|
|
481
481
|
t("span", null, l(e(n)("event.numberOfProducts")), 1),
|
|
482
|
-
t("b", null, l(e(
|
|
482
|
+
t("b", null, l(e(A)), 1)
|
|
483
483
|
])) : c("", !0),
|
|
484
|
-
e(
|
|
484
|
+
e(y) ? (o(), r(C, { key: 3 }, [
|
|
485
485
|
t("li", null, [
|
|
486
486
|
t("span", null, l(e(n)("booking.reservation.arrival")), 1),
|
|
487
|
-
t("b", null, l(e(G)(e(
|
|
487
|
+
t("b", null, l(e(G)(e(P))), 1)
|
|
488
488
|
]),
|
|
489
489
|
t("li", null, [
|
|
490
490
|
t("span", null, l(e(n)("booking.reservation.departure")), 1),
|
|
491
|
-
t("b", null, l(e(G)(e(
|
|
491
|
+
t("b", null, l(e(G)(e(P), e(f))), 1)
|
|
492
492
|
]),
|
|
493
493
|
t("li", null, [
|
|
494
494
|
t("span", null, l(e(n)("event.numberOfRooms")), 1),
|
|
@@ -499,21 +499,21 @@ const Wt = {
|
|
|
499
499
|
t("b", null, l(e(f)), 1)
|
|
500
500
|
])) : c("", !0)
|
|
501
501
|
], 64)) : c("", !0),
|
|
502
|
-
!e(
|
|
502
|
+
!e(y) && e(p) ? (o(), r("li", bn, [
|
|
503
503
|
t("span", null, l(e(n)("event.startOfEvent")), 1),
|
|
504
|
-
t("b", null, l(e(me)(e(
|
|
504
|
+
t("b", null, l(e(me)(e(p))), 1)
|
|
505
505
|
])) : c("", !0),
|
|
506
|
-
!e(
|
|
506
|
+
!e(y) && e(O) && !e(ve) ? (o(), r("li", fn, [
|
|
507
507
|
t("span", null, l(e(n)("event.lengthOfEvent")), 1),
|
|
508
508
|
t("b", null, l(e(me)(e(O))), 1)
|
|
509
509
|
])) : c("", !0)
|
|
510
510
|
]),
|
|
511
511
|
"price-summary": m(() => [
|
|
512
|
-
!e(
|
|
512
|
+
!e(y) && e(L) > 0 ? (o(), r("li", gn, [
|
|
513
513
|
t("span", null, l(e(n)("booking.availability.basePrice")), 1),
|
|
514
514
|
t("b", null, l(e(Q)(e(L), e(le))), 1)
|
|
515
515
|
])) : c("", !0),
|
|
516
|
-
e(
|
|
516
|
+
e(_) ? (o(!0), r(C, { key: 1 }, U(e(_), ({ roomGroupId: j }, X) => (o(), r(C, null, [
|
|
517
517
|
e(Y)(j, X) > 0 ? (o(), r("li", { key: j }, [
|
|
518
518
|
t("span", null, l(e(n)("booking.reservation.addons")) + " - " + l(e(n)("booking.reservation.room")) + " #" + l(X + 1), 1),
|
|
519
519
|
t("b", null, l(e(Q)(e(Y)(j, X), e(le))), 1)
|
|
@@ -524,14 +524,14 @@ const Wt = {
|
|
|
524
524
|
J(R.$slots, "navigation", {}, void 0, !0)
|
|
525
525
|
]),
|
|
526
526
|
"mobile-under-price": m(() => [
|
|
527
|
-
e(
|
|
528
|
-
t("span", null, l(e(G)(e(
|
|
527
|
+
e(y) && e(f) > 0 ? (o(), r("div", kn, [
|
|
528
|
+
t("span", null, l(e(G)(e(P))) + " - " + l(e(G)(e(P), e(f))), 1)
|
|
529
529
|
])) : (o(), r("div", yn, [
|
|
530
530
|
t("span", null, l(e(G)(e(s))), 1)
|
|
531
531
|
]))
|
|
532
532
|
]),
|
|
533
533
|
"mobile-summary": m(() => [
|
|
534
|
-
!e(
|
|
534
|
+
!e(y) && e(A) > 0 ? (o(), r("span", hn, l(e(n)("event.numberOfProducts")) + ": " + l(e(A)), 1)) : c("", !0)
|
|
535
535
|
]),
|
|
536
536
|
_: 2
|
|
537
537
|
}, [
|
|
@@ -544,29 +544,29 @@ const Wt = {
|
|
|
544
544
|
} : void 0
|
|
545
545
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
|
|
546
546
|
}
|
|
547
|
-
}), ye = /* @__PURE__ */ Z(Dn, [["__scopeId", "data-v-9b28e490"]]), Pn = { class: "event-skeleton" }, $n = { class: "event-skeleton-content" }, wn = { class: "event-skeleton-sidebar" },
|
|
547
|
+
}), ye = /* @__PURE__ */ Z(Dn, [["__scopeId", "data-v-9b28e490"]]), Pn = { class: "event-skeleton" }, $n = { class: "event-skeleton-content" }, wn = { class: "event-skeleton-sidebar" }, En = /* @__PURE__ */ q({
|
|
548
548
|
__name: "EventSkeleton",
|
|
549
|
-
setup(
|
|
549
|
+
setup(w) {
|
|
550
550
|
return (n, a) => (o(), r("div", Pn, [
|
|
551
551
|
t("div", $n, [
|
|
552
|
-
|
|
552
|
+
v(Le)
|
|
553
553
|
]),
|
|
554
554
|
t("div", wn, [
|
|
555
555
|
c("", !0),
|
|
556
|
-
|
|
556
|
+
v(Ot)
|
|
557
557
|
])
|
|
558
558
|
]));
|
|
559
559
|
}
|
|
560
|
-
}),
|
|
560
|
+
}), _n = /* @__PURE__ */ Z(En, [["__scopeId", "data-v-3e15c4e3"]]), On = {
|
|
561
561
|
key: 0,
|
|
562
562
|
id: "konnectio-event-listings-wrapper"
|
|
563
563
|
}, Vn = {
|
|
564
564
|
key: 0,
|
|
565
565
|
class: "konnectio-hotel-availability-title"
|
|
566
|
-
}, Tn = { class: "konnectio-event-listings" }, Nn = { class: "konnectio-hotel-availability-title" }, Fn = { class: "konnectio-event-listings" }, Ln = ["innerHTML"], Bn = { class: "konnectio-panel" },
|
|
566
|
+
}, Tn = { class: "konnectio-event-listings" }, Nn = { class: "konnectio-hotel-availability-title" }, Fn = { class: "konnectio-event-listings" }, Ln = ["innerHTML"], Bn = { class: "konnectio-panel" }, An = {
|
|
567
567
|
key: 0,
|
|
568
568
|
id: "konnectio-event-addons"
|
|
569
|
-
},
|
|
569
|
+
}, Cn = { class: "konnectio-table with-lines" }, Sn = { class: "konnectio-event-addons-price" }, In = { class: "konnectio-event-addons-input" }, Rn = { class: "konnectio-event-addons-price" }, Mn = { class: "konnectio-event-addons-price" }, Un = {
|
|
570
570
|
key: 1,
|
|
571
571
|
class: "konnectio-table with-lines without-header"
|
|
572
572
|
}, Gn = { class: "konnectio-table-addons-information" }, zn = { key: 0 }, qn = { class: "konnectio-table-addons-option" }, Hn = { class: "konnectio-panel" }, Yn = /* @__PURE__ */ q({
|
|
@@ -578,27 +578,29 @@ const Wt = {
|
|
|
578
578
|
selectedLocation: {},
|
|
579
579
|
resetDate: { default: "no" },
|
|
580
580
|
hideLocations: { default: "no" },
|
|
581
|
+
hideRemarks: { default: "no" },
|
|
582
|
+
hideAllergies: { default: "no" },
|
|
581
583
|
styling: {}
|
|
582
584
|
},
|
|
583
|
-
setup(
|
|
584
|
-
const n =
|
|
585
|
-
addons:
|
|
586
|
-
products:
|
|
585
|
+
setup(w) {
|
|
586
|
+
const n = w, { t: a } = oe(), {
|
|
587
|
+
addons: k,
|
|
588
|
+
products: p,
|
|
587
589
|
numberOfDays: b,
|
|
588
590
|
name: i,
|
|
589
591
|
phone: f,
|
|
590
|
-
email:
|
|
592
|
+
email: y,
|
|
591
593
|
remark: s,
|
|
592
594
|
allergies: O,
|
|
593
|
-
arrivalTime:
|
|
595
|
+
arrivalTime: P,
|
|
594
596
|
hasEvents: L,
|
|
595
|
-
hasTemplates:
|
|
597
|
+
hasTemplates: _,
|
|
596
598
|
getEvents: V,
|
|
597
|
-
getTemplates:
|
|
598
|
-
getEventData:
|
|
599
|
+
getTemplates: E,
|
|
600
|
+
getEventData: $,
|
|
599
601
|
getTemplateData: H,
|
|
600
|
-
getEventTableData:
|
|
601
|
-
hasProducts:
|
|
602
|
+
getEventTableData: h,
|
|
603
|
+
hasProducts: A,
|
|
602
604
|
eventRateType: Y,
|
|
603
605
|
areListingsAvailable: pe,
|
|
604
606
|
isAvailabilityDataAvailable: le,
|
|
@@ -608,7 +610,7 @@ const Wt = {
|
|
|
608
610
|
requiresArrivalTime: j,
|
|
609
611
|
hasSelectedRequiredProducts: X,
|
|
610
612
|
getUnavailableEvents: be
|
|
611
|
-
} = z(K()), { currency: ie } = z(ae()), { setActiveIdFilter:
|
|
613
|
+
} = z(K()), { currency: ie } = z(ae()), { setActiveIdFilter: Ae } = ae(), { eventDate: Ce, eventLocation: Se } = z(he()), { isValidRestaurantId: Ie } = he(), {
|
|
612
614
|
initialize: Re,
|
|
613
615
|
fetchListings: Me,
|
|
614
616
|
createBooking: Ue,
|
|
@@ -643,25 +645,25 @@ const Wt = {
|
|
|
643
645
|
icon: "calendar-check"
|
|
644
646
|
}
|
|
645
647
|
]), Ye = W(() => {
|
|
646
|
-
const
|
|
647
|
-
return
|
|
648
|
-
|
|
648
|
+
const D = [];
|
|
649
|
+
return h.value && h.value.forEach((d) => {
|
|
650
|
+
D.find((F) => F.value === d.time) || D.push({
|
|
649
651
|
label: me(d.time),
|
|
650
652
|
value: d.time
|
|
651
653
|
});
|
|
652
|
-
}),
|
|
654
|
+
}), D;
|
|
653
655
|
});
|
|
654
656
|
function je() {
|
|
655
657
|
qe(n.resetDate === "yes");
|
|
656
658
|
}
|
|
657
659
|
function We() {
|
|
658
|
-
const
|
|
660
|
+
const D = yt("history", {
|
|
659
661
|
removeNullishValues: !0
|
|
660
|
-
}), d = parseInt(
|
|
662
|
+
}), d = parseInt(D.rid), F = D.d, T = parseInt(D.eid);
|
|
661
663
|
if (F)
|
|
662
664
|
if (ht(F)) {
|
|
663
|
-
const u = new Date(F),
|
|
664
|
-
|
|
665
|
+
const u = new Date(F), S = u.setHours(12, 0, 0, 0), I = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
666
|
+
S >= I ? (Ce.value = u, D.d = void 0) : fe({
|
|
665
667
|
message: a("alert.error.invalidDateRange"),
|
|
666
668
|
type: "error"
|
|
667
669
|
});
|
|
@@ -670,38 +672,38 @@ const Wt = {
|
|
|
670
672
|
message: a("alert.error.wrongDateFormat"),
|
|
671
673
|
type: "error"
|
|
672
674
|
});
|
|
673
|
-
isNaN(d) || (Ie(d) ?
|
|
675
|
+
isNaN(d) || (Ie(d) ? Se.value = d : (D.rid = void 0, fe({
|
|
674
676
|
message: a("alert.error.hotelIdNotFound"),
|
|
675
677
|
type: "error"
|
|
676
|
-
}))), isNaN(T) ||
|
|
678
|
+
}))), isNaN(T) || Ae(T), Me();
|
|
677
679
|
}
|
|
678
|
-
return (
|
|
680
|
+
return (D, d) => (o(), g(kt, { styling: D.styling }, {
|
|
679
681
|
default: m(() => [
|
|
680
|
-
(o(),
|
|
682
|
+
(o(), g(ot, { onResolve: We }, {
|
|
681
683
|
default: m(() => [
|
|
682
|
-
|
|
684
|
+
v($t, {
|
|
683
685
|
id: "konnectio-event-module",
|
|
684
|
-
"access-token":
|
|
686
|
+
"access-token": D.accessToken,
|
|
685
687
|
callback: e(Re)
|
|
686
688
|
}, {
|
|
687
689
|
default: m(() => [
|
|
688
|
-
|
|
690
|
+
v(Vt, {
|
|
689
691
|
steps: He.value,
|
|
690
692
|
onReset: je
|
|
691
693
|
}, {
|
|
692
694
|
availability: m(({ next: F }) => [
|
|
693
|
-
|
|
695
|
+
v(ye, null, {
|
|
694
696
|
sidebar: m(() => [
|
|
695
|
-
|
|
697
|
+
v(Gt, {
|
|
696
698
|
redirection: !1,
|
|
697
|
-
"selected-location": Number(
|
|
698
|
-
"hide-locations":
|
|
699
|
+
"selected-location": Number(D.selectedLocation),
|
|
700
|
+
"hide-locations": D.hideLocations === "yes"
|
|
699
701
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
700
702
|
]),
|
|
701
703
|
form: m(() => [
|
|
702
704
|
e(ve) && e(pe) ? (o(), r("div", On, [
|
|
703
705
|
e(V).length > 0 && e(be).length > 0 ? (o(), r("h2", Vn, [
|
|
704
|
-
|
|
706
|
+
v(ne, {
|
|
705
707
|
icon: "calendar-clock",
|
|
706
708
|
type: "fal",
|
|
707
709
|
color: "header"
|
|
@@ -709,36 +711,36 @@ const Wt = {
|
|
|
709
711
|
t("span", null, l(e(a)("event.availableNow")), 1)
|
|
710
712
|
])) : c("", !0),
|
|
711
713
|
t("ul", Tn, [
|
|
712
|
-
e(L) &&
|
|
714
|
+
e(L) && D.onlyShow !== "templates" ? (o(!0), r(C, { key: 0 }, U(e(V), (T) => (o(), g(tn, {
|
|
713
715
|
name: T.name,
|
|
714
716
|
events: T.events,
|
|
715
717
|
callback: F
|
|
716
718
|
}, null, 8, ["name", "events", "callback"]))), 256)) : c("", !0),
|
|
717
|
-
e(
|
|
719
|
+
e(_) && D.onlyShow !== "events" ? (o(!0), r(C, { key: 1 }, U(e(E), ({
|
|
718
720
|
id: T,
|
|
719
721
|
name: u,
|
|
720
|
-
fromDate:
|
|
722
|
+
fromDate: S,
|
|
721
723
|
toDate: I,
|
|
722
724
|
minimumPersonCount: N,
|
|
723
725
|
fromPrice: B,
|
|
724
726
|
description: x,
|
|
725
727
|
images: ee
|
|
726
|
-
}) => (o(),
|
|
728
|
+
}) => (o(), g(dn, {
|
|
727
729
|
key: T,
|
|
728
730
|
"listing-id": T,
|
|
729
731
|
name: u,
|
|
730
732
|
images: ee,
|
|
731
733
|
description: x,
|
|
732
|
-
"from-date":
|
|
734
|
+
"from-date": S,
|
|
733
735
|
"to-date": I,
|
|
734
736
|
"minimum-person-count": N,
|
|
735
737
|
fromPrice: B,
|
|
736
738
|
callback: F
|
|
737
739
|
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : c("", !0)
|
|
738
740
|
]),
|
|
739
|
-
e(be).length > 0 &&
|
|
741
|
+
e(be).length > 0 && D.onlyShow !== "templates" ? (o(), r(C, { key: 1 }, [
|
|
740
742
|
t("h2", Nn, [
|
|
741
|
-
|
|
743
|
+
v(ne, {
|
|
742
744
|
icon: "calendar-circle-exclamation",
|
|
743
745
|
type: "fal",
|
|
744
746
|
color: "header"
|
|
@@ -746,10 +748,10 @@ const Wt = {
|
|
|
746
748
|
t("span", null, l(e(a)("event.availableLater")), 1)
|
|
747
749
|
]),
|
|
748
750
|
t("ul", Fn, [
|
|
749
|
-
(o(!0), r(
|
|
751
|
+
(o(!0), r(C, null, U(e(be), ({
|
|
750
752
|
id: T,
|
|
751
753
|
days: u,
|
|
752
|
-
name:
|
|
754
|
+
name: S,
|
|
753
755
|
timeFrom: I,
|
|
754
756
|
timeTo: N,
|
|
755
757
|
fromDate: B,
|
|
@@ -763,13 +765,13 @@ const Wt = {
|
|
|
763
765
|
maxPaxPerReservation: Je,
|
|
764
766
|
useNumberOfProductsForPersons: Ke,
|
|
765
767
|
maxTicketsLimit: Xe
|
|
766
|
-
}) => (o(),
|
|
768
|
+
}) => (o(), g(un, {
|
|
767
769
|
key: T,
|
|
768
770
|
type: "event",
|
|
769
771
|
"listing-id": T,
|
|
770
772
|
"table-group-id": ee,
|
|
771
773
|
description: ge,
|
|
772
|
-
name:
|
|
774
|
+
name: S,
|
|
773
775
|
length: te,
|
|
774
776
|
gallery: Ze,
|
|
775
777
|
days: u,
|
|
@@ -784,18 +786,18 @@ const Wt = {
|
|
|
784
786
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
785
787
|
])
|
|
786
788
|
], 64)) : c("", !0),
|
|
787
|
-
!e(L) && !e(
|
|
789
|
+
!e(L) && !e(_) || !e(L) && D.onlyShow === "events" || !e(_) && D.onlyShow === "templates" ? (o(), r("div", {
|
|
788
790
|
key: 2,
|
|
789
791
|
class: "konnectio-panel",
|
|
790
792
|
innerHTML: e(a)("event.nothingAvailable")
|
|
791
793
|
}, null, 8, Ln)) : c("", !0)
|
|
792
|
-
])) : (o(),
|
|
794
|
+
])) : (o(), g(Le, { key: 1 }))
|
|
793
795
|
]),
|
|
794
796
|
_: 2
|
|
795
797
|
}, 1024)
|
|
796
798
|
]),
|
|
797
799
|
addons: m(({ next: F, prev: T }) => [
|
|
798
|
-
e(le) ? (o(),
|
|
800
|
+
e(le) ? (o(), g(ye, {
|
|
799
801
|
key: 0,
|
|
800
802
|
"prev-callback": () => e($e)(T)
|
|
801
803
|
}, {
|
|
@@ -804,36 +806,36 @@ const Wt = {
|
|
|
804
806
|
t("h2", null, [
|
|
805
807
|
t("span", null, l(e(a)("event.selectProducts")), 1)
|
|
806
808
|
]),
|
|
807
|
-
e(H) && e(H).length > 0 ? (o(), r("ul",
|
|
808
|
-
(o(!0), r(
|
|
809
|
+
e(H) && e(H).length > 0 ? (o(), r("ul", An, [
|
|
810
|
+
(o(!0), r(C, null, U(e(H), ({
|
|
809
811
|
roomGroupId: u,
|
|
810
|
-
addons:
|
|
812
|
+
addons: S,
|
|
811
813
|
adultPerRoom: I
|
|
812
814
|
}, N) => (o(), r("li", { key: u }, [
|
|
813
815
|
t("h5", null, [
|
|
814
816
|
t("span", null, l(e(a)("booking.reservation.room")) + " #" + l(N + 1), 1),
|
|
815
817
|
d[7] || (d[7] = de(" (")),
|
|
816
|
-
|
|
818
|
+
v(ne, {
|
|
817
819
|
icon: "male",
|
|
818
820
|
type: "fas",
|
|
819
821
|
color: "header"
|
|
820
822
|
}),
|
|
821
823
|
de(" " + l(I) + ") ", 1)
|
|
822
824
|
]),
|
|
823
|
-
t("table",
|
|
825
|
+
t("table", Cn, [
|
|
824
826
|
t("thead", null, [
|
|
825
827
|
t("tr", null, [
|
|
826
828
|
t("th", null, [
|
|
827
829
|
t("span", null, l(e(a)("booking.reservation.addons")), 1)
|
|
828
830
|
]),
|
|
829
831
|
d[8] || (d[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
830
|
-
t("th",
|
|
832
|
+
t("th", Sn, [
|
|
831
833
|
t("span", null, l(e(a)("booking.availability.price")), 1)
|
|
832
834
|
])
|
|
833
835
|
])
|
|
834
836
|
]),
|
|
835
837
|
t("tbody", null, [
|
|
836
|
-
(o(!0), r(
|
|
838
|
+
(o(!0), r(C, null, U(S, ({
|
|
837
839
|
id: B,
|
|
838
840
|
cardinality: x,
|
|
839
841
|
name: ee,
|
|
@@ -846,16 +848,16 @@ const Wt = {
|
|
|
846
848
|
t("span", null, l(e(Q)(ge, e(ie))) + " " + l(e(gt)(ke)), 1)
|
|
847
849
|
]),
|
|
848
850
|
t("td", In, [
|
|
849
|
-
x === 3 ? (o(),
|
|
851
|
+
x === 3 ? (o(), g(ue, {
|
|
850
852
|
key: 0,
|
|
851
|
-
modelValue: e(
|
|
852
|
-
"onUpdate:modelValue": (te) => e(
|
|
853
|
+
modelValue: e(k)[`${u}.${B}.${N}`],
|
|
854
|
+
"onUpdate:modelValue": (te) => e(k)[`${u}.${B}.${N}`] = te,
|
|
853
855
|
small: !0,
|
|
854
856
|
"min-value": 0
|
|
855
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(),
|
|
857
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), g(Ut, {
|
|
856
858
|
key: 1,
|
|
857
|
-
modelValue: e(
|
|
858
|
-
"onUpdate:modelValue": (te) => e(
|
|
859
|
+
modelValue: e(k)[`${u}.${B}.${N}`],
|
|
860
|
+
"onUpdate:modelValue": (te) => e(k)[`${u}.${B}.${N}`] = te,
|
|
859
861
|
numeric: !0
|
|
860
862
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
861
863
|
]),
|
|
@@ -878,20 +880,20 @@ const Wt = {
|
|
|
878
880
|
])
|
|
879
881
|
]))), 128))
|
|
880
882
|
])) : c("", !0),
|
|
881
|
-
e(
|
|
883
|
+
e(A) ? (o(), r("table", Un, [
|
|
882
884
|
t("tbody", null, [
|
|
883
|
-
(o(!0), r(
|
|
885
|
+
(o(!0), r(C, null, U(e($).products, ({ id: u, name: S, price: I, description: N }) => (o(), r("tr", { key: u }, [
|
|
884
886
|
t("td", Gn, [
|
|
885
887
|
t("b", null, [
|
|
886
|
-
t("span", null, l(e(we)(
|
|
888
|
+
t("span", null, l(e(we)(S)), 1)
|
|
887
889
|
]),
|
|
888
|
-
N && N !==
|
|
890
|
+
N && N !== S ? (o(), r("span", zn, l(e(we)(N)), 1)) : c("", !0),
|
|
889
891
|
t("u", null, l(e(Q)(I, e(ie))), 1)
|
|
890
892
|
]),
|
|
891
893
|
t("td", qn, [
|
|
892
|
-
|
|
893
|
-
modelValue: e(
|
|
894
|
-
"onUpdate:modelValue": (B) => e(
|
|
894
|
+
v(ue, {
|
|
895
|
+
modelValue: e(p)[u],
|
|
896
|
+
"onUpdate:modelValue": (B) => e(p)[u] = B,
|
|
895
897
|
small: !0,
|
|
896
898
|
"min-value": 0
|
|
897
899
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -902,7 +904,7 @@ const Wt = {
|
|
|
902
904
|
])
|
|
903
905
|
]),
|
|
904
906
|
navigation: m(() => [
|
|
905
|
-
|
|
907
|
+
v(ce, {
|
|
906
908
|
label: e(a)("event.startReservation"),
|
|
907
909
|
disabled: !e(X),
|
|
908
910
|
"full-width": "",
|
|
@@ -913,7 +915,7 @@ const Wt = {
|
|
|
913
915
|
}, 1032, ["prev-callback"])) : c("", !0)
|
|
914
916
|
]),
|
|
915
917
|
reservation: m(({ next: F, prev: T }) => [
|
|
916
|
-
|
|
918
|
+
v(ye, {
|
|
917
919
|
"show-terms-notice": !0,
|
|
918
920
|
"show-gift-card": !0,
|
|
919
921
|
"prev-callback": () => e($e)(T)
|
|
@@ -923,7 +925,7 @@ const Wt = {
|
|
|
923
925
|
t("h2", null, [
|
|
924
926
|
t("span", null, l(e(a)("booking.reservation.detailsTitle")), 1)
|
|
925
927
|
]),
|
|
926
|
-
|
|
928
|
+
v(re, {
|
|
927
929
|
modelValue: e(i),
|
|
928
930
|
"onUpdate:modelValue": d[0] || (d[0] = (u) => M(i) ? i.value = u : null),
|
|
929
931
|
type: "text",
|
|
@@ -932,9 +934,9 @@ const Wt = {
|
|
|
932
934
|
placeholder: e(a)("booking.reservation.namePlaceholder"),
|
|
933
935
|
required: ""
|
|
934
936
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
935
|
-
|
|
936
|
-
modelValue: e(
|
|
937
|
-
"onUpdate:modelValue": d[1] || (d[1] = (u) => M(
|
|
937
|
+
v(re, {
|
|
938
|
+
modelValue: e(y),
|
|
939
|
+
"onUpdate:modelValue": d[1] || (d[1] = (u) => M(y) ? y.value = u : null),
|
|
938
940
|
label: e(a)("booking.reservation.email"),
|
|
939
941
|
type: "email",
|
|
940
942
|
name: "email",
|
|
@@ -943,7 +945,7 @@ const Wt = {
|
|
|
943
945
|
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
944
946
|
required: ""
|
|
945
947
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
946
|
-
|
|
948
|
+
v(Mt, {
|
|
947
949
|
modelValue: e(f),
|
|
948
950
|
"onUpdate:modelValue": d[2] || (d[2] = (u) => M(f) ? f.value = u : null),
|
|
949
951
|
label: e(a)("booking.reservation.phone"),
|
|
@@ -951,16 +953,16 @@ const Wt = {
|
|
|
951
953
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
952
954
|
required: ""
|
|
953
955
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
954
|
-
e(j) ? (o(),
|
|
956
|
+
e(j) ? (o(), g(Nt, {
|
|
955
957
|
key: 0,
|
|
956
|
-
modelValue: e(
|
|
957
|
-
"onUpdate:modelValue": d[3] || (d[3] = (u) => M(
|
|
958
|
+
modelValue: e(P),
|
|
959
|
+
"onUpdate:modelValue": d[3] || (d[3] = (u) => M(P) ? P.value = u : null),
|
|
958
960
|
label: e(a)("event.selectArrivalTime"),
|
|
959
961
|
name: "eventTimeTable",
|
|
960
962
|
checkboxes: Ye.value,
|
|
961
963
|
required: ""
|
|
962
964
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
|
|
963
|
-
e(Y) === e(ft).FullDayEvent ? (o(),
|
|
965
|
+
e(Y) === e(ft).FullDayEvent ? (o(), g(ue, {
|
|
964
966
|
key: 1,
|
|
965
967
|
modelValue: e(b),
|
|
966
968
|
"onUpdate:modelValue": d[4] || (d[4] = (u) => M(b) ? b.value = u : null),
|
|
@@ -968,26 +970,28 @@ const Wt = {
|
|
|
968
970
|
"min-value": 1,
|
|
969
971
|
required: ""
|
|
970
972
|
}, null, 8, ["modelValue", "label"])) : c("", !0),
|
|
971
|
-
|
|
973
|
+
D.hideRemarks !== "yes" ? (o(), g(re, {
|
|
974
|
+
key: 2,
|
|
972
975
|
modelValue: e(s),
|
|
973
976
|
"onUpdate:modelValue": d[5] || (d[5] = (u) => M(s) ? s.value = u : null),
|
|
974
977
|
type: "textarea",
|
|
975
978
|
label: e(a)("booking.reservation.remark"),
|
|
976
979
|
icon: "info-circle",
|
|
977
980
|
placeholder: e(a)("booking.reservation.remarkPlaceholder")
|
|
978
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
979
|
-
|
|
981
|
+
}, null, 8, ["modelValue", "label", "placeholder"])) : c("", !0),
|
|
982
|
+
D.hideAllergies !== "yes" ? (o(), g(re, {
|
|
983
|
+
key: 3,
|
|
980
984
|
modelValue: e(O),
|
|
981
985
|
"onUpdate:modelValue": d[6] || (d[6] = (u) => M(O) ? O.value = u : null),
|
|
982
986
|
type: "textarea",
|
|
983
987
|
label: e(a)("booking.reservation.allergies"),
|
|
984
988
|
icon: "allergies",
|
|
985
989
|
placeholder: e(a)("booking.reservation.allergiesPlaceholder")
|
|
986
|
-
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
990
|
+
}, null, 8, ["modelValue", "label", "placeholder"])) : c("", !0)
|
|
987
991
|
])
|
|
988
992
|
]),
|
|
989
993
|
navigation: m(() => [
|
|
990
|
-
|
|
994
|
+
v(ce, {
|
|
991
995
|
label: e(a)("general.confirmReservation"),
|
|
992
996
|
"is-loading": e(R),
|
|
993
997
|
disabled: !e(se),
|
|
@@ -999,10 +1003,10 @@ const Wt = {
|
|
|
999
1003
|
}, 1032, ["prev-callback"])
|
|
1000
1004
|
]),
|
|
1001
1005
|
payment: m(() => [
|
|
1002
|
-
|
|
1006
|
+
v(Rt)
|
|
1003
1007
|
]),
|
|
1004
1008
|
confirmation: m(() => [
|
|
1005
|
-
|
|
1009
|
+
v(Tt, {
|
|
1006
1010
|
message: e(a)("event.confirmationMessage")
|
|
1007
1011
|
}, null, 8, ["message"])
|
|
1008
1012
|
]),
|
|
@@ -1013,7 +1017,7 @@ const Wt = {
|
|
|
1013
1017
|
}, 8, ["access-token", "callback"])
|
|
1014
1018
|
]),
|
|
1015
1019
|
fallback: m(() => [
|
|
1016
|
-
|
|
1020
|
+
v(_n)
|
|
1017
1021
|
]),
|
|
1018
1022
|
_: 1
|
|
1019
1023
|
}))
|
|
@@ -1021,7 +1025,7 @@ const Wt = {
|
|
|
1021
1025
|
_: 1
|
|
1022
1026
|
}, 8, ["styling"]));
|
|
1023
1027
|
}
|
|
1024
|
-
}), Ne = /* @__PURE__ */ Z(Yn, [["__scopeId", "data-v-
|
|
1028
|
+
}), Ne = /* @__PURE__ */ Z(Yn, [["__scopeId", "data-v-f19648e2"]]), jn = lt(), Wn = st, Zn = Wn();
|
|
1025
1029
|
class Qn extends HTMLElement {
|
|
1026
1030
|
vueApp;
|
|
1027
1031
|
constructor() {
|