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