@konnectio/core 4.0.57 → 4.0.58
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-BsgBhqwb.js → ActionField-SljqGQe4.js} +3 -3
- package/dist/ActionField-SljqGQe4.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BCiyhi6I.js → AvailabilitySkeleton-VxFPbzvu.js} +6 -6
- package/dist/AvailabilitySkeleton-VxFPbzvu.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js} +365 -371
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js.br +0 -0
- package/dist/{CheckoutWindow-COyV5n05.js → CheckoutWindow-BsR9w1sU.js} +4 -4
- package/dist/CheckoutWindow-BsR9w1sU.js.br +0 -0
- package/dist/{ErrorMessage-Bqmjetwk.js → ErrorMessage-Bv8Sjw4c.js} +3 -3
- package/dist/ErrorMessage-Bv8Sjw4c.js.br +0 -0
- package/dist/{EventAvailabilityForm-CnfdAPBG.js → EventAvailabilityForm-Cjn9eC1i.js} +5 -5
- package/dist/EventAvailabilityForm-Cjn9eC1i.js.br +0 -0
- package/dist/{Field-8j4srvwh.js → Field-Dv-tx0DG.js} +3 -3
- package/dist/Field-Dv-tx0DG.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js} +2182 -2184
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js.br +0 -0
- package/dist/{TermsOfService-DzB0damA.js → TermsOfService-DudxcmqT.js} +5 -5
- package/dist/TermsOfService-DudxcmqT.js.br +0 -0
- package/dist/{_-BtSFcDLj.js → _-3oY9YKKN.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-zf2i08XL.js → _.vue_vue_type_style_index_0_lang-Cm6NL02H.js} +5 -5
- package/dist/_.vue_vue_type_style_index_0_lang-Cm6NL02H.js.br +0 -0
- package/dist/{_commonjsHelpers-DzP9V0uJ.js → _commonjsHelpers-BljBhQM7.js} +2 -2
- package/dist/{_sentry-release-injection-file-fvkcFI33.js → _sentry-release-injection-file-D0NAFAC9.js} +3327 -3253
- package/dist/_sentry-release-injection-file-D0NAFAC9.js.br +0 -0
- package/dist/availability.js +74 -71
- 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 +195 -195
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +8 -8
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-DbcQz3eJ.js → giftCard-vxErFkoV.js} +12 -12
- package/dist/giftCard-vxErFkoV.js.br +0 -0
- package/dist/hotel.js +94 -94
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BX1LxkhS.js → masonry.plugin-BKhDyXyM.js} +1317 -1328
- package/dist/masonry.plugin-BKhDyXyM.js.br +0 -0
- package/dist/{mitt-l8QPdH4v.js → mitt-bU37KQKU.js} +6 -7
- package/dist/mitt-bU37KQKU.js.br +0 -0
- package/dist/polyfill.js +9 -10
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-z3gaNes7.js → tracing-CMlyHB3J.js} +5 -5
- package/dist/tracing-CMlyHB3J.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-BsgBhqwb.js.br +0 -0
- package/dist/AvailabilitySkeleton-BCiyhi6I.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js.br +0 -0
- package/dist/CheckoutWindow-COyV5n05.js.br +0 -0
- package/dist/ErrorMessage-Bqmjetwk.js.br +0 -0
- package/dist/EventAvailabilityForm-CnfdAPBG.js.br +0 -0
- package/dist/Field-8j4srvwh.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js.br +0 -0
- package/dist/TermsOfService-DzB0damA.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-zf2i08XL.js.br +0 -0
- package/dist/_sentry-release-injection-file-fvkcFI33.js.br +0 -0
- package/dist/giftCard-DbcQz3eJ.js.br +0 -0
- package/dist/masonry.plugin-BX1LxkhS.js.br +0 -0
- package/dist/mitt-l8QPdH4v.js.br +0 -0
- package/dist/tracing-z3gaNes7.js.br +0 -0
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as F, c as H, i as
|
|
3
|
-
import { u as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { H as
|
|
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-D0NAFAC9.js";
|
|
2
|
+
import { u as F, c as H, i as V, m as j } from "./mitt-bU37KQKU.js";
|
|
3
|
+
import { u as O, C as $, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js";
|
|
4
|
+
import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-Cm6NL02H.js";
|
|
5
|
+
import { H as x, A as K } from "./AvailabilitySkeleton-VxFPbzvu.js";
|
|
6
|
+
import { E as q } from "./EventAvailabilityForm-Cjn9eC1i.js";
|
|
7
|
+
import { E as G } from "./ErrorMessage-Bv8Sjw4c.js";
|
|
8
8
|
(function() {
|
|
9
9
|
try {
|
|
10
|
-
var
|
|
11
|
-
o && (
|
|
10
|
+
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
|
|
11
|
+
o && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[o] = "30a1bf4b-74a5-4aac-b09a-d04f4365815c", a._sentryDebugIdIdentifier = "sentry-dbid-30a1bf4b-74a5-4aac-b09a-d04f4365815c");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
15
|
-
const J = (
|
|
15
|
+
const J = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-availability-navigation" }, W = /* @__PURE__ */ J(() => /* @__PURE__ */ t("div", { class: "konnectio-availability-divider" }, null, -1)), X = { class: "konnectio-availability-search-form" }, Y = /* @__PURE__ */ E({
|
|
16
16
|
name: "AvailabilityLayout",
|
|
17
17
|
__name: "Availability",
|
|
18
18
|
props: {
|
|
@@ -23,60 +23,63 @@ const J = (n) => (D("data-v-8d2b340e"), n = n(), M(), n), Q = { class: "konnecti
|
|
|
23
23
|
hotelLocation: {},
|
|
24
24
|
styling: {}
|
|
25
25
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const { t: o } = F(), { fetchMetadata:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
setup(a) {
|
|
27
|
+
const { t: o } = F(), { fetchMetadata: p } = O(), i = a, l = I(), f = v(() => !!i.hotelLink || !!i.eventLink), c = v(() => !!i.hotelLink && !!i.eventLink), d = v(() => l.value === "hotel"), e = v(() => l.value === "event"), n = (r) => l.value = r, s = v(() => ({
|
|
28
|
+
fontSize: "13px",
|
|
29
|
+
...i.styling
|
|
30
|
+
}));
|
|
31
|
+
return S(() => {
|
|
32
|
+
!i.hotelLink && i.eventLink ? l.value = "event" : l.value = "hotel";
|
|
33
|
+
}), (r, k) => (u(), m($, { styling: s.value }, {
|
|
34
|
+
default: b(() => [
|
|
35
|
+
f.value ? (u(), m(T, { key: 0 }, {
|
|
36
|
+
default: b(() => [
|
|
37
|
+
t("div", null, [
|
|
38
|
+
h(Z, {
|
|
39
|
+
"access-token": r.accessToken,
|
|
40
|
+
callback: A(p)
|
|
38
41
|
}, {
|
|
39
|
-
default:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
class:
|
|
47
|
-
onClick:
|
|
42
|
+
default: b(() => [
|
|
43
|
+
t("div", Q, [
|
|
44
|
+
c.value ? (u(), N(z, { key: 0 }, [
|
|
45
|
+
t("nav", R, [
|
|
46
|
+
t("ul", null, [
|
|
47
|
+
t("li", null, [
|
|
48
|
+
t("button", {
|
|
49
|
+
class: _({ active: d.value }),
|
|
50
|
+
onClick: k[0] || (k[0] = g((C) => n("hotel"), ["prevent"]))
|
|
48
51
|
}, [
|
|
49
|
-
|
|
52
|
+
t("span", null, L(A(o)("availability.hotel")), 1)
|
|
50
53
|
], 2)
|
|
51
54
|
]),
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
class:
|
|
55
|
-
onClick:
|
|
55
|
+
t("li", null, [
|
|
56
|
+
t("button", {
|
|
57
|
+
class: _({ active: e.value }),
|
|
58
|
+
onClick: k[1] || (k[1] = g((C) => n("event"), ["prevent"]))
|
|
56
59
|
}, [
|
|
57
|
-
|
|
60
|
+
t("span", null, L(A(o)("availability.events")), 1)
|
|
58
61
|
], 2)
|
|
59
62
|
])
|
|
60
63
|
])
|
|
61
64
|
]),
|
|
62
65
|
W
|
|
63
|
-
], 64)) :
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
], 64)) : w("", !0),
|
|
67
|
+
t("div", X, [
|
|
68
|
+
h(B, {
|
|
66
69
|
name: "fade",
|
|
67
70
|
mode: "out-in",
|
|
68
71
|
appear: ""
|
|
69
72
|
}, {
|
|
70
|
-
default:
|
|
71
|
-
|
|
73
|
+
default: b(() => [
|
|
74
|
+
d.value ? (u(), m(x, {
|
|
72
75
|
key: 0,
|
|
73
|
-
link:
|
|
74
|
-
"selected-location": Number(
|
|
75
|
-
}, null, 8, ["link", "selected-location"])) :
|
|
76
|
+
link: r.hotelLink,
|
|
77
|
+
"selected-location": Number(r.hotelLocation)
|
|
78
|
+
}, null, 8, ["link", "selected-location"])) : e.value ? (u(), m(q, {
|
|
76
79
|
key: 1,
|
|
77
|
-
link:
|
|
78
|
-
"selected-location": Number(
|
|
79
|
-
}, null, 8, ["link", "selected-location"])) :
|
|
80
|
+
link: r.eventLink,
|
|
81
|
+
"selected-location": Number(r.eventLocation)
|
|
82
|
+
}, null, 8, ["link", "selected-location"])) : w("", !0)
|
|
80
83
|
]),
|
|
81
84
|
_: 1
|
|
82
85
|
})
|
|
@@ -87,15 +90,15 @@ const J = (n) => (D("data-v-8d2b340e"), n = n(), M(), n), Q = { class: "konnecti
|
|
|
87
90
|
}, 8, ["access-token", "callback"])
|
|
88
91
|
])
|
|
89
92
|
]),
|
|
90
|
-
fallback:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
view:
|
|
93
|
+
fallback: b(() => [
|
|
94
|
+
t("div", null, [
|
|
95
|
+
h(K, {
|
|
96
|
+
view: c.value ? "both" : l.value
|
|
94
97
|
}, null, 8, ["view"])
|
|
95
98
|
])
|
|
96
99
|
]),
|
|
97
100
|
_: 1
|
|
98
|
-
})) : (
|
|
101
|
+
})) : (u(), m(G, {
|
|
99
102
|
key: 1,
|
|
100
103
|
title: "Unable to render Availability module",
|
|
101
104
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -105,8 +108,8 @@ const J = (n) => (D("data-v-8d2b340e"), n = n(), M(), n), Q = { class: "konnecti
|
|
|
105
108
|
_: 1
|
|
106
109
|
}, 8, ["styling"]));
|
|
107
110
|
}
|
|
108
|
-
}),
|
|
109
|
-
class
|
|
111
|
+
}), y = /* @__PURE__ */ U(Y, [["__scopeId", "data-v-7bdb795c"]]), ee = H(), te = j();
|
|
112
|
+
class ae extends HTMLElement {
|
|
110
113
|
vueApp;
|
|
111
114
|
constructor() {
|
|
112
115
|
super();
|
|
@@ -115,26 +118,26 @@ class te extends HTMLElement {
|
|
|
115
118
|
this.vueApp.unmount();
|
|
116
119
|
}
|
|
117
120
|
connectedCallback() {
|
|
118
|
-
const o = typeof
|
|
119
|
-
let
|
|
120
|
-
const
|
|
121
|
-
|
|
122
|
-
const
|
|
123
|
-
for (const
|
|
124
|
-
const
|
|
125
|
-
|
|
121
|
+
const o = typeof y == "function" ? y.options : y;
|
|
122
|
+
let p = Array.isArray(o.props) ? o.props : Object.keys(o.props || {});
|
|
123
|
+
const i = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, s) => (s ? "-" : "") + n.toLowerCase()), l = (e) => e.replace(/-./g, (n) => n[1].toUpperCase()), f = {};
|
|
124
|
+
p = p.map(i);
|
|
125
|
+
const c = {};
|
|
126
|
+
for (const e of this.attributes) {
|
|
127
|
+
const s = e.name.split(".");
|
|
128
|
+
s.length > 1 && (c[s[0]] || (c[s[0]] = {}), c[s[0]][l(s[1])] = e.value);
|
|
126
129
|
}
|
|
127
|
-
for (const
|
|
128
|
-
let
|
|
129
|
-
|
|
130
|
+
for (const e of p) {
|
|
131
|
+
let n = this.attributes.getNamedItem(e)?.value;
|
|
132
|
+
c.hasOwnProperty(e) && (n = c[e]), f[e] = n;
|
|
130
133
|
}
|
|
131
|
-
this.vueApp =
|
|
132
|
-
const
|
|
133
|
-
this.vueApp.mount(
|
|
134
|
+
this.vueApp = P(y, f), this.vueApp.provide("emitter", te), this.vueApp.use(V), this.vueApp.use(ee);
|
|
135
|
+
const d = document.createElement("div");
|
|
136
|
+
this.vueApp.mount(d), this.appendChild(d.children[0]);
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
|
-
window.customElements.define("konnectio-availability",
|
|
139
|
+
window.customElements.define("konnectio-availability", ae);
|
|
137
140
|
export {
|
|
138
|
-
|
|
141
|
+
ae as default
|
|
139
142
|
};
|
|
140
143
|
//# sourceMappingURL=availability.js.map
|
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-D0NAFAC9.js";
|
|
2
|
+
import { c as g, i as w, m as _ } from "./mitt-bU37KQKU.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
|