@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.
Files changed (64) hide show
  1. package/dist/{ActionField-BsgBhqwb.js → ActionField-SljqGQe4.js} +3 -3
  2. package/dist/ActionField-SljqGQe4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BCiyhi6I.js → AvailabilitySkeleton-VxFPbzvu.js} +6 -6
  4. package/dist/AvailabilitySkeleton-VxFPbzvu.js.br +0 -0
  5. 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
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js.br +0 -0
  7. package/dist/{CheckoutWindow-COyV5n05.js → CheckoutWindow-BsR9w1sU.js} +4 -4
  8. package/dist/CheckoutWindow-BsR9w1sU.js.br +0 -0
  9. package/dist/{ErrorMessage-Bqmjetwk.js → ErrorMessage-Bv8Sjw4c.js} +3 -3
  10. package/dist/ErrorMessage-Bv8Sjw4c.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CnfdAPBG.js → EventAvailabilityForm-Cjn9eC1i.js} +5 -5
  12. package/dist/EventAvailabilityForm-Cjn9eC1i.js.br +0 -0
  13. package/dist/{Field-8j4srvwh.js → Field-Dv-tx0DG.js} +3 -3
  14. package/dist/Field-Dv-tx0DG.js.br +0 -0
  15. 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
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js.br +0 -0
  17. package/dist/{TermsOfService-DzB0damA.js → TermsOfService-DudxcmqT.js} +5 -5
  18. package/dist/TermsOfService-DudxcmqT.js.br +0 -0
  19. package/dist/{_-BtSFcDLj.js → _-3oY9YKKN.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-zf2i08XL.js → _.vue_vue_type_style_index_0_lang-Cm6NL02H.js} +5 -5
  21. package/dist/_.vue_vue_type_style_index_0_lang-Cm6NL02H.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DzP9V0uJ.js → _commonjsHelpers-BljBhQM7.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-fvkcFI33.js → _sentry-release-injection-file-D0NAFAC9.js} +3327 -3253
  24. package/dist/_sentry-release-injection-file-D0NAFAC9.js.br +0 -0
  25. package/dist/availability.js +74 -71
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +195 -195
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +8 -8
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +9 -9
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-DbcQz3eJ.js → giftCard-vxErFkoV.js} +12 -12
  36. package/dist/giftCard-vxErFkoV.js.br +0 -0
  37. package/dist/hotel.js +94 -94
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-BX1LxkhS.js → masonry.plugin-BKhDyXyM.js} +1317 -1328
  40. package/dist/masonry.plugin-BKhDyXyM.js.br +0 -0
  41. package/dist/{mitt-l8QPdH4v.js → mitt-bU37KQKU.js} +6 -7
  42. package/dist/mitt-bU37KQKU.js.br +0 -0
  43. package/dist/polyfill.js +9 -10
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/dist/{tracing-z3gaNes7.js → tracing-CMlyHB3J.js} +5 -5
  48. package/dist/tracing-CMlyHB3J.js.br +0 -0
  49. package/package.json +1 -1
  50. package/dist/ActionField-BsgBhqwb.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-BCiyhi6I.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js.br +0 -0
  53. package/dist/CheckoutWindow-COyV5n05.js.br +0 -0
  54. package/dist/ErrorMessage-Bqmjetwk.js.br +0 -0
  55. package/dist/EventAvailabilityForm-CnfdAPBG.js.br +0 -0
  56. package/dist/Field-8j4srvwh.js.br +0 -0
  57. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js.br +0 -0
  58. package/dist/TermsOfService-DzB0damA.js.br +0 -0
  59. package/dist/_.vue_vue_type_style_index_0_lang-zf2i08XL.js.br +0 -0
  60. package/dist/_sentry-release-injection-file-fvkcFI33.js.br +0 -0
  61. package/dist/giftCard-DbcQz3eJ.js.br +0 -0
  62. package/dist/masonry.plugin-BX1LxkhS.js.br +0 -0
  63. package/dist/mitt-l8QPdH4v.js.br +0 -0
  64. package/dist/tracing-z3gaNes7.js.br +0 -0
@@ -1,18 +1,18 @@
1
- import { d as C, r as E, c as k, o as I, a as p, b as d, w as v, S, e as a, f as y, g as T, n as A, h as _, t as g, u as h, F as N, i as L, T as B, p as D, j as M, k as z } from "./_sentry-release-injection-file-fvkcFI33.js";
2
- import { u as F, c as H, i as P, m as V } from "./mitt-l8QPdH4v.js";
3
- import { u as j, C as O, _ as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js";
4
- import { _ as U } from "./_.vue_vue_type_style_index_0_lang-zf2i08XL.js";
5
- import { H as Z, A as K } from "./AvailabilitySkeleton-BCiyhi6I.js";
6
- import { E as q } from "./EventAvailabilityForm-CnfdAPBG.js";
7
- import { E as G } from "./ErrorMessage-Bqmjetwk.js";
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 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] = "ffe8096c-348e-45dd-90ff-f660175a62ab", n._sentryDebugIdIdentifier = "sentry-dbid-ffe8096c-348e-45dd-90ff-f660175a62ab");
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 = (n) => (D("data-v-8d2b340e"), 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({
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(n) {
27
- const { t: o } = F(), { fetchMetadata: c } = j(), 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"), i = (e) => l.value = e;
28
- return I(() => {
29
- !s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
30
- }), (e, f) => (p(), d(O, { styling: e.styling }, {
31
- default: v(() => [
32
- m.value ? (p(), d(S, { key: 0 }, {
33
- default: v(() => [
34
- a("div", null, [
35
- y(U, {
36
- "access-token": e.accessToken,
37
- callback: h(c)
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: v(() => [
40
- a("div", Q, [
41
- r.value ? (p(), T(N, { key: 0 }, [
42
- a("nav", R, [
43
- a("ul", null, [
44
- a("li", null, [
45
- a("button", {
46
- class: A({ active: u.value }),
47
- onClick: f[0] || (f[0] = _((w) => i("hotel"), ["prevent"]))
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
- a("span", null, g(h(o)("availability.hotel")), 1)
52
+ t("span", null, L(A(o)("availability.hotel")), 1)
50
53
  ], 2)
51
54
  ]),
52
- a("li", null, [
53
- a("button", {
54
- class: A({ active: t.value }),
55
- onClick: f[1] || (f[1] = _((w) => i("event"), ["prevent"]))
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
- a("span", null, g(h(o)("availability.events")), 1)
60
+ t("span", null, L(A(o)("availability.events")), 1)
58
61
  ], 2)
59
62
  ])
60
63
  ])
61
64
  ]),
62
65
  W
63
- ], 64)) : L("", !0),
64
- a("div", X, [
65
- y(B, {
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: v(() => [
71
- u.value ? (p(), d(Z, {
73
+ default: b(() => [
74
+ d.value ? (u(), m(x, {
72
75
  key: 0,
73
- link: e.hotelLink,
74
- "selected-location": Number(e.hotelLocation)
75
- }, null, 8, ["link", "selected-location"])) : t.value ? (p(), d(q, {
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: e.eventLink,
78
- "selected-location": Number(e.eventLocation)
79
- }, null, 8, ["link", "selected-location"])) : L("", !0)
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: v(() => [
91
- a("div", null, [
92
- y(K, {
93
- view: r.value ? "both" : l.value
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
- })) : (p(), d(G, {
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
- }), b = /* @__PURE__ */ $(Y, [["__scopeId", "data-v-8d2b340e"]]), x = H(), ee = V();
109
- class te extends HTMLElement {
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 b == "function" ? b.options : b;
119
- let c = Array.isArray(o.props) ? o.props : Object.keys(o.props || {});
120
- const s = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (i, e) => (e ? "-" : "") + i.toLowerCase()), l = (t) => t.replace(/-./g, (i) => i[1].toUpperCase()), m = {};
121
- c = c.map(s);
122
- const r = {};
123
- for (const t of this.attributes) {
124
- const e = t.name.split(".");
125
- e.length > 1 && (r[e[0]] || (r[e[0]] = {}), r[e[0]][l(e[1])] = t.value);
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 t of c) {
128
- let i = this.attributes.getNamedItem(t)?.value;
129
- r.hasOwnProperty(t) && (i = r[t]), m[t] = i;
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 = z(b, m), this.vueApp.provide("emitter", ee), this.vueApp.use(P), this.vueApp.use(x);
132
- const u = document.createElement("div");
133
- this.vueApp.mount(u), this.appendChild(u.children[0]);
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", te);
139
+ window.customElements.define("konnectio-availability", ae);
137
140
  export {
138
- te as default
141
+ ae as default
139
142
  };
140
143
  //# sourceMappingURL=availability.js.map
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-fvkcFI33.js";
2
- import { c as g, i as w, m as _ } from "./mitt-l8QPdH4v.js";
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;
Binary file