@konnectio/core 4.4.2 → 4.4.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-DVN5P7Z_.js → ActionField-DMesYn3d.js} +2 -2
- package/dist/ActionField-DMesYn3d.js.br +0 -0
- package/dist/ActionField-DMesYn3d.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-7H9pWAYC.js → AvailabilitySkeleton-Cj07M7eq.js} +140 -132
- package/dist/AvailabilitySkeleton-Cj07M7eq.js.br +0 -0
- package/dist/AvailabilitySkeleton-Cj07M7eq.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js} +3 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.gz +0 -0
- package/dist/{CheckoutWindow-Q8_p59cy.js → CheckoutWindow-DguoGDB5.js} +2 -2
- package/dist/CheckoutWindow-DguoGDB5.js.br +0 -0
- package/dist/CheckoutWindow-DguoGDB5.js.gz +0 -0
- package/dist/{ErrorMessage-0MZWCZU7.js → ErrorMessage-B0TCOAq5.js} +2 -2
- package/dist/ErrorMessage-B0TCOAq5.js.br +0 -0
- package/dist/ErrorMessage-B0TCOAq5.js.gz +0 -0
- package/dist/{EventAvailabilityForm-BHA_1v5L.js → EventAvailabilityForm-llp6yHln.js} +3 -3
- package/dist/EventAvailabilityForm-llp6yHln.js.br +0 -0
- package/dist/EventAvailabilityForm-llp6yHln.js.gz +0 -0
- package/dist/{Field-CM7qTnZH.js → Field-CtGUGl1O.js} +3 -3
- package/dist/Field-CtGUGl1O.js.br +0 -0
- package/dist/Field-CtGUGl1O.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js} +2 -2
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js → SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js} +2 -2
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js.gz +0 -0
- package/dist/{TermsOfService-B21lY36J.js → TermsOfService-8rpr7FIO.js} +3 -3
- package/dist/TermsOfService-8rpr7FIO.js.br +0 -0
- package/dist/TermsOfService-8rpr7FIO.js.gz +0 -0
- package/dist/_-DcO3rXPJ.js +5 -0
- package/dist/_-DcO3rXPJ.js.br +0 -0
- package/dist/_-DcO3rXPJ.js.gz +0 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-DwcYCxEU.js → _.vue_vue_type_style_index_0_lang-CZpaLVzF.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-CZpaLVzF.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CZpaLVzF.js.gz +0 -0
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- 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/event.js +9 -9
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +8 -8
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DVodKzHd.js → giftCard-oW2fNJpq.js} +2 -2
- package/dist/giftCard-oW2fNJpq.js.br +0 -0
- package/dist/giftCard-oW2fNJpq.js.gz +0 -0
- package/dist/hotel.js +542 -534
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-BRxDgKAw.js → index-DfuZ7IHj.js} +3 -3
- package/dist/index-DfuZ7IHj.js.br +0 -0
- package/dist/index-DfuZ7IHj.js.gz +0 -0
- package/dist/{masonry.plugin-CbLAl45b.js → masonry.plugin-B3aoF7hq.js} +5 -5
- package/dist/masonry.plugin-B3aoF7hq.js.br +0 -0
- package/dist/{masonry.plugin-CbLAl45b.js.gz → masonry.plugin-B3aoF7hq.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-DxRnyF5v.js → style-DRQvZ4fU.js} +2 -2
- package/dist/style-DRQvZ4fU.js.br +0 -0
- package/dist/style-DRQvZ4fU.js.gz +0 -0
- package/package.json +12 -12
- package/dist/ActionField-DVN5P7Z_.js.br +0 -3
- package/dist/ActionField-DVN5P7Z_.js.gz +0 -0
- package/dist/AvailabilitySkeleton-7H9pWAYC.js.br +0 -0
- package/dist/AvailabilitySkeleton-7H9pWAYC.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js.gz +0 -0
- package/dist/CheckoutWindow-Q8_p59cy.js.br +0 -0
- package/dist/CheckoutWindow-Q8_p59cy.js.gz +0 -0
- package/dist/ErrorMessage-0MZWCZU7.js.br +0 -0
- package/dist/ErrorMessage-0MZWCZU7.js.gz +0 -0
- package/dist/EventAvailabilityForm-BHA_1v5L.js.br +0 -0
- package/dist/EventAvailabilityForm-BHA_1v5L.js.gz +0 -0
- package/dist/Field-CM7qTnZH.js.br +0 -0
- package/dist/Field-CM7qTnZH.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js.gz +0 -0
- package/dist/TermsOfService-B21lY36J.js.br +0 -0
- package/dist/TermsOfService-B21lY36J.js.gz +0 -0
- package/dist/_-B0phTtn2.js +0 -5
- package/dist/_-B0phTtn2.js.br +0 -0
- package/dist/_-B0phTtn2.js.gz +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DwcYCxEU.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DwcYCxEU.js.gz +0 -0
- package/dist/giftCard-DVodKzHd.js.br +0 -0
- package/dist/giftCard-DVodKzHd.js.gz +0 -0
- package/dist/index-BRxDgKAw.js.br +0 -0
- package/dist/index-BRxDgKAw.js.gz +0 -0
- package/dist/masonry.plugin-CbLAl45b.js.br +0 -0
- package/dist/style-DxRnyF5v.js.br +0 -0
- package/dist/style-DxRnyF5v.js.gz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as V, c as y, a as d, b as i, g as u, w as v, e as x, f as q } from "./mitt-CvmiLPAX.js";
|
|
2
|
-
import { H as g, x as k, d as B, i as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { H as g, x as k, d as B, i as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
|
|
3
3
|
const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ V({
|
|
4
4
|
__name: "ActionField",
|
|
5
5
|
props: {
|
|
@@ -100,4 +100,4 @@ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ V({
|
|
|
100
100
|
export {
|
|
101
101
|
U as A
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=ActionField-
|
|
103
|
+
//# sourceMappingURL=ActionField-DMesYn3d.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-
|
|
4
|
-
import { E as
|
|
5
|
-
import { F as f } from "./Field-
|
|
6
|
-
const
|
|
1
|
+
import { d as ie, u as De, s as Z, r as g, c as s, D as N, o as he, h as b, b as c, f as n, w as ke, i as U, e as L, a as w, g as t, n as C, B as we, j as Le } from "./mitt-CvmiLPAX.js";
|
|
2
|
+
import { u as ee, b as Ve, a as xe, f as ae, t as Ae, P as _e, T as Ne, d as Se, i as le, e as te, w as Ue, _ as ne } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
|
|
3
|
+
import { _ as S } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js";
|
|
4
|
+
import { E as oe } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js";
|
|
5
|
+
import { F as f } from "./Field-CtGUGl1O.js";
|
|
6
|
+
const Ce = {
|
|
7
7
|
class: "konnectio-availability-location",
|
|
8
8
|
key: "location"
|
|
9
|
-
},
|
|
9
|
+
}, $e = {
|
|
10
10
|
id: "konnectio-availability-date-selection",
|
|
11
11
|
key: "multiDate"
|
|
12
|
-
},
|
|
12
|
+
}, Be = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "konnectio-availability-date-selection-multi"
|
|
15
|
-
},
|
|
15
|
+
}, He = {
|
|
16
16
|
class: "konnectio-availability-guest-selection",
|
|
17
17
|
key: "guests"
|
|
18
|
-
},
|
|
18
|
+
}, Re = {
|
|
19
19
|
id: "konnectio-availability-confirmation",
|
|
20
20
|
key: "confirm"
|
|
21
|
-
},
|
|
21
|
+
}, Fe = /* @__PURE__ */ ie({
|
|
22
22
|
__name: "HotelAvailabilityForm",
|
|
23
23
|
props: {
|
|
24
24
|
booking: { type: Boolean, default: !1 },
|
|
@@ -28,69 +28,69 @@ const Ne = {
|
|
|
28
28
|
hideLocations: { type: Boolean, default: !1 }
|
|
29
29
|
},
|
|
30
30
|
setup(d) {
|
|
31
|
-
const { t: i } =
|
|
32
|
-
adults:
|
|
33
|
-
children:
|
|
34
|
-
arrivalDate:
|
|
35
|
-
departureDate:
|
|
36
|
-
location:
|
|
37
|
-
hasHotelLocations:
|
|
38
|
-
hotelLocations:
|
|
39
|
-
controlLocation:
|
|
40
|
-
} =
|
|
41
|
-
firstSelectableDateOffset:
|
|
42
|
-
lastSelectableDateOffset:
|
|
43
|
-
defaultAdultAmount:
|
|
44
|
-
defaultChildAmount:
|
|
45
|
-
maxAdultAmount:
|
|
46
|
-
maxChildAmount:
|
|
47
|
-
splitBookingCalendar:
|
|
48
|
-
} =
|
|
49
|
-
get: () => a.booking ?
|
|
31
|
+
const { t: i } = De(), a = d, $ = ee(), {
|
|
32
|
+
adults: se,
|
|
33
|
+
children: ue,
|
|
34
|
+
arrivalDate: B,
|
|
35
|
+
departureDate: H,
|
|
36
|
+
location: R,
|
|
37
|
+
hasHotelLocations: F,
|
|
38
|
+
hotelLocations: P,
|
|
39
|
+
controlLocation: re
|
|
40
|
+
} = Z(ee()), V = Ve(), { display: D } = xe(), {
|
|
41
|
+
firstSelectableDateOffset: I,
|
|
42
|
+
lastSelectableDateOffset: T,
|
|
43
|
+
defaultAdultAmount: M,
|
|
44
|
+
defaultChildAmount: O,
|
|
45
|
+
maxAdultAmount: ce,
|
|
46
|
+
maxChildAmount: de,
|
|
47
|
+
splitBookingCalendar: ve
|
|
48
|
+
} = Z(ae()), { hasChildSelection: x } = ae(), me = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value)).setHours(12, 0, 0, 0)), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value + 1)).setHours(12, 0, 0, 0)), ge = () => a.disableDefaultLocation ? void 0 : re.value, E = g(M.value), j = g(O.value), z = g(me()), q = g(be()), G = g(ge()), p = s({
|
|
49
|
+
get: () => a.booking ? $.adults : E.value,
|
|
50
50
|
set: (e) => {
|
|
51
|
-
a.booking ?
|
|
51
|
+
a.booking ? se.value = Number(e) : E.value = Number(e);
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
54
|
-
get: () => a.booking ?
|
|
53
|
+
}), h = s({
|
|
54
|
+
get: () => a.booking ? $.children : j.value,
|
|
55
55
|
set: (e) => {
|
|
56
|
-
a.booking ?
|
|
56
|
+
a.booking ? ue.value = Number(e) : j.value = Number(e);
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
59
|
-
get: () => a.booking ?
|
|
58
|
+
}), u = s({
|
|
59
|
+
get: () => a.booking ? B.value : z.value,
|
|
60
60
|
set: (e) => {
|
|
61
|
-
a.booking ?
|
|
61
|
+
a.booking ? B.value = e : z.value = e;
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
64
|
-
get: () => a.booking ?
|
|
63
|
+
}), r = s({
|
|
64
|
+
get: () => a.booking ? H.value : q.value,
|
|
65
65
|
set: (e) => {
|
|
66
|
-
a.booking ?
|
|
66
|
+
a.booking ? H.value = e : q.value = e;
|
|
67
67
|
}
|
|
68
68
|
}), v = s({
|
|
69
|
-
get: () => isNaN(a.selectedLocation) ? a.booking ?
|
|
69
|
+
get: () => isNaN(a.selectedLocation) ? a.booking ? R.value : G.value : a.selectedLocation,
|
|
70
70
|
set: (e) => {
|
|
71
|
-
a.booking ?
|
|
71
|
+
a.booking ? R.value = e : G.value = e;
|
|
72
72
|
}
|
|
73
|
-
}),
|
|
74
|
-
const e =
|
|
73
|
+
}), Y = s(() => {
|
|
74
|
+
const e = P.value.find(({ id: l }) => l === a.selectedLocation);
|
|
75
75
|
return e ? e.name : "";
|
|
76
|
-
}),
|
|
77
|
-
function
|
|
76
|
+
}), J = s(() => F.value && !a.hideLocations), y = g([]), K = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), fe = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), Q = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (T.value + 1)))), A = s(() => p.value !== 0), pe = s(() => typeof a.link != "string");
|
|
77
|
+
function k(e) {
|
|
78
78
|
const l = e.getFullYear();
|
|
79
79
|
let o = e.getMonth() + 1, m = e.getDate();
|
|
80
80
|
return m < 10 && (m = "0" + m), o < 10 && (o = "0" + o), `${l}-${o}-${m}`;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function _(e) {
|
|
83
83
|
const l = {
|
|
84
84
|
a: p.value.toString(),
|
|
85
|
-
c:
|
|
86
|
-
ci:
|
|
87
|
-
co:
|
|
85
|
+
c: h.value.toString(),
|
|
86
|
+
ci: k(u.value),
|
|
87
|
+
co: k(r.value),
|
|
88
88
|
hid: v.value.toString()
|
|
89
89
|
}, o = new URLSearchParams(l), m = new URL(e, window.location.origin);
|
|
90
90
|
m.search = o.toString(), window.location.replace(m.toString());
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
if (isNaN(v.value) &&
|
|
92
|
+
function ye() {
|
|
93
|
+
if (isNaN(v.value) && F.value) {
|
|
94
94
|
D({
|
|
95
95
|
message: i("alert.error.selectHotelId"),
|
|
96
96
|
type: "error"
|
|
@@ -104,7 +104,7 @@ const Ne = {
|
|
|
104
104
|
});
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
|
-
if (isNaN(
|
|
107
|
+
if (isNaN(h.value)) {
|
|
108
108
|
D({
|
|
109
109
|
message: i("alert.error.selectValidChildren"),
|
|
110
110
|
type: "error"
|
|
@@ -112,44 +112,52 @@ const Ne = {
|
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
114
|
if (a.booking === !1)
|
|
115
|
-
if (
|
|
116
|
-
const e =
|
|
117
|
-
a.link[e] ?
|
|
115
|
+
if (pe.value) {
|
|
116
|
+
const e = Ue();
|
|
117
|
+
a.link[e] ? _(a.link[e]) : a.link.en ? _(a.link.en) : D({
|
|
118
118
|
message: "Module misconfiguration, contact an admin",
|
|
119
119
|
type: "error"
|
|
120
120
|
});
|
|
121
121
|
} else
|
|
122
|
-
|
|
123
|
-
else
|
|
122
|
+
_(a.link);
|
|
123
|
+
else A.value && V.fetchAvailabilityData();
|
|
124
|
+
}
|
|
125
|
+
const W = Ae("history", {
|
|
126
|
+
removeNullishValues: !0
|
|
127
|
+
});
|
|
128
|
+
function X() {
|
|
129
|
+
a.booking && (W.ci = k(u.value), W.co = k(r.value));
|
|
124
130
|
}
|
|
125
|
-
return
|
|
131
|
+
return N(u, (e) => {
|
|
126
132
|
const l = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
|
|
127
|
-
new Date(
|
|
128
|
-
}),
|
|
129
|
-
|
|
130
|
-
}),
|
|
131
|
-
|
|
132
|
-
}),
|
|
133
|
-
|
|
134
|
-
}), (
|
|
133
|
+
new Date(r.value) < l && (r.value = l), X();
|
|
134
|
+
}), N(r, () => {
|
|
135
|
+
X();
|
|
136
|
+
}), _e.on("forcedDateChange", () => {
|
|
137
|
+
y.value = [u.value, r.value];
|
|
138
|
+
}), N(y, (e) => {
|
|
139
|
+
u.value = e[0], r.value = e[1];
|
|
140
|
+
}), he(() => {
|
|
141
|
+
y.value = [u.value, r.value];
|
|
142
|
+
}), (e, l) => (c(), b("form", {
|
|
135
143
|
id: "konnectio-availability-form",
|
|
136
|
-
class:
|
|
144
|
+
class: C({ reservation: d.booking }),
|
|
137
145
|
type: "availability",
|
|
138
|
-
onSubmit:
|
|
146
|
+
onSubmit: Le(ye, ["prevent"])
|
|
139
147
|
}, [
|
|
140
|
-
n(
|
|
148
|
+
n(we, {
|
|
141
149
|
id: "konnectio-availability-form-content",
|
|
142
150
|
tag: "ul",
|
|
143
|
-
class:
|
|
151
|
+
class: C([
|
|
144
152
|
{ "is-booking-page": d.booking },
|
|
145
|
-
{ "only-adult-guests": !t(
|
|
146
|
-
{ "all-guests": t(
|
|
147
|
-
{ "has-location":
|
|
153
|
+
{ "only-adult-guests": !t(x)(v.value) },
|
|
154
|
+
{ "all-guests": t(x)(v.value) },
|
|
155
|
+
{ "has-location": J.value }
|
|
148
156
|
])
|
|
149
157
|
}, {
|
|
150
|
-
default:
|
|
151
|
-
|
|
152
|
-
isNaN(d.selectedLocation) ? (
|
|
158
|
+
default: ke(() => [
|
|
159
|
+
J.value ? (c(), b("li", Ce, [
|
|
160
|
+
isNaN(d.selectedLocation) ? (c(), w(Se, {
|
|
153
161
|
key: 1,
|
|
154
162
|
modelValue: v.value,
|
|
155
163
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => v.value = o),
|
|
@@ -160,44 +168,44 @@ const Ne = {
|
|
|
160
168
|
"icon-placement": "label",
|
|
161
169
|
"label-key": "name",
|
|
162
170
|
"value-key": "id",
|
|
163
|
-
options: t(
|
|
171
|
+
options: t(P),
|
|
164
172
|
searchable: !1
|
|
165
|
-
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (
|
|
173
|
+
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (c(), w(Ne, {
|
|
166
174
|
key: 0,
|
|
167
|
-
modelValue:
|
|
168
|
-
"onUpdate:modelValue": l[0] || (l[0] = (o) =>
|
|
175
|
+
modelValue: Y.value,
|
|
176
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => Y.value = o),
|
|
169
177
|
label: t(i)("general.location"),
|
|
170
178
|
icon: "location-dot",
|
|
171
179
|
"icon-type": "fas",
|
|
172
180
|
"icon-placement": "label",
|
|
173
181
|
readonly: ""
|
|
174
182
|
}, null, 8, ["modelValue", "label"]))
|
|
175
|
-
])) :
|
|
176
|
-
|
|
177
|
-
t(
|
|
178
|
-
n(
|
|
179
|
-
modelValue:
|
|
180
|
-
"onUpdate:modelValue": l[2] || (l[2] = (o) =>
|
|
183
|
+
])) : U("", !0),
|
|
184
|
+
L("li", $e, [
|
|
185
|
+
t(ve) ? (c(), b("div", Be, [
|
|
186
|
+
n(S, {
|
|
187
|
+
modelValue: u.value,
|
|
188
|
+
"onUpdate:modelValue": l[2] || (l[2] = (o) => u.value = o),
|
|
181
189
|
label: t(i)("availability.arrivalDate"),
|
|
182
190
|
name: "arrivalDate",
|
|
183
191
|
"icon-type": "fas",
|
|
184
192
|
"icon-placement": "label",
|
|
185
|
-
"start-date":
|
|
186
|
-
"min-date":
|
|
187
|
-
"max-date":
|
|
193
|
+
"start-date": u.value,
|
|
194
|
+
"min-date": K.value,
|
|
195
|
+
"max-date": fe.value
|
|
188
196
|
}, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
|
|
189
|
-
n(
|
|
190
|
-
modelValue:
|
|
191
|
-
"onUpdate:modelValue": l[3] || (l[3] = (o) =>
|
|
197
|
+
n(S, {
|
|
198
|
+
modelValue: r.value,
|
|
199
|
+
"onUpdate:modelValue": l[3] || (l[3] = (o) => r.value = o),
|
|
192
200
|
label: t(i)("availability.departureDate"),
|
|
193
201
|
name: "departureDate",
|
|
194
202
|
"icon-type": "fas",
|
|
195
203
|
"icon-placement": "label",
|
|
196
|
-
"start-date":
|
|
197
|
-
"min-date":
|
|
198
|
-
"max-date":
|
|
204
|
+
"start-date": r.value,
|
|
205
|
+
"min-date": u.value,
|
|
206
|
+
"max-date": Q.value
|
|
199
207
|
}, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
|
|
200
|
-
])) : (
|
|
208
|
+
])) : (c(), w(S, {
|
|
201
209
|
key: 1,
|
|
202
210
|
modelValue: y.value,
|
|
203
211
|
"onUpdate:modelValue": l[4] || (l[4] = (o) => y.value = o),
|
|
@@ -205,13 +213,13 @@ const Ne = {
|
|
|
205
213
|
"icon-type": "fas",
|
|
206
214
|
"icon-placement": "label",
|
|
207
215
|
"min-range": 1,
|
|
208
|
-
"min-date":
|
|
209
|
-
"max-date":
|
|
216
|
+
"min-date": K.value,
|
|
217
|
+
"max-date": Q.value,
|
|
210
218
|
range: ""
|
|
211
219
|
}, null, 8, ["modelValue", "label", "min-date", "max-date"]))
|
|
212
220
|
]),
|
|
213
|
-
|
|
214
|
-
n(
|
|
221
|
+
L("li", He, [
|
|
222
|
+
n(le, {
|
|
215
223
|
modelValue: p.value,
|
|
216
224
|
"onUpdate:modelValue": l[5] || (l[5] = (o) => p.value = o),
|
|
217
225
|
label: t(i)("availability.adults"),
|
|
@@ -220,40 +228,40 @@ const Ne = {
|
|
|
220
228
|
"icon-placement": "label",
|
|
221
229
|
name: "adults",
|
|
222
230
|
icon: "male",
|
|
223
|
-
"max-value": t(
|
|
224
|
-
placeholder: `${t(
|
|
231
|
+
"max-value": t(ce),
|
|
232
|
+
placeholder: `${t(M)}`,
|
|
225
233
|
controls: !0
|
|
226
234
|
}, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"]),
|
|
227
|
-
t(
|
|
235
|
+
t(x)(v.value) ? (c(), w(le, {
|
|
228
236
|
key: 0,
|
|
229
|
-
modelValue:
|
|
230
|
-
"onUpdate:modelValue": l[6] || (l[6] = (o) =>
|
|
237
|
+
modelValue: h.value,
|
|
238
|
+
"onUpdate:modelValue": l[6] || (l[6] = (o) => h.value = o),
|
|
231
239
|
label: t(i)("availability.children"),
|
|
232
240
|
description: t(i)("general.childAgeRange"),
|
|
233
241
|
"icon-type": "fas",
|
|
234
242
|
"icon-placement": "label",
|
|
235
243
|
name: "children",
|
|
236
244
|
icon: "child",
|
|
237
|
-
"max-value": t(
|
|
238
|
-
placeholder: `${t(
|
|
245
|
+
"max-value": t(de),
|
|
246
|
+
placeholder: `${t(O)}`,
|
|
239
247
|
controls: !0
|
|
240
|
-
}, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) :
|
|
248
|
+
}, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : U("", !0)
|
|
241
249
|
]),
|
|
242
|
-
|
|
243
|
-
n(
|
|
250
|
+
L("li", Re, [
|
|
251
|
+
n(te, {
|
|
244
252
|
class: "konnectio-availability-submit-small",
|
|
245
253
|
type: "submit",
|
|
246
254
|
icon: "search",
|
|
247
255
|
"icon-type": "fas",
|
|
248
|
-
disabled: !
|
|
249
|
-
"is-loading": t(
|
|
256
|
+
disabled: !A.value,
|
|
257
|
+
"is-loading": t(V).areListingsLoading
|
|
250
258
|
}, null, 8, ["disabled", "is-loading"]),
|
|
251
|
-
n(
|
|
259
|
+
n(te, {
|
|
252
260
|
class: "konnectio-availability-submit-large",
|
|
253
261
|
type: "submit",
|
|
254
262
|
label: t(i)("availability.buttonLabel"),
|
|
255
|
-
disabled: !
|
|
256
|
-
"is-loading": t(
|
|
263
|
+
disabled: !A.value,
|
|
264
|
+
"is-loading": t(V).areListingsLoading
|
|
257
265
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
258
266
|
])
|
|
259
267
|
]),
|
|
@@ -261,36 +269,36 @@ const Ne = {
|
|
|
261
269
|
}, 8, ["class"])
|
|
262
270
|
], 34));
|
|
263
271
|
}
|
|
264
|
-
}),
|
|
272
|
+
}), Ye = /* @__PURE__ */ ne(Fe, [["__scopeId", "data-v-2707c7e3"]]), Pe = { class: "availability-skeleton" }, Ie = {
|
|
265
273
|
key: 0,
|
|
266
274
|
class: "availability-skeleton-navigation"
|
|
267
|
-
},
|
|
275
|
+
}, Te = { class: "availability-skeleton-content" }, Me = {
|
|
268
276
|
key: 1,
|
|
269
277
|
class: "availability-skeleton-event"
|
|
270
|
-
},
|
|
278
|
+
}, Oe = /* @__PURE__ */ ie({
|
|
271
279
|
__name: "AvailabilitySkeleton",
|
|
272
280
|
props: {
|
|
273
281
|
view: { default: "hotel" },
|
|
274
282
|
hotel: { type: Boolean, default: !1 }
|
|
275
283
|
},
|
|
276
284
|
setup(d) {
|
|
277
|
-
return (i, a) => (
|
|
278
|
-
d.view === "both" ? (
|
|
279
|
-
n(
|
|
285
|
+
return (i, a) => (c(), b("div", Pe, [
|
|
286
|
+
d.view === "both" ? (c(), b("div", Ie, [
|
|
287
|
+
n(oe, {
|
|
280
288
|
height: "28px",
|
|
281
289
|
width: "60px",
|
|
282
290
|
"border-radius": "20px"
|
|
283
291
|
}),
|
|
284
|
-
n(
|
|
292
|
+
n(oe, {
|
|
285
293
|
height: "28px",
|
|
286
294
|
width: "60px",
|
|
287
295
|
"border-radius": "20px"
|
|
288
296
|
})
|
|
289
|
-
])) :
|
|
290
|
-
|
|
291
|
-
d.view !== "event" ? (
|
|
297
|
+
])) : U("", !0),
|
|
298
|
+
L("div", Te, [
|
|
299
|
+
d.view !== "event" ? (c(), b("div", {
|
|
292
300
|
key: 0,
|
|
293
|
-
class:
|
|
301
|
+
class: C([
|
|
294
302
|
"availability-skeleton-hotel",
|
|
295
303
|
{ "within-hotel": d.hotel }
|
|
296
304
|
])
|
|
@@ -302,7 +310,7 @@ const Ne = {
|
|
|
302
310
|
"with-icon": "",
|
|
303
311
|
"no-label": ""
|
|
304
312
|
})
|
|
305
|
-
], 2)) : (
|
|
313
|
+
], 2)) : (c(), b("div", Me, [
|
|
306
314
|
n(f, { "with-icon": "" }),
|
|
307
315
|
n(f, {
|
|
308
316
|
"with-icon": "",
|
|
@@ -312,9 +320,9 @@ const Ne = {
|
|
|
312
320
|
])
|
|
313
321
|
]));
|
|
314
322
|
}
|
|
315
|
-
}),
|
|
323
|
+
}), Je = /* @__PURE__ */ ne(Oe, [["__scopeId", "data-v-86730e88"]]);
|
|
316
324
|
export {
|
|
317
|
-
|
|
318
|
-
|
|
325
|
+
Je as A,
|
|
326
|
+
Ye as H
|
|
319
327
|
};
|
|
320
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
328
|
+
//# sourceMappingURL=AvailabilitySkeleton-Cj07M7eq.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as N, r as le, a2 as Ur, D as at, a3 as Jr, a4 as Gr, a5 as Qt, g as l, d as ze, a6 as Kn, y as Bt, a7 as We, a as Ye, b as V, A as Qe, v as Ee, w as be, q as re, a8 as nt, a9 as vt, Y as Ea, aa as Zr, ab as eo, ac as An, o as Ke, $ as Ze, Z as qt, h as G, f as qe, e as ge, K as rt, n as ye, T as ia, i as ne, M as to, X as ao, j as ra, F as Se, t as Ue, ad as vn, ae as no, U as je, J as yt, x as Ot, af as ro, E as Ca, G as Ra, ag as oo } from "./mitt-CvmiLPAX.js";
|
|
2
|
-
import { Q as so, R as lo, U as io, V as uo, W as co, X as _t, Y as Qn, Z as Wa, $ as ta, a0 as sn, a1 as Ya, a2 as mo, a3 as Rt, a4 as fo, a5 as vo, w as nn, H as ho, x as po } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { Q as so, R as lo, U as io, V as uo, W as co, X as _t, Y as Qn, Z as Wa, $ as ta, a0 as sn, a1 as Ya, a2 as mo, a3 as Rt, a4 as fo, a5 as vo, w as nn, H as ho, x as po } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
|
|
3
3
|
function Na() {
|
|
4
4
|
return typeof window < "u";
|
|
5
5
|
}
|
|
@@ -10164,8 +10164,7 @@ const Jt = [
|
|
|
10164
10164
|
transitions: {
|
|
10165
10165
|
open: "none"
|
|
10166
10166
|
},
|
|
10167
|
-
teleport: !0
|
|
10168
|
-
timezone: "utc"
|
|
10167
|
+
teleport: !0
|
|
10169
10168
|
}, null, 8, ["modelValue", "id", "inline", "placeholder", "input-attrs", "readonly", "week-picker", "month-picker", "year-picker", "time-picker", "filters", "formats", "locale", "range", "start-date", "min-date", "max-date", "min-time", "max-time", "auto-apply", "allowed-dates", "time-config"])
|
|
10170
10169
|
])
|
|
10171
10170
|
]),
|
|
@@ -10186,4 +10185,4 @@ export {
|
|
|
10186
10185
|
rm as m,
|
|
10187
10186
|
ba as n
|
|
10188
10187
|
};
|
|
10189
|
-
//# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-
|
|
10188
|
+
//# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.map
|
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.br
ADDED
|
Binary file
|
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.gz
ADDED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as $, h as m, b as s, W as me, a as I, e as d, f as H, w as k, E as J, K as R, G as Z, T as Q, i as w, n as h, q as B, M as he, r as u, o as W, ah as ge, ai as pe, D as _, c as q, $ as be, g as c, A as we, t as b, y as Se, J as ke, ag as Ce, u as $e, x as U, s as Be } from "./mitt-CvmiLPAX.js";
|
|
2
|
-
import { r as Ve, I as Pe, _ as M, H as ee, x as ne, T as te, f as Te, a6 as Ie } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { r as Ve, I as Pe, _ as M, H as ee, x as ne, T as te, f as Te, a6 as Ie } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
|
|
3
3
|
function He(e) {
|
|
4
4
|
if (Array.isArray(e)) {
|
|
5
5
|
for (var t = 0, o = Array(e.length); t < e.length; t++)
|
|
@@ -665,4 +665,4 @@ export {
|
|
|
665
665
|
lt as _,
|
|
666
666
|
st as a
|
|
667
667
|
};
|
|
668
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
668
|
+
//# sourceMappingURL=CheckoutWindow-DguoGDB5.js.map
|
|
Binary file
|
|
Binary file
|