@konnectio/core 4.0.56-rc35 → 4.0.56-rc36
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-Bruv7ZZW.js → ActionField-Ct6NhfWq.js} +43 -34
- package/dist/ActionField-Ct6NhfWq.js.br +0 -0
- package/dist/AvailabilitySkeleton-DOhrMVl4.js +286 -0
- package/dist/AvailabilitySkeleton-DOhrMVl4.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js} +519 -510
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js.br +0 -0
- package/dist/{CheckoutWindow-Dn3fiFuv.js → CheckoutWindow-BVIOQbbL.js} +143 -134
- package/dist/CheckoutWindow-BVIOQbbL.js.br +0 -0
- package/dist/{ErrorMessage-VK8egk99.js → ErrorMessage-DTSuSB8R.js} +27 -18
- package/dist/ErrorMessage-DTSuSB8R.js.br +0 -0
- package/dist/EventAvailabilityForm-DVcDsdr8.js +432 -0
- package/dist/EventAvailabilityForm-DVcDsdr8.js.br +0 -0
- package/dist/Field-IsLH1tNU.js +50 -0
- package/dist/Field-IsLH1tNU.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js +21280 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js.br +0 -0
- package/dist/TermsOfService-BORqI07-.js +35 -0
- package/dist/TermsOfService-BORqI07-.js.br +0 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js +11796 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
- package/dist/availability.js +60 -50
- package/dist/availability.js.br +0 -0
- package/dist/event.js +284 -274
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +75 -65
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +242 -232
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +697 -693
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-WFnnzw7L.js → masonry.plugin-gY-oSFpV.js} +43 -34
- package/dist/masonry.plugin-gY-oSFpV.js.br +0 -0
- package/dist/navigation.js +10 -1
- package/dist/polyfill.js +14745 -4715
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -6
- package/dist/ActionField-Bruv7ZZW.js.br +0 -0
- package/dist/AvailabilitySkeleton-DxVPZPw3.js +0 -277
- package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
- package/dist/CheckoutWindow-Dn3fiFuv.js.br +0 -0
- package/dist/ErrorMessage-VK8egk99.js.br +0 -0
- package/dist/EventAvailabilityForm-DbkL5luy.js +0 -422
- package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
- package/dist/Field-fZ3Q2e9-.js +0 -41
- package/dist/Field-fZ3Q2e9-.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js +0 -30755
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
- package/dist/TermsOfService-2g29W45E.js +0 -26
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,51 +1,60 @@
|
|
|
1
|
-
import { d as Y,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { a as
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { d as Y, r as Me, g as le, o as s, a as T, w as p, z as ne, u as e, f as t, e as f, c as m, b as h, t as o, A as Re, B as Ue, y as q, F as B, s as M, h as Fe, q as ze, S as qe, C as ge, i as he, p as Ge, j as He, k as je } from "./_commonjsHelpers-UWZO_9XV.js";
|
|
2
|
+
import { u as se, n as Ye, s as H, b as oe, C as me, K as Ze, _ as ae, c as Ve, A as pe, M as Je, o as De, D as ke, N as ve, B as R, d as Ke, O as ye, P as Qe, T as de, e as We, f as Xe, g as xe, h as et, i as tt, J as nt, m as ot } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js";
|
|
3
|
+
import { B as lt, R as st, L as Pe, S as at, M as it, C as rt, T as ut, V as dt, G as ct } from "./masonry.plugin-gY-oSFpV.js";
|
|
4
|
+
import { u as j, E as mt } from "./EventAvailabilityForm-DVcDsdr8.js";
|
|
5
|
+
import { t as G, e as pt, g as _e, m as $e, a as we, b as Ee, c as vt, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js";
|
|
6
|
+
import { a as ft, P as bt, C as gt } from "./CheckoutWindow-BVIOQbbL.js";
|
|
7
|
+
import "./navigation.js";
|
|
8
|
+
(function() {
|
|
9
|
+
try {
|
|
10
|
+
var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
11
|
+
n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "4c110781-33e3-4b2f-9859-14f672b3e418", d._sentryDebugIdIdentifier = "sentry-dbid-4c110781-33e3-4b2f-9859-14f672b3e418");
|
|
12
|
+
} catch {
|
|
13
|
+
}
|
|
14
|
+
})();
|
|
15
|
+
function ht(d, n) {
|
|
16
|
+
const i = G(d), c = G(n), l = i.getTime() - c.getTime();
|
|
8
17
|
return l < 0 ? -1 : l > 0 ? 1 : l;
|
|
9
18
|
}
|
|
10
|
-
function
|
|
19
|
+
function kt(d) {
|
|
11
20
|
return (n) => {
|
|
12
|
-
const c = (
|
|
21
|
+
const c = (d ? Math[d] : Math.trunc)(n);
|
|
13
22
|
return c === 0 ? 0 : c;
|
|
14
23
|
};
|
|
15
24
|
}
|
|
16
|
-
function
|
|
17
|
-
const c =
|
|
25
|
+
function yt(d, n, i) {
|
|
26
|
+
const c = vt(), l = i?.locale ?? c.locale ?? pt, _ = ht(d, n);
|
|
18
27
|
if (isNaN(_))
|
|
19
28
|
throw new RangeError("Invalid time value");
|
|
20
|
-
const
|
|
29
|
+
const b = Object.assign({}, i, {
|
|
21
30
|
addSuffix: i?.addSuffix,
|
|
22
31
|
comparison: _
|
|
23
32
|
});
|
|
24
33
|
let $, u;
|
|
25
|
-
_ > 0 ? ($ =
|
|
26
|
-
const
|
|
27
|
-
let
|
|
28
|
-
if (P ?
|
|
29
|
-
const
|
|
30
|
-
return l.formatDistance("xSeconds",
|
|
31
|
-
} else if (
|
|
32
|
-
const
|
|
33
|
-
return l.formatDistance("xMinutes",
|
|
34
|
-
} else if (
|
|
35
|
-
const
|
|
36
|
-
return l.formatDistance("xHours",
|
|
37
|
-
} else if (
|
|
38
|
-
const
|
|
39
|
-
return l.formatDistance("xDays",
|
|
40
|
-
} else if (
|
|
41
|
-
const
|
|
42
|
-
return
|
|
34
|
+
_ > 0 ? ($ = G(n), u = G(d)) : ($ = G(d), u = G(n));
|
|
35
|
+
const v = kt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
|
|
36
|
+
let a;
|
|
37
|
+
if (P ? a = P : y < 1 ? a = "second" : y < 60 ? a = "minute" : y < $e ? a = "hour" : D < we ? a = "day" : D < Ee ? a = "month" : a = "year", a === "second") {
|
|
38
|
+
const g = v(k / 1e3);
|
|
39
|
+
return l.formatDistance("xSeconds", g, b);
|
|
40
|
+
} else if (a === "minute") {
|
|
41
|
+
const g = v(y);
|
|
42
|
+
return l.formatDistance("xMinutes", g, b);
|
|
43
|
+
} else if (a === "hour") {
|
|
44
|
+
const g = v(y / 60);
|
|
45
|
+
return l.formatDistance("xHours", g, b);
|
|
46
|
+
} else if (a === "day") {
|
|
47
|
+
const g = v(D / $e);
|
|
48
|
+
return l.formatDistance("xDays", g, b);
|
|
49
|
+
} else if (a === "month") {
|
|
50
|
+
const g = v(D / we);
|
|
51
|
+
return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
|
|
43
52
|
} else {
|
|
44
|
-
const
|
|
45
|
-
return l.formatDistance("xYears",
|
|
53
|
+
const g = v(D / Ee);
|
|
54
|
+
return l.formatDistance("xYears", g, b);
|
|
46
55
|
}
|
|
47
56
|
}
|
|
48
|
-
const
|
|
57
|
+
const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio-event-listing-action-button" }, wt = /* @__PURE__ */ Y({
|
|
49
58
|
__name: "_",
|
|
50
59
|
props: {
|
|
51
60
|
name: {},
|
|
@@ -67,58 +76,58 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
67
76
|
trackingEnabled: { type: Boolean },
|
|
68
77
|
callback: {}
|
|
69
78
|
},
|
|
70
|
-
setup(
|
|
71
|
-
const { t: n } =
|
|
79
|
+
setup(d) {
|
|
80
|
+
const { t: n } = se(), i = d, { display: c } = Ye(), {
|
|
72
81
|
maxNumberOfPeople: l,
|
|
73
82
|
numberOfPeople: _,
|
|
74
|
-
eventId:
|
|
83
|
+
eventId: b,
|
|
75
84
|
tableGroupId: $
|
|
76
85
|
} = H(j()), {
|
|
77
86
|
getTemplateAvailability: u,
|
|
78
|
-
getEventAvailability:
|
|
87
|
+
getEventAvailability: v,
|
|
79
88
|
isEventListingLoading: k
|
|
80
|
-
} = j(), y =
|
|
81
|
-
y.value > 0 ? (
|
|
89
|
+
} = j(), y = Me(0), C = le(() => k(i.listingId)), D = () => {
|
|
90
|
+
y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : c({
|
|
82
91
|
type: "error",
|
|
83
92
|
message: n("alert.error.selectPeople")
|
|
84
93
|
});
|
|
85
94
|
}, P = () => {
|
|
86
|
-
y.value > 0 ? (
|
|
95
|
+
y.value > 0 ? (b.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, v(i.callback)) : c({
|
|
87
96
|
type: "error",
|
|
88
97
|
message: n("alert.error.selectPeople")
|
|
89
98
|
});
|
|
90
99
|
};
|
|
91
|
-
return (
|
|
92
|
-
"listing-id":
|
|
93
|
-
gallery:
|
|
94
|
-
name:
|
|
95
|
-
description:
|
|
96
|
-
"prices-from":
|
|
97
|
-
"to-date":
|
|
98
|
-
layout: e(
|
|
100
|
+
return (a, g) => (s(), T(lt, {
|
|
101
|
+
"listing-id": a.listingId,
|
|
102
|
+
gallery: a.gallery,
|
|
103
|
+
name: a.name,
|
|
104
|
+
description: a.description,
|
|
105
|
+
"prices-from": a.fromPrice,
|
|
106
|
+
"to-date": a.toDate,
|
|
107
|
+
layout: e(Ze).Event
|
|
99
108
|
}, {
|
|
100
|
-
description:
|
|
101
|
-
ne(
|
|
109
|
+
description: p(() => [
|
|
110
|
+
ne(a.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
|
|
102
111
|
]),
|
|
103
|
-
action:
|
|
104
|
-
t("div",
|
|
105
|
-
|
|
112
|
+
action: p(() => [
|
|
113
|
+
t("div", _t, [
|
|
114
|
+
f(oe, {
|
|
106
115
|
modelValue: y.value,
|
|
107
|
-
"onUpdate:modelValue":
|
|
116
|
+
"onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
|
|
108
117
|
label: e(n)("event.numberOfGuests"),
|
|
109
118
|
icon: "users",
|
|
110
119
|
"icon-type": "fas",
|
|
111
120
|
"icon-placement": "label",
|
|
112
|
-
description:
|
|
113
|
-
"min-value":
|
|
114
|
-
"max-value":
|
|
121
|
+
description: a.maxGuests <= 20 ? `Available for: 1-${a.maxGuests} guests` : void 0,
|
|
122
|
+
"min-value": a.type === "event" ? 0 : a.minimumPersonCount,
|
|
123
|
+
"max-value": a.type === "event" ? a.maxOnlineReservationLimit || 1 / 0 : e(l)
|
|
115
124
|
}, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
|
|
116
|
-
t("div",
|
|
117
|
-
|
|
118
|
-
label:
|
|
119
|
-
disabled:
|
|
125
|
+
t("div", $t, [
|
|
126
|
+
f(me, {
|
|
127
|
+
label: a.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
128
|
+
disabled: a.soldOut,
|
|
120
129
|
"is-loading": C.value,
|
|
121
|
-
onClickEvent:
|
|
130
|
+
onClickEvent: g[1] || (g[1] = (O) => a.type === "event" ? P() : D())
|
|
122
131
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
123
132
|
])
|
|
124
133
|
])
|
|
@@ -126,8 +135,8 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
126
135
|
_: 3
|
|
127
136
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
128
137
|
}
|
|
129
|
-
}), Ae = /* @__PURE__ */
|
|
130
|
-
const Vt = { class: "konnectio-pill-button" },
|
|
138
|
+
}), Ae = /* @__PURE__ */ ae(wt, [["__scopeId", "data-v-8e796505"]]), Et = ["innerHTML"], Tt = { class: "konnectio-event-listing-information-new" };
|
|
139
|
+
const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-button" }, Pt = /* @__PURE__ */ Y({
|
|
131
140
|
__name: "Event",
|
|
132
141
|
props: {
|
|
133
142
|
name: {},
|
|
@@ -148,15 +157,15 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
|
|
|
148
157
|
trackingEnabled: { type: Boolean },
|
|
149
158
|
callback: {}
|
|
150
159
|
},
|
|
151
|
-
setup(
|
|
152
|
-
const n =
|
|
160
|
+
setup(d) {
|
|
161
|
+
const n = d, { t: i } = se(), c = le(() => {
|
|
153
162
|
const l = n.length.split(":");
|
|
154
|
-
return console.log(l),
|
|
163
|
+
return console.log(l), yt(
|
|
155
164
|
new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
|
|
156
165
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
157
166
|
);
|
|
158
167
|
});
|
|
159
|
-
return (l, _) => (
|
|
168
|
+
return (l, _) => (s(), T(Ae, {
|
|
160
169
|
"listing-id": l.listingId,
|
|
161
170
|
name: l.name,
|
|
162
171
|
description: l.description,
|
|
@@ -168,16 +177,16 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
|
|
|
168
177
|
type: "event",
|
|
169
178
|
callback: l.callback
|
|
170
179
|
}, {
|
|
171
|
-
description:
|
|
172
|
-
l.description ? (
|
|
180
|
+
description: p(() => [
|
|
181
|
+
l.description ? (s(), m("p", {
|
|
173
182
|
key: 0,
|
|
174
|
-
innerHTML: e(
|
|
175
|
-
}, null, 8,
|
|
176
|
-
t("ul",
|
|
183
|
+
innerHTML: e(Ve)(l.description)
|
|
184
|
+
}, null, 8, Et)) : h("", !0),
|
|
185
|
+
t("ul", Tt, [
|
|
177
186
|
h("", !0),
|
|
178
187
|
t("li", Vt, [
|
|
179
188
|
t("div", null, [
|
|
180
|
-
|
|
189
|
+
f(pe, {
|
|
181
190
|
icon: "calendar-clock",
|
|
182
191
|
color: "header"
|
|
183
192
|
}),
|
|
@@ -185,22 +194,22 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
|
|
|
185
194
|
]),
|
|
186
195
|
t("span", null, o(c.value), 1)
|
|
187
196
|
]),
|
|
188
|
-
t("li",
|
|
197
|
+
t("li", Dt, [
|
|
189
198
|
t("div", null, [
|
|
190
|
-
|
|
199
|
+
f(pe, {
|
|
191
200
|
icon: "calendar-clock",
|
|
192
201
|
color: "header"
|
|
193
202
|
}),
|
|
194
203
|
t("span", null, o(e(i)("event.startAndEndTime")), 1)
|
|
195
204
|
]),
|
|
196
|
-
t("span", null, o(e(
|
|
205
|
+
t("span", null, o(e(Je)(l.timeFrom, l.timeTo)), 1)
|
|
197
206
|
])
|
|
198
207
|
])
|
|
199
208
|
]),
|
|
200
209
|
_: 1
|
|
201
210
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
|
|
202
211
|
}
|
|
203
|
-
}),
|
|
212
|
+
}), At = /* @__PURE__ */ ae(Pt, [["__scopeId", "data-v-148bf11e"]]), Ct = ["innerHTML"], Ot = /* @__PURE__ */ Y({
|
|
204
213
|
__name: "Template",
|
|
205
214
|
props: {
|
|
206
215
|
name: {},
|
|
@@ -216,8 +225,8 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
|
|
|
216
225
|
trackingEnabled: { type: Boolean },
|
|
217
226
|
callback: {}
|
|
218
227
|
},
|
|
219
|
-
setup(
|
|
220
|
-
const n =
|
|
228
|
+
setup(d) {
|
|
229
|
+
const n = d, i = le(() => {
|
|
221
230
|
if (n.image)
|
|
222
231
|
return [{
|
|
223
232
|
large: n.image,
|
|
@@ -226,7 +235,7 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
|
|
|
226
235
|
url: n.image
|
|
227
236
|
}];
|
|
228
237
|
});
|
|
229
|
-
return (c, l) => (
|
|
238
|
+
return (c, l) => (s(), T(Ae, {
|
|
230
239
|
"listing-id": c.listingId,
|
|
231
240
|
gallery: i.value,
|
|
232
241
|
name: c.name,
|
|
@@ -236,132 +245,132 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
|
|
|
236
245
|
type: "template",
|
|
237
246
|
callback: c.callback
|
|
238
247
|
}, {
|
|
239
|
-
description:
|
|
240
|
-
c.description ? (
|
|
248
|
+
description: p(() => [
|
|
249
|
+
c.description ? (s(), m("p", {
|
|
241
250
|
key: 0,
|
|
242
|
-
innerHTML: e(
|
|
243
|
-
}, null, 8,
|
|
251
|
+
innerHTML: e(Ve)(c.description)
|
|
252
|
+
}, null, 8, Ct)) : h("", !0)
|
|
244
253
|
]),
|
|
245
254
|
_: 1
|
|
246
255
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
247
256
|
}
|
|
248
|
-
}),
|
|
257
|
+
}), Bt = { key: 0 }, St = { key: 1 }, Lt = { key: 2 }, It = { key: 3 }, Nt = { key: 4 }, Mt = { key: 5 }, Rt = { key: 0 }, ce = /* @__PURE__ */ Y({
|
|
249
258
|
__name: "EventReservationForm",
|
|
250
259
|
props: {
|
|
251
260
|
showGiftCard: { type: Boolean, default: !1 },
|
|
252
261
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
253
262
|
},
|
|
254
|
-
setup(
|
|
255
|
-
const { t: n } =
|
|
263
|
+
setup(d) {
|
|
264
|
+
const { t: n } = se(), i = Re(), {
|
|
256
265
|
areListingsAvailable: c,
|
|
257
266
|
arrivalTime: l,
|
|
258
267
|
numberOfPeople: _,
|
|
259
|
-
numberOfRooms:
|
|
268
|
+
numberOfRooms: b,
|
|
260
269
|
numberOfTotalDays: $,
|
|
261
270
|
isTemplateEvent: u,
|
|
262
|
-
length:
|
|
271
|
+
length: v,
|
|
263
272
|
fromDate: k,
|
|
264
273
|
tableBasePrice: y,
|
|
265
274
|
getTemplateData: C,
|
|
266
275
|
basePrice: D,
|
|
267
276
|
totalPrice: P,
|
|
268
|
-
weekendFee:
|
|
269
|
-
roomUpgrade:
|
|
277
|
+
weekendFee: a,
|
|
278
|
+
roomUpgrade: g,
|
|
270
279
|
discountCode: O
|
|
271
|
-
} = H(j()), { totalAddonPrice:
|
|
272
|
-
return (S, x) => (
|
|
280
|
+
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
|
|
281
|
+
return (S, x) => (s(), T(st, {
|
|
273
282
|
"discount-code": e(O),
|
|
274
|
-
"onUpdate:discountCode": x[0] || (x[0] = (F) =>
|
|
283
|
+
"onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
|
|
275
284
|
"validate-discount-code": e(ie),
|
|
276
285
|
"show-gift-card": S.showGiftCard,
|
|
277
286
|
"show-terms-notice": S.showTermsNotice,
|
|
278
287
|
"is-sidebar-loading": !e(c),
|
|
279
288
|
"base-price": e(D),
|
|
280
289
|
"total-price": e(P),
|
|
281
|
-
"weekend-fee": e(
|
|
282
|
-
"room-upgrade": e(
|
|
290
|
+
"weekend-fee": e(a),
|
|
291
|
+
"room-upgrade": e(g),
|
|
283
292
|
notice: e(n)("hotel.reservationNotice")
|
|
284
|
-
},
|
|
285
|
-
form:
|
|
293
|
+
}, Ue({
|
|
294
|
+
form: p(() => [
|
|
286
295
|
ne(S.$slots, "form")
|
|
287
296
|
]),
|
|
288
|
-
"reservation-summary":
|
|
289
|
-
e(u) ? (
|
|
297
|
+
"reservation-summary": p(() => [
|
|
298
|
+
e(u) ? (s(), m("li", Bt, [
|
|
290
299
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
291
|
-
t("b", null, o(e(
|
|
300
|
+
t("b", null, o(e(ke)(e(k))), 1)
|
|
292
301
|
])) : h("", !0),
|
|
293
|
-
e(u) ? (
|
|
302
|
+
e(u) ? (s(), m("li", St, [
|
|
294
303
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
295
|
-
t("b", null, o(e(
|
|
304
|
+
t("b", null, o(e(ke)(e(k), e($))), 1)
|
|
296
305
|
])) : h("", !0),
|
|
297
306
|
t("li", null, [
|
|
298
307
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
299
308
|
t("b", null, o(e(_)), 1)
|
|
300
309
|
]),
|
|
301
|
-
e(u) ? (
|
|
310
|
+
e(u) ? (s(), m("li", Lt, [
|
|
302
311
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
303
|
-
t("b", null, o(e(
|
|
312
|
+
t("b", null, o(e(b)), 1)
|
|
304
313
|
])) : h("", !0),
|
|
305
|
-
e(u) ? (
|
|
314
|
+
e(u) ? (s(), m("li", It, [
|
|
306
315
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
307
316
|
t("b", null, o(e($)), 1)
|
|
308
317
|
])) : h("", !0),
|
|
309
|
-
!e(u) && e(l) ? (
|
|
318
|
+
!e(u) && e(l) ? (s(), m("li", Nt, [
|
|
310
319
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
311
320
|
t("b", null, o(e(ve)(e(l))), 1)
|
|
312
321
|
])) : h("", !0),
|
|
313
|
-
!e(u) && e(
|
|
322
|
+
!e(u) && e(v) ? (s(), m("li", Mt, [
|
|
314
323
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
315
|
-
t("b", null, o(e(ve)(e(
|
|
324
|
+
t("b", null, o(e(ve)(e(v))), 1)
|
|
316
325
|
])) : h("", !0)
|
|
317
326
|
]),
|
|
318
|
-
"price-summary":
|
|
319
|
-
!e(u) && e(y) > 0 ? (
|
|
327
|
+
"price-summary": p(() => [
|
|
328
|
+
!e(u) && e(y) > 0 ? (s(), m("li", Rt, [
|
|
320
329
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
321
330
|
t("b", null, o(e(R)(e(y), e(X))), 1)
|
|
322
331
|
])) : h("", !0),
|
|
323
|
-
e(C) ? (
|
|
332
|
+
e(C) ? (s(!0), m(B, { key: 1 }, q(e(C), ({ roomGroupId: F }, ee) => (s(), m("li", { key: F }, [
|
|
324
333
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
|
|
325
|
-
t("b", null, o(e(R)(e(
|
|
334
|
+
t("b", null, o(e(R)(e(W)(F, ee), e(X))), 1)
|
|
326
335
|
]))), 128)) : h("", !0)
|
|
327
336
|
]),
|
|
328
|
-
navigation:
|
|
337
|
+
navigation: p(() => [
|
|
329
338
|
ne(S.$slots, "navigation")
|
|
330
339
|
]),
|
|
331
340
|
_: 2
|
|
332
341
|
}, [
|
|
333
342
|
e(i).sidebar ? {
|
|
334
343
|
name: "sidebar",
|
|
335
|
-
fn:
|
|
344
|
+
fn: p(() => [
|
|
336
345
|
ne(S.$slots, "sidebar")
|
|
337
346
|
]),
|
|
338
347
|
key: "0"
|
|
339
348
|
} : void 0
|
|
340
349
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
|
|
341
350
|
}
|
|
342
|
-
}),
|
|
351
|
+
}), Ut = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, zt = { class: "event-skeleton-sidebar" }, qt = /* @__PURE__ */ Y({
|
|
343
352
|
__name: "EventSkeleton",
|
|
344
|
-
setup(
|
|
345
|
-
return (n, i) => (
|
|
346
|
-
t("div", Ut, [
|
|
347
|
-
v(Pe)
|
|
348
|
-
]),
|
|
353
|
+
setup(d) {
|
|
354
|
+
return (n, i) => (s(), m("div", Ut, [
|
|
349
355
|
t("div", Ft, [
|
|
356
|
+
f(Pe)
|
|
357
|
+
]),
|
|
358
|
+
t("div", zt, [
|
|
350
359
|
h("", !0),
|
|
351
|
-
|
|
360
|
+
f(at)
|
|
352
361
|
])
|
|
353
362
|
]));
|
|
354
363
|
}
|
|
355
|
-
}), Gt = /* @__PURE__ */
|
|
364
|
+
}), Gt = /* @__PURE__ */ ae(qt, [["__scopeId", "data-v-3e15c4e3"]]), U = (d) => (Ge("data-v-c057ed89"), d = d(), He(), d), Ht = {
|
|
356
365
|
key: 0,
|
|
357
366
|
id: "fresh-booking-event-overview"
|
|
358
367
|
};
|
|
359
|
-
const
|
|
360
|
-
const
|
|
368
|
+
const jt = { class: "fresh-booking-event-listings" };
|
|
369
|
+
const Yt = { class: "fresh-booking-event-listings" }, Zt = { class: "fresh-booking-panel" }, Jt = {
|
|
361
370
|
key: 1,
|
|
362
371
|
id: "fresh-booking-event-addons"
|
|
363
|
-
},
|
|
364
|
-
const
|
|
372
|
+
}, Kt = { class: "fresh-booking-table with-lines" }, Qt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Wt = { class: "fresh-booking-event-addons-price" }, Xt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), xt = { class: "fresh-booking-event-addons-input" }, en = { class: "fresh-booking-event-addons-price" }, tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), on = { class: "fresh-booking-event-addons-price" }, ln = { key: 2 };
|
|
373
|
+
const sn = { key: 3 }, an = { class: "fresh-booking-label required" }, rn = { class: "fresh-booking-table with-lines" }, un = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), dn = { class: "fresh-booking-event-addons-price" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), pn = { class: "fresh-booking-event-addons-input" }, vn = { class: "fresh-booking-event-addons-price" }, fn = ["onClick"], bn = { class: "fresh-booking-panel" }, gn = ["onClick"], hn = /* @__PURE__ */ Y({
|
|
365
374
|
name: "EventLayout",
|
|
366
375
|
__name: "Event",
|
|
367
376
|
props: {
|
|
@@ -369,214 +378,214 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
369
378
|
onlyShow: { default: "everything" },
|
|
370
379
|
styling: {}
|
|
371
380
|
},
|
|
372
|
-
setup(
|
|
373
|
-
const { t: n } =
|
|
381
|
+
setup(d) {
|
|
382
|
+
const { t: n } = se(), {
|
|
374
383
|
addons: i,
|
|
375
384
|
products: c,
|
|
376
385
|
numberOfDays: l,
|
|
377
386
|
name: _,
|
|
378
|
-
phone:
|
|
387
|
+
phone: b,
|
|
379
388
|
email: $,
|
|
380
389
|
remark: u,
|
|
381
|
-
arrivalTime:
|
|
390
|
+
arrivalTime: v,
|
|
382
391
|
hasEvents: k,
|
|
383
392
|
hasTemplates: y,
|
|
384
393
|
getEvents: C,
|
|
385
394
|
getTemplates: D,
|
|
386
395
|
getEventData: P,
|
|
387
|
-
getTemplateData:
|
|
388
|
-
getEventTableData:
|
|
396
|
+
getTemplateData: a,
|
|
397
|
+
getEventTableData: g,
|
|
389
398
|
hasProducts: O,
|
|
390
|
-
eventRateType:
|
|
399
|
+
eventRateType: W,
|
|
391
400
|
areListingsAvailable: ie,
|
|
392
401
|
isAvailabilityDataAvailable: X,
|
|
393
402
|
isTemplateEvent: S,
|
|
394
403
|
hasListingData: x,
|
|
395
404
|
isPaymentLoading: F
|
|
396
|
-
} = H(j()), { searchDate: ee } = H(
|
|
405
|
+
} = H(j()), { searchDate: ee } = H(Ke()), {
|
|
397
406
|
initialize: Ce,
|
|
398
407
|
fetchListings: Oe,
|
|
399
408
|
createBooking: Be,
|
|
400
409
|
localAddonPrice: fe,
|
|
401
410
|
totalAddonPrice: Se,
|
|
402
|
-
reset:
|
|
403
|
-
} = j(), { currency:
|
|
411
|
+
reset: be
|
|
412
|
+
} = j(), { currency: Z } = H(De()), Le = le(() => {
|
|
404
413
|
const L = [];
|
|
405
|
-
return
|
|
414
|
+
return g.value && g.value.forEach((w) => {
|
|
406
415
|
L.push({
|
|
407
|
-
label: ve(
|
|
408
|
-
value:
|
|
416
|
+
label: ve(w.time),
|
|
417
|
+
value: w.time
|
|
409
418
|
});
|
|
410
419
|
}), L;
|
|
411
420
|
});
|
|
412
|
-
return
|
|
413
|
-
default:
|
|
414
|
-
(
|
|
415
|
-
default:
|
|
416
|
-
|
|
421
|
+
return Fe(() => Ce()), ze(ee, () => Oe()), (L, w) => (s(), T(Xe, { styling: L.styling }, {
|
|
422
|
+
default: p(() => [
|
|
423
|
+
(s(), T(qe, null, {
|
|
424
|
+
default: p(() => [
|
|
425
|
+
f(We, {
|
|
417
426
|
id: "konnectio-event-module",
|
|
418
427
|
type: "none",
|
|
419
428
|
"access-token": L.accessToken
|
|
420
429
|
}, {
|
|
421
|
-
default:
|
|
422
|
-
|
|
423
|
-
availability:
|
|
424
|
-
|
|
425
|
-
sidebar:
|
|
426
|
-
|
|
430
|
+
default: p(() => [
|
|
431
|
+
f(it, null, {
|
|
432
|
+
availability: p(({ next: z }) => [
|
|
433
|
+
f(ce, null, {
|
|
434
|
+
sidebar: p(() => [
|
|
435
|
+
f(mt, { redirection: !1 })
|
|
427
436
|
]),
|
|
428
|
-
form:
|
|
429
|
-
e(x) && e(ie) ? (
|
|
430
|
-
e(k) && L.onlyShow !== "templates" ? (
|
|
437
|
+
form: p(() => [
|
|
438
|
+
e(x) && e(ie) ? (s(), m("div", Ht, [
|
|
439
|
+
e(k) && L.onlyShow !== "templates" ? (s(), m(B, { key: 0 }, [
|
|
431
440
|
h("", !0),
|
|
432
|
-
t("ul",
|
|
433
|
-
(
|
|
441
|
+
t("ul", jt, [
|
|
442
|
+
(s(!0), m(B, null, q(e(C), ({
|
|
434
443
|
id: A,
|
|
435
444
|
days: r,
|
|
436
|
-
name:
|
|
437
|
-
timeFrom:
|
|
445
|
+
name: I,
|
|
446
|
+
timeFrom: N,
|
|
438
447
|
timeTo: E,
|
|
439
|
-
fromDate:
|
|
440
|
-
toDate:
|
|
448
|
+
fromDate: V,
|
|
449
|
+
toDate: J,
|
|
441
450
|
tableGroupId: K,
|
|
442
451
|
description: re,
|
|
443
452
|
soldOut: ue,
|
|
444
|
-
length:
|
|
445
|
-
images:
|
|
446
|
-
maxOnlineReservationLimit:
|
|
447
|
-
}) => (
|
|
453
|
+
length: Q,
|
|
454
|
+
images: Ie,
|
|
455
|
+
maxOnlineReservationLimit: Ne
|
|
456
|
+
}) => (s(), T(At, {
|
|
448
457
|
key: A,
|
|
449
458
|
type: "event",
|
|
450
459
|
"listing-id": A,
|
|
451
460
|
"table-group-id": K,
|
|
452
461
|
description: re,
|
|
453
|
-
name:
|
|
454
|
-
length:
|
|
455
|
-
gallery:
|
|
462
|
+
name: I,
|
|
463
|
+
length: Q,
|
|
464
|
+
gallery: Ie,
|
|
456
465
|
days: r,
|
|
457
|
-
"from-date":
|
|
458
|
-
"to-date":
|
|
459
|
-
"max-online-reservation-limit":
|
|
460
|
-
"time-from":
|
|
466
|
+
"from-date": V,
|
|
467
|
+
"to-date": J,
|
|
468
|
+
"max-online-reservation-limit": Ne,
|
|
469
|
+
"time-from": N,
|
|
461
470
|
"time-to": E,
|
|
462
471
|
"sold-out": ue,
|
|
463
472
|
callback: z
|
|
464
473
|
}, 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", "callback"]))), 128))
|
|
465
474
|
])
|
|
466
475
|
], 64)) : h("", !0),
|
|
467
|
-
e(y) && L.onlyShow !== "events" ? (
|
|
476
|
+
e(y) && L.onlyShow !== "events" ? (s(), m(B, { key: 1 }, [
|
|
468
477
|
h("", !0),
|
|
469
|
-
t("ul",
|
|
470
|
-
(
|
|
478
|
+
t("ul", Yt, [
|
|
479
|
+
(s(!0), m(B, null, q(e(D), ({
|
|
471
480
|
id: A,
|
|
472
481
|
name: r,
|
|
473
|
-
fromDate:
|
|
474
|
-
toDate:
|
|
482
|
+
fromDate: I,
|
|
483
|
+
toDate: N,
|
|
475
484
|
minimumPersonCount: E,
|
|
476
|
-
fromPrice:
|
|
477
|
-
description:
|
|
485
|
+
fromPrice: V,
|
|
486
|
+
description: J,
|
|
478
487
|
imageUrl: K
|
|
479
|
-
}) => (
|
|
488
|
+
}) => (s(), T(Ot, {
|
|
480
489
|
key: A,
|
|
481
490
|
"listing-id": A,
|
|
482
491
|
name: r,
|
|
483
492
|
image: K,
|
|
484
|
-
description:
|
|
485
|
-
"from-date":
|
|
486
|
-
"to-date":
|
|
493
|
+
description: J,
|
|
494
|
+
"from-date": I,
|
|
495
|
+
"to-date": N,
|
|
487
496
|
"minimum-person-count": E,
|
|
488
|
-
fromPrice:
|
|
497
|
+
fromPrice: V,
|
|
489
498
|
callback: z
|
|
490
499
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
491
500
|
])
|
|
492
501
|
], 64)) : h("", !0)
|
|
493
|
-
])) : (
|
|
502
|
+
])) : (s(), T(Pe, { key: 1 }))
|
|
494
503
|
]),
|
|
495
504
|
_: 2
|
|
496
505
|
}, 1024)
|
|
497
506
|
]),
|
|
498
|
-
addons:
|
|
499
|
-
e(X) ? (
|
|
500
|
-
form:
|
|
501
|
-
t("form",
|
|
507
|
+
addons: p(({ next: z, prev: A }) => [
|
|
508
|
+
e(X) ? (s(), T(ce, { key: 0 }, {
|
|
509
|
+
form: p(() => [
|
|
510
|
+
t("form", Zt, [
|
|
502
511
|
t("h2", null, [
|
|
503
512
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
504
513
|
]),
|
|
505
|
-
e(
|
|
514
|
+
e(W) === e(ye).FullDayEvent ? (s(), T(oe, {
|
|
506
515
|
key: 0,
|
|
507
516
|
modelValue: e(l),
|
|
508
|
-
"onUpdate:modelValue":
|
|
517
|
+
"onUpdate:modelValue": w[0] || (w[0] = (r) => M(l) ? l.value = r : null),
|
|
509
518
|
label: e(n)("event.numberOfDays"),
|
|
510
519
|
"min-value": 1,
|
|
511
520
|
required: ""
|
|
512
521
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
513
|
-
e(
|
|
514
|
-
(
|
|
522
|
+
e(a) && e(a).length > 0 ? (s(), m("ul", Jt, [
|
|
523
|
+
(s(!0), m(B, null, q(e(a), ({
|
|
515
524
|
roomGroupId: r,
|
|
516
|
-
addons:
|
|
517
|
-
adultPerRoom:
|
|
518
|
-
}, E) => (
|
|
525
|
+
addons: I,
|
|
526
|
+
adultPerRoom: N
|
|
527
|
+
}, E) => (s(), m("li", { key: r }, [
|
|
519
528
|
t("h5", null, [
|
|
520
529
|
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
|
|
521
|
-
|
|
522
|
-
|
|
530
|
+
ge(" ("),
|
|
531
|
+
f(pe, {
|
|
523
532
|
icon: "male",
|
|
524
533
|
type: "fas",
|
|
525
534
|
color: "header"
|
|
526
535
|
}),
|
|
527
|
-
|
|
536
|
+
ge(" " + o(N) + ") ", 1)
|
|
528
537
|
]),
|
|
529
|
-
t("table",
|
|
538
|
+
t("table", Kt, [
|
|
530
539
|
t("thead", null, [
|
|
531
540
|
t("tr", null, [
|
|
532
541
|
t("th", null, [
|
|
533
542
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
534
543
|
]),
|
|
535
|
-
|
|
544
|
+
Qt,
|
|
536
545
|
t("th", Wt, [
|
|
537
546
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
538
547
|
])
|
|
539
548
|
])
|
|
540
549
|
]),
|
|
541
550
|
t("tbody", null, [
|
|
542
|
-
(
|
|
543
|
-
id:
|
|
544
|
-
cardinality:
|
|
551
|
+
(s(!0), m(B, null, q(I, ({
|
|
552
|
+
id: V,
|
|
553
|
+
cardinality: J,
|
|
545
554
|
name: K,
|
|
546
555
|
price: re,
|
|
547
556
|
quantityStrategy: ue
|
|
548
|
-
}) => (
|
|
557
|
+
}) => (s(), m("tr", { key: V }, [
|
|
549
558
|
t("td", null, [
|
|
550
559
|
t("b", null, o(K), 1),
|
|
551
|
-
|
|
552
|
-
t("span", null, o(e(R)(re, e(
|
|
560
|
+
Xt,
|
|
561
|
+
t("span", null, o(e(R)(re, e(Z))) + " " + o(e(Qe)(ue)), 1)
|
|
553
562
|
]),
|
|
554
|
-
t("td",
|
|
555
|
-
|
|
563
|
+
t("td", xt, [
|
|
564
|
+
J === 3 ? (s(), T(oe, {
|
|
556
565
|
key: 0,
|
|
557
|
-
modelValue: e(i)[`${r}.${
|
|
558
|
-
"onUpdate:modelValue": (
|
|
566
|
+
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
567
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
559
568
|
small: !0,
|
|
560
569
|
"min-value": 0
|
|
561
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (
|
|
570
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), T(ft, {
|
|
562
571
|
key: 1,
|
|
563
|
-
modelValue: e(i)[`${r}.${
|
|
564
|
-
"onUpdate:modelValue": (
|
|
572
|
+
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
573
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
565
574
|
numeric: !0
|
|
566
575
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
567
576
|
]),
|
|
568
|
-
t("td",
|
|
569
|
-
t("span", null, o(e(R)(e(fe)(
|
|
577
|
+
t("td", en, [
|
|
578
|
+
t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
|
|
570
579
|
])
|
|
571
580
|
]))), 128))
|
|
572
581
|
]),
|
|
573
582
|
t("tfoot", null, [
|
|
574
583
|
t("tr", null, [
|
|
575
|
-
en,
|
|
576
584
|
tn,
|
|
577
|
-
|
|
585
|
+
nn,
|
|
586
|
+
t("td", on, [
|
|
578
587
|
t("u", null, [
|
|
579
|
-
t("span", null, o(e(R)(e(Se)(r, E), e(
|
|
588
|
+
t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
|
|
580
589
|
])
|
|
581
590
|
])
|
|
582
591
|
])
|
|
@@ -584,54 +593,54 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
584
593
|
])
|
|
585
594
|
]))), 128))
|
|
586
595
|
])) : h("", !0),
|
|
587
|
-
e(
|
|
596
|
+
e(W) !== e(ye).FullDayEvent && !e(S) ? (s(), m("div", ln, [
|
|
588
597
|
h("", !0),
|
|
589
|
-
|
|
590
|
-
modelValue: e(
|
|
591
|
-
"onUpdate:modelValue":
|
|
598
|
+
f(rt, {
|
|
599
|
+
modelValue: e(v),
|
|
600
|
+
"onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
|
|
592
601
|
label: e(n)("event.selectArrivalTime"),
|
|
593
602
|
name: "eventTimeTable",
|
|
594
603
|
checkboxes: Le.value,
|
|
595
604
|
required: ""
|
|
596
605
|
}, null, 8, ["modelValue", "label", "checkboxes"])
|
|
597
606
|
])) : h("", !0),
|
|
598
|
-
e(O) ? (
|
|
607
|
+
e(O) ? (s(), m("div", sn, [
|
|
599
608
|
t("label", an, [
|
|
600
609
|
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
601
610
|
]),
|
|
602
|
-
t("table",
|
|
611
|
+
t("table", rn, [
|
|
603
612
|
t("thead", null, [
|
|
604
613
|
t("tr", null, [
|
|
605
614
|
t("th", null, [
|
|
606
615
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
607
616
|
]),
|
|
608
|
-
|
|
609
|
-
t("th",
|
|
617
|
+
un,
|
|
618
|
+
t("th", dn, [
|
|
610
619
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
611
620
|
])
|
|
612
621
|
])
|
|
613
622
|
]),
|
|
614
623
|
t("tbody", null, [
|
|
615
|
-
(
|
|
624
|
+
(s(!0), m(B, null, q(e(P).products, ({ productID: r, productName: I, price: N, description: E }) => (s(), m("tr", { key: r }, [
|
|
616
625
|
t("td", null, [
|
|
617
626
|
t("b", null, [
|
|
618
|
-
t("span", null, o(
|
|
627
|
+
t("span", null, o(I), 1)
|
|
619
628
|
]),
|
|
620
629
|
cn,
|
|
621
630
|
t("span", null, o(E), 1),
|
|
622
|
-
|
|
623
|
-
t("span", null, o(e(R)(
|
|
631
|
+
mn,
|
|
632
|
+
t("span", null, o(e(R)(N, e(Z))), 1)
|
|
624
633
|
]),
|
|
625
|
-
t("td",
|
|
626
|
-
|
|
634
|
+
t("td", pn, [
|
|
635
|
+
f(oe, {
|
|
627
636
|
modelValue: e(c)[r],
|
|
628
|
-
"onUpdate:modelValue": (
|
|
637
|
+
"onUpdate:modelValue": (V) => e(c)[r] = V,
|
|
629
638
|
small: !0,
|
|
630
639
|
"min-value": 0
|
|
631
640
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
632
641
|
]),
|
|
633
|
-
t("td",
|
|
634
|
-
t("span", null, o(e(R)(e(fe)(r), e(
|
|
642
|
+
t("td", vn, [
|
|
643
|
+
t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
|
|
635
644
|
])
|
|
636
645
|
]))), 128))
|
|
637
646
|
])
|
|
@@ -639,44 +648,44 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
639
648
|
])) : h("", !0)
|
|
640
649
|
])
|
|
641
650
|
]),
|
|
642
|
-
navigation:
|
|
643
|
-
|
|
644
|
-
label: "
|
|
651
|
+
navigation: p(() => [
|
|
652
|
+
f(me, {
|
|
653
|
+
label: e(n)("general.startReservation"),
|
|
645
654
|
"full-width": "",
|
|
646
655
|
onClickEvent: z
|
|
647
|
-
}, null, 8, ["onClickEvent"]),
|
|
656
|
+
}, null, 8, ["label", "onClickEvent"]),
|
|
648
657
|
t("button", {
|
|
649
658
|
class: "konnectio-abort-reservation link",
|
|
650
|
-
onClick:
|
|
659
|
+
onClick: he((r) => e(be)(A), ["prevent"])
|
|
651
660
|
}, [
|
|
652
661
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
653
|
-
], 8,
|
|
662
|
+
], 8, fn)
|
|
654
663
|
]),
|
|
655
664
|
_: 2
|
|
656
665
|
}, 1024)) : h("", !0)
|
|
657
666
|
]),
|
|
658
|
-
reservation:
|
|
659
|
-
|
|
667
|
+
reservation: p(({ next: z, prev: A }) => [
|
|
668
|
+
f(ce, {
|
|
660
669
|
"show-terms-notice": !0,
|
|
661
670
|
"show-gift-card": !0
|
|
662
671
|
}, {
|
|
663
|
-
form:
|
|
664
|
-
t("form",
|
|
672
|
+
form: p(() => [
|
|
673
|
+
t("form", bn, [
|
|
665
674
|
t("h2", null, [
|
|
666
675
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
667
676
|
]),
|
|
668
|
-
|
|
677
|
+
f(de, {
|
|
669
678
|
modelValue: e(_),
|
|
670
|
-
"onUpdate:modelValue":
|
|
679
|
+
"onUpdate:modelValue": w[2] || (w[2] = (r) => M(_) ? _.value = r : null),
|
|
671
680
|
type: "text",
|
|
672
681
|
label: e(n)("booking.reservation.name"),
|
|
673
682
|
icon: "user-alt",
|
|
674
683
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
675
684
|
required: ""
|
|
676
685
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
677
|
-
|
|
686
|
+
f(de, {
|
|
678
687
|
modelValue: e($),
|
|
679
|
-
"onUpdate:modelValue":
|
|
688
|
+
"onUpdate:modelValue": w[3] || (w[3] = (r) => M($) ? $.value = r : null),
|
|
680
689
|
label: e(n)("booking.reservation.email"),
|
|
681
690
|
type: "email",
|
|
682
691
|
name: "email",
|
|
@@ -685,17 +694,17 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
685
694
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
686
695
|
required: ""
|
|
687
696
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
688
|
-
|
|
689
|
-
modelValue: e(
|
|
690
|
-
"onUpdate:modelValue":
|
|
697
|
+
f(bt, {
|
|
698
|
+
modelValue: e(b),
|
|
699
|
+
"onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
|
|
691
700
|
label: e(n)("booking.reservation.phone"),
|
|
692
701
|
icon: "phone-office",
|
|
693
702
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
694
703
|
required: ""
|
|
695
704
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
696
|
-
|
|
705
|
+
f(de, {
|
|
697
706
|
modelValue: e(u),
|
|
698
|
-
"onUpdate:modelValue":
|
|
707
|
+
"onUpdate:modelValue": w[5] || (w[5] = (r) => M(u) ? u.value = r : null),
|
|
699
708
|
type: "textarea",
|
|
700
709
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
701
710
|
icon: "info-circle",
|
|
@@ -703,8 +712,8 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
703
712
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
704
713
|
])
|
|
705
714
|
]),
|
|
706
|
-
navigation:
|
|
707
|
-
|
|
715
|
+
navigation: p(() => [
|
|
716
|
+
f(me, {
|
|
708
717
|
label: e(n)("general.confirmReservation"),
|
|
709
718
|
"is-loading": e(F),
|
|
710
719
|
"full-width": "",
|
|
@@ -712,7 +721,7 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
712
721
|
}, null, 8, ["label", "is-loading", "onClickEvent"]),
|
|
713
722
|
t("button", {
|
|
714
723
|
class: "konnectio-abort-reservation link",
|
|
715
|
-
onClick:
|
|
724
|
+
onClick: he((r) => e(be)(A), ["prevent"])
|
|
716
725
|
}, [
|
|
717
726
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
718
727
|
], 8, gn)
|
|
@@ -720,11 +729,11 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
720
729
|
_: 2
|
|
721
730
|
}, 1024)
|
|
722
731
|
]),
|
|
723
|
-
payment:
|
|
724
|
-
|
|
732
|
+
payment: p(() => [
|
|
733
|
+
f(gt)
|
|
725
734
|
]),
|
|
726
|
-
confirmation:
|
|
727
|
-
|
|
735
|
+
confirmation: p(() => [
|
|
736
|
+
f(ut, {
|
|
728
737
|
message: e(n)("event.confirmationMessage")
|
|
729
738
|
}, null, 8, ["message"])
|
|
730
739
|
]),
|
|
@@ -734,8 +743,8 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
734
743
|
_: 1
|
|
735
744
|
}, 8, ["access-token"])
|
|
736
745
|
]),
|
|
737
|
-
fallback:
|
|
738
|
-
|
|
746
|
+
fallback: p(() => [
|
|
747
|
+
f(Gt)
|
|
739
748
|
]),
|
|
740
749
|
_: 1
|
|
741
750
|
}))
|
|
@@ -743,8 +752,8 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
|
|
|
743
752
|
_: 1
|
|
744
753
|
}, 8, ["styling"]));
|
|
745
754
|
}
|
|
746
|
-
}), te = /* @__PURE__ */
|
|
747
|
-
class
|
|
755
|
+
}), te = /* @__PURE__ */ ae(hn, [["__scopeId", "data-v-c057ed89"]]), kn = xe(), yn = ot();
|
|
756
|
+
class _n extends HTMLElement {
|
|
748
757
|
vueApp;
|
|
749
758
|
constructor() {
|
|
750
759
|
super();
|
|
@@ -755,23 +764,24 @@ class yn extends HTMLElement {
|
|
|
755
764
|
connectedCallback() {
|
|
756
765
|
const n = typeof te == "function" ? te.options : te;
|
|
757
766
|
let i = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
758
|
-
const c = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (
|
|
767
|
+
const c = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, k) => (k ? "-" : "") + v.toLowerCase()), l = (u) => u.replace(/-./g, (v) => v[1].toUpperCase()), _ = {};
|
|
759
768
|
i = i.map(c);
|
|
760
|
-
const
|
|
769
|
+
const b = {};
|
|
761
770
|
for (const u of this.attributes) {
|
|
762
771
|
const k = u.name.split(".");
|
|
763
|
-
k.length > 1 && (
|
|
772
|
+
k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = u.value);
|
|
764
773
|
}
|
|
765
774
|
for (const u of i) {
|
|
766
|
-
let
|
|
767
|
-
|
|
775
|
+
let v = this.attributes.getNamedItem(u)?.value;
|
|
776
|
+
b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
|
|
768
777
|
}
|
|
769
|
-
this.vueApp =
|
|
778
|
+
this.vueApp = je(te, _), et(this.vueApp), this.vueApp.provide("emitter", yn), this.vueApp.use(tt), this.vueApp.use(kn), this.vueApp.use(dt), this.vueApp.use(ct), this.vueApp.use(nt, { bootstrap: !0 });
|
|
770
779
|
const $ = document.createElement("div");
|
|
771
780
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
772
781
|
}
|
|
773
782
|
}
|
|
774
|
-
window.customElements.define("konnectio-event",
|
|
783
|
+
window.customElements.define("konnectio-event", _n);
|
|
775
784
|
export {
|
|
776
|
-
|
|
785
|
+
_n as default
|
|
777
786
|
};
|
|
787
|
+
//# sourceMappingURL=event.js.map
|