@konnectio/core 4.0.56-rc44 → 4.0.56-rc46

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-Djfp-835.js → ActionField-l77AHDt_.js} +10 -10
  2. package/dist/ActionField-l77AHDt_.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DDFsTOcT.js → AvailabilitySkeleton-6QuYlrqw.js} +53 -53
  4. package/dist/AvailabilitySkeleton-6QuYlrqw.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js +7814 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js.br +0 -0
  7. package/dist/{CheckoutWindow-CNEuNkIt.js → CheckoutWindow-CNF_LAo6.js} +4 -4
  8. package/dist/CheckoutWindow-CNF_LAo6.js.br +0 -0
  9. package/dist/{ErrorMessage-bD3z1ENc.js → ErrorMessage-B0Hm-dJ0.js} +4 -4
  10. package/dist/ErrorMessage-B0Hm-dJ0.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BJ6gzh6V.js → EventAvailabilityForm-BfhYKChb.js} +77 -78
  12. package/dist/EventAvailabilityForm-BfhYKChb.js.br +0 -0
  13. package/dist/{Field-BflvstOX.js → Field-BJ8nOhMT.js} +8 -8
  14. package/dist/Field-BJ8nOhMT.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js} +2382 -2376
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js.br +0 -0
  17. package/dist/TermsOfService-f7DfHbk2.js +35 -0
  18. package/dist/TermsOfService-f7DfHbk2.js.br +0 -0
  19. package/dist/{_-DuCIctjS.js → _-CaC826yR.js} +2 -2
  20. package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js +68 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js.br +0 -0
  22. package/dist/{_commonjsHelpers-BnQF6Gki.js → _commonjsHelpers-ytV6SVHa.js} +2025 -2027
  23. package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
  24. package/dist/availability.js +41 -41
  25. package/dist/availability.js.br +0 -0
  26. package/dist/event.js +100 -99
  27. package/dist/event.js.br +0 -0
  28. package/dist/gift-card-validation.js +25 -25
  29. package/dist/gift-card-validation.js.br +0 -0
  30. package/dist/gift-card.js +130 -131
  31. package/dist/gift-card.js.br +0 -0
  32. package/dist/{giftCard-CWyKVevn.js → giftCard-DhbT2_l0.js} +6 -6
  33. package/dist/giftCard-DhbT2_l0.js.br +0 -0
  34. package/dist/hotel.js +275 -274
  35. package/dist/hotel.js.br +0 -0
  36. package/dist/{masonry.plugin-CttzlASt.js → masonry.plugin-CVpZ_aQu.js} +3386 -3355
  37. package/dist/masonry.plugin-CVpZ_aQu.js.br +0 -0
  38. package/dist/navigation.js +2 -2
  39. package/dist/polyfill.js +3830 -3828
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/sentry-D1A53_C5.js +18 -0
  42. package/dist/style.css +1 -1
  43. package/dist/style.css.br +0 -0
  44. package/dist/{tracing-wnoA9-xG.js → tracing-wxeFiHIa.js} +3 -3
  45. package/dist/tracing-wxeFiHIa.js.br +0 -0
  46. package/package.json +8 -8
  47. package/dist/ActionField-Djfp-835.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-DDFsTOcT.js.br +0 -0
  49. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js +0 -7746
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js.br +0 -0
  51. package/dist/CheckoutWindow-CNEuNkIt.js.br +0 -0
  52. package/dist/ErrorMessage-bD3z1ENc.js.br +0 -0
  53. package/dist/EventAvailabilityForm-BJ6gzh6V.js.br +0 -0
  54. package/dist/Field-BflvstOX.js.br +0 -0
  55. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js.br +0 -0
  56. package/dist/TermsOfService-CgTw1PTk.js +0 -35
  57. package/dist/TermsOfService-CgTw1PTk.js.br +0 -0
  58. package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js +0 -71
  59. package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js.br +0 -0
  60. package/dist/_commonjsHelpers-BnQF6Gki.js.br +0 -0
  61. package/dist/giftCard-CWyKVevn.js.br +0 -0
  62. package/dist/masonry.plugin-CttzlASt.js.br +0 -0
  63. package/dist/sentry-6-6DYT4Z.js +0 -18
  64. package/dist/tracing-wnoA9-xG.js.br +0 -0
@@ -1,19 +1,19 @@
1
- import { d as C, r as E, c as k, h as I, o as u, b as v, w as m, S, g as a, f as b, a as T, n as g, i as L, t as _, u as h, F as M, e as w, T as N, p as B, j as D, k as z } from "./_commonjsHelpers-BnQF6Gki.js";
2
- import { h as F, m as H, n as P, _ as V, o as $, p as j, q as O } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js";
3
- import { c as U } from "./sentry-6-6DYT4Z.js";
4
- import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-C_NfK1xz.js";
5
- import { H as q, A as K } from "./AvailabilitySkeleton-DDFsTOcT.js";
6
- import { E as G } from "./EventAvailabilityForm-BJ6gzh6V.js";
7
- import { E as J } from "./ErrorMessage-bD3z1ENc.js";
1
+ import { d as C, r as E, c as f, h as I, o as p, b as v, w as d, 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-ytV6SVHa.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-eIGiZxmD.js";
3
+ import { c as U } from "./sentry-D1A53_C5.js";
4
+ import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-BLztxup-.js";
5
+ import { H as q, A as K } from "./AvailabilitySkeleton-6QuYlrqw.js";
6
+ import { E as G } from "./EventAvailabilityForm-BfhYKChb.js";
7
+ import { E as J } from "./ErrorMessage-B0Hm-dJ0.js";
8
8
  import "./navigation.js";
9
9
  (function() {
10
10
  try {
11
11
  var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
12
- i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "92a10b5c-f466-4390-b303-39a85c54a9aa", n._sentryDebugIdIdentifier = "sentry-dbid-92a10b5c-f466-4390-b303-39a85c54a9aa");
12
+ i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "ae2ba670-e23a-4c5b-bf09-6bf3ba253f8b", n._sentryDebugIdIdentifier = "sentry-dbid-ae2ba670-e23a-4c5b-bf09-6bf3ba253f8b");
13
13
  } catch {
14
14
  }
15
15
  })();
16
- const Q = (n) => (B("data-v-cfc258d3"), n = n(), D(), 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({
16
+ 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({
17
17
  name: "AvailabilityLayout",
18
18
  __name: "Availability",
19
19
  props: {
@@ -25,59 +25,59 @@ const Q = (n) => (B("data-v-cfc258d3"), n = n(), D(), n), R = { class: "konnecti
25
25
  styling: {}
26
26
  },
27
27
  setup(n) {
28
- const { t: i } = F(), { fetchMetadata: c } = H(), s = n, l = E(), f = k(() => !!s.hotelLink || !!s.eventLink), r = k(() => !!s.hotelLink && !!s.eventLink), d = k(() => l.value === "hotel"), t = k(() => l.value === "event"), o = (e) => l.value = e;
28
+ const { t: i } = F(), { fetchMetadata: c } = H(), s = n, l = E(), b = f(() => !!s.hotelLink || !!s.eventLink), r = f(() => !!s.hotelLink && !!s.eventLink), u = f(() => l.value === "hotel"), t = f(() => l.value === "event"), o = (e) => l.value = e;
29
29
  return I(() => {
30
30
  !s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
31
- }), (e, p) => (u(), v(P, { styling: e.styling }, {
32
- default: m(() => [
33
- f.value ? (u(), v(S, { key: 0 }, {
34
- default: m(() => [
31
+ }), (e, m) => (p(), v(P, { styling: e.styling }, {
32
+ default: d(() => [
33
+ b.value ? (p(), v(S, { key: 0 }, {
34
+ default: d(() => [
35
35
  a("div", null, [
36
- b(Z, {
36
+ y(Z, {
37
37
  "access-token": e.accessToken,
38
- onMetadata: p[2] || (p[2] = (A) => h(c)())
38
+ callback: h(c)
39
39
  }, {
40
- default: m(() => [
40
+ default: d(() => [
41
41
  a("div", R, [
42
- r.value ? (u(), T(M, { key: 0 }, [
42
+ r.value ? (p(), T(N, { key: 0 }, [
43
43
  a("nav", W, [
44
44
  a("ul", null, [
45
45
  a("li", null, [
46
46
  a("button", {
47
- class: g({ active: d.value }),
48
- onClick: p[0] || (p[0] = L((A) => o("hotel"), ["prevent"]))
47
+ class: A({ active: u.value }),
48
+ onClick: m[0] || (m[0] = _((w) => o("hotel"), ["prevent"]))
49
49
  }, [
50
- a("span", null, _(h(i)("availability.hotel")), 1)
50
+ a("span", null, g(h(i)("availability.hotel")), 1)
51
51
  ], 2)
52
52
  ]),
53
53
  a("li", null, [
54
54
  a("button", {
55
- class: g({ active: t.value }),
56
- onClick: p[1] || (p[1] = L((A) => o("event"), ["prevent"]))
55
+ class: A({ active: t.value }),
56
+ onClick: m[1] || (m[1] = _((w) => o("event"), ["prevent"]))
57
57
  }, [
58
- a("span", null, _(h(i)("availability.events")), 1)
58
+ a("span", null, g(h(i)("availability.events")), 1)
59
59
  ], 2)
60
60
  ])
61
61
  ])
62
62
  ]),
63
63
  X
64
- ], 64)) : w("", !0),
64
+ ], 64)) : L("", !0),
65
65
  a("div", Y, [
66
- b(N, {
66
+ y(B, {
67
67
  name: "fade",
68
68
  mode: "out-in",
69
69
  appear: ""
70
70
  }, {
71
- default: m(() => [
72
- d.value ? (u(), v(q, {
71
+ default: d(() => [
72
+ u.value ? (p(), v(q, {
73
73
  key: 0,
74
74
  link: e.hotelLink,
75
75
  "selected-location": Number(e.hotelLocation)
76
- }, null, 8, ["link", "selected-location"])) : t.value ? (u(), v(G, {
76
+ }, null, 8, ["link", "selected-location"])) : t.value ? (p(), v(G, {
77
77
  key: 1,
78
78
  link: e.eventLink,
79
79
  "selected-location": Number(e.eventLocation)
80
- }, null, 8, ["link", "selected-location"])) : w("", !0)
80
+ }, null, 8, ["link", "selected-location"])) : L("", !0)
81
81
  ]),
82
82
  _: 1
83
83
  })
@@ -85,18 +85,18 @@ const Q = (n) => (B("data-v-cfc258d3"), n = n(), D(), n), R = { class: "konnecti
85
85
  ])
86
86
  ]),
87
87
  _: 1
88
- }, 8, ["access-token"])
88
+ }, 8, ["access-token", "callback"])
89
89
  ])
90
90
  ]),
91
- fallback: m(() => [
91
+ fallback: d(() => [
92
92
  a("div", null, [
93
- b(K, {
93
+ y(K, {
94
94
  view: r.value ? "both" : l.value
95
95
  }, null, 8, ["view"])
96
96
  ])
97
97
  ]),
98
98
  _: 1
99
- })) : (u(), v(J, {
99
+ })) : (p(), v(J, {
100
100
  key: 1,
101
101
  title: "Unable to render Availability module",
102
102
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -106,7 +106,7 @@ const Q = (n) => (B("data-v-cfc258d3"), n = n(), D(), n), R = { class: "konnecti
106
106
  _: 1
107
107
  }, 8, ["styling"]));
108
108
  }
109
- }), y = /* @__PURE__ */ V(x, [["__scopeId", "data-v-cfc258d3"]]), ee = $(), te = O();
109
+ }), k = /* @__PURE__ */ V(x, [["__scopeId", "data-v-80b2a82c"]]), ee = j(), te = $();
110
110
  class ae extends HTMLElement {
111
111
  vueApp;
112
112
  constructor() {
@@ -116,9 +116,9 @@ class ae extends HTMLElement {
116
116
  this.vueApp.unmount();
117
117
  }
118
118
  connectedCallback() {
119
- const i = typeof y == "function" ? y.options : y;
119
+ const i = typeof k == "function" ? k.options : k;
120
120
  let c = Array.isArray(i.props) ? i.props : Object.keys(i.props || {});
121
- 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()), f = {};
121
+ 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()), b = {};
122
122
  c = c.map(s);
123
123
  const r = {};
124
124
  for (const t of this.attributes) {
@@ -127,11 +127,11 @@ class ae extends HTMLElement {
127
127
  }
128
128
  for (const t of c) {
129
129
  let o = this.attributes.getNamedItem(t)?.value;
130
- r.hasOwnProperty(t) && (o = r[t]), f[t] = o;
130
+ r.hasOwnProperty(t) && (o = r[t]), b[t] = o;
131
131
  }
132
- this.vueApp = z(y, f), U(this.vueApp), this.vueApp.provide("emitter", te), this.vueApp.use(j), this.vueApp.use(ee);
133
- const d = document.createElement("div");
134
- this.vueApp.mount(d), this.appendChild(d.children[0]);
132
+ this.vueApp = z(k, b), U(this.vueApp), this.vueApp.provide("emitter", te), this.vueApp.use(O), this.vueApp.use(ee);
133
+ const u = document.createElement("div");
134
+ this.vueApp.mount(u), this.appendChild(u.children[0]);
135
135
  }
136
136
  }
137
137
  window.customElements.define("konnectio-availability", ae);
Binary file