@konnectio/core 4.0.56-rc34 → 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-BFxssAUy.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-k67k8bxv.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-bfxMw5rH.js → CheckoutWindow-BVIOQbbL.js} +143 -134
- package/dist/CheckoutWindow-BVIOQbbL.js.br +0 -0
- package/dist/{ErrorMessage-C2hQu_fk.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 +347 -336
- 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 +246 -235
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +802 -837
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CPNQhcHy.js → masonry.plugin-gY-oSFpV.js} +659 -610
- 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 +10 -8
- package/dist/ActionField-BFxssAUy.js.br +0 -0
- package/dist/AvailabilitySkeleton-eib112dI.js +0 -277
- package/dist/AvailabilitySkeleton-eib112dI.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-k67k8bxv.js.br +0 -0
- package/dist/CheckoutWindow-bfxMw5rH.js.br +0 -0
- package/dist/ErrorMessage-C2hQu_fk.js.br +0 -0
- package/dist/EventAvailabilityForm-BCnO0hic.js +0 -422
- package/dist/EventAvailabilityForm-BCnO0hic.js.br +0 -0
- package/dist/Field-C9EFQ68f.js +0 -41
- package/dist/Field-C9EFQ68f.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CBts3caI.js +0 -30755
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CBts3caI.js.br +0 -0
- package/dist/TermsOfService-Daoe7BlB.js +0 -26
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/masonry.plugin-CPNQhcHy.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,51 +1,60 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { a as we,
|
|
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 ht = { class: "konnectio-event-listing-action" }, kt = { 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
|
-
} =
|
|
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:
|
|
120
|
-
"is-loading":
|
|
121
|
-
onClickEvent:
|
|
125
|
+
t("div", $t, [
|
|
126
|
+
f(me, {
|
|
127
|
+
label: a.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
128
|
+
disabled: a.soldOut,
|
|
129
|
+
"is-loading": C.value,
|
|
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 ht = { class: "konnectio-event-listing-action" }, kt = { class: "konnectio
|
|
|
126
135
|
_: 3
|
|
127
136
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
128
137
|
}
|
|
129
|
-
}),
|
|
130
|
-
const
|
|
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 Tt = { class: "konnectio-pill-button" }, Vt = { 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
|
|
155
|
-
new Date(2e3, 0, 1, Number(l[0]), Number(l[1]),
|
|
163
|
+
return console.log(l), yt(
|
|
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 Tt = { class: "konnectio-pill-button" }, Vt = { 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
|
-
t("li",
|
|
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 Tt = { class: "konnectio-pill-button" }, Vt = { 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 Tt = { class: "konnectio-pill-button" }, Vt = { 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 Tt = { class: "konnectio-pill-button" }, Vt = { 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,131 +245,132 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { 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
|
-
getTemplateData:
|
|
274
|
+
getTemplateData: C,
|
|
266
275
|
basePrice: D,
|
|
267
276
|
totalPrice: P,
|
|
268
|
-
weekendFee:
|
|
269
|
-
roomUpgrade:
|
|
270
|
-
discountCode:
|
|
271
|
-
} =
|
|
272
|
-
return (
|
|
273
|
-
"discount-code": e(
|
|
274
|
-
"onUpdate:discountCode":
|
|
275
|
-
"validate-discount-code": e(
|
|
276
|
-
"show-gift-card":
|
|
277
|
-
"show-terms-notice":
|
|
277
|
+
weekendFee: a,
|
|
278
|
+
roomUpgrade: g,
|
|
279
|
+
discountCode: O
|
|
280
|
+
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
|
|
281
|
+
return (S, x) => (s(), T(st, {
|
|
282
|
+
"discount-code": e(O),
|
|
283
|
+
"onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
|
|
284
|
+
"validate-discount-code": e(ie),
|
|
285
|
+
"show-gift-card": S.showGiftCard,
|
|
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:
|
|
286
|
-
ne(
|
|
293
|
+
}, Ue({
|
|
294
|
+
form: p(() => [
|
|
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
|
-
t("b", null, o(e(
|
|
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(
|
|
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
|
-
t("b", null, o(e(R)(e(y), e(
|
|
330
|
+
t("b", null, o(e(R)(e(y), e(X))), 1)
|
|
322
331
|
])) : h("", !0),
|
|
323
|
-
e(
|
|
324
|
-
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(
|
|
325
|
-
t("b", null, o(e(R)(e(W)(
|
|
332
|
+
e(C) ? (s(!0), m(B, { key: 1 }, q(e(C), ({ roomGroupId: F }, ee) => (s(), m("li", { key: F }, [
|
|
333
|
+
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
|
|
334
|
+
t("b", null, o(e(R)(e(W)(F, ee), e(X))), 1)
|
|
326
335
|
]))), 128)) : h("", !0)
|
|
327
336
|
]),
|
|
328
|
-
navigation:
|
|
329
|
-
ne(
|
|
337
|
+
navigation: p(() => [
|
|
338
|
+
ne(S.$slots, "navigation")
|
|
330
339
|
]),
|
|
331
340
|
_: 2
|
|
332
341
|
}, [
|
|
333
342
|
e(i).sidebar ? {
|
|
334
343
|
name: "sidebar",
|
|
335
|
-
fn:
|
|
336
|
-
ne(
|
|
344
|
+
fn: p(() => [
|
|
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",
|
|
347
|
-
|
|
353
|
+
setup(d) {
|
|
354
|
+
return (n, i) => (s(), m("div", Ut, [
|
|
355
|
+
t("div", Ft, [
|
|
356
|
+
f(Pe)
|
|
348
357
|
]),
|
|
349
|
-
t("div",
|
|
358
|
+
t("div", zt, [
|
|
350
359
|
h("", !0),
|
|
351
|
-
|
|
360
|
+
f(at)
|
|
352
361
|
])
|
|
353
362
|
]));
|
|
354
363
|
}
|
|
355
|
-
}),
|
|
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
|
-
},
|
|
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({
|
|
364
374
|
name: "EventLayout",
|
|
365
375
|
__name: "Event",
|
|
366
376
|
props: {
|
|
@@ -368,205 +378,214 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
368
378
|
onlyShow: { default: "everything" },
|
|
369
379
|
styling: {}
|
|
370
380
|
},
|
|
371
|
-
setup(
|
|
372
|
-
const { t: n } =
|
|
381
|
+
setup(d) {
|
|
382
|
+
const { t: n } = se(), {
|
|
373
383
|
addons: i,
|
|
374
384
|
products: c,
|
|
375
385
|
numberOfDays: l,
|
|
376
386
|
name: _,
|
|
377
|
-
phone:
|
|
387
|
+
phone: b,
|
|
378
388
|
email: $,
|
|
379
389
|
remark: u,
|
|
380
|
-
arrivalTime:
|
|
390
|
+
arrivalTime: v,
|
|
381
391
|
hasEvents: k,
|
|
382
392
|
hasTemplates: y,
|
|
383
|
-
getEvents:
|
|
393
|
+
getEvents: C,
|
|
384
394
|
getTemplates: D,
|
|
385
395
|
getEventData: P,
|
|
386
|
-
getTemplateData:
|
|
387
|
-
getEventTableData:
|
|
388
|
-
hasProducts:
|
|
396
|
+
getTemplateData: a,
|
|
397
|
+
getEventTableData: g,
|
|
398
|
+
hasProducts: O,
|
|
389
399
|
eventRateType: W,
|
|
390
|
-
areListingsAvailable:
|
|
391
|
-
isAvailabilityDataAvailable:
|
|
392
|
-
isTemplateEvent:
|
|
393
|
-
hasListingData:
|
|
394
|
-
isPaymentLoading:
|
|
395
|
-
} =
|
|
400
|
+
areListingsAvailable: ie,
|
|
401
|
+
isAvailabilityDataAvailable: X,
|
|
402
|
+
isTemplateEvent: S,
|
|
403
|
+
hasListingData: x,
|
|
404
|
+
isPaymentLoading: F
|
|
405
|
+
} = H(j()), { searchDate: ee } = H(Ke()), {
|
|
396
406
|
initialize: Ce,
|
|
397
|
-
fetchListings:
|
|
407
|
+
fetchListings: Oe,
|
|
398
408
|
createBooking: Be,
|
|
399
409
|
localAddonPrice: fe,
|
|
400
|
-
totalAddonPrice:
|
|
401
|
-
reset:
|
|
402
|
-
} =
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
(
|
|
406
|
-
|
|
407
|
-
|
|
410
|
+
totalAddonPrice: Se,
|
|
411
|
+
reset: be
|
|
412
|
+
} = j(), { currency: Z } = H(De()), Le = le(() => {
|
|
413
|
+
const L = [];
|
|
414
|
+
return g.value && g.value.forEach((w) => {
|
|
415
|
+
L.push({
|
|
416
|
+
label: ve(w.time),
|
|
417
|
+
value: w.time
|
|
418
|
+
});
|
|
419
|
+
}), L;
|
|
420
|
+
});
|
|
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, {
|
|
408
426
|
id: "konnectio-event-module",
|
|
409
427
|
type: "none",
|
|
410
|
-
"access-token":
|
|
428
|
+
"access-token": L.accessToken
|
|
411
429
|
}, {
|
|
412
|
-
default:
|
|
413
|
-
|
|
414
|
-
availability:
|
|
415
|
-
|
|
416
|
-
sidebar:
|
|
417
|
-
|
|
430
|
+
default: p(() => [
|
|
431
|
+
f(it, null, {
|
|
432
|
+
availability: p(({ next: z }) => [
|
|
433
|
+
f(ce, null, {
|
|
434
|
+
sidebar: p(() => [
|
|
435
|
+
f(mt, { redirection: !1 })
|
|
418
436
|
]),
|
|
419
|
-
form:
|
|
420
|
-
e(
|
|
421
|
-
e(k) &&
|
|
437
|
+
form: p(() => [
|
|
438
|
+
e(x) && e(ie) ? (s(), m("div", Ht, [
|
|
439
|
+
e(k) && L.onlyShow !== "templates" ? (s(), m(B, { key: 0 }, [
|
|
422
440
|
h("", !0),
|
|
423
|
-
t("ul",
|
|
424
|
-
(
|
|
441
|
+
t("ul", jt, [
|
|
442
|
+
(s(!0), m(B, null, q(e(C), ({
|
|
425
443
|
id: A,
|
|
426
444
|
days: r,
|
|
427
|
-
name:
|
|
428
|
-
timeFrom:
|
|
429
|
-
timeTo:
|
|
430
|
-
fromDate:
|
|
431
|
-
toDate:
|
|
432
|
-
tableGroupId:
|
|
433
|
-
description:
|
|
434
|
-
soldOut:
|
|
435
|
-
length:
|
|
436
|
-
images:
|
|
437
|
-
maxOnlineReservationLimit:
|
|
438
|
-
}) => (
|
|
445
|
+
name: I,
|
|
446
|
+
timeFrom: N,
|
|
447
|
+
timeTo: E,
|
|
448
|
+
fromDate: V,
|
|
449
|
+
toDate: J,
|
|
450
|
+
tableGroupId: K,
|
|
451
|
+
description: re,
|
|
452
|
+
soldOut: ue,
|
|
453
|
+
length: Q,
|
|
454
|
+
images: Ie,
|
|
455
|
+
maxOnlineReservationLimit: Ne
|
|
456
|
+
}) => (s(), T(At, {
|
|
439
457
|
key: A,
|
|
440
458
|
type: "event",
|
|
441
459
|
"listing-id": A,
|
|
442
|
-
"table-group-id":
|
|
443
|
-
description:
|
|
444
|
-
name:
|
|
445
|
-
length:
|
|
446
|
-
gallery:
|
|
460
|
+
"table-group-id": K,
|
|
461
|
+
description: re,
|
|
462
|
+
name: I,
|
|
463
|
+
length: Q,
|
|
464
|
+
gallery: Ie,
|
|
447
465
|
days: r,
|
|
448
|
-
"from-date":
|
|
449
|
-
"to-date":
|
|
450
|
-
"max-online-reservation-limit":
|
|
451
|
-
"time-from":
|
|
452
|
-
"time-to":
|
|
453
|
-
"sold-out":
|
|
454
|
-
callback:
|
|
466
|
+
"from-date": V,
|
|
467
|
+
"to-date": J,
|
|
468
|
+
"max-online-reservation-limit": Ne,
|
|
469
|
+
"time-from": N,
|
|
470
|
+
"time-to": E,
|
|
471
|
+
"sold-out": ue,
|
|
472
|
+
callback: z
|
|
455
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))
|
|
456
474
|
])
|
|
457
475
|
], 64)) : h("", !0),
|
|
458
|
-
e(y) &&
|
|
476
|
+
e(y) && L.onlyShow !== "events" ? (s(), m(B, { key: 1 }, [
|
|
459
477
|
h("", !0),
|
|
460
|
-
t("ul",
|
|
461
|
-
(
|
|
478
|
+
t("ul", Yt, [
|
|
479
|
+
(s(!0), m(B, null, q(e(D), ({
|
|
462
480
|
id: A,
|
|
463
481
|
name: r,
|
|
464
|
-
fromDate:
|
|
465
|
-
toDate:
|
|
466
|
-
minimumPersonCount:
|
|
467
|
-
fromPrice:
|
|
468
|
-
description:
|
|
469
|
-
imageUrl:
|
|
470
|
-
}) => (
|
|
482
|
+
fromDate: I,
|
|
483
|
+
toDate: N,
|
|
484
|
+
minimumPersonCount: E,
|
|
485
|
+
fromPrice: V,
|
|
486
|
+
description: J,
|
|
487
|
+
imageUrl: K
|
|
488
|
+
}) => (s(), T(Ot, {
|
|
471
489
|
key: A,
|
|
472
490
|
"listing-id": A,
|
|
473
491
|
name: r,
|
|
474
|
-
image:
|
|
475
|
-
description:
|
|
476
|
-
"from-date":
|
|
477
|
-
"to-date":
|
|
478
|
-
"minimum-person-count":
|
|
479
|
-
fromPrice:
|
|
480
|
-
callback:
|
|
492
|
+
image: K,
|
|
493
|
+
description: J,
|
|
494
|
+
"from-date": I,
|
|
495
|
+
"to-date": N,
|
|
496
|
+
"minimum-person-count": E,
|
|
497
|
+
fromPrice: V,
|
|
498
|
+
callback: z
|
|
481
499
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
482
500
|
])
|
|
483
501
|
], 64)) : h("", !0)
|
|
484
|
-
])) : (
|
|
502
|
+
])) : (s(), T(Pe, { key: 1 }))
|
|
485
503
|
]),
|
|
486
504
|
_: 2
|
|
487
505
|
}, 1024)
|
|
488
506
|
]),
|
|
489
|
-
addons:
|
|
490
|
-
e(
|
|
491
|
-
form:
|
|
492
|
-
t("form",
|
|
507
|
+
addons: p(({ next: z, prev: A }) => [
|
|
508
|
+
e(X) ? (s(), T(ce, { key: 0 }, {
|
|
509
|
+
form: p(() => [
|
|
510
|
+
t("form", Zt, [
|
|
493
511
|
t("h2", null, [
|
|
494
512
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
495
513
|
]),
|
|
496
|
-
e(W) === e(
|
|
514
|
+
e(W) === e(ye).FullDayEvent ? (s(), T(oe, {
|
|
497
515
|
key: 0,
|
|
498
516
|
modelValue: e(l),
|
|
499
|
-
"onUpdate:modelValue":
|
|
517
|
+
"onUpdate:modelValue": w[0] || (w[0] = (r) => M(l) ? l.value = r : null),
|
|
500
518
|
label: e(n)("event.numberOfDays"),
|
|
501
519
|
"min-value": 1,
|
|
502
520
|
required: ""
|
|
503
521
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
504
|
-
e(
|
|
505
|
-
(
|
|
522
|
+
e(a) && e(a).length > 0 ? (s(), m("ul", Jt, [
|
|
523
|
+
(s(!0), m(B, null, q(e(a), ({
|
|
506
524
|
roomGroupId: r,
|
|
507
|
-
addons:
|
|
508
|
-
adultPerRoom:
|
|
509
|
-
},
|
|
525
|
+
addons: I,
|
|
526
|
+
adultPerRoom: N
|
|
527
|
+
}, E) => (s(), m("li", { key: r }, [
|
|
510
528
|
t("h5", null, [
|
|
511
|
-
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(
|
|
512
|
-
|
|
513
|
-
|
|
529
|
+
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
|
|
530
|
+
ge(" ("),
|
|
531
|
+
f(pe, {
|
|
514
532
|
icon: "male",
|
|
515
533
|
type: "fas",
|
|
516
534
|
color: "header"
|
|
517
535
|
}),
|
|
518
|
-
|
|
536
|
+
ge(" " + o(N) + ") ", 1)
|
|
519
537
|
]),
|
|
520
|
-
t("table",
|
|
538
|
+
t("table", Kt, [
|
|
521
539
|
t("thead", null, [
|
|
522
540
|
t("tr", null, [
|
|
523
541
|
t("th", null, [
|
|
524
542
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
525
543
|
]),
|
|
526
544
|
Qt,
|
|
527
|
-
t("th",
|
|
545
|
+
t("th", Wt, [
|
|
528
546
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
529
547
|
])
|
|
530
548
|
])
|
|
531
549
|
]),
|
|
532
550
|
t("tbody", null, [
|
|
533
|
-
(
|
|
534
|
-
id:
|
|
535
|
-
cardinality:
|
|
536
|
-
name:
|
|
537
|
-
price:
|
|
538
|
-
quantityStrategy:
|
|
539
|
-
}) => (
|
|
551
|
+
(s(!0), m(B, null, q(I, ({
|
|
552
|
+
id: V,
|
|
553
|
+
cardinality: J,
|
|
554
|
+
name: K,
|
|
555
|
+
price: re,
|
|
556
|
+
quantityStrategy: ue
|
|
557
|
+
}) => (s(), m("tr", { key: V }, [
|
|
540
558
|
t("td", null, [
|
|
541
|
-
t("b", null, o(
|
|
542
|
-
|
|
543
|
-
t("span", null, o(e(R)(
|
|
559
|
+
t("b", null, o(K), 1),
|
|
560
|
+
Xt,
|
|
561
|
+
t("span", null, o(e(R)(re, e(Z))) + " " + o(e(Qe)(ue)), 1)
|
|
544
562
|
]),
|
|
545
|
-
t("td",
|
|
546
|
-
|
|
563
|
+
t("td", xt, [
|
|
564
|
+
J === 3 ? (s(), T(oe, {
|
|
547
565
|
key: 0,
|
|
548
|
-
modelValue: e(i)[`${r}.${
|
|
549
|
-
"onUpdate:modelValue": (
|
|
566
|
+
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
567
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
550
568
|
small: !0,
|
|
551
569
|
"min-value": 0
|
|
552
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (
|
|
570
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), T(ft, {
|
|
553
571
|
key: 1,
|
|
554
|
-
modelValue: e(i)[`${r}.${
|
|
555
|
-
"onUpdate:modelValue": (
|
|
572
|
+
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
573
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
556
574
|
numeric: !0
|
|
557
575
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
558
576
|
]),
|
|
559
|
-
t("td",
|
|
560
|
-
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)
|
|
561
579
|
])
|
|
562
580
|
]))), 128))
|
|
563
581
|
]),
|
|
564
582
|
t("tfoot", null, [
|
|
565
583
|
t("tr", null, [
|
|
566
|
-
|
|
567
|
-
|
|
584
|
+
tn,
|
|
585
|
+
nn,
|
|
586
|
+
t("td", on, [
|
|
568
587
|
t("u", null, [
|
|
569
|
-
t("span", null, o(e(R)(e(
|
|
588
|
+
t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
|
|
570
589
|
])
|
|
571
590
|
])
|
|
572
591
|
])
|
|
@@ -574,63 +593,54 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
574
593
|
])
|
|
575
594
|
]))), 128))
|
|
576
595
|
])) : h("", !0),
|
|
577
|
-
e(W) !== e(
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
modelValue: e(p),
|
|
588
|
-
"onUpdate:modelValue": E[1] || (E[1] = (C) => I(p) ? p.value = C : null),
|
|
589
|
-
type: "radio",
|
|
590
|
-
name: "eventTimeTable",
|
|
591
|
-
val: r.time,
|
|
592
|
-
label: e(pe)(r.time)
|
|
593
|
-
}, null, 8, ["modelValue", "val", "label"])
|
|
594
|
-
]))), 128))
|
|
595
|
-
])
|
|
596
|
+
e(W) !== e(ye).FullDayEvent && !e(S) ? (s(), m("div", ln, [
|
|
597
|
+
h("", !0),
|
|
598
|
+
f(rt, {
|
|
599
|
+
modelValue: e(v),
|
|
600
|
+
"onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
|
|
601
|
+
label: e(n)("event.selectArrivalTime"),
|
|
602
|
+
name: "eventTimeTable",
|
|
603
|
+
checkboxes: Le.value,
|
|
604
|
+
required: ""
|
|
605
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])
|
|
596
606
|
])) : h("", !0),
|
|
597
|
-
e(
|
|
598
|
-
t("label",
|
|
607
|
+
e(O) ? (s(), m("div", sn, [
|
|
608
|
+
t("label", an, [
|
|
599
609
|
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
600
610
|
]),
|
|
601
|
-
t("table",
|
|
611
|
+
t("table", rn, [
|
|
602
612
|
t("thead", null, [
|
|
603
613
|
t("tr", null, [
|
|
604
614
|
t("th", null, [
|
|
605
615
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
606
616
|
]),
|
|
607
|
-
|
|
608
|
-
t("th",
|
|
617
|
+
un,
|
|
618
|
+
t("th", dn, [
|
|
609
619
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
610
620
|
])
|
|
611
621
|
])
|
|
612
622
|
]),
|
|
613
623
|
t("tbody", null, [
|
|
614
|
-
(
|
|
624
|
+
(s(!0), m(B, null, q(e(P).products, ({ productID: r, productName: I, price: N, description: E }) => (s(), m("tr", { key: r }, [
|
|
615
625
|
t("td", null, [
|
|
616
626
|
t("b", null, [
|
|
617
|
-
t("span", null, o(
|
|
627
|
+
t("span", null, o(I), 1)
|
|
618
628
|
]),
|
|
619
|
-
|
|
620
|
-
t("span", null, o(
|
|
621
|
-
|
|
622
|
-
t("span", null, o(e(R)(
|
|
629
|
+
cn,
|
|
630
|
+
t("span", null, o(E), 1),
|
|
631
|
+
mn,
|
|
632
|
+
t("span", null, o(e(R)(N, e(Z))), 1)
|
|
623
633
|
]),
|
|
624
|
-
t("td",
|
|
625
|
-
|
|
634
|
+
t("td", pn, [
|
|
635
|
+
f(oe, {
|
|
626
636
|
modelValue: e(c)[r],
|
|
627
|
-
"onUpdate:modelValue": (
|
|
637
|
+
"onUpdate:modelValue": (V) => e(c)[r] = V,
|
|
628
638
|
small: !0,
|
|
629
639
|
"min-value": 0
|
|
630
640
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
631
641
|
]),
|
|
632
|
-
t("td",
|
|
633
|
-
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)
|
|
634
644
|
])
|
|
635
645
|
]))), 128))
|
|
636
646
|
])
|
|
@@ -638,44 +648,44 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
638
648
|
])) : h("", !0)
|
|
639
649
|
])
|
|
640
650
|
]),
|
|
641
|
-
navigation:
|
|
642
|
-
|
|
643
|
-
label: "
|
|
651
|
+
navigation: p(() => [
|
|
652
|
+
f(me, {
|
|
653
|
+
label: e(n)("general.startReservation"),
|
|
644
654
|
"full-width": "",
|
|
645
|
-
onClickEvent:
|
|
646
|
-
}, null, 8, ["onClickEvent"]),
|
|
655
|
+
onClickEvent: z
|
|
656
|
+
}, null, 8, ["label", "onClickEvent"]),
|
|
647
657
|
t("button", {
|
|
648
658
|
class: "konnectio-abort-reservation link",
|
|
649
|
-
onClick:
|
|
659
|
+
onClick: he((r) => e(be)(A), ["prevent"])
|
|
650
660
|
}, [
|
|
651
661
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
652
|
-
], 8,
|
|
662
|
+
], 8, fn)
|
|
653
663
|
]),
|
|
654
664
|
_: 2
|
|
655
665
|
}, 1024)) : h("", !0)
|
|
656
666
|
]),
|
|
657
|
-
reservation:
|
|
658
|
-
|
|
667
|
+
reservation: p(({ next: z, prev: A }) => [
|
|
668
|
+
f(ce, {
|
|
659
669
|
"show-terms-notice": !0,
|
|
660
670
|
"show-gift-card": !0
|
|
661
671
|
}, {
|
|
662
|
-
form:
|
|
663
|
-
t("form",
|
|
672
|
+
form: p(() => [
|
|
673
|
+
t("form", bn, [
|
|
664
674
|
t("h2", null, [
|
|
665
675
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
666
676
|
]),
|
|
667
|
-
|
|
677
|
+
f(de, {
|
|
668
678
|
modelValue: e(_),
|
|
669
|
-
"onUpdate:modelValue":
|
|
679
|
+
"onUpdate:modelValue": w[2] || (w[2] = (r) => M(_) ? _.value = r : null),
|
|
670
680
|
type: "text",
|
|
671
681
|
label: e(n)("booking.reservation.name"),
|
|
672
682
|
icon: "user-alt",
|
|
673
683
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
674
684
|
required: ""
|
|
675
685
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
676
|
-
|
|
686
|
+
f(de, {
|
|
677
687
|
modelValue: e($),
|
|
678
|
-
"onUpdate:modelValue":
|
|
688
|
+
"onUpdate:modelValue": w[3] || (w[3] = (r) => M($) ? $.value = r : null),
|
|
679
689
|
label: e(n)("booking.reservation.email"),
|
|
680
690
|
type: "email",
|
|
681
691
|
name: "email",
|
|
@@ -684,17 +694,17 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
684
694
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
685
695
|
required: ""
|
|
686
696
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
687
|
-
|
|
688
|
-
modelValue: e(
|
|
689
|
-
"onUpdate:modelValue":
|
|
697
|
+
f(bt, {
|
|
698
|
+
modelValue: e(b),
|
|
699
|
+
"onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
|
|
690
700
|
label: e(n)("booking.reservation.phone"),
|
|
691
701
|
icon: "phone-office",
|
|
692
702
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
693
703
|
required: ""
|
|
694
704
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
695
|
-
|
|
705
|
+
f(de, {
|
|
696
706
|
modelValue: e(u),
|
|
697
|
-
"onUpdate:modelValue":
|
|
707
|
+
"onUpdate:modelValue": w[5] || (w[5] = (r) => M(u) ? u.value = r : null),
|
|
698
708
|
type: "textarea",
|
|
699
709
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
700
710
|
icon: "info-circle",
|
|
@@ -702,28 +712,28 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
702
712
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
703
713
|
])
|
|
704
714
|
]),
|
|
705
|
-
navigation:
|
|
706
|
-
|
|
715
|
+
navigation: p(() => [
|
|
716
|
+
f(me, {
|
|
707
717
|
label: e(n)("general.confirmReservation"),
|
|
708
|
-
"is-loading": e(
|
|
718
|
+
"is-loading": e(F),
|
|
709
719
|
"full-width": "",
|
|
710
|
-
onClickEvent: (r) => e(Be)(
|
|
720
|
+
onClickEvent: (r) => e(Be)(z)
|
|
711
721
|
}, null, 8, ["label", "is-loading", "onClickEvent"]),
|
|
712
722
|
t("button", {
|
|
713
723
|
class: "konnectio-abort-reservation link",
|
|
714
|
-
onClick:
|
|
724
|
+
onClick: he((r) => e(be)(A), ["prevent"])
|
|
715
725
|
}, [
|
|
716
726
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
717
|
-
], 8,
|
|
727
|
+
], 8, gn)
|
|
718
728
|
]),
|
|
719
729
|
_: 2
|
|
720
730
|
}, 1024)
|
|
721
731
|
]),
|
|
722
|
-
payment:
|
|
723
|
-
|
|
732
|
+
payment: p(() => [
|
|
733
|
+
f(gt)
|
|
724
734
|
]),
|
|
725
|
-
confirmation:
|
|
726
|
-
|
|
735
|
+
confirmation: p(() => [
|
|
736
|
+
f(ut, {
|
|
727
737
|
message: e(n)("event.confirmationMessage")
|
|
728
738
|
}, null, 8, ["message"])
|
|
729
739
|
]),
|
|
@@ -733,8 +743,8 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
733
743
|
_: 1
|
|
734
744
|
}, 8, ["access-token"])
|
|
735
745
|
]),
|
|
736
|
-
fallback:
|
|
737
|
-
|
|
746
|
+
fallback: p(() => [
|
|
747
|
+
f(Gt)
|
|
738
748
|
]),
|
|
739
749
|
_: 1
|
|
740
750
|
}))
|
|
@@ -742,8 +752,8 @@ const qt = { class: "fresh-booking-event-listings" }, Ht = { class: "fresh-booki
|
|
|
742
752
|
_: 1
|
|
743
753
|
}, 8, ["styling"]));
|
|
744
754
|
}
|
|
745
|
-
}), te = /* @__PURE__ */ ae(
|
|
746
|
-
class
|
|
755
|
+
}), te = /* @__PURE__ */ ae(hn, [["__scopeId", "data-v-c057ed89"]]), kn = xe(), yn = ot();
|
|
756
|
+
class _n extends HTMLElement {
|
|
747
757
|
vueApp;
|
|
748
758
|
constructor() {
|
|
749
759
|
super();
|
|
@@ -754,23 +764,24 @@ class kn extends HTMLElement {
|
|
|
754
764
|
connectedCallback() {
|
|
755
765
|
const n = typeof te == "function" ? te.options : te;
|
|
756
766
|
let i = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
757
|
-
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()), _ = {};
|
|
758
768
|
i = i.map(c);
|
|
759
|
-
const
|
|
769
|
+
const b = {};
|
|
760
770
|
for (const u of this.attributes) {
|
|
761
771
|
const k = u.name.split(".");
|
|
762
|
-
k.length > 1 && (
|
|
772
|
+
k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = u.value);
|
|
763
773
|
}
|
|
764
774
|
for (const u of i) {
|
|
765
|
-
let
|
|
766
|
-
|
|
775
|
+
let v = this.attributes.getNamedItem(u)?.value;
|
|
776
|
+
b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
|
|
767
777
|
}
|
|
768
|
-
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 });
|
|
769
779
|
const $ = document.createElement("div");
|
|
770
780
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
771
781
|
}
|
|
772
782
|
}
|
|
773
|
-
window.customElements.define("konnectio-event",
|
|
783
|
+
window.customElements.define("konnectio-event", _n);
|
|
774
784
|
export {
|
|
775
|
-
|
|
785
|
+
_n as default
|
|
776
786
|
};
|
|
787
|
+
//# sourceMappingURL=event.js.map
|