@konnectio/core 4.8.3 → 4.8.5

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-BmK388lK.js → ActionField-CPB28GGH.js} +42 -42
  2. package/dist/ActionField-CPB28GGH.js.br +0 -0
  3. package/dist/ActionField-CPB28GGH.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-BCEm7qR0.js → AvailabilitySkeleton-CS-VIC0g.js} +2748 -2748
  5. package/dist/AvailabilitySkeleton-CS-VIC0g.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-CS-VIC0g.js.gz +0 -0
  7. package/dist/{CheckoutWindow-DvJ7vnNs.js → CheckoutWindow-uSUIYV_l.js} +446 -446
  8. package/dist/CheckoutWindow-uSUIYV_l.js.br +0 -0
  9. package/dist/CheckoutWindow-uSUIYV_l.js.gz +0 -0
  10. package/dist/{ErrorMessage-KXjD72UF.js → ErrorMessage-BqtkQrjv.js} +12 -12
  11. package/dist/ErrorMessage-BqtkQrjv.js.br +0 -0
  12. package/dist/ErrorMessage-BqtkQrjv.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-CYlTT_Hr.js → EventAvailabilityForm-CZi_9ylK.js} +28 -28
  14. package/dist/EventAvailabilityForm-CZi_9ylK.js.br +0 -0
  15. package/dist/EventAvailabilityForm-CZi_9ylK.js.gz +0 -0
  16. package/dist/{Field-BDefa6ac.js → Field-DrBptDMM.js} +14 -14
  17. package/dist/Field-DrBptDMM.js.br +0 -0
  18. package/dist/Field-DrBptDMM.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-DrvHOZZc.js +320 -0
  20. package/dist/HotelAvailabilityForm-DrvHOZZc.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-DrvHOZZc.js.gz +0 -0
  22. package/dist/{SelectField-D7e73Bye.js → SelectField-BgtOlOM4.js} +2958 -3421
  23. package/dist/SelectField-BgtOlOM4.js.br +0 -0
  24. package/dist/SelectField-BgtOlOM4.js.gz +0 -0
  25. package/dist/TermsOfService-D7jKevUz.js +17 -0
  26. package/dist/TermsOfService-D7jKevUz.js.br +0 -0
  27. package/dist/TermsOfService-D7jKevUz.js.gz +0 -0
  28. package/dist/_-BxcV2Z7Q.js +25 -0
  29. package/dist/_-BxcV2Z7Q.js.br +0 -0
  30. package/dist/_-BxcV2Z7Q.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 +66 -66
  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-Div6l3C2.js → dist-B0ZO0eAh.js} +22 -22
  44. package/dist/dist-B0ZO0eAh.js.br +0 -0
  45. package/dist/dist-B0ZO0eAh.js.gz +0 -0
  46. package/dist/{dist-B3QSYyxo.js → dist-CrMfGnKf.js} +5 -5
  47. package/dist/dist-CrMfGnKf.js.br +0 -0
  48. package/dist/dist-CrMfGnKf.js.gz +0 -0
  49. package/dist/event.js +406 -406
  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 +0 -0
  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-DPU-N3nF.js → giftCard-BaDKuJaZ.js} +19 -19
  59. package/dist/giftCard-BaDKuJaZ.js.br +0 -0
  60. package/dist/giftCard-BaDKuJaZ.js.gz +0 -0
  61. package/dist/hotel.js +1181 -1181
  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-Bb9B24D1.js → style-D3G491g0.js} +372 -372
  71. package/dist/style-D3G491g0.js.br +0 -0
  72. package/dist/style-D3G491g0.js.gz +0 -0
  73. package/dist-wix/availability.js +25 -25
  74. package/dist-wix/event.js +7 -7
  75. package/dist-wix/gift-card-validation.js +21 -21
  76. package/dist-wix/gift-card.js +25 -25
  77. package/dist-wix/hotel.js +7 -7
  78. package/package.json +5 -4
  79. package/dist/ActionField-BmK388lK.js.br +0 -0
  80. package/dist/ActionField-BmK388lK.js.gz +0 -0
  81. package/dist/AvailabilitySkeleton-BCEm7qR0.js.br +0 -0
  82. package/dist/AvailabilitySkeleton-BCEm7qR0.js.gz +0 -0
  83. package/dist/CheckoutWindow-DvJ7vnNs.js.br +0 -0
  84. package/dist/CheckoutWindow-DvJ7vnNs.js.gz +0 -0
  85. package/dist/ErrorMessage-KXjD72UF.js.br +0 -0
  86. package/dist/ErrorMessage-KXjD72UF.js.gz +0 -0
  87. package/dist/EventAvailabilityForm-CYlTT_Hr.js.br +0 -0
  88. package/dist/EventAvailabilityForm-CYlTT_Hr.js.gz +0 -0
  89. package/dist/Field-BDefa6ac.js.br +0 -0
  90. package/dist/Field-BDefa6ac.js.gz +0 -0
  91. package/dist/HotelAvailabilityForm-DoEwqvzD.js +0 -320
  92. package/dist/HotelAvailabilityForm-DoEwqvzD.js.br +0 -0
  93. package/dist/HotelAvailabilityForm-DoEwqvzD.js.gz +0 -0
  94. package/dist/SelectField-D7e73Bye.js.br +0 -0
  95. package/dist/SelectField-D7e73Bye.js.gz +0 -0
  96. package/dist/TermsOfService-CAeM3I9r.js +0 -17
  97. package/dist/TermsOfService-CAeM3I9r.js.br +0 -0
  98. package/dist/TermsOfService-CAeM3I9r.js.gz +0 -0
  99. package/dist/_-B4tCu0BU.js +0 -25
  100. package/dist/_-B4tCu0BU.js.br +0 -0
  101. package/dist/_-B4tCu0BU.js.gz +0 -2
  102. package/dist/dist-B3QSYyxo.js.br +0 -0
  103. package/dist/dist-B3QSYyxo.js.gz +0 -0
  104. package/dist/dist-Div6l3C2.js.br +0 -0
  105. package/dist/dist-Div6l3C2.js.gz +0 -0
  106. package/dist/giftCard-DPU-N3nF.js.br +0 -0
  107. package/dist/giftCard-DPU-N3nF.js.gz +0 -0
  108. package/dist/i18n-BF6zkld-.js.br +0 -0
  109. package/dist/style-Bb9B24D1.js.br +0 -0
  110. 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-BgtOlOM4.js";
3
+ import { o as l } from "./CheckoutWindow-uSUIYV_l.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-BgtOlOM4.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-B0ZO0eAh.js";
3
+ import { C, S as w, b as T } from "./SelectField-BgtOlOM4.js";
4
+ import { t as E } from "./_-BxcV2Z7Q.js";
5
+ import { t as D } from "./AvailabilitySkeleton-CS-VIC0g.js";
6
+ import { t as O } from "./HotelAvailabilityForm-DrvHOZZc.js";
7
+ import { t as k } from "./EventAvailabilityForm-CZi_9ylK.js";
8
+ import { t as A } from "./ErrorMessage-BqtkQrjv.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,62 +1,62 @@
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, b, n as x, ot as S, t as C, v as w } from "./SelectField-BgtOlOM4.js";
3
+ import { t as T } from "./_-BxcV2Z7Q.js";
4
+ import { t as E } from "./style-D3G491g0.js";
5
+ import { t as D } from "./ActionField-CPB28GGH.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"),
13
- value: b.Regret
12
+ label: s("cancelReservation.cancellationReasonRegret"),
13
+ value: S.Regret
14
14
  },
15
15
  {
16
- label: i("cancelReservation.cancellationReasonMistake"),
17
- value: b.BookingMistake
16
+ label: s("cancelReservation.cancellationReasonMistake"),
17
+ value: S.BookingMistake
18
18
  },
19
19
  {
20
- label: i("cancelReservation.cancellationReasonSickness"),
21
- value: b.Sickness
20
+ label: s("cancelReservation.cancellationReasonSickness"),
21
+ value: S.Sickness
22
22
  },
23
23
  {
24
- label: i("cancelReservation.cancellationReasonTestBooking"),
25
- value: b.TestBooking
24
+ label: s("cancelReservation.cancellationReasonTestBooking"),
25
+ value: S.TestBooking
26
26
  },
27
27
  {
28
- label: i("cancelReservation.cancellationReasonBadWeather"),
29
- value: b.BadWeather
28
+ label: s("cancelReservation.cancellationReasonBadWeather"),
29
+ value: S.BadWeather
30
30
  },
31
31
  {
32
- label: i("cancelReservation.cancellationReasonOther"),
33
- value: b.Other
32
+ label: s("cancelReservation.cancellationReasonOther"),
33
+ value: S.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), b = 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;
43
43
  }
44
- x.value = !0;
44
+ b.value = !0;
45
45
  }
46
46
  function E() {
47
- u({
48
- id: f.value,
49
- reason: p.value,
50
- remark: h.value
51
- }), x.value = !1;
47
+ d({
48
+ id: p.value,
49
+ reason: m.value,
50
+ remark: g.value
51
+ }), b.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, [b.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(x, {
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(b, { 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