@konnectio/core 4.0.56-rc35 → 4.0.56-rc36
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-Bruv7ZZW.js → ActionField-Ct6NhfWq.js} +43 -34
- package/dist/ActionField-Ct6NhfWq.js.br +0 -0
- package/dist/AvailabilitySkeleton-DOhrMVl4.js +286 -0
- package/dist/AvailabilitySkeleton-DOhrMVl4.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js} +519 -510
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js.br +0 -0
- package/dist/{CheckoutWindow-Dn3fiFuv.js → CheckoutWindow-BVIOQbbL.js} +143 -134
- package/dist/CheckoutWindow-BVIOQbbL.js.br +0 -0
- package/dist/{ErrorMessage-VK8egk99.js → ErrorMessage-DTSuSB8R.js} +27 -18
- package/dist/ErrorMessage-DTSuSB8R.js.br +0 -0
- package/dist/EventAvailabilityForm-DVcDsdr8.js +432 -0
- package/dist/EventAvailabilityForm-DVcDsdr8.js.br +0 -0
- package/dist/Field-IsLH1tNU.js +50 -0
- package/dist/Field-IsLH1tNU.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js +21280 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js.br +0 -0
- package/dist/TermsOfService-BORqI07-.js +35 -0
- package/dist/TermsOfService-BORqI07-.js.br +0 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js +11796 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
- package/dist/availability.js +60 -50
- package/dist/availability.js.br +0 -0
- package/dist/event.js +284 -274
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +75 -65
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +242 -232
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +697 -693
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-WFnnzw7L.js → masonry.plugin-gY-oSFpV.js} +43 -34
- package/dist/masonry.plugin-gY-oSFpV.js.br +0 -0
- package/dist/navigation.js +10 -1
- package/dist/polyfill.js +14745 -4715
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -6
- package/dist/ActionField-Bruv7ZZW.js.br +0 -0
- package/dist/AvailabilitySkeleton-DxVPZPw3.js +0 -277
- package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
- package/dist/CheckoutWindow-Dn3fiFuv.js.br +0 -0
- package/dist/ErrorMessage-VK8egk99.js.br +0 -0
- package/dist/EventAvailabilityForm-DbkL5luy.js +0 -422
- package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
- package/dist/Field-fZ3Q2e9-.js +0 -41
- package/dist/Field-fZ3Q2e9-.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js +0 -30755
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
- package/dist/TermsOfService-2g29W45E.js +0 -26
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { d as c,
|
|
2
|
-
|
|
1
|
+
import { d as c, g as b, o as i, a as u, w as V, f as g, u as s, e as v } from "./_commonjsHelpers-UWZO_9XV.js";
|
|
2
|
+
import { r as I, a as q, b as k, T as w, C as B, I as C, _ as D } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js";
|
|
3
|
+
(function() {
|
|
4
|
+
try {
|
|
5
|
+
var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
6
|
+
n && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[n] = "60558259-98a1-4b95-842b-4e716178008f", o._sentryDebugIdIdentifier = "sentry-dbid-60558259-98a1-4b95-842b-4e716178008f");
|
|
7
|
+
} catch {
|
|
8
|
+
}
|
|
9
|
+
})();
|
|
10
|
+
const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
|
|
3
11
|
__name: "ActionField",
|
|
4
12
|
props: {
|
|
5
13
|
modelValue: {},
|
|
@@ -24,58 +32,58 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
24
32
|
isLoading: { type: Boolean, default: !1 }
|
|
25
33
|
},
|
|
26
34
|
emits: ["update:modelValue", "action"],
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
29
|
-
function
|
|
30
|
-
|
|
35
|
+
setup(o, { emit: n }) {
|
|
36
|
+
const r = n, p = o, d = p.id || I();
|
|
37
|
+
function m(e) {
|
|
38
|
+
r("update:modelValue", e);
|
|
31
39
|
}
|
|
32
|
-
const
|
|
33
|
-
get: () =>
|
|
34
|
-
set: (e) =>
|
|
35
|
-
}),
|
|
36
|
-
get: () =>
|
|
37
|
-
set: (e) =>
|
|
40
|
+
const t = b({
|
|
41
|
+
get: () => p.modelValue,
|
|
42
|
+
set: (e) => m(e)
|
|
43
|
+
}), f = b({
|
|
44
|
+
get: () => p.modelValue,
|
|
45
|
+
set: (e) => m(e)
|
|
38
46
|
});
|
|
39
|
-
function
|
|
40
|
-
|
|
47
|
+
function y() {
|
|
48
|
+
r("action");
|
|
41
49
|
}
|
|
42
|
-
return (e, a) => (
|
|
50
|
+
return (e, a) => (i(), u(C, {
|
|
43
51
|
label: e.label,
|
|
44
|
-
id:
|
|
52
|
+
id: s(d),
|
|
45
53
|
icon: e.icon,
|
|
46
54
|
"icon-type": e.iconType,
|
|
47
55
|
required: e.required,
|
|
48
56
|
type: e.type,
|
|
49
57
|
readonly: e.readonly
|
|
50
58
|
}, {
|
|
51
|
-
default:
|
|
52
|
-
g("div",
|
|
53
|
-
e.type === "dropdown" && e.data ? (
|
|
59
|
+
default: V(() => [
|
|
60
|
+
g("div", F, [
|
|
61
|
+
e.type === "dropdown" && e.data ? (i(), u(q, {
|
|
54
62
|
key: 0,
|
|
55
|
-
modelValue:
|
|
56
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) =>
|
|
57
|
-
id:
|
|
63
|
+
modelValue: t.value,
|
|
64
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => t.value = l),
|
|
65
|
+
id: s(d),
|
|
58
66
|
options: e.data,
|
|
59
67
|
name: e.name,
|
|
60
68
|
required: e.required,
|
|
61
69
|
placeholder: e.placeholder
|
|
62
|
-
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (
|
|
70
|
+
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (i(), u(k, {
|
|
63
71
|
key: 1,
|
|
64
|
-
modelValue:
|
|
65
|
-
"onUpdate:modelValue": a[1] || (a[1] = (l) =>
|
|
66
|
-
id:
|
|
72
|
+
modelValue: f.value,
|
|
73
|
+
"onUpdate:modelValue": a[1] || (a[1] = (l) => f.value = l),
|
|
74
|
+
id: s(d),
|
|
67
75
|
"min-value": e.minValue,
|
|
68
76
|
"max-value": e.maxValue
|
|
69
|
-
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (
|
|
77
|
+
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (i(), u(w, {
|
|
70
78
|
key: 2,
|
|
71
|
-
modelValue:
|
|
72
|
-
"onUpdate:modelValue": a[2] || (a[2] = (l) =>
|
|
73
|
-
id:
|
|
79
|
+
modelValue: t.value,
|
|
80
|
+
"onUpdate:modelValue": a[2] || (a[2] = (l) => t.value = l),
|
|
81
|
+
id: s(d),
|
|
74
82
|
name: e.name,
|
|
75
83
|
required: e.required,
|
|
76
84
|
placeholder: e.placeholder
|
|
77
85
|
}, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
|
|
78
|
-
|
|
86
|
+
v(B, {
|
|
79
87
|
"data-test": `${e.name}Submit`,
|
|
80
88
|
icon: e.buttonIcon,
|
|
81
89
|
label: e.buttonLabel,
|
|
@@ -85,14 +93,15 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
|
85
93
|
"is-loading": e.isLoading,
|
|
86
94
|
disabled: e.buttonDisabled,
|
|
87
95
|
secondary: e.secondary,
|
|
88
|
-
onClickEvent: a[3] || (a[3] = (l) =>
|
|
96
|
+
onClickEvent: a[3] || (a[3] = (l) => y())
|
|
89
97
|
}, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
|
|
90
98
|
])
|
|
91
99
|
]),
|
|
92
100
|
_: 1
|
|
93
101
|
}, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
|
|
94
102
|
}
|
|
95
|
-
}),
|
|
103
|
+
}), T = /* @__PURE__ */ D(h, [["__scopeId", "data-v-3e77e321"]]);
|
|
96
104
|
export {
|
|
97
|
-
|
|
105
|
+
T as A
|
|
98
106
|
};
|
|
107
|
+
//# sourceMappingURL=ActionField-Ct6NhfWq.js.map
|
|
Binary file
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { d as Y, m as ve, r as D, g as s, q as G, h as be, o as n, c as r, e as u, w as me, u as e, a as f, b as y, f as N, F as J, n as $, l as pe, i as De } from "./_commonjsHelpers-UWZO_9XV.js";
|
|
2
|
+
import { u as fe, s as L, d as K, z as P, o as ge, T as x, a as ye, b as Q, C as W, w as ke, _ as Z, E as X } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js";
|
|
3
|
+
import { _ as he } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js";
|
|
4
|
+
import { F as g } from "./Field-IsLH1tNU.js";
|
|
5
|
+
(function() {
|
|
6
|
+
try {
|
|
7
|
+
var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
8
|
+
t && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[t] = "67020f09-da50-43d5-baf2-4a4b74a0b6d6", d._sentryDebugIdIdentifier = "sentry-dbid-67020f09-da50-43d5-baf2-4a4b74a0b6d6");
|
|
9
|
+
} catch {
|
|
10
|
+
}
|
|
11
|
+
})();
|
|
12
|
+
const we = {
|
|
13
|
+
class: "konnectio-availability-location",
|
|
14
|
+
key: "location"
|
|
15
|
+
}, _e = {
|
|
16
|
+
id: "konnectio-availability-date-selection",
|
|
17
|
+
key: "multiDate"
|
|
18
|
+
}, Ve = {
|
|
19
|
+
id: "konnectio-availability-guest-selection",
|
|
20
|
+
key: "guests"
|
|
21
|
+
}, Ae = {
|
|
22
|
+
id: "konnectio-availability-confirmation",
|
|
23
|
+
key: "confirm"
|
|
24
|
+
}, Le = /* @__PURE__ */ Y({
|
|
25
|
+
__name: "HotelAvailabilityForm",
|
|
26
|
+
props: {
|
|
27
|
+
booking: { type: Boolean, default: !1 },
|
|
28
|
+
link: {},
|
|
29
|
+
selectedLocation: { default: NaN }
|
|
30
|
+
},
|
|
31
|
+
setup(d) {
|
|
32
|
+
const { t } = fe(), _ = ve("emitter"), l = d, {
|
|
33
|
+
adults: S,
|
|
34
|
+
children: U,
|
|
35
|
+
arrivalDate: C,
|
|
36
|
+
departureDate: I,
|
|
37
|
+
location: B,
|
|
38
|
+
hasHotelLocations: w,
|
|
39
|
+
hotelLocations: F,
|
|
40
|
+
isExpired: ee
|
|
41
|
+
} = L(K()), { reset: ae, updateHotelAvailability: le, fetchMetadata: te } = K(), { fetchAvailabilityData: ie } = P(), { areListingsLoading: H } = L(P()), {
|
|
42
|
+
firstSelectableDateOffset: E,
|
|
43
|
+
lastSelectableDateOffset: R,
|
|
44
|
+
disableChildSelection: b,
|
|
45
|
+
disableAdultSelection: c,
|
|
46
|
+
controlLocation: oe
|
|
47
|
+
} = L(ge()), ne = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), se = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), T = D(2), z = D(0), M = D(ne()), O = D(se()), q = D(oe.value), m = s({
|
|
48
|
+
get: () => l.booking ? S.value : T.value,
|
|
49
|
+
set: (a) => {
|
|
50
|
+
l.booking ? S.value = Number(a) : T.value = Number(a);
|
|
51
|
+
}
|
|
52
|
+
}), k = s({
|
|
53
|
+
get: () => l.booking ? U.value : z.value,
|
|
54
|
+
set: (a) => {
|
|
55
|
+
l.booking ? U.value = Number(a) : z.value = Number(a);
|
|
56
|
+
}
|
|
57
|
+
}), v = s({
|
|
58
|
+
get: () => l.booking ? C.value : M.value,
|
|
59
|
+
set: (a) => {
|
|
60
|
+
l.booking ? C.value = a : M.value = a;
|
|
61
|
+
}
|
|
62
|
+
}), p = s({
|
|
63
|
+
get: () => l.booking ? I.value : O.value,
|
|
64
|
+
set: (a) => {
|
|
65
|
+
l.booking ? I.value = a : O.value = a;
|
|
66
|
+
}
|
|
67
|
+
}), V = s({
|
|
68
|
+
get: () => isNaN(l.selectedLocation) ? l.booking ? B.value : q.value : l.selectedLocation,
|
|
69
|
+
set: (a) => {
|
|
70
|
+
l.booking ? B.value = a : q.value = a;
|
|
71
|
+
}
|
|
72
|
+
}), j = s(() => {
|
|
73
|
+
const a = F.value.find(({ id: i }) => i === l.selectedLocation);
|
|
74
|
+
return a ? a.name : "";
|
|
75
|
+
}), h = D([]), ue = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (E.value - 1)))), Ce = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + R.value))), Ie = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + E.value))), re = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (R.value + 1)))), A = s(() => !(!c && m.value === 0)), de = s(() => typeof l.link != "string");
|
|
76
|
+
function ce() {
|
|
77
|
+
if (l.booking === !1)
|
|
78
|
+
if (le({
|
|
79
|
+
adults: m.value,
|
|
80
|
+
children: k.value,
|
|
81
|
+
arrivalDate: v.value,
|
|
82
|
+
departureDate: p.value,
|
|
83
|
+
location: V.value
|
|
84
|
+
}), de.value) {
|
|
85
|
+
const a = ke();
|
|
86
|
+
l.link[a] ? window.location.replace(l.link[a]) : l.link.en ? window.location.replace(l.link.en) : console.log("Sprog understøttes ikke");
|
|
87
|
+
} else
|
|
88
|
+
window.location.replace(l.link);
|
|
89
|
+
else
|
|
90
|
+
A.value && ie();
|
|
91
|
+
}
|
|
92
|
+
return G(v, (a) => {
|
|
93
|
+
const i = new Date(new Date(a).setDate(new Date(a).getDate() + 1));
|
|
94
|
+
new Date(p.value) < i && (p.value = i);
|
|
95
|
+
}), _.on("forcedDateChange", () => {
|
|
96
|
+
h.value = [v.value, p.value];
|
|
97
|
+
}), G(h, (a) => {
|
|
98
|
+
v.value = a[0], p.value = a[1];
|
|
99
|
+
}), be(() => {
|
|
100
|
+
ee.value && ae(), l.booking === !0 && te(), h.value = [v.value, p.value];
|
|
101
|
+
}), (a, i) => (n(), r("form", {
|
|
102
|
+
id: "konnectio-availability-form",
|
|
103
|
+
class: $({ reservation: a.booking }),
|
|
104
|
+
type: "availability",
|
|
105
|
+
onSubmit: De(ce, ["prevent"])
|
|
106
|
+
}, [
|
|
107
|
+
u(pe, {
|
|
108
|
+
id: "konnectio-availability-form-content",
|
|
109
|
+
tag: "ul",
|
|
110
|
+
class: $([
|
|
111
|
+
{ "is-booking-page": a.booking },
|
|
112
|
+
{ "only-adult-guests": !e(c) && e(b) },
|
|
113
|
+
{ "only-child-guests": !e(b) && e(c) },
|
|
114
|
+
{ "no-guests": e(c) && e(b) },
|
|
115
|
+
{ "all-guests": !e(c) && !e(b) },
|
|
116
|
+
{ "has-location": e(w) }
|
|
117
|
+
])
|
|
118
|
+
}, {
|
|
119
|
+
default: me(() => [
|
|
120
|
+
e(w) ? (n(), r("li", we, [
|
|
121
|
+
isNaN(a.selectedLocation) ? (n(), f(ye, {
|
|
122
|
+
key: 1,
|
|
123
|
+
modelValue: V.value,
|
|
124
|
+
"onUpdate:modelValue": i[1] || (i[1] = (o) => V.value = o),
|
|
125
|
+
label: e(t)("general.location"),
|
|
126
|
+
icon: "location-dot",
|
|
127
|
+
"icon-type": "fas",
|
|
128
|
+
"icon-placement": "label",
|
|
129
|
+
"label-key": "name",
|
|
130
|
+
"value-key": "id",
|
|
131
|
+
options: e(F),
|
|
132
|
+
searchable: !1
|
|
133
|
+
}, null, 8, ["modelValue", "label", "options"])) : (n(), f(x, {
|
|
134
|
+
key: 0,
|
|
135
|
+
modelValue: j.value,
|
|
136
|
+
"onUpdate:modelValue": i[0] || (i[0] = (o) => j.value = o),
|
|
137
|
+
label: e(t)("general.location"),
|
|
138
|
+
icon: "location-dot",
|
|
139
|
+
"icon-type": "fas",
|
|
140
|
+
"icon-placement": "label",
|
|
141
|
+
readonly: ""
|
|
142
|
+
}, null, 8, ["modelValue", "label"]))
|
|
143
|
+
])) : y("", !0),
|
|
144
|
+
N("li", _e, [
|
|
145
|
+
u(he, {
|
|
146
|
+
modelValue: h.value,
|
|
147
|
+
"onUpdate:modelValue": i[2] || (i[2] = (o) => h.value = o),
|
|
148
|
+
label: e(t)("availability.checkInOut"),
|
|
149
|
+
"icon-type": "fas",
|
|
150
|
+
"icon-placement": "label",
|
|
151
|
+
"min-range": 1,
|
|
152
|
+
"min-date": ue.value,
|
|
153
|
+
"max-date": re.value,
|
|
154
|
+
range: ""
|
|
155
|
+
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
156
|
+
y("", !0)
|
|
157
|
+
]),
|
|
158
|
+
!e(c) || !e(b) ? (n(), r("li", Ve, [
|
|
159
|
+
e(c) ? y("", !0) : (n(), r(J, { key: 0 }, [
|
|
160
|
+
e(w) ? (n(), f(x, {
|
|
161
|
+
key: 0,
|
|
162
|
+
modelValue: m.value,
|
|
163
|
+
"onUpdate:modelValue": i[5] || (i[5] = (o) => m.value = o),
|
|
164
|
+
type: "number",
|
|
165
|
+
label: e(t)("availability.adults"),
|
|
166
|
+
description: e(t)("general.adultAgeRange"),
|
|
167
|
+
"icon-type": "fas",
|
|
168
|
+
"icon-placement": "label",
|
|
169
|
+
name: "adults",
|
|
170
|
+
icon: "male"
|
|
171
|
+
}, null, 8, ["modelValue", "label", "description"])) : (n(), f(Q, {
|
|
172
|
+
key: 1,
|
|
173
|
+
modelValue: m.value,
|
|
174
|
+
"onUpdate:modelValue": i[6] || (i[6] = (o) => m.value = o),
|
|
175
|
+
label: e(t)("availability.adults"),
|
|
176
|
+
description: e(t)("general.adultAgeRange"),
|
|
177
|
+
"icon-type": "fas",
|
|
178
|
+
"icon-placement": "label",
|
|
179
|
+
name: "adults",
|
|
180
|
+
icon: "male"
|
|
181
|
+
}, null, 8, ["modelValue", "label", "description"]))
|
|
182
|
+
], 64)),
|
|
183
|
+
e(b) ? y("", !0) : (n(), r(J, { key: 1 }, [
|
|
184
|
+
e(w) ? (n(), f(x, {
|
|
185
|
+
key: 0,
|
|
186
|
+
modelValue: k.value,
|
|
187
|
+
"onUpdate:modelValue": i[7] || (i[7] = (o) => k.value = o),
|
|
188
|
+
type: "number",
|
|
189
|
+
label: e(t)("availability.children"),
|
|
190
|
+
description: e(t)("general.childAgeRange"),
|
|
191
|
+
"icon-type": "fas",
|
|
192
|
+
"icon-placement": "label",
|
|
193
|
+
name: "children",
|
|
194
|
+
icon: "child"
|
|
195
|
+
}, null, 8, ["modelValue", "label", "description"])) : (n(), f(Q, {
|
|
196
|
+
key: 1,
|
|
197
|
+
modelValue: k.value,
|
|
198
|
+
"onUpdate:modelValue": i[8] || (i[8] = (o) => k.value = o),
|
|
199
|
+
label: e(t)("availability.children"),
|
|
200
|
+
description: e(t)("general.childAgeRange"),
|
|
201
|
+
"icon-type": "fas",
|
|
202
|
+
"icon-placement": "label",
|
|
203
|
+
name: "children",
|
|
204
|
+
icon: "child"
|
|
205
|
+
}, null, 8, ["modelValue", "label", "description"]))
|
|
206
|
+
], 64))
|
|
207
|
+
])) : y("", !0),
|
|
208
|
+
N("li", Ae, [
|
|
209
|
+
u(W, {
|
|
210
|
+
class: "konnectio-availability-submit-small",
|
|
211
|
+
type: "submit",
|
|
212
|
+
icon: "search",
|
|
213
|
+
"icon-type": "fas",
|
|
214
|
+
disabled: !A.value,
|
|
215
|
+
"is-loading": e(H)
|
|
216
|
+
}, null, 8, ["disabled", "is-loading"]),
|
|
217
|
+
u(W, {
|
|
218
|
+
class: "konnectio-availability-submit-large",
|
|
219
|
+
type: "submit",
|
|
220
|
+
label: e(t)("availability.buttonLabel"),
|
|
221
|
+
disabled: !A.value,
|
|
222
|
+
"is-loading": e(H)
|
|
223
|
+
}, null, 8, ["label", "disabled", "is-loading"])
|
|
224
|
+
])
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}, 8, ["class"])
|
|
228
|
+
], 34));
|
|
229
|
+
}
|
|
230
|
+
}), Re = /* @__PURE__ */ Z(Le, [["__scopeId", "data-v-f6d5ea17"]]), xe = { class: "availability-skeleton" }, Ne = {
|
|
231
|
+
key: 0,
|
|
232
|
+
class: "availability-skeleton-navigation"
|
|
233
|
+
}, $e = { class: "availability-skeleton-content" }, Se = {
|
|
234
|
+
key: 1,
|
|
235
|
+
class: "availability-skeleton-event"
|
|
236
|
+
}, Ue = /* @__PURE__ */ Y({
|
|
237
|
+
__name: "AvailabilitySkeleton",
|
|
238
|
+
props: {
|
|
239
|
+
view: { default: "hotel" },
|
|
240
|
+
hotel: { type: Boolean, default: !1 }
|
|
241
|
+
},
|
|
242
|
+
setup(d) {
|
|
243
|
+
return (t, _) => (n(), r("div", xe, [
|
|
244
|
+
t.view === "both" ? (n(), r("div", Ne, [
|
|
245
|
+
u(X, {
|
|
246
|
+
height: "28px",
|
|
247
|
+
width: "60px",
|
|
248
|
+
"border-radius": "20px"
|
|
249
|
+
}),
|
|
250
|
+
u(X, {
|
|
251
|
+
height: "28px",
|
|
252
|
+
width: "60px",
|
|
253
|
+
"border-radius": "20px"
|
|
254
|
+
})
|
|
255
|
+
])) : y("", !0),
|
|
256
|
+
N("div", $e, [
|
|
257
|
+
t.view !== "event" ? (n(), r("div", {
|
|
258
|
+
key: 0,
|
|
259
|
+
class: $([
|
|
260
|
+
"availability-skeleton-hotel",
|
|
261
|
+
{ "within-hotel": t.hotel }
|
|
262
|
+
])
|
|
263
|
+
}, [
|
|
264
|
+
u(g, { "with-icon": "" }),
|
|
265
|
+
u(g, { "with-icon": "" }),
|
|
266
|
+
u(g, { "with-icon": "" }),
|
|
267
|
+
u(g, {
|
|
268
|
+
"with-icon": "",
|
|
269
|
+
"no-label": ""
|
|
270
|
+
})
|
|
271
|
+
], 2)) : (n(), r("div", Se, [
|
|
272
|
+
u(g, { "with-icon": "" }),
|
|
273
|
+
u(g, {
|
|
274
|
+
"with-icon": "",
|
|
275
|
+
"no-label": ""
|
|
276
|
+
})
|
|
277
|
+
]))
|
|
278
|
+
])
|
|
279
|
+
]));
|
|
280
|
+
}
|
|
281
|
+
}), Te = /* @__PURE__ */ Z(Ue, [["__scopeId", "data-v-17762b9b"]]);
|
|
282
|
+
export {
|
|
283
|
+
Te as A,
|
|
284
|
+
Re as H
|
|
285
|
+
};
|
|
286
|
+
//# sourceMappingURL=AvailabilitySkeleton-DOhrMVl4.js.map
|
|
Binary file
|