@konnectio/core 4.1.16 → 4.1.17
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-Cmie2BEX.js → ActionField-Dvbav0Y8.js} +2 -2
- package/dist/ActionField-Dvbav0Y8.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DN_106EP.js → AvailabilitySkeleton-mMiprSLh.js} +5 -5
- package/dist/AvailabilitySkeleton-mMiprSLh.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bs5xScCy.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DErbA8u3.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DErbA8u3.js.br +0 -0
- package/dist/{CheckoutWindow-DJiDST3s.js → CheckoutWindow-Mfk8soIJ.js} +2 -2
- package/dist/CheckoutWindow-Mfk8soIJ.js.br +0 -0
- package/dist/{ErrorMessage-U-a96RxV.js → ErrorMessage-BzRtV9-R.js} +2 -2
- package/dist/ErrorMessage-BzRtV9-R.js.br +0 -0
- package/dist/{EventAvailabilityForm-DSKXqo1p.js → EventAvailabilityForm-Dxw_uETT.js} +3 -3
- package/dist/EventAvailabilityForm-Dxw_uETT.js.br +0 -0
- package/dist/{Field-C1RDpBRg.js → Field-Bt1i9gph.js} +3 -3
- package/dist/Field-Bt1i9gph.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-D-01HLwn.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BYuYrTVH.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-C7mb7bSQ.js → SelectField.vue_vue_type_style_index_0_lang-CmmPTYWX.js} +125 -124
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CmmPTYWX.js.br +0 -0
- package/dist/{TermsOfService-CIGTVx2P.js → TermsOfService-B1K2tcdb.js} +3 -3
- package/dist/_-fymmXLfL.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CGduu9JZ.js → _.vue_vue_type_style_index_0_lang-yOdWSTnm.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-DS1HiKyr.js → giftCard-BamoYC5e.js} +2 -2
- package/dist/giftCard-BamoYC5e.js.br +0 -0
- package/dist/hotel.js +1583 -1567
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C1ifg5dA.js → masonry.plugin-gqTsNf4Q.js} +5 -5
- package/dist/masonry.plugin-gqTsNf4Q.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-Cmie2BEX.js.br +0 -0
- package/dist/AvailabilitySkeleton-DN_106EP.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bs5xScCy.js.br +0 -0
- package/dist/CheckoutWindow-DJiDST3s.js.br +0 -0
- package/dist/ErrorMessage-U-a96RxV.js.br +0 -0
- package/dist/EventAvailabilityForm-DSKXqo1p.js.br +0 -0
- package/dist/Field-C1RDpBRg.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C7mb7bSQ.js.br +0 -0
- package/dist/_-B4Sn5H7s.js +0 -5
- package/dist/giftCard-DS1HiKyr.js.br +0 -0
- package/dist/masonry.plugin-C1ifg5dA.js.br +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aj as Ho, D as Vn, a9 as o1, aa as i1, a0 as s1, r as E, ak as l1, al as qt, a7 as ht, o as Wn, M as Ta, R as rl, W as xi, c as d, g as Z, am as c1, I as P, H as Pt, s as pn, _ as u1, an as f1, d as
|
|
1
|
+
import { aj as Ho, D as Vn, a9 as o1, aa as i1, a0 as s1, r as E, ak as l1, al as qt, a7 as ht, o as Wn, M as Ta, R as rl, W as xi, c as d, g as Z, am as c1, I as P, H as Pt, s as pn, _ as u1, an as f1, d as Ge, Q as d1, a as Ke, b as x, n as Ye, h as $, i as le, f as Xt, e as q, t as We, q as ve, Y as oa, F as to, a1 as Rn, w as un, u as p1, J as ol, E as fn, ao as m1, ap as h1, j as no, v as Aa, a2 as Ve, a3 as et, A as Mi, a4 as Pr, aq as g1, G as Ii, T as v1 } from "./mitt-BjP5J__-.js";
|
|
2
2
|
function Vo(e) {
|
|
3
3
|
return o1() ? (i1(e), !0) : !1;
|
|
4
4
|
}
|
|
@@ -2408,11 +2408,11 @@ function Ll(e, t) {
|
|
|
2408
2408
|
const { toString: qu } = Object.prototype, { getPrototypeOf: ti } = Object, rr = /* @__PURE__ */ ((e) => (t) => {
|
|
2409
2409
|
const n = qu.call(t);
|
|
2410
2410
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2411
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
2411
|
+
})(/* @__PURE__ */ Object.create(null)), Je = (e) => (e = e.toLowerCase(), (t) => rr(t) === e), or = (e) => (t) => typeof t === e, { isArray: vn } = Array, $n = or("undefined");
|
|
2412
2412
|
function Ku(e) {
|
|
2413
2413
|
return e !== null && !$n(e) && e.constructor !== null && !$n(e.constructor) && Oe(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2414
2414
|
}
|
|
2415
|
-
const Nl =
|
|
2415
|
+
const Nl = Je("ArrayBuffer");
|
|
2416
2416
|
function Yu(e) {
|
|
2417
2417
|
let t;
|
|
2418
2418
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Nl(e.buffer), t;
|
|
@@ -2422,11 +2422,11 @@ const Gu = or("string"), Oe = or("function"), kl = or("number"), ir = (e) => e !
|
|
|
2422
2422
|
return !1;
|
|
2423
2423
|
const t = ti(e);
|
|
2424
2424
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2425
|
-
}, Xu =
|
|
2425
|
+
}, Xu = Je("Date"), Qu = Je("File"), Zu = Je("Blob"), e2 = Je("FileList"), t2 = (e) => ir(e) && Oe(e.pipe), n2 = (e) => {
|
|
2426
2426
|
let t;
|
|
2427
2427
|
return e && (typeof FormData == "function" && e instanceof FormData || Oe(e.append) && ((t = rr(e)) === "formdata" || // detect form-data instance
|
|
2428
2428
|
t === "object" && Oe(e.toString) && e.toString() === "[object FormData]"));
|
|
2429
|
-
}, a2 =
|
|
2429
|
+
}, a2 = Je("URLSearchParams"), [r2, o2, i2, s2] = ["ReadableStream", "Request", "Response", "Headers"].map(Je), l2 = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2430
2430
|
function qn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2431
2431
|
if (e === null || typeof e > "u")
|
|
2432
2432
|
return;
|
|
@@ -2502,12 +2502,12 @@ const c2 = (e, t, n, { allOwnKeys: a } = {}) => (qn(t, (r, o) => {
|
|
|
2502
2502
|
for (; (n = e.exec(t)) !== null; )
|
|
2503
2503
|
a.push(n);
|
|
2504
2504
|
return a;
|
|
2505
|
-
}, y2 =
|
|
2505
|
+
}, y2 = Je("HTMLFormElement"), b2 = (e) => e.toLowerCase().replace(
|
|
2506
2506
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
2507
2507
|
function(n, a, r) {
|
|
2508
2508
|
return a.toUpperCase() + r;
|
|
2509
2509
|
}
|
|
2510
|
-
), ns = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), w2 =
|
|
2510
|
+
), ns = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), w2 = Je("RegExp"), Ol = (e, t) => {
|
|
2511
2511
|
const n = Object.getOwnPropertyDescriptors(e), a = {};
|
|
2512
2512
|
qn(n, (r, o) => {
|
|
2513
2513
|
let i;
|
|
@@ -2557,7 +2557,7 @@ const N2 = (e) => {
|
|
|
2557
2557
|
return a;
|
|
2558
2558
|
};
|
|
2559
2559
|
return n(e, 0);
|
|
2560
|
-
}, k2 =
|
|
2560
|
+
}, k2 = Je("AsyncFunction"), E2 = (e) => e && (ir(e) || Oe(e)) && Oe(e.then) && Oe(e.catch), zl = ((e, t) => e ? setImmediate : t ? ((n, a) => (Ht.addEventListener("message", ({ source: r, data: o }) => {
|
|
2561
2561
|
r === Ht && o === n && a.length && a.shift()();
|
|
2562
2562
|
}, !1), (r) => {
|
|
2563
2563
|
a.push(r), Ht.postMessage(n, "*");
|
|
@@ -2597,7 +2597,7 @@ const N2 = (e) => {
|
|
|
2597
2597
|
inherits: f2,
|
|
2598
2598
|
toFlatObject: d2,
|
|
2599
2599
|
kindOf: rr,
|
|
2600
|
-
kindOfTest:
|
|
2600
|
+
kindOfTest: Je,
|
|
2601
2601
|
endsWith: p2,
|
|
2602
2602
|
toArray: m2,
|
|
2603
2603
|
forEachEntry: g2,
|
|
@@ -4186,7 +4186,7 @@ const Jl = (e = {}) => {
|
|
|
4186
4186
|
Xl(!0);
|
|
4187
4187
|
}, L0 = () => {
|
|
4188
4188
|
Xl(!1);
|
|
4189
|
-
},
|
|
4189
|
+
}, qe = (e, t = {}) => {
|
|
4190
4190
|
const { includes: n, defaultGroupName: a } = ze();
|
|
4191
4191
|
t.send_to == null && Array.isArray(n) && n.length && (t.send_to = n.map((r) => r.id).concat(a)), Yt("event", e, t);
|
|
4192
4192
|
};
|
|
@@ -4212,7 +4212,7 @@ const N0 = (e) => {
|
|
|
4212
4212
|
};
|
|
4213
4213
|
} else
|
|
4214
4214
|
t = e;
|
|
4215
|
-
t.page_location == null && (t.page_location = window.location.href), t.send_page_view == null && (t.send_page_view = !0),
|
|
4215
|
+
t.page_location == null && (t.page_location = window.location.href), t.send_page_view == null && (t.send_page_view = !0), qe("page_view", t);
|
|
4216
4216
|
}, tc = (e) => {
|
|
4217
4217
|
const { appName: t } = ze();
|
|
4218
4218
|
if (!e)
|
|
@@ -4220,19 +4220,19 @@ const N0 = (e) => {
|
|
|
4220
4220
|
let n;
|
|
4221
4221
|
typeof e == "string" ? n = {
|
|
4222
4222
|
screen_name: e
|
|
4223
|
-
} : n = e, n.app_name = n.app_name || t,
|
|
4223
|
+
} : n = e, n.app_name = n.app_name || t, qe("screen_view", n);
|
|
4224
4224
|
}, k0 = (...e) => {
|
|
4225
|
-
|
|
4225
|
+
qe("exception", ...e);
|
|
4226
4226
|
}, E0 = (e) => {
|
|
4227
4227
|
ri("linker", e);
|
|
4228
4228
|
}, D0 = (e) => {
|
|
4229
|
-
|
|
4229
|
+
qe("timing_complete", e);
|
|
4230
4230
|
}, O0 = (...e) => {
|
|
4231
4231
|
Yt("set", ...e);
|
|
4232
4232
|
}, z0 = (...e) => {
|
|
4233
|
-
|
|
4233
|
+
qe("refund", ...e);
|
|
4234
4234
|
}, nc = (e) => {
|
|
4235
|
-
|
|
4235
|
+
qe("purchase", e);
|
|
4236
4236
|
}, P0 = (e) => {
|
|
4237
4237
|
ri({
|
|
4238
4238
|
custom_map: e
|
|
@@ -4241,7 +4241,7 @@ const N0 = (e) => {
|
|
|
4241
4241
|
__proto__: null,
|
|
4242
4242
|
config: ri,
|
|
4243
4243
|
customMap: P0,
|
|
4244
|
-
event:
|
|
4244
|
+
event: qe,
|
|
4245
4245
|
exception: k0,
|
|
4246
4246
|
linker: E0,
|
|
4247
4247
|
optIn: L0,
|
|
@@ -4459,9 +4459,9 @@ const N0 = (e) => {
|
|
|
4459
4459
|
const e = si(), t = lc(), n = ic(), { voucher: a, amount: r } = pn(oc()), { display: o } = Qt(), { metaData: i } = pn(Et()), s = Et(), l = E({}), c = d(() => {
|
|
4460
4460
|
const k = [];
|
|
4461
4461
|
for (const z in l.value) {
|
|
4462
|
-
const V = parseInt(z), j = se.value.roomGroups.find((Ct) => Ct.id === V),
|
|
4462
|
+
const V = parseInt(z), j = se.value.roomGroups.find((Ct) => Ct.id === V), He = j?.title || "", Ze = {
|
|
4463
4463
|
roomGroupID: V,
|
|
4464
|
-
title:
|
|
4464
|
+
title: He
|
|
4465
4465
|
};
|
|
4466
4466
|
l.value[V].forEach((Ct) => {
|
|
4467
4467
|
const Bt = Ct.id, aa = j?.rates.find((Tn) => Tn.id === Bt), Cn = [];
|
|
@@ -4551,17 +4551,17 @@ const N0 = (e) => {
|
|
|
4551
4551
|
const V = parseInt(z), j = xe.value[V];
|
|
4552
4552
|
if (j > 0) {
|
|
4553
4553
|
const {
|
|
4554
|
-
price:
|
|
4554
|
+
price: He,
|
|
4555
4555
|
name: Ze,
|
|
4556
4556
|
quantityStrategy: Ct
|
|
4557
4557
|
} = ee.value.addons.find((Bt) => Bt.id === V);
|
|
4558
4558
|
k.push({
|
|
4559
4559
|
addonID: V,
|
|
4560
4560
|
name: Ze,
|
|
4561
|
-
price:
|
|
4561
|
+
price: He,
|
|
4562
4562
|
quantity: j,
|
|
4563
4563
|
totalPrice: go(
|
|
4564
|
-
|
|
4564
|
+
He,
|
|
4565
4565
|
Ct,
|
|
4566
4566
|
e.nights,
|
|
4567
4567
|
e.adults,
|
|
@@ -4577,19 +4577,19 @@ const N0 = (e) => {
|
|
|
4577
4577
|
if (Ie.value)
|
|
4578
4578
|
k = z + Te.value + g.value + v.value;
|
|
4579
4579
|
else {
|
|
4580
|
-
const V = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).reduce((j, { totalPrice:
|
|
4581
|
-
k = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).flatMap(({ roomAddons: j }) => j).reduce((j, { totalPrice:
|
|
4580
|
+
const V = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).reduce((j, { totalPrice: He }) => j + He, z);
|
|
4581
|
+
k = c.value.flatMap(({ variants: j }) => j).flatMap(({ rooms: j }) => j).flatMap(({ roomAddons: j }) => j).reduce((j, { totalPrice: He }) => j + He, V);
|
|
4582
4582
|
}
|
|
4583
4583
|
return k;
|
|
4584
4584
|
}), v = d(() => N.value ? N.value.weekendFee : 0), w = d(() => c.value.flatMap(({ variants: k }) => k).flatMap(({ rooms: k }) => k)), L = d(() => Ie.value ? 1 : w.value.length), T = d(() => Ie.value ? M.value : w.value.reduce((k, { adultsCount: z }) => k + z, 0)), O = d(() => Ie.value ? W.value : w.value.reduce((k, { childrenCount: z }) => k + z, 0)), B = d(() => T.value > 0 ? T.value !== e.adults : !1), U = d(() => O.value > 0 ? O.value !== e.children : !1), te = E(e.arrivalDate), Y = E(e.departureDate), M = E(e.adults), W = E(e.children), H = E(e.location || NaN), he = d(() => te.value !== e.arrivalDate && Y.value !== e.departureDate), oe = d(() => H.value !== e.location), ae = d(() => he.value || oe.value), se = E({}), _ = E(!0), J = E(
|
|
4585
4585
|
0
|
|
4586
4586
|
/* InitialState */
|
|
4587
|
-
), we = E(NaN), xe = E({}), Me = E(NaN), Zt = E(""), Mt = E(""), ge = E(""), Ne = E(""),
|
|
4587
|
+
), we = E(NaN), xe = E({}), Me = E(NaN), Zt = E(""), Mt = E(""), ge = E(""), Ne = E(""), Xe = E(""), Fe = E(null), it = X("konnectio_name", "", void 0, { serializer: G.string }), Be = X("konnectio_nameTitle", 2, void 0, { serializer: G.number }), st = X("konnectio_email", "", void 0, { serializer: G.string }), lt = X("konnectio_phone", "", void 0, { serializer: G.string }), It = X("konnectio_company", "", void 0, { serializer: G.string }), $e = X("konnectio_postal", "", void 0, { serializer: G.string }), bt = X("konnectio_city", "", void 0, { serializer: G.string }), Rt = X("konnectio_country", 57, void 0, { serializer: G.number }), ct = X("konnectio_address", "", void 0, { serializer: G.string }), tn = X("konnectio_sortingKeys", {
|
|
4588
4588
|
pricesFrom: !1
|
|
4589
|
-
}, void 0, { serializer: G.object }), nn = E(""), an = E(""), _t = E(!1), I = E(!1), Ce = E(!1), Ie = d(() => !isNaN(we.value)), rn = d(() => s.metaData.hotels.findIndex((k) => k.id === e.location) || 0),
|
|
4589
|
+
}, void 0, { serializer: G.object }), nn = E(""), an = E(""), _t = E(!1), I = E(!1), Ce = E(!1), Ie = d(() => !isNaN(we.value)), rn = d(() => s.metaData.hotels.findIndex((k) => k.id === e.location) || 0), Ue = d(() => s.metaData.hotels[rn.value]), gr = d(() => s.metaData.hotels && s.metaData.hotels.length > 1), vr = d(() => s.metaData.hotels ? s.metaData.hotels.flatMap((k) => ({
|
|
4590
4590
|
id: k.id,
|
|
4591
4591
|
name: k.name
|
|
4592
|
-
})) : []), Jn = d(() => !!
|
|
4592
|
+
})) : []), Jn = d(() => !!Fe.value), Xn = d(() => Ue.value.termsOfService ? Ue.value.termsOfService : ""), yr = d(() => Ue.value.hotelMapImage ? Ue.value.hotelMapImage : null), Qn = d(() => Xn.value !== ""), Zn = d(() => Ue.value.country ? Ue.value.country.name : ""), br = d(() => s.metaData.countries ? s.metaData.countries : []), wr = d(() => Ue.value.name ? Ue.value.name : ""), Cr = d(() => s.metaData && Object.keys(s.metaData).length !== 0), ea = d(() => Object.keys(se.value).length !== 0), Tr = d(() => !(!it.value[1] || !st.value || !(lt.value.length >= 5) || !$e.value || !bt.value || !ct.value)), Ar = d(() => J.value === 1 && _.value), Sr = d(() => J.value === 3 && _.value), ta = d(() => ea.value ? se.value.templates.concat(se.value.specialTemplates) : []), N = d(() => {
|
|
4593
4593
|
if (ta.value.length > 0)
|
|
4594
4594
|
return ta.value.find(
|
|
4595
4595
|
(k) => k.id === we.value
|
|
@@ -4622,7 +4622,7 @@ const N0 = (e) => {
|
|
|
4622
4622
|
[REQUESTED ARRIVAL]: ${k} \r
|
|
4623
4623
|
[REQUESTED DEPARTURE]: ${z}`;
|
|
4624
4624
|
}
|
|
4625
|
-
function
|
|
4625
|
+
function je(k, z, V, j) {
|
|
4626
4626
|
const Ze = (z ? V : j ? Mt.value : ge.value).split(":");
|
|
4627
4627
|
return Tu(
|
|
4628
4628
|
new Date(k).setUTCHours(parseInt(Ze[0]), parseInt(Ze[1]), 0, 0)
|
|
@@ -4663,7 +4663,7 @@ const N0 = (e) => {
|
|
|
4663
4663
|
adultsCount: e.adults,
|
|
4664
4664
|
childrenCount: e.children,
|
|
4665
4665
|
roomGroupIds: s.hasActiveIdFilter ? s.activeIdFilter : null,
|
|
4666
|
-
guestDiscountId: Jn.value ?
|
|
4666
|
+
guestDiscountId: Jn.value ? Fe.value : null,
|
|
4667
4667
|
language: ye(),
|
|
4668
4668
|
hotelId: k
|
|
4669
4669
|
}
|
|
@@ -4685,8 +4685,8 @@ const N0 = (e) => {
|
|
|
4685
4685
|
}
|
|
4686
4686
|
function on(k = !1) {
|
|
4687
4687
|
const z = [];
|
|
4688
|
-
isNaN(we.value) ? c.value.forEach(({ variants:
|
|
4689
|
-
|
|
4688
|
+
isNaN(we.value) ? c.value.forEach(({ variants: He, roomGroupID: Ze }) => {
|
|
4689
|
+
He?.forEach(({ rooms: Ct, ratePlanID: Bt }) => {
|
|
4690
4690
|
Ct?.forEach(({ adultsCount: aa, childrenCount: Cn, roomAddons: Tn, roomId: Lr }) => {
|
|
4691
4691
|
z.push({
|
|
4692
4692
|
roomGroupID: Ze,
|
|
@@ -4711,7 +4711,7 @@ const N0 = (e) => {
|
|
|
4711
4711
|
childrenCount: W.value,
|
|
4712
4712
|
roomAddons: p.value,
|
|
4713
4713
|
guest: {
|
|
4714
|
-
title: qi(
|
|
4714
|
+
title: qi(Be.value),
|
|
4715
4715
|
guestID: 0,
|
|
4716
4716
|
name: it.value,
|
|
4717
4717
|
email: st.value,
|
|
@@ -4728,7 +4728,7 @@ const N0 = (e) => {
|
|
|
4728
4728
|
hotelId: V,
|
|
4729
4729
|
guest: {
|
|
4730
4730
|
travellingFor: Zt.value,
|
|
4731
|
-
title: qi(
|
|
4731
|
+
title: qi(Be.value),
|
|
4732
4732
|
guestID: 0,
|
|
4733
4733
|
name: it.value,
|
|
4734
4734
|
email: st.value,
|
|
@@ -4736,16 +4736,16 @@ const N0 = (e) => {
|
|
|
4736
4736
|
phone: lt.value,
|
|
4737
4737
|
country: Rt.value,
|
|
4738
4738
|
address1: ct.value,
|
|
4739
|
-
postal: String(
|
|
4739
|
+
postal: String($e.value),
|
|
4740
4740
|
city: bt.value,
|
|
4741
4741
|
newsmails: _t.value
|
|
4742
4742
|
},
|
|
4743
4743
|
giftCardCode: a.value,
|
|
4744
|
-
discountCode: k ?
|
|
4744
|
+
discountCode: k ? Xe.value : Ne.value,
|
|
4745
4745
|
selectedRooms: z,
|
|
4746
4746
|
remark: Qe(
|
|
4747
|
-
|
|
4748
|
-
|
|
4747
|
+
je(te.value, !s.hasUserArrivalSelection(H.value), s.defaultArrivalTime(H.value), !0),
|
|
4748
|
+
je(Y.value, !s.hasUserDepartureSelection(H.value), s.defaultDepartureTime(H.value), !1)
|
|
4749
4749
|
),
|
|
4750
4750
|
checkoutUrl: window.location.origin,
|
|
4751
4751
|
privacyUrl: window.location.origin,
|
|
@@ -4757,7 +4757,7 @@ const N0 = (e) => {
|
|
|
4757
4757
|
Ne.value !== "" ? (Ft.value = !0, de().post("/hotel/validate-discount-code", on()).then((k) => {
|
|
4758
4758
|
Ft.value = !1;
|
|
4759
4759
|
const z = k.data;
|
|
4760
|
-
z.discountApplyed === !0 ? (Ae.value = z,
|
|
4760
|
+
z.discountApplyed === !0 ? (Ae.value = z, Xe.value = Ne.value, Ne.value = "", o({
|
|
4761
4761
|
message: P.t("alert.success.discountCodeApplied"),
|
|
4762
4762
|
type: "success"
|
|
4763
4763
|
})) : z.error == "CodeNotApplicable" ? o({
|
|
@@ -4779,7 +4779,7 @@ const N0 = (e) => {
|
|
|
4779
4779
|
}
|
|
4780
4780
|
const Yc = d(() => Ae.value?.offer.properties);
|
|
4781
4781
|
function Ti() {
|
|
4782
|
-
Ae.value = void 0, Ne.value = "",
|
|
4782
|
+
Ae.value = void 0, Ne.value = "", Xe.value = "";
|
|
4783
4783
|
}
|
|
4784
4784
|
async function Gc(k, z) {
|
|
4785
4785
|
if (Ce.value === !1 && Qn.value) {
|
|
@@ -4826,10 +4826,10 @@ const N0 = (e) => {
|
|
|
4826
4826
|
});
|
|
4827
4827
|
}
|
|
4828
4828
|
function Xc(k) {
|
|
4829
|
-
|
|
4829
|
+
Fe.value = k;
|
|
4830
4830
|
}
|
|
4831
4831
|
function Qc() {
|
|
4832
|
-
|
|
4832
|
+
Fe.value = null;
|
|
4833
4833
|
}
|
|
4834
4834
|
function Ai() {
|
|
4835
4835
|
we.value = NaN, Me.value = NaN, xe.value = {};
|
|
@@ -4859,8 +4859,9 @@ const N0 = (e) => {
|
|
|
4859
4859
|
discountVouchers: Yc,
|
|
4860
4860
|
discountCode: Ne,
|
|
4861
4861
|
datesMismatch: he,
|
|
4862
|
-
appliedDiscountCode:
|
|
4862
|
+
appliedDiscountCode: Xe,
|
|
4863
4863
|
hasGuestDiscountId: Jn,
|
|
4864
|
+
guestDiscountId: Fe,
|
|
4864
4865
|
resetDiscountVoucher: Ti,
|
|
4865
4866
|
clearRoomSelection: u,
|
|
4866
4867
|
validateDiscountCode: Kc,
|
|
@@ -4885,11 +4886,11 @@ const N0 = (e) => {
|
|
|
4885
4886
|
arrivalTime: Mt,
|
|
4886
4887
|
departureTime: ge,
|
|
4887
4888
|
name: it,
|
|
4888
|
-
nameTitle:
|
|
4889
|
+
nameTitle: Be,
|
|
4889
4890
|
email: st,
|
|
4890
4891
|
phone: lt,
|
|
4891
4892
|
firmName: It,
|
|
4892
|
-
postal:
|
|
4893
|
+
postal: $e,
|
|
4893
4894
|
city: bt,
|
|
4894
4895
|
country: Rt,
|
|
4895
4896
|
address: ct,
|
|
@@ -4963,7 +4964,7 @@ const N0 = (e) => {
|
|
|
4963
4964
|
});
|
|
4964
4965
|
}
|
|
4965
4966
|
function o() {
|
|
4966
|
-
|
|
4967
|
+
qe("view_item_list", {
|
|
4967
4968
|
item_list_id: "hotel_rooms",
|
|
4968
4969
|
item_list_name: "Hotel rooms",
|
|
4969
4970
|
event_label: "Fetched hotel room list",
|
|
@@ -4984,7 +4985,7 @@ const N0 = (e) => {
|
|
|
4984
4985
|
};
|
|
4985
4986
|
}
|
|
4986
4987
|
function s(m, C) {
|
|
4987
|
-
|
|
4988
|
+
qe(m, i(C));
|
|
4988
4989
|
}
|
|
4989
4990
|
function l({ id: m, name: C, value: b }) {
|
|
4990
4991
|
s("add_to_cart", {
|
|
@@ -5005,14 +5006,14 @@ const N0 = (e) => {
|
|
|
5005
5006
|
});
|
|
5006
5007
|
}
|
|
5007
5008
|
function u(m) {
|
|
5008
|
-
|
|
5009
|
+
qe("view_item", {
|
|
5009
5010
|
items: [{
|
|
5010
5011
|
name: m
|
|
5011
5012
|
}]
|
|
5012
5013
|
});
|
|
5013
5014
|
}
|
|
5014
5015
|
function f() {
|
|
5015
|
-
|
|
5016
|
+
qe("begin_checkout", n.value);
|
|
5016
5017
|
}
|
|
5017
5018
|
return {
|
|
5018
5019
|
hotelItems: a,
|
|
@@ -5025,12 +5026,12 @@ const N0 = (e) => {
|
|
|
5025
5026
|
viewItemList: o
|
|
5026
5027
|
};
|
|
5027
5028
|
}), Et = Pt("utilities", () => {
|
|
5028
|
-
const e = si(), t = lc(), { display: n } = Qt(), a = X("k_utils_settings", {}, void 0, { serializer: G.object }), r = E([]), o = E({}), i = d(() => (I) => r.value[I] ? !r.value[I].disableChildSelection : !0), s = d(() => (I) => r.value[I] ? !r.value[I].hideArrivalDepartureInputs : !1), l = d(() => (I) => r.value[I] ? !r.value[I].disableArrivalUserSelection : !1), c = d(() => (I) => r.value[I] ? !r.value[I].disableDepartureUserSelection : !1), u = d(() => (I) => r.value[I].arrivalEarliest), f = d(() => (I) => r.value[I].arrivalDefault), m = d(() => (I) => r.value[I].arrivalLatest), C = d(() => (I) => r.value[I].departureEarliest), b = d(() => (I) => r.value[I].departureDefault), p = d(() => (I) => r.value[I].departureLatest), g = d(() => a.value.maximumNightsAvailable), y = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), w = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), T = d(() => a.value.defaultChildAmount), O = d(() => a.value.maxAdultAmount), B = d(() => a.value.maxChildAmount), U = d(() => a.value.firstSelectableDateOffset), te = d(() => a.value.lastSelectableDateOffset), Y = d(() => a.value.hideTitle), M = d(() => a.value.headerHeight), W = d(() => a.value.enableStickyHeader), H = d(() => a.value.disableNamePrefix), he = d(() => a.value.disableGiftCardVoucher), oe = d(() => a.value.disableDiscountVoucher), ae = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), J = d(() => a.value.disableTravelingFor), we = d(() => a.value.disableTravelingForBleasure), xe = d(() => a.value.disableCompanyField), Me = d(() => a.value.hideEventLength), Zt = d(() => a.value.hideAvailabilityNotice), Mt = d(() => a.value.autoSelectRateId), ge = d(() => a.value.splitBookingCalendar), Ne = E(null),
|
|
5029
|
+
const e = si(), t = lc(), { display: n } = Qt(), a = X("k_utils_settings", {}, void 0, { serializer: G.object }), r = E([]), o = E({}), i = d(() => (I) => r.value[I] ? !r.value[I].disableChildSelection : !0), s = d(() => (I) => r.value[I] ? !r.value[I].hideArrivalDepartureInputs : !1), l = d(() => (I) => r.value[I] ? !r.value[I].disableArrivalUserSelection : !1), c = d(() => (I) => r.value[I] ? !r.value[I].disableDepartureUserSelection : !1), u = d(() => (I) => r.value[I].arrivalEarliest), f = d(() => (I) => r.value[I].arrivalDefault), m = d(() => (I) => r.value[I].arrivalLatest), C = d(() => (I) => r.value[I].departureEarliest), b = d(() => (I) => r.value[I].departureDefault), p = d(() => (I) => r.value[I].departureLatest), g = d(() => a.value.maximumNightsAvailable), y = d(() => a.value.enableTracking), v = d(() => a.value.googleApiKey), w = d(() => a.value.recaptchaSiteKey), L = d(() => a.value.defaultAdultAmount), T = d(() => a.value.defaultChildAmount), O = d(() => a.value.maxAdultAmount), B = d(() => a.value.maxChildAmount), U = d(() => a.value.firstSelectableDateOffset), te = d(() => a.value.lastSelectableDateOffset), Y = d(() => a.value.hideTitle), M = d(() => a.value.headerHeight), W = d(() => a.value.enableStickyHeader), H = d(() => a.value.disableNamePrefix), he = d(() => a.value.disableGiftCardVoucher), oe = d(() => a.value.disableDiscountVoucher), ae = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), J = d(() => a.value.disableTravelingFor), we = d(() => a.value.disableTravelingForBleasure), xe = d(() => a.value.disableCompanyField), Me = d(() => a.value.hideEventLength), Zt = d(() => a.value.hideAvailabilityNotice), Mt = d(() => a.value.autoSelectRateId), ge = d(() => a.value.splitBookingCalendar), Ne = E(null), Xe = E(""), Fe = E(!1), it = d(() => `Bearer ${Xe.value}`), Be = d(() => !!o.value && !!o.value.hotels), st = d(() => Be.value ? o.value.hotels[0].currency.currencyCode : ""), lt = d(() => Be.value ? o.value.hotels[0].currency.id : NaN), It = d(() => Be.value ? o.value.hotels[0].name : ""), $e = d(() => Be.value && o.value.hotels[0].paymentGatewayId || jt.None), bt = d(() => !!w.value), Rt = d(() => !!Ne.value), ct = d(() => {
|
|
5029
5030
|
let I = !0;
|
|
5030
|
-
return (
|
|
5031
|
+
return ($e.value === jt.None || $e.value === jt.AskForCreditCard) && (I = !1), I;
|
|
5031
5032
|
});
|
|
5032
5033
|
async function en(I) {
|
|
5033
|
-
|
|
5034
|
+
Xe.value = I, await B0();
|
|
5034
5035
|
}
|
|
5035
5036
|
async function tn(I = "none") {
|
|
5036
5037
|
try {
|
|
@@ -5040,7 +5041,7 @@ const N0 = (e) => {
|
|
|
5040
5041
|
language: ye()
|
|
5041
5042
|
}
|
|
5042
5043
|
})).data;
|
|
5043
|
-
o.value = Ce, Ce.success !== void 0 ?
|
|
5044
|
+
o.value = Ce, Ce.success !== void 0 ? Fe.value = !Ce.success : Fe.value = !1;
|
|
5044
5045
|
}
|
|
5045
5046
|
} catch {
|
|
5046
5047
|
n({
|
|
@@ -5087,10 +5088,10 @@ const N0 = (e) => {
|
|
|
5087
5088
|
disableTravelingForBleasure: we,
|
|
5088
5089
|
enableStickyHeader: W,
|
|
5089
5090
|
hasPaymentGateway: ct,
|
|
5090
|
-
hasError:
|
|
5091
|
+
hasError: Fe,
|
|
5091
5092
|
name: It,
|
|
5092
|
-
hasMetadata:
|
|
5093
|
-
paymentGatewayId:
|
|
5093
|
+
hasMetadata: Be,
|
|
5094
|
+
paymentGatewayId: $e,
|
|
5094
5095
|
metaData: o,
|
|
5095
5096
|
currency: st,
|
|
5096
5097
|
currencyId: lt,
|
|
@@ -5133,7 +5134,7 @@ function de() {
|
|
|
5133
5134
|
headers: {
|
|
5134
5135
|
Accept: "application/json",
|
|
5135
5136
|
Authorization: cc.value,
|
|
5136
|
-
"Konnectio-Version": "4.1.
|
|
5137
|
+
"Konnectio-Version": "4.1.17",
|
|
5137
5138
|
"Konnectio-Ref": F0.ref
|
|
5138
5139
|
}
|
|
5139
5140
|
});
|
|
@@ -5143,12 +5144,12 @@ const $0 = Pt("event", () => {
|
|
|
5143
5144
|
function U(N) {
|
|
5144
5145
|
return N ? N.templateId !== void 0 : !1;
|
|
5145
5146
|
}
|
|
5146
|
-
const te = d(() => r.metaData.hotels.findIndex((N) => N.id === o.eventLocation) || 0), Y = d(() => r.metaData.hotels[te.value]), M = d(() => Y.value ? Y.value.maxNumberPerBooking : 1 / 0), W = d(() => Y.value.name ? Y.value.name : ""), H = d(() => Y.value.subtitle ? Y.value.subtitle : ""), he = d(() => Y.value.timezone ? Y.value.timezone : ""), oe = E(o.eventDate), ae = E(o.eventLocation), se = d(() => oe.value !== o.eventDate), _ = d(() => ae.value !== o.eventLocation), J = d(() => se.value || _.value), we = d(() => o.eventDate.toISOString()), xe = d(() => U(l.value)), Me = d(() => U(l.value) ? l.value.numberOfDays : m.value), Zt = d(() => U(l.value) ? l.value.packageCount : 0), Mt = d(() => U(l.value) ? l.value.fromDate : ""), ge = d(() => i.value.events !== void 0 ? i.value.events.find((N) => N.id === C.value) : void 0), Ne = d(() => ge.value ? ge.value.length : void 0),
|
|
5147
|
+
const te = d(() => r.metaData.hotels.findIndex((N) => N.id === o.eventLocation) || 0), Y = d(() => r.metaData.hotels[te.value]), M = d(() => Y.value ? Y.value.maxNumberPerBooking : 1 / 0), W = d(() => Y.value.name ? Y.value.name : ""), H = d(() => Y.value.subtitle ? Y.value.subtitle : ""), he = d(() => Y.value.timezone ? Y.value.timezone : ""), oe = E(o.eventDate), ae = E(o.eventLocation), se = d(() => oe.value !== o.eventDate), _ = d(() => ae.value !== o.eventLocation), J = d(() => se.value || _.value), we = d(() => o.eventDate.toISOString()), xe = d(() => U(l.value)), Me = d(() => U(l.value) ? l.value.numberOfDays : m.value), Zt = d(() => U(l.value) ? l.value.packageCount : 0), Mt = d(() => U(l.value) ? l.value.fromDate : ""), ge = d(() => i.value.events !== void 0 ? i.value.events.find((N) => N.id === C.value) : void 0), Ne = d(() => ge.value ? ge.value.length : void 0), Xe = d(() => U(l.value) ? l.value.templateId : 0), Fe = d(() => i.value.events.filter((N) => N.isAvailable === !0)), it = d(() => i.value.events.filter((N) => N.isAvailable === !1)), Be = d(() => i.value.templates), st = d(() => i.value.events.length > 0), lt = d(() => i.value.templates.length > 0), It = d(() => ge.value && ge.value.eventRateType ? ge.value.eventRateType : ho.None), $e = d(() => {
|
|
5147
5148
|
if (!U(l.value))
|
|
5148
5149
|
return l.value;
|
|
5149
5150
|
}), bt = d(() => {
|
|
5150
|
-
if (
|
|
5151
|
-
const N =
|
|
5151
|
+
if ($e.value !== void 0) {
|
|
5152
|
+
const N = $e.value.find(
|
|
5152
5153
|
(K) => K.time === p.value
|
|
5153
5154
|
);
|
|
5154
5155
|
if (N && N.price)
|
|
@@ -5166,8 +5167,8 @@ const $0 = Pt("event", () => {
|
|
|
5166
5167
|
if (ce) {
|
|
5167
5168
|
const ut = ce.addons, Qe = T.value[`${K}.${N}.${ee}`] || 0;
|
|
5168
5169
|
if (Qe > 0) {
|
|
5169
|
-
const
|
|
5170
|
-
Te += go(
|
|
5170
|
+
const je = ut?.find((wt) => wt.id === N), ke = typeof Qe == "boolean" ? 1 : Qe;
|
|
5171
|
+
Te += go(je?.price, je?.quantityStrategy, Me.value, ce.adultPerRoom) * ke;
|
|
5171
5172
|
}
|
|
5172
5173
|
}
|
|
5173
5174
|
} else {
|
|
@@ -5207,7 +5208,7 @@ const $0 = Pt("event", () => {
|
|
|
5207
5208
|
for (const ee in N)
|
|
5208
5209
|
K += Number.isNaN(N[ee]) ? 0 : N[ee];
|
|
5209
5210
|
return K;
|
|
5210
|
-
}), Ce = d(() => I.value > 0), Ie = d(() => !U(l.value) && ge.value ? ge.value.products.length > 0 : !1), rn = d(() => Ie.value ? Ce.value : !0),
|
|
5211
|
+
}), Ce = d(() => I.value > 0), Ie = d(() => !U(l.value) && ge.value ? ge.value.products.length > 0 : !1), rn = d(() => Ie.value ? Ce.value : !0), Ue = d(() => It.value !== ho.FullDayEvent && !xe.value), gr = d(() => !!(g.value !== "" && v.value !== "" && y.value.length >= 5 && rn.value && (!Ue.value || p.value !== "")));
|
|
5211
5212
|
function vr(N) {
|
|
5212
5213
|
return u.value === Ee.ReservationState && C.value === N && c.value;
|
|
5213
5214
|
}
|
|
@@ -5349,7 +5350,7 @@ const $0 = Pt("event", () => {
|
|
|
5349
5350
|
addons: na
|
|
5350
5351
|
});
|
|
5351
5352
|
}), ee = {
|
|
5352
|
-
templateID:
|
|
5353
|
+
templateID: Xe.value,
|
|
5353
5354
|
numberOfDays: m.value,
|
|
5354
5355
|
templateCounts: ut
|
|
5355
5356
|
};
|
|
@@ -5364,7 +5365,7 @@ const $0 = Pt("event", () => {
|
|
|
5364
5365
|
}
|
|
5365
5366
|
}
|
|
5366
5367
|
let Qe = "/event/book-template";
|
|
5367
|
-
const
|
|
5368
|
+
const je = {
|
|
5368
5369
|
language: ye(),
|
|
5369
5370
|
restaurantId: ae.value,
|
|
5370
5371
|
date: kt(oe.value),
|
|
@@ -5380,7 +5381,7 @@ const $0 = Pt("event", () => {
|
|
|
5380
5381
|
checkoutUrl: window.location.origin,
|
|
5381
5382
|
privacyUrl: window.location.origin
|
|
5382
5383
|
};
|
|
5383
|
-
U(l.value) ?
|
|
5384
|
+
U(l.value) ? je.templateGroup = ee : (je.time = ce, je.eventId = C.value, je.products = Te, Qe = "/event/book-event"), await de().post(Qe, je).then((ke) => {
|
|
5384
5385
|
c.value = !1, e.pay({
|
|
5385
5386
|
callback: N,
|
|
5386
5387
|
response: ke.data
|
|
@@ -5429,15 +5430,15 @@ const $0 = Pt("event", () => {
|
|
|
5429
5430
|
fromDate: Mt,
|
|
5430
5431
|
getEventData: ge,
|
|
5431
5432
|
length: Ne,
|
|
5432
|
-
templateId:
|
|
5433
|
-
getEvents:
|
|
5434
|
-
getTemplates:
|
|
5433
|
+
templateId: Xe,
|
|
5434
|
+
getEvents: Fe,
|
|
5435
|
+
getTemplates: Be,
|
|
5435
5436
|
hasEvents: st,
|
|
5436
5437
|
hasTemplates: lt,
|
|
5437
5438
|
basePrice: tn,
|
|
5438
5439
|
totalPrice: nn,
|
|
5439
5440
|
getTemplateData: Rt,
|
|
5440
|
-
getEventTableData:
|
|
5441
|
+
getEventTableData: $e,
|
|
5441
5442
|
roomUpgrade: _t,
|
|
5442
5443
|
weekendFee: an,
|
|
5443
5444
|
hasProducts: Ie,
|
|
@@ -5462,7 +5463,7 @@ const $0 = Pt("event", () => {
|
|
|
5462
5463
|
hasListingData: s,
|
|
5463
5464
|
hasSelectedProducts: Ce,
|
|
5464
5465
|
totalSelectedProducts: I,
|
|
5465
|
-
requiresArrivalTime:
|
|
5466
|
+
requiresArrivalTime: Ue,
|
|
5466
5467
|
hasSelectedRequiredProducts: rn,
|
|
5467
5468
|
getUnavailableEvents: it,
|
|
5468
5469
|
timezone: he
|
|
@@ -8451,7 +8452,7 @@ function Qs(e) {
|
|
|
8451
8452
|
iconName: e
|
|
8452
8453
|
};
|
|
8453
8454
|
}
|
|
8454
|
-
var t4 =
|
|
8455
|
+
var t4 = Ge({
|
|
8455
8456
|
name: "FontAwesomeIcon",
|
|
8456
8457
|
props: {
|
|
8457
8458
|
border: {
|
|
@@ -8999,7 +9000,7 @@ const R4 = {
|
|
|
8999
9000
|
prefix: "fal",
|
|
9000
9001
|
iconName: "user-large",
|
|
9001
9002
|
icon: [512, 512, ["user-alt"], "f406", "M368 144a112 112 0 1 0 -224 0 112 112 0 1 0 224 0zm-256 0a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zM32 480l448 0c-.7-70.8-58.3-128-129.3-128l-189.4 0C90.3 352 32.7 409.2 32 480zM0 481.3C0 392.2 72.2 320 161.3 320l189.4 0C439.8 320 512 392.2 512 481.3c0 17-13.8 30.7-30.7 30.7L30.7 512C13.8 512 0 498.2 0 481.3z"]
|
|
9002
|
-
}, f3 = u3, d3 = /* @__PURE__ */
|
|
9003
|
+
}, f3 = u3, d3 = /* @__PURE__ */ Ge({
|
|
9003
9004
|
__name: "Icon",
|
|
9004
9005
|
props: {
|
|
9005
9006
|
icon: {},
|
|
@@ -9105,8 +9106,8 @@ const R4 = {
|
|
|
9105
9106
|
W4,
|
|
9106
9107
|
Y6,
|
|
9107
9108
|
I4
|
|
9108
|
-
), (t, n) => (x(),
|
|
9109
|
-
class:
|
|
9109
|
+
), (t, n) => (x(), Ke(Z(t4), {
|
|
9110
|
+
class: Ye(["konnectio-icon", t.color]),
|
|
9110
9111
|
icon: [t.type, t.icon],
|
|
9111
9112
|
rotation: t.rotate ? 180 : void 0
|
|
9112
9113
|
}, null, 8, ["class", "icon", "rotation"]));
|
|
@@ -9119,7 +9120,7 @@ const R4 = {
|
|
|
9119
9120
|
}, Hn = /* @__PURE__ */ xt(d3, [["__scopeId", "data-v-6c8f797a"]]), p3 = {
|
|
9120
9121
|
key: 0,
|
|
9121
9122
|
class: "konnectio-alert-message"
|
|
9122
|
-
}, m3 = /* @__PURE__ */
|
|
9123
|
+
}, m3 = /* @__PURE__ */ Ge({
|
|
9123
9124
|
__name: "Alert",
|
|
9124
9125
|
props: {
|
|
9125
9126
|
localDomain: { default: "global" }
|
|
@@ -9136,18 +9137,18 @@ const R4 = {
|
|
|
9136
9137
|
status: r
|
|
9137
9138
|
} = pn(Qt());
|
|
9138
9139
|
return (o, i) => (x(), $("div", {
|
|
9139
|
-
class:
|
|
9140
|
+
class: Ye(["konnectio-alert", Z(a), Z(r).toLowerCase()]),
|
|
9140
9141
|
role: "alert"
|
|
9141
9142
|
}, [
|
|
9142
9143
|
Z(n) ? (x(), $("div", p3, [
|
|
9143
9144
|
Xt(Hn, {
|
|
9144
9145
|
icon: t[Z(a)]
|
|
9145
9146
|
}, null, 8, ["icon"]),
|
|
9146
|
-
q("span", null,
|
|
9147
|
+
q("span", null, We(Z(n)), 1)
|
|
9147
9148
|
])) : le("", !0)
|
|
9148
9149
|
], 2));
|
|
9149
9150
|
}
|
|
9150
|
-
}), h3 = /* @__PURE__ */ xt(m3, [["__scopeId", "data-v-77aacf97"]]), g3 = { class: "konnectio-container" }, v3 = /* @__PURE__ */
|
|
9151
|
+
}), h3 = /* @__PURE__ */ xt(m3, [["__scopeId", "data-v-77aacf97"]]), g3 = { class: "konnectio-container" }, v3 = /* @__PURE__ */ Ge({
|
|
9151
9152
|
__name: "Container",
|
|
9152
9153
|
props: {
|
|
9153
9154
|
styling: {}
|
|
@@ -9210,7 +9211,7 @@ const R4 = {
|
|
|
9210
9211
|
Xt(h3, { "local-domain": "global" })
|
|
9211
9212
|
]));
|
|
9212
9213
|
}
|
|
9213
|
-
}), mm = /* @__PURE__ */ xt(v3, [["__scopeId", "data-v-b50131d4"]]), y3 = /* @__PURE__ */
|
|
9214
|
+
}), mm = /* @__PURE__ */ xt(v3, [["__scopeId", "data-v-b50131d4"]]), y3 = /* @__PURE__ */ Ge({
|
|
9214
9215
|
__name: "Loading",
|
|
9215
9216
|
props: {
|
|
9216
9217
|
color: {},
|
|
@@ -9218,7 +9219,7 @@ const R4 = {
|
|
|
9218
9219
|
},
|
|
9219
9220
|
setup(e) {
|
|
9220
9221
|
return (t, n) => (x(), $("div", {
|
|
9221
|
-
class:
|
|
9222
|
+
class: Ye([
|
|
9222
9223
|
"konnectio-loading",
|
|
9223
9224
|
{ "inside-button": t.insideButton }
|
|
9224
9225
|
])
|
|
@@ -9249,7 +9250,7 @@ const A3 = /* @__PURE__ */ xt(w3, [["render", T3], ["__scopeId", "data-v-88ad2e2
|
|
|
9249
9250
|
}, k3 = {
|
|
9250
9251
|
key: 1,
|
|
9251
9252
|
class: "konnectio-button-sub-label"
|
|
9252
|
-
}, E3 = { style: { "--accentColor": "var(--buttonColor)" } }, D3 = /* @__PURE__ */
|
|
9253
|
+
}, E3 = { style: { "--accentColor": "var(--buttonColor)" } }, D3 = /* @__PURE__ */ Ge({
|
|
9253
9254
|
__name: "Clickable",
|
|
9254
9255
|
props: {
|
|
9255
9256
|
label: {},
|
|
@@ -9275,7 +9276,7 @@ const A3 = /* @__PURE__ */ xt(w3, [["render", T3], ["__scopeId", "data-v-88ad2e2
|
|
|
9275
9276
|
type: i.type,
|
|
9276
9277
|
tabindex: i.tabindex,
|
|
9277
9278
|
disabled: i.disabled || i.isLoading,
|
|
9278
|
-
class:
|
|
9279
|
+
class: Ye([
|
|
9279
9280
|
{ "full-width": i.fullWidth },
|
|
9280
9281
|
{ "icon-only": r.value },
|
|
9281
9282
|
{ "has-icon": i.label && i.icon },
|
|
@@ -9285,20 +9286,20 @@ const A3 = /* @__PURE__ */ xt(w3, [["render", T3], ["__scopeId", "data-v-88ad2e2
|
|
|
9285
9286
|
]),
|
|
9286
9287
|
onClick: o
|
|
9287
9288
|
}, [
|
|
9288
|
-
i.isLoading ? r.value ? (x(),
|
|
9289
|
+
i.isLoading ? r.value ? (x(), Ke(A3, { key: 1 })) : (x(), Ke(b3, {
|
|
9289
9290
|
key: 2,
|
|
9290
9291
|
"inside-button": !0
|
|
9291
9292
|
})) : (x(), $(to, { key: 0 }, [
|
|
9292
9293
|
q("span", L3, [
|
|
9293
|
-
i.icon ? (x(),
|
|
9294
|
+
i.icon ? (x(), Ke(Hn, {
|
|
9294
9295
|
key: 0,
|
|
9295
9296
|
icon: i.icon,
|
|
9296
9297
|
type: i.iconType,
|
|
9297
9298
|
"icon-color": i.iconColor
|
|
9298
9299
|
}, null, 8, ["icon", "type", "icon-color"])) : le("", !0)
|
|
9299
9300
|
]),
|
|
9300
|
-
i.label ? (x(), $("span", N3,
|
|
9301
|
-
i.subLabel ? (x(), $("span", k3,
|
|
9301
|
+
i.label ? (x(), $("span", N3, We(i.label), 1)) : le("", !0),
|
|
9302
|
+
i.subLabel ? (x(), $("span", k3, We(i.subLabel), 1)) : le("", !0),
|
|
9302
9303
|
q("i", E3, [
|
|
9303
9304
|
Xt(Hn, {
|
|
9304
9305
|
icon: "chevron-right",
|
|
@@ -9314,7 +9315,7 @@ const A3 = /* @__PURE__ */ xt(w3, [["render", T3], ["__scopeId", "data-v-88ad2e2
|
|
|
9314
9315
|
}, x3 = ["for"], M3 = {
|
|
9315
9316
|
key: 1,
|
|
9316
9317
|
class: "konnectio-description"
|
|
9317
|
-
}, I3 = ["innerHTML"], R3 = /* @__PURE__ */
|
|
9318
|
+
}, I3 = ["innerHTML"], R3 = /* @__PURE__ */ Ge({
|
|
9318
9319
|
__name: "InputField",
|
|
9319
9320
|
props: {
|
|
9320
9321
|
type: {},
|
|
@@ -9342,31 +9343,31 @@ const A3 = /* @__PURE__ */ xt(w3, [["render", T3], ["__scopeId", "data-v-88ad2e2
|
|
|
9342
9343
|
i.label ? (x(), $("label", {
|
|
9343
9344
|
key: 0,
|
|
9344
9345
|
for: Z(n),
|
|
9345
|
-
class:
|
|
9346
|
+
class: Ye([
|
|
9346
9347
|
"konnectio-label-wrapper"
|
|
9347
9348
|
])
|
|
9348
9349
|
}, [
|
|
9349
9350
|
q("div", {
|
|
9350
|
-
class:
|
|
9351
|
+
class: Ye([
|
|
9351
9352
|
"konnectio-label",
|
|
9352
9353
|
{ required: i.required },
|
|
9353
9354
|
{ "has-icon": a.value }
|
|
9354
9355
|
])
|
|
9355
9356
|
}, [
|
|
9356
|
-
a.value ? (x(),
|
|
9357
|
+
a.value ? (x(), Ke(Hn, {
|
|
9357
9358
|
key: 0,
|
|
9358
9359
|
icon: i.icon,
|
|
9359
9360
|
"icon-color": i.iconColor,
|
|
9360
9361
|
type: i.iconType
|
|
9361
9362
|
}, null, 8, ["icon", "icon-color", "type"])) : le("", !0),
|
|
9362
|
-
q("span", null,
|
|
9363
|
+
q("span", null, We(i.label), 1)
|
|
9363
9364
|
], 2),
|
|
9364
9365
|
i.description && i.descriptionPlacement === "label" ? (x(), $("div", P3, [
|
|
9365
|
-
q("span", null,
|
|
9366
|
+
q("span", null, We(`(${i.description})`), 1)
|
|
9366
9367
|
])) : le("", !0)
|
|
9367
9368
|
], 8, z3)) : le("", !0),
|
|
9368
9369
|
q("div", {
|
|
9369
|
-
class:
|
|
9370
|
+
class: Ye([
|
|
9370
9371
|
{ "has-icon": r.value },
|
|
9371
9372
|
{ "is-readonly": i.readonly },
|
|
9372
9373
|
"konnectio-input-fillable",
|
|
@@ -9395,7 +9396,7 @@ const A3 = /* @__PURE__ */ xt(w3, [["render", T3], ["__scopeId", "data-v-88ad2e2
|
|
|
9395
9396
|
}), bi = /* @__PURE__ */ xt(R3, [["__scopeId", "data-v-51cbdc62"]]);
|
|
9396
9397
|
/*! vue-number-input v2.0.1 | (c) 2018-present Chen Fengyuan | MIT */
|
|
9397
9398
|
const $t = Number.isNaN || window.isNaN, _3 = /^-?(?:\d+|\d+\.\d+|\.\d+)(?:[eE][-+]?\d+)?$/, F3 = /\.\d*(?:0|9){10}\d*$/, Zs = (e, t = 1e11) => F3.test(String(e)) ? Math.round(e * t) / t : e;
|
|
9398
|
-
var wi =
|
|
9399
|
+
var wi = Ge({
|
|
9399
9400
|
name: "VueNumberInput",
|
|
9400
9401
|
props: {
|
|
9401
9402
|
attrs: {
|
|
@@ -9525,7 +9526,7 @@ function j3(e, t, n, a, r, o) {
|
|
|
9525
9526
|
return x(), $(
|
|
9526
9527
|
"div",
|
|
9527
9528
|
{
|
|
9528
|
-
class:
|
|
9529
|
+
class: Ye(["vue-number-input", {
|
|
9529
9530
|
"vue-number-input--inline": e.inline,
|
|
9530
9531
|
"vue-number-input--center": e.center,
|
|
9531
9532
|
"vue-number-input--controls": e.controls,
|
|
@@ -9583,7 +9584,7 @@ var V3 = '.vue-number-input[data-v-188efc8c]{display:block;font-size:0;max-width
|
|
|
9583
9584
|
H3(V3);
|
|
9584
9585
|
wi.render = j3;
|
|
9585
9586
|
wi.__scopeId = "data-v-188efc8c";
|
|
9586
|
-
const gm = /* @__PURE__ */
|
|
9587
|
+
const gm = /* @__PURE__ */ Ge({
|
|
9587
9588
|
__name: "NumberField",
|
|
9588
9589
|
props: {
|
|
9589
9590
|
modelValue: { default: 0 },
|
|
@@ -9614,7 +9615,7 @@ const gm = /* @__PURE__ */ Ye({
|
|
|
9614
9615
|
}
|
|
9615
9616
|
return Wn(() => {
|
|
9616
9617
|
a.modelValue || o(a.minValue);
|
|
9617
|
-
}), (i, s) => (x(),
|
|
9618
|
+
}), (i, s) => (x(), Ke(bi, {
|
|
9618
9619
|
label: i.label,
|
|
9619
9620
|
id: Z(r),
|
|
9620
9621
|
icon: i.icon,
|
|
@@ -9654,7 +9655,7 @@ const gm = /* @__PURE__ */ Ye({
|
|
|
9654
9655
|
}, J3 = {
|
|
9655
9656
|
key: 5,
|
|
9656
9657
|
class: "konnectio-input-limit"
|
|
9657
|
-
}, X3 = /* @__PURE__ */
|
|
9658
|
+
}, X3 = /* @__PURE__ */ Ge({
|
|
9658
9659
|
__name: "TextField",
|
|
9659
9660
|
props: {
|
|
9660
9661
|
modelValue: {},
|
|
@@ -9702,7 +9703,7 @@ const gm = /* @__PURE__ */ Ye({
|
|
|
9702
9703
|
C();
|
|
9703
9704
|
}), (p, g) => {
|
|
9704
9705
|
const y = ol("tooltip");
|
|
9705
|
-
return x(),
|
|
9706
|
+
return x(), Ke(bi, {
|
|
9706
9707
|
label: p.label,
|
|
9707
9708
|
id: Z(i),
|
|
9708
9709
|
icon: p.icon,
|
|
@@ -9761,7 +9762,7 @@ const gm = /* @__PURE__ */ Ye({
|
|
|
9761
9762
|
]),
|
|
9762
9763
|
p.suffix ? (x(), $("div", Y3, [
|
|
9763
9764
|
q("div", null, [
|
|
9764
|
-
q("span", null,
|
|
9765
|
+
q("span", null, We(p.suffix), 1)
|
|
9765
9766
|
])
|
|
9766
9767
|
])) : le("", !0),
|
|
9767
9768
|
p.clipboard ? (x(), $("div", G3, [
|
|
@@ -9770,7 +9771,7 @@ const gm = /* @__PURE__ */ Ye({
|
|
|
9770
9771
|
class: "konnectio-copy-button",
|
|
9771
9772
|
onClick: g[2] || (g[2] = no((v) => Z(l)(s.value), ["prevent"]))
|
|
9772
9773
|
}, [
|
|
9773
|
-
q("span", null,
|
|
9774
|
+
q("span", null, We(Z(a)("general.copy")), 1)
|
|
9774
9775
|
])
|
|
9775
9776
|
])), [
|
|
9776
9777
|
[y, {
|
|
@@ -9784,10 +9785,10 @@ const gm = /* @__PURE__ */ Ye({
|
|
|
9784
9785
|
])) : le("", !0),
|
|
9785
9786
|
u.value !== 1 / 0 ? (x(), $("div", J3, [
|
|
9786
9787
|
q("span", {
|
|
9787
|
-
class:
|
|
9788
|
-
},
|
|
9788
|
+
class: Ye({ danger: u.value <= 15 })
|
|
9789
|
+
}, We(u.value), 3),
|
|
9789
9790
|
g[3] || (g[3] = Aa("/")),
|
|
9790
|
-
q("small", null,
|
|
9791
|
+
q("small", null, We(p.limit), 1)
|
|
9791
9792
|
])) : le("", !0)
|
|
9792
9793
|
]),
|
|
9793
9794
|
_: 1
|
|
@@ -10438,9 +10439,9 @@ function Ip(e, t, n, a, r, o) {
|
|
|
10438
10439
|
const i = ol("append-to-body");
|
|
10439
10440
|
return x(), $("div", {
|
|
10440
10441
|
dir: n.dir,
|
|
10441
|
-
class:
|
|
10442
|
+
class: Ye(["v-select", o.stateClasses])
|
|
10442
10443
|
}, [
|
|
10443
|
-
ve(e.$slots, "header",
|
|
10444
|
+
ve(e.$slots, "header", Ve(et(o.scope.header))),
|
|
10444
10445
|
q("div", {
|
|
10445
10446
|
id: `vs${n.uid}__combobox`,
|
|
10446
10447
|
ref: "toggle",
|
|
@@ -10462,8 +10463,8 @@ function Ip(e, t, n, a, r, o) {
|
|
|
10462
10463
|
key: n.getOptionKey(s),
|
|
10463
10464
|
class: "vs__selected"
|
|
10464
10465
|
}, [
|
|
10465
|
-
ve(e.$slots, "selected-option",
|
|
10466
|
-
Aa(
|
|
10466
|
+
ve(e.$slots, "selected-option", Ve(et(o.normalizeOptionForSlot(s))), () => [
|
|
10467
|
+
Aa(We(n.getOptionLabel(s)), 1)
|
|
10467
10468
|
]),
|
|
10468
10469
|
n.multiple ? (x(), $("button", {
|
|
10469
10470
|
key: 0,
|
|
@@ -10476,11 +10477,11 @@ function Ip(e, t, n, a, r, o) {
|
|
|
10476
10477
|
"aria-label": `Deselect ${n.getOptionLabel(s)}`,
|
|
10477
10478
|
onClick: (c) => o.deselect(s)
|
|
10478
10479
|
}, [
|
|
10479
|
-
(x(),
|
|
10480
|
+
(x(), Ke(Pr(o.childComponents.Deselect)))
|
|
10480
10481
|
], 8, Np)) : le("", !0)
|
|
10481
10482
|
]))
|
|
10482
10483
|
])), 256)),
|
|
10483
|
-
ve(e.$slots, "search",
|
|
10484
|
+
ve(e.$slots, "search", Ve(et(o.scope.search)), () => [
|
|
10484
10485
|
q("input", Rn({ class: "vs__search" }, o.scope.search.attributes, g1(o.scope.search.events)), null, 16)
|
|
10485
10486
|
])
|
|
10486
10487
|
], 512),
|
|
@@ -10494,14 +10495,14 @@ function Ip(e, t, n, a, r, o) {
|
|
|
10494
10495
|
"aria-label": "Clear Selected",
|
|
10495
10496
|
onClick: t[0] || (t[0] = (...s) => o.clearSelection && o.clearSelection(...s))
|
|
10496
10497
|
}, [
|
|
10497
|
-
(x(),
|
|
10498
|
+
(x(), Ke(Pr(o.childComponents.Deselect)))
|
|
10498
10499
|
], 8, Ep), [
|
|
10499
10500
|
[Ii, o.showClearButton]
|
|
10500
10501
|
]),
|
|
10501
|
-
ve(e.$slots, "open-indicator",
|
|
10502
|
-
n.noDrop ? le("", !0) : (x(),
|
|
10502
|
+
ve(e.$slots, "open-indicator", Ve(et(o.scope.openIndicator)), () => [
|
|
10503
|
+
n.noDrop ? le("", !0) : (x(), Ke(Pr(o.childComponents.OpenIndicator), Ve(Rn({ key: 0 }, o.scope.openIndicator.attributes)), null, 16))
|
|
10503
10504
|
]),
|
|
10504
|
-
ve(e.$slots, "spinner",
|
|
10505
|
+
ve(e.$slots, "spinner", Ve(et(o.scope.spinner)), () => [
|
|
10505
10506
|
fn(q("div", Dp, "Loading...", 512), [
|
|
10506
10507
|
[Ii, e.mutableLoading]
|
|
10507
10508
|
])
|
|
@@ -10520,12 +10521,12 @@ function Ip(e, t, n, a, r, o) {
|
|
|
10520
10521
|
onMousedown: t[2] || (t[2] = no((...s) => o.onMousedown && o.onMousedown(...s), ["prevent"])),
|
|
10521
10522
|
onMouseup: t[3] || (t[3] = (...s) => o.onMouseUp && o.onMouseUp(...s))
|
|
10522
10523
|
}, [
|
|
10523
|
-
ve(e.$slots, "list-header",
|
|
10524
|
+
ve(e.$slots, "list-header", Ve(et(o.scope.listHeader))),
|
|
10524
10525
|
(x(!0), $(to, null, Mi(o.filteredOptions, (s, l) => (x(), $("li", {
|
|
10525
10526
|
id: `vs${n.uid}__option-${l}`,
|
|
10526
10527
|
key: n.getOptionKey(s),
|
|
10527
10528
|
role: "option",
|
|
10528
|
-
class:
|
|
10529
|
+
class: Ye(["vs__dropdown-option", {
|
|
10529
10530
|
"vs__dropdown-option--deselect": o.isOptionDeselectable(s) && l === e.typeAheadPointer,
|
|
10530
10531
|
"vs__dropdown-option--selected": o.isOptionSelected(s),
|
|
10531
10532
|
"vs__dropdown-option--highlight": l === e.typeAheadPointer,
|
|
@@ -10535,16 +10536,16 @@ function Ip(e, t, n, a, r, o) {
|
|
|
10535
10536
|
onMouseover: (c) => n.selectable(s) ? e.typeAheadPointer = l : null,
|
|
10536
10537
|
onClick: no((c) => n.selectable(s) ? o.select(s) : null, ["prevent", "stop"])
|
|
10537
10538
|
}, [
|
|
10538
|
-
ve(e.$slots, "option",
|
|
10539
|
-
Aa(
|
|
10539
|
+
ve(e.$slots, "option", Ve(et(o.normalizeOptionForSlot(s))), () => [
|
|
10540
|
+
Aa(We(n.getOptionLabel(s)), 1)
|
|
10540
10541
|
])
|
|
10541
10542
|
], 42, zp))), 128)),
|
|
10542
10543
|
o.filteredOptions.length === 0 ? (x(), $("li", Pp, [
|
|
10543
|
-
ve(e.$slots, "no-options",
|
|
10544
|
+
ve(e.$slots, "no-options", Ve(et(o.scope.noOptions)), () => [
|
|
10544
10545
|
xp
|
|
10545
10546
|
])
|
|
10546
10547
|
])) : le("", !0),
|
|
10547
|
-
ve(e.$slots, "list-footer",
|
|
10548
|
+
ve(e.$slots, "list-footer", Ve(et(o.scope.listFooter)))
|
|
10548
10549
|
], 40, Op)), [
|
|
10549
10550
|
[i]
|
|
10550
10551
|
]) : (x(), $("ul", {
|
|
@@ -10556,10 +10557,10 @@ function Ip(e, t, n, a, r, o) {
|
|
|
10556
10557
|
]),
|
|
10557
10558
|
_: 3
|
|
10558
10559
|
}, 8, ["name"]),
|
|
10559
|
-
ve(e.$slots, "footer",
|
|
10560
|
+
ve(e.$slots, "footer", Ve(et(o.scope.footer)))
|
|
10560
10561
|
], 10, Ap);
|
|
10561
10562
|
}
|
|
10562
|
-
const Rp = /* @__PURE__ */ Ci(Tp, [["render", Ip]]), ym = /* @__PURE__ */
|
|
10563
|
+
const Rp = /* @__PURE__ */ Ci(Tp, [["render", Ip]]), ym = /* @__PURE__ */ Ge({
|
|
10563
10564
|
__name: "SelectField",
|
|
10564
10565
|
props: {
|
|
10565
10566
|
modelValue: {},
|
|
@@ -10594,7 +10595,7 @@ const Rp = /* @__PURE__ */ Ci(Tp, [["render", Ip]]), ym = /* @__PURE__ */ Ye({
|
|
|
10594
10595
|
function s(l) {
|
|
10595
10596
|
return l ? l.charAt(0).toUpperCase() + l.slice(1) : "";
|
|
10596
10597
|
}
|
|
10597
|
-
return (l, c) => (x(),
|
|
10598
|
+
return (l, c) => (x(), Ke(bi, {
|
|
10598
10599
|
label: l.label,
|
|
10599
10600
|
id: Z(a),
|
|
10600
10601
|
icon: l.icon,
|
|
@@ -10684,4 +10685,4 @@ export {
|
|
|
10684
10685
|
oc as y,
|
|
10685
10686
|
ic as z
|
|
10686
10687
|
};
|
|
10687
|
-
//# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-
|
|
10688
|
+
//# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-CmmPTYWX.js.map
|