@konnectio/core 4.0.63 → 4.0.65
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-D5c9yQMq.js} +36 -28
- package/dist/ActionField-D5c9yQMq.js.br +0 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.js +299 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.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-CxZ-h3My.js} +934 -924
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js.br +0 -0
- package/dist/{CheckoutWindow-DolJgk40.js → CheckoutWindow-B74NMuGr.js} +174 -166
- package/dist/CheckoutWindow-B74NMuGr.js.br +0 -0
- package/dist/{ErrorMessage-BksKCxAq.js → ErrorMessage-CWR5rjTx.js} +24 -16
- package/dist/ErrorMessage-CWR5rjTx.js.br +0 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js +125 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js.br +0 -0
- package/dist/Field-C4DyN4XC.js +58 -0
- package/dist/Field-C4DyN4XC.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js +18813 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js.br +0 -0
- package/dist/TermsOfService-Bx4b2VxT.js +44 -0
- package/dist/TermsOfService-Bx4b2VxT.js.br +0 -0
- package/dist/_-DmU4JLX1.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js.br +0 -0
- package/dist/_commonjsHelpers-BbdZelfp.js +25 -0
- package/dist/_commonjsHelpers-BbdZelfp.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DEszgcWK.js → _sentry-release-injection-file-tJBg8sGS.js} +1643 -1635
- package/dist/_sentry-release-injection-file-tJBg8sGS.js.br +0 -0
- package/dist/availability.js +65 -55
- 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 +64 -56
- 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-SDJGsDep.js +134 -0
- package/dist/giftCard-SDJGsDep.js.br +0 -0
- package/dist/hotel.js +939 -920
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-GGoTX7a7.js → masonry.plugin-BhK5XQta.js} +860 -852
- package/dist/masonry.plugin-BhK5XQta.js.br +0 -0
- package/dist/{mitt-DnPlcQNp.js → mitt-CGFh35r5.js} +505 -497
- package/dist/mitt-CGFh35r5.js.br +0 -0
- package/dist/polyfill.js +6471 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-2RYcVxT9.js → style-BQlIFUN3.js} +418 -403
- package/dist/style-BQlIFUN3.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{_commonjsHelpers-DEK47QeC.js → tracing-B1Jp160Y.js} +597 -544
- package/dist/tracing-B1Jp160Y.js.br +0 -0
- package/package.json +16 -16
- package/dist/ActionField-3MggPKk9.js.br +0 -0
- package/dist/AvailabilitySkeleton-DSgC6hn3.js +0 -293
- 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 +0 -18734
- 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 {
|
|
1
|
+
import { d as V, c, a as u, b as r, w as g, e as v, u as s, f as w } from "./_sentry-release-injection-file-tJBg8sGS.js";
|
|
2
|
+
import { A as k, n as I, b as q, T as B, c as A, p as C, _ as D } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.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] = "86d95ccc-0fd4-497a-8cde-9fd86de41825", o._sentryDebugIdIdentifier = "sentry-dbid-86d95ccc-0fd4-497a-8cde-9fd86de41825");
|
|
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 p = l, f = o, d = f.id || k();
|
|
37
45
|
function m(e) {
|
|
38
|
-
|
|
46
|
+
p("update:modelValue", e);
|
|
39
47
|
}
|
|
40
|
-
const t =
|
|
41
|
-
get: () =>
|
|
48
|
+
const t = c({
|
|
49
|
+
get: () => f.modelValue,
|
|
42
50
|
set: (e) => m(e)
|
|
43
|
-
}),
|
|
44
|
-
get: () =>
|
|
51
|
+
}), y = c({
|
|
52
|
+
get: () => f.modelValue,
|
|
45
53
|
set: (e) => m(e)
|
|
46
54
|
});
|
|
47
|
-
function
|
|
48
|
-
|
|
55
|
+
function b() {
|
|
56
|
+
p("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(A, {
|
|
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) => b())
|
|
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__ */ D(h, [["__scopeId", "data-v-3e77e321"]]);
|
|
104
112
|
export {
|
|
105
113
|
T as A
|
|
106
114
|
};
|
|
107
|
-
//# sourceMappingURL=ActionField-
|
|
115
|
+
//# sourceMappingURL=ActionField-D5c9yQMq.js.map
|
|
Binary file
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { d as ee, G as De, r as p, c as i, z as J, o as ye, a as r, g as m, f as s, w as ke, u as a, b as A, i as D, e as $, n as U, y as he, h as we } from "./_sentry-release-injection-file-tJBg8sGS.js";
|
|
2
|
+
import { u as _e, s as N } from "./mitt-CGFh35r5.js";
|
|
3
|
+
import { u as Q, x as W, a as Ae, d as Le, T as Ve, n as xe, b as X, c as Z, o as Se, _ as ae, E as G } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js";
|
|
4
|
+
import { _ as Ne } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js";
|
|
5
|
+
import { F as g } from "./Field-C4DyN4XC.js";
|
|
6
|
+
(function() {
|
|
7
|
+
try {
|
|
8
|
+
var u = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
9
|
+
n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "84aaa693-9b25-4d00-97c6-985fdd539f84", u._sentryDebugIdIdentifier = "sentry-dbid-84aaa693-9b25-4d00-97c6-985fdd539f84");
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
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 $e = {
|
|
22
|
+
class: "konnectio-availability-location",
|
|
23
|
+
key: "location"
|
|
24
|
+
}, Ue = {
|
|
25
|
+
id: "konnectio-availability-date-selection",
|
|
26
|
+
key: "multiDate"
|
|
27
|
+
}, Be = {
|
|
28
|
+
id: "konnectio-availability-guest-selection",
|
|
29
|
+
key: "guests"
|
|
30
|
+
}, Ce = {
|
|
31
|
+
id: "konnectio-availability-confirmation",
|
|
32
|
+
key: "confirm"
|
|
33
|
+
}, Ie = /* @__PURE__ */ ee({
|
|
34
|
+
__name: "HotelAvailabilityForm",
|
|
35
|
+
props: {
|
|
36
|
+
booking: { type: Boolean, default: !1 },
|
|
37
|
+
link: {},
|
|
38
|
+
selectedLocation: { default: NaN },
|
|
39
|
+
disableDefaultLocation: { type: Boolean, default: !1 }
|
|
40
|
+
},
|
|
41
|
+
setup(u) {
|
|
42
|
+
const { t: n } = _e(), L = De("emitter"), t = u, B = Q(), {
|
|
43
|
+
adults: te,
|
|
44
|
+
children: le,
|
|
45
|
+
arrivalDate: C,
|
|
46
|
+
departureDate: I,
|
|
47
|
+
location: H,
|
|
48
|
+
hasHotelLocations: k,
|
|
49
|
+
hotelLocations: E,
|
|
50
|
+
controlLocation: oe,
|
|
51
|
+
hasSelectedLocation: ne
|
|
52
|
+
} = N(Q()), { fetchAvailabilityData: ie } = W(), { areListingsLoading: F } = N(W()), { display: R } = Ae(), {
|
|
53
|
+
firstSelectableDateOffset: M,
|
|
54
|
+
lastSelectableDateOffset: O,
|
|
55
|
+
disableChildSelection: b,
|
|
56
|
+
disableAdultSelection: c,
|
|
57
|
+
defaultAdultAmount: se,
|
|
58
|
+
defaultChildAmount: re,
|
|
59
|
+
maxAdultAmount: ue,
|
|
60
|
+
maxChildAmount: ce
|
|
61
|
+
} = N(Le()), de = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ve = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), me = () => t.disableDefaultLocation ? void 0 : oe.value, T = p(se.value), P = p(re.value), j = p(de()), z = p(ve()), q = p(me());
|
|
62
|
+
i(() => t.booking === !0 && !t.disableDefaultLocation && !ne);
|
|
63
|
+
const h = i({
|
|
64
|
+
get: () => t.booking ? B.adults : T.value,
|
|
65
|
+
set: (e) => {
|
|
66
|
+
t.booking ? te.value = Number(e) : T.value = Number(e);
|
|
67
|
+
}
|
|
68
|
+
}), V = i({
|
|
69
|
+
get: () => t.booking ? B.children : P.value,
|
|
70
|
+
set: (e) => {
|
|
71
|
+
t.booking ? le.value = Number(e) : P.value = Number(e);
|
|
72
|
+
}
|
|
73
|
+
}), d = i({
|
|
74
|
+
get: () => t.booking ? C.value : j.value,
|
|
75
|
+
set: (e) => {
|
|
76
|
+
t.booking ? C.value = e : j.value = e;
|
|
77
|
+
}
|
|
78
|
+
}), f = i({
|
|
79
|
+
get: () => t.booking ? I.value : z.value,
|
|
80
|
+
set: (e) => {
|
|
81
|
+
t.booking ? I.value = e : z.value = e;
|
|
82
|
+
}
|
|
83
|
+
}), w = i({
|
|
84
|
+
get: () => isNaN(t.selectedLocation) ? t.booking ? H.value : q.value : t.selectedLocation,
|
|
85
|
+
set: (e) => {
|
|
86
|
+
t.booking ? H.value = e : q.value = e;
|
|
87
|
+
}
|
|
88
|
+
}), K = i(() => {
|
|
89
|
+
const e = E.value.find(({ id: l }) => l === t.selectedLocation);
|
|
90
|
+
return e ? e.name : "";
|
|
91
|
+
}), y = p([]), be = i(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (M.value - 1)))), Oe = i(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value))), Te = i(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + M.value))), fe = i(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + (O.value + 1)))), x = i(() => !(!c && h.value === 0)), pe = i(() => typeof t.link != "string");
|
|
92
|
+
function Y(e) {
|
|
93
|
+
const l = e.getFullYear();
|
|
94
|
+
let o = e.getMonth() + 1, v = e.getDate();
|
|
95
|
+
return v < 10 && (v = "0" + v), o < 10 && (o = "0" + o), `${l}-${o}-${v}`;
|
|
96
|
+
}
|
|
97
|
+
function S(e) {
|
|
98
|
+
const l = {
|
|
99
|
+
a: h.value.toString(),
|
|
100
|
+
c: V.value.toString(),
|
|
101
|
+
ci: Y(d.value),
|
|
102
|
+
co: Y(f.value),
|
|
103
|
+
hid: w.value.toString()
|
|
104
|
+
}, o = new URLSearchParams(l), v = new URL(e, window.location.origin);
|
|
105
|
+
v.hash = o.toString(), window.location.replace(v.toString());
|
|
106
|
+
}
|
|
107
|
+
function ge() {
|
|
108
|
+
if (t.booking === !1) {
|
|
109
|
+
if (isNaN(w.value)) {
|
|
110
|
+
R({
|
|
111
|
+
message: n("alert.error.selectHotelId"),
|
|
112
|
+
type: "error"
|
|
113
|
+
});
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
if (pe.value) {
|
|
117
|
+
const e = Se();
|
|
118
|
+
t.link[e] ? S(t.link[e]) : t.link.en ? S(t.link.en) : R({
|
|
119
|
+
message: "Module misconfiguration, contact an admin",
|
|
120
|
+
type: "error"
|
|
121
|
+
});
|
|
122
|
+
} else
|
|
123
|
+
S(t.link);
|
|
124
|
+
} else x.value && ie();
|
|
125
|
+
}
|
|
126
|
+
return J(d, (e) => {
|
|
127
|
+
const l = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
|
|
128
|
+
new Date(f.value) < l && (f.value = l);
|
|
129
|
+
}), L.on("forcedDateChange", () => {
|
|
130
|
+
y.value = [d.value, f.value];
|
|
131
|
+
}), J(y, (e) => {
|
|
132
|
+
d.value = e[0], f.value = e[1];
|
|
133
|
+
}), ye(() => {
|
|
134
|
+
y.value = [d.value, f.value];
|
|
135
|
+
}), (e, l) => (r(), m("form", {
|
|
136
|
+
id: "konnectio-availability-form",
|
|
137
|
+
class: U({ reservation: e.booking }),
|
|
138
|
+
type: "availability",
|
|
139
|
+
onSubmit: we(ge, ["prevent"])
|
|
140
|
+
}, [
|
|
141
|
+
s(he, {
|
|
142
|
+
id: "konnectio-availability-form-content",
|
|
143
|
+
tag: "ul",
|
|
144
|
+
class: U([
|
|
145
|
+
{ "is-booking-page": e.booking },
|
|
146
|
+
{ "only-adult-guests": !a(c) && a(b) },
|
|
147
|
+
{ "only-child-guests": !a(b) && a(c) },
|
|
148
|
+
{ "no-guests": a(c) && a(b) },
|
|
149
|
+
{ "all-guests": !a(c) && !a(b) },
|
|
150
|
+
{ "has-location": a(k) }
|
|
151
|
+
])
|
|
152
|
+
}, {
|
|
153
|
+
default: ke(() => [
|
|
154
|
+
a(k) ? (r(), m("li", $e, [
|
|
155
|
+
isNaN(e.selectedLocation) ? (r(), A(xe, {
|
|
156
|
+
key: 1,
|
|
157
|
+
modelValue: w.value,
|
|
158
|
+
"onUpdate:modelValue": l[1] || (l[1] = (o) => w.value = o),
|
|
159
|
+
label: a(n)("general.location"),
|
|
160
|
+
placeholder: a(n)("general.locationPlaceholder"),
|
|
161
|
+
icon: "location-dot",
|
|
162
|
+
"icon-type": "fas",
|
|
163
|
+
"icon-placement": "label",
|
|
164
|
+
"label-key": "name",
|
|
165
|
+
"value-key": "id",
|
|
166
|
+
options: a(E),
|
|
167
|
+
searchable: !1
|
|
168
|
+
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), A(Ve, {
|
|
169
|
+
key: 0,
|
|
170
|
+
modelValue: K.value,
|
|
171
|
+
"onUpdate:modelValue": l[0] || (l[0] = (o) => K.value = o),
|
|
172
|
+
label: a(n)("general.location"),
|
|
173
|
+
icon: "location-dot",
|
|
174
|
+
"icon-type": "fas",
|
|
175
|
+
"icon-placement": "label",
|
|
176
|
+
readonly: ""
|
|
177
|
+
}, null, 8, ["modelValue", "label"]))
|
|
178
|
+
])) : D("", !0),
|
|
179
|
+
$("li", Ue, [
|
|
180
|
+
s(Ne, {
|
|
181
|
+
modelValue: y.value,
|
|
182
|
+
"onUpdate:modelValue": l[2] || (l[2] = (o) => y.value = o),
|
|
183
|
+
label: a(n)("availability.checkInOut"),
|
|
184
|
+
"icon-type": "fas",
|
|
185
|
+
"icon-placement": "label",
|
|
186
|
+
"min-range": 1,
|
|
187
|
+
"min-date": be.value,
|
|
188
|
+
"max-date": fe.value,
|
|
189
|
+
range: ""
|
|
190
|
+
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
191
|
+
D("", !0)
|
|
192
|
+
]),
|
|
193
|
+
!a(c) || !a(b) ? (r(), m("li", Be, [
|
|
194
|
+
a(c) ? D("", !0) : (r(), A(X, {
|
|
195
|
+
key: 0,
|
|
196
|
+
modelValue: h.value,
|
|
197
|
+
"onUpdate:modelValue": l[5] || (l[5] = (o) => h.value = o),
|
|
198
|
+
label: a(n)("availability.adults"),
|
|
199
|
+
description: a(n)("general.adultAgeRange"),
|
|
200
|
+
"icon-type": "fas",
|
|
201
|
+
"icon-placement": "label",
|
|
202
|
+
name: "adults",
|
|
203
|
+
icon: "male",
|
|
204
|
+
"max-value": a(ue),
|
|
205
|
+
controls: !a(k)
|
|
206
|
+
}, null, 8, ["modelValue", "label", "description", "max-value", "controls"])),
|
|
207
|
+
a(b) ? D("", !0) : (r(), A(X, {
|
|
208
|
+
key: 1,
|
|
209
|
+
modelValue: V.value,
|
|
210
|
+
"onUpdate:modelValue": l[6] || (l[6] = (o) => V.value = o),
|
|
211
|
+
label: a(n)("availability.children"),
|
|
212
|
+
description: a(n)("general.childAgeRange"),
|
|
213
|
+
"icon-type": "fas",
|
|
214
|
+
"icon-placement": "label",
|
|
215
|
+
name: "children",
|
|
216
|
+
icon: "child",
|
|
217
|
+
"max-value": a(ce),
|
|
218
|
+
controls: !a(k)
|
|
219
|
+
}, null, 8, ["modelValue", "label", "description", "max-value", "controls"]))
|
|
220
|
+
])) : D("", !0),
|
|
221
|
+
$("li", Ce, [
|
|
222
|
+
s(Z, {
|
|
223
|
+
class: "konnectio-availability-submit-small",
|
|
224
|
+
type: "submit",
|
|
225
|
+
icon: "search",
|
|
226
|
+
"icon-type": "fas",
|
|
227
|
+
disabled: !x.value,
|
|
228
|
+
"is-loading": a(F)
|
|
229
|
+
}, null, 8, ["disabled", "is-loading"]),
|
|
230
|
+
s(Z, {
|
|
231
|
+
class: "konnectio-availability-submit-large",
|
|
232
|
+
type: "submit",
|
|
233
|
+
label: a(n)("availability.buttonLabel"),
|
|
234
|
+
disabled: !x.value,
|
|
235
|
+
"is-loading": a(F)
|
|
236
|
+
}, null, 8, ["label", "disabled", "is-loading"])
|
|
237
|
+
])
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
}, 8, ["class"])
|
|
241
|
+
], 34));
|
|
242
|
+
}
|
|
243
|
+
}), Ye = /* @__PURE__ */ ae(Ie, [["__scopeId", "data-v-4179cc37"]]), He = { class: "availability-skeleton" }, Ee = {
|
|
244
|
+
key: 0,
|
|
245
|
+
class: "availability-skeleton-navigation"
|
|
246
|
+
}, Fe = { class: "availability-skeleton-content" }, Re = {
|
|
247
|
+
key: 1,
|
|
248
|
+
class: "availability-skeleton-event"
|
|
249
|
+
}, Me = /* @__PURE__ */ ee({
|
|
250
|
+
__name: "AvailabilitySkeleton",
|
|
251
|
+
props: {
|
|
252
|
+
view: { default: "hotel" },
|
|
253
|
+
hotel: { type: Boolean, default: !1 }
|
|
254
|
+
},
|
|
255
|
+
setup(u) {
|
|
256
|
+
return (n, L) => (r(), m("div", He, [
|
|
257
|
+
n.view === "both" ? (r(), m("div", Ee, [
|
|
258
|
+
s(G, {
|
|
259
|
+
height: "28px",
|
|
260
|
+
width: "60px",
|
|
261
|
+
"border-radius": "20px"
|
|
262
|
+
}),
|
|
263
|
+
s(G, {
|
|
264
|
+
height: "28px",
|
|
265
|
+
width: "60px",
|
|
266
|
+
"border-radius": "20px"
|
|
267
|
+
})
|
|
268
|
+
])) : D("", !0),
|
|
269
|
+
$("div", Fe, [
|
|
270
|
+
n.view !== "event" ? (r(), m("div", {
|
|
271
|
+
key: 0,
|
|
272
|
+
class: U([
|
|
273
|
+
"availability-skeleton-hotel",
|
|
274
|
+
{ "within-hotel": n.hotel }
|
|
275
|
+
])
|
|
276
|
+
}, [
|
|
277
|
+
s(g, { "with-icon": "" }),
|
|
278
|
+
s(g, { "with-icon": "" }),
|
|
279
|
+
s(g, { "with-icon": "" }),
|
|
280
|
+
s(g, {
|
|
281
|
+
"with-icon": "",
|
|
282
|
+
"no-label": ""
|
|
283
|
+
})
|
|
284
|
+
], 2)) : (r(), m("div", Re, [
|
|
285
|
+
s(g, { "with-icon": "" }),
|
|
286
|
+
s(g, {
|
|
287
|
+
"with-icon": "",
|
|
288
|
+
"no-label": ""
|
|
289
|
+
})
|
|
290
|
+
]))
|
|
291
|
+
])
|
|
292
|
+
]));
|
|
293
|
+
}
|
|
294
|
+
}), Je = /* @__PURE__ */ ae(Me, [["__scopeId", "data-v-17762b9b"]]);
|
|
295
|
+
export {
|
|
296
|
+
Je as A,
|
|
297
|
+
Ye as H
|
|
298
|
+
};
|
|
299
|
+
//# sourceMappingURL=AvailabilitySkeleton-BfyLbK2o.js.map
|
|
Binary file
|