@konnectio/core 4.0.40 → 4.0.42
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-33ba228b.cjs → ActionField-58df4817.cjs} +1 -1
- package/dist/{ActionField-ce9af539.js → ActionField-deec84ca.js} +2 -2
- package/dist/ActionField-deec84ca.js.br +0 -0
- package/dist/{AvailabilitySkeleton-487e3a2a.js → AvailabilitySkeleton-16e7a713.js} +32 -32
- package/dist/AvailabilitySkeleton-16e7a713.js.br +0 -0
- package/dist/{AvailabilitySkeleton-959fb7c6.cjs → AvailabilitySkeleton-ca0f55c9.cjs} +1 -1
- package/dist/CheckoutWindow-4f6a485b.cjs +1 -0
- package/dist/CheckoutWindow-7251f2b5.js +202 -0
- package/dist/CheckoutWindow-7251f2b5.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-36580b9f.cjs +2 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-dbdaef35.js → DateField.vue_vue_type_style_index_0_lang-c61ab1c5.js} +2963 -2948
- package/dist/DateField.vue_vue_type_style_index_0_lang-c61ab1c5.js.br +0 -0
- package/dist/{Field-3b931fce.cjs → Field-773fbfa9.cjs} +1 -1
- package/dist/{Field-6603f54c.js → Field-ce51be09.js} +2 -2
- package/dist/Field-ce51be09.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-bedb3288.cjs → NumberField.vue_vue_type_script_setup_true_lang-10a5f9ca.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-23d1fa57.js → NumberField.vue_vue_type_script_setup_true_lang-9f68127f.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-9f68127f.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-af2d2c7c.cjs → SelectField.vue_vue_type_style_index_0_lang-6990aef4.cjs} +61 -61
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-342d05ad.js → SelectField.vue_vue_type_style_index_0_lang-6f724c35.js} +4897 -4876
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6f724c35.js.br +0 -0
- package/dist/{ThankYou-812bee60.js → ThankYou-81753dcb.js} +4537 -4058
- package/dist/ThankYou-81753dcb.js.br +0 -0
- package/dist/ThankYou-b538183d.cjs +59 -0
- package/dist/{_-7dca6f46.js → _-a6ac9a82.js} +1 -1
- package/dist/{_-74b1365b.cjs → _-c9150186.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Template.vue.d.ts +1 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/Listing.vue.d.ts +1 -1
- package/dist/components/skeletons/Sidebar.vue.d.ts +1 -1
- package/dist/{event-c569e301.js → event-3b54636f.js} +7 -7
- package/dist/event-3b54636f.js.br +0 -0
- package/dist/{event-13b95ff7.cjs → event-f5b6a5fb.cjs} +1 -1
- package/dist/event.cjs +1 -1
- package/dist/event.js +108 -109
- 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 +293 -301
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +8 -8
- package/dist/hotel.js +1607 -1600
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Hotel.vue.d.ts +5 -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 +8 -2
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +8 -8
- package/dist/ActionField-ce9af539.js.br +0 -0
- package/dist/AvailabilitySkeleton-487e3a2a.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-4d72d3b1.cjs +0 -2
- package/dist/DateField.vue_vue_type_style_index_0_lang-dbdaef35.js.br +0 -0
- package/dist/Field-6603f54c.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-23d1fa57.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-342d05ad.js.br +0 -0
- package/dist/ThankYou-3a3c3984.cjs +0 -54
- package/dist/ThankYou-812bee60.js.br +0 -0
- package/dist/event-c569e301.js.br +0 -0
- package/dist/index-2d4ba4ce.js +0 -375
- package/dist/index-2d4ba4ce.js.br +0 -0
- package/dist/index-61dd1f61.cjs +0 -1
|
@@ -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-6990aef4.cjs"),m=require("./NumberField.vue_vue_type_script_setup_true_lang-10a5f9ca.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,5 +1,5 @@
|
|
|
1
|
-
import { k as b, l as V, f as m, m as d, n as i, w as v, A as q, B as g, q as t, T as k, p as B, C as I, I as C, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import { _ as F } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { k as b, l as V, f as m, m as d, n as i, w as v, A as q, B as g, q as t, T as k, p as B, C as I, I as C, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-6f724c35.js";
|
|
2
|
+
import { _ as F } from "./NumberField.vue_vue_type_script_setup_true_lang-9f68127f.js";
|
|
3
3
|
const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ b({
|
|
4
4
|
__name: "ActionField",
|
|
5
5
|
props: {
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as S, r as z, c as M, m as l, v as
|
|
2
|
-
import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as T } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { E as q } from "./_-
|
|
5
|
-
import { F as y } from "./Field-
|
|
1
|
+
import { k as S, r as z, c as M, m as l, v as u, aa as Y, L as Z, D as ee, s as A, ab as C, ac as F, f, a1 as H, o as ae, n as p, w as le, A as $, q as e, p as s, G as g, B as te, x as _, a2 as E, T as N, C as I, y as O, i as ie, _ as G } from "./SelectField.vue_vue_type_style_index_0_lang-6f724c35.js";
|
|
2
|
+
import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-c61ab1c5.js";
|
|
3
|
+
import { _ as T } from "./NumberField.vue_vue_type_script_setup_true_lang-9f68127f.js";
|
|
4
|
+
import { E as q } from "./_-a6ac9a82.js";
|
|
5
|
+
import { F as y } from "./Field-ce51be09.js";
|
|
6
6
|
const oe = /* @__PURE__ */ S({
|
|
7
7
|
__name: "_",
|
|
8
8
|
props: {
|
|
@@ -10,17 +10,17 @@ const oe = /* @__PURE__ */ S({
|
|
|
10
10
|
},
|
|
11
11
|
emits: ["submit"],
|
|
12
12
|
setup(k, { emit: a }) {
|
|
13
|
-
const n = z(!1), r = a,
|
|
13
|
+
const n = z(!1), r = a, d = k, { verifyRecaptcha: c } = M();
|
|
14
14
|
function v() {
|
|
15
|
-
n.value = !0,
|
|
15
|
+
n.value = !0, c({
|
|
16
16
|
callback: D,
|
|
17
|
-
type:
|
|
17
|
+
type: d.type
|
|
18
18
|
}).then(() => n.value = !1);
|
|
19
19
|
}
|
|
20
20
|
function D() {
|
|
21
21
|
r("submit");
|
|
22
22
|
}
|
|
23
|
-
return (V, L) => (l(),
|
|
23
|
+
return (V, L) => (l(), u("form", {
|
|
24
24
|
onSubmit: Z(v, ["prevent"])
|
|
25
25
|
}, [
|
|
26
26
|
Y(V.$slots, "default", { isLoading: n.value })
|
|
@@ -29,10 +29,10 @@ const oe = /* @__PURE__ */ S({
|
|
|
29
29
|
}), se = {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "konnectio-availability-location"
|
|
32
|
-
}, re = { id: "fresh-booking-availability-date-selection" },
|
|
32
|
+
}, re = { id: "fresh-booking-availability-date-selection" }, ue = {
|
|
33
33
|
key: 1,
|
|
34
34
|
id: "fresh-booking-availability-guest-selection"
|
|
35
|
-
},
|
|
35
|
+
}, de = { id: "fresh-booking-availability-confirmation" }, ce = /* @__PURE__ */ S({
|
|
36
36
|
__name: "HotelAvailabilityForm",
|
|
37
37
|
props: {
|
|
38
38
|
booking: { type: Boolean, default: !1 },
|
|
@@ -41,8 +41,8 @@ const oe = /* @__PURE__ */ S({
|
|
|
41
41
|
setup(k) {
|
|
42
42
|
const { t: a } = ee(), n = k, {
|
|
43
43
|
adults: r,
|
|
44
|
-
children:
|
|
45
|
-
arrivalDate:
|
|
44
|
+
children: d,
|
|
45
|
+
arrivalDate: c,
|
|
46
46
|
departureDate: v,
|
|
47
47
|
location: D,
|
|
48
48
|
isExpired: V
|
|
@@ -51,7 +51,7 @@ const oe = /* @__PURE__ */ S({
|
|
|
51
51
|
lastSelectableDateOffset: U,
|
|
52
52
|
disableChildSelection: b,
|
|
53
53
|
disableAdultSelection: m
|
|
54
|
-
} = A(M()), w = z([]), P = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (R.value - 1)))), ye = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + U.value))), _e = f(() => new Date((/* @__PURE__ */ new Date()).setDate(
|
|
54
|
+
} = A(M()), w = z([]), P = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (R.value - 1)))), ye = f(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + U.value))), _e = f(() => new Date((/* @__PURE__ */ new Date()).setDate(c.value.getDate() + R.value))), Q = f(() => new Date((/* @__PURE__ */ new Date()).setDate(c.value.getDate() + (U.value + 1)))), x = f(() => !(!m && r.value === 0)), W = f(() => typeof n.link != "string");
|
|
55
55
|
function X() {
|
|
56
56
|
if (n.booking === !1)
|
|
57
57
|
if (W.value) {
|
|
@@ -62,13 +62,13 @@ const oe = /* @__PURE__ */ S({
|
|
|
62
62
|
else
|
|
63
63
|
x.value && j();
|
|
64
64
|
}
|
|
65
|
-
return H(
|
|
65
|
+
return H(c, (o) => {
|
|
66
66
|
const t = new Date(new Date(o).setDate(new Date(o).getDate() + 1));
|
|
67
67
|
new Date(v.value) < t && (v.value = t);
|
|
68
68
|
}), H(w, (o) => {
|
|
69
|
-
|
|
69
|
+
c.value = o[0], v.value = o[1];
|
|
70
70
|
}), ae(() => {
|
|
71
|
-
V.value && L(), w.value = [
|
|
71
|
+
V.value && L(), w.value = [c.value, v.value];
|
|
72
72
|
}), (o, t) => (l(), p(oe, {
|
|
73
73
|
id: "konnectio-availability-form",
|
|
74
74
|
class: O({ reservation: o.booking }),
|
|
@@ -87,7 +87,7 @@ const oe = /* @__PURE__ */ S({
|
|
|
87
87
|
{ "has-location": e(h) }
|
|
88
88
|
])
|
|
89
89
|
}, [
|
|
90
|
-
e(h) ? (l(),
|
|
90
|
+
e(h) ? (l(), u("li", se, [
|
|
91
91
|
s(te, {
|
|
92
92
|
modelValue: e(D),
|
|
93
93
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => g(D) ? D.value = i : null),
|
|
@@ -113,8 +113,8 @@ const oe = /* @__PURE__ */ S({
|
|
|
113
113
|
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
114
114
|
_("", !0)
|
|
115
115
|
]),
|
|
116
|
-
!e(m) || !e(b) ? (l(),
|
|
117
|
-
e(m) ? _("", !0) : (l(),
|
|
116
|
+
!e(m) || !e(b) ? (l(), u("li", ue, [
|
|
117
|
+
e(m) ? _("", !0) : (l(), u(E, { key: 0 }, [
|
|
118
118
|
e(h) ? (l(), p(N, {
|
|
119
119
|
key: 0,
|
|
120
120
|
modelValue: e(r),
|
|
@@ -137,11 +137,11 @@ const oe = /* @__PURE__ */ S({
|
|
|
137
137
|
icon: "male"
|
|
138
138
|
}, null, 8, ["modelValue", "label", "description"]))
|
|
139
139
|
], 64)),
|
|
140
|
-
e(b) ? _("", !0) : (l(),
|
|
140
|
+
e(b) ? _("", !0) : (l(), u(E, { key: 1 }, [
|
|
141
141
|
e(h) ? (l(), p(N, {
|
|
142
142
|
key: 0,
|
|
143
|
-
modelValue: e(
|
|
144
|
-
"onUpdate:modelValue": t[6] || (t[6] = (i) => g(
|
|
143
|
+
modelValue: e(d),
|
|
144
|
+
"onUpdate:modelValue": t[6] || (t[6] = (i) => g(d) ? d.value = i : null),
|
|
145
145
|
label: e(a)("availability.children"),
|
|
146
146
|
description: e(a)("general.childAgeRange"),
|
|
147
147
|
"icon-type": "fas",
|
|
@@ -150,8 +150,8 @@ const oe = /* @__PURE__ */ S({
|
|
|
150
150
|
icon: "child"
|
|
151
151
|
}, null, 8, ["modelValue", "label", "description"])) : (l(), p(T, {
|
|
152
152
|
key: 1,
|
|
153
|
-
modelValue: e(
|
|
154
|
-
"onUpdate:modelValue": t[7] || (t[7] = (i) => g(
|
|
153
|
+
modelValue: e(d),
|
|
154
|
+
"onUpdate:modelValue": t[7] || (t[7] = (i) => g(d) ? d.value = i : null),
|
|
155
155
|
label: e(a)("availability.children"),
|
|
156
156
|
description: e(a)("general.childAgeRange"),
|
|
157
157
|
"icon-type": "fas",
|
|
@@ -161,7 +161,7 @@ const oe = /* @__PURE__ */ S({
|
|
|
161
161
|
}, null, 8, ["modelValue", "label", "description"]))
|
|
162
162
|
], 64))
|
|
163
163
|
])) : _("", !0),
|
|
164
|
-
$("li",
|
|
164
|
+
$("li", de, [
|
|
165
165
|
o.booking ? (l(), p(I, {
|
|
166
166
|
key: 0,
|
|
167
167
|
type: "submit",
|
|
@@ -183,7 +183,7 @@ const oe = /* @__PURE__ */ S({
|
|
|
183
183
|
}, 8, ["class"]));
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
|
-
const Ve = /* @__PURE__ */ G(
|
|
186
|
+
const Ve = /* @__PURE__ */ G(ce, [["__scopeId", "data-v-a901e79d"]]), me = { class: "availability-skeleton" }, pe = {
|
|
187
187
|
key: 0,
|
|
188
188
|
class: "availability-skeleton-navigation"
|
|
189
189
|
}, ve = {
|
|
@@ -198,8 +198,8 @@ const Ve = /* @__PURE__ */ G(de, [["__scopeId", "data-v-a901e79d"]]), me = { cla
|
|
|
198
198
|
view: { default: "hotel" }
|
|
199
199
|
},
|
|
200
200
|
setup(k) {
|
|
201
|
-
return (a, n) => (l(),
|
|
202
|
-
a.view === "both" ? (l(),
|
|
201
|
+
return (a, n) => (l(), u("div", me, [
|
|
202
|
+
a.view === "both" ? (l(), u("div", pe, [
|
|
203
203
|
s(q, {
|
|
204
204
|
height: "28px",
|
|
205
205
|
width: "60px",
|
|
@@ -211,7 +211,7 @@ const Ve = /* @__PURE__ */ G(de, [["__scopeId", "data-v-a901e79d"]]), me = { cla
|
|
|
211
211
|
"border-radius": "20px"
|
|
212
212
|
})
|
|
213
213
|
])) : _("", !0),
|
|
214
|
-
a.view !== "event" ? (l(),
|
|
214
|
+
a.view !== "event" ? (l(), u("div", ve, [
|
|
215
215
|
s(y, { "with-icon": "" }),
|
|
216
216
|
s(y, { "with-icon": "" }),
|
|
217
217
|
s(y, { "with-icon": "" }),
|
|
@@ -219,7 +219,7 @@ const Ve = /* @__PURE__ */ G(de, [["__scopeId", "data-v-a901e79d"]]), me = { cla
|
|
|
219
219
|
"with-icon": "",
|
|
220
220
|
"no-label": ""
|
|
221
221
|
})
|
|
222
|
-
])) : (l(),
|
|
222
|
+
])) : (l(), u("div", be, [
|
|
223
223
|
s(y, { "with-icon": "" }),
|
|
224
224
|
s(y, {
|
|
225
225
|
"with-icon": "",
|
|
@@ -229,7 +229,7 @@ const Ve = /* @__PURE__ */ G(de, [["__scopeId", "data-v-a901e79d"]]), me = { cla
|
|
|
229
229
|
]));
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
|
-
const xe = /* @__PURE__ */ G(fe, [["__scopeId", "data-v-
|
|
232
|
+
const xe = /* @__PURE__ */ G(fe, [["__scopeId", "data-v-d044752e"]]);
|
|
233
233
|
export {
|
|
234
234
|
xe as A,
|
|
235
235
|
Ve as H,
|
|
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-6990aef4.cjs"),E=require("./DateField.vue_vue_type_style_index_0_lang-36580b9f.cjs"),V=require("./NumberField.vue_vue_type_script_setup_true_lang-10a5f9ca.cjs"),x=require("./_-c9150186.cjs"),_=require("./Field-773fbfa9.cjs"),B=e.defineComponent({__name:"_",props:{type:{default:"submit"}},emits:["submit"],setup(v,{emit:l}){const n=e.ref(!1),o=l,u=v,{verifyRecaptcha:r}=e.useUtilityStore();function c(){n.value=!0,r({callback:p,type:u.type}).then(()=>n.value=!1)}function p(){o("submit")}return(y,k)=>(e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(c,["prevent"])},[e.renderSlot(y.$slots,"default",{isLoading:n.value})],32))}}),U={key:0,class:"konnectio-availability-location"},$={id:"fresh-booking-availability-date-selection"},L={key:1,id:"fresh-booking-availability-guest-selection"},H={id:"fresh-booking-availability-confirmation"},q=e.defineComponent({__name:"HotelAvailabilityForm",props:{booking:{type:Boolean,default:!1},link:{}},setup(v){const{t:l}=e.useI18n(),n=v,{adults:o,children:u,arrivalDate:r,departureDate:c,location:p,isExpired:y}=e.storeToRefs(e.useAvailabilityStore()),{reset:k}=e.useAvailabilityStore(),{fetchAvailabilityData:w}=e.useHotelStore(),{areListingsLoading:F,hotelList:S,hasHotelList:m}=e.storeToRefs(e.useHotelStore()),{firstSelectableDateOffset:g,lastSelectableDateOffset:D,disableChildSelection:d,disableAdultSelection:s}=e.storeToRefs(e.useUtilityStore()),f=e.ref([]),N=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(r.value.getDate()+g.value))),A=e.computed(()=>new Date(new Date().setDate(r.value.getDate()+(D.value+1)))),b=e.computed(()=>!(!s&&o.value===0)),C=e.computed(()=>typeof n.link!="string");function R(){if(n.booking===!1)if(C.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 b.value&&w()}return e.watch(r,i=>{const t=new Date(new Date(i).setDate(new Date(i).getDate()+1));new Date(c.value)<t&&(c.value=t)}),e.watch(f,i=>{r.value=i[0],c.value=i[1]}),e.onMounted(()=>{y.value&&k(),f.value=[r.value,c.value]}),(i,t)=>(e.openBlock(),e.createBlock(B,{id:"konnectio-availability-form",class:e.normalizeClass({reservation:i.booking}),type:"availability",onSubmit:R},{default:e.withCtx(({isLoading:h})=>[e.createBaseVNode("ul",{id:"konnectio-availability-form-content",class:e.normalizeClass([{"is-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(m)}])},[e.unref(m)?(e.openBlock(),e.createElementBlock("li",U,[e.createVNode(e._sfc_main,{modelValue:e.unref(p),"onUpdate:modelValue":t[0]||(t[0]=a=>e.isRef(p)?p.value=a:null),label:e.unref(l)("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(E._sfc_main,{modelValue:f.value,"onUpdate:modelValue":t[1]||(t[1]=a=>f.value=a),label:e.unref(l)("availability.checkInOut"),"icon-type":"fas","icon-placement":"label","min-range":1,"min-date":N.value,"max-date":A.value,range:""},null,8,["modelValue","label","min-date","max-date"]),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(m)?(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(l)("availability.adults"),description:e.unref(l)("general.adultAgeRange"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label","description"])):(e.openBlock(),e.createBlock(V._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(l)("availability.adults"),description:e.unref(l)("general.adultAgeRange"),"icon-type":"fas","icon-placement":"label",name:"adults",icon:"male"},null,8,["modelValue","label","description"]))],64)),e.unref(d)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.unref(m)?(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(l)("availability.children"),description:e.unref(l)("general.childAgeRange"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label","description"])):(e.openBlock(),e.createBlock(V._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(l)("availability.children"),description:e.unref(l)("general.childAgeRange"),"icon-type":"fas","icon-placement":"label",name:"children",icon:"child"},null,8,["modelValue","label","description"]))],64))])):e.createCommentVNode("",!0),e.createBaseVNode("li",H,[i.booking?(e.openBlock(),e.createBlock(e.Clickable,{key:0,type:"submit",icon:"search","icon-type":"fas",disabled:!b.value,"is-loading":e.unref(F)||h},null,8,["disabled","is-loading"])):(e.openBlock(),e.createBlock(e.Clickable,{key:1,type:"submit",label:e.unref(l)("availability.buttonLabel"),disabled:!b.value,"is-loading":h},null,8,["label","disabled","is-loading"]))])],2)]),_:1},8,["class"]))}});const T=e._export_sfc(q,[["__scopeId","data-v-a901e79d"]]),I={class:"availability-skeleton"},z={key:0,class:"availability-skeleton-navigation"},O={key:1,class:"availability-skeleton-hotel"},M={key:2,class:"availability-skeleton-event"},j=e.defineComponent({__name:"AvailabilitySkeleton",props:{view:{default:"hotel"}},setup(v){return(l,n)=>(e.openBlock(),e.createElementBlock("div",I,[l.view==="both"?(e.openBlock(),e.createElementBlock("div",z,[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),l.view!=="event"?(e.openBlock(),e.createElementBlock("div",O,[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",M,[e.createVNode(_.Field,{"with-icon":""}),e.createVNode(_.Field,{"with-icon":"","no-label":""})]))]))}});const G=e._export_sfc(j,[["__scopeId","data-v-d044752e"]]);exports.AvailabilitySkeleton=G;exports.HotelAvailabilityForm=T;exports._sfc_main=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-6990aef4.cjs"),m={class:"fresh-booking-phone-input"},f=e.defineComponent({__name:"PhoneField",props:{modelValue:{},label:{},id:{},placeholder:{},icon:{default:"phone-office"},iconColor:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inputStyle:{}},emits:["update:modelValue"],setup(a,{emit:l}){const n=l,i=a,s=i.id||e.ranId(),o=e.ref("+45"),d=e.ref("");function p(){n("update:modelValue",`${o.value} ${d.value}`)}return e.onMounted(()=>{if(i.modelValue){const t=i.modelValue.split(" ");o.value=t[0],d.value=t[1]}}),(t,r)=>(e.openBlock(),e.createBlock(e.InputField,{label:t.label,id:e.unref(s),type:"phone",required:t.required,readonly:t.readonly},{default:e.withCtx(()=>[e.createBaseVNode("div",m,[e.createVNode(e.TextField,{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=u=>o.value=u),type:"text",id:e.unref(e.ranId)(),name:"phone-code",autocomplete:"tel-country-code",icon:t.icon,"icon-color":t.iconColor,"icon-type":t.iconType,placeholder:"+45",required:t.required,readonly:t.readonly,"input-style":t.inputStyle,onInput:r[1]||(r[1]=u=>p())},null,8,["modelValue","id","icon","icon-color","icon-type","required","readonly","input-style"]),e.createVNode(e.TextField,{modelValue:d.value,"onUpdate:modelValue":r[2]||(r[2]=u=>d.value=u),type:"number",name:"phone",autocomplete:"tel-national",id:e.unref(s),placeholder:t.placeholder,required:t.required,readonly:t.readonly,"input-style":t.inputStyle,onInput:r[3]||(r[3]=u=>p())},null,8,["modelValue","id","placeholder","required","readonly","input-style"])])]),_:1},8,["label","id","required","readonly"]))}});const h=e._export_sfc(f,[["__scopeId","data-v-5cd094ab"]]),g=["required","type","name","readonly","disabled","value","checked"],b=["data-test"],v={key:0},k=e.defineComponent({__name:"Checkbox",props:{modelValue:{type:[String,Boolean,Number]},numeric:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},label:{},price:{},name:{},readonly:{type:Boolean,default:!1},type:{default:"checkbox"},required:{type:Boolean,default:!1},inputStyle:{},val:{}},emits:["update:modelValue"],setup(a,{emit:l}){const n=a,i=l;function s(){n.readonly!==!0&&i("update:modelValue",n.type==="radio"?n.val:n.numeric?n.modelValue?0:1:!n.modelValue)}return(o,d)=>(e.openBlock(),e.createBlock(e.InputField,{required:o.required,type:o.type,readonly:o.readonly},{default:e.withCtx(()=>[e.createBaseVNode("label",{class:e.normalizeClass(["fresh-booking-click-box-container",{"is-readonly":o.readonly},{"has-label":o.label},o.type==="radio"?"radio":"checkbox"])},[e.createBaseVNode("input",e.mergeProps(o.$attrs,{required:!!o.required,type:o.type,name:o.name,class:"hidden",readonly:!!o.readonly,disabled:!!o.readonly,value:o.type==="radio"?o.val:o.modelValue,checked:o.type==="radio"?o.val===o.modelValue:!!o.modelValue,onChange:d[0]||(d[0]=p=>s())}),null,16,g),e.createBaseVNode("div",{class:e.normalizeClass(["fresh-booking-click-box",{checked:o.type==="radio"?o.val===o.modelValue:!!o.modelValue}]),tabindex:"0",style:e.normalizeStyle(o.inputStyle),"data-test":o.name,onKeyup:d[1]||(d[1]=e.withKeys(p=>s(),["enter"]))},null,46,b),o.label?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["fresh-booking-click-box-label",{"with-price":o.price}])},[e.createBaseVNode("span",null,e.toDisplayString(o.label),1),o.price?(e.openBlock(),e.createElementBlock("span",v,e.toDisplayString(o.price),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2)]),_:1},8,["required","type","readonly"]))}});const _=e._export_sfc(k,[["__scopeId","data-v-7ef656cb"]]),V={href:"https://policies.google.com/privacy"},C={href:"https://policies.google.com/terms"},y=e.defineComponent({__name:"GoogleNotice",setup(a){const{t:l}=e.useI18n();return(n,i)=>(e.openBlock(),e.createElementBlock("span",null,[e.createTextVNode(e.toDisplayString(e.unref(l)("googleNotice"))+" ",1),e.createBaseVNode("a",V,e.toDisplayString(e.unref(l)("googlePrivacyPolicy")),1),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("googleAnd"))+" ",1),e.createBaseVNode("a",C,e.toDisplayString(e.unref(l)("googleTOS")),1),e.createTextVNode(" "+e.toDisplayString(e.unref(l)("googleApply"))+". ",1)]))}});function c(a){const l=a;l.__i18n=l.__i18n||[],l.__i18n.push({locale:"",resource:{da:{googleNotice:{t:0,b:{t:2,i:[{t:3}],s:"Denne side er beskyttet af reCAPTCHA og Google's"}},googlePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"Privatlivspolitik"}},googleAnd:{t:0,b:{t:2,i:[{t:3}],s:"og"}},googleTOS:{t:0,b:{t:2,i:[{t:3}],s:"Servicevilkår"}},googleApply:{t:0,b:{t:2,i:[{t:3}],s:"er gældende"}}},en:{googleNotice:{t:0,b:{t:2,i:[{t:3}],s:"This site is protected by reCAPTCHA and the Google"}},googlePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"Privacy Policy"}},googleAnd:{t:0,b:{t:2,i:[{t:3}],s:"and"}},googleTOS:{t:0,b:{t:2,i:[{t:3}],s:"Terms of Service"}},googleApply:{t:0,b:{t:2,i:[{t:3}],s:"apply"}}}}})}typeof c=="function"&&c(y);const B=a=>(e.pushScopeId("data-v-340cb9ce"),a=a(),e.popScopeId(),a),S=B(()=>e.createBaseVNode("div",{id:"fresh-booking-payment-checkout"},null,-1)),N=[S],P=e.defineComponent({__name:"CheckoutWindow",setup(a){const{paymentGatewayId:l}=e.storeToRefs(e.useUtilityStore());return e.onMounted(()=>{const n=document.createElement("script"),i=document.createElement("script");n.setAttribute("src","https://checkout.dibspayment.eu/v1/checkout.js?v=1"),i.setAttribute("src","https://checkout.reepay.com/checkout.js"),document.head.appendChild(n),document.head.appendChild(i)}),(n,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createBaseVNode("div",{id:"fresh-booking-payment-checkout-wrapper",class:e.normalizeClass({reePay:e.unref(l)===e.unref(e.PaymentGateway).ReePay})},N,2)]))}});const q=e._export_sfc(P,[["__scopeId","data-v-340cb9ce"]]);exports.Checkbox=_;exports.CheckoutWindow=q;exports.PhoneField=h;exports._sfc_main=y;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { k as g, l as k, r as _, o as S, m as p, n as $, w as A, A as d, p as V, q as i, T as C, I as B, _ as v, ai as I, y as h, aj as T, ak as w, v as b, F as u, x as P, D as N, a5 as f, s as F, c as G, al as j, P as D, Q as E } from "./SelectField.vue_vue_type_style_index_0_lang-6f724c35.js";
|
|
2
|
+
const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ g({
|
|
3
|
+
__name: "PhoneField",
|
|
4
|
+
props: {
|
|
5
|
+
modelValue: {},
|
|
6
|
+
label: {},
|
|
7
|
+
id: {},
|
|
8
|
+
placeholder: {},
|
|
9
|
+
icon: { default: "phone-office" },
|
|
10
|
+
iconColor: {},
|
|
11
|
+
iconType: { default: "fal" },
|
|
12
|
+
required: { type: Boolean, default: !1 },
|
|
13
|
+
readonly: { type: Boolean, default: !1 },
|
|
14
|
+
inputStyle: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["update:modelValue"],
|
|
17
|
+
setup(a, { emit: l }) {
|
|
18
|
+
const t = l, n = a, c = n.id || k(), e = _("+45"), s = _("");
|
|
19
|
+
function m() {
|
|
20
|
+
t("update:modelValue", `${e.value} ${s.value}`);
|
|
21
|
+
}
|
|
22
|
+
return S(() => {
|
|
23
|
+
if (n.modelValue) {
|
|
24
|
+
const o = n.modelValue.split(" ");
|
|
25
|
+
e.value = o[0], s.value = o[1];
|
|
26
|
+
}
|
|
27
|
+
}), (o, r) => (p(), $(B, {
|
|
28
|
+
label: o.label,
|
|
29
|
+
id: i(c),
|
|
30
|
+
type: "phone",
|
|
31
|
+
required: o.required,
|
|
32
|
+
readonly: o.readonly
|
|
33
|
+
}, {
|
|
34
|
+
default: A(() => [
|
|
35
|
+
d("div", O, [
|
|
36
|
+
V(C, {
|
|
37
|
+
modelValue: e.value,
|
|
38
|
+
"onUpdate:modelValue": r[0] || (r[0] = (y) => e.value = y),
|
|
39
|
+
type: "text",
|
|
40
|
+
id: i(k)(),
|
|
41
|
+
name: "phone-code",
|
|
42
|
+
autocomplete: "tel-country-code",
|
|
43
|
+
icon: o.icon,
|
|
44
|
+
"icon-color": o.iconColor,
|
|
45
|
+
"icon-type": o.iconType,
|
|
46
|
+
placeholder: "+45",
|
|
47
|
+
required: o.required,
|
|
48
|
+
readonly: o.readonly,
|
|
49
|
+
"input-style": o.inputStyle,
|
|
50
|
+
onInput: r[1] || (r[1] = (y) => m())
|
|
51
|
+
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
52
|
+
V(C, {
|
|
53
|
+
modelValue: s.value,
|
|
54
|
+
"onUpdate:modelValue": r[2] || (r[2] = (y) => s.value = y),
|
|
55
|
+
type: "number",
|
|
56
|
+
name: "phone",
|
|
57
|
+
autocomplete: "tel-national",
|
|
58
|
+
id: i(c),
|
|
59
|
+
placeholder: o.placeholder,
|
|
60
|
+
required: o.required,
|
|
61
|
+
readonly: o.readonly,
|
|
62
|
+
"input-style": o.inputStyle,
|
|
63
|
+
onInput: r[3] || (r[3] = (y) => m())
|
|
64
|
+
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
|
|
65
|
+
])
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["label", "id", "required", "readonly"]));
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
const x = /* @__PURE__ */ v(U, [["__scopeId", "data-v-5cd094ab"]]), W = ["required", "type", "name", "readonly", "disabled", "value", "checked"], z = ["data-test"], H = { key: 0 }, K = /* @__PURE__ */ g({
|
|
72
|
+
__name: "Checkbox",
|
|
73
|
+
props: {
|
|
74
|
+
modelValue: { type: [String, Boolean, Number] },
|
|
75
|
+
numeric: { type: Boolean, default: !1 },
|
|
76
|
+
checked: { type: Boolean, default: !1 },
|
|
77
|
+
label: {},
|
|
78
|
+
price: {},
|
|
79
|
+
name: {},
|
|
80
|
+
readonly: { type: Boolean, default: !1 },
|
|
81
|
+
type: { default: "checkbox" },
|
|
82
|
+
required: { type: Boolean, default: !1 },
|
|
83
|
+
inputStyle: {},
|
|
84
|
+
val: {}
|
|
85
|
+
},
|
|
86
|
+
emits: ["update:modelValue"],
|
|
87
|
+
setup(a, { emit: l }) {
|
|
88
|
+
const t = a, n = l;
|
|
89
|
+
function c() {
|
|
90
|
+
t.readonly !== !0 && n(
|
|
91
|
+
"update:modelValue",
|
|
92
|
+
t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
return (e, s) => (p(), $(B, {
|
|
96
|
+
required: e.required,
|
|
97
|
+
type: e.type,
|
|
98
|
+
readonly: e.readonly
|
|
99
|
+
}, {
|
|
100
|
+
default: A(() => [
|
|
101
|
+
d("label", {
|
|
102
|
+
class: h([
|
|
103
|
+
"fresh-booking-click-box-container",
|
|
104
|
+
{ "is-readonly": e.readonly },
|
|
105
|
+
{ "has-label": e.label },
|
|
106
|
+
e.type === "radio" ? "radio" : "checkbox"
|
|
107
|
+
])
|
|
108
|
+
}, [
|
|
109
|
+
d("input", I(e.$attrs, {
|
|
110
|
+
required: !!e.required,
|
|
111
|
+
type: e.type,
|
|
112
|
+
name: e.name,
|
|
113
|
+
class: "hidden",
|
|
114
|
+
readonly: !!e.readonly,
|
|
115
|
+
disabled: !!e.readonly,
|
|
116
|
+
value: e.type === "radio" ? e.val : e.modelValue,
|
|
117
|
+
checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue,
|
|
118
|
+
onChange: s[0] || (s[0] = (m) => c())
|
|
119
|
+
}), null, 16, W),
|
|
120
|
+
d("div", {
|
|
121
|
+
class: h([
|
|
122
|
+
"fresh-booking-click-box",
|
|
123
|
+
{ checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue }
|
|
124
|
+
]),
|
|
125
|
+
tabindex: "0",
|
|
126
|
+
style: T(e.inputStyle),
|
|
127
|
+
"data-test": e.name,
|
|
128
|
+
onKeyup: s[1] || (s[1] = w((m) => c(), ["enter"]))
|
|
129
|
+
}, null, 46, z),
|
|
130
|
+
e.label ? (p(), b("div", {
|
|
131
|
+
key: 0,
|
|
132
|
+
class: h(["fresh-booking-click-box-label", { "with-price": e.price }])
|
|
133
|
+
}, [
|
|
134
|
+
d("span", null, u(e.label), 1),
|
|
135
|
+
e.price ? (p(), b("span", H, u(e.price), 1)) : P("", !0)
|
|
136
|
+
], 2)) : P("", !0)
|
|
137
|
+
], 2)
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["required", "type", "readonly"]));
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
const ee = /* @__PURE__ */ v(K, [["__scopeId", "data-v-7ef656cb"]]), M = { href: "https://policies.google.com/privacy" }, R = { href: "https://policies.google.com/terms" }, Q = /* @__PURE__ */ g({
|
|
144
|
+
__name: "GoogleNotice",
|
|
145
|
+
setup(a) {
|
|
146
|
+
const { t: l } = N();
|
|
147
|
+
return (t, n) => (p(), b("span", null, [
|
|
148
|
+
f(u(i(l)("googleNotice")) + " ", 1),
|
|
149
|
+
d("a", M, u(i(l)("googlePrivacyPolicy")), 1),
|
|
150
|
+
f(" " + u(i(l)("googleAnd")) + " ", 1),
|
|
151
|
+
d("a", R, u(i(l)("googleTOS")), 1),
|
|
152
|
+
f(" " + u(i(l)("googleApply")) + ". ", 1)
|
|
153
|
+
]));
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
function q(a) {
|
|
157
|
+
const l = a;
|
|
158
|
+
l.__i18n = l.__i18n || [], l.__i18n.push({
|
|
159
|
+
locale: "",
|
|
160
|
+
resource: {
|
|
161
|
+
da: {
|
|
162
|
+
googleNotice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Denne side er beskyttet af reCAPTCHA og Google's" } },
|
|
163
|
+
googlePrivacyPolicy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Privatlivspolitik" } },
|
|
164
|
+
googleAnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "og" } },
|
|
165
|
+
googleTOS: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Servicevilkår" } },
|
|
166
|
+
googleApply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "er gældende" } }
|
|
167
|
+
},
|
|
168
|
+
en: {
|
|
169
|
+
googleNotice: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "This site is protected by reCAPTCHA and the Google" } },
|
|
170
|
+
googlePrivacyPolicy: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Privacy Policy" } },
|
|
171
|
+
googleAnd: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "and" } },
|
|
172
|
+
googleTOS: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Terms of Service" } },
|
|
173
|
+
googleApply: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "apply" } }
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
typeof q == "function" && q(Q);
|
|
179
|
+
const J = (a) => (D("data-v-340cb9ce"), a = a(), E(), a), L = /* @__PURE__ */ J(() => /* @__PURE__ */ d("div", { id: "fresh-booking-payment-checkout" }, null, -1)), X = [
|
|
180
|
+
L
|
|
181
|
+
], Y = /* @__PURE__ */ g({
|
|
182
|
+
__name: "CheckoutWindow",
|
|
183
|
+
setup(a) {
|
|
184
|
+
const { paymentGatewayId: l } = F(G());
|
|
185
|
+
return S(() => {
|
|
186
|
+
const t = document.createElement("script"), n = document.createElement("script");
|
|
187
|
+
t.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(t), document.head.appendChild(n);
|
|
188
|
+
}), (t, n) => (p(), b("div", null, [
|
|
189
|
+
d("div", {
|
|
190
|
+
id: "fresh-booking-payment-checkout-wrapper",
|
|
191
|
+
class: h({ reePay: i(l) === i(j).ReePay })
|
|
192
|
+
}, X, 2)
|
|
193
|
+
]));
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
const oe = /* @__PURE__ */ v(Y, [["__scopeId", "data-v-340cb9ce"]]);
|
|
197
|
+
export {
|
|
198
|
+
ee as C,
|
|
199
|
+
x as P,
|
|
200
|
+
Q as _,
|
|
201
|
+
oe as a
|
|
202
|
+
};
|
|
Binary file
|