@konnectio/core 4.3.1 → 4.3.2
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-NdulJ0sj.js → ActionField-CJSfD00B.js} +2 -2
- package/dist/ActionField-CJSfD00B.js.br +0 -0
- package/dist/ActionField-CJSfD00B.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BlugWG0g.js → AvailabilitySkeleton-DahaxHPu.js} +10 -10
- package/dist/AvailabilitySkeleton-DahaxHPu.js.br +0 -0
- package/dist/AvailabilitySkeleton-DahaxHPu.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.gz +0 -0
- package/dist/{CheckoutWindow-CdAiqIDw.js → CheckoutWindow-O_qYS9cd.js} +10 -10
- package/dist/CheckoutWindow-O_qYS9cd.js.br +0 -0
- package/dist/CheckoutWindow-O_qYS9cd.js.gz +0 -0
- package/dist/{ErrorMessage-C8HsnG1r.js → ErrorMessage-CyJcdPZh.js} +2 -2
- package/dist/ErrorMessage-CyJcdPZh.js.br +0 -0
- package/dist/ErrorMessage-CyJcdPZh.js.gz +0 -0
- package/dist/{EventAvailabilityForm-78aeZEOH.js → EventAvailabilityForm-BHriF2rh.js} +3 -3
- package/dist/EventAvailabilityForm-BHriF2rh.js.br +0 -0
- package/dist/EventAvailabilityForm-BHriF2rh.js.gz +0 -0
- package/dist/{Field-BxSrgrQ5.js → Field-DqD7cEr0.js} +3 -3
- package/dist/Field-DqD7cEr0.js.br +0 -0
- package/dist/Field-DqD7cEr0.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js} +2 -2
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js → SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js} +2539 -2511
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.gz +0 -0
- package/dist/{TermsOfService-Bfud-yjT.js → TermsOfService-DEcUhi2o.js} +3 -3
- package/dist/{TermsOfService-Bfud-yjT.js.br → TermsOfService-DEcUhi2o.js.br} +0 -0
- package/dist/TermsOfService-DEcUhi2o.js.gz +0 -0
- package/dist/_-Dr00NgKV.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CPvUCrel.js → _.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.gz +0 -0
- package/dist/availability.js +32 -34
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/event.js +151 -153
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +77 -79
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DpJ3HhSP.js → giftCard-DQSmKUJS.js} +2 -2
- package/dist/giftCard-DQSmKUJS.js.br +0 -0
- package/dist/giftCard-DQSmKUJS.js.gz +0 -0
- package/dist/hotel.js +1707 -1674
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-BZyqtOJw.js → index-BuCHQzvO.js} +93 -74
- package/dist/index-BuCHQzvO.js.br +0 -0
- package/dist/index-BuCHQzvO.js.gz +0 -0
- package/dist/{masonry.plugin-CPn7JWhD.js → masonry.plugin-CK1Ecitm.js} +5 -5
- package/dist/masonry.plugin-CK1Ecitm.js.br +0 -0
- package/dist/masonry.plugin-CK1Ecitm.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/package.json +1 -1
- package/dist/ActionField-NdulJ0sj.js.br +0 -0
- package/dist/ActionField-NdulJ0sj.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BlugWG0g.js.br +0 -0
- package/dist/AvailabilitySkeleton-BlugWG0g.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.gz +0 -0
- package/dist/CheckoutWindow-CdAiqIDw.js.br +0 -0
- package/dist/CheckoutWindow-CdAiqIDw.js.gz +0 -0
- package/dist/ErrorMessage-C8HsnG1r.js.br +0 -0
- package/dist/ErrorMessage-C8HsnG1r.js.gz +0 -0
- package/dist/EventAvailabilityForm-78aeZEOH.js.br +0 -0
- package/dist/EventAvailabilityForm-78aeZEOH.js.gz +0 -0
- package/dist/Field-BxSrgrQ5.js.br +0 -0
- package/dist/Field-BxSrgrQ5.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.gz +0 -0
- package/dist/TermsOfService-Bfud-yjT.js.gz +0 -0
- package/dist/_-COCg3q6j.js +0 -5
- package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.gz +0 -0
- package/dist/giftCard-DpJ3HhSP.js.br +0 -0
- package/dist/giftCard-DpJ3HhSP.js.gz +0 -0
- package/dist/index-BZyqtOJw.js.br +0 -0
- package/dist/index-BZyqtOJw.js.gz +0 -0
- package/dist/masonry.plugin-CPn7JWhD.js.br +0 -0
- package/dist/masonry.plugin-CPn7JWhD.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { d as U, u as X, s as
|
|
1
|
+
import { d as U, u as X, s as z, c as Z, r as Ae, a as p, b as l, g as e, w as m, q as J, e as t, i as d, f as b, n as lt, h as r, t as o, F as I, v as M, o as ot, j as st, x as me, y as it, z as R, A as rt, S as ut, k as dt, _ as ct, l as mt, m as pt, p as vt } from "./mitt-CWSmi8M-.js";
|
|
2
2
|
import { G as bt } from "./style-DJF9fHLt.js";
|
|
3
|
-
import { a as we, f as se, g as
|
|
4
|
-
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as Vt, _ as Tt, R as Nt, L as
|
|
6
|
-
import { g as
|
|
7
|
-
import { C as Gt, P as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
10
|
-
import { f as Yt
|
|
11
|
-
function
|
|
3
|
+
import { a as we, f as se, g as K, B as ft, h as le, l as gt, s as G, e as pe, _ as q, I as oe, i as kt, j as ve, u as $e, k as yt, m as ht, n as Dt, o as Q, T as ce, O as Pt, p as $t, q as _e, C as wt, r as Et, t as Ot } from "./SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js";
|
|
4
|
+
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js";
|
|
5
|
+
import { B as Vt, _ as Tt, R as Nt, L as Ie, S as Ft, M as Lt, T as Ct, C as Bt, V as At, a as It } from "./masonry.plugin-CK1Ecitm.js";
|
|
6
|
+
import { g as St, e as Rt, c as Mt, n as Ut, a as Ve, m as Te, b as Ne, d as Fe, f as Le, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js";
|
|
7
|
+
import { C as Gt, P as zt, a as Ce } from "./CheckoutWindow-O_qYS9cd.js";
|
|
8
|
+
import { E as qt } from "./EventAvailabilityForm-BHriF2rh.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js";
|
|
10
|
+
import { f as Yt } from "./index-BuCHQzvO.js";
|
|
11
|
+
function jt(P) {
|
|
12
12
|
return (n) => {
|
|
13
13
|
const k = (P ? Math[P] : Math.trunc)(n);
|
|
14
14
|
return k === 0 ? 0 : k;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
const k =
|
|
17
|
+
function Wt(P, n, a) {
|
|
18
|
+
const k = St(), v = a?.locale ?? k.locale ?? Rt, f = Mt(P, n);
|
|
19
19
|
if (isNaN(f))
|
|
20
20
|
throw new RangeError("Invalid time value");
|
|
21
21
|
const i = Object.assign({}, a, {
|
|
@@ -24,7 +24,7 @@ function Zt(P, n, a) {
|
|
|
24
24
|
}), [y, h] = Ut(
|
|
25
25
|
a?.in,
|
|
26
26
|
...f > 0 ? [n, P] : [P, n]
|
|
27
|
-
), s =
|
|
27
|
+
), s = jt("round"), T = h.getTime() - y.getTime(), $ = T / Le, C = Ve(h) - Ve(y), _ = (T - C) / Le, O = a?.unit;
|
|
28
28
|
let D;
|
|
29
29
|
if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ < Te ? D = "hour" : _ < Ne ? D = "day" : _ < Fe ? D = "month" : D = "year", D === "second") {
|
|
30
30
|
const w = s(T / 1e3);
|
|
@@ -46,7 +46,7 @@ function Zt(P, n, a) {
|
|
|
46
46
|
return v.formatDistance("xYears", w, i);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ U({
|
|
50
50
|
__name: "_",
|
|
51
51
|
props: {
|
|
52
52
|
name: {},
|
|
@@ -73,17 +73,17 @@ const Kt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
73
73
|
setup(P) {
|
|
74
74
|
const { t: n } = X(), a = P, { display: k } = we(), {
|
|
75
75
|
hideEventGuestAmount: v
|
|
76
|
-
} =
|
|
76
|
+
} = z(se()), {
|
|
77
77
|
maxNumberOfPeople: f,
|
|
78
78
|
numberOfPeople: i,
|
|
79
79
|
eventId: y,
|
|
80
80
|
currentEventDate: h,
|
|
81
81
|
tableGroupId: s
|
|
82
|
-
} =
|
|
82
|
+
} = z(K()), {
|
|
83
83
|
getTemplateAvailability: T,
|
|
84
84
|
getEventAvailability: $,
|
|
85
85
|
isEventListingLoading: C
|
|
86
|
-
} =
|
|
86
|
+
} = K(), _ = Z(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), O = Ae(0), D = Z(() => C(a.listingId)), w = () => {
|
|
87
87
|
if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
88
88
|
k({
|
|
89
89
|
type: "error",
|
|
@@ -114,10 +114,10 @@ const Kt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
114
114
|
"disable-deep-link": E.disableDeepLink
|
|
115
115
|
}, {
|
|
116
116
|
description: m(() => [
|
|
117
|
-
|
|
117
|
+
J(E.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
|
|
118
118
|
]),
|
|
119
119
|
action: m(() => [
|
|
120
|
-
|
|
120
|
+
J(E.$slots, "action", {}, () => [
|
|
121
121
|
t("div", {
|
|
122
122
|
class: lt([
|
|
123
123
|
"konnectio-event-listing-action",
|
|
@@ -136,7 +136,7 @@ const Kt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
136
136
|
"min-value": 0,
|
|
137
137
|
"max-value": _.value
|
|
138
138
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
139
|
-
t("div",
|
|
139
|
+
t("div", Zt, [
|
|
140
140
|
b(pe, {
|
|
141
141
|
label: E.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
142
142
|
disabled: E.soldOut,
|
|
@@ -152,14 +152,14 @@ const Kt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
152
152
|
_: 3
|
|
153
153
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
154
154
|
}
|
|
155
|
-
}),
|
|
156
|
-
const
|
|
155
|
+
}), Se = /* @__PURE__ */ q(Qt, [["__scopeId", "data-v-5bd6f82e"]]), Jt = { class: "konnectio-event-listing-information-new" };
|
|
156
|
+
const Kt = {
|
|
157
157
|
key: 1,
|
|
158
158
|
class: "konnectio-pill-button"
|
|
159
|
-
},
|
|
159
|
+
}, Xt = {
|
|
160
160
|
key: 2,
|
|
161
161
|
class: "konnectio-pill-button"
|
|
162
|
-
},
|
|
162
|
+
}, xt = { key: 0 }, en = { key: 1 }, tn = /* @__PURE__ */ U({
|
|
163
163
|
__name: "Event",
|
|
164
164
|
props: {
|
|
165
165
|
name: {},
|
|
@@ -185,16 +185,16 @@ const Xt = {
|
|
|
185
185
|
const n = P, { t: a } = X(), {
|
|
186
186
|
hideEventLength: k,
|
|
187
187
|
hideEventEndTime: v
|
|
188
|
-
} =
|
|
188
|
+
} = z(se()), f = Z(() => {
|
|
189
189
|
if (!n.length)
|
|
190
190
|
return;
|
|
191
191
|
const i = n.length.split(":");
|
|
192
|
-
return
|
|
192
|
+
return Wt(
|
|
193
193
|
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
194
194
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
195
195
|
);
|
|
196
196
|
});
|
|
197
|
-
return (i, y) => (l(), p(
|
|
197
|
+
return (i, y) => (l(), p(Se, {
|
|
198
198
|
"listing-id": i.listingId,
|
|
199
199
|
name: i.name,
|
|
200
200
|
description: i.description,
|
|
@@ -215,7 +215,7 @@ const Xt = {
|
|
|
215
215
|
}, null, 8, ["text"])) : d("", !0),
|
|
216
216
|
t("ul", Jt, [
|
|
217
217
|
d("", !0),
|
|
218
|
-
!e(k) && f.value ? (l(), r("li",
|
|
218
|
+
!e(k) && f.value ? (l(), r("li", Kt, [
|
|
219
219
|
t("div", null, [
|
|
220
220
|
b(oe, {
|
|
221
221
|
icon: "calendar-clock",
|
|
@@ -225,7 +225,7 @@ const Xt = {
|
|
|
225
225
|
]),
|
|
226
226
|
t("span", null, o(f.value), 1)
|
|
227
227
|
])) : d("", !0),
|
|
228
|
-
i.timeFrom ? (l(), r("li",
|
|
228
|
+
i.timeFrom ? (l(), r("li", Xt, [
|
|
229
229
|
t("div", null, [
|
|
230
230
|
b(oe, {
|
|
231
231
|
icon: "calendar-clock",
|
|
@@ -233,20 +233,20 @@ const Xt = {
|
|
|
233
233
|
}),
|
|
234
234
|
t("span", null, o(e(a)("event.startAndEndTime")), 1)
|
|
235
235
|
]),
|
|
236
|
-
e(v) ? (l(), r("span",
|
|
236
|
+
e(v) ? (l(), r("span", en, o(e(ve)(i.timeFrom)), 1)) : (l(), r("span", xt, o(e(kt)(i.timeFrom, i.timeTo)), 1))
|
|
237
237
|
])) : d("", !0)
|
|
238
238
|
])
|
|
239
239
|
]),
|
|
240
240
|
action: m(() => [
|
|
241
|
-
|
|
241
|
+
J(i.$slots, "action", {}, void 0, !0)
|
|
242
242
|
]),
|
|
243
243
|
_: 3
|
|
244
244
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
|
|
245
245
|
}
|
|
246
|
-
}), be = /* @__PURE__ */
|
|
246
|
+
}), be = /* @__PURE__ */ q(tn, [["__scopeId", "data-v-bd8a264c"]]), nn = {
|
|
247
247
|
key: 0,
|
|
248
248
|
class: "konnectio-event-grouped-listings-container"
|
|
249
|
-
},
|
|
249
|
+
}, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ U({
|
|
250
250
|
__name: "Event",
|
|
251
251
|
props: {
|
|
252
252
|
name: {},
|
|
@@ -254,10 +254,10 @@ const Xt = {
|
|
|
254
254
|
callback: { type: Function }
|
|
255
255
|
},
|
|
256
256
|
setup(P) {
|
|
257
|
-
return (n, a) => n.events && n.events.length > 1 ? (l(), r("div",
|
|
257
|
+
return (n, a) => n.events && n.events.length > 1 ? (l(), r("div", nn, [
|
|
258
258
|
d("", !0),
|
|
259
|
-
t("ul",
|
|
260
|
-
(l(!0), r(
|
|
259
|
+
t("ul", an, [
|
|
260
|
+
(l(!0), r(I, null, M(n.events, ({
|
|
261
261
|
id: k,
|
|
262
262
|
days: v,
|
|
263
263
|
name: f,
|
|
@@ -310,7 +310,7 @@ const Xt = {
|
|
|
310
310
|
callback: n.callback
|
|
311
311
|
}, 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"])) : d("", !0);
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
313
|
+
}), on = /* @__PURE__ */ q(ln, [["__scopeId", "data-v-71c9af93"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, un = { class: "konnectio-warning-notice" }, dn = { key: 0 }, cn = { key: 1 }, mn = /* @__PURE__ */ U({
|
|
314
314
|
__name: "NextEvent",
|
|
315
315
|
props: {
|
|
316
316
|
name: {},
|
|
@@ -332,7 +332,7 @@ const Xt = {
|
|
|
332
332
|
callback: { type: Function }
|
|
333
333
|
},
|
|
334
334
|
setup(P) {
|
|
335
|
-
const { t: n } = X(), { updateEventDate: a } = $e(), { display: k } = we(), v =
|
|
335
|
+
const { t: n } = X(), { updateEventDate: a } = $e(), { display: k } = we(), v = Ae(), f = P;
|
|
336
336
|
function i() {
|
|
337
337
|
v.value ? a(v.value) : k({
|
|
338
338
|
message: n("alert.error.selectDate"),
|
|
@@ -364,7 +364,7 @@ const Xt = {
|
|
|
364
364
|
}, {
|
|
365
365
|
action: m(() => [
|
|
366
366
|
t("div", null, [
|
|
367
|
-
t("div",
|
|
367
|
+
t("div", sn, [
|
|
368
368
|
b(Ht, {
|
|
369
369
|
modelValue: v.value,
|
|
370
370
|
"onUpdate:modelValue": T[0] || (T[0] = ($) => v.value = $),
|
|
@@ -378,18 +378,18 @@ const Xt = {
|
|
|
378
378
|
"max-date": new Date(s.toDate),
|
|
379
379
|
"disabled-week-days": h.value
|
|
380
380
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
381
|
-
t("div",
|
|
381
|
+
t("div", rn, [
|
|
382
382
|
b(pe, {
|
|
383
383
|
label: e(n)("availability.buttonLabel"),
|
|
384
384
|
onClick: st(i, ["prevent"])
|
|
385
385
|
}, null, 8, ["label"])
|
|
386
386
|
])
|
|
387
387
|
]),
|
|
388
|
-
t("div",
|
|
389
|
-
y.value ? (l(), r("span",
|
|
388
|
+
t("div", un, [
|
|
389
|
+
y.value ? (l(), r("span", dn, [
|
|
390
390
|
me("*" + o(e(n)("event.canBeBooked")) + " ", 1),
|
|
391
391
|
t("u", null, o(e(G)(s.fromDate)), 1)
|
|
392
|
-
])) : (l(), r("span",
|
|
392
|
+
])) : (l(), r("span", cn, [
|
|
393
393
|
me("*" + o(e(n)("event.canBeBooked")) + " ", 1),
|
|
394
394
|
t("u", null, o(e(Dt)(s.days)), 1)
|
|
395
395
|
]))
|
|
@@ -399,7 +399,7 @@ const Xt = {
|
|
|
399
399
|
_: 1
|
|
400
400
|
}, 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"]));
|
|
401
401
|
}
|
|
402
|
-
}),
|
|
402
|
+
}), pn = /* @__PURE__ */ q(mn, [["__scopeId", "data-v-f6aed3b0"]]), vn = ["innerHTML"], bn = /* @__PURE__ */ U({
|
|
403
403
|
__name: "FallbackEvent",
|
|
404
404
|
props: {
|
|
405
405
|
name: {},
|
|
@@ -426,12 +426,12 @@ const Xt = {
|
|
|
426
426
|
t("div", {
|
|
427
427
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
428
428
|
innerHTML: e(n)("event.notAvailable", { name: `<b>${a.name}</b>` })
|
|
429
|
-
}, null, 8,
|
|
429
|
+
}, null, 8, vn)
|
|
430
430
|
]),
|
|
431
431
|
_: 1
|
|
432
432
|
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "callback"]));
|
|
433
433
|
}
|
|
434
|
-
}),
|
|
434
|
+
}), fn = /* @__PURE__ */ q(bn, [["__scopeId", "data-v-14c5e97e"]]), gn = /* @__PURE__ */ U({
|
|
435
435
|
__name: "Template",
|
|
436
436
|
props: {
|
|
437
437
|
name: {},
|
|
@@ -448,7 +448,7 @@ const Xt = {
|
|
|
448
448
|
callback: {}
|
|
449
449
|
},
|
|
450
450
|
setup(P) {
|
|
451
|
-
return (n, a) => (l(), p(
|
|
451
|
+
return (n, a) => (l(), p(Se, {
|
|
452
452
|
"listing-id": n.listingId,
|
|
453
453
|
gallery: n.images,
|
|
454
454
|
name: n.name,
|
|
@@ -459,13 +459,13 @@ const Xt = {
|
|
|
459
459
|
callback: n.callback
|
|
460
460
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
461
461
|
}
|
|
462
|
-
}),
|
|
462
|
+
}), kn = {
|
|
463
463
|
key: 0,
|
|
464
464
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
465
|
-
},
|
|
465
|
+
}, yn = ["innerHTML"], hn = { key: 0 }, Dn = { key: 1 }, Pn = { key: 2 }, $n = { key: 0 }, wn = { key: 4 }, En = { key: 5 }, On = { key: 6 }, _n = { key: 0 }, Vn = { key: 0 }, Tn = { key: 1 }, Nn = {
|
|
466
466
|
key: 0,
|
|
467
467
|
class: "konnectio-capitalize"
|
|
468
|
-
},
|
|
468
|
+
}, Fn = /* @__PURE__ */ U({
|
|
469
469
|
__name: "EventReservationForm",
|
|
470
470
|
props: {
|
|
471
471
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -493,7 +493,7 @@ const Xt = {
|
|
|
493
493
|
totalSelectedProducts: L,
|
|
494
494
|
discountValue: Y,
|
|
495
495
|
appliedDiscountCode: fe
|
|
496
|
-
} =
|
|
496
|
+
} = z(K()), { totalAddonPrice: ie, validateDiscountCode: ge } = K(), { currency: re, hideEventLength: ke } = z(se()), ee = n("event.reservationNotice");
|
|
497
497
|
return (H, ue) => (l(), p(Nt, {
|
|
498
498
|
"discount-code": e(E),
|
|
499
499
|
"onUpdate:discountCode": ue[0] || (ue[0] = (j) => R(E) ? E.value = j : null),
|
|
@@ -509,28 +509,28 @@ const Xt = {
|
|
|
509
509
|
"prev-callback": H.prevCallback
|
|
510
510
|
}, rt({
|
|
511
511
|
form: m(() => [
|
|
512
|
-
|
|
513
|
-
e(ee) ? (l(), r("div",
|
|
512
|
+
J(H.$slots, "form", {}, void 0, !0),
|
|
513
|
+
e(ee) ? (l(), r("div", kn, [
|
|
514
514
|
t("p", {
|
|
515
515
|
innerHTML: e(ee),
|
|
516
516
|
class: "konnectio-wysiwyg"
|
|
517
|
-
}, null, 8,
|
|
517
|
+
}, null, 8, yn)
|
|
518
518
|
])) : d("", !0)
|
|
519
519
|
]),
|
|
520
520
|
"reservation-summary": m(() => [
|
|
521
|
-
e(h) ? d("", !0) : (l(), r("li",
|
|
521
|
+
e(h) ? d("", !0) : (l(), r("li", hn, [
|
|
522
522
|
t("span", null, o(e(n)("general.date")), 1),
|
|
523
523
|
t("b", null, o(e(G)(e(s))), 1)
|
|
524
524
|
])),
|
|
525
|
-
e(f) > 0 ? (l(), r("li",
|
|
525
|
+
e(f) > 0 ? (l(), r("li", Dn, [
|
|
526
526
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
527
527
|
t("b", null, o(e(f)), 1)
|
|
528
528
|
])) : d("", !0),
|
|
529
|
-
!e(h) && e(L) > 0 ? (l(), r("li",
|
|
529
|
+
!e(h) && e(L) > 0 ? (l(), r("li", Pn, [
|
|
530
530
|
t("span", null, o(e(n)("event.numberOfProducts")), 1),
|
|
531
531
|
t("b", null, o(e(L)), 1)
|
|
532
532
|
])) : d("", !0),
|
|
533
|
-
e(h) ? (l(), r(
|
|
533
|
+
e(h) ? (l(), r(I, { key: 3 }, [
|
|
534
534
|
t("li", null, [
|
|
535
535
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
536
536
|
t("b", null, o(e(G)(e($))), 1)
|
|
@@ -543,86 +543,86 @@ const Xt = {
|
|
|
543
543
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
544
544
|
t("b", null, o(e(i)), 1)
|
|
545
545
|
]),
|
|
546
|
-
e(y) > 0 ? (l(), r("li",
|
|
546
|
+
e(y) > 0 ? (l(), r("li", $n, [
|
|
547
547
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
548
548
|
t("b", null, o(e(y)), 1)
|
|
549
549
|
])) : d("", !0)
|
|
550
550
|
], 64)) : d("", !0),
|
|
551
|
-
!e(h) && e(v) ? (l(), r("li",
|
|
551
|
+
!e(h) && e(v) ? (l(), r("li", wn, [
|
|
552
552
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
553
553
|
t("b", null, o(e(ve)(e(v))), 1)
|
|
554
554
|
])) : d("", !0),
|
|
555
|
-
!e(h) && e(T) && !e(ke) ? (l(), r("li",
|
|
555
|
+
!e(h) && e(T) && !e(ke) ? (l(), r("li", En, [
|
|
556
556
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
557
557
|
t("b", null, o(e(ve)(e(T))), 1)
|
|
558
558
|
])) : d("", !0),
|
|
559
|
-
e(Y) ? (l(), r("li",
|
|
559
|
+
e(Y) ? (l(), r("li", On, [
|
|
560
560
|
t("span", null, o(e(n)("general.discountCode")), 1),
|
|
561
561
|
t("b", null, o(e(fe)), 1)
|
|
562
562
|
])) : d("", !0)
|
|
563
563
|
]),
|
|
564
564
|
"price-summary": m(() => [
|
|
565
|
-
!e(h) && e(C) > 0 ? (l(), r("li",
|
|
565
|
+
!e(h) && e(C) > 0 ? (l(), r("li", _n, [
|
|
566
566
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
567
|
-
t("b", null, o(e(
|
|
567
|
+
t("b", null, o(e(Q)(e(C), e(re))), 1)
|
|
568
568
|
])) : d("", !0),
|
|
569
|
-
e(_) ? (l(!0), r(
|
|
569
|
+
e(_) ? (l(!0), r(I, { key: 1 }, M(e(_), ({ roomGroupId: j }, W) => (l(), r(I, null, [
|
|
570
570
|
e(ie)(j, W) > 0 ? (l(), r("li", { key: j }, [
|
|
571
571
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(W + 1), 1),
|
|
572
|
-
t("b", null, o(e(
|
|
572
|
+
t("b", null, o(e(Q)(e(ie)(j, W), e(re))), 1)
|
|
573
573
|
])) : d("", !0)
|
|
574
574
|
], 64))), 256)) : d("", !0)
|
|
575
575
|
]),
|
|
576
576
|
navigation: m(() => [
|
|
577
|
-
|
|
577
|
+
J(H.$slots, "navigation", {}, void 0, !0)
|
|
578
578
|
]),
|
|
579
579
|
"mobile-under-price": m(() => [
|
|
580
|
-
e(h) && e(y) > 0 ? (l(), r("div",
|
|
580
|
+
e(h) && e(y) > 0 ? (l(), r("div", Vn, [
|
|
581
581
|
t("span", null, o(e(G)(e($))) + " - " + o(e(G)(e($), e(y))), 1)
|
|
582
|
-
])) : (l(), r("div",
|
|
582
|
+
])) : (l(), r("div", Tn, [
|
|
583
583
|
t("span", null, o(e(G)(e(s))), 1)
|
|
584
584
|
]))
|
|
585
585
|
]),
|
|
586
586
|
"mobile-summary": m(() => [
|
|
587
|
-
!e(h) && e(L) > 0 ? (l(), r("span",
|
|
587
|
+
!e(h) && e(L) > 0 ? (l(), r("span", Nn, o(e(n)("event.numberOfProducts")) + ": " + o(e(L)), 1)) : d("", !0)
|
|
588
588
|
]),
|
|
589
589
|
_: 2
|
|
590
590
|
}, [
|
|
591
591
|
e(a).sidebar ? {
|
|
592
592
|
name: "sidebar",
|
|
593
593
|
fn: m(() => [
|
|
594
|
-
|
|
594
|
+
J(H.$slots, "sidebar", {}, void 0, !0)
|
|
595
595
|
]),
|
|
596
596
|
key: "0"
|
|
597
597
|
} : void 0
|
|
598
598
|
]), 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"]));
|
|
599
599
|
}
|
|
600
|
-
}), Pe = /* @__PURE__ */
|
|
600
|
+
}), Pe = /* @__PURE__ */ q(Fn, [["__scopeId", "data-v-d2ff3f68"]]), Ln = { class: "event-skeleton" }, Cn = { class: "event-skeleton-content" }, Bn = { class: "event-skeleton-sidebar" }, An = /* @__PURE__ */ U({
|
|
601
601
|
__name: "EventSkeleton",
|
|
602
602
|
setup(P) {
|
|
603
|
-
return (n, a) => (l(), r("div",
|
|
604
|
-
t("div",
|
|
605
|
-
b(
|
|
603
|
+
return (n, a) => (l(), r("div", Ln, [
|
|
604
|
+
t("div", Cn, [
|
|
605
|
+
b(Ie)
|
|
606
606
|
]),
|
|
607
|
-
t("div",
|
|
607
|
+
t("div", Bn, [
|
|
608
608
|
d("", !0),
|
|
609
609
|
b(Ft)
|
|
610
610
|
])
|
|
611
611
|
]));
|
|
612
612
|
}
|
|
613
|
-
}), In = /* @__PURE__ */
|
|
613
|
+
}), In = /* @__PURE__ */ q(An, [["__scopeId", "data-v-3e15c4e3"]]), Sn = {
|
|
614
614
|
key: 0,
|
|
615
615
|
id: "konnectio-event-listings-wrapper"
|
|
616
|
-
},
|
|
616
|
+
}, Rn = {
|
|
617
617
|
key: 1,
|
|
618
618
|
class: "konnectio-hotel-availability-title"
|
|
619
|
-
},
|
|
619
|
+
}, Mn = { class: "konnectio-event-listings" }, Un = { class: "konnectio-hotel-availability-title" }, Hn = { class: "konnectio-event-listings" }, Gn = ["innerHTML"], zn = { class: "konnectio-panel" }, qn = {
|
|
620
620
|
key: 0,
|
|
621
621
|
id: "konnectio-event-addons"
|
|
622
|
-
},
|
|
622
|
+
}, Yn = { class: "konnectio-table with-lines" }, jn = { class: "konnectio-event-addons-price" }, Wn = { class: "konnectio-event-addons-input" }, Zn = { class: "konnectio-event-addons-price" }, Qn = { class: "konnectio-event-addons-price" }, Jn = {
|
|
623
623
|
key: 1,
|
|
624
624
|
class: "konnectio-table with-lines without-header"
|
|
625
|
-
},
|
|
625
|
+
}, Kn = { class: "konnectio-table-addons-information" }, Xn = { key: 0 }, xn = { class: "konnectio-table-addons-option" }, ea = { class: "konnectio-panel" }, ta = /* @__PURE__ */ U({
|
|
626
626
|
name: "EventLayout",
|
|
627
627
|
__name: "Event",
|
|
628
628
|
props: {
|
|
@@ -669,15 +669,15 @@ const Xt = {
|
|
|
669
669
|
getUnavailableEvents: W,
|
|
670
670
|
hasFallbackEvents: Ee,
|
|
671
671
|
getFallbackEvents: Re
|
|
672
|
-
} =
|
|
673
|
-
initialize:
|
|
674
|
-
fetchListings:
|
|
672
|
+
} = z(K()), { currency: de } = z(se()), { setActiveIdFilter: Me } = se(), { eventDate: Ue, eventLocation: He } = z($e()), { isValidRestaurantId: Ge } = $e(), {
|
|
673
|
+
initialize: ze,
|
|
674
|
+
fetchListings: qe,
|
|
675
675
|
createBooking: Ye,
|
|
676
676
|
localAddonPrice: je,
|
|
677
677
|
totalAddonPrice: We,
|
|
678
678
|
reset: Ze,
|
|
679
679
|
goBack: Oe
|
|
680
|
-
} =
|
|
680
|
+
} = K(), { display: ye } = we(), Qe = Z(() => [
|
|
681
681
|
{
|
|
682
682
|
id: "availability",
|
|
683
683
|
label: a("booking.availability.title"),
|
|
@@ -703,7 +703,7 @@ const Xt = {
|
|
|
703
703
|
label: a("booking.confirmation.title"),
|
|
704
704
|
icon: "calendar-check"
|
|
705
705
|
}
|
|
706
|
-
]),
|
|
706
|
+
]), Je = Z(() => {
|
|
707
707
|
const g = [];
|
|
708
708
|
return Y.value && Y.value.forEach((c) => {
|
|
709
709
|
g.find((F) => F.value === c.time) || g.push({
|
|
@@ -712,7 +712,7 @@ const Xt = {
|
|
|
712
712
|
});
|
|
713
713
|
}), g;
|
|
714
714
|
});
|
|
715
|
-
function
|
|
715
|
+
function Ke() {
|
|
716
716
|
Ze(n.resetDate === "yes");
|
|
717
717
|
}
|
|
718
718
|
function Xe() {
|
|
@@ -721,8 +721,8 @@ const Xt = {
|
|
|
721
721
|
}), c = parseInt(g.rid), F = g.d, V = parseInt(g.eid);
|
|
722
722
|
if (F)
|
|
723
723
|
if (Ot(F)) {
|
|
724
|
-
const u = new Date(F), B = u.setHours(12, 0, 0, 0),
|
|
725
|
-
B >=
|
|
724
|
+
const u = new Date(F), B = u.setHours(12, 0, 0, 0), S = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
725
|
+
B >= S ? Ue.value = u : (ye({
|
|
726
726
|
message: a("alert.error.invalidDateRange"),
|
|
727
727
|
type: "error"
|
|
728
728
|
}), g.d = void 0);
|
|
@@ -734,7 +734,7 @@ const Xt = {
|
|
|
734
734
|
isNaN(c) || (Ge(c) ? He.value = c : (g.rid = void 0, ye({
|
|
735
735
|
message: a("alert.error.hotelIdNotFound"),
|
|
736
736
|
type: "error"
|
|
737
|
-
}))), isNaN(V) || Me(V),
|
|
737
|
+
}))), isNaN(V) || Me(V), qe();
|
|
738
738
|
}
|
|
739
739
|
return (g, c) => (l(), p(wt, { styling: g.styling }, {
|
|
740
740
|
default: m(() => [
|
|
@@ -743,39 +743,39 @@ const Xt = {
|
|
|
743
743
|
b(_t, {
|
|
744
744
|
id: "konnectio-event-module",
|
|
745
745
|
"access-token": g.accessToken,
|
|
746
|
-
callback: e(
|
|
746
|
+
callback: e(ze)
|
|
747
747
|
}, {
|
|
748
748
|
default: m(() => [
|
|
749
749
|
b(Lt, {
|
|
750
|
-
steps:
|
|
751
|
-
onReset:
|
|
750
|
+
steps: Qe.value,
|
|
751
|
+
onReset: Ke
|
|
752
752
|
}, {
|
|
753
753
|
availability: m(({ next: F }) => [
|
|
754
754
|
b(Pe, null, {
|
|
755
755
|
sidebar: m(() => [
|
|
756
|
-
b(
|
|
756
|
+
b(qt, {
|
|
757
757
|
redirection: !1,
|
|
758
758
|
"selected-location": Number(g.selectedLocation),
|
|
759
759
|
"hide-locations": g.hideLocations === "yes"
|
|
760
760
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
761
761
|
]),
|
|
762
762
|
form: m(() => [
|
|
763
|
-
e(ke) && e(ge) ? (l(), r("div",
|
|
764
|
-
e(Ee) ? (l(!0), r(
|
|
763
|
+
e(ke) && e(ge) ? (l(), r("div", Sn, [
|
|
764
|
+
e(Ee) ? (l(!0), r(I, { key: 0 }, M(e(Re), ({
|
|
765
765
|
id: V,
|
|
766
766
|
name: u,
|
|
767
767
|
description: B,
|
|
768
|
-
images:
|
|
769
|
-
}) => (l(), p(
|
|
768
|
+
images: S
|
|
769
|
+
}) => (l(), p(fn, {
|
|
770
770
|
key: V,
|
|
771
771
|
type: "event",
|
|
772
772
|
"listing-id": V,
|
|
773
773
|
description: B,
|
|
774
774
|
name: u,
|
|
775
|
-
gallery:
|
|
775
|
+
gallery: S,
|
|
776
776
|
callback: F
|
|
777
777
|
}, null, 8, ["listing-id", "description", "name", "gallery", "callback"]))), 128)) : d("", !0),
|
|
778
|
-
e(O) && e(W).length > 0 ? (l(), r("h2",
|
|
778
|
+
e(O) && e(W).length > 0 ? (l(), r("h2", Rn, [
|
|
779
779
|
b(oe, {
|
|
780
780
|
icon: "calendar-clock",
|
|
781
781
|
type: "fal",
|
|
@@ -783,36 +783,36 @@ const Xt = {
|
|
|
783
783
|
}),
|
|
784
784
|
t("span", null, o(e(a)("event.availableNow")), 1)
|
|
785
785
|
])) : d("", !0),
|
|
786
|
-
t("ul",
|
|
787
|
-
e(O) && g.onlyShow !== "templates" ? (l(!0), r(
|
|
786
|
+
t("ul", Mn, [
|
|
787
|
+
e(O) && g.onlyShow !== "templates" ? (l(!0), r(I, { key: 0 }, M(e(w), (V) => (l(), p(on, {
|
|
788
788
|
name: V.name,
|
|
789
789
|
events: V.events,
|
|
790
790
|
callback: F
|
|
791
791
|
}, null, 8, ["name", "events", "callback"]))), 256)) : d("", !0),
|
|
792
|
-
e(D) && g.onlyShow !== "events" ? (l(!0), r(
|
|
792
|
+
e(D) && g.onlyShow !== "events" ? (l(!0), r(I, { key: 1 }, M(e(x), ({
|
|
793
793
|
id: V,
|
|
794
794
|
name: u,
|
|
795
795
|
fromDate: B,
|
|
796
|
-
toDate:
|
|
796
|
+
toDate: S,
|
|
797
797
|
minimumPersonCount: N,
|
|
798
|
-
fromPrice:
|
|
798
|
+
fromPrice: A,
|
|
799
799
|
description: te,
|
|
800
800
|
images: ne
|
|
801
|
-
}) => (l(), p(
|
|
801
|
+
}) => (l(), p(gn, {
|
|
802
802
|
key: V,
|
|
803
803
|
"listing-id": V,
|
|
804
804
|
name: u,
|
|
805
805
|
images: ne,
|
|
806
806
|
description: te,
|
|
807
807
|
"from-date": B,
|
|
808
|
-
"to-date":
|
|
808
|
+
"to-date": S,
|
|
809
809
|
"minimum-person-count": N,
|
|
810
|
-
fromPrice:
|
|
810
|
+
fromPrice: A,
|
|
811
811
|
callback: F
|
|
812
812
|
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : d("", !0)
|
|
813
813
|
]),
|
|
814
|
-
e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(
|
|
815
|
-
t("h2",
|
|
814
|
+
e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(I, { key: 2 }, [
|
|
815
|
+
t("h2", Un, [
|
|
816
816
|
b(oe, {
|
|
817
817
|
icon: "calendar-circle-exclamation",
|
|
818
818
|
type: "fal",
|
|
@@ -820,14 +820,14 @@ const Xt = {
|
|
|
820
820
|
}),
|
|
821
821
|
t("span", null, o(e(a)("event.availableLater")), 1)
|
|
822
822
|
]),
|
|
823
|
-
t("ul",
|
|
824
|
-
(l(!0), r(
|
|
823
|
+
t("ul", Hn, [
|
|
824
|
+
(l(!0), r(I, null, M(e(W), ({
|
|
825
825
|
id: V,
|
|
826
826
|
days: u,
|
|
827
827
|
name: B,
|
|
828
|
-
timeFrom:
|
|
828
|
+
timeFrom: S,
|
|
829
829
|
timeTo: N,
|
|
830
|
-
fromDate:
|
|
830
|
+
fromDate: A,
|
|
831
831
|
toDate: te,
|
|
832
832
|
tableGroupId: ne,
|
|
833
833
|
description: he,
|
|
@@ -838,7 +838,7 @@ const Xt = {
|
|
|
838
838
|
maxPaxPerReservation: tt,
|
|
839
839
|
useNumberOfProductsForPersons: nt,
|
|
840
840
|
maxTicketsLimit: at
|
|
841
|
-
}) => (l(), p(
|
|
841
|
+
}) => (l(), p(pn, {
|
|
842
842
|
key: V,
|
|
843
843
|
type: "event",
|
|
844
844
|
"listing-id": V,
|
|
@@ -848,10 +848,10 @@ const Xt = {
|
|
|
848
848
|
length: ae,
|
|
849
849
|
gallery: xe,
|
|
850
850
|
days: u,
|
|
851
|
-
"from-date":
|
|
851
|
+
"from-date": A,
|
|
852
852
|
"to-date": te,
|
|
853
853
|
"max-online-reservation-limit": tt || et || at,
|
|
854
|
-
"time-from":
|
|
854
|
+
"time-from": S,
|
|
855
855
|
"time-to": N,
|
|
856
856
|
"sold-out": De,
|
|
857
857
|
"use-number-of-products-for-persons": nt,
|
|
@@ -863,8 +863,8 @@ const Xt = {
|
|
|
863
863
|
key: 3,
|
|
864
864
|
class: "konnectio-panel",
|
|
865
865
|
innerHTML: e(a)("event.nothingAvailable")
|
|
866
|
-
}, null, 8,
|
|
867
|
-
])) : (l(), p(
|
|
866
|
+
}, null, 8, Gn)) : d("", !0)
|
|
867
|
+
])) : (l(), p(Ie, { key: 1 }))
|
|
868
868
|
]),
|
|
869
869
|
_: 2
|
|
870
870
|
}, 1024)
|
|
@@ -879,11 +879,11 @@ const Xt = {
|
|
|
879
879
|
t("h2", null, [
|
|
880
880
|
t("span", null, o(e(a)("event.selectProducts")), 1)
|
|
881
881
|
]),
|
|
882
|
-
e(L) && e(L).length > 0 ? (l(), r("ul",
|
|
883
|
-
(l(!0), r(
|
|
882
|
+
e(L) && e(L).length > 0 ? (l(), r("ul", qn, [
|
|
883
|
+
(l(!0), r(I, null, M(e(L), ({
|
|
884
884
|
roomGroupId: u,
|
|
885
885
|
addons: B,
|
|
886
|
-
adultPerRoom:
|
|
886
|
+
adultPerRoom: S
|
|
887
887
|
}, N) => (l(), r("li", { key: u }, [
|
|
888
888
|
t("h5", null, [
|
|
889
889
|
t("span", null, o(e(a)("booking.reservation.room")) + " #" + o(N + 1), 1),
|
|
@@ -893,49 +893,49 @@ const Xt = {
|
|
|
893
893
|
type: "fas",
|
|
894
894
|
color: "header"
|
|
895
895
|
}),
|
|
896
|
-
me(" " + o(
|
|
896
|
+
me(" " + o(S) + ") ", 1)
|
|
897
897
|
]),
|
|
898
|
-
t("table",
|
|
898
|
+
t("table", Yn, [
|
|
899
899
|
t("thead", null, [
|
|
900
900
|
t("tr", null, [
|
|
901
901
|
t("th", null, [
|
|
902
902
|
t("span", null, o(e(a)("booking.reservation.addons")), 1)
|
|
903
903
|
]),
|
|
904
904
|
c[10] || (c[10] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
905
|
-
t("th",
|
|
905
|
+
t("th", jn, [
|
|
906
906
|
t("span", null, o(e(a)("booking.availability.price")), 1)
|
|
907
907
|
])
|
|
908
908
|
])
|
|
909
909
|
]),
|
|
910
910
|
t("tbody", null, [
|
|
911
|
-
(l(!0), r(
|
|
912
|
-
id:
|
|
911
|
+
(l(!0), r(I, null, M(B, ({
|
|
912
|
+
id: A,
|
|
913
913
|
cardinality: te,
|
|
914
914
|
name: ne,
|
|
915
915
|
price: he,
|
|
916
916
|
quantityStrategy: De
|
|
917
|
-
}) => (l(), r("tr", { key:
|
|
917
|
+
}) => (l(), r("tr", { key: A }, [
|
|
918
918
|
t("td", null, [
|
|
919
919
|
t("b", null, o(ne), 1),
|
|
920
920
|
c[11] || (c[11] = t("br", null, null, -1)),
|
|
921
|
-
t("span", null, o(e(
|
|
921
|
+
t("span", null, o(e(Q)(he, e(de))) + " " + o(e($t)(De)), 1)
|
|
922
922
|
]),
|
|
923
|
-
t("td",
|
|
923
|
+
t("td", Wn, [
|
|
924
924
|
te === 3 ? (l(), p(le, {
|
|
925
925
|
key: 0,
|
|
926
|
-
modelValue: e(k)[`${u}.${
|
|
927
|
-
"onUpdate:modelValue": (ae) => e(k)[`${u}.${
|
|
926
|
+
modelValue: e(k)[`${u}.${A}.${N}`],
|
|
927
|
+
"onUpdate:modelValue": (ae) => e(k)[`${u}.${A}.${N}`] = ae,
|
|
928
928
|
small: !0,
|
|
929
929
|
"min-value": 0
|
|
930
930
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), p(Ce, {
|
|
931
931
|
key: 1,
|
|
932
|
-
modelValue: e(k)[`${u}.${
|
|
933
|
-
"onUpdate:modelValue": (ae) => e(k)[`${u}.${
|
|
932
|
+
modelValue: e(k)[`${u}.${A}.${N}`],
|
|
933
|
+
"onUpdate:modelValue": (ae) => e(k)[`${u}.${A}.${N}`] = ae,
|
|
934
934
|
numeric: !0
|
|
935
935
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
936
936
|
]),
|
|
937
|
-
t("td",
|
|
938
|
-
t("span", null, o(e(
|
|
937
|
+
t("td", Zn, [
|
|
938
|
+
t("span", null, o(e(Q)(e(je)(A, u, N), e(de))), 1)
|
|
939
939
|
])
|
|
940
940
|
]))), 128))
|
|
941
941
|
]),
|
|
@@ -945,7 +945,7 @@ const Xt = {
|
|
|
945
945
|
c[13] || (c[13] = t("td", null, null, -1)),
|
|
946
946
|
t("td", Qn, [
|
|
947
947
|
t("u", null, [
|
|
948
|
-
t("span", null, o(e(
|
|
948
|
+
t("span", null, o(e(Q)(e(We)(u, N), e(de))), 1)
|
|
949
949
|
])
|
|
950
950
|
])
|
|
951
951
|
])
|
|
@@ -955,18 +955,18 @@ const Xt = {
|
|
|
955
955
|
])) : d("", !0),
|
|
956
956
|
e(fe) ? (l(), r("table", Jn, [
|
|
957
957
|
t("tbody", null, [
|
|
958
|
-
(l(!0), r(
|
|
959
|
-
t("td",
|
|
958
|
+
(l(!0), r(I, null, M(e(E).products, ({ id: u, name: B, price: S, description: N }) => (l(), r("tr", { key: u }, [
|
|
959
|
+
t("td", Kn, [
|
|
960
960
|
t("b", null, [
|
|
961
961
|
t("span", null, o(e(_e)(B)), 1)
|
|
962
962
|
]),
|
|
963
|
-
N && N !== B ? (l(), r("span",
|
|
964
|
-
t("u", null, o(e(
|
|
963
|
+
N && N !== B ? (l(), r("span", Xn, o(e(_e)(N)), 1)) : d("", !0),
|
|
964
|
+
t("u", null, o(e(Q)(S, e(de))), 1)
|
|
965
965
|
]),
|
|
966
|
-
t("td",
|
|
966
|
+
t("td", xn, [
|
|
967
967
|
b(le, {
|
|
968
968
|
modelValue: e(v)[u],
|
|
969
|
-
"onUpdate:modelValue": (
|
|
969
|
+
"onUpdate:modelValue": (A) => e(v)[u] = A,
|
|
970
970
|
small: !0,
|
|
971
971
|
"min-value": 0
|
|
972
972
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -994,7 +994,7 @@ const Xt = {
|
|
|
994
994
|
"prev-callback": () => e(Oe)(V)
|
|
995
995
|
}, {
|
|
996
996
|
form: m(() => [
|
|
997
|
-
t("form",
|
|
997
|
+
t("form", ea, [
|
|
998
998
|
t("h2", null, [
|
|
999
999
|
t("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
|
|
1000
1000
|
]),
|
|
@@ -1018,7 +1018,7 @@ const Xt = {
|
|
|
1018
1018
|
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
1019
1019
|
required: ""
|
|
1020
1020
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1021
|
-
b(
|
|
1021
|
+
b(zt, {
|
|
1022
1022
|
modelValue: e(s),
|
|
1023
1023
|
"onUpdate:modelValue": c[2] || (c[2] = (u) => R(s) ? s.value = u : null),
|
|
1024
1024
|
label: e(a)("booking.reservation.phone"),
|
|
@@ -1032,7 +1032,7 @@ const Xt = {
|
|
|
1032
1032
|
"onUpdate:modelValue": c[3] || (c[3] = (u) => R(_) ? _.value = u : null),
|
|
1033
1033
|
label: e(a)("event.selectArrivalTime"),
|
|
1034
1034
|
name: "eventTimeTable",
|
|
1035
|
-
checkboxes:
|
|
1035
|
+
checkboxes: Je.value,
|
|
1036
1036
|
required: ""
|
|
1037
1037
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : d("", !0),
|
|
1038
1038
|
e(ie) === e(Pt).FullDayEvent ? (l(), p(le, {
|
|
@@ -1112,10 +1112,8 @@ const Xt = {
|
|
|
1112
1112
|
_: 1
|
|
1113
1113
|
}, 8, ["styling"]));
|
|
1114
1114
|
}
|
|
1115
|
-
}), Be = /* @__PURE__ */
|
|
1116
|
-
|
|
1117
|
-
const aa = dt(), la = ct, oa = la();
|
|
1118
|
-
class sa extends HTMLElement {
|
|
1115
|
+
}), Be = /* @__PURE__ */ q(ta, [["__scopeId", "data-v-55115e88"]]), na = dt(), aa = ct, la = aa();
|
|
1116
|
+
class oa extends HTMLElement {
|
|
1119
1117
|
vueApp;
|
|
1120
1118
|
constructor() {
|
|
1121
1119
|
super();
|
|
@@ -1125,13 +1123,13 @@ class sa extends HTMLElement {
|
|
|
1125
1123
|
}
|
|
1126
1124
|
connectedCallback() {
|
|
1127
1125
|
const n = mt(Be, this.attributes);
|
|
1128
|
-
this.vueApp = pt(Be, n), this.vueApp.provide("emitter",
|
|
1126
|
+
this.vueApp = pt(Be, n), this.vueApp.provide("emitter", la), this.vueApp.use(Yt), this.vueApp.use(vt), this.vueApp.use(na), this.vueApp.use(At), this.vueApp.use(bt), this.vueApp.use(It);
|
|
1129
1127
|
const a = document.createElement("div");
|
|
1130
1128
|
this.vueApp.mount(a), this.appendChild(a.children[0]);
|
|
1131
1129
|
}
|
|
1132
1130
|
}
|
|
1133
|
-
window.customElements.define("konnectio-event",
|
|
1131
|
+
window.customElements.define("konnectio-event", oa);
|
|
1134
1132
|
export {
|
|
1135
|
-
|
|
1133
|
+
oa as default
|
|
1136
1134
|
};
|
|
1137
1135
|
//# sourceMappingURL=event.js.map
|