@konnectio/core 4.1.10 → 4.1.11

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 (54) hide show
  1. package/dist/{ActionField-YcUnxCh1.js → ActionField-OJ0B_Rvq.js} +2 -2
  2. package/dist/ActionField-OJ0B_Rvq.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-C6bsNxOH.js +320 -0
  4. package/dist/AvailabilitySkeleton-C6bsNxOH.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js.br +0 -0
  7. package/dist/{CheckoutWindow-ET8OmnqK.js → CheckoutWindow-C7Sez05a.js} +2 -2
  8. package/dist/CheckoutWindow-C7Sez05a.js.br +0 -0
  9. package/dist/{ErrorMessage-CwQY7g9Q.js → ErrorMessage-BJIYUPxq.js} +2 -2
  10. package/dist/ErrorMessage-BJIYUPxq.js.br +0 -0
  11. package/dist/EventAvailabilityForm-BPl-K4R7.js +119 -0
  12. package/dist/EventAvailabilityForm-BPl-K4R7.js.br +0 -0
  13. package/dist/{Field-BdH4Sloj.js → Field-DrXN88nH.js} +3 -3
  14. package/dist/Field-DrXN88nH.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DJkXxXXq.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-yLLdxGIS.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js → SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js} +130 -130
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js.br +0 -0
  18. package/dist/{TermsOfService-B4Xq6arX.js → TermsOfService-OiLRXZF3.js} +3 -3
  19. package/dist/_-WO7vPQFH.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DCY7vATB.js → _.vue_vue_type_style_index_0_lang-Q0efa7Bu.js} +2 -2
  21. package/dist/availability.js +37 -33
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/event.js +104 -102
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-vJLJWCwZ.js → giftCard-5wAI4XEl.js} +2 -2
  34. package/dist/giftCard-5wAI4XEl.js.br +0 -0
  35. package/dist/hotel.js +374 -373
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CglHU-ya.js → masonry.plugin-D19pwBpH.js} +5 -5
  38. package/dist/masonry.plugin-D19pwBpH.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +4 -4
  42. package/dist/ActionField-YcUnxCh1.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-CtypN7ad.js +0 -319
  44. package/dist/AvailabilitySkeleton-CtypN7ad.js.br +0 -0
  45. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js.br +0 -0
  46. package/dist/CheckoutWindow-ET8OmnqK.js.br +0 -0
  47. package/dist/ErrorMessage-CwQY7g9Q.js.br +0 -0
  48. package/dist/EventAvailabilityForm--R2UEx3o.js +0 -118
  49. package/dist/EventAvailabilityForm--R2UEx3o.js.br +0 -0
  50. package/dist/Field-BdH4Sloj.js.br +0 -0
  51. package/dist/SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js.br +0 -0
  52. package/dist/_-kF09E1Yd.js +0 -5
  53. package/dist/giftCard-vJLJWCwZ.js.br +0 -0
  54. package/dist/masonry.plugin-CglHU-ya.js.br +0 -0
@@ -1,6 +1,6 @@
1
1
  import { d as o, u as r, a, b as i, g as e, w as c, e as s } from "./mitt-BysJOgFD.js";
2
- import { P as p, _ } from "./SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js";
3
- import { B as d } from "./CheckoutWindow-ET8OmnqK.js";
2
+ import { P as p, _ } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
3
+ import { B as d } from "./CheckoutWindow-C7Sez05a.js";
4
4
  const m = { class: "konnectio-terms-side-panel" }, l = ["innerHTML"], f = /* @__PURE__ */ o({
5
5
  __name: "TermsOfService",
6
6
  props: {
@@ -25,4 +25,4 @@ const m = { class: "konnectio-terms-side-panel" }, l = ["innerHTML"], f = /* @__
25
25
  export {
26
26
  x as S
27
27
  };
28
- //# sourceMappingURL=TermsOfService-B4Xq6arX.js.map
28
+ //# sourceMappingURL=TermsOfService-OiLRXZF3.js.map
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "./_.vue_vue_type_style_index_0_lang-Q0efa7Bu.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=_-WO7vPQFH.js.map
@@ -1,5 +1,5 @@
1
1
  import { d as i, ar as s, h as l, b as p, q as _ } from "./mitt-BysJOgFD.js";
2
- import { h as m } from "./SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js";
2
+ import { h as m } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
3
3
  const f = {
4
4
  class: "konnectio-app",
5
5
  ref: "base"
@@ -22,4 +22,4 @@ const f = {
22
22
  export {
23
23
  h as _
24
24
  };
25
- //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-DCY7vATB.js.map
25
+ //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-Q0efa7Bu.js.map
@@ -1,79 +1,83 @@
1
- import { d as w, u as T, r as S, c as o, o as B, a as s, b as l, w as c, S as D, e, f as v, g as p, h as M, i as y, F as N, j as f, n as A, t as L, T as P, k as F, l as H, m as V, _ as $, p as z } from "./mitt-BysJOgFD.js";
2
- import { u as I, C as j, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js";
3
- import { _ as U } from "./_.vue_vue_type_style_index_0_lang-DCY7vATB.js";
4
- import { A as q, H as x } from "./AvailabilitySkeleton-CtypN7ad.js";
5
- import { E as G } from "./EventAvailabilityForm--R2UEx3o.js";
6
- import { E as J } from "./ErrorMessage-CwQY7g9Q.js";
7
- const O = { class: "konnectio-availability-module" }, Q = { class: "konnectio-availability-navigation" }, R = { class: "konnectio-availability-search-form" }, W = /* @__PURE__ */ w({
1
+ import { d as w, u as T, r as H, c as l, o as S, a as s, b as o, w as c, S as B, e, f as v, g as d, h as D, i as y, F as M, j as f, n as L, t as A, T as N, k as P, l as F, m as V, _ as $, p as z } from "./mitt-BysJOgFD.js";
2
+ import { u as I, C as j, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
3
+ import { _ as U } from "./_.vue_vue_type_style_index_0_lang-Q0efa7Bu.js";
4
+ import { A as q, H as G } from "./AvailabilitySkeleton-C6bsNxOH.js";
5
+ import { E as J } from "./EventAvailabilityForm-BPl-K4R7.js";
6
+ import { E as O } from "./ErrorMessage-BJIYUPxq.js";
7
+ const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-availability-navigation" }, W = { class: "konnectio-availability-search-form" }, X = /* @__PURE__ */ w({
8
8
  name: "AvailabilityLayout",
9
9
  __name: "Availability",
10
10
  props: {
11
11
  accessToken: {},
12
12
  eventLink: {},
13
13
  eventLocation: {},
14
+ hideEventLocations: { default: "no" },
14
15
  hotelLink: {},
15
16
  hotelLocation: {},
17
+ hideHotelLocations: { default: "no" },
16
18
  hotelDisableDefaultLocation: { default: "no" },
17
19
  styling: {}
18
20
  },
19
- setup(d) {
20
- const { t: r } = T(), { fetchMetadata: u } = I(), a = d, i = S(), C = o(() => !!a.hotelLink || !!a.eventLink), m = o(() => !!a.hotelLink && !!a.eventLink), k = o(() => i.value === "hotel"), b = o(() => i.value === "event"), h = (t) => i.value = t, g = o(() => ({
21
+ setup(p) {
22
+ const { t: r } = T(), { fetchMetadata: u } = I(), a = p, i = H(), E = l(() => !!a.hotelLink || !!a.eventLink), m = l(() => !!a.hotelLink && !!a.eventLink), k = l(() => i.value === "hotel"), h = l(() => i.value === "event"), b = (t) => i.value = t, _ = l(() => ({
21
23
  fontSize: "13px",
22
24
  ...a.styling
23
25
  }));
24
- return B(() => {
26
+ return S(() => {
25
27
  !a.hotelLink && a.eventLink ? i.value = "event" : i.value = "hotel";
26
- }), (t, n) => (l(), s(j, { styling: g.value }, {
28
+ }), (t, n) => (o(), s(j, { styling: _.value }, {
27
29
  default: c(() => [
28
- C.value ? (l(), s(D, { key: 0 }, {
30
+ E.value ? (o(), s(B, { key: 0 }, {
29
31
  default: c(() => [
30
32
  e("div", null, [
31
33
  v(U, {
32
34
  "access-token": t.accessToken,
33
- callback: p(u)
35
+ callback: d(u)
34
36
  }, {
35
37
  default: c(() => [
36
- e("div", O, [
37
- m.value ? (l(), M(N, { key: 0 }, [
38
- e("nav", Q, [
38
+ e("div", Q, [
39
+ m.value ? (o(), D(M, { key: 0 }, [
40
+ e("nav", R, [
39
41
  e("ul", null, [
40
42
  e("li", null, [
41
43
  e("button", {
42
- class: A({ active: k.value }),
43
- onClick: n[0] || (n[0] = f((E) => h("hotel"), ["prevent"]))
44
+ class: L({ active: k.value }),
45
+ onClick: n[0] || (n[0] = f((g) => b("hotel"), ["prevent"]))
44
46
  }, [
45
- e("span", null, L(p(r)("availability.hotel")), 1)
47
+ e("span", null, A(d(r)("availability.hotel")), 1)
46
48
  ], 2)
47
49
  ]),
48
50
  e("li", null, [
49
51
  e("button", {
50
- class: A({ active: b.value }),
51
- onClick: n[1] || (n[1] = f((E) => h("event"), ["prevent"]))
52
+ class: L({ active: h.value }),
53
+ onClick: n[1] || (n[1] = f((g) => b("event"), ["prevent"]))
52
54
  }, [
53
- e("span", null, L(p(r)("availability.events")), 1)
55
+ e("span", null, A(d(r)("availability.events")), 1)
54
56
  ], 2)
55
57
  ])
56
58
  ])
57
59
  ]),
58
60
  n[2] || (n[2] = e("div", { class: "konnectio-availability-divider" }, null, -1))
59
61
  ], 64)) : y("", !0),
60
- e("div", R, [
61
- v(P, {
62
+ e("div", W, [
63
+ v(N, {
62
64
  name: "fade",
63
65
  mode: "out-in",
64
66
  appear: ""
65
67
  }, {
66
68
  default: c(() => [
67
- k.value ? (l(), s(x, {
69
+ k.value ? (o(), s(G, {
68
70
  key: 0,
69
71
  link: t.hotelLink,
70
72
  "selected-location": Number(t.hotelLocation),
71
- "disable-default-location": t.hotelDisableDefaultLocation === "yes"
72
- }, null, 8, ["link", "selected-location", "disable-default-location"])) : b.value ? (l(), s(G, {
73
+ "disable-default-location": t.hotelDisableDefaultLocation === "yes",
74
+ "hide-locations": t.hideHotelLocations === "yes"
75
+ }, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) : h.value ? (o(), s(J, {
73
76
  key: 1,
74
77
  link: t.eventLink,
75
- "selected-location": Number(t.eventLocation)
76
- }, null, 8, ["link", "selected-location"])) : y("", !0)
78
+ "selected-location": Number(t.eventLocation),
79
+ "hide-locations": t.hideEventLocations === "yes"
80
+ }, null, 8, ["link", "selected-location", "hide-locations"])) : y("", !0)
77
81
  ]),
78
82
  _: 1
79
83
  })
@@ -92,7 +96,7 @@ const O = { class: "konnectio-availability-module" }, Q = { class: "konnectio-av
92
96
  ])
93
97
  ]),
94
98
  _: 1
95
- })) : (l(), s(J, {
99
+ })) : (o(), s(O, {
96
100
  key: 1,
97
101
  title: "Unable to render Availability module",
98
102
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -102,7 +106,7 @@ const O = { class: "konnectio-availability-module" }, Q = { class: "konnectio-av
102
106
  _: 1
103
107
  }, 8, ["styling"]));
104
108
  }
105
- }), _ = /* @__PURE__ */ K(W, [["__scopeId", "data-v-5deff3e4"]]), X = F(), Y = $, Z = Y();
109
+ }), C = /* @__PURE__ */ K(X, [["__scopeId", "data-v-a8e928a0"]]), Y = P(), Z = $, x = Z();
106
110
  class ee extends HTMLElement {
107
111
  vueApp;
108
112
  constructor() {
@@ -112,8 +116,8 @@ class ee extends HTMLElement {
112
116
  this.vueApp.unmount();
113
117
  }
114
118
  connectedCallback() {
115
- const r = H(_, this.attributes);
116
- this.vueApp = V(_, r), this.vueApp.provide("emitter", Z), this.vueApp.use(z), this.vueApp.use(X);
119
+ const r = F(C, this.attributes);
120
+ this.vueApp = V(C, r), this.vueApp.provide("emitter", x), this.vueApp.use(z), this.vueApp.use(Y);
117
121
  const u = document.createElement("div");
118
122
  this.vueApp.mount(u), this.appendChild(u.children[0]);
119
123
  }
Binary file
@@ -1,8 +1,8 @@
1
1
  import { d as C, u as y, c as A, r as i, h as _, b as r, a as h, g as n, F as x, f as u, w as v, S as I, e as t, t as T, k as E, _ as S, l as w, m as F, p as M } from "./mitt-BysJOgFD.js";
2
2
  import { G as P } from "./style-CFj6q1kW.js";
3
- import { a as U, b as H, c, d as $, T as N, e as W, _ as L, C as G } from "./SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js";
4
- import { _ as O } from "./_.vue_vue_type_style_index_0_lang-DCY7vATB.js";
5
- import { A as D } from "./ActionField-YcUnxCh1.js";
3
+ import { a as U, b as H, c, d as $, T as N, e as W, _ as L, C as G } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
4
+ import { _ as O } from "./_.vue_vue_type_style_index_0_lang-Q0efa7Bu.js";
5
+ import { A as D } from "./ActionField-OJ0B_Rvq.js";
6
6
  const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C({
7
7
  __name: "CancelReservationForm",
8
8
  setup(p) {
Binary file