@konnectio/core 4.0.56-rc46 → 4.0.56-rc47
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-l77AHDt_.js → ActionField-Ck8cxR78.js} +2 -2
- package/dist/ActionField-Ck8cxR78.js.br +0 -0
- package/dist/{AvailabilitySkeleton-6QuYlrqw.js → AvailabilitySkeleton-C_OWp8Fq.js} +4 -4
- package/dist/AvailabilitySkeleton-C_OWp8Fq.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br +0 -0
- package/dist/{CheckoutWindow-CNF_LAo6.js → CheckoutWindow-DcaNMI9K.js} +2 -2
- package/dist/CheckoutWindow-DcaNMI9K.js.br +0 -0
- package/dist/{ErrorMessage-B0Hm-dJ0.js → ErrorMessage-DH5q_ieB.js} +2 -2
- package/dist/ErrorMessage-DH5q_ieB.js.br +0 -0
- package/dist/{EventAvailabilityForm-BfhYKChb.js → EventAvailabilityForm-DphCQOMO.js} +65 -65
- package/dist/EventAvailabilityForm-DphCQOMO.js.br +0 -0
- package/dist/{Field-BJ8nOhMT.js → Field-Dg8W7a_X.js} +2 -2
- package/dist/Field-Dg8W7a_X.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js} +10 -10
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.br +0 -0
- package/dist/{TermsOfService-f7DfHbk2.js → TermsOfService-DenzWB_O.js} +3 -3
- package/dist/TermsOfService-DenzWB_O.js.br +0 -0
- package/dist/{_-CaC826yR.js → _-DgexTosT.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-BLztxup-.js → _.vue_vue_type_style_index_0_lang-VOXCSp8f.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.br +0 -0
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/event.js +155 -152
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +6 -6
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +7 -7
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-DhbT2_l0.js → giftCard-BpIUm5ol.js} +5 -5
- package/dist/giftCard-BpIUm5ol.js.br +0 -0
- package/dist/hotel.js +706 -702
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CVpZ_aQu.js → masonry.plugin-Bo5QRvUz.js} +265 -279
- package/dist/masonry.plugin-Bo5QRvUz.js.br +0 -0
- package/dist/navigation.js +2 -2
- package/dist/polyfill.js +102 -102
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +2 -2
- package/dist/ActionField-l77AHDt_.js.br +0 -0
- package/dist/AvailabilitySkeleton-6QuYlrqw.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js.br +0 -0
- package/dist/CheckoutWindow-CNF_LAo6.js.br +0 -0
- package/dist/ErrorMessage-B0Hm-dJ0.js.br +0 -0
- package/dist/EventAvailabilityForm-BfhYKChb.js.br +0 -0
- package/dist/Field-BJ8nOhMT.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js.br +0 -0
- package/dist/TermsOfService-f7DfHbk2.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js.br +0 -0
- package/dist/giftCard-DhbT2_l0.js.br +0 -0
- package/dist/masonry.plugin-CVpZ_aQu.js.br +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as c, c as f, o as i, b as u, w as V, g, u as s, f as v } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { r as I, k, l as q, T as w, C as B, I as C, _ as D } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
+
import { r as I, k, l as q, T as w, C as B, I as C, _ as D } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
@@ -104,4 +104,4 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
|
|
|
104
104
|
export {
|
|
105
105
|
T as A
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=ActionField-
|
|
107
|
+
//# sourceMappingURL=ActionField-Ck8cxR78.js.map
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as Y, m as be, r as g, c as s, q as G, h as me, o as n, a as r, f as u, w as pe, u as e, b as D, e as y, g as N, F as J, n as $, l as ge, i as De } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { h as fe, s as L, m as K, y as P, b as ye, T as x, k as ke, l as Q, C as W, g as he, _ as Z, E as X } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
3
|
-
import { _ as we } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
4
|
-
import { F as f } from "./Field-
|
|
2
|
+
import { h as fe, s as L, m as K, y as P, b as ye, T as x, k as ke, l as Q, C as W, g as he, _ as Z, E as X } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
|
+
import { _ as we } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js";
|
|
4
|
+
import { F as f } from "./Field-Dg8W7a_X.js";
|
|
5
5
|
(function() {
|
|
6
6
|
try {
|
|
7
7
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
@@ -285,4 +285,4 @@ export {
|
|
|
285
285
|
Oe as A,
|
|
286
286
|
Me as H
|
|
287
287
|
};
|
|
288
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
288
|
+
//# sourceMappingURL=AvailabilitySkeleton-C_OWp8Fq.js.map
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Z as da, r as K, d as qe, B as Vt, a7 as ia, h as Ze, K as dt, _ as Ma, q as Ct, c as L, o as A, a as F, f as at, C as Ke, A as $e, w as me, v as le, Q as Fe, R as Xe, u as y, L as Ue, x as Mn, b as _e, T as Ut, e as q, ai as xa, J as Yr, n as De, U as $r, al as xn, M as ce, g as ue, i as Ae, F as ke, I as rt, t as je, D as _t, am as Rr, y as ba, z as wa, a9 as Sr, aa as Nr } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { r as Br, g as Ir, I as Vr } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
+
import { r as Br, g as Ir, I as Vr } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
@@ -7811,4 +7811,4 @@ export {
|
|
|
7811
7811
|
Zs as m,
|
|
7812
7812
|
se as t
|
|
7813
7813
|
};
|
|
7814
|
-
//# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
7814
|
+
//# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.map
|
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br
ADDED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as C, o as u, a as m, r as c, h as j, E as ve, G as me, q as X, c as U, H as he, b as I, g as r, f as H, w as $, y as Z, z as Q, I as q, T as x, n as v, v as V, e as S, J as ge, K as be, t as b, u as y, B as we, L as Se, M as ke, D as W, p as Ce, j as $e } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { z as Be, _ as z, r as ee, T as oe, I as ne, h as Ve, s as Pe, b as Te, P as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
+
import { z as Be, _ as z, r as ee, T as oe, I as ne, h as Ve, s as Pe, b as Te, P as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
|
|
@@ -665,4 +665,4 @@ export {
|
|
|
665
665
|
lo as _,
|
|
666
666
|
po as a
|
|
667
667
|
};
|
|
668
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
668
|
+
//# sourceMappingURL=CheckoutWindow-DcaNMI9K.js.map
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as g, o as B, a as J, g as E, t as i, p as S, j as R } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { _ as k } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
+
import { _ as k } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var A = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, C = new Error().stack;
|
|
@@ -42,4 +42,4 @@ const o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACCQAAAgkCAYAAABoLDe6AAA
|
|
|
42
42
|
export {
|
|
43
43
|
l as E
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=ErrorMessage-
|
|
45
|
+
//# sourceMappingURL=ErrorMessage-DH5q_ieB.js.map
|
|
Binary file
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { r as i, c as a, d as Ke, h as He, o as W, a as
|
|
2
|
-
import { d as Ze, u as et, s as ee, t as tt, a as at, b as
|
|
1
|
+
import { r as i, c as a, d as Ke, h as He, o as W, a as pe, f as X, w as Qe, u as z, b as Je, e as me, l as We, n as Xe, i as Ye } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
+
import { d as Ze, u as et, s as ee, t as tt, a as at, b as fe, m as te, v as p, c as Y, O as ge, S as Z, w as nt, e as $, g as C, i as N, x as ot, h as lt, k as st, C as it, _ as rt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
import "./navigation.js";
|
|
4
|
-
import { _ as ut } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
4
|
+
import { _ as ut } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js";
|
|
5
5
|
(function() {
|
|
6
6
|
try {
|
|
7
7
|
var w = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
8
|
-
l && (w._sentryDebugIds = w._sentryDebugIds || {}, w._sentryDebugIds[l] = "
|
|
8
|
+
l && (w._sentryDebugIds = w._sentryDebugIds || {}, w._sentryDebugIds[l] = "7f3004a0-6c5d-4662-9b4e-053fb32b4e6c", w._sentryDebugIdIdentifier = "sentry-dbid-7f3004a0-6c5d-4662-9b4e-053fb32b4e6c");
|
|
9
9
|
} catch {
|
|
10
10
|
}
|
|
11
11
|
})();
|
|
12
12
|
const ct = Ze("event", () => {
|
|
13
|
-
const w = et(), { voucher: l } = ee(tt()), { display:
|
|
13
|
+
const w = et(), { voucher: l } = ee(tt()), { display: m } = at(), { bearerToken: D, metaData: F } = ee(fe()), j = fe(), f = te(), g = i({}), B = a(() => Object.keys(g.value).length > 0), t = i(void 0), o = i(!0), r = i(p.InitialState), A = i(NaN), T = i(1), k = i(NaN), V = i(NaN), I = i(""), E = Y("konnectio_name", "", void 0, { serializer: Z.string }), G = Y("konnectio_phone", "", void 0, { serializer: Z.string }), x = Y("konnectio_email", "", void 0, { serializer: Z.string }), u = i(""), y = i({}), d = i({}), U = i("");
|
|
14
14
|
function s(e) {
|
|
15
15
|
return e ? e.templateId !== void 0 : !1;
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const ye = a(() => j.metaData.hotels.findIndex((e) => e.id === f.eventLocation) || 0), M = a(() => j.metaData.hotels[ye.value]), he = a(() => M.value.maxNumberPerBooking ? M.value.maxNumberPerBooking : 1 / 0), be = a(() => M.value.name ? M.value.name : ""), ke = a(() => M.value.subtitle ? M.value.subtitle : ""), O = a(() => f.searchDate.toISOString()), Ie = a(() => s(t.value)), q = a(() => s(t.value) ? t.value.numberOfDays : T.value), we = a(() => s(t.value) ? t.value.packageCount : 0), De = a(() => s(t.value) ? t.value.fromDate : ""), L = a(() => g.value.events !== void 0 ? g.value.events.find((e) => e.id === k.value) : void 0), Ae = a(() => L.value ? L.value.length : void 0), ae = a(() => s(t.value) ? t.value.templateId : 0), Se = a(() => g.value.events), Pe = a(() => g.value.templates), Ee = a(() => g.value.events.length > 0), Le = a(() => g.value.templates.length > 0), ne = a(() => L.value && L.value.eventRateType ? L.value.eventRateType : ge.None), K = a(() => {
|
|
18
18
|
if (!s(t.value))
|
|
19
19
|
return t.value;
|
|
20
20
|
}), oe = a(() => {
|
|
@@ -62,7 +62,7 @@ const ct = Ze("event", () => {
|
|
|
62
62
|
c += H(parseInt(h)) * T.value;
|
|
63
63
|
return c;
|
|
64
64
|
}
|
|
65
|
-
const se = a(() => s(t.value) && t.value.totalPrice || 0),
|
|
65
|
+
const se = a(() => s(t.value) && t.value.totalPrice || 0), _e = a(() => {
|
|
66
66
|
if (s(t.value))
|
|
67
67
|
return t.value.rooms === void 0 ? NaN : t.value.rooms.flatMap((e) => e.roomGroupId).reduce(
|
|
68
68
|
(e, n, c) => e + Q(n, c),
|
|
@@ -72,17 +72,17 @@ const ct = Ze("event", () => {
|
|
|
72
72
|
let e = Q();
|
|
73
73
|
return e += oe.value, e;
|
|
74
74
|
}
|
|
75
|
-
}),
|
|
75
|
+
}), Ne = a(() => s(t.value) && t.value.rooms !== void 0 && t.value.rooms.flatMap((e) => e.weekendFee).reduce((e, n) => e + n, 0) || 0), Ce = a(() => s(t.value) && t.value.rooms !== void 0 && t.value.rooms.flatMap((e) => e.roomUpgrade).reduce((e, n) => e + n, 0) || 0), Te = a(() => {
|
|
76
76
|
const e = d.value;
|
|
77
77
|
let n = 0;
|
|
78
78
|
for (const c in e)
|
|
79
79
|
n += Number.isNaN(e[c]) ? 0 : e[c];
|
|
80
80
|
return n > 0;
|
|
81
|
-
}), ie = a(() => s(t.value) ? !1 : Object.keys(d.value).length > 0),
|
|
82
|
-
function
|
|
81
|
+
}), ie = a(() => s(t.value) ? !1 : Object.keys(d.value).length > 0), Me = a(() => !!(E.value !== "" && x.value !== "" && G.value.length >= 5 && (!ie.value || Te.value) && (!(!s(t.value) && ne.value !== ge.FullDayEvent) || I.value !== "")));
|
|
82
|
+
function Oe(e) {
|
|
83
83
|
return r.value === p.ReservationState && k.value === e && o.value;
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const Re = a(() => !(r.value === p.InitialState && o.value)), ze = a(() => !(r.value === p.AvailabilityState && o.value)), $e = a(() => t.value !== void 0), Fe = a(() => r.value === p.PaymentState && o.value);
|
|
86
86
|
async function re() {
|
|
87
87
|
try {
|
|
88
88
|
const e = (await $.get("https://production.hotel-service.konnectio.dk/api/event/metadata", {
|
|
@@ -94,21 +94,21 @@ const ct = Ze("event", () => {
|
|
|
94
94
|
Accept: "application/json"
|
|
95
95
|
}
|
|
96
96
|
})).data;
|
|
97
|
-
F.value = e
|
|
97
|
+
F.value = e;
|
|
98
98
|
} catch {
|
|
99
|
-
|
|
99
|
+
m({
|
|
100
100
|
message: N.t("alert.error.couldntFetchMetadata"),
|
|
101
101
|
type: "warning"
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
async function
|
|
105
|
+
async function Ve() {
|
|
106
106
|
r.value = p.AvailabilityState, o.value = !0;
|
|
107
107
|
try {
|
|
108
108
|
const e = (await $.get("https://production.hotel-service.konnectio.dk/api/event/get", {
|
|
109
109
|
params: {
|
|
110
110
|
language: C(),
|
|
111
|
-
restaurantId:
|
|
111
|
+
restaurantId: f.eventLocation,
|
|
112
112
|
date: O.value
|
|
113
113
|
},
|
|
114
114
|
headers: {
|
|
@@ -118,7 +118,7 @@ const ct = Ze("event", () => {
|
|
|
118
118
|
})).data;
|
|
119
119
|
g.value = e, o.value = !1;
|
|
120
120
|
} catch {
|
|
121
|
-
|
|
121
|
+
m({
|
|
122
122
|
message: N.t("alert.error.couldntFetchListings"),
|
|
123
123
|
type: "warning"
|
|
124
124
|
});
|
|
@@ -132,7 +132,7 @@ const ct = Ze("event", () => {
|
|
|
132
132
|
language: C(),
|
|
133
133
|
date: O.value,
|
|
134
134
|
templateId: k.value,
|
|
135
|
-
restaurantId:
|
|
135
|
+
restaurantId: f.eventLocation,
|
|
136
136
|
numberOfPeople: A.value
|
|
137
137
|
},
|
|
138
138
|
headers: {
|
|
@@ -140,12 +140,12 @@ const ct = Ze("event", () => {
|
|
|
140
140
|
Accept: "application/json"
|
|
141
141
|
}
|
|
142
142
|
})).data;
|
|
143
|
-
n.rooms.length === 0 ?
|
|
143
|
+
n.rooms.length === 0 ? m({
|
|
144
144
|
message: N.t("alert.error.eventNotAvailable"),
|
|
145
145
|
type: "warning"
|
|
146
146
|
}) : (t.value = n, e()), o.value = !1;
|
|
147
147
|
} catch {
|
|
148
|
-
o.value = !1, r.value = p.AvailabilityState,
|
|
148
|
+
o.value = !1, r.value = p.AvailabilityState, m({
|
|
149
149
|
message: N.t("alert.error.couldntFetchEvent"),
|
|
150
150
|
type: "warning"
|
|
151
151
|
});
|
|
@@ -161,7 +161,7 @@ const ct = Ze("event", () => {
|
|
|
161
161
|
numberOfPeople: A.value,
|
|
162
162
|
eventId: k.value,
|
|
163
163
|
tableGroupId: V.value,
|
|
164
|
-
restaurantId:
|
|
164
|
+
restaurantId: f.eventLocation
|
|
165
165
|
},
|
|
166
166
|
headers: {
|
|
167
167
|
Authorization: D.value,
|
|
@@ -170,7 +170,7 @@ const ct = Ze("event", () => {
|
|
|
170
170
|
})).data;
|
|
171
171
|
t.value = n, o.value = !1, e();
|
|
172
172
|
} catch {
|
|
173
|
-
o.value = !1, r.value = p.AvailabilityState,
|
|
173
|
+
o.value = !1, r.value = p.AvailabilityState, m({
|
|
174
174
|
message: N.t("alert.error.couldntFetchEvent"),
|
|
175
175
|
type: "warning"
|
|
176
176
|
});
|
|
@@ -182,7 +182,7 @@ const ct = Ze("event", () => {
|
|
|
182
182
|
language: C(),
|
|
183
183
|
date: O.value,
|
|
184
184
|
discountCode: U.value,
|
|
185
|
-
restaurantId:
|
|
185
|
+
restaurantId: f.eventLocation
|
|
186
186
|
}, {
|
|
187
187
|
headers: {
|
|
188
188
|
Authorization: D.value,
|
|
@@ -191,7 +191,7 @@ const ct = Ze("event", () => {
|
|
|
191
191
|
})).data;
|
|
192
192
|
console.log(e);
|
|
193
193
|
} catch (e) {
|
|
194
|
-
console.log(e),
|
|
194
|
+
console.log(e), m({
|
|
195
195
|
message: N.t("alert.error.discountCodeValidation"),
|
|
196
196
|
type: "warning"
|
|
197
197
|
});
|
|
@@ -200,7 +200,7 @@ const ct = Ze("event", () => {
|
|
|
200
200
|
async function Be(e) {
|
|
201
201
|
r.value = p.PaymentState, o.value = !0;
|
|
202
202
|
const n = () => {
|
|
203
|
-
o.value = !1, r.value = p.ReservationState,
|
|
203
|
+
o.value = !1, r.value = p.ReservationState, m({
|
|
204
204
|
message: N.t("booking.other.errorMessage"),
|
|
205
205
|
type: "warning"
|
|
206
206
|
});
|
|
@@ -209,21 +209,21 @@ const ct = Ze("event", () => {
|
|
|
209
209
|
const _ = [];
|
|
210
210
|
if (s(t.value))
|
|
211
211
|
le.value?.forEach((b, R) => {
|
|
212
|
-
const
|
|
213
|
-
let
|
|
214
|
-
for (const
|
|
215
|
-
const J =
|
|
216
|
-
parseInt(J[0]) === b.roomGroupId && parseInt(J[2]) === R &&
|
|
217
|
-
id:
|
|
212
|
+
const ue = [];
|
|
213
|
+
let ce = 0;
|
|
214
|
+
for (const ve in y.value) {
|
|
215
|
+
const J = ve.split("."), de = y.value[ve];
|
|
216
|
+
parseInt(J[0]) === b.roomGroupId && parseInt(J[2]) === R && de > 0 && (ue.push({
|
|
217
|
+
id: ce,
|
|
218
218
|
addonID: parseInt(J[1]),
|
|
219
|
-
quantity:
|
|
220
|
-
}),
|
|
219
|
+
quantity: de
|
|
220
|
+
}), ce++);
|
|
221
221
|
}
|
|
222
222
|
_.push({
|
|
223
223
|
adultPerRoom: b.adultPerRoom,
|
|
224
224
|
count: b.count,
|
|
225
225
|
roomGroupID: b.roomGroupId,
|
|
226
|
-
addons:
|
|
226
|
+
addons: ue
|
|
227
227
|
});
|
|
228
228
|
}), c = {
|
|
229
229
|
templateID: ae.value,
|
|
@@ -243,7 +243,7 @@ const ct = Ze("event", () => {
|
|
|
243
243
|
let S = "https://production.hotel-service.konnectio.dk/api/event/book-template";
|
|
244
244
|
const P = {
|
|
245
245
|
language: C(),
|
|
246
|
-
restaurantId:
|
|
246
|
+
restaurantId: f.eventLocation,
|
|
247
247
|
date: ot(O.value),
|
|
248
248
|
name: E.value,
|
|
249
249
|
email: x.value,
|
|
@@ -272,7 +272,7 @@ const ct = Ze("event", () => {
|
|
|
272
272
|
y.value = {}, d.value = {}, I.value = "", e();
|
|
273
273
|
}
|
|
274
274
|
async function qe() {
|
|
275
|
-
await Promise.all([re(),
|
|
275
|
+
await Promise.all([re(), f.fetchMetadata()]);
|
|
276
276
|
}
|
|
277
277
|
return {
|
|
278
278
|
metaData: F,
|
|
@@ -293,37 +293,37 @@ const ct = Ze("event", () => {
|
|
|
293
293
|
phone: G,
|
|
294
294
|
email: x,
|
|
295
295
|
remark: u,
|
|
296
|
-
isTemplateEvent:
|
|
297
|
-
maxNumberOfPeople:
|
|
298
|
-
title:
|
|
299
|
-
subtitle:
|
|
296
|
+
isTemplateEvent: Ie,
|
|
297
|
+
maxNumberOfPeople: he,
|
|
298
|
+
title: be,
|
|
299
|
+
subtitle: ke,
|
|
300
300
|
date: O,
|
|
301
301
|
numberOfTotalDays: q,
|
|
302
|
-
numberOfRooms:
|
|
303
|
-
fromDate:
|
|
302
|
+
numberOfRooms: we,
|
|
303
|
+
fromDate: De,
|
|
304
304
|
getEventData: L,
|
|
305
|
-
length:
|
|
305
|
+
length: Ae,
|
|
306
306
|
templateId: ae,
|
|
307
|
-
getEvents:
|
|
308
|
-
getTemplates:
|
|
309
|
-
hasEvents:
|
|
310
|
-
hasTemplates:
|
|
307
|
+
getEvents: Se,
|
|
308
|
+
getTemplates: Pe,
|
|
309
|
+
hasEvents: Ee,
|
|
310
|
+
hasTemplates: Le,
|
|
311
311
|
basePrice: se,
|
|
312
|
-
totalPrice:
|
|
312
|
+
totalPrice: _e,
|
|
313
313
|
getTemplateData: le,
|
|
314
314
|
getEventTableData: K,
|
|
315
|
-
roomUpgrade:
|
|
316
|
-
weekendFee:
|
|
315
|
+
roomUpgrade: Ce,
|
|
316
|
+
weekendFee: Ne,
|
|
317
317
|
hasProducts: ie,
|
|
318
318
|
eventRateType: ne,
|
|
319
|
-
isReservationFormFilled:
|
|
320
|
-
isMetadataAvailable:
|
|
321
|
-
areListingsAvailable:
|
|
322
|
-
isAvailabilityDataAvailable:
|
|
323
|
-
isPaymentLoading:
|
|
324
|
-
isEventListingLoading:
|
|
319
|
+
isReservationFormFilled: Me,
|
|
320
|
+
isMetadataAvailable: Re,
|
|
321
|
+
areListingsAvailable: ze,
|
|
322
|
+
isAvailabilityDataAvailable: $e,
|
|
323
|
+
isPaymentLoading: Fe,
|
|
324
|
+
isEventListingLoading: Oe,
|
|
325
325
|
fetchMetadata: re,
|
|
326
|
-
fetchListings:
|
|
326
|
+
fetchListings: Ve,
|
|
327
327
|
getTemplateAvailability: Ge,
|
|
328
328
|
getEventAvailability: xe,
|
|
329
329
|
validateDiscountCode: je,
|
|
@@ -345,21 +345,21 @@ const ct = Ze("event", () => {
|
|
|
345
345
|
},
|
|
346
346
|
setup(w) {
|
|
347
347
|
const l = w, {
|
|
348
|
-
eventLocation:
|
|
348
|
+
eventLocation: m,
|
|
349
349
|
eventLocations: D,
|
|
350
350
|
hasEventLocations: F,
|
|
351
351
|
eventLocationControl: j,
|
|
352
|
-
searchDate:
|
|
352
|
+
searchDate: f,
|
|
353
353
|
isExpired: g
|
|
354
354
|
} = ee(te()), { reset: B, fetchMetadata: t, updateEventAvailability: o } = te(), { fetchListings: r } = ct(), { t: A } = lt(), T = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), k = i(j.value), V = i(T()), I = a({
|
|
355
|
-
get: () => l.redirection ? k.value :
|
|
355
|
+
get: () => l.redirection ? k.value : m.value,
|
|
356
356
|
set: (u) => {
|
|
357
|
-
l.redirection ? k.value = Number(u) :
|
|
357
|
+
l.redirection ? k.value = Number(u) : m.value = Number(u);
|
|
358
358
|
}
|
|
359
359
|
}), E = a({
|
|
360
|
-
get: () => l.redirection ? V.value :
|
|
360
|
+
get: () => l.redirection ? V.value : f.value,
|
|
361
361
|
set: (u) => {
|
|
362
|
-
l.redirection ? V.value = u :
|
|
362
|
+
l.redirection ? V.value = u : f.value = u;
|
|
363
363
|
}
|
|
364
364
|
}), G = a(() => typeof l.link != "string");
|
|
365
365
|
function x() {
|
|
@@ -377,7 +377,7 @@ const ct = Ze("event", () => {
|
|
|
377
377
|
}
|
|
378
378
|
return He(() => {
|
|
379
379
|
g.value && B(), l.redirection;
|
|
380
|
-
}), (u, y) => (W(),
|
|
380
|
+
}), (u, y) => (W(), pe("form", {
|
|
381
381
|
class: Xe([
|
|
382
382
|
"konnectio-event-search-form",
|
|
383
383
|
{ "has-locations": z(F) },
|
|
@@ -412,7 +412,7 @@ const ct = Ze("event", () => {
|
|
|
412
412
|
"icon-placement": "label",
|
|
413
413
|
"min-date": /* @__PURE__ */ new Date()
|
|
414
414
|
}, null, 8, ["modelValue", "label", "min-date"]),
|
|
415
|
-
u.redirection ? (W(),
|
|
415
|
+
u.redirection ? (W(), pe("li", vt, [
|
|
416
416
|
X(it, {
|
|
417
417
|
type: "submit",
|
|
418
418
|
label: z(A)("availability.buttonLabel")
|
|
@@ -428,4 +428,4 @@ export {
|
|
|
428
428
|
yt as E,
|
|
429
429
|
ct as u
|
|
430
430
|
};
|
|
431
|
-
//# sourceMappingURL=EventAvailabilityForm-
|
|
431
|
+
//# sourceMappingURL=EventAvailabilityForm-DphCQOMO.js.map
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as l, o as a, a as o, b as i, e as r, f as n, n as f } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { E as s, _ as c } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
+
import { E as s, _ as c } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
@@ -47,4 +47,4 @@ const p = {
|
|
|
47
47
|
export {
|
|
48
48
|
y as F
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=Field-
|
|
50
|
+
//# sourceMappingURL=Field-Dg8W7a_X.js.map
|
|
Binary file
|
|
@@ -3,7 +3,7 @@ import "./navigation.js";
|
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a74e2b5d-8e22-4ad7-ab1d-cf3e2b910d5b", e._sentryDebugIdIdentifier = "sentry-dbid-a74e2b5d-8e22-4ad7-ab1d-cf3e2b910d5b");
|
|
7
7
|
} catch {
|
|
8
8
|
}
|
|
9
9
|
})();
|
|
@@ -6626,7 +6626,7 @@ const _d = kr("tracking", () => {
|
|
|
6626
6626
|
headers: {
|
|
6627
6627
|
Authorization: q.value,
|
|
6628
6628
|
Accept: "application/json",
|
|
6629
|
-
"Konnectio-Ver": "4.0.56-
|
|
6629
|
+
"Konnectio-Ver": "4.0.56-rc47"
|
|
6630
6630
|
}
|
|
6631
6631
|
})).data;
|
|
6632
6632
|
o.value = Q, Q.success !== void 0 ? D.value = !Q.success : D.value = !1;
|
|
@@ -6643,7 +6643,7 @@ const _d = kr("tracking", () => {
|
|
|
6643
6643
|
headers: {
|
|
6644
6644
|
Authorization: q.value,
|
|
6645
6645
|
Accept: "application/json",
|
|
6646
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
6646
|
+
"Fresh-Booking-Ver": "4.0.56-rc47"
|
|
6647
6647
|
}
|
|
6648
6648
|
}).then((J) => {
|
|
6649
6649
|
const { settings: Q, translations: R } = J.data;
|
|
@@ -6713,7 +6713,7 @@ const _d = kr("tracking", () => {
|
|
|
6713
6713
|
headers: {
|
|
6714
6714
|
Authorization: t.value,
|
|
6715
6715
|
Accept: "application/json",
|
|
6716
|
-
"Fresh-Booking-Ver": "4.0.56-
|
|
6716
|
+
"Fresh-Booking-Ver": "4.0.56-rc47"
|
|
6717
6717
|
}
|
|
6718
6718
|
}).then((h) => {
|
|
6719
6719
|
const {
|
|
@@ -7011,7 +7011,7 @@ const _d = kr("tracking", () => {
|
|
|
7011
7011
|
headers: {
|
|
7012
7012
|
Authorization: l.value,
|
|
7013
7013
|
Accept: "application/json",
|
|
7014
|
-
"Konnectio-Ver": "4.0.56-
|
|
7014
|
+
"Konnectio-Ver": "4.0.56-rc47"
|
|
7015
7015
|
}
|
|
7016
7016
|
})).data;
|
|
7017
7017
|
a.value = ye;
|
|
@@ -7040,7 +7040,7 @@ const _d = kr("tracking", () => {
|
|
|
7040
7040
|
headers: {
|
|
7041
7041
|
Authorization: l.value,
|
|
7042
7042
|
Accept: "application/json",
|
|
7043
|
-
"Konnectio-Ver": "4.0.56-
|
|
7043
|
+
"Konnectio-Ver": "4.0.56-rc47"
|
|
7044
7044
|
}
|
|
7045
7045
|
});
|
|
7046
7046
|
Te.status !== 200 ? o({
|
|
@@ -7131,7 +7131,7 @@ const _d = kr("tracking", () => {
|
|
|
7131
7131
|
headers: {
|
|
7132
7132
|
Authorization: l.value,
|
|
7133
7133
|
Accept: "application/json",
|
|
7134
|
-
"Konnectio-Ver": "4.0.56-
|
|
7134
|
+
"Konnectio-Ver": "4.0.56-rc47"
|
|
7135
7135
|
}
|
|
7136
7136
|
}).then((ye) => {
|
|
7137
7137
|
Zt.value = !1;
|
|
@@ -7166,7 +7166,7 @@ const _d = kr("tracking", () => {
|
|
|
7166
7166
|
headers: {
|
|
7167
7167
|
Authorization: l.value,
|
|
7168
7168
|
Accept: "application/json",
|
|
7169
|
-
"Konnectio-Ver": "4.0.56-
|
|
7169
|
+
"Konnectio-Ver": "4.0.56-rc47"
|
|
7170
7170
|
}
|
|
7171
7171
|
}).then((Te) => {
|
|
7172
7172
|
Le.value = !1, P.value = !1, n.pay({
|
|
@@ -7306,7 +7306,7 @@ const _d = kr("tracking", () => {
|
|
|
7306
7306
|
headers: {
|
|
7307
7307
|
Authorization: n.bearerToken,
|
|
7308
7308
|
Accept: "application/json",
|
|
7309
|
-
"Konnectio-Ver": "4.0.56-
|
|
7309
|
+
"Konnectio-Ver": "4.0.56-rc47"
|
|
7310
7310
|
}
|
|
7311
7311
|
})).data;
|
|
7312
7312
|
i.value = P, P.defaultHotelId && (isNaN(s.value) ? s.value = P.defaultHotelId : s.value !== P.defaultHotelId && (A(), s.value = P.defaultHotelId), isNaN(u.value) && (u.value = P.defaultHotelId)), P.defaultEventId && (isNaN(y.value) ? y.value = P.defaultEventId : y.value !== P.defaultEventId && (A(), y.value = P.defaultEventId), isNaN(m.value) && (m.value = P.defaultEventId));
|
|
@@ -21390,4 +21390,4 @@ export {
|
|
|
21390
21390
|
Ed as y,
|
|
21391
21391
|
bo as z
|
|
21392
21392
|
};
|
|
21393
|
-
//# sourceMappingURL=Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
21393
|
+
//# sourceMappingURL=Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as a, o as r, b as i, w as d, g as t, u as o } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { h as c, j as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
3
|
-
import { B as _ } from "./CheckoutWindow-
|
|
2
|
+
import { h as c, j as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
|
+
import { B as _ } from "./CheckoutWindow-DcaNMI9K.js";
|
|
4
4
|
(function() {
|
|
5
5
|
try {
|
|
6
6
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
@@ -32,4 +32,4 @@ const l = { class: "konnectio-terms-side-panel" }, u = ["innerHTML"], m = /* @__
|
|
|
32
32
|
export {
|
|
33
33
|
I as S
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=TermsOfService-
|
|
35
|
+
//# sourceMappingURL=TermsOfService-DenzWB_O.js.map
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as t } from "./_.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as t } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
|
|
@@ -9,4 +9,4 @@ import { _ as t } from "./_.vue_vue_type_style_index_0_lang-BLztxup-.js";
|
|
|
9
9
|
export {
|
|
10
10
|
t as default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=_-
|
|
12
|
+
//# sourceMappingURL=_-DgexTosT.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as _, o as c, a as r, u as o, f, g as p, t as m, e as b, n as y, s as d, v as g } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { s as k, a as w, z as h, _ as I, b as v } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
+
import { s as k, a as w, z as h, _ as I, b as v } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
5
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, a = new Error().stack;
|
|
@@ -65,4 +65,4 @@ const D = {
|
|
|
65
65
|
export {
|
|
66
66
|
N as _
|
|
67
67
|
};
|
|
68
|
-
//# sourceMappingURL=_.vue_vue_type_style_index_0_lang-
|
|
68
|
+
//# sourceMappingURL=_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.map
|
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { d as C, r as E, c as f, h as I, o as p, b as v, w as d, S, g as a, f as y, a as T, n as A, i as _, t as g, u as h, F as N, e as L, T as B, p as D, j as M, k as z } from "./_commonjsHelpers-ytV6SVHa.js";
|
|
2
|
-
import { h as F, m as H, n as P, _ as V, o as j, p as O, q as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
2
|
+
import { h as F, m as H, n as P, _ as V, o as j, p as O, q as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
|
|
3
3
|
import { c as U } from "./sentry-D1A53_C5.js";
|
|
4
|
-
import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { H as q, A as K } from "./AvailabilitySkeleton-
|
|
6
|
-
import { E as G } from "./EventAvailabilityForm-
|
|
7
|
-
import { E as J } from "./ErrorMessage-
|
|
4
|
+
import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
|
|
5
|
+
import { H as q, A as K } from "./AvailabilitySkeleton-C_OWp8Fq.js";
|
|
6
|
+
import { E as G } from "./EventAvailabilityForm-DphCQOMO.js";
|
|
7
|
+
import { E as J } from "./ErrorMessage-DH5q_ieB.js";
|
|
8
8
|
import "./navigation.js";
|
|
9
9
|
(function() {
|
|
10
10
|
try {
|
package/dist/availability.js.br
CHANGED
|
Binary file
|