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