@konnectio/core 4.0.91 → 4.0.93
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-B2CTKORV.js → ActionField-C7lWLc8e.js} +3 -3
- package/dist/ActionField-C7lWLc8e.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CEByne0E.js → AvailabilitySkeleton-dwmEvgDZ.js} +109 -110
- package/dist/AvailabilitySkeleton-dwmEvgDZ.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DZXYQAtV.js +9079 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DZXYQAtV.js.br +0 -0
- package/dist/{CheckoutWindow-uezvZeM5.js → CheckoutWindow-CGSJxkWB.js} +26 -26
- package/dist/CheckoutWindow-CGSJxkWB.js.br +0 -0
- package/dist/{ErrorMessage-BXOgd-QR.js → ErrorMessage-HrnuoiPk.js} +3 -3
- package/dist/ErrorMessage-HrnuoiPk.js.br +0 -0
- package/dist/EventAvailabilityForm-CoCMi3LO.js +113 -0
- package/dist/EventAvailabilityForm-CoCMi3LO.js.br +0 -0
- package/dist/{Field-Bg6Pob-I.js → Field-EJv450KD.js} +4 -4
- package/dist/Field-EJv450KD.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BkgqTrge.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7rweWQ6.js} +5 -5
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js → SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.js} +1790 -1779
- package/dist/SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.js.br +0 -0
- package/dist/{TermsOfService-DKXsflUi.js → TermsOfService-C3ep4du7.js} +4 -4
- package/dist/_-kDfMKlCV.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CieEXQMV.js → _.vue_vue_type_style_index_0_lang-CKnvU28k.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +572 -496
- 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-AACJPSo5.js → giftCard-CpohNznT.js} +3 -3
- package/dist/giftCard-CpohNznT.js.br +0 -0
- package/dist/hotel.js +701 -711
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CdawTHCn.js → masonry.plugin-DbzRiqiK.js} +22 -26
- package/dist/masonry.plugin-DbzRiqiK.js.br +0 -0
- package/dist/{mitt-B7wNuBju.js → mitt-BGszhQ2P.js} +5459 -5617
- package/dist/mitt-BGszhQ2P.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-B-eJeldE.js → style-Csy5Jdgv.js} +2 -2
- package/dist/style-Csy5Jdgv.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +14 -14
- package/dist/ActionField-B2CTKORV.js.br +0 -0
- package/dist/AvailabilitySkeleton-CEByne0E.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js +0 -8697
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js.br +0 -0
- package/dist/CheckoutWindow-uezvZeM5.js.br +0 -0
- package/dist/ErrorMessage-BXOgd-QR.js.br +0 -0
- package/dist/EventAvailabilityForm-m-dJgaNg.js +0 -110
- package/dist/EventAvailabilityForm-m-dJgaNg.js.br +0 -0
- package/dist/Field-Bg6Pob-I.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js.br +0 -0
- package/dist/_-Pu-92eeb.js +0 -5
- package/dist/giftCard-AACJPSo5.js.br +0 -0
- package/dist/masonry.plugin-CdawTHCn.js.br +0 -0
- package/dist/mitt-B7wNuBju.js.br +0 -0
- package/dist/style-B-eJeldE.js.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 q } from "./mitt-
|
|
2
|
-
import { D as g,
|
|
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-BGszhQ2P.js";
|
|
2
|
+
import { D as g, c as k, f as B, T as I, d as C, r as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.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-C7lWLc8e.js.map
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as le, u as ke,
|
|
2
|
-
import { u as W, b as X, a as Le, g as Z, T as xe,
|
|
3
|
-
import { _ as N } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
4
|
-
import { E as te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
5
|
-
import { F as
|
|
1
|
+
import { d as le, u as ke, s as x, r as b, c as s, C as Q, o as he, a as r, g as m, f as n, w as we, i as a, b as w, j as S, e as V, n as C, D as Ve, h as _e, O as Ae } from "./mitt-BGszhQ2P.js";
|
|
2
|
+
import { u as W, b as X, a as Le, g as Z, T as xe, c as Ne, f as ee, d as ae, q as Se, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-D08m3ZbO.js";
|
|
3
|
+
import { _ as N } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DZXYQAtV.js";
|
|
4
|
+
import { E as te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7rweWQ6.js";
|
|
5
|
+
import { F as g } from "./Field-EJv450KD.js";
|
|
6
6
|
const Ce = {
|
|
7
7
|
class: "konnectio-availability-location",
|
|
8
8
|
key: "location"
|
|
@@ -13,7 +13,7 @@ const Ce = {
|
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "konnectio-availability-date-selection-multi"
|
|
15
15
|
}, Be = {
|
|
16
|
-
|
|
16
|
+
class: "konnectio-availability-guest-selection",
|
|
17
17
|
key: "guests"
|
|
18
18
|
}, He = {
|
|
19
19
|
id: "konnectio-availability-confirmation",
|
|
@@ -27,87 +27,87 @@ const Ce = {
|
|
|
27
27
|
disableDefaultLocation: { type: Boolean, default: !1 }
|
|
28
28
|
},
|
|
29
29
|
setup(U) {
|
|
30
|
-
const { t: i } = ke(), $ =
|
|
30
|
+
const { t: i } = ke(), $ = Ae("emitter"), l = U, B = W(), {
|
|
31
31
|
adults: ie,
|
|
32
32
|
children: ne,
|
|
33
33
|
arrivalDate: H,
|
|
34
34
|
departureDate: R,
|
|
35
35
|
location: F,
|
|
36
|
-
hasHotelLocations:
|
|
36
|
+
hasHotelLocations: _,
|
|
37
37
|
hotelLocations: I,
|
|
38
38
|
controlLocation: se
|
|
39
|
-
} = x(W()), { fetchAvailabilityData: ue } = X(), { areListingsLoading: O } = x(X()), { display:
|
|
39
|
+
} = x(W()), { fetchAvailabilityData: ue } = X(), { areListingsLoading: O } = x(X()), { display: y } = Le(), {
|
|
40
40
|
firstSelectableDateOffset: T,
|
|
41
|
-
lastSelectableDateOffset:
|
|
42
|
-
disableAdultSelection:
|
|
41
|
+
lastSelectableDateOffset: M,
|
|
42
|
+
disableAdultSelection: D,
|
|
43
43
|
defaultAdultAmount: re,
|
|
44
44
|
defaultChildAmount: ce,
|
|
45
45
|
maxAdultAmount: de,
|
|
46
46
|
maxChildAmount: ve,
|
|
47
47
|
splitBookingCalendar: me
|
|
48
|
-
} = x(Z()), { hasChildSelection:
|
|
49
|
-
get: () => l.booking ? B.adults :
|
|
48
|
+
} = x(Z()), { hasChildSelection: k } = Z(), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ge = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : se.value, j = b(re.value), E = b(ce.value), P = b(be()), q = b(ge()), z = b(pe()), p = s({
|
|
49
|
+
get: () => l.booking ? B.adults : j.value,
|
|
50
50
|
set: (e) => {
|
|
51
|
-
l.booking ? ie.value = Number(e) :
|
|
51
|
+
l.booking ? ie.value = Number(e) : j.value = Number(e);
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
54
|
-
get: () => l.booking ? B.children :
|
|
53
|
+
}), h = s({
|
|
54
|
+
get: () => l.booking ? B.children : E.value,
|
|
55
55
|
set: (e) => {
|
|
56
|
-
l.booking ? ne.value = Number(e) :
|
|
56
|
+
l.booking ? ne.value = Number(e) : E.value = Number(e);
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
58
|
+
}), u = s({
|
|
59
59
|
get: () => l.booking ? H.value : P.value,
|
|
60
60
|
set: (e) => {
|
|
61
61
|
l.booking ? H.value = e : P.value = e;
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
63
|
+
}), c = s({
|
|
64
64
|
get: () => l.booking ? R.value : q.value,
|
|
65
65
|
set: (e) => {
|
|
66
66
|
l.booking ? R.value = e : q.value = e;
|
|
67
67
|
}
|
|
68
|
-
}),
|
|
68
|
+
}), d = s({
|
|
69
69
|
get: () => isNaN(l.selectedLocation) ? l.booking ? F.value : z.value : l.selectedLocation,
|
|
70
70
|
set: (e) => {
|
|
71
71
|
l.booking ? F.value = e : z.value = e;
|
|
72
72
|
}
|
|
73
|
-
}), G =
|
|
73
|
+
}), G = s(() => {
|
|
74
74
|
const e = I.value.find(({ id: t }) => t === l.selectedLocation);
|
|
75
75
|
return e ? e.name : "";
|
|
76
|
-
}),
|
|
77
|
-
|
|
78
|
-
const J =
|
|
76
|
+
}), f = b([]), Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), fe = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + M.value)));
|
|
77
|
+
s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + T.value)));
|
|
78
|
+
const J = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (M.value + 1)))), A = s(() => !(!D && p.value === 0)), ye = s(() => typeof l.link != "string");
|
|
79
79
|
function K(e) {
|
|
80
80
|
const t = e.getFullYear();
|
|
81
|
-
let o = e.getMonth() + 1,
|
|
82
|
-
return
|
|
81
|
+
let o = e.getMonth() + 1, v = e.getDate();
|
|
82
|
+
return v < 10 && (v = "0" + v), o < 10 && (o = "0" + o), `${t}-${o}-${v}`;
|
|
83
83
|
}
|
|
84
84
|
function L(e) {
|
|
85
85
|
const t = {
|
|
86
|
-
a:
|
|
87
|
-
c:
|
|
88
|
-
ci: K(
|
|
89
|
-
co: K(
|
|
90
|
-
hid:
|
|
91
|
-
}, o = new URLSearchParams(t),
|
|
92
|
-
|
|
86
|
+
a: p.value.toString(),
|
|
87
|
+
c: h.value.toString(),
|
|
88
|
+
ci: K(u.value),
|
|
89
|
+
co: K(c.value),
|
|
90
|
+
hid: d.value.toString()
|
|
91
|
+
}, o = new URLSearchParams(t), v = new URL(e, window.location.origin);
|
|
92
|
+
v.search = o.toString(), window.location.replace(v.toString());
|
|
93
93
|
}
|
|
94
94
|
function De() {
|
|
95
|
-
if (isNaN(
|
|
96
|
-
|
|
95
|
+
if (isNaN(d.value) && _.value) {
|
|
96
|
+
y({
|
|
97
97
|
message: i("alert.error.selectHotelId"),
|
|
98
98
|
type: "error"
|
|
99
99
|
});
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
-
if (isNaN(
|
|
103
|
-
|
|
102
|
+
if (isNaN(p.value)) {
|
|
103
|
+
y({
|
|
104
104
|
message: i("alert.error.selectValidAdults"),
|
|
105
105
|
type: "error"
|
|
106
106
|
});
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
if (isNaN(
|
|
110
|
-
|
|
109
|
+
if (isNaN(h.value)) {
|
|
110
|
+
y({
|
|
111
111
|
message: i("alert.error.selectValidChildren"),
|
|
112
112
|
type: "error"
|
|
113
113
|
});
|
|
@@ -116,7 +116,7 @@ const Ce = {
|
|
|
116
116
|
if (l.booking === !1)
|
|
117
117
|
if (ye.value) {
|
|
118
118
|
const e = Se();
|
|
119
|
-
l.link[e] ? L(l.link[e]) : l.link.en ? L(l.link.en) :
|
|
119
|
+
l.link[e] ? L(l.link[e]) : l.link.en ? L(l.link.en) : y({
|
|
120
120
|
message: "Module misconfiguration, contact an admin",
|
|
121
121
|
type: "error"
|
|
122
122
|
});
|
|
@@ -124,38 +124,38 @@ const Ce = {
|
|
|
124
124
|
L(l.link);
|
|
125
125
|
else A.value && ue();
|
|
126
126
|
}
|
|
127
|
-
return Q(
|
|
127
|
+
return Q(u, (e) => {
|
|
128
128
|
const t = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
|
|
129
|
-
new Date(
|
|
129
|
+
new Date(c.value) < t && (c.value = t);
|
|
130
130
|
}), $.on("forcedDateChange", () => {
|
|
131
|
-
|
|
132
|
-
}), Q(
|
|
133
|
-
|
|
134
|
-
}),
|
|
135
|
-
|
|
136
|
-
}), (e, t) => (
|
|
131
|
+
f.value = [u.value, c.value];
|
|
132
|
+
}), Q(f, (e) => {
|
|
133
|
+
u.value = e[0], c.value = e[1];
|
|
134
|
+
}), he(() => {
|
|
135
|
+
f.value = [u.value, c.value];
|
|
136
|
+
}), (e, t) => (r(), m("form", {
|
|
137
137
|
id: "konnectio-availability-form",
|
|
138
138
|
class: C({ reservation: e.booking }),
|
|
139
139
|
type: "availability",
|
|
140
|
-
onSubmit:
|
|
140
|
+
onSubmit: _e(De, ["prevent"])
|
|
141
141
|
}, [
|
|
142
|
-
|
|
142
|
+
n(Ve, {
|
|
143
143
|
id: "konnectio-availability-form-content",
|
|
144
144
|
tag: "ul",
|
|
145
145
|
class: C([
|
|
146
146
|
{ "is-booking-page": e.booking },
|
|
147
|
-
{ "only-adult-guests": !a(
|
|
148
|
-
{ "only-child-guests": a(
|
|
149
|
-
{ "all-guests": !a(
|
|
150
|
-
{ "has-location": a(
|
|
147
|
+
{ "only-adult-guests": !a(D) && !a(k)(d.value) },
|
|
148
|
+
{ "only-child-guests": a(k)(d.value) && a(D) },
|
|
149
|
+
{ "all-guests": !a(D) && a(k)(d.value) },
|
|
150
|
+
{ "has-location": a(_) }
|
|
151
151
|
])
|
|
152
152
|
}, {
|
|
153
|
-
default:
|
|
154
|
-
a(
|
|
155
|
-
isNaN(e.selectedLocation) ? (
|
|
153
|
+
default: we(() => [
|
|
154
|
+
a(_) ? (r(), m("li", Ce, [
|
|
155
|
+
isNaN(e.selectedLocation) ? (r(), w(Ne, {
|
|
156
156
|
key: 1,
|
|
157
|
-
modelValue:
|
|
158
|
-
"onUpdate:modelValue": t[1] || (t[1] = (o) =>
|
|
157
|
+
modelValue: d.value,
|
|
158
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => d.value = o),
|
|
159
159
|
label: a(i)("general.location"),
|
|
160
160
|
placeholder: a(i)("general.locationPlaceholder"),
|
|
161
161
|
icon: "location-dot",
|
|
@@ -165,7 +165,7 @@ const Ce = {
|
|
|
165
165
|
"value-key": "id",
|
|
166
166
|
options: a(I),
|
|
167
167
|
searchable: !1
|
|
168
|
-
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (
|
|
168
|
+
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), w(xe, {
|
|
169
169
|
key: 0,
|
|
170
170
|
modelValue: G.value,
|
|
171
171
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => G.value = o),
|
|
@@ -175,35 +175,35 @@ const Ce = {
|
|
|
175
175
|
"icon-placement": "label",
|
|
176
176
|
readonly: ""
|
|
177
177
|
}, null, 8, ["modelValue", "label"]))
|
|
178
|
-
])) :
|
|
179
|
-
|
|
180
|
-
a(me) ? (
|
|
181
|
-
|
|
182
|
-
modelValue:
|
|
183
|
-
"onUpdate:modelValue": t[2] || (t[2] = (o) =>
|
|
178
|
+
])) : S("", !0),
|
|
179
|
+
V("li", Ue, [
|
|
180
|
+
a(me) ? (r(), m("div", $e, [
|
|
181
|
+
n(N, {
|
|
182
|
+
modelValue: u.value,
|
|
183
|
+
"onUpdate:modelValue": t[2] || (t[2] = (o) => u.value = o),
|
|
184
184
|
label: a(i)("availability.arrivalDate"),
|
|
185
185
|
name: "arrivalDate",
|
|
186
186
|
"icon-type": "fas",
|
|
187
187
|
"icon-placement": "label",
|
|
188
|
-
"start-date":
|
|
188
|
+
"start-date": u.value,
|
|
189
189
|
"min-date": Y.value,
|
|
190
190
|
"max-date": fe.value
|
|
191
191
|
}, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
|
|
192
|
-
|
|
193
|
-
modelValue:
|
|
194
|
-
"onUpdate:modelValue": t[3] || (t[3] = (o) =>
|
|
192
|
+
n(N, {
|
|
193
|
+
modelValue: c.value,
|
|
194
|
+
"onUpdate:modelValue": t[3] || (t[3] = (o) => c.value = o),
|
|
195
195
|
label: a(i)("availability.departureDate"),
|
|
196
196
|
name: "departureDate",
|
|
197
197
|
"icon-type": "fas",
|
|
198
198
|
"icon-placement": "label",
|
|
199
|
-
"start-date":
|
|
200
|
-
"min-date":
|
|
199
|
+
"start-date": c.value,
|
|
200
|
+
"min-date": u.value,
|
|
201
201
|
"max-date": J.value
|
|
202
202
|
}, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
|
|
203
|
-
])) : (
|
|
203
|
+
])) : (r(), w(N, {
|
|
204
204
|
key: 1,
|
|
205
|
-
modelValue:
|
|
206
|
-
"onUpdate:modelValue": t[4] || (t[4] = (o) =>
|
|
205
|
+
modelValue: f.value,
|
|
206
|
+
"onUpdate:modelValue": t[4] || (t[4] = (o) => f.value = o),
|
|
207
207
|
label: a(i)("availability.checkInOut"),
|
|
208
208
|
"icon-type": "fas",
|
|
209
209
|
"icon-placement": "label",
|
|
@@ -213,11 +213,10 @@ const Ce = {
|
|
|
213
213
|
range: ""
|
|
214
214
|
}, null, 8, ["modelValue", "label", "min-date", "max-date"]))
|
|
215
215
|
]),
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
modelValue:
|
|
220
|
-
"onUpdate:modelValue": t[5] || (t[5] = (o) => D.value = o),
|
|
216
|
+
V("li", Be, [
|
|
217
|
+
n(ee, {
|
|
218
|
+
modelValue: p.value,
|
|
219
|
+
"onUpdate:modelValue": t[5] || (t[5] = (o) => p.value = o),
|
|
221
220
|
label: a(i)("availability.adults"),
|
|
222
221
|
description: a(i)("general.adultAgeRange"),
|
|
223
222
|
"icon-type": "fas",
|
|
@@ -225,12 +224,12 @@ const Ce = {
|
|
|
225
224
|
name: "adults",
|
|
226
225
|
icon: "male",
|
|
227
226
|
"max-value": a(de),
|
|
228
|
-
controls: !
|
|
229
|
-
}, null, 8, ["modelValue", "label", "description", "max-value"
|
|
230
|
-
a(
|
|
231
|
-
key:
|
|
232
|
-
modelValue:
|
|
233
|
-
"onUpdate:modelValue": t[6] || (t[6] = (o) =>
|
|
227
|
+
controls: !0
|
|
228
|
+
}, null, 8, ["modelValue", "label", "description", "max-value"]),
|
|
229
|
+
a(k)(d.value) ? (r(), w(ee, {
|
|
230
|
+
key: 0,
|
|
231
|
+
modelValue: h.value,
|
|
232
|
+
"onUpdate:modelValue": t[6] || (t[6] = (o) => h.value = o),
|
|
234
233
|
label: a(i)("availability.children"),
|
|
235
234
|
description: a(i)("general.childAgeRange"),
|
|
236
235
|
"icon-type": "fas",
|
|
@@ -238,11 +237,11 @@ const Ce = {
|
|
|
238
237
|
name: "children",
|
|
239
238
|
icon: "child",
|
|
240
239
|
"max-value": a(ve),
|
|
241
|
-
controls: !
|
|
242
|
-
}, null, 8, ["modelValue", "label", "description", "max-value"
|
|
243
|
-
])
|
|
244
|
-
|
|
245
|
-
|
|
240
|
+
controls: !0
|
|
241
|
+
}, null, 8, ["modelValue", "label", "description", "max-value"])) : S("", !0)
|
|
242
|
+
]),
|
|
243
|
+
V("li", He, [
|
|
244
|
+
n(ae, {
|
|
246
245
|
class: "konnectio-availability-submit-small",
|
|
247
246
|
type: "submit",
|
|
248
247
|
icon: "search",
|
|
@@ -250,7 +249,7 @@ const Ce = {
|
|
|
250
249
|
disabled: !A.value,
|
|
251
250
|
"is-loading": a(O)
|
|
252
251
|
}, null, 8, ["disabled", "is-loading"]),
|
|
253
|
-
|
|
252
|
+
n(ae, {
|
|
254
253
|
class: "konnectio-availability-submit-large",
|
|
255
254
|
type: "submit",
|
|
256
255
|
label: a(i)("availability.buttonLabel"),
|
|
@@ -263,50 +262,50 @@ const Ce = {
|
|
|
263
262
|
}, 8, ["class"])
|
|
264
263
|
], 34));
|
|
265
264
|
}
|
|
266
|
-
}), Ge = /* @__PURE__ */ oe(Re, [["__scopeId", "data-v-
|
|
265
|
+
}), Ge = /* @__PURE__ */ oe(Re, [["__scopeId", "data-v-eabb07a0"]]), Fe = { class: "availability-skeleton" }, Ie = {
|
|
267
266
|
key: 0,
|
|
268
267
|
class: "availability-skeleton-navigation"
|
|
269
268
|
}, Oe = { class: "availability-skeleton-content" }, Te = {
|
|
270
269
|
key: 1,
|
|
271
270
|
class: "availability-skeleton-event"
|
|
272
|
-
},
|
|
271
|
+
}, Me = /* @__PURE__ */ le({
|
|
273
272
|
__name: "AvailabilitySkeleton",
|
|
274
273
|
props: {
|
|
275
274
|
view: { default: "hotel" },
|
|
276
275
|
hotel: { type: Boolean, default: !1 }
|
|
277
276
|
},
|
|
278
277
|
setup(U) {
|
|
279
|
-
return (i, $) => (
|
|
280
|
-
i.view === "both" ? (
|
|
281
|
-
|
|
278
|
+
return (i, $) => (r(), m("div", Fe, [
|
|
279
|
+
i.view === "both" ? (r(), m("div", Ie, [
|
|
280
|
+
n(te, {
|
|
282
281
|
height: "28px",
|
|
283
282
|
width: "60px",
|
|
284
283
|
"border-radius": "20px"
|
|
285
284
|
}),
|
|
286
|
-
|
|
285
|
+
n(te, {
|
|
287
286
|
height: "28px",
|
|
288
287
|
width: "60px",
|
|
289
288
|
"border-radius": "20px"
|
|
290
289
|
})
|
|
291
|
-
])) :
|
|
292
|
-
|
|
293
|
-
i.view !== "event" ? (
|
|
290
|
+
])) : S("", !0),
|
|
291
|
+
V("div", Oe, [
|
|
292
|
+
i.view !== "event" ? (r(), m("div", {
|
|
294
293
|
key: 0,
|
|
295
294
|
class: C([
|
|
296
295
|
"availability-skeleton-hotel",
|
|
297
296
|
{ "within-hotel": i.hotel }
|
|
298
297
|
])
|
|
299
298
|
}, [
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
299
|
+
n(g, { "with-icon": "" }),
|
|
300
|
+
n(g, { "with-icon": "" }),
|
|
301
|
+
n(g, { "with-icon": "" }),
|
|
302
|
+
n(g, {
|
|
304
303
|
"with-icon": "",
|
|
305
304
|
"no-label": ""
|
|
306
305
|
})
|
|
307
|
-
], 2)) : (
|
|
308
|
-
|
|
309
|
-
|
|
306
|
+
], 2)) : (r(), m("div", Te, [
|
|
307
|
+
n(g, { "with-icon": "" }),
|
|
308
|
+
n(g, {
|
|
310
309
|
"with-icon": "",
|
|
311
310
|
"no-label": ""
|
|
312
311
|
})
|
|
@@ -314,9 +313,9 @@ const Ce = {
|
|
|
314
313
|
])
|
|
315
314
|
]));
|
|
316
315
|
}
|
|
317
|
-
}), Ye = /* @__PURE__ */ oe(
|
|
316
|
+
}), Ye = /* @__PURE__ */ oe(Me, [["__scopeId", "data-v-cebeb733"]]);
|
|
318
317
|
export {
|
|
319
318
|
Ye as A,
|
|
320
319
|
Ge as H
|
|
321
320
|
};
|
|
322
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
321
|
+
//# sourceMappingURL=AvailabilitySkeleton-dwmEvgDZ.js.map
|
|
Binary file
|