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