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