@konnectio/core 4.0.117 → 4.0.119
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-C5YNAHtg.js → ActionField-yaTIHJvx.js} +6 -6
- package/dist/ActionField-yaTIHJvx.js.br +0 -0
- package/dist/{AvailabilitySkeleton-iv8Xcdhb.js → AvailabilitySkeleton-CV6IiFig.js} +14 -14
- package/dist/AvailabilitySkeleton-CV6IiFig.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js +8429 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js.br +0 -0
- package/dist/{CheckoutWindow-Bk93hf8m.js → CheckoutWindow-BLhGzw4p.js} +26 -26
- package/dist/CheckoutWindow-BLhGzw4p.js.br +0 -0
- package/dist/{ErrorMessage-l7AF1hYs.js → ErrorMessage-CMNpag_d.js} +3 -3
- package/dist/ErrorMessage-CMNpag_d.js.br +0 -0
- package/dist/{EventAvailabilityForm-Dya8xkX1.js → EventAvailabilityForm-5IKyXHH5.js} +13 -13
- package/dist/EventAvailabilityForm-5IKyXHH5.js.br +0 -0
- package/dist/{Field-BW8kaVQ0.js → Field-CvoF7Glc.js} +4 -4
- package/dist/Field-CvoF7Glc.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-k3NqFaOv.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js} +3 -3
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DioPakK9.js → SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js} +6919 -6560
- package/dist/SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js.br +0 -0
- package/dist/{TermsOfService-T8GzpQ5F.js → TermsOfService-D_TOJHKs.js} +4 -4
- package/dist/_-4AAzKjzk.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CJnCdhl2.js → _.vue_vue_type_style_index_0_lang-Iq1FI_VA.js} +5 -5
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +621 -478
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +19 -19
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +16 -16
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Bm6bAv62.js → giftCard-DvqomDap.js} +23 -23
- package/dist/giftCard-DvqomDap.js.br +0 -0
- package/dist/hotel.js +222 -222
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-680IfcQo.js → masonry.plugin-rZZcRBGq.js} +439 -438
- package/dist/masonry.plugin-rZZcRBGq.js.br +0 -0
- package/dist/{mitt-CTfj-lXy.js → mitt-HQsLmGCg.js} +6 -6
- package/dist/mitt-HQsLmGCg.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-BSDdyhMN.js → style-Cc6LpDdk.js} +2 -2
- package/dist/style-Cc6LpDdk.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-C5YNAHtg.js.br +0 -0
- package/dist/AvailabilitySkeleton-iv8Xcdhb.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAOfipPs.js +0 -8753
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAOfipPs.js.br +0 -0
- package/dist/CheckoutWindow-Bk93hf8m.js.br +0 -0
- package/dist/ErrorMessage-l7AF1hYs.js.br +0 -0
- package/dist/EventAvailabilityForm-Dya8xkX1.js.br +0 -0
- package/dist/Field-BW8kaVQ0.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DioPakK9.js.br +0 -0
- package/dist/_-LwIJ-lj7.js +0 -5
- package/dist/giftCard-Bm6bAv62.js.br +0 -0
- package/dist/masonry.plugin-680IfcQo.js.br +0 -0
- package/dist/mitt-CTfj-lXy.js.br +0 -0
- package/dist/style-BSDdyhMN.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { a as
|
|
3
|
-
import { G as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
import {
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
10
|
-
function
|
|
11
|
-
return (
|
|
12
|
-
const
|
|
13
|
-
return
|
|
1
|
+
import { d as W, u as ae, s as Y, r as Fe, c as j, a as o, b as $, w as m, v as X, i as e, e as t, j as f, f as p, n as Xe, g as c, t as a, o as Ze, h as xe, x as de, y as et, z as tt, F as A, A as H, B as M, S as nt, k as at, l as ot, m as lt, p as st, q as it } from "./mitt-HQsLmGCg.js";
|
|
2
|
+
import { a as _e, f as Z, g as ue, l as rt, s as U, d as ce, B as ut, _ as x, h as we, I as ne, i as dt, u as Pe, j as ct, k as mt, m as pt, n as $e, o as K, p as vt, q as Oe, T as re, O as bt, C as ft, r as gt, t as kt, v as yt } from "./SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js";
|
|
3
|
+
import { G as ht } from "./style-Cc6LpDdk.js";
|
|
4
|
+
import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-Iq1FI_VA.js";
|
|
5
|
+
import { B as Pt, _ as $t, R as _t, L as Le, S as wt, M as Et, C as Ot, T as Vt, V as Nt, a as Tt } from "./masonry.plugin-rZZcRBGq.js";
|
|
6
|
+
import { e as Bt, c as Ct, n as St, g as Ve, m as Ne, a as Te, b as Be, d as Ft, f as Ce, _ as Lt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js";
|
|
7
|
+
import { C as It, P as At, a as Rt } from "./CheckoutWindow-BLhGzw4p.js";
|
|
8
|
+
import { E as Mt } from "./EventAvailabilityForm-5IKyXHH5.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js";
|
|
10
|
+
function Ut(g) {
|
|
11
|
+
return (l) => {
|
|
12
|
+
const v = (g ? Math[g] : Math.trunc)(l);
|
|
13
|
+
return v === 0 ? 0 : v;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
const
|
|
18
|
-
if (isNaN(
|
|
16
|
+
function Gt(g, l, n) {
|
|
17
|
+
const v = Ft(), b = n?.locale ?? v.locale ?? Bt, i = Ct(g, l);
|
|
18
|
+
if (isNaN(i))
|
|
19
19
|
throw new RangeError("Invalid time value");
|
|
20
20
|
const k = Object.assign({}, n, {
|
|
21
21
|
addSuffix: n?.addSuffix,
|
|
22
|
-
comparison:
|
|
23
|
-
}), [
|
|
22
|
+
comparison: i
|
|
23
|
+
}), [E, y] = St(
|
|
24
24
|
n?.in,
|
|
25
|
-
...
|
|
26
|
-
),
|
|
27
|
-
let
|
|
28
|
-
if (
|
|
29
|
-
const
|
|
30
|
-
return b.formatDistance("xSeconds",
|
|
31
|
-
} else if (
|
|
32
|
-
const
|
|
33
|
-
return b.formatDistance("xMinutes",
|
|
34
|
-
} else if (
|
|
35
|
-
const
|
|
36
|
-
return b.formatDistance("xHours",
|
|
37
|
-
} else if (
|
|
38
|
-
const
|
|
39
|
-
return b.formatDistance("xDays",
|
|
40
|
-
} else if (
|
|
41
|
-
const
|
|
42
|
-
return
|
|
25
|
+
...i > 0 ? [l, g] : [g, l]
|
|
26
|
+
), s = Ut(n?.roundingMethod ?? "round"), O = y.getTime() - E.getTime(), D = O / Ce, _ = Ve(y) - Ve(E), N = (O - _) / Ce, F = n?.unit;
|
|
27
|
+
let P;
|
|
28
|
+
if (F ? P = F : D < 1 ? P = "second" : D < 60 ? P = "minute" : D < Ne ? P = "hour" : N < Te ? P = "day" : N < Be ? P = "month" : P = "year", P === "second") {
|
|
29
|
+
const u = s(O / 1e3);
|
|
30
|
+
return b.formatDistance("xSeconds", u, k);
|
|
31
|
+
} else if (P === "minute") {
|
|
32
|
+
const u = s(D);
|
|
33
|
+
return b.formatDistance("xMinutes", u, k);
|
|
34
|
+
} else if (P === "hour") {
|
|
35
|
+
const u = s(D / 60);
|
|
36
|
+
return b.formatDistance("xHours", u, k);
|
|
37
|
+
} else if (P === "day") {
|
|
38
|
+
const u = s(N / Ne);
|
|
39
|
+
return b.formatDistance("xDays", u, k);
|
|
40
|
+
} else if (P === "month") {
|
|
41
|
+
const u = s(N / Te);
|
|
42
|
+
return u === 12 && F !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", u, k);
|
|
43
43
|
} else {
|
|
44
|
-
const
|
|
45
|
-
return b.formatDistance("xYears",
|
|
44
|
+
const u = s(N / Be);
|
|
45
|
+
return b.formatDistance("xYears", u, k);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__ */ W({
|
|
49
49
|
__name: "_",
|
|
50
50
|
props: {
|
|
51
51
|
name: {},
|
|
@@ -69,87 +69,89 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
69
69
|
callback: {}
|
|
70
70
|
},
|
|
71
71
|
setup(g) {
|
|
72
|
-
const { t:
|
|
72
|
+
const { t: l } = ae(), n = g, { display: v } = _e(), {
|
|
73
73
|
maxNumberOfPeople: b,
|
|
74
|
-
numberOfPeople:
|
|
74
|
+
numberOfPeople: i,
|
|
75
75
|
eventId: k,
|
|
76
|
-
currentEventDate:
|
|
76
|
+
currentEventDate: E,
|
|
77
77
|
tableGroupId: y
|
|
78
|
-
} =
|
|
79
|
-
getTemplateAvailability:
|
|
80
|
-
getEventAvailability:
|
|
81
|
-
isEventListingLoading:
|
|
82
|
-
} =
|
|
83
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
84
|
-
|
|
78
|
+
} = Y(Z()), {
|
|
79
|
+
getTemplateAvailability: s,
|
|
80
|
+
getEventAvailability: O,
|
|
81
|
+
isEventListingLoading: D
|
|
82
|
+
} = Z(), _ = Fe(0), N = j(() => D(n.listingId)), F = () => {
|
|
83
|
+
if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
|
|
84
|
+
v({
|
|
85
85
|
type: "error",
|
|
86
|
-
message:
|
|
86
|
+
message: l("alert.error.selectPeople")
|
|
87
87
|
});
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
k.value = n.listingId,
|
|
91
|
-
},
|
|
92
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
93
|
-
|
|
90
|
+
k.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, s(n.callback);
|
|
91
|
+
}, P = () => {
|
|
92
|
+
if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
|
|
93
|
+
v({
|
|
94
94
|
type: "error",
|
|
95
|
-
message:
|
|
95
|
+
message: l("alert.error.selectPeople")
|
|
96
96
|
});
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
|
-
k.value = n.listingId, y.value = n.tableGroupId,
|
|
99
|
+
k.value = n.listingId, y.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, O(n.callback);
|
|
100
100
|
};
|
|
101
|
-
return (
|
|
101
|
+
return (u, L) => (o(), $(Pt, {
|
|
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": u.listingId,
|
|
104
|
+
gallery: u.gallery,
|
|
105
|
+
name: u.name,
|
|
106
|
+
description: u.description,
|
|
107
|
+
"prices-from": u.fromPrice,
|
|
108
|
+
"to-date": u.toDate,
|
|
109
|
+
layout: e(ut).Event
|
|
110
110
|
}, {
|
|
111
|
-
description:
|
|
112
|
-
|
|
111
|
+
description: m(() => [
|
|
112
|
+
X(u.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
113
113
|
]),
|
|
114
|
-
action:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
114
|
+
action: m(() => [
|
|
115
|
+
X(u.$slots, "action", {}, () => [
|
|
116
|
+
t("div", {
|
|
117
|
+
class: Xe([
|
|
118
|
+
"konnectio-event-listing-action",
|
|
119
|
+
{ "no-selectable-people": u.useNumberOfProductsForPersons }
|
|
120
|
+
])
|
|
121
|
+
}, [
|
|
122
|
+
u.useNumberOfProductsForPersons ? f("", !0) : (o(), $(ue, {
|
|
123
|
+
key: 0,
|
|
124
|
+
modelValue: _.value,
|
|
125
|
+
"onUpdate:modelValue": L[0] || (L[0] = (I) => _.value = I),
|
|
126
|
+
label: e(l)("event.numberOfGuests"),
|
|
127
|
+
icon: "users",
|
|
128
|
+
"icon-type": "fas",
|
|
129
|
+
"icon-placement": "label",
|
|
130
|
+
description: u.maxGuests <= 20 ? `${e(l)("general.availableFor")}: 1 - ${u.maxGuests} ${e(rt)(e(l)("general.guests"))}` : void 0,
|
|
131
|
+
"min-value": 0,
|
|
132
|
+
"max-value": u.maxOnlineReservationLimit || u.maxGuests || e(b) || 1 / 0
|
|
133
|
+
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
134
|
+
t("div", zt, [
|
|
135
|
+
p(ce, {
|
|
136
|
+
label: u.soldOut ? e(l)("event.soldOut") : e(l)("event.bookNowButton"),
|
|
137
|
+
disabled: u.soldOut,
|
|
138
|
+
"is-loading": N.value,
|
|
139
|
+
"full-width": "",
|
|
140
|
+
"sub-label": e(U)(e(E)),
|
|
141
|
+
onClickEvent: L[1] || (L[1] = (I) => u.type === "event" ? P() : F())
|
|
142
|
+
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
143
|
+
])
|
|
144
|
+
], 2)
|
|
145
|
+
], !0)
|
|
144
146
|
]),
|
|
145
147
|
_: 3
|
|
146
148
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
147
149
|
}
|
|
148
|
-
}),
|
|
149
|
-
const
|
|
150
|
+
}), Ie = /* @__PURE__ */ x(qt, [["__scopeId", "data-v-81aa25c5"]]), Ht = { class: "konnectio-event-listing-information-new" };
|
|
151
|
+
const Yt = {
|
|
150
152
|
key: 1,
|
|
151
153
|
class: "konnectio-pill-button"
|
|
152
|
-
},
|
|
154
|
+
}, jt = { class: "konnectio-pill-button" }, Wt = /* @__PURE__ */ W({
|
|
153
155
|
__name: "Event",
|
|
154
156
|
props: {
|
|
155
157
|
name: {},
|
|
@@ -166,65 +168,157 @@ const Lt = {
|
|
|
166
168
|
maxOnlineReservationLimit: {},
|
|
167
169
|
minimumPersonCount: {},
|
|
168
170
|
fromPrice: { default: 0 },
|
|
171
|
+
soldOut: { type: Boolean },
|
|
169
172
|
useNumberOfProductsForPersons: { type: Boolean },
|
|
170
|
-
image: {},
|
|
171
173
|
trackingEnabled: { type: Boolean },
|
|
172
174
|
callback: {}
|
|
173
175
|
},
|
|
174
176
|
setup(g) {
|
|
175
|
-
const
|
|
176
|
-
const
|
|
177
|
-
return
|
|
178
|
-
new Date(2e3, 0, 1, Number(
|
|
177
|
+
const l = g, { t: n } = ae(), { hideEventLength: v } = Y(we()), b = j(() => {
|
|
178
|
+
const i = l.length.split(":");
|
|
179
|
+
return Gt(
|
|
180
|
+
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
179
181
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
180
182
|
);
|
|
181
183
|
});
|
|
182
|
-
return (
|
|
183
|
-
"listing-id":
|
|
184
|
-
name:
|
|
185
|
-
description:
|
|
186
|
-
gallery:
|
|
187
|
-
"prices-from":
|
|
188
|
-
"table-group-id":
|
|
189
|
-
"max-guests":
|
|
190
|
-
"use-number-of-products-for-persons":
|
|
191
|
-
"to-date":
|
|
184
|
+
return (i, k) => (o(), $(Ie, {
|
|
185
|
+
"listing-id": i.listingId,
|
|
186
|
+
name: i.name,
|
|
187
|
+
description: i.description,
|
|
188
|
+
gallery: i.gallery,
|
|
189
|
+
"prices-from": i.fromPrice,
|
|
190
|
+
"table-group-id": i.tableGroupId,
|
|
191
|
+
"max-guests": i.maxOnlineReservationLimit,
|
|
192
|
+
"use-number-of-products-for-persons": i.useNumberOfProductsForPersons,
|
|
193
|
+
"to-date": i.toDate,
|
|
194
|
+
"sold-out": i.soldOut,
|
|
192
195
|
type: "event",
|
|
193
|
-
callback:
|
|
196
|
+
callback: i.callback
|
|
194
197
|
}, {
|
|
195
|
-
description:
|
|
196
|
-
|
|
198
|
+
description: m(() => [
|
|
199
|
+
i.description ? (o(), $($t, {
|
|
197
200
|
key: 0,
|
|
198
|
-
text:
|
|
199
|
-
}, null, 8, ["text"])) :
|
|
200
|
-
t("ul",
|
|
201
|
-
|
|
202
|
-
e(
|
|
201
|
+
text: i.description
|
|
202
|
+
}, null, 8, ["text"])) : f("", !0),
|
|
203
|
+
t("ul", Ht, [
|
|
204
|
+
f("", !0),
|
|
205
|
+
e(v) ? f("", !0) : (o(), c("li", Yt, [
|
|
203
206
|
t("div", null, [
|
|
204
|
-
|
|
207
|
+
p(ne, {
|
|
205
208
|
icon: "calendar-clock",
|
|
206
209
|
color: "header"
|
|
207
210
|
}),
|
|
208
|
-
t("span", null,
|
|
211
|
+
t("span", null, a(e(n)("event.lengthOfEvent")), 1)
|
|
209
212
|
]),
|
|
210
|
-
t("span", null,
|
|
213
|
+
t("span", null, a(b.value), 1)
|
|
211
214
|
])),
|
|
212
|
-
t("li",
|
|
215
|
+
t("li", jt, [
|
|
213
216
|
t("div", null, [
|
|
214
|
-
|
|
217
|
+
p(ne, {
|
|
215
218
|
icon: "calendar-clock",
|
|
216
219
|
color: "header"
|
|
217
220
|
}),
|
|
218
|
-
t("span", null,
|
|
221
|
+
t("span", null, a(e(n)("event.startAndEndTime")), 1)
|
|
219
222
|
]),
|
|
220
|
-
t("span", null,
|
|
223
|
+
t("span", null, a(e(dt)(i.timeFrom, i.timeTo)), 1)
|
|
224
|
+
])
|
|
225
|
+
])
|
|
226
|
+
]),
|
|
227
|
+
action: m(() => [
|
|
228
|
+
X(i.$slots, "action", {}, void 0, !0)
|
|
229
|
+
]),
|
|
230
|
+
_: 3
|
|
231
|
+
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
|
|
232
|
+
}
|
|
233
|
+
}), Ae = /* @__PURE__ */ x(Wt, [["__scopeId", "data-v-222c7986"]]), Qt = { class: "konnectio-special-offer-availability" }, Jt = { class: "konnectio-special-offer-availability-button" }, Kt = { class: "konnectio-warning-notice" }, Xt = { key: 0 }, Zt = { key: 1 }, xt = /* @__PURE__ */ W({
|
|
234
|
+
__name: "NextEvent",
|
|
235
|
+
props: {
|
|
236
|
+
name: {},
|
|
237
|
+
description: {},
|
|
238
|
+
fromDate: {},
|
|
239
|
+
toDate: {},
|
|
240
|
+
length: {},
|
|
241
|
+
timeFrom: {},
|
|
242
|
+
timeTo: {},
|
|
243
|
+
gallery: {},
|
|
244
|
+
days: {},
|
|
245
|
+
listingId: {},
|
|
246
|
+
tableGroupId: {},
|
|
247
|
+
maxOnlineReservationLimit: {},
|
|
248
|
+
minimumPersonCount: {},
|
|
249
|
+
soldOut: { type: Boolean },
|
|
250
|
+
useNumberOfProductsForPersons: { type: Boolean },
|
|
251
|
+
trackingEnabled: { type: Boolean },
|
|
252
|
+
callback: { type: Function }
|
|
253
|
+
},
|
|
254
|
+
setup(g) {
|
|
255
|
+
const { t: l } = ae(), { updateEventDate: n } = Pe(), { display: v } = _e(), b = Fe(), i = g;
|
|
256
|
+
function k() {
|
|
257
|
+
b.value ? n(b.value) : v({
|
|
258
|
+
message: l("alert.error.selectDate"),
|
|
259
|
+
type: "error"
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
const E = j(() => mt(i.fromDate, i.toDate) <= 1), y = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !pt(i.days).includes(s)));
|
|
263
|
+
return Ze(() => {
|
|
264
|
+
E.value && (b.value = new Date(i.fromDate));
|
|
265
|
+
}), (s, O) => (o(), $(Ae, {
|
|
266
|
+
name: s.name,
|
|
267
|
+
description: s.description,
|
|
268
|
+
"from-date": s.fromDate,
|
|
269
|
+
"to-date": s.toDate,
|
|
270
|
+
length: s.length,
|
|
271
|
+
"time-from": s.timeFrom,
|
|
272
|
+
"time-to": s.timeTo,
|
|
273
|
+
gallery: s.gallery,
|
|
274
|
+
days: s.days,
|
|
275
|
+
"listing-id": s.listingId,
|
|
276
|
+
"table-group-id": s.tableGroupId,
|
|
277
|
+
"max-online-reservation-limit": s.maxOnlineReservationLimit,
|
|
278
|
+
"minimum-person-count": s.minimumPersonCount,
|
|
279
|
+
"use-number-of-products-for-persons": s.useNumberOfProductsForPersons,
|
|
280
|
+
"tracking-enabled": s.trackingEnabled,
|
|
281
|
+
"sold-out": s.soldOut,
|
|
282
|
+
callback: s.callback
|
|
283
|
+
}, {
|
|
284
|
+
action: m(() => [
|
|
285
|
+
t("div", null, [
|
|
286
|
+
t("div", Qt, [
|
|
287
|
+
p(Lt, {
|
|
288
|
+
modelValue: b.value,
|
|
289
|
+
"onUpdate:modelValue": O[0] || (O[0] = (D) => b.value = D),
|
|
290
|
+
label: `${e(l)("event.selectDate")}*`,
|
|
291
|
+
placeholder: e(l)("event.selectDate"),
|
|
292
|
+
"icon-type": "fas",
|
|
293
|
+
"icon-placement": "label",
|
|
294
|
+
readonly: E.value,
|
|
295
|
+
"start-date": new Date(s.fromDate),
|
|
296
|
+
"min-date": new Date(s.fromDate),
|
|
297
|
+
"max-date": new Date(s.toDate),
|
|
298
|
+
"disabled-week-days": y.value
|
|
299
|
+
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
300
|
+
t("div", Jt, [
|
|
301
|
+
p(ce, {
|
|
302
|
+
label: e(l)("availability.buttonLabel"),
|
|
303
|
+
onClick: xe(k, ["prevent"])
|
|
304
|
+
}, null, 8, ["label"])
|
|
305
|
+
])
|
|
306
|
+
]),
|
|
307
|
+
t("div", Kt, [
|
|
308
|
+
E.value ? (o(), c("span", Xt, [
|
|
309
|
+
de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
|
|
310
|
+
t("u", null, a(e(U)(s.fromDate)), 1)
|
|
311
|
+
])) : (o(), c("span", Zt, [
|
|
312
|
+
de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
|
|
313
|
+
t("u", null, a(e(ct)(s.days)), 1)
|
|
314
|
+
]))
|
|
221
315
|
])
|
|
222
316
|
])
|
|
223
317
|
]),
|
|
224
318
|
_: 1
|
|
225
|
-
}, 8, ["
|
|
319
|
+
}, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
|
|
226
320
|
}
|
|
227
|
-
}),
|
|
321
|
+
}), en = /* @__PURE__ */ x(xt, [["__scopeId", "data-v-91662edd"]]), tn = /* @__PURE__ */ W({
|
|
228
322
|
__name: "Template",
|
|
229
323
|
props: {
|
|
230
324
|
name: {},
|
|
@@ -241,30 +335,30 @@ const Lt = {
|
|
|
241
335
|
callback: {}
|
|
242
336
|
},
|
|
243
337
|
setup(g) {
|
|
244
|
-
const
|
|
245
|
-
if (
|
|
338
|
+
const l = g, n = j(() => {
|
|
339
|
+
if (l.image)
|
|
246
340
|
return [{
|
|
247
|
-
large:
|
|
248
|
-
medium:
|
|
249
|
-
thumb:
|
|
250
|
-
url:
|
|
341
|
+
large: l.image,
|
|
342
|
+
medium: l.image,
|
|
343
|
+
thumb: l.image,
|
|
344
|
+
url: l.image
|
|
251
345
|
}];
|
|
252
346
|
});
|
|
253
|
-
return (
|
|
254
|
-
"listing-id":
|
|
347
|
+
return (v, b) => (o(), $(Ie, {
|
|
348
|
+
"listing-id": v.listingId,
|
|
255
349
|
gallery: n.value,
|
|
256
|
-
name:
|
|
257
|
-
description:
|
|
258
|
-
"prices-from":
|
|
259
|
-
"to-date":
|
|
350
|
+
name: v.name,
|
|
351
|
+
description: v.description,
|
|
352
|
+
"prices-from": v.fromPrice,
|
|
353
|
+
"to-date": v.toDate,
|
|
260
354
|
type: "template",
|
|
261
|
-
callback:
|
|
355
|
+
callback: v.callback
|
|
262
356
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
263
357
|
}
|
|
264
|
-
}),
|
|
358
|
+
}), nn = { key: 0 }, an = { key: 1 }, on = { key: 2 }, ln = { key: 4 }, sn = { key: 5 }, rn = { key: 0 }, un = { key: 0 }, dn = { key: 1 }, cn = {
|
|
265
359
|
key: 0,
|
|
266
360
|
class: "konnectio-capitalize"
|
|
267
|
-
},
|
|
361
|
+
}, mn = /* @__PURE__ */ W({
|
|
268
362
|
__name: "EventReservationForm",
|
|
269
363
|
props: {
|
|
270
364
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -272,141 +366,142 @@ const Lt = {
|
|
|
272
366
|
prevCallback: {}
|
|
273
367
|
},
|
|
274
368
|
setup(g) {
|
|
275
|
-
const { t:
|
|
276
|
-
areListingsAvailable:
|
|
369
|
+
const { t: l } = ae(), n = et(), {
|
|
370
|
+
areListingsAvailable: v,
|
|
277
371
|
arrivalTime: b,
|
|
278
|
-
numberOfPeople:
|
|
372
|
+
numberOfPeople: i,
|
|
279
373
|
numberOfRooms: k,
|
|
280
|
-
numberOfTotalDays:
|
|
374
|
+
numberOfTotalDays: E,
|
|
281
375
|
isTemplateEvent: y,
|
|
282
|
-
currentEventDate:
|
|
283
|
-
length:
|
|
284
|
-
fromDate:
|
|
285
|
-
tableBasePrice:
|
|
286
|
-
getTemplateData:
|
|
287
|
-
basePrice:
|
|
288
|
-
totalPrice:
|
|
289
|
-
weekendFee:
|
|
290
|
-
roomUpgrade:
|
|
291
|
-
discountCode:
|
|
292
|
-
totalSelectedProducts:
|
|
293
|
-
} =
|
|
294
|
-
return (R,
|
|
295
|
-
"discount-code": e(
|
|
296
|
-
"onUpdate:discountCode":
|
|
297
|
-
"validate-discount-code": e(
|
|
376
|
+
currentEventDate: s,
|
|
377
|
+
length: O,
|
|
378
|
+
fromDate: D,
|
|
379
|
+
tableBasePrice: _,
|
|
380
|
+
getTemplateData: N,
|
|
381
|
+
basePrice: F,
|
|
382
|
+
totalPrice: P,
|
|
383
|
+
weekendFee: u,
|
|
384
|
+
roomUpgrade: L,
|
|
385
|
+
discountCode: I,
|
|
386
|
+
totalSelectedProducts: Q
|
|
387
|
+
} = Y(Z()), { totalAddonPrice: me, validateDiscountCode: pe } = Z(), { currency: oe, hideEventLength: ve } = Y(we());
|
|
388
|
+
return (R, le) => (o(), $(_t, {
|
|
389
|
+
"discount-code": e(I),
|
|
390
|
+
"onUpdate:discountCode": le[0] || (le[0] = (J) => M(I) ? I.value = J : null),
|
|
391
|
+
"validate-discount-code": e(pe),
|
|
298
392
|
"show-gift-card": R.showGiftCard,
|
|
299
393
|
"show-terms-notice": R.showTermsNotice,
|
|
300
|
-
"is-sidebar-loading": !e(
|
|
301
|
-
"base-price": e(
|
|
302
|
-
"total-price": e(
|
|
303
|
-
"weekend-fee": e(
|
|
304
|
-
"room-upgrade": e(
|
|
305
|
-
notice: e(
|
|
394
|
+
"is-sidebar-loading": !e(v),
|
|
395
|
+
"base-price": e(F),
|
|
396
|
+
"total-price": e(P),
|
|
397
|
+
"weekend-fee": e(u),
|
|
398
|
+
"room-upgrade": e(L),
|
|
399
|
+
notice: e(l)("event.reservationNotice"),
|
|
306
400
|
"prev-callback": R.prevCallback
|
|
307
|
-
},
|
|
308
|
-
form:
|
|
309
|
-
|
|
401
|
+
}, tt({
|
|
402
|
+
form: m(() => [
|
|
403
|
+
X(R.$slots, "form", {}, void 0, !0)
|
|
310
404
|
]),
|
|
311
|
-
"reservation-summary":
|
|
312
|
-
e(y) ?
|
|
313
|
-
t("span", null,
|
|
314
|
-
t("b", null,
|
|
405
|
+
"reservation-summary": m(() => [
|
|
406
|
+
e(y) ? f("", !0) : (o(), c("li", nn, [
|
|
407
|
+
t("span", null, a(e(l)("general.date")), 1),
|
|
408
|
+
t("b", null, a(e(U)(e(s))), 1)
|
|
315
409
|
])),
|
|
316
|
-
e(
|
|
317
|
-
t("span", null,
|
|
318
|
-
t("b", null,
|
|
319
|
-
])) :
|
|
320
|
-
!e(y) && e(
|
|
321
|
-
t("span", null,
|
|
322
|
-
t("b", null,
|
|
323
|
-
])) :
|
|
324
|
-
e(y) ? (o(),
|
|
410
|
+
e(i) > 0 ? (o(), c("li", an, [
|
|
411
|
+
t("span", null, a(e(l)("event.numberOfGuests")), 1),
|
|
412
|
+
t("b", null, a(e(i)), 1)
|
|
413
|
+
])) : f("", !0),
|
|
414
|
+
!e(y) && e(Q) > 0 ? (o(), c("li", on, [
|
|
415
|
+
t("span", null, a(e(l)("event.numberOfProducts")), 1),
|
|
416
|
+
t("b", null, a(e(Q)), 1)
|
|
417
|
+
])) : f("", !0),
|
|
418
|
+
e(y) ? (o(), c(A, { key: 3 }, [
|
|
325
419
|
t("li", null, [
|
|
326
|
-
t("span", null,
|
|
327
|
-
t("b", null,
|
|
420
|
+
t("span", null, a(e(l)("booking.reservation.arrival")), 1),
|
|
421
|
+
t("b", null, a(e(U)(e(D))), 1)
|
|
328
422
|
]),
|
|
329
423
|
t("li", null, [
|
|
330
|
-
t("span", null,
|
|
331
|
-
t("b", null,
|
|
424
|
+
t("span", null, a(e(l)("booking.reservation.departure")), 1),
|
|
425
|
+
t("b", null, a(e(U)(e(D), e(E))), 1)
|
|
332
426
|
]),
|
|
333
427
|
t("li", null, [
|
|
334
|
-
t("span", null,
|
|
335
|
-
t("b", null,
|
|
428
|
+
t("span", null, a(e(l)("event.numberOfRooms")), 1),
|
|
429
|
+
t("b", null, a(e(k)), 1)
|
|
336
430
|
]),
|
|
337
431
|
t("li", null, [
|
|
338
|
-
t("span", null,
|
|
339
|
-
t("b", null,
|
|
432
|
+
t("span", null, a(e(l)("event.numberOfDays")), 1),
|
|
433
|
+
t("b", null, a(e(E)), 1)
|
|
340
434
|
])
|
|
341
|
-
], 64)) :
|
|
342
|
-
!e(y) && e(b) ? (o(),
|
|
343
|
-
t("span", null,
|
|
344
|
-
t("b", null,
|
|
345
|
-
])) :
|
|
346
|
-
!e(y) && e(
|
|
347
|
-
t("span", null,
|
|
348
|
-
t("b", null,
|
|
349
|
-
])) :
|
|
435
|
+
], 64)) : f("", !0),
|
|
436
|
+
!e(y) && e(b) ? (o(), c("li", ln, [
|
|
437
|
+
t("span", null, a(e(l)("event.startOfEvent")), 1),
|
|
438
|
+
t("b", null, a(e($e)(e(b))), 1)
|
|
439
|
+
])) : f("", !0),
|
|
440
|
+
!e(y) && e(O) && !e(ve) ? (o(), c("li", sn, [
|
|
441
|
+
t("span", null, a(e(l)("event.lengthOfEvent")), 1),
|
|
442
|
+
t("b", null, a(e($e)(e(O))), 1)
|
|
443
|
+
])) : f("", !0)
|
|
350
444
|
]),
|
|
351
|
-
"price-summary":
|
|
352
|
-
!e(y) && e(
|
|
353
|
-
t("span", null,
|
|
354
|
-
t("b", null,
|
|
355
|
-
])) :
|
|
356
|
-
e(
|
|
357
|
-
t("span", null,
|
|
358
|
-
t("b", null,
|
|
359
|
-
]))), 128)) :
|
|
445
|
+
"price-summary": m(() => [
|
|
446
|
+
!e(y) && e(_) > 0 ? (o(), c("li", rn, [
|
|
447
|
+
t("span", null, a(e(l)("booking.availability.basePrice")), 1),
|
|
448
|
+
t("b", null, a(e(K)(e(_), e(oe))), 1)
|
|
449
|
+
])) : f("", !0),
|
|
450
|
+
e(N) ? (o(!0), c(A, { key: 1 }, H(e(N), ({ roomGroupId: J }, se) => (o(), c("li", { key: J }, [
|
|
451
|
+
t("span", null, a(e(l)("booking.reservation.addons")) + " - " + a(e(l)("booking.reservation.room")) + " #" + a(se + 1), 1),
|
|
452
|
+
t("b", null, a(e(K)(e(me)(J, se), e(oe))), 1)
|
|
453
|
+
]))), 128)) : f("", !0)
|
|
360
454
|
]),
|
|
361
|
-
navigation:
|
|
362
|
-
|
|
455
|
+
navigation: m(() => [
|
|
456
|
+
X(R.$slots, "navigation", {}, void 0, !0)
|
|
363
457
|
]),
|
|
364
|
-
"mobile-under-price":
|
|
365
|
-
e(y) ? (o(),
|
|
366
|
-
t("span", null,
|
|
367
|
-
])) : (o(),
|
|
368
|
-
t("span", null,
|
|
458
|
+
"mobile-under-price": m(() => [
|
|
459
|
+
e(y) ? (o(), c("div", un, [
|
|
460
|
+
t("span", null, a(e(U)(e(D))) + " - " + a(e(U)(e(D), e(E))), 1)
|
|
461
|
+
])) : (o(), c("div", dn, [
|
|
462
|
+
t("span", null, a(e(U)(e(s))), 1)
|
|
369
463
|
]))
|
|
370
464
|
]),
|
|
371
|
-
"mobile-summary":
|
|
372
|
-
!e(y) && e(
|
|
465
|
+
"mobile-summary": m(() => [
|
|
466
|
+
!e(y) && e(Q) > 0 ? (o(), c("span", cn, a(e(l)("event.numberOfProducts")) + ": " + a(e(Q)), 1)) : f("", !0)
|
|
373
467
|
]),
|
|
374
468
|
_: 2
|
|
375
469
|
}, [
|
|
376
470
|
e(n).sidebar ? {
|
|
377
471
|
name: "sidebar",
|
|
378
|
-
fn:
|
|
379
|
-
|
|
472
|
+
fn: m(() => [
|
|
473
|
+
X(R.$slots, "sidebar", {}, void 0, !0)
|
|
380
474
|
]),
|
|
381
475
|
key: "0"
|
|
382
476
|
} : void 0
|
|
383
477
|
]), 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"]));
|
|
384
478
|
}
|
|
385
|
-
}),
|
|
479
|
+
}), De = /* @__PURE__ */ x(mn, [["__scopeId", "data-v-c4b0b5c7"]]), pn = { class: "event-skeleton" }, vn = { class: "event-skeleton-content" }, bn = { class: "event-skeleton-sidebar" }, fn = /* @__PURE__ */ W({
|
|
386
480
|
__name: "EventSkeleton",
|
|
387
481
|
setup(g) {
|
|
388
|
-
return (
|
|
389
|
-
t("div",
|
|
390
|
-
|
|
482
|
+
return (l, n) => (o(), c("div", pn, [
|
|
483
|
+
t("div", vn, [
|
|
484
|
+
p(Le)
|
|
391
485
|
]),
|
|
392
|
-
t("div",
|
|
393
|
-
|
|
394
|
-
|
|
486
|
+
t("div", bn, [
|
|
487
|
+
f("", !0),
|
|
488
|
+
p(wt)
|
|
395
489
|
])
|
|
396
490
|
]));
|
|
397
491
|
}
|
|
398
|
-
}),
|
|
492
|
+
}), gn = /* @__PURE__ */ x(fn, [["__scopeId", "data-v-3e15c4e3"]]), kn = {
|
|
399
493
|
key: 0,
|
|
400
494
|
id: "konnectio-event-listings-wrapper"
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
|
|
495
|
+
}, yn = {
|
|
496
|
+
key: 0,
|
|
497
|
+
class: "konnectio-hotel-availability-title"
|
|
498
|
+
}, hn = { class: "konnectio-event-listings" }, Dn = { class: "konnectio-hotel-availability-title" }, Pn = { class: "konnectio-event-listings" }, $n = ["innerHTML"], _n = { class: "konnectio-panel" }, wn = {
|
|
404
499
|
key: 0,
|
|
405
500
|
id: "konnectio-event-addons"
|
|
406
|
-
},
|
|
501
|
+
}, En = { class: "konnectio-table with-lines" }, On = { class: "konnectio-event-addons-price" }, Vn = { class: "konnectio-event-addons-input" }, Nn = { class: "konnectio-event-addons-price" }, Tn = { class: "konnectio-event-addons-price" }, Bn = {
|
|
407
502
|
key: 1,
|
|
408
503
|
class: "konnectio-table with-lines"
|
|
409
|
-
},
|
|
504
|
+
}, Cn = { class: "konnectio-table-addons-information" }, Sn = { key: 0 }, Fn = { class: "konnectio-table-addons-option" }, Ln = { class: "konnectio-panel" }, In = /* @__PURE__ */ W({
|
|
410
505
|
name: "EventLayout",
|
|
411
506
|
__name: "Event",
|
|
412
507
|
props: {
|
|
@@ -417,41 +512,42 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
417
512
|
styling: {}
|
|
418
513
|
},
|
|
419
514
|
setup(g) {
|
|
420
|
-
const
|
|
421
|
-
addons:
|
|
515
|
+
const l = g, { t: n } = ae(), {
|
|
516
|
+
addons: v,
|
|
422
517
|
products: b,
|
|
423
|
-
numberOfDays:
|
|
518
|
+
numberOfDays: i,
|
|
424
519
|
name: k,
|
|
425
|
-
phone:
|
|
520
|
+
phone: E,
|
|
426
521
|
email: y,
|
|
427
|
-
remark:
|
|
428
|
-
allergies:
|
|
429
|
-
arrivalTime:
|
|
430
|
-
hasEvents:
|
|
431
|
-
hasTemplates:
|
|
432
|
-
getEvents:
|
|
433
|
-
getTemplates:
|
|
434
|
-
getEventData:
|
|
435
|
-
getTemplateData:
|
|
436
|
-
getEventTableData:
|
|
437
|
-
hasProducts:
|
|
438
|
-
eventRateType:
|
|
439
|
-
areListingsAvailable:
|
|
440
|
-
isAvailabilityDataAvailable:
|
|
441
|
-
hasListingData:
|
|
522
|
+
remark: s,
|
|
523
|
+
allergies: O,
|
|
524
|
+
arrivalTime: D,
|
|
525
|
+
hasEvents: _,
|
|
526
|
+
hasTemplates: N,
|
|
527
|
+
getEvents: F,
|
|
528
|
+
getTemplates: P,
|
|
529
|
+
getEventData: u,
|
|
530
|
+
getTemplateData: L,
|
|
531
|
+
getEventTableData: I,
|
|
532
|
+
hasProducts: Q,
|
|
533
|
+
eventRateType: me,
|
|
534
|
+
areListingsAvailable: pe,
|
|
535
|
+
isAvailabilityDataAvailable: oe,
|
|
536
|
+
hasListingData: ve,
|
|
442
537
|
isPaymentLoading: R,
|
|
443
|
-
isReservationFormFilled:
|
|
444
|
-
requiresArrivalTime:
|
|
445
|
-
hasSelectedRequiredProducts:
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
538
|
+
isReservationFormFilled: le,
|
|
539
|
+
requiresArrivalTime: J,
|
|
540
|
+
hasSelectedRequiredProducts: se,
|
|
541
|
+
getUnavailableEvents: be
|
|
542
|
+
} = Y(Z()), { currency: ie } = Y(we()), { eventDate: Re, eventLocation: Me } = Y(Pe()), { isValidRestaurantId: Ue } = Pe(), {
|
|
543
|
+
initialize: Ge,
|
|
544
|
+
fetchListings: ze,
|
|
545
|
+
createBooking: qe,
|
|
546
|
+
localAddonPrice: He,
|
|
547
|
+
totalAddonPrice: Ye,
|
|
548
|
+
reset: je,
|
|
549
|
+
goBack: Ee
|
|
550
|
+
} = Z(), { display: fe } = _e(), We = j(() => [
|
|
455
551
|
{
|
|
456
552
|
id: "availability",
|
|
457
553
|
label: n("booking.availability.title"),
|
|
@@ -477,282 +573,329 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
477
573
|
label: n("booking.confirmation.title"),
|
|
478
574
|
icon: "calendar-check"
|
|
479
575
|
}
|
|
480
|
-
]),
|
|
481
|
-
const
|
|
482
|
-
return
|
|
483
|
-
|
|
484
|
-
label:
|
|
485
|
-
value:
|
|
576
|
+
]), Qe = j(() => {
|
|
577
|
+
const w = [];
|
|
578
|
+
return I.value && I.value.forEach((d) => {
|
|
579
|
+
w.find((B) => B.value === d.time) || w.push({
|
|
580
|
+
label: $e(d.time),
|
|
581
|
+
value: d.time
|
|
486
582
|
});
|
|
487
|
-
}),
|
|
583
|
+
}), w;
|
|
488
584
|
});
|
|
489
|
-
function
|
|
490
|
-
|
|
585
|
+
function Je() {
|
|
586
|
+
je(l.resetDate === "yes");
|
|
491
587
|
}
|
|
492
|
-
function
|
|
493
|
-
const
|
|
588
|
+
function Ke() {
|
|
589
|
+
const w = gt("history", {
|
|
494
590
|
removeNullishValues: !0
|
|
495
|
-
}),
|
|
496
|
-
if (
|
|
497
|
-
if (
|
|
498
|
-
const
|
|
499
|
-
|
|
591
|
+
}), d = parseInt(w.rid), B = w.d, V = parseInt(w.eid);
|
|
592
|
+
if (B)
|
|
593
|
+
if (kt(B)) {
|
|
594
|
+
const C = new Date(B), S = C.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
595
|
+
S >= h ? (Re.value = C, w.d = void 0) : fe({
|
|
500
596
|
message: n("alert.error.invalidDateRange"),
|
|
501
597
|
type: "error"
|
|
502
598
|
});
|
|
503
599
|
} else
|
|
504
|
-
|
|
600
|
+
fe({
|
|
505
601
|
message: n("alert.error.wrongDateFormat"),
|
|
506
602
|
type: "error"
|
|
507
603
|
});
|
|
508
|
-
isNaN(
|
|
604
|
+
isNaN(d) || (Ue(d) ? Me.value = d : fe({
|
|
509
605
|
message: n("alert.error.hotelIdNotFound"),
|
|
510
606
|
type: "error"
|
|
511
607
|
}));
|
|
512
|
-
let
|
|
513
|
-
isNaN(
|
|
608
|
+
let r;
|
|
609
|
+
isNaN(V) || (r = V), ze(r);
|
|
514
610
|
}
|
|
515
|
-
return (
|
|
516
|
-
default:
|
|
517
|
-
(o(),
|
|
518
|
-
default:
|
|
519
|
-
|
|
611
|
+
return (w, d) => (o(), $(ft, { styling: w.styling }, {
|
|
612
|
+
default: m(() => [
|
|
613
|
+
(o(), $(nt, { onResolve: Ke }, {
|
|
614
|
+
default: m(() => [
|
|
615
|
+
p(Dt, {
|
|
520
616
|
id: "konnectio-event-module",
|
|
521
|
-
"access-token":
|
|
522
|
-
callback: e(
|
|
617
|
+
"access-token": w.accessToken,
|
|
618
|
+
callback: e(Ge)
|
|
523
619
|
}, {
|
|
524
|
-
default:
|
|
525
|
-
|
|
526
|
-
steps:
|
|
527
|
-
onReset:
|
|
620
|
+
default: m(() => [
|
|
621
|
+
p(Et, {
|
|
622
|
+
steps: We.value,
|
|
623
|
+
onReset: Je
|
|
528
624
|
}, {
|
|
529
|
-
availability:
|
|
530
|
-
|
|
531
|
-
sidebar:
|
|
532
|
-
|
|
625
|
+
availability: m(({ next: B }) => [
|
|
626
|
+
p(De, null, {
|
|
627
|
+
sidebar: m(() => [
|
|
628
|
+
p(Mt, {
|
|
533
629
|
redirection: !1,
|
|
534
|
-
"selected-location": Number(
|
|
630
|
+
"selected-location": Number(w.selectedLocation)
|
|
535
631
|
}, null, 8, ["selected-location"])
|
|
536
632
|
]),
|
|
537
|
-
form:
|
|
538
|
-
e(
|
|
539
|
-
e(
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
633
|
+
form: m(() => [
|
|
634
|
+
e(ve) && e(pe) ? (o(), c("div", kn, [
|
|
635
|
+
e(F).length > 0 && e(be).length > 0 ? (o(), c("h2", yn, [
|
|
636
|
+
p(ne, {
|
|
637
|
+
icon: "calendar-clock",
|
|
638
|
+
type: "fal",
|
|
639
|
+
color: "header"
|
|
640
|
+
}),
|
|
641
|
+
t("span", null, a(e(n)("event.availableNow")), 1)
|
|
642
|
+
])) : f("", !0),
|
|
643
|
+
t("ul", hn, [
|
|
644
|
+
e(_) && w.onlyShow !== "templates" ? (o(!0), c(A, { key: 0 }, H(e(F), ({
|
|
645
|
+
id: V,
|
|
646
|
+
days: r,
|
|
647
|
+
name: C,
|
|
648
|
+
timeFrom: S,
|
|
649
|
+
timeTo: h,
|
|
650
|
+
fromDate: T,
|
|
651
|
+
toDate: G,
|
|
652
|
+
tableGroupId: z,
|
|
653
|
+
description: ee,
|
|
654
|
+
soldOut: te,
|
|
655
|
+
length: q,
|
|
656
|
+
images: ge,
|
|
657
|
+
maxOnlineReservationLimit: ke,
|
|
658
|
+
maxPaxPerReservation: ye,
|
|
659
|
+
useNumberOfProductsForPersons: he
|
|
660
|
+
}) => (o(), $(Ae, {
|
|
661
|
+
key: V,
|
|
662
|
+
type: "event",
|
|
663
|
+
"listing-id": V,
|
|
664
|
+
"table-group-id": z,
|
|
665
|
+
description: ee,
|
|
666
|
+
name: C,
|
|
667
|
+
length: q,
|
|
668
|
+
gallery: ge,
|
|
669
|
+
days: r,
|
|
670
|
+
"from-date": T,
|
|
671
|
+
"to-date": G,
|
|
672
|
+
"max-online-reservation-limit": ye || ke,
|
|
673
|
+
"time-from": S,
|
|
674
|
+
"time-to": h,
|
|
675
|
+
"sold-out": te,
|
|
676
|
+
"use-number-of-products-for-persons": he,
|
|
677
|
+
callback: B
|
|
678
|
+
}, 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)) : f("", !0),
|
|
679
|
+
e(N) && w.onlyShow !== "events" ? (o(!0), c(A, { key: 1 }, H(e(P), ({
|
|
680
|
+
id: V,
|
|
681
|
+
name: r,
|
|
682
|
+
fromDate: C,
|
|
683
|
+
toDate: S,
|
|
684
|
+
minimumPersonCount: h,
|
|
685
|
+
fromPrice: T,
|
|
686
|
+
description: G,
|
|
687
|
+
imageUrl: z
|
|
688
|
+
}) => (o(), $(tn, {
|
|
689
|
+
key: V,
|
|
690
|
+
"listing-id": V,
|
|
691
|
+
name: r,
|
|
692
|
+
image: z,
|
|
693
|
+
description: G,
|
|
694
|
+
"from-date": C,
|
|
695
|
+
"to-date": S,
|
|
696
|
+
"minimum-person-count": h,
|
|
697
|
+
fromPrice: T,
|
|
698
|
+
callback: B
|
|
699
|
+
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : f("", !0)
|
|
700
|
+
]),
|
|
701
|
+
e(be).length > 0 && w.onlyShow !== "templates" ? (o(), c(A, { key: 1 }, [
|
|
702
|
+
t("h2", Dn, [
|
|
703
|
+
p(ne, {
|
|
704
|
+
icon: "calendar-circle-exclamation",
|
|
705
|
+
type: "fal",
|
|
706
|
+
color: "header"
|
|
707
|
+
}),
|
|
708
|
+
t("span", null, a(e(n)("event.availableLater")), 1)
|
|
709
|
+
]),
|
|
710
|
+
t("ul", Pn, [
|
|
711
|
+
(o(!0), c(A, null, H(e(be), ({
|
|
712
|
+
id: V,
|
|
713
|
+
days: r,
|
|
714
|
+
name: C,
|
|
715
|
+
timeFrom: S,
|
|
716
|
+
timeTo: h,
|
|
717
|
+
fromDate: T,
|
|
718
|
+
toDate: G,
|
|
719
|
+
tableGroupId: z,
|
|
720
|
+
description: ee,
|
|
721
|
+
soldOut: te,
|
|
722
|
+
length: q,
|
|
723
|
+
images: ge,
|
|
724
|
+
maxOnlineReservationLimit: ke,
|
|
725
|
+
maxPaxPerReservation: ye,
|
|
726
|
+
useNumberOfProductsForPersons: he
|
|
727
|
+
}) => (o(), $(en, {
|
|
728
|
+
key: V,
|
|
560
729
|
type: "event",
|
|
561
|
-
"listing-id":
|
|
562
|
-
"table-group-id":
|
|
563
|
-
description:
|
|
564
|
-
name:
|
|
565
|
-
length:
|
|
566
|
-
gallery:
|
|
567
|
-
days:
|
|
568
|
-
"from-date":
|
|
569
|
-
"to-date":
|
|
570
|
-
"max-online-reservation-limit":
|
|
571
|
-
"time-from":
|
|
572
|
-
"time-to":
|
|
573
|
-
"sold-out":
|
|
574
|
-
"use-number-of-products-for-persons":
|
|
575
|
-
callback:
|
|
730
|
+
"listing-id": V,
|
|
731
|
+
"table-group-id": z,
|
|
732
|
+
description: ee,
|
|
733
|
+
name: C,
|
|
734
|
+
length: q,
|
|
735
|
+
gallery: ge,
|
|
736
|
+
days: r,
|
|
737
|
+
"from-date": T,
|
|
738
|
+
"to-date": G,
|
|
739
|
+
"max-online-reservation-limit": ye || ke,
|
|
740
|
+
"time-from": S,
|
|
741
|
+
"time-to": h,
|
|
742
|
+
"sold-out": te,
|
|
743
|
+
"use-number-of-products-for-persons": he,
|
|
744
|
+
callback: B
|
|
576
745
|
}, 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))
|
|
577
746
|
])
|
|
578
|
-
], 64)) :
|
|
579
|
-
e(
|
|
580
|
-
m("", !0),
|
|
581
|
-
t("ul", an, [
|
|
582
|
-
(o(!0), d(L, null, H(e(f), ({
|
|
583
|
-
id: T,
|
|
584
|
-
name: i,
|
|
585
|
-
fromDate: S,
|
|
586
|
-
toDate: I,
|
|
587
|
-
minimumPersonCount: _,
|
|
588
|
-
fromPrice: B,
|
|
589
|
-
description: W,
|
|
590
|
-
imageUrl: J
|
|
591
|
-
}) => (o(), D(zt, {
|
|
592
|
-
key: T,
|
|
593
|
-
"listing-id": T,
|
|
594
|
-
name: i,
|
|
595
|
-
image: J,
|
|
596
|
-
description: W,
|
|
597
|
-
"from-date": S,
|
|
598
|
-
"to-date": I,
|
|
599
|
-
"minimum-person-count": _,
|
|
600
|
-
fromPrice: B,
|
|
601
|
-
callback: O
|
|
602
|
-
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
603
|
-
])
|
|
604
|
-
], 64)) : m("", !0),
|
|
605
|
-
!e(h) && !e(E) || !e(h) && $.onlyShow === "events" || !e(E) && $.onlyShow === "templates" ? (o(), d("div", {
|
|
747
|
+
], 64)) : f("", !0),
|
|
748
|
+
!e(_) && !e(N) || !e(_) && w.onlyShow === "events" || !e(N) && w.onlyShow === "templates" ? (o(), c("div", {
|
|
606
749
|
key: 2,
|
|
607
750
|
class: "konnectio-panel",
|
|
608
751
|
innerHTML: e(n)("event.nothingAvailable")
|
|
609
|
-
}, null, 8,
|
|
610
|
-
])) : (o(),
|
|
752
|
+
}, null, 8, $n)) : f("", !0)
|
|
753
|
+
])) : (o(), $(Le, { key: 1 }))
|
|
611
754
|
]),
|
|
612
755
|
_: 2
|
|
613
756
|
}, 1024)
|
|
614
757
|
]),
|
|
615
|
-
addons:
|
|
616
|
-
e(
|
|
758
|
+
addons: m(({ next: B, prev: V }) => [
|
|
759
|
+
e(oe) ? (o(), $(De, {
|
|
617
760
|
key: 0,
|
|
618
|
-
"prev-callback": () => e(
|
|
761
|
+
"prev-callback": () => e(Ee)(V)
|
|
619
762
|
}, {
|
|
620
|
-
form:
|
|
621
|
-
t("form",
|
|
763
|
+
form: m(() => [
|
|
764
|
+
t("form", _n, [
|
|
622
765
|
t("h2", null, [
|
|
623
|
-
t("span", null,
|
|
766
|
+
t("span", null, a(e(n)("event.selectProducts")), 1)
|
|
624
767
|
]),
|
|
625
|
-
e(
|
|
626
|
-
(o(!0),
|
|
627
|
-
roomGroupId:
|
|
628
|
-
addons:
|
|
629
|
-
adultPerRoom:
|
|
630
|
-
},
|
|
768
|
+
e(L) && e(L).length > 0 ? (o(), c("ul", wn, [
|
|
769
|
+
(o(!0), c(A, null, H(e(L), ({
|
|
770
|
+
roomGroupId: r,
|
|
771
|
+
addons: C,
|
|
772
|
+
adultPerRoom: S
|
|
773
|
+
}, h) => (o(), c("li", { key: r }, [
|
|
631
774
|
t("h5", null, [
|
|
632
|
-
t("span", null,
|
|
633
|
-
|
|
634
|
-
|
|
775
|
+
t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(h + 1), 1),
|
|
776
|
+
d[7] || (d[7] = de(" (")),
|
|
777
|
+
p(ne, {
|
|
635
778
|
icon: "male",
|
|
636
779
|
type: "fas",
|
|
637
780
|
color: "header"
|
|
638
781
|
}),
|
|
639
|
-
|
|
782
|
+
de(" " + a(S) + ") ", 1)
|
|
640
783
|
]),
|
|
641
|
-
t("table",
|
|
784
|
+
t("table", En, [
|
|
642
785
|
t("thead", null, [
|
|
643
786
|
t("tr", null, [
|
|
644
787
|
t("th", null, [
|
|
645
|
-
t("span", null,
|
|
788
|
+
t("span", null, a(e(n)("booking.reservation.addons")), 1)
|
|
646
789
|
]),
|
|
647
|
-
|
|
648
|
-
t("th",
|
|
649
|
-
t("span", null,
|
|
790
|
+
d[8] || (d[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
791
|
+
t("th", On, [
|
|
792
|
+
t("span", null, a(e(n)("booking.availability.price")), 1)
|
|
650
793
|
])
|
|
651
794
|
])
|
|
652
795
|
]),
|
|
653
796
|
t("tbody", null, [
|
|
654
|
-
(o(!0),
|
|
655
|
-
id:
|
|
656
|
-
cardinality:
|
|
657
|
-
name:
|
|
658
|
-
price:
|
|
659
|
-
quantityStrategy:
|
|
660
|
-
}) => (o(),
|
|
797
|
+
(o(!0), c(A, null, H(C, ({
|
|
798
|
+
id: T,
|
|
799
|
+
cardinality: G,
|
|
800
|
+
name: z,
|
|
801
|
+
price: ee,
|
|
802
|
+
quantityStrategy: te
|
|
803
|
+
}) => (o(), c("tr", { key: T }, [
|
|
661
804
|
t("td", null, [
|
|
662
|
-
t("b", null,
|
|
663
|
-
|
|
664
|
-
t("span", null,
|
|
805
|
+
t("b", null, a(z), 1),
|
|
806
|
+
d[9] || (d[9] = t("br", null, null, -1)),
|
|
807
|
+
t("span", null, a(e(K)(ee, e(ie))) + " " + a(e(vt)(te)), 1)
|
|
665
808
|
]),
|
|
666
|
-
t("td",
|
|
667
|
-
|
|
809
|
+
t("td", Vn, [
|
|
810
|
+
G === 3 ? (o(), $(ue, {
|
|
668
811
|
key: 0,
|
|
669
|
-
modelValue: e(
|
|
670
|
-
"onUpdate:modelValue": (
|
|
812
|
+
modelValue: e(v)[`${r}.${T}.${h}`],
|
|
813
|
+
"onUpdate:modelValue": (q) => e(v)[`${r}.${T}.${h}`] = q,
|
|
671
814
|
small: !0,
|
|
672
815
|
"min-value": 0
|
|
673
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(),
|
|
816
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), $(It, {
|
|
674
817
|
key: 1,
|
|
675
|
-
modelValue: e(
|
|
676
|
-
"onUpdate:modelValue": (
|
|
818
|
+
modelValue: e(v)[`${r}.${T}.${h}`],
|
|
819
|
+
"onUpdate:modelValue": (q) => e(v)[`${r}.${T}.${h}`] = q,
|
|
677
820
|
numeric: !0
|
|
678
821
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
679
822
|
]),
|
|
680
|
-
t("td",
|
|
681
|
-
t("span", null,
|
|
823
|
+
t("td", Nn, [
|
|
824
|
+
t("span", null, a(e(K)(e(He)(T, r, h), e(ie))), 1)
|
|
682
825
|
])
|
|
683
826
|
]))), 128))
|
|
684
827
|
]),
|
|
685
828
|
t("tfoot", null, [
|
|
686
829
|
t("tr", null, [
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
t("td",
|
|
830
|
+
d[10] || (d[10] = t("td", null, null, -1)),
|
|
831
|
+
d[11] || (d[11] = t("td", null, null, -1)),
|
|
832
|
+
t("td", Tn, [
|
|
690
833
|
t("u", null, [
|
|
691
|
-
t("span", null,
|
|
834
|
+
t("span", null, a(e(K)(e(Ye)(r, h), e(ie))), 1)
|
|
692
835
|
])
|
|
693
836
|
])
|
|
694
837
|
])
|
|
695
838
|
])
|
|
696
839
|
])
|
|
697
840
|
]))), 128))
|
|
698
|
-
])) :
|
|
699
|
-
e(
|
|
841
|
+
])) : f("", !0),
|
|
842
|
+
e(Q) ? (o(), c("table", Bn, [
|
|
700
843
|
t("tbody", null, [
|
|
701
|
-
(o(!0),
|
|
702
|
-
t("td",
|
|
844
|
+
(o(!0), c(A, null, H(e(u).products, ({ id: r, name: C, price: S, description: h }) => (o(), c("tr", { key: r }, [
|
|
845
|
+
t("td", Cn, [
|
|
703
846
|
t("b", null, [
|
|
704
|
-
t("span", null,
|
|
847
|
+
t("span", null, a(e(Oe)(C)), 1)
|
|
705
848
|
]),
|
|
706
|
-
|
|
707
|
-
t("u", null,
|
|
849
|
+
h && h !== C ? (o(), c("span", Sn, a(e(Oe)(h)), 1)) : f("", !0),
|
|
850
|
+
t("u", null, a(e(K)(S, e(ie))), 1)
|
|
708
851
|
]),
|
|
709
|
-
t("td",
|
|
710
|
-
|
|
711
|
-
modelValue: e(b)[
|
|
712
|
-
"onUpdate:modelValue": (
|
|
852
|
+
t("td", Fn, [
|
|
853
|
+
p(ue, {
|
|
854
|
+
modelValue: e(b)[r],
|
|
855
|
+
"onUpdate:modelValue": (T) => e(b)[r] = T,
|
|
713
856
|
small: !0,
|
|
714
857
|
"min-value": 0
|
|
715
858
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
716
859
|
])
|
|
717
860
|
]))), 128))
|
|
718
861
|
])
|
|
719
|
-
])) :
|
|
862
|
+
])) : f("", !0)
|
|
720
863
|
])
|
|
721
864
|
]),
|
|
722
|
-
navigation:
|
|
723
|
-
|
|
865
|
+
navigation: m(() => [
|
|
866
|
+
p(ce, {
|
|
724
867
|
label: e(n)("event.startReservation"),
|
|
725
|
-
disabled: !e(
|
|
868
|
+
disabled: !e(se),
|
|
726
869
|
"full-width": "",
|
|
727
|
-
onClickEvent:
|
|
870
|
+
onClickEvent: B
|
|
728
871
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
729
872
|
]),
|
|
730
873
|
_: 2
|
|
731
|
-
}, 1032, ["prev-callback"])) :
|
|
874
|
+
}, 1032, ["prev-callback"])) : f("", !0)
|
|
732
875
|
]),
|
|
733
|
-
reservation:
|
|
734
|
-
|
|
876
|
+
reservation: m(({ next: B, prev: V }) => [
|
|
877
|
+
p(De, {
|
|
735
878
|
"show-terms-notice": !0,
|
|
736
879
|
"show-gift-card": !0,
|
|
737
|
-
"prev-callback": () => e(
|
|
880
|
+
"prev-callback": () => e(Ee)(V)
|
|
738
881
|
}, {
|
|
739
|
-
form:
|
|
740
|
-
t("form",
|
|
882
|
+
form: m(() => [
|
|
883
|
+
t("form", Ln, [
|
|
741
884
|
t("h2", null, [
|
|
742
|
-
t("span", null,
|
|
885
|
+
t("span", null, a(e(n)("booking.reservation.detailsTitle")), 1)
|
|
743
886
|
]),
|
|
744
|
-
|
|
887
|
+
p(re, {
|
|
745
888
|
modelValue: e(k),
|
|
746
|
-
"onUpdate:modelValue":
|
|
889
|
+
"onUpdate:modelValue": d[0] || (d[0] = (r) => M(k) ? k.value = r : null),
|
|
747
890
|
type: "text",
|
|
748
891
|
label: e(n)("booking.reservation.name"),
|
|
749
892
|
icon: "user-alt",
|
|
750
893
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
751
894
|
required: ""
|
|
752
895
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
753
|
-
|
|
896
|
+
p(re, {
|
|
754
897
|
modelValue: e(y),
|
|
755
|
-
"onUpdate:modelValue":
|
|
898
|
+
"onUpdate:modelValue": d[1] || (d[1] = (r) => M(y) ? y.value = r : null),
|
|
756
899
|
label: e(n)("booking.reservation.email"),
|
|
757
900
|
type: "email",
|
|
758
901
|
name: "email",
|
|
@@ -761,42 +904,42 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
761
904
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
762
905
|
required: ""
|
|
763
906
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
764
|
-
|
|
765
|
-
modelValue: e(
|
|
766
|
-
"onUpdate:modelValue":
|
|
907
|
+
p(At, {
|
|
908
|
+
modelValue: e(E),
|
|
909
|
+
"onUpdate:modelValue": d[2] || (d[2] = (r) => M(E) ? E.value = r : null),
|
|
767
910
|
label: e(n)("booking.reservation.phone"),
|
|
768
911
|
icon: "phone-office",
|
|
769
912
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
770
913
|
required: ""
|
|
771
914
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
772
|
-
e(
|
|
915
|
+
e(J) ? (o(), $(Ot, {
|
|
773
916
|
key: 0,
|
|
774
|
-
modelValue: e(
|
|
775
|
-
"onUpdate:modelValue":
|
|
917
|
+
modelValue: e(D),
|
|
918
|
+
"onUpdate:modelValue": d[3] || (d[3] = (r) => M(D) ? D.value = r : null),
|
|
776
919
|
label: e(n)("event.selectArrivalTime"),
|
|
777
920
|
name: "eventTimeTable",
|
|
778
|
-
checkboxes:
|
|
921
|
+
checkboxes: Qe.value,
|
|
779
922
|
required: ""
|
|
780
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) :
|
|
781
|
-
e(
|
|
923
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])) : f("", !0),
|
|
924
|
+
e(me) === e(bt).FullDayEvent ? (o(), $(ue, {
|
|
782
925
|
key: 1,
|
|
783
|
-
modelValue: e(
|
|
784
|
-
"onUpdate:modelValue":
|
|
926
|
+
modelValue: e(i),
|
|
927
|
+
"onUpdate:modelValue": d[4] || (d[4] = (r) => M(i) ? i.value = r : null),
|
|
785
928
|
label: e(n)("event.numberOfDays"),
|
|
786
929
|
"min-value": 1,
|
|
787
930
|
required: ""
|
|
788
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
789
|
-
|
|
790
|
-
modelValue: e(
|
|
791
|
-
"onUpdate:modelValue":
|
|
931
|
+
}, null, 8, ["modelValue", "label"])) : f("", !0),
|
|
932
|
+
p(re, {
|
|
933
|
+
modelValue: e(s),
|
|
934
|
+
"onUpdate:modelValue": d[5] || (d[5] = (r) => M(s) ? s.value = r : null),
|
|
792
935
|
type: "textarea",
|
|
793
936
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
794
937
|
icon: "info-circle",
|
|
795
938
|
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
796
939
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
797
|
-
|
|
798
|
-
modelValue: e(
|
|
799
|
-
"onUpdate:modelValue":
|
|
940
|
+
p(re, {
|
|
941
|
+
modelValue: e(O),
|
|
942
|
+
"onUpdate:modelValue": d[6] || (d[6] = (r) => M(O) ? O.value = r : null),
|
|
800
943
|
type: "textarea",
|
|
801
944
|
label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
|
|
802
945
|
icon: "allergies",
|
|
@@ -804,23 +947,23 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
804
947
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
805
948
|
])
|
|
806
949
|
]),
|
|
807
|
-
navigation:
|
|
808
|
-
|
|
950
|
+
navigation: m(() => [
|
|
951
|
+
p(ce, {
|
|
809
952
|
label: e(n)("general.confirmReservation"),
|
|
810
953
|
"is-loading": e(R),
|
|
811
|
-
disabled: !e(
|
|
954
|
+
disabled: !e(le),
|
|
812
955
|
"full-width": "",
|
|
813
|
-
onClickEvent: (
|
|
956
|
+
onClickEvent: (r) => e(qe)(B)
|
|
814
957
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
815
958
|
]),
|
|
816
959
|
_: 2
|
|
817
960
|
}, 1032, ["prev-callback"])
|
|
818
961
|
]),
|
|
819
|
-
payment:
|
|
820
|
-
|
|
962
|
+
payment: m(() => [
|
|
963
|
+
p(Rt)
|
|
821
964
|
]),
|
|
822
|
-
confirmation:
|
|
823
|
-
|
|
965
|
+
confirmation: m(() => [
|
|
966
|
+
p(Vt, {
|
|
824
967
|
message: e(n)("event.confirmationMessage")
|
|
825
968
|
}, null, 8, ["message"])
|
|
826
969
|
]),
|
|
@@ -830,8 +973,8 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
830
973
|
_: 1
|
|
831
974
|
}, 8, ["access-token", "callback"])
|
|
832
975
|
]),
|
|
833
|
-
fallback:
|
|
834
|
-
|
|
976
|
+
fallback: m(() => [
|
|
977
|
+
p(gn)
|
|
835
978
|
]),
|
|
836
979
|
_: 1
|
|
837
980
|
}))
|
|
@@ -839,8 +982,8 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
839
982
|
_: 1
|
|
840
983
|
}, 8, ["styling"]));
|
|
841
984
|
}
|
|
842
|
-
}),
|
|
843
|
-
class
|
|
985
|
+
}), Se = /* @__PURE__ */ x(In, [["__scopeId", "data-v-ac75b987"]]), An = at(), Rn = it();
|
|
986
|
+
class Mn extends HTMLElement {
|
|
844
987
|
vueApp;
|
|
845
988
|
constructor() {
|
|
846
989
|
super();
|
|
@@ -849,14 +992,14 @@ class $n extends HTMLElement {
|
|
|
849
992
|
this.vueApp.unmount();
|
|
850
993
|
}
|
|
851
994
|
connectedCallback() {
|
|
852
|
-
const
|
|
853
|
-
this.vueApp =
|
|
995
|
+
const l = ot(Se, this.attributes);
|
|
996
|
+
this.vueApp = lt(Se, l), this.vueApp.provide("emitter", Rn), this.vueApp.use(st), this.vueApp.use(An), this.vueApp.use(Nt), this.vueApp.use(ht), this.vueApp.use(Tt), this.vueApp.use(yt, { bootstrap: !0 });
|
|
854
997
|
const n = document.createElement("div");
|
|
855
998
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
856
999
|
}
|
|
857
1000
|
}
|
|
858
|
-
window.customElements.define("konnectio-event",
|
|
1001
|
+
window.customElements.define("konnectio-event", Mn);
|
|
859
1002
|
export {
|
|
860
|
-
|
|
1003
|
+
Mn as default
|
|
861
1004
|
};
|
|
862
1005
|
//# sourceMappingURL=event.js.map
|