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