@konnectio/core 4.3.0 → 4.3.2

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 (96) hide show
  1. package/dist/{ActionField-Cb7zG51D.js → ActionField-CJSfD00B.js} +2 -2
  2. package/dist/ActionField-CJSfD00B.js.br +0 -0
  3. package/dist/ActionField-CJSfD00B.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-DVHUBS7m.js → AvailabilitySkeleton-DahaxHPu.js} +10 -10
  5. package/dist/AvailabilitySkeleton-DahaxHPu.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DahaxHPu.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DRN5KFFB.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js} +2 -2
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.gz +0 -0
  10. package/dist/{CheckoutWindow-DezjAxDD.js → CheckoutWindow-O_qYS9cd.js} +10 -10
  11. package/dist/CheckoutWindow-O_qYS9cd.js.br +0 -0
  12. package/dist/CheckoutWindow-O_qYS9cd.js.gz +0 -0
  13. package/dist/{ErrorMessage-CMfm4rV1.js → ErrorMessage-CyJcdPZh.js} +2 -2
  14. package/dist/ErrorMessage-CyJcdPZh.js.br +0 -0
  15. package/dist/ErrorMessage-CyJcdPZh.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-DRFC8E8P.js → EventAvailabilityForm-BHriF2rh.js} +3 -3
  17. package/dist/EventAvailabilityForm-BHriF2rh.js.br +0 -0
  18. package/dist/EventAvailabilityForm-BHriF2rh.js.gz +0 -0
  19. package/dist/{Field-CH9jovXF.js → Field-DqD7cEr0.js} +3 -3
  20. package/dist/Field-DqD7cEr0.js.br +0 -0
  21. package/dist/Field-DqD7cEr0.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CfAtUh-F.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js} +2 -2
  23. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CfAtUh-F.js.br → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.br} +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BJOH8IMB.js → SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js} +2506 -2478
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.gz +0 -0
  28. package/dist/{TermsOfService-weDL8yT7.js → TermsOfService-DEcUhi2o.js} +3 -3
  29. package/dist/TermsOfService-DEcUhi2o.js.br +0 -0
  30. package/dist/TermsOfService-DEcUhi2o.js.gz +0 -0
  31. package/dist/_-Dr00NgKV.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-DSogPUfD.js → _.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js} +2 -2
  33. package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.gz +0 -0
  35. package/dist/availability.js +32 -34
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +3 -3
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/core.css +1 -1
  42. package/dist/core.css.br +0 -0
  43. package/dist/core.css.gz +0 -0
  44. package/dist/event.js +151 -153
  45. package/dist/event.js.br +0 -0
  46. package/dist/event.js.gz +0 -0
  47. package/dist/gift-card-validation.js +7 -7
  48. package/dist/gift-card-validation.js.br +0 -0
  49. package/dist/gift-card-validation.js.gz +0 -0
  50. package/dist/gift-card.js +77 -79
  51. package/dist/gift-card.js.br +0 -0
  52. package/dist/gift-card.js.gz +0 -0
  53. package/dist/{giftCard-3Raa8IYw.js → giftCard-DQSmKUJS.js} +2 -2
  54. package/dist/giftCard-DQSmKUJS.js.br +0 -0
  55. package/dist/giftCard-DQSmKUJS.js.gz +0 -0
  56. package/dist/hotel.js +1777 -1744
  57. package/dist/hotel.js.br +0 -0
  58. package/dist/hotel.js.gz +0 -0
  59. package/dist/{index-Do4TaNL5.js → index-BuCHQzvO.js} +93 -74
  60. package/dist/index-BuCHQzvO.js.br +0 -0
  61. package/dist/index-BuCHQzvO.js.gz +0 -0
  62. package/dist/{masonry.plugin-BzN0FjZz.js → masonry.plugin-CK1Ecitm.js} +5 -5
  63. package/dist/masonry.plugin-CK1Ecitm.js.br +0 -0
  64. package/dist/masonry.plugin-CK1Ecitm.js.gz +0 -0
  65. package/dist/polyfill.js +1 -1
  66. package/dist/polyfill.js.br +0 -0
  67. package/dist/polyfill.js.gz +0 -0
  68. package/package.json +1 -1
  69. package/dist/ActionField-Cb7zG51D.js.br +0 -0
  70. package/dist/ActionField-Cb7zG51D.js.gz +0 -0
  71. package/dist/AvailabilitySkeleton-DVHUBS7m.js.br +0 -0
  72. package/dist/AvailabilitySkeleton-DVHUBS7m.js.gz +0 -0
  73. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DRN5KFFB.js.br +0 -0
  74. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DRN5KFFB.js.gz +0 -0
  75. package/dist/CheckoutWindow-DezjAxDD.js.br +0 -0
  76. package/dist/CheckoutWindow-DezjAxDD.js.gz +0 -0
  77. package/dist/ErrorMessage-CMfm4rV1.js.br +0 -0
  78. package/dist/ErrorMessage-CMfm4rV1.js.gz +0 -0
  79. package/dist/EventAvailabilityForm-DRFC8E8P.js.br +0 -0
  80. package/dist/EventAvailabilityForm-DRFC8E8P.js.gz +0 -0
  81. package/dist/Field-CH9jovXF.js.br +0 -0
  82. package/dist/Field-CH9jovXF.js.gz +0 -0
  83. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CfAtUh-F.js.gz +0 -0
  84. package/dist/SelectField.vue_vue_type_style_index_0_lang-BJOH8IMB.js.br +0 -0
  85. package/dist/SelectField.vue_vue_type_style_index_0_lang-BJOH8IMB.js.gz +0 -0
  86. package/dist/TermsOfService-weDL8yT7.js.br +0 -0
  87. package/dist/TermsOfService-weDL8yT7.js.gz +0 -0
  88. package/dist/_-BH-vkfhx.js +0 -5
  89. package/dist/_.vue_vue_type_style_index_0_lang-DSogPUfD.js.br +0 -0
  90. package/dist/_.vue_vue_type_style_index_0_lang-DSogPUfD.js.gz +0 -0
  91. package/dist/giftCard-3Raa8IYw.js.br +0 -0
  92. package/dist/giftCard-3Raa8IYw.js.gz +0 -0
  93. package/dist/index-Do4TaNL5.js.br +0 -0
  94. package/dist/index-Do4TaNL5.js.gz +0 -0
  95. package/dist/masonry.plugin-BzN0FjZz.js.br +0 -0
  96. package/dist/masonry.plugin-BzN0FjZz.js.gz +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-CWSmi8M-.js";
2
- import { K as p, _ } from "./SelectField.vue_vue_type_style_index_0_lang-BJOH8IMB.js";
3
- import { B as d } from "./CheckoutWindow-DezjAxDD.js";
2
+ import { K as p, _ } from "./SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js";
3
+ import { B as d } from "./CheckoutWindow-O_qYS9cd.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-weDL8yT7.js.map
28
+ //# sourceMappingURL=TermsOfService-DEcUhi2o.js.map
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "./_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=_-Dr00NgKV.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-CWSmi8M-.js";
2
- import { f } from "./SelectField.vue_vue_type_style_index_0_lang-BJOH8IMB.js";
2
+ import { f } from "./SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js";
3
3
  const m = {
4
4
  class: "konnectio-app",
5
5
  ref: "base"
@@ -22,4 +22,4 @@ const m = {
22
22
  export {
23
23
  b as _
24
24
  };
25
- //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-DSogPUfD.js.map
25
+ //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.map
@@ -1,11 +1,11 @@
1
- import { d as w, u as S, r as T, c as l, o as B, a as s, b as o, w as c, S as D, e, f as v, g as d, h as H, i as y, F as P, j as b, n as L, t as A, T as M, k as N, l as F, m as V, _ as z, p as I } from "./mitt-CWSmi8M-.js";
2
- import { f as U, a as $ } from "./index-Do4TaNL5.js";
3
- import { u as j, C as q, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-BJOH8IMB.js";
4
- import { _ as R } from "./_.vue_vue_type_style_index_0_lang-DSogPUfD.js";
5
- import { A as W, H as Y } from "./AvailabilitySkeleton-DVHUBS7m.js";
6
- import { E as Z } from "./EventAvailabilityForm-DRFC8E8P.js";
7
- import { E as G } from "./ErrorMessage-CMfm4rV1.js";
8
- const J = { class: "konnectio-availability-module" }, O = { class: "konnectio-availability-navigation" }, Q = { class: "konnectio-availability-search-form" }, X = /* @__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 f, F as M, j as y, n as L, t as A, T as N, k as P, l as F, m as V, _ as $, p as z } from "./mitt-CWSmi8M-.js";
2
+ import { f as I } from "./index-BuCHQzvO.js";
3
+ import { u as j, C as K, _ as U } from "./SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js";
4
+ import { _ as q } from "./_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js";
5
+ import { A as G, H as J } from "./AvailabilitySkeleton-DahaxHPu.js";
6
+ import { E as O } from "./EventAvailabilityForm-BHriF2rh.js";
7
+ import { E as Q } from "./ErrorMessage-CyJcdPZh.js";
8
+ const R = { class: "konnectio-availability-module" }, W = { class: "konnectio-availability-navigation" }, X = { class: "konnectio-availability-search-form" }, Y = /* @__PURE__ */ w({
9
9
  name: "AvailabilityLayout",
10
10
  __name: "Availability",
11
11
  props: {
@@ -20,30 +20,30 @@ const J = { class: "konnectio-availability-module" }, O = { class: "konnectio-av
20
20
  styling: {}
21
21
  },
22
22
  setup(p) {
23
- const { t: r } = S(), { fetchMetadata: u } = j(), a = p, i = T(), g = l(() => !!a.hotelLink || !!a.eventLink), m = l(() => !!a.hotelLink && !!a.eventLink), k = l(() => i.value === "hotel"), h = l(() => i.value === "event"), f = (t) => i.value = t, C = l(() => ({
23
+ const { t: r } = T(), { fetchMetadata: u } = j(), 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(() => ({
24
24
  fontSize: "13px",
25
25
  ...a.styling
26
26
  }));
27
- return B(() => {
27
+ return S(() => {
28
28
  !a.hotelLink && a.eventLink ? i.value = "event" : i.value = "hotel";
29
- }), (t, n) => (o(), s(q, { styling: C.value }, {
29
+ }), (t, n) => (o(), s(K, { styling: _.value }, {
30
30
  default: c(() => [
31
- g.value ? (o(), s(D, { key: 0 }, {
31
+ E.value ? (o(), s(B, { key: 0 }, {
32
32
  default: c(() => [
33
33
  e("div", null, [
34
- v(R, {
34
+ v(q, {
35
35
  "access-token": t.accessToken,
36
36
  callback: d(u)
37
37
  }, {
38
38
  default: c(() => [
39
- e("div", J, [
40
- m.value ? (o(), H(P, { key: 0 }, [
41
- e("nav", O, [
39
+ e("div", R, [
40
+ m.value ? (o(), D(M, { key: 0 }, [
41
+ e("nav", W, [
42
42
  e("ul", null, [
43
43
  e("li", null, [
44
44
  e("button", {
45
45
  class: L({ active: k.value }),
46
- onClick: n[0] || (n[0] = b((_) => f("hotel"), ["prevent"]))
46
+ onClick: n[0] || (n[0] = y((g) => b("hotel"), ["prevent"]))
47
47
  }, [
48
48
  e("span", null, A(d(r)("availability.hotel")), 1)
49
49
  ], 2)
@@ -51,7 +51,7 @@ const J = { class: "konnectio-availability-module" }, O = { class: "konnectio-av
51
51
  e("li", null, [
52
52
  e("button", {
53
53
  class: L({ active: h.value }),
54
- onClick: n[1] || (n[1] = b((_) => f("event"), ["prevent"]))
54
+ onClick: n[1] || (n[1] = y((g) => b("event"), ["prevent"]))
55
55
  }, [
56
56
  e("span", null, A(d(r)("availability.events")), 1)
57
57
  ], 2)
@@ -59,26 +59,26 @@ const J = { class: "konnectio-availability-module" }, O = { class: "konnectio-av
59
59
  ])
60
60
  ]),
61
61
  n[2] || (n[2] = e("div", { class: "konnectio-availability-divider" }, null, -1))
62
- ], 64)) : y("", !0),
63
- e("div", Q, [
64
- v(M, {
62
+ ], 64)) : f("", !0),
63
+ e("div", X, [
64
+ v(N, {
65
65
  name: "fade",
66
66
  mode: "out-in",
67
67
  appear: ""
68
68
  }, {
69
69
  default: c(() => [
70
- k.value ? (o(), s(Y, {
70
+ k.value ? (o(), s(J, {
71
71
  key: 0,
72
72
  link: t.hotelLink,
73
73
  "selected-location": Number(t.hotelLocation),
74
74
  "disable-default-location": t.hotelDisableDefaultLocation === "yes",
75
75
  "hide-locations": t.hideHotelLocations === "yes"
76
- }, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) : h.value ? (o(), s(Z, {
76
+ }, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) : h.value ? (o(), s(O, {
77
77
  key: 1,
78
78
  link: t.eventLink,
79
79
  "selected-location": Number(t.eventLocation),
80
80
  "hide-locations": t.hideEventLocations === "yes"
81
- }, null, 8, ["link", "selected-location", "hide-locations"])) : y("", !0)
81
+ }, null, 8, ["link", "selected-location", "hide-locations"])) : f("", !0)
82
82
  ]),
83
83
  _: 1
84
84
  })
@@ -91,13 +91,13 @@ const J = { class: "konnectio-availability-module" }, O = { class: "konnectio-av
91
91
  ]),
92
92
  fallback: c(() => [
93
93
  e("div", null, [
94
- v(W, {
94
+ v(G, {
95
95
  view: m.value ? "both" : i.value
96
96
  }, null, 8, ["view"])
97
97
  ])
98
98
  ]),
99
99
  _: 1
100
- })) : (o(), s(G, {
100
+ })) : (o(), s(Q, {
101
101
  key: 1,
102
102
  title: "Unable to render Availability module",
103
103
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -107,10 +107,8 @@ const J = { class: "konnectio-availability-module" }, O = { class: "konnectio-av
107
107
  _: 1
108
108
  }, 8, ["styling"]));
109
109
  }
110
- }), E = /* @__PURE__ */ K(X, [["__scopeId", "data-v-a8e928a0"]]);
111
- U.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3");
112
- const x = N(), ee = z, te = ee();
113
- class ae extends HTMLElement {
110
+ }), C = /* @__PURE__ */ U(Y, [["__scopeId", "data-v-a8e928a0"]]), Z = P(), x = $, ee = x();
111
+ class te extends HTMLElement {
114
112
  vueApp;
115
113
  constructor() {
116
114
  super();
@@ -119,14 +117,14 @@ class ae extends HTMLElement {
119
117
  this.vueApp.unmount();
120
118
  }
121
119
  connectedCallback() {
122
- const r = F(E, this.attributes);
123
- this.vueApp = V(E, r), this.vueApp.provide("emitter", te), this.vueApp.use($), this.vueApp.use(I), this.vueApp.use(x);
120
+ const r = F(C, this.attributes);
121
+ this.vueApp = V(C, r), this.vueApp.provide("emitter", ee), this.vueApp.use(I), this.vueApp.use(z), this.vueApp.use(Z);
124
122
  const u = document.createElement("div");
125
123
  this.vueApp.mount(u), this.appendChild(u.children[0]);
126
124
  }
127
125
  }
128
- window.customElements.define("konnectio-availability", ae);
126
+ window.customElements.define("konnectio-availability", te);
129
127
  export {
130
- ae as default
128
+ te as default
131
129
  };
132
130
  //# sourceMappingURL=availability.js.map
Binary file
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-CWSmi8M-.js";
2
2
  import { G as P } from "./style-DJF9fHLt.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-BJOH8IMB.js";
4
- import { _ as O } from "./_.vue_vue_type_style_index_0_lang-DSogPUfD.js";
5
- import { A as D } from "./ActionField-Cb7zG51D.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-CIGrTH9B.js";
4
+ import { _ as O } from "./_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js";
5
+ import { A as D } from "./ActionField-CJSfD00B.js";
6
6
  const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C({
7
7
  __name: "CancelReservationForm",
8
8
  setup(p) {
Binary file
Binary file