@konnectio/core 4.3.6 → 4.3.8
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-BMKZiDiJ.js → ActionField-D2RyWrS3.js} +32 -32
- package/dist/ActionField-D2RyWrS3.js.br +0 -0
- package/dist/ActionField-D2RyWrS3.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-HWz2N6k7.js → AvailabilitySkeleton-D6GPRc15.js} +83 -83
- package/dist/AvailabilitySkeleton-D6GPRc15.js.br +0 -0
- package/dist/AvailabilitySkeleton-D6GPRc15.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-4nck4H1_.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CP-qPnqI.js} +636 -636
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CP-qPnqI.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CP-qPnqI.js.gz +0 -0
- package/dist/{CheckoutWindow-CygAQEhN.js → CheckoutWindow-CbJ0uhN5.js} +250 -250
- package/dist/CheckoutWindow-CbJ0uhN5.js.br +0 -0
- package/dist/CheckoutWindow-CbJ0uhN5.js.gz +0 -0
- package/dist/{ErrorMessage-CJtwhDck.js → ErrorMessage-DaV41_Mx.js} +5 -5
- package/dist/ErrorMessage-DaV41_Mx.js.br +0 -0
- package/dist/ErrorMessage-DaV41_Mx.js.gz +0 -0
- package/dist/EventAvailabilityForm-CCV_-tAo.js +119 -0
- package/dist/EventAvailabilityForm-CCV_-tAo.js.br +0 -0
- package/dist/EventAvailabilityForm-CCV_-tAo.js.gz +0 -0
- package/dist/{Field-BJWCVTGO.js → Field-CcANI2PC.js} +15 -15
- package/dist/Field-CcANI2PC.js.br +0 -0
- package/dist/Field-CcANI2PC.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C2vcLWBx.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BWfzfCEe.js} +5 -5
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BWfzfCEe.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BWfzfCEe.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-BKeIWAxT.js → SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js} +3698 -3669
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js.gz +0 -0
- package/dist/TermsOfService-Cuz_W6Ps.js +28 -0
- package/dist/TermsOfService-Cuz_W6Ps.js.br +0 -0
- package/dist/TermsOfService-Cuz_W6Ps.js.gz +0 -0
- package/dist/_-Dy_VcQvP.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CjRvTIZE.js → _.vue_vue_type_style_index_0_lang-CP_-w1er.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-CP_-w1er.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CP_-w1er.js.gz +0 -0
- package/dist/availability.js +33 -33
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +32 -32
- 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 +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/event.js +636 -636
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +48 -48
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +168 -168
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-CbjZKIJ0.js → giftCard-CdHybquX.js} +3 -3
- package/dist/giftCard-CdHybquX.js.br +0 -0
- package/dist/giftCard-CdHybquX.js.gz +0 -0
- package/dist/hotel.js +2314 -2312
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-BpsyN2FY.js → index-Cfpi2j0_.js} +107 -91
- package/dist/index-Cfpi2j0_.js.br +0 -0
- package/dist/index-Cfpi2j0_.js.gz +0 -0
- package/dist/{masonry.plugin-CQx4YR-L.js → masonry.plugin-BgwYAWoT.js} +961 -961
- package/dist/masonry.plugin-BgwYAWoT.js.br +0 -0
- package/dist/masonry.plugin-BgwYAWoT.js.gz +0 -0
- package/dist/{mitt-bGMsQrYA.js → mitt-478x9nh_.js} +3345 -3296
- package/dist/mitt-478x9nh_.js.br +0 -0
- package/dist/mitt-478x9nh_.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-C4ivj8SO.js → style-DpAb9hNM.js} +2 -2
- package/dist/style-DpAb9hNM.js.br +0 -0
- package/dist/style-DpAb9hNM.js.gz +0 -0
- package/package.json +26 -26
- package/dist/ActionField-BMKZiDiJ.js.br +0 -0
- package/dist/ActionField-BMKZiDiJ.js.gz +0 -0
- package/dist/AvailabilitySkeleton-HWz2N6k7.js.br +0 -0
- package/dist/AvailabilitySkeleton-HWz2N6k7.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-4nck4H1_.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-4nck4H1_.js.gz +0 -0
- package/dist/CheckoutWindow-CygAQEhN.js.br +0 -0
- package/dist/CheckoutWindow-CygAQEhN.js.gz +0 -0
- package/dist/ErrorMessage-CJtwhDck.js.br +0 -0
- package/dist/ErrorMessage-CJtwhDck.js.gz +0 -0
- package/dist/EventAvailabilityForm-2hNVmD1B.js +0 -119
- package/dist/EventAvailabilityForm-2hNVmD1B.js.br +0 -0
- package/dist/EventAvailabilityForm-2hNVmD1B.js.gz +0 -0
- package/dist/Field-BJWCVTGO.js.br +0 -0
- package/dist/Field-BJWCVTGO.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C2vcLWBx.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-C2vcLWBx.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BKeIWAxT.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BKeIWAxT.js.gz +0 -0
- package/dist/TermsOfService-CERWtFOo.js +0 -28
- package/dist/TermsOfService-CERWtFOo.js.br +0 -0
- package/dist/TermsOfService-CERWtFOo.js.gz +0 -0
- package/dist/_-CNvItXhQ.js +0 -5
- package/dist/_.vue_vue_type_style_index_0_lang-CjRvTIZE.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CjRvTIZE.js.gz +0 -0
- package/dist/giftCard-CbjZKIJ0.js.br +0 -0
- package/dist/giftCard-CbjZKIJ0.js.gz +0 -0
- package/dist/index-BpsyN2FY.js.br +0 -0
- package/dist/index-BpsyN2FY.js.gz +0 -0
- package/dist/masonry.plugin-CQx4YR-L.js.br +0 -0
- package/dist/masonry.plugin-CQx4YR-L.js.gz +0 -0
- package/dist/mitt-bGMsQrYA.js.br +0 -0
- package/dist/mitt-bGMsQrYA.js.gz +0 -0
- package/dist/style-C4ivj8SO.js.br +0 -0
- package/dist/style-C4ivj8SO.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { d as o, u as r, a, b as i, g as e, w as c, e as s } from "./mitt-478x9nh_.js";
|
|
2
|
+
import { K as d, _ as p } from "./SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js";
|
|
3
|
+
import { B as _ } from "./CheckoutWindow-CbJ0uhN5.js";
|
|
4
|
+
const m = { class: "konnectio-terms-side-panel" }, l = ["innerHTML"], f = /* @__PURE__ */ o({
|
|
5
|
+
__name: "TermsOfService",
|
|
6
|
+
props: {
|
|
7
|
+
description: {}
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
const { t: n } = r();
|
|
11
|
+
return (u, B) => (i(), a(_, {
|
|
12
|
+
title: e(n)("general.termsAndConditions")
|
|
13
|
+
}, {
|
|
14
|
+
default: c(() => [
|
|
15
|
+
s("div", m, [
|
|
16
|
+
s("p", {
|
|
17
|
+
innerHTML: e(d)(t.description)
|
|
18
|
+
}, null, 8, l)
|
|
19
|
+
])
|
|
20
|
+
]),
|
|
21
|
+
_: 1
|
|
22
|
+
}, 8, ["title"]));
|
|
23
|
+
}
|
|
24
|
+
}), k = /* @__PURE__ */ p(f, [["__scopeId", "data-v-486f73de"]]);
|
|
25
|
+
export {
|
|
26
|
+
k as S
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=TermsOfService-Cuz_W6Ps.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as i, ar as s, h as l, b as p, q as _ } from "./mitt-
|
|
2
|
-
import { f } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { d as i, ar as s, h as l, b as p, q as _ } from "./mitt-478x9nh_.js";
|
|
2
|
+
import { f } from "./SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js";
|
|
3
3
|
const m = {
|
|
4
4
|
class: "konnectio-app",
|
|
5
5
|
ref: "base"
|
|
@@ -22,4 +22,4 @@ const m = {
|
|
|
22
22
|
export {
|
|
23
23
|
b as _
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=_.vue_vue_type_style_index_0_lang-
|
|
25
|
+
//# sourceMappingURL=_.vue_vue_type_style_index_0_lang-CP_-w1er.js.map
|
|
Binary file
|
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { f as
|
|
3
|
-
import { u as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { A as
|
|
6
|
-
import { E as
|
|
7
|
-
import { E as
|
|
8
|
-
const
|
|
1
|
+
import { d as T, u as x, r as H, c as o, o as S, a as s, b as l, w as c, S as B, e, f as v, g as d, h as D, i as f, F as M, j as y, n as L, t as A, T as N, k as P, l as F, m as V, _, p as $ } from "./mitt-478x9nh_.js";
|
|
2
|
+
import { f as z } from "./index-Cfpi2j0_.js";
|
|
3
|
+
import { u as I, C as j, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js";
|
|
4
|
+
import { _ as U } from "./_.vue_vue_type_style_index_0_lang-CP_-w1er.js";
|
|
5
|
+
import { A as q, H as G } from "./AvailabilitySkeleton-D6GPRc15.js";
|
|
6
|
+
import { E as J } from "./EventAvailabilityForm-CCV_-tAo.js";
|
|
7
|
+
import { E as O } from "./ErrorMessage-DaV41_Mx.js";
|
|
8
|
+
const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-availability-navigation" }, W = { class: "konnectio-availability-search-form" }, X = /* @__PURE__ */ T({
|
|
9
9
|
name: "AvailabilityLayout",
|
|
10
10
|
__name: "Availability",
|
|
11
11
|
props: {
|
|
@@ -19,61 +19,61 @@ const R = { class: "konnectio-availability-module" }, W = { class: "konnectio-av
|
|
|
19
19
|
hotelDisableDefaultLocation: { default: "no" },
|
|
20
20
|
styling: {}
|
|
21
21
|
},
|
|
22
|
-
setup(
|
|
23
|
-
const { t:
|
|
22
|
+
setup(t) {
|
|
23
|
+
const { t: u } = x(), { fetchMetadata: r } = I(), a = t, i = H(), E = o(() => !!a.hotelLink || !!a.eventLink), m = o(() => !!a.hotelLink && !!a.eventLink), p = o(() => i.value === "hotel"), k = o(() => i.value === "event"), h = (b) => i.value = b, g = o(() => ({
|
|
24
24
|
fontSize: "13px",
|
|
25
25
|
...a.styling
|
|
26
26
|
}));
|
|
27
27
|
return S(() => {
|
|
28
28
|
!a.hotelLink && a.eventLink ? i.value = "event" : i.value = "hotel";
|
|
29
|
-
}), (
|
|
29
|
+
}), (b, n) => (l(), s(j, { styling: g.value }, {
|
|
30
30
|
default: c(() => [
|
|
31
|
-
E.value ? (
|
|
31
|
+
E.value ? (l(), s(B, { key: 0 }, {
|
|
32
32
|
default: c(() => [
|
|
33
33
|
e("div", null, [
|
|
34
|
-
v(
|
|
34
|
+
v(U, {
|
|
35
35
|
"access-token": t.accessToken,
|
|
36
|
-
callback: d(
|
|
36
|
+
callback: d(r)
|
|
37
37
|
}, {
|
|
38
38
|
default: c(() => [
|
|
39
|
-
e("div",
|
|
40
|
-
m.value ? (
|
|
41
|
-
e("nav",
|
|
39
|
+
e("div", Q, [
|
|
40
|
+
m.value ? (l(), D(M, { key: 0 }, [
|
|
41
|
+
e("nav", R, [
|
|
42
42
|
e("ul", null, [
|
|
43
43
|
e("li", null, [
|
|
44
44
|
e("button", {
|
|
45
|
-
class: L({ active:
|
|
46
|
-
onClick: n[0] || (n[0] = y((
|
|
45
|
+
class: L({ active: p.value }),
|
|
46
|
+
onClick: n[0] || (n[0] = y((w) => h("hotel"), ["prevent"]))
|
|
47
47
|
}, [
|
|
48
|
-
e("span", null, A(d(
|
|
48
|
+
e("span", null, A(d(u)("availability.hotel")), 1)
|
|
49
49
|
], 2)
|
|
50
50
|
]),
|
|
51
51
|
e("li", null, [
|
|
52
52
|
e("button", {
|
|
53
|
-
class: L({ active:
|
|
54
|
-
onClick: n[1] || (n[1] = y((
|
|
53
|
+
class: L({ active: k.value }),
|
|
54
|
+
onClick: n[1] || (n[1] = y((w) => h("event"), ["prevent"]))
|
|
55
55
|
}, [
|
|
56
|
-
e("span", null, A(d(
|
|
56
|
+
e("span", null, A(d(u)("availability.events")), 1)
|
|
57
57
|
], 2)
|
|
58
58
|
])
|
|
59
59
|
])
|
|
60
60
|
]),
|
|
61
61
|
n[2] || (n[2] = e("div", { class: "konnectio-availability-divider" }, null, -1))
|
|
62
62
|
], 64)) : f("", !0),
|
|
63
|
-
e("div",
|
|
63
|
+
e("div", W, [
|
|
64
64
|
v(N, {
|
|
65
65
|
name: "fade",
|
|
66
66
|
mode: "out-in",
|
|
67
67
|
appear: ""
|
|
68
68
|
}, {
|
|
69
69
|
default: c(() => [
|
|
70
|
-
|
|
70
|
+
p.value ? (l(), s(G, {
|
|
71
71
|
key: 0,
|
|
72
72
|
link: t.hotelLink,
|
|
73
73
|
"selected-location": Number(t.hotelLocation),
|
|
74
74
|
"disable-default-location": t.hotelDisableDefaultLocation === "yes",
|
|
75
75
|
"hide-locations": t.hideHotelLocations === "yes"
|
|
76
|
-
}, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) :
|
|
76
|
+
}, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) : k.value ? (l(), s(J, {
|
|
77
77
|
key: 1,
|
|
78
78
|
link: t.eventLink,
|
|
79
79
|
"selected-location": Number(t.eventLocation),
|
|
@@ -91,13 +91,13 @@ const R = { class: "konnectio-availability-module" }, W = { class: "konnectio-av
|
|
|
91
91
|
]),
|
|
92
92
|
fallback: c(() => [
|
|
93
93
|
e("div", null, [
|
|
94
|
-
v(
|
|
94
|
+
v(q, {
|
|
95
95
|
view: m.value ? "both" : i.value
|
|
96
96
|
}, null, 8, ["view"])
|
|
97
97
|
])
|
|
98
98
|
]),
|
|
99
99
|
_: 1
|
|
100
|
-
})) : (
|
|
100
|
+
})) : (l(), s(O, {
|
|
101
101
|
key: 1,
|
|
102
102
|
title: "Unable to render Availability module",
|
|
103
103
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -107,7 +107,7 @@ const R = { class: "konnectio-availability-module" }, W = { class: "konnectio-av
|
|
|
107
107
|
_: 1
|
|
108
108
|
}, 8, ["styling"]));
|
|
109
109
|
}
|
|
110
|
-
}), C = /* @__PURE__ */
|
|
110
|
+
}), C = /* @__PURE__ */ K(X, [["__scopeId", "data-v-a8e928a0"]]), Y = P(), Z = _, ee = Z();
|
|
111
111
|
class te extends HTMLElement {
|
|
112
112
|
vueApp;
|
|
113
113
|
constructor() {
|
|
@@ -117,10 +117,10 @@ class te extends HTMLElement {
|
|
|
117
117
|
this.vueApp.unmount();
|
|
118
118
|
}
|
|
119
119
|
connectedCallback() {
|
|
120
|
-
const
|
|
121
|
-
this.vueApp = V(C,
|
|
122
|
-
const
|
|
123
|
-
this.vueApp.mount(
|
|
120
|
+
const u = F(C, this.attributes);
|
|
121
|
+
this.vueApp = V(C, u), this.vueApp.provide("emitter", ee), this.vueApp.use(z), this.vueApp.use($), this.vueApp.use(Y);
|
|
122
|
+
const r = document.createElement("div");
|
|
123
|
+
this.vueApp.mount(r), this.appendChild(r.children[0]);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
window.customElements.define("konnectio-availability", te);
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/availability.js.gz
CHANGED
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as C, u as y, c as A, r as i, h as _, b as r, a as
|
|
2
|
-
import { G as P } from "./style-
|
|
3
|
-
import { a as U, b as H, c, d as $, T as N, e as W, _ as L, C as G } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as O } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { A as D } from "./ActionField-
|
|
1
|
+
import { d as C, u as y, c as A, r as i, h as _, b as r, a as b, g as n, F as x, f as u, w as p, S as I, e as t, t as T, k as E, _ as S, l as w, m as F, p as M } from "./mitt-478x9nh_.js";
|
|
2
|
+
import { G as P } from "./style-DpAb9hNM.js";
|
|
3
|
+
import { a as U, b as H, c, d as $, T as N, e as W, _ as L, C as G } from "./SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js";
|
|
4
|
+
import { _ as O } from "./_.vue_vue_type_style_index_0_lang-CP_-w1er.js";
|
|
5
|
+
import { A as D } from "./ActionField-D2RyWrS3.js";
|
|
6
6
|
const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C({
|
|
7
7
|
__name: "CancelReservationForm",
|
|
8
|
-
setup(
|
|
9
|
-
const { t: e } = y(), { display: s } = U(), { cancelReservation: m } = H(),
|
|
8
|
+
setup(d) {
|
|
9
|
+
const { t: e } = y(), { display: s } = U(), { cancelReservation: m } = H(), h = A(() => [
|
|
10
10
|
{
|
|
11
11
|
label: e("cancelReservation.cancellationReasonRegret"),
|
|
12
12
|
value: c.Regret
|
|
@@ -31,7 +31,7 @@ const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C(
|
|
|
31
31
|
label: e("cancelReservation.cancellationReasonOther"),
|
|
32
32
|
value: c.Other
|
|
33
33
|
}
|
|
34
|
-
]), o = i(""),
|
|
34
|
+
]), o = i(""), R = i(void 0), f = i(""), v = i(!1), k = i(!1);
|
|
35
35
|
function B() {
|
|
36
36
|
if (o.value === "") {
|
|
37
37
|
s({
|
|
@@ -40,29 +40,29 @@ const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C(
|
|
|
40
40
|
});
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
k.value = !0;
|
|
44
44
|
}
|
|
45
45
|
function V() {
|
|
46
46
|
m({
|
|
47
47
|
id: o.value,
|
|
48
|
-
reason:
|
|
49
|
-
remark:
|
|
50
|
-
}),
|
|
48
|
+
reason: R.value,
|
|
49
|
+
remark: f.value
|
|
50
|
+
}), k.value = !1;
|
|
51
51
|
}
|
|
52
52
|
return (le, a) => (r(), _("form", j, [
|
|
53
|
-
|
|
53
|
+
k.value ? (r(), _(x, { key: 1 }, [
|
|
54
54
|
u($, {
|
|
55
|
-
modelValue:
|
|
56
|
-
"onUpdate:modelValue": a[2] || (a[2] = (l) =>
|
|
55
|
+
modelValue: R.value,
|
|
56
|
+
"onUpdate:modelValue": a[2] || (a[2] = (l) => R.value = l),
|
|
57
57
|
label: n(e)("cancelReservation.reasonLabel"),
|
|
58
58
|
placeholder: n(e)("cancelReservation.reasonPlaceholder"),
|
|
59
|
-
options:
|
|
59
|
+
options: h.value,
|
|
60
60
|
searchable: !1,
|
|
61
61
|
icon: "ban"
|
|
62
62
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
63
63
|
u(N, {
|
|
64
|
-
modelValue:
|
|
65
|
-
"onUpdate:modelValue": a[3] || (a[3] = (l) =>
|
|
64
|
+
modelValue: f.value,
|
|
65
|
+
"onUpdate:modelValue": a[3] || (a[3] = (l) => f.value = l),
|
|
66
66
|
type: "textarea",
|
|
67
67
|
name: "remark",
|
|
68
68
|
label: n(e)("cancelReservation.remarkLabel"),
|
|
@@ -73,11 +73,11 @@ const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C(
|
|
|
73
73
|
label: n(e)("cancelReservation.confirmCancellationButton"),
|
|
74
74
|
"full-width": !0,
|
|
75
75
|
disabled: !1,
|
|
76
|
-
"is-loading":
|
|
77
|
-
"onUpdate:isLoading": a[4] || (a[4] = (l) =>
|
|
76
|
+
"is-loading": v.value,
|
|
77
|
+
"onUpdate:isLoading": a[4] || (a[4] = (l) => v.value = l),
|
|
78
78
|
onClickEvent: V
|
|
79
79
|
}, null, 8, ["label", "is-loading"])
|
|
80
|
-
], 64)) : (r(),
|
|
80
|
+
], 64)) : (r(), b(D, {
|
|
81
81
|
key: 0,
|
|
82
82
|
modelValue: o.value,
|
|
83
83
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => o.value = l),
|
|
@@ -85,8 +85,8 @@ const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C(
|
|
|
85
85
|
label: n(e)("cancelReservation.reservationIdLabel"),
|
|
86
86
|
buttonLabel: n(e)("cancelReservation.checkReservationIdButton"),
|
|
87
87
|
placeholder: n(e)("cancelReservation.reservationIdPlaceholder"),
|
|
88
|
-
"is-loading":
|
|
89
|
-
"onUpdate:isLoading": a[1] || (a[1] = (l) =>
|
|
88
|
+
"is-loading": v.value,
|
|
89
|
+
"onUpdate:isLoading": a[1] || (a[1] = (l) => v.value = l),
|
|
90
90
|
onAction: B
|
|
91
91
|
}, null, 8, ["modelValue", "label", "buttonLabel", "placeholder", "is-loading"]))
|
|
92
92
|
]));
|
|
@@ -98,18 +98,18 @@ const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C(
|
|
|
98
98
|
accessToken: {},
|
|
99
99
|
styling: {}
|
|
100
100
|
},
|
|
101
|
-
setup(
|
|
102
|
-
const { t: e } = y(), s =
|
|
101
|
+
setup(d) {
|
|
102
|
+
const { t: e } = y(), s = d, m = A(() => ({
|
|
103
103
|
panelMaxWidth: "800px",
|
|
104
104
|
...s.styling
|
|
105
105
|
}));
|
|
106
|
-
return (
|
|
107
|
-
default:
|
|
108
|
-
(r(),
|
|
109
|
-
default:
|
|
106
|
+
return (h, o) => (r(), b(G, { styling: m.value }, {
|
|
107
|
+
default: p(() => [
|
|
108
|
+
(r(), b(I, null, {
|
|
109
|
+
default: p(() => [
|
|
110
110
|
t("div", null, [
|
|
111
|
-
u(O, { "access-token":
|
|
112
|
-
default:
|
|
111
|
+
u(O, { "access-token": d.accessToken }, {
|
|
112
|
+
default: p(() => [
|
|
113
113
|
t("div", J, [
|
|
114
114
|
t("h2", K, [
|
|
115
115
|
t("span", null, T(n(e)("cancelReservation.title")), 1)
|
|
@@ -127,7 +127,7 @@ const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C(
|
|
|
127
127
|
}, 8, ["access-token"])
|
|
128
128
|
])
|
|
129
129
|
]),
|
|
130
|
-
fallback:
|
|
130
|
+
fallback: p(() => [...o[0] || (o[0] = [
|
|
131
131
|
t("div", null, null, -1)
|
|
132
132
|
])]),
|
|
133
133
|
_: 1
|
|
Binary file
|
|
Binary file
|