@konnectio/core 4.7.18 → 4.8.0
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-L0Lr7Cq5.js → ActionField-CiBTmhVP.js} +5 -5
- package/dist/ActionField-CiBTmhVP.js.br +0 -0
- package/dist/ActionField-CiBTmhVP.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-CSQUAVcs.js → AvailabilitySkeleton-Tv_yaXPa.js} +1458 -1300
- package/dist/AvailabilitySkeleton-Tv_yaXPa.js.br +0 -0
- package/dist/AvailabilitySkeleton-Tv_yaXPa.js.gz +0 -0
- package/dist/{CheckoutWindow-CjVK26L8.js → CheckoutWindow-3gTfVepQ.js} +17 -13
- package/dist/CheckoutWindow-3gTfVepQ.js.br +0 -0
- package/dist/CheckoutWindow-3gTfVepQ.js.gz +0 -0
- package/dist/{ErrorMessage-BZqsLh26.js → ErrorMessage-ClFJa4be.js} +2 -2
- package/dist/ErrorMessage-ClFJa4be.js.br +0 -0
- package/dist/{ErrorMessage-BZqsLh26.js.gz → ErrorMessage-ClFJa4be.js.gz} +0 -0
- package/dist/{EventAvailabilityForm-Cuxc0RuT.js → EventAvailabilityForm-D_UqbRBj.js} +12 -11
- package/dist/EventAvailabilityForm-D_UqbRBj.js.br +0 -0
- package/dist/EventAvailabilityForm-D_UqbRBj.js.gz +0 -0
- package/dist/{Field-AlAFHkiH.js → Field-CzT0QKcQ.js} +2 -2
- package/dist/Field-CzT0QKcQ.js.br +0 -0
- package/dist/Field-CzT0QKcQ.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-C3iHHzNH.js → HotelAvailabilityForm-oY9nC2co.js} +14 -13
- package/dist/HotelAvailabilityForm-oY9nC2co.js.br +0 -0
- package/dist/HotelAvailabilityForm-oY9nC2co.js.gz +0 -0
- package/dist/{SelectField-hZSfVqht.js → SelectField-DMU4o8wT.js} +2945 -2832
- package/dist/SelectField-DMU4o8wT.js.br +0 -0
- package/dist/SelectField-DMU4o8wT.js.gz +0 -0
- package/dist/{TermsOfService-CSImjp8p.js → TermsOfService-Bh49zB1Y.js} +3 -3
- package/dist/TermsOfService-Bh49zB1Y.js.br +0 -0
- package/dist/TermsOfService-Bh49zB1Y.js.gz +0 -0
- package/dist/{_-ceQWaE_o.js → _-CYKi9htj.js} +3 -3
- package/dist/_-CYKi9htj.js.br +0 -0
- package/dist/_-CYKi9htj.js.gz +7 -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 +12 -12
- 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 +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/dist-Dhf-kBcE.js +3631 -0
- package/dist/dist-Dhf-kBcE.js.br +0 -0
- package/dist/dist-Dhf-kBcE.js.gz +0 -0
- package/dist/{dist-DEZcjiNm.js → dist-IXFfy6j_.js} +79 -66
- package/dist/dist-IXFfy6j_.js.br +0 -0
- package/dist/dist-IXFfy6j_.js.gz +0 -0
- package/dist/event.js +104 -97
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +10 -10
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-CoefzLvK.js → giftCard-BP6ydQ7Q.js} +3 -3
- package/dist/giftCard-BP6ydQ7Q.js.br +0 -0
- package/dist/giftCard-BP6ydQ7Q.js.gz +0 -0
- package/dist/hotel.js +2832 -1709
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-DwFTw_rF.js → i18n-BF6zkld-.js} +3397 -3461
- package/dist/i18n-BF6zkld-.js.br +0 -0
- package/dist/i18n-BF6zkld-.js.gz +0 -0
- package/dist/polyfill.js +1906 -1641
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
- package/dist/rolldown-runtime-B0aSnxlc.js.gz +5 -0
- package/dist/{style-DRBxevpd.js → style-CXIHVW9k.js} +8 -6
- package/dist/style-CXIHVW9k.js.br +0 -0
- package/dist/style-CXIHVW9k.js.gz +0 -0
- package/dist-wix/availability.js +42 -36
- package/dist-wix/event.js +32 -25
- package/dist-wix/gift-card-validation.js +33 -33
- package/dist-wix/gift-card.js +42 -35
- package/dist-wix/hotel.js +34 -27
- package/package.json +26 -24
- package/dist/ActionField-L0Lr7Cq5.js.br +0 -0
- package/dist/ActionField-L0Lr7Cq5.js.gz +0 -0
- package/dist/AvailabilitySkeleton-CSQUAVcs.js.br +0 -0
- package/dist/AvailabilitySkeleton-CSQUAVcs.js.gz +0 -0
- package/dist/CheckoutWindow-CjVK26L8.js.br +0 -0
- package/dist/CheckoutWindow-CjVK26L8.js.gz +0 -0
- package/dist/ErrorMessage-BZqsLh26.js.br +0 -0
- package/dist/EventAvailabilityForm-Cuxc0RuT.js.br +0 -0
- package/dist/EventAvailabilityForm-Cuxc0RuT.js.gz +0 -0
- package/dist/Field-AlAFHkiH.js.br +0 -0
- package/dist/Field-AlAFHkiH.js.gz +0 -0
- package/dist/HotelAvailabilityForm-C3iHHzNH.js.br +0 -0
- package/dist/HotelAvailabilityForm-C3iHHzNH.js.gz +0 -0
- package/dist/SelectField-hZSfVqht.js.br +0 -0
- package/dist/SelectField-hZSfVqht.js.gz +0 -0
- package/dist/TermsOfService-CSImjp8p.js.br +0 -0
- package/dist/TermsOfService-CSImjp8p.js.gz +0 -3
- package/dist/_-ceQWaE_o.js.br +0 -0
- package/dist/_-ceQWaE_o.js.gz +0 -5
- package/dist/dist-DEZcjiNm.js.br +0 -0
- package/dist/dist-DEZcjiNm.js.gz +0 -0
- package/dist/dist-DtPUJ4bx.js +0 -1338
- package/dist/dist-DtPUJ4bx.js.br +0 -0
- package/dist/dist-DtPUJ4bx.js.gz +0 -0
- package/dist/giftCard-CoefzLvK.js.br +0 -0
- package/dist/giftCard-CoefzLvK.js.gz +0 -0
- package/dist/i18n-DwFTw_rF.js.br +0 -0
- package/dist/i18n-DwFTw_rF.js.gz +0 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js.br +0 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js.gz +0 -2
- package/dist/style-DRBxevpd.js.br +0 -0
- package/dist/style-DRBxevpd.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $ as e, A as t, D as n, E as r, Et as i, J as a, K as o, N as s, O as c, Q as l, T as u, Tt as d, a as f, b as p, ht as m, j as h, k as g, kt as _, l as v, n as y, o as b, ot as x, s as S, ut as C, v as w, w as T, x as E, yt as D } from "./i18n-
|
|
2
|
-
import { t as O } from "./dist-
|
|
3
|
-
import { $ as k,
|
|
4
|
-
import { t as
|
|
5
|
-
import { a as
|
|
6
|
-
import { t as be } from "./EventAvailabilityForm-
|
|
7
|
-
import { t as Y } from "./style-
|
|
8
|
-
import { a as xe, c as Se, i as Ce, l as we, n as Te, o as Ee, s as De, t as Oe, u as X } from "./dist-
|
|
9
|
-
import { a as ke, i as Ae, n as je, t as Me } from "./CheckoutWindow-
|
|
1
|
+
import { $ as e, A as t, D as n, E as r, Et as i, J as a, K as o, N as s, O as c, Q as l, T as u, Tt as d, a as f, b as p, ht as m, j as h, k as g, kt as _, l as v, n as y, o as b, ot as x, s as S, ut as C, v as w, w as T, x as E, yt as D } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { t as O } from "./dist-Dhf-kBcE.js";
|
|
3
|
+
import { $ as k, C as A, D as ee, E as j, H as M, J as N, L as P, N as F, S as I, V as L, W as te, X as R, Z as z, b as ne, ct as re, et as B, j as ie, mt as V, n as H, q as ae, r as U, rt as W, st as oe, tt as se, v as G, w as K, x as q, z as ce } from "./SelectField-DMU4o8wT.js";
|
|
4
|
+
import { t as le } from "./_-CYKi9htj.js";
|
|
5
|
+
import { a as J, c as ue, d as de, f as fe, i as pe, l as me, n as he, o as ge, r as _e, s as ve, u as ye } from "./AvailabilitySkeleton-Tv_yaXPa.js";
|
|
6
|
+
import { t as be } from "./EventAvailabilityForm-D_UqbRBj.js";
|
|
7
|
+
import { t as Y } from "./style-CXIHVW9k.js";
|
|
8
|
+
import { a as xe, c as Se, i as Ce, l as we, n as Te, o as Ee, s as De, t as Oe, u as X } from "./dist-IXFfy6j_.js";
|
|
9
|
+
import { a as ke, i as Ae, n as je, t as Me } from "./CheckoutWindow-3gTfVepQ.js";
|
|
10
10
|
//#region node_modules/date-fns/formatDistanceStrict.js
|
|
11
11
|
function Z(e, t, n) {
|
|
12
|
-
let r =
|
|
12
|
+
let r = ue(), i = n?.locale ?? r.locale ?? _e, a = J(e, t);
|
|
13
13
|
if (isNaN(a)) throw RangeError("Invalid time value");
|
|
14
14
|
let o = Object.assign({}, n, {
|
|
15
15
|
addSuffix: n?.addSuffix,
|
|
@@ -18,26 +18,31 @@ function Z(e, t, n) {
|
|
|
18
18
|
if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
|
|
19
19
|
let e = l(u / 1e3);
|
|
20
20
|
return i.formatDistance("xSeconds", e, o);
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
|
+
if (m === "minute") {
|
|
22
23
|
let e = l(d);
|
|
23
24
|
return i.formatDistance("xMinutes", e, o);
|
|
24
|
-
}
|
|
25
|
+
}
|
|
26
|
+
if (m === "hour") {
|
|
25
27
|
let e = l(d / 60);
|
|
26
28
|
return i.formatDistance("xHours", e, o);
|
|
27
|
-
}
|
|
29
|
+
}
|
|
30
|
+
if (m === "day") {
|
|
28
31
|
let e = l(f / ye);
|
|
29
32
|
return i.formatDistance("xDays", e, o);
|
|
30
|
-
}
|
|
33
|
+
}
|
|
34
|
+
if (m === "month") {
|
|
31
35
|
let e = l(f / de);
|
|
32
36
|
return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
|
|
33
|
-
}
|
|
37
|
+
}
|
|
38
|
+
{
|
|
34
39
|
let e = l(f / fe);
|
|
35
40
|
return i.formatDistance("xYears", e, o);
|
|
36
41
|
}
|
|
37
42
|
}
|
|
38
43
|
//#endregion
|
|
39
44
|
//#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
|
|
40
|
-
var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
45
|
+
var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
41
46
|
__name: "_",
|
|
42
47
|
props: {
|
|
43
48
|
name: {},
|
|
@@ -68,7 +73,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
68
73
|
callback: {}
|
|
69
74
|
},
|
|
70
75
|
setup(t) {
|
|
71
|
-
let { t: o } = f(), s = t, { display: c } =
|
|
76
|
+
let { t: o } = f(), s = t, { display: c } = F(), { hideEventGuestAmount: l } = v(j()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(K()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = K(), { addToCart: w } = ee(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), k = T(() => S(s.listingId)), A = () => {
|
|
72
77
|
if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
73
78
|
c({
|
|
74
79
|
type: "error",
|
|
@@ -81,7 +86,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
81
86
|
name: s.name,
|
|
82
87
|
value: s.fromPrice || 0
|
|
83
88
|
}), g.value = s.listingId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, b(s.callback);
|
|
84
|
-
},
|
|
89
|
+
}, M = () => {
|
|
85
90
|
if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
|
|
86
91
|
c({
|
|
87
92
|
type: "error",
|
|
@@ -103,7 +108,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
103
108
|
description: t.description,
|
|
104
109
|
"prices-from": t.fromPrice,
|
|
105
110
|
"to-date": t.toDate,
|
|
106
|
-
layout: d(
|
|
111
|
+
layout: d(W).Event,
|
|
107
112
|
"disable-deep-link": t.disableDeepLink
|
|
108
113
|
}, {
|
|
109
114
|
description: C(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
|
|
@@ -115,7 +120,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
115
120
|
icon: "users",
|
|
116
121
|
"icon-type": "fas",
|
|
117
122
|
"icon-placement": "label",
|
|
118
|
-
description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(
|
|
123
|
+
description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(N)(d(o)("general.guests"))}` : void 0,
|
|
119
124
|
"min-value": 0,
|
|
120
125
|
"max-value": E.value
|
|
121
126
|
}, null, 8, [
|
|
@@ -123,13 +128,13 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
123
128
|
"label",
|
|
124
129
|
"description",
|
|
125
130
|
"max-value"
|
|
126
|
-
])), u("div", Ne, [h(
|
|
131
|
+
])), u("div", Ne, [h(G, {
|
|
127
132
|
label: t.soldOut ? d(o)("event.soldOut") : d(o)("event.bookNowButton"),
|
|
128
133
|
disabled: t.soldOut,
|
|
129
134
|
"is-loading": k.value,
|
|
130
135
|
"full-width": "",
|
|
131
|
-
"sub-label": d(
|
|
132
|
-
onClickEvent: c[1] ||= (e) => t.type === "event" ?
|
|
136
|
+
"sub-label": d(R)(d(_)),
|
|
137
|
+
onClickEvent: c[1] ||= (e) => t.type === "event" ? M() : A()
|
|
133
138
|
}, null, 8, [
|
|
134
139
|
"label",
|
|
135
140
|
"disabled",
|
|
@@ -154,7 +159,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
154
159
|
}, Le = {
|
|
155
160
|
key: 2,
|
|
156
161
|
class: "konnectio-pill-button"
|
|
157
|
-
}, Re = { key: 0 }, ze = { key: 1 }, Q = /*#__PURE__*/
|
|
162
|
+
}, Re = { key: 0 }, ze = { key: 1 }, Q = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
158
163
|
__name: "Event",
|
|
159
164
|
props: {
|
|
160
165
|
name: {},
|
|
@@ -177,7 +182,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
177
182
|
callback: {}
|
|
178
183
|
},
|
|
179
184
|
setup(t) {
|
|
180
|
-
let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = v(
|
|
185
|
+
let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = v(j()), p = T(() => {
|
|
181
186
|
if (!i.length) return;
|
|
182
187
|
let e = i.length.split(":");
|
|
183
188
|
return Z(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
|
|
@@ -202,14 +207,14 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
202
207
|
text: t.description
|
|
203
208
|
}, null, 8, ["text"])) : n("", !0), u("ul", Fe, [
|
|
204
209
|
n("", !0),
|
|
205
|
-
!d(s) && p.value ? (a(), c("li", Ie, [u("div", null, [h(
|
|
210
|
+
!d(s) && p.value ? (a(), c("li", Ie, [u("div", null, [h(q, {
|
|
206
211
|
icon: "calendar-clock",
|
|
207
212
|
color: "header"
|
|
208
213
|
}), u("span", null, _(d(o)("event.lengthOfEvent")), 1)]), u("span", null, _(p.value), 1)])) : n("", !0),
|
|
209
|
-
t.timeFrom ? (a(), c("li", Le, [u("div", null, [h(
|
|
214
|
+
t.timeFrom ? (a(), c("li", Le, [u("div", null, [h(q, {
|
|
210
215
|
icon: "calendar-clock",
|
|
211
216
|
color: "header"
|
|
212
|
-
}), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", ze, _(d(
|
|
217
|
+
}), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", ze, _(d(B)(t.timeFrom)), 1)) : (a(), c("span", Re, _(d(se)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
|
|
213
218
|
])]),
|
|
214
219
|
action: C(() => [e(i.$slots, "action", {}, void 0, !0)]),
|
|
215
220
|
_: 3
|
|
@@ -231,7 +236,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
231
236
|
}), [["__scopeId", "data-v-2ecac268"]]), Be = {
|
|
232
237
|
key: 0,
|
|
233
238
|
class: "konnectio-event-grouped-listings-container"
|
|
234
|
-
}, Ve = { class: "konnectio-event-grouped-listings" }, He = /*#__PURE__*/
|
|
239
|
+
}, Ve = { class: "konnectio-event-grouped-listings" }, He = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
235
240
|
__name: "Event",
|
|
236
241
|
props: {
|
|
237
242
|
name: {},
|
|
@@ -310,7 +315,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
310
315
|
"callback"
|
|
311
316
|
])) : n("", !0);
|
|
312
317
|
}
|
|
313
|
-
}), [["__scopeId", "data-v-3584070d"]]), Ue = { class: "konnectio-special-offer-availability" }, We = { class: "konnectio-special-offer-availability-button" }, $ = { class: "konnectio-warning-notice" }, Ge = { key: 0 }, Ke = { key: 1 }, qe = /*#__PURE__*/
|
|
318
|
+
}), [["__scopeId", "data-v-3584070d"]]), Ue = { class: "konnectio-special-offer-availability" }, We = { class: "konnectio-special-offer-availability-button" }, $ = { class: "konnectio-warning-notice" }, Ge = { key: 0 }, Ke = { key: 1 }, qe = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
314
319
|
__name: "NextEvent",
|
|
315
320
|
props: {
|
|
316
321
|
name: {},
|
|
@@ -332,14 +337,14 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
332
337
|
callback: { type: Function }
|
|
333
338
|
},
|
|
334
339
|
setup(e) {
|
|
335
|
-
let { t: n } = f(), { updateEventDate: i } =
|
|
340
|
+
let { t: n } = f(), { updateEventDate: i } = A(), { display: s } = F(), l = D(), p = e;
|
|
336
341
|
function m() {
|
|
337
342
|
l.value ? i(l.value) : s({
|
|
338
343
|
message: n("alert.error.selectDate"),
|
|
339
344
|
type: "error"
|
|
340
345
|
});
|
|
341
346
|
}
|
|
342
|
-
let g = T(() =>
|
|
347
|
+
let g = T(() => ce(p.fromDate, p.toDate) <= 1), v = T(() => [
|
|
343
348
|
0,
|
|
344
349
|
1,
|
|
345
350
|
2,
|
|
@@ -347,7 +352,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
347
352
|
4,
|
|
348
353
|
5,
|
|
349
354
|
6
|
|
350
|
-
].filter((e) => !
|
|
355
|
+
].filter((e) => !L(p.days).includes(e)));
|
|
351
356
|
return o(() => {
|
|
352
357
|
g.value && (l.value = new Date(p.fromDate));
|
|
353
358
|
}), (i, o) => (a(), r(Q, {
|
|
@@ -391,10 +396,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
391
396
|
"min-date",
|
|
392
397
|
"max-date",
|
|
393
398
|
"disabled-week-days"
|
|
394
|
-
]), u("div", We, [h(
|
|
399
|
+
]), u("div", We, [h(G, {
|
|
395
400
|
label: d(n)("availability.buttonLabel"),
|
|
396
401
|
onClick: w(m, ["prevent"])
|
|
397
|
-
}, null, 8, ["label"])])]), u("div", $, [g.value ? (a(), c("span", Ge, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(
|
|
402
|
+
}, null, 8, ["label"])])]), u("div", $, [g.value ? (a(), c("span", Ge, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(R)(e.fromDate)), 1)])) : (a(), c("span", Ke, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(z)(e.days)), 1)]))])])]),
|
|
398
403
|
_: 1
|
|
399
404
|
}, 8, [
|
|
400
405
|
"name",
|
|
@@ -419,7 +424,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
419
424
|
}), [["__scopeId", "data-v-91ea584c"]]), Je = {
|
|
420
425
|
key: 0,
|
|
421
426
|
class: "konnectio-event-grouped-listings-container"
|
|
422
|
-
}, Ye = { class: "konnectio-event-grouped-listings" }, Xe = /*#__PURE__*/
|
|
427
|
+
}, Ye = { class: "konnectio-event-grouped-listings" }, Xe = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
423
428
|
__name: "NextEvent",
|
|
424
429
|
props: {
|
|
425
430
|
name: {},
|
|
@@ -502,7 +507,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
502
507
|
"callback"
|
|
503
508
|
])) : n("", !0);
|
|
504
509
|
}
|
|
505
|
-
}), [["__scopeId", "data-v-138f6cac"]]), Ze = ["innerHTML"], Qe = /*#__PURE__*/
|
|
510
|
+
}), [["__scopeId", "data-v-138f6cac"]]), Ze = ["innerHTML"], Qe = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
506
511
|
__name: "FallbackEvent",
|
|
507
512
|
props: {
|
|
508
513
|
name: {},
|
|
@@ -587,7 +592,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
587
592
|
}, tt = ["innerHTML"], nt = { key: 0 }, rt = { key: 1 }, it = { key: 2 }, at = { key: 0 }, ot = { key: 4 }, st = { key: 5 }, ct = { key: 6 }, lt = { key: 0 }, ut = { key: 0 }, dt = { key: 1 }, ft = {
|
|
588
593
|
key: 0,
|
|
589
594
|
class: "konnectio-capitalize"
|
|
590
|
-
}, pt = /*#__PURE__*/
|
|
595
|
+
}, pt = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
591
596
|
__name: "EventReservationForm",
|
|
592
597
|
props: {
|
|
593
598
|
showGiftCard: {
|
|
@@ -601,42 +606,42 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
601
606
|
prevCallback: {}
|
|
602
607
|
},
|
|
603
608
|
setup(t) {
|
|
604
|
-
let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: A, basePrice:
|
|
609
|
+
let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: A, basePrice: ee, totalPrice: M, weekendFee: N, roomUpgrade: P, discountCode: F, totalSelectedProducts: I, discountValue: L, appliedDiscountCode: te } = v(K()), { totalAddonPrice: z, validateDiscountCode: ne } = K(), { currency: re, hideEventLength: ie } = v(j()), V = i("event.reservationNotice");
|
|
605
610
|
return (f, v) => (a(), r(xe, {
|
|
606
|
-
"discount-code": d(
|
|
607
|
-
"onUpdate:discountCode": v[0] ||= (e) => m(
|
|
608
|
-
"validate-discount-code": d(
|
|
611
|
+
"discount-code": d(F),
|
|
612
|
+
"onUpdate:discountCode": v[0] ||= (e) => m(F) ? F.value = e : null,
|
|
613
|
+
"validate-discount-code": d(ne),
|
|
609
614
|
"show-gift-card": t.showGiftCard,
|
|
610
615
|
"show-terms-notice": t.showTermsNotice,
|
|
611
616
|
"is-sidebar-loading": !d(s),
|
|
612
|
-
"base-price": d(
|
|
617
|
+
"base-price": d(ee),
|
|
613
618
|
"total-price": d(M),
|
|
614
|
-
"weekend-fee": d(
|
|
615
|
-
"room-upgrade": d(
|
|
616
|
-
notice: d(
|
|
619
|
+
"weekend-fee": d(N),
|
|
620
|
+
"room-upgrade": d(P),
|
|
621
|
+
notice: d(V),
|
|
617
622
|
"prev-callback": t.prevCallback
|
|
618
623
|
}, g({
|
|
619
|
-
form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(
|
|
620
|
-
innerHTML: d(
|
|
624
|
+
form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(V) ? (a(), c("div", et, [u("p", {
|
|
625
|
+
innerHTML: d(V),
|
|
621
626
|
class: "konnectio-wysiwyg"
|
|
622
627
|
}, null, 8, tt)])) : n("", !0)]),
|
|
623
628
|
"reservation-summary": C(() => [
|
|
624
|
-
d(w) ? n("", !0) : (a(), c("li", nt, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(
|
|
629
|
+
d(w) ? n("", !0) : (a(), c("li", nt, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(R)(d(T))), 1)])),
|
|
625
630
|
d(y) > 0 ? (a(), c("li", rt, [u("span", null, _(d(i)("event.numberOfGuests")), 1), u("b", null, _(d(y)), 1)])) : n("", !0),
|
|
626
631
|
!d(w) && d(I) > 0 ? (a(), c("li", it, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(I)), 1)])) : n("", !0),
|
|
627
632
|
d(w) ? (a(), c(p, { key: 3 }, [
|
|
628
|
-
u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(
|
|
629
|
-
u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(
|
|
633
|
+
u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(R)(d(D))), 1)]),
|
|
634
|
+
u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(R)(d(D), d(S))), 1)]),
|
|
630
635
|
u("li", null, [u("span", null, _(d(i)("event.numberOfRooms")), 1), u("b", null, _(d(b)), 1)]),
|
|
631
636
|
d(S) > 0 ? (a(), c("li", at, [u("span", null, _(d(i)("event.numberOfDays")), 1), u("b", null, _(d(S)), 1)])) : n("", !0)
|
|
632
637
|
], 64)) : n("", !0),
|
|
633
|
-
!d(w) && d(h) ? (a(), c("li", ot, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(
|
|
634
|
-
!d(w) && d(E) && !d(
|
|
635
|
-
d(L) ? (a(), c("li", ct, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(
|
|
638
|
+
!d(w) && d(h) ? (a(), c("li", ot, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(B)(d(h))), 1)])) : n("", !0),
|
|
639
|
+
!d(w) && d(E) && !d(ie) ? (a(), c("li", st, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(B)(d(E))), 1)])) : n("", !0),
|
|
640
|
+
d(L) ? (a(), c("li", ct, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(te)), 1)])) : n("", !0)
|
|
636
641
|
]),
|
|
637
|
-
"price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", lt, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(
|
|
642
|
+
"price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", lt, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(k)(d(O), d(re))), 1)])) : n("", !0), d(A) ? (a(!0), c(p, { key: 1 }, l(d(A), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(z)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, _(d(i)("booking.reservation.addons")) + " - " + _(d(i)("booking.reservation.room")) + " #" + _(t + 1), 1), u("b", null, _(d(k)(d(z)(e, t), d(re))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
|
|
638
643
|
navigation: C(() => [e(f.$slots, "navigation", {}, void 0, !0)]),
|
|
639
|
-
"mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", ut, [u("span", null, _(d(
|
|
644
|
+
"mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", ut, [u("span", null, _(d(R)(d(D))) + " - " + _(d(R)(d(D), d(S))), 1)])) : (a(), c("div", dt, [u("span", null, _(d(R)(d(T))), 1)]))]),
|
|
640
645
|
"mobile-summary": C(() => [!d(w) && d(I) > 0 ? (a(), c("span", ft, _(d(i)("event.numberOfProducts")) + ": " + _(d(I)), 1)) : n("", !0)]),
|
|
641
646
|
_: 2
|
|
642
647
|
}, [d(o).sidebar ? {
|
|
@@ -657,7 +662,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
657
662
|
"prev-callback"
|
|
658
663
|
]));
|
|
659
664
|
}
|
|
660
|
-
}), [["__scopeId", "data-v-c1e1c642"]]), mt = { class: "event-skeleton" }, ht = { class: "event-skeleton-content" }, gt = { class: "event-skeleton-sidebar" }, _t = /*#__PURE__*/
|
|
665
|
+
}), [["__scopeId", "data-v-c1e1c642"]]), mt = { class: "event-skeleton" }, ht = { class: "event-skeleton-content" }, gt = { class: "event-skeleton-sidebar" }, _t = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
661
666
|
__name: "EventSkeleton",
|
|
662
667
|
setup(e) {
|
|
663
668
|
return (e, t) => (a(), c("div", mt, [u("div", ht, [h(Te)]), u("div", gt, [n("", !0), h(Ee)])]));
|
|
@@ -677,7 +682,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
677
682
|
}, Dt = { class: "konnectio-table with-lines" }, Ot = { class: "konnectio-event-addons-price" }, kt = { class: "konnectio-event-addons-input" }, At = { class: "konnectio-event-addons-price" }, jt = { class: "konnectio-event-addons-price" }, Mt = {
|
|
678
683
|
key: 1,
|
|
679
684
|
class: "konnectio-table with-lines without-header"
|
|
680
|
-
}, Nt = { class: "konnectio-table-addons-information" }, Pt = { key: 0 }, Ft = { class: "konnectio-table-addons-option" }, It = { class: "konnectio-panel" }, Lt = /*#__PURE__*/
|
|
685
|
+
}, Nt = { class: "konnectio-table-addons-information" }, Pt = { key: 0 }, Ft = { class: "konnectio-table-addons-option" }, It = { class: "konnectio-panel" }, Lt = /*#__PURE__*/ I(/* @__PURE__ */ s({
|
|
681
686
|
name: "EventLayout",
|
|
682
687
|
__name: "Event",
|
|
683
688
|
props: {
|
|
@@ -695,7 +700,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
695
700
|
styling: {}
|
|
696
701
|
},
|
|
697
702
|
setup(e) {
|
|
698
|
-
let i = e, { t: o } = f(), s =
|
|
703
|
+
let i = e, { t: o } = f(), s = K(), { isHostedCheckoutActive: g } = v(ie()), { addons: y, products: b, numberOfDays: x, flagOnTable: S, numberOfHighChairs: w, name: D, phone: O, email: N, remark: I, allergies: L, arrivalTime: R, hasEvents: z, hasTemplates: W, getTemplates: se, getEventData: ce, getTemplateData: J, getEventTableData: ue, hasProducts: de, eventRateType: fe, areListingsAvailable: pe, isAvailabilityDataAvailable: me, hasListingData: he, isPaymentLoading: ge, isReservationFormFilled: _e, requiresArrivalTime: ve, hasSelectedRequiredProducts: ye, getUnavailableEvents: Y, hasFallbackEvents: xe, getFallbackEvents: we, excludeEventIds: Ee } = v(s), Oe = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(j()), { setActiveIdFilter: Ne } = j(), { eventDate: Pe, eventLocation: Fe } = v(A()), { isValidRestaurantId: Ie } = A(), { initialize: Le, fetchListings: Re, createBooking: ze, localAddonPrice: Q, totalAddonPrice: Be, reset: Ve, goBack: Ue } = K(), { beginEventCheckout: We } = ee(), { display: $ } = F(), Ge = T(() => [
|
|
699
704
|
{
|
|
700
705
|
id: "availability",
|
|
701
706
|
label: o("booking.availability.title"),
|
|
@@ -723,9 +728,9 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
723
728
|
}
|
|
724
729
|
]), Ke = T(() => {
|
|
725
730
|
let e = [];
|
|
726
|
-
return
|
|
731
|
+
return ue.value && ue.value.forEach((t) => {
|
|
727
732
|
e.find((e) => e.value === t.time) || e.push({
|
|
728
|
-
label:
|
|
733
|
+
label: B(t.time),
|
|
729
734
|
value: t.time
|
|
730
735
|
});
|
|
731
736
|
}), e;
|
|
@@ -737,25 +742,27 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
737
742
|
Z.value && We(), ze(e);
|
|
738
743
|
}
|
|
739
744
|
function Ye() {
|
|
740
|
-
let e =
|
|
741
|
-
if (n)
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
+
let e = V("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
|
|
746
|
+
if (n) {
|
|
747
|
+
if (ae(n)) {
|
|
748
|
+
let t = new Date(n);
|
|
749
|
+
t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Pe.value = t : ($({
|
|
750
|
+
message: o("alert.error.invalidDateRange"),
|
|
751
|
+
type: "error"
|
|
752
|
+
}), e.d = void 0);
|
|
753
|
+
} else $({
|
|
754
|
+
message: o("alert.error.wrongDateFormat"),
|
|
745
755
|
type: "error"
|
|
746
|
-
})
|
|
747
|
-
}
|
|
748
|
-
message: o("alert.error.wrongDateFormat"),
|
|
749
|
-
type: "error"
|
|
750
|
-
});
|
|
756
|
+
});
|
|
757
|
+
}
|
|
751
758
|
isNaN(t) || (Ie(t) ? Fe.value = t : (e.rid = void 0, $({
|
|
752
759
|
message: o("alert.error.hotelIdNotFound"),
|
|
753
760
|
type: "error"
|
|
754
761
|
}))), isNaN(r) || Ne(String(r)), i.excludeEventIds && (Ee.value = i.excludeEventIds), Re();
|
|
755
762
|
}
|
|
756
|
-
return (i, s) => (a(), r(
|
|
763
|
+
return (i, s) => (a(), r(ne, { styling: e.styling }, {
|
|
757
764
|
default: C(() => [(a(), r(E, { onResolve: Ye }, {
|
|
758
|
-
default: C(() => [h(
|
|
765
|
+
default: C(() => [h(le, {
|
|
759
766
|
id: "konnectio-event-module",
|
|
760
767
|
"access-token": e.accessToken,
|
|
761
768
|
callback: d(Le)
|
|
@@ -788,7 +795,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
788
795
|
"tracking-enabled",
|
|
789
796
|
"callback"
|
|
790
797
|
]))), 128))])) : n("", !0),
|
|
791
|
-
Oe.value.length > 0 && d(Y).length > 0 ? (a(), c("h2", bt, [h(
|
|
798
|
+
Oe.value.length > 0 && d(Y).length > 0 ? (a(), c("h2", bt, [h(q, {
|
|
792
799
|
icon: "calendar-clock",
|
|
793
800
|
type: "fal",
|
|
794
801
|
color: "header"
|
|
@@ -803,7 +810,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
803
810
|
"events",
|
|
804
811
|
"tracking-enabled",
|
|
805
812
|
"callback"
|
|
806
|
-
]))), 256)) : n("", !0), d(
|
|
813
|
+
]))), 256)) : n("", !0), d(W) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(se), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r($e, {
|
|
807
814
|
key: e,
|
|
808
815
|
"listing-id": e,
|
|
809
816
|
name: n,
|
|
@@ -827,7 +834,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
827
834
|
"tracking-enabled",
|
|
828
835
|
"callback"
|
|
829
836
|
]))), 128)) : n("", !0)]),
|
|
830
|
-
d(Y).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2", St, [h(
|
|
837
|
+
d(Y).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2", St, [h(q, {
|
|
831
838
|
icon: "calendar-circle-exclamation",
|
|
832
839
|
type: "fal",
|
|
833
840
|
color: "header"
|
|
@@ -842,7 +849,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
842
849
|
"tracking-enabled",
|
|
843
850
|
"callback"
|
|
844
851
|
]))), 256))])], 64)) : n("", !0),
|
|
845
|
-
(!d(z) && !d(
|
|
852
|
+
(!d(z) && !d(W) || !d(z) && e.onlyShow === "events" || !d(W) && e.onlyShow === "templates") && !d(xe) ? (a(), c("div", {
|
|
846
853
|
key: 3,
|
|
847
854
|
class: "konnectio-panel",
|
|
848
855
|
innerHTML: d(o)("event.nothingAvailable")
|
|
@@ -856,10 +863,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
856
863
|
}, {
|
|
857
864
|
form: C(() => [u("form", Tt, [
|
|
858
865
|
u("h2", null, [u("span", null, _(d(o)("event.selectProducts")), 1)]),
|
|
859
|
-
d(
|
|
866
|
+
d(J) && d(J).length > 0 ? (a(), c("ul", Et, [(a(!0), c(p, null, l(d(J), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
|
|
860
867
|
u("span", null, _(d(o)("booking.reservation.room")) + " #" + _(f + 1), 1),
|
|
861
868
|
s[9] ||= t(" (", -1),
|
|
862
|
-
h(
|
|
869
|
+
h(q, {
|
|
863
870
|
icon: "male",
|
|
864
871
|
type: "fas",
|
|
865
872
|
color: "header"
|
|
@@ -875,9 +882,9 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
875
882
|
u("td", null, [
|
|
876
883
|
u("b", null, _(i), 1),
|
|
877
884
|
s[11] ||= u("br", null, null, -1),
|
|
878
|
-
u("span", null, _(d(
|
|
885
|
+
u("span", null, _(d(k)(o, d(X))) + " " + _(d(te)(l)), 1)
|
|
879
886
|
]),
|
|
880
|
-
u("td", kt, [n === d(
|
|
887
|
+
u("td", kt, [n === d(oe).Mandatory ? (a(), r(U, {
|
|
881
888
|
key: 0,
|
|
882
889
|
"model-value": 1,
|
|
883
890
|
small: !0,
|
|
@@ -890,24 +897,24 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
890
897
|
"onUpdate:modelValue": (n) => d(y)[`${e}.${t}.${f}`] = n,
|
|
891
898
|
small: !0,
|
|
892
899
|
"min-value": 0,
|
|
893
|
-
"max-value": d(
|
|
900
|
+
"max-value": d(M)(n)
|
|
894
901
|
}, null, 8, [
|
|
895
902
|
"modelValue",
|
|
896
903
|
"onUpdate:modelValue",
|
|
897
904
|
"max-value"
|
|
898
905
|
]))]),
|
|
899
|
-
u("td", At, [u("span", null, _(d(
|
|
906
|
+
u("td", At, [u("span", null, _(d(k)(d(Q)(t, e, f), d(X))), 1)])
|
|
900
907
|
]))), 128))]),
|
|
901
908
|
u("tfoot", null, [u("tr", null, [
|
|
902
909
|
s[12] ||= u("td", null, null, -1),
|
|
903
910
|
s[13] ||= u("td", null, null, -1),
|
|
904
|
-
u("td", jt, [u("u", null, [u("span", null, _(d(
|
|
911
|
+
u("td", jt, [u("u", null, [u("span", null, _(d(k)(d(Be)(e, f), d(X))), 1)])])
|
|
905
912
|
])])
|
|
906
913
|
])]))), 128))])) : n("", !0),
|
|
907
|
-
d(de) ? (a(), c("table", Mt, [u("tbody", null, [(a(!0), c(p, null, l(d(
|
|
908
|
-
u("b", null, [u("span", null, _(d(
|
|
909
|
-
i && i !== t ? (a(), c("span", Pt, _(d(
|
|
910
|
-
u("u", null, _(d(
|
|
914
|
+
d(de) ? (a(), c("table", Mt, [u("tbody", null, [(a(!0), c(p, null, l(d(ce).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", Nt, [
|
|
915
|
+
u("b", null, [u("span", null, _(d(P)(t)), 1)]),
|
|
916
|
+
i && i !== t ? (a(), c("span", Pt, _(d(P)(i)), 1)) : n("", !0),
|
|
917
|
+
u("u", null, _(d(k)(r, d(X))), 1)
|
|
911
918
|
]), u("td", Ft, [h(U, {
|
|
912
919
|
modelValue: d(b)[e],
|
|
913
920
|
"onUpdate:modelValue": (t) => d(b)[e] = t,
|
|
@@ -915,7 +922,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
915
922
|
"min-value": 0
|
|
916
923
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : n("", !0)
|
|
917
924
|
])]),
|
|
918
|
-
navigation: C(() => [h(
|
|
925
|
+
navigation: C(() => [h(G, {
|
|
919
926
|
label: d(o)("event.startReservation"),
|
|
920
927
|
disabled: !d(ye),
|
|
921
928
|
"full-width": "",
|
|
@@ -934,7 +941,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
934
941
|
}, {
|
|
935
942
|
form: C(() => [u("form", It, [
|
|
936
943
|
u("h2", null, [u("span", null, _(d(o)("booking.reservation.detailsTitle")), 1)]),
|
|
937
|
-
h(
|
|
944
|
+
h(H, {
|
|
938
945
|
modelValue: d(D),
|
|
939
946
|
"onUpdate:modelValue": s[0] ||= (e) => m(D) ? D.value = e : null,
|
|
940
947
|
type: "text",
|
|
@@ -947,9 +954,9 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
947
954
|
"label",
|
|
948
955
|
"placeholder"
|
|
949
956
|
]),
|
|
950
|
-
h(
|
|
951
|
-
modelValue: d(
|
|
952
|
-
"onUpdate:modelValue": s[1] ||= (e) => m(
|
|
957
|
+
h(H, {
|
|
958
|
+
modelValue: d(N),
|
|
959
|
+
"onUpdate:modelValue": s[1] ||= (e) => m(N) ? N.value = e : null,
|
|
953
960
|
label: d(o)("booking.reservation.email"),
|
|
954
961
|
type: "email",
|
|
955
962
|
name: "email",
|
|
@@ -987,7 +994,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
987
994
|
"label",
|
|
988
995
|
"checkboxes"
|
|
989
996
|
])) : n("", !0),
|
|
990
|
-
d(fe) === d(
|
|
997
|
+
d(fe) === d(re).FullDayEvent ? (a(), r(U, {
|
|
991
998
|
key: 1,
|
|
992
999
|
modelValue: d(x),
|
|
993
1000
|
"onUpdate:modelValue": s[4] ||= (e) => m(x) ? x.value = e : null,
|
|
@@ -1009,7 +1016,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
1009
1016
|
"onUpdate:modelValue": s[6] ||= (e) => m(S) ? S.value = e : null,
|
|
1010
1017
|
label: d(o)("event.flagOnTable")
|
|
1011
1018
|
}, null, 8, ["modelValue", "label"])) : n("", !0),
|
|
1012
|
-
e.hideRemarks === "yes" ? n("", !0) : (a(), r(
|
|
1019
|
+
e.hideRemarks === "yes" ? n("", !0) : (a(), r(H, {
|
|
1013
1020
|
key: 4,
|
|
1014
1021
|
modelValue: d(I),
|
|
1015
1022
|
"onUpdate:modelValue": s[7] ||= (e) => m(I) ? I.value = e : null,
|
|
@@ -1022,7 +1029,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
1022
1029
|
"label",
|
|
1023
1030
|
"placeholder"
|
|
1024
1031
|
])),
|
|
1025
|
-
e.hideAllergies !== "yes" && d(
|
|
1032
|
+
e.hideAllergies !== "yes" && d(ce)?.showAllergyFoodFieldOnline ? (a(), r(H, {
|
|
1026
1033
|
key: 5,
|
|
1027
1034
|
modelValue: d(L),
|
|
1028
1035
|
"onUpdate:modelValue": s[8] ||= (e) => m(L) ? L.value = e : null,
|
|
@@ -1036,7 +1043,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
|
|
|
1036
1043
|
"placeholder"
|
|
1037
1044
|
])) : n("", !0)
|
|
1038
1045
|
])]),
|
|
1039
|
-
navigation: C(() => [d(g) ? (a(), r(je, { key: 0 })) : n("", !0), h(
|
|
1046
|
+
navigation: C(() => [d(g) ? (a(), r(je, { key: 0 })) : n("", !0), h(G, {
|
|
1040
1047
|
label: d(o)("general.confirmReservation"),
|
|
1041
1048
|
"is-loading": d(ge) || d(g),
|
|
1042
1049
|
disabled: !d(_e),
|
package/dist/event.js.br
CHANGED
|
Binary file
|
package/dist/event.js.gz
CHANGED
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { D as e, E as t, J as n, N as r, O as i, T as a, Tt as o, a as s, ht as c, j as l, kt as u, l as d, n as f, o as p, s as m, ut as h, v as g, w as _, x as v } from "./i18n-
|
|
2
|
-
import {
|
|
3
|
-
import { t as E } from "./_-
|
|
4
|
-
import { t as D } from "./ErrorMessage-
|
|
5
|
-
import { n as O, t as k } from "./Field-
|
|
6
|
-
import { t as A } from "./style-
|
|
7
|
-
import { t as j } from "./ActionField-
|
|
8
|
-
import { t as M } from "./giftCard-
|
|
1
|
+
import { D as e, E as t, J as n, N as r, O as i, T as a, Tt as o, a as s, ht as c, j as l, kt as u, l as d, n as f, o as p, s as m, ut as h, v as g, w as _, x as v } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { $ as y, E as b, M as x, S, X as C, b as w, x as T } from "./SelectField-DMU4o8wT.js";
|
|
3
|
+
import { t as E } from "./_-CYKi9htj.js";
|
|
4
|
+
import { t as D } from "./ErrorMessage-ClFJa4be.js";
|
|
5
|
+
import { n as O, t as k } from "./Field-CzT0QKcQ.js";
|
|
6
|
+
import { t as A } from "./style-CXIHVW9k.js";
|
|
7
|
+
import { t as j } from "./ActionField-CiBTmhVP.js";
|
|
8
|
+
import { t as M } from "./giftCard-BP6ydQ7Q.js";
|
|
9
9
|
//#region src/components/skeletons/GiftCardValidationSkeleton.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-validation-skeleton-form" }, F = { class: "gift-card-validation-skeleton-text" }, I = { class: "gift-card-validation-skeleton-input" }, L = /*#__PURE__*/ S(/* @__PURE__ */ r({
|
|
11
11
|
__name: "GiftCardValidationSkeleton",
|
|
@@ -31,7 +31,7 @@ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-vali
|
|
|
31
31
|
let f = r, p = _(() => ({
|
|
32
32
|
panelMaxWidth: "800px",
|
|
33
33
|
...f.styling
|
|
34
|
-
})), { t: m } = s(), { voucher: S, isValid: O, amount: k, expirationDate: A, productName: N, isLoading: P } = d(
|
|
34
|
+
})), { t: m } = s(), { voucher: S, isValid: O, amount: k, expirationDate: A, productName: N, isLoading: P } = d(x()), { currency: F, hasError: I } = d(b()), { fetchMetadata: B } = M(), { apply: V } = x();
|
|
35
35
|
return (s, d) => (n(), t(w, { styling: p.value }, {
|
|
36
36
|
default: h(() => [(n(), t(v, null, {
|
|
37
37
|
default: h(() => [l(E, {
|
|
@@ -83,7 +83,7 @@ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-vali
|
|
|
83
83
|
})])
|
|
84
84
|
])]), a("tbody", null, [a("tr", null, [
|
|
85
85
|
a("td", null, [a("span", null, u(o(N)), 1)]),
|
|
86
|
-
a("td", null, [a("span", null, u(o(
|
|
86
|
+
a("td", null, [a("span", null, u(o(y)(o(k), o(F))), 1)]),
|
|
87
87
|
a("td", null, [a("span", null, u(o(C)(o(A))), 1)])
|
|
88
88
|
])])])) : e("", !0)
|
|
89
89
|
], 32))]),
|
|
Binary file
|
|
Binary file
|
package/dist/gift-card.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { D as e, E as t, Et as n, J as r, K as i, N as a, O as o, Q as s, T as c, Tt as l, a as u, b as d, ct as f, dt as p, g as m, ht as h, i as g, j as _, kt as v, l as y, n as b, o as x, s as S, ut as C, v as w, w as T, x as ee, yt as E } from "./i18n-
|
|
2
|
-
import { t as D } from "./dist-
|
|
3
|
-
import { E as te, N as O, S as k, _ as ne, b as re, n as A, r as j, t as M, v as N, y as P } from "./SelectField-
|
|
4
|
-
import { t as F } from "./_-
|
|
5
|
-
import { t as I } from "./ErrorMessage-
|
|
6
|
-
import { n as L, t as R } from "./Field-
|
|
7
|
-
import { t as z } from "./style-
|
|
8
|
-
import { a as ie, i as ae, r as oe, t as se } from "./CheckoutWindow-
|
|
9
|
-
import { t as B } from "./giftCard-
|
|
10
|
-
import { t as V } from "./TermsOfService-
|
|
1
|
+
import { D as e, E as t, Et as n, J as r, K as i, N as a, O as o, Q as s, T as c, Tt as l, a as u, b as d, ct as f, dt as p, g as m, ht as h, i as g, j as _, kt as v, l as y, n as b, o as x, s as S, ut as C, v as w, w as T, x as ee, yt as E } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { t as D } from "./dist-Dhf-kBcE.js";
|
|
3
|
+
import { E as te, N as O, S as k, _ as ne, b as re, n as A, r as j, t as M, v as N, y as P } from "./SelectField-DMU4o8wT.js";
|
|
4
|
+
import { t as F } from "./_-CYKi9htj.js";
|
|
5
|
+
import { t as I } from "./ErrorMessage-ClFJa4be.js";
|
|
6
|
+
import { n as L, t as R } from "./Field-CzT0QKcQ.js";
|
|
7
|
+
import { t as z } from "./style-CXIHVW9k.js";
|
|
8
|
+
import { a as ie, i as ae, r as oe, t as se } from "./CheckoutWindow-3gTfVepQ.js";
|
|
9
|
+
import { t as B } from "./giftCard-BP6ydQ7Q.js";
|
|
10
|
+
import { t as V } from "./TermsOfService-Bh49zB1Y.js";
|
|
11
11
|
//#region src/components/inputs/MediaSelector.vue?vue&type=script&setup=true&lang.ts
|
|
12
12
|
var H = { class: "media-selector" }, U = ["accept"], W = { class: "media-selector-wrapper" }, G = { class: "media-selector-tools" }, K = { key: 0 }, q = { key: 1 }, J = { key: 2 }, Y = ["src"], X = /*@__PURE__*/ a({
|
|
13
13
|
__name: "MediaSelector",
|
package/dist/gift-card.js.br
CHANGED
|
Binary file
|
package/dist/gift-card.js.gz
CHANGED
|
Binary file
|