@konnectio/core 4.0.56-rc50 → 4.0.56-rc52
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-DIdYUr4q.js} +13 -13
- package/dist/ActionField-DIdYUr4q.js.br +0 -0
- package/dist/{AvailabilitySkeleton-TZiNrJ8t.js → AvailabilitySkeleton-ZjKDUWD5.js} +31 -31
- package/dist/AvailabilitySkeleton-ZjKDUWD5.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-Dv10C6pz.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js.br +0 -0
- package/dist/{CheckoutWindow-DBBmXrsX.js → CheckoutWindow-DXyFRc3f.js} +14 -14
- package/dist/CheckoutWindow-DXyFRc3f.js.br +0 -0
- package/dist/{ErrorMessage-Dw-TLplp.js → ErrorMessage-CzmACL-t.js} +4 -4
- package/dist/ErrorMessage-CzmACL-t.js.br +0 -0
- package/dist/EventAvailabilityForm-B6_lpxim.js +452 -0
- package/dist/EventAvailabilityForm-B6_lpxim.js.br +0 -0
- package/dist/{Field-B4x3qSfU.js → Field-CDhrfFEj.js} +12 -12
- package/dist/Field-CDhrfFEj.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-BJlxJLmO.js} +1318 -1328
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js.br +0 -0
- package/dist/{TermsOfService-DLchxC08.js → TermsOfService-CV3L_dLg.js} +10 -10
- package/dist/TermsOfService-CV3L_dLg.js.br +0 -0
- package/dist/_-DsHpGwqH.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.js +68 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.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 +156 -151
- 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-C8PqkLNd.js} +5 -5
- package/dist/giftCard-C8PqkLNd.js.br +0 -0
- package/dist/hotel.js +278 -274
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C4-Uj22v.js → masonry.plugin-BZn5-UMi.js} +166 -166
- package/dist/masonry.plugin-BZn5-UMi.js.br +0 -0
- package/dist/polyfill.js +727 -725
- 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 +0 -437
- 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-BJlxJLmO.js";
|
|
3
|
+
import { _ as U } from "./_.vue_vue_type_style_index_0_lang-BdZjHOFy.js";
|
|
4
|
+
import { H as Z, A as q } from "./AvailabilitySkeleton-ZjKDUWD5.js";
|
|
5
|
+
import { E as K } from "./EventAvailabilityForm-B6_lpxim.js";
|
|
6
|
+
import { E as G } from "./ErrorMessage-CzmACL-t.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] = "4d862a13-67aa-4528-893e-2b85d6b096a6", e._sentryDebugIdIdentifier = "sentry-dbid-4d862a13-67aa-4528-893e-2b85d6b096a6");
|
|
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-rc52" };
|
|
10
10
|
//# sourceMappingURL=deep-link.js.map
|