@konnectio/core 4.7.9 → 4.7.11
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-BLUufdat.js → ActionField-DUL0XvJT.js} +6 -6
- package/dist/ActionField-DUL0XvJT.js.br +0 -0
- package/dist/ActionField-DUL0XvJT.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DlcBMiZx.js → AvailabilitySkeleton-DEr2RxbZ.js} +113 -113
- package/dist/AvailabilitySkeleton-DEr2RxbZ.js.br +0 -0
- package/dist/AvailabilitySkeleton-DEr2RxbZ.js.gz +0 -0
- package/dist/{CheckoutWindow-BcRZIzMT.js → CheckoutWindow-BNE0eaqa.js} +96 -89
- package/dist/CheckoutWindow-BNE0eaqa.js.br +0 -0
- package/dist/CheckoutWindow-BNE0eaqa.js.gz +0 -0
- package/dist/{ErrorMessage-C8zkJCJE.js → ErrorMessage-c1Xb-slW.js} +7 -7
- package/dist/ErrorMessage-c1Xb-slW.js.br +0 -0
- package/dist/ErrorMessage-c1Xb-slW.js.gz +0 -0
- package/dist/{EventAvailabilityForm-B4sFsGhI.js → EventAvailabilityForm-7jg44O4p.js} +16 -16
- package/dist/EventAvailabilityForm-7jg44O4p.js.br +0 -0
- package/dist/EventAvailabilityForm-7jg44O4p.js.gz +0 -0
- package/dist/{Field-De-fvk85.js → Field-BpOBWcqm.js} +1 -1
- package/dist/Field-BpOBWcqm.js.br +0 -0
- package/dist/Field-BpOBWcqm.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-C8uTiy9J.js → HotelAvailabilityForm-D-BlPPkO.js} +6 -6
- package/dist/HotelAvailabilityForm-D-BlPPkO.js.br +0 -0
- package/dist/HotelAvailabilityForm-D-BlPPkO.js.gz +0 -0
- package/dist/{SelectField-CDAxug6h.js → SelectField-BgawaMC_.js} +1889 -1870
- package/dist/SelectField-BgawaMC_.js.br +0 -0
- package/dist/SelectField-BgawaMC_.js.gz +0 -0
- package/dist/{TermsOfService-Dt5Q1SCK.js → TermsOfService-ByMc3JXX.js} +6 -6
- package/dist/TermsOfService-ByMc3JXX.js.br +0 -0
- package/dist/TermsOfService-ByMc3JXX.js.gz +2 -0
- package/dist/{_-Be3oAOAc.js → _-BftIyTSa.js} +1 -1
- package/dist/_-BftIyTSa.js.br +0 -0
- package/dist/_-BftIyTSa.js.gz +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +11 -11
- 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/{dist-BPlclb9p.js → dist-BRdmfOkq.js} +2 -2
- package/dist/dist-BRdmfOkq.js.br +0 -0
- package/dist/dist-BRdmfOkq.js.gz +0 -0
- package/dist/{dist-C_IilFmu.js → dist-DOhI4S1k.js} +25 -26
- package/dist/dist-DOhI4S1k.js.br +0 -0
- package/dist/dist-DOhI4S1k.js.gz +0 -0
- package/dist/event.js +176 -176
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/giftCard-D7hskPCe.js +104 -0
- package/dist/giftCard-D7hskPCe.js.br +0 -0
- package/dist/giftCard-D7hskPCe.js.gz +0 -0
- package/dist/hotel.js +1047 -1049
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.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-D9WMflRR.js → style-CHNgkDj2.js} +1 -1
- package/dist/style-CHNgkDj2.js.br +0 -0
- package/dist/style-CHNgkDj2.js.gz +0 -0
- package/dist-wix/availability.js +19 -19
- package/dist-wix/event.js +6 -6
- package/dist-wix/gift-card-validation.js +20 -20
- package/dist-wix/gift-card.js +20 -20
- package/dist-wix/hotel.js +6 -6
- package/package.json +4 -1
- package/dist/ActionField-BLUufdat.js.br +0 -0
- package/dist/ActionField-BLUufdat.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.br +0 -0
- package/dist/AvailabilitySkeleton-DlcBMiZx.js.gz +0 -0
- package/dist/CheckoutWindow-BcRZIzMT.js.br +0 -0
- package/dist/CheckoutWindow-BcRZIzMT.js.gz +0 -0
- package/dist/ErrorMessage-C8zkJCJE.js.br +0 -0
- package/dist/ErrorMessage-C8zkJCJE.js.gz +0 -0
- package/dist/EventAvailabilityForm-B4sFsGhI.js.br +0 -0
- package/dist/EventAvailabilityForm-B4sFsGhI.js.gz +0 -0
- package/dist/Field-De-fvk85.js.br +0 -0
- package/dist/Field-De-fvk85.js.gz +0 -0
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.br +0 -0
- package/dist/HotelAvailabilityForm-C8uTiy9J.js.gz +0 -0
- package/dist/SelectField-CDAxug6h.js.br +0 -0
- package/dist/SelectField-CDAxug6h.js.gz +0 -0
- package/dist/TermsOfService-Dt5Q1SCK.js.br +0 -0
- package/dist/TermsOfService-Dt5Q1SCK.js.gz +0 -0
- package/dist/_-Be3oAOAc.js.br +0 -0
- package/dist/_-Be3oAOAc.js.gz +0 -5
- package/dist/dist-BPlclb9p.js.br +0 -0
- package/dist/dist-BPlclb9p.js.gz +0 -0
- package/dist/dist-C_IilFmu.js.br +0 -0
- package/dist/dist-C_IilFmu.js.gz +0 -0
- package/dist/giftCard-CxI94mQ4.js +0 -104
- package/dist/giftCard-CxI94mQ4.js.br +0 -0
- package/dist/giftCard-CxI94mQ4.js.gz +0 -0
- package/dist/style-D9WMflRR.js.br +0 -0
- package/dist/style-D9WMflRR.js.gz +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { D as e, E as t, Et as n, J as r, N as i, O as a, Tt as o, a as s, b as c, d as l, j as u, l as d, ut as f, v as p, w as m, yt as h } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { C as g,
|
|
3
|
-
import { n as C } from "./AvailabilitySkeleton-
|
|
2
|
+
import { C as g, H as _, S as v, n as y, t as b, v as x, w as S } from "./SelectField-BgawaMC_.js";
|
|
3
|
+
import { n as C } from "./AvailabilitySkeleton-DEr2RxbZ.js";
|
|
4
4
|
//#region src/components/forms/EventAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var w = {
|
|
6
6
|
class: "konnectio-search-button",
|
|
7
7
|
key: "search"
|
|
8
|
-
}, T = /*#__PURE__*/
|
|
8
|
+
}, T = /*#__PURE__*/ v(/* @__PURE__ */ i({
|
|
9
9
|
__name: "EventAvailabilityForm",
|
|
10
10
|
props: {
|
|
11
11
|
redirection: {
|
|
@@ -20,32 +20,32 @@ var w = {
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
setup(i) {
|
|
23
|
-
let
|
|
24
|
-
get: () =>
|
|
23
|
+
let v = i, { eventLocation: T, eventLocations: E, hasEventLocations: D, eventLocationControl: O, eventDate: k } = d(g()), { updateEventAvailability: A } = g(), { fetchListings: j } = S(), { t: M } = s(), N = h(O.value), P = h(/* @__PURE__ */ new Date()), F = m({
|
|
24
|
+
get: () => v.redirection ? N.value : T.value,
|
|
25
25
|
set: (e) => {
|
|
26
|
-
|
|
26
|
+
v.redirection ? N.value = Number(e) : T.value = Number(e);
|
|
27
27
|
}
|
|
28
28
|
}), I = m({
|
|
29
|
-
get: () =>
|
|
29
|
+
get: () => v.redirection ? P.value : k.value,
|
|
30
30
|
set: (e) => {
|
|
31
|
-
|
|
31
|
+
v.redirection ? P.value = e : k.value = e;
|
|
32
32
|
}
|
|
33
|
-
}), L = m(() => typeof
|
|
34
|
-
let e = E.value.find(({ id: e }) => e ===
|
|
33
|
+
}), L = m(() => typeof v.link != "string"), R = m(() => {
|
|
34
|
+
let e = E.value.find(({ id: e }) => e === v.selectedLocation);
|
|
35
35
|
return e ? e.name : "";
|
|
36
|
-
}), z = m(() => D.value && !
|
|
36
|
+
}), z = m(() => D.value && !v.hideLocations);
|
|
37
37
|
function B() {
|
|
38
|
-
if (
|
|
38
|
+
if (v.redirection === !0) if (A({
|
|
39
39
|
date: I.value,
|
|
40
40
|
location: F.value
|
|
41
41
|
}), L.value) {
|
|
42
|
-
let e =
|
|
43
|
-
|
|
44
|
-
} else window.location.replace(
|
|
42
|
+
let e = _();
|
|
43
|
+
v.link[e] ? window.location.replace(v.link[e]) : v.link.en && window.location.replace(v.link.en);
|
|
44
|
+
} else window.location.replace(v.link);
|
|
45
45
|
else j();
|
|
46
46
|
}
|
|
47
47
|
function V() {
|
|
48
|
-
|
|
48
|
+
v.redirection === !1 && j();
|
|
49
49
|
}
|
|
50
50
|
return (s, d) => (r(), a("form", {
|
|
51
51
|
class: n([
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as e, E as t, Et as n, J as r, N as i, O as a, j as o, p as s } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { S as c } from "./SelectField-
|
|
2
|
+
import { S as c } from "./SelectField-BgawaMC_.js";
|
|
3
3
|
//#region src/components/skeletons/_.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var l = { class: "konnectio-placeholder" }, u = /*#__PURE__*/ c(/* @__PURE__ */ i({
|
|
5
5
|
__name: "_",
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as e, E as t, Et as n, J as r, K as ee, N as i, O as a, T as o, Tt as s, a as c, ct as l, d as te, j as u, l as ne, ut as re, v as ie, w as d, yt as f } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { C as p, E as m,
|
|
3
|
-
import { n as v, p as pe } from "./AvailabilitySkeleton-
|
|
2
|
+
import { C as p, E as m, H as ae, N as oe, O as se, S as h, k as ce, lt as le, mt as ue, n as de, r as g, t as fe, v as _ } from "./SelectField-BgawaMC_.js";
|
|
3
|
+
import { n as v, p as pe } from "./AvailabilitySkeleton-DEr2RxbZ.js";
|
|
4
4
|
//#region src/components/forms/HotelAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var me = {
|
|
6
6
|
class: "konnectio-availability-location",
|
|
@@ -39,7 +39,7 @@ var me = {
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
setup(i) {
|
|
42
|
-
let { t: h } = c(), y = i, b = p(), { adults: be, children: xe, roomCount: Se, arrivalDate: x, departureDate: S, location: C, hasHotelLocations: w, hotelLocations: T, controlLocation: Ce } = ne(p()), E =
|
|
42
|
+
let { t: h } = c(), y = i, b = p(), { adults: be, children: xe, roomCount: Se, arrivalDate: x, departureDate: S, location: C, hasHotelLocations: w, hotelLocations: T, controlLocation: Ce } = ne(p()), E = se(), we = pe(), { display: D } = oe(), { firstSelectableDateOffset: O, lastSelectableDateOffset: k, defaultAdultAmount: A, defaultChildAmount: j, maxAdultAmount: Te, maxChildAmount: Ee, splitBookingCalendar: De, disableCalendarPricesAvailability: M } = ne(m()), { hasChildSelection: N, hasRoomAmountSelection: P } = m(), Oe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value)).setHours(12, 0, 0, 0)), ke = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value + 1)).setHours(12, 0, 0, 0)), Ae = () => y.disableDefaultLocation ? void 0 : Ce.value, F = f(A.value), I = f(j.value), L = f(1), R = f(Oe()), z = f(ke()), B = f(Ae()), V = d({
|
|
43
43
|
get: () => y.booking ? b.adults : F.value,
|
|
44
44
|
set: (e) => {
|
|
45
45
|
y.booking ? be.value = Number(e) : F.value = Number(e);
|
|
@@ -111,7 +111,7 @@ var me = {
|
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
113
|
if (y.booking === !1) if (Pe.value) {
|
|
114
|
-
let e =
|
|
114
|
+
let e = ae();
|
|
115
115
|
y.link[e] ? Q(y.link[e]) : y.link.en ? Q(y.link.en) : D({
|
|
116
116
|
message: "Module misconfiguration, contact an admin",
|
|
117
117
|
type: "error"
|
|
@@ -119,7 +119,7 @@ var me = {
|
|
|
119
119
|
} else Q(y.link);
|
|
120
120
|
else X.value && E.fetchAvailabilityData();
|
|
121
121
|
}
|
|
122
|
-
let Ie =
|
|
122
|
+
let Ie = ue("history", { removeNullishValues: !0 });
|
|
123
123
|
function $() {
|
|
124
124
|
y.booking && (Ie.ci = Z(W.value), Ie.co = Z(G.value));
|
|
125
125
|
}
|
|
@@ -128,7 +128,7 @@ var me = {
|
|
|
128
128
|
new Date(G.value) < t && (G.value = t), $();
|
|
129
129
|
}), l(G, () => {
|
|
130
130
|
$();
|
|
131
|
-
}), ce
|
|
131
|
+
}), le(ce).on(() => {
|
|
132
132
|
Y.value = [W.value, G.value];
|
|
133
133
|
}), l(Y, (e) => {
|
|
134
134
|
W.value = e[0], G.value = e[1];
|
|
Binary file
|
|
Binary file
|