@konnectio/core 4.0.56-rc9 → 4.0.57
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-DQVEiApH.js → ActionField-BsgBhqwb.js} +43 -34
- package/dist/ActionField-BsgBhqwb.js.br +0 -0
- package/dist/AvailabilitySkeleton-BCiyhi6I.js +294 -0
- package/dist/AvailabilitySkeleton-BCiyhi6I.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js +8658 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js.br +0 -0
- package/dist/CheckoutWindow-COyV5n05.js +677 -0
- package/dist/CheckoutWindow-COyV5n05.js.br +0 -0
- package/dist/ErrorMessage-Bqmjetwk.js +45 -0
- package/dist/ErrorMessage-Bqmjetwk.js.br +0 -0
- package/dist/EventAvailabilityForm-CnfdAPBG.js +117 -0
- package/dist/EventAvailabilityForm-CnfdAPBG.js.br +0 -0
- package/dist/Field-8j4srvwh.js +50 -0
- package/dist/Field-8j4srvwh.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js +18837 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js.br +0 -0
- package/dist/TermsOfService-DzB0damA.js +36 -0
- package/dist/TermsOfService-DzB0damA.js.br +0 -0
- package/dist/_-BtSFcDLj.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-zf2i08XL.js +69 -0
- package/dist/_.vue_vue_type_style_index_0_lang-zf2i08XL.js.br +0 -0
- package/dist/_commonjsHelpers-DzP9V0uJ.js +17 -0
- package/dist/_sentry-release-injection-file-fvkcFI33.js +9524 -0
- package/dist/_sentry-release-injection-file-fvkcFI33.js.br +0 -0
- package/dist/availability.js +89 -167
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +62 -0
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +787 -500
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +114 -67
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +356 -387
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-DbcQz3eJ.js +134 -0
- package/dist/giftCard-DbcQz3eJ.js.br +0 -0
- package/dist/hotel.js +2215 -11
- package/dist/hotel.js.br +0 -0
- package/dist/masonry.plugin-BX1LxkhS.js +12777 -0
- package/dist/masonry.plugin-BX1LxkhS.js.br +0 -0
- package/dist/mitt-l8QPdH4v.js +2953 -0
- package/dist/mitt-l8QPdH4v.js.br +0 -0
- package/dist/polyfill.js +13671 -4711
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-z3gaNes7.js +2537 -0
- package/dist/tracing-z3gaNes7.js.br +0 -0
- package/package.json +41 -37
- package/dist/ActionField-DQVEiApH.js.br +0 -0
- package/dist/AvailabilitySkeleton-AtpMBpH9.js +0 -214
- package/dist/AvailabilitySkeleton-AtpMBpH9.js.br +0 -0
- package/dist/CheckoutWindow-qWcuhbC0.js +0 -205
- package/dist/CheckoutWindow-qWcuhbC0.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-yJsHdlhS.js +0 -8558
- package/dist/DateField.vue_vue_type_style_index_0_lang-yJsHdlhS.js.br +0 -0
- package/dist/Field-LwXPzaNj.js +0 -42
- package/dist/Field-LwXPzaNj.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-nQBJ2nvj.js +0 -30460
- package/dist/SelectField.vue_vue_type_style_index_0_lang-nQBJ2nvj.js.br +0 -0
- package/dist/ThankYou-GZubLuct.js +0 -13233
- package/dist/ThankYou-GZubLuct.js.br +0 -0
- package/dist/_-STnzfLhe.js +0 -19
- package/dist/_commonjsHelpers-2ufMB8rV.js +0 -30
- package/dist/event-lcXN-Fd1.js +0 -328
- package/dist/event-lcXN-Fd1.js.br +0 -0
- package/dist/hotel-NNMyLNPa.js +0 -3108
- package/dist/hotel-NNMyLNPa.js.br +0 -0
- package/dist/navigation.js +0 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { d as c, c as b, a as i, b as u, w as V, e as g, u as s, f as v } from "./_sentry-release-injection-file-fvkcFI33.js";
|
|
2
|
+
import { D as I, n as q, b as k, T as w, c as B, p as D, _ as C } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.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] = "6e8c1c62-2d2a-4b9c-a3d4-a49f54f7d0b8", o._sentryDebugIdIdentifier = "sentry-dbid-6e8c1c62-2d2a-4b9c-a3d4-a49f54f7d0b8");
|
|
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(D, {
|
|
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
|
-
|
|
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__ */ C(h, [["__scopeId", "data-v-3e77e321"]]);
|
|
96
104
|
export {
|
|
97
|
-
|
|
105
|
+
T as A
|
|
98
106
|
};
|
|
107
|
+
//# sourceMappingURL=ActionField-BsgBhqwb.js.map
|
|
Binary file
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { d as ee, G as me, r as f, c as s, z as K, o as be, a as n, g as r, f as u, w as pe, u as e, b as D, i as y, e as N, F as P, n as $, y as fe, h as De } from "./_sentry-release-injection-file-fvkcFI33.js";
|
|
2
|
+
import { u as ge, s as x } from "./mitt-l8QPdH4v.js";
|
|
3
|
+
import { u as Q, x as W, d as ye, T as L, n as ke, b as X, c as Y, o as he, _ as ae, E as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DzRjaA5x.js";
|
|
4
|
+
import { _ as we } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-D-gqVQco.js";
|
|
5
|
+
import { F as g } from "./Field-8j4srvwh.js";
|
|
6
|
+
(function() {
|
|
7
|
+
try {
|
|
8
|
+
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
9
|
+
t && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[t] = "f5acc690-b8f5-4cdf-8696-092e6e2a775a", c._sentryDebugIdIdentifier = "sentry-dbid-f5acc690-b8f5-4cdf-8696-092e6e2a775a");
|
|
10
|
+
} catch {
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const _e = {
|
|
14
|
+
class: "konnectio-availability-location",
|
|
15
|
+
key: "location"
|
|
16
|
+
}, Ve = {
|
|
17
|
+
id: "konnectio-availability-date-selection",
|
|
18
|
+
key: "multiDate"
|
|
19
|
+
}, Ae = {
|
|
20
|
+
id: "konnectio-availability-guest-selection",
|
|
21
|
+
key: "guests"
|
|
22
|
+
}, xe = {
|
|
23
|
+
id: "konnectio-availability-confirmation",
|
|
24
|
+
key: "confirm"
|
|
25
|
+
}, Le = /* @__PURE__ */ ee({
|
|
26
|
+
__name: "HotelAvailabilityForm",
|
|
27
|
+
props: {
|
|
28
|
+
booking: { type: Boolean, default: !1 },
|
|
29
|
+
link: {},
|
|
30
|
+
selectedLocation: { default: NaN }
|
|
31
|
+
},
|
|
32
|
+
setup(c) {
|
|
33
|
+
const { t } = ge(), _ = me("emitter"), l = c, {
|
|
34
|
+
adults: C,
|
|
35
|
+
children: S,
|
|
36
|
+
arrivalDate: U,
|
|
37
|
+
departureDate: I,
|
|
38
|
+
location: B,
|
|
39
|
+
hasHotelLocations: w,
|
|
40
|
+
hotelLocations: F,
|
|
41
|
+
controlLocation: le
|
|
42
|
+
} = x(Q()), { updateHotelAvailability: te } = Q(), { fetchAvailabilityData: ie } = W(), { areListingsLoading: H } = x(W()), {
|
|
43
|
+
firstSelectableDateOffset: R,
|
|
44
|
+
lastSelectableDateOffset: E,
|
|
45
|
+
disableChildSelection: m,
|
|
46
|
+
disableAdultSelection: d,
|
|
47
|
+
defaultAdultAmount: oe,
|
|
48
|
+
defaultChildAmount: ne,
|
|
49
|
+
maxAdultAmount: T,
|
|
50
|
+
maxChildAmount: z
|
|
51
|
+
} = x(ye()), se = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ue = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), O = f(oe.value), G = f(ne.value), M = f(se()), j = f(ue()), q = f(le.value), b = s({
|
|
52
|
+
get: () => l.booking ? C.value : O.value,
|
|
53
|
+
set: (a) => {
|
|
54
|
+
l.booking ? C.value = Number(a) : O.value = Number(a);
|
|
55
|
+
}
|
|
56
|
+
}), k = s({
|
|
57
|
+
get: () => l.booking ? S.value : G.value,
|
|
58
|
+
set: (a) => {
|
|
59
|
+
l.booking ? S.value = Number(a) : G.value = Number(a);
|
|
60
|
+
}
|
|
61
|
+
}), v = s({
|
|
62
|
+
get: () => l.booking ? U.value : M.value,
|
|
63
|
+
set: (a) => {
|
|
64
|
+
l.booking ? U.value = a : M.value = a;
|
|
65
|
+
}
|
|
66
|
+
}), p = s({
|
|
67
|
+
get: () => l.booking ? I.value : j.value,
|
|
68
|
+
set: (a) => {
|
|
69
|
+
l.booking ? I.value = a : j.value = a;
|
|
70
|
+
}
|
|
71
|
+
}), V = s({
|
|
72
|
+
get: () => isNaN(l.selectedLocation) ? l.booking ? B.value : q.value : l.selectedLocation,
|
|
73
|
+
set: (a) => {
|
|
74
|
+
l.booking ? B.value = a : q.value = a;
|
|
75
|
+
}
|
|
76
|
+
}), J = s(() => {
|
|
77
|
+
const a = F.value.find(({ id: i }) => i === l.selectedLocation);
|
|
78
|
+
return a ? a.name : "";
|
|
79
|
+
}), h = 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() + E.value))), Be = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + R.value))), ce = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (E.value + 1)))), A = s(() => !(!d && b.value === 0)), de = s(() => typeof l.link != "string");
|
|
80
|
+
function ve() {
|
|
81
|
+
if (l.booking === !1)
|
|
82
|
+
if (te({
|
|
83
|
+
adults: b.value,
|
|
84
|
+
children: k.value,
|
|
85
|
+
arrivalDate: v.value,
|
|
86
|
+
departureDate: p.value,
|
|
87
|
+
location: V.value
|
|
88
|
+
}), de.value) {
|
|
89
|
+
const a = he();
|
|
90
|
+
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
|
+
} else
|
|
92
|
+
window.location.replace(l.link);
|
|
93
|
+
else
|
|
94
|
+
A.value && ie();
|
|
95
|
+
}
|
|
96
|
+
return K(v, (a) => {
|
|
97
|
+
const i = new Date(new Date(a).setDate(new Date(a).getDate() + 1));
|
|
98
|
+
new Date(p.value) < i && (p.value = i);
|
|
99
|
+
}), _.on("forcedDateChange", () => {
|
|
100
|
+
h.value = [v.value, p.value];
|
|
101
|
+
}), K(h, (a) => {
|
|
102
|
+
v.value = a[0], p.value = a[1];
|
|
103
|
+
}), be(() => {
|
|
104
|
+
h.value = [v.value, p.value];
|
|
105
|
+
}), (a, i) => (n(), r("form", {
|
|
106
|
+
id: "konnectio-availability-form",
|
|
107
|
+
class: $({ reservation: a.booking }),
|
|
108
|
+
type: "availability",
|
|
109
|
+
onSubmit: De(ve, ["prevent"])
|
|
110
|
+
}, [
|
|
111
|
+
u(fe, {
|
|
112
|
+
id: "konnectio-availability-form-content",
|
|
113
|
+
tag: "ul",
|
|
114
|
+
class: $([
|
|
115
|
+
{ "is-booking-page": a.booking },
|
|
116
|
+
{ "only-adult-guests": !e(d) && e(m) },
|
|
117
|
+
{ "only-child-guests": !e(m) && e(d) },
|
|
118
|
+
{ "no-guests": e(d) && e(m) },
|
|
119
|
+
{ "all-guests": !e(d) && !e(m) },
|
|
120
|
+
{ "has-location": e(w) }
|
|
121
|
+
])
|
|
122
|
+
}, {
|
|
123
|
+
default: pe(() => [
|
|
124
|
+
e(w) ? (n(), r("li", _e, [
|
|
125
|
+
isNaN(a.selectedLocation) ? (n(), D(ke, {
|
|
126
|
+
key: 1,
|
|
127
|
+
modelValue: V.value,
|
|
128
|
+
"onUpdate:modelValue": i[1] || (i[1] = (o) => V.value = o),
|
|
129
|
+
label: e(t)("general.location"),
|
|
130
|
+
icon: "location-dot",
|
|
131
|
+
"icon-type": "fas",
|
|
132
|
+
"icon-placement": "label",
|
|
133
|
+
"label-key": "name",
|
|
134
|
+
"value-key": "id",
|
|
135
|
+
options: e(F),
|
|
136
|
+
searchable: !1
|
|
137
|
+
}, null, 8, ["modelValue", "label", "options"])) : (n(), D(L, {
|
|
138
|
+
key: 0,
|
|
139
|
+
modelValue: J.value,
|
|
140
|
+
"onUpdate:modelValue": i[0] || (i[0] = (o) => J.value = o),
|
|
141
|
+
label: e(t)("general.location"),
|
|
142
|
+
icon: "location-dot",
|
|
143
|
+
"icon-type": "fas",
|
|
144
|
+
"icon-placement": "label",
|
|
145
|
+
readonly: ""
|
|
146
|
+
}, null, 8, ["modelValue", "label"]))
|
|
147
|
+
])) : y("", !0),
|
|
148
|
+
N("li", Ve, [
|
|
149
|
+
u(we, {
|
|
150
|
+
modelValue: h.value,
|
|
151
|
+
"onUpdate:modelValue": i[2] || (i[2] = (o) => h.value = o),
|
|
152
|
+
label: e(t)("availability.checkInOut"),
|
|
153
|
+
"icon-type": "fas",
|
|
154
|
+
"icon-placement": "label",
|
|
155
|
+
"min-range": 1,
|
|
156
|
+
"min-date": re.value,
|
|
157
|
+
"max-date": ce.value,
|
|
158
|
+
range: ""
|
|
159
|
+
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
160
|
+
y("", !0)
|
|
161
|
+
]),
|
|
162
|
+
!e(d) || !e(m) ? (n(), r("li", Ae, [
|
|
163
|
+
e(d) ? y("", !0) : (n(), r(P, { key: 0 }, [
|
|
164
|
+
e(w) ? (n(), D(L, {
|
|
165
|
+
key: 0,
|
|
166
|
+
modelValue: b.value,
|
|
167
|
+
"onUpdate:modelValue": i[5] || (i[5] = (o) => b.value = o),
|
|
168
|
+
type: "number",
|
|
169
|
+
label: e(t)("availability.adults"),
|
|
170
|
+
description: e(t)("general.adultAgeRange"),
|
|
171
|
+
"icon-type": "fas",
|
|
172
|
+
"icon-placement": "label",
|
|
173
|
+
name: "adults",
|
|
174
|
+
icon: "male",
|
|
175
|
+
max: e(T)
|
|
176
|
+
}, null, 8, ["modelValue", "label", "description", "max"])) : (n(), D(X, {
|
|
177
|
+
key: 1,
|
|
178
|
+
modelValue: b.value,
|
|
179
|
+
"onUpdate:modelValue": i[6] || (i[6] = (o) => b.value = o),
|
|
180
|
+
label: e(t)("availability.adults"),
|
|
181
|
+
description: e(t)("general.adultAgeRange"),
|
|
182
|
+
"icon-type": "fas",
|
|
183
|
+
"icon-placement": "label",
|
|
184
|
+
name: "adults",
|
|
185
|
+
icon: "male",
|
|
186
|
+
"max-value": e(T)
|
|
187
|
+
}, null, 8, ["modelValue", "label", "description", "max-value"]))
|
|
188
|
+
], 64)),
|
|
189
|
+
e(m) ? y("", !0) : (n(), r(P, { key: 1 }, [
|
|
190
|
+
e(w) ? (n(), D(L, {
|
|
191
|
+
key: 0,
|
|
192
|
+
modelValue: k.value,
|
|
193
|
+
"onUpdate:modelValue": i[7] || (i[7] = (o) => k.value = o),
|
|
194
|
+
type: "number",
|
|
195
|
+
label: e(t)("availability.children"),
|
|
196
|
+
description: e(t)("general.childAgeRange"),
|
|
197
|
+
"icon-type": "fas",
|
|
198
|
+
"icon-placement": "label",
|
|
199
|
+
name: "children",
|
|
200
|
+
icon: "child",
|
|
201
|
+
max: e(z)
|
|
202
|
+
}, null, 8, ["modelValue", "label", "description", "max"])) : (n(), D(X, {
|
|
203
|
+
key: 1,
|
|
204
|
+
modelValue: k.value,
|
|
205
|
+
"onUpdate:modelValue": i[8] || (i[8] = (o) => k.value = o),
|
|
206
|
+
label: e(t)("availability.children"),
|
|
207
|
+
description: e(t)("general.childAgeRange"),
|
|
208
|
+
"icon-type": "fas",
|
|
209
|
+
"icon-placement": "label",
|
|
210
|
+
name: "children",
|
|
211
|
+
icon: "child",
|
|
212
|
+
"max-value": e(z)
|
|
213
|
+
}, null, 8, ["modelValue", "label", "description", "max-value"]))
|
|
214
|
+
], 64))
|
|
215
|
+
])) : y("", !0),
|
|
216
|
+
N("li", xe, [
|
|
217
|
+
u(Y, {
|
|
218
|
+
class: "konnectio-availability-submit-small",
|
|
219
|
+
type: "submit",
|
|
220
|
+
icon: "search",
|
|
221
|
+
"icon-type": "fas",
|
|
222
|
+
disabled: !A.value,
|
|
223
|
+
"is-loading": e(H)
|
|
224
|
+
}, null, 8, ["disabled", "is-loading"]),
|
|
225
|
+
u(Y, {
|
|
226
|
+
class: "konnectio-availability-submit-large",
|
|
227
|
+
type: "submit",
|
|
228
|
+
label: e(t)("availability.buttonLabel"),
|
|
229
|
+
disabled: !A.value,
|
|
230
|
+
"is-loading": e(H)
|
|
231
|
+
}, null, 8, ["label", "disabled", "is-loading"])
|
|
232
|
+
])
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
}, 8, ["class"])
|
|
236
|
+
], 34));
|
|
237
|
+
}
|
|
238
|
+
}), ze = /* @__PURE__ */ ae(Le, [["__scopeId", "data-v-f0dea03b"]]), Ne = { class: "availability-skeleton" }, $e = {
|
|
239
|
+
key: 0,
|
|
240
|
+
class: "availability-skeleton-navigation"
|
|
241
|
+
}, Ce = { class: "availability-skeleton-content" }, Se = {
|
|
242
|
+
key: 1,
|
|
243
|
+
class: "availability-skeleton-event"
|
|
244
|
+
}, Ue = /* @__PURE__ */ ee({
|
|
245
|
+
__name: "AvailabilitySkeleton",
|
|
246
|
+
props: {
|
|
247
|
+
view: { default: "hotel" },
|
|
248
|
+
hotel: { type: Boolean, default: !1 }
|
|
249
|
+
},
|
|
250
|
+
setup(c) {
|
|
251
|
+
return (t, _) => (n(), r("div", Ne, [
|
|
252
|
+
t.view === "both" ? (n(), r("div", $e, [
|
|
253
|
+
u(Z, {
|
|
254
|
+
height: "28px",
|
|
255
|
+
width: "60px",
|
|
256
|
+
"border-radius": "20px"
|
|
257
|
+
}),
|
|
258
|
+
u(Z, {
|
|
259
|
+
height: "28px",
|
|
260
|
+
width: "60px",
|
|
261
|
+
"border-radius": "20px"
|
|
262
|
+
})
|
|
263
|
+
])) : y("", !0),
|
|
264
|
+
N("div", Ce, [
|
|
265
|
+
t.view !== "event" ? (n(), r("div", {
|
|
266
|
+
key: 0,
|
|
267
|
+
class: $([
|
|
268
|
+
"availability-skeleton-hotel",
|
|
269
|
+
{ "within-hotel": t.hotel }
|
|
270
|
+
])
|
|
271
|
+
}, [
|
|
272
|
+
u(g, { "with-icon": "" }),
|
|
273
|
+
u(g, { "with-icon": "" }),
|
|
274
|
+
u(g, { "with-icon": "" }),
|
|
275
|
+
u(g, {
|
|
276
|
+
"with-icon": "",
|
|
277
|
+
"no-label": ""
|
|
278
|
+
})
|
|
279
|
+
], 2)) : (n(), r("div", Se, [
|
|
280
|
+
u(g, { "with-icon": "" }),
|
|
281
|
+
u(g, {
|
|
282
|
+
"with-icon": "",
|
|
283
|
+
"no-label": ""
|
|
284
|
+
})
|
|
285
|
+
]))
|
|
286
|
+
])
|
|
287
|
+
]));
|
|
288
|
+
}
|
|
289
|
+
}), Oe = /* @__PURE__ */ ae(Ue, [["__scopeId", "data-v-17762b9b"]]);
|
|
290
|
+
export {
|
|
291
|
+
Oe as A,
|
|
292
|
+
ze as H
|
|
293
|
+
};
|
|
294
|
+
//# sourceMappingURL=AvailabilitySkeleton-BCiyhi6I.js.map
|
|
Binary file
|