@konnectio/core 4.0.19 → 4.0.21
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-4cb5a734.js → ActionField-7685b1ca.js} +8 -8
- package/dist/ActionField-7685b1ca.js.br +0 -0
- package/dist/{ActionField-656d204b.cjs → ActionField-f278c92a.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-00f7fc68.js → AvailabilitySkeleton-9f7adad1.js} +15 -15
- package/dist/AvailabilitySkeleton-9f7adad1.js.br +0 -0
- package/dist/{AvailabilitySkeleton-8fc17074.cjs → AvailabilitySkeleton-b8004f01.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-36b7ee9e.js → DateField.vue_vue_type_style_index_0_lang-4d19c297.js} +2750 -2780
- package/dist/DateField.vue_vue_type_style_index_0_lang-4d19c297.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-ef9c83d6.cjs → DateField.vue_vue_type_style_index_0_lang-66f33a43.cjs} +3 -3
- package/dist/{Field-4283160f.cjs → Field-7bca22a3.cjs} +1 -1
- package/dist/{Field-e1af1bbc.js → Field-850f6158.js} +2 -2
- package/dist/Field-850f6158.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-eb9876fc.js → NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js} +2 -2
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-a517b062.cjs → NumberField.vue_vue_type_script_setup_true_lang-9af13100.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-1c999286.js → SelectField.vue_vue_type_style_index_0_lang-de13480f.js} +8390 -8505
- package/dist/SelectField.vue_vue_type_style_index_0_lang-de13480f.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-f2eadc00.cjs +855 -0
- package/dist/{ThankYou-01175a37.cjs → ThankYou-328e6196.cjs} +6 -6
- package/dist/{ThankYou-0860a0ab.js → ThankYou-ce7a43f1.js} +1489 -1459
- package/dist/ThankYou-ce7a43f1.js.br +0 -0
- package/dist/{_-6db0e1a4.js → _-55d616f9.js} +1 -1
- package/dist/_-55d616f9.js.br +0 -0
- package/dist/{_-b5842a21.cjs → _-72d06a62.cjs} +1 -1
- package/dist/availability.cjs +2 -2
- 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/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/NameField.vue.d.ts +1 -1
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/{event-c717dc05.cjs → event-67cf0ebb.cjs} +1 -1
- package/dist/{event-52fce8cc.js → event-d42b8289.js} +9 -9
- package/dist/event-d42b8289.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +37 -37
- 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 +1172 -1261
- package/dist/hotel.js.br +0 -0
- package/dist/{index-5d223c1a.cjs → index-85780e6d.cjs} +1 -1
- package/dist/{index-4aff7f4e.js → index-a6e71920.js} +1 -1
- package/dist/index-a6e71920.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/availability.d.ts +1 -1
- package/dist/store/event.d.ts +1 -1
- package/dist/store/hotel.d.ts +1 -1
- package/dist/store/payment.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +7 -7
- package/dist/ActionField-4cb5a734.js.br +0 -0
- package/dist/AvailabilitySkeleton-00f7fc68.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-36b7ee9e.js.br +0 -0
- package/dist/Field-e1af1bbc.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-eb9876fc.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-1c999286.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-af7c016a.cjs +0 -855
- package/dist/ThankYou-0860a0ab.js.br +0 -0
- package/dist/_-6db0e1a4.js.br +0 -0
- package/dist/event-52fce8cc.js.br +0 -0
- package/dist/index-4aff7f4e.js.br +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import { _ as A } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
const h = { class: "fresh-booking-action-field" }, L = /* @__PURE__ */
|
|
1
|
+
import { h as b, j as V, c as m, k as d, l as i, w as v, x as g, y as q, n as t, T as k, m as B, C as I, I as C, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-de13480f.js";
|
|
2
|
+
import { _ as A } from "./NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js";
|
|
3
|
+
const h = { class: "fresh-booking-action-field" }, L = /* @__PURE__ */ b({
|
|
4
4
|
__name: "ActionField",
|
|
5
5
|
props: {
|
|
6
6
|
modelValue: {},
|
|
@@ -25,8 +25,8 @@ const h = { class: "fresh-booking-action-field" }, L = /* @__PURE__ */ f({
|
|
|
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: c }) {
|
|
29
|
+
const s = c, u = y, o = u.id || V();
|
|
30
30
|
function r(e) {
|
|
31
31
|
s("update:modelValue", e);
|
|
32
32
|
}
|
|
@@ -37,7 +37,7 @@ const h = { class: "fresh-booking-action-field" }, L = /* @__PURE__ */ f({
|
|
|
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(C, {
|
|
@@ -86,7 +86,7 @@ const h = { class: "fresh-booking-action-field" }, L = /* @__PURE__ */ f({
|
|
|
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
|
]),
|
|
@@ -94,7 +94,7 @@ const h = { class: "fresh-booking-action-field" }, L = /* @__PURE__ */ f({
|
|
|
94
94
|
}, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
|
|
95
95
|
}
|
|
96
96
|
});
|
|
97
|
-
const w = /* @__PURE__ */ F(L, [["__scopeId", "data-v-
|
|
97
|
+
const w = /* @__PURE__ */ F(L, [["__scopeId", "data-v-ad281c18"]]);
|
|
98
98
|
export {
|
|
99
99
|
w as A
|
|
100
100
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-f2eadc00.cjs"),m=require("./NumberField.vue_vue_type_script_setup_true_lang-9af13100.cjs"),y={class:"fresh-booking-action-field"},f=l.defineComponent({__name:"ActionField",props:{modelValue:{},label:{},buttonLabel:{},buttonIcon:{},buttonIconColor:{},buttonDisabled:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},name:{},id:{},type:{default:"text"},placeholder:{},icon:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},data:{},action:{},minValue:{},maxValue:{},isLoading:{type:Boolean,default:!1}},emits:["update:modelValue","action"],setup(s,{emit:p}){const i=p,t=s,n=t.id||l.ranId();function u(e){i("update:modelValue",e)}const d=l.computed({get:()=>t.modelValue,set:e=>u(e)}),r=l.computed({get:()=>t.modelValue,set:e=>u(e)});function c(){i("action")}return(e,o)=>(l.openBlock(),l.createBlock(l.InputField,{label:e.label,id:l.unref(n),icon:e.icon,"icon-type":e.iconType,required:e.required,type:e.type,readonly:e.readonly},{default:l.withCtx(()=>[l.createBaseVNode("div",y,[e.type==="dropdown"&&e.data?(l.openBlock(),l.createBlock(l._sfc_main,{key:0,modelValue:d.value,"onUpdate:modelValue":o[0]||(o[0]=a=>d.value=a),id:l.unref(n),options:e.data,name:e.name,required:e.required,placeholder:e.placeholder},null,8,["modelValue","id","options","name","required","placeholder"])):e.type==="number"?(l.openBlock(),l.createBlock(m._sfc_main,{key:1,modelValue:r.value,"onUpdate:modelValue":o[1]||(o[1]=a=>r.value=a),id:l.unref(n),"min-value":e.minValue,"max-value":e.maxValue},null,8,["modelValue","id","min-value","max-value"])):(l.openBlock(),l.createBlock(l.TextField,{key:2,modelValue:d.value,"onUpdate:modelValue":o[2]||(o[2]=a=>d.value=a),id:l.unref(n),name:e.name,required:e.required,placeholder:e.placeholder},null,8,["modelValue","id","name","required","placeholder"])),l.createVNode(l.Clickable,{"data-test":`${e.name}Submit`,icon:e.buttonIcon,label:e.buttonLabel,"icon-color":e.buttonIconColor,styling:e.action,type:"button","is-loading":e.isLoading,disabled:e.buttonDisabled,secondary:e.secondary,onClickEvent:o[3]||(o[3]=a=>c())},null,8,["data-test","icon","label","icon-color","styling","is-loading","disabled","secondary"])])]),_:1},8,["label","id","icon","icon-type","required","type","readonly"]))}});const b=l._export_sfc(f,[["__scopeId","data-v-ad281c18"]]);exports.ActionField=b;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h as S, r as O, a as T, k as l, q as u, a9 as Q, H as W, z as X, s as x, c as b, a1 as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as I } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { E as z } from "./_-
|
|
5
|
-
import { F as f } from "./Field-
|
|
1
|
+
import { h as S, r as O, a as T, k as l, q as u, a9 as Q, H as W, z as X, s as x, aa as C, c as b, 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-de13480f.js";
|
|
2
|
+
import { u as N, _ as te } from "./DateField.vue_vue_type_style_index_0_lang-4d19c297.js";
|
|
3
|
+
import { _ as I } from "./NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js";
|
|
4
|
+
import { E as z } from "./_-55d616f9.js";
|
|
5
|
+
import { F as f } from "./Field-850f6158.js";
|
|
6
6
|
const ie = ["onSubmit"], ne = /* @__PURE__ */ S({
|
|
7
7
|
__name: "_",
|
|
8
8
|
props: {
|
|
@@ -46,7 +46,7 @@ const ie = ["onSubmit"], ne = /* @__PURE__ */ S({
|
|
|
46
46
|
departureDate: v,
|
|
47
47
|
location: y,
|
|
48
48
|
isExpired: V
|
|
49
|
-
} = x(
|
|
49
|
+
} = x(C()), { reset: A } = C(), { fetchAvailabilityData: M } = N(), { areListingsLoading: j, hotelList: G, hasHotelList: g } = x(N()), {
|
|
50
50
|
firstSelectableDateOffset: L,
|
|
51
51
|
lastSelectableDateOffset: U,
|
|
52
52
|
disableChildSelection: p,
|
|
@@ -62,23 +62,23 @@ const ie = ["onSubmit"], ne = /* @__PURE__ */ S({
|
|
|
62
62
|
else
|
|
63
63
|
B.value && M();
|
|
64
64
|
}
|
|
65
|
-
return
|
|
65
|
+
return F(d, (o) => {
|
|
66
66
|
const a = new Date(new Date(o).setDate(new Date(o).getDate() + 1));
|
|
67
67
|
new Date(v.value) < a && (v.value = a);
|
|
68
|
-
}),
|
|
68
|
+
}), F(w, (o) => {
|
|
69
69
|
d.value = o[0], v.value = o[1];
|
|
70
70
|
}), Y(() => {
|
|
71
71
|
V.value && t.booking && A(), w.value = [d.value, v.value];
|
|
72
72
|
}), (o, a) => (l(), D(ne, {
|
|
73
73
|
id: "konnectio-availability-form",
|
|
74
|
-
class:
|
|
74
|
+
class: E({ reservation: o.booking }),
|
|
75
75
|
type: "availability",
|
|
76
76
|
onSubmit: K
|
|
77
77
|
}, {
|
|
78
78
|
default: Z(({ isLoading: P }) => [
|
|
79
79
|
$("ul", {
|
|
80
80
|
id: "konnectio-availability-form-content",
|
|
81
|
-
class:
|
|
81
|
+
class: E([
|
|
82
82
|
{ "is-not-booking-page": !o.booking },
|
|
83
83
|
{ "only-adult-guests": !e(m) && e(p) },
|
|
84
84
|
{ "only-child-guests": !e(p) && e(m) },
|
|
@@ -112,8 +112,8 @@ const ie = ["onSubmit"], ne = /* @__PURE__ */ S({
|
|
|
112
112
|
_("", !0)
|
|
113
113
|
]),
|
|
114
114
|
!e(m) || !e(p) ? (l(), u("li", re, [
|
|
115
|
-
e(m) ? _("", !0) : (l(), u(
|
|
116
|
-
e(g) ? (l(), D(
|
|
115
|
+
e(m) ? _("", !0) : (l(), u(H, { key: 0 }, [
|
|
116
|
+
e(g) ? (l(), D(R, {
|
|
117
117
|
key: 0,
|
|
118
118
|
modelValue: e(r),
|
|
119
119
|
"onUpdate:modelValue": a[4] || (a[4] = (i) => k(r) ? r.value = i : null),
|
|
@@ -133,8 +133,8 @@ const ie = ["onSubmit"], ne = /* @__PURE__ */ S({
|
|
|
133
133
|
icon: "male"
|
|
134
134
|
}, null, 8, ["modelValue", "label"]))
|
|
135
135
|
], 64)),
|
|
136
|
-
e(p) ? _("", !0) : (l(), u(
|
|
137
|
-
e(g) ? (l(), D(
|
|
136
|
+
e(p) ? _("", !0) : (l(), u(H, { key: 1 }, [
|
|
137
|
+
e(g) ? (l(), D(R, {
|
|
138
138
|
key: 0,
|
|
139
139
|
modelValue: e(c),
|
|
140
140
|
"onUpdate:modelValue": a[6] || (a[6] = (i) => k(c) ? c.value = i : null),
|
|
@@ -169,7 +169,7 @@ const ie = ["onSubmit"], ne = /* @__PURE__ */ S({
|
|
|
169
169
|
}, 8, ["class"]));
|
|
170
170
|
}
|
|
171
171
|
});
|
|
172
|
-
const xe = /* @__PURE__ */ q(ce, [["__scopeId", "data-v-
|
|
172
|
+
const xe = /* @__PURE__ */ q(ce, [["__scopeId", "data-v-9287c752"]]), de = { class: "availability-skeleton" }, me = {
|
|
173
173
|
key: 0,
|
|
174
174
|
class: "availability-skeleton-navigation"
|
|
175
175
|
}, ve = {
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-f2eadc00.cjs"),b=require("./DateField.vue_vue_type_style_index_0_lang-66f33a43.cjs"),h=require("./NumberField.vue_vue_type_script_setup_true_lang-9af13100.cjs"),x=require("./_-72d06a62.cjs"),_=require("./Field-7bca22a3.cjs"),E=["onSubmit"],w=e.defineComponent({__name:"_",props:{type:{default:"submit"}},emits:["submit"],setup(m,{emit:n}){const l=e.ref(!1),o=n,u=m,{verifyRecaptcha:c}=e.useUtilityStore();function r(){l.value=!0,c({callback:v,type:u.type}).then(()=>l.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:l.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:n}=e.useI18n(),l=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 l.link!="string");function A(){if(l.booking===!1)if(N.value){const i=e.getUserLanguage();l.link[i]?window.location.replace(l.link[i]):l.link.en?window.location.replace(l.link.en):console.log("Sprog understøttes ikke")}else window.location.replace(l.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&&l.booking&&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]=a=>e.isRef(v)?v.value=a:null),label:e.unref(n)("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]=a=>f.value=a),label:e.unref(n)("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]=a=>e.isRef(o)?o.value=a:null),label:e.unref(n)("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]=a=>e.isRef(o)?o.value=a:null),label:e.unref(n)("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]=a=>e.isRef(u)?u.value=a:null),label:e.unref(n)("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]=a=>e.isRef(u)?u.value=a:null),label:e.unref(n)("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(n)("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-9287c752"]]),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(n,l)=>(e.openBlock(),e.createElementBlock("div",T,[n.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),n.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;
|