@konnectio/core 4.0.56-rc45 → 4.0.56-rc47

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-DgGRyzyW.js → ActionField-Ck8cxR78.js} +10 -10
  2. package/dist/ActionField-Ck8cxR78.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-D_svZV0K.js → AvailabilitySkeleton-C_OWp8Fq.js} +61 -61
  4. package/dist/AvailabilitySkeleton-C_OWp8Fq.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js +7814 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br +0 -0
  7. package/dist/{CheckoutWindow-B85nPXcN.js → CheckoutWindow-DcaNMI9K.js} +14 -14
  8. package/dist/CheckoutWindow-DcaNMI9K.js.br +0 -0
  9. package/dist/{ErrorMessage-hoBbvZJL.js → ErrorMessage-DH5q_ieB.js} +4 -4
  10. package/dist/ErrorMessage-DH5q_ieB.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CqiuFIoF.js → EventAvailabilityForm-DphCQOMO.js} +115 -116
  12. package/dist/EventAvailabilityForm-DphCQOMO.js.br +0 -0
  13. package/dist/{Field-Crk3SejD.js → Field-Dg8W7a_X.js} +8 -8
  14. package/dist/Field-Dg8W7a_X.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js} +3187 -3187
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.br +0 -0
  17. package/dist/{TermsOfService-CIIPZAIU.js → TermsOfService-DenzWB_O.js} +10 -10
  18. package/dist/TermsOfService-DenzWB_O.js.br +0 -0
  19. package/dist/_-DgexTosT.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js +68 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.br +0 -0
  22. package/dist/_commonjsHelpers-ytV6SVHa.js +9541 -0
  23. package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
  24. package/dist/availability.js +56 -55
  25. package/dist/availability.js.br +0 -0
  26. package/dist/event.js +164 -159
  27. package/dist/event.js.br +0 -0
  28. package/dist/gift-card-validation.js +19 -18
  29. package/dist/gift-card-validation.js.br +0 -0
  30. package/dist/gift-card.js +138 -138
  31. package/dist/gift-card.js.br +0 -0
  32. package/dist/{giftCard-CeKChSm1.js → giftCard-BpIUm5ol.js} +6 -6
  33. package/dist/giftCard-BpIUm5ol.js.br +0 -0
  34. package/dist/hotel.js +820 -815
  35. package/dist/hotel.js.br +0 -0
  36. package/dist/{masonry.plugin-CKLroL2Q.js → masonry.plugin-Bo5QRvUz.js} +3425 -3408
  37. package/dist/masonry.plugin-Bo5QRvUz.js.br +0 -0
  38. package/dist/navigation.js +3 -3
  39. package/dist/polyfill.js +3994 -3991
  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-wxeFiHIa.js +2287 -0
  45. package/dist/tracing-wxeFiHIa.js.br +0 -0
  46. package/package.json +7 -7
  47. package/dist/ActionField-DgGRyzyW.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-D_svZV0K.js.br +0 -0
  49. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js +0 -7746
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js.br +0 -0
  51. package/dist/CheckoutWindow-B85nPXcN.js.br +0 -0
  52. package/dist/ErrorMessage-hoBbvZJL.js.br +0 -0
  53. package/dist/EventAvailabilityForm-CqiuFIoF.js.br +0 -0
  54. package/dist/Field-Crk3SejD.js.br +0 -0
  55. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js.br +0 -0
  56. package/dist/TermsOfService-CIIPZAIU.js.br +0 -0
  57. package/dist/_-DuaWvsgR.js +0 -12
  58. package/dist/_.vue_vue_type_style_index_0_lang-MG6OWZHv.js +0 -71
  59. package/dist/_.vue_vue_type_style_index_0_lang-MG6OWZHv.js.br +0 -0
  60. package/dist/_commonjsHelpers-CbB_C6Ai.js +0 -11816
  61. package/dist/_commonjsHelpers-CbB_C6Ai.js.br +0 -0
  62. package/dist/giftCard-CeKChSm1.js.br +0 -0
  63. package/dist/masonry.plugin-CKLroL2Q.js.br +0 -0
@@ -1,18 +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 n, 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-CbB_C6Ai.js";
2
- import { h as F, m as H, n as P, _ as V, o as $, p as j, q as O, t as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js";
3
- import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-MG6OWZHv.js";
4
- import { H as q, A as K } from "./AvailabilitySkeleton-D_svZV0K.js";
5
- import { E as G } from "./EventAvailabilityForm-CqiuFIoF.js";
6
- import { E as J } from "./ErrorMessage-hoBbvZJL.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-DxwVk__I.js";
3
+ import { c as U } from "./sentry-D1A53_C5.js";
4
+ import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
5
+ import { H as q, A as K } from "./AvailabilitySkeleton-C_OWp8Fq.js";
6
+ import { E as G } from "./EventAvailabilityForm-DphCQOMO.js";
7
+ import { E as J } from "./ErrorMessage-DH5q_ieB.js";
7
8
  import "./navigation.js";
8
9
  (function() {
9
10
  try {
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] = "6743376f-d781-4bdc-8dc9-d4ce7f6241e7", a._sentryDebugIdIdentifier = "sentry-dbid-6743376f-d781-4bdc-8dc9-d4ce7f6241e7");
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] = "ae2ba670-e23a-4c5b-bf09-6bf3ba253f8b", n._sentryDebugIdIdentifier = "sentry-dbid-ae2ba670-e23a-4c5b-bf09-6bf3ba253f8b");
12
13
  } catch {
13
14
  }
14
15
  })();
15
- const Q = (a) => (B("data-v-cfc258d3"), a = a(), D(), a), R = { class: "konnectio-availability-module" }, W = { class: "konnectio-availability-navigation" }, X = /* @__PURE__ */ Q(() => /* @__PURE__ */ n("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({
16
17
  name: "AvailabilityLayout",
17
18
  __name: "Availability",
18
19
  props: {
@@ -23,60 +24,60 @@ const Q = (a) => (B("data-v-cfc258d3"), a = a(), D(), a), R = { class: "konnecti
23
24
  hotelLocation: {},
24
25
  styling: {}
25
26
  },
26
- setup(a) {
27
- const { t: i } = F(), { fetchMetadata: c } = H(), s = a, 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;
27
+ setup(n) {
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;
28
29
  return I(() => {
29
30
  !s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
30
- }), (e, p) => (u(), v(P, { styling: e.styling }, {
31
- default: m(() => [
32
- f.value ? (u(), v(S, { key: 0 }, {
33
- default: m(() => [
34
- n("div", null, [
35
- b(Z, {
31
+ }), (e, m) => (p(), v(P, { styling: e.styling }, {
32
+ default: d(() => [
33
+ b.value ? (p(), v(S, { key: 0 }, {
34
+ default: d(() => [
35
+ a("div", null, [
36
+ y(Z, {
36
37
  "access-token": e.accessToken,
37
- onMetadata: p[2] || (p[2] = (A) => h(c)())
38
+ callback: h(c)
38
39
  }, {
39
- default: m(() => [
40
- n("div", R, [
41
- r.value ? (u(), T(M, { key: 0 }, [
42
- n("nav", W, [
43
- n("ul", null, [
44
- n("li", null, [
45
- n("button", {
46
- class: g({ active: d.value }),
47
- onClick: p[0] || (p[0] = L((A) => o("hotel"), ["prevent"]))
40
+ default: d(() => [
41
+ a("div", R, [
42
+ r.value ? (p(), T(N, { key: 0 }, [
43
+ a("nav", W, [
44
+ a("ul", null, [
45
+ a("li", null, [
46
+ a("button", {
47
+ class: A({ active: u.value }),
48
+ onClick: m[0] || (m[0] = _((w) => o("hotel"), ["prevent"]))
48
49
  }, [
49
- n("span", null, _(h(i)("availability.hotel")), 1)
50
+ a("span", null, g(h(i)("availability.hotel")), 1)
50
51
  ], 2)
51
52
  ]),
52
- n("li", null, [
53
- n("button", {
54
- class: g({ active: t.value }),
55
- onClick: p[1] || (p[1] = L((A) => o("event"), ["prevent"]))
53
+ a("li", null, [
54
+ a("button", {
55
+ class: A({ active: t.value }),
56
+ onClick: m[1] || (m[1] = _((w) => o("event"), ["prevent"]))
56
57
  }, [
57
- n("span", null, _(h(i)("availability.events")), 1)
58
+ a("span", null, g(h(i)("availability.events")), 1)
58
59
  ], 2)
59
60
  ])
60
61
  ])
61
62
  ]),
62
63
  X
63
- ], 64)) : w("", !0),
64
- n("div", Y, [
65
- b(N, {
64
+ ], 64)) : L("", !0),
65
+ a("div", Y, [
66
+ y(B, {
66
67
  name: "fade",
67
68
  mode: "out-in",
68
69
  appear: ""
69
70
  }, {
70
- default: m(() => [
71
- d.value ? (u(), v(q, {
71
+ default: d(() => [
72
+ u.value ? (p(), v(q, {
72
73
  key: 0,
73
74
  link: e.hotelLink,
74
75
  "selected-location": Number(e.hotelLocation)
75
- }, null, 8, ["link", "selected-location"])) : t.value ? (u(), v(G, {
76
+ }, null, 8, ["link", "selected-location"])) : t.value ? (p(), v(G, {
76
77
  key: 1,
77
78
  link: e.eventLink,
78
79
  "selected-location": Number(e.eventLocation)
79
- }, null, 8, ["link", "selected-location"])) : w("", !0)
80
+ }, null, 8, ["link", "selected-location"])) : L("", !0)
80
81
  ]),
81
82
  _: 1
82
83
  })
@@ -84,18 +85,18 @@ const Q = (a) => (B("data-v-cfc258d3"), a = a(), D(), a), R = { class: "konnecti
84
85
  ])
85
86
  ]),
86
87
  _: 1
87
- }, 8, ["access-token"])
88
+ }, 8, ["access-token", "callback"])
88
89
  ])
89
90
  ]),
90
- fallback: m(() => [
91
- n("div", null, [
92
- b(K, {
91
+ fallback: d(() => [
92
+ a("div", null, [
93
+ y(K, {
93
94
  view: r.value ? "both" : l.value
94
95
  }, null, 8, ["view"])
95
96
  ])
96
97
  ]),
97
98
  _: 1
98
- })) : (u(), v(J, {
99
+ })) : (p(), v(J, {
99
100
  key: 1,
100
101
  title: "Unable to render Availability module",
101
102
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -105,8 +106,8 @@ const Q = (a) => (B("data-v-cfc258d3"), a = a(), D(), a), R = { class: "konnecti
105
106
  _: 1
106
107
  }, 8, ["styling"]));
107
108
  }
108
- }), y = /* @__PURE__ */ V(x, [["__scopeId", "data-v-cfc258d3"]]), ee = $(), te = U();
109
- class ne extends HTMLElement {
109
+ }), k = /* @__PURE__ */ V(x, [["__scopeId", "data-v-80b2a82c"]]), ee = j(), te = $();
110
+ class ae extends HTMLElement {
110
111
  vueApp;
111
112
  constructor() {
112
113
  super();
@@ -115,9 +116,9 @@ class ne extends HTMLElement {
115
116
  this.vueApp.unmount();
116
117
  }
117
118
  connectedCallback() {
118
- const i = typeof y == "function" ? y.options : y;
119
+ const i = typeof k == "function" ? k.options : k;
119
120
  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()), 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 = {};
121
122
  c = c.map(s);
122
123
  const r = {};
123
124
  for (const t of this.attributes) {
@@ -126,15 +127,15 @@ class ne extends HTMLElement {
126
127
  }
127
128
  for (const t of c) {
128
129
  let o = this.attributes.getNamedItem(t)?.value;
129
- r.hasOwnProperty(t) && (o = r[t]), f[t] = o;
130
+ r.hasOwnProperty(t) && (o = r[t]), b[t] = o;
130
131
  }
131
- this.vueApp = z(y, f), j(this.vueApp), this.vueApp.provide("emitter", te), this.vueApp.use(O), this.vueApp.use(ee);
132
- const d = document.createElement("div");
133
- 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]);
134
135
  }
135
136
  }
136
- window.customElements.define("konnectio-availability", ne);
137
+ window.customElements.define("konnectio-availability", ae);
137
138
  export {
138
- ne as default
139
+ ae as default
139
140
  };
140
141
  //# sourceMappingURL=availability.js.map
Binary file