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