@konnectio/core 4.8.3 → 4.8.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-BmK388lK.js → ActionField-DNhrzibV.js} +42 -42
- package/dist/ActionField-DNhrzibV.js.br +0 -0
- package/dist/ActionField-DNhrzibV.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-BCEm7qR0.js → AvailabilitySkeleton-DyHPcQ3l.js} +1863 -1863
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.br +0 -0
- package/dist/AvailabilitySkeleton-DyHPcQ3l.js.gz +0 -0
- package/dist/{CheckoutWindow-DvJ7vnNs.js → CheckoutWindow-C7AVcaIo.js} +446 -446
- package/dist/CheckoutWindow-C7AVcaIo.js.br +0 -0
- package/dist/CheckoutWindow-C7AVcaIo.js.gz +0 -0
- package/dist/{ErrorMessage-KXjD72UF.js → ErrorMessage-i6VD5R-W.js} +12 -12
- package/dist/ErrorMessage-i6VD5R-W.js.br +0 -0
- package/dist/ErrorMessage-i6VD5R-W.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CYlTT_Hr.js → EventAvailabilityForm-B5degNGN.js} +28 -28
- package/dist/EventAvailabilityForm-B5degNGN.js.br +0 -0
- package/dist/EventAvailabilityForm-B5degNGN.js.gz +0 -0
- package/dist/{Field-BDefa6ac.js → Field-CysA6ZKB.js} +14 -14
- package/dist/Field-CysA6ZKB.js.br +0 -0
- package/dist/Field-CysA6ZKB.js.gz +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js +320 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.br +0 -0
- package/dist/HotelAvailabilityForm-BGzRuNRM.js.gz +0 -0
- package/dist/{SelectField-D7e73Bye.js → SelectField-BUeYRCxc.js} +2947 -3417
- package/dist/SelectField-BUeYRCxc.js.br +0 -0
- package/dist/SelectField-BUeYRCxc.js.gz +0 -0
- package/dist/TermsOfService-DgMhoS_V.js +17 -0
- package/dist/TermsOfService-DgMhoS_V.js.br +0 -0
- package/dist/TermsOfService-DgMhoS_V.js.gz +0 -0
- package/dist/_-DFyJPf6E.js +25 -0
- package/dist/_-DFyJPf6E.js.br +0 -0
- package/dist/_-DFyJPf6E.js.gz +0 -0
- package/dist/availability.js +40 -40
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +58 -58
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/deep-link.js +12 -12
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-Div6l3C2.js → dist-CS5pBdeg.js} +22 -22
- package/dist/dist-CS5pBdeg.js.br +0 -0
- package/dist/dist-CS5pBdeg.js.gz +0 -0
- package/dist/{dist-B3QSYyxo.js → dist-D4fD_33g.js} +5 -5
- package/dist/dist-D4fD_33g.js.br +0 -0
- package/dist/dist-D4fD_33g.js.gz +0 -0
- package/dist/event.js +371 -371
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +49 -49
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +161 -161
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DPU-N3nF.js → giftCard-ChLbvI2n.js} +15 -15
- package/dist/giftCard-ChLbvI2n.js.br +0 -0
- package/dist/giftCard-ChLbvI2n.js.gz +0 -0
- package/dist/hotel.js +776 -776
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-BF6zkld-.js → i18n-_behsDNX.js} +1030 -530
- package/dist/i18n-_behsDNX.js.br +0 -0
- package/dist/{i18n-BF6zkld-.js.gz → i18n-_behsDNX.js.gz} +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-Bb9B24D1.js → style-DWSfukOm.js} +372 -372
- package/dist/style-DWSfukOm.js.br +0 -0
- package/dist/style-DWSfukOm.js.gz +0 -0
- package/dist-wix/availability.js +29 -29
- package/dist-wix/event.js +4 -4
- package/dist-wix/gift-card-validation.js +21 -21
- package/dist-wix/gift-card.js +25 -25
- package/dist-wix/hotel.js +4 -4
- package/package.json +5 -4
- package/dist/ActionField-BmK388lK.js.br +0 -0
- package/dist/ActionField-BmK388lK.js.gz +0 -0
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.br +0 -0
- package/dist/AvailabilitySkeleton-BCEm7qR0.js.gz +0 -0
- package/dist/CheckoutWindow-DvJ7vnNs.js.br +0 -0
- package/dist/CheckoutWindow-DvJ7vnNs.js.gz +0 -0
- package/dist/ErrorMessage-KXjD72UF.js.br +0 -0
- package/dist/ErrorMessage-KXjD72UF.js.gz +0 -0
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.br +0 -0
- package/dist/EventAvailabilityForm-CYlTT_Hr.js.gz +0 -0
- package/dist/Field-BDefa6ac.js.br +0 -0
- package/dist/Field-BDefa6ac.js.gz +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js +0 -320
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.br +0 -0
- package/dist/HotelAvailabilityForm-DoEwqvzD.js.gz +0 -0
- package/dist/SelectField-D7e73Bye.js.br +0 -0
- package/dist/SelectField-D7e73Bye.js.gz +0 -0
- package/dist/TermsOfService-CAeM3I9r.js +0 -17
- package/dist/TermsOfService-CAeM3I9r.js.br +0 -0
- package/dist/TermsOfService-CAeM3I9r.js.gz +0 -0
- package/dist/_-B4tCu0BU.js +0 -25
- package/dist/_-B4tCu0BU.js.br +0 -0
- package/dist/_-B4tCu0BU.js.gz +0 -2
- package/dist/dist-B3QSYyxo.js.br +0 -0
- package/dist/dist-B3QSYyxo.js.gz +0 -0
- package/dist/dist-Div6l3C2.js.br +0 -0
- package/dist/dist-Div6l3C2.js.gz +0 -0
- package/dist/giftCard-DPU-N3nF.js.br +0 -0
- package/dist/giftCard-DPU-N3nF.js.gz +0 -0
- package/dist/i18n-BF6zkld-.js.br +0 -0
- package/dist/style-Bb9B24D1.js.br +0 -0
- package/dist/style-Bb9B24D1.js.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konnectio/core",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.4",
|
|
4
4
|
"author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
|
|
5
5
|
"homepage": "https://konnectio.com",
|
|
6
6
|
"repository": {
|
|
@@ -44,8 +44,9 @@
|
|
|
44
44
|
"production": "vue-tsc --noEmit && vite build --mode production",
|
|
45
45
|
"analysis": "vue-tsc --noEmit",
|
|
46
46
|
"preview": "vite preview",
|
|
47
|
-
"test": "bun test",
|
|
48
|
-
"e2e": "
|
|
47
|
+
"test": "bun test tests",
|
|
48
|
+
"e2e": "playwright test --ui",
|
|
49
|
+
"e2e:ci": "playwright test",
|
|
49
50
|
"lint": "eslint src",
|
|
50
51
|
"lint:fix": "eslint src --fix",
|
|
51
52
|
"typecheck": "vue-tsc --noEmit"
|
|
@@ -95,13 +96,13 @@
|
|
|
95
96
|
"vue3-sticky-sidebar": "2.0.0"
|
|
96
97
|
},
|
|
97
98
|
"devDependencies": {
|
|
99
|
+
"@playwright/test": "^1.63.0",
|
|
98
100
|
"@types/node": "26.4.0",
|
|
99
101
|
"@typescript-eslint/eslint-plugin": "8.68.0",
|
|
100
102
|
"@typescript-eslint/parser": "8.68.0",
|
|
101
103
|
"@vitejs/plugin-vue": "6.0.8",
|
|
102
104
|
"@vue/eslint-config-typescript": "14.9.0",
|
|
103
105
|
"cross-env": "10.1.0",
|
|
104
|
-
"cypress": "15.21.1",
|
|
105
106
|
"detect-libc": "^2.1.2",
|
|
106
107
|
"eslint": "10.9.1",
|
|
107
108
|
"eslint-plugin-vue": "10.10.0",
|
|
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,320 +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-BF6zkld-.js";
|
|
2
|
-
import { B as m, C as h, E as g, N as ie, O as ae, S as _, U as oe, ft as se, ht as ce, k as le, n as ue, q as de, r as v, t as fe, v as pe } from "./SelectField-D7e73Bye.js";
|
|
3
|
-
import { n as y, p as me } from "./AvailabilitySkeleton-BCEm7qR0.js";
|
|
4
|
-
//#region src/components/forms/HotelAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var he = {
|
|
6
|
-
class: "konnectio-availability-location",
|
|
7
|
-
key: "location"
|
|
8
|
-
}, ge = {
|
|
9
|
-
id: "konnectio-availability-date-selection",
|
|
10
|
-
key: "multiDate"
|
|
11
|
-
}, _e = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "konnectio-availability-date-selection-multi"
|
|
14
|
-
}, ve = {
|
|
15
|
-
class: "konnectio-availability-room-count",
|
|
16
|
-
key: "room"
|
|
17
|
-
}, ye = {
|
|
18
|
-
class: "konnectio-availability-guest-selection",
|
|
19
|
-
key: "guests"
|
|
20
|
-
}, be = {
|
|
21
|
-
id: "konnectio-availability-confirmation",
|
|
22
|
-
key: "confirm"
|
|
23
|
-
}, b = /*#__PURE__*/ _(/* @__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: _ } = c(), b = i, x = h(), { adults: xe, children: Se, roomCount: Ce, arrivalDate: S, departureDate: C, location: w, hasHotelLocations: T, hotelLocations: E, controlLocation: we } = d(h()), D = ae(), Te = me(), { display: O } = ie(), { firstSelectableDateOffset: k, lastSelectableDateOffset: A, defaultAdultAmount: j, defaultChildAmount: M, maxAdultAmount: Ee, maxChildAmount: De, splitBookingCalendar: Oe, disableCalendarPricesAvailability: N } = d(g()), { hasChildSelection: P, hasRoomAmountSelection: F } = g(), ke = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + k.value)).setHours(12, 0, 0, 0)), Ae = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + k.value + 1)).setHours(12, 0, 0, 0)), je = () => b.disableDefaultLocation ? void 0 : we.value, I = p(j.value), L = p(M.value), R = p(1), z = p(ke()), B = p(Ae()), V = p(je()), H = f({
|
|
43
|
-
get: () => b.booking ? x.adults : I.value,
|
|
44
|
-
set: (e) => {
|
|
45
|
-
b.booking ? xe.value = Number(e) : I.value = Number(e);
|
|
46
|
-
}
|
|
47
|
-
}), U = f({
|
|
48
|
-
get: () => b.booking ? x.children : L.value,
|
|
49
|
-
set: (e) => {
|
|
50
|
-
b.booking ? Se.value = Number(e) : L.value = Number(e);
|
|
51
|
-
}
|
|
52
|
-
}), W = f({
|
|
53
|
-
get: () => b.booking ? x.roomCount : R.value,
|
|
54
|
-
set: (e) => {
|
|
55
|
-
b.booking ? Ce.value = Number(e) : R.value = Number(e);
|
|
56
|
-
}
|
|
57
|
-
}), G = f({
|
|
58
|
-
get: () => b.booking ? S.value : z.value,
|
|
59
|
-
set: (e) => {
|
|
60
|
-
b.booking ? S.value = e : z.value = e;
|
|
61
|
-
}
|
|
62
|
-
}), K = f({
|
|
63
|
-
get: () => b.booking ? C.value : B.value,
|
|
64
|
-
set: (e) => {
|
|
65
|
-
b.booking ? C.value = e : B.value = e;
|
|
66
|
-
}
|
|
67
|
-
}), q = f({
|
|
68
|
-
get: () => isNaN(b.selectedLocation) ? b.booking ? w.value ?? NaN : V.value ?? NaN : b.selectedLocation,
|
|
69
|
-
set: (e) => {
|
|
70
|
-
b.booking ? w.value = e : V.value = e;
|
|
71
|
-
}
|
|
72
|
-
}), J = f(() => {
|
|
73
|
-
let e = E.value.find(({ id: e }) => e === b.selectedLocation);
|
|
74
|
-
return e ? e.name : "";
|
|
75
|
-
}), Y = f(() => T.value && !b.hideLocations), X = p([]), Me = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), Ne = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + A.value))), Pe = f(() => new Date((/* @__PURE__ */ new Date()).setDate(G.value.getDate() + (A.value + 1)))), Z = f(() => H.value !== 0), Fe = f(() => typeof b.link != "string");
|
|
76
|
-
function Q(e) {
|
|
77
|
-
let t = new URLSearchParams(oe({
|
|
78
|
-
adults: H.value,
|
|
79
|
-
children: U.value,
|
|
80
|
-
roomCount: W.value,
|
|
81
|
-
arrivalDate: G.value,
|
|
82
|
-
departureDate: K.value,
|
|
83
|
-
location: q.value
|
|
84
|
-
})), n = new URL(e, window.location.origin);
|
|
85
|
-
n.search = t.toString(), window.location.replace(n.toString());
|
|
86
|
-
}
|
|
87
|
-
function Ie() {
|
|
88
|
-
if (isNaN(q.value) && T.value) {
|
|
89
|
-
O({
|
|
90
|
-
message: _("alert.error.selectHotelId"),
|
|
91
|
-
type: "error"
|
|
92
|
-
});
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
if (isNaN(H.value)) {
|
|
96
|
-
O({
|
|
97
|
-
message: _("alert.error.selectValidAdults"),
|
|
98
|
-
type: "error"
|
|
99
|
-
});
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
if (isNaN(U.value)) {
|
|
103
|
-
O({
|
|
104
|
-
message: _("alert.error.selectValidChildren"),
|
|
105
|
-
type: "error"
|
|
106
|
-
});
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
if (b.booking === !1) {
|
|
110
|
-
if (Fe.value) {
|
|
111
|
-
let e = de();
|
|
112
|
-
b.link[e] ? Q(b.link[e]) : b.link.en ? Q(b.link.en) : O({
|
|
113
|
-
message: "Module misconfiguration, contact an admin",
|
|
114
|
-
type: "error"
|
|
115
|
-
});
|
|
116
|
-
} else Q(b.link);
|
|
117
|
-
} else Z.value && D.fetchAvailabilityData();
|
|
118
|
-
}
|
|
119
|
-
let Le = ce("history", { removeNullishValues: !0 });
|
|
120
|
-
function $() {
|
|
121
|
-
b.booking && (Le.ci = m(G.value), Le.co = m(K.value));
|
|
122
|
-
}
|
|
123
|
-
return l(G, (e) => {
|
|
124
|
-
let t = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
|
|
125
|
-
new Date(K.value) < t && (K.value = t), $();
|
|
126
|
-
}), l(K, () => {
|
|
127
|
-
$();
|
|
128
|
-
}), se(le).on(() => {
|
|
129
|
-
X.value = [G.value, K.value];
|
|
130
|
-
}), l(X, (e) => {
|
|
131
|
-
G.value = e[0], K.value = e[1];
|
|
132
|
-
}), l([
|
|
133
|
-
H,
|
|
134
|
-
U,
|
|
135
|
-
q
|
|
136
|
-
], () => {
|
|
137
|
-
Te.clearCache();
|
|
138
|
-
}), ee(() => {
|
|
139
|
-
X.value = [G.value, K.value];
|
|
140
|
-
}), (ee, c) => (r(), a("form", {
|
|
141
|
-
id: "konnectio-availability-form",
|
|
142
|
-
class: n({ reservation: i.booking }),
|
|
143
|
-
type: "availability",
|
|
144
|
-
onSubmit: re(Ie, ["prevent"])
|
|
145
|
-
}, [u(te, {
|
|
146
|
-
id: "konnectio-availability-form-content",
|
|
147
|
-
tag: "ul",
|
|
148
|
-
class: n([
|
|
149
|
-
{ "is-booking-page": i.booking },
|
|
150
|
-
{ "only-adult-guests": !s(P)(q.value) },
|
|
151
|
-
{ "all-guests": s(P)(q.value) },
|
|
152
|
-
{ "has-location": Y.value },
|
|
153
|
-
{ "has-room-count": s(F)(q.value) }
|
|
154
|
-
])
|
|
155
|
-
}, {
|
|
156
|
-
default: ne(() => [
|
|
157
|
-
Y.value ? (r(), a("li", he, [isNaN(i.selectedLocation) ? (r(), t(fe, {
|
|
158
|
-
key: 1,
|
|
159
|
-
modelValue: q.value,
|
|
160
|
-
"onUpdate:modelValue": c[1] ||= (e) => q.value = e,
|
|
161
|
-
label: s(_)("general.location"),
|
|
162
|
-
placeholder: s(_)("general.locationPlaceholder"),
|
|
163
|
-
icon: "location-dot",
|
|
164
|
-
"icon-type": "fas",
|
|
165
|
-
"icon-placement": "label",
|
|
166
|
-
"label-key": "name",
|
|
167
|
-
"value-key": "id",
|
|
168
|
-
options: s(E),
|
|
169
|
-
searchable: !1
|
|
170
|
-
}, null, 8, [
|
|
171
|
-
"modelValue",
|
|
172
|
-
"label",
|
|
173
|
-
"placeholder",
|
|
174
|
-
"options"
|
|
175
|
-
])) : (r(), t(ue, {
|
|
176
|
-
key: 0,
|
|
177
|
-
modelValue: J.value,
|
|
178
|
-
"onUpdate:modelValue": c[0] ||= (e) => J.value = e,
|
|
179
|
-
label: s(_)("general.location"),
|
|
180
|
-
icon: "location-dot",
|
|
181
|
-
"icon-type": "fas",
|
|
182
|
-
"icon-placement": "label",
|
|
183
|
-
readonly: ""
|
|
184
|
-
}, null, 8, ["modelValue", "label"]))])) : e("", !0),
|
|
185
|
-
o("li", ge, [s(Oe) ? (r(), a("div", _e, [u(y, {
|
|
186
|
-
modelValue: G.value,
|
|
187
|
-
"onUpdate:modelValue": c[2] ||= (e) => G.value = e,
|
|
188
|
-
label: s(_)("availability.arrivalDate"),
|
|
189
|
-
name: "arrivalDate",
|
|
190
|
-
"icon-type": "fas",
|
|
191
|
-
"icon-placement": "label",
|
|
192
|
-
"start-date": G.value,
|
|
193
|
-
"min-date": Me.value,
|
|
194
|
-
"max-date": Ne.value,
|
|
195
|
-
"show-prices": !s(N),
|
|
196
|
-
"show-availability": !s(N)
|
|
197
|
-
}, null, 8, [
|
|
198
|
-
"modelValue",
|
|
199
|
-
"label",
|
|
200
|
-
"start-date",
|
|
201
|
-
"min-date",
|
|
202
|
-
"max-date",
|
|
203
|
-
"show-prices",
|
|
204
|
-
"show-availability"
|
|
205
|
-
]), u(y, {
|
|
206
|
-
modelValue: K.value,
|
|
207
|
-
"onUpdate:modelValue": c[3] ||= (e) => K.value = e,
|
|
208
|
-
label: s(_)("availability.departureDate"),
|
|
209
|
-
name: "departureDate",
|
|
210
|
-
"icon-type": "fas",
|
|
211
|
-
"icon-placement": "label",
|
|
212
|
-
"start-date": K.value,
|
|
213
|
-
"min-date": G.value,
|
|
214
|
-
"max-date": Pe.value,
|
|
215
|
-
"show-prices": !s(N),
|
|
216
|
-
"show-availability": !s(N)
|
|
217
|
-
}, null, 8, [
|
|
218
|
-
"modelValue",
|
|
219
|
-
"label",
|
|
220
|
-
"start-date",
|
|
221
|
-
"min-date",
|
|
222
|
-
"max-date",
|
|
223
|
-
"show-prices",
|
|
224
|
-
"show-availability"
|
|
225
|
-
])])) : (r(), t(y, {
|
|
226
|
-
key: 1,
|
|
227
|
-
modelValue: X.value,
|
|
228
|
-
"onUpdate:modelValue": c[4] ||= (e) => X.value = e,
|
|
229
|
-
label: s(_)("availability.checkInOut"),
|
|
230
|
-
"icon-type": "fas",
|
|
231
|
-
"icon-placement": "label",
|
|
232
|
-
"min-range": 1,
|
|
233
|
-
"min-date": Me.value,
|
|
234
|
-
"max-date": Pe.value,
|
|
235
|
-
"show-prices": !s(N),
|
|
236
|
-
"show-availability": !s(N),
|
|
237
|
-
range: ""
|
|
238
|
-
}, null, 8, [
|
|
239
|
-
"modelValue",
|
|
240
|
-
"label",
|
|
241
|
-
"min-date",
|
|
242
|
-
"max-date",
|
|
243
|
-
"show-prices",
|
|
244
|
-
"show-availability"
|
|
245
|
-
]))]),
|
|
246
|
-
s(F)(q.value) ? (r(), a("li", ve, [u(v, {
|
|
247
|
-
modelValue: W.value,
|
|
248
|
-
"onUpdate:modelValue": c[5] ||= (e) => W.value = e,
|
|
249
|
-
label: s(_)("availability.roomCount"),
|
|
250
|
-
"icon-type": "fas",
|
|
251
|
-
"icon-placement": "label",
|
|
252
|
-
name: "roomCount",
|
|
253
|
-
icon: "house",
|
|
254
|
-
"min-value": 1,
|
|
255
|
-
"max-value": 10,
|
|
256
|
-
controls: !0
|
|
257
|
-
}, null, 8, ["modelValue", "label"])])) : e("", !0),
|
|
258
|
-
o("li", ye, [u(v, {
|
|
259
|
-
modelValue: H.value,
|
|
260
|
-
"onUpdate:modelValue": c[6] ||= (e) => H.value = e,
|
|
261
|
-
label: s(_)("availability.adults"),
|
|
262
|
-
description: s(_)("general.adultAgeRange"),
|
|
263
|
-
"icon-type": "fas",
|
|
264
|
-
"icon-placement": "label",
|
|
265
|
-
name: "adults",
|
|
266
|
-
icon: "male",
|
|
267
|
-
"max-value": s(Ee),
|
|
268
|
-
placeholder: `${s(j)}`,
|
|
269
|
-
controls: !0
|
|
270
|
-
}, null, 8, [
|
|
271
|
-
"modelValue",
|
|
272
|
-
"label",
|
|
273
|
-
"description",
|
|
274
|
-
"max-value",
|
|
275
|
-
"placeholder"
|
|
276
|
-
]), s(P)(q.value) ? (r(), t(v, {
|
|
277
|
-
key: 0,
|
|
278
|
-
modelValue: U.value,
|
|
279
|
-
"onUpdate:modelValue": c[7] ||= (e) => U.value = e,
|
|
280
|
-
label: s(_)("availability.children"),
|
|
281
|
-
description: s(_)("general.childAgeRange"),
|
|
282
|
-
"icon-type": "fas",
|
|
283
|
-
"icon-placement": "label",
|
|
284
|
-
name: "children",
|
|
285
|
-
icon: "child",
|
|
286
|
-
"max-value": s(De),
|
|
287
|
-
placeholder: `${s(M)}`,
|
|
288
|
-
controls: !0
|
|
289
|
-
}, null, 8, [
|
|
290
|
-
"modelValue",
|
|
291
|
-
"label",
|
|
292
|
-
"description",
|
|
293
|
-
"max-value",
|
|
294
|
-
"placeholder"
|
|
295
|
-
])) : e("", !0)]),
|
|
296
|
-
o("li", be, [u(pe, {
|
|
297
|
-
class: "konnectio-availability-submit-small",
|
|
298
|
-
type: "submit",
|
|
299
|
-
icon: "search",
|
|
300
|
-
"icon-type": "fas",
|
|
301
|
-
disabled: !Z.value,
|
|
302
|
-
"is-loading": s(D).areListingsLoading
|
|
303
|
-
}, null, 8, ["disabled", "is-loading"]), u(pe, {
|
|
304
|
-
class: "konnectio-availability-submit-large",
|
|
305
|
-
type: "submit",
|
|
306
|
-
label: s(_)("availability.buttonLabel"),
|
|
307
|
-
disabled: !Z.value,
|
|
308
|
-
"is-loading": s(D).areListingsLoading
|
|
309
|
-
}, null, 8, [
|
|
310
|
-
"label",
|
|
311
|
-
"disabled",
|
|
312
|
-
"is-loading"
|
|
313
|
-
])])
|
|
314
|
-
]),
|
|
315
|
-
_: 1
|
|
316
|
-
}, 8, ["class"])], 34));
|
|
317
|
-
}
|
|
318
|
-
}), [["__scopeId", "data-v-cbe7e093"]]);
|
|
319
|
-
//#endregion
|
|
320
|
-
export { b as t };
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { E as e, J as t, N as n, T as r, Tt as i, a, ut as o } from "./i18n-BF6zkld-.js";
|
|
2
|
-
import { R as s, S as c } from "./SelectField-D7e73Bye.js";
|
|
3
|
-
import { o as l } from "./CheckoutWindow-DvJ7vnNs.js";
|
|
4
|
-
//#region src/components/side-panels/TermsOfService.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var u = { class: "konnectio-terms-side-panel" }, d = ["innerHTML"], f = /*#__PURE__*/ c(/* @__PURE__ */ n({
|
|
6
|
-
__name: "TermsOfService",
|
|
7
|
-
props: { description: {} },
|
|
8
|
-
setup(n) {
|
|
9
|
-
let { t: c } = a();
|
|
10
|
-
return (a, f) => (t(), e(l, { title: i(c)("general.termsAndConditions") }, {
|
|
11
|
-
default: o(() => [r("div", u, [r("p", { innerHTML: i(s)(n.description) }, null, 8, d)])]),
|
|
12
|
-
_: 1
|
|
13
|
-
}, 8, ["title"]));
|
|
14
|
-
}
|
|
15
|
-
}), [["__scopeId", "data-v-107b46b8"]]);
|
|
16
|
-
//#endregion
|
|
17
|
-
export { f as t };
|
|
Binary file
|
|
Binary file
|
package/dist/_-B4tCu0BU.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
|
-
import { $ as t, J as n, N as r, O as i, T as a, Tt as o, a as s, kt as c, lt as l } from "./i18n-BF6zkld-.js";
|
|
3
|
-
import { E as u } from "./SelectField-D7e73Bye.js";
|
|
4
|
-
//#region src/layouts/_.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var d = {
|
|
6
|
-
class: "konnectio-app",
|
|
7
|
-
ref: "base"
|
|
8
|
-
}, f = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "konnectio-panel"
|
|
11
|
-
}, p = /*@__PURE__*/ r({
|
|
12
|
-
name: "BaseLayout",
|
|
13
|
-
__name: "_",
|
|
14
|
-
props: {
|
|
15
|
-
accessToken: {},
|
|
16
|
-
type: { default: "none" },
|
|
17
|
-
callback: {}
|
|
18
|
-
},
|
|
19
|
-
async setup(e) {
|
|
20
|
-
let r, p, m = e, { t: h } = s(), { bookingDisabled: g, setAccessToken: _, fetchUtilities: v } = u();
|
|
21
|
-
return [r, p] = l(() => _(m.accessToken)), await r, p(), [r, p] = l(() => v()), await r, p(), m.callback && ([r, p] = l(() => m.callback()), await r, p()), (e, r) => (n(), i("div", d, [o(g) ? (n(), i("div", f, [a("span", null, c(o(h)("alert.error.bookingDisabled")), 1)])) : t(e.$slots, "default", {}, void 0, void 0, 1)], 512));
|
|
22
|
-
}
|
|
23
|
-
}), m = /* @__PURE__ */ e({ default: () => h }), h = p;
|
|
24
|
-
//#endregion
|
|
25
|
-
export { m as n, h as t };
|
package/dist/_-B4tCu0BU.js.br
DELETED
|
Binary file
|
package/dist/_-B4tCu0BU.js.gz
DELETED
package/dist/dist-B3QSYyxo.js.br
DELETED
|
Binary file
|
package/dist/dist-B3QSYyxo.js.gz
DELETED
|
Binary file
|
package/dist/dist-Div6l3C2.js.br
DELETED
|
Binary file
|
package/dist/dist-Div6l3C2.js.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/i18n-BF6zkld-.js.br
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|