@konnectio/core 4.8.3 → 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.
- package/dist/{ActionField-BmK388lK.js → ActionField-DNhrzibV.js} +42 -42
- package/dist/ActionField-DNhrzibV.js.br +0 -0
- package/dist/ActionField-DNhrzibV.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BCEm7qR0.js → AvailabilitySkeleton-DyHPcQ3l.js} +1863 -1863
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
- package/dist/{CheckoutWindow-DvJ7vnNs.js → CheckoutWindow-C7AVcaIo.js} +446 -446
- package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
- package/dist/{ErrorMessage-KXjD72UF.js → ErrorMessage-i6VD5R-W.js} +12 -12
- package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
- package/dist/ErrorMessage-i6VD5R-W.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CYlTT_Hr.js → EventAvailabilityForm-B5degNGN.js} +28 -28
- package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
- package/dist/{Field-BDefa6ac.js → Field-CysA6ZKB.js} +14 -14
- package/dist/Field-CysA6ZKB.js.br +0 -0
- package/dist/Field-CysA6ZKB.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js +320 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
- package/dist/{SelectField-D7e73Bye.js → SelectField-BUeYRCxc.js} +2947 -3417
- package/dist/SelectField-BUeYRCxc.js.br +0 -0
- package/dist/SelectField-BUeYRCxc.js.gz +0 -0
- package/dist/TermsOfService-DgMhoS_V.js +17 -0
- package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
- package/dist/_-DFyJPf6E.js +25 -0
- package/dist/_-DFyJPf6E.js.br +0 -0
- package/dist/_-DFyJPf6E.js.gz +0 -0
- package/dist/availability.js +40 -40
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +58 -58
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/deep-link.js +12 -12
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-Div6l3C2.js → dist-CS5pBdeg.js} +22 -22
- package/dist/dist-CS5pBdeg.js.br +0 -0
- package/dist/dist-CS5pBdeg.js.gz +0 -0
- package/dist/{dist-B3QSYyxo.js → dist-D4fD_33g.js} +5 -5
- package/dist/dist-D4fD_33g.js.br +0 -0
- package/dist/dist-D4fD_33g.js.gz +0 -0
- package/dist/event.js +371 -371
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +49 -49
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +161 -161
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DPU-N3nF.js → giftCard-ChLbvI2n.js} +15 -15
- package/dist/giftCard-ChLbvI2n.js.br +0 -0
- package/dist/giftCard-ChLbvI2n.js.gz +0 -0
- package/dist/hotel.js +776 -776
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-BF6zkld-.js → i18n-_behsDNX.js} +1030 -530
- package/dist/i18n-_behsDNX.js.br +0 -0
- package/dist/{i18n-BF6zkld-.js.gz → i18n-_behsDNX.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-Bb9B24D1.js → style-DWSfukOm.js} +372 -372
- package/dist/style-DWSfukOm.js.br +0 -0
- package/dist/style-DWSfukOm.js.gz +0 -0
- package/dist-wix/availability.js +29 -29
- package/dist-wix/event.js +4 -4
- package/dist-wix/gift-card-validation.js +21 -21
- package/dist-wix/gift-card.js +25 -25
- package/dist-wix/hotel.js +4 -4
- package/package.json +5 -4
- package/dist/ActionField-BmK388lK.js.br +0 -0
- package/dist/ActionField-BmK388lK.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.br +0 -0
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.gz +0 -0
- package/dist/CheckoutWindow-DvJ7vnNs.js.br +0 -0
- package/dist/CheckoutWindow-DvJ7vnNs.js.gz +0 -0
- package/dist/ErrorMessage-KXjD72UF.js.br +0 -0
- package/dist/ErrorMessage-KXjD72UF.js.gz +0 -0
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.br +0 -0
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.gz +0 -0
- package/dist/Field-BDefa6ac.js.br +0 -0
- package/dist/Field-BDefa6ac.js.gz +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js +0 -320
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.br +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.gz +0 -0
- package/dist/SelectField-D7e73Bye.js.br +0 -0
- package/dist/SelectField-D7e73Bye.js.gz +0 -0
- package/dist/TermsOfService-CAeM3I9r.js +0 -17
- package/dist/TermsOfService-CAeM3I9r.js.br +0 -0
- package/dist/TermsOfService-CAeM3I9r.js.gz +0 -0
- package/dist/_-B4tCu0BU.js +0 -25
- package/dist/_-B4tCu0BU.js.br +0 -0
- package/dist/_-B4tCu0BU.js.gz +0 -2
- package/dist/dist-B3QSYyxo.js.br +0 -0
- package/dist/dist-B3QSYyxo.js.gz +0 -0
- package/dist/dist-Div6l3C2.js.br +0 -0
- package/dist/dist-Div6l3C2.js.gz +0 -0
- package/dist/giftCard-DPU-N3nF.js.br +0 -0
- package/dist/giftCard-DPU-N3nF.js.gz +0 -0
- package/dist/i18n-BF6zkld-.js.br +0 -0
- package/dist/style-Bb9B24D1.js.br +0 -0
- 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-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 };
|
|
Binary file
|
|
Binary file
|
|
@@ -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
|
package/dist/availability.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as S } from "./dist-
|
|
3
|
-
import { C, S as w, b as T } from "./SelectField-
|
|
4
|
-
import { t as E } from "./_-
|
|
5
|
-
import { t as D } from "./AvailabilitySkeleton-
|
|
6
|
-
import { t as O } from "./HotelAvailabilityForm-
|
|
7
|
-
import { t as k } from "./EventAvailabilityForm-
|
|
8
|
-
import { t as A } from "./ErrorMessage-
|
|
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__ */
|
|
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(
|
|
25
|
-
let { t:
|
|
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
|
-
...
|
|
27
|
+
...x.styling
|
|
28
28
|
}));
|
|
29
|
-
return
|
|
30
|
-
!
|
|
31
|
-
}), (
|
|
32
|
-
default:
|
|
33
|
-
default:
|
|
34
|
-
"access-token":
|
|
35
|
-
callback:
|
|
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:
|
|
38
|
-
class:
|
|
39
|
-
onClick: l[0] ||=
|
|
40
|
-
}, [
|
|
41
|
-
class:
|
|
42
|
-
onClick: l[1] ||=
|
|
43
|
-
}, [
|
|
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:
|
|
48
|
+
default: p(() => [F.value ? (d(), a(O, {
|
|
49
49
|
key: 0,
|
|
50
|
-
link:
|
|
51
|
-
"selected-location": Number(
|
|
52
|
-
"disable-default-location":
|
|
53
|
-
"hide-locations":
|
|
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 ? (
|
|
59
|
+
])) : I.value ? (d(), a(k, {
|
|
60
60
|
key: 1,
|
|
61
|
-
link:
|
|
62
|
-
"selected-location": Number(
|
|
63
|
-
"hide-locations":
|
|
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
|
-
])) :
|
|
68
|
+
])) : o("", !0)]),
|
|
69
69
|
_: 1
|
|
70
70
|
})])])]),
|
|
71
71
|
_: 1
|
|
72
72
|
}, 8, ["access-token", "callback"])])]),
|
|
73
|
-
fallback:
|
|
73
|
+
fallback: p(() => [m("div", null, [i(D, { view: P.value ? "both" : S.value }, null, 8, ["view"])])]),
|
|
74
74
|
_: 1
|
|
75
|
-
})) : (
|
|
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 =
|
|
84
|
-
e.use(S), e.use(
|
|
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 };
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/availability.js.gz
CHANGED
|
Binary file
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
3
|
-
import { t as T } from "./_-
|
|
4
|
-
import { t as E } from "./style-
|
|
5
|
-
import { t as D } from "./ActionField-
|
|
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__ */
|
|
7
|
+
var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @__PURE__ */ g({
|
|
8
8
|
__name: "CancelReservationForm",
|
|
9
9
|
setup(n) {
|
|
10
|
-
let { t:
|
|
10
|
+
let { t: s } = c(), { display: u } = _(), { cancelReservation: d } = v(), f = e(() => [
|
|
11
11
|
{
|
|
12
|
-
label:
|
|
12
|
+
label: s("cancelReservation.cancellationReasonRegret"),
|
|
13
13
|
value: b.Regret
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
label:
|
|
16
|
+
label: s("cancelReservation.cancellationReasonMistake"),
|
|
17
17
|
value: b.BookingMistake
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
label:
|
|
20
|
+
label: s("cancelReservation.cancellationReasonSickness"),
|
|
21
21
|
value: b.Sickness
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
label:
|
|
24
|
+
label: s("cancelReservation.cancellationReasonTestBooking"),
|
|
25
25
|
value: b.TestBooking
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
label:
|
|
28
|
+
label: s("cancelReservation.cancellationReasonBadWeather"),
|
|
29
29
|
value: b.BadWeather
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
label:
|
|
32
|
+
label: s("cancelReservation.cancellationReasonOther"),
|
|
33
33
|
value: b.Other
|
|
34
34
|
}
|
|
35
|
-
]),
|
|
35
|
+
]), p = h(""), m = h(void 0), g = h(""), y = h(!1), x = h(!1);
|
|
36
36
|
function T() {
|
|
37
|
-
if (
|
|
38
|
-
|
|
39
|
-
message:
|
|
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
|
-
|
|
48
|
-
id:
|
|
49
|
-
reason:
|
|
50
|
-
remark:
|
|
47
|
+
d({
|
|
48
|
+
id: p.value,
|
|
49
|
+
reason: m.value,
|
|
50
|
+
remark: g.value
|
|
51
51
|
}), x.value = !1;
|
|
52
52
|
}
|
|
53
|
-
return (
|
|
54
|
-
|
|
55
|
-
modelValue:
|
|
56
|
-
"onUpdate:modelValue":
|
|
57
|
-
label:
|
|
58
|
-
placeholder:
|
|
59
|
-
options:
|
|
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
|
-
|
|
69
|
-
modelValue:
|
|
70
|
-
"onUpdate:modelValue":
|
|
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:
|
|
73
|
+
label: t(s)("cancelReservation.remarkLabel"),
|
|
74
74
|
icon: "info-circle",
|
|
75
|
-
placeholder:
|
|
75
|
+
placeholder: t(s)("cancelReservation.remarkPlaceholder")
|
|
76
76
|
}, null, 8, [
|
|
77
77
|
"modelValue",
|
|
78
78
|
"label",
|
|
79
79
|
"placeholder"
|
|
80
80
|
]),
|
|
81
|
-
|
|
82
|
-
label:
|
|
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":
|
|
86
|
+
"onUpdate:isLoading": n[4] ||= (e) => y.value = e,
|
|
87
87
|
onClickEvent: E
|
|
88
88
|
}, null, 8, ["label", "is-loading"])
|
|
89
|
-
], 64)) : (
|
|
89
|
+
], 64)) : (l(), a(D, {
|
|
90
90
|
key: 0,
|
|
91
|
-
modelValue:
|
|
92
|
-
"onUpdate:modelValue":
|
|
91
|
+
modelValue: p.value,
|
|
92
|
+
"onUpdate:modelValue": n[0] ||= (e) => p.value = e,
|
|
93
93
|
icon: "octagon-check",
|
|
94
|
-
label:
|
|
95
|
-
buttonLabel:
|
|
96
|
-
placeholder:
|
|
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":
|
|
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__ */
|
|
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(
|
|
116
|
-
let { t:
|
|
115
|
+
setup(r) {
|
|
116
|
+
let { t: o } = c(), f = r, p = e(() => ({
|
|
117
117
|
panelMaxWidth: "800px",
|
|
118
|
-
...
|
|
118
|
+
...f.styling
|
|
119
119
|
}));
|
|
120
|
-
return (
|
|
121
|
-
default:
|
|
122
|
-
default:
|
|
123
|
-
default:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
innerHTML:
|
|
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
|
-
|
|
129
|
+
d("div", N, [i(k)])
|
|
130
130
|
])]),
|
|
131
131
|
_: 1
|
|
132
132
|
}, 8, ["access-token"])])]),
|
|
133
|
-
fallback:
|
|
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 =
|
|
140
|
-
e.use(
|
|
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
|
package/dist/deep-link.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as e, Pt as t, Q as n, at as r, et as i, j as a, n as o, o as s, p as c, wt as l, z as u } from "./i18n-_behsDNX.js";
|
|
2
2
|
//#region src/layouts/DeepLink.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var d = ["href"], f = /* @__PURE__ */
|
|
3
|
+
var d = ["href"], f = /* @__PURE__ */ u({
|
|
4
4
|
name: "KonnectioDeepLink",
|
|
5
5
|
__name: "DeepLink",
|
|
6
6
|
props: {
|
|
@@ -10,22 +10,22 @@ var d = ["href"], f = /* @__PURE__ */ r({
|
|
|
10
10
|
adults: {},
|
|
11
11
|
children: {}
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
let s =
|
|
13
|
+
setup(o) {
|
|
14
|
+
let s = l(null), c = o, u = l();
|
|
15
15
|
return n(() => {
|
|
16
16
|
let e = new URL(c.baseurl || location.href);
|
|
17
|
-
c.adults && e.searchParams.append("adults", c.adults), c.children && e.searchParams.append("children", c.children),
|
|
18
|
-
}), (n,
|
|
17
|
+
c.adults && e.searchParams.append("adults", c.adults), c.children && e.searchParams.append("children", c.children), u.value = e.href;
|
|
18
|
+
}), (n, o) => (i(), e("div", {
|
|
19
19
|
ref_key: "test",
|
|
20
20
|
ref: s
|
|
21
|
-
}, [a("a", { href:
|
|
22
|
-
a("span", null,
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
}, [a("a", { href: u.value }, [
|
|
22
|
+
a("span", null, t(u.value), 1),
|
|
23
|
+
r(n.$slots, "content"),
|
|
24
|
+
r(n.$slots, "default")
|
|
25
25
|
], 8, d)], 512));
|
|
26
26
|
}
|
|
27
|
-
}), p =
|
|
28
|
-
e.use(
|
|
27
|
+
}), p = c(), m = s("konnectio-deep-link", f, (e) => {
|
|
28
|
+
e.use(o), e.use(p);
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { m as default };
|
package/dist/deep-link.js.br
CHANGED
|
Binary file
|
package/dist/deep-link.js.gz
CHANGED
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
|
-
import {
|
|
2
|
+
import { B as n, Z as r, mt as i, wt as a, z as o } from "./i18n-_behsDNX.js";
|
|
3
3
|
//#region node_modules/@flareapp/core/dist/urlAttributes-DmpMd_4O.mjs
|
|
4
|
-
var s = typeof process < "u" ? "2.11.0" : "?", c = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", l = "\"4.8.
|
|
4
|
+
var s = typeof process < "u" ? "2.11.0" : "?", c = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", l = "\"4.8.4\"";
|
|
5
5
|
function u(e, t, n) {
|
|
6
6
|
return n && !e && console.error(`Flare JavaScript client v${s}: ${t}`), !!e;
|
|
7
7
|
}
|
|
@@ -3198,7 +3198,7 @@ typeof window < "u" && window && (window.flare = sa, oa());
|
|
|
3198
3198
|
//#endregion
|
|
3199
3199
|
//#region src/plugins/flare.ts
|
|
3200
3200
|
var ca = /* @__PURE__ */ "fancybox,jQuery,Modernizr,cssua,ScrollTrigger,calcSelectArrowDimensions,this.elements.$menu.smartmenus,woocommerce,elementor,avadaAddQuantityBoxes,fusion,FLBuilderAccordion,_initLayerSlider,Divi,gsap,Swiper,mailchimp,_AutofillCallbackHandler,$(...),imagesLoaded,masonry,accessing a cross-origin frame,scrollspy,No layout mode: packery,Vimeo,Network Error,Request aborted,timeout exceeded,Loading chunk,TrackerStorageType,Failed to load because no supported source was found.,The element has no supported sources.,grecaptcha,lightbox,priceCalcElement,AwesomeMenu,breakdance,Maximum call stack size exceeded.,Cookies is not defined,getUniqId,Cannot read properties of null (reading 'classList'),n.getModal,e.target.closest is not a function,Cannot read properties of undefined (reading 'Item'),Cannot read properties of undefined (reading 'clientHeight'),refreshFsLightbox,fbq,Cannot assign to read only property 'push' of object '[object Array]',naturalWidth,Request failed with status code,Can't find variable: _,astraNavMenuTogglePro,The operation was aborted.,Failed to fetch dynamically imported module:,Importing a module script failed.,The request is not allowed by the user agent,this.Vi.close,The operation is insecure.,gformValidateFileSize,BreakdanceEntrance,Cannot read properties of undefined (reading '__'),The play() request was interrupted because video-only,Animation is interrupted by user input.,Animation is already playing.,Position \"NaN\" is not reachable.,Cannot redefine property: onbeforeunload,e.remove is not a function,Can't find variable: Cookies,Load failed,wp is not defined,Backbone,Invalid attempt to destructure non-iterable instance,Can't find variable: EmptyRanges,Cannot read properties of undefined (reading 'setLocaleData'),Function snaptr not implemented.,window.sbi_init is not a function,thehotelsnetwork,Reepay,wpcf7,et_pb_,mediaelementplayer,pys_generate_token,webkit.messageHandlers,__firefox__,window.ethereum,Blocked a frame with origin,NetworkError when attempting to fetch resource,play() failed because the user didn,Error invoking postMessage: Java exception,Failed to load CSS,Failed to load script,removeAttribute is not a function,Invalid site key,Handling is disabled".split(",");
|
|
3201
|
-
/(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome)/i.test(navigator.userAgent) || (sa.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), sa.addContext("version", "4.8.
|
|
3201
|
+
/(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome)/i.test(navigator.userAgent) || (sa.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), sa.addContext("version", "4.8.4"), sa.configure({ beforeEvaluate: (e) => {
|
|
3202
3202
|
for (let t = 0; t < ca.length; t++) if (e.message.toLowerCase().includes(ca[t].toLowerCase())) return !1;
|
|
3203
3203
|
return e;
|
|
3204
3204
|
} }));
|
|
@@ -3531,7 +3531,7 @@ var Ba = /* @__PURE__ */ new WeakSet(), Va = (e, t) => {
|
|
|
3531
3531
|
};
|
|
3532
3532
|
//#endregion
|
|
3533
3533
|
//#region node_modules/@flareapp/vue/dist/index.mjs
|
|
3534
|
-
|
|
3534
|
+
o({
|
|
3535
3535
|
name: "FlareErrorBoundary",
|
|
3536
3536
|
props: {
|
|
3537
3537
|
flare: {
|
|
@@ -3576,30 +3576,30 @@ r({
|
|
|
3576
3576
|
}
|
|
3577
3577
|
},
|
|
3578
3578
|
setup(e, { slots: t }) {
|
|
3579
|
-
let
|
|
3580
|
-
Aa(
|
|
3581
|
-
let s =
|
|
3579
|
+
let o = ua(e.flare);
|
|
3580
|
+
Aa(o, n()?.appContext.app.version);
|
|
3581
|
+
let s = n(), c = a(null), l = a(void 0), u = a([]), d = a([]), f = () => {
|
|
3582
3582
|
e.onReset?.(c.value), c.value = null, l.value = void 0, u.value = [], d.value = [];
|
|
3583
3583
|
};
|
|
3584
|
-
return
|
|
3584
|
+
return i(() => e.resetKeys, (e, t) => {
|
|
3585
3585
|
if (c.value === null || !e || !t) return;
|
|
3586
3586
|
let n = t.length !== e.length, r = e.some((e, n) => !Object.is(e, t[n]));
|
|
3587
3587
|
(n || r) && f();
|
|
3588
|
-
}),
|
|
3589
|
-
let
|
|
3588
|
+
}), r((t, n, r) => {
|
|
3589
|
+
let i = te(t);
|
|
3590
3590
|
e.beforeEvaluate?.({
|
|
3591
|
-
error:
|
|
3591
|
+
error: i,
|
|
3592
3592
|
instance: n,
|
|
3593
|
-
info:
|
|
3593
|
+
info: r
|
|
3594
3594
|
});
|
|
3595
|
-
let
|
|
3595
|
+
let a = ma(e.propsDenylist, e.replaceDefaultDenylist), f = ya(n), ee = xa(n, {
|
|
3596
3596
|
attachProps: e.attachProps,
|
|
3597
3597
|
propsMaxDepth: e.propsMaxDepth,
|
|
3598
|
-
propsDenylist:
|
|
3598
|
+
propsDenylist: a
|
|
3599
3599
|
}), ne = $(n);
|
|
3600
|
-
c.value =
|
|
3601
|
-
let re = e.attachProps && n?.$props ? ba(n.$props, e.propsMaxDepth,
|
|
3602
|
-
info:
|
|
3600
|
+
c.value = i;
|
|
3601
|
+
let re = e.attachProps && n?.$props ? ba(n.$props, e.propsMaxDepth, a) : void 0, ie = Sa(r), p = Da(s?.appContext.config.globalProperties.$router, { denylist: a }), m = { vue: {
|
|
3602
|
+
info: r,
|
|
3603
3603
|
errorOrigin: ie,
|
|
3604
3604
|
...p && { route: p },
|
|
3605
3605
|
componentName: ne,
|
|
@@ -3607,15 +3607,15 @@ r({
|
|
|
3607
3607
|
componentHierarchy: f,
|
|
3608
3608
|
componentHierarchyFrames: ee
|
|
3609
3609
|
} }, h = e.beforeSubmit?.({
|
|
3610
|
-
error:
|
|
3610
|
+
error: i,
|
|
3611
3611
|
instance: n,
|
|
3612
|
-
info:
|
|
3612
|
+
info: r,
|
|
3613
3613
|
context: m
|
|
3614
3614
|
}) ?? m;
|
|
3615
|
-
return l.value = h.vue.componentProps, u.value = h.vue.componentHierarchy, d.value = h.vue.componentHierarchyFrames,
|
|
3616
|
-
error:
|
|
3615
|
+
return l.value = h.vue.componentProps, u.value = h.vue.componentHierarchy, d.value = h.vue.componentHierarchyFrames, o.reportSilently(i, Ra(h)), e.afterSubmit?.({
|
|
3616
|
+
error: i,
|
|
3617
3617
|
instance: n,
|
|
3618
|
-
info:
|
|
3618
|
+
info: r,
|
|
3619
3619
|
context: h
|
|
3620
3620
|
}), !1;
|
|
3621
3621
|
}), () => c.value === null ? t.default?.() : t.fallback ? t.fallback({
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { A as ScrollToTop, C as useAvailabilityStore, E as useUtilityStore, L as capitalized, M as useApplyGiftCardStore, O as useHotelStore, R as convertDescription, S as _plugin_vue_export_helper_default, Z as showDate, _ as InputField_default, et as showPrice,
|
|
3
|
-
import { i as Checkbox_default, o as Base_default$1, r as GoogleNotice_default } from "./CheckoutWindow-
|
|
4
|
-
import { n as __default } from "./Field-
|
|
5
|
-
import { t as ActionField_default } from "./ActionField-
|
|
1
|
+
import { $ as onUnmounted, A as computed$1, At as unref, B as getCurrentInstance, E as Fragment, F as createSlots, G as mergeModels, H as h, I as createTextVNode, L as createVNode, M as createBlock, N as createCommentVNode, Nt as normalizeStyle, P as createElementBlock, Pt as toDisplayString, Q as onMounted, S as vShow, St as reactive, T as Comment, Y as onBeforeUnmount, _t as withDirectives, a as useI18n, at as renderSlot, bt as isRef, dt as useModel, et as openBlock, ft as useSlots, g as Transition, gt as withCtx, h as storeToRefs, it as renderList, j as createBaseVNode, jt as normalizeClass, k as Text, l as useEventBus, mt as watch, ot as resolveComponent, q as nextTick, st as resolveDirective, w as withModifiers, wt as ref, z as defineComponent } from "./i18n-_behsDNX.js";
|
|
2
|
+
import { A as ScrollToTop, C as useAvailabilityStore, E as useUtilityStore, L as capitalized, M as useApplyGiftCardStore, O as useHotelStore, R as convertDescription, S as _plugin_vue_export_helper_default, Z as showDate, _ as InputField_default, et as showPrice, it as BookingLayout, j as usePaymentStore, n as TextField_default, q as getUserLanguage, rt as BookingHeaderLayout, v as Clickable_default, w as useEventStore, x as Icon_default, z as daysBetweenDates } from "./SelectField-BUeYRCxc.js";
|
|
3
|
+
import { i as Checkbox_default, o as Base_default$1, r as GoogleNotice_default } from "./CheckoutWindow-C7AVcaIo.js";
|
|
4
|
+
import { n as __default } from "./Field-CysA6ZKB.js";
|
|
5
|
+
import { t as ActionField_default } from "./ActionField-DNhrzibV.js";
|
|
6
6
|
//#region node_modules/@egjs/component/dist/component.esm.js
|
|
7
7
|
function __values(e) {
|
|
8
8
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
Binary file
|
|
Binary file
|