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