@konnectio/core 4.0.56-rc50 → 4.0.56-rc51
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-BQQitCzR.js → ActionField-CsHUzdDM.js} +13 -13
- package/dist/ActionField-CsHUzdDM.js.br +0 -0
- package/dist/{AvailabilitySkeleton-TZiNrJ8t.js → AvailabilitySkeleton-BpS3qH0r.js} +31 -31
- package/dist/AvailabilitySkeleton-BpS3qH0r.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js.br +0 -0
- package/dist/{CheckoutWindow-DBBmXrsX.js → CheckoutWindow-DQUTHQEL.js} +14 -14
- package/dist/CheckoutWindow-DQUTHQEL.js.br +0 -0
- package/dist/{ErrorMessage-Dw-TLplp.js → ErrorMessage-CWHVx0Pk.js} +4 -4
- package/dist/ErrorMessage-CWHVx0Pk.js.br +0 -0
- package/dist/{EventAvailabilityForm-DimufYUP.js → EventAvailabilityForm-Bk4wdYKU.js} +5 -5
- package/dist/EventAvailabilityForm-Bk4wdYKU.js.br +0 -0
- package/dist/{Field-B4x3qSfU.js → Field-CIQ61QX5.js} +12 -12
- package/dist/Field-CIQ61QX5.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js} +953 -959
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js.br +0 -0
- package/dist/{TermsOfService-DLchxC08.js → TermsOfService-BZzRUgUN.js} +10 -10
- package/dist/TermsOfService-BZzRUgUN.js.br +0 -0
- package/dist/_-CRFAvFk8.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DF6d_VKc.js +68 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DF6d_VKc.js.br +0 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js +9530 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
- package/dist/availability.js +41 -41
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/event.js +38 -37
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +23 -22
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +58 -57
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-9uCMmY6r.js → giftCard-iMEwS4uA.js} +5 -5
- package/dist/giftCard-iMEwS4uA.js.br +0 -0
- package/dist/hotel.js +223 -223
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C4-Uj22v.js → masonry.plugin-BSptmqjG.js} +166 -166
- package/dist/masonry.plugin-BSptmqjG.js.br +0 -0
- package/dist/polyfill.js +123 -122
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-BSHzssDu.js +18 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-wxeFiHIa.js +2287 -0
- package/dist/tracing-wxeFiHIa.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-BQQitCzR.js.br +0 -0
- package/dist/AvailabilitySkeleton-TZiNrJ8t.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js.br +0 -0
- package/dist/CheckoutWindow-DBBmXrsX.js.br +0 -0
- package/dist/ErrorMessage-Dw-TLplp.js.br +0 -0
- package/dist/EventAvailabilityForm-DimufYUP.js.br +0 -0
- package/dist/Field-B4x3qSfU.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js.br +0 -0
- package/dist/TermsOfService-DLchxC08.js.br +0 -0
- package/dist/_-C7wxqlYk.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js +0 -68
- package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js.br +0 -0
- package/dist/giftCard-9uCMmY6r.js.br +0 -0
- package/dist/masonry.plugin-C4-Uj22v.js.br +0 -0
- package/dist/tracing-Dm-FNj-F.js +0 -11807
- package/dist/tracing-Dm-FNj-F.js.br +0 -0
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { d as C, r as E, c as k, h as I, o as p, b as d, w as v, S, g as a, f, a as T, n as A, i as _, t as g, u as h, F as N, e as L, T as B, p as D, j as M, k as z } from "./
|
|
2
|
-
import { h as F, m as H, n as P, _ as V, o as j, p as O, q as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { H as
|
|
5
|
-
import { E as
|
|
6
|
-
import { E as
|
|
1
|
+
import { d as C, r as E, c as k, h as I, o as p, b as d, w as v, S, g as a, f as y, a as T, n as A, i as _, t as g, u as h, F as N, e as L, T as B, p as D, j as M, k as z } from "./_commonjsHelpers-04Qj4xBt.js";
|
|
2
|
+
import { h as F, m as H, n as P, _ as V, o as j, p as O, q as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js";
|
|
3
|
+
import { _ as U } from "./_.vue_vue_type_style_index_0_lang-DF6d_VKc.js";
|
|
4
|
+
import { H as Z, A as q } from "./AvailabilitySkeleton-BpS3qH0r.js";
|
|
5
|
+
import { E as K } from "./EventAvailabilityForm-Bk4wdYKU.js";
|
|
6
|
+
import { E as G } from "./ErrorMessage-CWHVx0Pk.js";
|
|
7
7
|
import "./deep-link.js";
|
|
8
8
|
(function() {
|
|
9
9
|
try {
|
|
10
|
-
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
11
|
-
|
|
10
|
+
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
|
|
11
|
+
i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "c5abc5db-da40-4143-8e50-2fdf3b9abd05", n._sentryDebugIdIdentifier = "sentry-dbid-c5abc5db-da40-4143-8e50-2fdf3b9abd05");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
15
|
-
const
|
|
15
|
+
const J = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-availability-navigation" }, W = /* @__PURE__ */ J(() => /* @__PURE__ */ a("div", { class: "konnectio-availability-divider" }, null, -1)), X = { class: "konnectio-availability-search-form" }, Y = /* @__PURE__ */ C({
|
|
16
16
|
name: "AvailabilityLayout",
|
|
17
17
|
__name: "Availability",
|
|
18
18
|
props: {
|
|
@@ -24,7 +24,7 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
|
|
|
24
24
|
styling: {}
|
|
25
25
|
},
|
|
26
26
|
setup(n) {
|
|
27
|
-
const { t:
|
|
27
|
+
const { t: i } = F(), { fetchMetadata: c } = H(), s = n, l = E(), m = k(() => !!s.hotelLink || !!s.eventLink), r = k(() => !!s.hotelLink && !!s.eventLink), u = k(() => l.value === "hotel"), t = k(() => l.value === "event"), o = (e) => l.value = e;
|
|
28
28
|
return I(() => {
|
|
29
29
|
!s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
|
|
30
30
|
}), (e, b) => (p(), d(P, { styling: e.styling }, {
|
|
@@ -32,47 +32,47 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
|
|
|
32
32
|
m.value ? (p(), d(S, { key: 0 }, {
|
|
33
33
|
default: v(() => [
|
|
34
34
|
a("div", null, [
|
|
35
|
-
|
|
35
|
+
y(U, {
|
|
36
36
|
"access-token": e.accessToken,
|
|
37
|
-
callback: h(
|
|
37
|
+
callback: h(c)
|
|
38
38
|
}, {
|
|
39
39
|
default: v(() => [
|
|
40
|
-
a("div",
|
|
41
|
-
|
|
42
|
-
a("nav",
|
|
40
|
+
a("div", Q, [
|
|
41
|
+
r.value ? (p(), T(N, { key: 0 }, [
|
|
42
|
+
a("nav", R, [
|
|
43
43
|
a("ul", null, [
|
|
44
44
|
a("li", null, [
|
|
45
45
|
a("button", {
|
|
46
46
|
class: A({ active: u.value }),
|
|
47
|
-
onClick: b[0] || (b[0] = _((w) =>
|
|
47
|
+
onClick: b[0] || (b[0] = _((w) => o("hotel"), ["prevent"]))
|
|
48
48
|
}, [
|
|
49
|
-
a("span", null, g(h(
|
|
49
|
+
a("span", null, g(h(i)("availability.hotel")), 1)
|
|
50
50
|
], 2)
|
|
51
51
|
]),
|
|
52
52
|
a("li", null, [
|
|
53
53
|
a("button", {
|
|
54
54
|
class: A({ active: t.value }),
|
|
55
|
-
onClick: b[1] || (b[1] = _((w) =>
|
|
55
|
+
onClick: b[1] || (b[1] = _((w) => o("event"), ["prevent"]))
|
|
56
56
|
}, [
|
|
57
|
-
a("span", null, g(h(
|
|
57
|
+
a("span", null, g(h(i)("availability.events")), 1)
|
|
58
58
|
], 2)
|
|
59
59
|
])
|
|
60
60
|
])
|
|
61
61
|
]),
|
|
62
|
-
|
|
62
|
+
W
|
|
63
63
|
], 64)) : L("", !0),
|
|
64
|
-
a("div",
|
|
65
|
-
|
|
64
|
+
a("div", X, [
|
|
65
|
+
y(B, {
|
|
66
66
|
name: "fade",
|
|
67
67
|
mode: "out-in",
|
|
68
68
|
appear: ""
|
|
69
69
|
}, {
|
|
70
70
|
default: v(() => [
|
|
71
|
-
u.value ? (p(), d(
|
|
71
|
+
u.value ? (p(), d(Z, {
|
|
72
72
|
key: 0,
|
|
73
73
|
link: e.hotelLink,
|
|
74
74
|
"selected-location": Number(e.hotelLocation)
|
|
75
|
-
}, null, 8, ["link", "selected-location"])) : t.value ? (p(), d(
|
|
75
|
+
}, null, 8, ["link", "selected-location"])) : t.value ? (p(), d(K, {
|
|
76
76
|
key: 1,
|
|
77
77
|
link: e.eventLink,
|
|
78
78
|
"selected-location": Number(e.eventLocation)
|
|
@@ -89,13 +89,13 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
|
|
|
89
89
|
]),
|
|
90
90
|
fallback: v(() => [
|
|
91
91
|
a("div", null, [
|
|
92
|
-
|
|
93
|
-
view:
|
|
92
|
+
y(q, {
|
|
93
|
+
view: r.value ? "both" : l.value
|
|
94
94
|
}, null, 8, ["view"])
|
|
95
95
|
])
|
|
96
96
|
]),
|
|
97
97
|
_: 1
|
|
98
|
-
})) : (p(), d(
|
|
98
|
+
})) : (p(), d(G, {
|
|
99
99
|
key: 1,
|
|
100
100
|
title: "Unable to render Availability module",
|
|
101
101
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -105,8 +105,8 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
|
|
|
105
105
|
_: 1
|
|
106
106
|
}, 8, ["styling"]));
|
|
107
107
|
}
|
|
108
|
-
}),
|
|
109
|
-
class
|
|
108
|
+
}), f = /* @__PURE__ */ V(Y, [["__scopeId", "data-v-80b2a82c"]]), x = j(), ee = $();
|
|
109
|
+
class te extends HTMLElement {
|
|
110
110
|
vueApp;
|
|
111
111
|
constructor() {
|
|
112
112
|
super();
|
|
@@ -115,26 +115,26 @@ class ae extends HTMLElement {
|
|
|
115
115
|
this.vueApp.unmount();
|
|
116
116
|
}
|
|
117
117
|
connectedCallback() {
|
|
118
|
-
const
|
|
119
|
-
let
|
|
120
|
-
const s = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (
|
|
121
|
-
|
|
122
|
-
const
|
|
118
|
+
const i = typeof f == "function" ? f.options : f;
|
|
119
|
+
let c = Array.isArray(i.props) ? i.props : Object.keys(i.props || {});
|
|
120
|
+
const s = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, e) => (e ? "-" : "") + o.toLowerCase()), l = (t) => t.replace(/-./g, (o) => o[1].toUpperCase()), m = {};
|
|
121
|
+
c = c.map(s);
|
|
122
|
+
const r = {};
|
|
123
123
|
for (const t of this.attributes) {
|
|
124
124
|
const e = t.name.split(".");
|
|
125
|
-
e.length > 1 && (
|
|
125
|
+
e.length > 1 && (r[e[0]] || (r[e[0]] = {}), r[e[0]][l(e[1])] = t.value);
|
|
126
126
|
}
|
|
127
|
-
for (const t of
|
|
128
|
-
let
|
|
129
|
-
|
|
127
|
+
for (const t of c) {
|
|
128
|
+
let o = this.attributes.getNamedItem(t)?.value;
|
|
129
|
+
r.hasOwnProperty(t) && (o = r[t]), m[t] = o;
|
|
130
130
|
}
|
|
131
|
-
this.vueApp = z(
|
|
131
|
+
this.vueApp = z(f, m), this.vueApp.provide("emitter", ee), this.vueApp.use(O), this.vueApp.use(x);
|
|
132
132
|
const u = document.createElement("div");
|
|
133
133
|
this.vueApp.mount(u), this.appendChild(u.children[0]);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
window.customElements.define("konnectio-availability",
|
|
136
|
+
window.customElements.define("konnectio-availability", te);
|
|
137
137
|
export {
|
|
138
|
-
|
|
138
|
+
te as default
|
|
139
139
|
};
|
|
140
140
|
//# sourceMappingURL=availability.js.map
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/deep-link.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
|
|
4
|
-
d && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[d] = "
|
|
4
|
+
d && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[d] = "fb73de99-3b2d-469d-b2e6-eb61c855640a", e._sentryDebugIdIdentifier = "sentry-dbid-fb73de99-3b2d-469d-b2e6-eb61c855640a");
|
|
5
5
|
} catch {
|
|
6
6
|
}
|
|
7
7
|
})();
|
|
8
8
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
9
|
-
n.SENTRY_RELEASE = { id: "konnectio@4.0.56-
|
|
9
|
+
n.SENTRY_RELEASE = { id: "konnectio@4.0.56-rc51" };
|
|
10
10
|
//# sourceMappingURL=deep-link.js.map
|
package/dist/event.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { d as j, r as Re, 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
|
|
2
|
-
import { h as ae, a as je, s as Q,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
1
|
+
import { d as j, r as Re, 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 Fe, C as Ue, A as q, F as B, x as M, S as ze, D as ge, i as he, p as qe, j as Ge, k as He } from "./_commonjsHelpers-04Qj4xBt.js";
|
|
2
|
+
import { h as ae, a as je, s as Q, H as Ye, l as oe, C as me, J as Ze, _ as se, j as Ve, z as pe, K as Je, b as De, B as ke, M as ve, A as R, O as ye, N as Ke, T as ce, n as Qe, o as We, p as Xe, F as xe, q as et } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js";
|
|
3
|
+
import { c as tt } from "./sentry-BSHzssDu.js";
|
|
4
|
+
import { B as nt, R as ot, L as Pe, S as lt, M as at, C as st, T as it, V as rt, G as ut } from "./masonry.plugin-BSptmqjG.js";
|
|
5
|
+
import { u as H, E as ct } from "./EventAvailabilityForm-Bk4wdYKU.js";
|
|
6
|
+
import { _ as dt } from "./_.vue_vue_type_style_index_0_lang-DF6d_VKc.js";
|
|
7
|
+
import { t as G, e as mt, g as _e, m as $e, a as we, b as Ee, c as pt, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js";
|
|
8
|
+
import { a as vt, P as ft, C as bt } from "./CheckoutWindow-DQUTHQEL.js";
|
|
8
9
|
import "./deep-link.js";
|
|
9
10
|
(function() {
|
|
10
11
|
try {
|
|
11
12
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
12
|
-
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "
|
|
13
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "5cc19a44-243a-48b3-a138-23463184d1fa", c._sentryDebugIdIdentifier = "sentry-dbid-5cc19a44-243a-48b3-a138-23463184d1fa");
|
|
13
14
|
} catch {
|
|
14
15
|
}
|
|
15
16
|
})();
|
|
@@ -263,7 +264,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
263
264
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
264
265
|
},
|
|
265
266
|
setup(c) {
|
|
266
|
-
const { t: n } = ae(), i =
|
|
267
|
+
const { t: n } = ae(), i = Fe(), {
|
|
267
268
|
areListingsAvailable: d,
|
|
268
269
|
arrivalTime: l,
|
|
269
270
|
numberOfPeople: _,
|
|
@@ -282,7 +283,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
282
283
|
} = Q(H()), { totalAddonPrice: W, validateDiscountCode: ie } = H(), { currency: X } = Q(De());
|
|
283
284
|
return (S, x) => (a(), T(ot, {
|
|
284
285
|
"discount-code": e(O),
|
|
285
|
-
"onUpdate:discountCode": x[0] || (x[0] = (
|
|
286
|
+
"onUpdate:discountCode": x[0] || (x[0] = (U) => M(O) ? O.value = U : null),
|
|
286
287
|
"validate-discount-code": e(ie),
|
|
287
288
|
"show-gift-card": S.showGiftCard,
|
|
288
289
|
"show-terms-notice": S.showTermsNotice,
|
|
@@ -292,7 +293,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
292
293
|
"weekend-fee": e(s),
|
|
293
294
|
"room-upgrade": e(g),
|
|
294
295
|
notice: e(n)("hotel.reservationNotice")
|
|
295
|
-
},
|
|
296
|
+
}, Ue({
|
|
296
297
|
form: p(() => [
|
|
297
298
|
ne(S.$slots, "form")
|
|
298
299
|
]),
|
|
@@ -331,9 +332,9 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
331
332
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
332
333
|
t("b", null, o(e(R)(e(y), e(X))), 1)
|
|
333
334
|
])) : h("", !0),
|
|
334
|
-
e(C) ? (a(!0), m(B, { key: 1 },
|
|
335
|
+
e(C) ? (a(!0), m(B, { key: 1 }, q(e(C), ({ roomGroupId: U }, ee) => (a(), m("li", { key: U }, [
|
|
335
336
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
|
|
336
|
-
t("b", null, o(e(R)(e(W)(
|
|
337
|
+
t("b", null, o(e(R)(e(W)(U, ee), e(X))), 1)
|
|
337
338
|
]))), 128)) : h("", !0)
|
|
338
339
|
]),
|
|
339
340
|
navigation: p(() => [
|
|
@@ -350,20 +351,20 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
350
351
|
} : void 0
|
|
351
352
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
|
|
352
353
|
}
|
|
353
|
-
}), Rt = { class: "event-skeleton" },
|
|
354
|
+
}), Rt = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, Ut = { class: "event-skeleton-sidebar" }, zt = /* @__PURE__ */ j({
|
|
354
355
|
__name: "EventSkeleton",
|
|
355
356
|
setup(c) {
|
|
356
357
|
return (n, i) => (a(), m("div", Rt, [
|
|
357
|
-
t("div",
|
|
358
|
+
t("div", Ft, [
|
|
358
359
|
f(Pe)
|
|
359
360
|
]),
|
|
360
|
-
t("div",
|
|
361
|
+
t("div", Ut, [
|
|
361
362
|
h("", !0),
|
|
362
363
|
f(lt)
|
|
363
364
|
])
|
|
364
365
|
]));
|
|
365
366
|
}
|
|
366
|
-
}),
|
|
367
|
+
}), qt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), F = (c) => (qe("data-v-3e230178"), c = c(), Ge(), c), Gt = {
|
|
367
368
|
key: 0,
|
|
368
369
|
id: "konnectio-event-listings-wrapper"
|
|
369
370
|
};
|
|
@@ -371,8 +372,8 @@ const Ht = { class: "konnectio-event-listings" };
|
|
|
371
372
|
const jt = { class: "konnectio-event-listings" }, Yt = { class: "konnectio-panel" }, Zt = {
|
|
372
373
|
key: 1,
|
|
373
374
|
id: "fresh-booking-event-addons"
|
|
374
|
-
}, Jt = { class: "konnectio-table with-lines" }, Kt = /* @__PURE__ */
|
|
375
|
-
const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class: "konnectio-table with-lines" }, rn = /* @__PURE__ */
|
|
375
|
+
}, Jt = { class: "konnectio-table with-lines" }, Kt = /* @__PURE__ */ F(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Qt = { class: "konnectio-event-addons-price" }, Wt = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), Xt = { class: "konnectio-event-addons-input" }, xt = { class: "konnectio-event-addons-price" }, en = /* @__PURE__ */ F(() => /* @__PURE__ */ t("td", null, null, -1)), tn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("td", null, null, -1)), nn = { class: "konnectio-event-addons-price" }, on = { key: 2 };
|
|
376
|
+
const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class: "konnectio-table with-lines" }, rn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), un = { class: "konnectio-event-addons-price" }, cn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), dn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), mn = { class: "konnectio-event-addons-input" }, pn = { class: "konnectio-event-addons-price" }, vn = ["onClick"], fn = { class: "konnectio-panel" }, bn = ["onClick"], gn = /* @__PURE__ */ j({
|
|
376
377
|
name: "EventLayout",
|
|
377
378
|
__name: "Event",
|
|
378
379
|
props: {
|
|
@@ -403,7 +404,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
403
404
|
isAvailabilityDataAvailable: X,
|
|
404
405
|
isTemplateEvent: S,
|
|
405
406
|
hasListingData: x,
|
|
406
|
-
isPaymentLoading:
|
|
407
|
+
isPaymentLoading: U,
|
|
407
408
|
isReservationFormFilled: ee
|
|
408
409
|
} = Q(H()), {
|
|
409
410
|
initialize: Ce,
|
|
@@ -426,7 +427,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
426
427
|
}
|
|
427
428
|
return (L, w) => (a(), T(Qe, { styling: L.styling }, {
|
|
428
429
|
default: p(() => [
|
|
429
|
-
(a(), T(
|
|
430
|
+
(a(), T(ze, { onResolve: Ie }, {
|
|
430
431
|
default: p(() => [
|
|
431
432
|
f(dt, {
|
|
432
433
|
id: "konnectio-event-module",
|
|
@@ -435,7 +436,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
435
436
|
}, {
|
|
436
437
|
default: p(() => [
|
|
437
438
|
f(at, null, {
|
|
438
|
-
availability: p(({ next:
|
|
439
|
+
availability: p(({ next: z }) => [
|
|
439
440
|
f(de, null, {
|
|
440
441
|
sidebar: p(() => [
|
|
441
442
|
f(ct, { redirection: !1 })
|
|
@@ -445,7 +446,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
445
446
|
e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
|
|
446
447
|
h("", !0),
|
|
447
448
|
t("ul", Ht, [
|
|
448
|
-
(a(!0), m(B, null,
|
|
449
|
+
(a(!0), m(B, null, q(e(C), ({
|
|
449
450
|
id: A,
|
|
450
451
|
days: r,
|
|
451
452
|
name: I,
|
|
@@ -475,14 +476,14 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
475
476
|
"time-from": N,
|
|
476
477
|
"time-to": E,
|
|
477
478
|
"sold-out": ue,
|
|
478
|
-
callback:
|
|
479
|
+
callback: z
|
|
479
480
|
}, 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))
|
|
480
481
|
])
|
|
481
482
|
], 64)) : h("", !0),
|
|
482
483
|
e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
|
|
483
484
|
h("", !0),
|
|
484
485
|
t("ul", jt, [
|
|
485
|
-
(a(!0), m(B, null,
|
|
486
|
+
(a(!0), m(B, null, q(e(D), ({
|
|
486
487
|
id: A,
|
|
487
488
|
name: r,
|
|
488
489
|
fromDate: I,
|
|
@@ -501,7 +502,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
501
502
|
"to-date": N,
|
|
502
503
|
"minimum-person-count": E,
|
|
503
504
|
fromPrice: V,
|
|
504
|
-
callback:
|
|
505
|
+
callback: z
|
|
505
506
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
506
507
|
])
|
|
507
508
|
], 64)) : h("", !0)
|
|
@@ -510,7 +511,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
510
511
|
_: 2
|
|
511
512
|
}, 1024)
|
|
512
513
|
]),
|
|
513
|
-
addons: p(({ next:
|
|
514
|
+
addons: p(({ next: z, prev: A }) => [
|
|
514
515
|
e(X) ? (a(), T(de, { key: 0 }, {
|
|
515
516
|
form: p(() => [
|
|
516
517
|
t("form", Yt, [
|
|
@@ -526,7 +527,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
526
527
|
required: ""
|
|
527
528
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
528
529
|
e(s) && e(s).length > 0 ? (a(), m("ul", Zt, [
|
|
529
|
-
(a(!0), m(B, null,
|
|
530
|
+
(a(!0), m(B, null, q(e(s), ({
|
|
530
531
|
roomGroupId: r,
|
|
531
532
|
addons: I,
|
|
532
533
|
adultPerRoom: N
|
|
@@ -554,7 +555,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
554
555
|
])
|
|
555
556
|
]),
|
|
556
557
|
t("tbody", null, [
|
|
557
|
-
(a(!0), m(B, null,
|
|
558
|
+
(a(!0), m(B, null, q(I, ({
|
|
558
559
|
id: V,
|
|
559
560
|
cardinality: Z,
|
|
560
561
|
name: J,
|
|
@@ -627,7 +628,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
627
628
|
])
|
|
628
629
|
]),
|
|
629
630
|
t("tbody", null, [
|
|
630
|
-
(a(!0), m(B, null,
|
|
631
|
+
(a(!0), m(B, null, q(e(P).products, ({ productID: r, productName: I, price: N, description: E }) => (a(), m("tr", { key: r }, [
|
|
631
632
|
t("td", null, [
|
|
632
633
|
t("b", null, [
|
|
633
634
|
t("span", null, o(I), 1)
|
|
@@ -658,7 +659,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
658
659
|
f(me, {
|
|
659
660
|
label: e(n)("general.startReservation"),
|
|
660
661
|
"full-width": "",
|
|
661
|
-
onClickEvent:
|
|
662
|
+
onClickEvent: z
|
|
662
663
|
}, null, 8, ["label", "onClickEvent"]),
|
|
663
664
|
t("button", {
|
|
664
665
|
class: "konnectio-abort-reservation link",
|
|
@@ -670,7 +671,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
670
671
|
_: 2
|
|
671
672
|
}, 1024)) : h("", !0)
|
|
672
673
|
]),
|
|
673
|
-
reservation: p(({ next:
|
|
674
|
+
reservation: p(({ next: z, prev: A }) => [
|
|
674
675
|
f(de, {
|
|
675
676
|
"show-terms-notice": !0,
|
|
676
677
|
"show-gift-card": !0
|
|
@@ -721,10 +722,10 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
721
722
|
navigation: p(() => [
|
|
722
723
|
f(me, {
|
|
723
724
|
label: e(n)("general.confirmReservation"),
|
|
724
|
-
"is-loading": e(
|
|
725
|
+
"is-loading": e(U),
|
|
725
726
|
disabled: !e(ee),
|
|
726
727
|
"full-width": "",
|
|
727
|
-
onClickEvent: (r) => e(Be)(
|
|
728
|
+
onClickEvent: (r) => e(Be)(z)
|
|
728
729
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"]),
|
|
729
730
|
t("button", {
|
|
730
731
|
class: "konnectio-abort-reservation link",
|
|
@@ -751,7 +752,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
751
752
|
}, 8, ["access-token", "callback"])
|
|
752
753
|
]),
|
|
753
754
|
fallback: p(() => [
|
|
754
|
-
f(
|
|
755
|
+
f(qt)
|
|
755
756
|
]),
|
|
756
757
|
_: 1
|
|
757
758
|
}))
|
|
@@ -759,7 +760,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
759
760
|
_: 1
|
|
760
761
|
}, 8, ["styling"]));
|
|
761
762
|
}
|
|
762
|
-
}), te = /* @__PURE__ */ se(gn, [["__scopeId", "data-v-3e230178"]]), hn = We(), kn =
|
|
763
|
+
}), te = /* @__PURE__ */ se(gn, [["__scopeId", "data-v-3e230178"]]), hn = We(), kn = et();
|
|
763
764
|
class yn extends HTMLElement {
|
|
764
765
|
vueApp;
|
|
765
766
|
constructor() {
|
|
@@ -782,7 +783,7 @@ class yn extends HTMLElement {
|
|
|
782
783
|
let v = this.attributes.getNamedItem(u)?.value;
|
|
783
784
|
b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
|
|
784
785
|
}
|
|
785
|
-
this.vueApp = He(te, _),
|
|
786
|
+
this.vueApp = He(te, _), tt(this.vueApp), this.vueApp.provide("emitter", kn), this.vueApp.use(Xe), this.vueApp.use(hn), this.vueApp.use(rt), this.vueApp.use(ut), this.vueApp.use(xe, { bootstrap: !0 });
|
|
786
787
|
const $ = document.createElement("div");
|
|
787
788
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
788
789
|
}
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { d as I, o as f, a as A, g as t, f as o, c as X, b as _, w as v, S as B, u as e, t as u, x as w, e as P, i as T, k as $ } from "./
|
|
2
|
-
import { E as k, _ as L, h as N, s as x,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { d as I, o as f, a as A, g as t, f as o, c as X, b as _, w as v, S as B, u as e, t as u, x as w, e as P, i as T, k as $ } from "./_commonjsHelpers-04Qj4xBt.js";
|
|
2
|
+
import { E as k, _ as L, h as N, s as x, t as E, b as U, z as C, A as z, B as O, n as F, o as H, p as j, q as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js";
|
|
3
|
+
import { c as Z } from "./sentry-BSHzssDu.js";
|
|
4
|
+
import { u as q } from "./giftCard-iMEwS4uA.js";
|
|
5
|
+
import { _ as W } from "./_.vue_vue_type_style_index_0_lang-DF6d_VKc.js";
|
|
6
|
+
import { A as J } from "./ActionField-CsHUzdDM.js";
|
|
7
|
+
import { F as S } from "./Field-CIQ61QX5.js";
|
|
8
|
+
import { E as K } from "./ErrorMessage-CWHVx0Pk.js";
|
|
8
9
|
import "./deep-link.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] = "a230e431-6b35-4c4d-9ac0-21064bd51575", r._sentryDebugIdIdentifier = "sentry-dbid-a230e431-6b35-4c4d-9ac0-21064bd51575");
|
|
13
14
|
} catch {
|
|
14
15
|
}
|
|
15
16
|
})();
|
|
@@ -47,22 +48,22 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
|
|
|
47
48
|
...s.styling
|
|
48
49
|
})), { t: i } = N(), {
|
|
49
50
|
voucher: m,
|
|
50
|
-
isValid:
|
|
51
|
+
isValid: b,
|
|
51
52
|
amount: p,
|
|
52
|
-
expirationDate:
|
|
53
|
+
expirationDate: h,
|
|
53
54
|
productName: a,
|
|
54
55
|
isLoading: n
|
|
55
|
-
} = x(E()), { currency: l, hasError:
|
|
56
|
+
} = x(E()), { currency: l, hasError: G } = x(U()), { fetchMetadata: D } = q(), { apply: V } = E();
|
|
56
57
|
return (M, d) => (f(), _(F, { styling: c.value }, {
|
|
57
58
|
default: v(() => [
|
|
58
59
|
(f(), _(B, null, {
|
|
59
60
|
default: v(() => [
|
|
60
61
|
o(W, {
|
|
61
62
|
"access-token": M.accessToken,
|
|
62
|
-
callback: e(
|
|
63
|
+
callback: e(D)
|
|
63
64
|
}, {
|
|
64
65
|
default: v(() => [
|
|
65
|
-
e(
|
|
66
|
+
e(G) ? (f(), _(K, {
|
|
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."
|
|
@@ -88,7 +89,7 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { 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(V)())
|
|
90
91
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
91
|
-
!e(n) && e(
|
|
92
|
+
!e(n) && e(b) ? (f(), A("table", st, [
|
|
92
93
|
t("thead", null, [
|
|
93
94
|
t("tr", null, [
|
|
94
95
|
t("th", null, [
|
|
@@ -123,10 +124,10 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
|
|
|
123
124
|
t("span", null, u(e(a)), 1)
|
|
124
125
|
]),
|
|
125
126
|
t("td", null, [
|
|
126
|
-
t("span", null, u(e(
|
|
127
|
+
t("span", null, u(e(z)(e(p), e(l))), 1)
|
|
127
128
|
]),
|
|
128
129
|
t("td", null, [
|
|
129
|
-
t("span", null, u(e(
|
|
130
|
+
t("span", null, u(e(O)(e(h))), 1)
|
|
130
131
|
])
|
|
131
132
|
])
|
|
132
133
|
])
|
|
@@ -145,7 +146,7 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
|
|
|
145
146
|
_: 1
|
|
146
147
|
}, 8, ["styling"]));
|
|
147
148
|
}
|
|
148
|
-
}), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-ae703950"]]), lt = H(), rt =
|
|
149
|
+
}), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-ae703950"]]), lt = H(), rt = R();
|
|
149
150
|
class dt extends HTMLElement {
|
|
150
151
|
vueApp;
|
|
151
152
|
constructor() {
|
|
@@ -157,7 +158,7 @@ class dt extends HTMLElement {
|
|
|
157
158
|
connectedCallback() {
|
|
158
159
|
const s = typeof y == "function" ? y.options : y;
|
|
159
160
|
let c = Array.isArray(s.props) ? s.props : Object.keys(s.props || {});
|
|
160
|
-
const i = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, l) => (l ? "-" : "") + n.toLowerCase()), m = (a) => a.replace(/-./g, (n) => n[1].toUpperCase()),
|
|
161
|
+
const i = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, l) => (l ? "-" : "") + n.toLowerCase()), m = (a) => a.replace(/-./g, (n) => n[1].toUpperCase()), b = {};
|
|
161
162
|
c = c.map(i);
|
|
162
163
|
const p = {};
|
|
163
164
|
for (const a of this.attributes) {
|
|
@@ -166,11 +167,11 @@ class dt extends HTMLElement {
|
|
|
166
167
|
}
|
|
167
168
|
for (const a of c) {
|
|
168
169
|
let n = this.attributes.getNamedItem(a)?.value;
|
|
169
|
-
p.hasOwnProperty(a) && (n = p[a]),
|
|
170
|
+
p.hasOwnProperty(a) && (n = p[a]), b[a] = n;
|
|
170
171
|
}
|
|
171
|
-
this.vueApp = $(y,
|
|
172
|
-
const
|
|
173
|
-
this.vueApp.mount(
|
|
172
|
+
this.vueApp = $(y, b), Z(this.vueApp), this.vueApp.provide("emitter", rt), this.vueApp.use(lt), this.vueApp.use(j);
|
|
173
|
+
const h = document.createElement("div");
|
|
174
|
+
this.vueApp.mount(h), this.appendChild(h.children[0]);
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
177
|
window.customElements.define("konnectio-gift-card-validation", dt);
|
|
Binary file
|