@konnectio/core 4.0.69 → 4.0.71

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 (69) hide show
  1. package/dist/{ActionField-Cvrd0oT4.js → ActionField-BOjNNOwm.js} +15 -15
  2. package/dist/ActionField-BOjNNOwm.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-C9hYCt8n.js → AvailabilitySkeleton-BBZ1jYsL.js} +7 -7
  4. package/dist/AvailabilitySkeleton-BBZ1jYsL.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js} +417 -420
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js.br +0 -0
  7. package/dist/{CheckoutWindow-Jd7cv0fV.js → CheckoutWindow-Be87geqA.js} +5 -5
  8. package/dist/CheckoutWindow-Be87geqA.js.br +0 -0
  9. package/dist/{ErrorMessage-CY9XqT_-.js → ErrorMessage-PrTNCV3L.js} +4 -4
  10. package/dist/ErrorMessage-PrTNCV3L.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-liW326n_.js → EventAvailabilityForm-B_kQ68K4.js} +25 -25
  12. package/dist/EventAvailabilityForm-B_kQ68K4.js.br +0 -0
  13. package/dist/{Field-DBjYUlqg.js → Field-Cly4g5NO.js} +9 -9
  14. package/dist/Field-Cly4g5NO.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js} +2645 -2643
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js.br +0 -0
  17. package/dist/{TermsOfService-DoPiQYS7.js → TermsOfService-B4VF2Mqd.js} +6 -6
  18. package/dist/TermsOfService-B4VF2Mqd.js.br +0 -0
  19. package/dist/{_-IWx6O9VX.js → _-D9xfNmwK.js} +3 -3
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DGEXmj4f.js → _.vue_vue_type_style_index_0_lang-CEE8x56y.js} +7 -7
  21. package/dist/_.vue_vue_type_style_index_0_lang-CEE8x56y.js.br +0 -0
  22. package/dist/_commonjsHelpers-CjBehFnu.js +25 -0
  23. package/dist/_commonjsHelpers-CjBehFnu.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-BLCF_5fD.js → _sentry-release-injection-file-DsYwID46.js} +13 -13
  25. package/dist/_sentry-release-injection-file-DsYwID46.js.br +0 -0
  26. package/dist/availability.js +22 -21
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +27 -21
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +342 -334
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +24 -23
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +55 -54
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-gaWxo7v2.js → giftCard-DL8SvzFu.js} +15 -15
  37. package/dist/giftCard-DL8SvzFu.js.br +0 -0
  38. package/dist/hotel.js +779 -764
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-C7YeIXYO.js → masonry.plugin-DyMWv_cS.js} +1655 -1585
  41. package/dist/masonry.plugin-DyMWv_cS.js.br +0 -0
  42. package/dist/{mitt-tOYHzZHa.js → mitt-CxLBLOxI.js} +177 -177
  43. package/dist/mitt-CxLBLOxI.js.br +0 -0
  44. package/dist/polyfill.js +855 -846
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/sentry-9IPMO-VI.js +26 -0
  47. package/dist/{style-iCfvULKs.js → style-bf_adpj0.js} +83 -83
  48. package/dist/style-bf_adpj0.js.br +0 -0
  49. package/dist/style.css +1 -1
  50. package/dist/style.css.br +0 -0
  51. package/dist/{_commonjsHelpers-DLzKE872.js → tracing-1TgukAt0.js} +197 -204
  52. package/dist/tracing-1TgukAt0.js.br +0 -0
  53. package/package.json +5 -5
  54. package/dist/ActionField-Cvrd0oT4.js.br +0 -0
  55. package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
  56. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
  57. package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
  58. package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
  59. package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
  60. package/dist/Field-DBjYUlqg.js.br +0 -0
  61. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
  62. package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
  63. package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
  64. package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
  66. package/dist/giftCard-gaWxo7v2.js.br +0 -0
  67. package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
  68. package/dist/mitt-tOYHzZHa.js.br +0 -0
  69. package/dist/style-iCfvULKs.js.br +0 -0
@@ -1,11 +1,11 @@
1
- import { d, a, b as i, w as c, e as o, u as r } from "./_sentry-release-injection-file-BLCF_5fD.js";
2
- import { H as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
3
- import { B as u } from "./CheckoutWindow-Jd7cv0fV.js";
4
- import { u as _ } from "./mitt-tOYHzZHa.js";
1
+ import { d, a, b as i, w as c, e as o, u as r } from "./_sentry-release-injection-file-DsYwID46.js";
2
+ import { F as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
3
+ import { B as u } from "./CheckoutWindow-Be87geqA.js";
4
+ import { u as _ } from "./mitt-CxLBLOxI.js";
5
5
  (function() {
6
6
  try {
7
7
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
8
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f327c259-1b6c-4b76-a810-75e21c6d1a9e", e._sentryDebugIdIdentifier = "sentry-dbid-f327c259-1b6c-4b76-a810-75e21c6d1a9e");
8
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a271d886-2c6f-422d-aa5f-cd3ad0f6ac2c", e._sentryDebugIdIdentifier = "sentry-dbid-a271d886-2c6f-422d-aa5f-cd3ad0f6ac2c");
9
9
  } catch {
10
10
  }
11
11
  })();
@@ -41,4 +41,4 @@ const l = { class: "konnectio-terms-side-panel" }, y = ["innerHTML"], m = /* @__
41
41
  export {
42
42
  v as S
43
43
  };
44
- //# sourceMappingURL=TermsOfService-DoPiQYS7.js.map
44
+ //# sourceMappingURL=TermsOfService-B4VF2Mqd.js.map
@@ -1,8 +1,8 @@
1
- import { _ as f } from "./_.vue_vue_type_style_index_0_lang-DGEXmj4f.js";
1
+ import { _ as f } from "./_.vue_vue_type_style_index_0_lang-CEE8x56y.js";
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
5
- d && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[d] = "ca3d0281-8c41-417a-b324-d582988fe493", e._sentryDebugIdIdentifier = "sentry-dbid-ca3d0281-8c41-417a-b324-d582988fe493");
5
+ d && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[d] = "9882a340-dda1-456b-b677-e3621c4df36f", e._sentryDebugIdIdentifier = "sentry-dbid-9882a340-dda1-456b-b677-e3621c4df36f");
6
6
  } catch {
7
7
  }
8
8
  })();
@@ -17,4 +17,4 @@ import { _ as f } from "./_.vue_vue_type_style_index_0_lang-DGEXmj4f.js";
17
17
  export {
18
18
  f as default
19
19
  };
20
- //# sourceMappingURL=_-IWx6O9VX.js.map
20
+ //# sourceMappingURL=_-D9xfNmwK.js.map
@@ -1,9 +1,9 @@
1
- import { d as i, al as a, a as f, g as l, l as p } from "./_sentry-release-injection-file-BLCF_5fD.js";
2
- import { e as u } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
1
+ import { d as i, al as a, a as f, g as l, l as p } from "./_sentry-release-injection-file-DsYwID46.js";
2
+ import { d as u } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
3
3
  (function() {
4
4
  try {
5
5
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
6
- e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "8513bc2e-ec65-41ed-a2dc-f067460fd01c", t._sentryDebugIdIdentifier = "sentry-dbid-8513bc2e-ec65-41ed-a2dc-f067460fd01c");
6
+ e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "19f163d1-1be0-4796-a092-0597e3129f8b", t._sentryDebugIdIdentifier = "sentry-dbid-19f163d1-1be0-4796-a092-0597e3129f8b");
7
7
  } catch {
8
8
  }
9
9
  })();
@@ -28,13 +28,13 @@ const y = {
28
28
  },
29
29
  async setup(t) {
30
30
  let e, n;
31
- const o = t, { setAccessToken: c, fetchUtilities: r } = u();
32
- return c(o.accessToken), [e, n] = a(() => r()), await e, n(), [e, n] = a(() => o.callback()), await e, n(), (d, _) => (f(), l("div", y, [
33
- p(d.$slots, "default")
31
+ const o = t, { setAccessToken: r, fetchUtilities: d } = u();
32
+ return r(o.accessToken), [e, n] = a(() => d()), await e, n(), [e, n] = a(() => o.callback()), await e, n(), (c, _) => (f(), l("div", y, [
33
+ p(c.$slots, "default")
34
34
  ], 512));
35
35
  }
36
36
  });
37
37
  export {
38
38
  k as _
39
39
  };
40
- //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.map
40
+ //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-CEE8x56y.js.map
@@ -0,0 +1,25 @@
1
+ import "./_sentry-release-injection-file-DsYwID46.js";
2
+ (function() {
3
+ try {
4
+ var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
5
+ d && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[d] = "ace22b0f-cde2-47fd-b454-1a35da03a395", e._sentryDebugIdIdentifier = "sentry-dbid-ace22b0f-cde2-47fd-b454-1a35da03a395");
6
+ } catch {
7
+ }
8
+ })();
9
+ {
10
+ var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
+ n._sentryModuleMetadata = n._sentryModuleMetadata || {}, n._sentryModuleMetadata[new Error().stack] = Object.assign(
12
+ {},
13
+ n._sentryModuleMetadata[new Error().stack],
14
+ { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
15
+ );
16
+ }
17
+ var f = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
18
+ function r(e) {
19
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
20
+ }
21
+ export {
22
+ f as c,
23
+ r as g
24
+ };
25
+ //# sourceMappingURL=_commonjsHelpers-CjBehFnu.js.map
@@ -7,7 +7,7 @@
7
7
  (function() {
8
8
  try {
9
9
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
10
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "dad05a2d-9d74-447b-9c70-621b1eef392a", e._sentryDebugIdIdentifier = "sentry-dbid-dad05a2d-9d74-447b-9c70-621b1eef392a");
10
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "477cce34-9a5b-4b4e-bce5-330e1a4f93b0", e._sentryDebugIdIdentifier = "sentry-dbid-477cce34-9a5b-4b4e-bce5-330e1a4f93b0");
11
11
  } catch {
12
12
  }
13
13
  })();
@@ -9404,22 +9404,22 @@ function Jg(e, t) {
9404
9404
  }
9405
9405
  na(Jg);
9406
9406
  var Yg = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9407
- Yg.SENTRY_RELEASE = { id: "konnectio@4.0.69" };
9407
+ Yg.SENTRY_RELEASE = { id: "konnectio@4.0.71" };
9408
9408
  export {
9409
9409
  rh as $,
9410
9410
  Fu as A,
9411
9411
  pa as B,
9412
- Vu as C,
9413
- fi as D,
9414
- ca as E,
9412
+ Wu as C,
9413
+ Vu as D,
9414
+ fi as E,
9415
9415
  ve as F,
9416
- Ln as G,
9417
- mt as H,
9418
- ju as I,
9419
- oa as J,
9420
- Te as K,
9421
- Ot as L,
9422
- Wu as M,
9416
+ ca as G,
9417
+ Ln as H,
9418
+ mt as I,
9419
+ ju as J,
9420
+ oa as K,
9421
+ Te as L,
9422
+ Ot as M,
9423
9423
  ci as N,
9424
9424
  yi as O,
9425
9425
  Qn as P,
@@ -9483,4 +9483,4 @@ export {
9483
9483
  Hd as y,
9484
9484
  Dn as z
9485
9485
  };
9486
- //# sourceMappingURL=_sentry-release-injection-file-BLCF_5fD.js.map
9486
+ //# sourceMappingURL=_sentry-release-injection-file-DsYwID46.js.map
@@ -1,14 +1,15 @@
1
- import { d as I, r as S, c, o as D, a as s, b as r, w as u, S as T, e, f as v, g as M, n as h, h as _, t as A, u as f, F as B, i as g, T as P, p as N, j as F, k as H } from "./_sentry-release-injection-file-BLCF_5fD.js";
2
- import { u as V, c as $, l as j, i as z, m as K } from "./mitt-tOYHzZHa.js";
3
- import { u as O, C as U, _ as q, c as x } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js";
4
- import { _ as J } from "./_.vue_vue_type_style_index_0_lang-DGEXmj4f.js";
5
- import { H as Q, A as R } from "./AvailabilitySkeleton-C9hYCt8n.js";
6
- import { E as W } from "./EventAvailabilityForm-liW326n_.js";
7
- import { E as X } from "./ErrorMessage-CY9XqT_-.js";
1
+ import { d as I, r as S, c as r, o as D, a as s, b as c, w as u, S as T, e, f as v, g as M, n as h, h as _, t as A, u as f, F as B, i as g, T as P, p as N, j as F, k as H } from "./_sentry-release-injection-file-DsYwID46.js";
2
+ import { u as V, c as $, l as j, i as z, m as K } from "./mitt-CxLBLOxI.js";
3
+ import { c as O } from "./sentry-9IPMO-VI.js";
4
+ import { u as U, C as q, _ as x } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
5
+ import { _ as J } from "./_.vue_vue_type_style_index_0_lang-CEE8x56y.js";
6
+ import { H as Q, A as R } from "./AvailabilitySkeleton-BBZ1jYsL.js";
7
+ import { E as W } from "./EventAvailabilityForm-B_kQ68K4.js";
8
+ import { E as X } from "./ErrorMessage-PrTNCV3L.js";
8
9
  (function() {
9
10
  try {
10
11
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
11
- n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "2bed0a3a-5f9e-43c7-b90e-9320d80c232f", t._sentryDebugIdIdentifier = "sentry-dbid-2bed0a3a-5f9e-43c7-b90e-9320d80c232f");
12
+ n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "166e6e7d-96af-4783-9289-1763205034a8", t._sentryDebugIdIdentifier = "sentry-dbid-166e6e7d-96af-4783-9289-1763205034a8");
12
13
  } catch {
13
14
  }
14
15
  })();
@@ -33,15 +34,15 @@ const Y = (t) => (N("data-v-014bccfe"), t = t(), F(), t), Z = { class: "konnecti
33
34
  styling: {}
34
35
  },
35
36
  setup(t) {
36
- const { t: n } = V(), { fetchMetadata: l } = O(), i = t, o = S(), L = c(() => !!i.hotelLink || !!i.eventLink), y = c(() => !!i.hotelLink && !!i.eventLink), b = c(() => o.value === "hotel"), k = c(() => o.value === "event"), m = (a) => o.value = a, E = c(() => ({
37
+ const { t: n } = V(), { fetchMetadata: l } = U(), i = t, o = S(), L = r(() => !!i.hotelLink || !!i.eventLink), m = r(() => !!i.hotelLink && !!i.eventLink), y = r(() => o.value === "hotel"), k = r(() => o.value === "event"), b = (a) => o.value = a, E = r(() => ({
37
38
  fontSize: "13px",
38
39
  ...i.styling
39
40
  }));
40
41
  return D(() => {
41
42
  !i.hotelLink && i.eventLink ? o.value = "event" : o.value = "hotel";
42
- }), (a, d) => (s(), r(U, { styling: E.value }, {
43
+ }), (a, d) => (s(), c(q, { styling: E.value }, {
43
44
  default: u(() => [
44
- L.value ? (s(), r(T, { key: 0 }, {
45
+ L.value ? (s(), c(T, { key: 0 }, {
45
46
  default: u(() => [
46
47
  e("div", null, [
47
48
  v(J, {
@@ -50,13 +51,13 @@ const Y = (t) => (N("data-v-014bccfe"), t = t(), F(), t), Z = { class: "konnecti
50
51
  }, {
51
52
  default: u(() => [
52
53
  e("div", Z, [
53
- y.value ? (s(), M(B, { key: 0 }, [
54
+ m.value ? (s(), M(B, { key: 0 }, [
54
55
  e("nav", G, [
55
56
  e("ul", null, [
56
57
  e("li", null, [
57
58
  e("button", {
58
- class: h({ active: b.value }),
59
- onClick: d[0] || (d[0] = _((C) => m("hotel"), ["prevent"]))
59
+ class: h({ active: y.value }),
60
+ onClick: d[0] || (d[0] = _((C) => b("hotel"), ["prevent"]))
60
61
  }, [
61
62
  e("span", null, A(f(n)("availability.hotel")), 1)
62
63
  ], 2)
@@ -64,7 +65,7 @@ const Y = (t) => (N("data-v-014bccfe"), t = t(), F(), t), Z = { class: "konnecti
64
65
  e("li", null, [
65
66
  e("button", {
66
67
  class: h({ active: k.value }),
67
- onClick: d[1] || (d[1] = _((C) => m("event"), ["prevent"]))
68
+ onClick: d[1] || (d[1] = _((C) => b("event"), ["prevent"]))
68
69
  }, [
69
70
  e("span", null, A(f(n)("availability.events")), 1)
70
71
  ], 2)
@@ -80,12 +81,12 @@ const Y = (t) => (N("data-v-014bccfe"), t = t(), F(), t), Z = { class: "konnecti
80
81
  appear: ""
81
82
  }, {
82
83
  default: u(() => [
83
- b.value ? (s(), r(Q, {
84
+ y.value ? (s(), c(Q, {
84
85
  key: 0,
85
86
  link: a.hotelLink,
86
87
  "selected-location": Number(a.hotelLocation),
87
88
  "disable-default-location": a.hotelDisableDefaultLocation === "yes"
88
- }, null, 8, ["link", "selected-location", "disable-default-location"])) : k.value ? (s(), r(W, {
89
+ }, null, 8, ["link", "selected-location", "disable-default-location"])) : k.value ? (s(), c(W, {
89
90
  key: 1,
90
91
  link: a.eventLink,
91
92
  "selected-location": Number(a.eventLocation)
@@ -103,12 +104,12 @@ const Y = (t) => (N("data-v-014bccfe"), t = t(), F(), t), Z = { class: "konnecti
103
104
  fallback: u(() => [
104
105
  e("div", null, [
105
106
  v(R, {
106
- view: y.value ? "both" : o.value
107
+ view: m.value ? "both" : o.value
107
108
  }, null, 8, ["view"])
108
109
  ])
109
110
  ]),
110
111
  _: 1
111
- })) : (s(), r(X, {
112
+ })) : (s(), c(X, {
112
113
  key: 1,
113
114
  title: "Unable to render Availability module",
114
115
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -118,7 +119,7 @@ const Y = (t) => (N("data-v-014bccfe"), t = t(), F(), t), Z = { class: "konnecti
118
119
  _: 1
119
120
  }, 8, ["styling"]));
120
121
  }
121
- }), w = /* @__PURE__ */ q(ae, [["__scopeId", "data-v-014bccfe"]]), ne = $(), ie = K();
122
+ }), w = /* @__PURE__ */ x(ae, [["__scopeId", "data-v-014bccfe"]]), ne = $(), ie = K();
122
123
  class oe extends HTMLElement {
123
124
  vueApp;
124
125
  constructor() {
@@ -129,7 +130,7 @@ class oe extends HTMLElement {
129
130
  }
130
131
  connectedCallback() {
131
132
  const n = j(w, this.attributes);
132
- this.vueApp = H(w, n), x(this.vueApp), this.vueApp.provide("emitter", ie), this.vueApp.use(z), this.vueApp.use(ne);
133
+ this.vueApp = H(w, n), O(this.vueApp), this.vueApp.provide("emitter", ie), this.vueApp.use(z), this.vueApp.use(ne);
133
134
  const l = document.createElement("div");
134
135
  this.vueApp.mount(l), this.appendChild(l.children[0]);
135
136
  }
Binary file
package/dist/deep-link.js CHANGED
@@ -1,9 +1,9 @@
1
- import { d as o, r as d, o as i, a as c, g as p, e as l, t as u, l as f, k as h } from "./_sentry-release-injection-file-BLCF_5fD.js";
2
- import { c as m, l as b, i as y, m as w } from "./mitt-tOYHzZHa.js";
1
+ import { d as p, r as o, o as l, a as u, g as f, e as d, t as h, l as i, k as m } from "./_sentry-release-injection-file-DsYwID46.js";
2
+ import { c as y, l as k, i as v, m as w } from "./mitt-CxLBLOxI.js";
3
3
  (function() {
4
4
  try {
5
- var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
6
- e && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[e] = "15c2dba2-be0f-4764-946b-6f3e619f78e6", n._sentryDebugIdIdentifier = "sentry-dbid-15c2dba2-be0f-4764-946b-6f3e619f78e6");
5
+ var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
6
+ n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "5ad04661-528a-4881-92c0-b975636cae1c", t._sentryDebugIdIdentifier = "sentry-dbid-5ad04661-528a-4881-92c0-b975636cae1c");
7
7
  } catch {
8
8
  }
9
9
  })();
@@ -15,7 +15,7 @@ import { c as m, l as b, i as y, m as w } from "./mitt-tOYHzZHa.js";
15
15
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
16
16
  );
17
17
  }
18
- const k = ["href"], r = /* @__PURE__ */ o({
18
+ const b = ["href"], c = /* @__PURE__ */ p({
19
19
  name: "KonnectioDeepLink",
20
20
  __name: "DeepLink",
21
21
  props: {
@@ -25,18 +25,24 @@ const k = ["href"], r = /* @__PURE__ */ o({
25
25
  adults: {},
26
26
  children: {}
27
27
  },
28
- setup(n) {
29
- const e = n, t = d();
30
- return i(() => {
28
+ setup(t) {
29
+ const n = o(null), e = t, r = o();
30
+ return l(() => {
31
31
  const s = new URL(e.baseurl || location.href);
32
- e.adults && s.searchParams.append("adults", e.adults), e.children && s.searchParams.append("children", e.children), t.value = s.href;
33
- }), (s, A) => (c(), p("a", { href: t.value }, [
34
- l("span", null, u(t.value), 1),
35
- f(s.$slots, "content")
36
- ], 8, k));
32
+ e.adults && s.searchParams.append("adults", e.adults), e.children && s.searchParams.append("children", e.children), r.value = s.href;
33
+ }), (s, E) => (u(), f("div", {
34
+ ref_key: "test",
35
+ ref: n
36
+ }, [
37
+ d("a", { href: r.value }, [
38
+ d("span", null, h(r.value), 1),
39
+ i(s.$slots, "content"),
40
+ i(s.$slots, "default")
41
+ ], 8, b)
42
+ ], 512));
37
43
  }
38
- }), v = m(), _ = w();
39
- class g extends HTMLElement {
44
+ }), _ = y(), g = w();
45
+ class A extends HTMLElement {
40
46
  vueApp;
41
47
  constructor() {
42
48
  super();
@@ -45,14 +51,14 @@ class g extends HTMLElement {
45
51
  this.vueApp.unmount();
46
52
  }
47
53
  connectedCallback() {
48
- const e = b(r, this.attributes);
49
- this.vueApp = h(r, e), this.vueApp.provide("emitter", _), this.vueApp.use(y), this.vueApp.use(v);
50
- const t = document.createElement("div");
51
- this.vueApp.mount(t), this.appendChild(t.children[0]);
54
+ const n = k(c, this.attributes);
55
+ this.vueApp = m(c, n), this.vueApp.provide("emitter", g), this.vueApp.use(v), this.vueApp.use(_);
56
+ const e = document.createElement("div");
57
+ this.vueApp.mount(e), this.appendChild(e.children[0]);
52
58
  }
53
59
  }
54
- window.customElements.define("konnectio-deep-link", g);
60
+ window.customElements.define("konnectio-deep-link", A);
55
61
  export {
56
- g as default
62
+ A as default
57
63
  };
58
64
  //# sourceMappingURL=deep-link.js.map
Binary file