@konnectio/core 4.0.2 → 4.0.3
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-138c1747.mjs → ActionField-1b4171c7.mjs} +22 -23
- package/dist/ActionField-1b4171c7.mjs.br +0 -0
- package/dist/ActionField-97c0c682.js +2 -0
- package/dist/ActionField-97c0c682.js.br +0 -0
- package/dist/Clickable-eb931b15.mjs +13899 -0
- package/dist/Clickable-eb931b15.mjs.br +0 -0
- package/dist/Clickable-f57e16ad.js +785 -0
- package/dist/Clickable-f57e16ad.js.br +0 -0
- package/dist/HotelAvailabilityForm-5750665b.js +2 -0
- package/dist/HotelAvailabilityForm-5750665b.js.br +0 -0
- package/dist/{HotelAvailabilityForm-a550be2e.mjs → HotelAvailabilityForm-bab6ef4d.mjs} +21 -22
- package/dist/HotelAvailabilityForm-bab6ef4d.mjs.br +0 -0
- package/dist/{NumberField.vue_vue_type_style_index_0_lang-778e8361.mjs → NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs} +52 -53
- package/dist/NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs.br +0 -0
- package/dist/{NumberField.vue_vue_type_style_index_0_lang-de20cf9f.js → NumberField.vue_vue_type_style_index_0_lang-e642c7f3.js} +20 -20
- package/dist/NumberField.vue_vue_type_style_index_0_lang-e642c7f3.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-36454b0f.js +2 -0
- package/dist/ReCaptchaVuePlugin-36454b0f.js.br +0 -0
- package/dist/{ReCaptchaVuePlugin-59863bbf.mjs → ReCaptchaVuePlugin-e4f378b2.mjs} +3 -3
- package/dist/ReCaptchaVuePlugin-e4f378b2.mjs.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-aa7a93a7.js → SelectField.vue_vue_type_style_index_0_lang-a3371159.js} +27 -27
- package/dist/SelectField.vue_vue_type_style_index_0_lang-a3371159.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-b4fb229d.mjs → SelectField.vue_vue_type_style_index_0_lang-d7f0bf68.mjs} +296 -297
- package/dist/SelectField.vue_vue_type_style_index_0_lang-d7f0bf68.mjs.br +0 -0
- package/dist/ThankYou-23531d13.js +16 -0
- package/dist/ThankYou-23531d13.js.br +0 -0
- package/dist/{ThankYou-95c1eef3.mjs → ThankYou-4299d606.mjs} +265 -266
- package/dist/ThankYou-4299d606.mjs.br +0 -0
- package/dist/_commonjsHelpers-6763f629.js +2 -0
- package/dist/_commonjsHelpers-c5d32002.mjs +31 -0
- package/dist/applyGiftCard-9847fda1.js +2 -0
- package/dist/applyGiftCard-9847fda1.js.br +0 -0
- package/dist/{applyGiftCard-fb6fb8f4.mjs → applyGiftCard-eb7b85ee.mjs} +20 -20
- package/dist/applyGiftCard-eb7b85ee.mjs.br +0 -0
- package/dist/availability.cjs.js +1 -1
- package/dist/availability.cjs.js.br +0 -0
- package/dist/availability.es.js +22 -23
- package/dist/availability.es.js.br +0 -0
- package/dist/{event-d697bdb9.mjs → event-1b888019.mjs} +11 -11
- package/dist/event-1b888019.mjs.br +0 -0
- package/dist/event-e8e0c6a2.js +2 -0
- package/dist/event-e8e0c6a2.js.br +0 -0
- package/dist/event.cjs.js +1 -1
- package/dist/event.cjs.js.br +0 -0
- package/dist/event.es.js +149 -150
- package/dist/event.es.js.br +0 -0
- package/dist/gift-card-validation.cjs.js +1 -1
- package/dist/gift-card-validation.cjs.js.br +0 -0
- package/dist/gift-card-validation.es.js +44 -45
- package/dist/gift-card-validation.es.js.br +0 -0
- package/dist/gift-card.cjs.js +1 -1
- package/dist/gift-card.cjs.js.br +0 -0
- package/dist/gift-card.es.js +192 -193
- package/dist/gift-card.es.js.br +0 -0
- package/dist/hotel.cjs.js +5 -5
- package/dist/hotel.cjs.js.br +0 -0
- package/dist/hotel.es.js +258 -257
- package/dist/hotel.es.js.br +0 -0
- package/dist/{index-76459611.mjs → index-937554a9.mjs} +14 -16
- package/dist/index-937554a9.mjs.br +0 -0
- package/dist/index-aa255eba.js +2 -0
- package/dist/index-aa255eba.js.br +0 -0
- package/dist/navigation.cjs.js +1 -1
- package/dist/navigation.cjs.js.br +0 -0
- package/dist/navigation.es.js +18 -19
- package/dist/navigation.es.js.br +0 -0
- package/dist/payment-3140b25e.js +3 -0
- package/dist/payment-3140b25e.js.br +0 -0
- package/dist/{payment-31263275.mjs → payment-b79997a8.mjs} +3 -3
- package/dist/payment-b79997a8.mjs.br +0 -0
- package/dist/polyfill.cjs.js +2 -2
- package/dist/polyfill.cjs.js.br +0 -0
- package/dist/polyfill.es.js +2 -2
- package/dist/polyfill.es.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-138c1747.mjs.br +0 -0
- package/dist/ActionField-2b6751b4.js +0 -2
- package/dist/ActionField-2b6751b4.js.br +0 -0
- package/dist/Clickable-26efd8d0.mjs +0 -3497
- package/dist/Clickable-26efd8d0.mjs.br +0 -0
- package/dist/Clickable-6b252cca.js +0 -763
- package/dist/Clickable-6b252cca.js.br +0 -0
- package/dist/HotelAvailabilityForm-56badafa.js +0 -2
- package/dist/HotelAvailabilityForm-56badafa.js.br +0 -0
- package/dist/HotelAvailabilityForm-a550be2e.mjs.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-778e8361.mjs.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-de20cf9f.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-59863bbf.mjs.br +0 -0
- package/dist/ReCaptchaVuePlugin-809f1dcc.js +0 -2
- package/dist/ReCaptchaVuePlugin-809f1dcc.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-aa7a93a7.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-b4fb229d.mjs.br +0 -0
- package/dist/ThankYou-103d0395.js +0 -16
- package/dist/ThankYou-103d0395.js.br +0 -0
- package/dist/ThankYou-95c1eef3.mjs.br +0 -0
- package/dist/_commonjsHelpers-10dfc225.mjs +0 -9
- package/dist/_commonjsHelpers-87b0abe8.js +0 -2
- package/dist/applyGiftCard-2eac2416.js +0 -2
- package/dist/applyGiftCard-2eac2416.js.br +0 -0
- package/dist/applyGiftCard-fb6fb8f4.mjs.br +0 -0
- package/dist/event-b7b4870b.js +0 -2
- package/dist/event-b7b4870b.js.br +0 -0
- package/dist/event-d697bdb9.mjs.br +0 -0
- package/dist/index-76459611.mjs.br +0 -0
- package/dist/index-95820cc1.js +0 -2
- package/dist/index-95820cc1.js.br +0 -0
- package/dist/payment-215f120d.js +0 -3
- package/dist/payment-215f120d.js.br +0 -0
- package/dist/payment-31263275.mjs.br +0 -0
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./Clickable-f57e16ad.js"),d=require("./NumberField.vue_vue_type_style_index_0_lang-e642c7f3.js"),m=require("./payment-3140b25e.js"),_=require("./applyGiftCard-9847fda1.js"),V={id:"fresh-booking-availability-date-selection"},h={key:0,id:"fresh-booking-availability-guest-selection"},B={id:"fresh-booking-availability-confirmation"},C=e.defineComponent({__name:"HotelAvailabilityForm",props:{booking:{type:Boolean,default:!1},link:{}},setup(k){const f=k,{t:u}=d.useI18n(),{adults:s,children:b,arrivalDate:o,departureDate:r,isExpired:y}=d.storeToRefs(m.useAvailabilityStore()),{reset:g}=m.useAvailabilityStore(),{firstSelectableDateOffset:v,lastSelectableDateOffset:p,disableChildSelection:n,disableAdultSelection:t}=d.storeToRefs(d.useUtilityStore()),c=e.ref([]);e.computed(()=>new Date(new Date().setDate(new Date().getDate()+(v.value-1)))),e.computed(()=>new Date(new Date().setDate(new Date().getDate()+p.value))),e.computed(()=>new Date(new Date().setDate(o.value.getDate()+v.value))),e.computed(()=>new Date(new Date().setDate(o.value.getDate()+(p.value+1))));const D=e.computed(()=>!(!t&&s.value===0));function w(){f.booking===!1?window.location.replace(f.link):D.value&&location.reload()}return e.watch(o,a=>{const l=new Date(new Date(a).setDate(new Date(a).getDate()+1));new Date(r.value)<l&&(r.value=l)}),e.watch(c,a=>{o.value=a[0],r.value=a[1]}),e.onMounted(()=>{y.value&&f.booking&&g(),c.value=[o.value,r.value]}),(a,l)=>(e.openBlock(),e.createElementBlock("form",{id:"fresh-booking-availability-form",class:e.normalizeClass({reservation:a.booking})},[e.createBaseVNode("ul",{id:"fresh-booking-availability-form-content",class:e.normalizeClass([{"is-not-booking-page":!a.booking},{"only-adult-guests":!e.unref(t)&&e.unref(n)},{"only-child-guests":!e.unref(n)&&e.unref(t)},{"no-guests":e.unref(t)&&e.unref(n)},{"all-guests":!e.unref(t)&&!e.unref(n)}])},[e.createBaseVNode("li",V,[e.createVNode(m._sfc_main,{modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=i=>c.value=i),label:e.unref(u)("availability.checkInOut"),"icon-placement":"label","min-range":1,range:""},null,8,["modelValue","label"]),e.createCommentVNode("",!0)]),!e.unref(t)||!e.unref(n)?(e.openBlock(),e.createElementBlock("li",h,[e.unref(t)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(_._sfc_main,{key:0,modelValue:e.unref(s),"onUpdate:modelValue":l[3]||(l[3]=i=>e.isRef(s)?s.value=i:null),label:e.unref(u)("availability.adults"),"icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label"])),e.unref(n)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(_._sfc_main,{key:1,modelValue:e.unref(b),"onUpdate:modelValue":l[4]||(l[4]=i=>e.isRef(b)?b.value=i:null),label:e.unref(u)("availability.children"),"icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label"]))])):e.createCommentVNode("",!0),e.createBaseVNode("li",B,[e.createVNode(e.Clickable,{label:e.unref(u)("availability.buttonLabel"),disabled:!D.value,onClickEvent:w},null,8,["label","disabled"])])],2)],2))}});const N=e._export_sfc(C,[["__scopeId","data-v-c03fc1b6"]]);exports.HotelAvailabilityForm=N;
|
|
2
|
+
//# sourceMappingURL=HotelAvailabilityForm-5750665b.js.map
|
|
Binary file
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as
|
|
3
|
-
import { a as S, _ as
|
|
4
|
-
import {
|
|
5
|
-
import { _ as B } from "./applyGiftCard-fb6fb8f4.mjs";
|
|
1
|
+
import { d as F, r as I, f as s, s as _, g as N, o as b, c as y, b as D, a as w, u as e, k as m, h, i as V, C as O, n as C, _ as R } from "./Clickable-eb931b15.mjs";
|
|
2
|
+
import { u as $, s as A, k as q } from "./NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs";
|
|
3
|
+
import { a as S, _ as z } from "./payment-b79997a8.mjs";
|
|
4
|
+
import { _ as B } from "./applyGiftCard-eb7b85ee.mjs";
|
|
6
5
|
const L = { id: "fresh-booking-availability-date-selection" }, M = {
|
|
7
6
|
key: 0,
|
|
8
7
|
id: "fresh-booking-availability-guest-selection"
|
|
@@ -12,22 +11,22 @@ const L = { id: "fresh-booking-availability-date-selection" }, M = {
|
|
|
12
11
|
booking: { type: Boolean, default: !1 },
|
|
13
12
|
link: {}
|
|
14
13
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const f =
|
|
14
|
+
setup(H) {
|
|
15
|
+
const f = H, { t: u } = $(), {
|
|
17
16
|
adults: r,
|
|
18
17
|
children: v,
|
|
19
18
|
arrivalDate: o,
|
|
20
19
|
departureDate: c,
|
|
21
|
-
isExpired:
|
|
22
|
-
} = A(S()), { reset:
|
|
20
|
+
isExpired: U
|
|
21
|
+
} = A(S()), { reset: x } = S(), {
|
|
23
22
|
firstSelectableDateOffset: p,
|
|
24
23
|
lastSelectableDateOffset: g,
|
|
25
24
|
disableChildSelection: i,
|
|
26
25
|
disableAdultSelection: t
|
|
27
|
-
} = A(
|
|
26
|
+
} = A(q()), d = I([]);
|
|
28
27
|
s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (p.value - 1)))), s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + g.value))), s(() => new Date((/* @__PURE__ */ new Date()).setDate(o.value.getDate() + p.value))), s(() => new Date((/* @__PURE__ */ new Date()).setDate(o.value.getDate() + (g.value + 1))));
|
|
29
28
|
const k = s(() => !(!t && r.value === 0));
|
|
30
|
-
function
|
|
29
|
+
function E() {
|
|
31
30
|
f.booking === !1 ? window.location.replace(f.link) : k.value && location.reload();
|
|
32
31
|
}
|
|
33
32
|
return _(o, (l) => {
|
|
@@ -36,14 +35,14 @@ const L = { id: "fresh-booking-availability-date-selection" }, M = {
|
|
|
36
35
|
}), _(d, (l) => {
|
|
37
36
|
o.value = l[0], c.value = l[1];
|
|
38
37
|
}), N(() => {
|
|
39
|
-
|
|
38
|
+
U.value && f.booking && x(), d.value = [o.value, c.value];
|
|
40
39
|
}), (l, a) => (b(), y("form", {
|
|
41
40
|
id: "fresh-booking-availability-form",
|
|
42
|
-
class:
|
|
41
|
+
class: C({ reservation: l.booking })
|
|
43
42
|
}, [
|
|
44
43
|
D("ul", {
|
|
45
44
|
id: "fresh-booking-availability-form-content",
|
|
46
|
-
class:
|
|
45
|
+
class: C([
|
|
47
46
|
{ "is-not-booking-page": !l.booking },
|
|
48
47
|
{ "only-adult-guests": !e(t) && e(i) },
|
|
49
48
|
{ "only-child-guests": !e(i) && e(t) },
|
|
@@ -52,7 +51,7 @@ const L = { id: "fresh-booking-availability-date-selection" }, M = {
|
|
|
52
51
|
])
|
|
53
52
|
}, [
|
|
54
53
|
D("li", L, [
|
|
55
|
-
|
|
54
|
+
w(z, {
|
|
56
55
|
modelValue: d.value,
|
|
57
56
|
"onUpdate:modelValue": a[0] || (a[0] = (n) => d.value = n),
|
|
58
57
|
label: e(u)("availability.checkInOut"),
|
|
@@ -66,7 +65,7 @@ const L = { id: "fresh-booking-availability-date-selection" }, M = {
|
|
|
66
65
|
e(t) ? m("", !0) : (b(), h(B, {
|
|
67
66
|
key: 0,
|
|
68
67
|
modelValue: e(r),
|
|
69
|
-
"onUpdate:modelValue": a[3] || (a[3] = (n) =>
|
|
68
|
+
"onUpdate:modelValue": a[3] || (a[3] = (n) => V(r) ? r.value = n : null),
|
|
70
69
|
label: e(u)("availability.adults"),
|
|
71
70
|
"icon-placement": "label",
|
|
72
71
|
name: "adults",
|
|
@@ -75,7 +74,7 @@ const L = { id: "fresh-booking-availability-date-selection" }, M = {
|
|
|
75
74
|
e(i) ? m("", !0) : (b(), h(B, {
|
|
76
75
|
key: 1,
|
|
77
76
|
modelValue: e(v),
|
|
78
|
-
"onUpdate:modelValue": a[4] || (a[4] = (n) =>
|
|
77
|
+
"onUpdate:modelValue": a[4] || (a[4] = (n) => V(v) ? v.value = n : null),
|
|
79
78
|
label: e(u)("availability.children"),
|
|
80
79
|
"icon-placement": "label",
|
|
81
80
|
name: "children",
|
|
@@ -83,18 +82,18 @@ const L = { id: "fresh-booking-availability-date-selection" }, M = {
|
|
|
83
82
|
}, null, 8, ["modelValue", "label"]))
|
|
84
83
|
])) : m("", !0),
|
|
85
84
|
D("li", T, [
|
|
86
|
-
|
|
85
|
+
w(O, {
|
|
87
86
|
label: e(u)("availability.buttonLabel"),
|
|
88
87
|
disabled: !k.value,
|
|
89
|
-
onClickEvent:
|
|
88
|
+
onClickEvent: E
|
|
90
89
|
}, null, 8, ["label", "disabled"])
|
|
91
90
|
])
|
|
92
91
|
], 2)
|
|
93
92
|
], 2));
|
|
94
93
|
}
|
|
95
94
|
});
|
|
96
|
-
const
|
|
95
|
+
const Q = /* @__PURE__ */ R(j, [["__scopeId", "data-v-c03fc1b6"]]);
|
|
97
96
|
export {
|
|
98
|
-
|
|
97
|
+
Q as H
|
|
99
98
|
};
|
|
100
|
-
//# sourceMappingURL=HotelAvailabilityForm-
|
|
99
|
+
//# sourceMappingURL=HotelAvailabilityForm-bab6ef4d.mjs.map
|
|
Binary file
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { I as En, _ as fo } from "./Clickable-26efd8d0.mjs";
|
|
1
|
+
import { ae as jn, r as ne, $ as Je, af as Tt, ag as Vs, Q as oo, G as Kt, i as qe, ah as qt, R as Ut, s as Ye, a0 as xs, E as bn, f as M, u as Fe, J as so, K as io, ai as lr, aj as $s, ak as js, d as tt, a3 as ao, g as Bs, H as Ws, F as lo, a as Yt, al as Hs, o as Ne, c as Se, I as En, b as _t, t as co, k as Ke, n as Ht, _ as uo, am as Gs, X as fo, h as zs, V as Js } from "./Clickable-eb931b15.mjs";
|
|
3
2
|
var mo = !1;
|
|
4
3
|
function Rt(e, t, n) {
|
|
5
4
|
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
@@ -648,7 +647,7 @@ function _i({ app: e, store: t, options: n }) {
|
|
|
648
647
|
t
|
|
649
648
|
);
|
|
650
649
|
}
|
|
651
|
-
function
|
|
650
|
+
function Eu() {
|
|
652
651
|
const e = jn(!0), t = e.run(() => ne({}));
|
|
653
652
|
let n = [], r = [];
|
|
654
653
|
const o = Je({
|
|
@@ -674,7 +673,7 @@ function wo(e, t) {
|
|
|
674
673
|
if (!(n in e))
|
|
675
674
|
continue;
|
|
676
675
|
const o = e[n];
|
|
677
|
-
Xe(o) && Xe(r) && !qe(r) && !
|
|
676
|
+
Xe(o) && Xe(r) && !qe(r) && !qt(r) ? e[n] = wo(o, r) : e[n] = r;
|
|
678
677
|
}
|
|
679
678
|
return e;
|
|
680
679
|
}
|
|
@@ -700,7 +699,7 @@ function Nn(e, t) {
|
|
|
700
699
|
if (!t.hasOwnProperty(n))
|
|
701
700
|
continue;
|
|
702
701
|
const r = t[n], o = e[n];
|
|
703
|
-
Xe(o) && Xe(r) && e.hasOwnProperty(n) && !qe(r) && !
|
|
702
|
+
Xe(o) && Xe(r) && e.hasOwnProperty(n) && !qe(r) && !qt(r) ? e[n] = Nn(o, r) : e[n] = r;
|
|
704
703
|
}
|
|
705
704
|
return e;
|
|
706
705
|
}
|
|
@@ -843,7 +842,7 @@ function On(e, t, n = {}, r, o, i) {
|
|
|
843
842
|
const O = r._a && r._a.runWithContext || bi, k = r._e.run(() => (s = jn(), O(() => s.run(t))));
|
|
844
843
|
for (const R in k) {
|
|
845
844
|
const w = k[R];
|
|
846
|
-
if (qe(w) && !dr(w) ||
|
|
845
|
+
if (qe(w) && !dr(w) || qt(w))
|
|
847
846
|
process.env.NODE_ENV !== "production" && o ? Rt(N.value, R, Ut(k, R)) : i || (m && vi(w) && (qe(w) ? w.value = m[R] : Nn(w, m[R])), r.state.value[e][R] = w), process.env.NODE_ENV !== "production" && L.state.push(R);
|
|
848
847
|
else if (typeof w == "function") {
|
|
849
848
|
const G = process.env.NODE_ENV !== "production" && o ? w : A(R, w);
|
|
@@ -946,7 +945,7 @@ This will fail in production.`);
|
|
|
946
945
|
l._hotUpdate(d), delete a.state.value[f], a._s.delete(f);
|
|
947
946
|
}
|
|
948
947
|
if (process.env.NODE_ENV !== "production" && Xt) {
|
|
949
|
-
const f =
|
|
948
|
+
const f = Kt();
|
|
950
949
|
if (f && f.proxy && // avoid adding stores that are just built for hot module replacement
|
|
951
950
|
!l) {
|
|
952
951
|
const d = f.proxy, p = "_pStores" in d ? d._pStores : d._pStores = {};
|
|
@@ -963,7 +962,7 @@ function yi(e) {
|
|
|
963
962
|
const t = {};
|
|
964
963
|
for (const n in e) {
|
|
965
964
|
const r = e[n];
|
|
966
|
-
(qe(r) ||
|
|
965
|
+
(qe(r) || qt(r)) && (t[n] = // ---
|
|
967
966
|
Ut(e, n));
|
|
968
967
|
}
|
|
969
968
|
return t;
|
|
@@ -1127,7 +1126,7 @@ var Ao = { exports: {} };
|
|
|
1127
1126
|
var i = {};
|
|
1128
1127
|
return (() => {
|
|
1129
1128
|
o.r(i), o.d(i, { flare: () => J, readLinesFromFile: () => T });
|
|
1130
|
-
const s = { flareJsKey: "rzAIZ4UzZcOlUo0F0ZcYWETY9Z6JXf82", clientVersion: "3.0.5", sourcemapVersion: "fresh-booking@4.0.
|
|
1129
|
+
const s = { flareJsKey: "rzAIZ4UzZcOlUo0F0ZcYWETY9Z6JXf82", clientVersion: "3.0.5", sourcemapVersion: "fresh-booking@4.0.3" };
|
|
1131
1130
|
function a(I) {
|
|
1132
1131
|
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(P) {
|
|
1133
1132
|
return typeof P;
|
|
@@ -1452,7 +1451,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1452
1451
|
})();
|
|
1453
1452
|
});
|
|
1454
1453
|
})(Ao);
|
|
1455
|
-
var
|
|
1454
|
+
var vu = Ao.exports, Po = { exports: {} };
|
|
1456
1455
|
(function(e, t) {
|
|
1457
1456
|
(function(n, r) {
|
|
1458
1457
|
e.exports = r();
|
|
@@ -1465,7 +1464,7 @@ var yu = Ao.exports, Po = { exports: {} };
|
|
|
1465
1464
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(a, "__esModule", { value: !0 });
|
|
1466
1465
|
} }, r = {};
|
|
1467
1466
|
n.r(r), n.d(r, { flareVue: () => s });
|
|
1468
|
-
const o = { flareJsKey: "rzAIZ4UzZcOlUo0F0ZcYWETY9Z6JXf82", clientVersion: typeof FLARE_JS_CLIENT_VERSION > "u" ? "?" : FLARE_JS_CLIENT_VERSION, sourcemapVersion: "fresh-booking@4.0.
|
|
1467
|
+
const o = { flareJsKey: "rzAIZ4UzZcOlUo0F0ZcYWETY9Z6JXf82", clientVersion: typeof FLARE_JS_CLIENT_VERSION > "u" ? "?" : FLARE_JS_CLIENT_VERSION, sourcemapVersion: "fresh-booking@4.0.3" };
|
|
1469
1468
|
function i(a, l, c) {
|
|
1470
1469
|
return c && !a && console.error("Flare JavaScript client v".concat(o.clientVersion, ": ").concat(l)), !!a;
|
|
1471
1470
|
}
|
|
@@ -1485,7 +1484,7 @@ var yu = Ao.exports, Po = { exports: {} };
|
|
|
1485
1484
|
})();
|
|
1486
1485
|
});
|
|
1487
1486
|
})(Po);
|
|
1488
|
-
var
|
|
1487
|
+
var yu = Po.exports;
|
|
1489
1488
|
function Io(e, t) {
|
|
1490
1489
|
return function() {
|
|
1491
1490
|
return e.apply(t, arguments);
|
|
@@ -4345,10 +4344,10 @@ function Jr(e) {
|
|
|
4345
4344
|
const Kr = "__INTLIFY_META__";
|
|
4346
4345
|
let qr = 0;
|
|
4347
4346
|
function Yr(e) {
|
|
4348
|
-
return (t, n, r, o) => e(n, r,
|
|
4347
|
+
return (t, n, r, o) => e(n, r, Kt() || void 0, o);
|
|
4349
4348
|
}
|
|
4350
4349
|
const uc = () => {
|
|
4351
|
-
const e =
|
|
4350
|
+
const e = Kt();
|
|
4352
4351
|
let t = null;
|
|
4353
4352
|
return e && (t = Es(e)[Kr]) ? { [Kr]: t } : null;
|
|
4354
4353
|
};
|
|
@@ -5175,7 +5174,7 @@ function Rc(e = {}, t) {
|
|
|
5175
5174
|
}
|
|
5176
5175
|
}
|
|
5177
5176
|
function sr(e = {}) {
|
|
5178
|
-
const t =
|
|
5177
|
+
const t = Kt();
|
|
5179
5178
|
if (t == null)
|
|
5180
5179
|
throw he(z.MUST_BE_CALL_SETUP_TOP);
|
|
5181
5180
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -5313,7 +5312,7 @@ function Wc(e) {
|
|
|
5313
5312
|
be.setLocaleMessage(t, e[t]);
|
|
5314
5313
|
}
|
|
5315
5314
|
var Hc = /* @__PURE__ */ ((e) => (e[e.Accept = 0] = "Accept", e[e.Error = 1] = "Error", e[e.Cancel = 2] = "Cancel", e[e.Close = 3] = "Close", e[e.Open = 4] = "Open", e[e.CheckResult = 5] = "CheckResult", e))(Hc || {}), ue = /* @__PURE__ */ ((e) => (e[e.Invalid = 0] = "Invalid", e[e.PerUnit = 1] = "PerUnit", e[e.PerPerson = 2] = "PerPerson", e[e.PerAdult = 3] = "PerAdult", e[e.PerChild = 4] = "PerChild", e[e.PerNight = 5] = "PerNight", e[e.PerPersonPerNight = 6] = "PerPersonPerNight", e[e.PerAdultPerNight = 7] = "PerAdultPerNight", e[e.PerChildPerNight = 8] = "PerChildPerNight", e[e.Consumption = 9] = "Consumption", e[e.EarlyCheckIn = 10] = "EarlyCheckIn", e[e.EarlyCheckOut = 11] = "EarlyCheckOut", e[e.OneTimePayment = 12] = "OneTimePayment", e))(ue || {}), Gc = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.AskForCreditCard = 2] = "AskForCreditCard", e[e.Stripe = 18] = "Stripe", e[e.DIBS = 47] = "DIBS", e[e.EasyPay = 56] = "EasyPay", e[e.ReePay = 57] = "ReePay", e))(Gc || {}), zc = /* @__PURE__ */ ((e) => (e.Selective = "selective", e.Wholesale = "wholesale", e.Simplified = "simplified", e.Template = "template", e.Event = "event", e))(zc || {}), Jc = /* @__PURE__ */ ((e) => (e.Default = "default", e.Minimal = "minimal", e))(Jc || {}), Kc = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.WaitingForResponse = 1] = "WaitingForResponse", e[e.ReadyToPay = 2] = "ReadyToPay", e[e.PaymentSuccess = 3] = "PaymentSuccess", e))(Kc || {}), qc = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Hourly = 1] = "Hourly", e[e.FullDayEvent = 2] = "FullDayEvent", e[e.Weekly = 3] = "Weekly", e))(qc || {}), Yc = /* @__PURE__ */ ((e) => (e[e.InitialState = 0] = "InitialState", e[e.AvailabilityState = 1] = "AvailabilityState", e[e.ReservationState = 2] = "ReservationState", e[e.PaymentState = 3] = "PaymentState", e))(Yc || {});
|
|
5316
|
-
function
|
|
5315
|
+
function Nu(e) {
|
|
5317
5316
|
switch (e) {
|
|
5318
5317
|
case ue.PerUnit:
|
|
5319
5318
|
return be.t("general.perUnit");
|
|
@@ -5325,7 +5324,7 @@ function Ou(e) {
|
|
|
5325
5324
|
return be.t("general.perAdultPerNight");
|
|
5326
5325
|
}
|
|
5327
5326
|
}
|
|
5328
|
-
function
|
|
5327
|
+
function Ou(e, t, n, r = 0, o = 0) {
|
|
5329
5328
|
switch (t) {
|
|
5330
5329
|
case ue.PerUnit:
|
|
5331
5330
|
return e;
|
|
@@ -5349,19 +5348,19 @@ function wu(e, t, n, r = 0, o = 0) {
|
|
|
5349
5348
|
return e;
|
|
5350
5349
|
}
|
|
5351
5350
|
}
|
|
5352
|
-
function
|
|
5351
|
+
function wu(e) {
|
|
5353
5352
|
return e === void 0 ? e : e.replace(/([!?.])([a-z])/g, function(t, n, r) {
|
|
5354
5353
|
return r.toUpperCase();
|
|
5355
5354
|
});
|
|
5356
5355
|
}
|
|
5357
|
-
function
|
|
5356
|
+
function Tu(e) {
|
|
5358
5357
|
if (e !== void 0) {
|
|
5359
5358
|
const t = new RegExp("\\n", "g");
|
|
5360
5359
|
return e.replace(t, "<br>");
|
|
5361
5360
|
} else
|
|
5362
5361
|
return "";
|
|
5363
5362
|
}
|
|
5364
|
-
function
|
|
5363
|
+
function Su(e) {
|
|
5365
5364
|
switch (e) {
|
|
5366
5365
|
case 2:
|
|
5367
5366
|
return be.t("booking.reservation.nameTitleMr");
|
|
@@ -5375,7 +5374,7 @@ function Au(e) {
|
|
|
5375
5374
|
return "";
|
|
5376
5375
|
}
|
|
5377
5376
|
}
|
|
5378
|
-
function
|
|
5377
|
+
function Au(e) {
|
|
5379
5378
|
let t, n, r, o, i, s, a, l, c, u = 0, f = 0, d = "";
|
|
5380
5379
|
const p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", m = [];
|
|
5381
5380
|
if (!e)
|
|
@@ -5385,13 +5384,13 @@ function Pu(e) {
|
|
|
5385
5384
|
while (u < e.length);
|
|
5386
5385
|
return d = m.join(""), c = e.length % 3, (c ? d.slice(0, c - 3) : d) + "===".slice(c || 3);
|
|
5387
5386
|
}
|
|
5388
|
-
function
|
|
5387
|
+
function Pu(e) {
|
|
5389
5388
|
return e.toLowerCase();
|
|
5390
5389
|
}
|
|
5391
|
-
function
|
|
5390
|
+
function Iu(e) {
|
|
5392
5391
|
return new Date(e).toISOString();
|
|
5393
5392
|
}
|
|
5394
|
-
function
|
|
5393
|
+
function Cu(e, t) {
|
|
5395
5394
|
const n = new Date(e), r = new Date(t), o = r.getTime() - n.getTime();
|
|
5396
5395
|
return Math.round(o / (1e3 * 60 * 60 * 24));
|
|
5397
5396
|
}
|
|
@@ -5442,7 +5441,7 @@ function Zc(e) {
|
|
|
5442
5441
|
return !1;
|
|
5443
5442
|
return !0;
|
|
5444
5443
|
}
|
|
5445
|
-
function
|
|
5444
|
+
function Ru(e) {
|
|
5446
5445
|
let t = e;
|
|
5447
5446
|
const n = [6, 7], r = e.split(",").map(Number);
|
|
5448
5447
|
let o;
|
|
@@ -5456,7 +5455,7 @@ function Du(e) {
|
|
|
5456
5455
|
}
|
|
5457
5456
|
return r.length === 7 ? t = be.t("general.everyday") : n.some((i) => r.includes(i)) ? t = be.t("general.weekends") : Zc(r) && r.length > 1 ? t = `${o[r[0]]} - ${o[r[r.length - 1]]}` : t = "-", t;
|
|
5458
5457
|
}
|
|
5459
|
-
function
|
|
5458
|
+
function Du(e, t, n = !1) {
|
|
5460
5459
|
if (n) {
|
|
5461
5460
|
const r = e.split("-");
|
|
5462
5461
|
e = `${r[1]}-${r[0]}-${r[2]}`;
|
|
@@ -5470,10 +5469,10 @@ function _n(e) {
|
|
|
5470
5469
|
const n = e.split(":");
|
|
5471
5470
|
return n[2] && (t = `${n[0]}:${n[1]}`), t;
|
|
5472
5471
|
}
|
|
5473
|
-
function
|
|
5472
|
+
function Lu(e, t) {
|
|
5474
5473
|
return e === t ? _n(e) : `${_n(e)} - ${_n(t)}`;
|
|
5475
5474
|
}
|
|
5476
|
-
function
|
|
5475
|
+
function ku(e, t) {
|
|
5477
5476
|
return new Intl.NumberFormat(sn(!0), { style: "currency", currency: t }).format(e);
|
|
5478
5477
|
}
|
|
5479
5478
|
const Qc = So("utilities", () => {
|
|
@@ -5491,7 +5490,7 @@ const Qc = So("utilities", () => {
|
|
|
5491
5490
|
headers: {
|
|
5492
5491
|
Authorization: U.value,
|
|
5493
5492
|
Accept: "application/json",
|
|
5494
|
-
"Fresh-Booking-Ver": "4.0.
|
|
5493
|
+
"Fresh-Booking-Ver": "4.0.3"
|
|
5495
5494
|
}
|
|
5496
5495
|
})).data;
|
|
5497
5496
|
n.value = rt;
|
|
@@ -5508,7 +5507,7 @@ const Qc = So("utilities", () => {
|
|
|
5508
5507
|
headers: {
|
|
5509
5508
|
Authorization: U.value,
|
|
5510
5509
|
Accept: "application/json",
|
|
5511
|
-
"Fresh-Booking-Ver": "4.0.
|
|
5510
|
+
"Fresh-Booking-Ver": "4.0.3"
|
|
5512
5511
|
}
|
|
5513
5512
|
}).then((Te) => {
|
|
5514
5513
|
const { settings: rt, translations: an } = Te.data;
|
|
@@ -5591,7 +5590,7 @@ const Qc = So("utilities", () => {
|
|
|
5591
5590
|
], 2));
|
|
5592
5591
|
}
|
|
5593
5592
|
});
|
|
5594
|
-
const nu = /* @__PURE__ */
|
|
5593
|
+
const nu = /* @__PURE__ */ uo(tu, [["__scopeId", "data-v-bdb46110"]]), ru = { class: "konnectio-app" }, Fu = /* @__PURE__ */ tt({
|
|
5595
5594
|
__name: "_",
|
|
5596
5595
|
props: {
|
|
5597
5596
|
accessToken: {},
|
|
@@ -5605,7 +5604,7 @@ const nu = /* @__PURE__ */ fo(tu, [["__scopeId", "data-v-bdb46110"]]), ru = { cl
|
|
|
5605
5604
|
fetchMetadata: s
|
|
5606
5605
|
} = Qc();
|
|
5607
5606
|
return o(r.accessToken), s(r.type), [t, n] = Gs(() => i()), await t, n(), (a, l) => (Ne(), Se("div", ru, [
|
|
5608
|
-
|
|
5607
|
+
fo(a.$slots, "default"),
|
|
5609
5608
|
Yt(nu, { "local-domain": "global" })
|
|
5610
5609
|
]));
|
|
5611
5610
|
}
|
|
@@ -5677,12 +5676,12 @@ const ou = { class: "fresh-booking-input-field" }, su = ["for"], iu = {
|
|
|
5677
5676
|
type: s.iconType
|
|
5678
5677
|
}, null, 8, ["icon", "icon-color", "type"])
|
|
5679
5678
|
], 8, lu)) : Ke("", !0),
|
|
5680
|
-
|
|
5679
|
+
fo(s.$slots, "default")
|
|
5681
5680
|
], 2)
|
|
5682
5681
|
]));
|
|
5683
5682
|
}
|
|
5684
5683
|
});
|
|
5685
|
-
const
|
|
5684
|
+
const Uu = /* @__PURE__ */ uo(cu, [["__scopeId", "data-v-9d70bea0"]]);
|
|
5686
5685
|
/*! vue-number-input v2.0.1 | (c) 2018-present Chen Fengyuan | MIT */
|
|
5687
5686
|
const Ge = Number.isNaN || window.isNaN, uu = /^-?(?:\d+|\d+\.\d+|\.\d+)(?:[eE][-+]?\d+)?$/, fu = /\.\d*(?:0|9){10}\d*$/, ro = (e, t = 1e11) => fu.test(String(e)) ? Math.round(e * t) / t : e;
|
|
5688
5687
|
var As = tt({
|
|
@@ -5876,43 +5875,43 @@ As.__scopeId = "data-v-188efc8c";
|
|
|
5876
5875
|
export {
|
|
5877
5876
|
Jc as A,
|
|
5878
5877
|
zc as B,
|
|
5879
|
-
|
|
5880
|
-
|
|
5878
|
+
Su as C,
|
|
5879
|
+
Iu as D,
|
|
5881
5880
|
Yc as E,
|
|
5882
5881
|
As as F,
|
|
5883
5882
|
Kc as G,
|
|
5884
|
-
|
|
5885
|
-
|
|
5883
|
+
wu as H,
|
|
5884
|
+
Uu as I,
|
|
5886
5885
|
qc as O,
|
|
5887
5886
|
Gc as P,
|
|
5888
5887
|
Hc as R,
|
|
5889
5888
|
Yo as S,
|
|
5890
|
-
|
|
5891
|
-
|
|
5889
|
+
Fu as _,
|
|
5890
|
+
yu as a,
|
|
5892
5891
|
Xo as b,
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5892
|
+
Eu as c,
|
|
5893
|
+
vu as d,
|
|
5894
|
+
Ru as e,
|
|
5895
|
+
Cu as f,
|
|
5896
|
+
Du as g,
|
|
5897
|
+
Lu as h,
|
|
5899
5898
|
Bc as i,
|
|
5900
|
-
|
|
5899
|
+
ku as j,
|
|
5901
5900
|
Qc as k,
|
|
5902
|
-
|
|
5901
|
+
Nu as l,
|
|
5903
5902
|
_n as m,
|
|
5904
5903
|
gn as n,
|
|
5905
5904
|
So as o,
|
|
5906
5905
|
Ya as p,
|
|
5907
|
-
|
|
5906
|
+
Ou as q,
|
|
5908
5907
|
wr as r,
|
|
5909
5908
|
yi as s,
|
|
5910
5909
|
sn as t,
|
|
5911
5910
|
sr as u,
|
|
5912
5911
|
be as v,
|
|
5913
|
-
|
|
5912
|
+
Au as w,
|
|
5914
5913
|
Xc as x,
|
|
5915
|
-
|
|
5916
|
-
|
|
5914
|
+
Tu as y,
|
|
5915
|
+
Pu as z
|
|
5917
5916
|
};
|
|
5918
|
-
//# sourceMappingURL=NumberField.vue_vue_type_style_index_0_lang-
|
|
5917
|
+
//# sourceMappingURL=NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs.map
|
|
Binary file
|