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