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