@konnectio/core 4.1.1 → 4.1.3
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-Bv7eVoQ6.js → ActionField-CRqgWSz1.js} +11 -11
- package/dist/ActionField-CRqgWSz1.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B_gz2zW7.js → AvailabilitySkeleton-DVrVFhw4.js} +25 -25
- package/dist/AvailabilitySkeleton-DVrVFhw4.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js +8592 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br +0 -0
- package/dist/{CheckoutWindow-D9oLhlnI.js → CheckoutWindow-DrZnthDH.js} +105 -111
- package/dist/CheckoutWindow-DrZnthDH.js.br +0 -0
- package/dist/{ErrorMessage-D69Wt9sJ.js → ErrorMessage-b0lY3zUM.js} +3 -3
- package/dist/ErrorMessage-b0lY3zUM.js.br +0 -0
- package/dist/{EventAvailabilityForm-DMw-tMYh.js → EventAvailabilityForm-BPkfZcYX.js} +4 -4
- package/dist/EventAvailabilityForm-BPkfZcYX.js.br +0 -0
- package/dist/{Field-DTS5lUQa.js → Field-DnS91ODQ.js} +4 -4
- package/dist/Field-DnS91ODQ.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVM6rNQX.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js} +6 -6
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js +10302 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js.br +0 -0
- package/dist/{TermsOfService-BCRB4pzR.js → TermsOfService-B2ELKRPq.js} +5 -5
- package/dist/_-DkNAaEsV.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-BHdZ4cL3.js → _.vue_vue_type_style_index_0_lang-DKkrP6vk.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 +88 -88
- 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 +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-C9C5zd6l.js → giftCard-BsWa3VEY.js} +3 -3
- package/dist/giftCard-BsWa3VEY.js.br +0 -0
- package/dist/hotel.js +9112 -1585
- 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-D7l8_YMQ.js → masonry.plugin-By72FzQ9.js} +280 -253
- package/dist/masonry.plugin-By72FzQ9.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 -20
- package/dist/ActionField-Bv7eVoQ6.js.br +0 -0
- package/dist/AvailabilitySkeleton-B_gz2zW7.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dq3QsW9G.js +0 -8429
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dq3QsW9G.js.br +0 -0
- package/dist/CheckoutWindow-D9oLhlnI.js.br +0 -0
- package/dist/ErrorMessage-D69Wt9sJ.js.br +0 -0
- package/dist/EventAvailabilityForm-DMw-tMYh.js.br +0 -0
- package/dist/Field-DTS5lUQa.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DC2CrQZx.js +0 -19350
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DC2CrQZx.js.br +0 -0
- package/dist/_-CTjyxwPn.js +0 -5
- package/dist/giftCard-C9C5zd6l.js.br +0 -0
- package/dist/masonry.plugin-D7l8_YMQ.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,6 +1,6 @@
|
|
|
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
|
|
2
|
-
import { H as
|
|
3
|
-
const L = { class: "
|
|
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-Dh_4vPVI.js";
|
|
2
|
+
import { H as g, 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-CZYWu7x-.js";
|
|
3
|
+
const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
|
|
4
4
|
__name: "ActionField",
|
|
5
5
|
props: {
|
|
6
6
|
modelValue: {},
|
|
@@ -25,8 +25,8 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
25
25
|
isLoading: { type: Boolean, default: !1 }
|
|
26
26
|
},
|
|
27
27
|
emits: ["update:modelValue", "action"],
|
|
28
|
-
setup(y, { emit:
|
|
29
|
-
const s =
|
|
28
|
+
setup(y, { emit: b }) {
|
|
29
|
+
const s = b, u = y, o = u.id || g();
|
|
30
30
|
function r(e) {
|
|
31
31
|
s("update:modelValue", e);
|
|
32
32
|
}
|
|
@@ -37,7 +37,7 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
37
37
|
get: () => u.modelValue,
|
|
38
38
|
set: (e) => r(e)
|
|
39
39
|
});
|
|
40
|
-
function
|
|
40
|
+
function f() {
|
|
41
41
|
s("action");
|
|
42
42
|
}
|
|
43
43
|
return (e, a) => (d(), i(F, {
|
|
@@ -76,7 +76,7 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
76
76
|
required: e.required,
|
|
77
77
|
placeholder: e.placeholder
|
|
78
78
|
}, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
|
|
79
|
-
|
|
79
|
+
q(C, {
|
|
80
80
|
"data-test": `${e.name}Submit`,
|
|
81
81
|
icon: e.buttonIcon,
|
|
82
82
|
label: e.buttonLabel,
|
|
@@ -86,15 +86,15 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
86
86
|
"is-loading": e.isLoading,
|
|
87
87
|
disabled: e.buttonDisabled,
|
|
88
88
|
secondary: e.secondary,
|
|
89
|
-
onClickEvent: a[3] || (a[3] = (l) =>
|
|
89
|
+
onClickEvent: a[3] || (a[3] = (l) => f())
|
|
90
90
|
}, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
|
|
91
91
|
])
|
|
92
92
|
]),
|
|
93
93
|
_: 1
|
|
94
94
|
}, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
|
|
95
95
|
}
|
|
96
|
-
}),
|
|
96
|
+
}), U = /* @__PURE__ */ A(T, [["__scopeId", "data-v-0060b4bf"]]);
|
|
97
97
|
export {
|
|
98
|
-
|
|
98
|
+
U as A
|
|
99
99
|
};
|
|
100
|
-
//# sourceMappingURL=ActionField-
|
|
100
|
+
//# sourceMappingURL=ActionField-CRqgWSz1.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-CZYWu7x-.js";
|
|
3
|
+
import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js";
|
|
4
|
+
import { E as ae } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js";
|
|
5
|
+
import { F as p } from "./Field-DnS91ODQ.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-DVrVFhw4.js.map
|
|
Binary file
|