@konnectio/core 4.11.2 → 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.
- package/dist/{ActionField-CrGPD8ma.js → ActionField-dg0RS8gf.js} +16 -17
- package/dist/ActionField-dg0RS8gf.js.br +0 -0
- package/dist/ActionField-dg0RS8gf.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-CKpPPNyV.js → AvailabilitySkeleton-uoeeP_5d.js} +2374 -2900
- package/dist/AvailabilitySkeleton-uoeeP_5d.js.br +0 -0
- package/dist/AvailabilitySkeleton-uoeeP_5d.js.gz +0 -0
- package/dist/{CheckoutWindow-W80b2grC.js → CheckoutWindow-DXRVoh-J.js} +579 -655
- package/dist/CheckoutWindow-DXRVoh-J.js.br +0 -0
- package/dist/CheckoutWindow-DXRVoh-J.js.gz +0 -0
- package/dist/{ErrorMessage-fmvrjZrE.js → ErrorMessage-OQ4r9QGR.js} +12 -14
- package/dist/ErrorMessage-OQ4r9QGR.js.br +0 -0
- package/dist/ErrorMessage-OQ4r9QGR.js.gz +0 -0
- package/dist/{EventAvailabilityForm-BX0CUyYU.js → EventAvailabilityForm-B4pOCkcm.js} +29 -30
- package/dist/EventAvailabilityForm-B4pOCkcm.js.br +0 -0
- package/dist/EventAvailabilityForm-B4pOCkcm.js.gz +0 -0
- package/dist/{Field-DsFLUyHP.js → Field-DpRx5gtJ.js} +6 -7
- package/dist/Field-DpRx5gtJ.js.br +0 -0
- package/dist/Field-DpRx5gtJ.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BSM-KcqG.js +312 -0
- package/dist/HotelAvailabilityForm-BSM-KcqG.js.br +0 -0
- package/dist/HotelAvailabilityForm-BSM-KcqG.js.gz +0 -0
- package/dist/{SelectField-__FvhjFN.js → SelectField-CEEffgaQ.js} +3462 -2858
- package/dist/SelectField-CEEffgaQ.js.br +0 -0
- package/dist/SelectField-CEEffgaQ.js.gz +0 -0
- package/dist/{TermsOfService-XhYHiCia.js → TermsOfService-C4YZ5zhE.js} +5 -6
- package/dist/TermsOfService-C4YZ5zhE.js.br +0 -0
- package/dist/TermsOfService-C4YZ5zhE.js.gz +0 -0
- package/dist/_-DM-h5BQz.js +24 -0
- package/dist/_-DM-h5BQz.js.br +0 -0
- package/dist/_-DM-h5BQz.js.gz +0 -0
- package/dist/availability.js +24 -25
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +57 -62
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/deep-link.js +15 -16
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-CqcX4eCU.js → dist-BQy2-bMP.js} +168 -139
- package/dist/dist-BQy2-bMP.js.br +0 -0
- package/dist/dist-BQy2-bMP.js.gz +0 -0
- package/dist/{dist-ChCkH-cE.js → dist-Q9kXoafy.js} +705 -756
- package/dist/dist-Q9kXoafy.js.br +0 -0
- package/dist/dist-Q9kXoafy.js.gz +0 -0
- package/dist/event.js +334 -344
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +42 -43
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +157 -161
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-BpWe7WsA.js → giftCard-DO4ELDIx.js} +14 -15
- package/dist/giftCard-DO4ELDIx.js.br +0 -0
- package/dist/giftCard-DO4ELDIx.js.gz +0 -0
- package/dist/hotel.js +983 -1145
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-BU9Enb5i.js → i18n-Dq3VKG7w.js} +4004 -3647
- package/dist/i18n-Dq3VKG7w.js.br +0 -0
- package/dist/i18n-Dq3VKG7w.js.gz +0 -0
- package/dist/polyfill.js +905 -818
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-QGRDbDUS.js} +2 -3
- package/dist/rolldown-runtime-QGRDbDUS.js.br +0 -0
- package/dist/rolldown-runtime-QGRDbDUS.js.gz +0 -0
- package/dist/style-xK2dve9W.js +1284 -0
- package/dist/style-xK2dve9W.js.br +0 -0
- package/dist/style-xK2dve9W.js.gz +0 -0
- package/dist-wix/availability.js +42 -34
- package/dist-wix/event.js +54 -46
- package/dist-wix/gift-card-validation.js +39 -31
- package/dist-wix/gift-card.js +43 -35
- package/dist-wix/hotel.js +54 -46
- package/package.json +32 -32
- package/dist/ActionField-CrGPD8ma.js.br +0 -0
- package/dist/ActionField-CrGPD8ma.js.gz +0 -0
- package/dist/AvailabilitySkeleton-CKpPPNyV.js.br +0 -0
- package/dist/AvailabilitySkeleton-CKpPPNyV.js.gz +0 -0
- package/dist/CheckoutWindow-W80b2grC.js.br +0 -0
- package/dist/CheckoutWindow-W80b2grC.js.gz +0 -0
- package/dist/ErrorMessage-fmvrjZrE.js.br +0 -0
- package/dist/ErrorMessage-fmvrjZrE.js.gz +0 -0
- package/dist/EventAvailabilityForm-BX0CUyYU.js.br +0 -0
- package/dist/EventAvailabilityForm-BX0CUyYU.js.gz +0 -0
- package/dist/Field-DsFLUyHP.js.br +0 -0
- package/dist/Field-DsFLUyHP.js.gz +0 -0
- package/dist/HotelAvailabilityForm-_wN0A0VR.js +0 -322
- package/dist/HotelAvailabilityForm-_wN0A0VR.js.br +0 -0
- package/dist/HotelAvailabilityForm-_wN0A0VR.js.gz +0 -0
- package/dist/SelectField-__FvhjFN.js.br +0 -0
- package/dist/SelectField-__FvhjFN.js.gz +0 -0
- package/dist/TermsOfService-XhYHiCia.js.br +0 -0
- package/dist/TermsOfService-XhYHiCia.js.gz +0 -1
- package/dist/_-Bi3jyl9S.js +0 -25
- package/dist/_-Bi3jyl9S.js.br +0 -0
- package/dist/_-Bi3jyl9S.js.gz +0 -0
- package/dist/dist-ChCkH-cE.js.br +0 -0
- package/dist/dist-ChCkH-cE.js.gz +0 -0
- package/dist/dist-CqcX4eCU.js.br +0 -0
- package/dist/dist-CqcX4eCU.js.gz +0 -0
- package/dist/giftCard-BpWe7WsA.js.br +0 -0
- package/dist/giftCard-BpWe7WsA.js.gz +0 -0
- package/dist/i18n-BU9Enb5i.js.br +0 -0
- package/dist/i18n-BU9Enb5i.js.gz +0 -0
- package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
- package/dist/rolldown-runtime-B0aSnxlc.js.gz +0 -5
- package/dist/style-CcIo1t4N.js +0 -1711
- package/dist/style-CcIo1t4N.js.br +0 -0
- package/dist/style-CcIo1t4N.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { o as l } from "./CheckoutWindow-
|
|
4
|
-
|
|
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:
|
|
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 };
|
|
Binary file
|
|
Binary file
|
|
@@ -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
|
package/dist/availability.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as e,
|
|
2
|
-
import { t as S } from "./dist-
|
|
3
|
-
import { C,
|
|
4
|
-
import { t as E } from "./_-
|
|
5
|
-
import { t as D } from "./
|
|
6
|
-
import { t as O } from "./
|
|
7
|
-
import { t as k } from "./
|
|
8
|
-
import { t as A } from "./
|
|
9
|
-
|
|
10
|
-
var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-availability-navigation" }, N = { class: "konnectio-availability-search-form" }, P = /*#__PURE__*/
|
|
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 } =
|
|
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(
|
|
32
|
-
default:
|
|
33
|
-
default:
|
|
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:
|
|
35
|
+
callback: n(v)
|
|
36
36
|
}, {
|
|
37
|
-
default:
|
|
38
|
-
class:
|
|
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
|
-
}, [
|
|
41
|
-
class:
|
|
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
|
-
}, [
|
|
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:
|
|
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(
|
|
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:
|
|
73
|
+
fallback: h(() => [p("div", null, [i(A, { view: P.value ? "both" : S.value }, null, 8, ["view"])])]),
|
|
74
74
|
_: 1
|
|
75
|
-
})) : (d(), 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 };
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/availability.js.gz
CHANGED
|
Binary file
|
|
@@ -1,61 +1,57 @@
|
|
|
1
|
-
import { A as e,
|
|
2
|
-
import {
|
|
3
|
-
import { t as T } from "./
|
|
4
|
-
import { t as E } from "./
|
|
5
|
-
import { t as D } from "./ActionField-
|
|
6
|
-
|
|
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(
|
|
10
|
-
let { t:
|
|
9
|
+
setup(t) {
|
|
10
|
+
let { t: l } = s(), { display: u } = S(), { cancelReservation: d } = v(), f = e(() => [
|
|
11
11
|
{
|
|
12
|
-
label:
|
|
13
|
-
value:
|
|
12
|
+
label: l("cancelReservation.cancellationReasonRegret"),
|
|
13
|
+
value: x.Regret
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
label:
|
|
17
|
-
value:
|
|
16
|
+
label: l("cancelReservation.cancellationReasonMistake"),
|
|
17
|
+
value: x.BookingMistake
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
label:
|
|
21
|
-
value:
|
|
20
|
+
label: l("cancelReservation.cancellationReasonSickness"),
|
|
21
|
+
value: x.Sickness
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
label:
|
|
25
|
-
value:
|
|
24
|
+
label: l("cancelReservation.cancellationReasonTestBooking"),
|
|
25
|
+
value: x.TestBooking
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
label:
|
|
29
|
-
value:
|
|
28
|
+
label: l("cancelReservation.cancellationReasonBadWeather"),
|
|
29
|
+
value: x.BadWeather
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
label:
|
|
33
|
-
value:
|
|
32
|
+
label: l("cancelReservation.cancellationReasonOther"),
|
|
33
|
+
value: x.Other
|
|
34
34
|
}
|
|
35
|
-
]), p = h(""), m = h(void 0), g = h(""),
|
|
35
|
+
]), p = h(""), m = h(void 0), g = h(""), _ = h(!1), y = h(!1);
|
|
36
36
|
function T() {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
-
}),
|
|
47
|
+
}), y.value = !1;
|
|
52
48
|
}
|
|
53
|
-
return (e,
|
|
54
|
-
i(
|
|
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":
|
|
57
|
-
label:
|
|
58
|
-
placeholder:
|
|
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(
|
|
64
|
+
i(C, {
|
|
69
65
|
modelValue: g.value,
|
|
70
|
-
"onUpdate:modelValue":
|
|
66
|
+
"onUpdate:modelValue": t[3] ||= (e) => g.value = e,
|
|
71
67
|
type: "textarea",
|
|
72
68
|
name: "remark",
|
|
73
|
-
label:
|
|
69
|
+
label: n(l)("cancelReservation.remarkLabel"),
|
|
74
70
|
icon: "info-circle",
|
|
75
|
-
placeholder:
|
|
71
|
+
placeholder: n(l)("cancelReservation.remarkPlaceholder")
|
|
76
72
|
}, null, 8, [
|
|
77
73
|
"modelValue",
|
|
78
74
|
"label",
|
|
79
75
|
"placeholder"
|
|
80
76
|
]),
|
|
81
|
-
i(
|
|
82
|
-
label:
|
|
77
|
+
i(b, {
|
|
78
|
+
label: n(l)("cancelReservation.confirmCancellationButton"),
|
|
83
79
|
"full-width": !0,
|
|
84
80
|
disabled: !1,
|
|
85
|
-
"is-loading":
|
|
86
|
-
"onUpdate:isLoading":
|
|
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)) : (
|
|
85
|
+
], 64)) : (c(), a(D, {
|
|
90
86
|
key: 0,
|
|
91
87
|
modelValue: p.value,
|
|
92
|
-
"onUpdate:modelValue":
|
|
88
|
+
"onUpdate:modelValue": t[0] ||= (e) => p.value = e,
|
|
93
89
|
icon: "octagon-check",
|
|
94
|
-
label:
|
|
95
|
-
buttonLabel:
|
|
96
|
-
placeholder:
|
|
97
|
-
"is-loading":
|
|
98
|
-
"onUpdate:isLoading":
|
|
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 } =
|
|
112
|
+
let { t: o } = s(), f = r, p = e(() => ({
|
|
117
113
|
panelMaxWidth: "800px",
|
|
118
114
|
...f.styling
|
|
119
115
|
}));
|
|
120
|
-
return (e,
|
|
121
|
-
default:
|
|
122
|
-
default:
|
|
123
|
-
default:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
innerHTML:
|
|
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
|
-
|
|
125
|
+
l("div", N, [i(k)])
|
|
130
126
|
])]),
|
|
131
127
|
_: 1
|
|
132
128
|
}, 8, ["access-token"])])]),
|
|
133
|
-
fallback:
|
|
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(
|
|
136
|
+
e.use(f), e.use(F), e.use(_);
|
|
141
137
|
});
|
|
142
|
-
//#endregion
|
|
143
138
|
export { I as default };
|
|
Binary file
|
|
Binary file
|