@konnectio/core 4.0.56-rc2 → 4.0.56-rc20
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-Qf4JAgBa.js → ActionField-8hkjdoF_.js} +27 -28
- package/dist/ActionField-8hkjdoF_.js.br +0 -0
- package/dist/AvailabilitySkeleton-K35mnVjA.js +215 -0
- package/dist/AvailabilitySkeleton-K35mnVjA.js.br +0 -0
- package/dist/{CheckoutWindow-S9xKe_Wf.js → CheckoutWindow-bgpWiBAd.js} +51 -52
- package/dist/CheckoutWindow-bgpWiBAd.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js +8026 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js.br +0 -0
- package/dist/{Field-b7XkSAoi.js → Field-FbUrCgmJ.js} +11 -13
- package/dist/Field-FbUrCgmJ.js.br +0 -0
- package/dist/ThankYou-tb7LP48E.js +12081 -0
- package/dist/ThankYou-tb7LP48E.js.br +0 -0
- package/dist/_-5tXWGiwV.js +30333 -0
- package/dist/_-5tXWGiwV.js.br +0 -0
- package/dist/availability.js +117 -96
- package/dist/availability.js.br +0 -0
- package/dist/{event-MXmxvcpC.js → event-36Kem6rb.js} +9 -10
- package/dist/event-36Kem6rb.js.br +0 -0
- package/dist/event.js +450 -426
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +92 -56
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +269 -260
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1576 -1509
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +3201 -3210
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +32 -23
- package/dist/ActionField-Qf4JAgBa.js.br +0 -0
- package/dist/ActionField-ztW-1xka.cjs +0 -1
- package/dist/AvailabilitySkeleton-GPTCv3Xy.js +0 -242
- package/dist/AvailabilitySkeleton-GPTCv3Xy.js.br +0 -0
- package/dist/AvailabilitySkeleton-v0QVPuim.cjs +0 -1
- package/dist/CheckoutWindow-NUwbNAPw.cjs +0 -1
- package/dist/CheckoutWindow-S9xKe_Wf.js.br +0 -0
- package/dist/Container-Fl2PKj-u.js +0 -59
- package/dist/Container-Fl2PKj-u.js.br +0 -0
- package/dist/Container-Y6_3uTWy.cjs +0 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-hZTsLsOv.cjs +0 -2
- package/dist/DateField.vue_vue_type_style_index_0_lang-iz9zEBOR.js +0 -8559
- package/dist/DateField.vue_vue_type_style_index_0_lang-iz9zEBOR.js.br +0 -0
- package/dist/Field-UTbHMN9U.cjs +0 -1
- package/dist/Field-b7XkSAoi.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js +0 -21406
- package/dist/SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-eLyZ247i.cjs +0 -851
- package/dist/ThankYou-LiiG3Zv1.js +0 -13252
- package/dist/ThankYou-LiiG3Zv1.js.br +0 -0
- package/dist/ThankYou-M6d4G8pc.cjs +0 -59
- package/dist/_-FAlGPZqe.js +0 -20
- package/dist/_-oL4OsiNw.cjs +0 -1
- package/dist/_commonjsHelpers-f52AuuUj.cjs +0 -1
- package/dist/assets/typescript/mixins.d.ts +0 -34
- package/dist/availability.cjs +0 -2
- package/dist/availability.d.ts +0 -3
- package/dist/components/Alert.vue.d.ts +0 -5
- package/dist/components/Alert.vue.d.ts.map +0 -1
- package/dist/components/Clickable.vue.d.ts +0 -5
- package/dist/components/Clickable.vue.d.ts.map +0 -1
- package/dist/components/Container.vue.d.ts +0 -5
- package/dist/components/Container.vue.d.ts.map +0 -1
- package/dist/components/ErrorMessage.vue.d.ts +0 -5
- package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
- package/dist/components/Gallery.vue.d.ts +0 -5
- package/dist/components/Gallery.vue.d.ts.map +0 -1
- package/dist/components/GoogleNotice.vue.d.ts +0 -4
- package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
- package/dist/components/Icon.vue.d.ts +0 -5
- package/dist/components/Icon.vue.d.ts.map +0 -1
- package/dist/components/Loading.vue.d.ts +0 -5
- package/dist/components/Loading.vue.d.ts.map +0 -1
- package/dist/components/Spinner.vue.d.ts +0 -4
- package/dist/components/Spinner.vue.d.ts.map +0 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -5
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -5
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
- package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -4
- package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
- package/dist/components/forms/MultiStepForm.vue.d.ts +0 -5
- package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +0 -6
- package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
- package/dist/components/forms/_.vue.d.ts +0 -4
- package/dist/components/forms/_.vue.d.ts.map +0 -1
- package/dist/components/inputs/Checkbox.vue.d.ts +0 -5
- package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
- package/dist/components/inputs/CheckboxField.vue.d.ts +0 -5
- package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
- package/dist/components/inputs/DateField.vue.d.ts +0 -5
- package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
- package/dist/components/inputs/InputField.vue.d.ts +0 -5
- package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
- package/dist/components/inputs/MediaSelector.vue.d.ts +0 -5
- package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
- package/dist/components/inputs/NumberField.vue.d.ts +0 -5
- package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
- package/dist/components/inputs/SelectField.vue.d.ts +0 -5
- package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
- package/dist/components/inputs/TextField.vue.d.ts +0 -5
- package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
- package/dist/components/inputs/TimeField.vue.d.ts +0 -5
- package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
- package/dist/components/listings/Base.vue.d.ts +0 -6
- package/dist/components/listings/Base.vue.d.ts.map +0 -1
- package/dist/components/listings/Event.vue.d.ts +0 -5
- package/dist/components/listings/Event.vue.d.ts.map +0 -1
- package/dist/components/listings/Hotel.vue.d.ts +0 -5
- package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
- package/dist/components/listings/Template.vue.d.ts +0 -5
- package/dist/components/listings/Template.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Base.vue.d.ts +0 -6
- package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
- package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -5
- package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Template.vue.d.ts +0 -5
- package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
- package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -5
- package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -5
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Field.vue.d.ts +0 -5
- package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -5
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -5
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Listing.vue.d.ts +0 -5
- package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Sidebar.vue.d.ts +0 -5
- package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
- package/dist/components/skeletons/_.vue.d.ts +0 -5
- package/dist/components/skeletons/_.vue.d.ts.map +0 -1
- package/dist/components/views/CheckoutWindow.vue.d.ts +0 -5
- package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
- package/dist/components/views/TermsOfService.vue.d.ts +0 -5
- package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
- package/dist/components/views/ThankYou.vue.d.ts +0 -5
- package/dist/components/views/ThankYou.vue.d.ts.map +0 -1
- package/dist/entries/availability.d.ts +0 -5
- package/dist/entries/event.d.ts +0 -2
- package/dist/entries/gift-card-validation.d.ts +0 -5
- package/dist/entries/gift-card.d.ts +0 -5
- package/dist/entries/hotel.d.ts +0 -5
- package/dist/entries/navigation.d.ts +0 -1
- package/dist/entries/polyfill.d.ts +0 -0
- package/dist/event-GaUgVNzy.cjs +0 -1
- package/dist/event-MXmxvcpC.js.br +0 -0
- package/dist/event.cjs +0 -1
- package/dist/event.d.ts +0 -3
- package/dist/gift-card-validation.cjs +0 -1
- package/dist/gift-card-validation.d.ts +0 -3
- package/dist/gift-card.cjs +0 -1
- package/dist/gift-card.d.ts +0 -3
- package/dist/hotel.cjs +0 -19
- package/dist/hotel.d.ts +0 -3
- package/dist/layouts/Availability.vue.d.ts +0 -25
- package/dist/layouts/Event.vue.d.ts +0 -18
- package/dist/layouts/GiftCard.vue.d.ts +0 -32
- package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
- package/dist/layouts/Hotel.vue.d.ts +0 -36
- package/dist/layouts/_.vue.d.ts +0 -39
- package/dist/navigation.cjs +0 -1
- package/dist/navigation.d.ts +0 -1
- package/dist/plugins/i18n.d.ts +0 -5
- package/dist/polyfill.cjs +0 -4
- package/dist/polyfill.d.ts +0 -1
- package/dist/store/alert.d.ts +0 -28
- package/dist/store/applyGiftCard.d.ts +0 -28
- package/dist/store/availability.d.ts +0 -40
- package/dist/store/event.d.ts +0 -683
- package/dist/store/giftCard.d.ts +0 -83
- package/dist/store/payment.d.ts +0 -139
- package/dist/store/recaptcha.d.ts +0 -28
- package/dist/store/tracking.d.ts +0 -57
- package/dist/store/utilities.d.ts +0 -350
- package/dist/types/index.d.ts +0 -976
|
@@ -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-30hJu8vr.js";
|
|
1
|
+
import { k as c, l as V, f as m, o as d, m as i, w as v, n as q, _ as g, p as t, q as k, T as B, t as I, C, I as F, v as A } from "./_-5tXWGiwV.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(F, {
|
|
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__ */ A(T, [["__scopeId", "data-v-3e77e321"]]);
|
|
97
96
|
export {
|
|
98
|
-
|
|
97
|
+
h as A
|
|
99
98
|
};
|
|
Binary file
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { k as N, B as Q, s as A, D as B, F, c as W, r as X, f as m, G as R, H as Y, o as t, x as s, n as D, p as e, t as i, J as y, _ as Z, y as v, K as C, m as w, T as H, q as I, C as z, A as x, L as ee, h as ae, v as O, z as E } from "./_-5tXWGiwV.js";
|
|
2
|
+
import { _ as le } from "./DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js";
|
|
3
|
+
import { F as p } from "./Field-FbUrCgmJ.js";
|
|
4
|
+
const te = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "konnectio-availability-location"
|
|
7
|
+
}, ie = { id: "fresh-booking-availability-date-selection" }, ne = {
|
|
8
|
+
key: 1,
|
|
9
|
+
id: "fresh-booking-availability-guest-selection"
|
|
10
|
+
}, oe = { id: "fresh-booking-availability-confirmation" }, se = /* @__PURE__ */ N({
|
|
11
|
+
__name: "HotelAvailabilityForm",
|
|
12
|
+
props: {
|
|
13
|
+
booking: { type: Boolean, default: !1 },
|
|
14
|
+
link: {}
|
|
15
|
+
},
|
|
16
|
+
setup(S) {
|
|
17
|
+
const { t: a } = Q(), d = S, {
|
|
18
|
+
adults: c,
|
|
19
|
+
children: r,
|
|
20
|
+
arrivalDate: f,
|
|
21
|
+
departureDate: g,
|
|
22
|
+
location: _,
|
|
23
|
+
isExpired: T
|
|
24
|
+
} = A(B()), { reset: q } = B(), { fetchAvailabilityData: M } = F(), { areListingsLoading: L, hotelList: G, hasHotelList: k } = A(F()), {
|
|
25
|
+
firstSelectableDateOffset: U,
|
|
26
|
+
lastSelectableDateOffset: $,
|
|
27
|
+
disableChildSelection: b,
|
|
28
|
+
disableAdultSelection: u
|
|
29
|
+
} = A(W()), h = X([]), J = m(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (U.value - 1))));
|
|
30
|
+
m(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + $.value))), m(() => new Date((/* @__PURE__ */ new Date()).setDate(f.value.getDate() + U.value)));
|
|
31
|
+
const K = m(() => new Date((/* @__PURE__ */ new Date()).setDate(f.value.getDate() + ($.value + 1)))), V = m(() => !(!u && c.value === 0)), j = m(() => typeof d.link != "string");
|
|
32
|
+
function P() {
|
|
33
|
+
if (d.booking === !1)
|
|
34
|
+
if (j.value) {
|
|
35
|
+
const n = ae();
|
|
36
|
+
d.link[n] ? window.location.replace(d.link[n]) : d.link.en ? window.location.replace(d.link.en) : console.log("Sprog understøttes ikke");
|
|
37
|
+
} else
|
|
38
|
+
window.location.replace(d.link);
|
|
39
|
+
else
|
|
40
|
+
V.value && M();
|
|
41
|
+
}
|
|
42
|
+
return R(f, (n) => {
|
|
43
|
+
const l = new Date(new Date(n).setDate(new Date(n).getDate() + 1));
|
|
44
|
+
new Date(g.value) < l && (g.value = l);
|
|
45
|
+
}), R(h, (n) => {
|
|
46
|
+
f.value = n[0], g.value = n[1];
|
|
47
|
+
}), Y(() => {
|
|
48
|
+
T.value && q(), h.value = [f.value, g.value];
|
|
49
|
+
}), (n, l) => (t(), s("form", {
|
|
50
|
+
id: "konnectio-availability-form",
|
|
51
|
+
class: x({ reservation: n.booking }),
|
|
52
|
+
type: "availability",
|
|
53
|
+
onSubmit: ee(P, ["prevent"])
|
|
54
|
+
}, [
|
|
55
|
+
D("ul", {
|
|
56
|
+
id: "konnectio-availability-form-content",
|
|
57
|
+
class: x([
|
|
58
|
+
{ "is-booking-page": n.booking },
|
|
59
|
+
{ "only-adult-guests": !e(u) && e(b) },
|
|
60
|
+
{ "only-child-guests": !e(b) && e(u) },
|
|
61
|
+
{ "no-guests": e(u) && e(b) },
|
|
62
|
+
{ "all-guests": !e(u) && !e(b) },
|
|
63
|
+
{ "has-location": e(k) }
|
|
64
|
+
])
|
|
65
|
+
}, [
|
|
66
|
+
e(k) ? (t(), s("li", te, [
|
|
67
|
+
i(Z, {
|
|
68
|
+
modelValue: e(_),
|
|
69
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => y(_) ? _.value = o : null),
|
|
70
|
+
label: e(a)("general.location"),
|
|
71
|
+
icon: "location-dot",
|
|
72
|
+
"icon-type": "fas",
|
|
73
|
+
"icon-placement": "label",
|
|
74
|
+
options: e(G),
|
|
75
|
+
searchable: !1
|
|
76
|
+
}, null, 8, ["modelValue", "label", "options"])
|
|
77
|
+
])) : v("", !0),
|
|
78
|
+
D("li", ie, [
|
|
79
|
+
i(le, {
|
|
80
|
+
modelValue: h.value,
|
|
81
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => h.value = o),
|
|
82
|
+
label: e(a)("availability.checkInOut"),
|
|
83
|
+
"icon-type": "fas",
|
|
84
|
+
"icon-placement": "label",
|
|
85
|
+
"min-range": 1,
|
|
86
|
+
"min-date": J.value,
|
|
87
|
+
"max-date": K.value,
|
|
88
|
+
range: ""
|
|
89
|
+
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
90
|
+
v("", !0)
|
|
91
|
+
]),
|
|
92
|
+
!e(u) || !e(b) ? (t(), s("li", ne, [
|
|
93
|
+
e(u) ? v("", !0) : (t(), s(C, { key: 0 }, [
|
|
94
|
+
e(k) ? (t(), w(H, {
|
|
95
|
+
key: 0,
|
|
96
|
+
modelValue: e(c),
|
|
97
|
+
"onUpdate:modelValue": l[4] || (l[4] = (o) => y(c) ? c.value = o : null),
|
|
98
|
+
label: e(a)("availability.adults"),
|
|
99
|
+
description: e(a)("general.adultAgeRange"),
|
|
100
|
+
"icon-type": "fas",
|
|
101
|
+
"icon-placement": "label",
|
|
102
|
+
name: "adults",
|
|
103
|
+
icon: "male"
|
|
104
|
+
}, null, 8, ["modelValue", "label", "description"])) : (t(), w(I, {
|
|
105
|
+
key: 1,
|
|
106
|
+
modelValue: e(c),
|
|
107
|
+
"onUpdate:modelValue": l[5] || (l[5] = (o) => y(c) ? c.value = o : null),
|
|
108
|
+
label: e(a)("availability.adults"),
|
|
109
|
+
description: e(a)("general.adultAgeRange"),
|
|
110
|
+
"icon-type": "fas",
|
|
111
|
+
"icon-placement": "label",
|
|
112
|
+
name: "adults",
|
|
113
|
+
icon: "male"
|
|
114
|
+
}, null, 8, ["modelValue", "label", "description"]))
|
|
115
|
+
], 64)),
|
|
116
|
+
e(b) ? v("", !0) : (t(), s(C, { key: 1 }, [
|
|
117
|
+
e(k) ? (t(), w(H, {
|
|
118
|
+
key: 0,
|
|
119
|
+
modelValue: e(r),
|
|
120
|
+
"onUpdate:modelValue": l[6] || (l[6] = (o) => y(r) ? r.value = o : null),
|
|
121
|
+
label: e(a)("availability.children"),
|
|
122
|
+
description: e(a)("general.childAgeRange"),
|
|
123
|
+
"icon-type": "fas",
|
|
124
|
+
"icon-placement": "label",
|
|
125
|
+
name: "children",
|
|
126
|
+
icon: "child"
|
|
127
|
+
}, null, 8, ["modelValue", "label", "description"])) : (t(), w(I, {
|
|
128
|
+
key: 1,
|
|
129
|
+
modelValue: e(r),
|
|
130
|
+
"onUpdate:modelValue": l[7] || (l[7] = (o) => y(r) ? r.value = o : null),
|
|
131
|
+
label: e(a)("availability.children"),
|
|
132
|
+
description: e(a)("general.childAgeRange"),
|
|
133
|
+
"icon-type": "fas",
|
|
134
|
+
"icon-placement": "label",
|
|
135
|
+
name: "children",
|
|
136
|
+
icon: "child"
|
|
137
|
+
}, null, 8, ["modelValue", "label", "description"]))
|
|
138
|
+
], 64))
|
|
139
|
+
])) : v("", !0),
|
|
140
|
+
D("li", oe, [
|
|
141
|
+
i(z, {
|
|
142
|
+
class: "konnectio-availability-submit-small",
|
|
143
|
+
type: "submit",
|
|
144
|
+
icon: "search",
|
|
145
|
+
"icon-type": "fas",
|
|
146
|
+
disabled: !V.value,
|
|
147
|
+
"is-loading": e(L)
|
|
148
|
+
}, null, 8, ["disabled", "is-loading"]),
|
|
149
|
+
i(z, {
|
|
150
|
+
class: "konnectio-availability-submit-large",
|
|
151
|
+
type: "submit",
|
|
152
|
+
label: e(a)("availability.buttonLabel"),
|
|
153
|
+
disabled: !V.value,
|
|
154
|
+
"is-loading": e(L)
|
|
155
|
+
}, null, 8, ["label", "disabled", "is-loading"])
|
|
156
|
+
])
|
|
157
|
+
], 2)
|
|
158
|
+
], 34));
|
|
159
|
+
}
|
|
160
|
+
}), fe = /* @__PURE__ */ O(se, [["__scopeId", "data-v-50791fef"]]), de = { class: "availability-skeleton" }, ce = {
|
|
161
|
+
key: 0,
|
|
162
|
+
class: "availability-skeleton-navigation"
|
|
163
|
+
}, ue = { class: "availability-skeleton-content" }, re = {
|
|
164
|
+
key: 1,
|
|
165
|
+
class: "availability-skeleton-event"
|
|
166
|
+
}, be = /* @__PURE__ */ N({
|
|
167
|
+
__name: "AvailabilitySkeleton",
|
|
168
|
+
props: {
|
|
169
|
+
view: { default: "hotel" },
|
|
170
|
+
hotel: { type: Boolean, default: !1 }
|
|
171
|
+
},
|
|
172
|
+
setup(S) {
|
|
173
|
+
return (a, d) => (t(), s("div", de, [
|
|
174
|
+
a.view === "both" ? (t(), s("div", ce, [
|
|
175
|
+
i(E, {
|
|
176
|
+
height: "28px",
|
|
177
|
+
width: "60px",
|
|
178
|
+
"border-radius": "20px"
|
|
179
|
+
}),
|
|
180
|
+
i(E, {
|
|
181
|
+
height: "28px",
|
|
182
|
+
width: "60px",
|
|
183
|
+
"border-radius": "20px"
|
|
184
|
+
})
|
|
185
|
+
])) : v("", !0),
|
|
186
|
+
D("div", ue, [
|
|
187
|
+
a.view !== "event" ? (t(), s("div", {
|
|
188
|
+
key: 0,
|
|
189
|
+
class: x([
|
|
190
|
+
"availability-skeleton-hotel",
|
|
191
|
+
{ "within-hotel": a.hotel }
|
|
192
|
+
])
|
|
193
|
+
}, [
|
|
194
|
+
i(p, { "with-icon": "" }),
|
|
195
|
+
i(p, { "with-icon": "" }),
|
|
196
|
+
i(p, { "with-icon": "" }),
|
|
197
|
+
i(p, {
|
|
198
|
+
"with-icon": "",
|
|
199
|
+
"no-label": ""
|
|
200
|
+
})
|
|
201
|
+
], 2)) : (t(), s("div", re, [
|
|
202
|
+
i(p, { "with-icon": "" }),
|
|
203
|
+
i(p, {
|
|
204
|
+
"with-icon": "",
|
|
205
|
+
"no-label": ""
|
|
206
|
+
})
|
|
207
|
+
]))
|
|
208
|
+
])
|
|
209
|
+
]));
|
|
210
|
+
}
|
|
211
|
+
}), ye = /* @__PURE__ */ O(be, [["__scopeId", "data-v-ad344f0b"]]);
|
|
212
|
+
export {
|
|
213
|
+
ye as A,
|
|
214
|
+
fe as H
|
|
215
|
+
};
|
|
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, l as k, r as V, H as $, o as p, m as B, w as A, n as s, t as C, p as i, T as P, I, v, ai as T, A as h, aj as w, ak as N, x as g, P as u, y as S, B as _, $ as f, s as G, c as F, al as j, a5 as E, a6 as H } from "./_-5tXWGiwV.js";
|
|
2
|
+
const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
4
3
|
__name: "PhoneField",
|
|
5
4
|
props: {
|
|
6
5
|
modelValue: {},
|
|
@@ -15,30 +14,30 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
15
14
|
inputStyle: {}
|
|
16
15
|
},
|
|
17
16
|
emits: ["update:modelValue"],
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
17
|
+
setup(t, { emit: l }) {
|
|
18
|
+
const a = l, n = t, c = n.id || k(), e = V("+45"), d = V("");
|
|
20
19
|
function m() {
|
|
21
|
-
|
|
20
|
+
a("update:modelValue", `${e.value} ${d.value}`);
|
|
22
21
|
}
|
|
23
22
|
return $(() => {
|
|
24
23
|
if (n.modelValue) {
|
|
25
24
|
const o = n.modelValue.split(" ");
|
|
26
25
|
e.value = o[0], d.value = o[1];
|
|
27
26
|
}
|
|
28
|
-
}), (o,
|
|
27
|
+
}), (o, r) => (p(), B(I, {
|
|
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: A(() => [
|
|
35
|
+
s("div", O, [
|
|
36
|
+
C(P, {
|
|
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
|
-
|
|
52
|
+
C(P, {
|
|
54
53
|
modelValue: d.value,
|
|
55
|
-
"onUpdate:modelValue":
|
|
54
|
+
"onUpdate:modelValue": r[2] || (r[2] = (y) => d.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(U, [["__scopeId", "data-v-5cd094ab"]]), z = ["required", "type", "name", "readonly", "disabled", "value", "checked"], D = ["data-test"], K = { key: 0 }, M = /* @__PURE__ */ b({
|
|
72
71
|
__name: "Checkbox",
|
|
73
72
|
props: {
|
|
74
73
|
modelValue: { type: [String, Boolean, Number] },
|
|
@@ -84,21 +83,21 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
84
83
|
val: {}
|
|
85
84
|
},
|
|
86
85
|
emits: ["update:modelValue"],
|
|
87
|
-
setup(
|
|
88
|
-
const
|
|
86
|
+
setup(t, { emit: l }) {
|
|
87
|
+
const a = t, n = l;
|
|
89
88
|
function c() {
|
|
90
|
-
|
|
89
|
+
a.readonly !== !0 && n(
|
|
91
90
|
"update:modelValue",
|
|
92
|
-
|
|
91
|
+
a.type === "radio" ? a.val : a.numeric ? a.modelValue ? 0 : 1 : !a.modelValue
|
|
93
92
|
);
|
|
94
93
|
}
|
|
95
|
-
return (e, d) => (p(), I
|
|
94
|
+
return (e, d) => (p(), B(I, {
|
|
96
95
|
required: e.required,
|
|
97
96
|
type: e.type,
|
|
98
97
|
readonly: e.readonly
|
|
99
98
|
}, {
|
|
100
|
-
default:
|
|
101
|
-
|
|
99
|
+
default: A(() => [
|
|
100
|
+
s("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
|
+
s("input", T(e.$attrs, {
|
|
110
109
|
required: !!e.required,
|
|
111
110
|
type: e.type,
|
|
112
111
|
name: e.name,
|
|
@@ -116,30 +115,30 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
116
115
|
value: e.type === "radio" ? e.val : e.modelValue,
|
|
117
116
|
checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue,
|
|
118
117
|
onChange: d[0] || (d[0] = (m) => c())
|
|
119
|
-
}), null, 16,
|
|
120
|
-
|
|
118
|
+
}), null, 16, z),
|
|
119
|
+
s("div", {
|
|
121
120
|
class: h([
|
|
122
121
|
"fresh-booking-click-box",
|
|
123
122
|
{ checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue }
|
|
124
123
|
]),
|
|
125
124
|
tabindex: "0",
|
|
126
|
-
style:
|
|
125
|
+
style: w(e.inputStyle),
|
|
127
126
|
"data-test": e.name,
|
|
128
127
|
onKeyup: d[1] || (d[1] = N((m) => c(), ["enter"]))
|
|
129
|
-
}, null, 46,
|
|
128
|
+
}, null, 46, D),
|
|
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", K, u(e.price), 1)) :
|
|
136
|
-
], 2)) :
|
|
133
|
+
s("span", null, u(e.label), 1),
|
|
134
|
+
e.price ? (p(), g("span", K, u(e.price), 1)) : S("", !0)
|
|
135
|
+
], 2)) : S("", !0)
|
|
137
136
|
], 2)
|
|
138
137
|
]),
|
|
139
138
|
_: 1
|
|
140
139
|
}, 8, ["required", "type", "readonly"]));
|
|
141
140
|
}
|
|
142
|
-
}),
|
|
141
|
+
}), ee = /* @__PURE__ */ v(M, [["__scopeId", "data-v-a2138dc3"]]), R = {
|
|
143
142
|
href: "https://policies.google.com/privacy",
|
|
144
143
|
target: "_blank"
|
|
145
144
|
}, W = {
|
|
@@ -147,19 +146,19 @@ const j = { class: "fresh-booking-phone-input" }, z = /* @__PURE__ */ b({
|
|
|
147
146
|
target: "_blank"
|
|
148
147
|
}, J = /* @__PURE__ */ b({
|
|
149
148
|
__name: "GoogleNotice",
|
|
150
|
-
setup(
|
|
151
|
-
const { t: l } =
|
|
152
|
-
return (
|
|
149
|
+
setup(t) {
|
|
150
|
+
const { t: l } = _();
|
|
151
|
+
return (a, n) => (p(), g("span", null, [
|
|
153
152
|
f(u(i(l)("googleNotice")) + " ", 1),
|
|
154
|
-
|
|
153
|
+
s("a", R, u(i(l)("googlePrivacyPolicy")), 1),
|
|
155
154
|
f(" " + u(i(l)("googleAnd")) + " ", 1),
|
|
156
|
-
|
|
155
|
+
s("a", W, u(i(l)("googleTOS")), 1),
|
|
157
156
|
f(" " + u(i(l)("googleApply")) + ". ", 1)
|
|
158
157
|
]));
|
|
159
158
|
}
|
|
160
159
|
});
|
|
161
|
-
function q(
|
|
162
|
-
const l =
|
|
160
|
+
function q(t) {
|
|
161
|
+
const l = t;
|
|
163
162
|
l.__i18n = l.__i18n || [], l.__i18n.push({
|
|
164
163
|
locale: "",
|
|
165
164
|
resource: {
|
|
@@ -181,26 +180,26 @@ function q(a) {
|
|
|
181
180
|
});
|
|
182
181
|
}
|
|
183
182
|
typeof q == "function" && q(J);
|
|
184
|
-
const L = (
|
|
183
|
+
const L = (t) => (E("data-v-340cb9ce"), t = t(), H(), t), Q = /* @__PURE__ */ L(() => /* @__PURE__ */ s("div", { id: "fresh-booking-payment-checkout" }, null, -1)), X = [
|
|
185
184
|
Q
|
|
186
185
|
], Y = /* @__PURE__ */ b({
|
|
187
186
|
__name: "CheckoutWindow",
|
|
188
|
-
setup(
|
|
189
|
-
const { paymentGatewayId: l } = F(
|
|
187
|
+
setup(t) {
|
|
188
|
+
const { paymentGatewayId: l } = G(F());
|
|
190
189
|
return $(() => {
|
|
191
|
-
const
|
|
192
|
-
|
|
193
|
-
}), (
|
|
194
|
-
|
|
190
|
+
const a = document.createElement("script"), n = document.createElement("script");
|
|
191
|
+
a.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(a), document.head.appendChild(n);
|
|
192
|
+
}), (a, n) => (p(), g("div", null, [
|
|
193
|
+
s("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
|
-
|
|
201
|
+
ee as C,
|
|
202
|
+
x as P,
|
|
204
203
|
J as _,
|
|
205
|
-
|
|
204
|
+
oe as a
|
|
206
205
|
};
|
|
Binary file
|