@konnectio/core 4.4.0 → 4.4.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-CMFQS0Tu.js → ActionField-DVN5P7Z_.js} +2 -2
- package/dist/ActionField-DVN5P7Z_.js.br +3 -0
- package/dist/ActionField-DVN5P7Z_.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Bxse3JWw.js → AvailabilitySkeleton-7H9pWAYC.js} +5 -5
- package/dist/AvailabilitySkeleton-7H9pWAYC.js.br +0 -0
- package/dist/AvailabilitySkeleton-7H9pWAYC.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.gz → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js.gz} +0 -0
- package/dist/{CheckoutWindow-DbyK9q3i.js → CheckoutWindow-Q8_p59cy.js} +2 -2
- package/dist/CheckoutWindow-Q8_p59cy.js.br +0 -0
- package/dist/CheckoutWindow-Q8_p59cy.js.gz +0 -0
- package/dist/{ErrorMessage-CHJAgZQF.js → ErrorMessage-0MZWCZU7.js} +2 -2
- package/dist/ErrorMessage-0MZWCZU7.js.br +0 -0
- package/dist/{ErrorMessage-CHJAgZQF.js.gz → ErrorMessage-0MZWCZU7.js.gz} +0 -0
- package/dist/{EventAvailabilityForm-C12USIHw.js → EventAvailabilityForm-BHA_1v5L.js} +3 -3
- package/dist/EventAvailabilityForm-BHA_1v5L.js.br +0 -0
- package/dist/EventAvailabilityForm-BHA_1v5L.js.gz +0 -0
- package/dist/{Field-DeO4xsFg.js → Field-CM7qTnZH.js} +3 -3
- package/dist/Field-CM7qTnZH.js.br +0 -0
- package/dist/Field-CM7qTnZH.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js} +2 -2
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js → SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js} +1527 -1522
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js.gz +0 -0
- package/dist/{TermsOfService-DSR9-slK.js → TermsOfService-B21lY36J.js} +3 -3
- package/dist/TermsOfService-B21lY36J.js.br +0 -0
- package/dist/TermsOfService-B21lY36J.js.gz +0 -0
- package/dist/_-B0phTtn2.js +5 -0
- package/dist/_-B0phTtn2.js.br +0 -0
- package/dist/_-B0phTtn2.js.gz +0 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-C_u0UT6W.js → _.vue_vue_type_style_index_0_lang-DwcYCxEU.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-DwcYCxEU.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DwcYCxEU.js.gz +0 -0
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- 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 +383 -383
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +8 -8
- 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-D1GA4BA0.js → giftCard-DVodKzHd.js} +2 -2
- package/dist/giftCard-DVodKzHd.js.br +0 -0
- package/dist/giftCard-DVodKzHd.js.gz +0 -0
- package/dist/hotel.js +1703 -1697
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-D4nA_tEk.js → index-BRxDgKAw.js} +49 -48
- package/dist/index-BRxDgKAw.js.br +0 -0
- package/dist/index-BRxDgKAw.js.gz +0 -0
- package/dist/{masonry.plugin-DDRglIja.js → masonry.plugin-CbLAl45b.js} +5 -5
- package/dist/masonry.plugin-CbLAl45b.js.br +0 -0
- package/dist/{masonry.plugin-DDRglIja.js.gz → masonry.plugin-CbLAl45b.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-DijlEV9B.js → style-DxRnyF5v.js} +2 -2
- package/dist/style-DxRnyF5v.js.br +0 -0
- package/dist/{style-DijlEV9B.js.gz → style-DxRnyF5v.js.gz} +0 -0
- package/package.json +1 -1
- package/dist/ActionField-CMFQS0Tu.js.br +0 -0
- package/dist/ActionField-CMFQS0Tu.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Bxse3JWw.js.br +0 -0
- package/dist/AvailabilitySkeleton-Bxse3JWw.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.br +0 -0
- package/dist/CheckoutWindow-DbyK9q3i.js.br +0 -0
- package/dist/CheckoutWindow-DbyK9q3i.js.gz +0 -0
- package/dist/ErrorMessage-CHJAgZQF.js.br +0 -0
- package/dist/EventAvailabilityForm-C12USIHw.js.br +0 -0
- package/dist/EventAvailabilityForm-C12USIHw.js.gz +0 -0
- package/dist/Field-DeO4xsFg.js.br +0 -0
- package/dist/Field-DeO4xsFg.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.gz +0 -0
- package/dist/TermsOfService-DSR9-slK.js.br +0 -0
- package/dist/TermsOfService-DSR9-slK.js.gz +0 -0
- package/dist/_-PjpC4p-e.js +0 -5
- package/dist/_-PjpC4p-e.js.br +0 -0
- package/dist/_-PjpC4p-e.js.gz +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.gz +0 -0
- package/dist/giftCard-D1GA4BA0.js.br +0 -0
- package/dist/giftCard-D1GA4BA0.js.gz +0 -0
- package/dist/index-D4nA_tEk.js.br +0 -0
- package/dist/index-D4nA_tEk.js.gz +0 -0
- package/dist/masonry.plugin-DDRglIja.js.br +0 -0
- package/dist/style-DijlEV9B.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { d as M, u as _, s as q, c as
|
|
2
|
-
import { G as
|
|
3
|
-
import { a as Ee, f as oe, g as X, h as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { B as
|
|
6
|
-
import { g as
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
10
|
-
import { f as
|
|
11
|
-
function
|
|
12
|
-
const
|
|
13
|
-
if (isNaN(
|
|
1
|
+
import { d as M, u as _, s as q, c as Y, r as Ae, a as v, b as l, g as e, w as b, q as K, e as n, i as r, 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 dt, S as ct, k as ut, _ as mt, l as vt, m as bt, p as gt } from "./mitt-CvmiLPAX.js";
|
|
2
|
+
import { G as ft } from "./style-DxRnyF5v.js";
|
|
3
|
+
import { a as Ee, f as oe, g as X, h as Se, B as kt, i as ae, l as yt, s as z, e 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 ce, 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-DOhUlPw2.js";
|
|
4
|
+
import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-DwcYCxEU.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-CbLAl45b.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_86730e88_lang-Dmkjy9AD.js";
|
|
7
|
+
import { C as qt, P as Yt, a as Ce } from "./CheckoutWindow-Q8_p59cy.js";
|
|
8
|
+
import { E as jt } from "./EventAvailabilityForm-BHA_1v5L.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js";
|
|
10
|
+
import { f as Wt } from "./index-BRxDgKAw.js";
|
|
11
|
+
function Zt(t, i, a) {
|
|
12
|
+
const E = Rt(), m = a?.locale ?? E.locale ?? Mt, f = Ut(t, i);
|
|
13
|
+
if (isNaN(f))
|
|
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: f
|
|
18
|
+
}), [k, p] = Ht(
|
|
19
19
|
a?.in,
|
|
20
|
-
...
|
|
21
|
-
),
|
|
20
|
+
...f > 0 ? [i, t] : [t, i]
|
|
21
|
+
), D = Gt("round"), $ = p.getTime() - k.getTime(), P = $ / Le, T = Te(p) - Te(k), w = ($ - T) / Le, x = a?.unit;
|
|
22
22
|
let u;
|
|
23
|
-
if (
|
|
24
|
-
const
|
|
25
|
-
return
|
|
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
|
+
const y = D($ / 1e3);
|
|
25
|
+
return m.formatDistance("xSeconds", y, g);
|
|
26
26
|
} else if (u === "minute") {
|
|
27
|
-
const
|
|
28
|
-
return
|
|
27
|
+
const y = D(P);
|
|
28
|
+
return m.formatDistance("xMinutes", y, g);
|
|
29
29
|
} else if (u === "hour") {
|
|
30
|
-
const
|
|
31
|
-
return
|
|
30
|
+
const y = D(P / 60);
|
|
31
|
+
return m.formatDistance("xHours", y, g);
|
|
32
32
|
} else if (u === "day") {
|
|
33
|
-
const
|
|
34
|
-
return
|
|
33
|
+
const y = D(w / Ve);
|
|
34
|
+
return m.formatDistance("xDays", y, g);
|
|
35
35
|
} else if (u === "month") {
|
|
36
|
-
const
|
|
37
|
-
return
|
|
36
|
+
const y = D(w / Fe);
|
|
37
|
+
return y === 12 && x !== "month" ? m.formatDistance("xYears", 1, g) : m.formatDistance("xMonths", y, g);
|
|
38
38
|
} else {
|
|
39
|
-
const
|
|
40
|
-
return
|
|
39
|
+
const y = D(w / Ne);
|
|
40
|
+
return m.formatDistance("xYears", y, g);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__ */ M({
|
|
44
44
|
__name: "_",
|
|
45
45
|
props: {
|
|
46
46
|
name: {},
|
|
@@ -65,21 +65,21 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
65
65
|
callback: {}
|
|
66
66
|
},
|
|
67
67
|
setup(t) {
|
|
68
|
-
const { t: i } = _(), a = t, { display:
|
|
69
|
-
hideEventGuestAmount:
|
|
68
|
+
const { t: i } = _(), a = t, { display: E } = Ee(), {
|
|
69
|
+
hideEventGuestAmount: m
|
|
70
70
|
} = q(oe()), {
|
|
71
|
-
maxNumberOfPeople:
|
|
71
|
+
maxNumberOfPeople: f,
|
|
72
72
|
numberOfPeople: g,
|
|
73
|
-
eventId:
|
|
74
|
-
currentEventDate:
|
|
75
|
-
tableGroupId:
|
|
73
|
+
eventId: k,
|
|
74
|
+
currentEventDate: p,
|
|
75
|
+
tableGroupId: D
|
|
76
76
|
} = q(X()), {
|
|
77
77
|
getTemplateAvailability: $,
|
|
78
|
-
getEventAvailability:
|
|
78
|
+
getEventAvailability: P,
|
|
79
79
|
isEventListingLoading: T
|
|
80
|
-
} = X(), { addToCart: w } =
|
|
80
|
+
} = X(), { addToCart: w } = Se(), x = Y(() => a.maxGuests || a.maxOnlineReservationLimit || f.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",
|
|
84
84
|
message: i("alert.error.selectPeople")
|
|
85
85
|
});
|
|
@@ -89,10 +89,10 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
89
89
|
id: a.listingId,
|
|
90
90
|
name: a.name,
|
|
91
91
|
value: a.fromPrice || 0
|
|
92
|
-
}),
|
|
92
|
+
}), k.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({
|
|
96
96
|
type: "error",
|
|
97
97
|
message: i("alert.error.selectPeople")
|
|
98
98
|
});
|
|
@@ -102,9 +102,9 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
102
102
|
id: a.listingId,
|
|
103
103
|
name: a.name,
|
|
104
104
|
value: a.fromPrice || 0
|
|
105
|
-
}),
|
|
105
|
+
}), k.value = a.listingId, D.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, P(a.callback);
|
|
106
106
|
};
|
|
107
|
-
return (C, U) => (l(),
|
|
107
|
+
return (C, U) => (l(), v(Vt, {
|
|
108
108
|
type: "event",
|
|
109
109
|
"listing-id": t.listingId,
|
|
110
110
|
gallery: t.gallery,
|
|
@@ -115,18 +115,18 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
115
115
|
layout: e(kt).Event,
|
|
116
116
|
"disable-deep-link": t.disableDeepLink
|
|
117
117
|
}, {
|
|
118
|
-
description:
|
|
119
|
-
K(C.$slots, "description", { maxNumberOfPeople: e(
|
|
118
|
+
description: b(() => [
|
|
119
|
+
K(C.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
|
|
120
120
|
]),
|
|
121
|
-
action:
|
|
121
|
+
action: b(() => [
|
|
122
122
|
K(C.$slots, "action", {}, () => [
|
|
123
123
|
n("div", {
|
|
124
|
-
class:
|
|
124
|
+
class: ot([
|
|
125
125
|
"konnectio-event-listing-action",
|
|
126
126
|
{ "no-selectable-people": t.useNumberOfProductsForPersons }
|
|
127
127
|
])
|
|
128
128
|
}, [
|
|
129
|
-
t.useNumberOfProductsForPersons ? r("", !0) : (l(),
|
|
129
|
+
t.useNumberOfProductsForPersons ? r("", !0) : (l(), v(ae, {
|
|
130
130
|
key: 0,
|
|
131
131
|
modelValue: u.value,
|
|
132
132
|
"onUpdate:modelValue": U[0] || (U[0] = (Q) => u.value = Q),
|
|
@@ -134,18 +134,18 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
134
134
|
icon: "users",
|
|
135
135
|
"icon-type": "fas",
|
|
136
136
|
"icon-placement": "label",
|
|
137
|
-
description:
|
|
137
|
+
description: x.value <= 20 && !e(m) ? `${e(i)("general.availableFor")}: 1 - ${x.value} ${e(yt)(e(i)("general.guests"))}` : void 0,
|
|
138
138
|
"min-value": 0,
|
|
139
|
-
"max-value":
|
|
139
|
+
"max-value": x.value
|
|
140
140
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
141
|
-
n("div",
|
|
142
|
-
|
|
141
|
+
n("div", Qt, [
|
|
142
|
+
h(me, {
|
|
143
143
|
label: t.soldOut ? e(i)("event.soldOut") : e(i)("event.bookNowButton"),
|
|
144
144
|
disabled: t.soldOut,
|
|
145
|
-
"is-loading":
|
|
145
|
+
"is-loading": y.value,
|
|
146
146
|
"full-width": "",
|
|
147
|
-
"sub-label": e(z)(e(
|
|
148
|
-
onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() :
|
|
147
|
+
"sub-label": e(z)(e(p)),
|
|
148
|
+
onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() : j())
|
|
149
149
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
150
150
|
])
|
|
151
151
|
], 2)
|
|
@@ -154,14 +154,14 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
154
154
|
_: 3
|
|
155
155
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
156
156
|
}
|
|
157
|
-
}),
|
|
158
|
-
const
|
|
157
|
+
}), Me = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-23ac9949"]]), Kt = { class: "konnectio-event-listing-information-new" };
|
|
158
|
+
const Xt = {
|
|
159
159
|
key: 1,
|
|
160
160
|
class: "konnectio-pill-button"
|
|
161
|
-
},
|
|
161
|
+
}, _t = {
|
|
162
162
|
key: 2,
|
|
163
163
|
class: "konnectio-pill-button"
|
|
164
|
-
},
|
|
164
|
+
}, en = { key: 0 }, tn = { key: 1 }, nn = /* @__PURE__ */ M({
|
|
165
165
|
__name: "Event",
|
|
166
166
|
props: {
|
|
167
167
|
name: {},
|
|
@@ -185,18 +185,18 @@ const Kt = {
|
|
|
185
185
|
},
|
|
186
186
|
setup(t) {
|
|
187
187
|
const i = t, { t: a } = _(), {
|
|
188
|
-
hideEventLength:
|
|
189
|
-
hideEventEndTime:
|
|
190
|
-
} = q(oe()),
|
|
188
|
+
hideEventLength: E,
|
|
189
|
+
hideEventEndTime: m
|
|
190
|
+
} = q(oe()), f = Y(() => {
|
|
191
191
|
if (!i.length)
|
|
192
192
|
return;
|
|
193
193
|
const g = i.length.split(":");
|
|
194
|
-
return
|
|
194
|
+
return Zt(
|
|
195
195
|
new Date(2e3, 0, 1, Number(g[0]), Number(g[1]), 0),
|
|
196
196
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
197
197
|
);
|
|
198
198
|
});
|
|
199
|
-
return (g,
|
|
199
|
+
return (g, k) => (l(), v(Me, {
|
|
200
200
|
"listing-id": t.listingId,
|
|
201
201
|
name: t.name,
|
|
202
202
|
description: t.description,
|
|
@@ -211,45 +211,45 @@ const Kt = {
|
|
|
211
211
|
"tracking-enabled": t.trackingEnabled,
|
|
212
212
|
callback: t.callback
|
|
213
213
|
}, {
|
|
214
|
-
description:
|
|
215
|
-
t.description ? (l(),
|
|
214
|
+
description: b(() => [
|
|
215
|
+
t.description ? (l(), v(Ft, {
|
|
216
216
|
key: 0,
|
|
217
217
|
text: t.description
|
|
218
218
|
}, null, 8, ["text"])) : r("", !0),
|
|
219
|
-
n("ul",
|
|
219
|
+
n("ul", Kt, [
|
|
220
220
|
r("", !0),
|
|
221
|
-
!e(
|
|
221
|
+
!e(E) && f.value ? (l(), s("li", Xt, [
|
|
222
222
|
n("div", null, [
|
|
223
|
-
|
|
223
|
+
h(le, {
|
|
224
224
|
icon: "calendar-clock",
|
|
225
225
|
color: "header"
|
|
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(f.value), 1)
|
|
230
230
|
])) : r("", !0),
|
|
231
|
-
t.timeFrom ? (l(), s("li",
|
|
231
|
+
t.timeFrom ? (l(), s("li", _t, [
|
|
232
232
|
n("div", null, [
|
|
233
|
-
|
|
233
|
+
h(le, {
|
|
234
234
|
icon: "calendar-clock",
|
|
235
235
|
color: "header"
|
|
236
236
|
}),
|
|
237
237
|
n("span", null, o(e(a)("event.startAndEndTime")), 1)
|
|
238
238
|
]),
|
|
239
|
-
e(
|
|
239
|
+
e(m) ? (l(), s("span", tn, o(e(ve)(t.timeFrom)), 1)) : (l(), s("span", en, o(e(ht)(t.timeFrom, t.timeTo)), 1))
|
|
240
240
|
])) : r("", !0)
|
|
241
241
|
])
|
|
242
242
|
]),
|
|
243
|
-
action:
|
|
243
|
+
action: b(() => [
|
|
244
244
|
K(g.$slots, "action", {}, void 0, !0)
|
|
245
245
|
]),
|
|
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(
|
|
249
|
+
}), be = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-40cbbf2c"]]), an = {
|
|
250
250
|
key: 0,
|
|
251
251
|
class: "konnectio-event-grouped-listings-container"
|
|
252
|
-
},
|
|
252
|
+
}, ln = { class: "konnectio-event-grouped-listings" }, on = /* @__PURE__ */ M({
|
|
253
253
|
__name: "Event",
|
|
254
254
|
props: {
|
|
255
255
|
name: {},
|
|
@@ -258,44 +258,44 @@ const Kt = {
|
|
|
258
258
|
callback: { type: Function }
|
|
259
259
|
},
|
|
260
260
|
setup(t) {
|
|
261
|
-
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div",
|
|
261
|
+
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", an, [
|
|
262
262
|
r("", !0),
|
|
263
|
-
n("ul",
|
|
263
|
+
n("ul", ln, [
|
|
264
264
|
(l(!0), s(N, null, R(t.events, ({
|
|
265
|
-
id:
|
|
266
|
-
days:
|
|
267
|
-
name:
|
|
265
|
+
id: E,
|
|
266
|
+
days: m,
|
|
267
|
+
name: f,
|
|
268
268
|
timeFrom: g,
|
|
269
|
-
timeTo:
|
|
270
|
-
tableGroupId:
|
|
271
|
-
description:
|
|
269
|
+
timeTo: k,
|
|
270
|
+
tableGroupId: p,
|
|
271
|
+
description: D,
|
|
272
272
|
soldOut: $,
|
|
273
|
-
length:
|
|
273
|
+
length: P,
|
|
274
274
|
images: T,
|
|
275
275
|
maxOnlineReservationLimit: w,
|
|
276
|
-
maxPaxPerReservation:
|
|
276
|
+
maxPaxPerReservation: x,
|
|
277
277
|
useNumberOfProductsForPersons: u,
|
|
278
|
-
maxTicketsLimit:
|
|
279
|
-
}) => (l(),
|
|
280
|
-
key:
|
|
278
|
+
maxTicketsLimit: y
|
|
279
|
+
}) => (l(), v(be, {
|
|
280
|
+
key: E,
|
|
281
281
|
type: "event",
|
|
282
|
-
"listing-id":
|
|
283
|
-
"table-group-id":
|
|
284
|
-
description:
|
|
285
|
-
name:
|
|
286
|
-
length:
|
|
282
|
+
"listing-id": E,
|
|
283
|
+
"table-group-id": p,
|
|
284
|
+
description: D,
|
|
285
|
+
name: f,
|
|
286
|
+
length: P,
|
|
287
287
|
gallery: T,
|
|
288
|
-
days:
|
|
289
|
-
"max-online-reservation-limit":
|
|
288
|
+
days: m,
|
|
289
|
+
"max-online-reservation-limit": x || w || y || void 0,
|
|
290
290
|
"time-from": g,
|
|
291
|
-
"time-to":
|
|
291
|
+
"time-to": k,
|
|
292
292
|
"sold-out": $,
|
|
293
293
|
"use-number-of-products-for-persons": u,
|
|
294
294
|
"tracking-enabled": t.trackingEnabled,
|
|
295
295
|
callback: t.callback
|
|
296
296
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
|
|
297
297
|
])
|
|
298
|
-
])) : t.events ? (l(),
|
|
298
|
+
])) : t.events ? (l(), v(be, {
|
|
299
299
|
key: t.events[0].id,
|
|
300
300
|
type: "event",
|
|
301
301
|
"listing-id": t.events[0].id,
|
|
@@ -316,7 +316,7 @@ const Kt = {
|
|
|
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
|
-
}),
|
|
319
|
+
}), sn = /* @__PURE__ */ G(on, [["__scopeId", "data-v-374ad034"]]), rn = { class: "konnectio-special-offer-availability" }, dn = { class: "konnectio-special-offer-availability-button" }, cn = { class: "konnectio-warning-notice" }, un = { key: 0 }, mn = { key: 1 }, vn = /* @__PURE__ */ M({
|
|
320
320
|
__name: "NextEvent",
|
|
321
321
|
props: {
|
|
322
322
|
name: {},
|
|
@@ -338,17 +338,17 @@ const Kt = {
|
|
|
338
338
|
callback: { type: Function }
|
|
339
339
|
},
|
|
340
340
|
setup(t) {
|
|
341
|
-
const { t: i } = _(), { updateEventDate: a } = Pe(), { display:
|
|
341
|
+
const { t: i } = _(), { updateEventDate: a } = Pe(), { display: E } = Ee(), m = Ae(), f = 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
|
|
349
|
-
return
|
|
350
|
-
|
|
351
|
-
}), (
|
|
348
|
+
const k = Y(() => pt(f.fromDate, f.toDate) <= 1), p = Y(() => [0, 1, 2, 3, 4, 5, 6].filter((D) => !Dt(f.days).includes(D)));
|
|
349
|
+
return it(() => {
|
|
350
|
+
k.value && (m.value = new Date(f.fromDate));
|
|
351
|
+
}), (D, $) => (l(), v(be, {
|
|
352
352
|
name: t.name,
|
|
353
353
|
description: t.description,
|
|
354
354
|
"from-date": t.fromDate,
|
|
@@ -368,36 +368,36 @@ const Kt = {
|
|
|
368
368
|
callback: t.callback,
|
|
369
369
|
"disable-deep-link": !0
|
|
370
370
|
}, {
|
|
371
|
-
action:
|
|
371
|
+
action: b(() => [
|
|
372
372
|
n("div", null, [
|
|
373
|
-
n("div",
|
|
374
|
-
|
|
375
|
-
modelValue:
|
|
376
|
-
"onUpdate:modelValue": $[0] || ($[0] = (
|
|
373
|
+
n("div", rn, [
|
|
374
|
+
h(zt, {
|
|
375
|
+
modelValue: m.value,
|
|
376
|
+
"onUpdate:modelValue": $[0] || ($[0] = (P) => m.value = P),
|
|
377
377
|
label: `${e(i)("event.selectDate")}*`,
|
|
378
378
|
placeholder: e(i)("event.selectDate"),
|
|
379
379
|
"icon-type": "fas",
|
|
380
380
|
"icon-placement": "label",
|
|
381
|
-
readonly:
|
|
381
|
+
readonly: k.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
|
-
"disabled-week-days":
|
|
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",
|
|
388
|
-
|
|
387
|
+
n("div", dn, [
|
|
388
|
+
h(me, {
|
|
389
389
|
label: e(i)("availability.buttonLabel"),
|
|
390
|
-
onClick:
|
|
390
|
+
onClick: st(g, ["prevent"])
|
|
391
391
|
}, null, 8, ["label"])
|
|
392
392
|
])
|
|
393
393
|
]),
|
|
394
|
-
n("div",
|
|
395
|
-
|
|
394
|
+
n("div", cn, [
|
|
395
|
+
k.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
|
-
])) : (l(), s("span",
|
|
398
|
+
])) : (l(), s("span", mn, [
|
|
399
399
|
ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
|
|
400
|
-
n("u", null, o(e(
|
|
400
|
+
n("u", null, o(e(Pt)(t.days)), 1)
|
|
401
401
|
]))
|
|
402
402
|
])
|
|
403
403
|
])
|
|
@@ -405,10 +405,10 @@ const Kt = {
|
|
|
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
|
-
}),
|
|
408
|
+
}), Be = /* @__PURE__ */ G(vn, [["__scopeId", "data-v-f6aed3b0"]]), bn = {
|
|
409
409
|
key: 0,
|
|
410
410
|
class: "konnectio-event-grouped-listings-container"
|
|
411
|
-
},
|
|
411
|
+
}, gn = { class: "konnectio-event-grouped-listings" }, fn = /* @__PURE__ */ M({
|
|
412
412
|
__name: "NextEvent",
|
|
413
413
|
props: {
|
|
414
414
|
name: {},
|
|
@@ -417,48 +417,48 @@ const Kt = {
|
|
|
417
417
|
callback: { type: Function }
|
|
418
418
|
},
|
|
419
419
|
setup(t) {
|
|
420
|
-
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div",
|
|
420
|
+
return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", bn, [
|
|
421
421
|
r("", !0),
|
|
422
|
-
n("ul",
|
|
422
|
+
n("ul", gn, [
|
|
423
423
|
(l(!0), s(N, null, R(t.events, ({
|
|
424
|
-
id:
|
|
425
|
-
days:
|
|
426
|
-
name:
|
|
424
|
+
id: E,
|
|
425
|
+
days: m,
|
|
426
|
+
name: f,
|
|
427
427
|
timeFrom: g,
|
|
428
|
-
timeTo:
|
|
429
|
-
fromDate:
|
|
430
|
-
toDate:
|
|
428
|
+
timeTo: k,
|
|
429
|
+
fromDate: p,
|
|
430
|
+
toDate: D,
|
|
431
431
|
tableGroupId: $,
|
|
432
|
-
description:
|
|
432
|
+
description: P,
|
|
433
433
|
soldOut: T,
|
|
434
434
|
length: w,
|
|
435
|
-
images:
|
|
435
|
+
images: x,
|
|
436
436
|
maxOnlineReservationLimit: u,
|
|
437
|
-
maxPaxPerReservation:
|
|
438
|
-
useNumberOfProductsForPersons:
|
|
437
|
+
maxPaxPerReservation: y,
|
|
438
|
+
useNumberOfProductsForPersons: j,
|
|
439
439
|
maxTicketsLimit: B
|
|
440
|
-
}) => (l(),
|
|
441
|
-
key:
|
|
440
|
+
}) => (l(), v(Be, {
|
|
441
|
+
key: E,
|
|
442
442
|
type: "event",
|
|
443
|
-
"listing-id":
|
|
443
|
+
"listing-id": E,
|
|
444
444
|
"table-group-id": $,
|
|
445
|
-
description:
|
|
446
|
-
name:
|
|
445
|
+
description: P,
|
|
446
|
+
name: f,
|
|
447
447
|
length: w,
|
|
448
|
-
gallery:
|
|
449
|
-
days:
|
|
450
|
-
"from-date":
|
|
451
|
-
"to-date":
|
|
452
|
-
"max-online-reservation-limit":
|
|
448
|
+
gallery: x,
|
|
449
|
+
days: m,
|
|
450
|
+
"from-date": p,
|
|
451
|
+
"to-date": D,
|
|
452
|
+
"max-online-reservation-limit": y || u || B || void 0,
|
|
453
453
|
"time-from": g,
|
|
454
|
-
"time-to":
|
|
454
|
+
"time-to": k,
|
|
455
455
|
"sold-out": T,
|
|
456
|
-
"use-number-of-products-for-persons":
|
|
456
|
+
"use-number-of-products-for-persons": j,
|
|
457
457
|
"tracking-enabled": t.trackingEnabled,
|
|
458
458
|
callback: t.callback
|
|
459
459
|
}, 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"]))), 128))
|
|
460
460
|
])
|
|
461
|
-
])) : t.events ? (l(),
|
|
461
|
+
])) : t.events ? (l(), v(Be, {
|
|
462
462
|
key: t.events[0].id,
|
|
463
463
|
type: "event",
|
|
464
464
|
"listing-id": t.events[0].id,
|
|
@@ -479,7 +479,7 @@ const Kt = {
|
|
|
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
|
-
}), kn = /* @__PURE__ */ G(
|
|
482
|
+
}), kn = /* @__PURE__ */ G(fn, [["__scopeId", "data-v-39263761"]]), yn = ["innerHTML"], hn = /* @__PURE__ */ M({
|
|
483
483
|
__name: "FallbackEvent",
|
|
484
484
|
props: {
|
|
485
485
|
name: {},
|
|
@@ -493,7 +493,7 @@ const Kt = {
|
|
|
493
493
|
},
|
|
494
494
|
setup(t) {
|
|
495
495
|
const { t: i } = _();
|
|
496
|
-
return (a,
|
|
496
|
+
return (a, E) => (l(), v(be, {
|
|
497
497
|
name: t.name,
|
|
498
498
|
description: t.description,
|
|
499
499
|
"from-date": t.fromDate,
|
|
@@ -504,16 +504,16 @@ const Kt = {
|
|
|
504
504
|
callback: t.callback,
|
|
505
505
|
"disable-deep-link": !0
|
|
506
506
|
}, {
|
|
507
|
-
action:
|
|
507
|
+
action: b(() => [
|
|
508
508
|
n("div", {
|
|
509
509
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
510
510
|
innerHTML: e(i)("event.notAvailable", { name: `<b>${t.name}</b>` })
|
|
511
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, yn)
|
|
512
512
|
]),
|
|
513
513
|
_: 1
|
|
514
514
|
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
|
|
515
515
|
}
|
|
516
|
-
}),
|
|
516
|
+
}), pn = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-0167deff"]]), Dn = /* @__PURE__ */ M({
|
|
517
517
|
__name: "Template",
|
|
518
518
|
props: {
|
|
519
519
|
name: {},
|
|
@@ -530,7 +530,7 @@ const Kt = {
|
|
|
530
530
|
callback: {}
|
|
531
531
|
},
|
|
532
532
|
setup(t) {
|
|
533
|
-
return (i, a) => (l(),
|
|
533
|
+
return (i, a) => (l(), v(Me, {
|
|
534
534
|
"listing-id": t.listingId,
|
|
535
535
|
gallery: t.images,
|
|
536
536
|
name: t.name,
|
|
@@ -542,13 +542,13 @@ const Kt = {
|
|
|
542
542
|
callback: t.callback
|
|
543
543
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "tracking-enabled", "callback"]));
|
|
544
544
|
}
|
|
545
|
-
}),
|
|
545
|
+
}), Pn = {
|
|
546
546
|
key: 0,
|
|
547
547
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
548
|
-
},
|
|
548
|
+
}, En = ["innerHTML"], $n = { key: 0 }, wn = { key: 1 }, On = { key: 2 }, xn = { key: 0 }, Tn = { key: 4 }, Vn = { key: 5 }, Fn = { key: 6 }, Nn = { key: 0 }, Ln = { key: 0 }, Cn = { key: 1 }, Bn = {
|
|
549
549
|
key: 0,
|
|
550
550
|
class: "konnectio-capitalize"
|
|
551
|
-
},
|
|
551
|
+
}, In = /* @__PURE__ */ M({
|
|
552
552
|
__name: "EventReservationForm",
|
|
553
553
|
props: {
|
|
554
554
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -556,156 +556,156 @@ const Kt = {
|
|
|
556
556
|
prevCallback: {}
|
|
557
557
|
},
|
|
558
558
|
setup(t) {
|
|
559
|
-
const { t: i } = _(), a =
|
|
560
|
-
areListingsAvailable:
|
|
561
|
-
arrivalTime:
|
|
562
|
-
numberOfPeople:
|
|
559
|
+
const { t: i } = _(), a = rt(), {
|
|
560
|
+
areListingsAvailable: E,
|
|
561
|
+
arrivalTime: m,
|
|
562
|
+
numberOfPeople: f,
|
|
563
563
|
numberOfRooms: g,
|
|
564
|
-
numberOfTotalDays:
|
|
565
|
-
isTemplateEvent:
|
|
566
|
-
currentEventDate:
|
|
564
|
+
numberOfTotalDays: k,
|
|
565
|
+
isTemplateEvent: p,
|
|
566
|
+
currentEventDate: D,
|
|
567
567
|
length: $,
|
|
568
|
-
fromDate:
|
|
568
|
+
fromDate: P,
|
|
569
569
|
tableBasePrice: T,
|
|
570
570
|
getTemplateData: w,
|
|
571
|
-
basePrice:
|
|
571
|
+
basePrice: x,
|
|
572
572
|
totalPrice: u,
|
|
573
|
-
weekendFee:
|
|
574
|
-
roomUpgrade:
|
|
573
|
+
weekendFee: y,
|
|
574
|
+
roomUpgrade: j,
|
|
575
575
|
discountCode: B,
|
|
576
576
|
totalSelectedProducts: C,
|
|
577
577
|
discountValue: U,
|
|
578
578
|
appliedDiscountCode: Q
|
|
579
|
-
} = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength:
|
|
580
|
-
return (te, re) => (l(),
|
|
579
|
+
} = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength: fe } = q(oe()), ee = i("event.reservationNotice");
|
|
580
|
+
return (te, re) => (l(), v(Nt, {
|
|
581
581
|
"discount-code": e(B),
|
|
582
|
-
"onUpdate:discountCode": re[0] || (re[0] = (
|
|
582
|
+
"onUpdate:discountCode": re[0] || (re[0] = (W) => S(B) ? B.value = W : null),
|
|
583
583
|
"validate-discount-code": e(ge),
|
|
584
584
|
"show-gift-card": t.showGiftCard,
|
|
585
585
|
"show-terms-notice": t.showTermsNotice,
|
|
586
|
-
"is-sidebar-loading": !e(
|
|
587
|
-
"base-price": e(
|
|
586
|
+
"is-sidebar-loading": !e(E),
|
|
587
|
+
"base-price": e(x),
|
|
588
588
|
"total-price": e(u),
|
|
589
|
-
"weekend-fee": e(
|
|
590
|
-
"room-upgrade": e(
|
|
589
|
+
"weekend-fee": e(y),
|
|
590
|
+
"room-upgrade": e(j),
|
|
591
591
|
notice: e(ee),
|
|
592
592
|
"prev-callback": t.prevCallback
|
|
593
|
-
},
|
|
594
|
-
form:
|
|
593
|
+
}, dt({
|
|
594
|
+
form: b(() => [
|
|
595
595
|
K(te.$slots, "form", {}, void 0, !0),
|
|
596
|
-
e(ee) ? (l(), s("div",
|
|
596
|
+
e(ee) ? (l(), s("div", Pn, [
|
|
597
597
|
n("p", {
|
|
598
598
|
innerHTML: e(ee),
|
|
599
599
|
class: "konnectio-wysiwyg"
|
|
600
|
-
}, null, 8,
|
|
600
|
+
}, null, 8, En)
|
|
601
601
|
])) : r("", !0)
|
|
602
602
|
]),
|
|
603
|
-
"reservation-summary":
|
|
604
|
-
e(
|
|
603
|
+
"reservation-summary": b(() => [
|
|
604
|
+
e(p) ? r("", !0) : (l(), s("li", $n, [
|
|
605
605
|
n("span", null, o(e(i)("general.date")), 1),
|
|
606
|
-
n("b", null, o(e(z)(e(
|
|
606
|
+
n("b", null, o(e(z)(e(D))), 1)
|
|
607
607
|
])),
|
|
608
|
-
e(
|
|
608
|
+
e(f) > 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(f)), 1)
|
|
611
611
|
])) : r("", !0),
|
|
612
|
-
!e(
|
|
612
|
+
!e(p) && e(C) > 0 ? (l(), s("li", On, [
|
|
613
613
|
n("span", null, o(e(i)("event.numberOfProducts")), 1),
|
|
614
614
|
n("b", null, o(e(C)), 1)
|
|
615
615
|
])) : r("", !0),
|
|
616
|
-
e(
|
|
616
|
+
e(p) ? (l(), s(N, { key: 3 }, [
|
|
617
617
|
n("li", null, [
|
|
618
618
|
n("span", null, o(e(i)("booking.reservation.arrival")), 1),
|
|
619
|
-
n("b", null, o(e(z)(e(
|
|
619
|
+
n("b", null, o(e(z)(e(P))), 1)
|
|
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(
|
|
623
|
+
n("b", null, o(e(z)(e(P), e(k))), 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(k) > 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(k)), 1)
|
|
632
632
|
])) : r("", !0)
|
|
633
633
|
], 64)) : r("", !0),
|
|
634
|
-
!e(
|
|
634
|
+
!e(p) && e(m) ? (l(), s("li", Tn, [
|
|
635
635
|
n("span", null, o(e(i)("event.startOfEvent")), 1),
|
|
636
|
-
n("b", null, o(e(ve)(e(
|
|
636
|
+
n("b", null, o(e(ve)(e(m))), 1)
|
|
637
637
|
])) : r("", !0),
|
|
638
|
-
!e(
|
|
638
|
+
!e(p) && e($) && !e(fe) ? (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),
|
|
642
|
-
e(U) ? (l(), s("li",
|
|
642
|
+
e(U) ? (l(), s("li", Fn, [
|
|
643
643
|
n("span", null, o(e(i)("general.discountCode")), 1),
|
|
644
644
|
n("b", null, o(e(Q)), 1)
|
|
645
645
|
])) : r("", !0)
|
|
646
646
|
]),
|
|
647
|
-
"price-summary":
|
|
648
|
-
!e(
|
|
647
|
+
"price-summary": b(() => [
|
|
648
|
+
!e(p) && e(T) > 0 ? (l(), s("li", Nn, [
|
|
649
649
|
n("span", null, o(e(i)("booking.availability.basePrice")), 1),
|
|
650
650
|
n("b", null, o(e(J)(e(T), e(se))), 1)
|
|
651
651
|
])) : r("", !0),
|
|
652
|
-
e(w) ? (l(!0), s(N, { key: 1 }, R(e(w), ({ roomGroupId:
|
|
653
|
-
e(ie)(
|
|
654
|
-
n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(
|
|
655
|
-
n("b", null, o(e(J)(e(ie)(
|
|
652
|
+
e(w) ? (l(!0), s(N, { key: 1 }, R(e(w), ({ roomGroupId: W }, Z) => (l(), s(N, null, [
|
|
653
|
+
e(ie)(W, Z) > 0 ? (l(), s("li", { key: W }, [
|
|
654
|
+
n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(Z + 1), 1),
|
|
655
|
+
n("b", null, o(e(J)(e(ie)(W, Z), e(se))), 1)
|
|
656
656
|
])) : r("", !0)
|
|
657
657
|
], 64))), 256)) : r("", !0)
|
|
658
658
|
]),
|
|
659
|
-
navigation:
|
|
659
|
+
navigation: b(() => [
|
|
660
660
|
K(te.$slots, "navigation", {}, void 0, !0)
|
|
661
661
|
]),
|
|
662
|
-
"mobile-under-price":
|
|
663
|
-
e(
|
|
664
|
-
n("span", null, o(e(z)(e(
|
|
665
|
-
])) : (l(), s("div",
|
|
666
|
-
n("span", null, o(e(z)(e(
|
|
662
|
+
"mobile-under-price": b(() => [
|
|
663
|
+
e(p) && e(k) > 0 ? (l(), s("div", Ln, [
|
|
664
|
+
n("span", null, o(e(z)(e(P))) + " - " + o(e(z)(e(P), e(k))), 1)
|
|
665
|
+
])) : (l(), s("div", Cn, [
|
|
666
|
+
n("span", null, o(e(z)(e(D))), 1)
|
|
667
667
|
]))
|
|
668
668
|
]),
|
|
669
|
-
"mobile-summary":
|
|
670
|
-
!e(
|
|
669
|
+
"mobile-summary": b(() => [
|
|
670
|
+
!e(p) && e(C) > 0 ? (l(), s("span", Bn, o(e(i)("event.numberOfProducts")) + ": " + o(e(C)), 1)) : r("", !0)
|
|
671
671
|
]),
|
|
672
672
|
_: 2
|
|
673
673
|
}, [
|
|
674
674
|
e(a).sidebar ? {
|
|
675
675
|
name: "sidebar",
|
|
676
|
-
fn:
|
|
676
|
+
fn: b(() => [
|
|
677
677
|
K(te.$slots, "sidebar", {}, void 0, !0)
|
|
678
678
|
]),
|
|
679
679
|
key: "0"
|
|
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(
|
|
683
|
+
}), De = /* @__PURE__ */ G(In, [["__scopeId", "data-v-d2ff3f68"]]), 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
|
-
return (i, a) => (l(), s("div",
|
|
687
|
-
n("div", An, [
|
|
688
|
-
y(Se)
|
|
689
|
-
]),
|
|
686
|
+
return (i, a) => (l(), s("div", An, [
|
|
690
687
|
n("div", Sn, [
|
|
688
|
+
h(Re)
|
|
689
|
+
]),
|
|
690
|
+
n("div", Rn, [
|
|
691
691
|
r("", !0),
|
|
692
|
-
|
|
692
|
+
h(Lt)
|
|
693
693
|
])
|
|
694
694
|
]));
|
|
695
695
|
}
|
|
696
|
-
}),
|
|
696
|
+
}), Un = /* @__PURE__ */ G(Mn, [["__scopeId", "data-v-3e15c4e3"]]), Hn = {
|
|
697
697
|
key: 0,
|
|
698
698
|
id: "konnectio-event-listings-wrapper"
|
|
699
|
-
},
|
|
699
|
+
}, Gn = {
|
|
700
700
|
key: 1,
|
|
701
701
|
class: "konnectio-hotel-availability-title"
|
|
702
|
-
},
|
|
702
|
+
}, zn = { class: "konnectio-event-listings" }, qn = { class: "konnectio-hotel-availability-title" }, Yn = { class: "konnectio-event-listings" }, jn = ["innerHTML"], Wn = { class: "konnectio-panel" }, Zn = {
|
|
703
703
|
key: 0,
|
|
704
704
|
id: "konnectio-event-addons"
|
|
705
|
-
},
|
|
705
|
+
}, Qn = { class: "konnectio-table with-lines" }, Jn = { class: "konnectio-event-addons-price" }, Kn = { class: "konnectio-event-addons-input" }, Xn = { class: "konnectio-event-addons-price" }, _n = { class: "konnectio-event-addons-price" }, ea = {
|
|
706
706
|
key: 1,
|
|
707
707
|
class: "konnectio-table with-lines without-header"
|
|
708
|
-
},
|
|
708
|
+
}, ta = { class: "konnectio-table-addons-information" }, na = { key: 0 }, aa = { class: "konnectio-table-addons-option" }, la = { class: "konnectio-panel" }, oa = /* @__PURE__ */ M({
|
|
709
709
|
name: "EventLayout",
|
|
710
710
|
__name: "Event",
|
|
711
711
|
props: {
|
|
@@ -718,25 +718,25 @@ const Kt = {
|
|
|
718
718
|
hideAllergies: { default: "no" },
|
|
719
719
|
showFlagOnTable: { default: "no" },
|
|
720
720
|
showHighChairs: {},
|
|
721
|
+
sortOrder: { default: "asc" },
|
|
721
722
|
styling: {}
|
|
722
723
|
},
|
|
723
724
|
setup(t) {
|
|
724
|
-
const i = t, { t: a } = _(), {
|
|
725
|
-
addons:
|
|
726
|
-
products:
|
|
727
|
-
numberOfDays:
|
|
728
|
-
flagOnTable:
|
|
729
|
-
numberOfHighChairs:
|
|
730
|
-
name:
|
|
731
|
-
phone:
|
|
732
|
-
email:
|
|
733
|
-
remark:
|
|
734
|
-
allergies:
|
|
735
|
-
arrivalTime:
|
|
736
|
-
hasEvents:
|
|
737
|
-
hasTemplates:
|
|
738
|
-
|
|
739
|
-
getTemplates: Y,
|
|
725
|
+
const i = t, { t: a } = _(), E = X(), {
|
|
726
|
+
addons: m,
|
|
727
|
+
products: f,
|
|
728
|
+
numberOfDays: g,
|
|
729
|
+
flagOnTable: k,
|
|
730
|
+
numberOfHighChairs: p,
|
|
731
|
+
name: D,
|
|
732
|
+
phone: $,
|
|
733
|
+
email: P,
|
|
734
|
+
remark: T,
|
|
735
|
+
allergies: w,
|
|
736
|
+
arrivalTime: x,
|
|
737
|
+
hasEvents: u,
|
|
738
|
+
hasTemplates: y,
|
|
739
|
+
getTemplates: j,
|
|
740
740
|
getEventData: B,
|
|
741
741
|
getTemplateData: C,
|
|
742
742
|
getEventTableData: U,
|
|
@@ -744,23 +744,23 @@ const Kt = {
|
|
|
744
744
|
eventRateType: ie,
|
|
745
745
|
areListingsAvailable: ge,
|
|
746
746
|
isAvailabilityDataAvailable: se,
|
|
747
|
-
hasListingData:
|
|
747
|
+
hasListingData: fe,
|
|
748
748
|
isPaymentLoading: ee,
|
|
749
749
|
isReservationFormFilled: te,
|
|
750
750
|
requiresArrivalTime: re,
|
|
751
|
-
hasSelectedRequiredProducts:
|
|
752
|
-
getUnavailableEvents:
|
|
751
|
+
hasSelectedRequiredProducts: W,
|
|
752
|
+
getUnavailableEvents: Z,
|
|
753
753
|
hasFallbackEvents: $e,
|
|
754
|
-
getFallbackEvents:
|
|
755
|
-
} = q(
|
|
756
|
-
initialize:
|
|
757
|
-
fetchListings:
|
|
758
|
-
createBooking:
|
|
759
|
-
localAddonPrice:
|
|
760
|
-
totalAddonPrice:
|
|
761
|
-
reset:
|
|
762
|
-
goBack:
|
|
763
|
-
} = X(), { beginEventCheckout:
|
|
754
|
+
getFallbackEvents: Ue
|
|
755
|
+
} = q(E), we = Y(() => E.getSortedEvents(i.sortOrder)), { currency: de, enableTracking: ne } = q(oe()), { setActiveIdFilter: He } = oe(), { eventDate: Ge, eventLocation: ze } = q(Pe()), { isValidRestaurantId: qe } = Pe(), {
|
|
756
|
+
initialize: Ye,
|
|
757
|
+
fetchListings: je,
|
|
758
|
+
createBooking: We,
|
|
759
|
+
localAddonPrice: Ze,
|
|
760
|
+
totalAddonPrice: Qe,
|
|
761
|
+
reset: Je,
|
|
762
|
+
goBack: Oe
|
|
763
|
+
} = X(), { beginEventCheckout: Ke } = Se(), { display: ke } = Ee(), Xe = Y(() => [
|
|
764
764
|
{
|
|
765
765
|
id: "availability",
|
|
766
766
|
label: a("booking.availability.title"),
|
|
@@ -786,7 +786,7 @@ const Kt = {
|
|
|
786
786
|
label: a("booking.confirmation.title"),
|
|
787
787
|
icon: "calendar-check"
|
|
788
788
|
}
|
|
789
|
-
]),
|
|
789
|
+
]), _e = Y(() => {
|
|
790
790
|
const L = [];
|
|
791
791
|
return U.value && U.value.forEach((c) => {
|
|
792
792
|
L.find((V) => V.value === c.time) || L.push({
|
|
@@ -795,90 +795,90 @@ const Kt = {
|
|
|
795
795
|
});
|
|
796
796
|
}), L;
|
|
797
797
|
});
|
|
798
|
-
function
|
|
799
|
-
|
|
798
|
+
function et() {
|
|
799
|
+
Je(i.resetDate === "yes");
|
|
800
800
|
}
|
|
801
|
-
function
|
|
802
|
-
ne.value &&
|
|
801
|
+
function tt(L) {
|
|
802
|
+
ne.value && Ke(), We(L);
|
|
803
803
|
}
|
|
804
|
-
function
|
|
805
|
-
const L =
|
|
804
|
+
function nt() {
|
|
805
|
+
const L = Ot("history", {
|
|
806
806
|
removeNullishValues: !0
|
|
807
|
-
}), c = parseInt(L.rid), V = L.d,
|
|
807
|
+
}), c = parseInt(L.rid), V = L.d, O = parseInt(L.eid);
|
|
808
808
|
if (V)
|
|
809
809
|
if (xt(V)) {
|
|
810
810
|
const d = new Date(V), I = d.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
811
|
-
I >= H ?
|
|
811
|
+
I >= H ? Ge.value = d : (ke({
|
|
812
812
|
message: a("alert.error.invalidDateRange"),
|
|
813
813
|
type: "error"
|
|
814
814
|
}), L.d = void 0);
|
|
815
815
|
} else
|
|
816
|
-
|
|
816
|
+
ke({
|
|
817
817
|
message: a("alert.error.wrongDateFormat"),
|
|
818
818
|
type: "error"
|
|
819
819
|
});
|
|
820
|
-
isNaN(c) || (
|
|
820
|
+
isNaN(c) || (qe(c) ? ze.value = c : (L.rid = void 0, ke({
|
|
821
821
|
message: a("alert.error.hotelIdNotFound"),
|
|
822
822
|
type: "error"
|
|
823
|
-
}))), isNaN(
|
|
823
|
+
}))), isNaN(O) || He(O), je();
|
|
824
824
|
}
|
|
825
|
-
return (L, c) => (l(),
|
|
826
|
-
default:
|
|
827
|
-
(l(),
|
|
828
|
-
default:
|
|
829
|
-
|
|
825
|
+
return (L, c) => (l(), v(wt, { styling: t.styling }, {
|
|
826
|
+
default: b(() => [
|
|
827
|
+
(l(), v(ct, { onResolve: nt }, {
|
|
828
|
+
default: b(() => [
|
|
829
|
+
h(Tt, {
|
|
830
830
|
id: "konnectio-event-module",
|
|
831
831
|
"access-token": t.accessToken,
|
|
832
|
-
callback: e(
|
|
832
|
+
callback: e(Ye)
|
|
833
833
|
}, {
|
|
834
|
-
default:
|
|
835
|
-
|
|
836
|
-
steps:
|
|
837
|
-
onReset:
|
|
834
|
+
default: b(() => [
|
|
835
|
+
h(Ct, {
|
|
836
|
+
steps: Xe.value,
|
|
837
|
+
onReset: et
|
|
838
838
|
}, {
|
|
839
|
-
availability:
|
|
840
|
-
|
|
841
|
-
sidebar:
|
|
842
|
-
|
|
839
|
+
availability: b(({ next: V }) => [
|
|
840
|
+
h(De, null, {
|
|
841
|
+
sidebar: b(() => [
|
|
842
|
+
h(jt, {
|
|
843
843
|
redirection: !1,
|
|
844
844
|
"selected-location": Number(t.selectedLocation),
|
|
845
845
|
"hide-locations": t.hideLocations === "yes"
|
|
846
846
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
847
847
|
]),
|
|
848
|
-
form:
|
|
849
|
-
e(
|
|
850
|
-
e($e) ? (l(!0), s(N, { key: 0 }, R(e(
|
|
851
|
-
id:
|
|
848
|
+
form: b(() => [
|
|
849
|
+
e(fe) && e(ge) ? (l(), s("div", Hn, [
|
|
850
|
+
e($e) ? (l(!0), s(N, { key: 0 }, R(e(Ue), ({
|
|
851
|
+
id: O,
|
|
852
852
|
name: d,
|
|
853
853
|
description: I,
|
|
854
854
|
images: H
|
|
855
|
-
}) => (l(),
|
|
856
|
-
key:
|
|
855
|
+
}) => (l(), v(pn, {
|
|
856
|
+
key: O,
|
|
857
857
|
type: "event",
|
|
858
|
-
"listing-id":
|
|
858
|
+
"listing-id": O,
|
|
859
859
|
description: I,
|
|
860
860
|
name: d,
|
|
861
861
|
gallery: H,
|
|
862
862
|
"tracking-enabled": e(ne),
|
|
863
863
|
callback: V
|
|
864
864
|
}, null, 8, ["listing-id", "description", "name", "gallery", "tracking-enabled", "callback"]))), 128)) : r("", !0),
|
|
865
|
-
|
|
866
|
-
|
|
865
|
+
we.value.length > 0 && e(Z).length > 0 ? (l(), s("h2", Gn, [
|
|
866
|
+
h(le, {
|
|
867
867
|
icon: "calendar-clock",
|
|
868
868
|
type: "fal",
|
|
869
869
|
color: "header"
|
|
870
870
|
}),
|
|
871
871
|
n("span", null, o(e(a)("event.availableNow")), 1)
|
|
872
872
|
])) : r("", !0),
|
|
873
|
-
n("ul",
|
|
874
|
-
e(
|
|
875
|
-
name:
|
|
876
|
-
events:
|
|
873
|
+
n("ul", zn, [
|
|
874
|
+
e(u) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, R(we.value, (O) => (l(), v(sn, {
|
|
875
|
+
name: O.name,
|
|
876
|
+
events: O.events,
|
|
877
877
|
"tracking-enabled": e(ne),
|
|
878
878
|
callback: V
|
|
879
879
|
}, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : r("", !0),
|
|
880
|
-
e(
|
|
881
|
-
id:
|
|
880
|
+
e(y) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, R(e(j), ({
|
|
881
|
+
id: O,
|
|
882
882
|
name: d,
|
|
883
883
|
fromDate: I,
|
|
884
884
|
toDate: H,
|
|
@@ -886,9 +886,9 @@ const Kt = {
|
|
|
886
886
|
fromPrice: A,
|
|
887
887
|
description: ye,
|
|
888
888
|
images: he
|
|
889
|
-
}) => (l(),
|
|
890
|
-
key:
|
|
891
|
-
"listing-id":
|
|
889
|
+
}) => (l(), v(Dn, {
|
|
890
|
+
key: O,
|
|
891
|
+
"listing-id": O,
|
|
892
892
|
name: d,
|
|
893
893
|
images: he,
|
|
894
894
|
description: ye,
|
|
@@ -900,45 +900,45 @@ const Kt = {
|
|
|
900
900
|
callback: V
|
|
901
901
|
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "tracking-enabled", "callback"]))), 128)) : r("", !0)
|
|
902
902
|
]),
|
|
903
|
-
e(
|
|
904
|
-
n("h2",
|
|
905
|
-
|
|
903
|
+
e(Z).length > 0 && t.onlyShow !== "templates" ? (l(), s(N, { key: 2 }, [
|
|
904
|
+
n("h2", qn, [
|
|
905
|
+
h(le, {
|
|
906
906
|
icon: "calendar-circle-exclamation",
|
|
907
907
|
type: "fal",
|
|
908
908
|
color: "header"
|
|
909
909
|
}),
|
|
910
910
|
n("span", null, o(e(a)("event.availableLater")), 1)
|
|
911
911
|
]),
|
|
912
|
-
n("ul",
|
|
913
|
-
(l(!0), s(N, null, R(e(
|
|
914
|
-
name:
|
|
915
|
-
events:
|
|
912
|
+
n("ul", Yn, [
|
|
913
|
+
(l(!0), s(N, null, R(e(Z), (O) => (l(), v(kn, {
|
|
914
|
+
name: O.name,
|
|
915
|
+
events: O.events,
|
|
916
916
|
"tracking-enabled": e(ne),
|
|
917
917
|
callback: V
|
|
918
918
|
}, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256))
|
|
919
919
|
])
|
|
920
920
|
], 64)) : r("", !0),
|
|
921
|
-
(!e(
|
|
921
|
+
(!e(u) && !e(y) || !e(u) && t.onlyShow === "events" || !e(y) && t.onlyShow === "templates") && !e($e) ? (l(), s("div", {
|
|
922
922
|
key: 3,
|
|
923
923
|
class: "konnectio-panel",
|
|
924
924
|
innerHTML: e(a)("event.nothingAvailable")
|
|
925
|
-
}, null, 8,
|
|
926
|
-
])) : (l(),
|
|
925
|
+
}, null, 8, jn)) : r("", !0)
|
|
926
|
+
])) : (l(), v(Re, { key: 1 }))
|
|
927
927
|
]),
|
|
928
928
|
_: 2
|
|
929
929
|
}, 1024)
|
|
930
930
|
]),
|
|
931
|
-
addons:
|
|
932
|
-
e(se) ? (l(),
|
|
931
|
+
addons: b(({ next: V, prev: O }) => [
|
|
932
|
+
e(se) ? (l(), v(De, {
|
|
933
933
|
key: 0,
|
|
934
|
-
"prev-callback": () => e(
|
|
934
|
+
"prev-callback": () => e(Oe)(O)
|
|
935
935
|
}, {
|
|
936
|
-
form:
|
|
937
|
-
n("form",
|
|
936
|
+
form: b(() => [
|
|
937
|
+
n("form", Wn, [
|
|
938
938
|
n("h2", null, [
|
|
939
939
|
n("span", null, o(e(a)("event.selectProducts")), 1)
|
|
940
940
|
]),
|
|
941
|
-
e(C) && e(C).length > 0 ? (l(), s("ul",
|
|
941
|
+
e(C) && e(C).length > 0 ? (l(), s("ul", Zn, [
|
|
942
942
|
(l(!0), s(N, null, R(e(C), ({
|
|
943
943
|
roomGroupId: d,
|
|
944
944
|
addons: I,
|
|
@@ -947,21 +947,21 @@ const Kt = {
|
|
|
947
947
|
n("h5", null, [
|
|
948
948
|
n("span", null, o(e(a)("booking.reservation.room")) + " #" + o(F + 1), 1),
|
|
949
949
|
c[9] || (c[9] = ue(" (", -1)),
|
|
950
|
-
|
|
950
|
+
h(le, {
|
|
951
951
|
icon: "male",
|
|
952
952
|
type: "fas",
|
|
953
953
|
color: "header"
|
|
954
954
|
}),
|
|
955
955
|
ue(" " + o(H) + ") ", 1)
|
|
956
956
|
]),
|
|
957
|
-
n("table",
|
|
957
|
+
n("table", Qn, [
|
|
958
958
|
n("thead", null, [
|
|
959
959
|
n("tr", null, [
|
|
960
960
|
n("th", null, [
|
|
961
961
|
n("span", null, o(e(a)("booking.reservation.addons")), 1)
|
|
962
962
|
]),
|
|
963
963
|
c[10] || (c[10] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
964
|
-
n("th",
|
|
964
|
+
n("th", Jn, [
|
|
965
965
|
n("span", null, o(e(a)("booking.availability.price")), 1)
|
|
966
966
|
])
|
|
967
967
|
])
|
|
@@ -971,30 +971,30 @@ const Kt = {
|
|
|
971
971
|
id: A,
|
|
972
972
|
cardinality: ye,
|
|
973
973
|
name: he,
|
|
974
|
-
price:
|
|
975
|
-
quantityStrategy:
|
|
974
|
+
price: at,
|
|
975
|
+
quantityStrategy: lt
|
|
976
976
|
}) => (l(), s("tr", { key: A }, [
|
|
977
977
|
n("td", null, [
|
|
978
978
|
n("b", null, o(he), 1),
|
|
979
979
|
c[11] || (c[11] = n("br", null, null, -1)),
|
|
980
|
-
n("span", null, o(e(J)(
|
|
980
|
+
n("span", null, o(e(J)(at, e(de))) + " " + o(e($t)(lt)), 1)
|
|
981
981
|
]),
|
|
982
|
-
n("td",
|
|
983
|
-
ye === 3 ? (l(),
|
|
982
|
+
n("td", Kn, [
|
|
983
|
+
ye === 3 ? (l(), v(ae, {
|
|
984
984
|
key: 0,
|
|
985
|
-
modelValue: e(
|
|
986
|
-
"onUpdate:modelValue": (pe) => e(
|
|
985
|
+
modelValue: e(m)[`${d}.${A}.${F}`],
|
|
986
|
+
"onUpdate:modelValue": (pe) => e(m)[`${d}.${A}.${F}`] = pe,
|
|
987
987
|
small: !0,
|
|
988
988
|
"min-value": 0
|
|
989
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(),
|
|
989
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), v(Ce, {
|
|
990
990
|
key: 1,
|
|
991
|
-
modelValue: e(
|
|
992
|
-
"onUpdate:modelValue": (pe) => e(
|
|
991
|
+
modelValue: e(m)[`${d}.${A}.${F}`],
|
|
992
|
+
"onUpdate:modelValue": (pe) => e(m)[`${d}.${A}.${F}`] = pe,
|
|
993
993
|
numeric: !0
|
|
994
994
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
995
995
|
]),
|
|
996
|
-
n("td",
|
|
997
|
-
n("span", null, o(e(J)(e(
|
|
996
|
+
n("td", Xn, [
|
|
997
|
+
n("span", null, o(e(J)(e(Ze)(A, d, F), e(de))), 1)
|
|
998
998
|
])
|
|
999
999
|
]))), 128))
|
|
1000
1000
|
]),
|
|
@@ -1002,9 +1002,9 @@ const Kt = {
|
|
|
1002
1002
|
n("tr", null, [
|
|
1003
1003
|
c[12] || (c[12] = n("td", null, null, -1)),
|
|
1004
1004
|
c[13] || (c[13] = n("td", null, null, -1)),
|
|
1005
|
-
n("td",
|
|
1005
|
+
n("td", _n, [
|
|
1006
1006
|
n("u", null, [
|
|
1007
|
-
n("span", null, o(e(J)(e(
|
|
1007
|
+
n("span", null, o(e(J)(e(Qe)(d, F), e(de))), 1)
|
|
1008
1008
|
])
|
|
1009
1009
|
])
|
|
1010
1010
|
])
|
|
@@ -1012,20 +1012,20 @@ const Kt = {
|
|
|
1012
1012
|
])
|
|
1013
1013
|
]))), 128))
|
|
1014
1014
|
])) : r("", !0),
|
|
1015
|
-
e(Q) ? (l(), s("table",
|
|
1015
|
+
e(Q) ? (l(), s("table", ea, [
|
|
1016
1016
|
n("tbody", null, [
|
|
1017
1017
|
(l(!0), s(N, null, R(e(B).products, ({ id: d, name: I, price: H, description: F }) => (l(), s("tr", { key: d }, [
|
|
1018
|
-
n("td",
|
|
1018
|
+
n("td", ta, [
|
|
1019
1019
|
n("b", null, [
|
|
1020
1020
|
n("span", null, o(e(xe)(I)), 1)
|
|
1021
1021
|
]),
|
|
1022
|
-
F && F !== I ? (l(), s("span",
|
|
1022
|
+
F && F !== I ? (l(), s("span", na, o(e(xe)(F)), 1)) : r("", !0),
|
|
1023
1023
|
n("u", null, o(e(J)(H, e(de))), 1)
|
|
1024
1024
|
]),
|
|
1025
|
-
n("td",
|
|
1026
|
-
|
|
1027
|
-
modelValue: e(
|
|
1028
|
-
"onUpdate:modelValue": (A) => e(
|
|
1025
|
+
n("td", aa, [
|
|
1026
|
+
h(ae, {
|
|
1027
|
+
modelValue: e(f)[d],
|
|
1028
|
+
"onUpdate:modelValue": (A) => e(f)[d] = A,
|
|
1029
1029
|
small: !0,
|
|
1030
1030
|
"min-value": 0
|
|
1031
1031
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1035,10 +1035,10 @@ const Kt = {
|
|
|
1035
1035
|
])) : r("", !0)
|
|
1036
1036
|
])
|
|
1037
1037
|
]),
|
|
1038
|
-
navigation:
|
|
1039
|
-
|
|
1038
|
+
navigation: b(() => [
|
|
1039
|
+
h(me, {
|
|
1040
1040
|
label: e(a)("event.startReservation"),
|
|
1041
|
-
disabled: !e(
|
|
1041
|
+
disabled: !e(W),
|
|
1042
1042
|
"full-width": "",
|
|
1043
1043
|
onClickEvent: V
|
|
1044
1044
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
@@ -1046,29 +1046,29 @@ const Kt = {
|
|
|
1046
1046
|
_: 2
|
|
1047
1047
|
}, 1032, ["prev-callback"])) : r("", !0)
|
|
1048
1048
|
]),
|
|
1049
|
-
reservation:
|
|
1050
|
-
|
|
1049
|
+
reservation: b(({ next: V, prev: O }) => [
|
|
1050
|
+
h(De, {
|
|
1051
1051
|
"show-terms-notice": !0,
|
|
1052
1052
|
"show-gift-card": !0,
|
|
1053
|
-
"prev-callback": () => e(
|
|
1053
|
+
"prev-callback": () => e(Oe)(O)
|
|
1054
1054
|
}, {
|
|
1055
|
-
form:
|
|
1056
|
-
n("form",
|
|
1055
|
+
form: b(() => [
|
|
1056
|
+
n("form", la, [
|
|
1057
1057
|
n("h2", null, [
|
|
1058
1058
|
n("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
|
|
1059
1059
|
]),
|
|
1060
|
-
|
|
1061
|
-
modelValue: e(
|
|
1062
|
-
"onUpdate:modelValue": c[0] || (c[0] = (d) => S(
|
|
1060
|
+
h(ce, {
|
|
1061
|
+
modelValue: e(D),
|
|
1062
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => S(D) ? D.value = d : 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
|
-
|
|
1070
|
-
modelValue: e(
|
|
1071
|
-
"onUpdate:modelValue": c[1] || (c[1] = (d) => S(
|
|
1069
|
+
h(ce, {
|
|
1070
|
+
modelValue: e(P),
|
|
1071
|
+
"onUpdate:modelValue": c[1] || (c[1] = (d) => S(P) ? P.value = d : null),
|
|
1072
1072
|
label: e(a)("booking.reservation.email"),
|
|
1073
1073
|
type: "email",
|
|
1074
1074
|
name: "email",
|
|
@@ -1077,58 +1077,58 @@ const Kt = {
|
|
|
1077
1077
|
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
1078
1078
|
required: ""
|
|
1079
1079
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1080
|
-
|
|
1081
|
-
modelValue: e(
|
|
1082
|
-
"onUpdate:modelValue": c[2] || (c[2] = (d) => S(
|
|
1080
|
+
h(Yt, {
|
|
1081
|
+
modelValue: e($),
|
|
1082
|
+
"onUpdate:modelValue": c[2] || (c[2] = (d) => S($) ? $.value = d : null),
|
|
1083
1083
|
label: e(a)("booking.reservation.phone"),
|
|
1084
1084
|
icon: "phone-office",
|
|
1085
1085
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
1086
1086
|
required: ""
|
|
1087
1087
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1088
|
-
e(re) ? (l(),
|
|
1088
|
+
e(re) ? (l(), v(It, {
|
|
1089
1089
|
key: 0,
|
|
1090
|
-
modelValue: e(
|
|
1091
|
-
"onUpdate:modelValue": c[3] || (c[3] = (d) => S(
|
|
1090
|
+
modelValue: e(x),
|
|
1091
|
+
"onUpdate:modelValue": c[3] || (c[3] = (d) => S(x) ? x.value = d : null),
|
|
1092
1092
|
label: e(a)("event.selectArrivalTime"),
|
|
1093
1093
|
name: "eventTimeTable",
|
|
1094
|
-
checkboxes:
|
|
1094
|
+
checkboxes: _e.value,
|
|
1095
1095
|
required: ""
|
|
1096
1096
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : r("", !0),
|
|
1097
|
-
e(ie) === e(
|
|
1097
|
+
e(ie) === e(Et).FullDayEvent ? (l(), v(ae, {
|
|
1098
1098
|
key: 1,
|
|
1099
|
-
modelValue: e(
|
|
1100
|
-
"onUpdate:modelValue": c[4] || (c[4] = (d) => S(
|
|
1099
|
+
modelValue: e(g),
|
|
1100
|
+
"onUpdate:modelValue": c[4] || (c[4] = (d) => S(g) ? g.value = d : null),
|
|
1101
1101
|
label: e(a)("event.numberOfDays"),
|
|
1102
1102
|
"min-value": 1,
|
|
1103
1103
|
required: ""
|
|
1104
1104
|
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1105
|
-
t.showHighChairs === "yes" ? (l(),
|
|
1105
|
+
t.showHighChairs === "yes" ? (l(), v(ae, {
|
|
1106
1106
|
key: 2,
|
|
1107
|
-
modelValue: e(
|
|
1108
|
-
"onUpdate:modelValue": c[5] || (c[5] = (d) => S(
|
|
1107
|
+
modelValue: e(p),
|
|
1108
|
+
"onUpdate:modelValue": c[5] || (c[5] = (d) => S(p) ? p.value = d : 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
|
-
t.showFlagOnTable === "yes" ? (l(),
|
|
1113
|
+
t.showFlagOnTable === "yes" ? (l(), v(Ce, {
|
|
1114
1114
|
key: 3,
|
|
1115
|
-
modelValue: e(
|
|
1116
|
-
"onUpdate:modelValue": c[6] || (c[6] = (d) => S(
|
|
1115
|
+
modelValue: e(k),
|
|
1116
|
+
"onUpdate:modelValue": c[6] || (c[6] = (d) => S(k) ? k.value = d : null),
|
|
1117
1117
|
label: e(a)("event.flagOnTable")
|
|
1118
1118
|
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
1119
|
-
t.hideRemarks !== "yes" ? (l(),
|
|
1119
|
+
t.hideRemarks !== "yes" ? (l(), v(ce, {
|
|
1120
1120
|
key: 4,
|
|
1121
|
-
modelValue: e(
|
|
1122
|
-
"onUpdate:modelValue": c[7] || (c[7] = (d) => S(
|
|
1121
|
+
modelValue: e(T),
|
|
1122
|
+
"onUpdate:modelValue": c[7] || (c[7] = (d) => S(T) ? T.value = d : 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(),
|
|
1128
|
+
t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), v(ce, {
|
|
1129
1129
|
key: 5,
|
|
1130
|
-
modelValue: e(
|
|
1131
|
-
"onUpdate:modelValue": c[8] || (c[8] = (d) => S(
|
|
1130
|
+
modelValue: e(w),
|
|
1131
|
+
"onUpdate:modelValue": c[8] || (c[8] = (d) => S(w) ? w.value = d : null),
|
|
1132
1132
|
type: "textarea",
|
|
1133
1133
|
label: e(a)("booking.reservation.allergies"),
|
|
1134
1134
|
icon: "allergies",
|
|
@@ -1136,23 +1136,23 @@ const Kt = {
|
|
|
1136
1136
|
}, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0)
|
|
1137
1137
|
])
|
|
1138
1138
|
]),
|
|
1139
|
-
navigation:
|
|
1140
|
-
|
|
1139
|
+
navigation: b(() => [
|
|
1140
|
+
h(me, {
|
|
1141
1141
|
label: e(a)("general.confirmReservation"),
|
|
1142
1142
|
"is-loading": e(ee),
|
|
1143
1143
|
disabled: !e(te),
|
|
1144
1144
|
"full-width": "",
|
|
1145
|
-
onClickEvent: (d) =>
|
|
1145
|
+
onClickEvent: (d) => tt(V)
|
|
1146
1146
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
1147
1147
|
]),
|
|
1148
1148
|
_: 2
|
|
1149
1149
|
}, 1032, ["prev-callback"])
|
|
1150
1150
|
]),
|
|
1151
|
-
payment:
|
|
1152
|
-
|
|
1151
|
+
payment: b(() => [
|
|
1152
|
+
h(qt)
|
|
1153
1153
|
]),
|
|
1154
|
-
confirmation:
|
|
1155
|
-
|
|
1154
|
+
confirmation: b(() => [
|
|
1155
|
+
h(Bt, {
|
|
1156
1156
|
message: e(a)("event.confirmationMessage")
|
|
1157
1157
|
}, null, 8, ["message"])
|
|
1158
1158
|
]),
|
|
@@ -1162,8 +1162,8 @@ const Kt = {
|
|
|
1162
1162
|
_: 1
|
|
1163
1163
|
}, 8, ["access-token", "callback"])
|
|
1164
1164
|
]),
|
|
1165
|
-
fallback:
|
|
1166
|
-
|
|
1165
|
+
fallback: b(() => [
|
|
1166
|
+
h(Un)
|
|
1167
1167
|
]),
|
|
1168
1168
|
_: 1
|
|
1169
1169
|
}))
|
|
@@ -1171,8 +1171,8 @@ const Kt = {
|
|
|
1171
1171
|
_: 1
|
|
1172
1172
|
}, 8, ["styling"]));
|
|
1173
1173
|
}
|
|
1174
|
-
}),
|
|
1175
|
-
class
|
|
1174
|
+
}), Ie = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-f58c56d6"]]), ia = ut(), sa = mt, ra = sa();
|
|
1175
|
+
class da extends HTMLElement {
|
|
1176
1176
|
vueApp;
|
|
1177
1177
|
constructor() {
|
|
1178
1178
|
super();
|
|
@@ -1181,14 +1181,14 @@ class ra extends HTMLElement {
|
|
|
1181
1181
|
this.vueApp.unmount();
|
|
1182
1182
|
}
|
|
1183
1183
|
connectedCallback() {
|
|
1184
|
-
const i =
|
|
1185
|
-
this.vueApp =
|
|
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(ft), 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", da);
|
|
1191
1191
|
export {
|
|
1192
|
-
|
|
1192
|
+
da as default
|
|
1193
1193
|
};
|
|
1194
1194
|
//# sourceMappingURL=event.js.map
|