@konnectio/core 4.0.92 → 4.0.94
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-CgMznDNS.js → ActionField-pZOFNMkw.js} +2 -2
- package/dist/ActionField-pZOFNMkw.js.br +0 -0
- package/dist/AvailabilitySkeleton-DJyT38F9.js +319 -0
- package/dist/AvailabilitySkeleton-DJyT38F9.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CuRWF7vG.js} +253 -245
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CuRWF7vG.js.br +0 -0
- package/dist/{CheckoutWindow-BoEtvp4P.js → CheckoutWindow-5ngdoK38.js} +2 -2
- package/dist/CheckoutWindow-5ngdoK38.js.br +0 -0
- package/dist/{ErrorMessage-CvJnQM2S.js → ErrorMessage-BVaWW4Hz.js} +2 -2
- package/dist/ErrorMessage-BVaWW4Hz.js.br +0 -0
- package/dist/{EventAvailabilityForm-D_KjLqgK.js → EventAvailabilityForm-Du4kySZ-.js} +3 -3
- package/dist/EventAvailabilityForm-Du4kySZ-.js.br +0 -0
- package/dist/{Field-Ce6P6QCM.js → Field-MzDRmdmU.js} +3 -3
- package/dist/Field-MzDRmdmU.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CH1o9S9a.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js → SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js} +301 -302
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js.br +0 -0
- package/dist/{TermsOfService-DS18Dl-L.js → TermsOfService-9iLxpj-0.js} +3 -3
- package/dist/_-DXSHtzqt.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CXamzQ3j.js → _.vue_vue_type_style_index_0_lang-mNFTf-c3.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Dx--Stye.js → giftCard-CmhfXMZj.js} +2 -2
- package/dist/giftCard-CmhfXMZj.js.br +0 -0
- package/dist/hotel.js +724 -734
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CPsNk-yp.js → masonry.plugin-Bz6kKi0V.js} +21 -25
- package/dist/masonry.plugin-Bz6kKi0V.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-CgMznDNS.js.br +0 -0
- package/dist/AvailabilitySkeleton-B12FSS31.js +0 -322
- package/dist/AvailabilitySkeleton-B12FSS31.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br +0 -0
- package/dist/CheckoutWindow-BoEtvp4P.js.br +0 -0
- package/dist/ErrorMessage-CvJnQM2S.js.br +0 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js.br +0 -0
- package/dist/Field-Ce6P6QCM.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js.br +0 -0
- package/dist/_-Csc-2ekB.js +0 -5
- package/dist/giftCard-Dx--Stye.js.br +0 -0
- package/dist/masonry.plugin-CPsNk-yp.js.br +0 -0
package/dist/style.css.br
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konnectio/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.94",
|
|
4
4
|
"author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
|
|
5
5
|
"homepage": "https://konnectio.com",
|
|
6
6
|
"description": "Konnectio Core Frontend Integration.",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@fortawesome/pro-light-svg-icons": "6.6.0",
|
|
45
45
|
"@fortawesome/pro-solid-svg-icons": "6.6.0",
|
|
46
46
|
"@fortawesome/vue-fontawesome": "3.0.8",
|
|
47
|
-
"@intlify/unplugin-vue-i18n": "
|
|
47
|
+
"@intlify/unplugin-vue-i18n": "5.2.0",
|
|
48
48
|
"@unhead/vue": "1.11.7",
|
|
49
49
|
"@vuepic/vue-datepicker": "9.0.3",
|
|
50
50
|
"@vueup/vue-quill": "1.2.0",
|
|
@@ -77,21 +77,21 @@
|
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@babel/eslint-parser": "7.25.7",
|
|
79
79
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
80
|
-
"@types/node": "22.7.
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "8.8.
|
|
82
|
-
"@typescript-eslint/parser": "8.8.
|
|
80
|
+
"@types/node": "22.7.5",
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "8.8.1",
|
|
82
|
+
"@typescript-eslint/parser": "8.8.1",
|
|
83
83
|
"@vitejs/plugin-vue": "5.1.4",
|
|
84
|
-
"@vue/eslint-config-typescript": "
|
|
84
|
+
"@vue/eslint-config-typescript": "14.0.0",
|
|
85
85
|
"@vue/test-utils": "2.4.6",
|
|
86
86
|
"cross-env": "7.0.3",
|
|
87
87
|
"cypress": "13.15.0",
|
|
88
|
-
"eslint": "
|
|
88
|
+
"eslint": "9.12.0",
|
|
89
89
|
"eslint-plugin-vue": "9.28.0",
|
|
90
90
|
"rollup-plugin-typescript2": "0.36.0",
|
|
91
91
|
"sass": "1.79.4",
|
|
92
92
|
"ts-node": "10.9.2",
|
|
93
93
|
"tslib": "2.7.0",
|
|
94
|
-
"typescript": "5.6.
|
|
94
|
+
"typescript": "5.6.3",
|
|
95
95
|
"vite": "5.4.8",
|
|
96
96
|
"vite-plugin-compression": "0.5.1",
|
|
97
97
|
"vue-tsc": "2.1.6"
|
|
Binary file
|
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
import { d as le, u as ke, s as x, r as p, c as u, C as Q, o as he, a as n, g as v, f as s, w as we, i as a, b as h, j as w, e as S, 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-DeqWEc4j.js";
|
|
3
|
-
import { _ as N } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js";
|
|
4
|
-
import { E as te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js";
|
|
5
|
-
import { F as f } from "./Field-Ce6P6QCM.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(), $ = Ae("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: M,
|
|
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, j = p(re.value), E = p(ce.value), P = p(be()), q = p(ge()), z = p(pe()), D = u({
|
|
49
|
-
get: () => l.booking ? B.adults : j.value,
|
|
50
|
-
set: (e) => {
|
|
51
|
-
l.booking ? ie.value = Number(e) : j.value = Number(e);
|
|
52
|
-
}
|
|
53
|
-
}), _ = u({
|
|
54
|
-
get: () => l.booking ? B.children : E.value,
|
|
55
|
-
set: (e) => {
|
|
56
|
-
l.booking ? ne.value = Number(e) : E.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() + M.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() + (M.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
|
-
}), he(() => {
|
|
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: _e(De, ["prevent"])
|
|
141
|
-
}, [
|
|
142
|
-
s(Ve, {
|
|
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: we(() => [
|
|
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
|
-
}, Me = /* @__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(Me, [["__scopeId", "data-v-cebeb733"]]);
|
|
318
|
-
export {
|
|
319
|
-
Ye as A,
|
|
320
|
-
Ge as H
|
|
321
|
-
};
|
|
322
|
-
//# sourceMappingURL=AvailabilitySkeleton-B12FSS31.js.map
|
|
Binary file
|
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/_-Csc-2ekB.js
DELETED
|
Binary file
|
|
Binary file
|