@konnectio/core 4.0.90 → 4.0.92
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-CKTAIwlG.js → ActionField-CgMznDNS.js} +3 -3
- package/dist/ActionField-CgMznDNS.js.br +0 -0
- package/dist/{AvailabilitySkeleton-Yda51kLP.js → AvailabilitySkeleton-B12FSS31.js} +21 -21
- package/dist/AvailabilitySkeleton-B12FSS31.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js +9079 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br +0 -0
- package/dist/{CheckoutWindow-Cm1ExHuS.js → CheckoutWindow-BoEtvp4P.js} +26 -26
- package/dist/CheckoutWindow-BoEtvp4P.js.br +0 -0
- package/dist/{ErrorMessage-6KMjarXT.js → ErrorMessage-CvJnQM2S.js} +3 -3
- package/dist/ErrorMessage-CvJnQM2S.js.br +0 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js +113 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js.br +0 -0
- package/dist/{Field-B-kcgOnl.js → Field-Ce6P6QCM.js} +4 -4
- package/dist/Field-Ce6P6QCM.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DES0JVHq.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js} +5 -5
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CNCc38J_.js → SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js} +2966 -2954
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js.br +0 -0
- package/dist/{TermsOfService-DWEQVnMu.js → TermsOfService-DS18Dl-L.js} +4 -4
- package/dist/_-Csc-2ekB.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-B7aH7s4j.js → _.vue_vue_type_style_index_0_lang-CXamzQ3j.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +572 -496
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +9 -9
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BcTiLShb.js → giftCard-Dx--Stye.js} +3 -3
- package/dist/giftCard-Dx--Stye.js.br +0 -0
- package/dist/hotel.js +385 -383
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BiQsiic0.js → masonry.plugin-CPsNk-yp.js} +7 -7
- package/dist/masonry.plugin-CPsNk-yp.js.br +0 -0
- package/dist/{mitt-B7wNuBju.js → mitt-BGszhQ2P.js} +5459 -5617
- package/dist/mitt-BGszhQ2P.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-B-eJeldE.js → style-Csy5Jdgv.js} +2 -2
- package/dist/style-Csy5Jdgv.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +14 -14
- package/dist/ActionField-CKTAIwlG.js.br +0 -0
- package/dist/AvailabilitySkeleton-Yda51kLP.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js +0 -8697
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js.br +0 -0
- package/dist/CheckoutWindow-Cm1ExHuS.js.br +0 -0
- package/dist/ErrorMessage-6KMjarXT.js.br +0 -0
- package/dist/EventAvailabilityForm-uKOuEFLO.js +0 -110
- package/dist/EventAvailabilityForm-uKOuEFLO.js.br +0 -0
- package/dist/Field-B-kcgOnl.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CNCc38J_.js.br +0 -0
- package/dist/_-B1Ghb3H_.js +0 -5
- package/dist/giftCard-BcTiLShb.js.br +0 -0
- package/dist/masonry.plugin-BiQsiic0.js.br +0 -0
- package/dist/mitt-B7wNuBju.js.br +0 -0
- package/dist/style-B-eJeldE.js.br +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as c, c as p, a as d, b as i, w as V, e as v, i as t, f as q } from "./mitt-
|
|
2
|
-
import { D as g,
|
|
1
|
+
import { d as c, c as p, a as d, b as i, w as V, e as v, i as t, f as q } from "./mitt-BGszhQ2P.js";
|
|
2
|
+
import { D as g, c as k, f as B, T as I, d as C, r as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js";
|
|
3
3
|
const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
4
4
|
__name: "ActionField",
|
|
5
5
|
props: {
|
|
@@ -97,4 +97,4 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
97
97
|
export {
|
|
98
98
|
w as A
|
|
99
99
|
};
|
|
100
|
-
//# sourceMappingURL=ActionField-
|
|
100
|
+
//# sourceMappingURL=ActionField-CgMznDNS.js.map
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as le, u as ke,
|
|
2
|
-
import { u as W, b as X, a as Le, g as Z, T as xe,
|
|
3
|
-
import { _ as N } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
4
|
-
import { E as te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
5
|
-
import { F as f } from "./Field-
|
|
1
|
+
import { d as le, u as ke, s as x, r as p, c as u, C as Q, o as he, a as n, g as v, f as s, w as we, i as a, b as h, j as w, e as S, n as C, D as Ve, h as _e, O as Ae } from "./mitt-BGszhQ2P.js";
|
|
2
|
+
import { u as W, b as X, a as Le, g as Z, T as xe, c as Ne, f as ee, d as ae, q as Se, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js";
|
|
3
|
+
import { _ as N } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js";
|
|
4
|
+
import { E as te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js";
|
|
5
|
+
import { F as f } from "./Field-Ce6P6QCM.js";
|
|
6
6
|
const Ce = {
|
|
7
7
|
class: "konnectio-availability-location",
|
|
8
8
|
key: "location"
|
|
@@ -27,7 +27,7 @@ const Ce = {
|
|
|
27
27
|
disableDefaultLocation: { type: Boolean, default: !1 }
|
|
28
28
|
},
|
|
29
29
|
setup(U) {
|
|
30
|
-
const { t: i } = ke(), $ =
|
|
30
|
+
const { t: i } = ke(), $ = Ae("emitter"), l = U, B = W(), {
|
|
31
31
|
adults: ie,
|
|
32
32
|
children: ne,
|
|
33
33
|
arrivalDate: H,
|
|
@@ -38,22 +38,22 @@ const Ce = {
|
|
|
38
38
|
controlLocation: se
|
|
39
39
|
} = x(W()), { fetchAvailabilityData: ue } = X(), { areListingsLoading: O } = x(X()), { display: V } = Le(), {
|
|
40
40
|
firstSelectableDateOffset: T,
|
|
41
|
-
lastSelectableDateOffset:
|
|
41
|
+
lastSelectableDateOffset: M,
|
|
42
42
|
disableAdultSelection: b,
|
|
43
43
|
defaultAdultAmount: re,
|
|
44
44
|
defaultChildAmount: ce,
|
|
45
45
|
maxAdultAmount: de,
|
|
46
46
|
maxChildAmount: ve,
|
|
47
47
|
splitBookingCalendar: me
|
|
48
|
-
} = x(Z()), { hasChildSelection: g } = Z(), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ge = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : se.value,
|
|
49
|
-
get: () => l.booking ? B.adults :
|
|
48
|
+
} = x(Z()), { hasChildSelection: g } = Z(), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ge = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : se.value, j = p(re.value), E = p(ce.value), P = p(be()), q = p(ge()), z = p(pe()), D = u({
|
|
49
|
+
get: () => l.booking ? B.adults : j.value,
|
|
50
50
|
set: (e) => {
|
|
51
|
-
l.booking ? ie.value = Number(e) :
|
|
51
|
+
l.booking ? ie.value = Number(e) : j.value = Number(e);
|
|
52
52
|
}
|
|
53
53
|
}), _ = u({
|
|
54
|
-
get: () => l.booking ? B.children :
|
|
54
|
+
get: () => l.booking ? B.children : E.value,
|
|
55
55
|
set: (e) => {
|
|
56
|
-
l.booking ? ne.value = Number(e) :
|
|
56
|
+
l.booking ? ne.value = Number(e) : E.value = Number(e);
|
|
57
57
|
}
|
|
58
58
|
}), r = u({
|
|
59
59
|
get: () => l.booking ? H.value : P.value,
|
|
@@ -73,9 +73,9 @@ const Ce = {
|
|
|
73
73
|
}), G = u(() => {
|
|
74
74
|
const e = I.value.find(({ id: t }) => t === l.selectedLocation);
|
|
75
75
|
return e ? e.name : "";
|
|
76
|
-
}), k = p([]), Y = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), fe = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() +
|
|
76
|
+
}), k = p([]), Y = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), fe = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + M.value)));
|
|
77
77
|
u(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + T.value)));
|
|
78
|
-
const J = u(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + (
|
|
78
|
+
const J = u(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + (M.value + 1)))), A = u(() => !(!b && D.value === 0)), ye = u(() => typeof l.link != "string");
|
|
79
79
|
function K(e) {
|
|
80
80
|
const t = e.getFullYear();
|
|
81
81
|
let o = e.getMonth() + 1, m = e.getDate();
|
|
@@ -131,15 +131,15 @@ const Ce = {
|
|
|
131
131
|
k.value = [r.value, d.value];
|
|
132
132
|
}), Q(k, (e) => {
|
|
133
133
|
r.value = e[0], d.value = e[1];
|
|
134
|
-
}),
|
|
134
|
+
}), he(() => {
|
|
135
135
|
k.value = [r.value, d.value];
|
|
136
136
|
}), (e, t) => (n(), v("form", {
|
|
137
137
|
id: "konnectio-availability-form",
|
|
138
138
|
class: C({ reservation: e.booking }),
|
|
139
139
|
type: "availability",
|
|
140
|
-
onSubmit:
|
|
140
|
+
onSubmit: _e(De, ["prevent"])
|
|
141
141
|
}, [
|
|
142
|
-
s(
|
|
142
|
+
s(Ve, {
|
|
143
143
|
id: "konnectio-availability-form-content",
|
|
144
144
|
tag: "ul",
|
|
145
145
|
class: C([
|
|
@@ -150,7 +150,7 @@ const Ce = {
|
|
|
150
150
|
{ "has-location": a(y) }
|
|
151
151
|
])
|
|
152
152
|
}, {
|
|
153
|
-
default:
|
|
153
|
+
default: we(() => [
|
|
154
154
|
a(y) ? (n(), v("li", Ce, [
|
|
155
155
|
isNaN(e.selectedLocation) ? (n(), h(Ne, {
|
|
156
156
|
key: 1,
|
|
@@ -269,7 +269,7 @@ const Ce = {
|
|
|
269
269
|
}, Oe = { class: "availability-skeleton-content" }, Te = {
|
|
270
270
|
key: 1,
|
|
271
271
|
class: "availability-skeleton-event"
|
|
272
|
-
},
|
|
272
|
+
}, Me = /* @__PURE__ */ le({
|
|
273
273
|
__name: "AvailabilitySkeleton",
|
|
274
274
|
props: {
|
|
275
275
|
view: { default: "hotel" },
|
|
@@ -314,9 +314,9 @@ const Ce = {
|
|
|
314
314
|
])
|
|
315
315
|
]));
|
|
316
316
|
}
|
|
317
|
-
}), Ye = /* @__PURE__ */ oe(
|
|
317
|
+
}), Ye = /* @__PURE__ */ oe(Me, [["__scopeId", "data-v-cebeb733"]]);
|
|
318
318
|
export {
|
|
319
319
|
Ye as A,
|
|
320
320
|
Ge as H
|
|
321
321
|
};
|
|
322
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
322
|
+
//# sourceMappingURL=AvailabilitySkeleton-B12FSS31.js.map
|
|
Binary file
|