@konnectio/core 4.4.8 → 4.4.9
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/README.md +274 -274
- package/dist/{ActionField-DjYUsVEl.js → ActionField-CjB94ywQ.js} +3 -3
- package/dist/ActionField-CjB94ywQ.js.br +0 -0
- package/dist/ActionField-CjB94ywQ.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Ced6gdUY.js → AvailabilitySkeleton-GcNIEr0O.js} +85 -77
- package/dist/AvailabilitySkeleton-GcNIEr0O.js.br +0 -0
- package/dist/AvailabilitySkeleton-GcNIEr0O.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js} +2963 -2840
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.gz +0 -0
- package/dist/{CheckoutWindow-B-HulkOw.js → CheckoutWindow-jLe1mUEB.js} +6 -6
- package/dist/CheckoutWindow-jLe1mUEB.js.br +0 -0
- package/dist/CheckoutWindow-jLe1mUEB.js.gz +0 -0
- package/dist/{ErrorMessage-C-LZif3u.js → ErrorMessage-uA3IcjN_.js} +3 -3
- package/dist/ErrorMessage-uA3IcjN_.js.br +0 -0
- package/dist/ErrorMessage-uA3IcjN_.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CdaoawQu.js → EventAvailabilityForm-4m-RW0Lx.js} +4 -4
- package/dist/EventAvailabilityForm-4m-RW0Lx.js.br +0 -0
- package/dist/EventAvailabilityForm-4m-RW0Lx.js.gz +0 -0
- package/dist/{Field-BxQDGBO6.js → Field-D9fOd9ca.js} +6 -6
- package/dist/Field-D9fOd9ca.js.br +0 -0
- package/dist/Field-D9fOd9ca.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js +21 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.br +5 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js → SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js} +2554 -2537
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.gz +0 -0
- package/dist/{TermsOfService-9-UO5S3G.js → TermsOfService-CD3_lM8u.js} +6 -6
- package/dist/TermsOfService-CD3_lM8u.js.br +0 -0
- package/dist/TermsOfService-CD3_lM8u.js.gz +0 -0
- package/dist/_-DeLqDsjZ.js +5 -0
- package/dist/_-DeLqDsjZ.js.br +0 -0
- package/dist/_-DeLqDsjZ.js.gz +2 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-C8tlnRr1.js → _.vue_vue_type_style_index_0_lang-BdANnGTG.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.gz +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +6 -6
- 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/deep-link.js.gz +0 -0
- package/dist/event.js +123 -123
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +14 -14
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +13 -13
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-D-f02FPM.js → giftCard-G-zvnJVj.js} +2 -2
- package/dist/giftCard-G-zvnJVj.js.br +0 -0
- package/dist/giftCard-G-zvnJVj.js.gz +0 -0
- package/dist/hotel.js +1921 -1910
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-CBRMHLd-.js → index-BEOLg3OJ.js} +3 -3
- package/dist/index-BEOLg3OJ.js.br +0 -0
- package/dist/index-BEOLg3OJ.js.gz +0 -0
- package/dist/{masonry.plugin-emIQEcmM.js → masonry.plugin-gbufcPfU.js} +16 -16
- package/dist/masonry.plugin-gbufcPfU.js.br +0 -0
- package/dist/masonry.plugin-gbufcPfU.js.gz +0 -0
- package/dist/mitt-Cj---5fy.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/dist/{style-DLdT0Zxs.js → style-n4UQjvXd.js} +45 -45
- package/dist/style-n4UQjvXd.js.br +0 -0
- package/dist/style-n4UQjvXd.js.gz +0 -0
- package/package.json +118 -118
- package/dist/ActionField-DjYUsVEl.js.br +0 -0
- package/dist/ActionField-DjYUsVEl.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.br +0 -0
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.gz +0 -0
- package/dist/CheckoutWindow-B-HulkOw.js.br +0 -0
- package/dist/CheckoutWindow-B-HulkOw.js.gz +0 -0
- package/dist/ErrorMessage-C-LZif3u.js.br +0 -0
- package/dist/ErrorMessage-C-LZif3u.js.gz +0 -0
- package/dist/EventAvailabilityForm-CdaoawQu.js.br +0 -0
- package/dist/EventAvailabilityForm-CdaoawQu.js.gz +0 -0
- package/dist/Field-BxQDGBO6.js.br +0 -0
- package/dist/Field-BxQDGBO6.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js +0 -21
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.gz +0 -0
- package/dist/TermsOfService-9-UO5S3G.js.br +0 -0
- package/dist/TermsOfService-9-UO5S3G.js.gz +0 -0
- package/dist/_-DgORUiWu.js +0 -5
- package/dist/_-DgORUiWu.js.br +0 -0
- package/dist/_-DgORUiWu.js.gz +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.gz +0 -0
- package/dist/giftCard-D-f02FPM.js.br +0 -0
- package/dist/giftCard-D-f02FPM.js.gz +0 -0
- package/dist/index-CBRMHLd-.js.br +0 -0
- package/dist/index-CBRMHLd-.js.gz +0 -0
- package/dist/masonry.plugin-emIQEcmM.js.br +0 -0
- package/dist/masonry.plugin-emIQEcmM.js.gz +0 -0
- package/dist/style-DLdT0Zxs.js.br +0 -0
- package/dist/style-DLdT0Zxs.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { d as M, u as _, s as q, c as v, a as l, g as e, w as b, q as K, e as n, i as r, b as Y, r as Ae, f as h, n as ot, h as s, t as o, F as N, v as R, o as it, j as st, x as ue, y as rt, z as S, A as
|
|
2
|
-
import { G as
|
|
3
|
-
import { a as Ee, f as oe, g as X, h as Se, B as
|
|
4
|
-
import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as Vt, _ as Ft, R as Nt, L as Re, S as Lt, M as Ct, T as Bt, C as It, V as At, a as St } from "./masonry.plugin-
|
|
6
|
-
import { g as Rt, e as Mt, c as Ut, n as Ht, a as Te, b as Gt, m as Ve, d as Fe, f as Ne, h as Le, _ as zt } from "./AvailabilitySkeleton.
|
|
7
|
-
import { C as qt, P as Yt, a as Ce } from "./CheckoutWindow-
|
|
8
|
-
import { E as jt } from "./EventAvailabilityForm-
|
|
9
|
-
import "./Field.
|
|
10
|
-
import { f as Wt } from "./index-
|
|
1
|
+
import { d as M, u as _, s as q, c as v, a as l, g as e, w as b, q as K, e as n, i as r, b as Y, r as Ae, f as h, n as ot, h as s, t as o, F as N, v as R, o as it, j as st, x as ue, y as rt, z as S, A as ct, S as dt, k as ut, _ as mt, l as vt, m as bt, p as gt } from "./mitt-Cj---5fy.js";
|
|
2
|
+
import { G as kt } from "./style-n4UQjvXd.js";
|
|
3
|
+
import { a as Ee, f as oe, g as X, h as Se, B as ft, i as ae, l as yt, s as z, d as me, _ as G, I as le, j as ht, k as ve, u as Pe, m as pt, n as Dt, o as Pt, p as J, T as de, O as Et, q as $t, r as xe, C as wt, t as Ot, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js";
|
|
4
|
+
import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-BdANnGTG.js";
|
|
5
|
+
import { B as Vt, _ as Ft, R as Nt, L as Re, S as Lt, M as Ct, T as Bt, C as It, V as At, a as St } from "./masonry.plugin-gbufcPfU.js";
|
|
6
|
+
import { g as Rt, e as Mt, c as Ut, n as Ht, a as Te, b as Gt, m as Ve, d as Fe, f as Ne, h as Le, _ as zt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js";
|
|
7
|
+
import { C as qt, P as Yt, a as Ce } from "./CheckoutWindow-jLe1mUEB.js";
|
|
8
|
+
import { E as jt } from "./EventAvailabilityForm-4m-RW0Lx.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js";
|
|
10
|
+
import { f as Wt } from "./index-BEOLg3OJ.js";
|
|
11
11
|
function Zt(t, i, a) {
|
|
12
|
-
const E = Rt(), m = a?.locale ?? E.locale ?? Mt,
|
|
13
|
-
if (isNaN(
|
|
12
|
+
const E = Rt(), m = a?.locale ?? E.locale ?? Mt, k = Ut(t, i);
|
|
13
|
+
if (isNaN(k))
|
|
14
14
|
throw new RangeError("Invalid time value");
|
|
15
15
|
const g = Object.assign({}, a, {
|
|
16
16
|
addSuffix: a?.addSuffix,
|
|
17
|
-
comparison:
|
|
18
|
-
}), [
|
|
17
|
+
comparison: k
|
|
18
|
+
}), [f, p] = Ht(
|
|
19
19
|
a?.in,
|
|
20
|
-
...
|
|
21
|
-
), D = Gt("round"), $ = p.getTime() -
|
|
20
|
+
...k > 0 ? [i, t] : [t, i]
|
|
21
|
+
), D = Gt("round"), $ = p.getTime() - f.getTime(), P = $ / Le, T = Te(p) - Te(f), w = ($ - T) / Le, x = a?.unit;
|
|
22
22
|
let u;
|
|
23
23
|
if (P < 1 ? u = "second" : P < 60 ? u = "minute" : P < Ve ? u = "hour" : w < Fe ? u = "day" : w < Ne ? u = "month" : u = "year", u === "second") {
|
|
24
24
|
const y = D($ / 1e3);
|
|
@@ -68,16 +68,16 @@ const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__
|
|
|
68
68
|
const { t: i } = _(), a = t, { display: E } = Ee(), {
|
|
69
69
|
hideEventGuestAmount: m
|
|
70
70
|
} = q(oe()), {
|
|
71
|
-
maxNumberOfPeople:
|
|
71
|
+
maxNumberOfPeople: k,
|
|
72
72
|
numberOfPeople: g,
|
|
73
|
-
eventId:
|
|
73
|
+
eventId: f,
|
|
74
74
|
currentEventDate: p,
|
|
75
75
|
tableGroupId: D
|
|
76
76
|
} = q(X()), {
|
|
77
77
|
getTemplateAvailability: $,
|
|
78
78
|
getEventAvailability: P,
|
|
79
79
|
isEventListingLoading: T
|
|
80
|
-
} = X(), { addToCart: w } = Se(), x = Y(() => a.maxGuests || a.maxOnlineReservationLimit ||
|
|
80
|
+
} = X(), { addToCart: w } = Se(), x = Y(() => a.maxGuests || a.maxOnlineReservationLimit || k.value || 1 / 0), u = Ae(0), y = Y(() => T(a.listingId)), j = () => {
|
|
81
81
|
if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
|
|
82
82
|
E({
|
|
83
83
|
type: "error",
|
|
@@ -89,7 +89,7 @@ const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__
|
|
|
89
89
|
id: a.listingId,
|
|
90
90
|
name: a.name,
|
|
91
91
|
value: a.fromPrice || 0
|
|
92
|
-
}),
|
|
92
|
+
}), f.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
|
|
93
93
|
}, B = () => {
|
|
94
94
|
if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
|
|
95
95
|
E({
|
|
@@ -102,7 +102,7 @@ const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__
|
|
|
102
102
|
id: a.listingId,
|
|
103
103
|
name: a.name,
|
|
104
104
|
value: a.fromPrice || 0
|
|
105
|
-
}),
|
|
105
|
+
}), f.value = a.listingId, D.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, P(a.callback);
|
|
106
106
|
};
|
|
107
107
|
return (C, U) => (l(), v(Vt, {
|
|
108
108
|
type: "event",
|
|
@@ -112,11 +112,11 @@ const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__
|
|
|
112
112
|
description: t.description,
|
|
113
113
|
"prices-from": t.fromPrice,
|
|
114
114
|
"to-date": t.toDate,
|
|
115
|
-
layout: e(
|
|
115
|
+
layout: e(ft).Event,
|
|
116
116
|
"disable-deep-link": t.disableDeepLink
|
|
117
117
|
}, {
|
|
118
118
|
description: b(() => [
|
|
119
|
-
K(C.$slots, "description", { maxNumberOfPeople: e(
|
|
119
|
+
K(C.$slots, "description", { maxNumberOfPeople: e(k) }, void 0, !0)
|
|
120
120
|
]),
|
|
121
121
|
action: b(() => [
|
|
122
122
|
K(C.$slots, "action", {}, () => [
|
|
@@ -154,7 +154,7 @@ const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__
|
|
|
154
154
|
_: 3
|
|
155
155
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
156
156
|
}
|
|
157
|
-
}), Me = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-
|
|
157
|
+
}), Me = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-bfd98c31"]]), Kt = { class: "konnectio-event-listing-information-new" };
|
|
158
158
|
const Xt = {
|
|
159
159
|
key: 1,
|
|
160
160
|
class: "konnectio-pill-button"
|
|
@@ -187,7 +187,7 @@ const Xt = {
|
|
|
187
187
|
const i = t, { t: a } = _(), {
|
|
188
188
|
hideEventLength: E,
|
|
189
189
|
hideEventEndTime: m
|
|
190
|
-
} = q(oe()),
|
|
190
|
+
} = q(oe()), k = Y(() => {
|
|
191
191
|
if (!i.length)
|
|
192
192
|
return;
|
|
193
193
|
const g = i.length.split(":");
|
|
@@ -196,7 +196,7 @@ const Xt = {
|
|
|
196
196
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
197
197
|
);
|
|
198
198
|
});
|
|
199
|
-
return (g,
|
|
199
|
+
return (g, f) => (l(), v(Me, {
|
|
200
200
|
"listing-id": t.listingId,
|
|
201
201
|
name: t.name,
|
|
202
202
|
description: t.description,
|
|
@@ -218,7 +218,7 @@ const Xt = {
|
|
|
218
218
|
}, null, 8, ["text"])) : r("", !0),
|
|
219
219
|
n("ul", Kt, [
|
|
220
220
|
r("", !0),
|
|
221
|
-
!e(E) &&
|
|
221
|
+
!e(E) && k.value ? (l(), s("li", Xt, [
|
|
222
222
|
n("div", null, [
|
|
223
223
|
h(le, {
|
|
224
224
|
icon: "calendar-clock",
|
|
@@ -226,7 +226,7 @@ const Xt = {
|
|
|
226
226
|
}),
|
|
227
227
|
n("span", null, o(e(a)("event.lengthOfEvent")), 1)
|
|
228
228
|
]),
|
|
229
|
-
n("span", null, o(
|
|
229
|
+
n("span", null, o(k.value), 1)
|
|
230
230
|
])) : r("", !0),
|
|
231
231
|
t.timeFrom ? (l(), s("li", _t, [
|
|
232
232
|
n("div", null, [
|
|
@@ -246,7 +246,7 @@ const Xt = {
|
|
|
246
246
|
_: 3
|
|
247
247
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "tracking-enabled", "callback"]));
|
|
248
248
|
}
|
|
249
|
-
}), be = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-
|
|
249
|
+
}), be = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-2ecac268"]]), an = {
|
|
250
250
|
key: 0,
|
|
251
251
|
class: "konnectio-event-grouped-listings-container"
|
|
252
252
|
}, ln = { class: "konnectio-event-grouped-listings" }, on = /* @__PURE__ */ M({
|
|
@@ -264,9 +264,9 @@ const Xt = {
|
|
|
264
264
|
(l(!0), s(N, null, R(t.events, ({
|
|
265
265
|
id: E,
|
|
266
266
|
days: m,
|
|
267
|
-
name:
|
|
267
|
+
name: k,
|
|
268
268
|
timeFrom: g,
|
|
269
|
-
timeTo:
|
|
269
|
+
timeTo: f,
|
|
270
270
|
tableGroupId: p,
|
|
271
271
|
description: D,
|
|
272
272
|
soldOut: $,
|
|
@@ -282,13 +282,13 @@ const Xt = {
|
|
|
282
282
|
"listing-id": E,
|
|
283
283
|
"table-group-id": p,
|
|
284
284
|
description: D,
|
|
285
|
-
name:
|
|
285
|
+
name: k,
|
|
286
286
|
length: P,
|
|
287
287
|
gallery: T,
|
|
288
288
|
days: m,
|
|
289
289
|
"max-online-reservation-limit": x || w || y || void 0,
|
|
290
290
|
"time-from": g,
|
|
291
|
-
"time-to":
|
|
291
|
+
"time-to": f,
|
|
292
292
|
"sold-out": $,
|
|
293
293
|
"use-number-of-products-for-persons": u,
|
|
294
294
|
"tracking-enabled": t.trackingEnabled,
|
|
@@ -316,7 +316,7 @@ const Xt = {
|
|
|
316
316
|
callback: t.callback
|
|
317
317
|
}, 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", "tracking-enabled", "callback"])) : r("", !0);
|
|
318
318
|
}
|
|
319
|
-
}), sn = /* @__PURE__ */ G(on, [["__scopeId", "data-v-
|
|
319
|
+
}), sn = /* @__PURE__ */ G(on, [["__scopeId", "data-v-20b8c0bd"]]), rn = { class: "konnectio-special-offer-availability" }, cn = { class: "konnectio-special-offer-availability-button" }, dn = { class: "konnectio-warning-notice" }, un = { key: 0 }, mn = { key: 1 }, vn = /* @__PURE__ */ M({
|
|
320
320
|
__name: "NextEvent",
|
|
321
321
|
props: {
|
|
322
322
|
name: {},
|
|
@@ -338,16 +338,16 @@ const Xt = {
|
|
|
338
338
|
callback: { type: Function }
|
|
339
339
|
},
|
|
340
340
|
setup(t) {
|
|
341
|
-
const { t: i } = _(), { updateEventDate: a } = Pe(), { display: E } = Ee(), m = Ae(),
|
|
341
|
+
const { t: i } = _(), { updateEventDate: a } = Pe(), { display: E } = Ee(), m = Ae(), k = t;
|
|
342
342
|
function g() {
|
|
343
343
|
m.value ? a(m.value) : E({
|
|
344
344
|
message: i("alert.error.selectDate"),
|
|
345
345
|
type: "error"
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
|
-
const
|
|
348
|
+
const f = Y(() => Dt(k.fromDate, k.toDate) <= 1), p = Y(() => [0, 1, 2, 3, 4, 5, 6].filter((D) => !Pt(k.days).includes(D)));
|
|
349
349
|
return it(() => {
|
|
350
|
-
|
|
350
|
+
f.value && (m.value = new Date(k.fromDate));
|
|
351
351
|
}), (D, $) => (l(), v(be, {
|
|
352
352
|
name: t.name,
|
|
353
353
|
description: t.description,
|
|
@@ -378,21 +378,21 @@ const Xt = {
|
|
|
378
378
|
placeholder: e(i)("event.selectDate"),
|
|
379
379
|
"icon-type": "fas",
|
|
380
380
|
"icon-placement": "label",
|
|
381
|
-
readonly:
|
|
381
|
+
readonly: f.value,
|
|
382
382
|
"start-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
|
|
383
383
|
"min-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
|
|
384
384
|
"max-date": new Date(t.toDate),
|
|
385
385
|
"disabled-week-days": p.value
|
|
386
386
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
387
|
-
n("div",
|
|
387
|
+
n("div", cn, [
|
|
388
388
|
h(me, {
|
|
389
389
|
label: e(i)("availability.buttonLabel"),
|
|
390
390
|
onClick: st(g, ["prevent"])
|
|
391
391
|
}, null, 8, ["label"])
|
|
392
392
|
])
|
|
393
393
|
]),
|
|
394
|
-
n("div",
|
|
395
|
-
|
|
394
|
+
n("div", dn, [
|
|
395
|
+
f.value ? (l(), s("span", un, [
|
|
396
396
|
ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
|
|
397
397
|
n("u", null, o(e(z)(t.fromDate)), 1)
|
|
398
398
|
])) : (l(), s("span", mn, [
|
|
@@ -405,10 +405,10 @@ const Xt = {
|
|
|
405
405
|
_: 1
|
|
406
406
|
}, 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"]));
|
|
407
407
|
}
|
|
408
|
-
}), Be = /* @__PURE__ */ G(vn, [["__scopeId", "data-v-
|
|
408
|
+
}), Be = /* @__PURE__ */ G(vn, [["__scopeId", "data-v-91ea584c"]]), bn = {
|
|
409
409
|
key: 0,
|
|
410
410
|
class: "konnectio-event-grouped-listings-container"
|
|
411
|
-
}, gn = { class: "konnectio-event-grouped-listings" },
|
|
411
|
+
}, gn = { class: "konnectio-event-grouped-listings" }, kn = /* @__PURE__ */ M({
|
|
412
412
|
__name: "NextEvent",
|
|
413
413
|
props: {
|
|
414
414
|
name: {},
|
|
@@ -423,9 +423,9 @@ const Xt = {
|
|
|
423
423
|
(l(!0), s(N, null, R(t.events, ({
|
|
424
424
|
id: E,
|
|
425
425
|
days: m,
|
|
426
|
-
name:
|
|
426
|
+
name: k,
|
|
427
427
|
timeFrom: g,
|
|
428
|
-
timeTo:
|
|
428
|
+
timeTo: f,
|
|
429
429
|
fromDate: p,
|
|
430
430
|
toDate: D,
|
|
431
431
|
tableGroupId: $,
|
|
@@ -443,7 +443,7 @@ const Xt = {
|
|
|
443
443
|
"listing-id": E,
|
|
444
444
|
"table-group-id": $,
|
|
445
445
|
description: P,
|
|
446
|
-
name:
|
|
446
|
+
name: k,
|
|
447
447
|
length: w,
|
|
448
448
|
gallery: x,
|
|
449
449
|
days: m,
|
|
@@ -451,7 +451,7 @@ const Xt = {
|
|
|
451
451
|
"to-date": D,
|
|
452
452
|
"max-online-reservation-limit": y || u || B || void 0,
|
|
453
453
|
"time-from": g,
|
|
454
|
-
"time-to":
|
|
454
|
+
"time-to": f,
|
|
455
455
|
"sold-out": T,
|
|
456
456
|
"use-number-of-products-for-persons": j,
|
|
457
457
|
"tracking-enabled": t.trackingEnabled,
|
|
@@ -479,7 +479,7 @@ const Xt = {
|
|
|
479
479
|
callback: t.callback
|
|
480
480
|
}, 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", "tracking-enabled", "callback"])) : r("", !0);
|
|
481
481
|
}
|
|
482
|
-
}),
|
|
482
|
+
}), fn = /* @__PURE__ */ G(kn, [["__scopeId", "data-v-dc867986"]]), yn = ["innerHTML"], hn = /* @__PURE__ */ M({
|
|
483
483
|
__name: "FallbackEvent",
|
|
484
484
|
props: {
|
|
485
485
|
name: {},
|
|
@@ -513,7 +513,7 @@ const Xt = {
|
|
|
513
513
|
_: 1
|
|
514
514
|
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
|
|
515
515
|
}
|
|
516
|
-
}), pn = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-
|
|
516
|
+
}), pn = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-af0f6d2a"]]), Dn = /* @__PURE__ */ M({
|
|
517
517
|
__name: "Template",
|
|
518
518
|
props: {
|
|
519
519
|
name: {},
|
|
@@ -559,9 +559,9 @@ const Xt = {
|
|
|
559
559
|
const { t: i } = _(), a = rt(), {
|
|
560
560
|
areListingsAvailable: E,
|
|
561
561
|
arrivalTime: m,
|
|
562
|
-
numberOfPeople:
|
|
562
|
+
numberOfPeople: k,
|
|
563
563
|
numberOfRooms: g,
|
|
564
|
-
numberOfTotalDays:
|
|
564
|
+
numberOfTotalDays: f,
|
|
565
565
|
isTemplateEvent: p,
|
|
566
566
|
currentEventDate: D,
|
|
567
567
|
length: $,
|
|
@@ -576,7 +576,7 @@ const Xt = {
|
|
|
576
576
|
totalSelectedProducts: C,
|
|
577
577
|
discountValue: U,
|
|
578
578
|
appliedDiscountCode: Q
|
|
579
|
-
} = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength:
|
|
579
|
+
} = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength: ke } = q(oe()), ee = i("event.reservationNotice");
|
|
580
580
|
return (te, re) => (l(), v(Nt, {
|
|
581
581
|
"discount-code": e(B),
|
|
582
582
|
"onUpdate:discountCode": re[0] || (re[0] = (W) => S(B) ? B.value = W : null),
|
|
@@ -590,7 +590,7 @@ const Xt = {
|
|
|
590
590
|
"room-upgrade": e(j),
|
|
591
591
|
notice: e(ee),
|
|
592
592
|
"prev-callback": t.prevCallback
|
|
593
|
-
},
|
|
593
|
+
}, ct({
|
|
594
594
|
form: b(() => [
|
|
595
595
|
K(te.$slots, "form", {}, void 0, !0),
|
|
596
596
|
e(ee) ? (l(), s("div", Pn, [
|
|
@@ -605,9 +605,9 @@ const Xt = {
|
|
|
605
605
|
n("span", null, o(e(i)("general.date")), 1),
|
|
606
606
|
n("b", null, o(e(z)(e(D))), 1)
|
|
607
607
|
])),
|
|
608
|
-
e(
|
|
608
|
+
e(k) > 0 ? (l(), s("li", wn, [
|
|
609
609
|
n("span", null, o(e(i)("event.numberOfGuests")), 1),
|
|
610
|
-
n("b", null, o(e(
|
|
610
|
+
n("b", null, o(e(k)), 1)
|
|
611
611
|
])) : r("", !0),
|
|
612
612
|
!e(p) && e(C) > 0 ? (l(), s("li", On, [
|
|
613
613
|
n("span", null, o(e(i)("event.numberOfProducts")), 1),
|
|
@@ -620,22 +620,22 @@ const Xt = {
|
|
|
620
620
|
]),
|
|
621
621
|
n("li", null, [
|
|
622
622
|
n("span", null, o(e(i)("booking.reservation.departure")), 1),
|
|
623
|
-
n("b", null, o(e(z)(e(P), e(
|
|
623
|
+
n("b", null, o(e(z)(e(P), e(f))), 1)
|
|
624
624
|
]),
|
|
625
625
|
n("li", null, [
|
|
626
626
|
n("span", null, o(e(i)("event.numberOfRooms")), 1),
|
|
627
627
|
n("b", null, o(e(g)), 1)
|
|
628
628
|
]),
|
|
629
|
-
e(
|
|
629
|
+
e(f) > 0 ? (l(), s("li", xn, [
|
|
630
630
|
n("span", null, o(e(i)("event.numberOfDays")), 1),
|
|
631
|
-
n("b", null, o(e(
|
|
631
|
+
n("b", null, o(e(f)), 1)
|
|
632
632
|
])) : r("", !0)
|
|
633
633
|
], 64)) : r("", !0),
|
|
634
634
|
!e(p) && e(m) ? (l(), s("li", Tn, [
|
|
635
635
|
n("span", null, o(e(i)("event.startOfEvent")), 1),
|
|
636
636
|
n("b", null, o(e(ve)(e(m))), 1)
|
|
637
637
|
])) : r("", !0),
|
|
638
|
-
!e(p) && e($) && !e(
|
|
638
|
+
!e(p) && e($) && !e(ke) ? (l(), s("li", Vn, [
|
|
639
639
|
n("span", null, o(e(i)("event.lengthOfEvent")), 1),
|
|
640
640
|
n("b", null, o(e(ve)(e($))), 1)
|
|
641
641
|
])) : r("", !0),
|
|
@@ -660,8 +660,8 @@ const Xt = {
|
|
|
660
660
|
K(te.$slots, "navigation", {}, void 0, !0)
|
|
661
661
|
]),
|
|
662
662
|
"mobile-under-price": b(() => [
|
|
663
|
-
e(p) && e(
|
|
664
|
-
n("span", null, o(e(z)(e(P))) + " - " + o(e(z)(e(P), e(
|
|
663
|
+
e(p) && e(f) > 0 ? (l(), s("div", Ln, [
|
|
664
|
+
n("span", null, o(e(z)(e(P))) + " - " + o(e(z)(e(P), e(f))), 1)
|
|
665
665
|
])) : (l(), s("div", Cn, [
|
|
666
666
|
n("span", null, o(e(z)(e(D))), 1)
|
|
667
667
|
]))
|
|
@@ -680,7 +680,7 @@ const Xt = {
|
|
|
680
680
|
} : void 0
|
|
681
681
|
]), 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"]));
|
|
682
682
|
}
|
|
683
|
-
}), De = /* @__PURE__ */ G(In, [["__scopeId", "data-v-
|
|
683
|
+
}), De = /* @__PURE__ */ G(In, [["__scopeId", "data-v-c1e1c642"]]), An = { class: "event-skeleton" }, Sn = { class: "event-skeleton-content" }, Rn = { class: "event-skeleton-sidebar" }, Mn = /* @__PURE__ */ M({
|
|
684
684
|
__name: "EventSkeleton",
|
|
685
685
|
setup(t) {
|
|
686
686
|
return (i, a) => (l(), s("div", An, [
|
|
@@ -693,7 +693,7 @@ const Xt = {
|
|
|
693
693
|
])
|
|
694
694
|
]));
|
|
695
695
|
}
|
|
696
|
-
}), Un = /* @__PURE__ */ G(Mn, [["__scopeId", "data-v-
|
|
696
|
+
}), Un = /* @__PURE__ */ G(Mn, [["__scopeId", "data-v-af0e7efb"]]), Hn = {
|
|
697
697
|
key: 0,
|
|
698
698
|
id: "konnectio-event-listings-wrapper"
|
|
699
699
|
}, Gn = {
|
|
@@ -724,9 +724,9 @@ const Xt = {
|
|
|
724
724
|
setup(t) {
|
|
725
725
|
const i = t, { t: a } = _(), E = X(), {
|
|
726
726
|
addons: m,
|
|
727
|
-
products:
|
|
727
|
+
products: k,
|
|
728
728
|
numberOfDays: g,
|
|
729
|
-
flagOnTable:
|
|
729
|
+
flagOnTable: f,
|
|
730
730
|
numberOfHighChairs: p,
|
|
731
731
|
name: D,
|
|
732
732
|
phone: $,
|
|
@@ -744,7 +744,7 @@ const Xt = {
|
|
|
744
744
|
eventRateType: ie,
|
|
745
745
|
areListingsAvailable: ge,
|
|
746
746
|
isAvailabilityDataAvailable: se,
|
|
747
|
-
hasListingData:
|
|
747
|
+
hasListingData: ke,
|
|
748
748
|
isPaymentLoading: ee,
|
|
749
749
|
isReservationFormFilled: te,
|
|
750
750
|
requiresArrivalTime: re,
|
|
@@ -752,7 +752,7 @@ const Xt = {
|
|
|
752
752
|
getUnavailableEvents: Z,
|
|
753
753
|
hasFallbackEvents: $e,
|
|
754
754
|
getFallbackEvents: Ue
|
|
755
|
-
} = q(E), we = Y(() => E.getSortedEvents(i.sortOrder)), { currency:
|
|
755
|
+
} = q(E), we = Y(() => E.getSortedEvents(i.sortOrder)), { currency: ce, enableTracking: ne } = q(oe()), { setActiveIdFilter: He } = oe(), { eventDate: Ge, eventLocation: ze } = q(Pe()), { isValidRestaurantId: qe } = Pe(), {
|
|
756
756
|
initialize: Ye,
|
|
757
757
|
fetchListings: je,
|
|
758
758
|
createBooking: We,
|
|
@@ -760,7 +760,7 @@ const Xt = {
|
|
|
760
760
|
totalAddonPrice: Qe,
|
|
761
761
|
reset: Je,
|
|
762
762
|
goBack: Oe
|
|
763
|
-
} = X(), { beginEventCheckout: Ke } = Se(), { display:
|
|
763
|
+
} = X(), { beginEventCheckout: Ke } = Se(), { display: fe } = Ee(), Xe = Y(() => [
|
|
764
764
|
{
|
|
765
765
|
id: "availability",
|
|
766
766
|
label: a("booking.availability.title"),
|
|
@@ -788,10 +788,10 @@ const Xt = {
|
|
|
788
788
|
}
|
|
789
789
|
]), _e = Y(() => {
|
|
790
790
|
const L = [];
|
|
791
|
-
return U.value && U.value.forEach((
|
|
792
|
-
L.find((V) => V.value ===
|
|
793
|
-
label: ve(
|
|
794
|
-
value:
|
|
791
|
+
return U.value && U.value.forEach((d) => {
|
|
792
|
+
L.find((V) => V.value === d.time) || L.push({
|
|
793
|
+
label: ve(d.time),
|
|
794
|
+
value: d.time
|
|
795
795
|
});
|
|
796
796
|
}), L;
|
|
797
797
|
});
|
|
@@ -804,27 +804,27 @@ const Xt = {
|
|
|
804
804
|
function nt() {
|
|
805
805
|
const L = Ot("history", {
|
|
806
806
|
removeNullishValues: !0
|
|
807
|
-
}),
|
|
807
|
+
}), d = parseInt(L.rid), V = L.d, O = parseInt(L.eid);
|
|
808
808
|
if (V)
|
|
809
809
|
if (xt(V)) {
|
|
810
|
-
const
|
|
811
|
-
I >= H ? Ge.value =
|
|
810
|
+
const c = new Date(V), I = c.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
811
|
+
I >= H ? Ge.value = c : (fe({
|
|
812
812
|
message: a("alert.error.invalidDateRange"),
|
|
813
813
|
type: "error"
|
|
814
814
|
}), L.d = void 0);
|
|
815
815
|
} else
|
|
816
|
-
|
|
816
|
+
fe({
|
|
817
817
|
message: a("alert.error.wrongDateFormat"),
|
|
818
818
|
type: "error"
|
|
819
819
|
});
|
|
820
|
-
isNaN(
|
|
820
|
+
isNaN(d) || (qe(d) ? ze.value = d : (L.rid = void 0, fe({
|
|
821
821
|
message: a("alert.error.hotelIdNotFound"),
|
|
822
822
|
type: "error"
|
|
823
823
|
}))), isNaN(O) || He(O), je();
|
|
824
824
|
}
|
|
825
|
-
return (L,
|
|
825
|
+
return (L, d) => (l(), v(wt, { styling: t.styling }, {
|
|
826
826
|
default: b(() => [
|
|
827
|
-
(l(), v(
|
|
827
|
+
(l(), v(dt, { onResolve: nt }, {
|
|
828
828
|
default: b(() => [
|
|
829
829
|
h(Tt, {
|
|
830
830
|
id: "konnectio-event-module",
|
|
@@ -846,10 +846,10 @@ const Xt = {
|
|
|
846
846
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
847
847
|
]),
|
|
848
848
|
form: b(() => [
|
|
849
|
-
e(
|
|
849
|
+
e(ke) && e(ge) ? (l(), s("div", Hn, [
|
|
850
850
|
e($e) ? (l(!0), s(N, { key: 0 }, R(e(Ue), ({
|
|
851
851
|
id: O,
|
|
852
|
-
name:
|
|
852
|
+
name: c,
|
|
853
853
|
description: I,
|
|
854
854
|
images: H
|
|
855
855
|
}) => (l(), v(pn, {
|
|
@@ -857,7 +857,7 @@ const Xt = {
|
|
|
857
857
|
type: "event",
|
|
858
858
|
"listing-id": O,
|
|
859
859
|
description: I,
|
|
860
|
-
name:
|
|
860
|
+
name: c,
|
|
861
861
|
gallery: H,
|
|
862
862
|
"tracking-enabled": e(ne),
|
|
863
863
|
callback: V
|
|
@@ -879,7 +879,7 @@ const Xt = {
|
|
|
879
879
|
}, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : r("", !0),
|
|
880
880
|
e(y) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, R(e(j), ({
|
|
881
881
|
id: O,
|
|
882
|
-
name:
|
|
882
|
+
name: c,
|
|
883
883
|
fromDate: I,
|
|
884
884
|
toDate: H,
|
|
885
885
|
minimumPersonCount: F,
|
|
@@ -889,7 +889,7 @@ const Xt = {
|
|
|
889
889
|
}) => (l(), v(Dn, {
|
|
890
890
|
key: O,
|
|
891
891
|
"listing-id": O,
|
|
892
|
-
name:
|
|
892
|
+
name: c,
|
|
893
893
|
images: he,
|
|
894
894
|
description: ye,
|
|
895
895
|
"from-date": I,
|
|
@@ -910,7 +910,7 @@ const Xt = {
|
|
|
910
910
|
n("span", null, o(e(a)("event.availableLater")), 1)
|
|
911
911
|
]),
|
|
912
912
|
n("ul", Yn, [
|
|
913
|
-
(l(!0), s(N, null, R(e(Z), (O) => (l(), v(
|
|
913
|
+
(l(!0), s(N, null, R(e(Z), (O) => (l(), v(fn, {
|
|
914
914
|
name: O.name,
|
|
915
915
|
events: O.events,
|
|
916
916
|
"tracking-enabled": e(ne),
|
|
@@ -940,13 +940,13 @@ const Xt = {
|
|
|
940
940
|
]),
|
|
941
941
|
e(C) && e(C).length > 0 ? (l(), s("ul", Zn, [
|
|
942
942
|
(l(!0), s(N, null, R(e(C), ({
|
|
943
|
-
roomGroupId:
|
|
943
|
+
roomGroupId: c,
|
|
944
944
|
addons: I,
|
|
945
945
|
adultPerRoom: H
|
|
946
|
-
}, F) => (l(), s("li", { key:
|
|
946
|
+
}, F) => (l(), s("li", { key: c }, [
|
|
947
947
|
n("h5", null, [
|
|
948
948
|
n("span", null, o(e(a)("booking.reservation.room")) + " #" + o(F + 1), 1),
|
|
949
|
-
|
|
949
|
+
d[9] || (d[9] = ue(" (", -1)),
|
|
950
950
|
h(le, {
|
|
951
951
|
icon: "male",
|
|
952
952
|
type: "fas",
|
|
@@ -960,7 +960,7 @@ const Xt = {
|
|
|
960
960
|
n("th", null, [
|
|
961
961
|
n("span", null, o(e(a)("booking.reservation.addons")), 1)
|
|
962
962
|
]),
|
|
963
|
-
|
|
963
|
+
d[10] || (d[10] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
964
964
|
n("th", Jn, [
|
|
965
965
|
n("span", null, o(e(a)("booking.availability.price")), 1)
|
|
966
966
|
])
|
|
@@ -976,35 +976,35 @@ const Xt = {
|
|
|
976
976
|
}) => (l(), s("tr", { key: A }, [
|
|
977
977
|
n("td", null, [
|
|
978
978
|
n("b", null, o(he), 1),
|
|
979
|
-
|
|
980
|
-
n("span", null, o(e(J)(at, e(
|
|
979
|
+
d[11] || (d[11] = n("br", null, null, -1)),
|
|
980
|
+
n("span", null, o(e(J)(at, e(ce))) + " " + o(e($t)(lt)), 1)
|
|
981
981
|
]),
|
|
982
982
|
n("td", Kn, [
|
|
983
983
|
ye === 3 ? (l(), v(ae, {
|
|
984
984
|
key: 0,
|
|
985
|
-
modelValue: e(m)[`${
|
|
986
|
-
"onUpdate:modelValue": (pe) => e(m)[`${
|
|
985
|
+
modelValue: e(m)[`${c}.${A}.${F}`],
|
|
986
|
+
"onUpdate:modelValue": (pe) => e(m)[`${c}.${A}.${F}`] = pe,
|
|
987
987
|
small: !0,
|
|
988
988
|
"min-value": 0
|
|
989
989
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), v(Ce, {
|
|
990
990
|
key: 1,
|
|
991
|
-
modelValue: e(m)[`${
|
|
992
|
-
"onUpdate:modelValue": (pe) => e(m)[`${
|
|
991
|
+
modelValue: e(m)[`${c}.${A}.${F}`],
|
|
992
|
+
"onUpdate:modelValue": (pe) => e(m)[`${c}.${A}.${F}`] = pe,
|
|
993
993
|
numeric: !0
|
|
994
994
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
995
995
|
]),
|
|
996
996
|
n("td", Xn, [
|
|
997
|
-
n("span", null, o(e(J)(e(Ze)(A,
|
|
997
|
+
n("span", null, o(e(J)(e(Ze)(A, c, F), e(ce))), 1)
|
|
998
998
|
])
|
|
999
999
|
]))), 128))
|
|
1000
1000
|
]),
|
|
1001
1001
|
n("tfoot", null, [
|
|
1002
1002
|
n("tr", null, [
|
|
1003
|
-
|
|
1004
|
-
|
|
1003
|
+
d[12] || (d[12] = n("td", null, null, -1)),
|
|
1004
|
+
d[13] || (d[13] = n("td", null, null, -1)),
|
|
1005
1005
|
n("td", _n, [
|
|
1006
1006
|
n("u", null, [
|
|
1007
|
-
n("span", null, o(e(J)(e(Qe)(
|
|
1007
|
+
n("span", null, o(e(J)(e(Qe)(c, F), e(ce))), 1)
|
|
1008
1008
|
])
|
|
1009
1009
|
])
|
|
1010
1010
|
])
|
|
@@ -1014,18 +1014,18 @@ const Xt = {
|
|
|
1014
1014
|
])) : r("", !0),
|
|
1015
1015
|
e(Q) ? (l(), s("table", ea, [
|
|
1016
1016
|
n("tbody", null, [
|
|
1017
|
-
(l(!0), s(N, null, R(e(B).products, ({ id:
|
|
1017
|
+
(l(!0), s(N, null, R(e(B).products, ({ id: c, name: I, price: H, description: F }) => (l(), s("tr", { key: c }, [
|
|
1018
1018
|
n("td", ta, [
|
|
1019
1019
|
n("b", null, [
|
|
1020
1020
|
n("span", null, o(e(xe)(I)), 1)
|
|
1021
1021
|
]),
|
|
1022
1022
|
F && F !== I ? (l(), s("span", na, o(e(xe)(F)), 1)) : r("", !0),
|
|
1023
|
-
n("u", null, o(e(J)(H, e(
|
|
1023
|
+
n("u", null, o(e(J)(H, e(ce))), 1)
|
|
1024
1024
|
]),
|
|
1025
1025
|
n("td", aa, [
|
|
1026
1026
|
h(ae, {
|
|
1027
|
-
modelValue: e(
|
|
1028
|
-
"onUpdate:modelValue": (A) => e(
|
|
1027
|
+
modelValue: e(k)[c],
|
|
1028
|
+
"onUpdate:modelValue": (A) => e(k)[c] = A,
|
|
1029
1029
|
small: !0,
|
|
1030
1030
|
"min-value": 0
|
|
1031
1031
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1057,18 +1057,18 @@ const Xt = {
|
|
|
1057
1057
|
n("h2", null, [
|
|
1058
1058
|
n("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
|
|
1059
1059
|
]),
|
|
1060
|
-
h(
|
|
1060
|
+
h(de, {
|
|
1061
1061
|
modelValue: e(D),
|
|
1062
|
-
"onUpdate:modelValue":
|
|
1062
|
+
"onUpdate:modelValue": d[0] || (d[0] = (c) => S(D) ? D.value = c : null),
|
|
1063
1063
|
type: "text",
|
|
1064
1064
|
label: e(a)("booking.reservation.name"),
|
|
1065
1065
|
icon: "user-alt",
|
|
1066
1066
|
placeholder: e(a)("booking.reservation.namePlaceholder"),
|
|
1067
1067
|
required: ""
|
|
1068
1068
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1069
|
-
h(
|
|
1069
|
+
h(de, {
|
|
1070
1070
|
modelValue: e(P),
|
|
1071
|
-
"onUpdate:modelValue":
|
|
1071
|
+
"onUpdate:modelValue": d[1] || (d[1] = (c) => S(P) ? P.value = c : null),
|
|
1072
1072
|
label: e(a)("booking.reservation.email"),
|
|
1073
1073
|
type: "email",
|
|
1074
1074
|
name: "email",
|
|
@@ -1079,7 +1079,7 @@ const Xt = {
|
|
|
1079
1079
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1080
1080
|
h(Yt, {
|
|
1081
1081
|
modelValue: e($),
|
|
1082
|
-
"onUpdate:modelValue":
|
|
1082
|
+
"onUpdate:modelValue": d[2] || (d[2] = (c) => S($) ? $.value = c : null),
|
|
1083
1083
|
label: e(a)("booking.reservation.phone"),
|
|
1084
1084
|
icon: "phone-office",
|
|
1085
1085
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
@@ -1088,7 +1088,7 @@ const Xt = {
|
|
|
1088
1088
|
e(re) ? (l(), v(It, {
|
|
1089
1089
|
key: 0,
|
|
1090
1090
|
modelValue: e(x),
|
|
1091
|
-
"onUpdate:modelValue":
|
|
1091
|
+
"onUpdate:modelValue": d[3] || (d[3] = (c) => S(x) ? x.value = c : null),
|
|
1092
1092
|
label: e(a)("event.selectArrivalTime"),
|
|
1093
1093
|
name: "eventTimeTable",
|
|
1094
1094
|
checkboxes: _e.value,
|
|
@@ -1097,7 +1097,7 @@ const Xt = {
|
|
|
1097
1097
|
e(ie) === e(Et).FullDayEvent ? (l(), v(ae, {
|
|
1098
1098
|
key: 1,
|
|
1099
1099
|
modelValue: e(g),
|
|
1100
|
-
"onUpdate:modelValue":
|
|
1100
|
+
"onUpdate:modelValue": d[4] || (d[4] = (c) => S(g) ? g.value = c : null),
|
|
1101
1101
|
label: e(a)("event.numberOfDays"),
|
|
1102
1102
|
"min-value": 1,
|
|
1103
1103
|
required: ""
|
|
@@ -1105,30 +1105,30 @@ const Xt = {
|
|
|
1105
1105
|
t.showHighChairs === "yes" ? (l(), v(ae, {
|
|
1106
1106
|
key: 2,
|
|
1107
1107
|
modelValue: e(p),
|
|
1108
|
-
"onUpdate:modelValue":
|
|
1108
|
+
"onUpdate:modelValue": d[5] || (d[5] = (c) => S(p) ? p.value = c : null),
|
|
1109
1109
|
label: e(a)("event.numberOfHighChairs"),
|
|
1110
1110
|
icon: "baby",
|
|
1111
1111
|
"no-optional-label": !1
|
|
1112
1112
|
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1113
1113
|
t.showFlagOnTable === "yes" ? (l(), v(Ce, {
|
|
1114
1114
|
key: 3,
|
|
1115
|
-
modelValue: e(
|
|
1116
|
-
"onUpdate:modelValue":
|
|
1115
|
+
modelValue: e(f),
|
|
1116
|
+
"onUpdate:modelValue": d[6] || (d[6] = (c) => S(f) ? f.value = c : null),
|
|
1117
1117
|
label: e(a)("event.flagOnTable")
|
|
1118
1118
|
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1119
|
-
t.hideRemarks !== "yes" ? (l(), v(
|
|
1119
|
+
t.hideRemarks !== "yes" ? (l(), v(de, {
|
|
1120
1120
|
key: 4,
|
|
1121
1121
|
modelValue: e(T),
|
|
1122
|
-
"onUpdate:modelValue":
|
|
1122
|
+
"onUpdate:modelValue": d[7] || (d[7] = (c) => S(T) ? T.value = c : null),
|
|
1123
1123
|
type: "textarea",
|
|
1124
1124
|
label: e(a)("booking.reservation.remark"),
|
|
1125
1125
|
icon: "info-circle",
|
|
1126
1126
|
placeholder: e(a)("booking.reservation.remarkPlaceholder")
|
|
1127
1127
|
}, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0),
|
|
1128
|
-
t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), v(
|
|
1128
|
+
t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), v(de, {
|
|
1129
1129
|
key: 5,
|
|
1130
1130
|
modelValue: e(w),
|
|
1131
|
-
"onUpdate:modelValue":
|
|
1131
|
+
"onUpdate:modelValue": d[8] || (d[8] = (c) => S(w) ? w.value = c : null),
|
|
1132
1132
|
type: "textarea",
|
|
1133
1133
|
label: e(a)("booking.reservation.allergies"),
|
|
1134
1134
|
icon: "allergies",
|
|
@@ -1142,7 +1142,7 @@ const Xt = {
|
|
|
1142
1142
|
"is-loading": e(ee),
|
|
1143
1143
|
disabled: !e(te),
|
|
1144
1144
|
"full-width": "",
|
|
1145
|
-
onClickEvent: (
|
|
1145
|
+
onClickEvent: (c) => tt(V)
|
|
1146
1146
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
1147
1147
|
]),
|
|
1148
1148
|
_: 2
|
|
@@ -1171,8 +1171,8 @@ const Xt = {
|
|
|
1171
1171
|
_: 1
|
|
1172
1172
|
}, 8, ["styling"]));
|
|
1173
1173
|
}
|
|
1174
|
-
}), Ie = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-
|
|
1175
|
-
class
|
|
1174
|
+
}), Ie = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-cb6a3dc9"]]), ia = ut(), sa = mt, ra = sa();
|
|
1175
|
+
class ca extends HTMLElement {
|
|
1176
1176
|
vueApp;
|
|
1177
1177
|
constructor() {
|
|
1178
1178
|
super();
|
|
@@ -1182,13 +1182,13 @@ class da extends HTMLElement {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
connectedCallback() {
|
|
1184
1184
|
const i = vt(Ie, this.attributes);
|
|
1185
|
-
this.vueApp = bt(Ie, i), this.vueApp.provide("emitter", ra), this.vueApp.use(Wt), this.vueApp.use(gt), this.vueApp.use(ia), this.vueApp.use(At), this.vueApp.use(
|
|
1185
|
+
this.vueApp = bt(Ie, i), this.vueApp.provide("emitter", ra), this.vueApp.use(Wt), this.vueApp.use(gt), this.vueApp.use(ia), this.vueApp.use(At), this.vueApp.use(kt), this.vueApp.use(St);
|
|
1186
1186
|
const a = document.createElement("div");
|
|
1187
1187
|
this.vueApp.mount(a), this.appendChild(a.children[0]);
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
|
-
window.customElements.define("konnectio-event",
|
|
1190
|
+
window.customElements.define("konnectio-event", ca);
|
|
1191
1191
|
export {
|
|
1192
|
-
|
|
1192
|
+
ca as default
|
|
1193
1193
|
};
|
|
1194
1194
|
//# sourceMappingURL=event.js.map
|