@konnectio/core 4.11.1 → 4.11.3

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 (116) hide show
  1. package/dist/{ActionField-CD7A8umF.js → ActionField-dg0RS8gf.js} +16 -17
  2. package/dist/ActionField-dg0RS8gf.js.br +0 -0
  3. package/dist/ActionField-dg0RS8gf.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D_EldM2s.js → AvailabilitySkeleton-uoeeP_5d.js} +2374 -2900
  5. package/dist/AvailabilitySkeleton-uoeeP_5d.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-uoeeP_5d.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BYvzbPyY.js → CheckoutWindow-DXRVoh-J.js} +579 -655
  8. package/dist/CheckoutWindow-DXRVoh-J.js.br +0 -0
  9. package/dist/CheckoutWindow-DXRVoh-J.js.gz +0 -0
  10. package/dist/{ErrorMessage-GCkS8yEW.js → ErrorMessage-OQ4r9QGR.js} +12 -14
  11. package/dist/ErrorMessage-OQ4r9QGR.js.br +0 -0
  12. package/dist/ErrorMessage-OQ4r9QGR.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-f-BUsWJ-.js → EventAvailabilityForm-B4pOCkcm.js} +29 -30
  14. package/dist/EventAvailabilityForm-B4pOCkcm.js.br +0 -0
  15. package/dist/EventAvailabilityForm-B4pOCkcm.js.gz +0 -0
  16. package/dist/{Field-TMCJPa0F.js → Field-DpRx5gtJ.js} +6 -7
  17. package/dist/Field-DpRx5gtJ.js.br +0 -0
  18. package/dist/Field-DpRx5gtJ.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-BSM-KcqG.js +312 -0
  20. package/dist/HotelAvailabilityForm-BSM-KcqG.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-BSM-KcqG.js.gz +0 -0
  22. package/dist/{SelectField-DSkOZgE4.js → SelectField-CEEffgaQ.js} +3462 -2858
  23. package/dist/SelectField-CEEffgaQ.js.br +0 -0
  24. package/dist/SelectField-CEEffgaQ.js.gz +0 -0
  25. package/dist/{TermsOfService-D9W3pXOi.js → TermsOfService-C4YZ5zhE.js} +5 -6
  26. package/dist/TermsOfService-C4YZ5zhE.js.br +0 -0
  27. package/dist/TermsOfService-C4YZ5zhE.js.gz +0 -0
  28. package/dist/_-DM-h5BQz.js +24 -0
  29. package/dist/_-DM-h5BQz.js.br +0 -0
  30. package/dist/_-DM-h5BQz.js.gz +0 -0
  31. package/dist/availability.js +24 -25
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +57 -62
  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 +15 -16
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-Vu9z8BNS.js → dist-BQy2-bMP.js} +168 -139
  44. package/dist/dist-BQy2-bMP.js.br +0 -0
  45. package/dist/dist-BQy2-bMP.js.gz +0 -0
  46. package/dist/{dist-YUX9nmGu.js → dist-Q9kXoafy.js} +705 -756
  47. package/dist/dist-Q9kXoafy.js.br +0 -0
  48. package/dist/dist-Q9kXoafy.js.gz +0 -0
  49. package/dist/event.js +334 -344
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +42 -43
  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 +157 -161
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-DwGwHq7_.js → giftCard-DO4ELDIx.js} +14 -15
  59. package/dist/giftCard-DO4ELDIx.js.br +0 -0
  60. package/dist/giftCard-DO4ELDIx.js.gz +0 -0
  61. package/dist/hotel.js +983 -1145
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{i18n-BU9Enb5i.js → i18n-Dq3VKG7w.js} +4004 -3647
  65. package/dist/i18n-Dq3VKG7w.js.br +0 -0
  66. package/dist/i18n-Dq3VKG7w.js.gz +0 -0
  67. package/dist/polyfill.js +905 -818
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-QGRDbDUS.js} +2 -3
  71. package/dist/rolldown-runtime-QGRDbDUS.js.br +0 -0
  72. package/dist/rolldown-runtime-QGRDbDUS.js.gz +0 -0
  73. package/dist/style-xK2dve9W.js +1284 -0
  74. package/dist/style-xK2dve9W.js.br +0 -0
  75. package/dist/style-xK2dve9W.js.gz +0 -0
  76. package/dist-wix/availability.js +42 -34
  77. package/dist-wix/event.js +54 -46
  78. package/dist-wix/gift-card-validation.js +39 -31
  79. package/dist-wix/gift-card.js +43 -35
  80. package/dist-wix/hotel.js +54 -46
  81. package/package.json +32 -32
  82. package/dist/ActionField-CD7A8umF.js.br +0 -0
  83. package/dist/ActionField-CD7A8umF.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton-D_EldM2s.js.br +0 -0
  85. package/dist/AvailabilitySkeleton-D_EldM2s.js.gz +0 -0
  86. package/dist/CheckoutWindow-BYvzbPyY.js.br +0 -0
  87. package/dist/CheckoutWindow-BYvzbPyY.js.gz +0 -0
  88. package/dist/ErrorMessage-GCkS8yEW.js.br +0 -0
  89. package/dist/ErrorMessage-GCkS8yEW.js.gz +0 -0
  90. package/dist/EventAvailabilityForm-f-BUsWJ-.js.br +0 -0
  91. package/dist/EventAvailabilityForm-f-BUsWJ-.js.gz +0 -0
  92. package/dist/Field-TMCJPa0F.js.br +0 -0
  93. package/dist/Field-TMCJPa0F.js.gz +0 -0
  94. package/dist/HotelAvailabilityForm-BjaKmdM9.js +0 -322
  95. package/dist/HotelAvailabilityForm-BjaKmdM9.js.br +0 -0
  96. package/dist/HotelAvailabilityForm-BjaKmdM9.js.gz +0 -0
  97. package/dist/SelectField-DSkOZgE4.js.br +0 -0
  98. package/dist/SelectField-DSkOZgE4.js.gz +0 -0
  99. package/dist/TermsOfService-D9W3pXOi.js.br +0 -0
  100. package/dist/TermsOfService-D9W3pXOi.js.gz +0 -0
  101. package/dist/_-DY1GJjiW.js +0 -25
  102. package/dist/_-DY1GJjiW.js.br +0 -0
  103. package/dist/_-DY1GJjiW.js.gz +0 -0
  104. package/dist/dist-Vu9z8BNS.js.br +0 -0
  105. package/dist/dist-Vu9z8BNS.js.gz +0 -0
  106. package/dist/dist-YUX9nmGu.js.br +0 -0
  107. package/dist/dist-YUX9nmGu.js.gz +0 -0
  108. package/dist/giftCard-DwGwHq7_.js.br +0 -0
  109. package/dist/giftCard-DwGwHq7_.js.gz +0 -0
  110. package/dist/i18n-BU9Enb5i.js.br +0 -0
  111. package/dist/i18n-BU9Enb5i.js.gz +0 -0
  112. package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
  113. package/dist/rolldown-runtime-B0aSnxlc.js.gz +0 -5
  114. package/dist/style-E-j_0DIE.js +0 -1711
  115. package/dist/style-E-j_0DIE.js.br +0 -0
  116. package/dist/style-E-j_0DIE.js.gz +0 -0
Binary file
Binary file
@@ -1,17 +1,16 @@
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-BU9Enb5i.js";
2
- import { R as s, S as c } from "./SelectField-DSkOZgE4.js";
3
- import { o as l } from "./CheckoutWindow-BYvzbPyY.js";
4
- //#region src/components/side-panels/TermsOfService.vue?vue&type=script&setup=true&lang.ts
1
+ import { Dt as e, M as t, a as n, et as r, j as i, mt as a, z as o } from "./i18n-Dq3VKG7w.js";
2
+ import { I as s, b as c } from "./SelectField-CEEffgaQ.js";
3
+ import { o as l } from "./CheckoutWindow-DXRVoh-J.js";
4
+ // src/components/side-panels/TermsOfService.vue?vue&type=script&setup=true&lang.ts
5
5
  var u = { class: "konnectio-terms-side-panel" }, d = ["innerHTML"], f = /*#__PURE__*/ c(/* @__PURE__ */ o({
6
6
  __name: "TermsOfService",
7
7
  props: { description: {} },
8
8
  setup(o) {
9
9
  let { t: c } = n();
10
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)])]),
11
+ default: a(() => [i("div", u, [i("p", { innerHTML: e(s)(o.description) }, null, 8, d)])]),
12
12
  _: 1
13
13
  }, 8, ["title"]));
14
14
  }
15
15
  }), [["__scopeId", "data-v-107b46b8"]]);
16
- //#endregion
17
16
  export { f as t };
@@ -0,0 +1,24 @@
1
+ import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
+ import { Dt as t, P as n, a as r, et as i, j as a, jt as o, pt as s, rt as c, z as l } from "./i18n-Dq3VKG7w.js";
3
+ import { w as u } from "./SelectField-CEEffgaQ.js";
4
+ // 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 } = r(), { 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, r) => (i(), n("div", d, [t(g) ? (i(), n("div", f, [a("span", null, o(t(h)("alert.error.bookingDisabled")), 1)])) : c(e.$slots, "default", {}, void 0, void 0, 1)], 512));
22
+ }
23
+ }), m = /* @__PURE__ */ e({ default: () => h }), h = p;
24
+ export { m as n, h as t };
Binary file
Binary file
@@ -1,13 +1,13 @@
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-BU9Enb5i.js";
2
- import { t as S } from "./dist-YUX9nmGu.js";
3
- import { C, S as w, b as T } from "./SelectField-DSkOZgE4.js";
4
- import { t as E } from "./_-DY1GJjiW.js";
5
- import { t as D } from "./AvailabilitySkeleton-D_EldM2s.js";
6
- import { t as O } from "./HotelAvailabilityForm-BjaKmdM9.js";
7
- import { t as k } from "./EventAvailabilityForm-f-BUsWJ-.js";
8
- import { t as A } from "./ErrorMessage-GCkS8yEW.js";
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__ */ x({
1
+ import { A as e, D as t, Dt as n, E as r, L as i, M as a, N as o, Ot as s, P as c, Q as l, a as u, et as d, g as f, j as p, jt as m, mt as h, n as g, o as _, p as v, w as y, xt as b, z as x } from "./i18n-Dq3VKG7w.js";
2
+ import { t as S } from "./dist-Q9kXoafy.js";
3
+ import { b as C, v as w, x as T } from "./SelectField-CEEffgaQ.js";
4
+ import { t as E } from "./_-DM-h5BQz.js";
5
+ import { t as D } from "./HotelAvailabilityForm-BSM-KcqG.js";
6
+ import { t as O } from "./EventAvailabilityForm-B4pOCkcm.js";
7
+ import { t as k } from "./ErrorMessage-OQ4r9QGR.js";
8
+ import { t as A } from "./AvailabilitySkeleton-uoeeP_5d.js";
9
+ // 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__*/ C(/* @__PURE__ */ x({
11
11
  name: "AvailabilityLayout",
12
12
  __name: "Availability",
13
13
  props: {
@@ -22,30 +22,30 @@ var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-avai
22
22
  styling: {}
23
23
  },
24
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(() => ({
25
+ let { t: _ } = u(), { fetchMetadata: v } = T(), x = g, S = b(), C = 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
27
  ...x.styling
28
28
  }));
29
29
  return l(() => {
30
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, {
31
+ }), (e, l) => (d(), a(w, { styling: R.value }, {
32
+ default: h(() => [C.value ? (d(), a(t, { key: 0 }, {
33
+ default: h(() => [p("div", null, [i(E, {
34
34
  "access-token": g.accessToken,
35
- callback: t(v)
35
+ callback: n(v)
36
36
  }, {
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 }),
37
+ default: h(() => [p("div", j, [P.value ? (d(), c(r, { key: 0 }, [p("nav", M, [p("ul", null, [p("li", null, [p("button", {
38
+ class: s({ active: F.value }),
39
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 }),
40
+ }, [p("span", null, m(n(_)("availability.hotel")), 1)], 2)]), p("li", null, [p("button", {
41
+ class: s({ active: I.value }),
42
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, {
43
+ }, [p("span", null, m(n(_)("availability.events")), 1)], 2)])])]), l[2] ||= p("div", { class: "konnectio-availability-divider" }, null, -1)], 64)) : o("", !0), p("div", N, [i(f, {
44
44
  name: "fade",
45
45
  mode: "out-in",
46
46
  appear: ""
47
47
  }, {
48
- default: p(() => [F.value ? (d(), a(O, {
48
+ default: h(() => [F.value ? (d(), a(D, {
49
49
  key: 0,
50
50
  link: g.hotelLink,
51
51
  "selected-location": Number(g.hotelLocation),
@@ -56,7 +56,7 @@ var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-avai
56
56
  "selected-location",
57
57
  "disable-default-location",
58
58
  "hide-locations"
59
- ])) : I.value ? (d(), a(k, {
59
+ ])) : I.value ? (d(), a(O, {
60
60
  key: 1,
61
61
  link: g.eventLink,
62
62
  "selected-location": Number(g.eventLocation),
@@ -70,9 +70,9 @@ var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-avai
70
70
  })])])]),
71
71
  _: 1
72
72
  }, 8, ["access-token", "callback"])])]),
73
- fallback: p(() => [m("div", null, [i(D, { view: P.value ? "both" : S.value }, null, 8, ["view"])])]),
73
+ fallback: h(() => [p("div", null, [i(A, { view: P.value ? "both" : S.value }, null, 8, ["view"])])]),
74
74
  _: 1
75
- })) : (d(), a(A, {
75
+ })) : (d(), a(k, {
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."
@@ -83,5 +83,4 @@ var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-avai
83
83
  }), [["__scopeId", "data-v-d4cca1d0"]]), F = v(), I = _("konnectio-availability", P, (e) => {
84
84
  e.use(S), e.use(g), e.use(F);
85
85
  });
86
- //#endregion
87
86
  export { I as default };
Binary file
Binary file
@@ -1,61 +1,57 @@
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-BU9Enb5i.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-DSkOZgE4.js";
3
- import { t as T } from "./_-DY1GJjiW.js";
4
- import { t as E } from "./style-E-j_0DIE.js";
5
- import { t as D } from "./ActionField-CD7A8umF.js";
6
- //#region src/components/forms/CancelReservationForm.vue?vue&type=script&setup=true&lang.ts
1
+ import { A as e, D as t, Dt as n, E as r, L as i, M as a, P as o, a as s, et as c, j as l, jt as u, mt as d, n as f, o as p, p as m, xt as h, z as g } from "./i18n-Dq3VKG7w.js";
2
+ import { t as _ } from "./style-xK2dve9W.js";
3
+ import { E as v, b as y, g as b, it as x, j as S, n as C, t as w, v as T } from "./SelectField-CEEffgaQ.js";
4
+ import { t as E } from "./_-DM-h5BQz.js";
5
+ import { t as D } from "./ActionField-dg0RS8gf.js";
6
+ // src/components/forms/CancelReservationForm.vue?vue&type=script&setup=true&lang.ts
7
7
  var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @__PURE__ */ g({
8
8
  __name: "CancelReservationForm",
9
- setup(n) {
10
- let { t: s } = c(), { display: u } = _(), { cancelReservation: d } = v(), f = e(() => [
9
+ setup(t) {
10
+ let { t: l } = s(), { display: u } = S(), { cancelReservation: d } = v(), f = e(() => [
11
11
  {
12
- label: s("cancelReservation.cancellationReasonRegret"),
13
- value: S.Regret
12
+ label: l("cancelReservation.cancellationReasonRegret"),
13
+ value: x.Regret
14
14
  },
15
15
  {
16
- label: s("cancelReservation.cancellationReasonMistake"),
17
- value: S.BookingMistake
16
+ label: l("cancelReservation.cancellationReasonMistake"),
17
+ value: x.BookingMistake
18
18
  },
19
19
  {
20
- label: s("cancelReservation.cancellationReasonSickness"),
21
- value: S.Sickness
20
+ label: l("cancelReservation.cancellationReasonSickness"),
21
+ value: x.Sickness
22
22
  },
23
23
  {
24
- label: s("cancelReservation.cancellationReasonTestBooking"),
25
- value: S.TestBooking
24
+ label: l("cancelReservation.cancellationReasonTestBooking"),
25
+ value: x.TestBooking
26
26
  },
27
27
  {
28
- label: s("cancelReservation.cancellationReasonBadWeather"),
29
- value: S.BadWeather
28
+ label: l("cancelReservation.cancellationReasonBadWeather"),
29
+ value: x.BadWeather
30
30
  },
31
31
  {
32
- label: s("cancelReservation.cancellationReasonOther"),
33
- value: S.Other
32
+ label: l("cancelReservation.cancellationReasonOther"),
33
+ value: x.Other
34
34
  }
35
- ]), p = h(""), m = h(void 0), g = h(""), y = h(!1), b = h(!1);
35
+ ]), p = h(""), m = h(void 0), g = h(""), _ = h(!1), y = h(!1);
36
36
  function T() {
37
- if (p.value === "") {
38
- u({
39
- message: s("alert.error.reservationIdEmpty"),
40
- type: "error"
41
- });
42
- return;
43
- }
44
- b.value = !0;
37
+ p.value === "" ? u({
38
+ message: l("alert.error.reservationIdEmpty"),
39
+ type: "error"
40
+ }) : y.value = !0;
45
41
  }
46
42
  function E() {
47
43
  d({
48
44
  id: p.value,
49
45
  reason: m.value,
50
46
  remark: g.value
51
- }), b.value = !1;
47
+ }), y.value = !1;
52
48
  }
53
- return (e, n) => (l(), o("form", O, [b.value ? (l(), o(r, { key: 1 }, [
54
- i(C, {
49
+ return (e, t) => (c(), o("form", O, [y.value ? (c(), o(r, { key: 1 }, [
50
+ i(w, {
55
51
  modelValue: m.value,
56
- "onUpdate:modelValue": n[2] ||= (e) => m.value = e,
57
- label: t(s)("cancelReservation.reasonLabel"),
58
- placeholder: t(s)("cancelReservation.reasonPlaceholder"),
52
+ "onUpdate:modelValue": t[2] ||= (e) => m.value = e,
53
+ label: n(l)("cancelReservation.reasonLabel"),
54
+ placeholder: n(l)("cancelReservation.reasonPlaceholder"),
59
55
  options: f.value,
60
56
  searchable: !1,
61
57
  icon: "ban"
@@ -65,37 +61,37 @@ var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @
65
61
  "placeholder",
66
62
  "options"
67
63
  ]),
68
- i(x, {
64
+ i(C, {
69
65
  modelValue: g.value,
70
- "onUpdate:modelValue": n[3] ||= (e) => g.value = e,
66
+ "onUpdate:modelValue": t[3] ||= (e) => g.value = e,
71
67
  type: "textarea",
72
68
  name: "remark",
73
- label: t(s)("cancelReservation.remarkLabel"),
69
+ label: n(l)("cancelReservation.remarkLabel"),
74
70
  icon: "info-circle",
75
- placeholder: t(s)("cancelReservation.remarkPlaceholder")
71
+ placeholder: n(l)("cancelReservation.remarkPlaceholder")
76
72
  }, null, 8, [
77
73
  "modelValue",
78
74
  "label",
79
75
  "placeholder"
80
76
  ]),
81
- i(w, {
82
- label: t(s)("cancelReservation.confirmCancellationButton"),
77
+ i(b, {
78
+ label: n(l)("cancelReservation.confirmCancellationButton"),
83
79
  "full-width": !0,
84
80
  disabled: !1,
85
- "is-loading": y.value,
86
- "onUpdate:isLoading": n[4] ||= (e) => y.value = e,
81
+ "is-loading": _.value,
82
+ "onUpdate:isLoading": t[4] ||= (e) => _.value = e,
87
83
  onClickEvent: E
88
84
  }, null, 8, ["label", "is-loading"])
89
- ], 64)) : (l(), a(D, {
85
+ ], 64)) : (c(), a(D, {
90
86
  key: 0,
91
87
  modelValue: p.value,
92
- "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
88
+ "onUpdate:modelValue": t[0] ||= (e) => p.value = e,
93
89
  icon: "octagon-check",
94
- label: t(s)("cancelReservation.reservationIdLabel"),
95
- buttonLabel: t(s)("cancelReservation.checkReservationIdButton"),
96
- placeholder: t(s)("cancelReservation.reservationIdPlaceholder"),
97
- "is-loading": y.value,
98
- "onUpdate:isLoading": n[1] ||= (e) => y.value = e,
90
+ label: n(l)("cancelReservation.reservationIdLabel"),
91
+ buttonLabel: n(l)("cancelReservation.checkReservationIdButton"),
92
+ placeholder: n(l)("cancelReservation.reservationIdPlaceholder"),
93
+ "is-loading": _.value,
94
+ "onUpdate:isLoading": t[1] ||= (e) => _.value = e,
99
95
  onAction: T
100
96
  }, null, 8, [
101
97
  "modelValue",
@@ -113,31 +109,30 @@ var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @
113
109
  styling: {}
114
110
  },
115
111
  setup(r) {
116
- let { t: o } = c(), f = r, p = e(() => ({
112
+ let { t: o } = s(), f = r, p = e(() => ({
117
113
  panelMaxWidth: "800px",
118
114
  ...f.styling
119
115
  }));
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"),
116
+ return (e, s) => (c(), a(T, { styling: p.value }, {
117
+ default: d(() => [(c(), a(t, null, {
118
+ default: d(() => [l("div", null, [i(E, { "access-token": r.accessToken }, {
119
+ default: d(() => [l("div", A, [
120
+ l("h2", j, [l("span", null, u(n(o)("cancelReservation.title")), 1)]),
121
+ l("div", {
122
+ innerHTML: n(o)("cancelReservation.cancellationNotice"),
127
123
  class: "konnectio-cancel-reservation-description"
128
124
  }, null, 8, M),
129
- d("div", N, [i(k)])
125
+ l("div", N, [i(k)])
130
126
  ])]),
131
127
  _: 1
132
128
  }, 8, ["access-token"])])]),
133
- fallback: u(() => [...c[0] ||= [d("div", null, null, -1)]]),
129
+ fallback: d(() => [...s[0] ||= [l("div", null, null, -1)]]),
134
130
  _: 1
135
131
  }))]),
136
132
  _: 1
137
133
  }, 8, ["styling"]));
138
134
  }
139
135
  }), [["__scopeId", "data-v-8f3d2709"]]), F = m(), I = p("konnectio-cancel-reservation", P, (e) => {
140
- e.use(f), e.use(F), e.use(E);
136
+ e.use(f), e.use(F), e.use(_);
141
137
  });
142
- //#endregion
143
138
  export { I as default };
Binary file
Binary file