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