@konnectio/core 4.2.36 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionField-BcrrcZZB.js → ActionField-NdulJ0sj.js} +2 -2
- package/dist/ActionField-NdulJ0sj.js.br +0 -0
- package/dist/ActionField-NdulJ0sj.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-D9AU4ixh.js → AvailabilitySkeleton-BlugWG0g.js} +5 -5
- package/dist/AvailabilitySkeleton-BlugWG0g.js.br +0 -0
- package/dist/AvailabilitySkeleton-BlugWG0g.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.gz +0 -0
- package/dist/{CheckoutWindow-DWFK2IZh.js → CheckoutWindow-CdAiqIDw.js} +2 -2
- package/dist/CheckoutWindow-CdAiqIDw.js.br +0 -0
- package/dist/CheckoutWindow-CdAiqIDw.js.gz +0 -0
- package/dist/{ErrorMessage-C1YWACa7.js → ErrorMessage-C8HsnG1r.js} +2 -2
- package/dist/ErrorMessage-C8HsnG1r.js.br +0 -0
- package/dist/ErrorMessage-C8HsnG1r.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CDMjMdcO.js → EventAvailabilityForm-78aeZEOH.js} +3 -3
- package/dist/EventAvailabilityForm-78aeZEOH.js.br +0 -0
- package/dist/EventAvailabilityForm-78aeZEOH.js.gz +0 -0
- package/dist/{Field-CMaYNFTv.js → Field-BxSrgrQ5.js} +3 -3
- package/dist/Field-BxSrgrQ5.js.br +0 -0
- package/dist/Field-BxSrgrQ5.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js} +2 -2
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js → SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js} +90 -90
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.gz +0 -0
- package/dist/{TermsOfService-BfaRso6d.js → TermsOfService-Bfud-yjT.js} +3 -3
- package/dist/TermsOfService-Bfud-yjT.js.br +0 -0
- package/dist/TermsOfService-Bfud-yjT.js.gz +0 -0
- package/dist/_-COCg3q6j.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-Vlaciaq-.js → _.vue_vue_type_style_index_0_lang-CPvUCrel.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.gz +0 -0
- package/dist/availability.js +32 -29
- 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/event.js +190 -187
- 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 +79 -76
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-CDAm25oD.js → giftCard-DpJ3HhSP.js} +2 -2
- package/dist/giftCard-DpJ3HhSP.js.br +0 -0
- package/dist/giftCard-DpJ3HhSP.js.gz +0 -0
- package/dist/hotel.js +2686 -3241
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/index-BZyqtOJw.js +560 -0
- package/dist/index-BZyqtOJw.js.br +0 -0
- package/dist/index-BZyqtOJw.js.gz +0 -0
- package/dist/{masonry.plugin-85XDu7Qy.js → masonry.plugin-CPn7JWhD.js} +5 -5
- package/dist/masonry.plugin-CPn7JWhD.js.br +0 -0
- package/dist/{masonry.plugin-85XDu7Qy.js.gz → masonry.plugin-CPn7JWhD.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-BcrrcZZB.js.br +0 -0
- package/dist/ActionField-BcrrcZZB.js.gz +0 -0
- package/dist/AvailabilitySkeleton-D9AU4ixh.js.br +0 -0
- package/dist/AvailabilitySkeleton-D9AU4ixh.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js.gz +0 -0
- package/dist/CheckoutWindow-DWFK2IZh.js.br +0 -0
- package/dist/CheckoutWindow-DWFK2IZh.js.gz +0 -0
- package/dist/ErrorMessage-C1YWACa7.js.br +0 -0
- package/dist/ErrorMessage-C1YWACa7.js.gz +0 -0
- package/dist/EventAvailabilityForm-CDMjMdcO.js.br +0 -0
- package/dist/EventAvailabilityForm-CDMjMdcO.js.gz +0 -0
- package/dist/Field-CMaYNFTv.js.br +0 -0
- package/dist/Field-CMaYNFTv.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js.gz +0 -0
- package/dist/TermsOfService-BfaRso6d.js.br +0 -0
- package/dist/TermsOfService-BfaRso6d.js.gz +0 -0
- package/dist/_-Bu1sX50B.js +0 -5
- package/dist/_.vue_vue_type_style_index_0_lang-Vlaciaq-.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-Vlaciaq-.js.gz +0 -0
- package/dist/giftCard-CDAm25oD.js.br +0 -0
- package/dist/giftCard-CDAm25oD.js.gz +0 -0
- package/dist/masonry.plugin-85XDu7Qy.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { d as U, u as X, s as
|
|
1
|
+
import { d as U, u as X, s as q, c as Z, r as Se, a as p, b as l, g as e, w as m, q as Q, e as t, i as d, f as b, n as lt, h as r, t as o, F as A, v as M, o as ot, j as st, x as me, y as it, z as R, A as rt, S as ut, k as dt, _ as ct, l as mt, m as pt, p as vt } from "./mitt-CWSmi8M-.js";
|
|
2
2
|
import { G as bt } from "./style-DJF9fHLt.js";
|
|
3
|
-
import { a as we, f as se, g as
|
|
4
|
-
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as
|
|
6
|
-
import { g as
|
|
7
|
-
import { C as Gt, P as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
10
|
-
|
|
3
|
+
import { a as we, f as se, g as J, B as ft, h as le, l as gt, s as G, e as pe, _ as z, I as oe, i as kt, j as ve, u as $e, k as yt, m as ht, n as Dt, o as K, T as ce, O as Pt, p as $t, q as _e, C as wt, r as Et, t as Ot } from "./SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js";
|
|
4
|
+
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-CPvUCrel.js";
|
|
5
|
+
import { B as Vt, _ as Tt, R as Nt, L as Ae, S as Ft, M as Lt, T as Ct, C as Bt, V as St, a as At } from "./masonry.plugin-CPn7JWhD.js";
|
|
6
|
+
import { g as It, e as Rt, c as Mt, n as Ut, a as Ve, m as Te, b as Ne, d as Fe, f as Le, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js";
|
|
7
|
+
import { C as Gt, P as qt, a as Ce } from "./CheckoutWindow-CdAiqIDw.js";
|
|
8
|
+
import { E as zt } from "./EventAvailabilityForm-78aeZEOH.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js";
|
|
10
|
+
import { f as Yt, a as jt } from "./index-BZyqtOJw.js";
|
|
11
|
+
function Wt(P) {
|
|
11
12
|
return (n) => {
|
|
12
13
|
const k = (P ? Math[P] : Math.trunc)(n);
|
|
13
14
|
return k === 0 ? 0 : k;
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
-
const k =
|
|
17
|
+
function Zt(P, n, a) {
|
|
18
|
+
const k = It(), v = a?.locale ?? k.locale ?? Rt, f = Mt(P, n);
|
|
18
19
|
if (isNaN(f))
|
|
19
20
|
throw new RangeError("Invalid time value");
|
|
20
21
|
const i = Object.assign({}, a, {
|
|
@@ -23,10 +24,10 @@ function jt(P, n, a) {
|
|
|
23
24
|
}), [y, h] = Ut(
|
|
24
25
|
a?.in,
|
|
25
26
|
...f > 0 ? [n, P] : [P, n]
|
|
26
|
-
), s =
|
|
27
|
+
), s = Wt("round"), T = h.getTime() - y.getTime(), $ = T / Le, C = Ve(h) - Ve(y), _ = (T - C) / Le, O = a?.unit;
|
|
27
28
|
let D;
|
|
28
|
-
if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ <
|
|
29
|
-
const w = s(
|
|
29
|
+
if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ < Te ? D = "hour" : _ < Ne ? D = "day" : _ < Fe ? D = "month" : D = "year", D === "second") {
|
|
30
|
+
const w = s(T / 1e3);
|
|
30
31
|
return v.formatDistance("xSeconds", w, i);
|
|
31
32
|
} else if (D === "minute") {
|
|
32
33
|
const w = s($);
|
|
@@ -35,7 +36,7 @@ function jt(P, n, a) {
|
|
|
35
36
|
const w = s($ / 60);
|
|
36
37
|
return v.formatDistance("xHours", w, i);
|
|
37
38
|
} else if (D === "day") {
|
|
38
|
-
const w = s(_ /
|
|
39
|
+
const w = s(_ / Te);
|
|
39
40
|
return v.formatDistance("xDays", w, i);
|
|
40
41
|
} else if (D === "month") {
|
|
41
42
|
const w = s(_ / Ne);
|
|
@@ -45,7 +46,7 @@ function jt(P, n, a) {
|
|
|
45
46
|
return v.formatDistance("xYears", w, i);
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
const
|
|
49
|
+
const Kt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ U({
|
|
49
50
|
__name: "_",
|
|
50
51
|
props: {
|
|
51
52
|
name: {},
|
|
@@ -72,17 +73,17 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
72
73
|
setup(P) {
|
|
73
74
|
const { t: n } = X(), a = P, { display: k } = we(), {
|
|
74
75
|
hideEventGuestAmount: v
|
|
75
|
-
} =
|
|
76
|
+
} = q(se()), {
|
|
76
77
|
maxNumberOfPeople: f,
|
|
77
78
|
numberOfPeople: i,
|
|
78
79
|
eventId: y,
|
|
79
80
|
currentEventDate: h,
|
|
80
81
|
tableGroupId: s
|
|
81
|
-
} =
|
|
82
|
-
getTemplateAvailability:
|
|
82
|
+
} = q(J()), {
|
|
83
|
+
getTemplateAvailability: T,
|
|
83
84
|
getEventAvailability: $,
|
|
84
85
|
isEventListingLoading: C
|
|
85
|
-
} =
|
|
86
|
+
} = J(), _ = Z(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), O = Se(0), D = Z(() => C(a.listingId)), w = () => {
|
|
86
87
|
if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
87
88
|
k({
|
|
88
89
|
type: "error",
|
|
@@ -90,7 +91,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
90
91
|
});
|
|
91
92
|
return;
|
|
92
93
|
}
|
|
93
|
-
y.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value,
|
|
94
|
+
y.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, T(a.callback);
|
|
94
95
|
}, x = () => {
|
|
95
96
|
if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
96
97
|
k({
|
|
@@ -101,7 +102,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
101
102
|
}
|
|
102
103
|
y.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, $(a.callback);
|
|
103
104
|
};
|
|
104
|
-
return (E, L) => (l(), p(
|
|
105
|
+
return (E, L) => (l(), p(Vt, {
|
|
105
106
|
type: "event",
|
|
106
107
|
"listing-id": E.listingId,
|
|
107
108
|
gallery: E.gallery,
|
|
@@ -113,10 +114,10 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
113
114
|
"disable-deep-link": E.disableDeepLink
|
|
114
115
|
}, {
|
|
115
116
|
description: m(() => [
|
|
116
|
-
|
|
117
|
+
Q(E.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
|
|
117
118
|
]),
|
|
118
119
|
action: m(() => [
|
|
119
|
-
|
|
120
|
+
Q(E.$slots, "action", {}, () => [
|
|
120
121
|
t("div", {
|
|
121
122
|
class: lt([
|
|
122
123
|
"konnectio-event-listing-action",
|
|
@@ -135,7 +136,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
135
136
|
"min-value": 0,
|
|
136
137
|
"max-value": _.value
|
|
137
138
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
138
|
-
t("div",
|
|
139
|
+
t("div", Kt, [
|
|
139
140
|
b(pe, {
|
|
140
141
|
label: E.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
141
142
|
disabled: E.soldOut,
|
|
@@ -151,14 +152,14 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
|
|
|
151
152
|
_: 3
|
|
152
153
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
153
154
|
}
|
|
154
|
-
}),
|
|
155
|
-
const
|
|
155
|
+
}), Ie = /* @__PURE__ */ z(Qt, [["__scopeId", "data-v-5bd6f82e"]]), Jt = { class: "konnectio-event-listing-information-new" };
|
|
156
|
+
const Xt = {
|
|
156
157
|
key: 1,
|
|
157
158
|
class: "konnectio-pill-button"
|
|
158
|
-
},
|
|
159
|
+
}, xt = {
|
|
159
160
|
key: 2,
|
|
160
161
|
class: "konnectio-pill-button"
|
|
161
|
-
},
|
|
162
|
+
}, en = { key: 0 }, tn = { key: 1 }, nn = /* @__PURE__ */ U({
|
|
162
163
|
__name: "Event",
|
|
163
164
|
props: {
|
|
164
165
|
name: {},
|
|
@@ -184,16 +185,16 @@ const Jt = {
|
|
|
184
185
|
const n = P, { t: a } = X(), {
|
|
185
186
|
hideEventLength: k,
|
|
186
187
|
hideEventEndTime: v
|
|
187
|
-
} =
|
|
188
|
+
} = q(se()), f = Z(() => {
|
|
188
189
|
if (!n.length)
|
|
189
190
|
return;
|
|
190
191
|
const i = n.length.split(":");
|
|
191
|
-
return
|
|
192
|
+
return Zt(
|
|
192
193
|
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
193
194
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
194
195
|
);
|
|
195
196
|
});
|
|
196
|
-
return (i, y) => (l(), p(
|
|
197
|
+
return (i, y) => (l(), p(Ie, {
|
|
197
198
|
"listing-id": i.listingId,
|
|
198
199
|
name: i.name,
|
|
199
200
|
description: i.description,
|
|
@@ -208,13 +209,13 @@ const Jt = {
|
|
|
208
209
|
callback: i.callback
|
|
209
210
|
}, {
|
|
210
211
|
description: m(() => [
|
|
211
|
-
i.description ? (l(), p(
|
|
212
|
+
i.description ? (l(), p(Tt, {
|
|
212
213
|
key: 0,
|
|
213
214
|
text: i.description
|
|
214
215
|
}, null, 8, ["text"])) : d("", !0),
|
|
215
|
-
t("ul",
|
|
216
|
+
t("ul", Jt, [
|
|
216
217
|
d("", !0),
|
|
217
|
-
!e(k) && f.value ? (l(), r("li",
|
|
218
|
+
!e(k) && f.value ? (l(), r("li", Xt, [
|
|
218
219
|
t("div", null, [
|
|
219
220
|
b(oe, {
|
|
220
221
|
icon: "calendar-clock",
|
|
@@ -224,7 +225,7 @@ const Jt = {
|
|
|
224
225
|
]),
|
|
225
226
|
t("span", null, o(f.value), 1)
|
|
226
227
|
])) : d("", !0),
|
|
227
|
-
i.timeFrom ? (l(), r("li",
|
|
228
|
+
i.timeFrom ? (l(), r("li", xt, [
|
|
228
229
|
t("div", null, [
|
|
229
230
|
b(oe, {
|
|
230
231
|
icon: "calendar-clock",
|
|
@@ -232,20 +233,20 @@ const Jt = {
|
|
|
232
233
|
}),
|
|
233
234
|
t("span", null, o(e(a)("event.startAndEndTime")), 1)
|
|
234
235
|
]),
|
|
235
|
-
e(v) ? (l(), r("span",
|
|
236
|
+
e(v) ? (l(), r("span", tn, o(e(ve)(i.timeFrom)), 1)) : (l(), r("span", en, o(e(kt)(i.timeFrom, i.timeTo)), 1))
|
|
236
237
|
])) : d("", !0)
|
|
237
238
|
])
|
|
238
239
|
]),
|
|
239
240
|
action: m(() => [
|
|
240
|
-
|
|
241
|
+
Q(i.$slots, "action", {}, void 0, !0)
|
|
241
242
|
]),
|
|
242
243
|
_: 3
|
|
243
244
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
|
|
244
245
|
}
|
|
245
|
-
}), be = /* @__PURE__ */
|
|
246
|
+
}), be = /* @__PURE__ */ z(nn, [["__scopeId", "data-v-bd8a264c"]]), an = {
|
|
246
247
|
key: 0,
|
|
247
248
|
class: "konnectio-event-grouped-listings-container"
|
|
248
|
-
},
|
|
249
|
+
}, ln = { class: "konnectio-event-grouped-listings" }, on = /* @__PURE__ */ U({
|
|
249
250
|
__name: "Event",
|
|
250
251
|
props: {
|
|
251
252
|
name: {},
|
|
@@ -253,10 +254,10 @@ const Jt = {
|
|
|
253
254
|
callback: { type: Function }
|
|
254
255
|
},
|
|
255
256
|
setup(P) {
|
|
256
|
-
return (n, a) => n.events && n.events.length > 1 ? (l(), r("div",
|
|
257
|
+
return (n, a) => n.events && n.events.length > 1 ? (l(), r("div", an, [
|
|
257
258
|
d("", !0),
|
|
258
|
-
t("ul",
|
|
259
|
-
(l(!0), r(
|
|
259
|
+
t("ul", ln, [
|
|
260
|
+
(l(!0), r(A, null, M(n.events, ({
|
|
260
261
|
id: k,
|
|
261
262
|
days: v,
|
|
262
263
|
name: f,
|
|
@@ -264,7 +265,7 @@ const Jt = {
|
|
|
264
265
|
timeTo: y,
|
|
265
266
|
tableGroupId: h,
|
|
266
267
|
description: s,
|
|
267
|
-
soldOut:
|
|
268
|
+
soldOut: T,
|
|
268
269
|
length: $,
|
|
269
270
|
images: C,
|
|
270
271
|
maxOnlineReservationLimit: _,
|
|
@@ -284,7 +285,7 @@ const Jt = {
|
|
|
284
285
|
"max-online-reservation-limit": O || _ || w,
|
|
285
286
|
"time-from": i,
|
|
286
287
|
"time-to": y,
|
|
287
|
-
"sold-out":
|
|
288
|
+
"sold-out": T,
|
|
288
289
|
"use-number-of-products-for-persons": D,
|
|
289
290
|
callback: n.callback
|
|
290
291
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
@@ -309,7 +310,7 @@ const Jt = {
|
|
|
309
310
|
callback: n.callback
|
|
310
311
|
}, 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"])) : d("", !0);
|
|
311
312
|
}
|
|
312
|
-
}),
|
|
313
|
+
}), sn = /* @__PURE__ */ z(on, [["__scopeId", "data-v-71c9af93"]]), rn = { class: "konnectio-special-offer-availability" }, un = { class: "konnectio-special-offer-availability-button" }, dn = { class: "konnectio-warning-notice" }, cn = { key: 0 }, mn = { key: 1 }, pn = /* @__PURE__ */ U({
|
|
313
314
|
__name: "NextEvent",
|
|
314
315
|
props: {
|
|
315
316
|
name: {},
|
|
@@ -331,7 +332,7 @@ const Jt = {
|
|
|
331
332
|
callback: { type: Function }
|
|
332
333
|
},
|
|
333
334
|
setup(P) {
|
|
334
|
-
const { t: n } = X(), { updateEventDate: a } = $e(), { display: k } = we(), v =
|
|
335
|
+
const { t: n } = X(), { updateEventDate: a } = $e(), { display: k } = we(), v = Se(), f = P;
|
|
335
336
|
function i() {
|
|
336
337
|
v.value ? a(v.value) : k({
|
|
337
338
|
message: n("alert.error.selectDate"),
|
|
@@ -341,7 +342,7 @@ const Jt = {
|
|
|
341
342
|
const y = Z(() => yt(f.fromDate, f.toDate) <= 1), h = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !ht(f.days).includes(s)));
|
|
342
343
|
return ot(() => {
|
|
343
344
|
y.value && (v.value = new Date(f.fromDate));
|
|
344
|
-
}), (s,
|
|
345
|
+
}), (s, T) => (l(), p(be, {
|
|
345
346
|
name: s.name,
|
|
346
347
|
description: s.description,
|
|
347
348
|
"from-date": s.fromDate,
|
|
@@ -363,10 +364,10 @@ const Jt = {
|
|
|
363
364
|
}, {
|
|
364
365
|
action: m(() => [
|
|
365
366
|
t("div", null, [
|
|
366
|
-
t("div",
|
|
367
|
+
t("div", rn, [
|
|
367
368
|
b(Ht, {
|
|
368
369
|
modelValue: v.value,
|
|
369
|
-
"onUpdate:modelValue":
|
|
370
|
+
"onUpdate:modelValue": T[0] || (T[0] = ($) => v.value = $),
|
|
370
371
|
label: `${e(n)("event.selectDate")}*`,
|
|
371
372
|
placeholder: e(n)("event.selectDate"),
|
|
372
373
|
"icon-type": "fas",
|
|
@@ -377,18 +378,18 @@ const Jt = {
|
|
|
377
378
|
"max-date": new Date(s.toDate),
|
|
378
379
|
"disabled-week-days": h.value
|
|
379
380
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
380
|
-
t("div",
|
|
381
|
+
t("div", un, [
|
|
381
382
|
b(pe, {
|
|
382
383
|
label: e(n)("availability.buttonLabel"),
|
|
383
384
|
onClick: st(i, ["prevent"])
|
|
384
385
|
}, null, 8, ["label"])
|
|
385
386
|
])
|
|
386
387
|
]),
|
|
387
|
-
t("div",
|
|
388
|
-
y.value ? (l(), r("span",
|
|
388
|
+
t("div", dn, [
|
|
389
|
+
y.value ? (l(), r("span", cn, [
|
|
389
390
|
me("*" + o(e(n)("event.canBeBooked")) + " ", 1),
|
|
390
391
|
t("u", null, o(e(G)(s.fromDate)), 1)
|
|
391
|
-
])) : (l(), r("span",
|
|
392
|
+
])) : (l(), r("span", mn, [
|
|
392
393
|
me("*" + o(e(n)("event.canBeBooked")) + " ", 1),
|
|
393
394
|
t("u", null, o(e(Dt)(s.days)), 1)
|
|
394
395
|
]))
|
|
@@ -398,7 +399,7 @@ const Jt = {
|
|
|
398
399
|
_: 1
|
|
399
400
|
}, 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"]));
|
|
400
401
|
}
|
|
401
|
-
}),
|
|
402
|
+
}), vn = /* @__PURE__ */ z(pn, [["__scopeId", "data-v-f6aed3b0"]]), bn = ["innerHTML"], fn = /* @__PURE__ */ U({
|
|
402
403
|
__name: "FallbackEvent",
|
|
403
404
|
props: {
|
|
404
405
|
name: {},
|
|
@@ -425,12 +426,12 @@ const Jt = {
|
|
|
425
426
|
t("div", {
|
|
426
427
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
427
428
|
innerHTML: e(n)("event.notAvailable", { name: `<b>${a.name}</b>` })
|
|
428
|
-
}, null, 8,
|
|
429
|
+
}, null, 8, bn)
|
|
429
430
|
]),
|
|
430
431
|
_: 1
|
|
431
432
|
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "callback"]));
|
|
432
433
|
}
|
|
433
|
-
}),
|
|
434
|
+
}), gn = /* @__PURE__ */ z(fn, [["__scopeId", "data-v-14c5e97e"]]), kn = /* @__PURE__ */ U({
|
|
434
435
|
__name: "Template",
|
|
435
436
|
props: {
|
|
436
437
|
name: {},
|
|
@@ -447,7 +448,7 @@ const Jt = {
|
|
|
447
448
|
callback: {}
|
|
448
449
|
},
|
|
449
450
|
setup(P) {
|
|
450
|
-
return (n, a) => (l(), p(
|
|
451
|
+
return (n, a) => (l(), p(Ie, {
|
|
451
452
|
"listing-id": n.listingId,
|
|
452
453
|
gallery: n.images,
|
|
453
454
|
name: n.name,
|
|
@@ -458,13 +459,13 @@ const Jt = {
|
|
|
458
459
|
callback: n.callback
|
|
459
460
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
460
461
|
}
|
|
461
|
-
}),
|
|
462
|
+
}), yn = {
|
|
462
463
|
key: 0,
|
|
463
464
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
464
|
-
},
|
|
465
|
+
}, hn = ["innerHTML"], Dn = { key: 0 }, Pn = { key: 1 }, $n = { key: 2 }, wn = { key: 0 }, En = { key: 4 }, On = { key: 5 }, _n = { key: 6 }, Vn = { key: 0 }, Tn = { key: 0 }, Nn = { key: 1 }, Fn = {
|
|
465
466
|
key: 0,
|
|
466
467
|
class: "konnectio-capitalize"
|
|
467
|
-
},
|
|
468
|
+
}, Ln = /* @__PURE__ */ U({
|
|
468
469
|
__name: "EventReservationForm",
|
|
469
470
|
props: {
|
|
470
471
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -480,7 +481,7 @@ const Jt = {
|
|
|
480
481
|
numberOfTotalDays: y,
|
|
481
482
|
isTemplateEvent: h,
|
|
482
483
|
currentEventDate: s,
|
|
483
|
-
length:
|
|
484
|
+
length: T,
|
|
484
485
|
fromDate: $,
|
|
485
486
|
tableBasePrice: C,
|
|
486
487
|
getTemplateData: _,
|
|
@@ -492,7 +493,7 @@ const Jt = {
|
|
|
492
493
|
totalSelectedProducts: L,
|
|
493
494
|
discountValue: Y,
|
|
494
495
|
appliedDiscountCode: fe
|
|
495
|
-
} =
|
|
496
|
+
} = q(J()), { totalAddonPrice: ie, validateDiscountCode: ge } = J(), { currency: re, hideEventLength: ke } = q(se()), ee = n("event.reservationNotice");
|
|
496
497
|
return (H, ue) => (l(), p(Nt, {
|
|
497
498
|
"discount-code": e(E),
|
|
498
499
|
"onUpdate:discountCode": ue[0] || (ue[0] = (j) => R(E) ? E.value = j : null),
|
|
@@ -508,28 +509,28 @@ const Jt = {
|
|
|
508
509
|
"prev-callback": H.prevCallback
|
|
509
510
|
}, rt({
|
|
510
511
|
form: m(() => [
|
|
511
|
-
|
|
512
|
-
e(ee) ? (l(), r("div",
|
|
512
|
+
Q(H.$slots, "form", {}, void 0, !0),
|
|
513
|
+
e(ee) ? (l(), r("div", yn, [
|
|
513
514
|
t("p", {
|
|
514
515
|
innerHTML: e(ee),
|
|
515
516
|
class: "konnectio-wysiwyg"
|
|
516
|
-
}, null, 8,
|
|
517
|
+
}, null, 8, hn)
|
|
517
518
|
])) : d("", !0)
|
|
518
519
|
]),
|
|
519
520
|
"reservation-summary": m(() => [
|
|
520
|
-
e(h) ? d("", !0) : (l(), r("li",
|
|
521
|
+
e(h) ? d("", !0) : (l(), r("li", Dn, [
|
|
521
522
|
t("span", null, o(e(n)("general.date")), 1),
|
|
522
523
|
t("b", null, o(e(G)(e(s))), 1)
|
|
523
524
|
])),
|
|
524
|
-
e(f) > 0 ? (l(), r("li",
|
|
525
|
+
e(f) > 0 ? (l(), r("li", Pn, [
|
|
525
526
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
526
527
|
t("b", null, o(e(f)), 1)
|
|
527
528
|
])) : d("", !0),
|
|
528
|
-
!e(h) && e(L) > 0 ? (l(), r("li",
|
|
529
|
+
!e(h) && e(L) > 0 ? (l(), r("li", $n, [
|
|
529
530
|
t("span", null, o(e(n)("event.numberOfProducts")), 1),
|
|
530
531
|
t("b", null, o(e(L)), 1)
|
|
531
532
|
])) : d("", !0),
|
|
532
|
-
e(h) ? (l(), r(
|
|
533
|
+
e(h) ? (l(), r(A, { key: 3 }, [
|
|
533
534
|
t("li", null, [
|
|
534
535
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
535
536
|
t("b", null, o(e(G)(e($))), 1)
|
|
@@ -542,86 +543,86 @@ const Jt = {
|
|
|
542
543
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
543
544
|
t("b", null, o(e(i)), 1)
|
|
544
545
|
]),
|
|
545
|
-
e(y) > 0 ? (l(), r("li",
|
|
546
|
+
e(y) > 0 ? (l(), r("li", wn, [
|
|
546
547
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
547
548
|
t("b", null, o(e(y)), 1)
|
|
548
549
|
])) : d("", !0)
|
|
549
550
|
], 64)) : d("", !0),
|
|
550
|
-
!e(h) && e(v) ? (l(), r("li",
|
|
551
|
+
!e(h) && e(v) ? (l(), r("li", En, [
|
|
551
552
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
552
553
|
t("b", null, o(e(ve)(e(v))), 1)
|
|
553
554
|
])) : d("", !0),
|
|
554
|
-
!e(h) && e(
|
|
555
|
+
!e(h) && e(T) && !e(ke) ? (l(), r("li", On, [
|
|
555
556
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
556
|
-
t("b", null, o(e(ve)(e(
|
|
557
|
+
t("b", null, o(e(ve)(e(T))), 1)
|
|
557
558
|
])) : d("", !0),
|
|
558
|
-
e(Y) ? (l(), r("li",
|
|
559
|
+
e(Y) ? (l(), r("li", _n, [
|
|
559
560
|
t("span", null, o(e(n)("general.discountCode")), 1),
|
|
560
561
|
t("b", null, o(e(fe)), 1)
|
|
561
562
|
])) : d("", !0)
|
|
562
563
|
]),
|
|
563
564
|
"price-summary": m(() => [
|
|
564
|
-
!e(h) && e(C) > 0 ? (l(), r("li",
|
|
565
|
+
!e(h) && e(C) > 0 ? (l(), r("li", Vn, [
|
|
565
566
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
566
|
-
t("b", null, o(e(
|
|
567
|
+
t("b", null, o(e(K)(e(C), e(re))), 1)
|
|
567
568
|
])) : d("", !0),
|
|
568
|
-
e(_) ? (l(!0), r(
|
|
569
|
+
e(_) ? (l(!0), r(A, { key: 1 }, M(e(_), ({ roomGroupId: j }, W) => (l(), r(A, null, [
|
|
569
570
|
e(ie)(j, W) > 0 ? (l(), r("li", { key: j }, [
|
|
570
571
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(W + 1), 1),
|
|
571
|
-
t("b", null, o(e(
|
|
572
|
+
t("b", null, o(e(K)(e(ie)(j, W), e(re))), 1)
|
|
572
573
|
])) : d("", !0)
|
|
573
574
|
], 64))), 256)) : d("", !0)
|
|
574
575
|
]),
|
|
575
576
|
navigation: m(() => [
|
|
576
|
-
|
|
577
|
+
Q(H.$slots, "navigation", {}, void 0, !0)
|
|
577
578
|
]),
|
|
578
579
|
"mobile-under-price": m(() => [
|
|
579
|
-
e(h) && e(y) > 0 ? (l(), r("div",
|
|
580
|
+
e(h) && e(y) > 0 ? (l(), r("div", Tn, [
|
|
580
581
|
t("span", null, o(e(G)(e($))) + " - " + o(e(G)(e($), e(y))), 1)
|
|
581
|
-
])) : (l(), r("div",
|
|
582
|
+
])) : (l(), r("div", Nn, [
|
|
582
583
|
t("span", null, o(e(G)(e(s))), 1)
|
|
583
584
|
]))
|
|
584
585
|
]),
|
|
585
586
|
"mobile-summary": m(() => [
|
|
586
|
-
!e(h) && e(L) > 0 ? (l(), r("span",
|
|
587
|
+
!e(h) && e(L) > 0 ? (l(), r("span", Fn, o(e(n)("event.numberOfProducts")) + ": " + o(e(L)), 1)) : d("", !0)
|
|
587
588
|
]),
|
|
588
589
|
_: 2
|
|
589
590
|
}, [
|
|
590
591
|
e(a).sidebar ? {
|
|
591
592
|
name: "sidebar",
|
|
592
593
|
fn: m(() => [
|
|
593
|
-
|
|
594
|
+
Q(H.$slots, "sidebar", {}, void 0, !0)
|
|
594
595
|
]),
|
|
595
596
|
key: "0"
|
|
596
597
|
} : void 0
|
|
597
598
|
]), 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"]));
|
|
598
599
|
}
|
|
599
|
-
}), Pe = /* @__PURE__ */
|
|
600
|
+
}), Pe = /* @__PURE__ */ z(Ln, [["__scopeId", "data-v-d2ff3f68"]]), Cn = { class: "event-skeleton" }, Bn = { class: "event-skeleton-content" }, Sn = { class: "event-skeleton-sidebar" }, An = /* @__PURE__ */ U({
|
|
600
601
|
__name: "EventSkeleton",
|
|
601
602
|
setup(P) {
|
|
602
|
-
return (n, a) => (l(), r("div",
|
|
603
|
-
t("div",
|
|
604
|
-
b(
|
|
603
|
+
return (n, a) => (l(), r("div", Cn, [
|
|
604
|
+
t("div", Bn, [
|
|
605
|
+
b(Ae)
|
|
605
606
|
]),
|
|
606
|
-
t("div",
|
|
607
|
+
t("div", Sn, [
|
|
607
608
|
d("", !0),
|
|
608
609
|
b(Ft)
|
|
609
610
|
])
|
|
610
611
|
]));
|
|
611
612
|
}
|
|
612
|
-
}),
|
|
613
|
+
}), In = /* @__PURE__ */ z(An, [["__scopeId", "data-v-3e15c4e3"]]), Rn = {
|
|
613
614
|
key: 0,
|
|
614
615
|
id: "konnectio-event-listings-wrapper"
|
|
615
|
-
},
|
|
616
|
+
}, Mn = {
|
|
616
617
|
key: 1,
|
|
617
618
|
class: "konnectio-hotel-availability-title"
|
|
618
|
-
},
|
|
619
|
+
}, Un = { class: "konnectio-event-listings" }, Hn = { class: "konnectio-hotel-availability-title" }, Gn = { class: "konnectio-event-listings" }, qn = ["innerHTML"], zn = { class: "konnectio-panel" }, Yn = {
|
|
619
620
|
key: 0,
|
|
620
621
|
id: "konnectio-event-addons"
|
|
621
|
-
},
|
|
622
|
+
}, jn = { class: "konnectio-table with-lines" }, Wn = { class: "konnectio-event-addons-price" }, Zn = { class: "konnectio-event-addons-input" }, Kn = { class: "konnectio-event-addons-price" }, Qn = { class: "konnectio-event-addons-price" }, Jn = {
|
|
622
623
|
key: 1,
|
|
623
624
|
class: "konnectio-table with-lines without-header"
|
|
624
|
-
},
|
|
625
|
+
}, Xn = { class: "konnectio-table-addons-information" }, xn = { key: 0 }, ea = { class: "konnectio-table-addons-option" }, ta = { class: "konnectio-panel" }, na = /* @__PURE__ */ U({
|
|
625
626
|
name: "EventLayout",
|
|
626
627
|
__name: "Event",
|
|
627
628
|
props: {
|
|
@@ -645,7 +646,7 @@ const Jt = {
|
|
|
645
646
|
numberOfHighChairs: y,
|
|
646
647
|
name: h,
|
|
647
648
|
phone: s,
|
|
648
|
-
email:
|
|
649
|
+
email: T,
|
|
649
650
|
remark: $,
|
|
650
651
|
allergies: C,
|
|
651
652
|
arrivalTime: _,
|
|
@@ -668,15 +669,15 @@ const Jt = {
|
|
|
668
669
|
getUnavailableEvents: W,
|
|
669
670
|
hasFallbackEvents: Ee,
|
|
670
671
|
getFallbackEvents: Re
|
|
671
|
-
} =
|
|
672
|
-
initialize:
|
|
673
|
-
fetchListings:
|
|
672
|
+
} = q(J()), { currency: de } = q(se()), { setActiveIdFilter: Me } = se(), { eventDate: Ue, eventLocation: He } = q($e()), { isValidRestaurantId: Ge } = $e(), {
|
|
673
|
+
initialize: qe,
|
|
674
|
+
fetchListings: ze,
|
|
674
675
|
createBooking: Ye,
|
|
675
676
|
localAddonPrice: je,
|
|
676
677
|
totalAddonPrice: We,
|
|
677
678
|
reset: Ze,
|
|
678
679
|
goBack: Oe
|
|
679
|
-
} =
|
|
680
|
+
} = J(), { display: ye } = we(), Ke = Z(() => [
|
|
680
681
|
{
|
|
681
682
|
id: "availability",
|
|
682
683
|
label: a("booking.availability.title"),
|
|
@@ -702,7 +703,7 @@ const Jt = {
|
|
|
702
703
|
label: a("booking.confirmation.title"),
|
|
703
704
|
icon: "calendar-check"
|
|
704
705
|
}
|
|
705
|
-
]),
|
|
706
|
+
]), Qe = Z(() => {
|
|
706
707
|
const g = [];
|
|
707
708
|
return Y.value && Y.value.forEach((c) => {
|
|
708
709
|
g.find((F) => F.value === c.time) || g.push({
|
|
@@ -711,17 +712,17 @@ const Jt = {
|
|
|
711
712
|
});
|
|
712
713
|
}), g;
|
|
713
714
|
});
|
|
714
|
-
function
|
|
715
|
+
function Je() {
|
|
715
716
|
Ze(n.resetDate === "yes");
|
|
716
717
|
}
|
|
717
718
|
function Xe() {
|
|
718
719
|
const g = Et("history", {
|
|
719
720
|
removeNullishValues: !0
|
|
720
|
-
}), c = parseInt(g.rid), F = g.d,
|
|
721
|
+
}), c = parseInt(g.rid), F = g.d, V = parseInt(g.eid);
|
|
721
722
|
if (F)
|
|
722
723
|
if (Ot(F)) {
|
|
723
|
-
const u = new Date(F), B = u.setHours(12, 0, 0, 0),
|
|
724
|
-
B >=
|
|
724
|
+
const u = new Date(F), B = u.setHours(12, 0, 0, 0), I = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
725
|
+
B >= I ? Ue.value = u : (ye({
|
|
725
726
|
message: a("alert.error.invalidDateRange"),
|
|
726
727
|
type: "error"
|
|
727
728
|
}), g.d = void 0);
|
|
@@ -733,7 +734,7 @@ const Jt = {
|
|
|
733
734
|
isNaN(c) || (Ge(c) ? He.value = c : (g.rid = void 0, ye({
|
|
734
735
|
message: a("alert.error.hotelIdNotFound"),
|
|
735
736
|
type: "error"
|
|
736
|
-
}))), isNaN(
|
|
737
|
+
}))), isNaN(V) || Me(V), ze();
|
|
737
738
|
}
|
|
738
739
|
return (g, c) => (l(), p(wt, { styling: g.styling }, {
|
|
739
740
|
default: m(() => [
|
|
@@ -742,39 +743,39 @@ const Jt = {
|
|
|
742
743
|
b(_t, {
|
|
743
744
|
id: "konnectio-event-module",
|
|
744
745
|
"access-token": g.accessToken,
|
|
745
|
-
callback: e(
|
|
746
|
+
callback: e(qe)
|
|
746
747
|
}, {
|
|
747
748
|
default: m(() => [
|
|
748
749
|
b(Lt, {
|
|
749
|
-
steps:
|
|
750
|
-
onReset:
|
|
750
|
+
steps: Ke.value,
|
|
751
|
+
onReset: Je
|
|
751
752
|
}, {
|
|
752
753
|
availability: m(({ next: F }) => [
|
|
753
754
|
b(Pe, null, {
|
|
754
755
|
sidebar: m(() => [
|
|
755
|
-
b(
|
|
756
|
+
b(zt, {
|
|
756
757
|
redirection: !1,
|
|
757
758
|
"selected-location": Number(g.selectedLocation),
|
|
758
759
|
"hide-locations": g.hideLocations === "yes"
|
|
759
760
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
760
761
|
]),
|
|
761
762
|
form: m(() => [
|
|
762
|
-
e(ke) && e(ge) ? (l(), r("div",
|
|
763
|
-
e(Ee) ? (l(!0), r(
|
|
764
|
-
id:
|
|
763
|
+
e(ke) && e(ge) ? (l(), r("div", Rn, [
|
|
764
|
+
e(Ee) ? (l(!0), r(A, { key: 0 }, M(e(Re), ({
|
|
765
|
+
id: V,
|
|
765
766
|
name: u,
|
|
766
767
|
description: B,
|
|
767
|
-
images:
|
|
768
|
-
}) => (l(), p(
|
|
769
|
-
key:
|
|
768
|
+
images: I
|
|
769
|
+
}) => (l(), p(gn, {
|
|
770
|
+
key: V,
|
|
770
771
|
type: "event",
|
|
771
|
-
"listing-id":
|
|
772
|
+
"listing-id": V,
|
|
772
773
|
description: B,
|
|
773
774
|
name: u,
|
|
774
|
-
gallery:
|
|
775
|
+
gallery: I,
|
|
775
776
|
callback: F
|
|
776
777
|
}, null, 8, ["listing-id", "description", "name", "gallery", "callback"]))), 128)) : d("", !0),
|
|
777
|
-
e(O) && e(W).length > 0 ? (l(), r("h2",
|
|
778
|
+
e(O) && e(W).length > 0 ? (l(), r("h2", Mn, [
|
|
778
779
|
b(oe, {
|
|
779
780
|
icon: "calendar-clock",
|
|
780
781
|
type: "fal",
|
|
@@ -782,36 +783,36 @@ const Jt = {
|
|
|
782
783
|
}),
|
|
783
784
|
t("span", null, o(e(a)("event.availableNow")), 1)
|
|
784
785
|
])) : d("", !0),
|
|
785
|
-
t("ul",
|
|
786
|
-
e(O) && g.onlyShow !== "templates" ? (l(!0), r(
|
|
787
|
-
name:
|
|
788
|
-
events:
|
|
786
|
+
t("ul", Un, [
|
|
787
|
+
e(O) && g.onlyShow !== "templates" ? (l(!0), r(A, { key: 0 }, M(e(w), (V) => (l(), p(sn, {
|
|
788
|
+
name: V.name,
|
|
789
|
+
events: V.events,
|
|
789
790
|
callback: F
|
|
790
791
|
}, null, 8, ["name", "events", "callback"]))), 256)) : d("", !0),
|
|
791
|
-
e(D) && g.onlyShow !== "events" ? (l(!0), r(
|
|
792
|
-
id:
|
|
792
|
+
e(D) && g.onlyShow !== "events" ? (l(!0), r(A, { key: 1 }, M(e(x), ({
|
|
793
|
+
id: V,
|
|
793
794
|
name: u,
|
|
794
795
|
fromDate: B,
|
|
795
|
-
toDate:
|
|
796
|
+
toDate: I,
|
|
796
797
|
minimumPersonCount: N,
|
|
797
|
-
fromPrice:
|
|
798
|
+
fromPrice: S,
|
|
798
799
|
description: te,
|
|
799
800
|
images: ne
|
|
800
|
-
}) => (l(), p(
|
|
801
|
-
key:
|
|
802
|
-
"listing-id":
|
|
801
|
+
}) => (l(), p(kn, {
|
|
802
|
+
key: V,
|
|
803
|
+
"listing-id": V,
|
|
803
804
|
name: u,
|
|
804
805
|
images: ne,
|
|
805
806
|
description: te,
|
|
806
807
|
"from-date": B,
|
|
807
|
-
"to-date":
|
|
808
|
+
"to-date": I,
|
|
808
809
|
"minimum-person-count": N,
|
|
809
|
-
fromPrice:
|
|
810
|
+
fromPrice: S,
|
|
810
811
|
callback: F
|
|
811
812
|
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : d("", !0)
|
|
812
813
|
]),
|
|
813
|
-
e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(
|
|
814
|
-
t("h2",
|
|
814
|
+
e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(A, { key: 2 }, [
|
|
815
|
+
t("h2", Hn, [
|
|
815
816
|
b(oe, {
|
|
816
817
|
icon: "calendar-circle-exclamation",
|
|
817
818
|
type: "fal",
|
|
@@ -819,14 +820,14 @@ const Jt = {
|
|
|
819
820
|
}),
|
|
820
821
|
t("span", null, o(e(a)("event.availableLater")), 1)
|
|
821
822
|
]),
|
|
822
|
-
t("ul",
|
|
823
|
-
(l(!0), r(
|
|
824
|
-
id:
|
|
823
|
+
t("ul", Gn, [
|
|
824
|
+
(l(!0), r(A, null, M(e(W), ({
|
|
825
|
+
id: V,
|
|
825
826
|
days: u,
|
|
826
827
|
name: B,
|
|
827
|
-
timeFrom:
|
|
828
|
+
timeFrom: I,
|
|
828
829
|
timeTo: N,
|
|
829
|
-
fromDate:
|
|
830
|
+
fromDate: S,
|
|
830
831
|
toDate: te,
|
|
831
832
|
tableGroupId: ne,
|
|
832
833
|
description: he,
|
|
@@ -837,20 +838,20 @@ const Jt = {
|
|
|
837
838
|
maxPaxPerReservation: tt,
|
|
838
839
|
useNumberOfProductsForPersons: nt,
|
|
839
840
|
maxTicketsLimit: at
|
|
840
|
-
}) => (l(), p(
|
|
841
|
-
key:
|
|
841
|
+
}) => (l(), p(vn, {
|
|
842
|
+
key: V,
|
|
842
843
|
type: "event",
|
|
843
|
-
"listing-id":
|
|
844
|
+
"listing-id": V,
|
|
844
845
|
"table-group-id": ne,
|
|
845
846
|
description: he,
|
|
846
847
|
name: B,
|
|
847
848
|
length: ae,
|
|
848
849
|
gallery: xe,
|
|
849
850
|
days: u,
|
|
850
|
-
"from-date":
|
|
851
|
+
"from-date": S,
|
|
851
852
|
"to-date": te,
|
|
852
853
|
"max-online-reservation-limit": tt || et || at,
|
|
853
|
-
"time-from":
|
|
854
|
+
"time-from": I,
|
|
854
855
|
"time-to": N,
|
|
855
856
|
"sold-out": De,
|
|
856
857
|
"use-number-of-products-for-persons": nt,
|
|
@@ -862,27 +863,27 @@ const Jt = {
|
|
|
862
863
|
key: 3,
|
|
863
864
|
class: "konnectio-panel",
|
|
864
865
|
innerHTML: e(a)("event.nothingAvailable")
|
|
865
|
-
}, null, 8,
|
|
866
|
-
])) : (l(), p(
|
|
866
|
+
}, null, 8, qn)) : d("", !0)
|
|
867
|
+
])) : (l(), p(Ae, { key: 1 }))
|
|
867
868
|
]),
|
|
868
869
|
_: 2
|
|
869
870
|
}, 1024)
|
|
870
871
|
]),
|
|
871
|
-
addons: m(({ next: F, prev:
|
|
872
|
+
addons: m(({ next: F, prev: V }) => [
|
|
872
873
|
e(re) ? (l(), p(Pe, {
|
|
873
874
|
key: 0,
|
|
874
|
-
"prev-callback": () => e(Oe)(
|
|
875
|
+
"prev-callback": () => e(Oe)(V)
|
|
875
876
|
}, {
|
|
876
877
|
form: m(() => [
|
|
877
|
-
t("form",
|
|
878
|
+
t("form", zn, [
|
|
878
879
|
t("h2", null, [
|
|
879
880
|
t("span", null, o(e(a)("event.selectProducts")), 1)
|
|
880
881
|
]),
|
|
881
|
-
e(L) && e(L).length > 0 ? (l(), r("ul",
|
|
882
|
-
(l(!0), r(
|
|
882
|
+
e(L) && e(L).length > 0 ? (l(), r("ul", Yn, [
|
|
883
|
+
(l(!0), r(A, null, M(e(L), ({
|
|
883
884
|
roomGroupId: u,
|
|
884
885
|
addons: B,
|
|
885
|
-
adultPerRoom:
|
|
886
|
+
adultPerRoom: I
|
|
886
887
|
}, N) => (l(), r("li", { key: u }, [
|
|
887
888
|
t("h5", null, [
|
|
888
889
|
t("span", null, o(e(a)("booking.reservation.room")) + " #" + o(N + 1), 1),
|
|
@@ -892,49 +893,49 @@ const Jt = {
|
|
|
892
893
|
type: "fas",
|
|
893
894
|
color: "header"
|
|
894
895
|
}),
|
|
895
|
-
me(" " + o(
|
|
896
|
+
me(" " + o(I) + ") ", 1)
|
|
896
897
|
]),
|
|
897
|
-
t("table",
|
|
898
|
+
t("table", jn, [
|
|
898
899
|
t("thead", null, [
|
|
899
900
|
t("tr", null, [
|
|
900
901
|
t("th", null, [
|
|
901
902
|
t("span", null, o(e(a)("booking.reservation.addons")), 1)
|
|
902
903
|
]),
|
|
903
904
|
c[10] || (c[10] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
904
|
-
t("th",
|
|
905
|
+
t("th", Wn, [
|
|
905
906
|
t("span", null, o(e(a)("booking.availability.price")), 1)
|
|
906
907
|
])
|
|
907
908
|
])
|
|
908
909
|
]),
|
|
909
910
|
t("tbody", null, [
|
|
910
|
-
(l(!0), r(
|
|
911
|
-
id:
|
|
911
|
+
(l(!0), r(A, null, M(B, ({
|
|
912
|
+
id: S,
|
|
912
913
|
cardinality: te,
|
|
913
914
|
name: ne,
|
|
914
915
|
price: he,
|
|
915
916
|
quantityStrategy: De
|
|
916
|
-
}) => (l(), r("tr", { key:
|
|
917
|
+
}) => (l(), r("tr", { key: S }, [
|
|
917
918
|
t("td", null, [
|
|
918
919
|
t("b", null, o(ne), 1),
|
|
919
920
|
c[11] || (c[11] = t("br", null, null, -1)),
|
|
920
|
-
t("span", null, o(e(
|
|
921
|
+
t("span", null, o(e(K)(he, e(de))) + " " + o(e($t)(De)), 1)
|
|
921
922
|
]),
|
|
922
|
-
t("td",
|
|
923
|
+
t("td", Zn, [
|
|
923
924
|
te === 3 ? (l(), p(le, {
|
|
924
925
|
key: 0,
|
|
925
|
-
modelValue: e(k)[`${u}.${
|
|
926
|
-
"onUpdate:modelValue": (ae) => e(k)[`${u}.${
|
|
926
|
+
modelValue: e(k)[`${u}.${S}.${N}`],
|
|
927
|
+
"onUpdate:modelValue": (ae) => e(k)[`${u}.${S}.${N}`] = ae,
|
|
927
928
|
small: !0,
|
|
928
929
|
"min-value": 0
|
|
929
930
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), p(Ce, {
|
|
930
931
|
key: 1,
|
|
931
|
-
modelValue: e(k)[`${u}.${
|
|
932
|
-
"onUpdate:modelValue": (ae) => e(k)[`${u}.${
|
|
932
|
+
modelValue: e(k)[`${u}.${S}.${N}`],
|
|
933
|
+
"onUpdate:modelValue": (ae) => e(k)[`${u}.${S}.${N}`] = ae,
|
|
933
934
|
numeric: !0
|
|
934
935
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
935
936
|
]),
|
|
936
|
-
t("td",
|
|
937
|
-
t("span", null, o(e(
|
|
937
|
+
t("td", Kn, [
|
|
938
|
+
t("span", null, o(e(K)(e(je)(S, u, N), e(de))), 1)
|
|
938
939
|
])
|
|
939
940
|
]))), 128))
|
|
940
941
|
]),
|
|
@@ -942,9 +943,9 @@ const Jt = {
|
|
|
942
943
|
t("tr", null, [
|
|
943
944
|
c[12] || (c[12] = t("td", null, null, -1)),
|
|
944
945
|
c[13] || (c[13] = t("td", null, null, -1)),
|
|
945
|
-
t("td",
|
|
946
|
+
t("td", Qn, [
|
|
946
947
|
t("u", null, [
|
|
947
|
-
t("span", null, o(e(
|
|
948
|
+
t("span", null, o(e(K)(e(We)(u, N), e(de))), 1)
|
|
948
949
|
])
|
|
949
950
|
])
|
|
950
951
|
])
|
|
@@ -952,20 +953,20 @@ const Jt = {
|
|
|
952
953
|
])
|
|
953
954
|
]))), 128))
|
|
954
955
|
])) : d("", !0),
|
|
955
|
-
e(fe) ? (l(), r("table",
|
|
956
|
+
e(fe) ? (l(), r("table", Jn, [
|
|
956
957
|
t("tbody", null, [
|
|
957
|
-
(l(!0), r(
|
|
958
|
-
t("td",
|
|
958
|
+
(l(!0), r(A, null, M(e(E).products, ({ id: u, name: B, price: I, description: N }) => (l(), r("tr", { key: u }, [
|
|
959
|
+
t("td", Xn, [
|
|
959
960
|
t("b", null, [
|
|
960
961
|
t("span", null, o(e(_e)(B)), 1)
|
|
961
962
|
]),
|
|
962
|
-
N && N !== B ? (l(), r("span",
|
|
963
|
-
t("u", null, o(e(
|
|
963
|
+
N && N !== B ? (l(), r("span", xn, o(e(_e)(N)), 1)) : d("", !0),
|
|
964
|
+
t("u", null, o(e(K)(I, e(de))), 1)
|
|
964
965
|
]),
|
|
965
|
-
t("td",
|
|
966
|
+
t("td", ea, [
|
|
966
967
|
b(le, {
|
|
967
968
|
modelValue: e(v)[u],
|
|
968
|
-
"onUpdate:modelValue": (
|
|
969
|
+
"onUpdate:modelValue": (S) => e(v)[u] = S,
|
|
969
970
|
small: !0,
|
|
970
971
|
"min-value": 0
|
|
971
972
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -986,14 +987,14 @@ const Jt = {
|
|
|
986
987
|
_: 2
|
|
987
988
|
}, 1032, ["prev-callback"])) : d("", !0)
|
|
988
989
|
]),
|
|
989
|
-
reservation: m(({ next: F, prev:
|
|
990
|
+
reservation: m(({ next: F, prev: V }) => [
|
|
990
991
|
b(Pe, {
|
|
991
992
|
"show-terms-notice": !0,
|
|
992
993
|
"show-gift-card": !0,
|
|
993
|
-
"prev-callback": () => e(Oe)(
|
|
994
|
+
"prev-callback": () => e(Oe)(V)
|
|
994
995
|
}, {
|
|
995
996
|
form: m(() => [
|
|
996
|
-
t("form",
|
|
997
|
+
t("form", ta, [
|
|
997
998
|
t("h2", null, [
|
|
998
999
|
t("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
|
|
999
1000
|
]),
|
|
@@ -1007,8 +1008,8 @@ const Jt = {
|
|
|
1007
1008
|
required: ""
|
|
1008
1009
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1009
1010
|
b(ce, {
|
|
1010
|
-
modelValue: e(
|
|
1011
|
-
"onUpdate:modelValue": c[1] || (c[1] = (u) => R(
|
|
1011
|
+
modelValue: e(T),
|
|
1012
|
+
"onUpdate:modelValue": c[1] || (c[1] = (u) => R(T) ? T.value = u : null),
|
|
1012
1013
|
label: e(a)("booking.reservation.email"),
|
|
1013
1014
|
type: "email",
|
|
1014
1015
|
name: "email",
|
|
@@ -1017,7 +1018,7 @@ const Jt = {
|
|
|
1017
1018
|
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
1018
1019
|
required: ""
|
|
1019
1020
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1020
|
-
b(
|
|
1021
|
+
b(qt, {
|
|
1021
1022
|
modelValue: e(s),
|
|
1022
1023
|
"onUpdate:modelValue": c[2] || (c[2] = (u) => R(s) ? s.value = u : null),
|
|
1023
1024
|
label: e(a)("booking.reservation.phone"),
|
|
@@ -1031,7 +1032,7 @@ const Jt = {
|
|
|
1031
1032
|
"onUpdate:modelValue": c[3] || (c[3] = (u) => R(_) ? _.value = u : null),
|
|
1032
1033
|
label: e(a)("event.selectArrivalTime"),
|
|
1033
1034
|
name: "eventTimeTable",
|
|
1034
|
-
checkboxes:
|
|
1035
|
+
checkboxes: Qe.value,
|
|
1035
1036
|
required: ""
|
|
1036
1037
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : d("", !0),
|
|
1037
1038
|
e(ie) === e(Pt).FullDayEvent ? (l(), p(le, {
|
|
@@ -1103,7 +1104,7 @@ const Jt = {
|
|
|
1103
1104
|
}, 8, ["access-token", "callback"])
|
|
1104
1105
|
]),
|
|
1105
1106
|
fallback: m(() => [
|
|
1106
|
-
b(
|
|
1107
|
+
b(In)
|
|
1107
1108
|
]),
|
|
1108
1109
|
_: 1
|
|
1109
1110
|
}))
|
|
@@ -1111,8 +1112,10 @@ const Jt = {
|
|
|
1111
1112
|
_: 1
|
|
1112
1113
|
}, 8, ["styling"]));
|
|
1113
1114
|
}
|
|
1114
|
-
}), Be = /* @__PURE__ */
|
|
1115
|
-
|
|
1115
|
+
}), Be = /* @__PURE__ */ z(na, [["__scopeId", "data-v-55115e88"]]);
|
|
1116
|
+
Yt.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3");
|
|
1117
|
+
const aa = dt(), la = ct, oa = la();
|
|
1118
|
+
class sa extends HTMLElement {
|
|
1116
1119
|
vueApp;
|
|
1117
1120
|
constructor() {
|
|
1118
1121
|
super();
|
|
@@ -1122,13 +1125,13 @@ class la extends HTMLElement {
|
|
|
1122
1125
|
}
|
|
1123
1126
|
connectedCallback() {
|
|
1124
1127
|
const n = mt(Be, this.attributes);
|
|
1125
|
-
this.vueApp = pt(Be, n), this.vueApp.provide("emitter",
|
|
1128
|
+
this.vueApp = pt(Be, n), this.vueApp.provide("emitter", oa), this.vueApp.use(jt), this.vueApp.use(vt), this.vueApp.use(aa), this.vueApp.use(St), this.vueApp.use(bt), this.vueApp.use(At);
|
|
1126
1129
|
const a = document.createElement("div");
|
|
1127
1130
|
this.vueApp.mount(a), this.appendChild(a.children[0]);
|
|
1128
1131
|
}
|
|
1129
1132
|
}
|
|
1130
|
-
window.customElements.define("konnectio-event",
|
|
1133
|
+
window.customElements.define("konnectio-event", sa);
|
|
1131
1134
|
export {
|
|
1132
|
-
|
|
1135
|
+
sa as default
|
|
1133
1136
|
};
|
|
1134
1137
|
//# sourceMappingURL=event.js.map
|