@konnectio/core 4.8.2 → 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 (110) hide show
  1. package/dist/{ActionField-CfLvNrPb.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-BoJGAUPX.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-Dn8xIbYm.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-DqXfbN8R.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-Ddf2a-lw.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-BH2Qhlxc.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-BKzqm24F.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/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/deep-link.js +12 -12
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-BWfnLuHD.js → dist-CS5pBdeg.js} +22 -22
  44. package/dist/dist-CS5pBdeg.js.br +0 -0
  45. package/dist/dist-CS5pBdeg.js.gz +0 -0
  46. package/dist/{dist-DJ5mNPQY.js → dist-D4fD_33g.js} +8 -7
  47. package/dist/dist-D4fD_33g.js.br +0 -0
  48. package/dist/dist-D4fD_33g.js.gz +0 -0
  49. package/dist/event.js +371 -371
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +49 -49
  53. package/dist/gift-card-validation.js.br +7 -9
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +161 -161
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-DJpZJhni.js → giftCard-ChLbvI2n.js} +15 -15
  59. package/dist/giftCard-ChLbvI2n.js.br +0 -0
  60. package/dist/giftCard-ChLbvI2n.js.gz +0 -0
  61. package/dist/hotel.js +776 -776
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{i18n-BF6zkld-.js → i18n-_behsDNX.js} +1030 -530
  65. package/dist/i18n-_behsDNX.js.br +0 -0
  66. package/dist/{i18n-BF6zkld-.js.gz → i18n-_behsDNX.js.gz} +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{style-B5I-GkXw.js → style-DWSfukOm.js} +372 -372
  71. package/dist/style-DWSfukOm.js.br +0 -0
  72. package/dist/style-DWSfukOm.js.gz +0 -0
  73. package/dist-wix/availability.js +30 -30
  74. package/dist-wix/event.js +7 -7
  75. package/dist-wix/gift-card-validation.js +22 -22
  76. package/dist-wix/gift-card.js +26 -26
  77. package/dist-wix/hotel.js +7 -7
  78. package/package.json +5 -4
  79. package/dist/ActionField-CfLvNrPb.js.br +0 -0
  80. package/dist/ActionField-CfLvNrPb.js.gz +0 -0
  81. package/dist/AvailabilitySkeleton-BoJGAUPX.js.br +0 -0
  82. package/dist/AvailabilitySkeleton-BoJGAUPX.js.gz +0 -0
  83. package/dist/CheckoutWindow-Dn8xIbYm.js.br +0 -0
  84. package/dist/CheckoutWindow-Dn8xIbYm.js.gz +0 -0
  85. package/dist/ErrorMessage-DqXfbN8R.js.br +0 -0
  86. package/dist/ErrorMessage-DqXfbN8R.js.gz +0 -0
  87. package/dist/EventAvailabilityForm-Ddf2a-lw.js.br +0 -0
  88. package/dist/EventAvailabilityForm-Ddf2a-lw.js.gz +0 -0
  89. package/dist/Field-BH2Qhlxc.js.br +0 -0
  90. package/dist/Field-BH2Qhlxc.js.gz +0 -0
  91. package/dist/HotelAvailabilityForm-D-wyToq1.js +0 -320
  92. package/dist/HotelAvailabilityForm-D-wyToq1.js.br +0 -0
  93. package/dist/HotelAvailabilityForm-D-wyToq1.js.gz +0 -0
  94. package/dist/SelectField-BKzqm24F.js.br +0 -0
  95. package/dist/SelectField-BKzqm24F.js.gz +0 -0
  96. package/dist/TermsOfService-CTLOb_GQ.js +0 -17
  97. package/dist/TermsOfService-CTLOb_GQ.js.br +0 -0
  98. package/dist/TermsOfService-CTLOb_GQ.js.gz +0 -0
  99. package/dist/_-B7FvZ5gF.js +0 -25
  100. package/dist/_-B7FvZ5gF.js.br +0 -0
  101. package/dist/_-B7FvZ5gF.js.gz +0 -0
  102. package/dist/dist-BWfnLuHD.js.br +0 -0
  103. package/dist/dist-BWfnLuHD.js.gz +0 -0
  104. package/dist/dist-DJ5mNPQY.js.br +0 -0
  105. package/dist/dist-DJ5mNPQY.js.gz +0 -0
  106. package/dist/giftCard-DJpZJhni.js.br +0 -0
  107. package/dist/giftCard-DJpZJhni.js.gz +0 -0
  108. package/dist/i18n-BF6zkld-.js.br +0 -0
  109. package/dist/style-B5I-GkXw.js.br +0 -0
  110. package/dist/style-B5I-GkXw.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-BWfnLuHD.js";
3
- import { C, S as w, b as T } from "./SelectField-BKzqm24F.js";
4
- import { t as E } from "./_-B7FvZ5gF.js";
5
- import { t as D } from "./AvailabilitySkeleton-BoJGAUPX.js";
6
- import { t as O } from "./HotelAvailabilityForm-D-wyToq1.js";
7
- import { t as k } from "./EventAvailabilityForm-Ddf2a-lw.js";
8
- import { t as A } from "./ErrorMessage-DqXfbN8R.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-BKzqm24F.js";
3
- import { t as T } from "./_-B7FvZ5gF.js";
4
- import { t as E } from "./style-B5I-GkXw.js";
5
- import { t as D } from "./ActionField-CfLvNrPb.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