@konnectio/core 4.0.56-rc50 → 4.0.56-rc52

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 (63) hide show
  1. package/dist/{ActionField-BQQitCzR.js → ActionField-DIdYUr4q.js} +13 -13
  2. package/dist/ActionField-DIdYUr4q.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-TZiNrJ8t.js → AvailabilitySkeleton-ZjKDUWD5.js} +31 -31
  4. package/dist/AvailabilitySkeleton-ZjKDUWD5.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js} +4 -4
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dv10C6pz.js.br +0 -0
  7. package/dist/{CheckoutWindow-DBBmXrsX.js → CheckoutWindow-DXyFRc3f.js} +14 -14
  8. package/dist/CheckoutWindow-DXyFRc3f.js.br +0 -0
  9. package/dist/{ErrorMessage-Dw-TLplp.js → ErrorMessage-CzmACL-t.js} +4 -4
  10. package/dist/ErrorMessage-CzmACL-t.js.br +0 -0
  11. package/dist/EventAvailabilityForm-B6_lpxim.js +452 -0
  12. package/dist/EventAvailabilityForm-B6_lpxim.js.br +0 -0
  13. package/dist/{Field-B4x3qSfU.js → Field-CDhrfFEj.js} +12 -12
  14. package/dist/Field-CDhrfFEj.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js} +1318 -1328
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js.br +0 -0
  17. package/dist/{TermsOfService-DLchxC08.js → TermsOfService-CV3L_dLg.js} +10 -10
  18. package/dist/TermsOfService-CV3L_dLg.js.br +0 -0
  19. package/dist/_-DsHpGwqH.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.js +68 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BdZjHOFy.js.br +0 -0
  22. package/dist/_commonjsHelpers-04Qj4xBt.js +9530 -0
  23. package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
  24. package/dist/availability.js +41 -41
  25. package/dist/availability.js.br +0 -0
  26. package/dist/deep-link.js +2 -2
  27. package/dist/event.js +156 -151
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +23 -22
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +58 -57
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-9uCMmY6r.js → giftCard-C8PqkLNd.js} +5 -5
  34. package/dist/giftCard-C8PqkLNd.js.br +0 -0
  35. package/dist/hotel.js +278 -274
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-C4-Uj22v.js → masonry.plugin-BZn5-UMi.js} +166 -166
  38. package/dist/masonry.plugin-BZn5-UMi.js.br +0 -0
  39. package/dist/polyfill.js +727 -725
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/sentry-BSHzssDu.js +18 -0
  42. package/dist/style.css +1 -1
  43. package/dist/style.css.br +0 -0
  44. package/dist/tracing-wxeFiHIa.js +2287 -0
  45. package/dist/tracing-wxeFiHIa.js.br +0 -0
  46. package/package.json +1 -1
  47. package/dist/ActionField-BQQitCzR.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-TZiNrJ8t.js.br +0 -0
  49. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js.br +0 -0
  50. package/dist/CheckoutWindow-DBBmXrsX.js.br +0 -0
  51. package/dist/ErrorMessage-Dw-TLplp.js.br +0 -0
  52. package/dist/EventAvailabilityForm-DimufYUP.js +0 -437
  53. package/dist/EventAvailabilityForm-DimufYUP.js.br +0 -0
  54. package/dist/Field-B4x3qSfU.js.br +0 -0
  55. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js.br +0 -0
  56. package/dist/TermsOfService-DLchxC08.js.br +0 -0
  57. package/dist/_-C7wxqlYk.js +0 -12
  58. package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js +0 -68
  59. package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js.br +0 -0
  60. package/dist/giftCard-9uCMmY6r.js.br +0 -0
  61. package/dist/masonry.plugin-C4-Uj22v.js.br +0 -0
  62. package/dist/tracing-Dm-FNj-F.js +0 -11807
  63. package/dist/tracing-Dm-FNj-F.js.br +0 -0
@@ -1,18 +1,18 @@
1
- import { d as C, r as E, c as k, h as I, o as p, b as d, w as v, S, g as a, f, a as T, n as A, i as _, t as g, u as h, F as N, e as L, T as B, p as D, j as M, k as z } from "./tracing-Dm-FNj-F.js";
2
- import { h as F, m as H, n as P, _ as V, o as j, p as O, q as $, t as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js";
3
- import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-BGyUJK1I.js";
4
- import { H as q, A as K } from "./AvailabilitySkeleton-TZiNrJ8t.js";
5
- import { E as G } from "./EventAvailabilityForm-DimufYUP.js";
6
- import { E as J } from "./ErrorMessage-Dw-TLplp.js";
1
+ import { d as C, r as E, c as k, h as I, o as p, b as d, w as v, S, g as a, f as y, a as T, n as A, i as _, t as g, u as h, F as N, e as L, T as B, p as D, j as M, k as z } from "./_commonjsHelpers-04Qj4xBt.js";
2
+ import { h as F, m as H, n as P, _ as V, o as j, p as O, q as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BJlxJLmO.js";
3
+ import { _ as U } from "./_.vue_vue_type_style_index_0_lang-BdZjHOFy.js";
4
+ import { H as Z, A as q } from "./AvailabilitySkeleton-ZjKDUWD5.js";
5
+ import { E as K } from "./EventAvailabilityForm-B6_lpxim.js";
6
+ import { E as G } from "./ErrorMessage-CzmACL-t.js";
7
7
  import "./deep-link.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] = "c471fc35-8865-4037-be5b-b6cd213dd347", n._sentryDebugIdIdentifier = "sentry-dbid-c471fc35-8865-4037-be5b-b6cd213dd347");
10
+ var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
11
+ i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "c5abc5db-da40-4143-8e50-2fdf3b9abd05", n._sentryDebugIdIdentifier = "sentry-dbid-c5abc5db-da40-4143-8e50-2fdf3b9abd05");
12
12
  } catch {
13
13
  }
14
14
  })();
15
- const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnectio-availability-module" }, W = { class: "konnectio-availability-navigation" }, X = /* @__PURE__ */ Q(() => /* @__PURE__ */ a("div", { class: "konnectio-availability-divider" }, null, -1)), Y = { class: "konnectio-availability-search-form" }, x = /* @__PURE__ */ C({
15
+ const J = (n) => (D("data-v-80b2a82c"), 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({
16
16
  name: "AvailabilityLayout",
17
17
  __name: "Availability",
18
18
  props: {
@@ -24,7 +24,7 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
24
24
  styling: {}
25
25
  },
26
26
  setup(n) {
27
- const { t: o } = F(), { fetchMetadata: r } = H(), s = n, l = E(), m = k(() => !!s.hotelLink || !!s.eventLink), c = k(() => !!s.hotelLink && !!s.eventLink), u = k(() => l.value === "hotel"), t = k(() => l.value === "event"), i = (e) => l.value = e;
27
+ const { t: i } = F(), { fetchMetadata: c } = H(), 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"), o = (e) => l.value = e;
28
28
  return I(() => {
29
29
  !s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
30
30
  }), (e, b) => (p(), d(P, { styling: e.styling }, {
@@ -32,47 +32,47 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
32
32
  m.value ? (p(), d(S, { key: 0 }, {
33
33
  default: v(() => [
34
34
  a("div", null, [
35
- f(Z, {
35
+ y(U, {
36
36
  "access-token": e.accessToken,
37
- callback: h(r)
37
+ callback: h(c)
38
38
  }, {
39
39
  default: v(() => [
40
- a("div", R, [
41
- c.value ? (p(), T(N, { key: 0 }, [
42
- a("nav", W, [
40
+ a("div", Q, [
41
+ r.value ? (p(), T(N, { key: 0 }, [
42
+ a("nav", R, [
43
43
  a("ul", null, [
44
44
  a("li", null, [
45
45
  a("button", {
46
46
  class: A({ active: u.value }),
47
- onClick: b[0] || (b[0] = _((w) => i("hotel"), ["prevent"]))
47
+ onClick: b[0] || (b[0] = _((w) => o("hotel"), ["prevent"]))
48
48
  }, [
49
- a("span", null, g(h(o)("availability.hotel")), 1)
49
+ a("span", null, g(h(i)("availability.hotel")), 1)
50
50
  ], 2)
51
51
  ]),
52
52
  a("li", null, [
53
53
  a("button", {
54
54
  class: A({ active: t.value }),
55
- onClick: b[1] || (b[1] = _((w) => i("event"), ["prevent"]))
55
+ onClick: b[1] || (b[1] = _((w) => o("event"), ["prevent"]))
56
56
  }, [
57
- a("span", null, g(h(o)("availability.events")), 1)
57
+ a("span", null, g(h(i)("availability.events")), 1)
58
58
  ], 2)
59
59
  ])
60
60
  ])
61
61
  ]),
62
- X
62
+ W
63
63
  ], 64)) : L("", !0),
64
- a("div", Y, [
65
- f(B, {
64
+ a("div", X, [
65
+ y(B, {
66
66
  name: "fade",
67
67
  mode: "out-in",
68
68
  appear: ""
69
69
  }, {
70
70
  default: v(() => [
71
- u.value ? (p(), d(q, {
71
+ u.value ? (p(), d(Z, {
72
72
  key: 0,
73
73
  link: e.hotelLink,
74
74
  "selected-location": Number(e.hotelLocation)
75
- }, null, 8, ["link", "selected-location"])) : t.value ? (p(), d(G, {
75
+ }, null, 8, ["link", "selected-location"])) : t.value ? (p(), d(K, {
76
76
  key: 1,
77
77
  link: e.eventLink,
78
78
  "selected-location": Number(e.eventLocation)
@@ -89,13 +89,13 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
89
89
  ]),
90
90
  fallback: v(() => [
91
91
  a("div", null, [
92
- f(K, {
93
- view: c.value ? "both" : l.value
92
+ y(q, {
93
+ view: r.value ? "both" : l.value
94
94
  }, null, 8, ["view"])
95
95
  ])
96
96
  ]),
97
97
  _: 1
98
- })) : (p(), d(J, {
98
+ })) : (p(), d(G, {
99
99
  key: 1,
100
100
  title: "Unable to render Availability module",
101
101
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -105,8 +105,8 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
105
105
  _: 1
106
106
  }, 8, ["styling"]));
107
107
  }
108
- }), y = /* @__PURE__ */ V(x, [["__scopeId", "data-v-80b2a82c"]]), ee = j(), te = U();
109
- class ae extends HTMLElement {
108
+ }), f = /* @__PURE__ */ V(Y, [["__scopeId", "data-v-80b2a82c"]]), x = j(), ee = $();
109
+ class te extends HTMLElement {
110
110
  vueApp;
111
111
  constructor() {
112
112
  super();
@@ -115,26 +115,26 @@ class ae extends HTMLElement {
115
115
  this.vueApp.unmount();
116
116
  }
117
117
  connectedCallback() {
118
- const o = typeof y == "function" ? y.options : y;
119
- let r = 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
- r = r.map(s);
122
- const c = {};
118
+ const i = typeof f == "function" ? f.options : f;
119
+ let c = Array.isArray(i.props) ? i.props : Object.keys(i.props || {});
120
+ const s = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, e) => (e ? "-" : "") + o.toLowerCase()), l = (t) => t.replace(/-./g, (o) => o[1].toUpperCase()), m = {};
121
+ c = c.map(s);
122
+ const r = {};
123
123
  for (const t of this.attributes) {
124
124
  const e = t.name.split(".");
125
- e.length > 1 && (c[e[0]] || (c[e[0]] = {}), c[e[0]][l(e[1])] = t.value);
125
+ e.length > 1 && (r[e[0]] || (r[e[0]] = {}), r[e[0]][l(e[1])] = t.value);
126
126
  }
127
- for (const t of r) {
128
- let i = this.attributes.getNamedItem(t)?.value;
129
- c.hasOwnProperty(t) && (i = c[t]), m[t] = i;
127
+ for (const t of c) {
128
+ let o = this.attributes.getNamedItem(t)?.value;
129
+ r.hasOwnProperty(t) && (o = r[t]), m[t] = o;
130
130
  }
131
- this.vueApp = z(y, m), O(this.vueApp), this.vueApp.provide("emitter", te), this.vueApp.use($), this.vueApp.use(ee);
131
+ this.vueApp = z(f, m), this.vueApp.provide("emitter", ee), this.vueApp.use(O), this.vueApp.use(x);
132
132
  const u = document.createElement("div");
133
133
  this.vueApp.mount(u), this.appendChild(u.children[0]);
134
134
  }
135
135
  }
136
- window.customElements.define("konnectio-availability", ae);
136
+ window.customElements.define("konnectio-availability", te);
137
137
  export {
138
- ae as default
138
+ te as default
139
139
  };
140
140
  //# sourceMappingURL=availability.js.map
Binary file
package/dist/deep-link.js CHANGED
@@ -1,10 +1,10 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
4
- d && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[d] = "7a4b9d2c-f459-44b8-a330-df245568b914", e._sentryDebugIdIdentifier = "sentry-dbid-7a4b9d2c-f459-44b8-a330-df245568b914");
4
+ d && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[d] = "4d862a13-67aa-4528-893e-2b85d6b096a6", e._sentryDebugIdIdentifier = "sentry-dbid-4d862a13-67aa-4528-893e-2b85d6b096a6");
5
5
  } catch {
6
6
  }
7
7
  })();
8
8
  var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
- n.SENTRY_RELEASE = { id: "konnectio@4.0.56-rc50" };
9
+ n.SENTRY_RELEASE = { id: "konnectio@4.0.56-rc52" };
10
10
  //# sourceMappingURL=deep-link.js.map