@konnectio/core 4.0.62 → 4.0.64
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-8uyqR4s2.js → ActionField-D28Pe5Bb.js} +33 -25
- package/dist/ActionField-D28Pe5Bb.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DR0TlG1c.js → AvailabilitySkeleton-BGEhEqa-.js} +123 -115
- package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js} +1089 -1081
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
- package/dist/{CheckoutWindow-b6nqgL-q.js → CheckoutWindow-Cv7p0DrF.js} +174 -166
- package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
- package/dist/{ErrorMessage-CTB9P7th.js → ErrorMessage-T11Ou3eh.js} +24 -16
- package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js +125 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
- package/dist/Field-DcoRYqr8.js +58 -0
- package/dist/Field-DcoRYqr8.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js} +2031 -2022
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
- package/dist/TermsOfService-CL0zaNw_.js +44 -0
- package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
- package/dist/_-C5tf0vwv.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
- package/dist/{_commonjsHelpers-DZ_3pocK.js → _commonjsHelpers-BeCRh3Xf.js} +618 -558
- package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
- package/dist/{_sentry-release-injection-file-gnd2S326.js → _sentry-release-injection-file-CY9ljBue.js} +1643 -1635
- package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
- package/dist/availability.js +67 -59
- 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 +276 -260
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +71 -63
- 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-CHf9cbmB.js +134 -0
- package/dist/giftCard-CHf9cbmB.js.br +0 -0
- package/dist/hotel.js +812 -803
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BNjra0SH.js → masonry.plugin-q1wqMEhq.js} +860 -852
- package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
- package/dist/{mitt-B7XZkC8D.js → mitt-CZC0Vuw7.js} +505 -497
- package/dist/mitt-CZC0Vuw7.js.br +0 -0
- package/dist/polyfill.js +6472 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-lYuGbuqk.js → style-Di3bMYae.js} +392 -384
- package/dist/style-Di3bMYae.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-8uyqR4s2.js.br +0 -0
- package/dist/AvailabilitySkeleton-DR0TlG1c.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js.br +0 -0
- package/dist/CheckoutWindow-b6nqgL-q.js.br +0 -0
- package/dist/ErrorMessage-CTB9P7th.js.br +0 -0
- package/dist/EventAvailabilityForm-Dz_XUv-P.js +0 -117
- package/dist/EventAvailabilityForm-Dz_XUv-P.js.br +0 -0
- package/dist/Field-D74LzwJ5.js +0 -50
- package/dist/Field-D74LzwJ5.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js.br +0 -0
- package/dist/TermsOfService-BWi7ax17.js +0 -36
- package/dist/TermsOfService-BWi7ax17.js.br +0 -0
- package/dist/_-D5EdBcrp.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js +0 -69
- package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js.br +0 -0
- package/dist/_commonjsHelpers-DZ_3pocK.js.br +0 -0
- package/dist/_sentry-release-injection-file-gnd2S326.js.br +0 -0
- package/dist/giftCard-Dl1tPQsP.js +0 -126
- package/dist/giftCard-Dl1tPQsP.js.br +0 -0
- package/dist/masonry.plugin-BNjra0SH.js.br +0 -0
- package/dist/mitt-B7XZkC8D.js.br +0 -0
- package/dist/style-lYuGbuqk.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 x } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { H as
|
|
6
|
-
import { E as
|
|
7
|
-
import { E as
|
|
1
|
+
import { d as I, r as S, c as v, o as T, a as u, b as f, w as m, S as M, e as t, f as A, g as B, n as _, h as w, t as L, u as g, F as N, i as C, T as P, p as z, j as D, k as j } from "./_sentry-release-injection-file-CY9ljBue.js";
|
|
2
|
+
import { u as F, c as H, i as O, m as V } from "./mitt-CZC0Vuw7.js";
|
|
3
|
+
import { u as $, C as K, _ as U, c as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
|
|
4
|
+
import { _ as x } from "./_.vue_vue_type_style_index_0_lang-BWAizmh6.js";
|
|
5
|
+
import { H as q, A as J } from "./AvailabilitySkeleton-BGEhEqa-.js";
|
|
6
|
+
import { E as Q } from "./EventAvailabilityForm-DeqQKdKV.js";
|
|
7
|
+
import { E as R } from "./ErrorMessage-T11Ou3eh.js";
|
|
8
8
|
(function() {
|
|
9
9
|
try {
|
|
10
|
-
var
|
|
11
|
-
|
|
10
|
+
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
|
|
11
|
+
o && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[o] = "0d222ef5-aa6b-4e85-bd73-3e24851cbd18", n._sentryDebugIdIdentifier = "sentry-dbid-0d222ef5-aa6b-4e85-bd73-3e24851cbd18");
|
|
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 W = (n) => (z("data-v-7bdb795c"), n = n(), D(), n), X = { class: "konnectio-availability-module" }, Y = { class: "konnectio-availability-navigation" }, G = /* @__PURE__ */ W(() => /* @__PURE__ */ t("div", { class: "konnectio-availability-divider" }, null, -1)), ee = { class: "konnectio-availability-search-form" }, te = /* @__PURE__ */ I({
|
|
16
24
|
name: "AvailabilityLayout",
|
|
17
25
|
__name: "Availability",
|
|
18
26
|
props: {
|
|
@@ -23,63 +31,63 @@ const Q = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), R = { class: "konnecti
|
|
|
23
31
|
hotelLocation: {},
|
|
24
32
|
styling: {}
|
|
25
33
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const { t:
|
|
34
|
+
setup(n) {
|
|
35
|
+
const { t: o } = F(), { fetchMetadata: p } = $(), i = n, l = S(), b = v(() => !!i.hotelLink || !!i.eventLink), r = v(() => !!i.hotelLink && !!i.eventLink), d = v(() => l.value === "hotel"), e = v(() => l.value === "event"), a = (c) => l.value = c, s = v(() => ({
|
|
28
36
|
fontSize: "13px",
|
|
29
|
-
...
|
|
37
|
+
...i.styling
|
|
30
38
|
}));
|
|
31
|
-
return
|
|
32
|
-
!
|
|
33
|
-
}), (
|
|
34
|
-
default:
|
|
35
|
-
|
|
36
|
-
default:
|
|
39
|
+
return T(() => {
|
|
40
|
+
!i.hotelLink && i.eventLink ? l.value = "event" : l.value = "hotel";
|
|
41
|
+
}), (c, y) => (u(), f(K, { styling: s.value }, {
|
|
42
|
+
default: m(() => [
|
|
43
|
+
b.value ? (u(), f(M, { key: 0 }, {
|
|
44
|
+
default: m(() => [
|
|
37
45
|
t("div", null, [
|
|
38
|
-
|
|
39
|
-
"access-token":
|
|
40
|
-
callback:
|
|
46
|
+
A(x, {
|
|
47
|
+
"access-token": c.accessToken,
|
|
48
|
+
callback: g(p)
|
|
41
49
|
}, {
|
|
42
|
-
default:
|
|
43
|
-
t("div",
|
|
44
|
-
|
|
45
|
-
t("nav",
|
|
50
|
+
default: m(() => [
|
|
51
|
+
t("div", X, [
|
|
52
|
+
r.value ? (u(), B(N, { key: 0 }, [
|
|
53
|
+
t("nav", Y, [
|
|
46
54
|
t("ul", null, [
|
|
47
55
|
t("li", null, [
|
|
48
56
|
t("button", {
|
|
49
57
|
class: _({ active: d.value }),
|
|
50
|
-
onClick:
|
|
58
|
+
onClick: y[0] || (y[0] = w((E) => a("hotel"), ["prevent"]))
|
|
51
59
|
}, [
|
|
52
|
-
t("span", null, L(
|
|
60
|
+
t("span", null, L(g(o)("availability.hotel")), 1)
|
|
53
61
|
], 2)
|
|
54
62
|
]),
|
|
55
63
|
t("li", null, [
|
|
56
64
|
t("button", {
|
|
57
65
|
class: _({ active: e.value }),
|
|
58
|
-
onClick:
|
|
66
|
+
onClick: y[1] || (y[1] = w((E) => a("event"), ["prevent"]))
|
|
59
67
|
}, [
|
|
60
|
-
t("span", null, L(
|
|
68
|
+
t("span", null, L(g(o)("availability.events")), 1)
|
|
61
69
|
], 2)
|
|
62
70
|
])
|
|
63
71
|
])
|
|
64
72
|
]),
|
|
65
|
-
|
|
66
|
-
], 64)) :
|
|
67
|
-
t("div",
|
|
68
|
-
|
|
73
|
+
G
|
|
74
|
+
], 64)) : C("", !0),
|
|
75
|
+
t("div", ee, [
|
|
76
|
+
A(P, {
|
|
69
77
|
name: "fade",
|
|
70
78
|
mode: "out-in",
|
|
71
79
|
appear: ""
|
|
72
80
|
}, {
|
|
73
|
-
default:
|
|
74
|
-
d.value ? (u(),
|
|
81
|
+
default: m(() => [
|
|
82
|
+
d.value ? (u(), f(q, {
|
|
75
83
|
key: 0,
|
|
76
|
-
link:
|
|
77
|
-
"selected-location": Number(
|
|
78
|
-
}, null, 8, ["link", "selected-location"])) : e.value ? (u(),
|
|
84
|
+
link: c.hotelLink,
|
|
85
|
+
"selected-location": Number(c.hotelLocation)
|
|
86
|
+
}, null, 8, ["link", "selected-location"])) : e.value ? (u(), f(Q, {
|
|
79
87
|
key: 1,
|
|
80
|
-
link:
|
|
81
|
-
"selected-location": Number(
|
|
82
|
-
}, null, 8, ["link", "selected-location"])) :
|
|
88
|
+
link: c.eventLink,
|
|
89
|
+
"selected-location": Number(c.eventLocation)
|
|
90
|
+
}, null, 8, ["link", "selected-location"])) : C("", !0)
|
|
83
91
|
]),
|
|
84
92
|
_: 1
|
|
85
93
|
})
|
|
@@ -90,15 +98,15 @@ const Q = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), R = { class: "konnecti
|
|
|
90
98
|
}, 8, ["access-token", "callback"])
|
|
91
99
|
])
|
|
92
100
|
]),
|
|
93
|
-
fallback:
|
|
101
|
+
fallback: m(() => [
|
|
94
102
|
t("div", null, [
|
|
95
|
-
|
|
96
|
-
view:
|
|
103
|
+
A(J, {
|
|
104
|
+
view: r.value ? "both" : l.value
|
|
97
105
|
}, null, 8, ["view"])
|
|
98
106
|
])
|
|
99
107
|
]),
|
|
100
108
|
_: 1
|
|
101
|
-
})) : (u(),
|
|
109
|
+
})) : (u(), f(R, {
|
|
102
110
|
key: 1,
|
|
103
111
|
title: "Unable to render Availability module",
|
|
104
112
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -108,8 +116,8 @@ const Q = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), R = { class: "konnecti
|
|
|
108
116
|
_: 1
|
|
109
117
|
}, 8, ["styling"]));
|
|
110
118
|
}
|
|
111
|
-
}),
|
|
112
|
-
class
|
|
119
|
+
}), h = /* @__PURE__ */ U(te, [["__scopeId", "data-v-7bdb795c"]]), ne = H(), ae = V();
|
|
120
|
+
class oe extends HTMLElement {
|
|
113
121
|
vueApp;
|
|
114
122
|
constructor() {
|
|
115
123
|
super();
|
|
@@ -118,26 +126,26 @@ class ne extends HTMLElement {
|
|
|
118
126
|
this.vueApp.unmount();
|
|
119
127
|
}
|
|
120
128
|
connectedCallback() {
|
|
121
|
-
const
|
|
122
|
-
let p = Array.isArray(
|
|
123
|
-
const
|
|
124
|
-
p = p.map(
|
|
125
|
-
const
|
|
129
|
+
const o = typeof h == "function" ? h.options : h;
|
|
130
|
+
let p = Array.isArray(o.props) ? o.props : Object.keys(o.props || {});
|
|
131
|
+
const i = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (a, s) => (s ? "-" : "") + a.toLowerCase()), l = (e) => e.replace(/-./g, (a) => a[1].toUpperCase()), b = {};
|
|
132
|
+
p = p.map(i);
|
|
133
|
+
const r = {};
|
|
126
134
|
for (const e of this.attributes) {
|
|
127
135
|
const s = e.name.split(".");
|
|
128
|
-
s.length > 1 && (
|
|
136
|
+
s.length > 1 && (r[s[0]] || (r[s[0]] = {}), r[s[0]][l(s[1])] = e.value);
|
|
129
137
|
}
|
|
130
138
|
for (const e of p) {
|
|
131
|
-
let
|
|
132
|
-
|
|
139
|
+
let a = this.attributes.getNamedItem(e)?.value;
|
|
140
|
+
r.hasOwnProperty(e) && (a = r[e]), b[e] = a;
|
|
133
141
|
}
|
|
134
|
-
this.vueApp =
|
|
142
|
+
this.vueApp = j(h, b), Z(this.vueApp), this.vueApp.provide("emitter", ae), this.vueApp.use(O), this.vueApp.use(ne);
|
|
135
143
|
const d = document.createElement("div");
|
|
136
144
|
this.vueApp.mount(d), this.appendChild(d.children[0]);
|
|
137
145
|
}
|
|
138
146
|
}
|
|
139
|
-
window.customElements.define("konnectio-availability",
|
|
147
|
+
window.customElements.define("konnectio-availability", oe);
|
|
140
148
|
export {
|
|
141
|
-
|
|
149
|
+
oe as default
|
|
142
150
|
};
|
|
143
151
|
//# sourceMappingURL=availability.js.map
|
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-CY9ljBue.js";
|
|
2
|
+
import { c as A, i as _, m as C } from "./mitt-CZC0Vuw7.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
|