@konnectio/core 4.4.8 → 4.4.9
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/README.md +274 -274
- package/dist/{ActionField-DjYUsVEl.js → ActionField-CjB94ywQ.js} +3 -3
- package/dist/ActionField-CjB94ywQ.js.br +0 -0
- package/dist/ActionField-CjB94ywQ.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Ced6gdUY.js → AvailabilitySkeleton-GcNIEr0O.js} +85 -77
- package/dist/AvailabilitySkeleton-GcNIEr0O.js.br +0 -0
- package/dist/AvailabilitySkeleton-GcNIEr0O.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js} +2963 -2840
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.gz +0 -0
- package/dist/{CheckoutWindow-B-HulkOw.js → CheckoutWindow-jLe1mUEB.js} +6 -6
- package/dist/CheckoutWindow-jLe1mUEB.js.br +0 -0
- package/dist/CheckoutWindow-jLe1mUEB.js.gz +0 -0
- package/dist/{ErrorMessage-C-LZif3u.js → ErrorMessage-uA3IcjN_.js} +3 -3
- package/dist/ErrorMessage-uA3IcjN_.js.br +0 -0
- package/dist/ErrorMessage-uA3IcjN_.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CdaoawQu.js → EventAvailabilityForm-4m-RW0Lx.js} +4 -4
- package/dist/EventAvailabilityForm-4m-RW0Lx.js.br +0 -0
- package/dist/EventAvailabilityForm-4m-RW0Lx.js.gz +0 -0
- package/dist/{Field-BxQDGBO6.js → Field-D9fOd9ca.js} +6 -6
- package/dist/Field-D9fOd9ca.js.br +0 -0
- package/dist/Field-D9fOd9ca.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js +21 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.br +5 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js → SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js} +2554 -2537
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.gz +0 -0
- package/dist/{TermsOfService-9-UO5S3G.js → TermsOfService-CD3_lM8u.js} +6 -6
- package/dist/TermsOfService-CD3_lM8u.js.br +0 -0
- package/dist/TermsOfService-CD3_lM8u.js.gz +0 -0
- package/dist/_-DeLqDsjZ.js +5 -0
- package/dist/_-DeLqDsjZ.js.br +0 -0
- package/dist/_-DeLqDsjZ.js.gz +2 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-C8tlnRr1.js → _.vue_vue_type_style_index_0_lang-BdANnGTG.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.gz +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +6 -6
- 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/deep-link.js.gz +0 -0
- package/dist/event.js +123 -123
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +14 -14
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +13 -13
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-D-f02FPM.js → giftCard-G-zvnJVj.js} +2 -2
- package/dist/giftCard-G-zvnJVj.js.br +0 -0
- package/dist/giftCard-G-zvnJVj.js.gz +0 -0
- package/dist/hotel.js +1921 -1910
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-CBRMHLd-.js → index-BEOLg3OJ.js} +3 -3
- package/dist/index-BEOLg3OJ.js.br +0 -0
- package/dist/index-BEOLg3OJ.js.gz +0 -0
- package/dist/{masonry.plugin-emIQEcmM.js → masonry.plugin-gbufcPfU.js} +16 -16
- package/dist/masonry.plugin-gbufcPfU.js.br +0 -0
- package/dist/masonry.plugin-gbufcPfU.js.gz +0 -0
- package/dist/mitt-Cj---5fy.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-DLdT0Zxs.js → style-n4UQjvXd.js} +45 -45
- package/dist/style-n4UQjvXd.js.br +0 -0
- package/dist/style-n4UQjvXd.js.gz +0 -0
- package/package.json +118 -118
- package/dist/ActionField-DjYUsVEl.js.br +0 -0
- package/dist/ActionField-DjYUsVEl.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.br +0 -0
- package/dist/AvailabilitySkeleton-Ced6gdUY.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.gz +0 -0
- package/dist/CheckoutWindow-B-HulkOw.js.br +0 -0
- package/dist/CheckoutWindow-B-HulkOw.js.gz +0 -0
- package/dist/ErrorMessage-C-LZif3u.js.br +0 -0
- package/dist/ErrorMessage-C-LZif3u.js.gz +0 -0
- package/dist/EventAvailabilityForm-CdaoawQu.js.br +0 -0
- package/dist/EventAvailabilityForm-CdaoawQu.js.gz +0 -0
- package/dist/Field-BxQDGBO6.js.br +0 -0
- package/dist/Field-BxQDGBO6.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js +0 -21
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.gz +0 -0
- package/dist/TermsOfService-9-UO5S3G.js.br +0 -0
- package/dist/TermsOfService-9-UO5S3G.js.gz +0 -0
- package/dist/_-DgORUiWu.js +0 -5
- package/dist/_-DgORUiWu.js.br +0 -0
- package/dist/_-DgORUiWu.js.gz +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.gz +0 -0
- package/dist/giftCard-D-f02FPM.js.br +0 -0
- package/dist/giftCard-D-f02FPM.js.gz +0 -0
- package/dist/index-CBRMHLd-.js.br +0 -0
- package/dist/index-CBRMHLd-.js.gz +0 -0
- package/dist/masonry.plugin-emIQEcmM.js.br +0 -0
- package/dist/masonry.plugin-emIQEcmM.js.gz +0 -0
- package/dist/style-DLdT0Zxs.js.br +0 -0
- package/dist/style-DLdT0Zxs.js.gz +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { d as ne, u as
|
|
2
|
-
import { u as ae, b as
|
|
3
|
-
import { _ as $ } from "./AvailabilitySkeleton.
|
|
4
|
-
import { E as ie } from "./Field.
|
|
5
|
-
import { F as f } from "./Field-
|
|
6
|
-
const
|
|
1
|
+
import { d as ne, u as Ve, s as ee, r as b, D as w, b as s, o as Le, h as g, a as c, f as n, w as _e, i as L, e as _, c as V, g as t, n as U, B as xe, j as Ae } from "./mitt-Cj---5fy.js";
|
|
2
|
+
import { u as ae, b as Ce, a as Ne, f as le, t as Se, P as $e, T as Ue, c as Be, i as te, d as oe, w as He, _ as se } from "./SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js";
|
|
3
|
+
import { u as Re, _ as $ } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js";
|
|
4
|
+
import { E as ie } from "./Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js";
|
|
5
|
+
import { F as f } from "./Field-D9fOd9ca.js";
|
|
6
|
+
const Fe = {
|
|
7
7
|
class: "konnectio-availability-location",
|
|
8
8
|
key: "location"
|
|
9
|
-
},
|
|
9
|
+
}, Pe = {
|
|
10
10
|
id: "konnectio-availability-date-selection",
|
|
11
11
|
key: "multiDate"
|
|
12
|
-
},
|
|
12
|
+
}, Ie = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "konnectio-availability-date-selection-multi"
|
|
15
15
|
};
|
|
16
|
-
const
|
|
16
|
+
const Te = {
|
|
17
17
|
class: "konnectio-availability-guest-selection",
|
|
18
18
|
key: "guests"
|
|
19
|
-
},
|
|
19
|
+
}, Ee = {
|
|
20
20
|
id: "konnectio-availability-confirmation",
|
|
21
21
|
key: "confirm"
|
|
22
|
-
},
|
|
22
|
+
}, Me = /* @__PURE__ */ ne({
|
|
23
23
|
__name: "HotelAvailabilityForm",
|
|
24
24
|
props: {
|
|
25
25
|
booking: { type: Boolean, default: !1 },
|
|
@@ -29,7 +29,7 @@ const Pe = {
|
|
|
29
29
|
hideLocations: { type: Boolean, default: !1 }
|
|
30
30
|
},
|
|
31
31
|
setup(d) {
|
|
32
|
-
const { t: i } =
|
|
32
|
+
const { t: i } = Ve(), a = d, x = ae(), {
|
|
33
33
|
adults: ue,
|
|
34
34
|
children: re,
|
|
35
35
|
roomCount: ce,
|
|
@@ -39,26 +39,26 @@ const Pe = {
|
|
|
39
39
|
hasHotelLocations: F,
|
|
40
40
|
hotelLocations: P,
|
|
41
41
|
controlLocation: de
|
|
42
|
-
} = ee(ae()),
|
|
42
|
+
} = ee(ae()), A = Ce(), ve = Re(), { display: k } = Ne(), {
|
|
43
43
|
firstSelectableDateOffset: I,
|
|
44
44
|
lastSelectableDateOffset: T,
|
|
45
45
|
defaultAdultAmount: E,
|
|
46
46
|
defaultChildAmount: M,
|
|
47
|
-
maxAdultAmount:
|
|
48
|
-
maxChildAmount:
|
|
49
|
-
splitBookingCalendar:
|
|
50
|
-
} = ee(le()), { hasChildSelection:
|
|
51
|
-
get: () => a.booking ?
|
|
47
|
+
maxAdultAmount: me,
|
|
48
|
+
maxChildAmount: be,
|
|
49
|
+
splitBookingCalendar: ge
|
|
50
|
+
} = ee(le()), { hasChildSelection: C } = le(), pe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value)).setHours(12, 0, 0, 0)), fe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value + 1)).setHours(12, 0, 0, 0)), he = () => a.disableDefaultLocation ? void 0 : de.value, O = b(E.value), j = b(M.value), z = b(1), q = b(pe()), G = b(fe()), Y = b(he()), p = s({
|
|
51
|
+
get: () => a.booking ? x.adults : O.value,
|
|
52
52
|
set: (e) => {
|
|
53
53
|
a.booking ? ue.value = Number(e) : O.value = Number(e);
|
|
54
54
|
}
|
|
55
|
-
}),
|
|
56
|
-
get: () => a.booking ?
|
|
55
|
+
}), h = s({
|
|
56
|
+
get: () => a.booking ? x.children : j.value,
|
|
57
57
|
set: (e) => {
|
|
58
58
|
a.booking ? re.value = Number(e) : j.value = Number(e);
|
|
59
59
|
}
|
|
60
60
|
}), ye = s({
|
|
61
|
-
get: () => a.booking ?
|
|
61
|
+
get: () => a.booking ? x.roomCount : z.value,
|
|
62
62
|
set: (e) => {
|
|
63
63
|
a.booking ? ce.value = Number(e) : z.value = Number(e);
|
|
64
64
|
}
|
|
@@ -80,16 +80,16 @@ const Pe = {
|
|
|
80
80
|
}), J = s(() => {
|
|
81
81
|
const e = P.value.find(({ id: l }) => l === a.selectedLocation);
|
|
82
82
|
return e ? e.name : "";
|
|
83
|
-
}), K = s(() => F.value && !a.hideLocations), y = b([]), Q = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))),
|
|
83
|
+
}), K = s(() => F.value && !a.hideLocations), y = b([]), Q = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), ke = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), W = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (T.value + 1)))), N = s(() => p.value !== 0), De = s(() => typeof a.link != "string");
|
|
84
84
|
function D(e) {
|
|
85
85
|
const l = e.getFullYear();
|
|
86
86
|
let o = e.getMonth() + 1, m = e.getDate();
|
|
87
87
|
return m < 10 && (m = "0" + m), o < 10 && (o = "0" + o), `${l}-${o}-${m}`;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function S(e) {
|
|
90
90
|
const l = {
|
|
91
91
|
a: p.value.toString(),
|
|
92
|
-
c:
|
|
92
|
+
c: h.value.toString(),
|
|
93
93
|
r: ye.value.toString(),
|
|
94
94
|
ci: D(u.value),
|
|
95
95
|
co: D(r.value),
|
|
@@ -97,76 +97,78 @@ const Pe = {
|
|
|
97
97
|
}, o = new URLSearchParams(l), m = new URL(e, window.location.origin);
|
|
98
98
|
m.search = o.toString(), window.location.replace(m.toString());
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function we() {
|
|
101
101
|
if (isNaN(v.value) && F.value) {
|
|
102
|
-
|
|
102
|
+
k({
|
|
103
103
|
message: i("alert.error.selectHotelId"),
|
|
104
104
|
type: "error"
|
|
105
105
|
});
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
108
|
if (isNaN(p.value)) {
|
|
109
|
-
|
|
109
|
+
k({
|
|
110
110
|
message: i("alert.error.selectValidAdults"),
|
|
111
111
|
type: "error"
|
|
112
112
|
});
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
|
-
if (isNaN(
|
|
116
|
-
|
|
115
|
+
if (isNaN(h.value)) {
|
|
116
|
+
k({
|
|
117
117
|
message: i("alert.error.selectValidChildren"),
|
|
118
118
|
type: "error"
|
|
119
119
|
});
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
122
|
if (a.booking === !1)
|
|
123
|
-
if (
|
|
124
|
-
const e =
|
|
125
|
-
a.link[e] ?
|
|
123
|
+
if (De.value) {
|
|
124
|
+
const e = He();
|
|
125
|
+
a.link[e] ? S(a.link[e]) : a.link.en ? S(a.link.en) : k({
|
|
126
126
|
message: "Module misconfiguration, contact an admin",
|
|
127
127
|
type: "error"
|
|
128
128
|
});
|
|
129
129
|
} else
|
|
130
|
-
|
|
131
|
-
else N.value &&
|
|
130
|
+
S(a.link);
|
|
131
|
+
else N.value && A.fetchAvailabilityData();
|
|
132
132
|
}
|
|
133
|
-
const X =
|
|
133
|
+
const X = Se("history", {
|
|
134
134
|
removeNullishValues: !0
|
|
135
135
|
});
|
|
136
136
|
function Z() {
|
|
137
137
|
a.booking && (X.ci = D(u.value), X.co = D(r.value));
|
|
138
138
|
}
|
|
139
|
-
return
|
|
139
|
+
return w(u, (e) => {
|
|
140
140
|
const l = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
|
|
141
141
|
new Date(r.value) < l && (r.value = l), Z();
|
|
142
|
-
}),
|
|
142
|
+
}), w(r, () => {
|
|
143
143
|
Z();
|
|
144
|
-
}),
|
|
144
|
+
}), $e.on("forcedDateChange", () => {
|
|
145
145
|
y.value = [u.value, r.value];
|
|
146
|
-
}),
|
|
146
|
+
}), w(y, (e) => {
|
|
147
147
|
u.value = e[0], r.value = e[1];
|
|
148
|
-
}),
|
|
148
|
+
}), w([p, h, v], () => {
|
|
149
|
+
ve.clearCache();
|
|
150
|
+
}), Le(() => {
|
|
149
151
|
y.value = [u.value, r.value];
|
|
150
152
|
}), (e, l) => (c(), g("form", {
|
|
151
153
|
id: "konnectio-availability-form",
|
|
152
154
|
class: U({ reservation: d.booking }),
|
|
153
155
|
type: "availability",
|
|
154
|
-
onSubmit:
|
|
156
|
+
onSubmit: Ae(we, ["prevent"])
|
|
155
157
|
}, [
|
|
156
|
-
n(
|
|
158
|
+
n(xe, {
|
|
157
159
|
id: "konnectio-availability-form-content",
|
|
158
160
|
tag: "ul",
|
|
159
161
|
class: U([
|
|
160
162
|
{ "is-booking-page": d.booking },
|
|
161
|
-
{ "only-adult-guests": !t(
|
|
162
|
-
{ "all-guests": t(
|
|
163
|
+
{ "only-adult-guests": !t(C)(v.value) },
|
|
164
|
+
{ "all-guests": t(C)(v.value) },
|
|
163
165
|
{ "has-location": K.value },
|
|
164
166
|
{ "has-room-count": !1 }
|
|
165
167
|
])
|
|
166
168
|
}, {
|
|
167
|
-
default:
|
|
168
|
-
K.value ? (c(), g("li",
|
|
169
|
-
isNaN(d.selectedLocation) ? (c(),
|
|
169
|
+
default: _e(() => [
|
|
170
|
+
K.value ? (c(), g("li", Fe, [
|
|
171
|
+
isNaN(d.selectedLocation) ? (c(), V(Be, {
|
|
170
172
|
key: 1,
|
|
171
173
|
modelValue: v.value,
|
|
172
174
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => v.value = o),
|
|
@@ -179,7 +181,7 @@ const Pe = {
|
|
|
179
181
|
"value-key": "id",
|
|
180
182
|
options: t(P),
|
|
181
183
|
searchable: !1
|
|
182
|
-
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (c(),
|
|
184
|
+
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (c(), V(Ue, {
|
|
183
185
|
key: 0,
|
|
184
186
|
modelValue: J.value,
|
|
185
187
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => J.value = o),
|
|
@@ -189,9 +191,9 @@ const Pe = {
|
|
|
189
191
|
"icon-placement": "label",
|
|
190
192
|
readonly: ""
|
|
191
193
|
}, null, 8, ["modelValue", "label"]))
|
|
192
|
-
])) :
|
|
193
|
-
|
|
194
|
-
t(
|
|
194
|
+
])) : L("", !0),
|
|
195
|
+
_("li", Pe, [
|
|
196
|
+
t(ge) ? (c(), g("div", Ie, [
|
|
195
197
|
n($, {
|
|
196
198
|
modelValue: u.value,
|
|
197
199
|
"onUpdate:modelValue": l[2] || (l[2] = (o) => u.value = o),
|
|
@@ -201,7 +203,9 @@ const Pe = {
|
|
|
201
203
|
"icon-placement": "label",
|
|
202
204
|
"start-date": u.value,
|
|
203
205
|
"min-date": Q.value,
|
|
204
|
-
"max-date":
|
|
206
|
+
"max-date": ke.value,
|
|
207
|
+
"show-prices": "",
|
|
208
|
+
"show-availability": ""
|
|
205
209
|
}, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
|
|
206
210
|
n($, {
|
|
207
211
|
modelValue: r.value,
|
|
@@ -212,9 +216,11 @@ const Pe = {
|
|
|
212
216
|
"icon-placement": "label",
|
|
213
217
|
"start-date": r.value,
|
|
214
218
|
"min-date": u.value,
|
|
215
|
-
"max-date": W.value
|
|
219
|
+
"max-date": W.value,
|
|
220
|
+
"show-prices": "",
|
|
221
|
+
"show-availability": ""
|
|
216
222
|
}, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
|
|
217
|
-
])) : (c(),
|
|
223
|
+
])) : (c(), V($, {
|
|
218
224
|
key: 1,
|
|
219
225
|
modelValue: y.value,
|
|
220
226
|
"onUpdate:modelValue": l[4] || (l[4] = (o) => y.value = o),
|
|
@@ -224,11 +230,13 @@ const Pe = {
|
|
|
224
230
|
"min-range": 1,
|
|
225
231
|
"min-date": Q.value,
|
|
226
232
|
"max-date": W.value,
|
|
233
|
+
"show-prices": "",
|
|
234
|
+
"show-availability": "",
|
|
227
235
|
range: ""
|
|
228
236
|
}, null, 8, ["modelValue", "label", "min-date", "max-date"]))
|
|
229
237
|
]),
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
L("", !0),
|
|
239
|
+
_("li", Te, [
|
|
232
240
|
n(te, {
|
|
233
241
|
modelValue: p.value,
|
|
234
242
|
"onUpdate:modelValue": l[6] || (l[6] = (o) => p.value = o),
|
|
@@ -238,40 +246,40 @@ const Pe = {
|
|
|
238
246
|
"icon-placement": "label",
|
|
239
247
|
name: "adults",
|
|
240
248
|
icon: "male",
|
|
241
|
-
"max-value": t(
|
|
249
|
+
"max-value": t(me),
|
|
242
250
|
placeholder: `${t(E)}`,
|
|
243
251
|
controls: !0
|
|
244
252
|
}, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"]),
|
|
245
|
-
t(
|
|
253
|
+
t(C)(v.value) ? (c(), V(te, {
|
|
246
254
|
key: 0,
|
|
247
|
-
modelValue:
|
|
248
|
-
"onUpdate:modelValue": l[7] || (l[7] = (o) =>
|
|
255
|
+
modelValue: h.value,
|
|
256
|
+
"onUpdate:modelValue": l[7] || (l[7] = (o) => h.value = o),
|
|
249
257
|
label: t(i)("availability.children"),
|
|
250
258
|
description: t(i)("general.childAgeRange"),
|
|
251
259
|
"icon-type": "fas",
|
|
252
260
|
"icon-placement": "label",
|
|
253
261
|
name: "children",
|
|
254
262
|
icon: "child",
|
|
255
|
-
"max-value": t(
|
|
263
|
+
"max-value": t(be),
|
|
256
264
|
placeholder: `${t(M)}`,
|
|
257
265
|
controls: !0
|
|
258
|
-
}, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) :
|
|
266
|
+
}, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : L("", !0)
|
|
259
267
|
]),
|
|
260
|
-
|
|
268
|
+
_("li", Ee, [
|
|
261
269
|
n(oe, {
|
|
262
270
|
class: "konnectio-availability-submit-small",
|
|
263
271
|
type: "submit",
|
|
264
272
|
icon: "search",
|
|
265
273
|
"icon-type": "fas",
|
|
266
274
|
disabled: !N.value,
|
|
267
|
-
"is-loading": t(
|
|
275
|
+
"is-loading": t(A).areListingsLoading
|
|
268
276
|
}, null, 8, ["disabled", "is-loading"]),
|
|
269
277
|
n(oe, {
|
|
270
278
|
class: "konnectio-availability-submit-large",
|
|
271
279
|
type: "submit",
|
|
272
280
|
label: t(i)("availability.buttonLabel"),
|
|
273
281
|
disabled: !N.value,
|
|
274
|
-
"is-loading": t(
|
|
282
|
+
"is-loading": t(A).areListingsLoading
|
|
275
283
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
276
284
|
])
|
|
277
285
|
]),
|
|
@@ -279,21 +287,21 @@ const Pe = {
|
|
|
279
287
|
}, 8, ["class"])
|
|
280
288
|
], 34));
|
|
281
289
|
}
|
|
282
|
-
}),
|
|
290
|
+
}), Xe = /* @__PURE__ */ se(Me, [["__scopeId", "data-v-344660be"]]), Oe = { class: "availability-skeleton" }, je = {
|
|
283
291
|
key: 0,
|
|
284
292
|
class: "availability-skeleton-navigation"
|
|
285
|
-
},
|
|
293
|
+
}, ze = { class: "availability-skeleton-content" }, qe = {
|
|
286
294
|
key: 1,
|
|
287
295
|
class: "availability-skeleton-event"
|
|
288
|
-
},
|
|
296
|
+
}, Ge = /* @__PURE__ */ ne({
|
|
289
297
|
__name: "AvailabilitySkeleton",
|
|
290
298
|
props: {
|
|
291
299
|
view: { default: "hotel" },
|
|
292
300
|
hotel: { type: Boolean, default: !1 }
|
|
293
301
|
},
|
|
294
302
|
setup(d) {
|
|
295
|
-
return (i, a) => (c(), g("div",
|
|
296
|
-
d.view === "both" ? (c(), g("div",
|
|
303
|
+
return (i, a) => (c(), g("div", Oe, [
|
|
304
|
+
d.view === "both" ? (c(), g("div", je, [
|
|
297
305
|
n(ie, {
|
|
298
306
|
height: "28px",
|
|
299
307
|
width: "60px",
|
|
@@ -304,8 +312,8 @@ const Pe = {
|
|
|
304
312
|
width: "60px",
|
|
305
313
|
"border-radius": "20px"
|
|
306
314
|
})
|
|
307
|
-
])) :
|
|
308
|
-
|
|
315
|
+
])) : L("", !0),
|
|
316
|
+
_("div", ze, [
|
|
309
317
|
d.view !== "event" ? (c(), g("div", {
|
|
310
318
|
key: 0,
|
|
311
319
|
class: U([
|
|
@@ -320,7 +328,7 @@ const Pe = {
|
|
|
320
328
|
"with-icon": "",
|
|
321
329
|
"no-label": ""
|
|
322
330
|
})
|
|
323
|
-
], 2)) : (c(), g("div",
|
|
331
|
+
], 2)) : (c(), g("div", qe, [
|
|
324
332
|
n(f, { "with-icon": "" }),
|
|
325
333
|
n(f, {
|
|
326
334
|
"with-icon": "",
|
|
@@ -330,9 +338,9 @@ const Pe = {
|
|
|
330
338
|
])
|
|
331
339
|
]));
|
|
332
340
|
}
|
|
333
|
-
}),
|
|
341
|
+
}), Ze = /* @__PURE__ */ se(Ge, [["__scopeId", "data-v-bcdabbb5"]]);
|
|
334
342
|
export {
|
|
335
|
-
|
|
336
|
-
|
|
343
|
+
Ze as A,
|
|
344
|
+
Xe as H
|
|
337
345
|
};
|
|
338
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
346
|
+
//# sourceMappingURL=AvailabilitySkeleton-GcNIEr0O.js.map
|
|
Binary file
|
|
Binary file
|