@konnectio/core 4.0.56-rc47 → 4.0.56-rc49

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 (61) hide show
  1. package/dist/{ActionField-Ck8cxR78.js → ActionField-B9sCmWFD.js} +11 -11
  2. package/dist/ActionField-B9sCmWFD.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-C_OWp8Fq.js → AvailabilitySkeleton-sGz2nSbb.js} +35 -35
  4. package/dist/AvailabilitySkeleton-sGz2nSbb.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js} +4 -4
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js.br +0 -0
  7. package/dist/{CheckoutWindow-DcaNMI9K.js → CheckoutWindow-CrzoIK1a.js} +14 -14
  8. package/dist/CheckoutWindow-CrzoIK1a.js.br +0 -0
  9. package/dist/{ErrorMessage-DH5q_ieB.js → ErrorMessage-SZPwCpu-.js} +4 -4
  10. package/dist/ErrorMessage-SZPwCpu-.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DphCQOMO.js → EventAvailabilityForm-DFuang-b.js} +138 -138
  12. package/dist/EventAvailabilityForm-DFuang-b.js.br +0 -0
  13. package/dist/{Field-Dg8W7a_X.js → Field-CLXqVSAA.js} +12 -12
  14. package/dist/Field-CLXqVSAA.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js} +2151 -2132
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js.br +0 -0
  17. package/dist/{TermsOfService-DenzWB_O.js → TermsOfService-DBwm3BP2.js} +7 -7
  18. package/dist/TermsOfService-DBwm3BP2.js.br +0 -0
  19. package/dist/_-BOjhcjBA.js +12 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-VOXCSp8f.js → _.vue_vue_type_style_index_0_lang-BNx_Z1PF.js} +11 -11
  21. package/dist/_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js.br +0 -0
  22. package/dist/availability.js +40 -41
  23. package/dist/availability.js.br +0 -0
  24. package/dist/event.js +155 -153
  25. package/dist/event.js.br +0 -0
  26. package/dist/gift-card-validation.js +26 -27
  27. package/dist/gift-card-validation.js.br +0 -0
  28. package/dist/gift-card.js +127 -127
  29. package/dist/gift-card.js.br +0 -0
  30. package/dist/{giftCard-BpIUm5ol.js → giftCard-hEwcI_Rx.js} +11 -11
  31. package/dist/giftCard-hEwcI_Rx.js.br +0 -0
  32. package/dist/hotel.js +620 -618
  33. package/dist/hotel.js.br +0 -0
  34. package/dist/{masonry.plugin-Bo5QRvUz.js → masonry.plugin-C474cwA-.js} +1026 -1009
  35. package/dist/masonry.plugin-C474cwA-.js.br +0 -0
  36. package/dist/navigation.js +2 -2
  37. package/dist/polyfill.js +726 -726
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/dist/tracing-pAUg9FFo.js +11818 -0
  42. package/dist/tracing-pAUg9FFo.js.br +0 -0
  43. package/package.json +1 -1
  44. package/dist/ActionField-Ck8cxR78.js.br +0 -0
  45. package/dist/AvailabilitySkeleton-C_OWp8Fq.js.br +0 -0
  46. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br +0 -0
  47. package/dist/CheckoutWindow-DcaNMI9K.js.br +0 -0
  48. package/dist/ErrorMessage-DH5q_ieB.js.br +0 -0
  49. package/dist/EventAvailabilityForm-DphCQOMO.js.br +0 -0
  50. package/dist/Field-Dg8W7a_X.js.br +0 -0
  51. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.br +0 -0
  52. package/dist/TermsOfService-DenzWB_O.js.br +0 -0
  53. package/dist/_-DgexTosT.js +0 -12
  54. package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.br +0 -0
  55. package/dist/_commonjsHelpers-ytV6SVHa.js +0 -9541
  56. package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
  57. package/dist/giftCard-BpIUm5ol.js.br +0 -0
  58. package/dist/masonry.plugin-Bo5QRvUz.js.br +0 -0
  59. package/dist/sentry-D1A53_C5.js +0 -18
  60. package/dist/tracing-wxeFiHIa.js +0 -2287
  61. package/dist/tracing-wxeFiHIa.js.br +0 -0
@@ -1,21 +1,21 @@
1
- import { d as a, o as r, b as i, w as d, g as t, u as o } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { h as c, j as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
3
- import { B as _ } from "./CheckoutWindow-DcaNMI9K.js";
1
+ import { d as r, o as a, b as i, w as d, g as t, u as o } from "./tracing-pAUg9FFo.js";
2
+ import { h as c, j as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js";
3
+ import { B as _ } from "./CheckoutWindow-CrzoIK1a.js";
4
4
  (function() {
5
5
  try {
6
6
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
7
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1f068ea0-388d-4907-9cea-1eacffc2382a", e._sentryDebugIdIdentifier = "sentry-dbid-1f068ea0-388d-4907-9cea-1eacffc2382a");
7
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "95cfa26a-046e-4c38-94ee-308f9fd50791", e._sentryDebugIdIdentifier = "sentry-dbid-95cfa26a-046e-4c38-94ee-308f9fd50791");
8
8
  } catch {
9
9
  }
10
10
  })();
11
- const l = { class: "konnectio-terms-side-panel" }, u = ["innerHTML"], m = /* @__PURE__ */ a({
11
+ const l = { class: "konnectio-terms-side-panel" }, u = ["innerHTML"], m = /* @__PURE__ */ r({
12
12
  __name: "TermsOfService",
13
13
  props: {
14
14
  description: {}
15
15
  },
16
16
  setup(e) {
17
17
  const { t: n } = c();
18
- return (s, y) => (r(), i(_, {
18
+ return (s, y) => (a(), i(_, {
19
19
  title: o(n)("general.termsAndConditions")
20
20
  }, {
21
21
  default: d(() => [
@@ -32,4 +32,4 @@ const l = { class: "konnectio-terms-side-panel" }, u = ["innerHTML"], m = /* @__
32
32
  export {
33
33
  I as S
34
34
  };
35
- //# sourceMappingURL=TermsOfService-DenzWB_O.js.map
35
+ //# sourceMappingURL=TermsOfService-DBwm3BP2.js.map
@@ -0,0 +1,12 @@
1
+ import { _ as t } from "./_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js";
2
+ (function() {
3
+ try {
4
+ var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
5
+ e && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[e] = "c55acf10-d9dc-4284-9f18-db04d0220618", d._sentryDebugIdIdentifier = "sentry-dbid-c55acf10-d9dc-4284-9f18-db04d0220618");
6
+ } catch {
7
+ }
8
+ })();
9
+ export {
10
+ t as default
11
+ };
12
+ //# sourceMappingURL=_-BOjhcjBA.js.map
@@ -1,16 +1,16 @@
1
- import { d as _, o as c, a as r, u as o, f, g as p, t as m, e as b, n as y, s as d, v as g } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { s as k, a as w, z as h, _ as I, b as v } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
1
+ import { d as f, o as c, a as r, u as o, f as _, g as p, t as m, e as b, n as y, s as d, v as g } from "./tracing-pAUg9FFo.js";
2
+ import { s as k, a as w, A as h, _ as I, b as v } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js";
3
3
  (function() {
4
4
  try {
5
5
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, a = new Error().stack;
6
- a && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[a] = "1b5983b4-9224-4bf6-8942-c58ca274975e", t._sentryDebugIdIdentifier = "sentry-dbid-1b5983b4-9224-4bf6-8942-c58ca274975e");
6
+ a && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[a] = "f4b4c88b-f14f-4e9f-b279-f92d597d2511", t._sentryDebugIdIdentifier = "sentry-dbid-f4b4c88b-f14f-4e9f-b279-f92d597d2511");
7
7
  } catch {
8
8
  }
9
9
  })();
10
- const D = {
10
+ const A = {
11
11
  key: 0,
12
12
  class: "konnectio-alert-message"
13
- }, x = /* @__PURE__ */ _({
13
+ }, D = /* @__PURE__ */ f({
14
14
  __name: "Alert",
15
15
  props: {
16
16
  localDomain: { default: "global" }
@@ -30,18 +30,18 @@ const D = {
30
30
  class: y(["konnectio-alert", o(s), o(n).toLowerCase()]),
31
31
  role: "alert"
32
32
  }, [
33
- o(e) ? (c(), r("div", D, [
34
- f(h, {
33
+ o(e) ? (c(), r("div", A, [
34
+ _(h, {
35
35
  icon: a[o(s)]
36
36
  }, null, 8, ["icon"]),
37
37
  p("span", null, m(o(e)), 1)
38
38
  ])) : b("", !0)
39
39
  ], 2));
40
40
  }
41
- }), A = /* @__PURE__ */ I(x, [["__scopeId", "data-v-a677cda9"]]), C = {
41
+ }), x = /* @__PURE__ */ I(D, [["__scopeId", "data-v-a677cda9"]]), C = {
42
42
  class: "konnectio-app",
43
43
  ref: "base"
44
- }, N = /* @__PURE__ */ _({
44
+ }, N = /* @__PURE__ */ f({
45
45
  name: "BaseLayout",
46
46
  __name: "_",
47
47
  props: {
@@ -58,11 +58,11 @@ const D = {
58
58
  } = v();
59
59
  return l(n.accessToken), [e, s] = d(() => i()), await e, s(), [e, s] = d(() => n.callback()), await e, s(), (u, B) => (c(), r("div", C, [
60
60
  g(u.$slots, "default"),
61
- f(A, { "local-domain": "global" })
61
+ _(x, { "local-domain": "global" })
62
62
  ], 512));
63
63
  }
64
64
  });
65
65
  export {
66
66
  N as _
67
67
  };
68
- //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.map
68
+ //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js.map
@@ -1,15 +1,14 @@
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";
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-pAUg9FFo.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-CHFFlMbv.js";
3
+ import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js";
4
+ import { H as q, A as K } from "./AvailabilitySkeleton-sGz2nSbb.js";
5
+ import { E as G } from "./EventAvailabilityForm-DFuang-b.js";
6
+ import { E as J } from "./ErrorMessage-SZPwCpu-.js";
8
7
  import "./navigation.js";
9
8
  (function() {
10
9
  try {
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");
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] = "ebd65fe8-c032-4a7c-b85e-1d011cebc2c2", n._sentryDebugIdIdentifier = "sentry-dbid-ebd65fe8-c032-4a7c-b85e-1d011cebc2c2");
13
12
  } catch {
14
13
  }
15
14
  })();
@@ -25,37 +24,37 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
25
24
  styling: {}
26
25
  },
27
26
  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;
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;
29
28
  return I(() => {
30
29
  !s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
31
- }), (e, m) => (p(), v(P, { styling: e.styling }, {
32
- default: d(() => [
33
- b.value ? (p(), v(S, { key: 0 }, {
34
- default: d(() => [
30
+ }), (e, b) => (p(), d(P, { styling: e.styling }, {
31
+ default: v(() => [
32
+ m.value ? (p(), d(S, { key: 0 }, {
33
+ default: v(() => [
35
34
  a("div", null, [
36
- y(Z, {
35
+ f(Z, {
37
36
  "access-token": e.accessToken,
38
- callback: h(c)
37
+ callback: h(r)
39
38
  }, {
40
- default: d(() => [
39
+ default: v(() => [
41
40
  a("div", R, [
42
- r.value ? (p(), T(N, { key: 0 }, [
41
+ c.value ? (p(), T(N, { key: 0 }, [
43
42
  a("nav", W, [
44
43
  a("ul", null, [
45
44
  a("li", null, [
46
45
  a("button", {
47
46
  class: A({ active: u.value }),
48
- onClick: m[0] || (m[0] = _((w) => o("hotel"), ["prevent"]))
47
+ onClick: b[0] || (b[0] = _((w) => i("hotel"), ["prevent"]))
49
48
  }, [
50
- a("span", null, g(h(i)("availability.hotel")), 1)
49
+ a("span", null, g(h(o)("availability.hotel")), 1)
51
50
  ], 2)
52
51
  ]),
53
52
  a("li", null, [
54
53
  a("button", {
55
54
  class: A({ active: t.value }),
56
- onClick: m[1] || (m[1] = _((w) => o("event"), ["prevent"]))
55
+ onClick: b[1] || (b[1] = _((w) => i("event"), ["prevent"]))
57
56
  }, [
58
- a("span", null, g(h(i)("availability.events")), 1)
57
+ a("span", null, g(h(o)("availability.events")), 1)
59
58
  ], 2)
60
59
  ])
61
60
  ])
@@ -63,17 +62,17 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
63
62
  X
64
63
  ], 64)) : L("", !0),
65
64
  a("div", Y, [
66
- y(B, {
65
+ f(B, {
67
66
  name: "fade",
68
67
  mode: "out-in",
69
68
  appear: ""
70
69
  }, {
71
- default: d(() => [
72
- u.value ? (p(), v(q, {
70
+ default: v(() => [
71
+ u.value ? (p(), d(q, {
73
72
  key: 0,
74
73
  link: e.hotelLink,
75
74
  "selected-location": Number(e.hotelLocation)
76
- }, null, 8, ["link", "selected-location"])) : t.value ? (p(), v(G, {
75
+ }, null, 8, ["link", "selected-location"])) : t.value ? (p(), d(G, {
77
76
  key: 1,
78
77
  link: e.eventLink,
79
78
  "selected-location": Number(e.eventLocation)
@@ -88,15 +87,15 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
88
87
  }, 8, ["access-token", "callback"])
89
88
  ])
90
89
  ]),
91
- fallback: d(() => [
90
+ fallback: v(() => [
92
91
  a("div", null, [
93
- y(K, {
94
- view: r.value ? "both" : l.value
92
+ f(K, {
93
+ view: c.value ? "both" : l.value
95
94
  }, null, 8, ["view"])
96
95
  ])
97
96
  ]),
98
97
  _: 1
99
- })) : (p(), v(J, {
98
+ })) : (p(), d(J, {
100
99
  key: 1,
101
100
  title: "Unable to render Availability module",
102
101
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -106,7 +105,7 @@ const Q = (n) => (D("data-v-80b2a82c"), n = n(), M(), n), R = { class: "konnecti
106
105
  _: 1
107
106
  }, 8, ["styling"]));
108
107
  }
109
- }), k = /* @__PURE__ */ V(x, [["__scopeId", "data-v-80b2a82c"]]), ee = j(), te = $();
108
+ }), y = /* @__PURE__ */ V(x, [["__scopeId", "data-v-80b2a82c"]]), ee = j(), te = U();
110
109
  class ae extends HTMLElement {
111
110
  vueApp;
112
111
  constructor() {
@@ -116,20 +115,20 @@ class ae extends HTMLElement {
116
115
  this.vueApp.unmount();
117
116
  }
118
117
  connectedCallback() {
119
- const i = typeof k == "function" ? k.options : k;
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()), b = {};
122
- c = c.map(s);
123
- const r = {};
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 = {};
124
123
  for (const t of this.attributes) {
125
124
  const e = t.name.split(".");
126
- e.length > 1 && (r[e[0]] || (r[e[0]] = {}), r[e[0]][l(e[1])] = t.value);
125
+ e.length > 1 && (c[e[0]] || (c[e[0]] = {}), c[e[0]][l(e[1])] = t.value);
127
126
  }
128
- for (const t of c) {
129
- let o = this.attributes.getNamedItem(t)?.value;
130
- r.hasOwnProperty(t) && (o = r[t]), b[t] = o;
127
+ for (const t of r) {
128
+ let i = this.attributes.getNamedItem(t)?.value;
129
+ c.hasOwnProperty(t) && (i = c[t]), m[t] = i;
131
130
  }
132
- this.vueApp = z(k, b), U(this.vueApp), this.vueApp.provide("emitter", te), this.vueApp.use(O), this.vueApp.use(ee);
131
+ this.vueApp = z(y, m), O(this.vueApp), this.vueApp.provide("emitter", te), this.vueApp.use($), this.vueApp.use(ee);
133
132
  const u = document.createElement("div");
134
133
  this.vueApp.mount(u), this.appendChild(u.children[0]);
135
134
  }
Binary file