@konnectio/core 4.0.63 → 4.0.65
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-3MggPKk9.js → ActionField-D5c9yQMq.js} +36 -28
- package/dist/ActionField-D5c9yQMq.js.br +0 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.js +299 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js} +934 -924
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js.br +0 -0
- package/dist/{CheckoutWindow-DolJgk40.js → CheckoutWindow-B74NMuGr.js} +174 -166
- package/dist/CheckoutWindow-B74NMuGr.js.br +0 -0
- package/dist/{ErrorMessage-BksKCxAq.js → ErrorMessage-CWR5rjTx.js} +24 -16
- package/dist/ErrorMessage-CWR5rjTx.js.br +0 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js +125 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js.br +0 -0
- package/dist/Field-C4DyN4XC.js +58 -0
- package/dist/Field-C4DyN4XC.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js +18813 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js.br +0 -0
- package/dist/TermsOfService-Bx4b2VxT.js +44 -0
- package/dist/TermsOfService-Bx4b2VxT.js.br +0 -0
- package/dist/_-DmU4JLX1.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js.br +0 -0
- package/dist/_commonjsHelpers-BbdZelfp.js +25 -0
- package/dist/_commonjsHelpers-BbdZelfp.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DEszgcWK.js → _sentry-release-injection-file-tJBg8sGS.js} +1643 -1635
- package/dist/_sentry-release-injection-file-tJBg8sGS.js.br +0 -0
- package/dist/availability.js +65 -55
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +29 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +260 -252
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +64 -56
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +137 -129
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-SDJGsDep.js +134 -0
- package/dist/giftCard-SDJGsDep.js.br +0 -0
- package/dist/hotel.js +939 -920
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-GGoTX7a7.js → masonry.plugin-BhK5XQta.js} +860 -852
- package/dist/masonry.plugin-BhK5XQta.js.br +0 -0
- package/dist/{mitt-DnPlcQNp.js → mitt-CGFh35r5.js} +505 -497
- package/dist/mitt-CGFh35r5.js.br +0 -0
- package/dist/polyfill.js +6471 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-2RYcVxT9.js → style-BQlIFUN3.js} +418 -403
- package/dist/style-BQlIFUN3.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{_commonjsHelpers-DEK47QeC.js → tracing-B1Jp160Y.js} +597 -544
- package/dist/tracing-B1Jp160Y.js.br +0 -0
- package/package.json +16 -16
- package/dist/ActionField-3MggPKk9.js.br +0 -0
- package/dist/AvailabilitySkeleton-DSgC6hn3.js +0 -293
- package/dist/AvailabilitySkeleton-DSgC6hn3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js.br +0 -0
- package/dist/CheckoutWindow-DolJgk40.js.br +0 -0
- package/dist/ErrorMessage-BksKCxAq.js.br +0 -0
- package/dist/EventAvailabilityForm-DZljldrC.js +0 -117
- package/dist/EventAvailabilityForm-DZljldrC.js.br +0 -0
- package/dist/Field-DGi_AnA6.js +0 -50
- package/dist/Field-DGi_AnA6.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js +0 -18734
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js.br +0 -0
- package/dist/TermsOfService-LDUTInOo.js +0 -36
- package/dist/TermsOfService-LDUTInOo.js.br +0 -0
- package/dist/_-CBEOFztf.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js +0 -69
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js.br +0 -0
- package/dist/_commonjsHelpers-DEK47QeC.js.br +0 -0
- package/dist/_sentry-release-injection-file-DEszgcWK.js.br +0 -0
- package/dist/giftCard-DLrIdehA.js +0 -126
- package/dist/giftCard-DLrIdehA.js.br +0 -0
- package/dist/masonry.plugin-GGoTX7a7.js.br +0 -0
- package/dist/mitt-DnPlcQNp.js.br +0 -0
- package/dist/style-2RYcVxT9.js.br +0 -0
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
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
|
|
7
|
-
import { E as
|
|
1
|
+
import { d as I, r as D, c as v, o as S, a as u, b as f, w as m, S as T, e as t, f as A, g as M, n as w, h as _, t as L, u as g, F as B, i as C, T as N, p as P, j as z, k as j } from "./_sentry-release-injection-file-tJBg8sGS.js";
|
|
2
|
+
import { u as F, c as H, i as O, m as V } from "./mitt-CGFh35r5.js";
|
|
3
|
+
import { u as $, C as K, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js";
|
|
4
|
+
import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-B2Kq55VX.js";
|
|
5
|
+
import { H as q, A as x } from "./AvailabilitySkeleton-BfyLbK2o.js";
|
|
6
|
+
import { E as J } from "./EventAvailabilityForm-lFAnwVMX.js";
|
|
7
|
+
import { E as Q } from "./ErrorMessage-CWR5rjTx.js";
|
|
8
8
|
(function() {
|
|
9
9
|
try {
|
|
10
|
-
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
11
|
-
|
|
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] = "22eab82f-ad14-45a8-9ba7-c83d7080419c", a._sentryDebugIdIdentifier = "sentry-dbid-22eab82f-ad14-45a8-9ba7-c83d7080419c");
|
|
12
12
|
} catch {
|
|
13
13
|
}
|
|
14
14
|
})();
|
|
15
|
-
|
|
15
|
+
{
|
|
16
|
+
var k = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
17
|
+
k._sentryModuleMetadata = k._sentryModuleMetadata || {}, k._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
18
|
+
{},
|
|
19
|
+
k._sentryModuleMetadata[new Error().stack],
|
|
20
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
const R = (a) => (P("data-v-014bccfe"), a = a(), z(), a), W = { class: "konnectio-availability-module" }, X = { class: "konnectio-availability-navigation" }, Y = /* @__PURE__ */ R(() => /* @__PURE__ */ t("div", { class: "konnectio-availability-divider" }, null, -1)), G = { class: "konnectio-availability-search-form" }, ee = /* @__PURE__ */ I({
|
|
16
24
|
name: "AvailabilityLayout",
|
|
17
25
|
__name: "Availability",
|
|
18
26
|
props: {
|
|
@@ -21,65 +29,67 @@ const Q = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), R = { class: "konnecti
|
|
|
21
29
|
eventLocation: {},
|
|
22
30
|
hotelLink: {},
|
|
23
31
|
hotelLocation: {},
|
|
32
|
+
hotelDisableDefaultLocation: { default: "no" },
|
|
24
33
|
styling: {}
|
|
25
34
|
},
|
|
26
35
|
setup(a) {
|
|
27
|
-
const { t:
|
|
36
|
+
const { t: o } = F(), { fetchMetadata: p } = $(), i = a, l = D(), b = v(() => !!i.hotelLink || !!i.eventLink), r = v(() => !!i.hotelLink && !!i.eventLink), d = v(() => l.value === "hotel"), e = v(() => l.value === "event"), n = (c) => l.value = c, s = v(() => ({
|
|
28
37
|
fontSize: "13px",
|
|
29
|
-
...
|
|
38
|
+
...i.styling
|
|
30
39
|
}));
|
|
31
40
|
return S(() => {
|
|
32
|
-
!
|
|
33
|
-
}), (
|
|
34
|
-
default:
|
|
35
|
-
|
|
36
|
-
default:
|
|
41
|
+
!i.hotelLink && i.eventLink ? l.value = "event" : l.value = "hotel";
|
|
42
|
+
}), (c, y) => (u(), f(K, { styling: s.value }, {
|
|
43
|
+
default: m(() => [
|
|
44
|
+
b.value ? (u(), f(T, { key: 0 }, {
|
|
45
|
+
default: m(() => [
|
|
37
46
|
t("div", null, [
|
|
38
|
-
|
|
39
|
-
"access-token":
|
|
40
|
-
callback:
|
|
47
|
+
A(Z, {
|
|
48
|
+
"access-token": c.accessToken,
|
|
49
|
+
callback: g(p)
|
|
41
50
|
}, {
|
|
42
|
-
default:
|
|
43
|
-
t("div",
|
|
44
|
-
|
|
45
|
-
t("nav",
|
|
51
|
+
default: m(() => [
|
|
52
|
+
t("div", W, [
|
|
53
|
+
r.value ? (u(), M(B, { key: 0 }, [
|
|
54
|
+
t("nav", X, [
|
|
46
55
|
t("ul", null, [
|
|
47
56
|
t("li", null, [
|
|
48
57
|
t("button", {
|
|
49
|
-
class:
|
|
50
|
-
onClick:
|
|
58
|
+
class: w({ active: d.value }),
|
|
59
|
+
onClick: y[0] || (y[0] = _((E) => n("hotel"), ["prevent"]))
|
|
51
60
|
}, [
|
|
52
|
-
t("span", null, L(
|
|
61
|
+
t("span", null, L(g(o)("availability.hotel")), 1)
|
|
53
62
|
], 2)
|
|
54
63
|
]),
|
|
55
64
|
t("li", null, [
|
|
56
65
|
t("button", {
|
|
57
|
-
class:
|
|
58
|
-
onClick:
|
|
66
|
+
class: w({ active: e.value }),
|
|
67
|
+
onClick: y[1] || (y[1] = _((E) => n("event"), ["prevent"]))
|
|
59
68
|
}, [
|
|
60
|
-
t("span", null, L(
|
|
69
|
+
t("span", null, L(g(o)("availability.events")), 1)
|
|
61
70
|
], 2)
|
|
62
71
|
])
|
|
63
72
|
])
|
|
64
73
|
]),
|
|
65
|
-
|
|
66
|
-
], 64)) :
|
|
67
|
-
t("div",
|
|
68
|
-
|
|
74
|
+
Y
|
|
75
|
+
], 64)) : C("", !0),
|
|
76
|
+
t("div", G, [
|
|
77
|
+
A(N, {
|
|
69
78
|
name: "fade",
|
|
70
79
|
mode: "out-in",
|
|
71
80
|
appear: ""
|
|
72
81
|
}, {
|
|
73
|
-
default:
|
|
74
|
-
d.value ? (u(),
|
|
82
|
+
default: m(() => [
|
|
83
|
+
d.value ? (u(), f(q, {
|
|
75
84
|
key: 0,
|
|
76
|
-
link:
|
|
77
|
-
"selected-location": Number(
|
|
78
|
-
|
|
85
|
+
link: c.hotelLink,
|
|
86
|
+
"selected-location": Number(c.hotelLocation),
|
|
87
|
+
"disable-default-location": c.hotelDisableDefaultLocation === "yes"
|
|
88
|
+
}, null, 8, ["link", "selected-location", "disable-default-location"])) : e.value ? (u(), f(J, {
|
|
79
89
|
key: 1,
|
|
80
|
-
link:
|
|
81
|
-
"selected-location": Number(
|
|
82
|
-
}, null, 8, ["link", "selected-location"])) :
|
|
90
|
+
link: c.eventLink,
|
|
91
|
+
"selected-location": Number(c.eventLocation)
|
|
92
|
+
}, null, 8, ["link", "selected-location"])) : C("", !0)
|
|
83
93
|
]),
|
|
84
94
|
_: 1
|
|
85
95
|
})
|
|
@@ -90,15 +100,15 @@ const Q = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), R = { class: "konnecti
|
|
|
90
100
|
}, 8, ["access-token", "callback"])
|
|
91
101
|
])
|
|
92
102
|
]),
|
|
93
|
-
fallback:
|
|
103
|
+
fallback: m(() => [
|
|
94
104
|
t("div", null, [
|
|
95
|
-
|
|
96
|
-
view:
|
|
105
|
+
A(x, {
|
|
106
|
+
view: r.value ? "both" : l.value
|
|
97
107
|
}, null, 8, ["view"])
|
|
98
108
|
])
|
|
99
109
|
]),
|
|
100
110
|
_: 1
|
|
101
|
-
})) : (u(),
|
|
111
|
+
})) : (u(), f(Q, {
|
|
102
112
|
key: 1,
|
|
103
113
|
title: "Unable to render Availability module",
|
|
104
114
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -108,7 +118,7 @@ const Q = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), R = { class: "konnecti
|
|
|
108
118
|
_: 1
|
|
109
119
|
}, 8, ["styling"]));
|
|
110
120
|
}
|
|
111
|
-
}),
|
|
121
|
+
}), h = /* @__PURE__ */ U(ee, [["__scopeId", "data-v-014bccfe"]]), te = H(), ae = V();
|
|
112
122
|
class ne extends HTMLElement {
|
|
113
123
|
vueApp;
|
|
114
124
|
constructor() {
|
|
@@ -118,20 +128,20 @@ class ne extends HTMLElement {
|
|
|
118
128
|
this.vueApp.unmount();
|
|
119
129
|
}
|
|
120
130
|
connectedCallback() {
|
|
121
|
-
const
|
|
122
|
-
let p = Array.isArray(
|
|
123
|
-
const
|
|
124
|
-
p = p.map(
|
|
125
|
-
const
|
|
131
|
+
const o = typeof h == "function" ? h.options : h;
|
|
132
|
+
let p = Array.isArray(o.props) ? o.props : Object.keys(o.props || {});
|
|
133
|
+
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()), b = {};
|
|
134
|
+
p = p.map(i);
|
|
135
|
+
const r = {};
|
|
126
136
|
for (const e of this.attributes) {
|
|
127
137
|
const s = e.name.split(".");
|
|
128
|
-
s.length > 1 && (
|
|
138
|
+
s.length > 1 && (r[s[0]] || (r[s[0]] = {}), r[s[0]][l(s[1])] = e.value);
|
|
129
139
|
}
|
|
130
140
|
for (const e of p) {
|
|
131
141
|
let n = this.attributes.getNamedItem(e)?.value;
|
|
132
|
-
|
|
142
|
+
r.hasOwnProperty(e) && (n = r[e]), b[e] = n;
|
|
133
143
|
}
|
|
134
|
-
this.vueApp =
|
|
144
|
+
this.vueApp = j(h, b), this.vueApp.provide("emitter", ae), this.vueApp.use(O), this.vueApp.use(te);
|
|
135
145
|
const d = document.createElement("div");
|
|
136
146
|
this.vueApp.mount(d), this.appendChild(d.children[0]);
|
|
137
147
|
}
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/deep-link.js
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { c as
|
|
1
|
+
import { d as f, r as m, o as h, a as y, g as b, e as k, t as w, l as g, k as v } from "./_sentry-release-injection-file-tJBg8sGS.js";
|
|
2
|
+
import { c as A, i as _, m as C } from "./mitt-CGFh35r5.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
|
-
var
|
|
6
|
-
e && (
|
|
5
|
+
var s = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
6
|
+
e && (s._sentryDebugIds = s._sentryDebugIds || {}, s._sentryDebugIds[e] = "26136bff-4165-4528-80a8-0d42d72d57ae", s._sentryDebugIdIdentifier = "sentry-dbid-26136bff-4165-4528-80a8-0d42d72d57ae");
|
|
7
7
|
} catch {
|
|
8
8
|
}
|
|
9
9
|
})();
|
|
10
|
-
|
|
10
|
+
{
|
|
11
|
+
var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
+
i._sentryModuleMetadata = i._sentryModuleMetadata || {}, i._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
13
|
+
{},
|
|
14
|
+
i._sentryModuleMetadata[new Error().stack],
|
|
15
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
const E = ["href"], d = /* @__PURE__ */ f({
|
|
11
19
|
name: "KonnectioDeepLink",
|
|
12
20
|
__name: "DeepLink",
|
|
13
21
|
props: {
|
|
@@ -17,17 +25,17 @@ const C = ["href"], i = /* @__PURE__ */ u({
|
|
|
17
25
|
adults: {},
|
|
18
26
|
children: {}
|
|
19
27
|
},
|
|
20
|
-
setup(
|
|
21
|
-
const e =
|
|
22
|
-
return
|
|
28
|
+
setup(s) {
|
|
29
|
+
const e = s, n = m();
|
|
30
|
+
return h(() => {
|
|
23
31
|
const o = new URL(e.baseurl || location.href);
|
|
24
|
-
e.adults && o.searchParams.append("adults", e.adults), e.children && o.searchParams.append("children", e.children),
|
|
25
|
-
}), (o, c) => (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
], 8,
|
|
32
|
+
e.adults && o.searchParams.append("adults", e.adults), e.children && o.searchParams.append("children", e.children), n.value = o.href;
|
|
33
|
+
}), (o, c) => (y(), b("a", { href: n.value }, [
|
|
34
|
+
k("span", null, w(n.value), 1),
|
|
35
|
+
g(o.$slots, "content")
|
|
36
|
+
], 8, E));
|
|
29
37
|
}
|
|
30
|
-
}), D =
|
|
38
|
+
}), D = A(), I = C();
|
|
31
39
|
class L extends HTMLElement {
|
|
32
40
|
vueApp;
|
|
33
41
|
constructor() {
|
|
@@ -37,22 +45,22 @@ class L extends HTMLElement {
|
|
|
37
45
|
this.vueApp.unmount();
|
|
38
46
|
}
|
|
39
47
|
connectedCallback() {
|
|
40
|
-
const e = typeof
|
|
41
|
-
let
|
|
48
|
+
const e = typeof d == "function" ? d.options : d;
|
|
49
|
+
let n = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
|
|
42
50
|
const o = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (a, r) => (r ? "-" : "") + a.toLowerCase()), c = (t) => t.replace(/-./g, (a) => a[1].toUpperCase()), l = {};
|
|
43
|
-
|
|
51
|
+
n = n.map(o);
|
|
44
52
|
const p = {};
|
|
45
53
|
for (const t of this.attributes) {
|
|
46
54
|
const r = t.name.split(".");
|
|
47
55
|
r.length > 1 && (p[r[0]] || (p[r[0]] = {}), p[r[0]][c(r[1])] = t.value);
|
|
48
56
|
}
|
|
49
|
-
for (const t of
|
|
57
|
+
for (const t of n) {
|
|
50
58
|
let a = this.attributes.getNamedItem(t)?.value;
|
|
51
59
|
p.hasOwnProperty(t) && (a = p[t]), l[t] = a;
|
|
52
60
|
}
|
|
53
|
-
this.vueApp =
|
|
54
|
-
const
|
|
55
|
-
this.vueApp.mount(
|
|
61
|
+
this.vueApp = v(d, l), this.vueApp.provide("emitter", I), this.vueApp.use(_), this.vueApp.use(D);
|
|
62
|
+
const u = document.createElement("div");
|
|
63
|
+
this.vueApp.mount(u), this.appendChild(u.children[0]);
|
|
56
64
|
}
|
|
57
65
|
}
|
|
58
66
|
window.customElements.define("konnectio-deep-link", L);
|
package/dist/deep-link.js.br
CHANGED
|
Binary file
|