@konnectio/core 4.0.67 → 4.0.68
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-CT_apby-.js → ActionField-_CEmKSlf.js} +15 -15
- package/dist/ActionField-_CEmKSlf.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CZ8yMhKx.js → AvailabilitySkeleton-CHDZOB_s.js} +67 -70
- package/dist/AvailabilitySkeleton-CHDZOB_s.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js +8725 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js.br +0 -0
- package/dist/{CheckoutWindow-B5_4BaaS.js → CheckoutWindow-BzoYJ5v5.js} +5 -5
- package/dist/CheckoutWindow-BzoYJ5v5.js.br +0 -0
- package/dist/{ErrorMessage-M78h-mvR.js → ErrorMessage-Cc8QanBP.js} +4 -4
- package/dist/ErrorMessage-Cc8QanBP.js.br +0 -0
- package/dist/{EventAvailabilityForm-HdD0h2K-.js → EventAvailabilityForm-CdmiDieo.js} +25 -25
- package/dist/EventAvailabilityForm-CdmiDieo.js.br +0 -0
- package/dist/{Field-B8yANlQ6.js → Field-DMMbo6LE.js} +9 -9
- package/dist/Field-DMMbo6LE.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js} +3235 -3231
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js.br +0 -0
- package/dist/{TermsOfService-BJKKDCJG.js → TermsOfService-YxQsHH5-.js} +6 -6
- package/dist/TermsOfService-YxQsHH5-.js.br +0 -0
- package/dist/{_-yypsiI8V.js → _-DZrN6t_6.js} +3 -3
- package/dist/{_.vue_vue_type_style_index_0_lang-CyUM1wWD.js → _.vue_vue_type_style_index_0_lang-C4mV4F7L.js} +7 -7
- package/dist/_.vue_vue_type_style_index_0_lang-C4mV4F7L.js.br +0 -0
- package/dist/_commonjsHelpers-BqFuLgLz.js +25 -0
- package/dist/_commonjsHelpers-BqFuLgLz.js.br +0 -0
- package/dist/{_sentry-release-injection-file-gSWd_6hD.js → _sentry-release-injection-file-Bgn3HK9h.js} +3798 -3814
- package/dist/_sentry-release-injection-file-Bgn3HK9h.js.br +0 -0
- package/dist/availability.js +63 -74
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +25 -37
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +410 -421
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +75 -86
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +250 -261
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Baweqc3Y.js → giftCard-D-wdGVBh.js} +15 -15
- package/dist/giftCard-D-wdGVBh.js.br +0 -0
- package/dist/hotel.js +870 -878
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-HPRfkQvp.js → masonry.plugin-D3cbfEtC.js} +947 -973
- package/dist/masonry.plugin-D3cbfEtC.js.br +0 -0
- package/dist/{mitt-CayBWWiP.js → mitt-BWKhoTz3.js} +796 -779
- package/dist/mitt-BWKhoTz3.js.br +0 -0
- package/dist/polyfill.js +4662 -13673
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-D-KvzqAy.js +1452 -0
- package/dist/sentry-D-KvzqAy.js.br +0 -0
- package/dist/{style-B31Ox_CN.js → style-B8UHQIzP.js} +50 -50
- package/dist/style-B8UHQIzP.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +11 -11
- package/dist/ActionField-CT_apby-.js.br +0 -0
- package/dist/AvailabilitySkeleton-CZ8yMhKx.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js +0 -8678
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-L3G7fjJr.js.br +0 -0
- package/dist/CheckoutWindow-B5_4BaaS.js.br +0 -0
- package/dist/ErrorMessage-M78h-mvR.js.br +0 -0
- package/dist/EventAvailabilityForm-HdD0h2K-.js.br +0 -0
- package/dist/Field-B8yANlQ6.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-rrYg4a8F.js.br +0 -0
- package/dist/TermsOfService-BJKKDCJG.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CyUM1wWD.js.br +0 -0
- package/dist/_commonjsHelpers-Dn7n5RRb.js +0 -2650
- package/dist/_commonjsHelpers-Dn7n5RRb.js.br +0 -0
- package/dist/_sentry-release-injection-file-gSWd_6hD.js.br +0 -0
- package/dist/giftCard-Baweqc3Y.js.br +0 -0
- package/dist/masonry.plugin-HPRfkQvp.js.br +0 -0
- package/dist/mitt-CayBWWiP.js.br +0 -0
- package/dist/style-B31Ox_CN.js.br +0 -0
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { d as I, r as S, c as
|
|
2
|
-
import { u as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { E as
|
|
1
|
+
import { d as I, r as S, c as r, o as D, a as s, b as c, w as u, S as T, e, f as v, g as M, n as h, h as _, t as A, u as f, F as B, i as g, T as P, p as N, j as F, k as H } from "./_sentry-release-injection-file-Bgn3HK9h.js";
|
|
2
|
+
import { u as V, c as $, l as j, i as z, m as K } from "./mitt-BWKhoTz3.js";
|
|
3
|
+
import { c as O } from "./sentry-D-KvzqAy.js";
|
|
4
|
+
import { u as U, C as q, _ as x } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js";
|
|
5
|
+
import { _ as J } from "./_.vue_vue_type_style_index_0_lang-C4mV4F7L.js";
|
|
6
|
+
import { H as Q, A as R } from "./AvailabilitySkeleton-CHDZOB_s.js";
|
|
7
|
+
import { E as W } from "./EventAvailabilityForm-CdmiDieo.js";
|
|
8
|
+
import { E as X } from "./ErrorMessage-Cc8QanBP.js";
|
|
8
9
|
(function() {
|
|
9
10
|
try {
|
|
10
|
-
var
|
|
11
|
-
|
|
11
|
+
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
12
|
+
n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "166e6e7d-96af-4783-9289-1763205034a8", t._sentryDebugIdIdentifier = "sentry-dbid-166e6e7d-96af-4783-9289-1763205034a8");
|
|
12
13
|
} catch {
|
|
13
14
|
}
|
|
14
15
|
})();
|
|
15
16
|
{
|
|
16
|
-
var
|
|
17
|
-
|
|
17
|
+
var p = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
18
|
+
p._sentryModuleMetadata = p._sentryModuleMetadata || {}, p._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
18
19
|
{},
|
|
19
|
-
|
|
20
|
+
p._sentryModuleMetadata[new Error().stack],
|
|
20
21
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
21
22
|
);
|
|
22
23
|
}
|
|
23
|
-
const
|
|
24
|
+
const Y = (t) => (N("data-v-014bccfe"), t = t(), F(), t), Z = { class: "konnectio-availability-module" }, G = { class: "konnectio-availability-navigation" }, ee = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "konnectio-availability-divider" }, null, -1)), te = { class: "konnectio-availability-search-form" }, ae = /* @__PURE__ */ I({
|
|
24
25
|
name: "AvailabilityLayout",
|
|
25
26
|
__name: "Availability",
|
|
26
27
|
props: {
|
|
@@ -32,64 +33,64 @@ const W = (a) => (P("data-v-014bccfe"), a = a(), z(), a), X = { class: "konnecti
|
|
|
32
33
|
hotelDisableDefaultLocation: { default: "no" },
|
|
33
34
|
styling: {}
|
|
34
35
|
},
|
|
35
|
-
setup(
|
|
36
|
-
const { t:
|
|
36
|
+
setup(t) {
|
|
37
|
+
const { t: n } = V(), { fetchMetadata: l } = U(), i = t, o = S(), L = r(() => !!i.hotelLink || !!i.eventLink), m = r(() => !!i.hotelLink && !!i.eventLink), y = r(() => o.value === "hotel"), k = r(() => o.value === "event"), b = (a) => o.value = a, E = r(() => ({
|
|
37
38
|
fontSize: "13px",
|
|
38
39
|
...i.styling
|
|
39
40
|
}));
|
|
40
41
|
return D(() => {
|
|
41
|
-
!i.hotelLink && i.eventLink ?
|
|
42
|
-
}), (
|
|
43
|
-
default:
|
|
44
|
-
|
|
45
|
-
default:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"access-token":
|
|
49
|
-
callback:
|
|
42
|
+
!i.hotelLink && i.eventLink ? o.value = "event" : o.value = "hotel";
|
|
43
|
+
}), (a, d) => (s(), c(q, { styling: E.value }, {
|
|
44
|
+
default: u(() => [
|
|
45
|
+
L.value ? (s(), c(T, { key: 0 }, {
|
|
46
|
+
default: u(() => [
|
|
47
|
+
e("div", null, [
|
|
48
|
+
v(J, {
|
|
49
|
+
"access-token": a.accessToken,
|
|
50
|
+
callback: f(l)
|
|
50
51
|
}, {
|
|
51
|
-
default:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
class:
|
|
59
|
-
onClick:
|
|
52
|
+
default: u(() => [
|
|
53
|
+
e("div", Z, [
|
|
54
|
+
m.value ? (s(), M(B, { key: 0 }, [
|
|
55
|
+
e("nav", G, [
|
|
56
|
+
e("ul", null, [
|
|
57
|
+
e("li", null, [
|
|
58
|
+
e("button", {
|
|
59
|
+
class: h({ active: y.value }),
|
|
60
|
+
onClick: d[0] || (d[0] = _((C) => b("hotel"), ["prevent"]))
|
|
60
61
|
}, [
|
|
61
|
-
|
|
62
|
+
e("span", null, A(f(n)("availability.hotel")), 1)
|
|
62
63
|
], 2)
|
|
63
64
|
]),
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
class:
|
|
67
|
-
onClick:
|
|
65
|
+
e("li", null, [
|
|
66
|
+
e("button", {
|
|
67
|
+
class: h({ active: k.value }),
|
|
68
|
+
onClick: d[1] || (d[1] = _((C) => b("event"), ["prevent"]))
|
|
68
69
|
}, [
|
|
69
|
-
|
|
70
|
+
e("span", null, A(f(n)("availability.events")), 1)
|
|
70
71
|
], 2)
|
|
71
72
|
])
|
|
72
73
|
])
|
|
73
74
|
]),
|
|
74
|
-
|
|
75
|
-
], 64)) :
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
ee
|
|
76
|
+
], 64)) : g("", !0),
|
|
77
|
+
e("div", te, [
|
|
78
|
+
v(P, {
|
|
78
79
|
name: "fade",
|
|
79
80
|
mode: "out-in",
|
|
80
81
|
appear: ""
|
|
81
82
|
}, {
|
|
82
|
-
default:
|
|
83
|
-
|
|
83
|
+
default: u(() => [
|
|
84
|
+
y.value ? (s(), c(Q, {
|
|
84
85
|
key: 0,
|
|
85
|
-
link:
|
|
86
|
-
"selected-location": Number(
|
|
87
|
-
"disable-default-location":
|
|
88
|
-
}, null, 8, ["link", "selected-location", "disable-default-location"])) :
|
|
86
|
+
link: a.hotelLink,
|
|
87
|
+
"selected-location": Number(a.hotelLocation),
|
|
88
|
+
"disable-default-location": a.hotelDisableDefaultLocation === "yes"
|
|
89
|
+
}, null, 8, ["link", "selected-location", "disable-default-location"])) : k.value ? (s(), c(W, {
|
|
89
90
|
key: 1,
|
|
90
|
-
link:
|
|
91
|
-
"selected-location": Number(
|
|
92
|
-
}, null, 8, ["link", "selected-location"])) :
|
|
91
|
+
link: a.eventLink,
|
|
92
|
+
"selected-location": Number(a.eventLocation)
|
|
93
|
+
}, null, 8, ["link", "selected-location"])) : g("", !0)
|
|
93
94
|
]),
|
|
94
95
|
_: 1
|
|
95
96
|
})
|
|
@@ -100,15 +101,15 @@ const W = (a) => (P("data-v-014bccfe"), a = a(), z(), a), X = { class: "konnecti
|
|
|
100
101
|
}, 8, ["access-token", "callback"])
|
|
101
102
|
])
|
|
102
103
|
]),
|
|
103
|
-
fallback:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
view:
|
|
104
|
+
fallback: u(() => [
|
|
105
|
+
e("div", null, [
|
|
106
|
+
v(R, {
|
|
107
|
+
view: m.value ? "both" : o.value
|
|
107
108
|
}, null, 8, ["view"])
|
|
108
109
|
])
|
|
109
110
|
]),
|
|
110
111
|
_: 1
|
|
111
|
-
})) : (
|
|
112
|
+
})) : (s(), c(X, {
|
|
112
113
|
key: 1,
|
|
113
114
|
title: "Unable to render Availability module",
|
|
114
115
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -118,7 +119,7 @@ const W = (a) => (P("data-v-014bccfe"), a = a(), z(), a), X = { class: "konnecti
|
|
|
118
119
|
_: 1
|
|
119
120
|
}, 8, ["styling"]));
|
|
120
121
|
}
|
|
121
|
-
}),
|
|
122
|
+
}), w = /* @__PURE__ */ x(ae, [["__scopeId", "data-v-014bccfe"]]), ne = $(), ie = K();
|
|
122
123
|
class oe extends HTMLElement {
|
|
123
124
|
vueApp;
|
|
124
125
|
constructor() {
|
|
@@ -128,22 +129,10 @@ class oe extends HTMLElement {
|
|
|
128
129
|
this.vueApp.unmount();
|
|
129
130
|
}
|
|
130
131
|
connectedCallback() {
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
const c = {};
|
|
136
|
-
for (const e of this.attributes) {
|
|
137
|
-
const s = e.name.split(".");
|
|
138
|
-
s.length > 1 && (c[s[0]] || (c[s[0]] = {}), c[s[0]][l(s[1])] = e.value);
|
|
139
|
-
}
|
|
140
|
-
for (const e of p) {
|
|
141
|
-
let n = this.attributes.getNamedItem(e)?.value;
|
|
142
|
-
c.hasOwnProperty(e) && (n = c[e]), y[e] = n;
|
|
143
|
-
}
|
|
144
|
-
this.vueApp = j(h, y), Z(this.vueApp), this.vueApp.provide("emitter", ne), this.vueApp.use(O), this.vueApp.use(ae);
|
|
145
|
-
const d = document.createElement("div");
|
|
146
|
-
this.vueApp.mount(d), this.appendChild(d.children[0]);
|
|
132
|
+
const n = j(w, this.attributes);
|
|
133
|
+
this.vueApp = H(w, n), O(this.vueApp), this.vueApp.provide("emitter", ie), this.vueApp.use(z), this.vueApp.use(ne);
|
|
134
|
+
const l = document.createElement("div");
|
|
135
|
+
this.vueApp.mount(l), this.appendChild(l.children[0]);
|
|
147
136
|
}
|
|
148
137
|
}
|
|
149
138
|
window.customElements.define("konnectio-availability", oe);
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/deep-link.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { c as
|
|
1
|
+
import { d as o, r as d, o as i, a as c, g as p, e as l, t as u, l as f, k as h } from "./_sentry-release-injection-file-Bgn3HK9h.js";
|
|
2
|
+
import { c as m, l as b, i as y, m as w } from "./mitt-BWKhoTz3.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
|
-
var
|
|
6
|
-
e && (
|
|
5
|
+
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
6
|
+
e && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[e] = "15c2dba2-be0f-4764-946b-6f3e619f78e6", n._sentryDebugIdIdentifier = "sentry-dbid-15c2dba2-be0f-4764-946b-6f3e619f78e6");
|
|
7
7
|
} catch {
|
|
8
8
|
}
|
|
9
9
|
})();
|
|
10
10
|
{
|
|
11
|
-
var
|
|
12
|
-
|
|
11
|
+
var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
+
a._sentryModuleMetadata = a._sentryModuleMetadata || {}, a._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
13
13
|
{},
|
|
14
|
-
|
|
14
|
+
a._sentryModuleMetadata[new Error().stack],
|
|
15
15
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
16
16
|
);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const k = ["href"], r = /* @__PURE__ */ o({
|
|
19
19
|
name: "KonnectioDeepLink",
|
|
20
20
|
__name: "DeepLink",
|
|
21
21
|
props: {
|
|
@@ -25,18 +25,18 @@ const E = ["href"], d = /* @__PURE__ */ f({
|
|
|
25
25
|
adults: {},
|
|
26
26
|
children: {}
|
|
27
27
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const e =
|
|
30
|
-
return
|
|
31
|
-
const
|
|
32
|
-
e.adults &&
|
|
33
|
-
}), (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
], 8,
|
|
28
|
+
setup(n) {
|
|
29
|
+
const e = n, t = d();
|
|
30
|
+
return i(() => {
|
|
31
|
+
const s = new URL(e.baseurl || location.href);
|
|
32
|
+
e.adults && s.searchParams.append("adults", e.adults), e.children && s.searchParams.append("children", e.children), t.value = s.href;
|
|
33
|
+
}), (s, A) => (c(), p("a", { href: t.value }, [
|
|
34
|
+
l("span", null, u(t.value), 1),
|
|
35
|
+
f(s.$slots, "content")
|
|
36
|
+
], 8, k));
|
|
37
37
|
}
|
|
38
|
-
}),
|
|
39
|
-
class
|
|
38
|
+
}), v = m(), _ = w();
|
|
39
|
+
class g extends HTMLElement {
|
|
40
40
|
vueApp;
|
|
41
41
|
constructor() {
|
|
42
42
|
super();
|
|
@@ -45,26 +45,14 @@ class L extends HTMLElement {
|
|
|
45
45
|
this.vueApp.unmount();
|
|
46
46
|
}
|
|
47
47
|
connectedCallback() {
|
|
48
|
-
const e =
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
const p = {};
|
|
53
|
-
for (const t of this.attributes) {
|
|
54
|
-
const r = t.name.split(".");
|
|
55
|
-
r.length > 1 && (p[r[0]] || (p[r[0]] = {}), p[r[0]][c(r[1])] = t.value);
|
|
56
|
-
}
|
|
57
|
-
for (const t of n) {
|
|
58
|
-
let a = this.attributes.getNamedItem(t)?.value;
|
|
59
|
-
p.hasOwnProperty(t) && (a = p[t]), l[t] = a;
|
|
60
|
-
}
|
|
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]);
|
|
48
|
+
const e = b(r, this.attributes);
|
|
49
|
+
this.vueApp = h(r, e), this.vueApp.provide("emitter", _), this.vueApp.use(y), this.vueApp.use(v);
|
|
50
|
+
const t = document.createElement("div");
|
|
51
|
+
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
64
52
|
}
|
|
65
53
|
}
|
|
66
|
-
window.customElements.define("konnectio-deep-link",
|
|
54
|
+
window.customElements.define("konnectio-deep-link", g);
|
|
67
55
|
export {
|
|
68
|
-
|
|
56
|
+
g as default
|
|
69
57
|
};
|
|
70
58
|
//# sourceMappingURL=deep-link.js.map
|
package/dist/deep-link.js.br
CHANGED
|
Binary file
|