@konnectio/core 4.0.56-rc55 → 4.0.56-rc56

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 (71) hide show
  1. package/dist/{ActionField-BAL1bpnL.js → ActionField-D2cIxYLO.js} +12 -12
  2. package/dist/ActionField-D2cIxYLO.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BX61UaDK.js → AvailabilitySkeleton-fSj-D3gr.js} +50 -49
  4. package/dist/AvailabilitySkeleton-fSj-D3gr.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js +8174 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js.br +0 -0
  7. package/dist/{CheckoutWindow-DufEgcza.js → CheckoutWindow-DDFex8_M.js} +242 -233
  8. package/dist/CheckoutWindow-DDFex8_M.js.br +0 -0
  9. package/dist/{ErrorMessage-CbGOS1Nq.js → ErrorMessage-BxEkmAcA.js} +4 -4
  10. package/dist/ErrorMessage-BxEkmAcA.js.br +0 -0
  11. package/dist/EventAvailabilityForm-Bh21jXV0.js +120 -0
  12. package/dist/EventAvailabilityForm-Bh21jXV0.js.br +0 -0
  13. package/dist/{Field-flvSuRTL.js → Field-C1-c1E69.js} +9 -9
  14. package/dist/Field-C1-c1E69.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js +18603 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js.br +0 -0
  17. package/dist/TermsOfService-Cf3uVbvE.js +36 -0
  18. package/dist/TermsOfService-Cf3uVbvE.js.br +0 -0
  19. package/dist/{_-Wr8LhfrM.js → _-DpyfRShv.js} +3 -3
  20. package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js +69 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js.br +0 -0
  22. package/dist/_commonjsHelpers-7Ka-lrVJ.js +17 -0
  23. package/dist/_sentry-release-injection-file-BwRPXfCP.js +11186 -0
  24. package/dist/_sentry-release-injection-file-BwRPXfCP.js.br +0 -0
  25. package/dist/availability.js +24 -24
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +56 -4
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +316 -300
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +32 -33
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +87 -88
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/giftCard-D4D0qX4c.js +134 -0
  36. package/dist/giftCard-D4D0qX4c.js.br +0 -0
  37. package/dist/hotel.js +211 -211
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-BMRfOcVe.js → masonry.plugin-BJrxifpp.js} +3352 -3334
  40. package/dist/masonry.plugin-BJrxifpp.js.br +0 -0
  41. package/dist/mitt-CKlYOuwf.js +4290 -0
  42. package/dist/mitt-CKlYOuwf.js.br +0 -0
  43. package/dist/polyfill.js +4523 -4515
  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-wxeFiHIa.js → tracing-NLDFmjvp.js} +3 -3
  48. package/dist/tracing-NLDFmjvp.js.br +0 -0
  49. package/package.json +8 -8
  50. package/dist/ActionField-BAL1bpnL.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-BX61UaDK.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js +0 -7814
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js.br +0 -0
  54. package/dist/CheckoutWindow-DufEgcza.js.br +0 -0
  55. package/dist/ErrorMessage-CbGOS1Nq.js.br +0 -0
  56. package/dist/EventAvailabilityForm-CO2Vt9WR.js +0 -452
  57. package/dist/EventAvailabilityForm-CO2Vt9WR.js.br +0 -0
  58. package/dist/Field-flvSuRTL.js.br +0 -0
  59. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js +0 -21414
  60. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js.br +0 -0
  61. package/dist/TermsOfService-ZtJSXzfs.js +0 -35
  62. package/dist/TermsOfService-ZtJSXzfs.js.br +0 -0
  63. package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js +0 -68
  64. package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js.br +0 -0
  65. package/dist/_commonjsHelpers-04Qj4xBt.js +0 -9530
  66. package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
  67. package/dist/giftCard-DHP_enh5.js +0 -127
  68. package/dist/giftCard-DHP_enh5.js.br +0 -0
  69. package/dist/masonry.plugin-BMRfOcVe.js.br +0 -0
  70. package/dist/sentry-BSHzssDu.js +0 -18
  71. package/dist/tracing-wxeFiHIa.js.br +0 -0
@@ -1,14 +1,14 @@
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-BtVEfiNz.js";
3
- import { _ as U } from "./_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js";
4
- import { H as Z, A as q } from "./AvailabilitySkeleton-BX61UaDK.js";
5
- import { E as K } from "./EventAvailabilityForm-CO2Vt9WR.js";
6
- import { E as G } from "./ErrorMessage-CbGOS1Nq.js";
7
- import "./deep-link.js";
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-BwRPXfCP.js";
2
+ import { u as F, c as H, i as P, m as V } from "./mitt-CKlYOuwf.js";
3
+ import { u as j, C as O, _ as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js";
4
+ import { _ as U } from "./_.vue_vue_type_style_index_0_lang-DoCplqzK.js";
5
+ import { H as Z, A as K } from "./AvailabilitySkeleton-fSj-D3gr.js";
6
+ import { E as q } from "./EventAvailabilityForm-Bh21jXV0.js";
7
+ import { E as G } from "./ErrorMessage-BxEkmAcA.js";
8
8
  (function() {
9
9
  try {
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");
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] = "e8f2ef33-d8d2-4d24-8f91-15baede420d8", n._sentryDebugIdIdentifier = "sentry-dbid-e8f2ef33-d8d2-4d24-8f91-15baede420d8");
12
12
  } catch {
13
13
  }
14
14
  })();
@@ -24,10 +24,10 @@ const J = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), Q = { class: "konnecti
24
24
  styling: {}
25
25
  },
26
26
  setup(n) {
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;
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
28
  return I(() => {
29
29
  !s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
30
- }), (e, b) => (p(), d(P, { styling: e.styling }, {
30
+ }), (e, f) => (p(), d(O, { styling: e.styling }, {
31
31
  default: v(() => [
32
32
  m.value ? (p(), d(S, { key: 0 }, {
33
33
  default: v(() => [
@@ -44,17 +44,17 @@ const J = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), Q = { class: "konnecti
44
44
  a("li", null, [
45
45
  a("button", {
46
46
  class: A({ active: u.value }),
47
- onClick: b[0] || (b[0] = _((w) => o("hotel"), ["prevent"]))
47
+ onClick: f[0] || (f[0] = _((w) => i("hotel"), ["prevent"]))
48
48
  }, [
49
- a("span", null, g(h(i)("availability.hotel")), 1)
49
+ a("span", null, g(h(o)("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) => o("event"), ["prevent"]))
55
+ onClick: f[1] || (f[1] = _((w) => i("event"), ["prevent"]))
56
56
  }, [
57
- a("span", null, g(h(i)("availability.events")), 1)
57
+ a("span", null, g(h(o)("availability.events")), 1)
58
58
  ], 2)
59
59
  ])
60
60
  ])
@@ -72,7 +72,7 @@ const J = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), Q = { class: "konnecti
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(K, {
75
+ }, null, 8, ["link", "selected-location"])) : t.value ? (p(), d(q, {
76
76
  key: 1,
77
77
  link: e.eventLink,
78
78
  "selected-location": Number(e.eventLocation)
@@ -89,7 +89,7 @@ const J = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), Q = { class: "konnecti
89
89
  ]),
90
90
  fallback: v(() => [
91
91
  a("div", null, [
92
- y(q, {
92
+ y(K, {
93
93
  view: r.value ? "both" : l.value
94
94
  }, null, 8, ["view"])
95
95
  ])
@@ -105,7 +105,7 @@ const J = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), Q = { class: "konnecti
105
105
  _: 1
106
106
  }, 8, ["styling"]));
107
107
  }
108
- }), f = /* @__PURE__ */ V(Y, [["__scopeId", "data-v-80b2a82c"]]), x = j(), ee = $();
108
+ }), b = /* @__PURE__ */ $(Y, [["__scopeId", "data-v-80b2a82c"]]), x = H(), ee = V();
109
109
  class te extends HTMLElement {
110
110
  vueApp;
111
111
  constructor() {
@@ -115,9 +115,9 @@ class te extends HTMLElement {
115
115
  this.vueApp.unmount();
116
116
  }
117
117
  connectedCallback() {
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 = {};
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
121
  c = c.map(s);
122
122
  const r = {};
123
123
  for (const t of this.attributes) {
@@ -125,10 +125,10 @@ class te extends HTMLElement {
125
125
  e.length > 1 && (r[e[0]] || (r[e[0]] = {}), r[e[0]][l(e[1])] = t.value);
126
126
  }
127
127
  for (const t of c) {
128
- let o = this.attributes.getNamedItem(t)?.value;
129
- r.hasOwnProperty(t) && (o = r[t]), m[t] = o;
128
+ let i = this.attributes.getNamedItem(t)?.value;
129
+ r.hasOwnProperty(t) && (i = r[t]), m[t] = i;
130
130
  }
131
- this.vueApp = z(f, m), this.vueApp.provide("emitter", ee), this.vueApp.use(O), this.vueApp.use(x);
131
+ this.vueApp = z(b, m), this.vueApp.provide("emitter", ee), this.vueApp.use(P), this.vueApp.use(x);
132
132
  const u = document.createElement("div");
133
133
  this.vueApp.mount(u), this.appendChild(u.children[0]);
134
134
  }
Binary file
package/dist/deep-link.js CHANGED
@@ -1,10 +1,62 @@
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-BwRPXfCP.js";
2
+ import { c as g, i as w, m as _ } from "./mitt-CKlYOuwf.js";
1
3
  (function() {
2
4
  try {
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] = "dd08947b-e8ec-404c-8001-18bd52717b69", e._sentryDebugIdIdentifier = "sentry-dbid-dd08947b-e8ec-404c-8001-18bd52717b69");
5
+ var s = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
6
+ e && (s._sentryDebugIds = s._sentryDebugIds || {}, s._sentryDebugIds[e] = "1a03256b-eba5-40c4-9a81-1544f5d42f91", s._sentryDebugIdIdentifier = "sentry-dbid-1a03256b-eba5-40c4-9a81-1544f5d42f91");
5
7
  } catch {
6
8
  }
7
9
  })();
8
- var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
- n.SENTRY_RELEASE = { id: "konnectio@4.0.56-rc55" };
10
+ const i = /* @__PURE__ */ u({
11
+ name: "KonnectioDeepLink",
12
+ __name: "DeepLink",
13
+ props: {
14
+ baseurl: {},
15
+ ids: {},
16
+ hotelId: {},
17
+ adults: {},
18
+ children: {}
19
+ },
20
+ setup(s) {
21
+ const e = s, n = f();
22
+ return m(() => {
23
+ const a = new URL(e.baseurl || location.href);
24
+ e.adults && a.searchParams.append("adults", e.adults), e.children && a.searchParams.append("children", e.children), n.value = a.href;
25
+ }), (a, c) => (h(), b("div", null, [
26
+ v("span", null, y(n.value), 1),
27
+ k(a.$slots, "content")
28
+ ]));
29
+ }
30
+ }), C = g(), D = _();
31
+ class I extends HTMLElement {
32
+ vueApp;
33
+ constructor() {
34
+ super();
35
+ }
36
+ disconnectedCallback() {
37
+ this.vueApp.unmount();
38
+ }
39
+ connectedCallback() {
40
+ const e = typeof i == "function" ? i.options : i;
41
+ let n = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
42
+ const a = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, r) => (r ? "-" : "") + o.toLowerCase()), c = (t) => t.replace(/-./g, (o) => o[1].toUpperCase()), l = {};
43
+ n = n.map(a);
44
+ const p = {};
45
+ for (const t of this.attributes) {
46
+ const r = t.name.split(".");
47
+ r.length > 1 && (p[r[0]] || (p[r[0]] = {}), p[r[0]][c(r[1])] = t.value);
48
+ }
49
+ for (const t of n) {
50
+ let o = this.attributes.getNamedItem(t)?.value;
51
+ p.hasOwnProperty(t) && (o = p[t]), l[t] = o;
52
+ }
53
+ this.vueApp = A(i, l), this.vueApp.provide("emitter", D), this.vueApp.use(w), this.vueApp.use(C);
54
+ const d = document.createElement("div");
55
+ this.vueApp.mount(d), this.appendChild(d.children[0]);
56
+ }
57
+ }
58
+ window.customElements.define("konnectio-deep-link", I);
59
+ export {
60
+ I as default
61
+ };
10
62
  //# sourceMappingURL=deep-link.js.map
Binary file