@konnectio/core 4.0.79 → 4.0.80
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-BxsfN3m3.js → ActionField-CvQ0YUxr.js} +3 -3
- package/dist/ActionField-CvQ0YUxr.js.br +0 -0
- package/dist/{AvailabilitySkeleton-zKa2gP2l.js → AvailabilitySkeleton-BE4L1nd9.js} +8 -8
- package/dist/AvailabilitySkeleton-BE4L1nd9.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js} +443 -447
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js.br +0 -0
- package/dist/{CheckoutWindow-Cxqsa0Y7.js → CheckoutWindow-DuKRLFkx.js} +4 -4
- package/dist/CheckoutWindow-DuKRLFkx.js.br +0 -0
- package/dist/{ErrorMessage-BkEVeYjJ.js → ErrorMessage-DdHNHm5r.js} +3 -3
- package/dist/ErrorMessage-DdHNHm5r.js.br +0 -0
- package/dist/{EventAvailabilityForm-C0bAjzem.js → EventAvailabilityForm-SfWnl0dH.js} +22 -22
- package/dist/EventAvailabilityForm-SfWnl0dH.js.br +0 -0
- package/dist/{Field-DRNnN5iQ.js → Field-7wRhrgF1.js} +3 -3
- package/dist/Field-7wRhrgF1.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js} +3512 -3525
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js.br +0 -0
- package/dist/{TermsOfService-B9J_dCWC.js → TermsOfService-CGd1v8bv.js} +5 -5
- package/dist/TermsOfService-CGd1v8bv.js.br +0 -0
- package/dist/{_-CwfDey89.js → _-BdhU6Q-9.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-CznuOQGN.js → _.vue_vue_type_style_index_0_lang-fhGwRVNV.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-fhGwRVNV.js.br +0 -0
- package/dist/{_commonjsHelpers-BRsHMJes.js → _commonjsHelpers-B783nPtq.js} +2 -2
- package/dist/_commonjsHelpers-B783nPtq.js.br +0 -0
- package/dist/{_sentry-release-injection-file-BE1hINUq.js → _sentry-release-injection-file-DuTrFXi9.js} +654 -654
- package/dist/_sentry-release-injection-file-DuTrFXi9.js.br +0 -0
- package/dist/availability.js +8 -8
- 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 +210 -210
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +10 -10
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BkTcitpm.js → giftCard-Cym4np9i.js} +4 -4
- package/dist/giftCard-Cym4np9i.js.br +0 -0
- package/dist/hotel.js +225 -224
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-hjq7KkQz.js → masonry.plugin-Dq7Bgo5Z.js} +41 -45
- package/dist/masonry.plugin-Dq7Bgo5Z.js.br +0 -0
- package/dist/{mitt-B6gLpXoo.js → mitt-D8TbGxgr.js} +440 -440
- package/dist/mitt-D8TbGxgr.js.br +0 -0
- package/dist/polyfill.js +102 -103
- package/dist/polyfill.js.br +0 -0
- package/dist/{sentry-D0iIPSOj.js → sentry-w--IXIuo.js} +3 -3
- package/dist/{style-Bn_aipu4.js → style-D8yY0ZfC.js} +2 -2
- package/dist/style-D8yY0ZfC.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-BVguX61l.js → tracing-nJlxVqd0.js} +39 -39
- package/dist/tracing-nJlxVqd0.js.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-BxsfN3m3.js.br +0 -0
- package/dist/AvailabilitySkeleton-zKa2gP2l.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js.br +0 -0
- package/dist/CheckoutWindow-Cxqsa0Y7.js.br +0 -0
- package/dist/ErrorMessage-BkEVeYjJ.js.br +0 -0
- package/dist/EventAvailabilityForm-C0bAjzem.js.br +0 -0
- package/dist/Field-DRNnN5iQ.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js.br +0 -0
- package/dist/TermsOfService-B9J_dCWC.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CznuOQGN.js.br +0 -0
- package/dist/_commonjsHelpers-BRsHMJes.js.br +0 -0
- package/dist/_sentry-release-injection-file-BE1hINUq.js.br +0 -0
- package/dist/giftCard-BkTcitpm.js.br +0 -0
- package/dist/masonry.plugin-hjq7KkQz.js.br +0 -0
- package/dist/mitt-B6gLpXoo.js.br +0 -0
- package/dist/style-Bn_aipu4.js.br +0 -0
- package/dist/tracing-BVguX61l.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { d as Y, r as We, c as J, a
|
|
2
|
-
import { u as se, s as q, c as
|
|
3
|
-
import { c as it } from "./sentry-
|
|
4
|
-
import { a as Se, b as le, l as rt, s as
|
|
5
|
-
import { G as gt } from "./style-
|
|
6
|
-
import {
|
|
7
|
-
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-
|
|
8
|
-
import { B as Pt, _ as wt, R as Dt, L as Ie, S as Et, M as Vt, C as $t, T as
|
|
9
|
-
import { C as It, P as Nt, a as Bt } from "./CheckoutWindow-
|
|
10
|
-
import { E as At } from "./EventAvailabilityForm-
|
|
1
|
+
import { d as Y, r as We, c as J, a, b as P, w as c, l as ae, u as e, e as t, i as m, f as p, n as Je, g as u, t as o, m as Xe, q as Ze, F as C, s as G, v as R, S as xe, x as _e, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-DuTrFXi9.js";
|
|
2
|
+
import { u as se, s as q, c as ot, l as at, i as lt, m as st } from "./mitt-D8TbGxgr.js";
|
|
3
|
+
import { c as it } from "./sentry-w--IXIuo.js";
|
|
4
|
+
import { a as Se, b as le, l as rt, s as M, c as be, B as ut, _ as ie, d as he, I as ge, e as dt, f as ke, g as j, u as Pe, h as ct, i as we, T as ne, O as mt, C as pt, j as vt, k as ft, m as bt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js";
|
|
5
|
+
import { G as gt } from "./style-D8yY0ZfC.js";
|
|
6
|
+
import { c as kt, t as oe, g as De, e as ht, m as Ee, a as Ve, b as $e, d as yt, f as Oe, u as H } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js";
|
|
7
|
+
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-fhGwRVNV.js";
|
|
8
|
+
import { B as Pt, _ as wt, R as Dt, L as Ie, S as Et, M as Vt, C as $t, T as Ot, V as Tt, a as St } from "./masonry.plugin-Dq7Bgo5Z.js";
|
|
9
|
+
import { C as It, P as Nt, a as Bt } from "./CheckoutWindow-DuKRLFkx.js";
|
|
10
|
+
import { E as At } from "./EventAvailabilityForm-SfWnl0dH.js";
|
|
11
11
|
(function() {
|
|
12
12
|
try {
|
|
13
13
|
var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
14
|
-
n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "
|
|
14
|
+
n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "027b97c3-463c-4a2a-b24b-5c2e6454ed19", d._sentryDebugIdIdentifier = "sentry-dbid-027b97c3-463c-4a2a-b24b-5c2e6454ed19");
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
17
|
})();
|
|
@@ -25,40 +25,40 @@ import { E as At } from "./EventAvailabilityForm-C0bAjzem.js";
|
|
|
25
25
|
}
|
|
26
26
|
function Ct(d) {
|
|
27
27
|
return (n) => {
|
|
28
|
-
const
|
|
29
|
-
return
|
|
28
|
+
const i = Math[d], f = i(n);
|
|
29
|
+
return f === 0 ? 0 : f;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
function Lt(d, n, i) {
|
|
33
|
-
const
|
|
33
|
+
const b = yt().locale ?? ht, r = kt(d, n);
|
|
34
34
|
if (isNaN(r))
|
|
35
35
|
throw new RangeError("Invalid time value");
|
|
36
|
-
const
|
|
36
|
+
const g = Object.assign({}, i, {
|
|
37
37
|
addSuffix: i?.addSuffix,
|
|
38
38
|
comparison: r
|
|
39
39
|
});
|
|
40
|
-
let V,
|
|
41
|
-
r > 0 ? (V =
|
|
42
|
-
const w = Ct(
|
|
43
|
-
let
|
|
44
|
-
if (
|
|
40
|
+
let V, k;
|
|
41
|
+
r > 0 ? (V = oe(n), k = oe(d)) : (V = oe(d), k = oe(n));
|
|
42
|
+
const w = Ct("round"), $ = k.getTime() - V.getTime(), _ = $ / Oe, D = De(k) - De(V), O = ($ - D) / Oe, U = i?.unit;
|
|
43
|
+
let h;
|
|
44
|
+
if (_ < 1 ? h = "second" : _ < 60 ? h = "minute" : _ < Ee ? h = "hour" : O < Ve ? h = "day" : O < $e ? h = "month" : h = "year", h === "second") {
|
|
45
45
|
const l = w($ / 1e3);
|
|
46
|
-
return b.formatDistance("xSeconds", l,
|
|
47
|
-
} else if (
|
|
46
|
+
return b.formatDistance("xSeconds", l, g);
|
|
47
|
+
} else if (h === "minute") {
|
|
48
48
|
const l = w(_);
|
|
49
|
-
return b.formatDistance("xMinutes", l,
|
|
50
|
-
} else if (
|
|
49
|
+
return b.formatDistance("xMinutes", l, g);
|
|
50
|
+
} else if (h === "hour") {
|
|
51
51
|
const l = w(_ / 60);
|
|
52
|
-
return b.formatDistance("xHours", l,
|
|
53
|
-
} else if (
|
|
54
|
-
const l = w(
|
|
55
|
-
return b.formatDistance("xDays", l,
|
|
56
|
-
} else if (
|
|
57
|
-
const l = w(
|
|
58
|
-
return l === 12 &&
|
|
52
|
+
return b.formatDistance("xHours", l, g);
|
|
53
|
+
} else if (h === "day") {
|
|
54
|
+
const l = w(O / Ee);
|
|
55
|
+
return b.formatDistance("xDays", l, g);
|
|
56
|
+
} else if (h === "month") {
|
|
57
|
+
const l = w(O / Ve);
|
|
58
|
+
return l === 12 && U !== "month" ? b.formatDistance("xYears", 1, g) : b.formatDistance("xMonths", l, g);
|
|
59
59
|
} else {
|
|
60
|
-
const l = w(
|
|
61
|
-
return b.formatDistance("xYears", l,
|
|
60
|
+
const l = w(O / $e);
|
|
61
|
+
return b.formatDistance("xYears", l, g);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__ */ Y({
|
|
@@ -85,36 +85,36 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
|
|
|
85
85
|
callback: {}
|
|
86
86
|
},
|
|
87
87
|
setup(d) {
|
|
88
|
-
const { t: n } = se(), i = d, { display:
|
|
88
|
+
const { t: n } = se(), i = d, { display: f } = Se(), {
|
|
89
89
|
maxNumberOfPeople: b,
|
|
90
90
|
numberOfPeople: r,
|
|
91
|
-
eventId:
|
|
91
|
+
eventId: g,
|
|
92
92
|
currentEventDate: V,
|
|
93
|
-
tableGroupId:
|
|
93
|
+
tableGroupId: k
|
|
94
94
|
} = q(H()), {
|
|
95
95
|
getTemplateAvailability: w,
|
|
96
96
|
getEventAvailability: $,
|
|
97
97
|
isEventListingLoading: _
|
|
98
|
-
} = H(), D = We(0),
|
|
98
|
+
} = H(), D = We(0), O = J(() => _(i.listingId)), U = () => {
|
|
99
99
|
if (!i.useNumberOfProductsForPersons && D.value === 0) {
|
|
100
|
-
|
|
100
|
+
f({
|
|
101
101
|
type: "error",
|
|
102
102
|
message: n("alert.error.selectPeople")
|
|
103
103
|
});
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
},
|
|
106
|
+
g.value = i.listingId, r.value = D.value, w(i.callback);
|
|
107
|
+
}, h = () => {
|
|
108
108
|
if (!i.useNumberOfProductsForPersons && D.value === 0) {
|
|
109
|
-
|
|
109
|
+
f({
|
|
110
110
|
type: "error",
|
|
111
111
|
message: n("alert.error.selectPeople")
|
|
112
112
|
});
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
g.value = i.listingId, k.value = i.tableGroupId, r.value = D.value, $(i.callback);
|
|
116
116
|
};
|
|
117
|
-
return (l,
|
|
117
|
+
return (l, B) => (a(), P(Pt, {
|
|
118
118
|
type: "event",
|
|
119
119
|
"listing-id": l.listingId,
|
|
120
120
|
gallery: l.gallery,
|
|
@@ -125,7 +125,7 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
|
|
|
125
125
|
layout: e(ut).Event
|
|
126
126
|
}, {
|
|
127
127
|
description: c(() => [
|
|
128
|
-
|
|
128
|
+
ae(l.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
129
129
|
]),
|
|
130
130
|
action: c(() => [
|
|
131
131
|
t("div", {
|
|
@@ -134,10 +134,10 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
|
|
|
134
134
|
{ "no-selectable-people": l.useNumberOfProductsForPersons }
|
|
135
135
|
])
|
|
136
136
|
}, [
|
|
137
|
-
l.useNumberOfProductsForPersons ? m("", !0) : (
|
|
137
|
+
l.useNumberOfProductsForPersons ? m("", !0) : (a(), P(le, {
|
|
138
138
|
key: 0,
|
|
139
139
|
modelValue: D.value,
|
|
140
|
-
"onUpdate:modelValue":
|
|
140
|
+
"onUpdate:modelValue": B[0] || (B[0] = (L) => D.value = L),
|
|
141
141
|
label: e(n)("event.numberOfGuests"),
|
|
142
142
|
icon: "users",
|
|
143
143
|
"icon-type": "fas",
|
|
@@ -150,10 +150,10 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
|
|
|
150
150
|
p(be, {
|
|
151
151
|
label: l.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
152
152
|
disabled: l.soldOut,
|
|
153
|
-
"is-loading":
|
|
153
|
+
"is-loading": O.value,
|
|
154
154
|
"full-width": "",
|
|
155
|
-
"sub-label": e(
|
|
156
|
-
onClickEvent:
|
|
155
|
+
"sub-label": e(M)(e(V)),
|
|
156
|
+
onClickEvent: B[1] || (B[1] = (L) => l.type === "event" ? h() : U())
|
|
157
157
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
158
158
|
])
|
|
159
159
|
], 2)
|
|
@@ -161,8 +161,8 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
|
|
|
161
161
|
_: 3
|
|
162
162
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
163
163
|
}
|
|
164
|
-
}), Ne = /* @__PURE__ */ ie(Rt, [["__scopeId", "data-v-ef9fea04"]]),
|
|
165
|
-
const
|
|
164
|
+
}), Ne = /* @__PURE__ */ ie(Rt, [["__scopeId", "data-v-ef9fea04"]]), Ut = { class: "konnectio-event-listing-information-new" };
|
|
165
|
+
const Mt = {
|
|
166
166
|
key: 1,
|
|
167
167
|
class: "konnectio-pill-button"
|
|
168
168
|
}, qt = { class: "konnectio-pill-button" }, zt = /* @__PURE__ */ Y({
|
|
@@ -188,14 +188,14 @@ const Ut = {
|
|
|
188
188
|
callback: {}
|
|
189
189
|
},
|
|
190
190
|
setup(d) {
|
|
191
|
-
const n = d, { t: i } = se(), { hideEventLength:
|
|
191
|
+
const n = d, { t: i } = se(), { hideEventLength: f } = q(he()), b = J(() => {
|
|
192
192
|
const r = n.length.split(":");
|
|
193
193
|
return Lt(
|
|
194
194
|
new Date(2e3, 0, 1, Number(r[0]), Number(r[1]), 0),
|
|
195
195
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
196
196
|
);
|
|
197
197
|
});
|
|
198
|
-
return (r,
|
|
198
|
+
return (r, g) => (a(), P(Ne, {
|
|
199
199
|
"listing-id": r.listingId,
|
|
200
200
|
name: r.name,
|
|
201
201
|
description: r.description,
|
|
@@ -209,21 +209,21 @@ const Ut = {
|
|
|
209
209
|
callback: r.callback
|
|
210
210
|
}, {
|
|
211
211
|
description: c(() => [
|
|
212
|
-
r.description ? (
|
|
212
|
+
r.description ? (a(), P(wt, {
|
|
213
213
|
key: 0,
|
|
214
214
|
text: r.description
|
|
215
215
|
}, null, 8, ["text"])) : m("", !0),
|
|
216
|
-
t("ul",
|
|
216
|
+
t("ul", Ut, [
|
|
217
217
|
m("", !0),
|
|
218
|
-
e(
|
|
218
|
+
e(f) ? m("", !0) : (a(), u("li", Mt, [
|
|
219
219
|
t("div", null, [
|
|
220
220
|
p(ge, {
|
|
221
221
|
icon: "calendar-clock",
|
|
222
222
|
color: "header"
|
|
223
223
|
}),
|
|
224
|
-
t("span", null,
|
|
224
|
+
t("span", null, o(e(i)("event.lengthOfEvent")), 1)
|
|
225
225
|
]),
|
|
226
|
-
t("span", null,
|
|
226
|
+
t("span", null, o(b.value), 1)
|
|
227
227
|
])),
|
|
228
228
|
t("li", qt, [
|
|
229
229
|
t("div", null, [
|
|
@@ -231,9 +231,9 @@ const Ut = {
|
|
|
231
231
|
icon: "calendar-clock",
|
|
232
232
|
color: "header"
|
|
233
233
|
}),
|
|
234
|
-
t("span", null,
|
|
234
|
+
t("span", null, o(e(i)("event.startAndEndTime")), 1)
|
|
235
235
|
]),
|
|
236
|
-
t("span", null,
|
|
236
|
+
t("span", null, o(e(dt)(r.timeFrom, r.timeTo)), 1)
|
|
237
237
|
])
|
|
238
238
|
])
|
|
239
239
|
]),
|
|
@@ -266,15 +266,15 @@ const Ut = {
|
|
|
266
266
|
url: n.image
|
|
267
267
|
}];
|
|
268
268
|
});
|
|
269
|
-
return (
|
|
270
|
-
"listing-id":
|
|
269
|
+
return (f, b) => (a(), P(Ne, {
|
|
270
|
+
"listing-id": f.listingId,
|
|
271
271
|
gallery: i.value,
|
|
272
|
-
name:
|
|
273
|
-
description:
|
|
274
|
-
"prices-from":
|
|
275
|
-
"to-date":
|
|
272
|
+
name: f.name,
|
|
273
|
+
description: f.description,
|
|
274
|
+
"prices-from": f.fromPrice,
|
|
275
|
+
"to-date": f.toDate,
|
|
276
276
|
type: "template",
|
|
277
|
-
callback:
|
|
277
|
+
callback: f.callback
|
|
278
278
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
279
279
|
}
|
|
280
280
|
}), Ht = { key: 0 }, Yt = { key: 1 }, Kt = { key: 3 }, Qt = { key: 4 }, Wt = { key: 0 }, Jt = { key: 0 }, Xt = { key: 1 }, fe = /* @__PURE__ */ Y({
|
|
@@ -286,94 +286,94 @@ const Ut = {
|
|
|
286
286
|
},
|
|
287
287
|
setup(d) {
|
|
288
288
|
const { t: n } = se(), i = Xe(), {
|
|
289
|
-
areListingsAvailable:
|
|
289
|
+
areListingsAvailable: f,
|
|
290
290
|
arrivalTime: b,
|
|
291
291
|
numberOfPeople: r,
|
|
292
|
-
numberOfRooms:
|
|
292
|
+
numberOfRooms: g,
|
|
293
293
|
numberOfTotalDays: V,
|
|
294
|
-
isTemplateEvent:
|
|
294
|
+
isTemplateEvent: k,
|
|
295
295
|
currentEventDate: w,
|
|
296
296
|
length: $,
|
|
297
297
|
fromDate: _,
|
|
298
298
|
tableBasePrice: D,
|
|
299
|
-
getTemplateData:
|
|
300
|
-
basePrice:
|
|
301
|
-
totalPrice:
|
|
299
|
+
getTemplateData: O,
|
|
300
|
+
basePrice: U,
|
|
301
|
+
totalPrice: h,
|
|
302
302
|
weekendFee: l,
|
|
303
|
-
roomUpgrade:
|
|
304
|
-
discountCode:
|
|
303
|
+
roomUpgrade: B,
|
|
304
|
+
discountCode: L
|
|
305
305
|
} = q(H()), { totalAddonPrice: ue, validateDiscountCode: de } = H(), { currency: X, hideEventLength: ce } = q(he());
|
|
306
|
-
return (
|
|
307
|
-
"discount-code": e(
|
|
308
|
-
"onUpdate:discountCode": Z[0] || (Z[0] = (z) =>
|
|
306
|
+
return (F, Z) => (a(), P(Dt, {
|
|
307
|
+
"discount-code": e(L),
|
|
308
|
+
"onUpdate:discountCode": Z[0] || (Z[0] = (z) => R(L) ? L.value = z : null),
|
|
309
309
|
"validate-discount-code": e(de),
|
|
310
|
-
"show-gift-card":
|
|
311
|
-
"show-terms-notice":
|
|
312
|
-
"is-sidebar-loading": !e(
|
|
313
|
-
"base-price": e(
|
|
314
|
-
"total-price": e(
|
|
310
|
+
"show-gift-card": F.showGiftCard,
|
|
311
|
+
"show-terms-notice": F.showTermsNotice,
|
|
312
|
+
"is-sidebar-loading": !e(f),
|
|
313
|
+
"base-price": e(U),
|
|
314
|
+
"total-price": e(h),
|
|
315
315
|
"weekend-fee": e(l),
|
|
316
|
-
"room-upgrade": e(
|
|
316
|
+
"room-upgrade": e(B),
|
|
317
317
|
notice: e(n)("event.reservationNotice"),
|
|
318
|
-
"prev-callback":
|
|
318
|
+
"prev-callback": F.prevCallback
|
|
319
319
|
}, Ze({
|
|
320
320
|
form: c(() => [
|
|
321
|
-
|
|
321
|
+
ae(F.$slots, "form")
|
|
322
322
|
]),
|
|
323
323
|
"reservation-summary": c(() => [
|
|
324
|
-
e(
|
|
325
|
-
t("span", null,
|
|
326
|
-
t("b", null,
|
|
324
|
+
e(k) ? m("", !0) : (a(), u("li", Ht, [
|
|
325
|
+
t("span", null, o(e(n)("general.date")), 1),
|
|
326
|
+
t("b", null, o(e(M)(e(w))), 1)
|
|
327
327
|
])),
|
|
328
|
-
e(r) > 0 ? (
|
|
329
|
-
t("span", null,
|
|
330
|
-
t("b", null,
|
|
328
|
+
e(r) > 0 ? (a(), u("li", Yt, [
|
|
329
|
+
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
330
|
+
t("b", null, o(e(r)), 1)
|
|
331
331
|
])) : m("", !0),
|
|
332
|
-
e(
|
|
332
|
+
e(k) ? (a(), u(C, { key: 2 }, [
|
|
333
333
|
t("li", null, [
|
|
334
|
-
t("span", null,
|
|
335
|
-
t("b", null,
|
|
334
|
+
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
335
|
+
t("b", null, o(e(M)(e(_))), 1)
|
|
336
336
|
]),
|
|
337
337
|
t("li", null, [
|
|
338
|
-
t("span", null,
|
|
339
|
-
t("b", null,
|
|
338
|
+
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
339
|
+
t("b", null, o(e(M)(e(_), e(V))), 1)
|
|
340
340
|
]),
|
|
341
341
|
t("li", null, [
|
|
342
|
-
t("span", null,
|
|
343
|
-
t("b", null,
|
|
342
|
+
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
343
|
+
t("b", null, o(e(g)), 1)
|
|
344
344
|
]),
|
|
345
345
|
t("li", null, [
|
|
346
|
-
t("span", null,
|
|
347
|
-
t("b", null,
|
|
346
|
+
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
347
|
+
t("b", null, o(e(V)), 1)
|
|
348
348
|
])
|
|
349
349
|
], 64)) : m("", !0),
|
|
350
|
-
!e(
|
|
351
|
-
t("span", null,
|
|
352
|
-
t("b", null,
|
|
350
|
+
!e(k) && e(b) ? (a(), u("li", Kt, [
|
|
351
|
+
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
352
|
+
t("b", null, o(e(ke)(e(b))), 1)
|
|
353
353
|
])) : m("", !0),
|
|
354
|
-
!e(
|
|
355
|
-
t("span", null,
|
|
356
|
-
t("b", null,
|
|
354
|
+
!e(k) && e($) && !e(ce) ? (a(), u("li", Qt, [
|
|
355
|
+
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
356
|
+
t("b", null, o(e(ke)(e($))), 1)
|
|
357
357
|
])) : m("", !0)
|
|
358
358
|
]),
|
|
359
359
|
"price-summary": c(() => [
|
|
360
|
-
!e(
|
|
361
|
-
t("span", null,
|
|
362
|
-
t("b", null,
|
|
360
|
+
!e(k) && e(D) > 0 ? (a(), u("li", Wt, [
|
|
361
|
+
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
362
|
+
t("b", null, o(e(j)(e(D), e(X))), 1)
|
|
363
363
|
])) : m("", !0),
|
|
364
|
-
e(
|
|
365
|
-
t("span", null,
|
|
366
|
-
t("b", null,
|
|
364
|
+
e(O) ? (a(!0), u(C, { key: 1 }, G(e(O), ({ roomGroupId: z }, x) => (a(), u("li", { key: z }, [
|
|
365
|
+
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(x + 1), 1),
|
|
366
|
+
t("b", null, o(e(j)(e(ue)(z, x), e(X))), 1)
|
|
367
367
|
]))), 128)) : m("", !0)
|
|
368
368
|
]),
|
|
369
369
|
navigation: c(() => [
|
|
370
|
-
|
|
370
|
+
ae(F.$slots, "navigation")
|
|
371
371
|
]),
|
|
372
372
|
"mobile-under-price": c(() => [
|
|
373
|
-
e(
|
|
374
|
-
t("span", null,
|
|
375
|
-
])) : (
|
|
376
|
-
t("span", null,
|
|
373
|
+
e(k) ? (a(), u("div", Jt, [
|
|
374
|
+
t("span", null, o(e(M)(e(_))) + " - " + o(e(M)(e(_), e(V))), 1)
|
|
375
|
+
])) : (a(), u("div", Xt, [
|
|
376
|
+
t("span", null, o(e(M)(e(w))), 1)
|
|
377
377
|
]))
|
|
378
378
|
]),
|
|
379
379
|
_: 2
|
|
@@ -381,7 +381,7 @@ const Ut = {
|
|
|
381
381
|
e(i).sidebar ? {
|
|
382
382
|
name: "sidebar",
|
|
383
383
|
fn: c(() => [
|
|
384
|
-
|
|
384
|
+
ae(F.$slots, "sidebar")
|
|
385
385
|
]),
|
|
386
386
|
key: "0"
|
|
387
387
|
} : void 0
|
|
@@ -390,7 +390,7 @@ const Ut = {
|
|
|
390
390
|
}), Zt = { class: "event-skeleton" }, xt = { class: "event-skeleton-content" }, en = { class: "event-skeleton-sidebar" }, tn = /* @__PURE__ */ Y({
|
|
391
391
|
__name: "EventSkeleton",
|
|
392
392
|
setup(d) {
|
|
393
|
-
return (n, i) => (
|
|
393
|
+
return (n, i) => (a(), u("div", Zt, [
|
|
394
394
|
t("div", xt, [
|
|
395
395
|
p(Ie)
|
|
396
396
|
]),
|
|
@@ -400,11 +400,11 @@ const Ut = {
|
|
|
400
400
|
])
|
|
401
401
|
]));
|
|
402
402
|
}
|
|
403
|
-
}), nn = /* @__PURE__ */ ie(tn, [["__scopeId", "data-v-3e15c4e3"]]), re = (d) => (et("data-v-8edf3535"), d = d(), tt(), d),
|
|
403
|
+
}), nn = /* @__PURE__ */ ie(tn, [["__scopeId", "data-v-3e15c4e3"]]), re = (d) => (et("data-v-8edf3535"), d = d(), tt(), d), on = {
|
|
404
404
|
key: 0,
|
|
405
405
|
id: "konnectio-event-listings-wrapper"
|
|
406
406
|
};
|
|
407
|
-
const
|
|
407
|
+
const an = { class: "konnectio-event-listings" };
|
|
408
408
|
const ln = { class: "konnectio-event-listings" }, sn = {
|
|
409
409
|
key: 2,
|
|
410
410
|
class: "konnectio-panel"
|
|
@@ -426,27 +426,27 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
426
426
|
setup(d) {
|
|
427
427
|
const { t: n } = se(), {
|
|
428
428
|
addons: i,
|
|
429
|
-
products:
|
|
429
|
+
products: f,
|
|
430
430
|
numberOfDays: b,
|
|
431
431
|
name: r,
|
|
432
|
-
phone:
|
|
432
|
+
phone: g,
|
|
433
433
|
email: V,
|
|
434
|
-
remark:
|
|
434
|
+
remark: k,
|
|
435
435
|
allergies: w,
|
|
436
436
|
arrivalTime: $,
|
|
437
437
|
hasEvents: _,
|
|
438
438
|
hasTemplates: D,
|
|
439
|
-
getEvents:
|
|
440
|
-
getTemplates:
|
|
441
|
-
getEventData:
|
|
439
|
+
getEvents: O,
|
|
440
|
+
getTemplates: U,
|
|
441
|
+
getEventData: h,
|
|
442
442
|
getTemplateData: l,
|
|
443
|
-
getEventTableData:
|
|
444
|
-
hasProducts:
|
|
443
|
+
getEventTableData: B,
|
|
444
|
+
hasProducts: L,
|
|
445
445
|
eventRateType: ue,
|
|
446
446
|
areListingsAvailable: de,
|
|
447
447
|
isAvailabilityDataAvailable: X,
|
|
448
448
|
hasListingData: ce,
|
|
449
|
-
isPaymentLoading:
|
|
449
|
+
isPaymentLoading: F,
|
|
450
450
|
isReservationFormFilled: Z,
|
|
451
451
|
requiresArrivalTime: z,
|
|
452
452
|
hasSelectedRequiredProducts: x
|
|
@@ -454,8 +454,8 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
454
454
|
initialize: Le,
|
|
455
455
|
fetchListings: Fe,
|
|
456
456
|
createBooking: Re,
|
|
457
|
-
localAddonPrice:
|
|
458
|
-
totalAddonPrice:
|
|
457
|
+
localAddonPrice: Ue,
|
|
458
|
+
totalAddonPrice: Me,
|
|
459
459
|
reset: qe,
|
|
460
460
|
goBack: ye
|
|
461
461
|
} = H(), { display: me } = Se(), ze = J(() => [
|
|
@@ -486,21 +486,21 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
486
486
|
}
|
|
487
487
|
]), Ge = J(() => {
|
|
488
488
|
const E = [];
|
|
489
|
-
return
|
|
489
|
+
return B.value && B.value.forEach((v) => {
|
|
490
490
|
E.push({
|
|
491
|
-
label: ke(
|
|
492
|
-
value:
|
|
491
|
+
label: ke(v.time),
|
|
492
|
+
value: v.time
|
|
493
493
|
});
|
|
494
494
|
}), E;
|
|
495
495
|
});
|
|
496
496
|
function je() {
|
|
497
497
|
const E = vt("history", {
|
|
498
498
|
removeNullishValues: !0
|
|
499
|
-
}),
|
|
499
|
+
}), v = parseInt(E.rid), N = E.d, T = parseInt(E.eid);
|
|
500
500
|
if (N)
|
|
501
501
|
if (ft(N)) {
|
|
502
|
-
const I = new Date(N),
|
|
503
|
-
|
|
502
|
+
const I = new Date(N), A = I.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
503
|
+
A >= y ? (Be.value = I, E.d = void 0) : me({
|
|
504
504
|
message: n("alert.error.invalidDateRange"),
|
|
505
505
|
type: "error"
|
|
506
506
|
});
|
|
@@ -509,16 +509,16 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
509
509
|
message: n("alert.error.wrongDateFormat"),
|
|
510
510
|
type: "error"
|
|
511
511
|
});
|
|
512
|
-
isNaN(
|
|
512
|
+
isNaN(v) || (Ce(v) ? Ae.value = v : me({
|
|
513
513
|
message: n("alert.error.hotelIdNotFound"),
|
|
514
514
|
type: "error"
|
|
515
515
|
}));
|
|
516
516
|
let s;
|
|
517
|
-
isNaN(
|
|
517
|
+
isNaN(T) || (s = T), Fe(s);
|
|
518
518
|
}
|
|
519
|
-
return (E,
|
|
519
|
+
return (E, v) => (a(), P(pt, { styling: E.styling }, {
|
|
520
520
|
default: c(() => [
|
|
521
|
-
(
|
|
521
|
+
(a(), P(xe, { onResolve: je }, {
|
|
522
522
|
default: c(() => [
|
|
523
523
|
p(_t, {
|
|
524
524
|
id: "konnectio-event-module",
|
|
@@ -539,15 +539,15 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
539
539
|
}, null, 8, ["selected-location"])
|
|
540
540
|
]),
|
|
541
541
|
form: c(() => [
|
|
542
|
-
e(ce) && e(de) ? (
|
|
543
|
-
e(_) && E.onlyShow !== "templates" ? (
|
|
542
|
+
e(ce) && e(de) ? (a(), u("div", on, [
|
|
543
|
+
e(_) && E.onlyShow !== "templates" ? (a(), u(C, { key: 0 }, [
|
|
544
544
|
m("", !0),
|
|
545
|
-
t("ul",
|
|
546
|
-
(
|
|
547
|
-
id:
|
|
545
|
+
t("ul", an, [
|
|
546
|
+
(a(!0), u(C, null, G(e(O), ({
|
|
547
|
+
id: T,
|
|
548
548
|
days: s,
|
|
549
549
|
name: I,
|
|
550
|
-
timeFrom:
|
|
550
|
+
timeFrom: A,
|
|
551
551
|
timeTo: y,
|
|
552
552
|
fromDate: S,
|
|
553
553
|
toDate: K,
|
|
@@ -559,10 +559,10 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
559
559
|
maxOnlineReservationLimit: Ye,
|
|
560
560
|
maxPaxPerReservation: Ke,
|
|
561
561
|
useNumberOfProductsForPersons: Qe
|
|
562
|
-
}) => (
|
|
563
|
-
key:
|
|
562
|
+
}) => (a(), P(Gt, {
|
|
563
|
+
key: T,
|
|
564
564
|
type: "event",
|
|
565
|
-
"listing-id":
|
|
565
|
+
"listing-id": T,
|
|
566
566
|
"table-group-id": Q,
|
|
567
567
|
description: pe,
|
|
568
568
|
name: I,
|
|
@@ -572,7 +572,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
572
572
|
"from-date": S,
|
|
573
573
|
"to-date": K,
|
|
574
574
|
"max-online-reservation-limit": Ke || Ye,
|
|
575
|
-
"time-from":
|
|
575
|
+
"time-from": A,
|
|
576
576
|
"time-to": y,
|
|
577
577
|
"sold-out": ve,
|
|
578
578
|
"use-number-of-products-for-persons": Qe,
|
|
@@ -580,99 +580,99 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
580
580
|
}, 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))
|
|
581
581
|
])
|
|
582
582
|
], 64)) : m("", !0),
|
|
583
|
-
e(D) && E.onlyShow !== "events" ? (
|
|
583
|
+
e(D) && E.onlyShow !== "events" ? (a(), u(C, { key: 1 }, [
|
|
584
584
|
m("", !0),
|
|
585
585
|
t("ul", ln, [
|
|
586
|
-
(
|
|
587
|
-
id:
|
|
586
|
+
(a(!0), u(C, null, G(e(U), ({
|
|
587
|
+
id: T,
|
|
588
588
|
name: s,
|
|
589
589
|
fromDate: I,
|
|
590
|
-
toDate:
|
|
590
|
+
toDate: A,
|
|
591
591
|
minimumPersonCount: y,
|
|
592
592
|
fromPrice: S,
|
|
593
593
|
description: K,
|
|
594
594
|
imageUrl: Q
|
|
595
|
-
}) => (
|
|
596
|
-
key:
|
|
597
|
-
"listing-id":
|
|
595
|
+
}) => (a(), P(jt, {
|
|
596
|
+
key: T,
|
|
597
|
+
"listing-id": T,
|
|
598
598
|
name: s,
|
|
599
599
|
image: Q,
|
|
600
600
|
description: K,
|
|
601
601
|
"from-date": I,
|
|
602
|
-
"to-date":
|
|
602
|
+
"to-date": A,
|
|
603
603
|
"minimum-person-count": y,
|
|
604
604
|
fromPrice: S,
|
|
605
605
|
callback: N
|
|
606
606
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
607
607
|
])
|
|
608
608
|
], 64)) : m("", !0),
|
|
609
|
-
!e(_) && !e(D) || !e(_) && E.onlyShow === "events" || !e(D) && E.onlyShow === "templates" ? (
|
|
610
|
-
t("span", null,
|
|
609
|
+
!e(_) && !e(D) || !e(_) && E.onlyShow === "events" || !e(D) && E.onlyShow === "templates" ? (a(), u("div", sn, [
|
|
610
|
+
t("span", null, o(e(n)("event.nothingAvailable")), 1)
|
|
611
611
|
])) : m("", !0)
|
|
612
|
-
])) : (
|
|
612
|
+
])) : (a(), P(Ie, { key: 1 }))
|
|
613
613
|
]),
|
|
614
614
|
_: 2
|
|
615
615
|
}, 1024)
|
|
616
616
|
]),
|
|
617
|
-
addons: c(({ next: N, prev:
|
|
618
|
-
e(X) ? (
|
|
617
|
+
addons: c(({ next: N, prev: T }) => [
|
|
618
|
+
e(X) ? (a(), P(fe, {
|
|
619
619
|
key: 0,
|
|
620
|
-
"prev-callback": () => e(ye)(
|
|
620
|
+
"prev-callback": () => e(ye)(T)
|
|
621
621
|
}, {
|
|
622
622
|
form: c(() => [
|
|
623
623
|
t("form", rn, [
|
|
624
624
|
t("h2", null, [
|
|
625
|
-
t("span", null,
|
|
625
|
+
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
626
626
|
]),
|
|
627
|
-
e(l) && e(l).length > 0 ? (
|
|
628
|
-
(
|
|
627
|
+
e(l) && e(l).length > 0 ? (a(), u("ul", un, [
|
|
628
|
+
(a(!0), u(C, null, G(e(l), ({
|
|
629
629
|
roomGroupId: s,
|
|
630
630
|
addons: I,
|
|
631
|
-
adultPerRoom:
|
|
632
|
-
}, y) => (
|
|
631
|
+
adultPerRoom: A
|
|
632
|
+
}, y) => (a(), u("li", { key: s }, [
|
|
633
633
|
t("h5", null, [
|
|
634
|
-
t("span", null,
|
|
634
|
+
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(y + 1), 1),
|
|
635
635
|
_e(" ("),
|
|
636
636
|
p(ge, {
|
|
637
637
|
icon: "male",
|
|
638
638
|
type: "fas",
|
|
639
639
|
color: "header"
|
|
640
640
|
}),
|
|
641
|
-
_e(" " +
|
|
641
|
+
_e(" " + o(A) + ") ", 1)
|
|
642
642
|
]),
|
|
643
643
|
t("table", dn, [
|
|
644
644
|
t("thead", null, [
|
|
645
645
|
t("tr", null, [
|
|
646
646
|
t("th", null, [
|
|
647
|
-
t("span", null,
|
|
647
|
+
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
648
648
|
]),
|
|
649
649
|
cn,
|
|
650
650
|
t("th", mn, [
|
|
651
|
-
t("span", null,
|
|
651
|
+
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
652
652
|
])
|
|
653
653
|
])
|
|
654
654
|
]),
|
|
655
655
|
t("tbody", null, [
|
|
656
|
-
(
|
|
656
|
+
(a(!0), u(C, null, G(I, ({
|
|
657
657
|
id: S,
|
|
658
658
|
cardinality: K,
|
|
659
659
|
name: Q,
|
|
660
660
|
price: pe,
|
|
661
661
|
quantityStrategy: ve
|
|
662
|
-
}) => (
|
|
662
|
+
}) => (a(), u("tr", { key: S }, [
|
|
663
663
|
t("td", null, [
|
|
664
|
-
t("b", null,
|
|
664
|
+
t("b", null, o(Q), 1),
|
|
665
665
|
pn,
|
|
666
|
-
t("span", null,
|
|
666
|
+
t("span", null, o(e(j)(pe, e(ee))) + " " + o(e(ct)(ve)), 1)
|
|
667
667
|
]),
|
|
668
668
|
t("td", vn, [
|
|
669
|
-
K === 3 ? (
|
|
669
|
+
K === 3 ? (a(), P(le, {
|
|
670
670
|
key: 0,
|
|
671
671
|
modelValue: e(i)[`${s}.${S}.${y}`],
|
|
672
672
|
"onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
|
|
673
673
|
small: !0,
|
|
674
674
|
"min-value": 0
|
|
675
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (
|
|
675
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(It, {
|
|
676
676
|
key: 1,
|
|
677
677
|
modelValue: e(i)[`${s}.${S}.${y}`],
|
|
678
678
|
"onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
|
|
@@ -680,7 +680,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
680
680
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
681
681
|
]),
|
|
682
682
|
t("td", fn, [
|
|
683
|
-
t("span", null,
|
|
683
|
+
t("span", null, o(e(j)(e(Ue)(S, s, y), e(ee))), 1)
|
|
684
684
|
])
|
|
685
685
|
]))), 128))
|
|
686
686
|
]),
|
|
@@ -690,7 +690,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
690
690
|
gn,
|
|
691
691
|
t("td", kn, [
|
|
692
692
|
t("u", null, [
|
|
693
|
-
t("span", null,
|
|
693
|
+
t("span", null, o(e(j)(e(Me)(s, y), e(ee))), 1)
|
|
694
694
|
])
|
|
695
695
|
])
|
|
696
696
|
])
|
|
@@ -698,20 +698,20 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
698
698
|
])
|
|
699
699
|
]))), 128))
|
|
700
700
|
])) : m("", !0),
|
|
701
|
-
e(
|
|
701
|
+
e(L) ? (a(), u("table", hn, [
|
|
702
702
|
t("tbody", null, [
|
|
703
|
-
(
|
|
703
|
+
(a(!0), u(C, null, G(e(h).products, ({ id: s, name: I, price: A, description: y }) => (a(), u("tr", { key: s }, [
|
|
704
704
|
t("td", yn, [
|
|
705
705
|
t("b", null, [
|
|
706
|
-
t("span", null,
|
|
706
|
+
t("span", null, o(e(we)(I)), 1)
|
|
707
707
|
]),
|
|
708
|
-
y && y !== I ? (
|
|
709
|
-
t("span", null,
|
|
708
|
+
y && y !== I ? (a(), u("span", _n, o(e(we)(y)), 1)) : m("", !0),
|
|
709
|
+
t("span", null, o(e(j)(A, e(ee))), 1)
|
|
710
710
|
]),
|
|
711
711
|
t("td", Pn, [
|
|
712
712
|
p(le, {
|
|
713
|
-
modelValue: e(
|
|
714
|
-
"onUpdate:modelValue": (S) => e(
|
|
713
|
+
modelValue: e(f)[s],
|
|
714
|
+
"onUpdate:modelValue": (S) => e(f)[s] = S,
|
|
715
715
|
small: !0,
|
|
716
716
|
"min-value": 0
|
|
717
717
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -732,20 +732,20 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
732
732
|
_: 2
|
|
733
733
|
}, 1032, ["prev-callback"])) : m("", !0)
|
|
734
734
|
]),
|
|
735
|
-
reservation: c(({ next: N, prev:
|
|
735
|
+
reservation: c(({ next: N, prev: T }) => [
|
|
736
736
|
p(fe, {
|
|
737
737
|
"show-terms-notice": !0,
|
|
738
738
|
"show-gift-card": !0,
|
|
739
|
-
"prev-callback": () => e(ye)(
|
|
739
|
+
"prev-callback": () => e(ye)(T)
|
|
740
740
|
}, {
|
|
741
741
|
form: c(() => [
|
|
742
742
|
t("form", wn, [
|
|
743
743
|
t("h2", null, [
|
|
744
|
-
t("span", null,
|
|
744
|
+
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
745
745
|
]),
|
|
746
746
|
p(ne, {
|
|
747
747
|
modelValue: e(r),
|
|
748
|
-
"onUpdate:modelValue":
|
|
748
|
+
"onUpdate:modelValue": v[0] || (v[0] = (s) => R(r) ? r.value = s : null),
|
|
749
749
|
type: "text",
|
|
750
750
|
label: e(n)("booking.reservation.name"),
|
|
751
751
|
icon: "user-alt",
|
|
@@ -754,7 +754,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
754
754
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
755
755
|
p(ne, {
|
|
756
756
|
modelValue: e(V),
|
|
757
|
-
"onUpdate:modelValue":
|
|
757
|
+
"onUpdate:modelValue": v[1] || (v[1] = (s) => R(V) ? V.value = s : null),
|
|
758
758
|
label: e(n)("booking.reservation.email"),
|
|
759
759
|
type: "email",
|
|
760
760
|
name: "email",
|
|
@@ -764,33 +764,33 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
764
764
|
required: ""
|
|
765
765
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
766
766
|
p(Nt, {
|
|
767
|
-
modelValue: e(
|
|
768
|
-
"onUpdate:modelValue":
|
|
767
|
+
modelValue: e(g),
|
|
768
|
+
"onUpdate:modelValue": v[2] || (v[2] = (s) => R(g) ? g.value = s : null),
|
|
769
769
|
label: e(n)("booking.reservation.phone"),
|
|
770
770
|
icon: "phone-office",
|
|
771
771
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
772
772
|
required: ""
|
|
773
773
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
774
|
-
e(z) ? (
|
|
774
|
+
e(z) ? (a(), P($t, {
|
|
775
775
|
key: 0,
|
|
776
776
|
modelValue: e($),
|
|
777
|
-
"onUpdate:modelValue":
|
|
777
|
+
"onUpdate:modelValue": v[3] || (v[3] = (s) => R($) ? $.value = s : null),
|
|
778
778
|
label: e(n)("event.selectArrivalTime"),
|
|
779
779
|
name: "eventTimeTable",
|
|
780
780
|
checkboxes: Ge.value,
|
|
781
781
|
required: ""
|
|
782
782
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : m("", !0),
|
|
783
|
-
e(ue) === e(mt).FullDayEvent ? (
|
|
783
|
+
e(ue) === e(mt).FullDayEvent ? (a(), P(le, {
|
|
784
784
|
key: 1,
|
|
785
785
|
modelValue: e(b),
|
|
786
|
-
"onUpdate:modelValue":
|
|
786
|
+
"onUpdate:modelValue": v[4] || (v[4] = (s) => R(b) ? b.value = s : null),
|
|
787
787
|
label: e(n)("event.numberOfDays"),
|
|
788
788
|
"min-value": 1,
|
|
789
789
|
required: ""
|
|
790
790
|
}, null, 8, ["modelValue", "label"])) : m("", !0),
|
|
791
791
|
p(ne, {
|
|
792
|
-
modelValue: e(
|
|
793
|
-
"onUpdate:modelValue":
|
|
792
|
+
modelValue: e(k),
|
|
793
|
+
"onUpdate:modelValue": v[5] || (v[5] = (s) => R(k) ? k.value = s : null),
|
|
794
794
|
type: "textarea",
|
|
795
795
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
796
796
|
icon: "info-circle",
|
|
@@ -798,7 +798,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
798
798
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
799
799
|
p(ne, {
|
|
800
800
|
modelValue: e(w),
|
|
801
|
-
"onUpdate:modelValue":
|
|
801
|
+
"onUpdate:modelValue": v[6] || (v[6] = (s) => R(w) ? w.value = s : null),
|
|
802
802
|
type: "textarea",
|
|
803
803
|
label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
|
|
804
804
|
icon: "allergies",
|
|
@@ -809,7 +809,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
809
809
|
navigation: c(() => [
|
|
810
810
|
p(be, {
|
|
811
811
|
label: e(n)("general.confirmReservation"),
|
|
812
|
-
"is-loading": e(
|
|
812
|
+
"is-loading": e(F),
|
|
813
813
|
disabled: !e(Z),
|
|
814
814
|
"full-width": "",
|
|
815
815
|
onClickEvent: (s) => e(Re)(N)
|
|
@@ -822,7 +822,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
822
822
|
p(Bt)
|
|
823
823
|
]),
|
|
824
824
|
confirmation: c(() => [
|
|
825
|
-
p(
|
|
825
|
+
p(Ot, {
|
|
826
826
|
message: e(n)("event.confirmationMessage")
|
|
827
827
|
}, null, 8, ["message"])
|
|
828
828
|
]),
|
|
@@ -841,7 +841,7 @@ const ln = { class: "konnectio-event-listings" }, sn = {
|
|
|
841
841
|
_: 1
|
|
842
842
|
}, 8, ["styling"]));
|
|
843
843
|
}
|
|
844
|
-
}),
|
|
844
|
+
}), Te = /* @__PURE__ */ ie(Dn, [["__scopeId", "data-v-8edf3535"]]), En = ot(), Vn = st();
|
|
845
845
|
class $n extends HTMLElement {
|
|
846
846
|
vueApp;
|
|
847
847
|
constructor() {
|
|
@@ -851,8 +851,8 @@ class $n extends HTMLElement {
|
|
|
851
851
|
this.vueApp.unmount();
|
|
852
852
|
}
|
|
853
853
|
connectedCallback() {
|
|
854
|
-
const n =
|
|
855
|
-
this.vueApp = nt(
|
|
854
|
+
const n = at(Te, this.attributes);
|
|
855
|
+
this.vueApp = nt(Te, n), it(this.vueApp), this.vueApp.provide("emitter", Vn), this.vueApp.use(lt), this.vueApp.use(En), this.vueApp.use(Tt), this.vueApp.use(gt), this.vueApp.use(St), this.vueApp.use(bt, { bootstrap: !0 });
|
|
856
856
|
const i = document.createElement("div");
|
|
857
857
|
this.vueApp.mount(i), this.appendChild(i.children[0]);
|
|
858
858
|
}
|