@konnectio/core 4.0.59 → 4.0.60
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-GHsNRSZm.js → ActionField-CVdLZg_F.js} +3 -3
- package/dist/ActionField-CVdLZg_F.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CyvafyOT.js → AvailabilitySkeleton-D8hRAFp-.js} +22 -23
- package/dist/AvailabilitySkeleton-D8hRAFp-.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js +8668 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js.br +0 -0
- package/dist/{CheckoutWindow-BqJ6ZsZD.js → CheckoutWindow-DUl3c-Tr.js} +40 -40
- package/dist/CheckoutWindow-DUl3c-Tr.js.br +0 -0
- package/dist/{ErrorMessage-144-POu6.js → ErrorMessage-Dt3tVome.js} +3 -3
- package/dist/ErrorMessage-Dt3tVome.js.br +0 -0
- package/dist/{EventAvailabilityForm-CJff-76Z.js → EventAvailabilityForm-DqV-7Yhd.js} +5 -5
- package/dist/EventAvailabilityForm-DqV-7Yhd.js.br +0 -0
- package/dist/{Field-BrI8toPe.js → Field-Bir0Q2Cn.js} +3 -3
- package/dist/Field-Bir0Q2Cn.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js} +148 -259
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js.br +0 -0
- package/dist/TermsOfService-Bi-4Y-Eu.js +36 -0
- package/dist/TermsOfService-Bi-4Y-Eu.js.br +0 -0
- package/dist/{_-CHRCWC6p.js → _-BaPwdDXA.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-BUoCnNZd.js → _.vue_vue_type_style_index_0_lang-9DUPh09R.js} +4 -4
- package/dist/_.vue_vue_type_style_index_0_lang-9DUPh09R.js.br +0 -0
- package/dist/{_commonjsHelpers-CYyxJoRf.js → _commonjsHelpers-4acPj2Ir.js} +2 -2
- package/dist/{_sentry-release-injection-file-CkMeg-D2.js → _sentry-release-injection-file-CSY2pTJK.js} +3458 -3488
- package/dist/_sentry-release-injection-file-CSY2pTJK.js.br +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +44 -43
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +29 -28
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +72 -71
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-DtBMjMxF.js → giftCard-DrbtM1MV.js} +4 -4
- package/dist/giftCard-DrbtM1MV.js.br +0 -0
- package/dist/hotel.js +23 -22
- package/dist/hotel.js.br +0 -0
- package/dist/masonry.plugin-CoSanVEe.js +10375 -0
- package/dist/masonry.plugin-CoSanVEe.js.br +0 -0
- package/dist/{mitt-Cbb-9RWx.js → mitt-Ciy52c7q.js} +92 -93
- package/dist/mitt-Ciy52c7q.js.br +0 -0
- package/dist/polyfill.js +568 -892
- package/dist/polyfill.js.br +0 -0
- package/dist/style-Bf1WJ5oD.js +2328 -0
- package/dist/style-Bf1WJ5oD.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-GHsNRSZm.js.br +0 -0
- package/dist/AvailabilitySkeleton-CyvafyOT.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js +0 -8658
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js.br +0 -0
- package/dist/CheckoutWindow-BqJ6ZsZD.js.br +0 -0
- package/dist/ErrorMessage-144-POu6.js.br +0 -0
- package/dist/EventAvailabilityForm-CJff-76Z.js.br +0 -0
- package/dist/Field-BrI8toPe.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js.br +0 -0
- package/dist/TermsOfService-DLQtIpLt.js +0 -36
- package/dist/TermsOfService-DLQtIpLt.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BUoCnNZd.js.br +0 -0
- package/dist/_sentry-release-injection-file-CkMeg-D2.js.br +0 -0
- package/dist/giftCard-DtBMjMxF.js.br +0 -0
- package/dist/masonry.plugin-Ch8U9Epf.js +0 -12782
- package/dist/masonry.plugin-Ch8U9Epf.js.br +0 -0
- package/dist/mitt-Cbb-9RWx.js.br +0 -0
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as E, r as I, c as v, o as S, a as u, b as m, w as b, S as T, e as t, f as h, g as N, n as _, h as g, t as L, u as A, F as z, i as w, T as B, p as D, j as M, k as P } from "./_sentry-release-injection-file-
|
|
2
|
-
import { u as F, c as H, i as V, m as j } from "./mitt-
|
|
3
|
-
import { u as O, C as $, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
4
|
-
import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { H as x, A as K } from "./AvailabilitySkeleton-
|
|
6
|
-
import { E as q } from "./EventAvailabilityForm-
|
|
7
|
-
import { E as G } from "./ErrorMessage-
|
|
1
|
+
import { d as E, r as I, c as v, o as S, a as u, b as m, w as b, S as T, e as t, f as h, g as N, n as _, h as g, t as L, u as A, F as z, i as w, T as B, p as D, j as M, k as P } from "./_sentry-release-injection-file-CSY2pTJK.js";
|
|
2
|
+
import { u as F, c as H, i as V, m as j } from "./mitt-Ciy52c7q.js";
|
|
3
|
+
import { u as O, C as $, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
|
|
4
|
+
import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
|
|
5
|
+
import { H as x, A as K } from "./AvailabilitySkeleton-D8hRAFp-.js";
|
|
6
|
+
import { E as q } from "./EventAvailabilityForm-DqV-7Yhd.js";
|
|
7
|
+
import { E as G } from "./ErrorMessage-Dt3tVome.js";
|
|
8
8
|
(function() {
|
|
9
9
|
try {
|
|
10
10
|
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/deep-link.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as u, r as f, o as m, a as h, g as b, e as v, t as y, l as k, k as A } from "./_sentry-release-injection-file-
|
|
2
|
-
import { c as g, i as w, m as _ } from "./mitt-
|
|
1
|
+
import { d as u, r as f, o as m, a as h, g as b, e as v, t as y, l as k, k as A } from "./_sentry-release-injection-file-CSY2pTJK.js";
|
|
2
|
+
import { c as g, i as w, m as _ } from "./mitt-Ciy52c7q.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
package/dist/deep-link.js.br
CHANGED
|
Binary file
|
package/dist/event.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f as g, g as d, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as U, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-
|
|
2
|
-
import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-
|
|
3
|
-
import { a as Ae, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Oe, I as ge, f as lt, g as fe, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as ct, m as dt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
4
|
-
import {
|
|
5
|
-
import { e as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { C as
|
|
8
|
-
import {
|
|
1
|
+
import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f as g, g as d, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as U, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-CSY2pTJK.js";
|
|
2
|
+
import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-Ciy52c7q.js";
|
|
3
|
+
import { a as Ae, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Oe, I as ge, f as lt, g as fe, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as ct, m as dt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
|
|
4
|
+
import { G as ut } from "./style-Bf1WJ5oD.js";
|
|
5
|
+
import { e as mt, c as pt, t as ee, g as Ve, m as De, a as Ee, b as Te, d as vt, f as Pe, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js";
|
|
6
|
+
import { _ as bt } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
|
|
7
|
+
import { B as gt, R as ft, L as Se, S as ht, M as kt, C as yt, T as _t, V as $t } from "./masonry.plugin-CoSanVEe.js";
|
|
8
|
+
import { C as wt, P as Vt, a as Dt } from "./CheckoutWindow-DUl3c-Tr.js";
|
|
9
|
+
import { E as Et } from "./EventAvailabilityForm-DqV-7Yhd.js";
|
|
9
10
|
(function() {
|
|
10
11
|
try {
|
|
11
12
|
var u = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
12
|
-
n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "
|
|
13
|
+
n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "6712057b-ad28-414e-8e31-6ed9cd78fc1d", u._sentryDebugIdIdentifier = "sentry-dbid-6712057b-ad28-414e-8e31-6ed9cd78fc1d");
|
|
13
14
|
} catch {
|
|
14
15
|
}
|
|
15
16
|
})();
|
|
@@ -20,7 +21,7 @@ function Tt(u) {
|
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
function Pt(u, n, r) {
|
|
23
|
-
const m =
|
|
24
|
+
const m = vt(), f = r?.locale ?? m.locale ?? mt, s = pt(u, n);
|
|
24
25
|
if (isNaN(s))
|
|
25
26
|
throw new RangeError("Invalid time value");
|
|
26
27
|
const b = Object.assign({}, r, {
|
|
@@ -29,7 +30,7 @@ function Pt(u, n, r) {
|
|
|
29
30
|
});
|
|
30
31
|
let $, c;
|
|
31
32
|
s > 0 ? ($ = ee(n), c = ee(u)) : ($ = ee(u), c = ee(n));
|
|
32
|
-
const h = Tt(r?.roundingMethod ?? "round"), y = c.getTime() - $.getTime(), E = y / Pe,
|
|
33
|
+
const h = Tt(r?.roundingMethod ?? "round"), y = c.getTime() - $.getTime(), E = y / Pe, w = Ve(c) - Ve($), P = (y - w) / Pe, I = r?.unit;
|
|
33
34
|
let _;
|
|
34
35
|
if (I ? _ = I : E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E < De ? _ = "hour" : P < Ee ? _ = "day" : P < Te ? _ = "month" : _ = "year", _ === "second") {
|
|
35
36
|
const i = h(y / 1e3);
|
|
@@ -84,18 +85,18 @@ const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio
|
|
|
84
85
|
getTemplateAvailability: h,
|
|
85
86
|
getEventAvailability: y,
|
|
86
87
|
isEventListingLoading: E
|
|
87
|
-
} = Y(),
|
|
88
|
-
|
|
88
|
+
} = Y(), w = Ye(0), P = ae(() => E(r.listingId)), I = () => {
|
|
89
|
+
w.value > 0 ? (b.value = r.listingId, s.value = w.value, h(r.callback)) : m({
|
|
89
90
|
type: "error",
|
|
90
91
|
message: n("alert.error.selectPeople")
|
|
91
92
|
});
|
|
92
93
|
}, _ = () => {
|
|
93
|
-
|
|
94
|
+
w.value > 0 ? (b.value = r.listingId, c.value = r.tableGroupId, s.value = w.value, y(r.callback)) : m({
|
|
94
95
|
type: "error",
|
|
95
96
|
message: n("alert.error.selectPeople")
|
|
96
97
|
});
|
|
97
98
|
};
|
|
98
|
-
return (i, L) => (l(), T(
|
|
99
|
+
return (i, L) => (l(), T(gt, {
|
|
99
100
|
type: "event",
|
|
100
101
|
"listing-id": i.listingId,
|
|
101
102
|
gallery: i.gallery,
|
|
@@ -111,8 +112,8 @@ const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio
|
|
|
111
112
|
action: p(() => [
|
|
112
113
|
t("div", At, [
|
|
113
114
|
g(oe, {
|
|
114
|
-
modelValue:
|
|
115
|
-
"onUpdate:modelValue": L[0] || (L[0] = (N) =>
|
|
115
|
+
modelValue: w.value,
|
|
116
|
+
"onUpdate:modelValue": L[0] || (L[0] = (N) => w.value = N),
|
|
116
117
|
label: e(n)("event.numberOfGuests"),
|
|
117
118
|
icon: "users",
|
|
118
119
|
"icon-type": "fas",
|
|
@@ -274,7 +275,7 @@ const Lt = {
|
|
|
274
275
|
currentEventDate: h,
|
|
275
276
|
length: y,
|
|
276
277
|
fromDate: E,
|
|
277
|
-
tableBasePrice:
|
|
278
|
+
tableBasePrice: w,
|
|
278
279
|
getTemplateData: P,
|
|
279
280
|
basePrice: I,
|
|
280
281
|
totalPrice: _,
|
|
@@ -282,7 +283,7 @@ const Lt = {
|
|
|
282
283
|
roomUpgrade: L,
|
|
283
284
|
discountCode: N
|
|
284
285
|
} = q(Y()), { totalAddonPrice: re, validateDiscountCode: ce } = Y(), { currency: K, hideEventLength: de } = q(he());
|
|
285
|
-
return (F, X) => (l(), T(
|
|
286
|
+
return (F, X) => (l(), T(ft, {
|
|
286
287
|
"discount-code": e(N),
|
|
287
288
|
"onUpdate:discountCode": X[0] || (X[0] = (H) => U(N) ? N.value = H : null),
|
|
288
289
|
"validate-discount-code": e(ce),
|
|
@@ -333,9 +334,9 @@ const Lt = {
|
|
|
333
334
|
])) : v("", !0)
|
|
334
335
|
]),
|
|
335
336
|
"price-summary": p(() => [
|
|
336
|
-
!e(c) && e(
|
|
337
|
+
!e(c) && e(w) > 0 ? (l(), d("li", Zt, [
|
|
337
338
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
338
|
-
t("b", null, o(e(G)(e(
|
|
339
|
+
t("b", null, o(e(G)(e(w), e(K))), 1)
|
|
339
340
|
])) : v("", !0),
|
|
340
341
|
e(P) ? (l(!0), d(R, { key: 1 }, j(e(P), ({ roomGroupId: H }, M) => (l(), d("li", { key: H }, [
|
|
341
342
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(M + 1), 1),
|
|
@@ -365,11 +366,11 @@ const Lt = {
|
|
|
365
366
|
]),
|
|
366
367
|
t("div", Jt, [
|
|
367
368
|
v("", !0),
|
|
368
|
-
g(
|
|
369
|
+
g(ht)
|
|
369
370
|
])
|
|
370
371
|
]));
|
|
371
372
|
}
|
|
372
|
-
}), Xt = /* @__PURE__ */ ie(Kt, [["__scopeId", "data-v-3e15c4e3"]]), z = (u) => (Je("data-v-
|
|
373
|
+
}), Xt = /* @__PURE__ */ ie(Kt, [["__scopeId", "data-v-3e15c4e3"]]), z = (u) => (Je("data-v-58c8f46a"), u = u(), Ke(), u), xt = {
|
|
373
374
|
key: 0,
|
|
374
375
|
id: "konnectio-event-listings-wrapper"
|
|
375
376
|
};
|
|
@@ -401,7 +402,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
401
402
|
allergies: h,
|
|
402
403
|
arrivalTime: y,
|
|
403
404
|
hasEvents: E,
|
|
404
|
-
hasTemplates:
|
|
405
|
+
hasTemplates: w,
|
|
405
406
|
getEvents: P,
|
|
406
407
|
getTemplates: I,
|
|
407
408
|
getEventData: _,
|
|
@@ -449,22 +450,22 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
449
450
|
icon: "calendar-check"
|
|
450
451
|
}
|
|
451
452
|
], Ge = ae(() => {
|
|
452
|
-
const
|
|
453
|
+
const V = [];
|
|
453
454
|
return L.value && L.value.forEach((k) => {
|
|
454
|
-
|
|
455
|
+
V.push({
|
|
455
456
|
label: fe(k.time),
|
|
456
457
|
value: k.time
|
|
457
458
|
});
|
|
458
|
-
}),
|
|
459
|
+
}), V;
|
|
459
460
|
});
|
|
460
461
|
function qe() {
|
|
461
|
-
const
|
|
462
|
+
const V = rt("hash-params", {
|
|
462
463
|
removeNullishValues: !0
|
|
463
|
-
}), k = parseInt(
|
|
464
|
+
}), k = parseInt(V.rid), S = V.d, A = parseInt(V.eid);
|
|
464
465
|
if (S)
|
|
465
466
|
if (ct(S)) {
|
|
466
467
|
const C = new Date(S), B = C.setHours(12, 0, 0, 0), D = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
467
|
-
B >= D ? (Ie.value = C,
|
|
468
|
+
B >= D ? (Ie.value = C, V.d = void 0) : ue({
|
|
468
469
|
message: n("alert.error.invalidDateRange"),
|
|
469
470
|
type: "error"
|
|
470
471
|
});
|
|
@@ -473,35 +474,35 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
473
474
|
message: n("alert.error.wrongDateFormat"),
|
|
474
475
|
type: "error"
|
|
475
476
|
});
|
|
476
|
-
isNaN(k) || (Be(k) ?
|
|
477
|
+
isNaN(k) || (Be(k) ? Le.value = k : ue({
|
|
477
478
|
message: n("alert.error.hotelIdNotFound"),
|
|
478
479
|
type: "error"
|
|
479
480
|
}));
|
|
480
481
|
let a;
|
|
481
482
|
isNaN(A) || (a = A), Me(a);
|
|
482
483
|
}
|
|
483
|
-
return (
|
|
484
|
+
return (V, k) => (l(), T(it, { styling: V.styling }, {
|
|
484
485
|
default: p(() => [
|
|
485
486
|
(l(), T(We, { onResolve: qe }, {
|
|
486
487
|
default: p(() => [
|
|
487
|
-
g(
|
|
488
|
+
g(bt, {
|
|
488
489
|
id: "konnectio-event-module",
|
|
489
|
-
"access-token":
|
|
490
|
+
"access-token": V.accessToken,
|
|
490
491
|
callback: e(Ne)
|
|
491
492
|
}, {
|
|
492
493
|
default: p(() => [
|
|
493
|
-
g(
|
|
494
|
+
g(kt, { steps: Fe }, {
|
|
494
495
|
availability: p(({ next: S }) => [
|
|
495
496
|
g(ve, null, {
|
|
496
497
|
sidebar: p(() => [
|
|
497
498
|
g(Et, {
|
|
498
499
|
redirection: !1,
|
|
499
|
-
"selected-location": Number(
|
|
500
|
+
"selected-location": Number(V.selectedLocation)
|
|
500
501
|
}, null, 8, ["selected-location"])
|
|
501
502
|
]),
|
|
502
503
|
form: p(() => [
|
|
503
504
|
e(de) && e(ce) ? (l(), d("div", xt, [
|
|
504
|
-
e(E) &&
|
|
505
|
+
e(E) && V.onlyShow !== "templates" ? (l(), d(R, { key: 0 }, [
|
|
505
506
|
v("", !0),
|
|
506
507
|
t("ul", en, [
|
|
507
508
|
(l(!0), d(R, null, j(e(P), ({
|
|
@@ -539,7 +540,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
539
540
|
}, 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))
|
|
540
541
|
])
|
|
541
542
|
], 64)) : v("", !0),
|
|
542
|
-
e(
|
|
543
|
+
e(w) && V.onlyShow !== "events" ? (l(), d(R, { key: 1 }, [
|
|
543
544
|
v("", !0),
|
|
544
545
|
t("ul", tn, [
|
|
545
546
|
(l(!0), d(R, null, j(e(I), ({
|
|
@@ -565,7 +566,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
565
566
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
566
567
|
])
|
|
567
568
|
], 64)) : v("", !0),
|
|
568
|
-
!e(E) && !e(
|
|
569
|
+
!e(E) && !e(w) || !e(E) && V.onlyShow === "events" || !e(w) && V.onlyShow === "templates" ? (l(), d("div", nn, [
|
|
569
570
|
t("span", null, o(e(n)("event.nothingAvailable")), 1)
|
|
570
571
|
])) : v("", !0)
|
|
571
572
|
])) : (l(), T(Se, { key: 1 }))
|
|
@@ -752,7 +753,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
752
753
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
753
754
|
required: ""
|
|
754
755
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
755
|
-
e(H) ? (l(), T(
|
|
756
|
+
e(H) ? (l(), T(yt, {
|
|
756
757
|
key: 0,
|
|
757
758
|
modelValue: e(y),
|
|
758
759
|
"onUpdate:modelValue": k[3] || (k[3] = (a) => U(y) ? y.value = a : null),
|
|
@@ -809,7 +810,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
809
810
|
g(Dt)
|
|
810
811
|
]),
|
|
811
812
|
confirmation: p(() => [
|
|
812
|
-
g(
|
|
813
|
+
g(_t, {
|
|
813
814
|
message: e(n)("event.confirmationMessage")
|
|
814
815
|
}, null, 8, ["message"])
|
|
815
816
|
]),
|
|
@@ -828,7 +829,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
|
|
|
828
829
|
_: 1
|
|
829
830
|
}, 8, ["styling"]));
|
|
830
831
|
}
|
|
831
|
-
}), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-
|
|
832
|
+
}), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-58c8f46a"]]), Pn = xe(), An = tt();
|
|
832
833
|
class On extends HTMLElement {
|
|
833
834
|
vueApp;
|
|
834
835
|
constructor() {
|
|
@@ -851,7 +852,7 @@ class On extends HTMLElement {
|
|
|
851
852
|
let h = this.attributes.getNamedItem(c)?.value;
|
|
852
853
|
b.hasOwnProperty(c) && (h = b[c]), s[c] = h;
|
|
853
854
|
}
|
|
854
|
-
this.vueApp = Xe(te, s), this.vueApp.provide("emitter", An), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use(
|
|
855
|
+
this.vueApp = Xe(te, s), this.vueApp.provide("emitter", An), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use($t), this.vueApp.use(ut), this.vueApp.use(dt, { bootstrap: !0 });
|
|
855
856
|
const $ = document.createElement("div");
|
|
856
857
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
857
858
|
}
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as N, s as x, c as U, i as O, m as z } from "./mitt-
|
|
3
|
-
import { E as k, _ as
|
|
4
|
-
import { u as Z } from "./giftCard-
|
|
5
|
-
import { _ as q } from "./_.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { A as W } from "./ActionField-
|
|
7
|
-
import { F as
|
|
8
|
-
import { E as J } from "./ErrorMessage-
|
|
1
|
+
import { d as I, a as f, g as V, e as t, f as o, c as X, b as _, w as v, S as P, u as e, t as u, v as w, i as T, h as $, k as B } from "./_sentry-release-injection-file-CSY2pTJK.js";
|
|
2
|
+
import { u as N, s as x, c as U, i as O, m as z } from "./mitt-Ciy52c7q.js";
|
|
3
|
+
import { E as k, _ as L, q as E, d as F, I as C, h as H, s as j, C as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
|
|
4
|
+
import { u as Z } from "./giftCard-DrbtM1MV.js";
|
|
5
|
+
import { _ as q } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
|
|
6
|
+
import { A as W } from "./ActionField-CVdLZg_F.js";
|
|
7
|
+
import { F as G } from "./Field-Bir0Q2Cn.js";
|
|
8
|
+
import { E as J } from "./ErrorMessage-Dt3tVome.js";
|
|
9
|
+
import { G as K } from "./style-Bf1WJ5oD.js";
|
|
9
10
|
(function() {
|
|
10
11
|
try {
|
|
11
12
|
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, s = new Error().stack;
|
|
12
|
-
s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "
|
|
13
|
+
s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "0689299a-3186-428b-9ecd-97d4447dbc26", r._sentryDebugIdIdentifier = "sentry-dbid-0689299a-3186-428b-9ecd-97d4447dbc26");
|
|
13
14
|
} catch {
|
|
14
15
|
}
|
|
15
16
|
})();
|
|
16
|
-
const
|
|
17
|
+
const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-validation-skeleton-form" }, tt = { class: "gift-card-validation-skeleton-text" }, et = { class: "gift-card-validation-skeleton-input" }, at = /* @__PURE__ */ I({
|
|
17
18
|
__name: "GiftCardValidationSkeleton",
|
|
18
19
|
setup(r) {
|
|
19
|
-
return (s, c) => (f(), V("div",
|
|
20
|
-
t("div",
|
|
21
|
-
t("div",
|
|
20
|
+
return (s, c) => (f(), V("div", Q, [
|
|
21
|
+
t("div", Y, [
|
|
22
|
+
t("div", tt, [
|
|
22
23
|
o(k, { height: "20px" }),
|
|
23
24
|
o(k, { height: "15px" }),
|
|
24
25
|
o(k, { height: "15px" })
|
|
25
26
|
]),
|
|
26
|
-
t("div",
|
|
27
|
-
o(
|
|
28
|
-
o(
|
|
27
|
+
t("div", et, [
|
|
28
|
+
o(G),
|
|
29
|
+
o(G, { "no-label": "" })
|
|
29
30
|
])
|
|
30
31
|
])
|
|
31
32
|
]));
|
|
32
33
|
}
|
|
33
|
-
}),
|
|
34
|
+
}), nt = /* @__PURE__ */ L(at, [["__scopeId", "data-v-b1601b74"]]), ot = ["innerHTML"], st = {
|
|
34
35
|
key: 0,
|
|
35
36
|
id: "konnectio-gift-card-validation-resume",
|
|
36
37
|
class: "konnectio-panel"
|
|
37
|
-
},
|
|
38
|
+
}, it = /* @__PURE__ */ I({
|
|
38
39
|
name: "GiftCardValidationLayout",
|
|
39
40
|
__name: "GiftCardValidation",
|
|
40
41
|
props: {
|
|
@@ -52,7 +53,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
|
|
|
52
53
|
expirationDate: b,
|
|
53
54
|
productName: a,
|
|
54
55
|
isLoading: n
|
|
55
|
-
} = x(E()), { currency: l, hasError:
|
|
56
|
+
} = x(E()), { currency: l, hasError: S } = x(F()), { fetchMetadata: D } = Z(), { apply: A } = E();
|
|
56
57
|
return (M, d) => (f(), _(R, { styling: c.value }, {
|
|
57
58
|
default: v(() => [
|
|
58
59
|
(f(), _(P, null, {
|
|
@@ -62,7 +63,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
|
|
|
62
63
|
callback: e(D)
|
|
63
64
|
}, {
|
|
64
65
|
default: v(() => [
|
|
65
|
-
e(
|
|
66
|
+
e(S) ? (f(), _(J, {
|
|
66
67
|
key: 1,
|
|
67
68
|
title: "Unable to render Gift card validation module",
|
|
68
69
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
@@ -76,7 +77,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
|
|
|
76
77
|
]),
|
|
77
78
|
t("p", {
|
|
78
79
|
innerHTML: e(i)("giftCardValidation.description")
|
|
79
|
-
}, null, 8,
|
|
80
|
+
}, null, 8, ot),
|
|
80
81
|
o(W, {
|
|
81
82
|
modelValue: e(m),
|
|
82
83
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => w(m) ? m.value = g : null),
|
|
@@ -88,7 +89,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
|
|
|
88
89
|
"onUpdate:isLoading": d[1] || (d[1] = (g) => w(n) ? n.value = g : null),
|
|
89
90
|
onAction: d[2] || (d[2] = (g) => e(A)())
|
|
90
91
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
91
|
-
!e(n) && e(h) ? (f(), V("table",
|
|
92
|
+
!e(n) && e(h) ? (f(), V("table", st, [
|
|
92
93
|
t("thead", null, [
|
|
93
94
|
t("tr", null, [
|
|
94
95
|
t("th", null, [
|
|
@@ -137,7 +138,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
|
|
|
137
138
|
}, 8, ["access-token", "callback"])
|
|
138
139
|
]),
|
|
139
140
|
fallback: v(() => [
|
|
140
|
-
o(
|
|
141
|
+
o(nt)
|
|
141
142
|
]),
|
|
142
143
|
_: 1
|
|
143
144
|
}))
|
|
@@ -145,8 +146,8 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
|
|
|
145
146
|
_: 1
|
|
146
147
|
}, 8, ["styling"]));
|
|
147
148
|
}
|
|
148
|
-
}), y = /* @__PURE__ */
|
|
149
|
-
class
|
|
149
|
+
}), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-ae703950"]]), lt = U(), rt = z();
|
|
150
|
+
class dt extends HTMLElement {
|
|
150
151
|
vueApp;
|
|
151
152
|
constructor() {
|
|
152
153
|
super();
|
|
@@ -168,13 +169,13 @@ class rt extends HTMLElement {
|
|
|
168
169
|
let n = this.attributes.getNamedItem(a)?.value;
|
|
169
170
|
p.hasOwnProperty(a) && (n = p[a]), h[a] = n;
|
|
170
171
|
}
|
|
171
|
-
this.vueApp = B(y, h), this.vueApp.provide("emitter",
|
|
172
|
+
this.vueApp = B(y, h), this.vueApp.provide("emitter", rt), this.vueApp.use(lt), this.vueApp.use(O), this.vueApp.use(K);
|
|
172
173
|
const b = document.createElement("div");
|
|
173
174
|
this.vueApp.mount(b), this.appendChild(b.children[0]);
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
|
-
window.customElements.define("konnectio-gift-card-validation",
|
|
177
|
+
window.customElements.define("konnectio-gift-card-validation", dt);
|
|
177
178
|
export {
|
|
178
|
-
|
|
179
|
+
dt as default
|
|
179
180
|
};
|
|
180
181
|
//# sourceMappingURL=gift-card-validation.js.map
|
|
Binary file
|