@konnectio/core 4.0.116 → 4.0.118
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-hdk1E0k3.js → ActionField--tGPb0Ob.js} +6 -6
- package/dist/ActionField--tGPb0Ob.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B-gApBgP.js → AvailabilitySkeleton-DcJF9jAN.js} +14 -14
- package/dist/AvailabilitySkeleton-DcJF9jAN.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js +8429 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js.br +0 -0
- package/dist/{CheckoutWindow-CZxZKnq4.js → CheckoutWindow-0SQ_8VzW.js} +26 -26
- package/dist/CheckoutWindow-0SQ_8VzW.js.br +0 -0
- package/dist/{ErrorMessage-D90bwmSp.js → ErrorMessage-Bwb7Ib84.js} +3 -3
- package/dist/ErrorMessage-Bwb7Ib84.js.br +0 -0
- package/dist/{EventAvailabilityForm-BpPStkoo.js → EventAvailabilityForm-DMLUjzLU.js} +13 -13
- package/dist/EventAvailabilityForm-DMLUjzLU.js.br +0 -0
- package/dist/{Field-uF9D_2Jo.js → Field-CbCFTaTs.js} +4 -4
- package/dist/Field-CbCFTaTs.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CALV1LOp.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-K7qu_idf.js} +3 -3
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-_eA1et15.js → SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js} +6919 -6560
- package/dist/SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js.br +0 -0
- package/dist/{TermsOfService-BS-h674o.js → TermsOfService-BeBLKeU1.js} +4 -4
- package/dist/_-DJq3nquJ.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CFiP1E8M.js → _.vue_vue_type_style_index_0_lang-BHgddsWZ.js} +5 -5
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +627 -474
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +19 -19
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +16 -16
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-B5dQ0wZK.js → giftCard-3jj6EyhQ.js} +23 -23
- package/dist/giftCard-3jj6EyhQ.js.br +0 -0
- package/dist/hotel.js +222 -222
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DFXguWRk.js → masonry.plugin-B2kZ4Lq-.js} +439 -438
- package/dist/masonry.plugin-B2kZ4Lq-.js.br +0 -0
- package/dist/{mitt-CTfj-lXy.js → mitt-HQsLmGCg.js} +6 -6
- package/dist/mitt-HQsLmGCg.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-BSDdyhMN.js → style-Cc6LpDdk.js} +2 -2
- package/dist/style-Cc6LpDdk.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-hdk1E0k3.js.br +0 -0
- package/dist/AvailabilitySkeleton-B-gApBgP.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-IW8uN3J-.js +0 -8753
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-IW8uN3J-.js.br +0 -0
- package/dist/CheckoutWindow-CZxZKnq4.js.br +0 -0
- package/dist/ErrorMessage-D90bwmSp.js.br +0 -0
- package/dist/EventAvailabilityForm-BpPStkoo.js.br +0 -0
- package/dist/Field-uF9D_2Jo.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-_eA1et15.js.br +0 -0
- package/dist/_-BgEzIeC5.js +0 -5
- package/dist/giftCard-B5dQ0wZK.js.br +0 -0
- package/dist/masonry.plugin-DFXguWRk.js.br +0 -0
- package/dist/mitt-CTfj-lXy.js.br +0 -0
- package/dist/style-BSDdyhMN.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { a as
|
|
3
|
-
import { G as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as
|
|
6
|
-
import {
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
10
|
-
function
|
|
11
|
-
return (
|
|
12
|
-
const
|
|
13
|
-
return
|
|
1
|
+
import { d as W, u as ae, s as Y, r as Fe, c as j, a as o, b as _, w as m, v as X, i as e, e as t, j as p, f as v, n as Xe, g as d, t as a, o as Ze, h as xe, x as de, y as et, z as tt, F, A as H, B as M, S as nt, k as at, l as ot, m as lt, p as st, q as it } from "./mitt-HQsLmGCg.js";
|
|
2
|
+
import { a as $e, f as Z, g as ue, l as rt, s as U, d as ce, B as ut, _ as x, h as we, I as ne, i as dt, u as Pe, j as ct, k as mt, m as pt, n as _e, o as K, p as vt, q as Ve, T as re, O as bt, C as ft, r as gt, t as kt, v as yt } from "./SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js";
|
|
3
|
+
import { G as ht } from "./style-Cc6LpDdk.js";
|
|
4
|
+
import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-BHgddsWZ.js";
|
|
5
|
+
import { B as Pt, _ as _t, R as $t, L as Ie, S as wt, M as Et, C as Vt, T as Ot, V as Nt, a as Tt } from "./masonry.plugin-B2kZ4Lq-.js";
|
|
6
|
+
import { e as Bt, c as St, n as Ct, g as Oe, m as Ne, a as Te, b as Be, d as Ft, f as Se, _ as It } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js";
|
|
7
|
+
import { C as Lt, P as At, a as Rt } from "./CheckoutWindow-0SQ_8VzW.js";
|
|
8
|
+
import { E as Mt } from "./EventAvailabilityForm-DMLUjzLU.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-K7qu_idf.js";
|
|
10
|
+
function Ut(g) {
|
|
11
|
+
return (l) => {
|
|
12
|
+
const b = (g ? Math[g] : Math.trunc)(l);
|
|
13
|
+
return b === 0 ? 0 : b;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
const
|
|
18
|
-
if (isNaN(
|
|
16
|
+
function Gt(g, l, n) {
|
|
17
|
+
const b = Ft(), f = n?.locale ?? b.locale ?? Bt, i = St(g, l);
|
|
18
|
+
if (isNaN(i))
|
|
19
19
|
throw new RangeError("Invalid time value");
|
|
20
20
|
const k = Object.assign({}, n, {
|
|
21
21
|
addSuffix: n?.addSuffix,
|
|
22
|
-
comparison:
|
|
23
|
-
}), [
|
|
22
|
+
comparison: i
|
|
23
|
+
}), [E, y] = Ct(
|
|
24
24
|
n?.in,
|
|
25
|
-
...
|
|
26
|
-
),
|
|
27
|
-
let
|
|
28
|
-
if (
|
|
29
|
-
const
|
|
30
|
-
return
|
|
31
|
-
} else if (
|
|
32
|
-
const
|
|
33
|
-
return
|
|
34
|
-
} else if (
|
|
35
|
-
const
|
|
36
|
-
return
|
|
37
|
-
} else if (
|
|
38
|
-
const
|
|
39
|
-
return
|
|
40
|
-
} else if (
|
|
41
|
-
const
|
|
42
|
-
return
|
|
25
|
+
...i > 0 ? [l, g] : [g, l]
|
|
26
|
+
), s = Ut(n?.roundingMethod ?? "round"), V = y.getTime() - E.getTime(), D = V / Se, $ = Oe(y) - Oe(E), N = (V - $) / Se, I = n?.unit;
|
|
27
|
+
let P;
|
|
28
|
+
if (I ? P = I : D < 1 ? P = "second" : D < 60 ? P = "minute" : D < Ne ? P = "hour" : N < Te ? P = "day" : N < Be ? P = "month" : P = "year", P === "second") {
|
|
29
|
+
const u = s(V / 1e3);
|
|
30
|
+
return f.formatDistance("xSeconds", u, k);
|
|
31
|
+
} else if (P === "minute") {
|
|
32
|
+
const u = s(D);
|
|
33
|
+
return f.formatDistance("xMinutes", u, k);
|
|
34
|
+
} else if (P === "hour") {
|
|
35
|
+
const u = s(D / 60);
|
|
36
|
+
return f.formatDistance("xHours", u, k);
|
|
37
|
+
} else if (P === "day") {
|
|
38
|
+
const u = s(N / Ne);
|
|
39
|
+
return f.formatDistance("xDays", u, k);
|
|
40
|
+
} else if (P === "month") {
|
|
41
|
+
const u = s(N / Te);
|
|
42
|
+
return u === 12 && I !== "month" ? f.formatDistance("xYears", 1, k) : f.formatDistance("xMonths", u, k);
|
|
43
43
|
} else {
|
|
44
|
-
const
|
|
45
|
-
return
|
|
44
|
+
const u = s(N / Be);
|
|
45
|
+
return f.formatDistance("xYears", u, k);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__ */ W({
|
|
49
49
|
__name: "_",
|
|
50
50
|
props: {
|
|
51
51
|
name: {},
|
|
@@ -69,87 +69,89 @@ const Ct = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
69
69
|
callback: {}
|
|
70
70
|
},
|
|
71
71
|
setup(g) {
|
|
72
|
-
const { t:
|
|
73
|
-
maxNumberOfPeople:
|
|
74
|
-
numberOfPeople:
|
|
72
|
+
const { t: l } = ae(), n = g, { display: b } = $e(), {
|
|
73
|
+
maxNumberOfPeople: f,
|
|
74
|
+
numberOfPeople: i,
|
|
75
75
|
eventId: k,
|
|
76
|
-
currentEventDate:
|
|
76
|
+
currentEventDate: E,
|
|
77
77
|
tableGroupId: y
|
|
78
|
-
} =
|
|
79
|
-
getTemplateAvailability:
|
|
80
|
-
getEventAvailability:
|
|
81
|
-
isEventListingLoading:
|
|
82
|
-
} =
|
|
83
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
84
|
-
|
|
78
|
+
} = Y(Z()), {
|
|
79
|
+
getTemplateAvailability: s,
|
|
80
|
+
getEventAvailability: V,
|
|
81
|
+
isEventListingLoading: D
|
|
82
|
+
} = Z(), $ = Fe(0), N = j(() => D(n.listingId)), I = () => {
|
|
83
|
+
if (!n.useNumberOfProductsForPersons && ($.value === 0 || isNaN($.value))) {
|
|
84
|
+
b({
|
|
85
85
|
type: "error",
|
|
86
|
-
message:
|
|
86
|
+
message: l("alert.error.selectPeople")
|
|
87
87
|
});
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
k.value = n.listingId,
|
|
91
|
-
},
|
|
92
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
93
|
-
|
|
90
|
+
k.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : $.value, s(n.callback);
|
|
91
|
+
}, P = () => {
|
|
92
|
+
if (!n.useNumberOfProductsForPersons && ($.value === 0 || isNaN($.value))) {
|
|
93
|
+
b({
|
|
94
94
|
type: "error",
|
|
95
|
-
message:
|
|
95
|
+
message: l("alert.error.selectPeople")
|
|
96
96
|
});
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
|
-
k.value = n.listingId, y.value = n.tableGroupId,
|
|
99
|
+
k.value = n.listingId, y.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : $.value, V(n.callback);
|
|
100
100
|
};
|
|
101
|
-
return (
|
|
101
|
+
return (u, L) => (o(), _(Pt, {
|
|
102
102
|
type: "event",
|
|
103
|
-
"listing-id":
|
|
104
|
-
gallery:
|
|
105
|
-
name:
|
|
106
|
-
description:
|
|
107
|
-
"prices-from":
|
|
108
|
-
"to-date":
|
|
109
|
-
layout: e(
|
|
103
|
+
"listing-id": u.listingId,
|
|
104
|
+
gallery: u.gallery,
|
|
105
|
+
name: u.name,
|
|
106
|
+
description: u.description,
|
|
107
|
+
"prices-from": u.fromPrice,
|
|
108
|
+
"to-date": u.toDate,
|
|
109
|
+
layout: e(ut).Event
|
|
110
110
|
}, {
|
|
111
|
-
description:
|
|
112
|
-
|
|
111
|
+
description: m(() => [
|
|
112
|
+
X(u.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
|
|
113
113
|
]),
|
|
114
|
-
action:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
114
|
+
action: m(() => [
|
|
115
|
+
X(u.$slots, "action", {}, () => [
|
|
116
|
+
t("div", {
|
|
117
|
+
class: Xe([
|
|
118
|
+
"konnectio-event-listing-action",
|
|
119
|
+
{ "no-selectable-people": u.useNumberOfProductsForPersons }
|
|
120
|
+
])
|
|
121
|
+
}, [
|
|
122
|
+
u.useNumberOfProductsForPersons ? p("", !0) : (o(), _(ue, {
|
|
123
|
+
key: 0,
|
|
124
|
+
modelValue: $.value,
|
|
125
|
+
"onUpdate:modelValue": L[0] || (L[0] = (A) => $.value = A),
|
|
126
|
+
label: e(l)("event.numberOfGuests"),
|
|
127
|
+
icon: "users",
|
|
128
|
+
"icon-type": "fas",
|
|
129
|
+
"icon-placement": "label",
|
|
130
|
+
description: u.maxGuests <= 20 ? `${e(l)("general.availableFor")}: 1 - ${u.maxGuests} ${e(rt)(e(l)("general.guests"))}` : void 0,
|
|
131
|
+
"min-value": 0,
|
|
132
|
+
"max-value": u.maxOnlineReservationLimit || u.maxGuests || e(f) || 1 / 0
|
|
133
|
+
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
134
|
+
t("div", zt, [
|
|
135
|
+
v(ce, {
|
|
136
|
+
label: u.soldOut ? e(l)("event.soldOut") : e(l)("event.bookNowButton"),
|
|
137
|
+
disabled: u.soldOut,
|
|
138
|
+
"is-loading": N.value,
|
|
139
|
+
"full-width": "",
|
|
140
|
+
"sub-label": e(U)(e(E)),
|
|
141
|
+
onClickEvent: L[1] || (L[1] = (A) => u.type === "event" ? P() : I())
|
|
142
|
+
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
143
|
+
])
|
|
144
|
+
], 2)
|
|
145
|
+
], !0)
|
|
144
146
|
]),
|
|
145
147
|
_: 3
|
|
146
148
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
147
149
|
}
|
|
148
|
-
}),
|
|
149
|
-
const
|
|
150
|
+
}), Le = /* @__PURE__ */ x(qt, [["__scopeId", "data-v-81aa25c5"]]), Ht = { class: "konnectio-event-listing-information-new" };
|
|
151
|
+
const Yt = {
|
|
150
152
|
key: 1,
|
|
151
153
|
class: "konnectio-pill-button"
|
|
152
|
-
},
|
|
154
|
+
}, jt = { class: "konnectio-pill-button" }, Wt = /* @__PURE__ */ W({
|
|
153
155
|
__name: "Event",
|
|
154
156
|
props: {
|
|
155
157
|
name: {},
|
|
@@ -166,65 +168,157 @@ const Lt = {
|
|
|
166
168
|
maxOnlineReservationLimit: {},
|
|
167
169
|
minimumPersonCount: {},
|
|
168
170
|
fromPrice: { default: 0 },
|
|
171
|
+
soldOut: { type: Boolean },
|
|
169
172
|
useNumberOfProductsForPersons: { type: Boolean },
|
|
170
|
-
image: {},
|
|
171
173
|
trackingEnabled: { type: Boolean },
|
|
172
174
|
callback: {}
|
|
173
175
|
},
|
|
174
176
|
setup(g) {
|
|
175
|
-
const
|
|
176
|
-
const
|
|
177
|
-
return
|
|
178
|
-
new Date(2e3, 0, 1, Number(
|
|
177
|
+
const l = g, { t: n } = ae(), { hideEventLength: b } = Y(we()), f = j(() => {
|
|
178
|
+
const i = l.length.split(":");
|
|
179
|
+
return Gt(
|
|
180
|
+
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
179
181
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
180
182
|
);
|
|
181
183
|
});
|
|
182
|
-
return (
|
|
183
|
-
"listing-id":
|
|
184
|
-
name:
|
|
185
|
-
description:
|
|
186
|
-
gallery:
|
|
187
|
-
"prices-from":
|
|
188
|
-
"table-group-id":
|
|
189
|
-
"max-guests":
|
|
190
|
-
"use-number-of-products-for-persons":
|
|
191
|
-
"to-date":
|
|
184
|
+
return (i, k) => (o(), _(Le, {
|
|
185
|
+
"listing-id": i.listingId,
|
|
186
|
+
name: i.name,
|
|
187
|
+
description: i.description,
|
|
188
|
+
gallery: i.gallery,
|
|
189
|
+
"prices-from": i.fromPrice,
|
|
190
|
+
"table-group-id": i.tableGroupId,
|
|
191
|
+
"max-guests": i.maxOnlineReservationLimit,
|
|
192
|
+
"use-number-of-products-for-persons": i.useNumberOfProductsForPersons,
|
|
193
|
+
"to-date": i.toDate,
|
|
194
|
+
"sold-out": i.soldOut,
|
|
192
195
|
type: "event",
|
|
193
|
-
callback:
|
|
196
|
+
callback: i.callback
|
|
194
197
|
}, {
|
|
195
|
-
description:
|
|
196
|
-
|
|
198
|
+
description: m(() => [
|
|
199
|
+
i.description ? (o(), _(_t, {
|
|
197
200
|
key: 0,
|
|
198
|
-
text:
|
|
199
|
-
}, null, 8, ["text"])) :
|
|
200
|
-
t("ul",
|
|
201
|
-
|
|
202
|
-
e(
|
|
201
|
+
text: i.description
|
|
202
|
+
}, null, 8, ["text"])) : p("", !0),
|
|
203
|
+
t("ul", Ht, [
|
|
204
|
+
p("", !0),
|
|
205
|
+
e(b) ? p("", !0) : (o(), d("li", Yt, [
|
|
203
206
|
t("div", null, [
|
|
204
|
-
v(
|
|
207
|
+
v(ne, {
|
|
205
208
|
icon: "calendar-clock",
|
|
206
209
|
color: "header"
|
|
207
210
|
}),
|
|
208
|
-
t("span", null,
|
|
211
|
+
t("span", null, a(e(n)("event.lengthOfEvent")), 1)
|
|
209
212
|
]),
|
|
210
|
-
t("span", null,
|
|
213
|
+
t("span", null, a(f.value), 1)
|
|
211
214
|
])),
|
|
212
|
-
t("li",
|
|
215
|
+
t("li", jt, [
|
|
213
216
|
t("div", null, [
|
|
214
|
-
v(
|
|
217
|
+
v(ne, {
|
|
215
218
|
icon: "calendar-clock",
|
|
216
219
|
color: "header"
|
|
217
220
|
}),
|
|
218
|
-
t("span", null,
|
|
221
|
+
t("span", null, a(e(n)("event.startAndEndTime")), 1)
|
|
219
222
|
]),
|
|
220
|
-
t("span", null,
|
|
223
|
+
t("span", null, a(e(dt)(i.timeFrom, i.timeTo)), 1)
|
|
224
|
+
])
|
|
225
|
+
])
|
|
226
|
+
]),
|
|
227
|
+
action: m(() => [
|
|
228
|
+
X(i.$slots, "action", {}, void 0, !0)
|
|
229
|
+
]),
|
|
230
|
+
_: 3
|
|
231
|
+
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
|
|
232
|
+
}
|
|
233
|
+
}), Ae = /* @__PURE__ */ x(Wt, [["__scopeId", "data-v-222c7986"]]), Qt = { class: "konnectio-special-offer-availability" }, Jt = { class: "konnectio-special-offer-availability-button" }, Kt = { class: "konnectio-warning-notice" }, Xt = { key: 0 }, Zt = { key: 1 }, xt = /* @__PURE__ */ W({
|
|
234
|
+
__name: "NextEvent",
|
|
235
|
+
props: {
|
|
236
|
+
name: {},
|
|
237
|
+
description: {},
|
|
238
|
+
fromDate: {},
|
|
239
|
+
toDate: {},
|
|
240
|
+
length: {},
|
|
241
|
+
timeFrom: {},
|
|
242
|
+
timeTo: {},
|
|
243
|
+
gallery: {},
|
|
244
|
+
days: {},
|
|
245
|
+
listingId: {},
|
|
246
|
+
tableGroupId: {},
|
|
247
|
+
maxOnlineReservationLimit: {},
|
|
248
|
+
minimumPersonCount: {},
|
|
249
|
+
soldOut: { type: Boolean },
|
|
250
|
+
useNumberOfProductsForPersons: { type: Boolean },
|
|
251
|
+
trackingEnabled: { type: Boolean },
|
|
252
|
+
callback: { type: Function }
|
|
253
|
+
},
|
|
254
|
+
setup(g) {
|
|
255
|
+
const { t: l } = ae(), { updateEventDate: n } = Pe(), { display: b } = $e(), f = Fe(), i = g;
|
|
256
|
+
function k() {
|
|
257
|
+
f.value ? n(f.value) : b({
|
|
258
|
+
message: l("alert.error.selectDate"),
|
|
259
|
+
type: "error"
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
const E = j(() => mt(i.fromDate, i.toDate) <= 1), y = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !pt(i.days).includes(s)));
|
|
263
|
+
return Ze(() => {
|
|
264
|
+
E.value && (f.value = new Date(i.fromDate));
|
|
265
|
+
}), (s, V) => (o(), _(Ae, {
|
|
266
|
+
name: s.name,
|
|
267
|
+
description: s.description,
|
|
268
|
+
"from-date": s.fromDate,
|
|
269
|
+
"to-date": s.toDate,
|
|
270
|
+
length: s.length,
|
|
271
|
+
"time-from": s.timeFrom,
|
|
272
|
+
"time-to": s.timeTo,
|
|
273
|
+
gallery: s.gallery,
|
|
274
|
+
days: s.days,
|
|
275
|
+
"listing-id": s.listingId,
|
|
276
|
+
"table-group-id": s.tableGroupId,
|
|
277
|
+
"max-online-reservation-limit": s.maxOnlineReservationLimit,
|
|
278
|
+
"minimum-person-count": s.minimumPersonCount,
|
|
279
|
+
"use-number-of-products-for-persons": s.useNumberOfProductsForPersons,
|
|
280
|
+
"tracking-enabled": s.trackingEnabled,
|
|
281
|
+
"sold-out": s.soldOut,
|
|
282
|
+
callback: s.callback
|
|
283
|
+
}, {
|
|
284
|
+
action: m(() => [
|
|
285
|
+
t("div", null, [
|
|
286
|
+
t("div", Qt, [
|
|
287
|
+
v(It, {
|
|
288
|
+
modelValue: f.value,
|
|
289
|
+
"onUpdate:modelValue": V[0] || (V[0] = (D) => f.value = D),
|
|
290
|
+
label: `${e(l)("event.selectDate")}*`,
|
|
291
|
+
placeholder: e(l)("event.selectDate"),
|
|
292
|
+
"icon-type": "fas",
|
|
293
|
+
"icon-placement": "label",
|
|
294
|
+
readonly: E.value,
|
|
295
|
+
"start-date": new Date(s.fromDate),
|
|
296
|
+
"min-date": new Date(s.fromDate),
|
|
297
|
+
"max-date": new Date(s.toDate),
|
|
298
|
+
"disabled-week-days": y.value
|
|
299
|
+
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
300
|
+
t("div", Jt, [
|
|
301
|
+
v(ce, {
|
|
302
|
+
label: e(l)("availability.buttonLabel"),
|
|
303
|
+
onClick: xe(k, ["prevent"])
|
|
304
|
+
}, null, 8, ["label"])
|
|
305
|
+
])
|
|
306
|
+
]),
|
|
307
|
+
t("div", Kt, [
|
|
308
|
+
E.value ? (o(), d("span", Xt, [
|
|
309
|
+
de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
|
|
310
|
+
t("u", null, a(e(U)(s.fromDate)), 1)
|
|
311
|
+
])) : (o(), d("span", Zt, [
|
|
312
|
+
de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
|
|
313
|
+
t("u", null, a(e(ct)(s.days)), 1)
|
|
314
|
+
]))
|
|
221
315
|
])
|
|
222
316
|
])
|
|
223
317
|
]),
|
|
224
318
|
_: 1
|
|
225
|
-
}, 8, ["
|
|
319
|
+
}, 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"]));
|
|
226
320
|
}
|
|
227
|
-
}),
|
|
321
|
+
}), en = /* @__PURE__ */ x(xt, [["__scopeId", "data-v-91662edd"]]), tn = /* @__PURE__ */ W({
|
|
228
322
|
__name: "Template",
|
|
229
323
|
props: {
|
|
230
324
|
name: {},
|
|
@@ -241,30 +335,30 @@ const Lt = {
|
|
|
241
335
|
callback: {}
|
|
242
336
|
},
|
|
243
337
|
setup(g) {
|
|
244
|
-
const
|
|
245
|
-
if (
|
|
338
|
+
const l = g, n = j(() => {
|
|
339
|
+
if (l.image)
|
|
246
340
|
return [{
|
|
247
|
-
large:
|
|
248
|
-
medium:
|
|
249
|
-
thumb:
|
|
250
|
-
url:
|
|
341
|
+
large: l.image,
|
|
342
|
+
medium: l.image,
|
|
343
|
+
thumb: l.image,
|
|
344
|
+
url: l.image
|
|
251
345
|
}];
|
|
252
346
|
});
|
|
253
|
-
return (
|
|
254
|
-
"listing-id":
|
|
347
|
+
return (b, f) => (o(), _(Le, {
|
|
348
|
+
"listing-id": b.listingId,
|
|
255
349
|
gallery: n.value,
|
|
256
|
-
name:
|
|
257
|
-
description:
|
|
258
|
-
"prices-from":
|
|
259
|
-
"to-date":
|
|
350
|
+
name: b.name,
|
|
351
|
+
description: b.description,
|
|
352
|
+
"prices-from": b.fromPrice,
|
|
353
|
+
"to-date": b.toDate,
|
|
260
354
|
type: "template",
|
|
261
|
-
callback:
|
|
355
|
+
callback: b.callback
|
|
262
356
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
263
357
|
}
|
|
264
|
-
}),
|
|
358
|
+
}), nn = { key: 0 }, an = { key: 1 }, on = { key: 2 }, ln = { key: 4 }, sn = { key: 5 }, rn = { key: 0 }, un = { key: 0 }, dn = { key: 1 }, cn = {
|
|
265
359
|
key: 0,
|
|
266
360
|
class: "konnectio-capitalize"
|
|
267
|
-
},
|
|
361
|
+
}, mn = /* @__PURE__ */ W({
|
|
268
362
|
__name: "EventReservationForm",
|
|
269
363
|
props: {
|
|
270
364
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -272,141 +366,144 @@ const Lt = {
|
|
|
272
366
|
prevCallback: {}
|
|
273
367
|
},
|
|
274
368
|
setup(g) {
|
|
275
|
-
const { t:
|
|
276
|
-
areListingsAvailable:
|
|
277
|
-
arrivalTime:
|
|
278
|
-
numberOfPeople:
|
|
369
|
+
const { t: l } = ae(), n = et(), {
|
|
370
|
+
areListingsAvailable: b,
|
|
371
|
+
arrivalTime: f,
|
|
372
|
+
numberOfPeople: i,
|
|
279
373
|
numberOfRooms: k,
|
|
280
|
-
numberOfTotalDays:
|
|
374
|
+
numberOfTotalDays: E,
|
|
281
375
|
isTemplateEvent: y,
|
|
282
|
-
currentEventDate:
|
|
283
|
-
length:
|
|
284
|
-
fromDate:
|
|
285
|
-
tableBasePrice:
|
|
286
|
-
getTemplateData:
|
|
287
|
-
basePrice:
|
|
288
|
-
totalPrice:
|
|
289
|
-
weekendFee:
|
|
290
|
-
roomUpgrade:
|
|
291
|
-
discountCode:
|
|
292
|
-
totalSelectedProducts:
|
|
293
|
-
} =
|
|
294
|
-
return (R,
|
|
295
|
-
"discount-code": e(
|
|
296
|
-
"onUpdate:discountCode":
|
|
297
|
-
"validate-discount-code": e(
|
|
376
|
+
currentEventDate: s,
|
|
377
|
+
length: V,
|
|
378
|
+
fromDate: D,
|
|
379
|
+
tableBasePrice: $,
|
|
380
|
+
getTemplateData: N,
|
|
381
|
+
basePrice: I,
|
|
382
|
+
totalPrice: P,
|
|
383
|
+
weekendFee: u,
|
|
384
|
+
roomUpgrade: L,
|
|
385
|
+
discountCode: A,
|
|
386
|
+
totalSelectedProducts: Q
|
|
387
|
+
} = Y(Z()), { totalAddonPrice: me, validateDiscountCode: pe } = Z(), { currency: oe, hideEventLength: ve } = Y(we());
|
|
388
|
+
return (R, le) => (o(), _($t, {
|
|
389
|
+
"discount-code": e(A),
|
|
390
|
+
"onUpdate:discountCode": le[0] || (le[0] = (J) => M(A) ? A.value = J : null),
|
|
391
|
+
"validate-discount-code": e(pe),
|
|
298
392
|
"show-gift-card": R.showGiftCard,
|
|
299
393
|
"show-terms-notice": R.showTermsNotice,
|
|
300
|
-
"is-sidebar-loading": !e(
|
|
301
|
-
"base-price": e(
|
|
302
|
-
"total-price": e(
|
|
303
|
-
"weekend-fee": e(
|
|
304
|
-
"room-upgrade": e(
|
|
305
|
-
notice: e(
|
|
394
|
+
"is-sidebar-loading": !e(b),
|
|
395
|
+
"base-price": e(I),
|
|
396
|
+
"total-price": e(P),
|
|
397
|
+
"weekend-fee": e(u),
|
|
398
|
+
"room-upgrade": e(L),
|
|
399
|
+
notice: e(l)("event.reservationNotice"),
|
|
306
400
|
"prev-callback": R.prevCallback
|
|
307
|
-
},
|
|
308
|
-
form:
|
|
309
|
-
|
|
401
|
+
}, tt({
|
|
402
|
+
form: m(() => [
|
|
403
|
+
X(R.$slots, "form", {}, void 0, !0)
|
|
310
404
|
]),
|
|
311
|
-
"reservation-summary":
|
|
312
|
-
e(y) ?
|
|
313
|
-
t("span", null,
|
|
314
|
-
t("b", null,
|
|
405
|
+
"reservation-summary": m(() => [
|
|
406
|
+
e(y) ? p("", !0) : (o(), d("li", nn, [
|
|
407
|
+
t("span", null, a(e(l)("general.date")), 1),
|
|
408
|
+
t("b", null, a(e(U)(e(s))), 1)
|
|
315
409
|
])),
|
|
316
|
-
e(
|
|
317
|
-
t("span", null,
|
|
318
|
-
t("b", null,
|
|
319
|
-
])) :
|
|
320
|
-
!e(y) && e(
|
|
321
|
-
t("span", null,
|
|
322
|
-
t("b", null,
|
|
323
|
-
])) :
|
|
324
|
-
e(y) ? (o(), d(
|
|
410
|
+
e(i) > 0 ? (o(), d("li", an, [
|
|
411
|
+
t("span", null, a(e(l)("event.numberOfGuests")), 1),
|
|
412
|
+
t("b", null, a(e(i)), 1)
|
|
413
|
+
])) : p("", !0),
|
|
414
|
+
!e(y) && e(Q) > 0 ? (o(), d("li", on, [
|
|
415
|
+
t("span", null, a(e(l)("event.numberOfProducts")), 1),
|
|
416
|
+
t("b", null, a(e(Q)), 1)
|
|
417
|
+
])) : p("", !0),
|
|
418
|
+
e(y) ? (o(), d(F, { key: 3 }, [
|
|
325
419
|
t("li", null, [
|
|
326
|
-
t("span", null,
|
|
327
|
-
t("b", null,
|
|
420
|
+
t("span", null, a(e(l)("booking.reservation.arrival")), 1),
|
|
421
|
+
t("b", null, a(e(U)(e(D))), 1)
|
|
328
422
|
]),
|
|
329
423
|
t("li", null, [
|
|
330
|
-
t("span", null,
|
|
331
|
-
t("b", null,
|
|
424
|
+
t("span", null, a(e(l)("booking.reservation.departure")), 1),
|
|
425
|
+
t("b", null, a(e(U)(e(D), e(E))), 1)
|
|
332
426
|
]),
|
|
333
427
|
t("li", null, [
|
|
334
|
-
t("span", null,
|
|
335
|
-
t("b", null,
|
|
428
|
+
t("span", null, a(e(l)("event.numberOfRooms")), 1),
|
|
429
|
+
t("b", null, a(e(k)), 1)
|
|
336
430
|
]),
|
|
337
431
|
t("li", null, [
|
|
338
|
-
t("span", null,
|
|
339
|
-
t("b", null,
|
|
432
|
+
t("span", null, a(e(l)("event.numberOfDays")), 1),
|
|
433
|
+
t("b", null, a(e(E)), 1)
|
|
340
434
|
])
|
|
341
|
-
], 64)) :
|
|
342
|
-
!e(y) && e(
|
|
343
|
-
t("span", null,
|
|
344
|
-
t("b", null,
|
|
345
|
-
])) :
|
|
346
|
-
!e(y) && e(
|
|
347
|
-
t("span", null,
|
|
348
|
-
t("b", null,
|
|
349
|
-
])) :
|
|
435
|
+
], 64)) : p("", !0),
|
|
436
|
+
!e(y) && e(f) ? (o(), d("li", ln, [
|
|
437
|
+
t("span", null, a(e(l)("event.startOfEvent")), 1),
|
|
438
|
+
t("b", null, a(e(_e)(e(f))), 1)
|
|
439
|
+
])) : p("", !0),
|
|
440
|
+
!e(y) && e(V) && !e(ve) ? (o(), d("li", sn, [
|
|
441
|
+
t("span", null, a(e(l)("event.lengthOfEvent")), 1),
|
|
442
|
+
t("b", null, a(e(_e)(e(V))), 1)
|
|
443
|
+
])) : p("", !0)
|
|
350
444
|
]),
|
|
351
|
-
"price-summary":
|
|
352
|
-
!e(y) && e(
|
|
353
|
-
t("span", null,
|
|
354
|
-
t("b", null,
|
|
355
|
-
])) :
|
|
356
|
-
e(
|
|
357
|
-
t("span", null,
|
|
358
|
-
t("b", null,
|
|
359
|
-
]))), 128)) :
|
|
445
|
+
"price-summary": m(() => [
|
|
446
|
+
!e(y) && e($) > 0 ? (o(), d("li", rn, [
|
|
447
|
+
t("span", null, a(e(l)("booking.availability.basePrice")), 1),
|
|
448
|
+
t("b", null, a(e(K)(e($), e(oe))), 1)
|
|
449
|
+
])) : p("", !0),
|
|
450
|
+
e(N) ? (o(!0), d(F, { key: 1 }, H(e(N), ({ roomGroupId: J }, se) => (o(), d("li", { key: J }, [
|
|
451
|
+
t("span", null, a(e(l)("booking.reservation.addons")) + " - " + a(e(l)("booking.reservation.room")) + " #" + a(se + 1), 1),
|
|
452
|
+
t("b", null, a(e(K)(e(me)(J, se), e(oe))), 1)
|
|
453
|
+
]))), 128)) : p("", !0)
|
|
360
454
|
]),
|
|
361
|
-
navigation:
|
|
362
|
-
|
|
455
|
+
navigation: m(() => [
|
|
456
|
+
X(R.$slots, "navigation", {}, void 0, !0)
|
|
363
457
|
]),
|
|
364
|
-
"mobile-under-price":
|
|
365
|
-
e(y) ? (o(), d("div",
|
|
366
|
-
t("span", null,
|
|
367
|
-
])) : (o(), d("div",
|
|
368
|
-
t("span", null,
|
|
458
|
+
"mobile-under-price": m(() => [
|
|
459
|
+
e(y) ? (o(), d("div", un, [
|
|
460
|
+
t("span", null, a(e(U)(e(D))) + " - " + a(e(U)(e(D), e(E))), 1)
|
|
461
|
+
])) : (o(), d("div", dn, [
|
|
462
|
+
t("span", null, a(e(U)(e(s))), 1)
|
|
369
463
|
]))
|
|
370
464
|
]),
|
|
371
|
-
"mobile-summary":
|
|
372
|
-
!e(y) && e(
|
|
465
|
+
"mobile-summary": m(() => [
|
|
466
|
+
!e(y) && e(Q) > 0 ? (o(), d("span", cn, a(e(l)("event.numberOfProducts")) + ": " + a(e(Q)), 1)) : p("", !0)
|
|
373
467
|
]),
|
|
374
468
|
_: 2
|
|
375
469
|
}, [
|
|
376
470
|
e(n).sidebar ? {
|
|
377
471
|
name: "sidebar",
|
|
378
|
-
fn:
|
|
379
|
-
|
|
472
|
+
fn: m(() => [
|
|
473
|
+
X(R.$slots, "sidebar", {}, void 0, !0)
|
|
380
474
|
]),
|
|
381
475
|
key: "0"
|
|
382
476
|
} : void 0
|
|
383
477
|
]), 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"]));
|
|
384
478
|
}
|
|
385
|
-
}),
|
|
479
|
+
}), De = /* @__PURE__ */ x(mn, [["__scopeId", "data-v-c4b0b5c7"]]), pn = { class: "event-skeleton" }, vn = { class: "event-skeleton-content" }, bn = { class: "event-skeleton-sidebar" }, fn = /* @__PURE__ */ W({
|
|
386
480
|
__name: "EventSkeleton",
|
|
387
481
|
setup(g) {
|
|
388
|
-
return (
|
|
389
|
-
t("div",
|
|
390
|
-
v(
|
|
482
|
+
return (l, n) => (o(), d("div", pn, [
|
|
483
|
+
t("div", vn, [
|
|
484
|
+
v(Ie)
|
|
391
485
|
]),
|
|
392
|
-
t("div",
|
|
393
|
-
|
|
394
|
-
v(
|
|
486
|
+
t("div", bn, [
|
|
487
|
+
p("", !0),
|
|
488
|
+
v(wt)
|
|
395
489
|
])
|
|
396
490
|
]));
|
|
397
491
|
}
|
|
398
|
-
}),
|
|
492
|
+
}), gn = /* @__PURE__ */ x(fn, [["__scopeId", "data-v-3e15c4e3"]]), kn = {
|
|
399
493
|
key: 0,
|
|
400
494
|
id: "konnectio-event-listings-wrapper"
|
|
495
|
+
}, yn = {
|
|
496
|
+
key: 0,
|
|
497
|
+
class: "konnectio-hotel-availability-title"
|
|
401
498
|
};
|
|
402
|
-
const
|
|
403
|
-
const
|
|
499
|
+
const hn = { class: "konnectio-event-listings" };
|
|
500
|
+
const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel-availability-title" }, _n = { class: "konnectio-event-listings" }, $n = ["innerHTML"], wn = { class: "konnectio-panel" }, En = {
|
|
404
501
|
key: 0,
|
|
405
502
|
id: "konnectio-event-addons"
|
|
406
|
-
},
|
|
503
|
+
}, Vn = { class: "konnectio-table with-lines" }, On = { class: "konnectio-event-addons-price" }, Nn = { class: "konnectio-event-addons-input" }, Tn = { class: "konnectio-event-addons-price" }, Bn = { class: "konnectio-event-addons-price" }, Sn = {
|
|
407
504
|
key: 1,
|
|
408
505
|
class: "konnectio-table with-lines"
|
|
409
|
-
},
|
|
506
|
+
}, Cn = { class: "konnectio-table-addons-information" }, Fn = { key: 0 }, In = { class: "konnectio-table-addons-option" }, Ln = { class: "konnectio-panel" }, An = /* @__PURE__ */ W({
|
|
410
507
|
name: "EventLayout",
|
|
411
508
|
__name: "Event",
|
|
412
509
|
props: {
|
|
@@ -417,41 +514,42 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
417
514
|
styling: {}
|
|
418
515
|
},
|
|
419
516
|
setup(g) {
|
|
420
|
-
const
|
|
421
|
-
addons:
|
|
422
|
-
products:
|
|
423
|
-
numberOfDays:
|
|
517
|
+
const l = g, { t: n } = ae(), {
|
|
518
|
+
addons: b,
|
|
519
|
+
products: f,
|
|
520
|
+
numberOfDays: i,
|
|
424
521
|
name: k,
|
|
425
|
-
phone:
|
|
522
|
+
phone: E,
|
|
426
523
|
email: y,
|
|
427
|
-
remark:
|
|
428
|
-
allergies:
|
|
429
|
-
arrivalTime:
|
|
430
|
-
hasEvents:
|
|
431
|
-
hasTemplates:
|
|
432
|
-
getEvents:
|
|
433
|
-
getTemplates:
|
|
434
|
-
getEventData:
|
|
435
|
-
getTemplateData:
|
|
436
|
-
getEventTableData:
|
|
437
|
-
hasProducts:
|
|
438
|
-
eventRateType:
|
|
439
|
-
areListingsAvailable:
|
|
440
|
-
isAvailabilityDataAvailable:
|
|
441
|
-
hasListingData:
|
|
524
|
+
remark: s,
|
|
525
|
+
allergies: V,
|
|
526
|
+
arrivalTime: D,
|
|
527
|
+
hasEvents: $,
|
|
528
|
+
hasTemplates: N,
|
|
529
|
+
getEvents: I,
|
|
530
|
+
getTemplates: P,
|
|
531
|
+
getEventData: u,
|
|
532
|
+
getTemplateData: L,
|
|
533
|
+
getEventTableData: A,
|
|
534
|
+
hasProducts: Q,
|
|
535
|
+
eventRateType: me,
|
|
536
|
+
areListingsAvailable: pe,
|
|
537
|
+
isAvailabilityDataAvailable: oe,
|
|
538
|
+
hasListingData: ve,
|
|
442
539
|
isPaymentLoading: R,
|
|
443
|
-
isReservationFormFilled:
|
|
444
|
-
requiresArrivalTime:
|
|
445
|
-
hasSelectedRequiredProducts:
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
540
|
+
isReservationFormFilled: le,
|
|
541
|
+
requiresArrivalTime: J,
|
|
542
|
+
hasSelectedRequiredProducts: se,
|
|
543
|
+
getUnavailableEvents: be
|
|
544
|
+
} = Y(Z()), { currency: ie } = Y(we()), { eventDate: Re, eventLocation: Me } = Y(Pe()), { isValidRestaurantId: Ue } = Pe(), {
|
|
545
|
+
initialize: Ge,
|
|
546
|
+
fetchListings: ze,
|
|
547
|
+
createBooking: qe,
|
|
548
|
+
localAddonPrice: He,
|
|
549
|
+
totalAddonPrice: Ye,
|
|
550
|
+
reset: je,
|
|
551
|
+
goBack: Ee
|
|
552
|
+
} = Z(), { display: fe } = $e(), We = j(() => [
|
|
455
553
|
{
|
|
456
554
|
id: "availability",
|
|
457
555
|
label: n("booking.availability.title"),
|
|
@@ -477,282 +575,337 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
477
575
|
label: n("booking.confirmation.title"),
|
|
478
576
|
icon: "calendar-check"
|
|
479
577
|
}
|
|
480
|
-
]),
|
|
481
|
-
const
|
|
482
|
-
return
|
|
483
|
-
|
|
484
|
-
label:
|
|
485
|
-
value:
|
|
578
|
+
]), Qe = j(() => {
|
|
579
|
+
const w = [];
|
|
580
|
+
return A.value && A.value.forEach((c) => {
|
|
581
|
+
w.find((B) => B.value === c.time) || w.push({
|
|
582
|
+
label: _e(c.time),
|
|
583
|
+
value: c.time
|
|
486
584
|
});
|
|
487
|
-
}),
|
|
585
|
+
}), w;
|
|
488
586
|
});
|
|
489
|
-
function
|
|
490
|
-
|
|
587
|
+
function Je() {
|
|
588
|
+
je(l.resetDate === "yes");
|
|
491
589
|
}
|
|
492
|
-
function
|
|
493
|
-
const
|
|
590
|
+
function Ke() {
|
|
591
|
+
const w = gt("history", {
|
|
494
592
|
removeNullishValues: !0
|
|
495
|
-
}),
|
|
496
|
-
if (
|
|
497
|
-
if (
|
|
498
|
-
const S = new Date(
|
|
499
|
-
|
|
593
|
+
}), c = parseInt(w.rid), B = w.d, O = parseInt(w.eid);
|
|
594
|
+
if (B)
|
|
595
|
+
if (kt(B)) {
|
|
596
|
+
const S = new Date(B), C = S.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
597
|
+
C >= h ? (Re.value = S, w.d = void 0) : fe({
|
|
500
598
|
message: n("alert.error.invalidDateRange"),
|
|
501
599
|
type: "error"
|
|
502
600
|
});
|
|
503
601
|
} else
|
|
504
|
-
|
|
602
|
+
fe({
|
|
505
603
|
message: n("alert.error.wrongDateFormat"),
|
|
506
604
|
type: "error"
|
|
507
605
|
});
|
|
508
|
-
isNaN(
|
|
606
|
+
isNaN(c) || (Ue(c) ? Me.value = c : fe({
|
|
509
607
|
message: n("alert.error.hotelIdNotFound"),
|
|
510
608
|
type: "error"
|
|
511
609
|
}));
|
|
512
|
-
let
|
|
513
|
-
isNaN(
|
|
610
|
+
let r;
|
|
611
|
+
isNaN(O) || (r = O), ze(r);
|
|
514
612
|
}
|
|
515
|
-
return (
|
|
516
|
-
default:
|
|
517
|
-
(o(),
|
|
518
|
-
default:
|
|
519
|
-
v(
|
|
613
|
+
return (w, c) => (o(), _(ft, { styling: w.styling }, {
|
|
614
|
+
default: m(() => [
|
|
615
|
+
(o(), _(nt, { onResolve: Ke }, {
|
|
616
|
+
default: m(() => [
|
|
617
|
+
v(Dt, {
|
|
520
618
|
id: "konnectio-event-module",
|
|
521
|
-
"access-token":
|
|
522
|
-
callback: e(
|
|
619
|
+
"access-token": w.accessToken,
|
|
620
|
+
callback: e(Ge)
|
|
523
621
|
}, {
|
|
524
|
-
default:
|
|
525
|
-
v(
|
|
526
|
-
steps:
|
|
527
|
-
onReset:
|
|
622
|
+
default: m(() => [
|
|
623
|
+
v(Et, {
|
|
624
|
+
steps: We.value,
|
|
625
|
+
onReset: Je
|
|
528
626
|
}, {
|
|
529
|
-
availability:
|
|
530
|
-
v(
|
|
531
|
-
sidebar:
|
|
532
|
-
v(
|
|
627
|
+
availability: m(({ next: B }) => [
|
|
628
|
+
v(De, null, {
|
|
629
|
+
sidebar: m(() => [
|
|
630
|
+
v(Mt, {
|
|
533
631
|
redirection: !1,
|
|
534
|
-
"selected-location": Number(
|
|
632
|
+
"selected-location": Number(w.selectedLocation)
|
|
535
633
|
}, null, 8, ["selected-location"])
|
|
536
634
|
]),
|
|
537
|
-
form:
|
|
538
|
-
e(
|
|
539
|
-
e(
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
635
|
+
form: m(() => [
|
|
636
|
+
e(ve) && e(pe) ? (o(), d("div", kn, [
|
|
637
|
+
e(I).length > 0 && e(be).length > 0 ? (o(), d("h2", yn, [
|
|
638
|
+
v(ne, {
|
|
639
|
+
icon: "calendar-clock",
|
|
640
|
+
type: "fal",
|
|
641
|
+
color: "header"
|
|
642
|
+
}),
|
|
643
|
+
t("span", null, a(e(n)("event.availableNow")), 1)
|
|
644
|
+
])) : p("", !0),
|
|
645
|
+
e($) && w.onlyShow !== "templates" ? (o(), d(F, { key: 1 }, [
|
|
646
|
+
p("", !0),
|
|
647
|
+
t("ul", hn, [
|
|
648
|
+
(o(!0), d(F, null, H(e(I), ({
|
|
649
|
+
id: O,
|
|
650
|
+
days: r,
|
|
545
651
|
name: S,
|
|
546
|
-
timeFrom:
|
|
547
|
-
timeTo:
|
|
548
|
-
fromDate:
|
|
549
|
-
toDate:
|
|
550
|
-
tableGroupId:
|
|
551
|
-
description:
|
|
552
|
-
soldOut:
|
|
553
|
-
length:
|
|
554
|
-
images:
|
|
555
|
-
maxOnlineReservationLimit:
|
|
556
|
-
maxPaxPerReservation:
|
|
557
|
-
useNumberOfProductsForPersons:
|
|
558
|
-
}) => (o(),
|
|
559
|
-
key:
|
|
652
|
+
timeFrom: C,
|
|
653
|
+
timeTo: h,
|
|
654
|
+
fromDate: T,
|
|
655
|
+
toDate: G,
|
|
656
|
+
tableGroupId: z,
|
|
657
|
+
description: ee,
|
|
658
|
+
soldOut: te,
|
|
659
|
+
length: q,
|
|
660
|
+
images: ge,
|
|
661
|
+
maxOnlineReservationLimit: ke,
|
|
662
|
+
maxPaxPerReservation: ye,
|
|
663
|
+
useNumberOfProductsForPersons: he
|
|
664
|
+
}) => (o(), _(Ae, {
|
|
665
|
+
key: O,
|
|
560
666
|
type: "event",
|
|
561
|
-
"listing-id":
|
|
562
|
-
"table-group-id":
|
|
563
|
-
description:
|
|
667
|
+
"listing-id": O,
|
|
668
|
+
"table-group-id": z,
|
|
669
|
+
description: ee,
|
|
564
670
|
name: S,
|
|
565
|
-
length:
|
|
566
|
-
gallery:
|
|
567
|
-
days:
|
|
568
|
-
"from-date":
|
|
569
|
-
"to-date":
|
|
570
|
-
"max-online-reservation-limit":
|
|
571
|
-
"time-from":
|
|
572
|
-
"time-to":
|
|
573
|
-
"sold-out":
|
|
574
|
-
"use-number-of-products-for-persons":
|
|
575
|
-
callback:
|
|
671
|
+
length: q,
|
|
672
|
+
gallery: ge,
|
|
673
|
+
days: r,
|
|
674
|
+
"from-date": T,
|
|
675
|
+
"to-date": G,
|
|
676
|
+
"max-online-reservation-limit": ye || ke,
|
|
677
|
+
"time-from": C,
|
|
678
|
+
"time-to": h,
|
|
679
|
+
"sold-out": te,
|
|
680
|
+
"use-number-of-products-for-persons": he,
|
|
681
|
+
callback: B
|
|
576
682
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
577
683
|
])
|
|
578
|
-
], 64)) :
|
|
579
|
-
e(
|
|
580
|
-
|
|
581
|
-
t("ul",
|
|
582
|
-
(o(!0), d(
|
|
583
|
-
id:
|
|
584
|
-
name:
|
|
684
|
+
], 64)) : p("", !0),
|
|
685
|
+
e(N) && w.onlyShow !== "events" ? (o(), d(F, { key: 2 }, [
|
|
686
|
+
p("", !0),
|
|
687
|
+
t("ul", Dn, [
|
|
688
|
+
(o(!0), d(F, null, H(e(P), ({
|
|
689
|
+
id: O,
|
|
690
|
+
name: r,
|
|
585
691
|
fromDate: S,
|
|
586
|
-
toDate:
|
|
587
|
-
minimumPersonCount:
|
|
588
|
-
fromPrice:
|
|
589
|
-
description:
|
|
590
|
-
imageUrl:
|
|
591
|
-
}) => (o(),
|
|
592
|
-
key:
|
|
593
|
-
"listing-id":
|
|
594
|
-
name:
|
|
595
|
-
image:
|
|
596
|
-
description:
|
|
692
|
+
toDate: C,
|
|
693
|
+
minimumPersonCount: h,
|
|
694
|
+
fromPrice: T,
|
|
695
|
+
description: G,
|
|
696
|
+
imageUrl: z
|
|
697
|
+
}) => (o(), _(tn, {
|
|
698
|
+
key: O,
|
|
699
|
+
"listing-id": O,
|
|
700
|
+
name: r,
|
|
701
|
+
image: z,
|
|
702
|
+
description: G,
|
|
597
703
|
"from-date": S,
|
|
598
|
-
"to-date":
|
|
599
|
-
"minimum-person-count":
|
|
600
|
-
fromPrice:
|
|
601
|
-
callback:
|
|
704
|
+
"to-date": C,
|
|
705
|
+
"minimum-person-count": h,
|
|
706
|
+
fromPrice: T,
|
|
707
|
+
callback: B
|
|
602
708
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
603
709
|
])
|
|
604
|
-
], 64)) :
|
|
605
|
-
|
|
606
|
-
|
|
710
|
+
], 64)) : p("", !0),
|
|
711
|
+
e(be).length > 0 && w.onlyShow !== "templates" ? (o(), d(F, { key: 3 }, [
|
|
712
|
+
t("h2", Pn, [
|
|
713
|
+
v(ne, {
|
|
714
|
+
icon: "calendar-circle-exclamation",
|
|
715
|
+
type: "fal",
|
|
716
|
+
color: "header"
|
|
717
|
+
}),
|
|
718
|
+
t("span", null, a(e(n)("event.availableLater")), 1)
|
|
719
|
+
]),
|
|
720
|
+
t("ul", _n, [
|
|
721
|
+
(o(!0), d(F, null, H(e(be), ({
|
|
722
|
+
id: O,
|
|
723
|
+
days: r,
|
|
724
|
+
name: S,
|
|
725
|
+
timeFrom: C,
|
|
726
|
+
timeTo: h,
|
|
727
|
+
fromDate: T,
|
|
728
|
+
toDate: G,
|
|
729
|
+
tableGroupId: z,
|
|
730
|
+
description: ee,
|
|
731
|
+
soldOut: te,
|
|
732
|
+
length: q,
|
|
733
|
+
images: ge,
|
|
734
|
+
maxOnlineReservationLimit: ke,
|
|
735
|
+
maxPaxPerReservation: ye,
|
|
736
|
+
useNumberOfProductsForPersons: he
|
|
737
|
+
}) => (o(), _(en, {
|
|
738
|
+
key: O,
|
|
739
|
+
type: "event",
|
|
740
|
+
"listing-id": O,
|
|
741
|
+
"table-group-id": z,
|
|
742
|
+
description: ee,
|
|
743
|
+
name: S,
|
|
744
|
+
length: q,
|
|
745
|
+
gallery: ge,
|
|
746
|
+
days: r,
|
|
747
|
+
"from-date": T,
|
|
748
|
+
"to-date": G,
|
|
749
|
+
"max-online-reservation-limit": ye || ke,
|
|
750
|
+
"time-from": C,
|
|
751
|
+
"time-to": h,
|
|
752
|
+
"sold-out": te,
|
|
753
|
+
"use-number-of-products-for-persons": he,
|
|
754
|
+
callback: B
|
|
755
|
+
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
756
|
+
])
|
|
757
|
+
], 64)) : p("", !0),
|
|
758
|
+
!e($) && !e(N) || !e($) && w.onlyShow === "events" || !e(N) && w.onlyShow === "templates" ? (o(), d("div", {
|
|
759
|
+
key: 4,
|
|
607
760
|
class: "konnectio-panel",
|
|
608
761
|
innerHTML: e(n)("event.nothingAvailable")
|
|
609
|
-
}, null, 8,
|
|
610
|
-
])) : (o(),
|
|
762
|
+
}, null, 8, $n)) : p("", !0)
|
|
763
|
+
])) : (o(), _(Ie, { key: 1 }))
|
|
611
764
|
]),
|
|
612
765
|
_: 2
|
|
613
766
|
}, 1024)
|
|
614
767
|
]),
|
|
615
|
-
addons:
|
|
616
|
-
e(
|
|
768
|
+
addons: m(({ next: B, prev: O }) => [
|
|
769
|
+
e(oe) ? (o(), _(De, {
|
|
617
770
|
key: 0,
|
|
618
|
-
"prev-callback": () => e(
|
|
771
|
+
"prev-callback": () => e(Ee)(O)
|
|
619
772
|
}, {
|
|
620
|
-
form:
|
|
621
|
-
t("form",
|
|
773
|
+
form: m(() => [
|
|
774
|
+
t("form", wn, [
|
|
622
775
|
t("h2", null, [
|
|
623
|
-
t("span", null,
|
|
776
|
+
t("span", null, a(e(n)("event.selectProducts")), 1)
|
|
624
777
|
]),
|
|
625
|
-
e(
|
|
626
|
-
(o(!0), d(
|
|
627
|
-
roomGroupId:
|
|
778
|
+
e(L) && e(L).length > 0 ? (o(), d("ul", En, [
|
|
779
|
+
(o(!0), d(F, null, H(e(L), ({
|
|
780
|
+
roomGroupId: r,
|
|
628
781
|
addons: S,
|
|
629
|
-
adultPerRoom:
|
|
630
|
-
},
|
|
782
|
+
adultPerRoom: C
|
|
783
|
+
}, h) => (o(), d("li", { key: r }, [
|
|
631
784
|
t("h5", null, [
|
|
632
|
-
t("span", null,
|
|
633
|
-
|
|
634
|
-
v(
|
|
785
|
+
t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(h + 1), 1),
|
|
786
|
+
c[7] || (c[7] = de(" (")),
|
|
787
|
+
v(ne, {
|
|
635
788
|
icon: "male",
|
|
636
789
|
type: "fas",
|
|
637
790
|
color: "header"
|
|
638
791
|
}),
|
|
639
|
-
|
|
792
|
+
de(" " + a(C) + ") ", 1)
|
|
640
793
|
]),
|
|
641
|
-
t("table",
|
|
794
|
+
t("table", Vn, [
|
|
642
795
|
t("thead", null, [
|
|
643
796
|
t("tr", null, [
|
|
644
797
|
t("th", null, [
|
|
645
|
-
t("span", null,
|
|
798
|
+
t("span", null, a(e(n)("booking.reservation.addons")), 1)
|
|
646
799
|
]),
|
|
647
|
-
|
|
648
|
-
t("th",
|
|
649
|
-
t("span", null,
|
|
800
|
+
c[8] || (c[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
801
|
+
t("th", On, [
|
|
802
|
+
t("span", null, a(e(n)("booking.availability.price")), 1)
|
|
650
803
|
])
|
|
651
804
|
])
|
|
652
805
|
]),
|
|
653
806
|
t("tbody", null, [
|
|
654
|
-
(o(!0), d(
|
|
655
|
-
id:
|
|
656
|
-
cardinality:
|
|
657
|
-
name:
|
|
658
|
-
price:
|
|
659
|
-
quantityStrategy:
|
|
660
|
-
}) => (o(), d("tr", { key:
|
|
807
|
+
(o(!0), d(F, null, H(S, ({
|
|
808
|
+
id: T,
|
|
809
|
+
cardinality: G,
|
|
810
|
+
name: z,
|
|
811
|
+
price: ee,
|
|
812
|
+
quantityStrategy: te
|
|
813
|
+
}) => (o(), d("tr", { key: T }, [
|
|
661
814
|
t("td", null, [
|
|
662
|
-
t("b", null,
|
|
663
|
-
|
|
664
|
-
t("span", null,
|
|
815
|
+
t("b", null, a(z), 1),
|
|
816
|
+
c[9] || (c[9] = t("br", null, null, -1)),
|
|
817
|
+
t("span", null, a(e(K)(ee, e(ie))) + " " + a(e(vt)(te)), 1)
|
|
665
818
|
]),
|
|
666
|
-
t("td",
|
|
667
|
-
|
|
819
|
+
t("td", Nn, [
|
|
820
|
+
G === 3 ? (o(), _(ue, {
|
|
668
821
|
key: 0,
|
|
669
|
-
modelValue: e(
|
|
670
|
-
"onUpdate:modelValue": (
|
|
822
|
+
modelValue: e(b)[`${r}.${T}.${h}`],
|
|
823
|
+
"onUpdate:modelValue": (q) => e(b)[`${r}.${T}.${h}`] = q,
|
|
671
824
|
small: !0,
|
|
672
825
|
"min-value": 0
|
|
673
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(),
|
|
826
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), _(Lt, {
|
|
674
827
|
key: 1,
|
|
675
|
-
modelValue: e(
|
|
676
|
-
"onUpdate:modelValue": (
|
|
828
|
+
modelValue: e(b)[`${r}.${T}.${h}`],
|
|
829
|
+
"onUpdate:modelValue": (q) => e(b)[`${r}.${T}.${h}`] = q,
|
|
677
830
|
numeric: !0
|
|
678
831
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
679
832
|
]),
|
|
680
|
-
t("td",
|
|
681
|
-
t("span", null,
|
|
833
|
+
t("td", Tn, [
|
|
834
|
+
t("span", null, a(e(K)(e(He)(T, r, h), e(ie))), 1)
|
|
682
835
|
])
|
|
683
836
|
]))), 128))
|
|
684
837
|
]),
|
|
685
838
|
t("tfoot", null, [
|
|
686
839
|
t("tr", null, [
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
t("td",
|
|
840
|
+
c[10] || (c[10] = t("td", null, null, -1)),
|
|
841
|
+
c[11] || (c[11] = t("td", null, null, -1)),
|
|
842
|
+
t("td", Bn, [
|
|
690
843
|
t("u", null, [
|
|
691
|
-
t("span", null,
|
|
844
|
+
t("span", null, a(e(K)(e(Ye)(r, h), e(ie))), 1)
|
|
692
845
|
])
|
|
693
846
|
])
|
|
694
847
|
])
|
|
695
848
|
])
|
|
696
849
|
])
|
|
697
850
|
]))), 128))
|
|
698
|
-
])) :
|
|
699
|
-
e(
|
|
851
|
+
])) : p("", !0),
|
|
852
|
+
e(Q) ? (o(), d("table", Sn, [
|
|
700
853
|
t("tbody", null, [
|
|
701
|
-
(o(!0), d(
|
|
702
|
-
t("td",
|
|
854
|
+
(o(!0), d(F, null, H(e(u).products, ({ id: r, name: S, price: C, description: h }) => (o(), d("tr", { key: r }, [
|
|
855
|
+
t("td", Cn, [
|
|
703
856
|
t("b", null, [
|
|
704
|
-
t("span", null,
|
|
857
|
+
t("span", null, a(e(Ve)(S)), 1)
|
|
705
858
|
]),
|
|
706
|
-
|
|
707
|
-
t("u", null,
|
|
859
|
+
h && h !== S ? (o(), d("span", Fn, a(e(Ve)(h)), 1)) : p("", !0),
|
|
860
|
+
t("u", null, a(e(K)(C, e(ie))), 1)
|
|
708
861
|
]),
|
|
709
|
-
t("td",
|
|
710
|
-
v(
|
|
711
|
-
modelValue: e(
|
|
712
|
-
"onUpdate:modelValue": (
|
|
862
|
+
t("td", In, [
|
|
863
|
+
v(ue, {
|
|
864
|
+
modelValue: e(f)[r],
|
|
865
|
+
"onUpdate:modelValue": (T) => e(f)[r] = T,
|
|
713
866
|
small: !0,
|
|
714
867
|
"min-value": 0
|
|
715
868
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
716
869
|
])
|
|
717
870
|
]))), 128))
|
|
718
871
|
])
|
|
719
|
-
])) :
|
|
872
|
+
])) : p("", !0)
|
|
720
873
|
])
|
|
721
874
|
]),
|
|
722
|
-
navigation:
|
|
723
|
-
v(
|
|
875
|
+
navigation: m(() => [
|
|
876
|
+
v(ce, {
|
|
724
877
|
label: e(n)("event.startReservation"),
|
|
725
|
-
disabled: !e(
|
|
878
|
+
disabled: !e(se),
|
|
726
879
|
"full-width": "",
|
|
727
|
-
onClickEvent:
|
|
880
|
+
onClickEvent: B
|
|
728
881
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
729
882
|
]),
|
|
730
883
|
_: 2
|
|
731
|
-
}, 1032, ["prev-callback"])) :
|
|
884
|
+
}, 1032, ["prev-callback"])) : p("", !0)
|
|
732
885
|
]),
|
|
733
|
-
reservation:
|
|
734
|
-
v(
|
|
886
|
+
reservation: m(({ next: B, prev: O }) => [
|
|
887
|
+
v(De, {
|
|
735
888
|
"show-terms-notice": !0,
|
|
736
889
|
"show-gift-card": !0,
|
|
737
|
-
"prev-callback": () => e(
|
|
890
|
+
"prev-callback": () => e(Ee)(O)
|
|
738
891
|
}, {
|
|
739
|
-
form:
|
|
740
|
-
t("form",
|
|
892
|
+
form: m(() => [
|
|
893
|
+
t("form", Ln, [
|
|
741
894
|
t("h2", null, [
|
|
742
|
-
t("span", null,
|
|
895
|
+
t("span", null, a(e(n)("booking.reservation.detailsTitle")), 1)
|
|
743
896
|
]),
|
|
744
|
-
v(
|
|
897
|
+
v(re, {
|
|
745
898
|
modelValue: e(k),
|
|
746
|
-
"onUpdate:modelValue":
|
|
899
|
+
"onUpdate:modelValue": c[0] || (c[0] = (r) => M(k) ? k.value = r : null),
|
|
747
900
|
type: "text",
|
|
748
901
|
label: e(n)("booking.reservation.name"),
|
|
749
902
|
icon: "user-alt",
|
|
750
903
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
751
904
|
required: ""
|
|
752
905
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
753
|
-
v(
|
|
906
|
+
v(re, {
|
|
754
907
|
modelValue: e(y),
|
|
755
|
-
"onUpdate:modelValue":
|
|
908
|
+
"onUpdate:modelValue": c[1] || (c[1] = (r) => M(y) ? y.value = r : null),
|
|
756
909
|
label: e(n)("booking.reservation.email"),
|
|
757
910
|
type: "email",
|
|
758
911
|
name: "email",
|
|
@@ -761,42 +914,42 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
761
914
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
762
915
|
required: ""
|
|
763
916
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
764
|
-
v(
|
|
765
|
-
modelValue: e(
|
|
766
|
-
"onUpdate:modelValue":
|
|
917
|
+
v(At, {
|
|
918
|
+
modelValue: e(E),
|
|
919
|
+
"onUpdate:modelValue": c[2] || (c[2] = (r) => M(E) ? E.value = r : null),
|
|
767
920
|
label: e(n)("booking.reservation.phone"),
|
|
768
921
|
icon: "phone-office",
|
|
769
922
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
770
923
|
required: ""
|
|
771
924
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
772
|
-
e(
|
|
925
|
+
e(J) ? (o(), _(Vt, {
|
|
773
926
|
key: 0,
|
|
774
|
-
modelValue: e(
|
|
775
|
-
"onUpdate:modelValue":
|
|
927
|
+
modelValue: e(D),
|
|
928
|
+
"onUpdate:modelValue": c[3] || (c[3] = (r) => M(D) ? D.value = r : null),
|
|
776
929
|
label: e(n)("event.selectArrivalTime"),
|
|
777
930
|
name: "eventTimeTable",
|
|
778
|
-
checkboxes:
|
|
931
|
+
checkboxes: Qe.value,
|
|
779
932
|
required: ""
|
|
780
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) :
|
|
781
|
-
e(
|
|
933
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])) : p("", !0),
|
|
934
|
+
e(me) === e(bt).FullDayEvent ? (o(), _(ue, {
|
|
782
935
|
key: 1,
|
|
783
|
-
modelValue: e(
|
|
784
|
-
"onUpdate:modelValue":
|
|
936
|
+
modelValue: e(i),
|
|
937
|
+
"onUpdate:modelValue": c[4] || (c[4] = (r) => M(i) ? i.value = r : null),
|
|
785
938
|
label: e(n)("event.numberOfDays"),
|
|
786
939
|
"min-value": 1,
|
|
787
940
|
required: ""
|
|
788
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
789
|
-
v(
|
|
790
|
-
modelValue: e(
|
|
791
|
-
"onUpdate:modelValue":
|
|
941
|
+
}, null, 8, ["modelValue", "label"])) : p("", !0),
|
|
942
|
+
v(re, {
|
|
943
|
+
modelValue: e(s),
|
|
944
|
+
"onUpdate:modelValue": c[5] || (c[5] = (r) => M(s) ? s.value = r : null),
|
|
792
945
|
type: "textarea",
|
|
793
946
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
794
947
|
icon: "info-circle",
|
|
795
948
|
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
796
949
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
797
|
-
v(
|
|
798
|
-
modelValue: e(
|
|
799
|
-
"onUpdate:modelValue":
|
|
950
|
+
v(re, {
|
|
951
|
+
modelValue: e(V),
|
|
952
|
+
"onUpdate:modelValue": c[6] || (c[6] = (r) => M(V) ? V.value = r : null),
|
|
800
953
|
type: "textarea",
|
|
801
954
|
label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
|
|
802
955
|
icon: "allergies",
|
|
@@ -804,23 +957,23 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
804
957
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
805
958
|
])
|
|
806
959
|
]),
|
|
807
|
-
navigation:
|
|
808
|
-
v(
|
|
960
|
+
navigation: m(() => [
|
|
961
|
+
v(ce, {
|
|
809
962
|
label: e(n)("general.confirmReservation"),
|
|
810
963
|
"is-loading": e(R),
|
|
811
|
-
disabled: !e(
|
|
964
|
+
disabled: !e(le),
|
|
812
965
|
"full-width": "",
|
|
813
|
-
onClickEvent: (
|
|
966
|
+
onClickEvent: (r) => e(qe)(B)
|
|
814
967
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
815
968
|
]),
|
|
816
969
|
_: 2
|
|
817
970
|
}, 1032, ["prev-callback"])
|
|
818
971
|
]),
|
|
819
|
-
payment:
|
|
820
|
-
v(
|
|
972
|
+
payment: m(() => [
|
|
973
|
+
v(Rt)
|
|
821
974
|
]),
|
|
822
|
-
confirmation:
|
|
823
|
-
v(
|
|
975
|
+
confirmation: m(() => [
|
|
976
|
+
v(Ot, {
|
|
824
977
|
message: e(n)("event.confirmationMessage")
|
|
825
978
|
}, null, 8, ["message"])
|
|
826
979
|
]),
|
|
@@ -830,8 +983,8 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
830
983
|
_: 1
|
|
831
984
|
}, 8, ["access-token", "callback"])
|
|
832
985
|
]),
|
|
833
|
-
fallback:
|
|
834
|
-
v(
|
|
986
|
+
fallback: m(() => [
|
|
987
|
+
v(gn)
|
|
835
988
|
]),
|
|
836
989
|
_: 1
|
|
837
990
|
}))
|
|
@@ -839,8 +992,8 @@ const an = { class: "konnectio-event-listings" }, sn = ["innerHTML"], rn = { cla
|
|
|
839
992
|
_: 1
|
|
840
993
|
}, 8, ["styling"]));
|
|
841
994
|
}
|
|
842
|
-
}),
|
|
843
|
-
class
|
|
995
|
+
}), Ce = /* @__PURE__ */ x(An, [["__scopeId", "data-v-c3c580c9"]]), Rn = at(), Mn = it();
|
|
996
|
+
class Un extends HTMLElement {
|
|
844
997
|
vueApp;
|
|
845
998
|
constructor() {
|
|
846
999
|
super();
|
|
@@ -849,14 +1002,14 @@ class $n extends HTMLElement {
|
|
|
849
1002
|
this.vueApp.unmount();
|
|
850
1003
|
}
|
|
851
1004
|
connectedCallback() {
|
|
852
|
-
const
|
|
853
|
-
this.vueApp =
|
|
1005
|
+
const l = ot(Ce, this.attributes);
|
|
1006
|
+
this.vueApp = lt(Ce, l), this.vueApp.provide("emitter", Mn), this.vueApp.use(st), this.vueApp.use(Rn), this.vueApp.use(Nt), this.vueApp.use(ht), this.vueApp.use(Tt), this.vueApp.use(yt, { bootstrap: !0 });
|
|
854
1007
|
const n = document.createElement("div");
|
|
855
1008
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
856
1009
|
}
|
|
857
1010
|
}
|
|
858
|
-
window.customElements.define("konnectio-event",
|
|
1011
|
+
window.customElements.define("konnectio-event", Un);
|
|
859
1012
|
export {
|
|
860
|
-
|
|
1013
|
+
Un as default
|
|
861
1014
|
};
|
|
862
1015
|
//# sourceMappingURL=event.js.map
|