@konnectio/core 4.0.56-rc10 → 4.0.56-rc12
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-1TedZ-ol.js → ActionField-AkBYUrzM.js} +1 -1
- package/dist/ActionField-AkBYUrzM.js.br +0 -0
- package/dist/{AvailabilitySkeleton-IRkVJKVI.js → AvailabilitySkeleton-46abfeGe.js} +26 -26
- package/dist/AvailabilitySkeleton-46abfeGe.js.br +0 -0
- package/dist/{CheckoutWindow-GzqBHFb5.js → CheckoutWindow-uu1pLDmx.js} +32 -32
- package/dist/CheckoutWindow-uu1pLDmx.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js → DateField.vue_vue_type_style_index_0_lang-jrJgxOtY.js} +238 -238
- package/dist/DateField.vue_vue_type_style_index_0_lang-jrJgxOtY.js.br +0 -0
- package/dist/{Field-agqP-A21.js → Field-x6UKBgQi.js} +2 -2
- package/dist/Field-x6UKBgQi.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js → SelectField.vue_vue_type_style_index_0_lang-TJbkduwA.js} +40 -51
- package/dist/SelectField.vue_vue_type_style_index_0_lang-TJbkduwA.js.br +0 -0
- package/dist/{ThankYou-0uAYL16f.js → ThankYou-4XeLOCXe.js} +10 -10
- package/dist/ThankYou-4XeLOCXe.js.br +0 -0
- package/dist/{_-K1FuFdRs.js → _-3dgp-WsL.js} +1 -1
- package/dist/availability.js +98 -95
- package/dist/availability.js.br +0 -0
- package/dist/{event-Jiun7WTg.js → event-oXxnY6iL.js} +7 -7
- package/dist/event-oXxnY6iL.js.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +2 -2
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +167 -174
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +3094 -11
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +3201 -3210
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +7 -4
- package/dist/ActionField-1TedZ-ol.js.br +0 -0
- package/dist/AvailabilitySkeleton-IRkVJKVI.js.br +0 -0
- package/dist/CheckoutWindow-GzqBHFb5.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js.br +0 -0
- package/dist/Field-agqP-A21.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js.br +0 -0
- package/dist/ThankYou-0uAYL16f.js.br +0 -0
- package/dist/event-Jiun7WTg.js.br +0 -0
- package/dist/hotel-7JmuavEN.js +0 -3108
- package/dist/hotel-7JmuavEN.js.br +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as c, v as V, f as m, o as d, m as i, w as v, x as q, y as g, z as t, A as k, T as B, p as I, C, I as A, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { k as c, v as V, f as m, o as d, m as i, w as v, x as q, y as g, z as t, A as k, T as B, p as I, C, I as A, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-TJbkduwA.js";
|
|
2
2
|
const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
|
|
3
3
|
__name: "ActionField",
|
|
4
4
|
props: {
|
|
Binary file
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { k as N, B as j, s as V, W as B, X as R, c as J, r as K, f as m, Y as C, Z as P, o as t, l as s, x as A, z as e, p as i, G as y, y as Q, n as v, $ as F, m as w, T as H, A as E, C as I, q as x,
|
|
2
|
-
import { _ as
|
|
3
|
-
import { E as z } from "./_-
|
|
4
|
-
import { F as p } from "./Field-
|
|
5
|
-
const
|
|
1
|
+
import { k as N, B as j, s as V, W as B, X as R, c as J, r as K, f as m, Y as C, Z as P, o as t, l as s, x as A, z as e, p as i, G as y, y as Q, n as v, $ as F, m as w, T as H, A as E, C as I, q as x, L as ee, h as ae, _ as O } from "./SelectField.vue_vue_type_style_index_0_lang-TJbkduwA.js";
|
|
2
|
+
import { _ as le } from "./DateField.vue_vue_type_style_index_0_lang-jrJgxOtY.js";
|
|
3
|
+
import { E as z } from "./_-3dgp-WsL.js";
|
|
4
|
+
import { F as p } from "./Field-x6UKBgQi.js";
|
|
5
|
+
const te = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "konnectio-availability-location"
|
|
8
|
-
},
|
|
8
|
+
}, ie = { id: "fresh-booking-availability-date-selection" }, ne = {
|
|
9
9
|
key: 1,
|
|
10
10
|
id: "fresh-booking-availability-guest-selection"
|
|
11
|
-
},
|
|
11
|
+
}, oe = { id: "fresh-booking-availability-confirmation" }, se = /* @__PURE__ */ N({
|
|
12
12
|
__name: "HotelAvailabilityForm",
|
|
13
13
|
props: {
|
|
14
14
|
booking: { type: Boolean, default: !1 },
|
|
@@ -22,7 +22,7 @@ const le = {
|
|
|
22
22
|
departureDate: g,
|
|
23
23
|
location: D,
|
|
24
24
|
isExpired: T
|
|
25
|
-
} = V(B()), { reset: q } = B(), { fetchAvailabilityData:
|
|
25
|
+
} = V(B()), { reset: q } = B(), { fetchAvailabilityData: M } = R(), { areListingsLoading: L, hotelList: G, hasHotelList: k } = V(R()), {
|
|
26
26
|
firstSelectableDateOffset: U,
|
|
27
27
|
lastSelectableDateOffset: $,
|
|
28
28
|
disableChildSelection: b,
|
|
@@ -33,12 +33,12 @@ const le = {
|
|
|
33
33
|
function Z() {
|
|
34
34
|
if (d.booking === !1)
|
|
35
35
|
if (Y.value) {
|
|
36
|
-
const n =
|
|
36
|
+
const n = ae();
|
|
37
37
|
d.link[n] ? window.location.replace(d.link[n]) : d.link.en ? window.location.replace(d.link.en) : console.log("Sprog understøttes ikke");
|
|
38
38
|
} else
|
|
39
39
|
window.location.replace(d.link);
|
|
40
40
|
else
|
|
41
|
-
_.value &&
|
|
41
|
+
_.value && M();
|
|
42
42
|
}
|
|
43
43
|
return C(f, (n) => {
|
|
44
44
|
const l = new Date(new Date(n).setDate(new Date(n).getDate() + 1));
|
|
@@ -51,7 +51,7 @@ const le = {
|
|
|
51
51
|
id: "konnectio-availability-form",
|
|
52
52
|
class: x({ reservation: n.booking }),
|
|
53
53
|
type: "availability",
|
|
54
|
-
onSubmit: Z
|
|
54
|
+
onSubmit: ee(Z, ["prevent"])
|
|
55
55
|
}, [
|
|
56
56
|
A("ul", {
|
|
57
57
|
id: "konnectio-availability-form-content",
|
|
@@ -64,7 +64,7 @@ const le = {
|
|
|
64
64
|
{ "has-location": e(k) }
|
|
65
65
|
])
|
|
66
66
|
}, [
|
|
67
|
-
e(k) ? (t(), s("li",
|
|
67
|
+
e(k) ? (t(), s("li", te, [
|
|
68
68
|
i(Q, {
|
|
69
69
|
modelValue: e(D),
|
|
70
70
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => y(D) ? D.value = o : null),
|
|
@@ -72,12 +72,12 @@ const le = {
|
|
|
72
72
|
icon: "location-dot",
|
|
73
73
|
"icon-type": "fas",
|
|
74
74
|
"icon-placement": "label",
|
|
75
|
-
options: e(
|
|
75
|
+
options: e(G),
|
|
76
76
|
searchable: !1
|
|
77
77
|
}, null, 8, ["modelValue", "label", "options"])
|
|
78
78
|
])) : v("", !0),
|
|
79
|
-
A("li",
|
|
80
|
-
i(
|
|
79
|
+
A("li", ie, [
|
|
80
|
+
i(le, {
|
|
81
81
|
modelValue: h.value,
|
|
82
82
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => h.value = o),
|
|
83
83
|
label: e(a)("availability.checkInOut"),
|
|
@@ -90,7 +90,7 @@ const le = {
|
|
|
90
90
|
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
91
91
|
v("", !0)
|
|
92
92
|
]),
|
|
93
|
-
!e(u) || !e(b) ? (t(), s("li",
|
|
93
|
+
!e(u) || !e(b) ? (t(), s("li", ne, [
|
|
94
94
|
e(u) ? v("", !0) : (t(), s(F, { key: 0 }, [
|
|
95
95
|
e(k) ? (t(), w(H, {
|
|
96
96
|
key: 0,
|
|
@@ -138,7 +138,7 @@ const le = {
|
|
|
138
138
|
}, null, 8, ["modelValue", "label", "description"]))
|
|
139
139
|
], 64))
|
|
140
140
|
])) : v("", !0),
|
|
141
|
-
A("li",
|
|
141
|
+
A("li", oe, [
|
|
142
142
|
i(I, {
|
|
143
143
|
class: "konnectio-availability-submit-small",
|
|
144
144
|
type: "submit",
|
|
@@ -158,21 +158,21 @@ const le = {
|
|
|
158
158
|
], 2)
|
|
159
159
|
], 34));
|
|
160
160
|
}
|
|
161
|
-
}),
|
|
161
|
+
}), fe = /* @__PURE__ */ O(se, [["__scopeId", "data-v-50791fef"]]), de = { class: "availability-skeleton" }, ce = {
|
|
162
162
|
key: 0,
|
|
163
163
|
class: "availability-skeleton-navigation"
|
|
164
|
-
},
|
|
164
|
+
}, ue = {
|
|
165
165
|
key: 2,
|
|
166
166
|
class: "availability-skeleton-event"
|
|
167
|
-
},
|
|
167
|
+
}, re = /* @__PURE__ */ N({
|
|
168
168
|
__name: "AvailabilitySkeleton",
|
|
169
169
|
props: {
|
|
170
170
|
view: { default: "hotel" },
|
|
171
171
|
hotel: { type: Boolean, default: !1 }
|
|
172
172
|
},
|
|
173
173
|
setup(S) {
|
|
174
|
-
return (a, d) => (t(), s("div",
|
|
175
|
-
a.view === "both" ? (t(), s("div",
|
|
174
|
+
return (a, d) => (t(), s("div", de, [
|
|
175
|
+
a.view === "both" ? (t(), s("div", ce, [
|
|
176
176
|
i(z, {
|
|
177
177
|
height: "28px",
|
|
178
178
|
width: "60px",
|
|
@@ -198,7 +198,7 @@ const le = {
|
|
|
198
198
|
"with-icon": "",
|
|
199
199
|
"no-label": ""
|
|
200
200
|
})
|
|
201
|
-
], 2)) : (t(), s("div",
|
|
201
|
+
], 2)) : (t(), s("div", ue, [
|
|
202
202
|
i(p, { "with-icon": "" }),
|
|
203
203
|
i(p, {
|
|
204
204
|
"with-icon": "",
|
|
@@ -207,8 +207,8 @@ const le = {
|
|
|
207
207
|
]))
|
|
208
208
|
]));
|
|
209
209
|
}
|
|
210
|
-
}),
|
|
210
|
+
}), ye = /* @__PURE__ */ O(re, [["__scopeId", "data-v-be195a3f"]]);
|
|
211
211
|
export {
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
ye as A,
|
|
213
|
+
fe as H
|
|
214
214
|
};
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as b, v as k, r as V, Z as $, o as p, m as B, w as I, x as
|
|
1
|
+
import { k as b, v as k, r as V, Z as $, o as p, m as B, w as I, x as s, p as C, z as i, T as P, I as T, _ as v, ai as A, q as h, aj as _, ak as w, l as g, F as u, n as q, B as N, a8 as f, s as F, c as G, al as j, P as z, Q as E } from "./SelectField.vue_vue_type_style_index_0_lang-TJbkduwA.js";
|
|
2
2
|
const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
3
3
|
__name: "PhoneField",
|
|
4
4
|
props: {
|
|
@@ -14,15 +14,15 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
14
14
|
inputStyle: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["update:modelValue"],
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
17
|
+
setup(t, { emit: l }) {
|
|
18
|
+
const a = l, n = t, c = n.id || k(), e = V("+45"), d = V("");
|
|
19
19
|
function m() {
|
|
20
|
-
|
|
20
|
+
a("update:modelValue", `${e.value} ${d.value}`);
|
|
21
21
|
}
|
|
22
22
|
return $(() => {
|
|
23
23
|
if (n.modelValue) {
|
|
24
24
|
const o = n.modelValue.split(" ");
|
|
25
|
-
e.value = o[0],
|
|
25
|
+
e.value = o[0], d.value = o[1];
|
|
26
26
|
}
|
|
27
27
|
}), (o, r) => (p(), B(T, {
|
|
28
28
|
label: o.label,
|
|
@@ -32,7 +32,7 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
32
32
|
readonly: o.readonly
|
|
33
33
|
}, {
|
|
34
34
|
default: I(() => [
|
|
35
|
-
|
|
35
|
+
s("div", O, [
|
|
36
36
|
C(P, {
|
|
37
37
|
modelValue: e.value,
|
|
38
38
|
"onUpdate:modelValue": r[0] || (r[0] = (y) => e.value = y),
|
|
@@ -50,8 +50,8 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
50
50
|
onInput: r[1] || (r[1] = (y) => m())
|
|
51
51
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
52
52
|
C(P, {
|
|
53
|
-
modelValue:
|
|
54
|
-
"onUpdate:modelValue": r[2] || (r[2] = (y) =>
|
|
53
|
+
modelValue: d.value,
|
|
54
|
+
"onUpdate:modelValue": r[2] || (r[2] = (y) => d.value = y),
|
|
55
55
|
type: "number",
|
|
56
56
|
name: "phone",
|
|
57
57
|
autocomplete: "tel-national",
|
|
@@ -83,21 +83,21 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
83
83
|
val: {}
|
|
84
84
|
},
|
|
85
85
|
emits: ["update:modelValue"],
|
|
86
|
-
setup(
|
|
87
|
-
const
|
|
86
|
+
setup(t, { emit: l }) {
|
|
87
|
+
const a = t, n = l;
|
|
88
88
|
function c() {
|
|
89
|
-
|
|
89
|
+
a.readonly !== !0 && n(
|
|
90
90
|
"update:modelValue",
|
|
91
|
-
|
|
91
|
+
a.type === "radio" ? a.val : a.numeric ? a.modelValue ? 0 : 1 : !a.modelValue
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
|
-
return (e,
|
|
94
|
+
return (e, d) => (p(), B(T, {
|
|
95
95
|
required: e.required,
|
|
96
96
|
type: e.type,
|
|
97
97
|
readonly: e.readonly
|
|
98
98
|
}, {
|
|
99
99
|
default: I(() => [
|
|
100
|
-
|
|
100
|
+
s("label", {
|
|
101
101
|
class: h([
|
|
102
102
|
"fresh-booking-click-box-container",
|
|
103
103
|
{ "is-readonly": e.readonly },
|
|
@@ -105,7 +105,7 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
105
105
|
e.type === "radio" ? "radio" : "checkbox"
|
|
106
106
|
])
|
|
107
107
|
}, [
|
|
108
|
-
|
|
108
|
+
s("input", A(e.$attrs, {
|
|
109
109
|
required: !!e.required,
|
|
110
110
|
type: e.type,
|
|
111
111
|
name: e.name,
|
|
@@ -114,9 +114,9 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
114
114
|
disabled: !!e.readonly,
|
|
115
115
|
value: e.type === "radio" ? e.val : e.modelValue,
|
|
116
116
|
checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue,
|
|
117
|
-
onChange:
|
|
117
|
+
onChange: d[0] || (d[0] = (m) => c())
|
|
118
118
|
}), null, 16, D),
|
|
119
|
-
|
|
119
|
+
s("div", {
|
|
120
120
|
class: h([
|
|
121
121
|
"fresh-booking-click-box",
|
|
122
122
|
{ checked: e.type === "radio" ? e.val === e.modelValue : !!e.modelValue }
|
|
@@ -124,13 +124,13 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
124
124
|
tabindex: "0",
|
|
125
125
|
style: _(e.inputStyle),
|
|
126
126
|
"data-test": e.name,
|
|
127
|
-
onKeyup:
|
|
127
|
+
onKeyup: d[1] || (d[1] = w((m) => c(), ["enter"]))
|
|
128
128
|
}, null, 46, H),
|
|
129
129
|
e.label ? (p(), g("div", {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: h(["fresh-booking-click-box-label", { "with-price": e.price }])
|
|
132
132
|
}, [
|
|
133
|
-
|
|
133
|
+
s("span", null, u(e.label), 1),
|
|
134
134
|
e.price ? (p(), g("span", K, u(e.price), 1)) : q("", !0)
|
|
135
135
|
], 2)) : q("", !0)
|
|
136
136
|
], 2)
|
|
@@ -138,7 +138,7 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
138
138
|
_: 1
|
|
139
139
|
}, 8, ["required", "type", "readonly"]));
|
|
140
140
|
}
|
|
141
|
-
}), ee = /* @__PURE__ */ v(M, [["__scopeId", "data-v-
|
|
141
|
+
}), ee = /* @__PURE__ */ v(M, [["__scopeId", "data-v-a2138dc3"]]), R = {
|
|
142
142
|
href: "https://policies.google.com/privacy",
|
|
143
143
|
target: "_blank"
|
|
144
144
|
}, W = {
|
|
@@ -146,19 +146,19 @@ const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
|
|
|
146
146
|
target: "_blank"
|
|
147
147
|
}, Q = /* @__PURE__ */ b({
|
|
148
148
|
__name: "GoogleNotice",
|
|
149
|
-
setup(
|
|
149
|
+
setup(t) {
|
|
150
150
|
const { t: l } = N();
|
|
151
|
-
return (
|
|
151
|
+
return (a, n) => (p(), g("span", null, [
|
|
152
152
|
f(u(i(l)("googleNotice")) + " ", 1),
|
|
153
|
-
|
|
153
|
+
s("a", R, u(i(l)("googlePrivacyPolicy")), 1),
|
|
154
154
|
f(" " + u(i(l)("googleAnd")) + " ", 1),
|
|
155
|
-
|
|
155
|
+
s("a", W, u(i(l)("googleTOS")), 1),
|
|
156
156
|
f(" " + u(i(l)("googleApply")) + ". ", 1)
|
|
157
157
|
]));
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
function S(
|
|
161
|
-
const l =
|
|
160
|
+
function S(t) {
|
|
161
|
+
const l = t;
|
|
162
162
|
l.__i18n = l.__i18n || [], l.__i18n.push({
|
|
163
163
|
locale: "",
|
|
164
164
|
resource: {
|
|
@@ -180,17 +180,17 @@ function S(a) {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
typeof S == "function" && S(Q);
|
|
183
|
-
const Z = (
|
|
183
|
+
const Z = (t) => (z("data-v-340cb9ce"), t = t(), E(), t), J = /* @__PURE__ */ Z(() => /* @__PURE__ */ s("div", { id: "fresh-booking-payment-checkout" }, null, -1)), L = [
|
|
184
184
|
J
|
|
185
185
|
], X = /* @__PURE__ */ b({
|
|
186
186
|
__name: "CheckoutWindow",
|
|
187
|
-
setup(
|
|
187
|
+
setup(t) {
|
|
188
188
|
const { paymentGatewayId: l } = F(G());
|
|
189
189
|
return $(() => {
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
}), (
|
|
193
|
-
|
|
190
|
+
const a = document.createElement("script"), n = document.createElement("script");
|
|
191
|
+
a.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(a), document.head.appendChild(n);
|
|
192
|
+
}), (a, n) => (p(), g("div", null, [
|
|
193
|
+
s("div", {
|
|
194
194
|
id: "fresh-booking-payment-checkout-wrapper",
|
|
195
195
|
class: h({ reePay: i(l) === i(j).ReePay })
|
|
196
196
|
}, L, 2)
|
|
Binary file
|