@konnectio/core 4.0.95 → 4.0.97
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-75ouujfn.js → ActionField-BcUUdKMe.js} +2 -2
- package/dist/ActionField-BcUUdKMe.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B2wU57Y_.js → AvailabilitySkeleton-CUR3mhRU.js} +5 -5
- package/dist/AvailabilitySkeleton-CUR3mhRU.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CtL7JgFy.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BqxgKClD.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BqxgKClD.js.br +0 -0
- package/dist/{CheckoutWindow-BW2LLOP1.js → CheckoutWindow-B2kEGnXa.js} +2 -2
- package/dist/CheckoutWindow-B2kEGnXa.js.br +0 -0
- package/dist/{ErrorMessage-BIOzUcZf.js → ErrorMessage-vM7YW1aI.js} +2 -2
- package/dist/ErrorMessage-vM7YW1aI.js.br +0 -0
- package/dist/{EventAvailabilityForm-JUmCQKin.js → EventAvailabilityForm-CyhWsirj.js} +3 -3
- package/dist/EventAvailabilityForm-CyhWsirj.js.br +0 -0
- package/dist/{Field-Btoh6D8R.js → Field-D3mb8C4M.js} +3 -3
- package/dist/Field-D3mb8C4M.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bc5WP2-j.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B3ZmJbU4.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DF6A5l_L.js → SelectField.vue_vue_type_style_index_0_lang-D_tPh6Yu.js} +1743 -1738
- package/dist/SelectField.vue_vue_type_style_index_0_lang-D_tPh6Yu.js.br +0 -0
- package/dist/{TermsOfService-CNi3QNyf.js → TermsOfService-BRgiWVJW.js} +3 -3
- package/dist/_-NorMriMQ.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-D6Jd6LKN.js → _.vue_vue_type_style_index_0_lang-BzbkZsF2.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/event.js +142 -142
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-ClY1nVIQ.js → giftCard-L-ivII7U.js} +2 -2
- package/dist/giftCard-L-ivII7U.js.br +0 -0
- package/dist/hotel.js +485 -482
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BPhhJrT1.js → masonry.plugin-Dgs5dYxk.js} +6 -6
- package/dist/masonry.plugin-Dgs5dYxk.js.br +0 -0
- package/dist/polyfill.js +91 -91
- package/dist/polyfill.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-75ouujfn.js.br +0 -0
- package/dist/AvailabilitySkeleton-B2wU57Y_.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CtL7JgFy.js.br +0 -0
- package/dist/CheckoutWindow-BW2LLOP1.js.br +0 -0
- package/dist/ErrorMessage-BIOzUcZf.js.br +0 -0
- package/dist/EventAvailabilityForm-JUmCQKin.js.br +0 -0
- package/dist/Field-Btoh6D8R.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DF6A5l_L.js.br +0 -0
- package/dist/_-DvjoqbLF.js +0 -5
- package/dist/giftCard-ClY1nVIQ.js.br +0 -0
- package/dist/masonry.plugin-BPhhJrT1.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as j, u as le, s as z, r as Je, c as J, a as l, b as
|
|
2
|
-
import { a as Ne, f as oe, l as st, s as U, d as ve, B as it, _ as ae, g as ke, I as fe, h as rt, i as be, j as H, u as _e, k as ut, m as De, T as te, O as dt, C as ct, n as mt, o as pt, p as vt } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { d as j, u as le, s as z, r as Je, c as J, a as l, b as P, w as m, v as ne, i as e, e as n, j as v, f, n as Ke, g as c, t as o, x as Xe, y as Ze, F as L, z as q, A as R, S as et, B as ye, k as tt, l as nt, m as ot, p as lt, q as at } from "./mitt-BvlSsOyy.js";
|
|
2
|
+
import { a as Ne, f as oe, l as st, s as U, d as ve, B as it, _ as ae, g as ke, I as fe, h as rt, i as be, j as H, u as _e, k as ut, m as De, T as te, O as dt, C as ct, n as mt, o as pt, p as vt } from "./SelectField.vue_vue_type_style_index_0_lang-D_tPh6Yu.js";
|
|
3
3
|
import { G as ft } from "./style-CYxgAqoT.js";
|
|
4
|
-
import { b as me, f as bt, a as gt, l as kt, m as ht, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
5
|
-
import { _ as yt } from "./_.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { B as _t, _ as Dt, R as Pt, L as Se, S as Et, M as Vt, C as $t, T as wt, V as Tt, a as Ot } from "./masonry.plugin-
|
|
7
|
-
import { C as Nt, P as St, a as Ft } from "./CheckoutWindow-
|
|
8
|
-
import { E as Mt } from "./EventAvailabilityForm-
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
4
|
+
import { b as me, f as bt, a as gt, l as kt, m as ht, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BqxgKClD.js";
|
|
5
|
+
import { _ as yt } from "./_.vue_vue_type_style_index_0_lang-BzbkZsF2.js";
|
|
6
|
+
import { B as _t, _ as Dt, R as Pt, L as Se, S as Et, M as Vt, C as $t, T as wt, V as Tt, a as Ot } from "./masonry.plugin-Dgs5dYxk.js";
|
|
7
|
+
import { C as Nt, P as St, a as Ft } from "./CheckoutWindow-B2kEGnXa.js";
|
|
8
|
+
import { E as Mt } from "./EventAvailabilityForm-CyhWsirj.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B3ZmJbU4.js";
|
|
10
10
|
const Pe = 6e4, Ee = 525600, Ve = 43200, $e = 1440, we = Symbol.for("constructDateFrom");
|
|
11
11
|
function Fe(s, t) {
|
|
12
12
|
return typeof s == "function" ? s(t) : s && typeof s == "object" && we in s ? s[we](t) : s instanceof Date ? new s.constructor(t) : new Date(t);
|
|
@@ -90,34 +90,34 @@ function qt(s) {
|
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
function Ht(s, t, a) {
|
|
93
|
-
const p = Lt(), b = a?.locale ?? p.locale ?? zt,
|
|
94
|
-
if (isNaN(
|
|
93
|
+
const p = Lt(), b = a?.locale ?? p.locale ?? zt, d = Gt(s, t);
|
|
94
|
+
if (isNaN(d))
|
|
95
95
|
throw new RangeError("Invalid time value");
|
|
96
96
|
const k = Object.assign({}, a, {
|
|
97
97
|
addSuffix: a?.addSuffix,
|
|
98
|
-
comparison:
|
|
99
|
-
}), [$,
|
|
98
|
+
comparison: d
|
|
99
|
+
}), [$, E] = Ct(
|
|
100
100
|
a?.in,
|
|
101
|
-
...
|
|
102
|
-
),
|
|
101
|
+
...d > 0 ? [t, s] : [s, t]
|
|
102
|
+
), V = qt(a?.roundingMethod ?? "round"), w = E.getTime() - $.getTime(), _ = w / Pe, h = Te(E) - Te($), T = (w - h) / Pe, M = a?.unit;
|
|
103
103
|
let g;
|
|
104
104
|
if (M ? g = M : _ < 1 ? g = "second" : _ < 60 ? g = "minute" : _ < $e ? g = "hour" : T < Ve ? g = "day" : T < Ee ? g = "month" : g = "year", g === "second") {
|
|
105
|
-
const i =
|
|
105
|
+
const i = V(w / 1e3);
|
|
106
106
|
return b.formatDistance("xSeconds", i, k);
|
|
107
107
|
} else if (g === "minute") {
|
|
108
|
-
const i =
|
|
108
|
+
const i = V(_);
|
|
109
109
|
return b.formatDistance("xMinutes", i, k);
|
|
110
110
|
} else if (g === "hour") {
|
|
111
|
-
const i =
|
|
111
|
+
const i = V(_ / 60);
|
|
112
112
|
return b.formatDistance("xHours", i, k);
|
|
113
113
|
} else if (g === "day") {
|
|
114
|
-
const i =
|
|
114
|
+
const i = V(T / $e);
|
|
115
115
|
return b.formatDistance("xDays", i, k);
|
|
116
116
|
} else if (g === "month") {
|
|
117
|
-
const i =
|
|
117
|
+
const i = V(T / Ve);
|
|
118
118
|
return i === 12 && M !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", i, k);
|
|
119
119
|
} else {
|
|
120
|
-
const i =
|
|
120
|
+
const i = V(T / Ee);
|
|
121
121
|
return b.formatDistance("xYears", i, k);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -147,12 +147,12 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
|
|
|
147
147
|
setup(s) {
|
|
148
148
|
const { t } = le(), a = s, { display: p } = Ne(), {
|
|
149
149
|
maxNumberOfPeople: b,
|
|
150
|
-
numberOfPeople:
|
|
150
|
+
numberOfPeople: d,
|
|
151
151
|
eventId: k,
|
|
152
152
|
currentEventDate: $,
|
|
153
|
-
tableGroupId:
|
|
153
|
+
tableGroupId: E
|
|
154
154
|
} = z(Y()), {
|
|
155
|
-
getTemplateAvailability:
|
|
155
|
+
getTemplateAvailability: V,
|
|
156
156
|
getEventAvailability: w,
|
|
157
157
|
isEventListingLoading: _
|
|
158
158
|
} = Y(), h = Je(0), T = J(() => _(a.listingId)), M = () => {
|
|
@@ -163,7 +163,7 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
|
|
|
163
163
|
});
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
|
-
k.value = a.listingId,
|
|
166
|
+
k.value = a.listingId, d.value = h.value, V(a.callback);
|
|
167
167
|
}, g = () => {
|
|
168
168
|
if (!a.useNumberOfProductsForPersons && (h.value === 0 || isNaN(h.value))) {
|
|
169
169
|
p({
|
|
@@ -172,9 +172,9 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
|
|
|
172
172
|
});
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
|
-
k.value = a.listingId,
|
|
175
|
+
k.value = a.listingId, E.value = a.tableGroupId, d.value = h.value, w(a.callback);
|
|
176
176
|
};
|
|
177
|
-
return (i, C) => (l(),
|
|
177
|
+
return (i, C) => (l(), P(_t, {
|
|
178
178
|
type: "event",
|
|
179
179
|
"listing-id": i.listingId,
|
|
180
180
|
gallery: i.gallery,
|
|
@@ -194,7 +194,7 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
|
|
|
194
194
|
{ "no-selectable-people": i.useNumberOfProductsForPersons }
|
|
195
195
|
])
|
|
196
196
|
}, [
|
|
197
|
-
i.useNumberOfProductsForPersons ? v("", !0) : (l(),
|
|
197
|
+
i.useNumberOfProductsForPersons ? v("", !0) : (l(), P(oe, {
|
|
198
198
|
key: 0,
|
|
199
199
|
modelValue: h.value,
|
|
200
200
|
"onUpdate:modelValue": C[0] || (C[0] = (A) => h.value = A),
|
|
@@ -249,29 +249,29 @@ const Qt = {
|
|
|
249
249
|
},
|
|
250
250
|
setup(s) {
|
|
251
251
|
const t = s, { t: a } = le(), { hideEventLength: p } = z(ke()), b = J(() => {
|
|
252
|
-
const
|
|
252
|
+
const d = t.length.split(":");
|
|
253
253
|
return Ht(
|
|
254
|
-
new Date(2e3, 0, 1, Number(
|
|
254
|
+
new Date(2e3, 0, 1, Number(d[0]), Number(d[1]), 0),
|
|
255
255
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
256
256
|
);
|
|
257
257
|
});
|
|
258
|
-
return (
|
|
259
|
-
"listing-id":
|
|
260
|
-
name:
|
|
261
|
-
description:
|
|
262
|
-
gallery:
|
|
263
|
-
"prices-from":
|
|
264
|
-
"table-group-id":
|
|
265
|
-
"max-guests":
|
|
266
|
-
"use-number-of-products-for-persons":
|
|
267
|
-
"to-date":
|
|
258
|
+
return (d, k) => (l(), P(Me, {
|
|
259
|
+
"listing-id": d.listingId,
|
|
260
|
+
name: d.name,
|
|
261
|
+
description: d.description,
|
|
262
|
+
gallery: d.gallery,
|
|
263
|
+
"prices-from": d.fromPrice,
|
|
264
|
+
"table-group-id": d.tableGroupId,
|
|
265
|
+
"max-guests": d.maxOnlineReservationLimit,
|
|
266
|
+
"use-number-of-products-for-persons": d.useNumberOfProductsForPersons,
|
|
267
|
+
"to-date": d.toDate,
|
|
268
268
|
type: "event",
|
|
269
|
-
callback:
|
|
269
|
+
callback: d.callback
|
|
270
270
|
}, {
|
|
271
271
|
description: m(() => [
|
|
272
|
-
|
|
272
|
+
d.description ? (l(), P(Dt, {
|
|
273
273
|
key: 0,
|
|
274
|
-
text:
|
|
274
|
+
text: d.description
|
|
275
275
|
}, null, 8, ["text"])) : v("", !0),
|
|
276
276
|
n("ul", Wt, [
|
|
277
277
|
v("", !0),
|
|
@@ -293,7 +293,7 @@ const Qt = {
|
|
|
293
293
|
}),
|
|
294
294
|
n("span", null, o(e(a)("event.startAndEndTime")), 1)
|
|
295
295
|
]),
|
|
296
|
-
n("span", null, o(e(rt)(
|
|
296
|
+
n("span", null, o(e(rt)(d.timeFrom, d.timeTo)), 1)
|
|
297
297
|
])
|
|
298
298
|
])
|
|
299
299
|
]),
|
|
@@ -326,7 +326,7 @@ const Qt = {
|
|
|
326
326
|
url: t.image
|
|
327
327
|
}];
|
|
328
328
|
});
|
|
329
|
-
return (p, b) => (l(),
|
|
329
|
+
return (p, b) => (l(), P(Me, {
|
|
330
330
|
"listing-id": p.listingId,
|
|
331
331
|
gallery: a.value,
|
|
332
332
|
name: p.name,
|
|
@@ -348,11 +348,11 @@ const Qt = {
|
|
|
348
348
|
const { t } = le(), a = Xe(), {
|
|
349
349
|
areListingsAvailable: p,
|
|
350
350
|
arrivalTime: b,
|
|
351
|
-
numberOfPeople:
|
|
351
|
+
numberOfPeople: d,
|
|
352
352
|
numberOfRooms: k,
|
|
353
353
|
numberOfTotalDays: $,
|
|
354
|
-
isTemplateEvent:
|
|
355
|
-
currentEventDate:
|
|
354
|
+
isTemplateEvent: E,
|
|
355
|
+
currentEventDate: V,
|
|
356
356
|
length: w,
|
|
357
357
|
fromDate: _,
|
|
358
358
|
tableBasePrice: h,
|
|
@@ -363,7 +363,7 @@ const Qt = {
|
|
|
363
363
|
roomUpgrade: C,
|
|
364
364
|
discountCode: A
|
|
365
365
|
} = z(Y()), { totalAddonPrice: se, validateDiscountCode: ie } = Y(), { currency: K, hideEventLength: re } = z(ke());
|
|
366
|
-
return (I, X) => (l(),
|
|
366
|
+
return (I, X) => (l(), P(Pt, {
|
|
367
367
|
"discount-code": e(A),
|
|
368
368
|
"onUpdate:discountCode": X[0] || (X[0] = (G) => R(A) ? A.value = G : null),
|
|
369
369
|
"validate-discount-code": e(ie),
|
|
@@ -381,15 +381,15 @@ const Qt = {
|
|
|
381
381
|
ne(I.$slots, "form")
|
|
382
382
|
]),
|
|
383
383
|
"reservation-summary": m(() => [
|
|
384
|
-
e(
|
|
384
|
+
e(E) ? v("", !0) : (l(), c("li", Zt, [
|
|
385
385
|
n("span", null, o(e(t)("general.date")), 1),
|
|
386
|
-
n("b", null, o(e(U)(e(
|
|
386
|
+
n("b", null, o(e(U)(e(V))), 1)
|
|
387
387
|
])),
|
|
388
|
-
e(
|
|
388
|
+
e(d) > 0 ? (l(), c("li", en, [
|
|
389
389
|
n("span", null, o(e(t)("event.numberOfGuests")), 1),
|
|
390
|
-
n("b", null, o(e(
|
|
390
|
+
n("b", null, o(e(d)), 1)
|
|
391
391
|
])) : v("", !0),
|
|
392
|
-
e(
|
|
392
|
+
e(E) ? (l(), c(L, { key: 2 }, [
|
|
393
393
|
n("li", null, [
|
|
394
394
|
n("span", null, o(e(t)("booking.reservation.arrival")), 1),
|
|
395
395
|
n("b", null, o(e(U)(e(_))), 1)
|
|
@@ -407,17 +407,17 @@ const Qt = {
|
|
|
407
407
|
n("b", null, o(e($)), 1)
|
|
408
408
|
])
|
|
409
409
|
], 64)) : v("", !0),
|
|
410
|
-
!e(
|
|
410
|
+
!e(E) && e(b) ? (l(), c("li", tn, [
|
|
411
411
|
n("span", null, o(e(t)("event.startOfEvent")), 1),
|
|
412
412
|
n("b", null, o(e(be)(e(b))), 1)
|
|
413
413
|
])) : v("", !0),
|
|
414
|
-
!e(
|
|
414
|
+
!e(E) && e(w) && !e(re) ? (l(), c("li", nn, [
|
|
415
415
|
n("span", null, o(e(t)("event.lengthOfEvent")), 1),
|
|
416
416
|
n("b", null, o(e(be)(e(w))), 1)
|
|
417
417
|
])) : v("", !0)
|
|
418
418
|
]),
|
|
419
419
|
"price-summary": m(() => [
|
|
420
|
-
!e(
|
|
420
|
+
!e(E) && e(h) > 0 ? (l(), c("li", on, [
|
|
421
421
|
n("span", null, o(e(t)("booking.availability.basePrice")), 1),
|
|
422
422
|
n("b", null, o(e(H)(e(h), e(K))), 1)
|
|
423
423
|
])) : v("", !0),
|
|
@@ -430,10 +430,10 @@ const Qt = {
|
|
|
430
430
|
ne(I.$slots, "navigation")
|
|
431
431
|
]),
|
|
432
432
|
"mobile-under-price": m(() => [
|
|
433
|
-
e(
|
|
433
|
+
e(E) ? (l(), c("div", ln, [
|
|
434
434
|
n("span", null, o(e(U)(e(_))) + " - " + o(e(U)(e(_), e($))), 1)
|
|
435
435
|
])) : (l(), c("div", an, [
|
|
436
|
-
n("span", null, o(e(U)(e(
|
|
436
|
+
n("span", null, o(e(U)(e(V))), 1)
|
|
437
437
|
]))
|
|
438
438
|
]),
|
|
439
439
|
_: 2
|
|
@@ -485,11 +485,11 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
485
485
|
addons: a,
|
|
486
486
|
products: p,
|
|
487
487
|
numberOfDays: b,
|
|
488
|
-
name:
|
|
488
|
+
name: d,
|
|
489
489
|
phone: k,
|
|
490
490
|
email: $,
|
|
491
|
-
remark:
|
|
492
|
-
allergies:
|
|
491
|
+
remark: E,
|
|
492
|
+
allergies: V,
|
|
493
493
|
arrivalTime: w,
|
|
494
494
|
hasEvents: _,
|
|
495
495
|
hasTemplates: h,
|
|
@@ -542,22 +542,22 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
542
542
|
icon: "calendar-check"
|
|
543
543
|
}
|
|
544
544
|
]), He = J(() => {
|
|
545
|
-
const
|
|
546
|
-
return C.value && C.value.forEach((
|
|
547
|
-
|
|
548
|
-
label: be(
|
|
549
|
-
value:
|
|
545
|
+
const D = [];
|
|
546
|
+
return C.value && C.value.forEach((u) => {
|
|
547
|
+
D.find((O) => O.value === u.time) || D.push({
|
|
548
|
+
label: be(u.time),
|
|
549
|
+
value: u.time
|
|
550
550
|
});
|
|
551
|
-
}),
|
|
551
|
+
}), D;
|
|
552
552
|
});
|
|
553
553
|
function Ye() {
|
|
554
|
-
const
|
|
554
|
+
const D = mt("history", {
|
|
555
555
|
removeNullishValues: !0
|
|
556
|
-
}),
|
|
557
|
-
if (
|
|
558
|
-
if (pt(
|
|
559
|
-
const
|
|
560
|
-
B >= y ? (Ce.value =
|
|
556
|
+
}), u = parseInt(D.rid), O = D.d, N = parseInt(D.eid);
|
|
557
|
+
if (O)
|
|
558
|
+
if (pt(O)) {
|
|
559
|
+
const F = new Date(O), B = F.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
560
|
+
B >= y ? (Ce.value = F, D.d = void 0) : ue({
|
|
561
561
|
message: t("alert.error.invalidDateRange"),
|
|
562
562
|
type: "error"
|
|
563
563
|
});
|
|
@@ -566,20 +566,20 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
566
566
|
message: t("alert.error.wrongDateFormat"),
|
|
567
567
|
type: "error"
|
|
568
568
|
});
|
|
569
|
-
isNaN(
|
|
569
|
+
isNaN(u) || (Le(u) ? Be.value = u : ue({
|
|
570
570
|
message: t("alert.error.hotelIdNotFound"),
|
|
571
571
|
type: "error"
|
|
572
572
|
}));
|
|
573
573
|
let r;
|
|
574
|
-
isNaN(
|
|
574
|
+
isNaN(N) || (r = N), Ie(r);
|
|
575
575
|
}
|
|
576
|
-
return (
|
|
576
|
+
return (D, u) => (l(), P(ct, { styling: D.styling }, {
|
|
577
577
|
default: m(() => [
|
|
578
|
-
(l(),
|
|
578
|
+
(l(), P(et, { onResolve: Ye }, {
|
|
579
579
|
default: m(() => [
|
|
580
580
|
f(yt, {
|
|
581
581
|
id: "konnectio-event-module",
|
|
582
|
-
"access-token":
|
|
582
|
+
"access-token": D.accessToken,
|
|
583
583
|
callback: e(Ae)
|
|
584
584
|
}, {
|
|
585
585
|
default: m(() => [
|
|
@@ -587,26 +587,26 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
587
587
|
steps: qe.value,
|
|
588
588
|
onReset: e(Ge)
|
|
589
589
|
}, {
|
|
590
|
-
availability: m(({ next:
|
|
590
|
+
availability: m(({ next: O }) => [
|
|
591
591
|
f(pe, null, {
|
|
592
592
|
sidebar: m(() => [
|
|
593
593
|
f(Mt, {
|
|
594
594
|
redirection: !1,
|
|
595
|
-
"selected-location": Number(
|
|
595
|
+
"selected-location": Number(D.selectedLocation)
|
|
596
596
|
}, null, 8, ["selected-location"])
|
|
597
597
|
]),
|
|
598
598
|
form: m(() => [
|
|
599
599
|
e(re) && e(ie) ? (l(), c("div", mn, [
|
|
600
|
-
e(_) &&
|
|
600
|
+
e(_) && D.onlyShow !== "templates" ? (l(), c(L, { key: 0 }, [
|
|
601
601
|
v("", !0),
|
|
602
602
|
n("ul", pn, [
|
|
603
603
|
(l(!0), c(L, null, q(e(T), ({
|
|
604
|
-
id:
|
|
604
|
+
id: N,
|
|
605
605
|
days: r,
|
|
606
|
-
name:
|
|
606
|
+
name: F,
|
|
607
607
|
timeFrom: B,
|
|
608
608
|
timeTo: y,
|
|
609
|
-
fromDate:
|
|
609
|
+
fromDate: S,
|
|
610
610
|
toDate: W,
|
|
611
611
|
tableGroupId: Q,
|
|
612
612
|
description: de,
|
|
@@ -616,67 +616,67 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
616
616
|
maxOnlineReservationLimit: We,
|
|
617
617
|
maxPaxPerReservation: Qe,
|
|
618
618
|
useNumberOfProductsForPersons: xe
|
|
619
|
-
}) => (l(),
|
|
620
|
-
key:
|
|
619
|
+
}) => (l(), P(Kt, {
|
|
620
|
+
key: N,
|
|
621
621
|
type: "event",
|
|
622
|
-
"listing-id":
|
|
622
|
+
"listing-id": N,
|
|
623
623
|
"table-group-id": Q,
|
|
624
624
|
description: de,
|
|
625
|
-
name:
|
|
625
|
+
name: F,
|
|
626
626
|
length: x,
|
|
627
627
|
gallery: je,
|
|
628
628
|
days: r,
|
|
629
|
-
"from-date":
|
|
629
|
+
"from-date": S,
|
|
630
630
|
"to-date": W,
|
|
631
631
|
"max-online-reservation-limit": Qe || We,
|
|
632
632
|
"time-from": B,
|
|
633
633
|
"time-to": y,
|
|
634
634
|
"sold-out": ce,
|
|
635
635
|
"use-number-of-products-for-persons": xe,
|
|
636
|
-
callback:
|
|
636
|
+
callback: O
|
|
637
637
|
}, 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))
|
|
638
638
|
])
|
|
639
639
|
], 64)) : v("", !0),
|
|
640
|
-
e(h) &&
|
|
640
|
+
e(h) && D.onlyShow !== "events" ? (l(), c(L, { key: 1 }, [
|
|
641
641
|
v("", !0),
|
|
642
642
|
n("ul", vn, [
|
|
643
643
|
(l(!0), c(L, null, q(e(M), ({
|
|
644
|
-
id:
|
|
644
|
+
id: N,
|
|
645
645
|
name: r,
|
|
646
|
-
fromDate:
|
|
646
|
+
fromDate: F,
|
|
647
647
|
toDate: B,
|
|
648
648
|
minimumPersonCount: y,
|
|
649
|
-
fromPrice:
|
|
649
|
+
fromPrice: S,
|
|
650
650
|
description: W,
|
|
651
651
|
imageUrl: Q
|
|
652
|
-
}) => (l(),
|
|
653
|
-
key:
|
|
654
|
-
"listing-id":
|
|
652
|
+
}) => (l(), P(Xt, {
|
|
653
|
+
key: N,
|
|
654
|
+
"listing-id": N,
|
|
655
655
|
name: r,
|
|
656
656
|
image: Q,
|
|
657
657
|
description: W,
|
|
658
|
-
"from-date":
|
|
658
|
+
"from-date": F,
|
|
659
659
|
"to-date": B,
|
|
660
660
|
"minimum-person-count": y,
|
|
661
|
-
fromPrice:
|
|
662
|
-
callback:
|
|
661
|
+
fromPrice: S,
|
|
662
|
+
callback: O
|
|
663
663
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
664
664
|
])
|
|
665
665
|
], 64)) : v("", !0),
|
|
666
|
-
!e(_) && !e(h) || !e(_) &&
|
|
666
|
+
!e(_) && !e(h) || !e(_) && D.onlyShow === "events" || !e(h) && D.onlyShow === "templates" ? (l(), c("div", {
|
|
667
667
|
key: 2,
|
|
668
668
|
class: "konnectio-panel",
|
|
669
669
|
innerHTML: e(t)("event.nothingAvailable")
|
|
670
670
|
}, null, 8, fn)) : v("", !0)
|
|
671
|
-
])) : (l(),
|
|
671
|
+
])) : (l(), P(Se, { key: 1 }))
|
|
672
672
|
]),
|
|
673
673
|
_: 2
|
|
674
674
|
}, 1024)
|
|
675
675
|
]),
|
|
676
|
-
addons: m(({ next:
|
|
677
|
-
e(K) ? (l(),
|
|
676
|
+
addons: m(({ next: O, prev: N }) => [
|
|
677
|
+
e(K) ? (l(), P(pe, {
|
|
678
678
|
key: 0,
|
|
679
|
-
"prev-callback": () => e(he)(
|
|
679
|
+
"prev-callback": () => e(he)(N)
|
|
680
680
|
}, {
|
|
681
681
|
form: m(() => [
|
|
682
682
|
n("form", bn, [
|
|
@@ -686,12 +686,12 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
686
686
|
e(i) && e(i).length > 0 ? (l(), c("ul", gn, [
|
|
687
687
|
(l(!0), c(L, null, q(e(i), ({
|
|
688
688
|
roomGroupId: r,
|
|
689
|
-
addons:
|
|
689
|
+
addons: F,
|
|
690
690
|
adultPerRoom: B
|
|
691
691
|
}, y) => (l(), c("li", { key: r }, [
|
|
692
692
|
n("h5", null, [
|
|
693
693
|
n("span", null, o(e(t)("booking.reservation.room")) + " #" + o(y + 1), 1),
|
|
694
|
-
|
|
694
|
+
u[7] || (u[7] = ye(" (")),
|
|
695
695
|
f(fe, {
|
|
696
696
|
icon: "male",
|
|
697
697
|
type: "fas",
|
|
@@ -705,48 +705,48 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
705
705
|
n("th", null, [
|
|
706
706
|
n("span", null, o(e(t)("booking.reservation.addons")), 1)
|
|
707
707
|
]),
|
|
708
|
-
|
|
708
|
+
u[8] || (u[8] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
709
709
|
n("th", hn, [
|
|
710
710
|
n("span", null, o(e(t)("booking.availability.price")), 1)
|
|
711
711
|
])
|
|
712
712
|
])
|
|
713
713
|
]),
|
|
714
714
|
n("tbody", null, [
|
|
715
|
-
(l(!0), c(L, null, q(
|
|
716
|
-
id:
|
|
715
|
+
(l(!0), c(L, null, q(F, ({
|
|
716
|
+
id: S,
|
|
717
717
|
cardinality: W,
|
|
718
718
|
name: Q,
|
|
719
719
|
price: de,
|
|
720
720
|
quantityStrategy: ce
|
|
721
|
-
}) => (l(), c("tr", { key:
|
|
721
|
+
}) => (l(), c("tr", { key: S }, [
|
|
722
722
|
n("td", null, [
|
|
723
723
|
n("b", null, o(Q), 1),
|
|
724
|
-
|
|
724
|
+
u[9] || (u[9] = n("br", null, null, -1)),
|
|
725
725
|
n("span", null, o(e(H)(de, e(ee))) + " " + o(e(ut)(ce)), 1)
|
|
726
726
|
]),
|
|
727
727
|
n("td", yn, [
|
|
728
|
-
W === 3 ? (l(),
|
|
728
|
+
W === 3 ? (l(), P(oe, {
|
|
729
729
|
key: 0,
|
|
730
|
-
modelValue: e(a)[`${r}.${
|
|
731
|
-
"onUpdate:modelValue": (x) => e(a)[`${r}.${
|
|
730
|
+
modelValue: e(a)[`${r}.${S}.${y}`],
|
|
731
|
+
"onUpdate:modelValue": (x) => e(a)[`${r}.${S}.${y}`] = x,
|
|
732
732
|
small: !0,
|
|
733
733
|
"min-value": 0
|
|
734
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(),
|
|
734
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), P(Nt, {
|
|
735
735
|
key: 1,
|
|
736
|
-
modelValue: e(a)[`${r}.${
|
|
737
|
-
"onUpdate:modelValue": (x) => e(a)[`${r}.${
|
|
736
|
+
modelValue: e(a)[`${r}.${S}.${y}`],
|
|
737
|
+
"onUpdate:modelValue": (x) => e(a)[`${r}.${S}.${y}`] = x,
|
|
738
738
|
numeric: !0
|
|
739
739
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
740
740
|
]),
|
|
741
741
|
n("td", _n, [
|
|
742
|
-
n("span", null, o(e(H)(e(Ue)(
|
|
742
|
+
n("span", null, o(e(H)(e(Ue)(S, r, y), e(ee))), 1)
|
|
743
743
|
])
|
|
744
744
|
]))), 128))
|
|
745
745
|
]),
|
|
746
746
|
n("tfoot", null, [
|
|
747
747
|
n("tr", null, [
|
|
748
|
-
|
|
749
|
-
|
|
748
|
+
u[10] || (u[10] = n("td", null, null, -1)),
|
|
749
|
+
u[11] || (u[11] = n("td", null, null, -1)),
|
|
750
750
|
n("td", Dn, [
|
|
751
751
|
n("u", null, [
|
|
752
752
|
n("span", null, o(e(H)(e(ze)(r, y), e(ee))), 1)
|
|
@@ -759,18 +759,18 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
759
759
|
])) : v("", !0),
|
|
760
760
|
e(A) ? (l(), c("table", Pn, [
|
|
761
761
|
n("tbody", null, [
|
|
762
|
-
(l(!0), c(L, null, q(e(g).products, ({ id: r, name:
|
|
762
|
+
(l(!0), c(L, null, q(e(g).products, ({ id: r, name: F, price: B, description: y }) => (l(), c("tr", { key: r }, [
|
|
763
763
|
n("td", En, [
|
|
764
764
|
n("b", null, [
|
|
765
|
-
n("span", null, o(e(De)(
|
|
765
|
+
n("span", null, o(e(De)(F)), 1)
|
|
766
766
|
]),
|
|
767
|
-
y && y !==
|
|
767
|
+
y && y !== F ? (l(), c("span", Vn, o(e(De)(y)), 1)) : v("", !0),
|
|
768
768
|
n("span", null, o(e(H)(B, e(ee))), 1)
|
|
769
769
|
]),
|
|
770
770
|
n("td", $n, [
|
|
771
771
|
f(oe, {
|
|
772
772
|
modelValue: e(p)[r],
|
|
773
|
-
"onUpdate:modelValue": (
|
|
773
|
+
"onUpdate:modelValue": (S) => e(p)[r] = S,
|
|
774
774
|
small: !0,
|
|
775
775
|
"min-value": 0
|
|
776
776
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -785,17 +785,17 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
785
785
|
label: e(t)("event.startReservation"),
|
|
786
786
|
disabled: !e(Z),
|
|
787
787
|
"full-width": "",
|
|
788
|
-
onClickEvent:
|
|
788
|
+
onClickEvent: O
|
|
789
789
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
790
790
|
]),
|
|
791
791
|
_: 2
|
|
792
792
|
}, 1032, ["prev-callback"])) : v("", !0)
|
|
793
793
|
]),
|
|
794
|
-
reservation: m(({ next:
|
|
794
|
+
reservation: m(({ next: O, prev: N }) => [
|
|
795
795
|
f(pe, {
|
|
796
796
|
"show-terms-notice": !0,
|
|
797
797
|
"show-gift-card": !0,
|
|
798
|
-
"prev-callback": () => e(he)(
|
|
798
|
+
"prev-callback": () => e(he)(N)
|
|
799
799
|
}, {
|
|
800
800
|
form: m(() => [
|
|
801
801
|
n("form", wn, [
|
|
@@ -803,8 +803,8 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
803
803
|
n("span", null, o(e(t)("booking.reservation.detailsTitle")), 1)
|
|
804
804
|
]),
|
|
805
805
|
f(te, {
|
|
806
|
-
modelValue: e(
|
|
807
|
-
"onUpdate:modelValue":
|
|
806
|
+
modelValue: e(d),
|
|
807
|
+
"onUpdate:modelValue": u[0] || (u[0] = (r) => R(d) ? d.value = r : null),
|
|
808
808
|
type: "text",
|
|
809
809
|
label: e(t)("booking.reservation.name"),
|
|
810
810
|
icon: "user-alt",
|
|
@@ -813,7 +813,7 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
813
813
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
814
814
|
f(te, {
|
|
815
815
|
modelValue: e($),
|
|
816
|
-
"onUpdate:modelValue":
|
|
816
|
+
"onUpdate:modelValue": u[1] || (u[1] = (r) => R($) ? $.value = r : null),
|
|
817
817
|
label: e(t)("booking.reservation.email"),
|
|
818
818
|
type: "email",
|
|
819
819
|
name: "email",
|
|
@@ -824,40 +824,40 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
824
824
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
825
825
|
f(St, {
|
|
826
826
|
modelValue: e(k),
|
|
827
|
-
"onUpdate:modelValue":
|
|
827
|
+
"onUpdate:modelValue": u[2] || (u[2] = (r) => R(k) ? k.value = r : null),
|
|
828
828
|
label: e(t)("booking.reservation.phone"),
|
|
829
829
|
icon: "phone-office",
|
|
830
830
|
placeholder: e(t)("booking.reservation.phonePlaceholder"),
|
|
831
831
|
required: ""
|
|
832
832
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
833
|
-
e(G) ? (l(),
|
|
833
|
+
e(G) ? (l(), P($t, {
|
|
834
834
|
key: 0,
|
|
835
835
|
modelValue: e(w),
|
|
836
|
-
"onUpdate:modelValue":
|
|
836
|
+
"onUpdate:modelValue": u[3] || (u[3] = (r) => R(w) ? w.value = r : null),
|
|
837
837
|
label: e(t)("event.selectArrivalTime"),
|
|
838
838
|
name: "eventTimeTable",
|
|
839
839
|
checkboxes: He.value,
|
|
840
840
|
required: ""
|
|
841
841
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
|
|
842
|
-
e(se) === e(dt).FullDayEvent ? (l(),
|
|
842
|
+
e(se) === e(dt).FullDayEvent ? (l(), P(oe, {
|
|
843
843
|
key: 1,
|
|
844
844
|
modelValue: e(b),
|
|
845
|
-
"onUpdate:modelValue":
|
|
845
|
+
"onUpdate:modelValue": u[4] || (u[4] = (r) => R(b) ? b.value = r : null),
|
|
846
846
|
label: e(t)("event.numberOfDays"),
|
|
847
847
|
"min-value": 1,
|
|
848
848
|
required: ""
|
|
849
849
|
}, null, 8, ["modelValue", "label"])) : v("", !0),
|
|
850
850
|
f(te, {
|
|
851
|
-
modelValue: e(
|
|
852
|
-
"onUpdate:modelValue":
|
|
851
|
+
modelValue: e(E),
|
|
852
|
+
"onUpdate:modelValue": u[5] || (u[5] = (r) => R(E) ? E.value = r : null),
|
|
853
853
|
type: "textarea",
|
|
854
854
|
label: `${e(t)("booking.reservation.remark")} (${e(t)("booking.reservation.optional")})`,
|
|
855
855
|
icon: "info-circle",
|
|
856
856
|
placeholder: e(t)("booking.reservation.remarkPlaceholder")
|
|
857
857
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
858
858
|
f(te, {
|
|
859
|
-
modelValue: e(
|
|
860
|
-
"onUpdate:modelValue":
|
|
859
|
+
modelValue: e(V),
|
|
860
|
+
"onUpdate:modelValue": u[6] || (u[6] = (r) => R(V) ? V.value = r : null),
|
|
861
861
|
type: "textarea",
|
|
862
862
|
label: `${e(t)("booking.reservation.allergies")} (${e(t)("booking.reservation.optional")})`,
|
|
863
863
|
icon: "allergies",
|
|
@@ -871,7 +871,7 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
871
871
|
"is-loading": e(I),
|
|
872
872
|
disabled: !e(X),
|
|
873
873
|
"full-width": "",
|
|
874
|
-
onClickEvent: (r) => e(Re)(
|
|
874
|
+
onClickEvent: (r) => e(Re)(O)
|
|
875
875
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
876
876
|
]),
|
|
877
877
|
_: 2
|
|
@@ -900,7 +900,7 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
|
|
|
900
900
|
_: 1
|
|
901
901
|
}, 8, ["styling"]));
|
|
902
902
|
}
|
|
903
|
-
}), Oe = /* @__PURE__ */ ae(Tn, [["__scopeId", "data-v-
|
|
903
|
+
}), Oe = /* @__PURE__ */ ae(Tn, [["__scopeId", "data-v-a173daaf"]]), On = tt(), Nn = at();
|
|
904
904
|
class Sn extends HTMLElement {
|
|
905
905
|
vueApp;
|
|
906
906
|
constructor() {
|