@konnectio/core 4.0.23 → 4.0.25
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-8386d3a0.cjs → ActionField-7b136f91.cjs} +1 -1
- package/dist/{ActionField-a1ee7410.js → ActionField-c9cef523.js} +2 -2
- package/dist/ActionField-c9cef523.js.br +0 -0
- package/dist/AvailabilitySkeleton-aa3bf6f1.js +235 -0
- package/dist/AvailabilitySkeleton-aa3bf6f1.js.br +0 -0
- package/dist/AvailabilitySkeleton-acc847fd.cjs +1 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-7eca1f41.js → DateField.vue_vue_type_style_index_0_lang-0ac2a746.js} +8 -7
- package/dist/DateField.vue_vue_type_style_index_0_lang-0ac2a746.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-f99a57e9.cjs → DateField.vue_vue_type_style_index_0_lang-c9bd7be5.cjs} +2 -2
- package/dist/{Field-01acaecd.js → Field-3cca7a7b.js} +2 -2
- package/dist/Field-3cca7a7b.js.br +0 -0
- package/dist/{Field-8a225f2e.cjs → Field-5b40d0b6.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-966e55eb.js → NumberField.vue_vue_type_script_setup_true_lang-30fd5382.js} +2 -2
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-30fd5382.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-2520c9fa.cjs → NumberField.vue_vue_type_script_setup_true_lang-659bf8ca.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-8552e557.cjs → SelectField.vue_vue_type_style_index_0_lang-cd37504c.cjs} +38 -38
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-6fa298e4.js → SelectField.vue_vue_type_style_index_0_lang-e150d886.js} +3146 -3127
- package/dist/SelectField.vue_vue_type_style_index_0_lang-e150d886.js.br +0 -0
- package/dist/{ThankYou-384c77e1.js → ThankYou-39341d0e.js} +9 -9
- package/dist/ThankYou-39341d0e.js.br +0 -0
- package/dist/{ThankYou-c1397863.cjs → ThankYou-eda0a413.cjs} +2 -2
- package/dist/{_-570b650d.cjs → _-b2f2bbb6.cjs} +1 -1
- package/dist/{_-0e8ce73d.js → _-c8a00c38.js} +1 -1
- package/dist/_-c8a00c38.js.br +0 -0
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/inputs/InputField.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +3 -2
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/{event-3a539ded.cjs → event-5ba52771.cjs} +1 -1
- package/dist/{event-20213c2c.js → event-ee196721.js} +9 -9
- package/dist/event-ee196721.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +5 -5
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +1454 -1378
- package/dist/hotel.js.br +0 -0
- package/dist/{index-4b1265f3.cjs → index-69b5b9a3.cjs} +1 -1
- package/dist/{index-f9af089a.js → index-6ac9ac7c.js} +1 -1
- package/dist/index-6ac9ac7c.js.br +0 -0
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/hotel.d.ts +19 -7
- package/dist/store/payment.d.ts +1 -1
- package/dist/store/utilities.d.ts +7 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +4 -1
- package/package.json +1 -1
- package/dist/ActionField-a1ee7410.js.br +0 -0
- package/dist/AvailabilitySkeleton-6c6bec89.js +0 -223
- package/dist/AvailabilitySkeleton-6c6bec89.js.br +0 -0
- package/dist/AvailabilitySkeleton-b36452fe.cjs +0 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-7eca1f41.js.br +0 -0
- package/dist/Field-01acaecd.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-966e55eb.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6fa298e4.js.br +0 -0
- package/dist/ThankYou-384c77e1.js.br +0 -0
- package/dist/_-0e8ce73d.js.br +0 -0
- package/dist/event-20213c2c.js.br +0 -0
- package/dist/index-f9af089a.js.br +0 -0
package/dist/style.css.br
CHANGED
|
Binary file
|
package/dist/types/index.d.ts
CHANGED
|
@@ -504,11 +504,14 @@ export interface OctopusRoomGroup {
|
|
|
504
504
|
occupantRates?: Array<OctopusOccupantRate>;
|
|
505
505
|
}
|
|
506
506
|
export interface OctopusAvailableRoomGroup {
|
|
507
|
+
readonly id: number;
|
|
507
508
|
readonly extraPrice: number;
|
|
508
509
|
readonly isDefault: boolean;
|
|
510
|
+
readonly totalPrice: number;
|
|
511
|
+
readonly description: string;
|
|
512
|
+
readonly title: string;
|
|
509
513
|
readonly roomGroupID: number;
|
|
510
514
|
readonly roomGroupName: string;
|
|
511
|
-
readonly totalPrice: number;
|
|
512
515
|
}
|
|
513
516
|
export interface OctopusTemplate {
|
|
514
517
|
readonly description: string;
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import { h as S, r as O, a as T, k as l, q as u, aa as Q, H as W, z as X, s as x, ab as C, c as p, a1 as F, o as Y, l as D, w as Z, x as $, n as e, m as s, B as k, y as ee, t as _, a2 as H, T as R, C as ae, v as E, f as le, _ as q } from "./SelectField.vue_vue_type_style_index_0_lang-6fa298e4.js";
|
|
2
|
-
import { u as N, _ as te } from "./DateField.vue_vue_type_style_index_0_lang-7eca1f41.js";
|
|
3
|
-
import { _ as I } from "./NumberField.vue_vue_type_script_setup_true_lang-966e55eb.js";
|
|
4
|
-
import { E as z } from "./_-0e8ce73d.js";
|
|
5
|
-
import { F as f } from "./Field-01acaecd.js";
|
|
6
|
-
const ie = ["onSubmit"], ne = /* @__PURE__ */ S({
|
|
7
|
-
__name: "_",
|
|
8
|
-
props: {
|
|
9
|
-
type: { default: "submit" }
|
|
10
|
-
},
|
|
11
|
-
emits: ["submit"],
|
|
12
|
-
setup(h, { emit: i }) {
|
|
13
|
-
const n = O(!1), r = i, c = h, { verifyRecaptcha: d } = T();
|
|
14
|
-
function v() {
|
|
15
|
-
n.value = !0, d({
|
|
16
|
-
callback: y,
|
|
17
|
-
type: c.type
|
|
18
|
-
}).then(() => n.value = !1);
|
|
19
|
-
}
|
|
20
|
-
function y() {
|
|
21
|
-
r("submit");
|
|
22
|
-
}
|
|
23
|
-
return (V, A) => (l(), u("form", {
|
|
24
|
-
onSubmit: W(v, ["prevent"])
|
|
25
|
-
}, [
|
|
26
|
-
Q(V.$slots, "default", { isLoading: n.value })
|
|
27
|
-
], 40, ie));
|
|
28
|
-
}
|
|
29
|
-
}), oe = {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: "konnectio-availability-location"
|
|
32
|
-
}, se = { id: "fresh-booking-availability-date-selection" }, re = {
|
|
33
|
-
key: 1,
|
|
34
|
-
id: "fresh-booking-availability-guest-selection"
|
|
35
|
-
}, ue = { id: "fresh-booking-availability-confirmation" }, ce = /* @__PURE__ */ S({
|
|
36
|
-
__name: "HotelAvailabilityForm",
|
|
37
|
-
props: {
|
|
38
|
-
booking: { type: Boolean, default: !1 },
|
|
39
|
-
link: {}
|
|
40
|
-
},
|
|
41
|
-
setup(h) {
|
|
42
|
-
const { t: i } = X(), n = h, {
|
|
43
|
-
adults: r,
|
|
44
|
-
children: c,
|
|
45
|
-
arrivalDate: d,
|
|
46
|
-
departureDate: v,
|
|
47
|
-
location: y,
|
|
48
|
-
isExpired: V
|
|
49
|
-
} = x(C()), { reset: A } = C(), { fetchAvailabilityData: M } = N(), { areListingsLoading: j, hotelList: G, hasHotelList: g } = x(N()), {
|
|
50
|
-
firstSelectableDateOffset: L,
|
|
51
|
-
lastSelectableDateOffset: U,
|
|
52
|
-
disableChildSelection: b,
|
|
53
|
-
disableAdultSelection: m
|
|
54
|
-
} = x(T()), w = O([]), fe = p(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (L.value - 1)))), _e = p(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + U.value))), ye = p(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + L.value))), De = p(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + (U.value + 1)))), B = p(() => !(!m && r.value === 0)), J = p(() => typeof n.link != "string");
|
|
55
|
-
function K() {
|
|
56
|
-
if (n.booking === !1)
|
|
57
|
-
if (J.value) {
|
|
58
|
-
const o = le();
|
|
59
|
-
n.link[o] ? window.location.replace(n.link[o]) : n.link.en ? window.location.replace(n.link.en) : console.log("Sprog understøttes ikke");
|
|
60
|
-
} else
|
|
61
|
-
window.location.replace(n.link);
|
|
62
|
-
else
|
|
63
|
-
B.value && M();
|
|
64
|
-
}
|
|
65
|
-
return F(d, (o) => {
|
|
66
|
-
const a = new Date(new Date(o).setDate(new Date(o).getDate() + 1));
|
|
67
|
-
new Date(v.value) < a && (v.value = a);
|
|
68
|
-
}), F(w, (o) => {
|
|
69
|
-
d.value = o[0], v.value = o[1];
|
|
70
|
-
}), Y(() => {
|
|
71
|
-
V.value && A(), w.value = [d.value, v.value];
|
|
72
|
-
}), (o, a) => (l(), D(ne, {
|
|
73
|
-
id: "konnectio-availability-form",
|
|
74
|
-
class: E({ reservation: o.booking }),
|
|
75
|
-
type: "availability",
|
|
76
|
-
onSubmit: K
|
|
77
|
-
}, {
|
|
78
|
-
default: Z(({ isLoading: P }) => [
|
|
79
|
-
$("ul", {
|
|
80
|
-
id: "konnectio-availability-form-content",
|
|
81
|
-
class: E([
|
|
82
|
-
{ "is-not-booking-page": !o.booking },
|
|
83
|
-
{ "only-adult-guests": !e(m) && e(b) },
|
|
84
|
-
{ "only-child-guests": !e(b) && e(m) },
|
|
85
|
-
{ "no-guests": e(m) && e(b) },
|
|
86
|
-
{ "all-guests": !e(m) && !e(b) },
|
|
87
|
-
{ "has-location": e(g) }
|
|
88
|
-
])
|
|
89
|
-
}, [
|
|
90
|
-
e(g) ? (l(), u("li", oe, [
|
|
91
|
-
s(ee, {
|
|
92
|
-
modelValue: e(y),
|
|
93
|
-
"onUpdate:modelValue": a[0] || (a[0] = (t) => k(y) ? y.value = t : null),
|
|
94
|
-
label: e(i)("general.location"),
|
|
95
|
-
icon: "location-dot",
|
|
96
|
-
"icon-type": "fas",
|
|
97
|
-
"icon-placement": "label",
|
|
98
|
-
options: e(G),
|
|
99
|
-
searchable: !1
|
|
100
|
-
}, null, 8, ["modelValue", "label", "options"])
|
|
101
|
-
])) : _("", !0),
|
|
102
|
-
$("li", se, [
|
|
103
|
-
s(te, {
|
|
104
|
-
modelValue: w.value,
|
|
105
|
-
"onUpdate:modelValue": a[1] || (a[1] = (t) => w.value = t),
|
|
106
|
-
label: e(i)("availability.checkInOut"),
|
|
107
|
-
"icon-type": "fas",
|
|
108
|
-
"icon-placement": "label",
|
|
109
|
-
"min-range": 1,
|
|
110
|
-
range: ""
|
|
111
|
-
}, null, 8, ["modelValue", "label"]),
|
|
112
|
-
_("", !0)
|
|
113
|
-
]),
|
|
114
|
-
!e(m) || !e(b) ? (l(), u("li", re, [
|
|
115
|
-
e(m) ? _("", !0) : (l(), u(H, { key: 0 }, [
|
|
116
|
-
e(g) ? (l(), D(R, {
|
|
117
|
-
key: 0,
|
|
118
|
-
modelValue: e(r),
|
|
119
|
-
"onUpdate:modelValue": a[4] || (a[4] = (t) => k(r) ? r.value = t : null),
|
|
120
|
-
label: e(i)("availability.adults"),
|
|
121
|
-
"icon-type": "fas",
|
|
122
|
-
"icon-placement": "label",
|
|
123
|
-
name: "adults",
|
|
124
|
-
icon: "male"
|
|
125
|
-
}, null, 8, ["modelValue", "label"])) : (l(), D(I, {
|
|
126
|
-
key: 1,
|
|
127
|
-
modelValue: e(r),
|
|
128
|
-
"onUpdate:modelValue": a[5] || (a[5] = (t) => k(r) ? r.value = t : null),
|
|
129
|
-
label: e(i)("availability.adults"),
|
|
130
|
-
"icon-type": "fas",
|
|
131
|
-
"icon-placement": "label",
|
|
132
|
-
name: "adults",
|
|
133
|
-
icon: "male"
|
|
134
|
-
}, null, 8, ["modelValue", "label"]))
|
|
135
|
-
], 64)),
|
|
136
|
-
e(b) ? _("", !0) : (l(), u(H, { key: 1 }, [
|
|
137
|
-
e(g) ? (l(), D(R, {
|
|
138
|
-
key: 0,
|
|
139
|
-
modelValue: e(c),
|
|
140
|
-
"onUpdate:modelValue": a[6] || (a[6] = (t) => k(c) ? c.value = t : null),
|
|
141
|
-
label: e(i)("availability.children"),
|
|
142
|
-
"icon-type": "fas",
|
|
143
|
-
"icon-placement": "label",
|
|
144
|
-
name: "children",
|
|
145
|
-
icon: "child"
|
|
146
|
-
}, null, 8, ["modelValue", "label"])) : (l(), D(I, {
|
|
147
|
-
key: 1,
|
|
148
|
-
modelValue: e(c),
|
|
149
|
-
"onUpdate:modelValue": a[7] || (a[7] = (t) => k(c) ? c.value = t : null),
|
|
150
|
-
label: e(i)("availability.children"),
|
|
151
|
-
"icon-type": "fas",
|
|
152
|
-
"icon-placement": "label",
|
|
153
|
-
name: "children",
|
|
154
|
-
icon: "child"
|
|
155
|
-
}, null, 8, ["modelValue", "label"]))
|
|
156
|
-
], 64))
|
|
157
|
-
])) : _("", !0),
|
|
158
|
-
$("li", ue, [
|
|
159
|
-
s(ae, {
|
|
160
|
-
type: "submit",
|
|
161
|
-
label: e(i)("availability.buttonLabel"),
|
|
162
|
-
disabled: !B.value,
|
|
163
|
-
"is-loading": e(j) || P
|
|
164
|
-
}, null, 8, ["label", "disabled", "is-loading"])
|
|
165
|
-
])
|
|
166
|
-
], 2)
|
|
167
|
-
]),
|
|
168
|
-
_: 1
|
|
169
|
-
}, 8, ["class"]));
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
const xe = /* @__PURE__ */ q(ce, [["__scopeId", "data-v-22ac2f9b"]]), de = { class: "availability-skeleton" }, me = {
|
|
173
|
-
key: 0,
|
|
174
|
-
class: "availability-skeleton-navigation"
|
|
175
|
-
}, ve = {
|
|
176
|
-
key: 1,
|
|
177
|
-
class: "availability-skeleton-hotel"
|
|
178
|
-
}, be = {
|
|
179
|
-
key: 2,
|
|
180
|
-
class: "availability-skeleton-event"
|
|
181
|
-
}, pe = /* @__PURE__ */ S({
|
|
182
|
-
__name: "AvailabilitySkeleton",
|
|
183
|
-
props: {
|
|
184
|
-
view: { default: "hotel" }
|
|
185
|
-
},
|
|
186
|
-
setup(h) {
|
|
187
|
-
return (i, n) => (l(), u("div", de, [
|
|
188
|
-
i.view === "both" ? (l(), u("div", me, [
|
|
189
|
-
s(z, {
|
|
190
|
-
height: "28px",
|
|
191
|
-
width: "60px",
|
|
192
|
-
"border-radius": "20px"
|
|
193
|
-
}),
|
|
194
|
-
s(z, {
|
|
195
|
-
height: "28px",
|
|
196
|
-
width: "60px",
|
|
197
|
-
"border-radius": "20px"
|
|
198
|
-
})
|
|
199
|
-
])) : _("", !0),
|
|
200
|
-
i.view !== "event" ? (l(), u("div", ve, [
|
|
201
|
-
s(f, { "with-icon": "" }),
|
|
202
|
-
s(f, { "with-icon": "" }),
|
|
203
|
-
s(f, { "with-icon": "" }),
|
|
204
|
-
s(f, {
|
|
205
|
-
"with-icon": "",
|
|
206
|
-
"no-label": ""
|
|
207
|
-
})
|
|
208
|
-
])) : (l(), u("div", be, [
|
|
209
|
-
s(f, { "with-icon": "" }),
|
|
210
|
-
s(f, {
|
|
211
|
-
"with-icon": "",
|
|
212
|
-
"no-label": ""
|
|
213
|
-
})
|
|
214
|
-
]))
|
|
215
|
-
]));
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
const $e = /* @__PURE__ */ q(pe, [["__scopeId", "data-v-c266ccbc"]]);
|
|
219
|
-
export {
|
|
220
|
-
$e as A,
|
|
221
|
-
xe as H,
|
|
222
|
-
ne as _
|
|
223
|
-
};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-8552e557.cjs"),b=require("./DateField.vue_vue_type_style_index_0_lang-f99a57e9.cjs"),h=require("./NumberField.vue_vue_type_script_setup_true_lang-2520c9fa.cjs"),x=require("./_-570b650d.cjs"),_=require("./Field-8a225f2e.cjs"),E=["onSubmit"],w=e.defineComponent({__name:"_",props:{type:{default:"submit"}},emits:["submit"],setup(m,{emit:a}){const n=e.ref(!1),o=a,u=m,{verifyRecaptcha:c}=e.useUtilityStore();function r(){n.value=!0,c({callback:v,type:u.type}).then(()=>n.value=!1)}function v(){o("submit")}return(y,k)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(r,["prevent"])},[e.renderSlot(y.$slots,"default",{isLoading:n.value})],40,E))}}),R={key:0,class:"konnectio-availability-location"},$={id:"fresh-booking-availability-date-selection"},L={key:1,id:"fresh-booking-availability-guest-selection"},U={id:"fresh-booking-availability-confirmation"},H=e.defineComponent({__name:"HotelAvailabilityForm",props:{booking:{type:Boolean,default:!1},link:{}},setup(m){const{t:a}=e.useI18n(),n=m,{adults:o,children:u,arrivalDate:c,departureDate:r,location:v,isExpired:y}=e.storeToRefs(e.useAvailabilityStore()),{reset:k}=e.useAvailabilityStore(),{fetchAvailabilityData:B}=b.useHotelStore(),{areListingsLoading:F,hotelList:S,hasHotelList:p}=e.storeToRefs(b.useHotelStore()),{firstSelectableDateOffset:g,lastSelectableDateOffset:D,disableChildSelection:d,disableAdultSelection:s}=e.storeToRefs(e.useUtilityStore()),f=e.ref([]),G=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+(g.value-1)))),J=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+D.value))),K=e.computed(()=>new Date(new Date().setDate(c.value.getDate()+g.value))),P=e.computed(()=>new Date(new Date().setDate(c.value.getDate()+(D.value+1)))),V=e.computed(()=>!(!s&&o.value===0)),N=e.computed(()=>typeof n.link!="string");function A(){if(n.booking===!1)if(N.value){const i=e.getUserLanguage();n.link[i]?window.location.replace(n.link[i]):n.link.en?window.location.replace(n.link.en):console.log("Sprog understøttes ikke")}else window.location.replace(n.link);else V.value&&B()}return e.watch(c,i=>{const t=new Date(new Date(i).setDate(new Date(i).getDate()+1));new Date(r.value)<t&&(r.value=t)}),e.watch(f,i=>{c.value=i[0],r.value=i[1]}),e.onMounted(()=>{y.value&&k(),f.value=[c.value,r.value]}),(i,t)=>(e.openBlock(),e.createBlock(w,{id:"konnectio-availability-form",class:e.normalizeClass({reservation:i.booking}),type:"availability",onSubmit:A},{default:e.withCtx(({isLoading:C})=>[e.createBaseVNode("ul",{id:"konnectio-availability-form-content",class:e.normalizeClass([{"is-not-booking-page":!i.booking},{"only-adult-guests":!e.unref(s)&&e.unref(d)},{"only-child-guests":!e.unref(d)&&e.unref(s)},{"no-guests":e.unref(s)&&e.unref(d)},{"all-guests":!e.unref(s)&&!e.unref(d)},{"has-location":e.unref(p)}])},[e.unref(p)?(e.openBlock(),e.createElementBlock("li",R,[e.createVNode(e._sfc_main,{modelValue:e.unref(v),"onUpdate:modelValue":t[0]||(t[0]=l=>e.isRef(v)?v.value=l:null),label:e.unref(a)("general.location"),icon:"location-dot","icon-type":"fas","icon-placement":"label",options:e.unref(S),searchable:!1},null,8,["modelValue","label","options"])])):e.createCommentVNode("",!0),e.createBaseVNode("li",$,[e.createVNode(b._sfc_main,{modelValue:f.value,"onUpdate:modelValue":t[1]||(t[1]=l=>f.value=l),label:e.unref(a)("availability.checkInOut"),"icon-type":"fas","icon-placement":"label","min-range":1,range:""},null,8,["modelValue","label"]),e.createCommentVNode("",!0)]),!e.unref(s)||!e.unref(d)?(e.openBlock(),e.createElementBlock("li",L,[e.unref(s)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(p)?(e.openBlock(),e.createBlock(e.TextField,{key:0,modelValue:e.unref(o),"onUpdate:modelValue":t[4]||(t[4]=l=>e.isRef(o)?o.value=l:null),label:e.unref(a)("availability.adults"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label"])):(e.openBlock(),e.createBlock(h._sfc_main,{key:1,modelValue:e.unref(o),"onUpdate:modelValue":t[5]||(t[5]=l=>e.isRef(o)?o.value=l:null),label:e.unref(a)("availability.adults"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label"]))],64)),e.unref(d)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(p)?(e.openBlock(),e.createBlock(e.TextField,{key:0,modelValue:e.unref(u),"onUpdate:modelValue":t[6]||(t[6]=l=>e.isRef(u)?u.value=l:null),label:e.unref(a)("availability.children"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label"])):(e.openBlock(),e.createBlock(h._sfc_main,{key:1,modelValue:e.unref(u),"onUpdate:modelValue":t[7]||(t[7]=l=>e.isRef(u)?u.value=l:null),label:e.unref(a)("availability.children"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label"]))],64))])):e.createCommentVNode("",!0),e.createBaseVNode("li",U,[e.createVNode(e.Clickable,{type:"submit",label:e.unref(a)("availability.buttonLabel"),disabled:!V.value,"is-loading":e.unref(F)||C},null,8,["label","disabled","is-loading"])])],2)]),_:1},8,["class"]))}});const q=e._export_sfc(H,[["__scopeId","data-v-22ac2f9b"]]),T={class:"availability-skeleton"},I={key:0,class:"availability-skeleton-navigation"},z={key:1,class:"availability-skeleton-hotel"},O={key:2,class:"availability-skeleton-event"},M=e.defineComponent({__name:"AvailabilitySkeleton",props:{view:{default:"hotel"}},setup(m){return(a,n)=>(e.openBlock(),e.createElementBlock("div",T,[a.view==="both"?(e.openBlock(),e.createElementBlock("div",I,[e.createVNode(x.Element,{height:"28px",width:"60px","border-radius":"20px"}),e.createVNode(x.Element,{height:"28px",width:"60px","border-radius":"20px"})])):e.createCommentVNode("",!0),a.view!=="event"?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":"","no-label":""})])):(e.openBlock(),e.createElementBlock("div",O,[e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":"","no-label":""})]))]))}});const j=e._export_sfc(M,[["__scopeId","data-v-c266ccbc"]]);exports.AvailabilitySkeleton=j;exports.HotelAvailabilityForm=q;exports._sfc_main=w;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/_-0e8ce73d.js.br
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|