@konnectio/core 4.0.63 → 4.0.64
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-3MggPKk9.js → ActionField-D28Pe5Bb.js} +33 -25
- package/dist/ActionField-D28Pe5Bb.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DSgC6hn3.js → AvailabilitySkeleton-BGEhEqa-.js} +123 -115
- package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js} +1089 -1081
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
- package/dist/{CheckoutWindow-DolJgk40.js → CheckoutWindow-Cv7p0DrF.js} +174 -166
- package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
- package/dist/{ErrorMessage-BksKCxAq.js → ErrorMessage-T11Ou3eh.js} +24 -16
- package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js +125 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
- package/dist/Field-DcoRYqr8.js +58 -0
- package/dist/Field-DcoRYqr8.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js} +2031 -2022
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
- package/dist/TermsOfService-CL0zaNw_.js +44 -0
- package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
- package/dist/_-C5tf0vwv.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
- package/dist/{_commonjsHelpers-DEK47QeC.js → _commonjsHelpers-BeCRh3Xf.js} +618 -558
- package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DEszgcWK.js → _sentry-release-injection-file-CY9ljBue.js} +1643 -1635
- package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
- package/dist/availability.js +67 -59
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +29 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +260 -252
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +71 -63
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +137 -129
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-CHf9cbmB.js +134 -0
- package/dist/giftCard-CHf9cbmB.js.br +0 -0
- package/dist/hotel.js +812 -803
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-GGoTX7a7.js → masonry.plugin-q1wqMEhq.js} +860 -852
- package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
- package/dist/{mitt-DnPlcQNp.js → mitt-CZC0Vuw7.js} +505 -497
- package/dist/mitt-CZC0Vuw7.js.br +0 -0
- package/dist/polyfill.js +6470 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-2RYcVxT9.js → style-Di3bMYae.js} +392 -384
- package/dist/style-Di3bMYae.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-3MggPKk9.js.br +0 -0
- package/dist/AvailabilitySkeleton-DSgC6hn3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js.br +0 -0
- package/dist/CheckoutWindow-DolJgk40.js.br +0 -0
- package/dist/ErrorMessage-BksKCxAq.js.br +0 -0
- package/dist/EventAvailabilityForm-DZljldrC.js +0 -117
- package/dist/EventAvailabilityForm-DZljldrC.js.br +0 -0
- package/dist/Field-DGi_AnA6.js +0 -50
- package/dist/Field-DGi_AnA6.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js.br +0 -0
- package/dist/TermsOfService-LDUTInOo.js +0 -36
- package/dist/TermsOfService-LDUTInOo.js.br +0 -0
- package/dist/_-CBEOFztf.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js +0 -69
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js.br +0 -0
- package/dist/_commonjsHelpers-DEK47QeC.js.br +0 -0
- package/dist/_sentry-release-injection-file-DEszgcWK.js.br +0 -0
- package/dist/giftCard-DLrIdehA.js +0 -126
- package/dist/giftCard-DLrIdehA.js.br +0 -0
- package/dist/masonry.plugin-GGoTX7a7.js.br +0 -0
- package/dist/mitt-DnPlcQNp.js.br +0 -0
- package/dist/style-2RYcVxT9.js.br +0 -0
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { D as
|
|
1
|
+
import { d as V, c as b, a as u, b as r, w as g, e as v, u as s, f as w } from "./_sentry-release-injection-file-CY9ljBue.js";
|
|
2
|
+
import { D as k, o as I, b as q, T as B, d as D, q as C, _ as A } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
|
-
var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
6
|
-
|
|
5
|
+
var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
6
|
+
l && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[l] = "18de60e9-1a30-4f97-862f-887f29ffd6ba", o._sentryDebugIdIdentifier = "sentry-dbid-18de60e9-1a30-4f97-862f-887f29ffd6ba");
|
|
7
7
|
} catch {
|
|
8
8
|
}
|
|
9
9
|
})();
|
|
10
|
-
|
|
10
|
+
{
|
|
11
|
+
var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
+
i._sentryModuleMetadata = i._sentryModuleMetadata || {}, i._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
13
|
+
{},
|
|
14
|
+
i._sentryModuleMetadata[new Error().stack],
|
|
15
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ V({
|
|
11
19
|
__name: "ActionField",
|
|
12
20
|
props: {
|
|
13
21
|
modelValue: {},
|
|
@@ -32,22 +40,22 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
|
|
|
32
40
|
isLoading: { type: Boolean, default: !1 }
|
|
33
41
|
},
|
|
34
42
|
emits: ["update:modelValue", "action"],
|
|
35
|
-
setup(o, { emit:
|
|
36
|
-
const
|
|
43
|
+
setup(o, { emit: l }) {
|
|
44
|
+
const f = l, p = o, d = p.id || k();
|
|
37
45
|
function m(e) {
|
|
38
|
-
|
|
46
|
+
f("update:modelValue", e);
|
|
39
47
|
}
|
|
40
48
|
const t = b({
|
|
41
49
|
get: () => p.modelValue,
|
|
42
50
|
set: (e) => m(e)
|
|
43
|
-
}),
|
|
51
|
+
}), y = b({
|
|
44
52
|
get: () => p.modelValue,
|
|
45
53
|
set: (e) => m(e)
|
|
46
54
|
});
|
|
47
|
-
function
|
|
48
|
-
|
|
55
|
+
function c() {
|
|
56
|
+
f("action");
|
|
49
57
|
}
|
|
50
|
-
return (e, a) => (
|
|
58
|
+
return (e, a) => (u(), r(C, {
|
|
51
59
|
label: e.label,
|
|
52
60
|
id: s(d),
|
|
53
61
|
icon: e.icon,
|
|
@@ -56,34 +64,34 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
|
|
|
56
64
|
type: e.type,
|
|
57
65
|
readonly: e.readonly
|
|
58
66
|
}, {
|
|
59
|
-
default:
|
|
60
|
-
|
|
61
|
-
e.type === "dropdown" && e.data ? (
|
|
67
|
+
default: g(() => [
|
|
68
|
+
v("div", F, [
|
|
69
|
+
e.type === "dropdown" && e.data ? (u(), r(I, {
|
|
62
70
|
key: 0,
|
|
63
71
|
modelValue: t.value,
|
|
64
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
72
|
+
"onUpdate:modelValue": a[0] || (a[0] = (n) => t.value = n),
|
|
65
73
|
id: s(d),
|
|
66
74
|
options: e.data,
|
|
67
75
|
name: e.name,
|
|
68
76
|
required: e.required,
|
|
69
77
|
placeholder: e.placeholder
|
|
70
|
-
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (
|
|
78
|
+
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (u(), r(q, {
|
|
71
79
|
key: 1,
|
|
72
|
-
modelValue:
|
|
73
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
80
|
+
modelValue: y.value,
|
|
81
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => y.value = n),
|
|
74
82
|
id: s(d),
|
|
75
83
|
"min-value": e.minValue,
|
|
76
84
|
"max-value": e.maxValue
|
|
77
|
-
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (
|
|
85
|
+
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (u(), r(B, {
|
|
78
86
|
key: 2,
|
|
79
87
|
modelValue: t.value,
|
|
80
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
88
|
+
"onUpdate:modelValue": a[2] || (a[2] = (n) => t.value = n),
|
|
81
89
|
id: s(d),
|
|
82
90
|
name: e.name,
|
|
83
91
|
required: e.required,
|
|
84
92
|
placeholder: e.placeholder
|
|
85
93
|
}, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
|
|
86
|
-
|
|
94
|
+
w(D, {
|
|
87
95
|
"data-test": `${e.name}Submit`,
|
|
88
96
|
icon: e.buttonIcon,
|
|
89
97
|
label: e.buttonLabel,
|
|
@@ -93,15 +101,15 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
|
|
|
93
101
|
"is-loading": e.isLoading,
|
|
94
102
|
disabled: e.buttonDisabled,
|
|
95
103
|
secondary: e.secondary,
|
|
96
|
-
onClickEvent: a[3] || (a[3] = (
|
|
104
|
+
onClickEvent: a[3] || (a[3] = (n) => c())
|
|
97
105
|
}, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
|
|
98
106
|
])
|
|
99
107
|
]),
|
|
100
108
|
_: 1
|
|
101
109
|
}, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
|
|
102
110
|
}
|
|
103
|
-
}), T = /* @__PURE__ */
|
|
111
|
+
}), T = /* @__PURE__ */ A(h, [["__scopeId", "data-v-3e77e321"]]);
|
|
104
112
|
export {
|
|
105
113
|
T as A
|
|
106
114
|
};
|
|
107
|
-
//# sourceMappingURL=ActionField-
|
|
115
|
+
//# sourceMappingURL=ActionField-D28Pe5Bb.js.map
|
|
Binary file
|
|
@@ -1,169 +1,177 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { F as g } from "./Field-
|
|
1
|
+
import { d as ae, G as be, r as f, c as s, z as Q, o as pe, a as i, g as d, f as u, w as fe, u as e, b as y, i as D, e as $, F as W, n as C, y as ye, h as ge } from "./_sentry-release-injection-file-CY9ljBue.js";
|
|
2
|
+
import { u as De, s as L } from "./mitt-CZC0Vuw7.js";
|
|
3
|
+
import { u as X, y as Y, e as ke, T as N, o as we, b as Z, d as G, p as he, _ as le, E as ee } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
|
|
4
|
+
import { _ as _e } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js";
|
|
5
|
+
import { F as g } from "./Field-DcoRYqr8.js";
|
|
6
6
|
(function() {
|
|
7
7
|
try {
|
|
8
|
-
var
|
|
9
|
-
t && (
|
|
8
|
+
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
9
|
+
t && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[t] = "5bd04666-c403-4df9-ab3d-a72e03491a7e", r._sentryDebugIdIdentifier = "sentry-dbid-5bd04666-c403-4df9-ab3d-a72e03491a7e");
|
|
10
10
|
} catch {
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
|
|
13
|
+
{
|
|
14
|
+
var _ = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
15
|
+
_._sentryModuleMetadata = _._sentryModuleMetadata || {}, _._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
16
|
+
{},
|
|
17
|
+
_._sentryModuleMetadata[new Error().stack],
|
|
18
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
const Ve = {
|
|
14
22
|
class: "konnectio-availability-location",
|
|
15
23
|
key: "location"
|
|
16
|
-
},
|
|
24
|
+
}, Ae = {
|
|
17
25
|
id: "konnectio-availability-date-selection",
|
|
18
26
|
key: "multiDate"
|
|
19
|
-
},
|
|
27
|
+
}, xe = {
|
|
20
28
|
id: "konnectio-availability-guest-selection",
|
|
21
29
|
key: "guests"
|
|
22
|
-
},
|
|
30
|
+
}, Le = {
|
|
23
31
|
id: "konnectio-availability-confirmation",
|
|
24
32
|
key: "confirm"
|
|
25
|
-
},
|
|
33
|
+
}, Ne = /* @__PURE__ */ ae({
|
|
26
34
|
__name: "HotelAvailabilityForm",
|
|
27
35
|
props: {
|
|
28
36
|
booking: { type: Boolean, default: !1 },
|
|
29
37
|
link: {},
|
|
30
38
|
selectedLocation: { default: NaN }
|
|
31
39
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const { t } =
|
|
34
|
-
adults:
|
|
35
|
-
children:
|
|
36
|
-
arrivalDate:
|
|
40
|
+
setup(r) {
|
|
41
|
+
const { t } = De(), V = be("emitter"), l = r, {
|
|
42
|
+
adults: S,
|
|
43
|
+
children: U,
|
|
44
|
+
arrivalDate: B,
|
|
37
45
|
departureDate: I,
|
|
38
|
-
location:
|
|
39
|
-
hasHotelLocations:
|
|
40
|
-
hotelLocations:
|
|
41
|
-
controlLocation:
|
|
42
|
-
} =
|
|
46
|
+
location: F,
|
|
47
|
+
hasHotelLocations: h,
|
|
48
|
+
hotelLocations: H,
|
|
49
|
+
controlLocation: te
|
|
50
|
+
} = L(X()), { updateHotelAvailability: ne } = X(), { fetchAvailabilityData: oe } = Y(), { areListingsLoading: E } = L(Y()), {
|
|
43
51
|
firstSelectableDateOffset: R,
|
|
44
|
-
lastSelectableDateOffset:
|
|
52
|
+
lastSelectableDateOffset: M,
|
|
45
53
|
disableChildSelection: m,
|
|
46
54
|
disableAdultSelection: c,
|
|
47
|
-
defaultAdultAmount:
|
|
48
|
-
defaultChildAmount:
|
|
49
|
-
maxAdultAmount:
|
|
50
|
-
maxChildAmount:
|
|
51
|
-
} =
|
|
52
|
-
get: () => l.booking ?
|
|
55
|
+
defaultAdultAmount: ie,
|
|
56
|
+
defaultChildAmount: se,
|
|
57
|
+
maxAdultAmount: O,
|
|
58
|
+
maxChildAmount: T
|
|
59
|
+
} = L(ke()), ue = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), de = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), z = f(ie.value), j = f(se.value), q = f(ue()), K = f(de()), P = f(te.value), b = s({
|
|
60
|
+
get: () => l.booking ? S.value : z.value,
|
|
53
61
|
set: (a) => {
|
|
54
|
-
l.booking ?
|
|
62
|
+
l.booking ? S.value = Number(a) : z.value = Number(a);
|
|
55
63
|
}
|
|
56
64
|
}), k = s({
|
|
57
|
-
get: () => l.booking ?
|
|
65
|
+
get: () => l.booking ? U.value : j.value,
|
|
58
66
|
set: (a) => {
|
|
59
|
-
l.booking ?
|
|
67
|
+
l.booking ? U.value = Number(a) : j.value = Number(a);
|
|
60
68
|
}
|
|
61
69
|
}), v = s({
|
|
62
|
-
get: () => l.booking ?
|
|
70
|
+
get: () => l.booking ? B.value : q.value,
|
|
63
71
|
set: (a) => {
|
|
64
|
-
l.booking ?
|
|
72
|
+
l.booking ? B.value = a : q.value = a;
|
|
65
73
|
}
|
|
66
74
|
}), p = s({
|
|
67
|
-
get: () => l.booking ? I.value :
|
|
75
|
+
get: () => l.booking ? I.value : K.value,
|
|
68
76
|
set: (a) => {
|
|
69
|
-
l.booking ? I.value = a :
|
|
77
|
+
l.booking ? I.value = a : K.value = a;
|
|
70
78
|
}
|
|
71
|
-
}),
|
|
72
|
-
get: () => isNaN(l.selectedLocation) ? l.booking ?
|
|
79
|
+
}), A = s({
|
|
80
|
+
get: () => isNaN(l.selectedLocation) ? l.booking ? F.value : P.value : l.selectedLocation,
|
|
73
81
|
set: (a) => {
|
|
74
|
-
l.booking ?
|
|
82
|
+
l.booking ? F.value = a : P.value = a;
|
|
75
83
|
}
|
|
76
84
|
}), J = s(() => {
|
|
77
|
-
const a =
|
|
85
|
+
const a = H.value.find(({ id: n }) => n === l.selectedLocation);
|
|
78
86
|
return a ? a.name : "";
|
|
79
|
-
}),
|
|
80
|
-
function
|
|
87
|
+
}), w = f([]), re = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (R.value - 1)))), Ie = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + M.value))), Fe = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + R.value))), ce = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (M.value + 1)))), x = s(() => !(!c && b.value === 0)), ve = s(() => typeof l.link != "string");
|
|
88
|
+
function me() {
|
|
81
89
|
if (l.booking === !1)
|
|
82
|
-
if (
|
|
90
|
+
if (ne({
|
|
83
91
|
adults: b.value,
|
|
84
92
|
children: k.value,
|
|
85
93
|
arrivalDate: v.value,
|
|
86
94
|
departureDate: p.value,
|
|
87
|
-
location:
|
|
88
|
-
}),
|
|
95
|
+
location: A.value
|
|
96
|
+
}), ve.value) {
|
|
89
97
|
const a = he();
|
|
90
98
|
l.link[a] ? window.location.replace(l.link[a]) : l.link.en ? window.location.replace(l.link.en) : console.log("Sprog understøttes ikke");
|
|
91
99
|
} else
|
|
92
100
|
window.location.replace(l.link);
|
|
93
|
-
else
|
|
101
|
+
else x.value && oe();
|
|
94
102
|
}
|
|
95
|
-
return
|
|
96
|
-
const
|
|
97
|
-
new Date(p.value) <
|
|
98
|
-
}),
|
|
99
|
-
|
|
100
|
-
}),
|
|
103
|
+
return Q(v, (a) => {
|
|
104
|
+
const n = new Date(new Date(a).setDate(new Date(a).getDate() + 1));
|
|
105
|
+
new Date(p.value) < n && (p.value = n);
|
|
106
|
+
}), V.on("forcedDateChange", () => {
|
|
107
|
+
w.value = [v.value, p.value];
|
|
108
|
+
}), Q(w, (a) => {
|
|
101
109
|
v.value = a[0], p.value = a[1];
|
|
102
|
-
}),
|
|
103
|
-
|
|
104
|
-
}), (a,
|
|
110
|
+
}), pe(() => {
|
|
111
|
+
w.value = [v.value, p.value];
|
|
112
|
+
}), (a, n) => (i(), d("form", {
|
|
105
113
|
id: "konnectio-availability-form",
|
|
106
|
-
class:
|
|
114
|
+
class: C({ reservation: a.booking }),
|
|
107
115
|
type: "availability",
|
|
108
|
-
onSubmit:
|
|
116
|
+
onSubmit: ge(me, ["prevent"])
|
|
109
117
|
}, [
|
|
110
|
-
u(
|
|
118
|
+
u(ye, {
|
|
111
119
|
id: "konnectio-availability-form-content",
|
|
112
120
|
tag: "ul",
|
|
113
|
-
class:
|
|
121
|
+
class: C([
|
|
114
122
|
{ "is-booking-page": a.booking },
|
|
115
123
|
{ "only-adult-guests": !e(c) && e(m) },
|
|
116
124
|
{ "only-child-guests": !e(m) && e(c) },
|
|
117
125
|
{ "no-guests": e(c) && e(m) },
|
|
118
126
|
{ "all-guests": !e(c) && !e(m) },
|
|
119
|
-
{ "has-location": e(
|
|
127
|
+
{ "has-location": e(h) }
|
|
120
128
|
])
|
|
121
129
|
}, {
|
|
122
|
-
default:
|
|
123
|
-
e(
|
|
124
|
-
isNaN(a.selectedLocation) ? (
|
|
130
|
+
default: fe(() => [
|
|
131
|
+
e(h) ? (i(), d("li", Ve, [
|
|
132
|
+
isNaN(a.selectedLocation) ? (i(), y(we, {
|
|
125
133
|
key: 1,
|
|
126
|
-
modelValue:
|
|
127
|
-
"onUpdate:modelValue":
|
|
134
|
+
modelValue: A.value,
|
|
135
|
+
"onUpdate:modelValue": n[1] || (n[1] = (o) => A.value = o),
|
|
128
136
|
label: e(t)("general.location"),
|
|
129
137
|
icon: "location-dot",
|
|
130
138
|
"icon-type": "fas",
|
|
131
139
|
"icon-placement": "label",
|
|
132
140
|
"label-key": "name",
|
|
133
141
|
"value-key": "id",
|
|
134
|
-
options: e(
|
|
142
|
+
options: e(H),
|
|
135
143
|
searchable: !1
|
|
136
|
-
}, null, 8, ["modelValue", "label", "options"])) : (
|
|
144
|
+
}, null, 8, ["modelValue", "label", "options"])) : (i(), y(N, {
|
|
137
145
|
key: 0,
|
|
138
146
|
modelValue: J.value,
|
|
139
|
-
"onUpdate:modelValue":
|
|
147
|
+
"onUpdate:modelValue": n[0] || (n[0] = (o) => J.value = o),
|
|
140
148
|
label: e(t)("general.location"),
|
|
141
149
|
icon: "location-dot",
|
|
142
150
|
"icon-type": "fas",
|
|
143
151
|
"icon-placement": "label",
|
|
144
152
|
readonly: ""
|
|
145
153
|
}, null, 8, ["modelValue", "label"]))
|
|
146
|
-
])) :
|
|
147
|
-
|
|
148
|
-
u(
|
|
149
|
-
modelValue:
|
|
150
|
-
"onUpdate:modelValue":
|
|
154
|
+
])) : D("", !0),
|
|
155
|
+
$("li", Ae, [
|
|
156
|
+
u(_e, {
|
|
157
|
+
modelValue: w.value,
|
|
158
|
+
"onUpdate:modelValue": n[2] || (n[2] = (o) => w.value = o),
|
|
151
159
|
label: e(t)("availability.checkInOut"),
|
|
152
160
|
"icon-type": "fas",
|
|
153
161
|
"icon-placement": "label",
|
|
154
162
|
"min-range": 1,
|
|
155
163
|
"min-date": re.value,
|
|
156
|
-
"max-date":
|
|
164
|
+
"max-date": ce.value,
|
|
157
165
|
range: ""
|
|
158
166
|
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
159
|
-
|
|
167
|
+
D("", !0)
|
|
160
168
|
]),
|
|
161
|
-
!e(c) || !e(m) ? (
|
|
162
|
-
e(c) ?
|
|
163
|
-
e(
|
|
169
|
+
!e(c) || !e(m) ? (i(), d("li", xe, [
|
|
170
|
+
e(c) ? D("", !0) : (i(), d(W, { key: 0 }, [
|
|
171
|
+
e(h) ? (i(), y(N, {
|
|
164
172
|
key: 0,
|
|
165
173
|
modelValue: b.value,
|
|
166
|
-
"onUpdate:modelValue":
|
|
174
|
+
"onUpdate:modelValue": n[5] || (n[5] = (o) => b.value = o),
|
|
167
175
|
type: "number",
|
|
168
176
|
label: e(t)("availability.adults"),
|
|
169
177
|
description: e(t)("general.adultAgeRange"),
|
|
@@ -171,25 +179,25 @@ const _e = {
|
|
|
171
179
|
"icon-placement": "label",
|
|
172
180
|
name: "adults",
|
|
173
181
|
icon: "male",
|
|
174
|
-
max: e(
|
|
175
|
-
}, null, 8, ["modelValue", "label", "description", "max"])) : (
|
|
182
|
+
max: e(O)
|
|
183
|
+
}, null, 8, ["modelValue", "label", "description", "max"])) : (i(), y(Z, {
|
|
176
184
|
key: 1,
|
|
177
185
|
modelValue: b.value,
|
|
178
|
-
"onUpdate:modelValue":
|
|
186
|
+
"onUpdate:modelValue": n[6] || (n[6] = (o) => b.value = o),
|
|
179
187
|
label: e(t)("availability.adults"),
|
|
180
188
|
description: e(t)("general.adultAgeRange"),
|
|
181
189
|
"icon-type": "fas",
|
|
182
190
|
"icon-placement": "label",
|
|
183
191
|
name: "adults",
|
|
184
192
|
icon: "male",
|
|
185
|
-
"max-value": e(
|
|
193
|
+
"max-value": e(O)
|
|
186
194
|
}, null, 8, ["modelValue", "label", "description", "max-value"]))
|
|
187
195
|
], 64)),
|
|
188
|
-
e(m) ?
|
|
189
|
-
e(
|
|
196
|
+
e(m) ? D("", !0) : (i(), d(W, { key: 1 }, [
|
|
197
|
+
e(h) ? (i(), y(N, {
|
|
190
198
|
key: 0,
|
|
191
199
|
modelValue: k.value,
|
|
192
|
-
"onUpdate:modelValue":
|
|
200
|
+
"onUpdate:modelValue": n[7] || (n[7] = (o) => k.value = o),
|
|
193
201
|
type: "number",
|
|
194
202
|
label: e(t)("availability.children"),
|
|
195
203
|
description: e(t)("general.childAgeRange"),
|
|
@@ -197,36 +205,36 @@ const _e = {
|
|
|
197
205
|
"icon-placement": "label",
|
|
198
206
|
name: "children",
|
|
199
207
|
icon: "child",
|
|
200
|
-
max: e(
|
|
201
|
-
}, null, 8, ["modelValue", "label", "description", "max"])) : (
|
|
208
|
+
max: e(T)
|
|
209
|
+
}, null, 8, ["modelValue", "label", "description", "max"])) : (i(), y(Z, {
|
|
202
210
|
key: 1,
|
|
203
211
|
modelValue: k.value,
|
|
204
|
-
"onUpdate:modelValue":
|
|
212
|
+
"onUpdate:modelValue": n[8] || (n[8] = (o) => k.value = o),
|
|
205
213
|
label: e(t)("availability.children"),
|
|
206
214
|
description: e(t)("general.childAgeRange"),
|
|
207
215
|
"icon-type": "fas",
|
|
208
216
|
"icon-placement": "label",
|
|
209
217
|
name: "children",
|
|
210
218
|
icon: "child",
|
|
211
|
-
"max-value": e(
|
|
219
|
+
"max-value": e(T)
|
|
212
220
|
}, null, 8, ["modelValue", "label", "description", "max-value"]))
|
|
213
221
|
], 64))
|
|
214
|
-
])) :
|
|
215
|
-
|
|
216
|
-
u(
|
|
222
|
+
])) : D("", !0),
|
|
223
|
+
$("li", Le, [
|
|
224
|
+
u(G, {
|
|
217
225
|
class: "konnectio-availability-submit-small",
|
|
218
226
|
type: "submit",
|
|
219
227
|
icon: "search",
|
|
220
228
|
"icon-type": "fas",
|
|
221
|
-
disabled: !
|
|
222
|
-
"is-loading": e(
|
|
229
|
+
disabled: !x.value,
|
|
230
|
+
"is-loading": e(E)
|
|
223
231
|
}, null, 8, ["disabled", "is-loading"]),
|
|
224
|
-
u(
|
|
232
|
+
u(G, {
|
|
225
233
|
class: "konnectio-availability-submit-large",
|
|
226
234
|
type: "submit",
|
|
227
235
|
label: e(t)("availability.buttonLabel"),
|
|
228
|
-
disabled: !
|
|
229
|
-
"is-loading": e(
|
|
236
|
+
disabled: !x.value,
|
|
237
|
+
"is-loading": e(E)
|
|
230
238
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
231
239
|
])
|
|
232
240
|
]),
|
|
@@ -234,36 +242,36 @@ const _e = {
|
|
|
234
242
|
}, 8, ["class"])
|
|
235
243
|
], 34));
|
|
236
244
|
}
|
|
237
|
-
}),
|
|
245
|
+
}), Te = /* @__PURE__ */ le(Ne, [["__scopeId", "data-v-f0dea03b"]]), $e = { class: "availability-skeleton" }, Ce = {
|
|
238
246
|
key: 0,
|
|
239
247
|
class: "availability-skeleton-navigation"
|
|
240
|
-
},
|
|
248
|
+
}, Se = { class: "availability-skeleton-content" }, Ue = {
|
|
241
249
|
key: 1,
|
|
242
250
|
class: "availability-skeleton-event"
|
|
243
|
-
},
|
|
251
|
+
}, Be = /* @__PURE__ */ ae({
|
|
244
252
|
__name: "AvailabilitySkeleton",
|
|
245
253
|
props: {
|
|
246
254
|
view: { default: "hotel" },
|
|
247
255
|
hotel: { type: Boolean, default: !1 }
|
|
248
256
|
},
|
|
249
|
-
setup(
|
|
250
|
-
return (t,
|
|
251
|
-
t.view === "both" ? (
|
|
252
|
-
u(
|
|
257
|
+
setup(r) {
|
|
258
|
+
return (t, V) => (i(), d("div", $e, [
|
|
259
|
+
t.view === "both" ? (i(), d("div", Ce, [
|
|
260
|
+
u(ee, {
|
|
253
261
|
height: "28px",
|
|
254
262
|
width: "60px",
|
|
255
263
|
"border-radius": "20px"
|
|
256
264
|
}),
|
|
257
|
-
u(
|
|
265
|
+
u(ee, {
|
|
258
266
|
height: "28px",
|
|
259
267
|
width: "60px",
|
|
260
268
|
"border-radius": "20px"
|
|
261
269
|
})
|
|
262
|
-
])) :
|
|
263
|
-
|
|
264
|
-
t.view !== "event" ? (
|
|
270
|
+
])) : D("", !0),
|
|
271
|
+
$("div", Se, [
|
|
272
|
+
t.view !== "event" ? (i(), d("div", {
|
|
265
273
|
key: 0,
|
|
266
|
-
class:
|
|
274
|
+
class: C([
|
|
267
275
|
"availability-skeleton-hotel",
|
|
268
276
|
{ "within-hotel": t.hotel }
|
|
269
277
|
])
|
|
@@ -275,7 +283,7 @@ const _e = {
|
|
|
275
283
|
"with-icon": "",
|
|
276
284
|
"no-label": ""
|
|
277
285
|
})
|
|
278
|
-
], 2)) : (
|
|
286
|
+
], 2)) : (i(), d("div", Ue, [
|
|
279
287
|
u(g, { "with-icon": "" }),
|
|
280
288
|
u(g, {
|
|
281
289
|
"with-icon": "",
|
|
@@ -285,9 +293,9 @@ const _e = {
|
|
|
285
293
|
])
|
|
286
294
|
]));
|
|
287
295
|
}
|
|
288
|
-
}),
|
|
296
|
+
}), ze = /* @__PURE__ */ le(Be, [["__scopeId", "data-v-17762b9b"]]);
|
|
289
297
|
export {
|
|
290
|
-
|
|
291
|
-
|
|
298
|
+
ze as A,
|
|
299
|
+
Te as H
|
|
292
300
|
};
|
|
293
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
301
|
+
//# sourceMappingURL=AvailabilitySkeleton-BGEhEqa-.js.map
|
|
Binary file
|