@konnectio/core 4.0.11 → 4.0.12
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-23ce1b2a.cjs +1 -0
- package/dist/{ActionField-d1266f8b.js → ActionField-311942d2.js} +21 -21
- package/dist/ActionField-311942d2.js.br +0 -0
- package/dist/{AvailabilitySkeleton-0e6d048b.js → AvailabilitySkeleton-2dfbb28e.js} +80 -80
- package/dist/AvailabilitySkeleton-2dfbb28e.js.br +0 -0
- package/dist/AvailabilitySkeleton-7d9e2680.cjs +1 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-31a9e5dc.cjs → DateField.vue_vue_type_style_index_0_lang-47e679d1.cjs} +3 -3
- package/dist/{DateField.vue_vue_type_style_index_0_lang-3f5993f7.js → DateField.vue_vue_type_style_index_0_lang-ec35955b.js} +1816 -1820
- package/dist/DateField.vue_vue_type_style_index_0_lang-ec35955b.js.br +0 -0
- package/dist/{Field-028d9987.cjs → Field-dcffacf2.cjs} +1 -1
- package/dist/{Field-ea77905a.js → Field-ff599d13.js} +2 -2
- package/dist/Field-ff599d13.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-d3b3206f.js → NumberField.vue_vue_type_script_setup_true_lang-2eb1b46f.js} +28 -28
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-2eb1b46f.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-50fc08f1.cjs +1 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-4755fb8a.cjs +802 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-d1f9b48d.js → SelectField.vue_vue_type_style_index_0_lang-e2f4edc3.js} +7754 -7718
- package/dist/SelectField.vue_vue_type_style_index_0_lang-e2f4edc3.js.br +0 -0
- package/dist/TextField-6f7e37d9.cjs +54 -0
- package/dist/{TextField-4e7defc6.js → TextField-cd93b966.js} +3241 -3241
- package/dist/TextField-cd93b966.js.br +0 -0
- package/dist/{ThankYou-2c1ee36b.cjs → ThankYou-3d74a6dc.cjs} +2 -2
- package/dist/{ThankYou-6fc9044f.js → ThankYou-c1878478.js} +48 -47
- package/dist/ThankYou-c1878478.js.br +0 -0
- package/dist/{_-82677476.cjs → _-0895679a.cjs} +1 -1
- package/dist/{_-f5a3364b.js → _-8772cf9a.js} +1 -1
- package/dist/_-8772cf9a.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/{event-46a84617.js → event-60e076f2.js} +36 -36
- package/dist/event-60e076f2.js.br +0 -0
- package/dist/{event-8738e24d.cjs → event-8e90a6e3.cjs} +1 -1
- package/dist/event.cjs +1 -1
- package/dist/event.js +98 -98
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +4 -4
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +192 -192
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +1406 -1395
- package/dist/hotel.js.br +0 -0
- package/dist/index-345407fb.cjs +1 -0
- package/dist/{index-a3de1ca3.js → index-b5d8f4fc.js} +83 -83
- package/dist/index-b5d8f4fc.js.br +0 -0
- package/dist/polyfill.cjs +4 -4
- package/dist/polyfill.js +3311 -3398
- package/dist/polyfill.js.br +0 -0
- package/dist/store/payment.d.ts +1 -1
- package/package.json +6 -6
- package/dist/ActionField-8a007a6c.cjs +0 -1
- package/dist/ActionField-d1266f8b.js.br +0 -0
- package/dist/AvailabilitySkeleton-0e6d048b.js.br +0 -0
- package/dist/AvailabilitySkeleton-3ba8c412.cjs +0 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-3f5993f7.js.br +0 -0
- package/dist/Field-ea77905a.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-d3b3206f.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-d756efc3.cjs +0 -1
- package/dist/SelectField.vue_vue_type_style_index_0_lang-2b92f88c.cjs +0 -806
- package/dist/SelectField.vue_vue_type_style_index_0_lang-d1f9b48d.js.br +0 -0
- package/dist/TextField-4e7defc6.js.br +0 -0
- package/dist/TextField-641e6fd1.cjs +0 -54
- package/dist/ThankYou-6fc9044f.js.br +0 -0
- package/dist/_-f5a3364b.js.br +0 -0
- package/dist/event-46a84617.js.br +0 -0
- package/dist/index-a3de1ca3.js.br +0 -0
- package/dist/index-e81b12be.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./SelectField.vue_vue_type_style_index_0_lang-4755fb8a.cjs"),s=require("./TextField-6f7e37d9.cjs"),y=require("./NumberField.vue_vue_type_script_setup_true_lang-50fc08f1.cjs"),b={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(p,{emit:c}){const i=c,t=p,a=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 m(){i("action")}return(e,o)=>(l.openBlock(),l.createBlock(l.InputField,{label:e.label,id:l.unref(a),icon:e.icon,"icon-type":e.iconType,required:e.required,type:e.type,readonly:e.readonly},{default:l.withCtx(()=>[l.createBaseVNode("div",b,[e.type==="dropdown"&&e.data?(l.openBlock(),l.createBlock(s._sfc_main,{key:0,modelValue:d.value,"onUpdate:modelValue":o[0]||(o[0]=n=>d.value=n),id:l.unref(a),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(y._sfc_main,{key:1,modelValue:r.value,"onUpdate:modelValue":o[1]||(o[1]=n=>r.value=n),id:l.unref(a),"min-value":e.minValue,"max-value":e.maxValue},null,8,["modelValue","id","min-value","max-value"])):(l.openBlock(),l.createBlock(s.TextField,{key:2,modelValue:d.value,"onUpdate:modelValue":o[2]||(o[2]=n=>d.value=n),id:l.unref(a),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]=n=>m())},null,8,["data-test","icon","label","icon-color","styling","is-loading","disabled","secondary"])])]),_:1},8,["label","id","icon","icon-type","required","type","readonly"]))}});const V=l._export_sfc(f,[["__scopeId","data-v-07d4466b"]]);exports.ActionField=V;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as f, j as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
1
|
+
import { h as f, j as V, c as p, k as d, l as i, w as v, x as g, n as t, m as q, C as k, I as B, _ as I } from "./SelectField.vue_vue_type_style_index_0_lang-e2f4edc3.js";
|
|
2
|
+
import { _ as C, T as F } from "./TextField-cd93b966.js";
|
|
3
|
+
import { _ as A } from "./NumberField.vue_vue_type_script_setup_true_lang-2eb1b46f.js";
|
|
4
|
+
const h = { class: "fresh-booking-action-field" }, L = /* @__PURE__ */ f({
|
|
5
5
|
__name: "ActionField",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: {},
|
|
@@ -26,22 +26,22 @@ const A = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ f({
|
|
|
26
26
|
isLoading: { type: Boolean, default: !1 }
|
|
27
27
|
},
|
|
28
28
|
emits: ["update:modelValue", "action"],
|
|
29
|
-
setup(y, { emit:
|
|
30
|
-
const u = y, o = u.id ||
|
|
29
|
+
setup(y, { emit: b }) {
|
|
30
|
+
const s = b, u = y, o = u.id || V();
|
|
31
31
|
function r(e) {
|
|
32
32
|
s("update:modelValue", e);
|
|
33
33
|
}
|
|
34
|
-
const n =
|
|
34
|
+
const n = p({
|
|
35
35
|
get: () => u.modelValue,
|
|
36
36
|
set: (e) => r(e)
|
|
37
|
-
}),
|
|
37
|
+
}), m = p({
|
|
38
38
|
get: () => u.modelValue,
|
|
39
39
|
set: (e) => r(e)
|
|
40
40
|
});
|
|
41
|
-
function
|
|
41
|
+
function c() {
|
|
42
42
|
s("action");
|
|
43
43
|
}
|
|
44
|
-
return (e, a) => (d(), i(
|
|
44
|
+
return (e, a) => (d(), i(B, {
|
|
45
45
|
label: e.label,
|
|
46
46
|
id: t(o),
|
|
47
47
|
icon: e.icon,
|
|
@@ -50,9 +50,9 @@ const A = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ f({
|
|
|
50
50
|
type: e.type,
|
|
51
51
|
readonly: e.readonly
|
|
52
52
|
}, {
|
|
53
|
-
default:
|
|
54
|
-
|
|
55
|
-
e.type === "dropdown" && e.data ? (d(), i(
|
|
53
|
+
default: v(() => [
|
|
54
|
+
g("div", h, [
|
|
55
|
+
e.type === "dropdown" && e.data ? (d(), i(C, {
|
|
56
56
|
key: 0,
|
|
57
57
|
modelValue: n.value,
|
|
58
58
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
|
|
@@ -61,14 +61,14 @@ const A = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ f({
|
|
|
61
61
|
name: e.name,
|
|
62
62
|
required: e.required,
|
|
63
63
|
placeholder: e.placeholder
|
|
64
|
-
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (d(), i(
|
|
64
|
+
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (d(), i(A, {
|
|
65
65
|
key: 1,
|
|
66
|
-
modelValue:
|
|
67
|
-
"onUpdate:modelValue": a[1] || (a[1] = (l) =>
|
|
66
|
+
modelValue: m.value,
|
|
67
|
+
"onUpdate:modelValue": a[1] || (a[1] = (l) => m.value = l),
|
|
68
68
|
id: t(o),
|
|
69
69
|
"min-value": e.minValue,
|
|
70
70
|
"max-value": e.maxValue
|
|
71
|
-
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (d(), i(
|
|
71
|
+
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (d(), i(F, {
|
|
72
72
|
key: 2,
|
|
73
73
|
modelValue: n.value,
|
|
74
74
|
"onUpdate:modelValue": a[2] || (a[2] = (l) => n.value = l),
|
|
@@ -77,7 +77,7 @@ const A = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ f({
|
|
|
77
77
|
required: e.required,
|
|
78
78
|
placeholder: e.placeholder
|
|
79
79
|
}, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
|
|
80
|
-
|
|
80
|
+
q(k, {
|
|
81
81
|
"data-test": `${e.name}Submit`,
|
|
82
82
|
icon: e.buttonIcon,
|
|
83
83
|
label: e.buttonLabel,
|
|
@@ -87,7 +87,7 @@ const A = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ f({
|
|
|
87
87
|
"is-loading": e.isLoading,
|
|
88
88
|
disabled: e.buttonDisabled,
|
|
89
89
|
secondary: e.secondary,
|
|
90
|
-
onClickEvent: a[3] || (a[3] = (l) =>
|
|
90
|
+
onClickEvent: a[3] || (a[3] = (l) => c())
|
|
91
91
|
}, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
|
|
92
92
|
])
|
|
93
93
|
]),
|
|
@@ -95,7 +95,7 @@ const A = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ f({
|
|
|
95
95
|
}, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
-
const
|
|
98
|
+
const U = /* @__PURE__ */ I(L, [["__scopeId", "data-v-07d4466b"]]);
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
U as A
|
|
101
101
|
};
|
|
Binary file
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { h as E, s as R, a as M, k as v, q as k, ad as q, y as Y, r as J, c as L, $ as j, o as W, l as O, w as X, x as V, t as w, m as f, n as s, A as P, C as Z, v as B, _ as U } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import { u as N, a as F, _ as ee } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as H } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { h as E, s as R, a as M, k as v, q as k, ad as q, y as Y, r as J, c as L, $ as j, o as W, l as O, w as X, x as V, t as w, m as f, n as s, A as P, C as Z, v as B, _ as U } from "./SelectField.vue_vue_type_style_index_0_lang-e2f4edc3.js";
|
|
2
|
+
import { u as N, a as F, _ as ee } from "./DateField.vue_vue_type_style_index_0_lang-ec35955b.js";
|
|
3
|
+
import { _ as H } from "./NumberField.vue_vue_type_script_setup_true_lang-2eb1b46f.js";
|
|
4
4
|
import { c as x } from "./_commonjsHelpers-c5d32002.js";
|
|
5
|
-
import { E as G } from "./_-
|
|
6
|
-
import { F as D } from "./Field-
|
|
7
|
-
var K = {}, C = {}, S = {}, te = x && x.__awaiter || function(e, n,
|
|
8
|
-
function r(
|
|
9
|
-
return
|
|
10
|
-
o(
|
|
5
|
+
import { E as G } from "./_-8772cf9a.js";
|
|
6
|
+
import { F as D } from "./Field-ff599d13.js";
|
|
7
|
+
var K = {}, C = {}, S = {}, te = x && x.__awaiter || function(e, n, a, i) {
|
|
8
|
+
function r(t) {
|
|
9
|
+
return t instanceof a ? t : new a(function(o) {
|
|
10
|
+
o(t);
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
return new (
|
|
13
|
+
return new (a || (a = Promise))(function(t, o) {
|
|
14
14
|
function c(u) {
|
|
15
15
|
try {
|
|
16
16
|
l(i.next(u));
|
|
@@ -26,16 +26,16 @@ var K = {}, C = {}, S = {}, te = x && x.__awaiter || function(e, n, t, i) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
function l(u) {
|
|
29
|
-
u.done ?
|
|
29
|
+
u.done ? t(u.value) : r(u.value).then(c, d);
|
|
30
30
|
}
|
|
31
31
|
l((i = i.apply(e, n || [])).next());
|
|
32
32
|
});
|
|
33
33
|
}, ae = x && x.__generator || function(e, n) {
|
|
34
|
-
var
|
|
35
|
-
if (
|
|
36
|
-
throw
|
|
37
|
-
return
|
|
38
|
-
}, trys: [], ops: [] }, i, r,
|
|
34
|
+
var a = { label: 0, sent: function() {
|
|
35
|
+
if (t[0] & 1)
|
|
36
|
+
throw t[1];
|
|
37
|
+
return t[1];
|
|
38
|
+
}, trys: [], ops: [] }, i, r, t, o;
|
|
39
39
|
return o = { next: c(0), throw: c(1), return: c(2) }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
|
|
40
40
|
return this;
|
|
41
41
|
}), o;
|
|
@@ -47,48 +47,48 @@ var K = {}, C = {}, S = {}, te = x && x.__awaiter || function(e, n, t, i) {
|
|
|
47
47
|
function d(l) {
|
|
48
48
|
if (i)
|
|
49
49
|
throw new TypeError("Generator is already executing.");
|
|
50
|
-
for (;
|
|
50
|
+
for (; a; )
|
|
51
51
|
try {
|
|
52
|
-
if (i = 1, r && (
|
|
53
|
-
return
|
|
54
|
-
switch (r = 0,
|
|
52
|
+
if (i = 1, r && (t = l[0] & 2 ? r.return : l[0] ? r.throw || ((t = r.return) && t.call(r), 0) : r.next) && !(t = t.call(r, l[1])).done)
|
|
53
|
+
return t;
|
|
54
|
+
switch (r = 0, t && (l = [l[0] & 2, t.value]), l[0]) {
|
|
55
55
|
case 0:
|
|
56
56
|
case 1:
|
|
57
|
-
|
|
57
|
+
t = l;
|
|
58
58
|
break;
|
|
59
59
|
case 4:
|
|
60
|
-
return
|
|
60
|
+
return a.label++, { value: l[1], done: !1 };
|
|
61
61
|
case 5:
|
|
62
|
-
|
|
62
|
+
a.label++, r = l[1], l = [0];
|
|
63
63
|
continue;
|
|
64
64
|
case 7:
|
|
65
|
-
l =
|
|
65
|
+
l = a.ops.pop(), a.trys.pop();
|
|
66
66
|
continue;
|
|
67
67
|
default:
|
|
68
|
-
if (
|
|
69
|
-
|
|
68
|
+
if (t = a.trys, !(t = t.length > 0 && t[t.length - 1]) && (l[0] === 6 || l[0] === 2)) {
|
|
69
|
+
a = 0;
|
|
70
70
|
continue;
|
|
71
71
|
}
|
|
72
|
-
if (l[0] === 3 && (!
|
|
73
|
-
|
|
72
|
+
if (l[0] === 3 && (!t || l[1] > t[0] && l[1] < t[3])) {
|
|
73
|
+
a.label = l[1];
|
|
74
74
|
break;
|
|
75
75
|
}
|
|
76
|
-
if (l[0] === 6 &&
|
|
77
|
-
|
|
76
|
+
if (l[0] === 6 && a.label < t[1]) {
|
|
77
|
+
a.label = t[1], t = l;
|
|
78
78
|
break;
|
|
79
79
|
}
|
|
80
|
-
if (
|
|
81
|
-
|
|
80
|
+
if (t && a.label < t[2]) {
|
|
81
|
+
a.label = t[2], a.ops.push(l);
|
|
82
82
|
break;
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
t[2] && a.ops.pop(), a.trys.pop();
|
|
85
85
|
continue;
|
|
86
86
|
}
|
|
87
|
-
l = n.call(e,
|
|
87
|
+
l = n.call(e, a);
|
|
88
88
|
} catch (u) {
|
|
89
89
|
l = [6, u], r = 0;
|
|
90
90
|
} finally {
|
|
91
|
-
i =
|
|
91
|
+
i = t = 0;
|
|
92
92
|
}
|
|
93
93
|
if (l[0] & 5)
|
|
94
94
|
throw l[1];
|
|
@@ -98,12 +98,12 @@ var K = {}, C = {}, S = {}, te = x && x.__awaiter || function(e, n, t, i) {
|
|
|
98
98
|
Object.defineProperty(S, "__esModule", { value: !0 });
|
|
99
99
|
S.ReCaptchaInstance = void 0;
|
|
100
100
|
var ne = function() {
|
|
101
|
-
function e(n,
|
|
102
|
-
this.siteKey = n, this.recaptchaID =
|
|
101
|
+
function e(n, a, i) {
|
|
102
|
+
this.siteKey = n, this.recaptchaID = a, this.recaptcha = i, this.styleContainer = null;
|
|
103
103
|
}
|
|
104
104
|
return e.prototype.execute = function(n) {
|
|
105
105
|
return te(this, void 0, void 0, function() {
|
|
106
|
-
return ae(this, function(
|
|
106
|
+
return ae(this, function(a) {
|
|
107
107
|
return [2, this.recaptcha.enterprise ? this.recaptcha.enterprise.execute(this.recaptchaID, { action: n }) : this.recaptcha.execute(this.recaptchaID, { action: n })];
|
|
108
108
|
});
|
|
109
109
|
});
|
|
@@ -125,32 +125,32 @@ var ie = S, b;
|
|
|
125
125
|
var z = function() {
|
|
126
126
|
function e() {
|
|
127
127
|
}
|
|
128
|
-
return e.load = function(n,
|
|
129
|
-
if (
|
|
128
|
+
return e.load = function(n, a) {
|
|
129
|
+
if (a === void 0 && (a = {}), typeof document > "u")
|
|
130
130
|
return Promise.reject(new Error("This is a library for the browser!"));
|
|
131
131
|
if (e.getLoadingState() === b.LOADED)
|
|
132
132
|
return e.instance.getSiteKey() === n ? Promise.resolve(e.instance) : Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));
|
|
133
133
|
if (e.getLoadingState() === b.LOADING)
|
|
134
|
-
return n !== e.instanceSiteKey ? Promise.reject(new Error("reCAPTCHA already loaded with different site key!")) : new Promise(function(r,
|
|
134
|
+
return n !== e.instanceSiteKey ? Promise.reject(new Error("reCAPTCHA already loaded with different site key!")) : new Promise(function(r, t) {
|
|
135
135
|
e.successfulLoadingConsumers.push(function(o) {
|
|
136
136
|
return r(o);
|
|
137
137
|
}), e.errorLoadingRunnable.push(function(o) {
|
|
138
|
-
return
|
|
138
|
+
return t(o);
|
|
139
139
|
});
|
|
140
140
|
});
|
|
141
141
|
e.instanceSiteKey = n, e.setLoadingState(b.LOADING);
|
|
142
142
|
var i = new e();
|
|
143
|
-
return new Promise(function(r,
|
|
144
|
-
i.loadScript(n,
|
|
143
|
+
return new Promise(function(r, t) {
|
|
144
|
+
i.loadScript(n, a.useRecaptchaNet || !1, a.useEnterprise || !1, a.renderParameters ? a.renderParameters : {}, a.customUrl).then(function() {
|
|
145
145
|
e.setLoadingState(b.LOADED);
|
|
146
|
-
var o = i.doExplicitRender(grecaptcha, n,
|
|
146
|
+
var o = i.doExplicitRender(grecaptcha, n, a.explicitRenderParameters ? a.explicitRenderParameters : {}, a.useEnterprise || !1), c = new ie.ReCaptchaInstance(n, o, grecaptcha);
|
|
147
147
|
e.successfulLoadingConsumers.forEach(function(d) {
|
|
148
148
|
return d(c);
|
|
149
|
-
}), e.successfulLoadingConsumers = [],
|
|
149
|
+
}), e.successfulLoadingConsumers = [], a.autoHideBadge && c.hideBadge(), e.instance = c, r(c);
|
|
150
150
|
}).catch(function(o) {
|
|
151
151
|
e.errorLoadingRunnable.forEach(function(c) {
|
|
152
152
|
return c(o);
|
|
153
|
-
}), e.errorLoadingRunnable = [],
|
|
153
|
+
}), e.errorLoadingRunnable = [], t(o);
|
|
154
154
|
});
|
|
155
155
|
});
|
|
156
156
|
}, e.getInstance = function() {
|
|
@@ -159,13 +159,13 @@ var z = function() {
|
|
|
159
159
|
e.loadingState = n;
|
|
160
160
|
}, e.getLoadingState = function() {
|
|
161
161
|
return e.loadingState === null ? b.NOT_LOADED : e.loadingState;
|
|
162
|
-
}, e.prototype.loadScript = function(n,
|
|
162
|
+
}, e.prototype.loadScript = function(n, a, i, r, t) {
|
|
163
163
|
var o = this;
|
|
164
|
-
|
|
164
|
+
a === void 0 && (a = !1), i === void 0 && (i = !1), r === void 0 && (r = {}), t === void 0 && (t = "");
|
|
165
165
|
var c = document.createElement("script");
|
|
166
166
|
c.setAttribute("recaptcha-v3-script", "");
|
|
167
167
|
var d = "https://www.google.com/recaptcha/api.js";
|
|
168
|
-
|
|
168
|
+
a && (i ? d = "https://recaptcha.net/recaptcha/enterprise.js" : d = "https://recaptcha.net/recaptcha/api.js"), i && (d = "https://www.google.com/recaptcha/enterprise.js"), t && (d = t), r.render && (r.render = void 0);
|
|
169
169
|
var l = this.buildQueryString(r);
|
|
170
170
|
return c.src = d + "?render=explicit" + l, new Promise(function(u, y) {
|
|
171
171
|
c.addEventListener("load", o.waitForScriptToLoad(function() {
|
|
@@ -175,31 +175,31 @@ var z = function() {
|
|
|
175
175
|
}, document.head.appendChild(c);
|
|
176
176
|
});
|
|
177
177
|
}, e.prototype.buildQueryString = function(n) {
|
|
178
|
-
var
|
|
179
|
-
return
|
|
178
|
+
var a = Object.keys(n);
|
|
179
|
+
return a.length < 1 ? "" : "&" + Object.keys(n).filter(function(i) {
|
|
180
180
|
return !!n[i];
|
|
181
181
|
}).map(function(i) {
|
|
182
182
|
return i + "=" + n[i];
|
|
183
183
|
}).join("&");
|
|
184
|
-
}, e.prototype.waitForScriptToLoad = function(n,
|
|
184
|
+
}, e.prototype.waitForScriptToLoad = function(n, a) {
|
|
185
185
|
var i = this;
|
|
186
186
|
return function() {
|
|
187
187
|
window.grecaptcha === void 0 ? setTimeout(function() {
|
|
188
|
-
i.waitForScriptToLoad(n,
|
|
189
|
-
}, e.SCRIPT_LOAD_DELAY) :
|
|
188
|
+
i.waitForScriptToLoad(n, a);
|
|
189
|
+
}, e.SCRIPT_LOAD_DELAY) : a ? window.grecaptcha.enterprise.ready(function() {
|
|
190
190
|
n();
|
|
191
191
|
}) : window.grecaptcha.ready(function() {
|
|
192
192
|
n();
|
|
193
193
|
});
|
|
194
194
|
};
|
|
195
|
-
}, e.prototype.doExplicitRender = function(n,
|
|
196
|
-
var
|
|
197
|
-
sitekey:
|
|
195
|
+
}, e.prototype.doExplicitRender = function(n, a, i, r) {
|
|
196
|
+
var t = {
|
|
197
|
+
sitekey: a,
|
|
198
198
|
badge: i.badge,
|
|
199
199
|
size: i.size,
|
|
200
200
|
tabindex: i.tabindex
|
|
201
201
|
};
|
|
202
|
-
return i.container ? r ? n.enterprise.render(i.container,
|
|
202
|
+
return i.container ? r ? n.enterprise.render(i.container, t) : n.render(i.container, t) : r ? n.enterprise.render(t) : n.render(t);
|
|
203
203
|
}, e.loadingState = null, e.instance = null, e.instanceSiteKey = null, e.successfulLoadingConsumers = [], e.errorLoadingRunnable = [], e.SCRIPT_LOAD_DELAY = 25, e;
|
|
204
204
|
}();
|
|
205
205
|
C.load = z.load;
|
|
@@ -212,9 +212,9 @@ C.getInstance = z.getInstance;
|
|
|
212
212
|
} }), Object.defineProperty(e, "getInstance", { enumerable: !0, get: function() {
|
|
213
213
|
return n.getInstance;
|
|
214
214
|
} });
|
|
215
|
-
var
|
|
215
|
+
var a = S;
|
|
216
216
|
Object.defineProperty(e, "ReCaptchaInstance", { enumerable: !0, get: function() {
|
|
217
|
-
return
|
|
217
|
+
return a.ReCaptchaInstance;
|
|
218
218
|
} });
|
|
219
219
|
})(K);
|
|
220
220
|
const le = /* @__PURE__ */ E({
|
|
@@ -222,14 +222,14 @@ const le = /* @__PURE__ */ E({
|
|
|
222
222
|
emits: ["submit"],
|
|
223
223
|
setup(e, { emit: n }) {
|
|
224
224
|
const {
|
|
225
|
-
recaptchaSiteKey:
|
|
226
|
-
} = R(M());
|
|
227
|
-
async function
|
|
228
|
-
const
|
|
229
|
-
console.log(
|
|
225
|
+
recaptchaSiteKey: a
|
|
226
|
+
} = R(M()), i = n;
|
|
227
|
+
async function r() {
|
|
228
|
+
const o = await (await K.load(a.value)).execute("<action>");
|
|
229
|
+
console.log(o), i("submit");
|
|
230
230
|
}
|
|
231
|
-
return (
|
|
232
|
-
q(
|
|
231
|
+
return (t, o) => (v(), k("form", { onSubmit: r }, [
|
|
232
|
+
q(t.$slots, "default")
|
|
233
233
|
], 32));
|
|
234
234
|
}
|
|
235
235
|
}), re = { id: "fresh-booking-availability-date-selection" }, oe = {
|
|
@@ -242,10 +242,10 @@ const le = /* @__PURE__ */ E({
|
|
|
242
242
|
link: {}
|
|
243
243
|
},
|
|
244
244
|
setup(e) {
|
|
245
|
-
const
|
|
245
|
+
const { t: n } = Y(), a = e, {
|
|
246
246
|
adults: i,
|
|
247
247
|
children: r,
|
|
248
|
-
arrivalDate:
|
|
248
|
+
arrivalDate: t,
|
|
249
249
|
departureDate: o,
|
|
250
250
|
location: c,
|
|
251
251
|
isExpired: d
|
|
@@ -254,17 +254,17 @@ const le = /* @__PURE__ */ E({
|
|
|
254
254
|
lastSelectableDateOffset: T,
|
|
255
255
|
disableChildSelection: g,
|
|
256
256
|
disableAdultSelection: _
|
|
257
|
-
} = R(M()), I = J([]), pe = L(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (A.value - 1)))), me = L(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), be = L(() => new Date((/* @__PURE__ */ new Date()).setDate(
|
|
257
|
+
} = R(M()), I = J([]), pe = L(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (A.value - 1)))), me = L(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), be = L(() => new Date((/* @__PURE__ */ new Date()).setDate(t.value.getDate() + A.value))), ye = L(() => new Date((/* @__PURE__ */ new Date()).setDate(t.value.getDate() + (T.value + 1)))), $ = L(() => !(!_ && i.value === 0));
|
|
258
258
|
function Q() {
|
|
259
|
-
|
|
259
|
+
a.booking === !1 ? window.location.replace(a.link) : $.value && u();
|
|
260
260
|
}
|
|
261
|
-
return j(
|
|
261
|
+
return j(t, (p) => {
|
|
262
262
|
const h = new Date(new Date(p).setDate(new Date(p).getDate() + 1));
|
|
263
263
|
new Date(o.value) < h && (o.value = h);
|
|
264
264
|
}), j(I, (p) => {
|
|
265
|
-
|
|
265
|
+
t.value = p[0], o.value = p[1];
|
|
266
266
|
}), W(() => {
|
|
267
|
-
d.value &&
|
|
267
|
+
d.value && a.booking && l(), I.value = [t.value, o.value];
|
|
268
268
|
}), (p, h) => (v(), O(le, {
|
|
269
269
|
id: "konnectio-availability-form",
|
|
270
270
|
class: B({ reservation: p.booking }),
|
|
@@ -286,7 +286,7 @@ const le = /* @__PURE__ */ E({
|
|
|
286
286
|
f(ee, {
|
|
287
287
|
modelValue: I.value,
|
|
288
288
|
"onUpdate:modelValue": h[1] || (h[1] = (m) => I.value = m),
|
|
289
|
-
label: s(
|
|
289
|
+
label: s(n)("availability.checkInOut"),
|
|
290
290
|
"icon-type": "fas",
|
|
291
291
|
"icon-placement": "label",
|
|
292
292
|
"min-range": 1,
|
|
@@ -299,7 +299,7 @@ const le = /* @__PURE__ */ E({
|
|
|
299
299
|
key: 0,
|
|
300
300
|
modelValue: s(i),
|
|
301
301
|
"onUpdate:modelValue": h[4] || (h[4] = (m) => P(i) ? i.value = m : null),
|
|
302
|
-
label: s(
|
|
302
|
+
label: s(n)("availability.adults"),
|
|
303
303
|
"icon-type": "fas",
|
|
304
304
|
"icon-placement": "label",
|
|
305
305
|
name: "adults",
|
|
@@ -309,7 +309,7 @@ const le = /* @__PURE__ */ E({
|
|
|
309
309
|
key: 1,
|
|
310
310
|
modelValue: s(r),
|
|
311
311
|
"onUpdate:modelValue": h[5] || (h[5] = (m) => P(r) ? r.value = m : null),
|
|
312
|
-
label: s(
|
|
312
|
+
label: s(n)("availability.children"),
|
|
313
313
|
"icon-type": "fas",
|
|
314
314
|
"icon-placement": "label",
|
|
315
315
|
name: "children",
|
|
@@ -318,7 +318,7 @@ const le = /* @__PURE__ */ E({
|
|
|
318
318
|
])) : w("", !0),
|
|
319
319
|
V("li", ce, [
|
|
320
320
|
f(Z, {
|
|
321
|
-
label: s(
|
|
321
|
+
label: s(n)("availability.buttonLabel"),
|
|
322
322
|
disabled: !$.value,
|
|
323
323
|
"is-loading": s(y)
|
|
324
324
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
@@ -344,7 +344,7 @@ const Le = /* @__PURE__ */ U(se, [["__scopeId", "data-v-61d87281"]]), ue = { cla
|
|
|
344
344
|
view: { default: "hotel" }
|
|
345
345
|
},
|
|
346
346
|
setup(e) {
|
|
347
|
-
return (n,
|
|
347
|
+
return (n, a) => (v(), k("div", ue, [
|
|
348
348
|
n.view === "both" ? (v(), k("div", de, [
|
|
349
349
|
f(G, {
|
|
350
350
|
height: "28px",
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-4755fb8a.cjs"),D=require("./DateField.vue_vue_type_style_index_0_lang-47e679d1.cjs"),F=require("./NumberField.vue_vue_type_script_setup_true_lang-50fc08f1.cjs"),C=require("./_commonjsHelpers-6763f629.cjs"),L=require("./_-0895679a.cjs"),b=require("./Field-dcffacf2.cjs");var A={},g={},w={},B=C.commonjsGlobal&&C.commonjsGlobal.__awaiter||function(t,l,a,i){function o(n){return n instanceof a?n:new a(function(c){c(n)})}return new(a||(a=Promise))(function(n,c){function u(s){try{r(i.next(s))}catch(y){c(y)}}function d(s){try{r(i.throw(s))}catch(y){c(y)}}function r(s){s.done?n(s.value):o(s.value).then(u,d)}r((i=i.apply(t,l||[])).next())})},N=C.commonjsGlobal&&C.commonjsGlobal.__generator||function(t,l){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,o,n,c;return c={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function u(r){return function(s){return d([r,s])}}function d(r){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,o&&(n=r[0]&2?o.return:r[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,r[1])).done)return n;switch(o=0,n&&(r=[r[0]&2,n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,o=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(r[0]===6||r[0]===2)){a=0;continue}if(r[0]===3&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(r[0]===6&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=l.call(t,a)}catch(s){r=[6,s],o=0}finally{i=n=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(w,"__esModule",{value:!0});w.ReCaptchaInstance=void 0;var O=function(){function t(l,a,i){this.siteKey=l,this.recaptchaID=a,this.recaptcha=i,this.styleContainer=null}return t.prototype.execute=function(l){return B(this,void 0,void 0,function(){return N(this,function(a){return[2,this.recaptcha.enterprise?this.recaptcha.enterprise.execute(this.recaptchaID,{action:l}):this.recaptcha.execute(this.recaptchaID,{action:l})]})})},t.prototype.getSiteKey=function(){return this.siteKey},t.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},t.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},t}();w.ReCaptchaInstance=O;Object.defineProperty(g,"__esModule",{value:!0});g.getInstance=g.load=void 0;var E=w,p;(function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"})(p||(p={}));var R=function(){function t(){}return t.load=function(l,a){if(a===void 0&&(a={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(t.getLoadingState()===p.LOADED)return t.instance.getSiteKey()===l?Promise.resolve(t.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(t.getLoadingState()===p.LOADING)return l!==t.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(o,n){t.successfulLoadingConsumers.push(function(c){return o(c)}),t.errorLoadingRunnable.push(function(c){return n(c)})});t.instanceSiteKey=l,t.setLoadingState(p.LOADING);var i=new t;return new Promise(function(o,n){i.loadScript(l,a.useRecaptchaNet||!1,a.useEnterprise||!1,a.renderParameters?a.renderParameters:{},a.customUrl).then(function(){t.setLoadingState(p.LOADED);var c=i.doExplicitRender(grecaptcha,l,a.explicitRenderParameters?a.explicitRenderParameters:{},a.useEnterprise||!1),u=new E.ReCaptchaInstance(l,c,grecaptcha);t.successfulLoadingConsumers.forEach(function(d){return d(u)}),t.successfulLoadingConsumers=[],a.autoHideBadge&&u.hideBadge(),t.instance=u,o(u)}).catch(function(c){t.errorLoadingRunnable.forEach(function(u){return u(c)}),t.errorLoadingRunnable=[],n(c)})})},t.getInstance=function(){return t.instance},t.setLoadingState=function(l){t.loadingState=l},t.getLoadingState=function(){return t.loadingState===null?p.NOT_LOADED:t.loadingState},t.prototype.loadScript=function(l,a,i,o,n){var c=this;a===void 0&&(a=!1),i===void 0&&(i=!1),o===void 0&&(o={}),n===void 0&&(n="");var u=document.createElement("script");u.setAttribute("recaptcha-v3-script","");var d="https://www.google.com/recaptcha/api.js";a&&(i?d="https://recaptcha.net/recaptcha/enterprise.js":d="https://recaptcha.net/recaptcha/api.js"),i&&(d="https://www.google.com/recaptcha/enterprise.js"),n&&(d=n),o.render&&(o.render=void 0);var r=this.buildQueryString(o);return u.src=d+"?render=explicit"+r,new Promise(function(s,y){u.addEventListener("load",c.waitForScriptToLoad(function(){s(u)},i),!1),u.onerror=function(k){t.setLoadingState(p.NOT_LOADED),y(k)},document.head.appendChild(u)})},t.prototype.buildQueryString=function(l){var a=Object.keys(l);return a.length<1?"":"&"+Object.keys(l).filter(function(i){return!!l[i]}).map(function(i){return i+"="+l[i]}).join("&")},t.prototype.waitForScriptToLoad=function(l,a){var i=this;return function(){window.grecaptcha===void 0?setTimeout(function(){i.waitForScriptToLoad(l,a)},t.SCRIPT_LOAD_DELAY):a?window.grecaptcha.enterprise.ready(function(){l()}):window.grecaptcha.ready(function(){l()})}},t.prototype.doExplicitRender=function(l,a,i,o){var n={sitekey:a,badge:i.badge,size:i.size,tabindex:i.tabindex};return i.container?o?l.enterprise.render(i.container,n):l.render(i.container,n):o?l.enterprise.render(n):l.render(n)},t.loadingState=null,t.instance=null,t.instanceSiteKey=null,t.successfulLoadingConsumers=[],t.errorLoadingRunnable=[],t.SCRIPT_LOAD_DELAY=25,t}();g.load=R.load;g.getInstance=R.getInstance;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ReCaptchaInstance=t.getInstance=t.load=void 0;var l=g;Object.defineProperty(t,"load",{enumerable:!0,get:function(){return l.load}}),Object.defineProperty(t,"getInstance",{enumerable:!0,get:function(){return l.getInstance}});var a=w;Object.defineProperty(t,"ReCaptchaInstance",{enumerable:!0,get:function(){return a.ReCaptchaInstance}})})(A);const T=e.defineComponent({__name:"_",emits:["submit"],setup(t,{emit:l}){const{recaptchaSiteKey:a}=e.storeToRefs(e.useUtilityStore()),i=l;async function o(){const c=await(await A.load(a.value)).execute("<action>");console.log(c),i("submit")}return(n,c)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:o},[e.renderSlot(n.$slots,"default")],32))}}),j={id:"fresh-booking-availability-date-selection"},P={key:0,id:"fresh-booking-availability-guest-selection"},$={id:"fresh-booking-availability-confirmation"},H=e.defineComponent({__name:"HotelAvailabilityForm",props:{booking:{type:Boolean,default:!1},link:{}},setup(t){const{t:l}=e.useI18n(),a=t,{adults:i,children:o,arrivalDate:n,departureDate:c,location:u,isExpired:d}=e.storeToRefs(D.useAvailabilityStore()),{reset:r}=D.useAvailabilityStore(),{fetchAvailabilityData:s}=D.useHotelStore(),{areListingsLoading:y}=e.storeToRefs(D.useHotelStore()),{firstSelectableDateOffset:k,lastSelectableDateOffset:x,disableChildSelection:h,disableAdultSelection:m}=e.storeToRefs(e.useUtilityStore()),S=e.ref([]),Y=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+(k.value-1)))),J=e.computed(()=>new Date(new Date().setDate(new Date().getDate()+x.value))),W=e.computed(()=>new Date(new Date().setDate(n.value.getDate()+k.value))),X=e.computed(()=>new Date(new Date().setDate(n.value.getDate()+(x.value+1)))),V=e.computed(()=>!(!m&&i.value===0));function I(){a.booking===!1?window.location.replace(a.link):V.value&&s()}return e.watch(n,f=>{const _=new Date(new Date(f).setDate(new Date(f).getDate()+1));new Date(c.value)<_&&(c.value=_)}),e.watch(S,f=>{n.value=f[0],c.value=f[1]}),e.onMounted(()=>{d.value&&a.booking&&r(),S.value=[n.value,c.value]}),(f,_)=>(e.openBlock(),e.createBlock(T,{id:"konnectio-availability-form",class:e.normalizeClass({reservation:f.booking}),onSubmit:I},{default:e.withCtx(()=>[e.createBaseVNode("ul",{id:"konnectio-availability-form-content",class:e.normalizeClass([{"is-not-booking-page":!f.booking},{"only-adult-guests":!e.unref(m)&&e.unref(h)},{"only-child-guests":!e.unref(h)&&e.unref(m)},{"no-guests":e.unref(m)&&e.unref(h)},{"all-guests":!e.unref(m)&&!e.unref(h)}])},[e.createBaseVNode("li",j,[e.createCommentVNode("",!0),e.createVNode(D._sfc_main,{modelValue:S.value,"onUpdate:modelValue":_[1]||(_[1]=v=>S.value=v),label:e.unref(l)("availability.checkInOut"),"icon-type":"fas","icon-placement":"label","min-range":1,range:""},null,8,["modelValue","label"]),e.createCommentVNode("",!0)]),!e.unref(m)||!e.unref(h)?(e.openBlock(),e.createElementBlock("li",P,[e.unref(m)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(F._sfc_main,{key:0,modelValue:e.unref(i),"onUpdate:modelValue":_[4]||(_[4]=v=>e.isRef(i)?i.value=v:null),label:e.unref(l)("availability.adults"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label"])),e.unref(h)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(F._sfc_main,{key:1,modelValue:e.unref(o),"onUpdate:modelValue":_[5]||(_[5]=v=>e.isRef(o)?o.value=v:null),label:e.unref(l)("availability.children"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label"]))])):e.createCommentVNode("",!0),e.createBaseVNode("li",$,[e.createVNode(e.Clickable,{label:e.unref(l)("availability.buttonLabel"),disabled:!V.value,"is-loading":e.unref(y)},null,8,["label","disabled","is-loading"])])],2)]),_:1},8,["class"]))}});const G=e._export_sfc(H,[["__scopeId","data-v-61d87281"]]),q={class:"availability-skeleton"},U={key:0,class:"availability-skeleton-navigation"},M={key:1,class:"availability-skeleton-hotel"},z={key:2,class:"availability-skeleton-event"},K=e.defineComponent({__name:"AvailabilitySkeleton",props:{view:{default:"hotel"}},setup(t){return(l,a)=>(e.openBlock(),e.createElementBlock("div",q,[l.view==="both"?(e.openBlock(),e.createElementBlock("div",U,[e.createVNode(L.Element,{height:"28px",width:"60px","border-radius":"20px"}),e.createVNode(L.Element,{height:"28px",width:"60px","border-radius":"20px"})])):e.createCommentVNode("",!0),l.view!=="event"?(e.openBlock(),e.createElementBlock("div",M,[e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":"","no-label":""})])):(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(b.Field,{"with-icon":""}),e.createVNode(b.Field,{"with-icon":"","no-label":""})]))]))}});const Q=e._export_sfc(K,[["__scopeId","data-v-c266ccbc"]]);exports.AvailabilitySkeleton=Q;exports.HotelAvailabilityForm=G;
|