@konnectio/core 4.8.3 → 4.8.4

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 (107) hide show
  1. package/dist/{ActionField-BmK388lK.js → ActionField-DNhrzibV.js} +42 -42
  2. package/dist/ActionField-DNhrzibV.js.br +0 -0
  3. package/dist/ActionField-DNhrzibV.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-BCEm7qR0.js → AvailabilitySkeleton-DyHPcQ3l.js} +1863 -1863
  5. package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
  7. package/dist/{CheckoutWindow-DvJ7vnNs.js → CheckoutWindow-C7AVcaIo.js} +446 -446
  8. package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
  9. package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
  10. package/dist/{ErrorMessage-KXjD72UF.js → ErrorMessage-i6VD5R-W.js} +12 -12
  11. package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
  12. package/dist/ErrorMessage-i6VD5R-W.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-CYlTT_Hr.js → EventAvailabilityForm-B5degNGN.js} +28 -28
  14. package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
  15. package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
  16. package/dist/{Field-BDefa6ac.js → Field-CysA6ZKB.js} +14 -14
  17. package/dist/Field-CysA6ZKB.js.br +0 -0
  18. package/dist/Field-CysA6ZKB.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-BGzRuNRM.js +320 -0
  20. package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
  22. package/dist/{SelectField-D7e73Bye.js → SelectField-BUeYRCxc.js} +2947 -3417
  23. package/dist/SelectField-BUeYRCxc.js.br +0 -0
  24. package/dist/SelectField-BUeYRCxc.js.gz +0 -0
  25. package/dist/TermsOfService-DgMhoS_V.js +17 -0
  26. package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
  27. package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
  28. package/dist/_-DFyJPf6E.js +25 -0
  29. package/dist/_-DFyJPf6E.js.br +0 -0
  30. package/dist/_-DFyJPf6E.js.gz +0 -0
  31. package/dist/availability.js +40 -40
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +58 -58
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/deep-link.js +12 -12
  38. package/dist/deep-link.js.br +0 -0
  39. package/dist/deep-link.js.gz +0 -0
  40. package/dist/{dist-Div6l3C2.js → dist-CS5pBdeg.js} +22 -22
  41. package/dist/dist-CS5pBdeg.js.br +0 -0
  42. package/dist/dist-CS5pBdeg.js.gz +0 -0
  43. package/dist/{dist-B3QSYyxo.js → dist-D4fD_33g.js} +5 -5
  44. package/dist/dist-D4fD_33g.js.br +0 -0
  45. package/dist/dist-D4fD_33g.js.gz +0 -0
  46. package/dist/event.js +371 -371
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +49 -49
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +161 -161
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-DPU-N3nF.js → giftCard-ChLbvI2n.js} +15 -15
  56. package/dist/giftCard-ChLbvI2n.js.br +0 -0
  57. package/dist/giftCard-ChLbvI2n.js.gz +0 -0
  58. package/dist/hotel.js +776 -776
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/{i18n-BF6zkld-.js → i18n-_behsDNX.js} +1030 -530
  62. package/dist/i18n-_behsDNX.js.br +0 -0
  63. package/dist/{i18n-BF6zkld-.js.gz → i18n-_behsDNX.js.gz} +0 -0
  64. package/dist/polyfill.js +1 -1
  65. package/dist/polyfill.js.br +0 -0
  66. package/dist/polyfill.js.gz +0 -0
  67. package/dist/{style-Bb9B24D1.js → style-DWSfukOm.js} +372 -372
  68. package/dist/style-DWSfukOm.js.br +0 -0
  69. package/dist/style-DWSfukOm.js.gz +0 -0
  70. package/dist-wix/availability.js +29 -29
  71. package/dist-wix/event.js +4 -4
  72. package/dist-wix/gift-card-validation.js +21 -21
  73. package/dist-wix/gift-card.js +25 -25
  74. package/dist-wix/hotel.js +4 -4
  75. package/package.json +5 -4
  76. package/dist/ActionField-BmK388lK.js.br +0 -0
  77. package/dist/ActionField-BmK388lK.js.gz +0 -0
  78. package/dist/AvailabilitySkeleton-BCEm7qR0.js.br +0 -0
  79. package/dist/AvailabilitySkeleton-BCEm7qR0.js.gz +0 -0
  80. package/dist/CheckoutWindow-DvJ7vnNs.js.br +0 -0
  81. package/dist/CheckoutWindow-DvJ7vnNs.js.gz +0 -0
  82. package/dist/ErrorMessage-KXjD72UF.js.br +0 -0
  83. package/dist/ErrorMessage-KXjD72UF.js.gz +0 -0
  84. package/dist/EventAvailabilityForm-CYlTT_Hr.js.br +0 -0
  85. package/dist/EventAvailabilityForm-CYlTT_Hr.js.gz +0 -0
  86. package/dist/Field-BDefa6ac.js.br +0 -0
  87. package/dist/Field-BDefa6ac.js.gz +0 -0
  88. package/dist/HotelAvailabilityForm-DoEwqvzD.js +0 -320
  89. package/dist/HotelAvailabilityForm-DoEwqvzD.js.br +0 -0
  90. package/dist/HotelAvailabilityForm-DoEwqvzD.js.gz +0 -0
  91. package/dist/SelectField-D7e73Bye.js.br +0 -0
  92. package/dist/SelectField-D7e73Bye.js.gz +0 -0
  93. package/dist/TermsOfService-CAeM3I9r.js +0 -17
  94. package/dist/TermsOfService-CAeM3I9r.js.br +0 -0
  95. package/dist/TermsOfService-CAeM3I9r.js.gz +0 -0
  96. package/dist/_-B4tCu0BU.js +0 -25
  97. package/dist/_-B4tCu0BU.js.br +0 -0
  98. package/dist/_-B4tCu0BU.js.gz +0 -2
  99. package/dist/dist-B3QSYyxo.js.br +0 -0
  100. package/dist/dist-B3QSYyxo.js.gz +0 -0
  101. package/dist/dist-Div6l3C2.js.br +0 -0
  102. package/dist/dist-Div6l3C2.js.gz +0 -0
  103. package/dist/giftCard-DPU-N3nF.js.br +0 -0
  104. package/dist/giftCard-DPU-N3nF.js.gz +0 -0
  105. package/dist/i18n-BF6zkld-.js.br +0 -0
  106. package/dist/style-Bb9B24D1.js.br +0 -0
  107. package/dist/style-Bb9B24D1.js.gz +0 -0
Binary file
Binary file
@@ -0,0 +1,17 @@
1
+ import { At as e, M as t, a as n, et as r, gt as i, j as a, z as o } from "./i18n-_behsDNX.js";
2
+ import { R as s, S as c } from "./SelectField-BUeYRCxc.js";
3
+ import { o as l } from "./CheckoutWindow-C7AVcaIo.js";
4
+ //#region src/components/side-panels/TermsOfService.vue?vue&type=script&setup=true&lang.ts
5
+ var u = { class: "konnectio-terms-side-panel" }, d = ["innerHTML"], f = /*#__PURE__*/ c(/* @__PURE__ */ o({
6
+ __name: "TermsOfService",
7
+ props: { description: {} },
8
+ setup(o) {
9
+ let { t: c } = n();
10
+ return (n, f) => (r(), t(l, { title: e(c)("general.termsAndConditions") }, {
11
+ default: i(() => [a("div", u, [a("p", { innerHTML: e(s)(o.description) }, null, 8, d)])]),
12
+ _: 1
13
+ }, 8, ["title"]));
14
+ }
15
+ }), [["__scopeId", "data-v-107b46b8"]]);
16
+ //#endregion
17
+ export { f as t };
@@ -0,0 +1,25 @@
1
+ import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
+ import { At as t, P as n, Pt as r, a as i, at as a, et as o, ht as s, j as c, z as l } from "./i18n-_behsDNX.js";
3
+ import { E as u } from "./SelectField-BUeYRCxc.js";
4
+ //#region src/layouts/_.vue?vue&type=script&setup=true&lang.ts
5
+ var d = {
6
+ class: "konnectio-app",
7
+ ref: "base"
8
+ }, f = {
9
+ key: 0,
10
+ class: "konnectio-panel"
11
+ }, p = /*@__PURE__*/ l({
12
+ name: "BaseLayout",
13
+ __name: "_",
14
+ props: {
15
+ accessToken: {},
16
+ type: { default: "none" },
17
+ callback: {}
18
+ },
19
+ async setup(e) {
20
+ let l, p, m = e, { t: h } = i(), { bookingDisabled: g, setAccessToken: _, fetchUtilities: v } = u();
21
+ return [l, p] = s(() => _(m.accessToken)), await l, p(), [l, p] = s(() => v()), await l, p(), m.callback && ([l, p] = s(() => m.callback()), await l, p()), (e, i) => (o(), n("div", d, [t(g) ? (o(), n("div", f, [c("span", null, r(t(h)("alert.error.bookingDisabled")), 1)])) : a(e.$slots, "default", {}, void 0, void 0, 1)], 512));
22
+ }
23
+ }), m = /* @__PURE__ */ e({ default: () => h }), h = p;
24
+ //#endregion
25
+ export { m as n, h as t };
Binary file
Binary file
@@ -1,13 +1,13 @@
1
- import { D as e, E as t, Et as n, J as r, K as i, N as a, O as o, T as s, Tt as c, a as l, b as u, j as d, kt as f, n as p, o as m, s as h, u as g, ut as _, v, w as y, x as b, yt as x } from "./i18n-BF6zkld-.js";
2
- import { t as S } from "./dist-Div6l3C2.js";
3
- import { C, S as w, b as T } from "./SelectField-D7e73Bye.js";
4
- import { t as E } from "./_-B4tCu0BU.js";
5
- import { t as D } from "./AvailabilitySkeleton-BCEm7qR0.js";
6
- import { t as O } from "./HotelAvailabilityForm-DoEwqvzD.js";
7
- import { t as k } from "./EventAvailabilityForm-CYlTT_Hr.js";
8
- import { t as A } from "./ErrorMessage-KXjD72UF.js";
1
+ import { A as e, At as t, D as n, E as r, L as i, M as a, N as o, P as s, Pt as c, Q as l, a as u, et as d, g as f, gt as p, j as m, jt as h, n as g, o as _, p as v, w as y, wt as b, z as x } from "./i18n-_behsDNX.js";
2
+ import { t as S } from "./dist-CS5pBdeg.js";
3
+ import { C, S as w, b as T } from "./SelectField-BUeYRCxc.js";
4
+ import { t as E } from "./_-DFyJPf6E.js";
5
+ import { t as D } from "./AvailabilitySkeleton-DyHPcQ3l.js";
6
+ import { t as O } from "./HotelAvailabilityForm-BGzRuNRM.js";
7
+ import { t as k } from "./EventAvailabilityForm-B5degNGN.js";
8
+ import { t as A } from "./ErrorMessage-i6VD5R-W.js";
9
9
  //#region src/layouts/Availability.vue?vue&type=script&setup=true&lang.ts
10
- var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-availability-navigation" }, N = { class: "konnectio-availability-search-form" }, P = /*#__PURE__*/ w(/* @__PURE__ */ a({
10
+ var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-availability-navigation" }, N = { class: "konnectio-availability-search-form" }, P = /*#__PURE__*/ w(/* @__PURE__ */ x({
11
11
  name: "AvailabilityLayout",
12
12
  __name: "Availability",
13
13
  props: {
@@ -21,58 +21,58 @@ var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-avai
21
21
  hotelDisableDefaultLocation: { default: "no" },
22
22
  styling: {}
23
23
  },
24
- setup(a) {
25
- let { t: p } = l(), { fetchMetadata: m } = C(), h = a, S = x(), w = y(() => !!h.hotelLink || !!h.eventLink), P = y(() => !!h.hotelLink && !!h.eventLink), F = y(() => S.value === "hotel"), I = y(() => S.value === "event"), L = (e) => S.value = e, R = y(() => ({
24
+ setup(g) {
25
+ let { t: _ } = u(), { fetchMetadata: v } = C(), x = g, S = b(), w = e(() => !!x.hotelLink || !!x.eventLink), P = e(() => !!x.hotelLink && !!x.eventLink), F = e(() => S.value === "hotel"), I = e(() => S.value === "event"), L = (e) => S.value = e, R = e(() => ({
26
26
  fontSize: "13px",
27
- ...h.styling
27
+ ...x.styling
28
28
  }));
29
- return i(() => {
30
- !h.hotelLink && h.eventLink ? S.value = "event" : S.value = "hotel";
31
- }), (i, l) => (r(), t(T, { styling: R.value }, {
32
- default: _(() => [w.value ? (r(), t(b, { key: 0 }, {
33
- default: _(() => [s("div", null, [d(E, {
34
- "access-token": a.accessToken,
35
- callback: c(m)
29
+ return l(() => {
30
+ !x.hotelLink && x.eventLink ? S.value = "event" : S.value = "hotel";
31
+ }), (e, l) => (d(), a(T, { styling: R.value }, {
32
+ default: p(() => [w.value ? (d(), a(n, { key: 0 }, {
33
+ default: p(() => [m("div", null, [i(E, {
34
+ "access-token": g.accessToken,
35
+ callback: t(v)
36
36
  }, {
37
- default: _(() => [s("div", j, [P.value ? (r(), o(u, { key: 0 }, [s("nav", M, [s("ul", null, [s("li", null, [s("button", {
38
- class: n({ active: F.value }),
39
- onClick: l[0] ||= v((e) => L("hotel"), ["prevent"])
40
- }, [s("span", null, f(c(p)("availability.hotel")), 1)], 2)]), s("li", null, [s("button", {
41
- class: n({ active: I.value }),
42
- onClick: l[1] ||= v((e) => L("event"), ["prevent"])
43
- }, [s("span", null, f(c(p)("availability.events")), 1)], 2)])])]), l[2] ||= s("div", { class: "konnectio-availability-divider" }, null, -1)], 64)) : e("", !0), s("div", N, [d(g, {
37
+ default: p(() => [m("div", j, [P.value ? (d(), s(r, { key: 0 }, [m("nav", M, [m("ul", null, [m("li", null, [m("button", {
38
+ class: h({ active: F.value }),
39
+ onClick: l[0] ||= y((e) => L("hotel"), ["prevent"])
40
+ }, [m("span", null, c(t(_)("availability.hotel")), 1)], 2)]), m("li", null, [m("button", {
41
+ class: h({ active: I.value }),
42
+ onClick: l[1] ||= y((e) => L("event"), ["prevent"])
43
+ }, [m("span", null, c(t(_)("availability.events")), 1)], 2)])])]), l[2] ||= m("div", { class: "konnectio-availability-divider" }, null, -1)], 64)) : o("", !0), m("div", N, [i(f, {
44
44
  name: "fade",
45
45
  mode: "out-in",
46
46
  appear: ""
47
47
  }, {
48
- default: _(() => [F.value ? (r(), t(O, {
48
+ default: p(() => [F.value ? (d(), a(O, {
49
49
  key: 0,
50
- link: a.hotelLink,
51
- "selected-location": Number(a.hotelLocation),
52
- "disable-default-location": a.hotelDisableDefaultLocation === "yes",
53
- "hide-locations": a.hideHotelLocations === "yes"
50
+ link: g.hotelLink,
51
+ "selected-location": Number(g.hotelLocation),
52
+ "disable-default-location": g.hotelDisableDefaultLocation === "yes",
53
+ "hide-locations": g.hideHotelLocations === "yes"
54
54
  }, null, 8, [
55
55
  "link",
56
56
  "selected-location",
57
57
  "disable-default-location",
58
58
  "hide-locations"
59
- ])) : I.value ? (r(), t(k, {
59
+ ])) : I.value ? (d(), a(k, {
60
60
  key: 1,
61
- link: a.eventLink,
62
- "selected-location": Number(a.eventLocation),
63
- "hide-locations": a.hideEventLocations === "yes"
61
+ link: g.eventLink,
62
+ "selected-location": Number(g.eventLocation),
63
+ "hide-locations": g.hideEventLocations === "yes"
64
64
  }, null, 8, [
65
65
  "link",
66
66
  "selected-location",
67
67
  "hide-locations"
68
- ])) : e("", !0)]),
68
+ ])) : o("", !0)]),
69
69
  _: 1
70
70
  })])])]),
71
71
  _: 1
72
72
  }, 8, ["access-token", "callback"])])]),
73
- fallback: _(() => [s("div", null, [d(D, { view: P.value ? "both" : S.value }, null, 8, ["view"])])]),
73
+ fallback: p(() => [m("div", null, [i(D, { view: P.value ? "both" : S.value }, null, 8, ["view"])])]),
74
74
  _: 1
75
- })) : (r(), t(A, {
75
+ })) : (d(), a(A, {
76
76
  key: 1,
77
77
  title: "Unable to render Availability module",
78
78
  description: "The 'hotel-link' and/or 'event-link' properties are missing.<br>\n The Konnectio Availability module can't be rendered without at least one link property set."
@@ -80,8 +80,8 @@ var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-avai
80
80
  _: 1
81
81
  }, 8, ["styling"]));
82
82
  }
83
- }), [["__scopeId", "data-v-d4cca1d0"]]), F = h(), I = m("konnectio-availability", P, (e) => {
84
- e.use(S), e.use(p), e.use(F);
83
+ }), [["__scopeId", "data-v-d4cca1d0"]]), F = v(), I = _("konnectio-availability", P, (e) => {
84
+ e.use(S), e.use(g), e.use(F);
85
85
  });
86
86
  //#endregion
87
87
  export { I as default };
Binary file
Binary file
@@ -1,42 +1,42 @@
1
- import { E as e, J as t, N as n, O as r, T as i, Tt as a, a as o, b as s, j as c, kt as l, n as u, o as d, s as f, ut as p, w as m, x as h, yt as g } from "./i18n-BF6zkld-.js";
2
- import { N as _, O as v, S as y, at as b, b as x, n as S, t as C, v as w } from "./SelectField-D7e73Bye.js";
3
- import { t as T } from "./_-B4tCu0BU.js";
4
- import { t as E } from "./style-Bb9B24D1.js";
5
- import { t as D } from "./ActionField-BmK388lK.js";
1
+ import { A as e, At as t, D as n, E as r, L as i, M as a, P as o, Pt as s, a as c, et as l, gt as u, j as d, n as f, o as p, p as m, wt as h, z as g } from "./i18n-_behsDNX.js";
2
+ import { N as _, O as v, S as y, at as b, b as x, n as S, t as C, v as w } from "./SelectField-BUeYRCxc.js";
3
+ import { t as T } from "./_-DFyJPf6E.js";
4
+ import { t as E } from "./style-DWSfukOm.js";
5
+ import { t as D } from "./ActionField-DNhrzibV.js";
6
6
  //#region src/components/forms/CancelReservationForm.vue?vue&type=script&setup=true&lang.ts
7
- var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @__PURE__ */ n({
7
+ var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @__PURE__ */ g({
8
8
  __name: "CancelReservationForm",
9
9
  setup(n) {
10
- let { t: i } = o(), { display: l } = _(), { cancelReservation: u } = v(), d = m(() => [
10
+ let { t: s } = c(), { display: u } = _(), { cancelReservation: d } = v(), f = e(() => [
11
11
  {
12
- label: i("cancelReservation.cancellationReasonRegret"),
12
+ label: s("cancelReservation.cancellationReasonRegret"),
13
13
  value: b.Regret
14
14
  },
15
15
  {
16
- label: i("cancelReservation.cancellationReasonMistake"),
16
+ label: s("cancelReservation.cancellationReasonMistake"),
17
17
  value: b.BookingMistake
18
18
  },
19
19
  {
20
- label: i("cancelReservation.cancellationReasonSickness"),
20
+ label: s("cancelReservation.cancellationReasonSickness"),
21
21
  value: b.Sickness
22
22
  },
23
23
  {
24
- label: i("cancelReservation.cancellationReasonTestBooking"),
24
+ label: s("cancelReservation.cancellationReasonTestBooking"),
25
25
  value: b.TestBooking
26
26
  },
27
27
  {
28
- label: i("cancelReservation.cancellationReasonBadWeather"),
28
+ label: s("cancelReservation.cancellationReasonBadWeather"),
29
29
  value: b.BadWeather
30
30
  },
31
31
  {
32
- label: i("cancelReservation.cancellationReasonOther"),
32
+ label: s("cancelReservation.cancellationReasonOther"),
33
33
  value: b.Other
34
34
  }
35
- ]), f = g(""), p = g(void 0), h = g(""), y = g(!1), x = g(!1);
35
+ ]), p = h(""), m = h(void 0), g = h(""), y = h(!1), x = h(!1);
36
36
  function T() {
37
- if (f.value === "") {
38
- l({
39
- message: i("alert.error.reservationIdEmpty"),
37
+ if (p.value === "") {
38
+ u({
39
+ message: s("alert.error.reservationIdEmpty"),
40
40
  type: "error"
41
41
  });
42
42
  return;
@@ -44,19 +44,19 @@ var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @
44
44
  x.value = !0;
45
45
  }
46
46
  function E() {
47
- u({
48
- id: f.value,
49
- reason: p.value,
50
- remark: h.value
47
+ d({
48
+ id: p.value,
49
+ reason: m.value,
50
+ remark: g.value
51
51
  }), x.value = !1;
52
52
  }
53
- return (n, o) => (t(), r("form", O, [x.value ? (t(), r(s, { key: 1 }, [
54
- c(C, {
55
- modelValue: p.value,
56
- "onUpdate:modelValue": o[2] ||= (e) => p.value = e,
57
- label: a(i)("cancelReservation.reasonLabel"),
58
- placeholder: a(i)("cancelReservation.reasonPlaceholder"),
59
- options: d.value,
53
+ return (e, n) => (l(), o("form", O, [x.value ? (l(), o(r, { key: 1 }, [
54
+ i(C, {
55
+ modelValue: m.value,
56
+ "onUpdate:modelValue": n[2] ||= (e) => m.value = e,
57
+ label: t(s)("cancelReservation.reasonLabel"),
58
+ placeholder: t(s)("cancelReservation.reasonPlaceholder"),
59
+ options: f.value,
60
60
  searchable: !1,
61
61
  icon: "ban"
62
62
  }, null, 8, [
@@ -65,37 +65,37 @@ var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @
65
65
  "placeholder",
66
66
  "options"
67
67
  ]),
68
- c(S, {
69
- modelValue: h.value,
70
- "onUpdate:modelValue": o[3] ||= (e) => h.value = e,
68
+ i(S, {
69
+ modelValue: g.value,
70
+ "onUpdate:modelValue": n[3] ||= (e) => g.value = e,
71
71
  type: "textarea",
72
72
  name: "remark",
73
- label: a(i)("cancelReservation.remarkLabel"),
73
+ label: t(s)("cancelReservation.remarkLabel"),
74
74
  icon: "info-circle",
75
- placeholder: a(i)("cancelReservation.remarkPlaceholder")
75
+ placeholder: t(s)("cancelReservation.remarkPlaceholder")
76
76
  }, null, 8, [
77
77
  "modelValue",
78
78
  "label",
79
79
  "placeholder"
80
80
  ]),
81
- c(w, {
82
- label: a(i)("cancelReservation.confirmCancellationButton"),
81
+ i(w, {
82
+ label: t(s)("cancelReservation.confirmCancellationButton"),
83
83
  "full-width": !0,
84
84
  disabled: !1,
85
85
  "is-loading": y.value,
86
- "onUpdate:isLoading": o[4] ||= (e) => y.value = e,
86
+ "onUpdate:isLoading": n[4] ||= (e) => y.value = e,
87
87
  onClickEvent: E
88
88
  }, null, 8, ["label", "is-loading"])
89
- ], 64)) : (t(), e(D, {
89
+ ], 64)) : (l(), a(D, {
90
90
  key: 0,
91
- modelValue: f.value,
92
- "onUpdate:modelValue": o[0] ||= (e) => f.value = e,
91
+ modelValue: p.value,
92
+ "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
93
93
  icon: "octagon-check",
94
- label: a(i)("cancelReservation.reservationIdLabel"),
95
- buttonLabel: a(i)("cancelReservation.checkReservationIdButton"),
96
- placeholder: a(i)("cancelReservation.reservationIdPlaceholder"),
94
+ label: t(s)("cancelReservation.reservationIdLabel"),
95
+ buttonLabel: t(s)("cancelReservation.checkReservationIdButton"),
96
+ placeholder: t(s)("cancelReservation.reservationIdPlaceholder"),
97
97
  "is-loading": y.value,
98
- "onUpdate:isLoading": o[1] ||= (e) => y.value = e,
98
+ "onUpdate:isLoading": n[1] ||= (e) => y.value = e,
99
99
  onAction: T
100
100
  }, null, 8, [
101
101
  "modelValue",
@@ -105,39 +105,39 @@ var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @
105
105
  "is-loading"
106
106
  ]))]));
107
107
  }
108
- }), [["__scopeId", "data-v-042c89f5"]]), A = { class: "konnectio-cancel-reservation-module" }, j = { class: "konnectio-cancel-reservation-title" }, M = ["innerHTML"], N = { class: "konnectio-cancel-reservation-main" }, P = /*#__PURE__*/ y(/* @__PURE__ */ n({
108
+ }), [["__scopeId", "data-v-042c89f5"]]), A = { class: "konnectio-cancel-reservation-module" }, j = { class: "konnectio-cancel-reservation-title" }, M = ["innerHTML"], N = { class: "konnectio-cancel-reservation-main" }, P = /*#__PURE__*/ y(/* @__PURE__ */ g({
109
109
  name: "CancelReservationLayout",
110
110
  __name: "CancelReservation",
111
111
  props: {
112
112
  accessToken: {},
113
113
  styling: {}
114
114
  },
115
- setup(n) {
116
- let { t: r } = o(), s = n, u = m(() => ({
115
+ setup(r) {
116
+ let { t: o } = c(), f = r, p = e(() => ({
117
117
  panelMaxWidth: "800px",
118
- ...s.styling
118
+ ...f.styling
119
119
  }));
120
- return (o, s) => (t(), e(x, { styling: u.value }, {
121
- default: p(() => [(t(), e(h, null, {
122
- default: p(() => [i("div", null, [c(T, { "access-token": n.accessToken }, {
123
- default: p(() => [i("div", A, [
124
- i("h2", j, [i("span", null, l(a(r)("cancelReservation.title")), 1)]),
125
- i("div", {
126
- innerHTML: a(r)("cancelReservation.cancellationNotice"),
120
+ return (e, c) => (l(), a(x, { styling: p.value }, {
121
+ default: u(() => [(l(), a(n, null, {
122
+ default: u(() => [d("div", null, [i(T, { "access-token": r.accessToken }, {
123
+ default: u(() => [d("div", A, [
124
+ d("h2", j, [d("span", null, s(t(o)("cancelReservation.title")), 1)]),
125
+ d("div", {
126
+ innerHTML: t(o)("cancelReservation.cancellationNotice"),
127
127
  class: "konnectio-cancel-reservation-description"
128
128
  }, null, 8, M),
129
- i("div", N, [c(k)])
129
+ d("div", N, [i(k)])
130
130
  ])]),
131
131
  _: 1
132
132
  }, 8, ["access-token"])])]),
133
- fallback: p(() => [...s[0] ||= [i("div", null, null, -1)]]),
133
+ fallback: u(() => [...c[0] ||= [d("div", null, null, -1)]]),
134
134
  _: 1
135
135
  }))]),
136
136
  _: 1
137
137
  }, 8, ["styling"]));
138
138
  }
139
- }), [["__scopeId", "data-v-8f3d2709"]]), F = f(), I = d("konnectio-cancel-reservation", P, (e) => {
140
- e.use(u), e.use(F), e.use(E);
139
+ }), [["__scopeId", "data-v-8f3d2709"]]), F = m(), I = p("konnectio-cancel-reservation", P, (e) => {
140
+ e.use(f), e.use(F), e.use(E);
141
141
  });
142
142
  //#endregion
143
143
  export { I as default };
Binary file
Binary file
package/dist/deep-link.js CHANGED
@@ -1,6 +1,6 @@
1
- import { $ as e, J as t, K as n, N as r, O as i, T as a, kt as o, n as s, o as c, s as l, yt as u } from "./i18n-BF6zkld-.js";
1
+ import { P as e, Pt as t, Q as n, at as r, et as i, j as a, n as o, o as s, p as c, wt as l, z as u } from "./i18n-_behsDNX.js";
2
2
  //#region src/layouts/DeepLink.vue?vue&type=script&setup=true&lang.ts
3
- var d = ["href"], f = /* @__PURE__ */ r({
3
+ var d = ["href"], f = /* @__PURE__ */ u({
4
4
  name: "KonnectioDeepLink",
5
5
  __name: "DeepLink",
6
6
  props: {
@@ -10,22 +10,22 @@ var d = ["href"], f = /* @__PURE__ */ r({
10
10
  adults: {},
11
11
  children: {}
12
12
  },
13
- setup(r) {
14
- let s = u(null), c = r, l = u();
13
+ setup(o) {
14
+ let s = l(null), c = o, u = l();
15
15
  return n(() => {
16
16
  let e = new URL(c.baseurl || location.href);
17
- c.adults && e.searchParams.append("adults", c.adults), c.children && e.searchParams.append("children", c.children), l.value = e.href;
18
- }), (n, r) => (t(), i("div", {
17
+ c.adults && e.searchParams.append("adults", c.adults), c.children && e.searchParams.append("children", c.children), u.value = e.href;
18
+ }), (n, o) => (i(), e("div", {
19
19
  ref_key: "test",
20
20
  ref: s
21
- }, [a("a", { href: l.value }, [
22
- a("span", null, o(l.value), 1),
23
- e(n.$slots, "content"),
24
- e(n.$slots, "default")
21
+ }, [a("a", { href: u.value }, [
22
+ a("span", null, t(u.value), 1),
23
+ r(n.$slots, "content"),
24
+ r(n.$slots, "default")
25
25
  ], 8, d)], 512));
26
26
  }
27
- }), p = l(), m = c("konnectio-deep-link", f, (e) => {
28
- e.use(s), e.use(p);
27
+ }), p = c(), m = s("konnectio-deep-link", f, (e) => {
28
+ e.use(o), e.use(p);
29
29
  });
30
30
  //#endregion
31
31
  export { m as default };
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { G as n, N as r, P as i, ct as a, yt as o } from "./i18n-BF6zkld-.js";
2
+ import { B as n, Z as r, mt as i, wt as a, z as o } from "./i18n-_behsDNX.js";
3
3
  //#region node_modules/@flareapp/core/dist/urlAttributes-DmpMd_4O.mjs
4
- var s = typeof process < "u" ? "2.11.0" : "?", c = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", l = "\"4.8.3\"";
4
+ var s = typeof process < "u" ? "2.11.0" : "?", c = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", l = "\"4.8.4\"";
5
5
  function u(e, t, n) {
6
6
  return n && !e && console.error(`Flare JavaScript client v${s}: ${t}`), !!e;
7
7
  }
@@ -3198,7 +3198,7 @@ typeof window < "u" && window && (window.flare = sa, oa());
3198
3198
  //#endregion
3199
3199
  //#region src/plugins/flare.ts
3200
3200
  var ca = /* @__PURE__ */ "fancybox,jQuery,Modernizr,cssua,ScrollTrigger,calcSelectArrowDimensions,this.elements.$menu.smartmenus,woocommerce,elementor,avadaAddQuantityBoxes,fusion,FLBuilderAccordion,_initLayerSlider,Divi,gsap,Swiper,mailchimp,_AutofillCallbackHandler,$(...),imagesLoaded,masonry,accessing a cross-origin frame,scrollspy,No layout mode: packery,Vimeo,Network Error,Request aborted,timeout exceeded,Loading chunk,TrackerStorageType,Failed to load because no supported source was found.,The element has no supported sources.,grecaptcha,lightbox,priceCalcElement,AwesomeMenu,breakdance,Maximum call stack size exceeded.,Cookies is not defined,getUniqId,Cannot read properties of null (reading 'classList'),n.getModal,e.target.closest is not a function,Cannot read properties of undefined (reading 'Item'),Cannot read properties of undefined (reading 'clientHeight'),refreshFsLightbox,fbq,Cannot assign to read only property 'push' of object '[object Array]',naturalWidth,Request failed with status code,Can't find variable: _,astraNavMenuTogglePro,The operation was aborted.,Failed to fetch dynamically imported module:,Importing a module script failed.,The request is not allowed by the user agent,this.Vi.close,The operation is insecure.,gformValidateFileSize,BreakdanceEntrance,Cannot read properties of undefined (reading '__'),The play() request was interrupted because video-only,Animation is interrupted by user input.,Animation is already playing.,Position \"NaN\" is not reachable.,Cannot redefine property: onbeforeunload,e.remove is not a function,Can't find variable: Cookies,Load failed,wp is not defined,Backbone,Invalid attempt to destructure non-iterable instance,Can't find variable: EmptyRanges,Cannot read properties of undefined (reading 'setLocaleData'),Function snaptr not implemented.,window.sbi_init is not a function,thehotelsnetwork,Reepay,wpcf7,et_pb_,mediaelementplayer,pys_generate_token,webkit.messageHandlers,__firefox__,window.ethereum,Blocked a frame with origin,NetworkError when attempting to fetch resource,play() failed because the user didn,Error invoking postMessage: Java exception,Failed to load CSS,Failed to load script,removeAttribute is not a function,Invalid site key,Handling is disabled".split(",");
3201
- /(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome)/i.test(navigator.userAgent) || (sa.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), sa.addContext("version", "4.8.3"), sa.configure({ beforeEvaluate: (e) => {
3201
+ /(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome)/i.test(navigator.userAgent) || (sa.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), sa.addContext("version", "4.8.4"), sa.configure({ beforeEvaluate: (e) => {
3202
3202
  for (let t = 0; t < ca.length; t++) if (e.message.toLowerCase().includes(ca[t].toLowerCase())) return !1;
3203
3203
  return e;
3204
3204
  } }));
@@ -3531,7 +3531,7 @@ var Ba = /* @__PURE__ */ new WeakSet(), Va = (e, t) => {
3531
3531
  };
3532
3532
  //#endregion
3533
3533
  //#region node_modules/@flareapp/vue/dist/index.mjs
3534
- r({
3534
+ o({
3535
3535
  name: "FlareErrorBoundary",
3536
3536
  props: {
3537
3537
  flare: {
@@ -3576,30 +3576,30 @@ r({
3576
3576
  }
3577
3577
  },
3578
3578
  setup(e, { slots: t }) {
3579
- let r = ua(e.flare);
3580
- Aa(r, i()?.appContext.app.version);
3581
- let s = i(), c = o(null), l = o(void 0), u = o([]), d = o([]), f = () => {
3579
+ let o = ua(e.flare);
3580
+ Aa(o, n()?.appContext.app.version);
3581
+ let s = n(), c = a(null), l = a(void 0), u = a([]), d = a([]), f = () => {
3582
3582
  e.onReset?.(c.value), c.value = null, l.value = void 0, u.value = [], d.value = [];
3583
3583
  };
3584
- return a(() => e.resetKeys, (e, t) => {
3584
+ return i(() => e.resetKeys, (e, t) => {
3585
3585
  if (c.value === null || !e || !t) return;
3586
3586
  let n = t.length !== e.length, r = e.some((e, n) => !Object.is(e, t[n]));
3587
3587
  (n || r) && f();
3588
- }), n((t, n, i) => {
3589
- let a = te(t);
3588
+ }), r((t, n, r) => {
3589
+ let i = te(t);
3590
3590
  e.beforeEvaluate?.({
3591
- error: a,
3591
+ error: i,
3592
3592
  instance: n,
3593
- info: i
3593
+ info: r
3594
3594
  });
3595
- let o = ma(e.propsDenylist, e.replaceDefaultDenylist), f = ya(n), ee = xa(n, {
3595
+ let a = ma(e.propsDenylist, e.replaceDefaultDenylist), f = ya(n), ee = xa(n, {
3596
3596
  attachProps: e.attachProps,
3597
3597
  propsMaxDepth: e.propsMaxDepth,
3598
- propsDenylist: o
3598
+ propsDenylist: a
3599
3599
  }), ne = $(n);
3600
- c.value = a;
3601
- let re = e.attachProps && n?.$props ? ba(n.$props, e.propsMaxDepth, o) : void 0, ie = Sa(i), p = Da(s?.appContext.config.globalProperties.$router, { denylist: o }), m = { vue: {
3602
- info: i,
3600
+ c.value = i;
3601
+ let re = e.attachProps && n?.$props ? ba(n.$props, e.propsMaxDepth, a) : void 0, ie = Sa(r), p = Da(s?.appContext.config.globalProperties.$router, { denylist: a }), m = { vue: {
3602
+ info: r,
3603
3603
  errorOrigin: ie,
3604
3604
  ...p && { route: p },
3605
3605
  componentName: ne,
@@ -3607,15 +3607,15 @@ r({
3607
3607
  componentHierarchy: f,
3608
3608
  componentHierarchyFrames: ee
3609
3609
  } }, h = e.beforeSubmit?.({
3610
- error: a,
3610
+ error: i,
3611
3611
  instance: n,
3612
- info: i,
3612
+ info: r,
3613
3613
  context: m
3614
3614
  }) ?? m;
3615
- return l.value = h.vue.componentProps, u.value = h.vue.componentHierarchy, d.value = h.vue.componentHierarchyFrames, r.reportSilently(a, Ra(h)), e.afterSubmit?.({
3616
- error: a,
3615
+ return l.value = h.vue.componentProps, u.value = h.vue.componentHierarchy, d.value = h.vue.componentHierarchyFrames, o.reportSilently(i, Ra(h)), e.afterSubmit?.({
3616
+ error: i,
3617
3617
  instance: n,
3618
- info: i,
3618
+ info: r,
3619
3619
  context: h
3620
3620
  }), !1;
3621
3621
  }), () => c.value === null ? t.default?.() : t.fallback ? t.fallback({
Binary file
Binary file
@@ -1,8 +1,8 @@
1
- import { $ as renderSlot, A as createTextVNode, C as Text, D as createCommentVNode, E as createBlock, Et as normalizeClass, I as h, J as openBlock, K as onMounted, N as defineComponent, O as createElementBlock, Ot as normalizeStyle, P as getCurrentInstance, Q as renderList, T as createBaseVNode, Tt as unref, U as onBeforeUnmount, V as nextTick, _t as reactive, a as useI18n, at as useModel, b as Fragment, ct as watch, dt as withDirectives, et as resolveComponent, g as vShow, ht as isRef, j as createVNode, k as createSlots, kt as toDisplayString, l as storeToRefs, ot as useSlots, q as onUnmounted, tt as resolveDirective, u as Transition, ut as withCtx, v as withModifiers, w as computed$1, y as Comment, yt as ref, z as mergeModels } from "./i18n-BF6zkld-.js";
2
- import { A as ScrollToTop, C as useAvailabilityStore, E as useUtilityStore, L as capitalized, M as useApplyGiftCardStore, O as useHotelStore, R as convertDescription, S as _plugin_vue_export_helper_default, Z as showDate, _ as InputField_default, et as showPrice, ft as useEventBus, it as BookingLayout, j as usePaymentStore, n as TextField_default, q as getUserLanguage, rt as BookingHeaderLayout, v as Clickable_default, w as useEventStore, x as Icon_default, z as daysBetweenDates } from "./SelectField-D7e73Bye.js";
3
- import { i as Checkbox_default, o as Base_default$1, r as GoogleNotice_default } from "./CheckoutWindow-DvJ7vnNs.js";
4
- import { n as __default } from "./Field-BDefa6ac.js";
5
- import { t as ActionField_default } from "./ActionField-BmK388lK.js";
1
+ import { $ as onUnmounted, A as computed$1, At as unref, B as getCurrentInstance, E as Fragment, F as createSlots, G as mergeModels, H as h, I as createTextVNode, L as createVNode, M as createBlock, N as createCommentVNode, Nt as normalizeStyle, P as createElementBlock, Pt as toDisplayString, Q as onMounted, S as vShow, St as reactive, T as Comment, Y as onBeforeUnmount, _t as withDirectives, a as useI18n, at as renderSlot, bt as isRef, dt as useModel, et as openBlock, ft as useSlots, g as Transition, gt as withCtx, h as storeToRefs, it as renderList, j as createBaseVNode, jt as normalizeClass, k as Text, l as useEventBus, mt as watch, ot as resolveComponent, q as nextTick, st as resolveDirective, w as withModifiers, wt as ref, z as defineComponent } from "./i18n-_behsDNX.js";
2
+ import { A as ScrollToTop, C as useAvailabilityStore, E as useUtilityStore, L as capitalized, M as useApplyGiftCardStore, O as useHotelStore, R as convertDescription, S as _plugin_vue_export_helper_default, Z as showDate, _ as InputField_default, et as showPrice, it as BookingLayout, j as usePaymentStore, n as TextField_default, q as getUserLanguage, rt as BookingHeaderLayout, v as Clickable_default, w as useEventStore, x as Icon_default, z as daysBetweenDates } from "./SelectField-BUeYRCxc.js";
3
+ import { i as Checkbox_default, o as Base_default$1, r as GoogleNotice_default } from "./CheckoutWindow-C7AVcaIo.js";
4
+ import { n as __default } from "./Field-CysA6ZKB.js";
5
+ import { t as ActionField_default } from "./ActionField-DNhrzibV.js";
6
6
  //#region node_modules/@egjs/component/dist/component.esm.js
7
7
  function __values(e) {
8
8
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
Binary file
Binary file