@konnectio/core 4.2.36 → 4.3.1

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 (91) hide show
  1. package/dist/{ActionField-BcrrcZZB.js → ActionField-NdulJ0sj.js} +2 -2
  2. package/dist/ActionField-NdulJ0sj.js.br +0 -0
  3. package/dist/ActionField-NdulJ0sj.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D9AU4ixh.js → AvailabilitySkeleton-BlugWG0g.js} +5 -5
  5. package/dist/AvailabilitySkeleton-BlugWG0g.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-BlugWG0g.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js} +2 -2
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CBIEfqSw.js.gz +0 -0
  10. package/dist/{CheckoutWindow-DWFK2IZh.js → CheckoutWindow-CdAiqIDw.js} +2 -2
  11. package/dist/CheckoutWindow-CdAiqIDw.js.br +0 -0
  12. package/dist/CheckoutWindow-CdAiqIDw.js.gz +0 -0
  13. package/dist/{ErrorMessage-C1YWACa7.js → ErrorMessage-C8HsnG1r.js} +2 -2
  14. package/dist/ErrorMessage-C8HsnG1r.js.br +0 -0
  15. package/dist/ErrorMessage-C8HsnG1r.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-CDMjMdcO.js → EventAvailabilityForm-78aeZEOH.js} +3 -3
  17. package/dist/EventAvailabilityForm-78aeZEOH.js.br +0 -0
  18. package/dist/EventAvailabilityForm-78aeZEOH.js.gz +0 -0
  19. package/dist/{Field-CMaYNFTv.js → Field-BxSrgrQ5.js} +3 -3
  20. package/dist/Field-BxSrgrQ5.js.br +0 -0
  21. package/dist/Field-BxSrgrQ5.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js} +2 -2
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-WGKfPG3T.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js → SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js} +90 -90
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js.gz +0 -0
  28. package/dist/{TermsOfService-BfaRso6d.js → TermsOfService-Bfud-yjT.js} +3 -3
  29. package/dist/TermsOfService-Bfud-yjT.js.br +0 -0
  30. package/dist/TermsOfService-Bfud-yjT.js.gz +0 -0
  31. package/dist/_-COCg3q6j.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-Vlaciaq-.js → _.vue_vue_type_style_index_0_lang-CPvUCrel.js} +2 -2
  33. package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-CPvUCrel.js.gz +0 -0
  35. package/dist/availability.js +32 -29
  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/event.js +190 -187
  42. package/dist/event.js.br +0 -0
  43. package/dist/event.js.gz +0 -0
  44. package/dist/gift-card-validation.js +7 -7
  45. package/dist/gift-card-validation.js.br +0 -0
  46. package/dist/gift-card-validation.js.gz +0 -0
  47. package/dist/gift-card.js +79 -76
  48. package/dist/gift-card.js.br +0 -0
  49. package/dist/gift-card.js.gz +0 -0
  50. package/dist/{giftCard-CDAm25oD.js → giftCard-DpJ3HhSP.js} +2 -2
  51. package/dist/giftCard-DpJ3HhSP.js.br +0 -0
  52. package/dist/giftCard-DpJ3HhSP.js.gz +0 -0
  53. package/dist/hotel.js +2686 -3241
  54. package/dist/hotel.js.br +0 -0
  55. package/dist/hotel.js.gz +0 -0
  56. package/dist/index-BZyqtOJw.js +560 -0
  57. package/dist/index-BZyqtOJw.js.br +0 -0
  58. package/dist/index-BZyqtOJw.js.gz +0 -0
  59. package/dist/{masonry.plugin-85XDu7Qy.js → masonry.plugin-CPn7JWhD.js} +5 -5
  60. package/dist/masonry.plugin-CPn7JWhD.js.br +0 -0
  61. package/dist/{masonry.plugin-85XDu7Qy.js.gz → masonry.plugin-CPn7JWhD.js.gz} +0 -0
  62. package/dist/polyfill.js +1 -1
  63. package/dist/polyfill.js.br +0 -0
  64. package/dist/polyfill.js.gz +0 -0
  65. package/package.json +1 -1
  66. package/dist/ActionField-BcrrcZZB.js.br +0 -0
  67. package/dist/ActionField-BcrrcZZB.js.gz +0 -0
  68. package/dist/AvailabilitySkeleton-D9AU4ixh.js.br +0 -0
  69. package/dist/AvailabilitySkeleton-D9AU4ixh.js.gz +0 -0
  70. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js.br +0 -0
  71. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DEsgxJWU.js.gz +0 -0
  72. package/dist/CheckoutWindow-DWFK2IZh.js.br +0 -0
  73. package/dist/CheckoutWindow-DWFK2IZh.js.gz +0 -0
  74. package/dist/ErrorMessage-C1YWACa7.js.br +0 -0
  75. package/dist/ErrorMessage-C1YWACa7.js.gz +0 -0
  76. package/dist/EventAvailabilityForm-CDMjMdcO.js.br +0 -0
  77. package/dist/EventAvailabilityForm-CDMjMdcO.js.gz +0 -0
  78. package/dist/Field-CMaYNFTv.js.br +0 -0
  79. package/dist/Field-CMaYNFTv.js.gz +0 -0
  80. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js.br +0 -0
  81. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C9SWkRut.js.gz +0 -0
  82. package/dist/SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js.br +0 -0
  83. package/dist/SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js.gz +0 -0
  84. package/dist/TermsOfService-BfaRso6d.js.br +0 -0
  85. package/dist/TermsOfService-BfaRso6d.js.gz +0 -0
  86. package/dist/_-Bu1sX50B.js +0 -5
  87. package/dist/_.vue_vue_type_style_index_0_lang-Vlaciaq-.js.br +0 -0
  88. package/dist/_.vue_vue_type_style_index_0_lang-Vlaciaq-.js.gz +0 -0
  89. package/dist/giftCard-CDAm25oD.js.br +0 -0
  90. package/dist/giftCard-CDAm25oD.js.gz +0 -0
  91. package/dist/masonry.plugin-85XDu7Qy.js.br +0 -0
@@ -1,10 +1,11 @@
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-CWSmi8M-.js";
2
- import { u as I, C as j, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-BJ3PFA5k.js";
3
- import { _ as U } from "./_.vue_vue_type_style_index_0_lang-Vlaciaq-.js";
4
- import { A as q, H as G } from "./AvailabilitySkeleton-D9AU4ixh.js";
5
- import { E as J } from "./EventAvailabilityForm-CDMjMdcO.js";
6
- import { E as O } from "./ErrorMessage-C1YWACa7.js";
7
- const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-availability-navigation" }, W = { class: "konnectio-availability-search-form" }, X = /* @__PURE__ */ w({
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-BZyqtOJw.js";
3
+ import { u as j, C as q, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-DEfqF5Rl.js";
4
+ import { _ as R } from "./_.vue_vue_type_style_index_0_lang-CPvUCrel.js";
5
+ import { A as W, H as Y } from "./AvailabilitySkeleton-BlugWG0g.js";
6
+ import { E as Z } from "./EventAvailabilityForm-78aeZEOH.js";
7
+ import { E as G } from "./ErrorMessage-C8HsnG1r.js";
8
+ const J = { class: "konnectio-availability-module" }, O = { class: "konnectio-availability-navigation" }, Q = { class: "konnectio-availability-search-form" }, X = /* @__PURE__ */ w({
8
9
  name: "AvailabilityLayout",
9
10
  __name: "Availability",
10
11
  props: {
@@ -19,30 +20,30 @@ const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-av
19
20
  styling: {}
20
21
  },
21
22
  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(() => ({
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
24
  fontSize: "13px",
24
25
  ...a.styling
25
26
  }));
26
- return S(() => {
27
+ return B(() => {
27
28
  !a.hotelLink && a.eventLink ? i.value = "event" : i.value = "hotel";
28
- }), (t, n) => (o(), s(j, { styling: _.value }, {
29
+ }), (t, n) => (o(), s(q, { styling: C.value }, {
29
30
  default: c(() => [
30
- E.value ? (o(), s(B, { key: 0 }, {
31
+ g.value ? (o(), s(D, { key: 0 }, {
31
32
  default: c(() => [
32
33
  e("div", null, [
33
- v(U, {
34
+ v(R, {
34
35
  "access-token": t.accessToken,
35
36
  callback: d(u)
36
37
  }, {
37
38
  default: c(() => [
38
- e("div", Q, [
39
- m.value ? (o(), D(M, { key: 0 }, [
40
- e("nav", R, [
39
+ e("div", J, [
40
+ m.value ? (o(), H(P, { key: 0 }, [
41
+ e("nav", O, [
41
42
  e("ul", null, [
42
43
  e("li", null, [
43
44
  e("button", {
44
45
  class: L({ active: k.value }),
45
- onClick: n[0] || (n[0] = f((g) => b("hotel"), ["prevent"]))
46
+ onClick: n[0] || (n[0] = b((_) => f("hotel"), ["prevent"]))
46
47
  }, [
47
48
  e("span", null, A(d(r)("availability.hotel")), 1)
48
49
  ], 2)
@@ -50,7 +51,7 @@ const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-av
50
51
  e("li", null, [
51
52
  e("button", {
52
53
  class: L({ active: h.value }),
53
- onClick: n[1] || (n[1] = f((g) => b("event"), ["prevent"]))
54
+ onClick: n[1] || (n[1] = b((_) => f("event"), ["prevent"]))
54
55
  }, [
55
56
  e("span", null, A(d(r)("availability.events")), 1)
56
57
  ], 2)
@@ -59,20 +60,20 @@ const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-av
59
60
  ]),
60
61
  n[2] || (n[2] = e("div", { class: "konnectio-availability-divider" }, null, -1))
61
62
  ], 64)) : y("", !0),
62
- e("div", W, [
63
- v(N, {
63
+ e("div", Q, [
64
+ v(M, {
64
65
  name: "fade",
65
66
  mode: "out-in",
66
67
  appear: ""
67
68
  }, {
68
69
  default: c(() => [
69
- k.value ? (o(), s(G, {
70
+ k.value ? (o(), s(Y, {
70
71
  key: 0,
71
72
  link: t.hotelLink,
72
73
  "selected-location": Number(t.hotelLocation),
73
74
  "disable-default-location": t.hotelDisableDefaultLocation === "yes",
74
75
  "hide-locations": t.hideHotelLocations === "yes"
75
- }, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) : h.value ? (o(), s(J, {
76
+ }, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) : h.value ? (o(), s(Z, {
76
77
  key: 1,
77
78
  link: t.eventLink,
78
79
  "selected-location": Number(t.eventLocation),
@@ -90,13 +91,13 @@ const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-av
90
91
  ]),
91
92
  fallback: c(() => [
92
93
  e("div", null, [
93
- v(q, {
94
+ v(W, {
94
95
  view: m.value ? "both" : i.value
95
96
  }, null, 8, ["view"])
96
97
  ])
97
98
  ]),
98
99
  _: 1
99
- })) : (o(), s(O, {
100
+ })) : (o(), s(G, {
100
101
  key: 1,
101
102
  title: "Unable to render Availability module",
102
103
  description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
@@ -106,8 +107,10 @@ const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-av
106
107
  _: 1
107
108
  }, 8, ["styling"]));
108
109
  }
109
- }), C = /* @__PURE__ */ K(X, [["__scopeId", "data-v-a8e928a0"]]), Y = P(), Z = $, x = Z();
110
- class ee extends HTMLElement {
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 {
111
114
  vueApp;
112
115
  constructor() {
113
116
  super();
@@ -116,14 +119,14 @@ class ee extends HTMLElement {
116
119
  this.vueApp.unmount();
117
120
  }
118
121
  connectedCallback() {
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);
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);
121
124
  const u = document.createElement("div");
122
125
  this.vueApp.mount(u), this.appendChild(u.children[0]);
123
126
  }
124
127
  }
125
- window.customElements.define("konnectio-availability", ee);
128
+ window.customElements.define("konnectio-availability", ae);
126
129
  export {
127
- ee as default
130
+ ae as default
128
131
  };
129
132
  //# 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-BJ3PFA5k.js";
4
- import { _ as O } from "./_.vue_vue_type_style_index_0_lang-Vlaciaq-.js";
5
- import { A as D } from "./ActionField-BcrrcZZB.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-DEfqF5Rl.js";
4
+ import { _ as O } from "./_.vue_vue_type_style_index_0_lang-CPvUCrel.js";
5
+ import { A as D } from "./ActionField-NdulJ0sj.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