@konnectio/core 4.0.56-rc39 → 4.0.56-rc40
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-Cj7yAIiF.js → ActionField-CD5wWyTP.js} +10 -10
- package/dist/ActionField-CD5wWyTP.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B1NfPwnx.js → AvailabilitySkeleton-D9lVJ7Y4.js} +71 -69
- package/dist/AvailabilitySkeleton-D9lVJ7Y4.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js} +2692 -2638
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js.br +0 -0
- package/dist/{CheckoutWindow-Dj_a3rqK.js → CheckoutWindow-POqLB9M4.js} +33 -33
- package/dist/CheckoutWindow-POqLB9M4.js.br +0 -0
- package/dist/{ErrorMessage-B_o47rUW.js → ErrorMessage-DACtGUvq.js} +4 -4
- package/dist/ErrorMessage-DACtGUvq.js.br +0 -0
- package/dist/{EventAvailabilityForm-vxL1OmZL.js → EventAvailabilityForm-Dx4hfkc1.js} +36 -36
- package/dist/EventAvailabilityForm-Dx4hfkc1.js.br +0 -0
- package/dist/{Field-DC9mZy8_.js → Field-Nqc4wuqz.js} +8 -8
- package/dist/Field-Nqc4wuqz.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js} +3483 -3533
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js.br +0 -0
- package/dist/{TermsOfService-COGxWG3S.js → TermsOfService-D3ujvGpJ.js} +9 -9
- package/dist/TermsOfService-D3ujvGpJ.js.br +0 -0
- package/dist/_-BeIBHN5G.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CfxcWxuU.js +72 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CfxcWxuU.js.br +0 -0
- package/dist/{_commonjsHelpers-UWZO_9XV.js → _commonjsHelpers-BpcYSDvQ.js} +149 -148
- package/dist/_commonjsHelpers-BpcYSDvQ.js.br +0 -0
- package/dist/availability.js +57 -56
- package/dist/availability.js.br +0 -0
- package/dist/event.js +95 -95
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +43 -41
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +241 -331
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-BEp1vsXy.js +128 -0
- package/dist/giftCard-BEp1vsXy.js.br +0 -0
- package/dist/hotel.js +942 -938
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-a1QQfgj3.js → masonry.plugin-CnRH1tRE.js} +6 -6
- package/dist/masonry.plugin-CnRH1tRE.js.br +0 -0
- package/dist/navigation.js +3 -3
- package/dist/polyfill.js +10 -5
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +9 -9
- package/dist/ActionField-Cj7yAIiF.js.br +0 -0
- package/dist/AvailabilitySkeleton-B1NfPwnx.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js.br +0 -0
- package/dist/CheckoutWindow-Dj_a3rqK.js.br +0 -0
- package/dist/ErrorMessage-B_o47rUW.js.br +0 -0
- package/dist/EventAvailabilityForm-vxL1OmZL.js.br +0 -0
- package/dist/Field-DC9mZy8_.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js.br +0 -0
- package/dist/TermsOfService-COGxWG3S.js.br +0 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
- package/dist/masonry.plugin-a1QQfgj3.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { d as Y, r as Me,
|
|
2
|
-
import {
|
|
3
|
-
import { B as
|
|
4
|
-
import { u as j, E as
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
1
|
+
import { d as Y, r as Me, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Re, C as Ue, A as z, F as B, x as M, h as Fe, q as qe, S as ze, D as ge, i as he, p as Ge, j as He, k as je } from "./_commonjsHelpers-BpcYSDvQ.js";
|
|
2
|
+
import { h as ae, a as Ye, s as H, J as Ze, l as oe, C as me, K as Je, _ as se, j as De, A as pe, M as Ke, b as Ve, D as ke, N as ve, B as R, m as Qe, O as ye, P as We, T as ce, n as Xe, o as xe, p as et, q as tt, H as nt, t as ot } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js";
|
|
3
|
+
import { B as lt, R as at, L as Pe, S as st, M as it, C as rt, T as ut, V as ct, G as dt } from "./masonry.plugin-CnRH1tRE.js";
|
|
4
|
+
import { u as j, E as mt } from "./EventAvailabilityForm-Dx4hfkc1.js";
|
|
5
|
+
import { _ as pt } from "./_.vue_vue_type_style_index_0_lang-CfxcWxuU.js";
|
|
6
|
+
import { t as G, e as vt, g as _e, m as $e, a as we, b as Ee, c as ft, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js";
|
|
7
|
+
import { a as bt, P as gt, C as ht } from "./CheckoutWindow-POqLB9M4.js";
|
|
7
8
|
import "./navigation.js";
|
|
8
9
|
(function() {
|
|
9
10
|
try {
|
|
10
11
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
11
|
-
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "
|
|
12
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "b1500b51-770e-461f-accf-400b6d9f4148", c._sentryDebugIdIdentifier = "sentry-dbid-b1500b51-770e-461f-accf-400b6d9f4148");
|
|
12
13
|
} catch {
|
|
13
14
|
}
|
|
14
15
|
})();
|
|
@@ -32,9 +33,9 @@ function _t(c, n, i) {
|
|
|
32
33
|
});
|
|
33
34
|
let $, u;
|
|
34
35
|
_ > 0 ? ($ = G(n), u = G(c)) : ($ = G(c), u = G(n));
|
|
35
|
-
const v = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($),
|
|
36
|
+
const v = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), V = (k - C) / Te, P = i?.unit;
|
|
36
37
|
let s;
|
|
37
|
-
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" :
|
|
38
|
+
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : V < we ? s = "day" : V < Ee ? s = "month" : s = "year", s === "second") {
|
|
38
39
|
const g = v(k / 1e3);
|
|
39
40
|
return l.formatDistance("xSeconds", g, b);
|
|
40
41
|
} else if (s === "minute") {
|
|
@@ -44,13 +45,13 @@ function _t(c, n, i) {
|
|
|
44
45
|
const g = v(y / 60);
|
|
45
46
|
return l.formatDistance("xHours", g, b);
|
|
46
47
|
} else if (s === "day") {
|
|
47
|
-
const g = v(
|
|
48
|
+
const g = v(V / $e);
|
|
48
49
|
return l.formatDistance("xDays", g, b);
|
|
49
50
|
} else if (s === "month") {
|
|
50
|
-
const g = v(
|
|
51
|
+
const g = v(V / we);
|
|
51
52
|
return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
|
|
52
53
|
} else {
|
|
53
|
-
const g = v(
|
|
54
|
+
const g = v(V / Ee);
|
|
54
55
|
return l.formatDistance("xYears", g, b);
|
|
55
56
|
}
|
|
56
57
|
}
|
|
@@ -86,7 +87,7 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
86
87
|
getTemplateAvailability: u,
|
|
87
88
|
getEventAvailability: v,
|
|
88
89
|
isEventListingLoading: k
|
|
89
|
-
} = j(), y = Me(0), C = le(() => k(i.listingId)),
|
|
90
|
+
} = j(), y = Me(0), C = le(() => k(i.listingId)), V = () => {
|
|
90
91
|
y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : d({
|
|
91
92
|
type: "error",
|
|
92
93
|
message: n("alert.error.selectPeople")
|
|
@@ -97,14 +98,14 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
97
98
|
message: n("alert.error.selectPeople")
|
|
98
99
|
});
|
|
99
100
|
};
|
|
100
|
-
return (s, g) => (a(), T(
|
|
101
|
+
return (s, g) => (a(), T(lt, {
|
|
101
102
|
"listing-id": s.listingId,
|
|
102
103
|
gallery: s.gallery,
|
|
103
104
|
name: s.name,
|
|
104
105
|
description: s.description,
|
|
105
106
|
"prices-from": s.fromPrice,
|
|
106
107
|
"to-date": s.toDate,
|
|
107
|
-
layout: e(
|
|
108
|
+
layout: e(Je).Event
|
|
108
109
|
}, {
|
|
109
110
|
description: p(() => [
|
|
110
111
|
ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
|
|
@@ -118,7 +119,7 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
118
119
|
icon: "users",
|
|
119
120
|
"icon-type": "fas",
|
|
120
121
|
"icon-placement": "label",
|
|
121
|
-
description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(
|
|
122
|
+
description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(Ze)(e(n)("general.guests"))}` : void 0,
|
|
122
123
|
"min-value": s.type === "event" ? 0 : s.minimumPersonCount,
|
|
123
124
|
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
|
|
124
125
|
}, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
|
|
@@ -127,7 +128,7 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
127
128
|
label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
128
129
|
disabled: s.soldOut,
|
|
129
130
|
"is-loading": C.value,
|
|
130
|
-
onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() :
|
|
131
|
+
onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : V())
|
|
131
132
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
132
133
|
])
|
|
133
134
|
])
|
|
@@ -135,8 +136,8 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
135
136
|
_: 3
|
|
136
137
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
137
138
|
}
|
|
138
|
-
}), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-65571246"]]), Tt = ["innerHTML"],
|
|
139
|
-
const
|
|
139
|
+
}), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-65571246"]]), Tt = ["innerHTML"], Dt = { class: "konnectio-event-listing-information-new" };
|
|
140
|
+
const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-button" }, At = /* @__PURE__ */ Y({
|
|
140
141
|
__name: "Event",
|
|
141
142
|
props: {
|
|
142
143
|
name: {},
|
|
@@ -180,11 +181,11 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
180
181
|
description: p(() => [
|
|
181
182
|
l.description ? (a(), m("p", {
|
|
182
183
|
key: 0,
|
|
183
|
-
innerHTML: e(
|
|
184
|
+
innerHTML: e(De)(l.description)
|
|
184
185
|
}, null, 8, Tt)) : h("", !0),
|
|
185
|
-
t("ul",
|
|
186
|
+
t("ul", Dt, [
|
|
186
187
|
h("", !0),
|
|
187
|
-
t("li",
|
|
188
|
+
t("li", Vt, [
|
|
188
189
|
t("div", null, [
|
|
189
190
|
f(pe, {
|
|
190
191
|
icon: "calendar-clock",
|
|
@@ -202,7 +203,7 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
202
203
|
}),
|
|
203
204
|
t("span", null, o(e(i)("event.startAndEndTime")), 1)
|
|
204
205
|
]),
|
|
205
|
-
t("span", null, o(e(
|
|
206
|
+
t("span", null, o(e(Ke)(l.timeFrom, l.timeTo)), 1)
|
|
206
207
|
])
|
|
207
208
|
])
|
|
208
209
|
]),
|
|
@@ -248,7 +249,7 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
248
249
|
description: p(() => [
|
|
249
250
|
d.description ? (a(), m("p", {
|
|
250
251
|
key: 0,
|
|
251
|
-
innerHTML: e(
|
|
252
|
+
innerHTML: e(De)(d.description)
|
|
252
253
|
}, null, 8, Ot)) : h("", !0)
|
|
253
254
|
]),
|
|
254
255
|
_: 1
|
|
@@ -272,20 +273,20 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
272
273
|
fromDate: k,
|
|
273
274
|
tableBasePrice: y,
|
|
274
275
|
getTemplateData: C,
|
|
275
|
-
basePrice:
|
|
276
|
+
basePrice: V,
|
|
276
277
|
totalPrice: P,
|
|
277
278
|
weekendFee: s,
|
|
278
279
|
roomUpgrade: g,
|
|
279
280
|
discountCode: O
|
|
280
|
-
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(
|
|
281
|
-
return (S, x) => (a(), T(
|
|
281
|
+
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(Ve());
|
|
282
|
+
return (S, x) => (a(), T(at, {
|
|
282
283
|
"discount-code": e(O),
|
|
283
284
|
"onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
|
|
284
285
|
"validate-discount-code": e(ie),
|
|
285
286
|
"show-gift-card": S.showGiftCard,
|
|
286
287
|
"show-terms-notice": S.showTermsNotice,
|
|
287
288
|
"is-sidebar-loading": !e(d),
|
|
288
|
-
"base-price": e(
|
|
289
|
+
"base-price": e(V),
|
|
289
290
|
"total-price": e(P),
|
|
290
291
|
"weekend-fee": e(s),
|
|
291
292
|
"room-upgrade": e(g),
|
|
@@ -329,7 +330,7 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
329
330
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
330
331
|
t("b", null, o(e(R)(e(y), e(X))), 1)
|
|
331
332
|
])) : h("", !0),
|
|
332
|
-
e(C) ? (a(!0), m(B, { key: 1 },
|
|
333
|
+
e(C) ? (a(!0), m(B, { key: 1 }, z(e(C), ({ roomGroupId: F }, ee) => (a(), m("li", { key: F }, [
|
|
333
334
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
|
|
334
335
|
t("b", null, o(e(R)(e(W)(F, ee), e(X))), 1)
|
|
335
336
|
]))), 128)) : h("", !0)
|
|
@@ -348,28 +349,28 @@ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
348
349
|
} : void 0
|
|
349
350
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
|
|
350
351
|
}
|
|
351
|
-
}), Ft = { class: "event-skeleton" },
|
|
352
|
+
}), Ft = { class: "event-skeleton" }, qt = { class: "event-skeleton-content" }, zt = { class: "event-skeleton-sidebar" }, Gt = /* @__PURE__ */ Y({
|
|
352
353
|
__name: "EventSkeleton",
|
|
353
354
|
setup(c) {
|
|
354
355
|
return (n, i) => (a(), m("div", Ft, [
|
|
355
|
-
t("div",
|
|
356
|
+
t("div", qt, [
|
|
356
357
|
f(Pe)
|
|
357
358
|
]),
|
|
358
|
-
t("div",
|
|
359
|
+
t("div", zt, [
|
|
359
360
|
h("", !0),
|
|
360
|
-
f(
|
|
361
|
+
f(st)
|
|
361
362
|
])
|
|
362
363
|
]));
|
|
363
364
|
}
|
|
364
|
-
}), Ht = /* @__PURE__ */ se(Gt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-
|
|
365
|
+
}), Ht = /* @__PURE__ */ se(Gt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-af6f09ee"), c = c(), He(), c), jt = {
|
|
365
366
|
key: 0,
|
|
366
367
|
id: "fresh-booking-event-overview"
|
|
367
368
|
};
|
|
368
369
|
const Yt = { class: "fresh-booking-event-listings" };
|
|
369
|
-
const
|
|
370
|
+
const Zt = { class: "fresh-booking-event-listings" }, Jt = { class: "konnectio-panel" }, Kt = {
|
|
370
371
|
key: 1,
|
|
371
372
|
id: "fresh-booking-event-addons"
|
|
372
|
-
},
|
|
373
|
+
}, Qt = { class: "konnectio-table with-lines" }, Wt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Xt = { class: "konnectio-event-addons-price" }, xt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), en = { class: "konnectio-event-addons-input" }, tn = { class: "konnectio-event-addons-price" }, nn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), on = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), ln = { class: "konnectio-event-addons-price" }, an = { key: 2 };
|
|
373
374
|
const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class: "konnectio-table with-lines" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), dn = { class: "konnectio-event-addons-price" }, mn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), pn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), vn = { class: "konnectio-event-addons-input" }, fn = { class: "konnectio-event-addons-price" }, bn = ["onClick"], gn = { class: "konnectio-panel" }, hn = ["onClick"], kn = /* @__PURE__ */ Y({
|
|
374
375
|
name: "EventLayout",
|
|
375
376
|
__name: "Event",
|
|
@@ -391,7 +392,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
391
392
|
hasEvents: k,
|
|
392
393
|
hasTemplates: y,
|
|
393
394
|
getEvents: C,
|
|
394
|
-
getTemplates:
|
|
395
|
+
getTemplates: V,
|
|
395
396
|
getEventData: P,
|
|
396
397
|
getTemplateData: s,
|
|
397
398
|
getEventTableData: g,
|
|
@@ -402,14 +403,14 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
402
403
|
isTemplateEvent: S,
|
|
403
404
|
hasListingData: x,
|
|
404
405
|
isPaymentLoading: F
|
|
405
|
-
} = H(j()), { searchDate: ee } = H(
|
|
406
|
+
} = H(j()), { searchDate: ee } = H(Qe()), {
|
|
406
407
|
initialize: Ce,
|
|
407
408
|
fetchListings: Oe,
|
|
408
409
|
createBooking: Be,
|
|
409
410
|
localAddonPrice: fe,
|
|
410
411
|
totalAddonPrice: Se,
|
|
411
412
|
reset: be
|
|
412
|
-
} = j(), { currency:
|
|
413
|
+
} = j(), { currency: Z } = H(Ve()), Le = le(() => {
|
|
413
414
|
const L = [];
|
|
414
415
|
return g.value && g.value.forEach((w) => {
|
|
415
416
|
L.push({
|
|
@@ -418,84 +419,83 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
418
419
|
});
|
|
419
420
|
}), L;
|
|
420
421
|
});
|
|
421
|
-
return Fe(() => Ce()),
|
|
422
|
+
return Fe(() => Ce()), qe(ee, () => Oe()), (L, w) => (a(), T(Xe, { styling: L.styling }, {
|
|
422
423
|
default: p(() => [
|
|
423
|
-
(a(), T(
|
|
424
|
+
(a(), T(ze, null, {
|
|
424
425
|
default: p(() => [
|
|
425
|
-
f(
|
|
426
|
+
f(pt, {
|
|
426
427
|
id: "konnectio-event-module",
|
|
427
|
-
type: "none",
|
|
428
428
|
"access-token": L.accessToken
|
|
429
429
|
}, {
|
|
430
430
|
default: p(() => [
|
|
431
|
-
f(
|
|
432
|
-
availability: p(({ next:
|
|
431
|
+
f(it, null, {
|
|
432
|
+
availability: p(({ next: q }) => [
|
|
433
433
|
f(de, null, {
|
|
434
434
|
sidebar: p(() => [
|
|
435
|
-
f(
|
|
435
|
+
f(mt, { redirection: !1 })
|
|
436
436
|
]),
|
|
437
437
|
form: p(() => [
|
|
438
438
|
e(x) && e(ie) ? (a(), m("div", jt, [
|
|
439
439
|
e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
|
|
440
440
|
h("", !0),
|
|
441
441
|
t("ul", Yt, [
|
|
442
|
-
(a(!0), m(B, null,
|
|
442
|
+
(a(!0), m(B, null, z(e(C), ({
|
|
443
443
|
id: A,
|
|
444
444
|
days: r,
|
|
445
445
|
name: I,
|
|
446
446
|
timeFrom: N,
|
|
447
447
|
timeTo: E,
|
|
448
|
-
fromDate:
|
|
449
|
-
toDate:
|
|
450
|
-
tableGroupId:
|
|
448
|
+
fromDate: D,
|
|
449
|
+
toDate: J,
|
|
450
|
+
tableGroupId: K,
|
|
451
451
|
description: re,
|
|
452
452
|
soldOut: ue,
|
|
453
|
-
length:
|
|
453
|
+
length: Q,
|
|
454
454
|
images: Ie,
|
|
455
455
|
maxOnlineReservationLimit: Ne
|
|
456
456
|
}) => (a(), T(Ct, {
|
|
457
457
|
key: A,
|
|
458
458
|
type: "event",
|
|
459
459
|
"listing-id": A,
|
|
460
|
-
"table-group-id":
|
|
460
|
+
"table-group-id": K,
|
|
461
461
|
description: re,
|
|
462
462
|
name: I,
|
|
463
|
-
length:
|
|
463
|
+
length: Q,
|
|
464
464
|
gallery: Ie,
|
|
465
465
|
days: r,
|
|
466
|
-
"from-date":
|
|
467
|
-
"to-date":
|
|
466
|
+
"from-date": D,
|
|
467
|
+
"to-date": J,
|
|
468
468
|
"max-online-reservation-limit": Ne,
|
|
469
469
|
"time-from": N,
|
|
470
470
|
"time-to": E,
|
|
471
471
|
"sold-out": ue,
|
|
472
|
-
callback:
|
|
472
|
+
callback: q
|
|
473
473
|
}, 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", "callback"]))), 128))
|
|
474
474
|
])
|
|
475
475
|
], 64)) : h("", !0),
|
|
476
476
|
e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
|
|
477
477
|
h("", !0),
|
|
478
|
-
t("ul",
|
|
479
|
-
(a(!0), m(B, null,
|
|
478
|
+
t("ul", Zt, [
|
|
479
|
+
(a(!0), m(B, null, z(e(V), ({
|
|
480
480
|
id: A,
|
|
481
481
|
name: r,
|
|
482
482
|
fromDate: I,
|
|
483
483
|
toDate: N,
|
|
484
484
|
minimumPersonCount: E,
|
|
485
|
-
fromPrice:
|
|
486
|
-
description:
|
|
487
|
-
imageUrl:
|
|
485
|
+
fromPrice: D,
|
|
486
|
+
description: J,
|
|
487
|
+
imageUrl: K
|
|
488
488
|
}) => (a(), T(Bt, {
|
|
489
489
|
key: A,
|
|
490
490
|
"listing-id": A,
|
|
491
491
|
name: r,
|
|
492
|
-
image:
|
|
493
|
-
description:
|
|
492
|
+
image: K,
|
|
493
|
+
description: J,
|
|
494
494
|
"from-date": I,
|
|
495
495
|
"to-date": N,
|
|
496
496
|
"minimum-person-count": E,
|
|
497
|
-
fromPrice:
|
|
498
|
-
callback:
|
|
497
|
+
fromPrice: D,
|
|
498
|
+
callback: q
|
|
499
499
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
500
500
|
])
|
|
501
501
|
], 64)) : h("", !0)
|
|
@@ -504,10 +504,10 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
504
504
|
_: 2
|
|
505
505
|
}, 1024)
|
|
506
506
|
]),
|
|
507
|
-
addons: p(({ next:
|
|
507
|
+
addons: p(({ next: q, prev: A }) => [
|
|
508
508
|
e(X) ? (a(), T(de, { key: 0 }, {
|
|
509
509
|
form: p(() => [
|
|
510
|
-
t("form",
|
|
510
|
+
t("form", Jt, [
|
|
511
511
|
t("h2", null, [
|
|
512
512
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
513
513
|
]),
|
|
@@ -519,8 +519,8 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
519
519
|
"min-value": 1,
|
|
520
520
|
required: ""
|
|
521
521
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
522
|
-
e(s) && e(s).length > 0 ? (a(), m("ul",
|
|
523
|
-
(a(!0), m(B, null,
|
|
522
|
+
e(s) && e(s).length > 0 ? (a(), m("ul", Kt, [
|
|
523
|
+
(a(!0), m(B, null, z(e(s), ({
|
|
524
524
|
roomGroupId: r,
|
|
525
525
|
addons: I,
|
|
526
526
|
adultPerRoom: N
|
|
@@ -535,7 +535,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
535
535
|
}),
|
|
536
536
|
ge(" " + o(N) + ") ", 1)
|
|
537
537
|
]),
|
|
538
|
-
t("table",
|
|
538
|
+
t("table", Qt, [
|
|
539
539
|
t("thead", null, [
|
|
540
540
|
t("tr", null, [
|
|
541
541
|
t("th", null, [
|
|
@@ -548,34 +548,34 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
548
548
|
])
|
|
549
549
|
]),
|
|
550
550
|
t("tbody", null, [
|
|
551
|
-
(a(!0), m(B, null,
|
|
552
|
-
id:
|
|
553
|
-
cardinality:
|
|
554
|
-
name:
|
|
551
|
+
(a(!0), m(B, null, z(I, ({
|
|
552
|
+
id: D,
|
|
553
|
+
cardinality: J,
|
|
554
|
+
name: K,
|
|
555
555
|
price: re,
|
|
556
556
|
quantityStrategy: ue
|
|
557
|
-
}) => (a(), m("tr", { key:
|
|
557
|
+
}) => (a(), m("tr", { key: D }, [
|
|
558
558
|
t("td", null, [
|
|
559
|
-
t("b", null, o(
|
|
559
|
+
t("b", null, o(K), 1),
|
|
560
560
|
xt,
|
|
561
|
-
t("span", null, o(e(R)(re, e(
|
|
561
|
+
t("span", null, o(e(R)(re, e(Z))) + " " + o(e(We)(ue)), 1)
|
|
562
562
|
]),
|
|
563
563
|
t("td", en, [
|
|
564
|
-
|
|
564
|
+
J === 3 ? (a(), T(oe, {
|
|
565
565
|
key: 0,
|
|
566
|
-
modelValue: e(i)[`${r}.${
|
|
567
|
-
"onUpdate:modelValue": (
|
|
566
|
+
modelValue: e(i)[`${r}.${D}.${E}`],
|
|
567
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
|
|
568
568
|
small: !0,
|
|
569
569
|
"min-value": 0
|
|
570
570
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(bt, {
|
|
571
571
|
key: 1,
|
|
572
|
-
modelValue: e(i)[`${r}.${
|
|
573
|
-
"onUpdate:modelValue": (
|
|
572
|
+
modelValue: e(i)[`${r}.${D}.${E}`],
|
|
573
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
|
|
574
574
|
numeric: !0
|
|
575
575
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
576
576
|
]),
|
|
577
577
|
t("td", tn, [
|
|
578
|
-
t("span", null, o(e(R)(e(fe)(
|
|
578
|
+
t("span", null, o(e(R)(e(fe)(D, r, E), e(Z))), 1)
|
|
579
579
|
])
|
|
580
580
|
]))), 128))
|
|
581
581
|
]),
|
|
@@ -585,7 +585,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
585
585
|
on,
|
|
586
586
|
t("td", ln, [
|
|
587
587
|
t("u", null, [
|
|
588
|
-
t("span", null, o(e(R)(e(Se)(r, E), e(
|
|
588
|
+
t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
|
|
589
589
|
])
|
|
590
590
|
])
|
|
591
591
|
])
|
|
@@ -595,7 +595,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
595
595
|
])) : h("", !0),
|
|
596
596
|
e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", an, [
|
|
597
597
|
h("", !0),
|
|
598
|
-
f(
|
|
598
|
+
f(rt, {
|
|
599
599
|
modelValue: e(v),
|
|
600
600
|
"onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
|
|
601
601
|
label: e(n)("event.selectArrivalTime"),
|
|
@@ -621,7 +621,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
621
621
|
])
|
|
622
622
|
]),
|
|
623
623
|
t("tbody", null, [
|
|
624
|
-
(a(!0), m(B, null,
|
|
624
|
+
(a(!0), m(B, null, z(e(P).products, ({ productID: r, productName: I, price: N, description: E }) => (a(), m("tr", { key: r }, [
|
|
625
625
|
t("td", null, [
|
|
626
626
|
t("b", null, [
|
|
627
627
|
t("span", null, o(I), 1)
|
|
@@ -629,18 +629,18 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
629
629
|
mn,
|
|
630
630
|
t("span", null, o(E), 1),
|
|
631
631
|
pn,
|
|
632
|
-
t("span", null, o(e(R)(N, e(
|
|
632
|
+
t("span", null, o(e(R)(N, e(Z))), 1)
|
|
633
633
|
]),
|
|
634
634
|
t("td", vn, [
|
|
635
635
|
f(oe, {
|
|
636
636
|
modelValue: e(d)[r],
|
|
637
|
-
"onUpdate:modelValue": (
|
|
637
|
+
"onUpdate:modelValue": (D) => e(d)[r] = D,
|
|
638
638
|
small: !0,
|
|
639
639
|
"min-value": 0
|
|
640
640
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
641
641
|
]),
|
|
642
642
|
t("td", fn, [
|
|
643
|
-
t("span", null, o(e(R)(e(fe)(r), e(
|
|
643
|
+
t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
|
|
644
644
|
])
|
|
645
645
|
]))), 128))
|
|
646
646
|
])
|
|
@@ -652,7 +652,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
652
652
|
f(me, {
|
|
653
653
|
label: e(n)("general.startReservation"),
|
|
654
654
|
"full-width": "",
|
|
655
|
-
onClickEvent:
|
|
655
|
+
onClickEvent: q
|
|
656
656
|
}, null, 8, ["label", "onClickEvent"]),
|
|
657
657
|
t("button", {
|
|
658
658
|
class: "konnectio-abort-reservation link",
|
|
@@ -664,7 +664,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
664
664
|
_: 2
|
|
665
665
|
}, 1024)) : h("", !0)
|
|
666
666
|
]),
|
|
667
|
-
reservation: p(({ next:
|
|
667
|
+
reservation: p(({ next: q, prev: A }) => [
|
|
668
668
|
f(de, {
|
|
669
669
|
"show-terms-notice": !0,
|
|
670
670
|
"show-gift-card": !0
|
|
@@ -717,7 +717,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
717
717
|
label: e(n)("general.confirmReservation"),
|
|
718
718
|
"is-loading": e(F),
|
|
719
719
|
"full-width": "",
|
|
720
|
-
onClickEvent: (r) => e(Be)(
|
|
720
|
+
onClickEvent: (r) => e(Be)(q)
|
|
721
721
|
}, null, 8, ["label", "is-loading", "onClickEvent"]),
|
|
722
722
|
t("button", {
|
|
723
723
|
class: "konnectio-abort-reservation link",
|
|
@@ -733,7 +733,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
733
733
|
f(ht)
|
|
734
734
|
]),
|
|
735
735
|
confirmation: p(() => [
|
|
736
|
-
f(
|
|
736
|
+
f(ut, {
|
|
737
737
|
message: e(n)("event.confirmationMessage")
|
|
738
738
|
}, null, 8, ["message"])
|
|
739
739
|
]),
|
|
@@ -752,7 +752,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
752
752
|
_: 1
|
|
753
753
|
}, 8, ["styling"]));
|
|
754
754
|
}
|
|
755
|
-
}), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-
|
|
755
|
+
}), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-af6f09ee"]]), yn = xe(), _n = ot();
|
|
756
756
|
class $n extends HTMLElement {
|
|
757
757
|
vueApp;
|
|
758
758
|
constructor() {
|
|
@@ -775,7 +775,7 @@ class $n extends HTMLElement {
|
|
|
775
775
|
let v = this.attributes.getNamedItem(u)?.value;
|
|
776
776
|
b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
|
|
777
777
|
}
|
|
778
|
-
this.vueApp = je(te, _),
|
|
778
|
+
this.vueApp = je(te, _), et(this.vueApp), this.vueApp.provide("emitter", _n), this.vueApp.use(tt), this.vueApp.use(yn), this.vueApp.use(ct), this.vueApp.use(dt), this.vueApp.use(nt, { bootstrap: !0 });
|
|
779
779
|
const $ = document.createElement("div");
|
|
780
780
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
781
781
|
}
|
package/dist/event.js.br
CHANGED
|
Binary file
|