@konnectio/core 4.0.56-rc4 → 4.0.56-rc6
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-UFZMmHDy.js → ActionField-YyW_C34E.js} +27 -28
- package/dist/ActionField-YyW_C34E.js.br +0 -0
- package/dist/AvailabilitySkeleton-lYcDX41T.js +239 -0
- package/dist/AvailabilitySkeleton-lYcDX41T.js.br +0 -0
- package/dist/{CheckoutWindow-2RMgPiGi.js → CheckoutWindow-T7-vrZyG.js} +46 -47
- package/dist/CheckoutWindow-T7-vrZyG.js.br +0 -0
- package/dist/{Container-XBRB0sOV.js → Container-w7O0He-s.js} +6 -7
- package/dist/Container-w7O0He-s.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js → DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js} +5 -6
- package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js.br +0 -0
- package/dist/{Field-uK3Wuuv6.js → Field-fWwF40rD.js} +12 -13
- package/dist/Field-fWwF40rD.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js +30461 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js.br +0 -0
- package/dist/{ThankYou-nz4vPX4O.js → ThankYou-pUA2X7-4.js} +569 -569
- package/dist/ThankYou-pUA2X7-4.js.br +0 -0
- package/dist/_-TlutFgf7.js +19 -0
- package/dist/_commonjsHelpers-4t9S7M5p.js +30 -0
- package/dist/availability.js +96 -98
- package/dist/availability.js.br +0 -0
- package/dist/components/Alert.vue.d.ts +4 -4
- package/dist/components/Clickable.vue.d.ts +5 -5
- package/dist/components/Container.vue.d.ts +4 -4
- package/dist/components/ErrorMessage.vue.d.ts +3 -3
- package/dist/components/Gallery.vue.d.ts +4 -4
- package/dist/components/GoogleNotice.vue.d.ts +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Loading.vue.d.ts +4 -4
- package/dist/components/Spinner.vue.d.ts +1 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/MultiStepForm.vue.d.ts +5 -5
- package/dist/components/forms/ReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/_.vue.d.ts +5 -5
- package/dist/components/inputs/Checkbox.vue.d.ts +6 -6
- package/dist/components/inputs/CheckboxField.vue.d.ts +5 -5
- package/dist/components/inputs/DateField.vue.d.ts +5 -5
- package/dist/components/inputs/InputField.vue.d.ts +4 -4
- package/dist/components/inputs/MediaSelector.vue.d.ts +5 -5
- package/dist/components/inputs/NumberField.vue.d.ts +5 -5
- package/dist/components/inputs/SelectField.vue.d.ts +5 -5
- package/dist/components/inputs/TextField.vue.d.ts +6 -6
- package/dist/components/inputs/TimeField.vue.d.ts +4 -4
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/NameField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +5 -5
- package/dist/components/listings/Base.vue.d.ts +4 -4
- package/dist/components/listings/Event.vue.d.ts +4 -4
- package/dist/components/listings/Hotel.vue.d.ts +3 -3
- package/dist/components/listings/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/Base.vue.d.ts +5 -5
- package/dist/components/side-panels/ListingInfo.vue.d.ts +3 -3
- package/dist/components/side-panels/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/TermsOfService.vue.d.ts +3 -3
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +4 -4
- package/dist/components/skeletons/Field.vue.d.ts +4 -4
- package/dist/components/skeletons/GiftCardSkeleton.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/components/skeletons/_.vue.d.ts +4 -4
- package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
- package/dist/components/views/TermsOfService.vue.d.ts +1 -1
- package/dist/components/views/ThankYou.vue.d.ts +4 -4
- package/dist/entries/availability.d.ts +5 -5
- package/dist/entries/event.d.ts +1 -1
- package/dist/entries/gift-card-validation.d.ts +5 -5
- package/dist/entries/gift-card.d.ts +5 -5
- package/dist/entries/hotel.d.ts +5 -5
- package/dist/{event--wgsUkQp.js → event-mDcuoL9g.js} +53 -54
- package/dist/event-mDcuoL9g.js.br +0 -0
- package/dist/event.js +212 -213
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +65 -54
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +286 -276
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1332 -1314
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Availability.vue.d.ts +4 -4
- package/dist/layouts/Event.vue.d.ts +4 -4
- package/dist/layouts/GiftCard.vue.d.ts +4 -4
- package/dist/layouts/GiftCardValidation.vue.d.ts +4 -4
- package/dist/layouts/Hotel.vue.d.ts +4 -4
- package/dist/layouts/_.vue.d.ts +4 -4
- package/dist/polyfill.js +2 -2
- package/dist/polyfill.js.br +0 -0
- package/dist/store/alert.d.ts +15 -15
- package/dist/store/applyGiftCard.d.ts +18 -18
- package/dist/store/availability.d.ts +12 -12
- package/dist/store/event.d.ts +141 -141
- package/dist/store/giftCard.d.ts +51 -51
- package/dist/store/payment.d.ts +39 -39
- package/dist/store/recaptcha.d.ts +3 -3
- package/dist/store/tracking.d.ts +6 -6
- package/dist/store/utilities.d.ts +129 -129
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +4 -3
- package/dist/ActionField-UFZMmHDy.js.br +0 -0
- package/dist/AvailabilitySkeleton-hVUJYdXH.js +0 -242
- package/dist/AvailabilitySkeleton-hVUJYdXH.js.br +0 -0
- package/dist/CheckoutWindow-2RMgPiGi.js.br +0 -0
- package/dist/Container-XBRB0sOV.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js.br +0 -0
- package/dist/Field-uK3Wuuv6.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js +0 -21472
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js.br +0 -0
- package/dist/ThankYou-nz4vPX4O.js.br +0 -0
- package/dist/_-oPH7HiaC.js +0 -20
- package/dist/_commonjsHelpers-FF1eOqK0.js +0 -8
- package/dist/event--wgsUkQp.js.br +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as g, I as k, j as I, k as B, T as C, C as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js";
|
|
1
|
+
import { k as c, v as V, f as m, o as d, m as i, w as v, x as q, y as g, z as t, A as k, T as B, p as I, C, I as A, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
3
2
|
const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
4
3
|
__name: "ActionField",
|
|
5
4
|
props: {
|
|
@@ -26,57 +25,57 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
26
25
|
},
|
|
27
26
|
emits: ["update:modelValue", "action"],
|
|
28
27
|
setup(y, { emit: f }) {
|
|
29
|
-
const
|
|
30
|
-
function
|
|
31
|
-
|
|
28
|
+
const s = f, u = y, o = u.id || V();
|
|
29
|
+
function r(e) {
|
|
30
|
+
s("update:modelValue", e);
|
|
32
31
|
}
|
|
33
|
-
const n =
|
|
32
|
+
const n = m({
|
|
34
33
|
get: () => u.modelValue,
|
|
35
|
-
set: (e) =>
|
|
36
|
-
}),
|
|
34
|
+
set: (e) => r(e)
|
|
35
|
+
}), p = m({
|
|
37
36
|
get: () => u.modelValue,
|
|
38
|
-
set: (e) =>
|
|
37
|
+
set: (e) => r(e)
|
|
39
38
|
});
|
|
40
39
|
function b() {
|
|
41
|
-
|
|
40
|
+
s("action");
|
|
42
41
|
}
|
|
43
|
-
return (e,
|
|
42
|
+
return (e, a) => (d(), i(A, {
|
|
44
43
|
label: e.label,
|
|
45
|
-
id: t(
|
|
44
|
+
id: t(o),
|
|
46
45
|
icon: e.icon,
|
|
47
46
|
"icon-type": e.iconType,
|
|
48
47
|
required: e.required,
|
|
49
48
|
type: e.type,
|
|
50
49
|
readonly: e.readonly
|
|
51
50
|
}, {
|
|
52
|
-
default:
|
|
53
|
-
|
|
54
|
-
e.type === "dropdown" && e.data ? (d(), i(
|
|
51
|
+
default: v(() => [
|
|
52
|
+
q("div", L, [
|
|
53
|
+
e.type === "dropdown" && e.data ? (d(), i(g, {
|
|
55
54
|
key: 0,
|
|
56
55
|
modelValue: n.value,
|
|
57
|
-
"onUpdate:modelValue":
|
|
58
|
-
id: t(
|
|
56
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
|
|
57
|
+
id: t(o),
|
|
59
58
|
options: e.data,
|
|
60
59
|
name: e.name,
|
|
61
60
|
required: e.required,
|
|
62
61
|
placeholder: e.placeholder
|
|
63
|
-
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (d(), i(
|
|
62
|
+
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (d(), i(k, {
|
|
64
63
|
key: 1,
|
|
65
|
-
modelValue:
|
|
66
|
-
"onUpdate:modelValue":
|
|
67
|
-
id: t(
|
|
64
|
+
modelValue: p.value,
|
|
65
|
+
"onUpdate:modelValue": a[1] || (a[1] = (l) => p.value = l),
|
|
66
|
+
id: t(o),
|
|
68
67
|
"min-value": e.minValue,
|
|
69
68
|
"max-value": e.maxValue
|
|
70
|
-
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (d(), i(
|
|
69
|
+
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (d(), i(B, {
|
|
71
70
|
key: 2,
|
|
72
71
|
modelValue: n.value,
|
|
73
|
-
"onUpdate:modelValue":
|
|
74
|
-
id: t(
|
|
72
|
+
"onUpdate:modelValue": a[2] || (a[2] = (l) => n.value = l),
|
|
73
|
+
id: t(o),
|
|
75
74
|
name: e.name,
|
|
76
75
|
required: e.required,
|
|
77
76
|
placeholder: e.placeholder
|
|
78
77
|
}, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
|
|
79
|
-
|
|
78
|
+
I(C, {
|
|
80
79
|
"data-test": `${e.name}Submit`,
|
|
81
80
|
icon: e.buttonIcon,
|
|
82
81
|
label: e.buttonLabel,
|
|
@@ -86,14 +85,14 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
86
85
|
"is-loading": e.isLoading,
|
|
87
86
|
disabled: e.buttonDisabled,
|
|
88
87
|
secondary: e.secondary,
|
|
89
|
-
onClickEvent:
|
|
88
|
+
onClickEvent: a[3] || (a[3] = (l) => b())
|
|
90
89
|
}, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
|
|
91
90
|
])
|
|
92
91
|
]),
|
|
93
92
|
_: 1
|
|
94
93
|
}, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
|
|
95
94
|
}
|
|
96
|
-
}),
|
|
95
|
+
}), h = /* @__PURE__ */ F(T, [["__scopeId", "data-v-3e77e321"]]);
|
|
97
96
|
export {
|
|
98
|
-
|
|
97
|
+
h as A
|
|
99
98
|
};
|
|
Binary file
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { k as L, r as M, c as J, o as t, l as u, D as Y, N as Z, F as ee, s as A, aa as N, ab as E, f as v, a2 as H, B as ae, m as g, w as le, x as $, z as e, p as o, J as k, y as te, n as y, a3 as I, T as z, A as O, C as T, q as S, h as ie, _ as j } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
2
|
+
import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js";
|
|
3
|
+
import { E as q } from "./_-TlutFgf7.js";
|
|
4
|
+
import { F as f } from "./Field-fWwF40rD.js";
|
|
5
|
+
const oe = /* @__PURE__ */ L({
|
|
6
|
+
__name: "_",
|
|
7
|
+
props: {
|
|
8
|
+
type: { default: "submit" }
|
|
9
|
+
},
|
|
10
|
+
emits: ["submit"],
|
|
11
|
+
setup(h, { emit: a }) {
|
|
12
|
+
const n = M(!1), r = a, c = h, { verifyRecaptcha: d } = J();
|
|
13
|
+
function p() {
|
|
14
|
+
n.value = !0, d({
|
|
15
|
+
callback: D,
|
|
16
|
+
type: c.type
|
|
17
|
+
}).then(() => n.value = !1);
|
|
18
|
+
}
|
|
19
|
+
function D() {
|
|
20
|
+
r("submit");
|
|
21
|
+
}
|
|
22
|
+
return (V, R) => (t(), u("form", {
|
|
23
|
+
onSubmit: Z(p, ["prevent"])
|
|
24
|
+
}, [
|
|
25
|
+
Y(V.$slots, "default", { isLoading: n.value })
|
|
26
|
+
], 32));
|
|
27
|
+
}
|
|
28
|
+
}), se = {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "konnectio-availability-location"
|
|
31
|
+
}, re = { id: "fresh-booking-availability-date-selection" }, ue = {
|
|
32
|
+
key: 1,
|
|
33
|
+
id: "fresh-booking-availability-guest-selection"
|
|
34
|
+
}, ce = { id: "fresh-booking-availability-confirmation" }, de = /* @__PURE__ */ L({
|
|
35
|
+
__name: "HotelAvailabilityForm",
|
|
36
|
+
props: {
|
|
37
|
+
booking: { type: Boolean, default: !1 },
|
|
38
|
+
link: {}
|
|
39
|
+
},
|
|
40
|
+
setup(h) {
|
|
41
|
+
const { t: a } = ee(), n = h, {
|
|
42
|
+
adults: r,
|
|
43
|
+
children: c,
|
|
44
|
+
arrivalDate: d,
|
|
45
|
+
departureDate: p,
|
|
46
|
+
location: D,
|
|
47
|
+
isExpired: V
|
|
48
|
+
} = A(N()), { reset: R } = N(), { fetchAvailabilityData: G } = E(), { areListingsLoading: U, hotelList: K, hasHotelList: _ } = A(E()), {
|
|
49
|
+
firstSelectableDateOffset: B,
|
|
50
|
+
lastSelectableDateOffset: C,
|
|
51
|
+
disableChildSelection: b,
|
|
52
|
+
disableAdultSelection: m
|
|
53
|
+
} = A(J()), w = M([]), P = v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (B.value - 1)))), fe = v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + C.value))), ye = v(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + B.value))), Q = v(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + (C.value + 1)))), x = v(() => !(!m && r.value === 0)), W = v(() => typeof n.link != "string");
|
|
54
|
+
function X() {
|
|
55
|
+
if (n.booking === !1)
|
|
56
|
+
if (W.value) {
|
|
57
|
+
const s = ie();
|
|
58
|
+
n.link[s] ? window.location.replace(n.link[s]) : n.link.en ? window.location.replace(n.link.en) : console.log("Sprog understøttes ikke");
|
|
59
|
+
} else
|
|
60
|
+
window.location.replace(n.link);
|
|
61
|
+
else
|
|
62
|
+
x.value && G();
|
|
63
|
+
}
|
|
64
|
+
return H(d, (s) => {
|
|
65
|
+
const l = new Date(new Date(s).setDate(new Date(s).getDate() + 1));
|
|
66
|
+
new Date(p.value) < l && (p.value = l);
|
|
67
|
+
}), H(w, (s) => {
|
|
68
|
+
d.value = s[0], p.value = s[1];
|
|
69
|
+
}), ae(() => {
|
|
70
|
+
V.value && R(), w.value = [d.value, p.value];
|
|
71
|
+
}), (s, l) => (t(), g(oe, {
|
|
72
|
+
id: "konnectio-availability-form",
|
|
73
|
+
class: S({ reservation: s.booking }),
|
|
74
|
+
type: "availability",
|
|
75
|
+
onSubmit: X
|
|
76
|
+
}, {
|
|
77
|
+
default: le(({ isLoading: F }) => [
|
|
78
|
+
$("ul", {
|
|
79
|
+
id: "konnectio-availability-form-content",
|
|
80
|
+
class: S([
|
|
81
|
+
{ "is-booking-page": s.booking },
|
|
82
|
+
{ "only-adult-guests": !e(m) && e(b) },
|
|
83
|
+
{ "only-child-guests": !e(b) && e(m) },
|
|
84
|
+
{ "no-guests": e(m) && e(b) },
|
|
85
|
+
{ "all-guests": !e(m) && !e(b) },
|
|
86
|
+
{ "has-location": e(_) }
|
|
87
|
+
])
|
|
88
|
+
}, [
|
|
89
|
+
e(_) ? (t(), u("li", se, [
|
|
90
|
+
o(te, {
|
|
91
|
+
modelValue: e(D),
|
|
92
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => k(D) ? D.value = i : null),
|
|
93
|
+
label: e(a)("general.location"),
|
|
94
|
+
icon: "location-dot",
|
|
95
|
+
"icon-type": "fas",
|
|
96
|
+
"icon-placement": "label",
|
|
97
|
+
options: e(K),
|
|
98
|
+
searchable: !1
|
|
99
|
+
}, null, 8, ["modelValue", "label", "options"])
|
|
100
|
+
])) : y("", !0),
|
|
101
|
+
$("li", re, [
|
|
102
|
+
o(ne, {
|
|
103
|
+
modelValue: w.value,
|
|
104
|
+
"onUpdate:modelValue": l[1] || (l[1] = (i) => w.value = i),
|
|
105
|
+
label: e(a)("availability.checkInOut"),
|
|
106
|
+
"icon-type": "fas",
|
|
107
|
+
"icon-placement": "label",
|
|
108
|
+
"min-range": 1,
|
|
109
|
+
"min-date": P.value,
|
|
110
|
+
"max-date": Q.value,
|
|
111
|
+
range: ""
|
|
112
|
+
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
113
|
+
y("", !0)
|
|
114
|
+
]),
|
|
115
|
+
!e(m) || !e(b) ? (t(), u("li", ue, [
|
|
116
|
+
e(m) ? y("", !0) : (t(), u(I, { key: 0 }, [
|
|
117
|
+
e(_) ? (t(), g(z, {
|
|
118
|
+
key: 0,
|
|
119
|
+
modelValue: e(r),
|
|
120
|
+
"onUpdate:modelValue": l[4] || (l[4] = (i) => k(r) ? r.value = i : null),
|
|
121
|
+
label: e(a)("availability.adults"),
|
|
122
|
+
description: e(a)("general.adultAgeRange"),
|
|
123
|
+
"icon-type": "fas",
|
|
124
|
+
"icon-placement": "label",
|
|
125
|
+
name: "adults",
|
|
126
|
+
icon: "male"
|
|
127
|
+
}, null, 8, ["modelValue", "label", "description"])) : (t(), g(O, {
|
|
128
|
+
key: 1,
|
|
129
|
+
modelValue: e(r),
|
|
130
|
+
"onUpdate:modelValue": l[5] || (l[5] = (i) => k(r) ? r.value = i : null),
|
|
131
|
+
label: e(a)("availability.adults"),
|
|
132
|
+
description: e(a)("general.adultAgeRange"),
|
|
133
|
+
"icon-type": "fas",
|
|
134
|
+
"icon-placement": "label",
|
|
135
|
+
name: "adults",
|
|
136
|
+
icon: "male"
|
|
137
|
+
}, null, 8, ["modelValue", "label", "description"]))
|
|
138
|
+
], 64)),
|
|
139
|
+
e(b) ? y("", !0) : (t(), u(I, { key: 1 }, [
|
|
140
|
+
e(_) ? (t(), g(z, {
|
|
141
|
+
key: 0,
|
|
142
|
+
modelValue: e(c),
|
|
143
|
+
"onUpdate:modelValue": l[6] || (l[6] = (i) => k(c) ? c.value = i : null),
|
|
144
|
+
label: e(a)("availability.children"),
|
|
145
|
+
description: e(a)("general.childAgeRange"),
|
|
146
|
+
"icon-type": "fas",
|
|
147
|
+
"icon-placement": "label",
|
|
148
|
+
name: "children",
|
|
149
|
+
icon: "child"
|
|
150
|
+
}, null, 8, ["modelValue", "label", "description"])) : (t(), g(O, {
|
|
151
|
+
key: 1,
|
|
152
|
+
modelValue: e(c),
|
|
153
|
+
"onUpdate:modelValue": l[7] || (l[7] = (i) => k(c) ? c.value = i : null),
|
|
154
|
+
label: e(a)("availability.children"),
|
|
155
|
+
description: e(a)("general.childAgeRange"),
|
|
156
|
+
"icon-type": "fas",
|
|
157
|
+
"icon-placement": "label",
|
|
158
|
+
name: "children",
|
|
159
|
+
icon: "child"
|
|
160
|
+
}, null, 8, ["modelValue", "label", "description"]))
|
|
161
|
+
], 64))
|
|
162
|
+
])) : y("", !0),
|
|
163
|
+
$("li", ce, [
|
|
164
|
+
o(T, {
|
|
165
|
+
class: "konnectio-availability-submit-small",
|
|
166
|
+
type: "submit",
|
|
167
|
+
icon: "search",
|
|
168
|
+
"icon-type": "fas",
|
|
169
|
+
disabled: !x.value,
|
|
170
|
+
"is-loading": e(U) || F
|
|
171
|
+
}, null, 8, ["disabled", "is-loading"]),
|
|
172
|
+
o(T, {
|
|
173
|
+
class: "konnectio-availability-submit-large",
|
|
174
|
+
type: "submit",
|
|
175
|
+
label: e(a)("availability.buttonLabel"),
|
|
176
|
+
disabled: !x.value,
|
|
177
|
+
"is-loading": e(U) || F
|
|
178
|
+
}, null, 8, ["label", "disabled", "is-loading"])
|
|
179
|
+
])
|
|
180
|
+
], 2)
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
}, 8, ["class"]));
|
|
184
|
+
}
|
|
185
|
+
}), _e = /* @__PURE__ */ j(de, [["__scopeId", "data-v-9ec1beba"]]), me = { class: "availability-skeleton" }, pe = {
|
|
186
|
+
key: 0,
|
|
187
|
+
class: "availability-skeleton-navigation"
|
|
188
|
+
}, be = {
|
|
189
|
+
key: 2,
|
|
190
|
+
class: "availability-skeleton-event"
|
|
191
|
+
}, ve = /* @__PURE__ */ L({
|
|
192
|
+
__name: "AvailabilitySkeleton",
|
|
193
|
+
props: {
|
|
194
|
+
view: { default: "hotel" },
|
|
195
|
+
hotel: { type: Boolean, default: !1 }
|
|
196
|
+
},
|
|
197
|
+
setup(h) {
|
|
198
|
+
return (a, n) => (t(), u("div", me, [
|
|
199
|
+
a.view === "both" ? (t(), u("div", pe, [
|
|
200
|
+
o(q, {
|
|
201
|
+
height: "28px",
|
|
202
|
+
width: "60px",
|
|
203
|
+
"border-radius": "20px"
|
|
204
|
+
}),
|
|
205
|
+
o(q, {
|
|
206
|
+
height: "28px",
|
|
207
|
+
width: "60px",
|
|
208
|
+
"border-radius": "20px"
|
|
209
|
+
})
|
|
210
|
+
])) : y("", !0),
|
|
211
|
+
a.view !== "event" ? (t(), u("div", {
|
|
212
|
+
key: 1,
|
|
213
|
+
class: S([
|
|
214
|
+
"availability-skeleton-hotel",
|
|
215
|
+
{ "within-hotel": a.hotel }
|
|
216
|
+
])
|
|
217
|
+
}, [
|
|
218
|
+
o(f, { "with-icon": "" }),
|
|
219
|
+
o(f, { "with-icon": "" }),
|
|
220
|
+
o(f, { "with-icon": "" }),
|
|
221
|
+
o(f, {
|
|
222
|
+
"with-icon": "",
|
|
223
|
+
"no-label": ""
|
|
224
|
+
})
|
|
225
|
+
], 2)) : (t(), u("div", be, [
|
|
226
|
+
o(f, { "with-icon": "" }),
|
|
227
|
+
o(f, {
|
|
228
|
+
"with-icon": "",
|
|
229
|
+
"no-label": ""
|
|
230
|
+
})
|
|
231
|
+
]))
|
|
232
|
+
]));
|
|
233
|
+
}
|
|
234
|
+
}), we = /* @__PURE__ */ j(ve, [["__scopeId", "data-v-be195a3f"]]);
|
|
235
|
+
export {
|
|
236
|
+
we as A,
|
|
237
|
+
_e as H,
|
|
238
|
+
oe as _
|
|
239
|
+
};
|
|
Binary file
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
1
|
+
import { k as b, v as k, r as V, B as $, o as p, m as B, w as I, x as d, p as C, z as i, T as q, I as T, _ as v, ah as A, q as h, ai as _, aj as w, l as g, H as u, n as P, F as N, a6 as f, s as F, c as G, ak as j, Q as z, R as E } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
2
|
+
const H = { class: "fresh-booking-phone-input" }, O = /* @__PURE__ */ b({
|
|
4
3
|
__name: "PhoneField",
|
|
5
4
|
props: {
|
|
6
5
|
modelValue: {},
|
|
@@ -16,29 +15,29 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
16
15
|
},
|
|
17
16
|
emits: ["update:modelValue"],
|
|
18
17
|
setup(a, { emit: l }) {
|
|
19
|
-
const t = l, n = a, c = n.id ||
|
|
18
|
+
const t = l, n = a, c = n.id || k(), e = V("+45"), s = V("");
|
|
20
19
|
function m() {
|
|
21
|
-
t("update:modelValue", `${e.value} ${
|
|
20
|
+
t("update:modelValue", `${e.value} ${s.value}`);
|
|
22
21
|
}
|
|
23
22
|
return $(() => {
|
|
24
23
|
if (n.modelValue) {
|
|
25
24
|
const o = n.modelValue.split(" ");
|
|
26
|
-
e.value = o[0],
|
|
25
|
+
e.value = o[0], s.value = o[1];
|
|
27
26
|
}
|
|
28
|
-
}), (o,
|
|
27
|
+
}), (o, r) => (p(), B(T, {
|
|
29
28
|
label: o.label,
|
|
30
29
|
id: i(c),
|
|
31
30
|
type: "phone",
|
|
32
31
|
required: o.required,
|
|
33
32
|
readonly: o.readonly
|
|
34
33
|
}, {
|
|
35
|
-
default:
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
default: I(() => [
|
|
35
|
+
d("div", H, [
|
|
36
|
+
C(q, {
|
|
38
37
|
modelValue: e.value,
|
|
39
|
-
"onUpdate:modelValue":
|
|
38
|
+
"onUpdate:modelValue": r[0] || (r[0] = (y) => e.value = y),
|
|
40
39
|
type: "text",
|
|
41
|
-
id: i(
|
|
40
|
+
id: i(k)(),
|
|
42
41
|
name: "phone-code",
|
|
43
42
|
autocomplete: "tel-country-code",
|
|
44
43
|
icon: o.icon,
|
|
@@ -48,11 +47,11 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
48
47
|
required: o.required,
|
|
49
48
|
readonly: o.readonly,
|
|
50
49
|
"input-style": o.inputStyle,
|
|
51
|
-
onInput:
|
|
50
|
+
onInput: r[1] || (r[1] = (y) => m())
|
|
52
51
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
53
|
-
|
|
54
|
-
modelValue:
|
|
55
|
-
"onUpdate:modelValue":
|
|
52
|
+
C(q, {
|
|
53
|
+
modelValue: s.value,
|
|
54
|
+
"onUpdate:modelValue": r[2] || (r[2] = (y) => s.value = y),
|
|
56
55
|
type: "number",
|
|
57
56
|
name: "phone",
|
|
58
57
|
autocomplete: "tel-national",
|
|
@@ -61,14 +60,14 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
61
60
|
required: o.required,
|
|
62
61
|
readonly: o.readonly,
|
|
63
62
|
"input-style": o.inputStyle,
|
|
64
|
-
onInput:
|
|
63
|
+
onInput: r[3] || (r[3] = (y) => m())
|
|
65
64
|
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
|
|
66
65
|
])
|
|
67
66
|
]),
|
|
68
67
|
_: 1
|
|
69
68
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
70
69
|
}
|
|
71
|
-
}),
|
|
70
|
+
}), x = /* @__PURE__ */ v(O, [["__scopeId", "data-v-5cd094ab"]]), R = ["required", "type", "name", "readonly", "disabled", "value", "checked"], U = ["data-test"], D = { key: 0 }, K = /* @__PURE__ */ b({
|
|
72
71
|
__name: "Checkbox",
|
|
73
72
|
props: {
|
|
74
73
|
modelValue: { type: [String, Boolean, Number] },
|
|
@@ -92,13 +91,13 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
92
91
|
t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
|
|
93
92
|
);
|
|
94
93
|
}
|
|
95
|
-
return (e,
|
|
94
|
+
return (e, s) => (p(), B(T, {
|
|
96
95
|
required: e.required,
|
|
97
96
|
type: e.type,
|
|
98
97
|
readonly: e.readonly
|
|
99
98
|
}, {
|
|
100
|
-
default:
|
|
101
|
-
|
|
99
|
+
default: I(() => [
|
|
100
|
+
d("label", {
|
|
102
101
|
class: h([
|
|
103
102
|
"fresh-booking-click-box-container",
|
|
104
103
|
{ "is-readonly": e.readonly },
|
|
@@ -106,7 +105,7 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
106
105
|
e.type === "radio" ? "radio" : "checkbox"
|
|
107
106
|
])
|
|
108
107
|
}, [
|
|
109
|
-
|
|
108
|
+
d("input", A(e.$attrs, {
|
|
110
109
|
required: !!e.required,
|
|
111
110
|
type: e.type,
|
|
112
111
|
name: e.name,
|
|
@@ -115,9 +114,9 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
115
114
|
disabled: !!e.readonly,
|
|
116
115
|
value: e.type === "radio" ? e.val : e.modelValue,
|
|
117
116
|
checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue,
|
|
118
|
-
onChange:
|
|
119
|
-
}), null, 16,
|
|
120
|
-
|
|
117
|
+
onChange: s[0] || (s[0] = (m) => c())
|
|
118
|
+
}), null, 16, R),
|
|
119
|
+
d("div", {
|
|
121
120
|
class: h([
|
|
122
121
|
"fresh-booking-click-box",
|
|
123
122
|
{ checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue }
|
|
@@ -125,40 +124,40 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
125
124
|
tabindex: "0",
|
|
126
125
|
style: _(e.inputStyle),
|
|
127
126
|
"data-test": e.name,
|
|
128
|
-
onKeyup:
|
|
129
|
-
}, null, 46,
|
|
127
|
+
onKeyup: s[1] || (s[1] = w((m) => c(), ["enter"]))
|
|
128
|
+
}, null, 46, U),
|
|
130
129
|
e.label ? (p(), g("div", {
|
|
131
130
|
key: 0,
|
|
132
131
|
class: h(["fresh-booking-click-box-label", { "with-price": e.price }])
|
|
133
132
|
}, [
|
|
134
|
-
|
|
135
|
-
e.price ? (p(), g("span",
|
|
136
|
-
], 2)) :
|
|
133
|
+
d("span", null, u(e.label), 1),
|
|
134
|
+
e.price ? (p(), g("span", D, u(e.price), 1)) : P("", !0)
|
|
135
|
+
], 2)) : P("", !0)
|
|
137
136
|
], 2)
|
|
138
137
|
]),
|
|
139
138
|
_: 1
|
|
140
139
|
}, 8, ["required", "type", "readonly"]));
|
|
141
140
|
}
|
|
142
|
-
}),
|
|
141
|
+
}), ee = /* @__PURE__ */ v(K, [["__scopeId", "data-v-7ef656cb"]]), M = {
|
|
143
142
|
href: "https://policies.google.com/privacy",
|
|
144
143
|
target: "_blank"
|
|
145
144
|
}, W = {
|
|
146
145
|
href: "https://policies.google.com/terms",
|
|
147
146
|
target: "_blank"
|
|
148
|
-
},
|
|
147
|
+
}, Q = /* @__PURE__ */ b({
|
|
149
148
|
__name: "GoogleNotice",
|
|
150
149
|
setup(a) {
|
|
151
|
-
const { t: l } =
|
|
150
|
+
const { t: l } = N();
|
|
152
151
|
return (t, n) => (p(), g("span", null, [
|
|
153
152
|
f(u(i(l)("googleNotice")) + " ", 1),
|
|
154
|
-
|
|
153
|
+
d("a", M, u(i(l)("googlePrivacyPolicy")), 1),
|
|
155
154
|
f(" " + u(i(l)("googleAnd")) + " ", 1),
|
|
156
|
-
|
|
155
|
+
d("a", W, u(i(l)("googleTOS")), 1),
|
|
157
156
|
f(" " + u(i(l)("googleApply")) + ". ", 1)
|
|
158
157
|
]));
|
|
159
158
|
}
|
|
160
159
|
});
|
|
161
|
-
function
|
|
160
|
+
function S(a) {
|
|
162
161
|
const l = a;
|
|
163
162
|
l.__i18n = l.__i18n || [], l.__i18n.push({
|
|
164
163
|
locale: "",
|
|
@@ -180,27 +179,27 @@ function q(a) {
|
|
|
180
179
|
}
|
|
181
180
|
});
|
|
182
181
|
}
|
|
183
|
-
typeof
|
|
184
|
-
const
|
|
185
|
-
|
|
182
|
+
typeof S == "function" && S(Q);
|
|
183
|
+
const J = (a) => (z("data-v-340cb9ce"), a = a(), E(), a), L = /* @__PURE__ */ J(() => /* @__PURE__ */ d("div", { id: "fresh-booking-payment-checkout" }, null, -1)), X = [
|
|
184
|
+
L
|
|
186
185
|
], Y = /* @__PURE__ */ b({
|
|
187
186
|
__name: "CheckoutWindow",
|
|
188
187
|
setup(a) {
|
|
189
|
-
const { paymentGatewayId: l } = F(
|
|
188
|
+
const { paymentGatewayId: l } = F(G());
|
|
190
189
|
return $(() => {
|
|
191
190
|
const t = document.createElement("script"), n = document.createElement("script");
|
|
192
191
|
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);
|
|
193
192
|
}), (t, n) => (p(), g("div", null, [
|
|
194
|
-
|
|
193
|
+
d("div", {
|
|
195
194
|
id: "fresh-booking-payment-checkout-wrapper",
|
|
196
|
-
class: h({ reePay: i(l) === i(
|
|
195
|
+
class: h({ reePay: i(l) === i(j).ReePay })
|
|
197
196
|
}, X, 2)
|
|
198
197
|
]));
|
|
199
198
|
}
|
|
200
|
-
}),
|
|
199
|
+
}), oe = /* @__PURE__ */ v(Y, [["__scopeId", "data-v-340cb9ce"]]);
|
|
201
200
|
export {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
ee as C,
|
|
202
|
+
x as P,
|
|
203
|
+
Q as _,
|
|
204
|
+
oe as a
|
|
206
205
|
};
|
|
Binary file
|
|
@@ -9,15 +9,14 @@ var a = (r, t, o) => t in r ? u(r, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(t, o) && a(r, o, t[o]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const g = { class: "konnectio-container" }, v = /* @__PURE__ */ i({
|
|
12
|
+
import { k as s, f as i, B as c, o as y, l as b, D as P, _ as C } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
13
|
+
const g = { class: "konnectio-container" }, v = /* @__PURE__ */ s({
|
|
15
14
|
__name: "Container",
|
|
16
15
|
props: {
|
|
17
16
|
styling: {}
|
|
18
17
|
},
|
|
19
18
|
setup(r) {
|
|
20
|
-
const t = r, o =
|
|
19
|
+
const t = r, o = i(() => l({
|
|
21
20
|
accentColor: "#6ab1e6",
|
|
22
21
|
accentColorSecondary: "#dae9f8",
|
|
23
22
|
buttonBackground: "#6ab1e6",
|
|
@@ -59,11 +58,11 @@ const g = { class: "konnectio-container" }, v = /* @__PURE__ */ i({
|
|
|
59
58
|
return c(() => {
|
|
60
59
|
const e = document.documentElement.style;
|
|
61
60
|
e.setProperty("--accentColor", o.value.accentColor), e.setProperty("--accentColorSecondary", o.value.accentColorSecondary), e.setProperty("--buttonBackground", o.value.buttonBackground), e.setProperty("--buttonBorder", o.value.buttonBorder), e.setProperty("--buttonBorderRadius", o.value.buttonBorderRadius), e.setProperty("--buttonColor", o.value.buttonColor), e.setProperty("--buttonFontFamily", o.value.buttonFontFamily), e.setProperty("--buttonFontSize", o.value.buttonFontSize), e.setProperty("--buttonFontWeight", o.value.buttonFontWeight), e.setProperty("--buttonTextTransform", o.value.buttonTextTransform), e.setProperty("--dangerColor", o.value.dangerColor), e.setProperty("--fontColor", o.value.fontColor), e.setProperty("--fontFamily", o.value.fontFamily), e.setProperty("--fontSize", o.value.fontSize), e.setProperty("--grayColor", o.value.grayColor), e.setProperty("--headerColor", o.value.headerColor), e.setProperty("--inputBackground", o.value.inputBackground), e.setProperty("--inputBorder", o.value.inputBorder), e.setProperty("--inputBorderRadius", o.value.inputBorderRadius), e.setProperty("--inputBorderWidth", o.value.inputBorderWidth), e.setProperty("--inputFontColor", o.value.inputFontColor), e.setProperty("--labelFontColor", o.value.labelFontColor), e.setProperty("--labelFontWeight", o.value.labelFontWeight), e.setProperty("--labelFontSize", o.value.labelFontSize), e.setProperty("--labelPadding", o.value.labelPadding), e.setProperty("--linkColor", o.value.linkColor), e.setProperty("--linkHoverColor", o.value.linkHoverColor), e.setProperty("--loadingColor", o.value.loadingColor), e.setProperty("--panelBackground", o.value.panelBackground), e.setProperty("--panelBorder", o.value.panelBorder), e.setProperty("--panelBorderRadius", o.value.panelBorderRadius), e.setProperty("--panelInnerPadding", o.value.panelInnerPadding), e.setProperty("--panelMaxWidth", o.value.panelMaxWidth), e.setProperty("--panelPadding", o.value.panelPadding), e.setProperty("--panelShadow", o.value.panelShadow), e.setProperty("--successColor", o.value.successColor);
|
|
62
|
-
}), (e,
|
|
61
|
+
}), (e, B) => (y(), b("div", g, [
|
|
63
62
|
P(e.$slots, "default", {}, void 0, !0)
|
|
64
63
|
]));
|
|
65
64
|
}
|
|
66
|
-
}),
|
|
65
|
+
}), x = /* @__PURE__ */ C(v, [["__scopeId", "data-v-b8c97ab0"]]);
|
|
67
66
|
export {
|
|
68
|
-
|
|
67
|
+
x as C
|
|
69
68
|
};
|
|
Binary file
|
|
@@ -35,8 +35,7 @@ var zr = (e, t, r) => new Promise((n, a) => {
|
|
|
35
35
|
}, i = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, o);
|
|
36
36
|
i((r = r.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
|
-
import {
|
|
39
|
-
import { r as wl, I as bl, f as _l } from "./SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js";
|
|
38
|
+
import { aH as wa, r as te, k as Qe, al as Qt, aK as Ya, B as ot, ar as Ut, f as q, aI as br, a2 as Ht, o as A, l as L, p as it, X as lt, a4 as Fe, w as _e, aw as nt, av as qe, D as se, z as y, ah as Je, J as Qr, ac as oa, n as Q, aE as ml, q as Se, ax as pl, aL as Xr, aj as we, x as ye, m as Ce, N as Re, a3 as De, ai as pt, H as Ge, aM as _r, a6 as At, aN as hl, af as Aa, ag as Sa, aO as yl, aP as gl, v as wl, h as bl, I as _l } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
40
39
|
function vt(e) {
|
|
41
40
|
"@babel/helpers - typeof";
|
|
42
41
|
return vt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -8446,7 +8445,7 @@ const ds = ({
|
|
|
8446
8445
|
Object.entries(Pd).forEach(([e, t]) => {
|
|
8447
8446
|
e !== "default" && (Br[e] = t);
|
|
8448
8447
|
});
|
|
8449
|
-
const xd = ["name", "value"],
|
|
8448
|
+
const xd = ["name", "value"], Sd = /* @__PURE__ */ Qe({
|
|
8450
8449
|
__name: "DateField",
|
|
8451
8450
|
props: {
|
|
8452
8451
|
modelValue: {},
|
|
@@ -8502,7 +8501,7 @@ const xd = ["name", "value"], $d = /* @__PURE__ */ Qe({
|
|
|
8502
8501
|
let v = n.modelValue;
|
|
8503
8502
|
return f.value && typeof v != "string" && (v = s(v)), v;
|
|
8504
8503
|
});
|
|
8505
|
-
return (v, b) => (A(), Ce(
|
|
8504
|
+
return (v, b) => (A(), Ce(_l, {
|
|
8506
8505
|
label: v.label,
|
|
8507
8506
|
id: `dp-input-${y(a)}`,
|
|
8508
8507
|
icon: v.icon,
|
|
@@ -8527,7 +8526,7 @@ const xd = ["name", "value"], $d = /* @__PURE__ */ Qe({
|
|
|
8527
8526
|
placeholder: v.placeholder,
|
|
8528
8527
|
required: !!v.required,
|
|
8529
8528
|
readonly: v.readonly,
|
|
8530
|
-
locale: y(
|
|
8529
|
+
locale: y(bl)(!0),
|
|
8531
8530
|
"onUpdate:modelValue": o,
|
|
8532
8531
|
highlightWeekDays: [0, 6],
|
|
8533
8532
|
modelValue: g.value,
|
|
@@ -8563,5 +8562,5 @@ const xd = ["name", "value"], $d = /* @__PURE__ */ Qe({
|
|
|
8563
8562
|
}
|
|
8564
8563
|
});
|
|
8565
8564
|
export {
|
|
8566
|
-
|
|
8565
|
+
Sd as _
|
|
8567
8566
|
};
|
|
Binary file
|