@konnectio/core 4.0.61 → 4.0.62

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 (67) hide show
  1. package/dist/{ActionField-BXj6PfYZ.js → ActionField-8uyqR4s2.js} +4 -4
  2. package/dist/ActionField-8uyqR4s2.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BLnNIU9-.js → AvailabilitySkeleton-DR0TlG1c.js} +17 -17
  4. package/dist/AvailabilitySkeleton-DR0TlG1c.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CUMQhXcI.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js} +2695 -2695
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js.br +0 -0
  7. package/dist/{CheckoutWindow-DLuBkYGS.js → CheckoutWindow-b6nqgL-q.js} +5 -5
  8. package/dist/CheckoutWindow-b6nqgL-q.js.br +0 -0
  9. package/dist/{ErrorMessage-Cy1scjLu.js → ErrorMessage-CTB9P7th.js} +3 -3
  10. package/dist/ErrorMessage-CTB9P7th.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DPs8I6AR.js → EventAvailabilityForm-Dz_XUv-P.js} +12 -12
  12. package/dist/EventAvailabilityForm-Dz_XUv-P.js.br +0 -0
  13. package/dist/{Field-53ZoaiDU.js → Field-D74LzwJ5.js} +3 -3
  14. package/dist/Field-D74LzwJ5.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js} +1299 -1293
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js.br +0 -0
  17. package/dist/TermsOfService-BWi7ax17.js +36 -0
  18. package/dist/TermsOfService-BWi7ax17.js.br +0 -0
  19. package/dist/{_-CBiS4A4B.js → _-D5EdBcrp.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CukAL2Kn.js → _.vue_vue_type_style_index_0_lang-DXnzUVHn.js} +9 -9
  21. package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js.br +0 -0
  22. package/dist/_commonjsHelpers-DZ_3pocK.js +2590 -0
  23. package/dist/_commonjsHelpers-DZ_3pocK.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-CE-HFIuO.js → _sentry-release-injection-file-gnd2S326.js} +3 -3
  25. package/dist/_sentry-release-injection-file-gnd2S326.js.br +0 -0
  26. package/dist/availability.js +43 -43
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +2 -2
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +460 -467
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +36 -36
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +104 -104
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-DxfwOj4W.js → giftCard-Dl1tPQsP.js} +13 -13
  37. package/dist/giftCard-Dl1tPQsP.js.br +0 -0
  38. package/dist/hotel.js +585 -597
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-DTj3FRoF.js → masonry.plugin-BNjra0SH.js} +3203 -3137
  41. package/dist/masonry.plugin-BNjra0SH.js.br +0 -0
  42. package/dist/{mitt-BI4s3zkK.js → mitt-B7XZkC8D.js} +2 -2
  43. package/dist/mitt-B7XZkC8D.js.br +0 -0
  44. package/dist/polyfill.js +14496 -16958
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-DoXJRC4t.js → style-lYuGbuqk.js} +2 -2
  47. package/dist/style-lYuGbuqk.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +12 -12
  51. package/dist/ActionField-BXj6PfYZ.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-BLnNIU9-.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CUMQhXcI.js.br +0 -0
  54. package/dist/CheckoutWindow-DLuBkYGS.js.br +0 -0
  55. package/dist/ErrorMessage-Cy1scjLu.js.br +0 -0
  56. package/dist/EventAvailabilityForm-DPs8I6AR.js.br +0 -0
  57. package/dist/Field-53ZoaiDU.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js.br +0 -0
  59. package/dist/TermsOfService-lYI4Wr0J.js +0 -36
  60. package/dist/TermsOfService-lYI4Wr0J.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-CukAL2Kn.js.br +0 -0
  62. package/dist/_commonjsHelpers-5UvwmKmn.js +0 -17
  63. package/dist/_sentry-release-injection-file-CE-HFIuO.js.br +0 -0
  64. package/dist/giftCard-DxfwOj4W.js.br +0 -0
  65. package/dist/masonry.plugin-DTj3FRoF.js.br +0 -0
  66. package/dist/mitt-BI4s3zkK.js.br +0 -0
  67. package/dist/style-DoXJRC4t.js.br +0 -0
@@ -7,7 +7,7 @@
7
7
  (function() {
8
8
  try {
9
9
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
10
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4f2cb725-2006-452d-8db6-69e330771504", e._sentryDebugIdIdentifier = "sentry-dbid-4f2cb725-2006-452d-8db6-69e330771504");
10
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8f220607-7815-4e41-976d-a348a71e2f20", e._sentryDebugIdIdentifier = "sentry-dbid-8f220607-7815-4e41-976d-a348a71e2f20");
11
11
  } catch {
12
12
  }
13
13
  })();
@@ -9413,7 +9413,7 @@ function Km(e, t) {
9413
9413
  }
9414
9414
  Zc(Km);
9415
9415
  var qm = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9416
- qm.SENTRY_RELEASE = { id: "konnectio@4.0.61" };
9416
+ qm.SENTRY_RELEASE = { id: "konnectio@4.0.62" };
9417
9417
  export {
9418
9418
  ac as $,
9419
9419
  Yu as A,
@@ -9491,4 +9491,4 @@ export {
9491
9491
  Dd as y,
9492
9492
  Ln as z
9493
9493
  };
9494
- //# sourceMappingURL=_sentry-release-injection-file-CE-HFIuO.js.map
9494
+ //# sourceMappingURL=_sentry-release-injection-file-gnd2S326.js.map
@@ -1,18 +1,18 @@
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-CE-HFIuO.js";
2
- import { u as F, c as H, i as V, m as j } from "./mitt-BI4s3zkK.js";
3
- import { u as O, C as $, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DigDTbcx.js";
4
- import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-CukAL2Kn.js";
5
- import { H as x, A as K } from "./AvailabilitySkeleton-BLnNIU9-.js";
6
- import { E as q } from "./EventAvailabilityForm-DPs8I6AR.js";
7
- import { E as G } from "./ErrorMessage-Cy1scjLu.js";
1
+ import { d as E, r as I, c as v, o as S, a as u, b as m, w as f, 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-gnd2S326.js";
2
+ import { u as F, c as H, i as V, m as j } from "./mitt-B7XZkC8D.js";
3
+ import { u as O, C as $, _ as U, c as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js";
4
+ import { _ as x } from "./_.vue_vue_type_style_index_0_lang-DXnzUVHn.js";
5
+ import { H as K, A as q } from "./AvailabilitySkeleton-DR0TlG1c.js";
6
+ import { E as G } from "./EventAvailabilityForm-Dz_XUv-P.js";
7
+ import { E as J } from "./ErrorMessage-CTB9P7th.js";
8
8
  (function() {
9
9
  try {
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");
10
+ var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
11
+ i && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[i] = "ad0e92c2-c7f2-484d-9f87-033ec2c01338", a._sentryDebugIdIdentifier = "sentry-dbid-ad0e92c2-c7f2-484d-9f87-033ec2c01338");
12
12
  } catch {
13
13
  }
14
14
  })();
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({
15
+ const Q = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), R = { class: "konnectio-availability-module" }, W = { class: "konnectio-availability-navigation" }, X = /* @__PURE__ */ Q(() => /* @__PURE__ */ t("div", { class: "konnectio-availability-divider" }, null, -1)), Y = { class: "konnectio-availability-search-form" }, ee = /* @__PURE__ */ E({
16
16
  name: "AvailabilityLayout",
17
17
  __name: "Availability",
18
18
  props: {
@@ -24,58 +24,58 @@ const J = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), Q = { class: "konnecti
24
24
  styling: {}
25
25
  },
26
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(() => ({
27
+ const { t: i } = F(), { fetchMetadata: p } = O(), o = a, l = I(), k = v(() => !!o.hotelLink || !!o.eventLink), c = v(() => !!o.hotelLink && !!o.eventLink), d = v(() => l.value === "hotel"), e = v(() => l.value === "event"), n = (r) => l.value = r, s = v(() => ({
28
28
  fontSize: "13px",
29
- ...i.styling
29
+ ...o.styling
30
30
  }));
31
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(() => [
32
+ !o.hotelLink && o.eventLink ? l.value = "event" : l.value = "hotel";
33
+ }), (r, b) => (u(), m($, { styling: s.value }, {
34
+ default: f(() => [
35
+ k.value ? (u(), m(T, { key: 0 }, {
36
+ default: f(() => [
37
37
  t("div", null, [
38
- h(Z, {
38
+ h(x, {
39
39
  "access-token": r.accessToken,
40
40
  callback: A(p)
41
41
  }, {
42
- default: b(() => [
43
- t("div", Q, [
42
+ default: f(() => [
43
+ t("div", R, [
44
44
  c.value ? (u(), N(z, { key: 0 }, [
45
- t("nav", R, [
45
+ t("nav", W, [
46
46
  t("ul", null, [
47
47
  t("li", null, [
48
48
  t("button", {
49
49
  class: _({ active: d.value }),
50
- onClick: k[0] || (k[0] = g((C) => n("hotel"), ["prevent"]))
50
+ onClick: b[0] || (b[0] = g((C) => n("hotel"), ["prevent"]))
51
51
  }, [
52
- t("span", null, L(A(o)("availability.hotel")), 1)
52
+ t("span", null, L(A(i)("availability.hotel")), 1)
53
53
  ], 2)
54
54
  ]),
55
55
  t("li", null, [
56
56
  t("button", {
57
57
  class: _({ active: e.value }),
58
- onClick: k[1] || (k[1] = g((C) => n("event"), ["prevent"]))
58
+ onClick: b[1] || (b[1] = g((C) => n("event"), ["prevent"]))
59
59
  }, [
60
- t("span", null, L(A(o)("availability.events")), 1)
60
+ t("span", null, L(A(i)("availability.events")), 1)
61
61
  ], 2)
62
62
  ])
63
63
  ])
64
64
  ]),
65
- W
65
+ X
66
66
  ], 64)) : w("", !0),
67
- t("div", X, [
67
+ t("div", Y, [
68
68
  h(B, {
69
69
  name: "fade",
70
70
  mode: "out-in",
71
71
  appear: ""
72
72
  }, {
73
- default: b(() => [
74
- d.value ? (u(), m(x, {
73
+ default: f(() => [
74
+ d.value ? (u(), m(K, {
75
75
  key: 0,
76
76
  link: r.hotelLink,
77
77
  "selected-location": Number(r.hotelLocation)
78
- }, null, 8, ["link", "selected-location"])) : e.value ? (u(), m(q, {
78
+ }, null, 8, ["link", "selected-location"])) : e.value ? (u(), m(G, {
79
79
  key: 1,
80
80
  link: r.eventLink,
81
81
  "selected-location": Number(r.eventLocation)
@@ -90,15 +90,15 @@ const J = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), Q = { class: "konnecti
90
90
  }, 8, ["access-token", "callback"])
91
91
  ])
92
92
  ]),
93
- fallback: b(() => [
93
+ fallback: f(() => [
94
94
  t("div", null, [
95
- h(K, {
95
+ h(q, {
96
96
  view: c.value ? "both" : l.value
97
97
  }, null, 8, ["view"])
98
98
  ])
99
99
  ]),
100
100
  _: 1
101
- })) : (u(), m(G, {
101
+ })) : (u(), m(J, {
102
102
  key: 1,
103
103
  title: "Unable to render Availability module",
104
104
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -108,8 +108,8 @@ const J = (a) => (D("data-v-7bdb795c"), a = a(), M(), a), Q = { class: "konnecti
108
108
  _: 1
109
109
  }, 8, ["styling"]));
110
110
  }
111
- }), y = /* @__PURE__ */ U(Y, [["__scopeId", "data-v-7bdb795c"]]), ee = H(), te = j();
112
- class ae extends HTMLElement {
111
+ }), y = /* @__PURE__ */ U(ee, [["__scopeId", "data-v-7bdb795c"]]), te = H(), ae = j();
112
+ class ne extends HTMLElement {
113
113
  vueApp;
114
114
  constructor() {
115
115
  super();
@@ -118,10 +118,10 @@ class ae extends HTMLElement {
118
118
  this.vueApp.unmount();
119
119
  }
120
120
  connectedCallback() {
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);
121
+ const i = typeof y == "function" ? y.options : y;
122
+ let p = Array.isArray(i.props) ? i.props : Object.keys(i.props || {});
123
+ const o = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, s) => (s ? "-" : "") + n.toLowerCase()), l = (e) => e.replace(/-./g, (n) => n[1].toUpperCase()), k = {};
124
+ p = p.map(o);
125
125
  const c = {};
126
126
  for (const e of this.attributes) {
127
127
  const s = e.name.split(".");
@@ -129,15 +129,15 @@ class ae extends HTMLElement {
129
129
  }
130
130
  for (const e of p) {
131
131
  let n = this.attributes.getNamedItem(e)?.value;
132
- c.hasOwnProperty(e) && (n = c[e]), f[e] = n;
132
+ c.hasOwnProperty(e) && (n = c[e]), k[e] = n;
133
133
  }
134
- this.vueApp = P(y, f), this.vueApp.provide("emitter", te), this.vueApp.use(V), this.vueApp.use(ee);
134
+ this.vueApp = P(y, k), Z(this.vueApp), this.vueApp.provide("emitter", ae), this.vueApp.use(V), this.vueApp.use(te);
135
135
  const d = document.createElement("div");
136
136
  this.vueApp.mount(d), this.appendChild(d.children[0]);
137
137
  }
138
138
  }
139
- window.customElements.define("konnectio-availability", ae);
139
+ window.customElements.define("konnectio-availability", ne);
140
140
  export {
141
- ae as default
141
+ ne as default
142
142
  };
143
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-CE-HFIuO.js";
2
- import { c as g, i as w, m as _ } from "./mitt-BI4s3zkK.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-gnd2S326.js";
2
+ import { c as g, i as w, m as _ } from "./mitt-B7XZkC8D.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