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