@konnectio/core 4.0.56-rc4 → 4.0.56-rc5
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-UFZMmHDy.js → ActionField--byx0Lp1.js} +27 -28
- package/dist/ActionField--byx0Lp1.js.br +0 -0
- package/dist/AvailabilitySkeleton-cL6E9wAp.js +239 -0
- package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
- package/dist/{CheckoutWindow-2RMgPiGi.js → CheckoutWindow-_ZUCAYgm.js} +46 -47
- package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
- package/dist/{Container-XBRB0sOV.js → Container-6UeOakwz.js} +6 -7
- package/dist/Container-6UeOakwz.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js → DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js} +5 -6
- package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
- package/dist/{Field-uK3Wuuv6.js → Field-GdMucFcQ.js} +12 -13
- package/dist/Field-GdMucFcQ.js.br +5 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js +27240 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
- package/dist/{ThankYou-nz4vPX4O.js → ThankYou-9pzt2SfJ.js} +1829 -1670
- package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
- package/dist/_-5uiOrU07.js +19 -0
- package/dist/_commonjsHelpers-4t9S7M5p.js +30 -0
- package/dist/availability.js +34 -35
- package/dist/availability.js.br +0 -0
- package/dist/{event--wgsUkQp.js → event-jnP6wH4w.js} +53 -54
- package/dist/event-jnP6wH4w.js.br +0 -0
- package/dist/event.js +212 -213
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +57 -58
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +106 -107
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +916 -906
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +2 -2
- package/dist/polyfill.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-UFZMmHDy.js.br +0 -0
- package/dist/AvailabilitySkeleton-hVUJYdXH.js +0 -242
- package/dist/AvailabilitySkeleton-hVUJYdXH.js.br +0 -0
- package/dist/CheckoutWindow-2RMgPiGi.js.br +0 -0
- package/dist/Container-XBRB0sOV.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js.br +0 -0
- package/dist/Field-uK3Wuuv6.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js +0 -21472
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js.br +0 -0
- package/dist/ThankYou-nz4vPX4O.js.br +0 -0
- package/dist/_-oPH7HiaC.js +0 -20
- package/dist/_commonjsHelpers-FF1eOqK0.js +0 -8
- package/dist/event--wgsUkQp.js.br +0 -0
package/dist/hotel.js.br
CHANGED
|
Binary file
|
package/dist/polyfill.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as kn } from "./_commonjsHelpers-
|
|
1
|
+
import { c as kn } from "./_commonjsHelpers-4t9S7M5p.js";
|
|
2
2
|
var Ea = function(r) {
|
|
3
3
|
return r && r.Math === Math && r;
|
|
4
4
|
}, T = (
|
|
@@ -6744,4 +6744,4 @@ var xer = { exports: {} };
|
|
|
6744
6744
|
tr = new ResizeObserver(O), dr = new MutationObserver(ir), z();
|
|
6745
6745
|
}
|
|
6746
6746
|
})()();
|
|
6747
|
-
console.log("Konnectio production release: 4.0.56-
|
|
6747
|
+
console.log("Konnectio production release: 4.0.56-rc5");
|
package/dist/polyfill.js.br
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, ref as j, openBlock as t, createElementBlock as u, withModifiers as Y, renderSlot as Z, computed as v, watch as E, onMounted as ee, createBlock as k, normalizeClass as L, withCtx as ae, createElementVNode as S, unref as e, createVNode as n, isRef as h, createCommentVNode as y, Fragment as H } from "vue";
|
|
2
|
-
import { c as q, l as le, s as x, F as I, G as N, j as te, T as O, k as T, C as z, f as ie, _ as G } from "./SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js";
|
|
3
|
-
import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js";
|
|
4
|
-
import { E as M } from "./_-oPH7HiaC.js";
|
|
5
|
-
import { F as f } from "./Field-uK3Wuuv6.js";
|
|
6
|
-
const oe = /* @__PURE__ */ $({
|
|
7
|
-
__name: "_",
|
|
8
|
-
props: {
|
|
9
|
-
type: { default: "submit" }
|
|
10
|
-
},
|
|
11
|
-
emits: ["submit"],
|
|
12
|
-
setup(w, { emit: a }) {
|
|
13
|
-
const i = j(!1), c = a, d = w, { verifyRecaptcha: r } = q();
|
|
14
|
-
function b() {
|
|
15
|
-
i.value = !0, r({
|
|
16
|
-
callback: g,
|
|
17
|
-
type: d.type
|
|
18
|
-
}).then(() => i.value = !1);
|
|
19
|
-
}
|
|
20
|
-
function g() {
|
|
21
|
-
c("submit");
|
|
22
|
-
}
|
|
23
|
-
return (V, C) => (t(), u("form", {
|
|
24
|
-
onSubmit: Y(b, ["prevent"])
|
|
25
|
-
}, [
|
|
26
|
-
Z(V.$slots, "default", { isLoading: i.value })
|
|
27
|
-
], 32));
|
|
28
|
-
}
|
|
29
|
-
}), se = {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: "konnectio-availability-location"
|
|
32
|
-
}, ce = { id: "fresh-booking-availability-date-selection" }, ue = {
|
|
33
|
-
key: 1,
|
|
34
|
-
id: "fresh-booking-availability-guest-selection"
|
|
35
|
-
}, de = { id: "fresh-booking-availability-confirmation" }, re = /* @__PURE__ */ $({
|
|
36
|
-
__name: "HotelAvailabilityForm",
|
|
37
|
-
props: {
|
|
38
|
-
booking: { type: Boolean, default: !1 },
|
|
39
|
-
link: {}
|
|
40
|
-
},
|
|
41
|
-
setup(w) {
|
|
42
|
-
const { t: a } = le(), i = w, {
|
|
43
|
-
adults: c,
|
|
44
|
-
children: d,
|
|
45
|
-
arrivalDate: r,
|
|
46
|
-
departureDate: b,
|
|
47
|
-
location: g,
|
|
48
|
-
isExpired: V
|
|
49
|
-
} = x(I()), { reset: C } = I(), { fetchAvailabilityData: J } = N(), { areListingsLoading: R, hotelList: K, hasHotelList: D } = x(N()), {
|
|
50
|
-
firstSelectableDateOffset: U,
|
|
51
|
-
lastSelectableDateOffset: F,
|
|
52
|
-
disableChildSelection: p,
|
|
53
|
-
disableAdultSelection: m
|
|
54
|
-
} = x(q()), _ = j([]), P = v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (U.value - 1))));
|
|
55
|
-
v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + F.value))), v(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + U.value)));
|
|
56
|
-
const Q = v(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + (F.value + 1)))), A = v(() => !(!m && c.value === 0)), W = v(() => typeof i.link != "string");
|
|
57
|
-
function X() {
|
|
58
|
-
if (i.booking === !1)
|
|
59
|
-
if (W.value) {
|
|
60
|
-
const o = ie();
|
|
61
|
-
i.link[o] ? window.location.replace(i.link[o]) : i.link.en ? window.location.replace(i.link.en) : console.log("Sprog understøttes ikke");
|
|
62
|
-
} else
|
|
63
|
-
window.location.replace(i.link);
|
|
64
|
-
else
|
|
65
|
-
A.value && J();
|
|
66
|
-
}
|
|
67
|
-
return E(r, (o) => {
|
|
68
|
-
const l = new Date(new Date(o).setDate(new Date(o).getDate() + 1));
|
|
69
|
-
new Date(b.value) < l && (b.value = l);
|
|
70
|
-
}), E(_, (o) => {
|
|
71
|
-
r.value = o[0], b.value = o[1];
|
|
72
|
-
}), ee(() => {
|
|
73
|
-
V.value && C(), _.value = [r.value, b.value];
|
|
74
|
-
}), (o, l) => (t(), k(oe, {
|
|
75
|
-
id: "konnectio-availability-form",
|
|
76
|
-
class: L({ reservation: o.booking }),
|
|
77
|
-
type: "availability",
|
|
78
|
-
onSubmit: X
|
|
79
|
-
}, {
|
|
80
|
-
default: ae(({ isLoading: B }) => [
|
|
81
|
-
S("ul", {
|
|
82
|
-
id: "konnectio-availability-form-content",
|
|
83
|
-
class: L([
|
|
84
|
-
{ "is-booking-page": o.booking },
|
|
85
|
-
{ "only-adult-guests": !e(m) && e(p) },
|
|
86
|
-
{ "only-child-guests": !e(p) && e(m) },
|
|
87
|
-
{ "no-guests": e(m) && e(p) },
|
|
88
|
-
{ "all-guests": !e(m) && !e(p) },
|
|
89
|
-
{ "has-location": e(D) }
|
|
90
|
-
])
|
|
91
|
-
}, [
|
|
92
|
-
e(D) ? (t(), u("li", se, [
|
|
93
|
-
n(te, {
|
|
94
|
-
modelValue: e(g),
|
|
95
|
-
"onUpdate:modelValue": l[0] || (l[0] = (s) => h(g) ? g.value = s : null),
|
|
96
|
-
label: e(a)("general.location"),
|
|
97
|
-
icon: "location-dot",
|
|
98
|
-
"icon-type": "fas",
|
|
99
|
-
"icon-placement": "label",
|
|
100
|
-
options: e(K),
|
|
101
|
-
searchable: !1
|
|
102
|
-
}, null, 8, ["modelValue", "label", "options"])
|
|
103
|
-
])) : y("", !0),
|
|
104
|
-
S("li", ce, [
|
|
105
|
-
n(ne, {
|
|
106
|
-
modelValue: _.value,
|
|
107
|
-
"onUpdate:modelValue": l[1] || (l[1] = (s) => _.value = s),
|
|
108
|
-
label: e(a)("availability.checkInOut"),
|
|
109
|
-
"icon-type": "fas",
|
|
110
|
-
"icon-placement": "label",
|
|
111
|
-
"min-range": 1,
|
|
112
|
-
"min-date": P.value,
|
|
113
|
-
"max-date": Q.value,
|
|
114
|
-
range: ""
|
|
115
|
-
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
116
|
-
y("", !0)
|
|
117
|
-
]),
|
|
118
|
-
!e(m) || !e(p) ? (t(), u("li", ue, [
|
|
119
|
-
e(m) ? y("", !0) : (t(), u(H, { key: 0 }, [
|
|
120
|
-
e(D) ? (t(), k(O, {
|
|
121
|
-
key: 0,
|
|
122
|
-
modelValue: e(c),
|
|
123
|
-
"onUpdate:modelValue": l[4] || (l[4] = (s) => h(c) ? c.value = s : null),
|
|
124
|
-
label: e(a)("availability.adults"),
|
|
125
|
-
description: e(a)("general.adultAgeRange"),
|
|
126
|
-
"icon-type": "fas",
|
|
127
|
-
"icon-placement": "label",
|
|
128
|
-
name: "adults",
|
|
129
|
-
icon: "male"
|
|
130
|
-
}, null, 8, ["modelValue", "label", "description"])) : (t(), k(T, {
|
|
131
|
-
key: 1,
|
|
132
|
-
modelValue: e(c),
|
|
133
|
-
"onUpdate:modelValue": l[5] || (l[5] = (s) => h(c) ? c.value = s : null),
|
|
134
|
-
label: e(a)("availability.adults"),
|
|
135
|
-
description: e(a)("general.adultAgeRange"),
|
|
136
|
-
"icon-type": "fas",
|
|
137
|
-
"icon-placement": "label",
|
|
138
|
-
name: "adults",
|
|
139
|
-
icon: "male"
|
|
140
|
-
}, null, 8, ["modelValue", "label", "description"]))
|
|
141
|
-
], 64)),
|
|
142
|
-
e(p) ? y("", !0) : (t(), u(H, { key: 1 }, [
|
|
143
|
-
e(D) ? (t(), k(O, {
|
|
144
|
-
key: 0,
|
|
145
|
-
modelValue: e(d),
|
|
146
|
-
"onUpdate:modelValue": l[6] || (l[6] = (s) => h(d) ? d.value = s : null),
|
|
147
|
-
label: e(a)("availability.children"),
|
|
148
|
-
description: e(a)("general.childAgeRange"),
|
|
149
|
-
"icon-type": "fas",
|
|
150
|
-
"icon-placement": "label",
|
|
151
|
-
name: "children",
|
|
152
|
-
icon: "child"
|
|
153
|
-
}, null, 8, ["modelValue", "label", "description"])) : (t(), k(T, {
|
|
154
|
-
key: 1,
|
|
155
|
-
modelValue: e(d),
|
|
156
|
-
"onUpdate:modelValue": l[7] || (l[7] = (s) => h(d) ? d.value = s : null),
|
|
157
|
-
label: e(a)("availability.children"),
|
|
158
|
-
description: e(a)("general.childAgeRange"),
|
|
159
|
-
"icon-type": "fas",
|
|
160
|
-
"icon-placement": "label",
|
|
161
|
-
name: "children",
|
|
162
|
-
icon: "child"
|
|
163
|
-
}, null, 8, ["modelValue", "label", "description"]))
|
|
164
|
-
], 64))
|
|
165
|
-
])) : y("", !0),
|
|
166
|
-
S("li", de, [
|
|
167
|
-
n(z, {
|
|
168
|
-
class: "konnectio-availability-submit-small",
|
|
169
|
-
type: "submit",
|
|
170
|
-
icon: "search",
|
|
171
|
-
"icon-type": "fas",
|
|
172
|
-
disabled: !A.value,
|
|
173
|
-
"is-loading": e(R) || B
|
|
174
|
-
}, null, 8, ["disabled", "is-loading"]),
|
|
175
|
-
n(z, {
|
|
176
|
-
class: "konnectio-availability-submit-large",
|
|
177
|
-
type: "submit",
|
|
178
|
-
label: e(a)("availability.buttonLabel"),
|
|
179
|
-
disabled: !A.value,
|
|
180
|
-
"is-loading": e(R) || B
|
|
181
|
-
}, null, 8, ["label", "disabled", "is-loading"])
|
|
182
|
-
])
|
|
183
|
-
], 2)
|
|
184
|
-
]),
|
|
185
|
-
_: 1
|
|
186
|
-
}, 8, ["class"]));
|
|
187
|
-
}
|
|
188
|
-
}), we = /* @__PURE__ */ G(re, [["__scopeId", "data-v-9ec1beba"]]), me = { class: "availability-skeleton" }, be = {
|
|
189
|
-
key: 0,
|
|
190
|
-
class: "availability-skeleton-navigation"
|
|
191
|
-
}, pe = {
|
|
192
|
-
key: 2,
|
|
193
|
-
class: "availability-skeleton-event"
|
|
194
|
-
}, ve = /* @__PURE__ */ $({
|
|
195
|
-
__name: "AvailabilitySkeleton",
|
|
196
|
-
props: {
|
|
197
|
-
view: { default: "hotel" },
|
|
198
|
-
hotel: { type: Boolean, default: !1 }
|
|
199
|
-
},
|
|
200
|
-
setup(w) {
|
|
201
|
-
return (a, i) => (t(), u("div", me, [
|
|
202
|
-
a.view === "both" ? (t(), u("div", be, [
|
|
203
|
-
n(M, {
|
|
204
|
-
height: "28px",
|
|
205
|
-
width: "60px",
|
|
206
|
-
"border-radius": "20px"
|
|
207
|
-
}),
|
|
208
|
-
n(M, {
|
|
209
|
-
height: "28px",
|
|
210
|
-
width: "60px",
|
|
211
|
-
"border-radius": "20px"
|
|
212
|
-
})
|
|
213
|
-
])) : y("", !0),
|
|
214
|
-
a.view !== "event" ? (t(), u("div", {
|
|
215
|
-
key: 1,
|
|
216
|
-
class: L([
|
|
217
|
-
"availability-skeleton-hotel",
|
|
218
|
-
{ "within-hotel": a.hotel }
|
|
219
|
-
])
|
|
220
|
-
}, [
|
|
221
|
-
n(f, { "with-icon": "" }),
|
|
222
|
-
n(f, { "with-icon": "" }),
|
|
223
|
-
n(f, { "with-icon": "" }),
|
|
224
|
-
n(f, {
|
|
225
|
-
"with-icon": "",
|
|
226
|
-
"no-label": ""
|
|
227
|
-
})
|
|
228
|
-
], 2)) : (t(), u("div", pe, [
|
|
229
|
-
n(f, { "with-icon": "" }),
|
|
230
|
-
n(f, {
|
|
231
|
-
"with-icon": "",
|
|
232
|
-
"no-label": ""
|
|
233
|
-
})
|
|
234
|
-
]))
|
|
235
|
-
]));
|
|
236
|
-
}
|
|
237
|
-
}), De = /* @__PURE__ */ G(ve, [["__scopeId", "data-v-be195a3f"]]);
|
|
238
|
-
export {
|
|
239
|
-
De as A,
|
|
240
|
-
we as H,
|
|
241
|
-
oe as _
|
|
242
|
-
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|