@konnectio/core 4.1.0 → 4.1.2
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-Cpmt5Zg9.js → ActionField-RCouJ4bL.js} +3 -3
- package/dist/ActionField-RCouJ4bL.js.br +0 -0
- package/dist/{AvailabilitySkeleton-Vu5_xmgg.js → AvailabilitySkeleton-DMCMhOc1.js} +25 -25
- package/dist/AvailabilitySkeleton-DMCMhOc1.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js +8595 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js.br +0 -0
- package/dist/{CheckoutWindow-BzNZHnDo.js → CheckoutWindow-CIVRhVLH.js} +83 -84
- package/dist/CheckoutWindow-CIVRhVLH.js.br +0 -0
- package/dist/{ErrorMessage-Do6glE2a.js → ErrorMessage-CRkFYH0N.js} +3 -3
- package/dist/ErrorMessage-CRkFYH0N.js.br +0 -0
- package/dist/{EventAvailabilityForm-Ctf4T1Y9.js → EventAvailabilityForm-DuzDq1td.js} +4 -4
- package/dist/EventAvailabilityForm-DuzDq1td.js.br +0 -0
- package/dist/{Field-3qj4q_Da.js → Field-B89fBG1z.js} +4 -4
- package/dist/Field-B89fBG1z.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSJEkKWu.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js} +6 -6
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js +19391 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js.br +0 -0
- package/dist/{TermsOfService-CxZCC2bU.js → TermsOfService-B3RWtSMr.js} +4 -4
- package/dist/_-CS3eNenD.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-d3sS0itn.js → _.vue_vue_type_style_index_0_lang-CPp11Oc1.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +5 -5
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -0
- package/dist/core.css.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +9 -9
- 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-C0XVvEDP.js → giftCard-ovHKnHZ1.js} +3 -3
- package/dist/giftCard-ovHKnHZ1.js.br +0 -0
- package/dist/hotel.js +9112 -1582
- package/dist/hotel.js.br +0 -0
- package/dist/leaflet-src.esm-DBQWLG1M.js +6434 -0
- package/dist/leaflet-src.esm-DBQWLG1M.js.br +0 -0
- package/dist/marker-icon-2x-DVSLMKfE.js +5 -0
- package/dist/marker-icon-2x-DVSLMKfE.js.br +0 -0
- package/dist/marker-icon-DbhCZIpd.js +5 -0
- package/dist/marker-icon-DbhCZIpd.js.br +0 -0
- package/dist/marker-shadow-ZZvxUwqf.js +5 -0
- package/dist/{masonry.plugin-Djhh4bxD.js → masonry.plugin-DEok8Hbz.js} +1024 -1014
- package/dist/masonry.plugin-DEok8Hbz.js.br +0 -0
- package/dist/{mitt-Dv_UvJqG.js → mitt-Dh_4vPVI.js} +4190 -4146
- package/dist/mitt-Dh_4vPVI.js.br +0 -0
- package/dist/polyfill.js +9944 -6682
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-DL_k5gwT.js → style-CXMzdeVK.js} +60 -60
- package/dist/style-CXMzdeVK.js.br +0 -0
- package/package.json +22 -19
- package/dist/ActionField-Cpmt5Zg9.js.br +0 -0
- package/dist/AvailabilitySkeleton-Vu5_xmgg.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Csznyq5Z.js +0 -8429
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Csznyq5Z.js.br +0 -0
- package/dist/CheckoutWindow-BzNZHnDo.js.br +0 -0
- package/dist/ErrorMessage-Do6glE2a.js.br +0 -0
- package/dist/EventAvailabilityForm-Ctf4T1Y9.js.br +0 -0
- package/dist/Field-3qj4q_Da.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js +0 -19349
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js.br +0 -0
- package/dist/_-CDHtcbcg.js +0 -5
- package/dist/giftCard-C0XVvEDP.js.br +0 -0
- package/dist/masonry.plugin-Djhh4bxD.js.br +0 -0
- package/dist/mitt-Dv_UvJqG.js.br +0 -0
- package/dist/style-DL_k5gwT.js.br +0 -0
- package/dist/style.css +0 -1
- package/dist/style.css.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 g } from "./mitt-
|
|
2
|
-
import { H as q, c as k, g as B, T as I, d as C, x as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
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 g } from "./mitt-Dh_4vPVI.js";
|
|
2
|
+
import { H as q, c as k, g as B, T as I, d as C, x as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.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-RCouJ4bL.js.map
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as te, u as De, s as
|
|
2
|
-
import { u as Q, b as W, a as
|
|
3
|
-
import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
4
|
-
import { E as ae } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
5
|
-
import { F as p } from "./Field-
|
|
1
|
+
import { d as te, u as De, s as A, r as b, c as s, E as K, o as ke, a as r, g as m, f as n, w as he, i as t, b as k, j as N, e as h, n as S, C as we, h as Ve, L as _e } from "./mitt-Dh_4vPVI.js";
|
|
2
|
+
import { u as Q, b as W, a as Le, h as X, T as Ae, c as xe, g as Z, d as ee, w as Ne, _ as le } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js";
|
|
3
|
+
import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js";
|
|
4
|
+
import { E as ae } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js";
|
|
5
|
+
import { F as p } from "./Field-B89fBG1z.js";
|
|
6
6
|
const Se = {
|
|
7
7
|
class: "konnectio-availability-location",
|
|
8
8
|
key: "location"
|
|
@@ -36,23 +36,23 @@ const Se = {
|
|
|
36
36
|
hasHotelLocations: w,
|
|
37
37
|
hotelLocations: F,
|
|
38
38
|
controlLocation: ne
|
|
39
|
-
} =
|
|
40
|
-
firstSelectableDateOffset:
|
|
41
|
-
lastSelectableDateOffset:
|
|
39
|
+
} = A(Q()), { fetchAvailabilityData: se } = W(), { areListingsLoading: I } = A(W()), { display: y } = Le(), {
|
|
40
|
+
firstSelectableDateOffset: T,
|
|
41
|
+
lastSelectableDateOffset: E,
|
|
42
42
|
defaultAdultAmount: ue,
|
|
43
43
|
defaultChildAmount: re,
|
|
44
44
|
maxAdultAmount: ce,
|
|
45
45
|
maxChildAmount: de,
|
|
46
46
|
splitBookingCalendar: ve
|
|
47
|
-
} =
|
|
48
|
-
get: () => l.booking ? $.adults :
|
|
47
|
+
} = A(X()), { hasChildSelection: V } = X(), me = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : ne.value, M = b(ue.value), O = b(re.value), j = b(me()), P = b(be()), z = b(pe()), g = s({
|
|
48
|
+
get: () => l.booking ? $.adults : M.value,
|
|
49
49
|
set: (e) => {
|
|
50
|
-
l.booking ? oe.value = Number(e) :
|
|
50
|
+
l.booking ? oe.value = Number(e) : M.value = Number(e);
|
|
51
51
|
}
|
|
52
52
|
}), D = s({
|
|
53
|
-
get: () => l.booking ? $.children :
|
|
53
|
+
get: () => l.booking ? $.children : O.value,
|
|
54
54
|
set: (e) => {
|
|
55
|
-
l.booking ? ie.value = Number(e) :
|
|
55
|
+
l.booking ? ie.value = Number(e) : O.value = Number(e);
|
|
56
56
|
}
|
|
57
57
|
}), u = s({
|
|
58
58
|
get: () => l.booking ? B.value : j.value,
|
|
@@ -72,15 +72,15 @@ const Se = {
|
|
|
72
72
|
}), q = s(() => {
|
|
73
73
|
const e = F.value.find(({ id: a }) => a === l.selectedLocation);
|
|
74
74
|
return e ? e.name : "";
|
|
75
|
-
}), f = b([]), G = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (
|
|
76
|
-
s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() +
|
|
77
|
-
const Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (
|
|
75
|
+
}), f = b([]), G = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), ge = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + E.value)));
|
|
76
|
+
s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + T.value)));
|
|
77
|
+
const Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (E.value + 1)))), _ = s(() => g.value !== 0), fe = s(() => typeof l.link != "string");
|
|
78
78
|
function J(e) {
|
|
79
79
|
const a = e.getFullYear();
|
|
80
80
|
let o = e.getMonth() + 1, v = e.getDate();
|
|
81
81
|
return v < 10 && (v = "0" + v), o < 10 && (o = "0" + o), `${a}-${o}-${v}`;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function L(e) {
|
|
84
84
|
const a = {
|
|
85
85
|
a: g.value.toString(),
|
|
86
86
|
c: D.value.toString(),
|
|
@@ -115,12 +115,12 @@ const Se = {
|
|
|
115
115
|
if (l.booking === !1)
|
|
116
116
|
if (fe.value) {
|
|
117
117
|
const e = Ne();
|
|
118
|
-
l.link[e] ?
|
|
118
|
+
l.link[e] ? L(l.link[e]) : l.link.en ? L(l.link.en) : y({
|
|
119
119
|
message: "Module misconfiguration, contact an admin",
|
|
120
120
|
type: "error"
|
|
121
121
|
});
|
|
122
122
|
} else
|
|
123
|
-
|
|
123
|
+
L(l.link);
|
|
124
124
|
else _.value && se();
|
|
125
125
|
}
|
|
126
126
|
return K(u, (e) => {
|
|
@@ -163,7 +163,7 @@ const Se = {
|
|
|
163
163
|
"value-key": "id",
|
|
164
164
|
options: t(F),
|
|
165
165
|
searchable: !1
|
|
166
|
-
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), k(
|
|
166
|
+
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), k(Ae, {
|
|
167
167
|
key: 0,
|
|
168
168
|
modelValue: q.value,
|
|
169
169
|
"onUpdate:modelValue": a[0] || (a[0] = (o) => q.value = o),
|
|
@@ -263,10 +263,10 @@ const Se = {
|
|
|
263
263
|
}), qe = /* @__PURE__ */ le(He, [["__scopeId", "data-v-d17acb1f"]]), Re = { class: "availability-skeleton" }, Fe = {
|
|
264
264
|
key: 0,
|
|
265
265
|
class: "availability-skeleton-navigation"
|
|
266
|
-
}, Ie = { class: "availability-skeleton-content" },
|
|
266
|
+
}, Ie = { class: "availability-skeleton-content" }, Te = {
|
|
267
267
|
key: 1,
|
|
268
268
|
class: "availability-skeleton-event"
|
|
269
|
-
},
|
|
269
|
+
}, Ee = /* @__PURE__ */ te({
|
|
270
270
|
__name: "AvailabilitySkeleton",
|
|
271
271
|
props: {
|
|
272
272
|
view: { default: "hotel" },
|
|
@@ -301,7 +301,7 @@ const Se = {
|
|
|
301
301
|
"with-icon": "",
|
|
302
302
|
"no-label": ""
|
|
303
303
|
})
|
|
304
|
-
], 2)) : (r(), m("div",
|
|
304
|
+
], 2)) : (r(), m("div", Te, [
|
|
305
305
|
n(p, { "with-icon": "" }),
|
|
306
306
|
n(p, {
|
|
307
307
|
"with-icon": "",
|
|
@@ -311,9 +311,9 @@ const Se = {
|
|
|
311
311
|
])
|
|
312
312
|
]));
|
|
313
313
|
}
|
|
314
|
-
}), Ge = /* @__PURE__ */ le(
|
|
314
|
+
}), Ge = /* @__PURE__ */ le(Ee, [["__scopeId", "data-v-cebeb733"]]);
|
|
315
315
|
export {
|
|
316
316
|
Ge as A,
|
|
317
317
|
qe as H
|
|
318
318
|
};
|
|
319
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
319
|
+
//# sourceMappingURL=AvailabilitySkeleton-DMCMhOc1.js.map
|
|
Binary file
|