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