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