@konnectio/core 4.7.17 → 4.8.0
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-Dtyg_Xqt.js → ActionField-CiBTmhVP.js} +5 -5
- package/dist/ActionField-CiBTmhVP.js.br +0 -0
- package/dist/ActionField-CiBTmhVP.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-6jjgsDUN.js → AvailabilitySkeleton-Tv_yaXPa.js} +1515 -1357
- package/dist/AvailabilitySkeleton-Tv_yaXPa.js.br +0 -0
- package/dist/AvailabilitySkeleton-Tv_yaXPa.js.gz +0 -0
- package/dist/{CheckoutWindow-CUoVKHnQ.js → CheckoutWindow-3gTfVepQ.js} +21 -17
- package/dist/CheckoutWindow-3gTfVepQ.js.br +0 -0
- package/dist/CheckoutWindow-3gTfVepQ.js.gz +0 -0
- package/dist/{ErrorMessage-CeH20mgp.js → ErrorMessage-ClFJa4be.js} +8 -8
- package/dist/ErrorMessage-ClFJa4be.js.br +0 -0
- package/dist/ErrorMessage-ClFJa4be.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CEi0n5w5.js → EventAvailabilityForm-D_UqbRBj.js} +22 -21
- package/dist/EventAvailabilityForm-D_UqbRBj.js.br +0 -0
- package/dist/EventAvailabilityForm-D_UqbRBj.js.gz +0 -0
- package/dist/{Field-nvWxJ8O5.js → Field-CzT0QKcQ.js} +2 -2
- package/dist/Field-CzT0QKcQ.js.br +0 -0
- package/dist/Field-CzT0QKcQ.js.gz +0 -0
- package/dist/HotelAvailabilityForm-oY9nC2co.js +324 -0
- package/dist/HotelAvailabilityForm-oY9nC2co.js.br +0 -0
- package/dist/HotelAvailabilityForm-oY9nC2co.js.gz +0 -0
- package/dist/{SelectField-DO26J3vV.js → SelectField-DMU4o8wT.js} +2871 -2748
- package/dist/SelectField-DMU4o8wT.js.br +0 -0
- package/dist/SelectField-DMU4o8wT.js.gz +0 -0
- package/dist/{TermsOfService-1ml1UlRa.js → TermsOfService-Bh49zB1Y.js} +3 -3
- package/dist/TermsOfService-Bh49zB1Y.js.br +0 -0
- package/dist/TermsOfService-Bh49zB1Y.js.gz +0 -0
- package/dist/{_-BfUSBI8s.js → _-CYKi9htj.js} +3 -3
- package/dist/_-CYKi9htj.js.br +0 -0
- package/dist/_-CYKi9htj.js.gz +7 -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 +13 -13
- 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 +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/dist-Dhf-kBcE.js +3631 -0
- package/dist/dist-Dhf-kBcE.js.br +0 -0
- package/dist/dist-Dhf-kBcE.js.gz +0 -0
- package/dist/{dist-DvERnyi9.js → dist-IXFfy6j_.js} +79 -66
- package/dist/dist-IXFfy6j_.js.br +0 -0
- package/dist/dist-IXFfy6j_.js.gz +0 -0
- package/dist/event.js +190 -176
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +16 -16
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-Cp7GosHw.js → giftCard-BP6ydQ7Q.js} +10 -10
- package/dist/giftCard-BP6ydQ7Q.js.br +0 -0
- package/dist/giftCard-BP6ydQ7Q.js.gz +0 -0
- package/dist/hotel.js +2849 -1726
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-DwFTw_rF.js → i18n-BF6zkld-.js} +3397 -3461
- package/dist/i18n-BF6zkld-.js.br +0 -0
- package/dist/i18n-BF6zkld-.js.gz +0 -0
- package/dist/polyfill.js +1906 -1641
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
- package/dist/rolldown-runtime-B0aSnxlc.js.gz +5 -0
- package/dist/{style-DS_dEN32.js → style-CXIHVW9k.js} +8 -6
- package/dist/style-CXIHVW9k.js.br +0 -0
- package/dist/style-CXIHVW9k.js.gz +0 -0
- package/dist-wix/availability.js +42 -36
- package/dist-wix/event.js +32 -25
- package/dist-wix/gift-card-validation.js +33 -33
- package/dist-wix/gift-card.js +42 -35
- package/dist-wix/hotel.js +34 -27
- package/package.json +26 -24
- package/dist/ActionField-Dtyg_Xqt.js.br +0 -0
- package/dist/ActionField-Dtyg_Xqt.js.gz +0 -0
- package/dist/AvailabilitySkeleton-6jjgsDUN.js.br +0 -0
- package/dist/AvailabilitySkeleton-6jjgsDUN.js.gz +0 -0
- package/dist/CheckoutWindow-CUoVKHnQ.js.br +0 -0
- package/dist/CheckoutWindow-CUoVKHnQ.js.gz +0 -0
- package/dist/ErrorMessage-CeH20mgp.js.br +0 -0
- package/dist/ErrorMessage-CeH20mgp.js.gz +0 -0
- package/dist/EventAvailabilityForm-CEi0n5w5.js.br +0 -0
- package/dist/EventAvailabilityForm-CEi0n5w5.js.gz +0 -0
- package/dist/Field-nvWxJ8O5.js.br +0 -0
- package/dist/Field-nvWxJ8O5.js.gz +0 -0
- package/dist/HotelAvailabilityForm-CmL_Zi12.js +0 -323
- package/dist/HotelAvailabilityForm-CmL_Zi12.js.br +0 -0
- package/dist/HotelAvailabilityForm-CmL_Zi12.js.gz +0 -0
- package/dist/SelectField-DO26J3vV.js.br +0 -0
- package/dist/SelectField-DO26J3vV.js.gz +0 -0
- package/dist/TermsOfService-1ml1UlRa.js.br +0 -0
- package/dist/TermsOfService-1ml1UlRa.js.gz +0 -2
- package/dist/_-BfUSBI8s.js.br +0 -0
- package/dist/_-BfUSBI8s.js.gz +0 -0
- package/dist/dist-DvERnyi9.js.br +0 -0
- package/dist/dist-DvERnyi9.js.gz +0 -0
- package/dist/dist-UZ0ttnnU.js +0 -1338
- package/dist/dist-UZ0ttnnU.js.br +0 -0
- package/dist/dist-UZ0ttnnU.js.gz +0 -0
- package/dist/giftCard-Cp7GosHw.js.br +0 -0
- package/dist/giftCard-Cp7GosHw.js.gz +0 -10
- package/dist/i18n-DwFTw_rF.js.br +0 -0
- package/dist/i18n-DwFTw_rF.js.gz +0 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js.br +0 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js.gz +0 -2
- package/dist/style-DS_dEN32.js.br +0 -0
- package/dist/style-DS_dEN32.js.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konnectio/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
|
|
5
5
|
"homepage": "https://konnectio.com",
|
|
6
6
|
"repository": {
|
|
@@ -58,35 +58,36 @@
|
|
|
58
58
|
"@date-fns/tz": "1.5.0",
|
|
59
59
|
"@egjs/flicking-plugins": "4.8.1",
|
|
60
60
|
"@egjs/vue3-flicking": "4.16.4",
|
|
61
|
-
"@flareapp/js": "2.
|
|
62
|
-
"@flareapp/vite": "2.
|
|
63
|
-
"@flareapp/vue": "2.
|
|
61
|
+
"@flareapp/js": "2.11.0",
|
|
62
|
+
"@flareapp/vite": "2.11.0",
|
|
63
|
+
"@flareapp/vue": "2.11.0",
|
|
64
64
|
"@fortawesome/fontawesome-svg-core": "7.3.1",
|
|
65
65
|
"@fortawesome/free-brands-svg-icons": "7.3.1",
|
|
66
66
|
"@fortawesome/pro-light-svg-icons": "7.3.1",
|
|
67
67
|
"@fortawesome/pro-solid-svg-icons": "7.3.1",
|
|
68
68
|
"@fortawesome/vue-fontawesome": "3.3.3",
|
|
69
|
-
"@intlify/unplugin-vue-i18n": "11.2.
|
|
70
|
-
"@types/leaflet": "1.9.
|
|
71
|
-
"@unhead/vue": "3.
|
|
69
|
+
"@intlify/unplugin-vue-i18n": "11.2.5",
|
|
70
|
+
"@types/leaflet": "1.9.22",
|
|
71
|
+
"@unhead/vue": "3.4.0",
|
|
72
72
|
"@vuepic/vue-datepicker": "14.0.0",
|
|
73
|
-
"@vueuse/core": "14.
|
|
74
|
-
"axios": "1.
|
|
75
|
-
"core-js": "3.
|
|
73
|
+
"@vueuse/core": "14.4.0",
|
|
74
|
+
"axios": "1.20.0",
|
|
75
|
+
"core-js": "3.50.0",
|
|
76
76
|
"cqfill": "0.6.1",
|
|
77
77
|
"date-fns": "4.4.0",
|
|
78
78
|
"floating-vue": "5.2.2",
|
|
79
|
+
"laravel-precognition-vue": "^2.0.0",
|
|
79
80
|
"leaflet": "1.9.4",
|
|
80
81
|
"leaflet.markercluster": "1.5.3",
|
|
81
82
|
"linkify-html": "4.3.3",
|
|
82
|
-
"pinia": "4.0.
|
|
83
|
-
"postcss": "8.5.
|
|
83
|
+
"pinia": "4.0.3",
|
|
84
|
+
"postcss": "8.5.26",
|
|
84
85
|
"recaptcha-v3": "1.11.3",
|
|
85
86
|
"regenerator-runtime": "0.14.1",
|
|
86
87
|
"resize-detector": "0.3.0",
|
|
87
|
-
"vue": "3.5.
|
|
88
|
+
"vue": "3.5.42",
|
|
88
89
|
"vue-gtag": "3.7.1",
|
|
89
|
-
"vue-i18n": "11.4.
|
|
90
|
+
"vue-i18n": "11.4.10",
|
|
90
91
|
"vue-inner-image-zoom": "3.0.2",
|
|
91
92
|
"vue-select": "4.0.0-beta.6",
|
|
92
93
|
"vue3-side-panel": "1.3.0",
|
|
@@ -94,23 +95,24 @@
|
|
|
94
95
|
"vue3-sticky-sidebar": "2.0.0"
|
|
95
96
|
},
|
|
96
97
|
"devDependencies": {
|
|
97
|
-
"@types/node": "26.
|
|
98
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
99
|
-
"@typescript-eslint/parser": "8.
|
|
98
|
+
"@types/node": "26.4.0",
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "8.68.0",
|
|
100
|
+
"@typescript-eslint/parser": "8.68.0",
|
|
100
101
|
"@vitejs/plugin-vue": "6.0.8",
|
|
101
102
|
"@vue/eslint-config-typescript": "14.9.0",
|
|
102
103
|
"cross-env": "10.1.0",
|
|
103
|
-
"cypress": "15.
|
|
104
|
-
"
|
|
104
|
+
"cypress": "15.21.1",
|
|
105
|
+
"detect-libc": "^2.1.2",
|
|
106
|
+
"eslint": "10.9.1",
|
|
105
107
|
"eslint-plugin-vue": "10.10.0",
|
|
106
|
-
"sass": "1.
|
|
108
|
+
"sass": "1.103.1",
|
|
107
109
|
"ts-node": "10.9.2",
|
|
108
110
|
"tslib": "2.8.1",
|
|
109
|
-
"typescript": "
|
|
110
|
-
"vite": "8.
|
|
111
|
+
"typescript": "7.0.2",
|
|
112
|
+
"vite": "8.2.2",
|
|
111
113
|
"vite-plugin-compression2": "2.5.3",
|
|
112
|
-
"vue-router": "5.
|
|
113
|
-
"vue-tsc": "3.3.
|
|
114
|
+
"vue-router": "5.3.0",
|
|
115
|
+
"vue-tsc": "3.3.11"
|
|
114
116
|
},
|
|
115
117
|
"contributors": [
|
|
116
118
|
{
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import { D as e, E as t, Et as n, J as r, K as ee, N as i, O as a, T as o, Tt as s, a as c, ct as l, d as te, j as u, l as d, ut as ne, v as re, w as f, yt as p } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { C as m, E as h, N as ie, O as ae, S as g, U as oe, ht as se, k as ce, n as le, r as _, t as ue, ut as de, v } from "./SelectField-DO26J3vV.js";
|
|
3
|
-
import { n as y, p as fe } from "./AvailabilitySkeleton-6jjgsDUN.js";
|
|
4
|
-
//#region src/components/forms/HotelAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var pe = {
|
|
6
|
-
class: "konnectio-availability-location",
|
|
7
|
-
key: "location"
|
|
8
|
-
}, me = {
|
|
9
|
-
id: "konnectio-availability-date-selection",
|
|
10
|
-
key: "multiDate"
|
|
11
|
-
}, he = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "konnectio-availability-date-selection-multi"
|
|
14
|
-
}, ge = {
|
|
15
|
-
class: "konnectio-availability-room-count",
|
|
16
|
-
key: "room"
|
|
17
|
-
}, _e = {
|
|
18
|
-
class: "konnectio-availability-guest-selection",
|
|
19
|
-
key: "guests"
|
|
20
|
-
}, ve = {
|
|
21
|
-
id: "konnectio-availability-confirmation",
|
|
22
|
-
key: "confirm"
|
|
23
|
-
}, b = /*#__PURE__*/ g(/* @__PURE__ */ i({
|
|
24
|
-
__name: "HotelAvailabilityForm",
|
|
25
|
-
props: {
|
|
26
|
-
booking: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: !1
|
|
29
|
-
},
|
|
30
|
-
link: {},
|
|
31
|
-
selectedLocation: { default: NaN },
|
|
32
|
-
disableDefaultLocation: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !1
|
|
35
|
-
},
|
|
36
|
-
hideLocations: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: !1
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
setup(i) {
|
|
42
|
-
let { t: g } = c(), b = i, x = m(), { adults: ye, children: be, roomCount: xe, arrivalDate: S, departureDate: C, location: Se, hasHotelLocations: Ce, hotelLocations: w, controlLocation: we } = d(m()), T = ae(), Te = fe(), { display: E } = ie(), { firstSelectableDateOffset: D, lastSelectableDateOffset: O, defaultAdultAmount: k, defaultChildAmount: A, maxAdultAmount: Ee, maxChildAmount: De, splitBookingCalendar: Oe, disableCalendarPricesAvailability: j } = d(h()), { hasChildSelection: M, hasRoomAmountSelection: N } = h(), ke = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + D.value)).setHours(12, 0, 0, 0)), Ae = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + D.value + 1)).setHours(12, 0, 0, 0)), je = () => b.disableDefaultLocation ? void 0 : we.value, P = p(k.value), F = p(A.value), I = p(1), L = p(ke()), R = p(Ae()), z = p(je()), B = f({
|
|
43
|
-
get: () => b.booking ? x.adults : P.value,
|
|
44
|
-
set: (e) => {
|
|
45
|
-
b.booking ? ye.value = Number(e) : P.value = Number(e);
|
|
46
|
-
}
|
|
47
|
-
}), V = f({
|
|
48
|
-
get: () => b.booking ? x.children : F.value,
|
|
49
|
-
set: (e) => {
|
|
50
|
-
b.booking ? be.value = Number(e) : F.value = Number(e);
|
|
51
|
-
}
|
|
52
|
-
}), H = f({
|
|
53
|
-
get: () => b.booking ? x.roomCount : I.value,
|
|
54
|
-
set: (e) => {
|
|
55
|
-
b.booking ? xe.value = Number(e) : I.value = Number(e);
|
|
56
|
-
}
|
|
57
|
-
}), U = f({
|
|
58
|
-
get: () => b.booking ? S.value : L.value,
|
|
59
|
-
set: (e) => {
|
|
60
|
-
b.booking ? S.value = e : L.value = e;
|
|
61
|
-
}
|
|
62
|
-
}), W = f({
|
|
63
|
-
get: () => b.booking ? C.value : R.value,
|
|
64
|
-
set: (e) => {
|
|
65
|
-
b.booking ? C.value = e : R.value = e;
|
|
66
|
-
}
|
|
67
|
-
}), G = f({
|
|
68
|
-
get: () => isNaN(b.selectedLocation) ? b.booking ? Se.value ?? NaN : z.value ?? NaN : b.selectedLocation,
|
|
69
|
-
set: (e) => {
|
|
70
|
-
b.booking ? Se.value = e : z.value = e;
|
|
71
|
-
}
|
|
72
|
-
}), K = f(() => {
|
|
73
|
-
let e = w.value.find(({ id: e }) => e === b.selectedLocation);
|
|
74
|
-
return e ? e.name : "";
|
|
75
|
-
}), q = f(() => Ce.value && !b.hideLocations), J = p([]), Y = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), Me = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value))), Ne = f(() => new Date((/* @__PURE__ */ new Date()).setDate(U.value.getDate() + (O.value + 1)))), X = f(() => B.value !== 0), Pe = f(() => typeof b.link != "string");
|
|
76
|
-
function Z(e) {
|
|
77
|
-
let t = e.getFullYear(), n = e.getMonth() + 1, r = e.getDate();
|
|
78
|
-
return r < 10 && (r = "0" + r), n < 10 && (n = "0" + n), `${t}-${n}-${r}`;
|
|
79
|
-
}
|
|
80
|
-
function Q(e) {
|
|
81
|
-
let t = {
|
|
82
|
-
a: B.value.toString(),
|
|
83
|
-
c: V.value.toString(),
|
|
84
|
-
r: H.value.toString(),
|
|
85
|
-
ci: Z(U.value),
|
|
86
|
-
co: Z(W.value),
|
|
87
|
-
hid: G.value.toString()
|
|
88
|
-
}, n = new URLSearchParams(t), r = new URL(e, window.location.origin);
|
|
89
|
-
r.search = n.toString(), window.location.replace(r.toString());
|
|
90
|
-
}
|
|
91
|
-
function Fe() {
|
|
92
|
-
if (isNaN(G.value) && Ce.value) {
|
|
93
|
-
E({
|
|
94
|
-
message: g("alert.error.selectHotelId"),
|
|
95
|
-
type: "error"
|
|
96
|
-
});
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
if (isNaN(B.value)) {
|
|
100
|
-
E({
|
|
101
|
-
message: g("alert.error.selectValidAdults"),
|
|
102
|
-
type: "error"
|
|
103
|
-
});
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
if (isNaN(V.value)) {
|
|
107
|
-
E({
|
|
108
|
-
message: g("alert.error.selectValidChildren"),
|
|
109
|
-
type: "error"
|
|
110
|
-
});
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
if (b.booking === !1) if (Pe.value) {
|
|
114
|
-
let e = oe();
|
|
115
|
-
b.link[e] ? Q(b.link[e]) : b.link.en ? Q(b.link.en) : E({
|
|
116
|
-
message: "Module misconfiguration, contact an admin",
|
|
117
|
-
type: "error"
|
|
118
|
-
});
|
|
119
|
-
} else Q(b.link);
|
|
120
|
-
else X.value && T.fetchAvailabilityData();
|
|
121
|
-
}
|
|
122
|
-
let Ie = se("history", { removeNullishValues: !0 });
|
|
123
|
-
function $() {
|
|
124
|
-
b.booking && (Ie.ci = Z(U.value), Ie.co = Z(W.value));
|
|
125
|
-
}
|
|
126
|
-
return l(U, (e) => {
|
|
127
|
-
let t = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
|
|
128
|
-
new Date(W.value) < t && (W.value = t), $();
|
|
129
|
-
}), l(W, () => {
|
|
130
|
-
$();
|
|
131
|
-
}), de(ce).on(() => {
|
|
132
|
-
J.value = [U.value, W.value];
|
|
133
|
-
}), l(J, (e) => {
|
|
134
|
-
U.value = e[0], W.value = e[1];
|
|
135
|
-
}), l([
|
|
136
|
-
B,
|
|
137
|
-
V,
|
|
138
|
-
G
|
|
139
|
-
], () => {
|
|
140
|
-
Te.clearCache();
|
|
141
|
-
}), ee(() => {
|
|
142
|
-
J.value = [U.value, W.value];
|
|
143
|
-
}), (ee, c) => (r(), a("form", {
|
|
144
|
-
id: "konnectio-availability-form",
|
|
145
|
-
class: n({ reservation: i.booking }),
|
|
146
|
-
type: "availability",
|
|
147
|
-
onSubmit: re(Fe, ["prevent"])
|
|
148
|
-
}, [u(te, {
|
|
149
|
-
id: "konnectio-availability-form-content",
|
|
150
|
-
tag: "ul",
|
|
151
|
-
class: n([
|
|
152
|
-
{ "is-booking-page": i.booking },
|
|
153
|
-
{ "only-adult-guests": !s(M)(G.value) },
|
|
154
|
-
{ "all-guests": s(M)(G.value) },
|
|
155
|
-
{ "has-location": q.value },
|
|
156
|
-
{ "has-room-count": s(N)(G.value) }
|
|
157
|
-
])
|
|
158
|
-
}, {
|
|
159
|
-
default: ne(() => [
|
|
160
|
-
q.value ? (r(), a("li", pe, [isNaN(i.selectedLocation) ? (r(), t(ue, {
|
|
161
|
-
key: 1,
|
|
162
|
-
modelValue: G.value,
|
|
163
|
-
"onUpdate:modelValue": c[1] ||= (e) => G.value = e,
|
|
164
|
-
label: s(g)("general.location"),
|
|
165
|
-
placeholder: s(g)("general.locationPlaceholder"),
|
|
166
|
-
icon: "location-dot",
|
|
167
|
-
"icon-type": "fas",
|
|
168
|
-
"icon-placement": "label",
|
|
169
|
-
"label-key": "name",
|
|
170
|
-
"value-key": "id",
|
|
171
|
-
options: s(w),
|
|
172
|
-
searchable: !1
|
|
173
|
-
}, null, 8, [
|
|
174
|
-
"modelValue",
|
|
175
|
-
"label",
|
|
176
|
-
"placeholder",
|
|
177
|
-
"options"
|
|
178
|
-
])) : (r(), t(le, {
|
|
179
|
-
key: 0,
|
|
180
|
-
modelValue: K.value,
|
|
181
|
-
"onUpdate:modelValue": c[0] ||= (e) => K.value = e,
|
|
182
|
-
label: s(g)("general.location"),
|
|
183
|
-
icon: "location-dot",
|
|
184
|
-
"icon-type": "fas",
|
|
185
|
-
"icon-placement": "label",
|
|
186
|
-
readonly: ""
|
|
187
|
-
}, null, 8, ["modelValue", "label"]))])) : e("", !0),
|
|
188
|
-
o("li", me, [s(Oe) ? (r(), a("div", he, [u(y, {
|
|
189
|
-
modelValue: U.value,
|
|
190
|
-
"onUpdate:modelValue": c[2] ||= (e) => U.value = e,
|
|
191
|
-
label: s(g)("availability.arrivalDate"),
|
|
192
|
-
name: "arrivalDate",
|
|
193
|
-
"icon-type": "fas",
|
|
194
|
-
"icon-placement": "label",
|
|
195
|
-
"start-date": U.value,
|
|
196
|
-
"min-date": Y.value,
|
|
197
|
-
"max-date": Me.value,
|
|
198
|
-
"show-prices": !s(j),
|
|
199
|
-
"show-availability": !s(j)
|
|
200
|
-
}, null, 8, [
|
|
201
|
-
"modelValue",
|
|
202
|
-
"label",
|
|
203
|
-
"start-date",
|
|
204
|
-
"min-date",
|
|
205
|
-
"max-date",
|
|
206
|
-
"show-prices",
|
|
207
|
-
"show-availability"
|
|
208
|
-
]), u(y, {
|
|
209
|
-
modelValue: W.value,
|
|
210
|
-
"onUpdate:modelValue": c[3] ||= (e) => W.value = e,
|
|
211
|
-
label: s(g)("availability.departureDate"),
|
|
212
|
-
name: "departureDate",
|
|
213
|
-
"icon-type": "fas",
|
|
214
|
-
"icon-placement": "label",
|
|
215
|
-
"start-date": W.value,
|
|
216
|
-
"min-date": U.value,
|
|
217
|
-
"max-date": Ne.value,
|
|
218
|
-
"show-prices": !s(j),
|
|
219
|
-
"show-availability": !s(j)
|
|
220
|
-
}, null, 8, [
|
|
221
|
-
"modelValue",
|
|
222
|
-
"label",
|
|
223
|
-
"start-date",
|
|
224
|
-
"min-date",
|
|
225
|
-
"max-date",
|
|
226
|
-
"show-prices",
|
|
227
|
-
"show-availability"
|
|
228
|
-
])])) : (r(), t(y, {
|
|
229
|
-
key: 1,
|
|
230
|
-
modelValue: J.value,
|
|
231
|
-
"onUpdate:modelValue": c[4] ||= (e) => J.value = e,
|
|
232
|
-
label: s(g)("availability.checkInOut"),
|
|
233
|
-
"icon-type": "fas",
|
|
234
|
-
"icon-placement": "label",
|
|
235
|
-
"min-range": 1,
|
|
236
|
-
"min-date": Y.value,
|
|
237
|
-
"max-date": Ne.value,
|
|
238
|
-
"show-prices": !s(j),
|
|
239
|
-
"show-availability": !s(j),
|
|
240
|
-
range: ""
|
|
241
|
-
}, null, 8, [
|
|
242
|
-
"modelValue",
|
|
243
|
-
"label",
|
|
244
|
-
"min-date",
|
|
245
|
-
"max-date",
|
|
246
|
-
"show-prices",
|
|
247
|
-
"show-availability"
|
|
248
|
-
]))]),
|
|
249
|
-
s(N)(G.value) ? (r(), a("li", ge, [u(_, {
|
|
250
|
-
modelValue: H.value,
|
|
251
|
-
"onUpdate:modelValue": c[5] ||= (e) => H.value = e,
|
|
252
|
-
label: s(g)("availability.roomCount"),
|
|
253
|
-
"icon-type": "fas",
|
|
254
|
-
"icon-placement": "label",
|
|
255
|
-
name: "roomCount",
|
|
256
|
-
icon: "house",
|
|
257
|
-
"min-value": 1,
|
|
258
|
-
"max-value": 10,
|
|
259
|
-
controls: !0
|
|
260
|
-
}, null, 8, ["modelValue", "label"])])) : e("", !0),
|
|
261
|
-
o("li", _e, [u(_, {
|
|
262
|
-
modelValue: B.value,
|
|
263
|
-
"onUpdate:modelValue": c[6] ||= (e) => B.value = e,
|
|
264
|
-
label: s(g)("availability.adults"),
|
|
265
|
-
description: s(g)("general.adultAgeRange"),
|
|
266
|
-
"icon-type": "fas",
|
|
267
|
-
"icon-placement": "label",
|
|
268
|
-
name: "adults",
|
|
269
|
-
icon: "male",
|
|
270
|
-
"max-value": s(Ee),
|
|
271
|
-
placeholder: `${s(k)}`,
|
|
272
|
-
controls: !0
|
|
273
|
-
}, null, 8, [
|
|
274
|
-
"modelValue",
|
|
275
|
-
"label",
|
|
276
|
-
"description",
|
|
277
|
-
"max-value",
|
|
278
|
-
"placeholder"
|
|
279
|
-
]), s(M)(G.value) ? (r(), t(_, {
|
|
280
|
-
key: 0,
|
|
281
|
-
modelValue: V.value,
|
|
282
|
-
"onUpdate:modelValue": c[7] ||= (e) => V.value = e,
|
|
283
|
-
label: s(g)("availability.children"),
|
|
284
|
-
description: s(g)("general.childAgeRange"),
|
|
285
|
-
"icon-type": "fas",
|
|
286
|
-
"icon-placement": "label",
|
|
287
|
-
name: "children",
|
|
288
|
-
icon: "child",
|
|
289
|
-
"max-value": s(De),
|
|
290
|
-
placeholder: `${s(A)}`,
|
|
291
|
-
controls: !0
|
|
292
|
-
}, null, 8, [
|
|
293
|
-
"modelValue",
|
|
294
|
-
"label",
|
|
295
|
-
"description",
|
|
296
|
-
"max-value",
|
|
297
|
-
"placeholder"
|
|
298
|
-
])) : e("", !0)]),
|
|
299
|
-
o("li", ve, [u(v, {
|
|
300
|
-
class: "konnectio-availability-submit-small",
|
|
301
|
-
type: "submit",
|
|
302
|
-
icon: "search",
|
|
303
|
-
"icon-type": "fas",
|
|
304
|
-
disabled: !X.value,
|
|
305
|
-
"is-loading": s(T).areListingsLoading
|
|
306
|
-
}, null, 8, ["disabled", "is-loading"]), u(v, {
|
|
307
|
-
class: "konnectio-availability-submit-large",
|
|
308
|
-
type: "submit",
|
|
309
|
-
label: s(g)("availability.buttonLabel"),
|
|
310
|
-
disabled: !X.value,
|
|
311
|
-
"is-loading": s(T).areListingsLoading
|
|
312
|
-
}, null, 8, [
|
|
313
|
-
"label",
|
|
314
|
-
"disabled",
|
|
315
|
-
"is-loading"
|
|
316
|
-
])])
|
|
317
|
-
]),
|
|
318
|
-
_: 1
|
|
319
|
-
}, 8, ["class"])], 34));
|
|
320
|
-
}
|
|
321
|
-
}), [["__scopeId", "data-v-ef82679e"]]);
|
|
322
|
-
//#endregion
|
|
323
|
-
export { b as t };
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/_-BfUSBI8s.js.br
DELETED
|
Binary file
|
package/dist/_-BfUSBI8s.js.gz
DELETED
|
Binary file
|
package/dist/dist-DvERnyi9.js.br
DELETED
|
Binary file
|
package/dist/dist-DvERnyi9.js.gz
DELETED
|
Binary file
|