@konnectio/core 4.1.9 → 4.1.11

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.
Files changed (54) hide show
  1. package/dist/{ActionField-BuKxbqV7.js → ActionField-OJ0B_Rvq.js} +2 -2
  2. package/dist/ActionField-OJ0B_Rvq.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-C6bsNxOH.js +320 -0
  4. package/dist/AvailabilitySkeleton-C6bsNxOH.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BTNcOGLh.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js.br +0 -0
  7. package/dist/{CheckoutWindow-DwhpIiYi.js → CheckoutWindow-C7Sez05a.js} +2 -2
  8. package/dist/CheckoutWindow-C7Sez05a.js.br +0 -0
  9. package/dist/{ErrorMessage-CFzuw9j3.js → ErrorMessage-BJIYUPxq.js} +2 -2
  10. package/dist/ErrorMessage-BJIYUPxq.js.br +0 -0
  11. package/dist/EventAvailabilityForm-BPl-K4R7.js +119 -0
  12. package/dist/EventAvailabilityForm-BPl-K4R7.js.br +0 -0
  13. package/dist/{Field-oNxIsCLM.js → Field-DrXN88nH.js} +3 -3
  14. package/dist/Field-DrXN88nH.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DnsnaJRD.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-yLLdxGIS.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-DtzW1W2I.js → SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js} +131 -131
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js.br +0 -0
  18. package/dist/{TermsOfService-DXELOUBd.js → TermsOfService-OiLRXZF3.js} +3 -3
  19. package/dist/_-WO7vPQFH.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-C5yEglNb.js → _.vue_vue_type_style_index_0_lang-Q0efa7Bu.js} +2 -2
  21. package/dist/availability.js +37 -33
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/event.js +104 -102
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-CG-DSH3E.js → giftCard-5wAI4XEl.js} +2 -2
  34. package/dist/giftCard-5wAI4XEl.js.br +0 -0
  35. package/dist/hotel.js +374 -373
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-BiWgaSkR.js → masonry.plugin-D19pwBpH.js} +6 -6
  38. package/dist/masonry.plugin-D19pwBpH.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +4 -4
  42. package/dist/ActionField-BuKxbqV7.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-BlvXi0xW.js +0 -319
  44. package/dist/AvailabilitySkeleton-BlvXi0xW.js.br +0 -0
  45. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BTNcOGLh.js.br +0 -0
  46. package/dist/CheckoutWindow-DwhpIiYi.js.br +0 -0
  47. package/dist/ErrorMessage-CFzuw9j3.js.br +0 -0
  48. package/dist/EventAvailabilityForm-ZZU_N5wA.js +0 -118
  49. package/dist/EventAvailabilityForm-ZZU_N5wA.js.br +0 -0
  50. package/dist/Field-oNxIsCLM.js.br +0 -0
  51. package/dist/SelectField.vue_vue_type_style_index_0_lang-DtzW1W2I.js.br +0 -0
  52. package/dist/_-C8wP6TJP.js +0 -5
  53. package/dist/giftCard-CG-DSH3E.js.br +0 -0
  54. package/dist/masonry.plugin-BiWgaSkR.js.br +0 -0
@@ -1,4 +1,4 @@
1
- import { aj as Vo, D as Vn, a9 as r1, aa as o1, a0 as i1, r as k, ak as s1, al as Kt, a7 as pt, o as Wn, M as Ta, R as il, W as Mi, c as d, g as Z, am as l1, I as P, H as Pt, s as pn, _ as c1, an as u1, d as Ke, Q as f1, a as We, b as z, n as qe, h as U, i as le, f as Qt, e as K, t as He, q as ye, Y as oa, F as no, a1 as Rn, w as un, u as d1, J as sl, E as fn, ao as p1, ap as m1, j as ao, v as Aa, a2 as Ue, a3 as et, A as Ii, a4 as zr, aq as h1, G as Ri, T as g1 } from "./mitt-BysJOgFD.js";
1
+ import { aj as Vo, D as Vn, a9 as r1, aa as o1, a0 as i1, r as k, ak as s1, al as Kt, a7 as pt, o as Wn, M as Ta, R as il, W as Mi, c as d, g as Z, am as l1, I as P, H as Pt, s as pn, _ as c1, an as u1, d as Ke, Q as f1, a as We, b as z, n as qe, h as j, i as le, f as Qt, e as K, t as He, q as ye, Y as oa, F as no, a1 as Rn, w as un, u as d1, J as sl, E as fn, ao as p1, ap as m1, j as ao, v as Aa, a2 as Ue, a3 as et, A as Ii, a4 as zr, aq as h1, G as Ri, T as g1 } from "./mitt-BysJOgFD.js";
2
2
  function Wo(e) {
3
3
  return r1() ? (o1(e), !0) : !1;
4
4
  }
@@ -321,7 +321,7 @@ function X(e, t, n, a = {}) {
321
321
  return p;
322
322
  const y = pt(t), v = M1(y), w = (r = a.serializer) != null ? r : G[v], { pause: L, resume: T } = cl(
323
323
  p,
324
- () => $(p.value),
324
+ () => B(p.value),
325
325
  { flush: o, deep: i, eventFilter: m }
326
326
  );
327
327
  Vn(g, () => ee(), { flush: o }), f && s && N1(() => {
@@ -340,7 +340,7 @@ function X(e, t, n, a = {}) {
340
340
  }));
341
341
  }
342
342
  }
343
- function $(M) {
343
+ function B(M) {
344
344
  try {
345
345
  const W = n.getItem(g.value);
346
346
  if (M == null)
@@ -353,7 +353,7 @@ function X(e, t, n, a = {}) {
353
353
  C(W);
354
354
  }
355
355
  }
356
- function H(M) {
356
+ function U(M) {
357
357
  const W = M ? M.newValue : n.getItem(g.value);
358
358
  if (W == null)
359
359
  return l && y != null && n.setItem(g.value, w.write(y)), y;
@@ -371,7 +371,7 @@ function X(e, t, n, a = {}) {
371
371
  if (!(M && M.key !== g.value)) {
372
372
  L();
373
373
  try {
374
- M?.newValue !== w.write(p.value) && (p.value = H(M));
374
+ M?.newValue !== w.write(p.value) && (p.value = U(M));
375
375
  } catch (W) {
376
376
  C(W);
377
377
  } finally {
@@ -1094,8 +1094,8 @@ function K1({
1094
1094
  F(w, e.numeric, L);
1095
1095
  const T = _e(ua), O = _e();
1096
1096
  F(T, t, T), F(T, n, O), F(O, t, T), F(O, n, O), A(v, at, T), A(L, at, T);
1097
- const $ = A(s, Lt), H = A(l, Lt), ee = A(H, at), Y = A(ee, at);
1098
- F(s, e.domain, i), A(s, nt, y), A(s, Fe, g), F(l, e.domain, i), A(l, nt, y), A(l, Fe, g), F($, e.domain, T), A($, at, T), A($, zn, T), F(Y, e.domain, T), F(Y, t, T), A(Y, at, T);
1097
+ const B = A(s, Lt), U = A(l, Lt), ee = A(U, at), Y = A(ee, at);
1098
+ F(s, e.domain, i), A(s, nt, y), A(s, Fe, g), F(l, e.domain, i), A(l, nt, y), A(l, Fe, g), F(B, e.domain, T), A(B, at, T), A(B, zn, T), F(Y, e.domain, T), F(Y, t, T), A(Y, at, T);
1099
1099
  const M = [
1100
1100
  [Dn, On],
1101
1101
  // {}
@@ -3427,10 +3427,10 @@ const Wl = (e) => {
3427
3427
  config: e,
3428
3428
  request: g
3429
3429
  };
3430
- Hl(function($) {
3431
- n($), p();
3432
- }, function($) {
3433
- a($), p();
3430
+ Hl(function(B) {
3431
+ n(B), p();
3432
+ }, function(B) {
3433
+ a(B), p();
3434
3434
  }, T), g = null;
3435
3435
  }
3436
3436
  "onloadend" in g ? g.onloadend = y : g.onreadystatechange = function() {
@@ -3612,11 +3612,11 @@ const p0 = async (e) => {
3612
3612
  duplex: "half"
3613
3613
  }), O;
3614
3614
  if (h.isFormData(a) && (O = T.headers.get("content-type")) && u.setContentType(O), T.body) {
3615
- const [$, H] = cs(
3615
+ const [B, U] = cs(
3616
3616
  g,
3617
3617
  Xa(us(l))
3618
3618
  );
3619
- a = ds(T.body, ps, $, H);
3619
+ a = ds(T.body, ps, B, U);
3620
3620
  }
3621
3621
  }
3622
3622
  h.isString(f) || (f = f ? "include" : "omit");
@@ -3637,13 +3637,13 @@ const p0 = async (e) => {
3637
3637
  ["status", "statusText", "headers"].forEach((ee) => {
3638
3638
  T[ee] = v[ee];
3639
3639
  });
3640
- const O = h.toFiniteNumber(v.headers.get("content-length")), [$, H] = s && cs(
3640
+ const O = h.toFiniteNumber(v.headers.get("content-length")), [B, U] = s && cs(
3641
3641
  O,
3642
3642
  Xa(us(s), !0)
3643
3643
  ) || [];
3644
3644
  v = new Response(
3645
- ds(v.body, ps, $, () => {
3646
- H && H(), p && p();
3645
+ ds(v.body, ps, B, () => {
3646
+ U && U(), p && p();
3647
3647
  }),
3648
3648
  T
3649
3649
  );
@@ -4432,14 +4432,14 @@ const N0 = (e) => {
4432
4432
  paymentId: T.easyPayment.paymentID,
4433
4433
  containerId: "konnectio-payment-checkout",
4434
4434
  language: be() === "da" ? "da-DK" : "en-GB"
4435
- }, $ = new Dibs.Checkout(O);
4436
- $.on("payment-completed", () => {
4435
+ }, B = new Dibs.Checkout(O);
4436
+ B.on("payment-completed", () => {
4437
4437
  console.log("Konnectio: Payment completed!"), y(), e({
4438
4438
  message: P.t("alert.success.payment"),
4439
4439
  type: "success"
4440
4440
  }), L();
4441
- }), $.on("pay-initialized", () => {
4442
- $.send("payment-order-finalized", !0);
4441
+ }), B.on("pay-initialized", () => {
4442
+ B.send("payment-order-finalized", !0);
4443
4443
  });
4444
4444
  }
4445
4445
  else
@@ -4470,12 +4470,12 @@ const N0 = (e) => {
4470
4470
  const e = li(), t = fc(), n = cc(), { voucher: a, amount: r } = pn(lc()), { display: o } = Zt(), { metaData: i } = pn(kt()), s = kt(), l = k({}), c = d(() => {
4471
4471
  const E = [];
4472
4472
  for (const x in l.value) {
4473
- const j = parseInt(x), B = se.value.roomGroups.find((wt) => wt.id === j), je = B?.title || "", Ze = {
4474
- roomGroupID: j,
4473
+ const $ = parseInt(x), H = se.value.roomGroups.find((wt) => wt.id === $), je = H?.title || "", Ze = {
4474
+ roomGroupID: $,
4475
4475
  title: je
4476
4476
  };
4477
- l.value[j].forEach((wt) => {
4478
- const $t = wt.id, aa = B?.rates.find((Tn) => Tn.id === $t), Cn = [];
4477
+ l.value[$].forEach((wt) => {
4478
+ const $t = wt.id, aa = H?.rates.find((Tn) => Tn.id === $t), Cn = [];
4479
4479
  if (aa) {
4480
4480
  const { name: Tn, occupantRates: Lr, addons: Nr } = aa, Li = {
4481
4481
  ratePlanID: $t,
@@ -4491,7 +4491,7 @@ const N0 = (e) => {
4491
4491
  const { adultsCount: Ei, childrenCount: Di } = Er;
4492
4492
  let { totalPrice: Oi } = Er;
4493
4493
  De.value && (Oi = De.value.offer.rooms.find(
4494
- (Ct) => Ct.ratePlanID === $t && Ct.roomGroupID === j
4494
+ (Ct) => Ct.ratePlanID === $t && Ct.roomGroupID === $
4495
4495
  )?.totalPrice);
4496
4496
  const Pi = [];
4497
4497
  if (!Nr) continue;
@@ -4520,7 +4520,7 @@ const N0 = (e) => {
4520
4520
  }
4521
4521
  const Dr = ra.roomId;
4522
4522
  let zi;
4523
- Dr && (zi = B?.roomList.find((Ct) => Ct.id === Dr)?.name), kr.push({
4523
+ Dr && (zi = H?.roomList.find((Ct) => Ct.id === Dr)?.name), kr.push({
4524
4524
  configIdx: e1,
4525
4525
  roomIdx: An,
4526
4526
  adultsCount: Ei,
@@ -4541,43 +4541,43 @@ const N0 = (e) => {
4541
4541
  function u() {
4542
4542
  for (const E in l.value) {
4543
4543
  const x = parseInt(E);
4544
- l.value[x].forEach((j) => {
4545
- j.config.forEach((B) => {
4546
- B.units = 0;
4544
+ l.value[x].forEach(($) => {
4545
+ $.config.forEach((H) => {
4546
+ H.units = 0;
4547
4547
  });
4548
4548
  });
4549
4549
  }
4550
4550
  }
4551
4551
  const f = d(() => N.value ? N.value.addons.length === 0 : c.value.every((E) => !m(E)));
4552
4552
  function m(E) {
4553
- return !E.variants?.every((x) => x.rooms?.every((j) => oe(x.addons, j.childrenCount).length === 0));
4553
+ return !E.variants?.every((x) => x.rooms?.every(($) => oe(x.addons, $.childrenCount).length === 0));
4554
4554
  }
4555
4555
  const C = d(() => c.value.length > 0);
4556
- function b(E, x, j) {
4557
- l.value[E][x].config[j].units = 0;
4556
+ function b(E, x, $) {
4557
+ l.value[E][x].config[$].units = 0;
4558
4558
  }
4559
4559
  const p = d(() => {
4560
4560
  const E = [];
4561
4561
  for (const x in Ie.value) {
4562
- const j = parseInt(x), B = Ie.value[j];
4563
- if (B > 0) {
4562
+ const $ = parseInt(x), H = Ie.value[$];
4563
+ if (H > 0) {
4564
4564
  const {
4565
4565
  price: je,
4566
4566
  name: Ze,
4567
4567
  quantityStrategy: wt
4568
- } = N.value.addons.find(($t) => $t.id === j);
4568
+ } = N.value.addons.find(($t) => $t.id === $);
4569
4569
  E.push({
4570
- addonID: j,
4570
+ addonID: $,
4571
4571
  name: Ze,
4572
4572
  price: je,
4573
- quantity: B,
4573
+ quantity: H,
4574
4574
  totalPrice: vo(
4575
4575
  je,
4576
4576
  wt,
4577
4577
  e.nights,
4578
4578
  e.adults,
4579
4579
  e.children
4580
- ) * B
4580
+ ) * H
4581
4581
  });
4582
4582
  }
4583
4583
  }
@@ -4588,11 +4588,11 @@ const N0 = (e) => {
4588
4588
  if (ce.value)
4589
4589
  E = x + q.value + g.value + v.value;
4590
4590
  else {
4591
- const j = c.value.flatMap(({ variants: B }) => B).flatMap(({ rooms: B }) => B).reduce((B, { totalPrice: je }) => B + je, x);
4592
- E = c.value.flatMap(({ variants: B }) => B).flatMap(({ rooms: B }) => B).flatMap(({ roomAddons: B }) => B).reduce((B, { totalPrice: je }) => B + je, j);
4591
+ const $ = c.value.flatMap(({ variants: H }) => H).flatMap(({ rooms: H }) => H).reduce((H, { totalPrice: je }) => H + je, x);
4592
+ E = c.value.flatMap(({ variants: H }) => H).flatMap(({ rooms: H }) => H).flatMap(({ roomAddons: H }) => H).reduce((H, { totalPrice: je }) => H + je, $);
4593
4593
  }
4594
4594
  return E;
4595
- }), v = d(() => st.value ? st.value.weekendFee : 0), w = d(() => c.value.flatMap(({ variants: E }) => E).flatMap(({ rooms: E }) => E)), L = d(() => ce.value ? 1 : w.value.length), T = d(() => ce.value ? M.value : w.value.reduce((E, { adultsCount: x }) => E + x, 0)), O = d(() => ce.value ? W.value : w.value.reduce((E, { childrenCount: x }) => E + x, 0)), $ = d(() => T.value > 0 ? T.value !== e.adults : !1), H = d(() => O.value > 0 ? O.value !== e.children : !1), ee = k(e.arrivalDate), Y = k(e.departureDate), M = k(e.adults), W = k(e.children), V = k(e.location || NaN), he = d(() => ee.value !== e.arrivalDate && Y.value !== e.departureDate), re = d(() => V.value !== e.location), ne = d(() => he.value || re.value), se = k({}), _ = k(!0), J = k(
4595
+ }), v = d(() => st.value ? st.value.weekendFee : 0), w = d(() => c.value.flatMap(({ variants: E }) => E).flatMap(({ rooms: E }) => E)), L = d(() => ce.value ? 1 : w.value.length), T = d(() => ce.value ? M.value : w.value.reduce((E, { adultsCount: x }) => E + x, 0)), O = d(() => ce.value ? W.value : w.value.reduce((E, { childrenCount: x }) => E + x, 0)), B = d(() => T.value > 0 ? T.value !== e.adults : !1), U = d(() => O.value > 0 ? O.value !== e.children : !1), ee = k(e.arrivalDate), Y = k(e.departureDate), M = k(e.adults), W = k(e.children), V = k(e.location || NaN), he = d(() => ee.value !== e.arrivalDate && Y.value !== e.departureDate), re = d(() => V.value !== e.location), ne = d(() => he.value || re.value), se = k({}), _ = k(!0), J = k(
4596
4596
  0
4597
4597
  /* InitialState */
4598
4598
  ), Ce = k(NaN), Ie = k({}), Re = k(NaN), en = k(""), xt = k(""), ge = k(""), Se = k(""), Ge = k(""), Be = X("konnectio_name", "", void 0, { serializer: G.string }), Mt = X("konnectio_nameTitle", 2, void 0, { serializer: G.number }), Le = X("konnectio_email", "", void 0, { serializer: G.string }), it = X("konnectio_phone", "", void 0, { serializer: G.string }), tn = X("konnectio_company", "", void 0, { serializer: G.string }), vt = X("konnectio_postal", "", void 0, { serializer: G.string }), $e = X("konnectio_city", "", void 0, { serializer: G.string }), It = X("konnectio_country", 57, void 0, { serializer: G.number }), yt = X("konnectio_address", "", void 0, { serializer: G.string }), Rt = X("konnectio_sortingKeys", {
@@ -4619,8 +4619,8 @@ const N0 = (e) => {
4619
4619
  );
4620
4620
  }), q = d(() => De.value ? De.value.offer.offerTemplates[0].totalPrice : N.value?.extraPrice || 0);
4621
4621
  function oe(E, x) {
4622
- let j = [];
4623
- return E && (j = E.filter((B) => !((B.quantityStrategy === ie.PerChild || B.quantityStrategy === ie.PerChildPerNight) && x == 0))), j;
4622
+ let $ = [];
4623
+ return E && ($ = E.filter((H) => !((H.quantityStrategy === ie.PerChild || H.quantityStrategy === ie.PerChildPerNight) && x == 0))), $;
4624
4624
  }
4625
4625
  function ke(E) {
4626
4626
  return se.value.roomGroups.find(
@@ -4633,8 +4633,8 @@ const N0 = (e) => {
4633
4633
  [REQUESTED ARRIVAL]: ${E} \r
4634
4634
  [REQUESTED DEPARTURE]: ${x}`;
4635
4635
  }
4636
- function Je(E, x, j, B) {
4637
- const Ze = (x ? j : B ? xt.value : ge.value).split(":");
4636
+ function Je(E, x, $, H) {
4637
+ const Ze = (x ? $ : H ? xt.value : ge.value).split(":");
4638
4638
  return Cu(
4639
4639
  new Date(E).setUTCHours(parseInt(Ze[0]), parseInt(Ze[1]), 0, 0)
4640
4640
  );
@@ -4662,27 +4662,27 @@ const N0 = (e) => {
4662
4662
  }
4663
4663
  _.value = !1;
4664
4664
  }
4665
- async function Ee(E = null, x) {
4665
+ async function Ee(E) {
4666
4666
  J.value = 1, _.value = !0;
4667
- let j = e.location;
4668
- isNaN(j) && (j = null);
4667
+ let x = e.location;
4668
+ isNaN(x) && (x = null);
4669
4669
  try {
4670
- const B = await de().get("/hotel/availability", {
4670
+ const $ = await de().get("/hotel/availability", {
4671
4671
  params: {
4672
4672
  fromDate: Nt(e.arrivalDate),
4673
4673
  toDate: Nt(e.departureDate),
4674
4674
  adultsCount: e.adults,
4675
4675
  childrenCount: e.children,
4676
4676
  roomGroupIds: s.hasActiveIdFilter ? s.activeIdFilter : null,
4677
- guestDiscountId: isNaN(x) ? null : x,
4677
+ guestDiscountId: E || null,
4678
4678
  language: be(),
4679
- hotelId: j
4679
+ hotelId: x
4680
4680
  }
4681
4681
  });
4682
- B.status !== 200 ? o({
4683
- message: `${P.t("booking.other.errorMessage")} (HTTP: ${B.status})`,
4682
+ $.status !== 200 ? o({
4683
+ message: `${P.t("booking.other.errorMessage")} (HTTP: ${$.status})`,
4684
4684
  type: "warning"
4685
- }) : (se.value = B.data, M.value = e.adults, W.value = e.children, ee.value = e.arrivalDate, Y.value = e.departureDate, V.value = e.location, xt.value = s.defaultArrivalTime(V.value), ge.value = s.defaultDepartureTime(V.value), si.emit("scrollToTop"), t.viewItemList());
4685
+ }) : (se.value = $.data, M.value = e.adults, W.value = e.children, ee.value = e.arrivalDate, Y.value = e.departureDate, V.value = e.location, xt.value = s.defaultArrivalTime(V.value), ge.value = s.defaultDepartureTime(V.value), si.emit("scrollToTop"), t.viewItemList());
4686
4686
  } catch {
4687
4687
  o({
4688
4688
  message: P.t("alert.error.couldntFetchListings"),
@@ -4730,13 +4730,13 @@ const N0 = (e) => {
4730
4730
  newsmails: Ft.value
4731
4731
  }
4732
4732
  });
4733
- let j = V.value;
4734
- return isNaN(j) && (j = null), {
4733
+ let $ = V.value;
4734
+ return isNaN($) && ($ = null), {
4735
4735
  offerID: De.value ? De.value.offer.id : null,
4736
4736
  totalPrice: y.value,
4737
4737
  fromDate: Nt(ee.value),
4738
4738
  toDate: Nt(Y.value),
4739
- hotelId: j,
4739
+ hotelId: $,
4740
4740
  guest: {
4741
4741
  travellingFor: en.value,
4742
4742
  title: Ki(Mt.value),
@@ -4800,12 +4800,12 @@ const N0 = (e) => {
4800
4800
  });
4801
4801
  return;
4802
4802
  }
4803
- J.value = 3, _.value = !0, await de().post("/hotel/create-reservation", on(!0)).then((j) => {
4803
+ J.value = 3, _.value = !0, await de().post("/hotel/create-reservation", on(!0)).then(($) => {
4804
4804
  rn.value = !1, _.value = !1;
4805
4805
  try {
4806
4806
  n.pay({
4807
4807
  callback: E,
4808
- response: j.data
4808
+ response: $.data
4809
4809
  });
4810
4810
  } catch {
4811
4811
  J.value = 2, o({
@@ -4813,10 +4813,10 @@ const N0 = (e) => {
4813
4813
  type: "warning"
4814
4814
  });
4815
4815
  }
4816
- }).catch((j) => {
4816
+ }).catch(($) => {
4817
4817
  _.value = !1;
4818
- const { status: B } = j.response;
4819
- B === 503 ? (J.value = 1, o({
4818
+ const { status: H } = $.response;
4819
+ H === 503 ? (J.value = 1, o({
4820
4820
  message: P.t("alert.error.noRoomAvailable"),
4821
4821
  type: "warning"
4822
4822
  }), x(), Qc()) : (J.value = 2, o({
@@ -4828,12 +4828,12 @@ const N0 = (e) => {
4828
4828
  async function Xc({
4829
4829
  id: E,
4830
4830
  reason: x,
4831
- remark: j
4831
+ remark: $
4832
4832
  }) {
4833
4833
  await de().post("/hotel/cancel-reservation", {
4834
4834
  id: E,
4835
4835
  reason: x,
4836
- remark: j
4836
+ remark: $
4837
4837
  });
4838
4838
  }
4839
4839
  function Si() {
@@ -4846,8 +4846,8 @@ const N0 = (e) => {
4846
4846
  lt();
4847
4847
  }
4848
4848
  return {
4849
- adultsMismatch: $,
4850
- childrenMismatch: H,
4849
+ adultsMismatch: B,
4850
+ childrenMismatch: U,
4851
4851
  totalRooms: L,
4852
4852
  totalAdults: T,
4853
4853
  totalChildren: O,
@@ -5027,7 +5027,7 @@ const N0 = (e) => {
5027
5027
  viewItemList: o
5028
5028
  };
5029
5029
  }), kt = Pt("utilities", () => {
5030
- const e = li(), t = fc(), { display: n } = Zt(), a = X("k_utils_settings", {}, void 0, { serializer: G.object }), r = k([]), o = k({}), 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), $ = d(() => a.value.maxChildAmount), H = d(() => a.value.firstSelectableDateOffset), ee = d(() => a.value.lastSelectableDateOffset), Y = d(() => a.value.hideTitle), M = d(() => a.value.headerHeight), W = d(() => a.value.enableStickyHeader), V = d(() => a.value.disableNamePrefix), he = d(() => a.value.disableGiftCardVoucher), re = d(() => a.value.disableDiscountVoucher), ne = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), J = d(() => a.value.disableTravelingFor), Ce = d(() => a.value.disableTravelingForBleasure), Ie = d(() => a.value.disableCompanyField), Re = d(() => a.value.hideEventLength), en = d(() => a.value.hideAvailabilityNotice), xt = d(() => a.value.autoSelectRateId), ge = d(() => a.value.splitBookingCalendar), Se = k(NaN), Ge = k(""), Be = k(!1), Mt = d(() => `Bearer ${Ge.value}`), Le = d(() => !!o.value && !!o.value.hotels), it = d(() => Le.value ? o.value.hotels[0].currency.currencyCode : ""), tn = d(() => Le.value ? o.value.hotels[0].currency.id : NaN), vt = d(() => Le.value ? o.value.hotels[0].name : ""), $e = d(() => Le.value && o.value.hotels[0].paymentGatewayId || Ht.None), It = d(() => !!w.value), yt = d(() => !isNaN(Se.value)), nn = d(() => {
5030
+ const e = li(), t = fc(), { display: n } = Zt(), a = X("k_utils_settings", {}, void 0, { serializer: G.object }), r = k([]), o = k({}), 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), ee = d(() => a.value.lastSelectableDateOffset), Y = d(() => a.value.hideTitle), M = d(() => a.value.headerHeight), W = d(() => a.value.enableStickyHeader), V = d(() => a.value.disableNamePrefix), he = d(() => a.value.disableGiftCardVoucher), re = d(() => a.value.disableDiscountVoucher), ne = d(() => a.value.disablePricesFrom), se = d(() => a.value.hideAvailableRoomAmount), _ = d(() => a.value.disableNewsletterSignup), J = d(() => a.value.disableTravelingFor), Ce = d(() => a.value.disableTravelingForBleasure), Ie = d(() => a.value.disableCompanyField), Re = d(() => a.value.hideEventLength), en = d(() => a.value.hideAvailabilityNotice), xt = d(() => a.value.autoSelectRateId), ge = d(() => a.value.splitBookingCalendar), Se = k(null), Ge = k(""), Be = k(!1), Mt = d(() => `Bearer ${Ge.value}`), Le = d(() => !!o.value && !!o.value.hotels), it = d(() => Le.value ? o.value.hotels[0].currency.currencyCode : ""), tn = d(() => Le.value ? o.value.hotels[0].currency.id : NaN), vt = d(() => Le.value ? o.value.hotels[0].name : ""), $e = d(() => Le.value && o.value.hotels[0].paymentGatewayId || Ht.None), It = d(() => !!w.value), yt = d(() => !!Se.value), nn = d(() => {
5031
5031
  let I = !0;
5032
5032
  return ($e.value === Ht.None || $e.value === Ht.AskForCreditCard) && (I = !1), I;
5033
5033
  });
@@ -5061,7 +5061,7 @@ const N0 = (e) => {
5061
5061
  Se.value = I;
5062
5062
  }
5063
5063
  function rn() {
5064
- Se.value = NaN;
5064
+ Se.value = null;
5065
5065
  }
5066
5066
  return {
5067
5067
  setAccessToken: Rt,
@@ -5104,8 +5104,8 @@ const N0 = (e) => {
5104
5104
  defaultAdultAmount: L,
5105
5105
  defaultChildAmount: T,
5106
5106
  maxAdultAmount: O,
5107
- maxChildAmount: $,
5108
- firstSelectableDateOffset: H,
5107
+ maxChildAmount: B,
5108
+ firstSelectableDateOffset: U,
5109
5109
  lastSelectableDateOffset: ee,
5110
5110
  hideTitle: Y,
5111
5111
  headerHeight: M,
@@ -5135,18 +5135,18 @@ function de() {
5135
5135
  headers: {
5136
5136
  Accept: "application/json",
5137
5137
  Authorization: dc.value,
5138
- "Konnectio-Version": "4.1.9",
5138
+ "Konnectio-Version": "4.1.11",
5139
5139
  "Konnectio-Ref": F0.ref
5140
5140
  }
5141
5141
  });
5142
5142
  }
5143
5143
  const $0 = Pt("event", () => {
5144
- const e = cc(), { voucher: t } = pn(lc()), { display: n } = Zt(), { metaData: a } = pn(kt()), r = kt(), o = li(), i = k({}), s = d(() => Object.keys(i.value).length > 0), l = k(void 0), c = k(!0), u = k(Oe.InitialState), f = k(NaN), m = k(1), C = k(NaN), b = k(NaN), p = k(""), g = X("konnectio_name", "", void 0, { serializer: G.string }), y = X("konnectio_phone", "", void 0, { serializer: G.string }), v = X("konnectio_email", "", void 0, { serializer: G.string }), w = k(""), L = k(""), T = k({}), O = k({}), $ = k("");
5145
- function H(N) {
5144
+ const e = cc(), { voucher: t } = pn(lc()), { display: n } = Zt(), { metaData: a } = pn(kt()), r = kt(), o = li(), i = k({}), s = d(() => Object.keys(i.value).length > 0), l = k(void 0), c = k(!0), u = k(Oe.InitialState), f = k(NaN), m = k(1), C = k(NaN), b = k(NaN), p = k(""), g = X("konnectio_name", "", void 0, { serializer: G.string }), y = X("konnectio_phone", "", void 0, { serializer: G.string }), v = X("konnectio_email", "", void 0, { serializer: G.string }), w = k(""), L = k(""), T = k({}), O = k({}), B = k("");
5145
+ function U(N) {
5146
5146
  return N ? N.templateId !== void 0 : !1;
5147
5147
  }
5148
- const ee = d(() => r.metaData.hotels.findIndex((N) => N.id === o.eventLocation) || 0), Y = d(() => r.metaData.hotels[ee.value]), M = d(() => Y.value ? Y.value.maxNumberPerBooking : 1 / 0), W = d(() => Y.value.name ? Y.value.name : ""), V = d(() => Y.value.subtitle ? Y.value.subtitle : ""), he = d(() => Y.value.timezone ? Y.value.timezone : ""), re = k(o.eventDate), ne = k(o.eventLocation), se = d(() => re.value !== o.eventDate), _ = d(() => ne.value !== o.eventLocation), J = d(() => se.value || _.value), Ce = d(() => o.eventDate.toISOString()), Ie = d(() => H(l.value)), Re = d(() => H(l.value) ? l.value.numberOfDays : m.value), en = d(() => H(l.value) ? l.value.packageCount : 0), xt = d(() => H(l.value) ? l.value.fromDate : ""), ge = d(() => i.value.events !== void 0 ? i.value.events.find((N) => N.id === C.value) : void 0), Se = d(() => ge.value ? ge.value.length : void 0), Ge = d(() => H(l.value) ? l.value.templateId : 0), Be = d(() => i.value.events.filter((N) => N.isAvailable === !0)), Mt = d(() => i.value.events.filter((N) => N.isAvailable === !1)), Le = d(() => i.value.templates), it = d(() => i.value.events.length > 0), tn = d(() => i.value.templates.length > 0), vt = d(() => ge.value && ge.value.eventRateType ? ge.value.eventRateType : go.None), $e = d(() => {
5149
- if (!H(l.value))
5148
+ const ee = d(() => r.metaData.hotels.findIndex((N) => N.id === o.eventLocation) || 0), Y = d(() => r.metaData.hotels[ee.value]), M = d(() => Y.value ? Y.value.maxNumberPerBooking : 1 / 0), W = d(() => Y.value.name ? Y.value.name : ""), V = d(() => Y.value.subtitle ? Y.value.subtitle : ""), he = d(() => Y.value.timezone ? Y.value.timezone : ""), re = k(o.eventDate), ne = k(o.eventLocation), se = d(() => re.value !== o.eventDate), _ = d(() => ne.value !== o.eventLocation), J = d(() => se.value || _.value), Ce = d(() => o.eventDate.toISOString()), Ie = d(() => U(l.value)), Re = d(() => U(l.value) ? l.value.numberOfDays : m.value), en = d(() => U(l.value) ? l.value.packageCount : 0), xt = 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), Se = d(() => ge.value ? ge.value.length : void 0), Ge = d(() => U(l.value) ? l.value.templateId : 0), Be = d(() => i.value.events.filter((N) => N.isAvailable === !0)), Mt = d(() => i.value.events.filter((N) => N.isAvailable === !1)), Le = d(() => i.value.templates), it = d(() => i.value.events.length > 0), tn = d(() => i.value.templates.length > 0), vt = d(() => ge.value && ge.value.eventRateType ? ge.value.eventRateType : go.None), $e = d(() => {
5149
+ if (!U(l.value))
5150
5150
  return l.value;
5151
5151
  }), It = d(() => {
5152
5152
  if ($e.value !== void 0) {
@@ -5158,12 +5158,12 @@ const $0 = Pt("event", () => {
5158
5158
  }
5159
5159
  return 0;
5160
5160
  }), yt = d(() => {
5161
- if (H(l.value))
5161
+ if (U(l.value))
5162
5162
  return l.value.rooms;
5163
5163
  });
5164
5164
  function nn(N, q, oe) {
5165
5165
  let ke = 0;
5166
- if (H(l.value)) {
5166
+ if (U(l.value)) {
5167
5167
  const ve = l.value.rooms[oe];
5168
5168
  if (ve) {
5169
5169
  const Je = ve.addons, Xe = T.value[`${q}.${N}.${oe}`] || 0;
@@ -5183,7 +5183,7 @@ const $0 = Pt("event", () => {
5183
5183
  }
5184
5184
  function Rt(N, q) {
5185
5185
  let oe = 0;
5186
- if (H(l.value))
5186
+ if (U(l.value))
5187
5187
  for (const ke in T.value) {
5188
5188
  const ve = ke.split(".");
5189
5189
  parseInt(ve[0]) === N && parseInt(ve[2]) === q && (oe += nn(parseInt(ve[1]), N, q));
@@ -5193,8 +5193,8 @@ const $0 = Pt("event", () => {
5193
5193
  oe += nn(parseInt(ke)) * m.value;
5194
5194
  return oe;
5195
5195
  }
5196
- const _t = d(() => H(l.value) && l.value.totalPrice || 0), an = d(() => {
5197
- if (H(l.value))
5196
+ const _t = d(() => U(l.value) && l.value.totalPrice || 0), an = d(() => {
5197
+ if (U(l.value))
5198
5198
  return l.value.rooms === void 0 ? NaN : l.value.rooms.flatMap((N) => N.roomGroupId).reduce(
5199
5199
  (N, q, oe) => N + Rt(q, oe),
5200
5200
  _t.value
@@ -5203,13 +5203,13 @@ const $0 = Pt("event", () => {
5203
5203
  let N = Rt();
5204
5204
  return N += It.value, N;
5205
5205
  }
5206
- }), Ft = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.weekendFee).reduce((N, q) => N + q, 0) || 0), rn = d(() => H(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.roomUpgrade).reduce((N, q) => N + q, 0) || 0), I = d(() => {
5206
+ }), Ft = d(() => U(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.weekendFee).reduce((N, q) => N + q, 0) || 0), rn = d(() => U(l.value) && l.value.rooms !== void 0 && l.value.rooms.flatMap((N) => N.roomUpgrade).reduce((N, q) => N + q, 0) || 0), I = d(() => {
5207
5207
  const N = O.value;
5208
5208
  let q = 0;
5209
5209
  for (const oe in N)
5210
5210
  q += Number.isNaN(N[oe]) ? 0 : N[oe];
5211
5211
  return q;
5212
- }), ce = d(() => I.value > 0), bt = d(() => !H(l.value) && ge.value ? ge.value.products.length > 0 : !1), Ne = d(() => bt.value ? ce.value : !0), Jn = d(() => vt.value !== go.FullDayEvent && !Ie.value), gr = d(() => !!(g.value !== "" && v.value !== "" && y.value.length >= 5 && Ne.value && (!Jn.value || p.value !== "")));
5212
+ }), ce = d(() => I.value > 0), bt = d(() => !U(l.value) && ge.value ? ge.value.products.length > 0 : !1), Ne = d(() => bt.value ? ce.value : !0), Jn = d(() => vt.value !== go.FullDayEvent && !Ie.value), gr = d(() => !!(g.value !== "" && v.value !== "" && y.value.length >= 5 && Ne.value && (!Jn.value || p.value !== "")));
5213
5213
  function Xn(N) {
5214
5214
  return u.value === Oe.ReservationState && C.value === N && c.value;
5215
5215
  }
@@ -5301,12 +5301,12 @@ const $0 = Pt("event", () => {
5301
5301
  }
5302
5302
  }
5303
5303
  async function Tr() {
5304
- if ($.value !== "")
5304
+ if (B.value !== "")
5305
5305
  try {
5306
5306
  const N = (await de().post("/event/validate-discount-code", {
5307
5307
  language: be(),
5308
5308
  date: re.value,
5309
- discountCode: $.value,
5309
+ discountCode: B.value,
5310
5310
  restaurantId: ne.value
5311
5311
  })).data;
5312
5312
  console.log(N);
@@ -5332,7 +5332,7 @@ const $0 = Pt("event", () => {
5332
5332
  };
5333
5333
  let oe, ke, ve;
5334
5334
  const Je = [];
5335
- if (H(l.value))
5335
+ if (U(l.value))
5336
5336
  yt.value?.forEach((Ee, lt) => {
5337
5337
  const on = [];
5338
5338
  let De = 0;
@@ -5377,12 +5377,12 @@ const $0 = Pt("event", () => {
5377
5377
  numberOfPeople: isNaN(f.value) ? I.value : f.value,
5378
5378
  days: Re.value,
5379
5379
  allergyFood: L.value,
5380
- discountCode: $.value,
5380
+ discountCode: B.value,
5381
5381
  giftCardCode: t.value,
5382
5382
  checkoutUrl: window.location.origin,
5383
5383
  privacyUrl: window.location.origin
5384
5384
  };
5385
- H(l.value) ? Qe.templateGroup = oe : (Qe.time = ve, Qe.eventId = C.value, Qe.products = ke, Xe = "/event/book-event"), await de().post(Xe, Qe).then((Ee) => {
5385
+ U(l.value) ? Qe.templateGroup = oe : (Qe.time = ve, Qe.eventId = C.value, Qe.products = ke, Xe = "/event/book-event"), await de().post(Xe, Qe).then((Ee) => {
5386
5386
  c.value = !1, e.pay({
5387
5387
  callback: N,
5388
5388
  response: Ee.data
@@ -5416,7 +5416,7 @@ const $0 = Pt("event", () => {
5416
5416
  arrivalTime: p,
5417
5417
  addons: T,
5418
5418
  products: O,
5419
- discountCode: $,
5419
+ discountCode: B,
5420
5420
  name: g,
5421
5421
  phone: y,
5422
5422
  email: v,
@@ -5475,8 +5475,8 @@ const $0 = Pt("event", () => {
5475
5475
  if (b.value)
5476
5476
  return r.value.hotels.some((J) => J.id === _);
5477
5477
  }
5478
- const w = X("k_event_loc", NaN, void 0, { serializer: G.number }), L = X("k_event_loc_c", NaN, void 0, { serializer: G.number }), T = X("k_event_date", Ss(), void 0, { serializer: G.date }), O = d(() => !!r.value && r.value.events.length > 1), $ = d(() => r.value ? r.value.events : []);
5479
- function H(_) {
5478
+ const w = X("k_event_loc", NaN, void 0, { serializer: G.number }), L = X("k_event_loc_c", NaN, void 0, { serializer: G.number }), T = X("k_event_date", Ss(), void 0, { serializer: G.date }), O = d(() => !!r.value && r.value.events.length > 1), B = d(() => r.value ? r.value.events : []);
5479
+ function U(_) {
5480
5480
  if (b.value)
5481
5481
  return r.value.events.some((J) => J.id === _);
5482
5482
  }
@@ -5541,7 +5541,7 @@ const $0 = Pt("event", () => {
5541
5541
  hasHotelLocations: p,
5542
5542
  hasEventLocations: O,
5543
5543
  hotelLocations: g,
5544
- eventLocations: $,
5544
+ eventLocations: B,
5545
5545
  eventLocationControl: L,
5546
5546
  controlLocation: m,
5547
5547
  hasSelectedLocation: C,
@@ -5552,7 +5552,7 @@ const $0 = Pt("event", () => {
5552
5552
  updateEventAvailability: he,
5553
5553
  fetchMetadata: se,
5554
5554
  isValidHotelId: v,
5555
- isValidRestaurantId: H,
5555
+ isValidRestaurantId: U,
5556
5556
  getHotelLocationName: ee,
5557
5557
  resetEventDate: re,
5558
5558
  updateEventDate: M
@@ -7858,8 +7858,8 @@ function Ys(e, t) {
7858
7858
  iconName: v,
7859
7859
  extra: L,
7860
7860
  watchable: !0
7861
- })), $ = Q.createElementNS("http://www.w3.org/2000/svg", "svg");
7862
- t === "::before" ? e.insertBefore($, e.firstChild) : e.appendChild($), $.outerHTML = O.map((H) => Gn(H)).join(`
7861
+ })), B = Q.createElementNS("http://www.w3.org/2000/svg", "svg");
7862
+ t === "::before" ? e.insertBefore(B, e.firstChild) : e.appendChild(B), B.outerHTML = O.map((U) => Gn(U)).join(`
7863
7863
  `), e.removeAttribute(n), a();
7864
7864
  }).catch(r);
7865
7865
  } else
@@ -8297,8 +8297,8 @@ var Yd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
8297
8297
  L.push(n(y, v[T], w));
8298
8298
  else {
8299
8299
  L = {};
8300
- for (var $ in v)
8301
- Object.prototype.hasOwnProperty.call(v, $) && (L[y($, w)] = n(y, v[$], w));
8300
+ for (var B in v)
8301
+ Object.prototype.hasOwnProperty.call(v, B) && (L[y(B, w)] = n(y, v[B], w));
8302
8302
  }
8303
8303
  return L;
8304
8304
  }, a = function(y, v) {
@@ -9132,11 +9132,11 @@ const R4 = {
9132
9132
  type: a,
9133
9133
  status: r
9134
9134
  } = pn(Zt());
9135
- return (o, i) => (z(), U("div", {
9135
+ return (o, i) => (z(), j("div", {
9136
9136
  class: qe(["konnectio-alert", Z(a), Z(r).toLowerCase()]),
9137
9137
  role: "alert"
9138
9138
  }, [
9139
- Z(n) ? (z(), U("div", d3, [
9139
+ Z(n) ? (z(), j("div", d3, [
9140
9140
  Qt(Hn, {
9141
9141
  icon: t[Z(a)]
9142
9142
  }, null, 8, ["icon"]),
@@ -9200,7 +9200,7 @@ const R4 = {
9200
9200
  return Wn(() => {
9201
9201
  const a = document.documentElement.style;
9202
9202
  a.setProperty("--accentColor", n.value.accentColor), a.setProperty("--accentColorSecondary", n.value.accentColorSecondary), a.setProperty("--buttonBackground", n.value.buttonBackground), a.setProperty("--buttonBorder", n.value.buttonBorder), a.setProperty("--buttonBorderRadius", n.value.buttonBorderRadius), a.setProperty("--buttonColor", n.value.buttonColor), a.setProperty("--buttonFontFamily", n.value.buttonFontFamily), a.setProperty("--buttonFontSize", n.value.buttonFontSize), a.setProperty("--buttonFontWeight", n.value.buttonFontWeight), a.setProperty("--buttonTextTransform", n.value.buttonTextTransform), a.setProperty("--dangerColor", n.value.dangerColor), a.setProperty("--fontColor", n.value.fontColor), a.setProperty("--fontFamily", n.value.fontFamily), a.setProperty("--fontWeight", n.value.fontWeight), a.setProperty("--fontSize", n.value.fontSize), a.setProperty("--grayColor", n.value.grayColor), a.setProperty("--headerColor", n.value.headerColor), a.setProperty("--headerFontFamily", n.value.headerFontFamily), a.setProperty("--headerLetterSpacing", n.value.headerLetterSpacing), a.setProperty("--headerTextTransform", n.value.headerTextTransform), a.setProperty("--inputBackground", n.value.inputBackground), a.setProperty("--inputBorder", n.value.inputBorder), a.setProperty("--inputBorderRadius", n.value.inputBorderRadius), a.setProperty("--inputBorderWidth", n.value.inputBorderWidth), a.setProperty("--inputFontColor", n.value.inputFontColor), a.setProperty("--inputFontWeight", n.value.inputFontWeight), a.setProperty("--inputFontSize", n.value.inputFontSize), a.setProperty("--labelFontColor", n.value.labelFontColor), a.setProperty("--labelFontWeight", n.value.labelFontWeight), a.setProperty("--labelFontSize", n.value.labelFontSize), a.setProperty("--labelPadding", n.value.labelPadding), a.setProperty("--linkColor", n.value.linkColor), a.setProperty("--linkHoverColor", n.value.linkHoverColor), a.setProperty("--loadingColor", n.value.loadingColor), a.setProperty("--panelBackground", n.value.panelBackground), a.setProperty("--panelBorder", n.value.panelBorder), a.setProperty("--panelBorderRadius", n.value.panelBorderRadius), a.setProperty("--panelInnerPadding", n.value.panelInnerPadding), a.setProperty("--panelMaxWidth", n.value.panelMaxWidth), a.setProperty("--panelPadding", n.value.panelPadding), a.setProperty("--panelShadow", n.value.panelShadow), a.setProperty("--successColor", n.value.successColor), a.setProperty("--stepBarBorderRadius", n.value.stepBarBorderRadius);
9203
- }), (a, r) => (z(), U("div", null, [
9203
+ }), (a, r) => (z(), j("div", null, [
9204
9204
  K("div", h3, [
9205
9205
  ye(a.$slots, "default", {}, void 0, !0)
9206
9206
  ]),
@@ -9214,7 +9214,7 @@ const R4 = {
9214
9214
  insideButton: { type: Boolean, default: !1 }
9215
9215
  },
9216
9216
  setup(e) {
9217
- return (t, n) => (z(), U("div", {
9217
+ return (t, n) => (z(), j("div", {
9218
9218
  class: qe([
9219
9219
  "konnectio-loading",
9220
9220
  { "inside-button": t.insideButton }
@@ -9236,7 +9236,7 @@ const R4 = {
9236
9236
  }
9237
9237
  }), y3 = /* @__PURE__ */ zt(v3, [["__scopeId", "data-v-38453619"]]), b3 = {}, w3 = { class: "konnectio-spinner" };
9238
9238
  function C3(e, t) {
9239
- return z(), U("div", w3, t[0] || (t[0] = [
9239
+ return z(), j("div", w3, t[0] || (t[0] = [
9240
9240
  K("span", null, null, -1)
9241
9241
  ]));
9242
9242
  }
@@ -9267,7 +9267,7 @@ const T3 = /* @__PURE__ */ zt(b3, [["render", C3], ["__scopeId", "data-v-88ad2e2
9267
9267
  function o() {
9268
9268
  n("click-event");
9269
9269
  }
9270
- return (i, s) => (z(), U("button", {
9270
+ return (i, s) => (z(), j("button", {
9271
9271
  ref: "button",
9272
9272
  type: i.type,
9273
9273
  tabindex: i.tabindex,
@@ -9285,7 +9285,7 @@ const T3 = /* @__PURE__ */ zt(b3, [["render", C3], ["__scopeId", "data-v-88ad2e2
9285
9285
  i.isLoading ? r.value ? (z(), We(T3, { key: 1 })) : (z(), We(y3, {
9286
9286
  key: 2,
9287
9287
  "inside-button": !0
9288
- })) : (z(), U(no, { key: 0 }, [
9288
+ })) : (z(), j(no, { key: 0 }, [
9289
9289
  K("span", S3, [
9290
9290
  i.icon ? (z(), We(Hn, {
9291
9291
  key: 0,
@@ -9294,8 +9294,8 @@ const T3 = /* @__PURE__ */ zt(b3, [["render", C3], ["__scopeId", "data-v-88ad2e2
9294
9294
  "icon-color": i.iconColor
9295
9295
  }, null, 8, ["icon", "type", "icon-color"])) : le("", !0)
9296
9296
  ]),
9297
- i.label ? (z(), U("span", L3, He(i.label), 1)) : le("", !0),
9298
- i.subLabel ? (z(), U("span", N3, He(i.subLabel), 1)) : le("", !0),
9297
+ i.label ? (z(), j("span", L3, He(i.label), 1)) : le("", !0),
9298
+ i.subLabel ? (z(), j("span", N3, He(i.subLabel), 1)) : le("", !0),
9299
9299
  K("i", k3, [
9300
9300
  Qt(Hn, {
9301
9301
  icon: "chevron-right",
@@ -9335,8 +9335,8 @@ const T3 = /* @__PURE__ */ zt(b3, [["render", C3], ["__scopeId", "data-v-88ad2e2
9335
9335
  } else
9336
9336
  return;
9337
9337
  });
9338
- return (i, s) => (z(), U("div", D3, [
9339
- i.label ? (z(), U("label", {
9338
+ return (i, s) => (z(), j("div", D3, [
9339
+ i.label ? (z(), j("label", {
9340
9340
  key: 0,
9341
9341
  for: Z(n),
9342
9342
  class: qe([
@@ -9358,7 +9358,7 @@ const T3 = /* @__PURE__ */ zt(b3, [["render", C3], ["__scopeId", "data-v-88ad2e2
9358
9358
  }, null, 8, ["icon", "icon-color", "type"])) : le("", !0),
9359
9359
  K("span", null, He(i.label), 1)
9360
9360
  ], 2),
9361
- i.description && i.descriptionPlacement === "label" ? (z(), U("div", P3, [
9361
+ i.description && i.descriptionPlacement === "label" ? (z(), j("div", P3, [
9362
9362
  K("span", null, He(`(${i.description})`), 1)
9363
9363
  ])) : le("", !0)
9364
9364
  ], 8, O3)) : le("", !0),
@@ -9371,7 +9371,7 @@ const T3 = /* @__PURE__ */ zt(b3, [["render", C3], ["__scopeId", "data-v-88ad2e2
9371
9371
  i.type
9372
9372
  ])
9373
9373
  }, [
9374
- r.value ? (z(), U("label", {
9374
+ r.value ? (z(), j("label", {
9375
9375
  key: 0,
9376
9376
  class: "konnectio-input-icon",
9377
9377
  for: Z(n)
@@ -9384,7 +9384,7 @@ const T3 = /* @__PURE__ */ zt(b3, [["render", C3], ["__scopeId", "data-v-88ad2e2
9384
9384
  ], 8, z3)) : le("", !0),
9385
9385
  ye(i.$slots, "default")
9386
9386
  ], 2),
9387
- i.description && i.descriptionPlacement === "field" ? (z(), U("div", x3, [
9387
+ i.description && i.descriptionPlacement === "field" ? (z(), j("div", x3, [
9388
9388
  K("span", { innerHTML: i.description }, null, 8, M3)
9389
9389
  ])) : le("", !0)
9390
9390
  ]));
@@ -9519,7 +9519,7 @@ var Ci = Ke({
9519
9519
  });
9520
9520
  const F3 = ["disabled"], B3 = ["name", "value", "min", "max", "step", "readonly", "disabled", "placeholder"], $3 = ["disabled"];
9521
9521
  function j3(e, t, n, a, r, o) {
9522
- return z(), U(
9522
+ return z(), j(
9523
9523
  "div",
9524
9524
  {
9525
9525
  class: qe(["vue-number-input", {
@@ -9530,7 +9530,7 @@ function j3(e, t, n, a, r, o) {
9530
9530
  }])
9531
9531
  },
9532
9532
  [
9533
- e.controls ? (z(), U("button", {
9533
+ e.controls ? (z(), j("button", {
9534
9534
  key: 0,
9535
9535
  class: "vue-number-input__button vue-number-input__button--minus",
9536
9536
  type: "button",
@@ -9555,7 +9555,7 @@ function j3(e, t, n, a, r, o) {
9555
9555
  onChange: t[1] || (t[1] = (...i) => e.change && e.change(...i)),
9556
9556
  onPaste: t[2] || (t[2] = (...i) => e.paste && e.paste(...i))
9557
9557
  }), null, 16, B3),
9558
- e.controls ? (z(), U("button", {
9558
+ e.controls ? (z(), j("button", {
9559
9559
  key: 1,
9560
9560
  class: "vue-number-input__button vue-number-input__button--plus",
9561
9561
  type: "button",
@@ -9712,13 +9712,13 @@ const hm = /* @__PURE__ */ Ke({
9712
9712
  limit: p.limit
9713
9713
  }, {
9714
9714
  default: un(() => [
9715
- m.value ? le("", !0) : (z(), U("input", {
9715
+ m.value ? le("", !0) : (z(), j("input", {
9716
9716
  key: 0,
9717
9717
  type: "hidden",
9718
9718
  name: p.name,
9719
9719
  value: p.modelValue
9720
9720
  }, null, 8, V3)),
9721
- p.type === "textarea" ? fn((z(), U("textarea", Rn({
9721
+ p.type === "textarea" ? fn((z(), j("textarea", Rn({
9722
9722
  key: 1,
9723
9723
  "onUpdate:modelValue": g[0] || (g[0] = (v) => s.value = v)
9724
9724
  }, p.$attrs, {
@@ -9737,7 +9737,7 @@ const hm = /* @__PURE__ */ Ke({
9737
9737
  onInput: b
9738
9738
  }), null, 16, W3)), [
9739
9739
  [p1, s.value]
9740
- ]) : fn((z(), U("input", Rn({
9740
+ ]) : fn((z(), j("input", Rn({
9741
9741
  key: 2,
9742
9742
  "onUpdate:modelValue": g[1] || (g[1] = (v) => s.value = v)
9743
9743
  }, p.$attrs, {
@@ -9756,13 +9756,13 @@ const hm = /* @__PURE__ */ Ke({
9756
9756
  }), null, 16, q3)), [
9757
9757
  [m1, s.value]
9758
9758
  ]),
9759
- p.suffix ? (z(), U("div", K3, [
9759
+ p.suffix ? (z(), j("div", K3, [
9760
9760
  K("div", null, [
9761
9761
  K("span", null, He(p.suffix), 1)
9762
9762
  ])
9763
9763
  ])) : le("", !0),
9764
- p.clipboard ? (z(), U("div", Y3, [
9765
- fn((z(), U("div", null, [
9764
+ p.clipboard ? (z(), j("div", Y3, [
9765
+ fn((z(), j("div", null, [
9766
9766
  K("button", {
9767
9767
  class: "konnectio-copy-button",
9768
9768
  onClick: g[2] || (g[2] = ao((v) => Z(l)(s.value), ["prevent"]))
@@ -9779,7 +9779,7 @@ const hm = /* @__PURE__ */ Ke({
9779
9779
  }]
9780
9780
  ])
9781
9781
  ])) : le("", !0),
9782
- u.value !== 1 / 0 ? (z(), U("div", G3, [
9782
+ u.value !== 1 / 0 ? (z(), j("div", G3, [
9783
9783
  K("span", {
9784
9784
  class: qe({ danger: u.value <= 15 })
9785
9785
  }, He(u.value), 3),
@@ -9917,7 +9917,7 @@ const np = {
9917
9917
  sp
9918
9918
  ];
9919
9919
  function cp(e, t) {
9920
- return z(), U("svg", ip, lp);
9920
+ return z(), j("svg", ip, lp);
9921
9921
  }
9922
9922
  const up = /* @__PURE__ */ Ti(op, [["render", cp]]), fp = {}, dp = {
9923
9923
  xmlns: "http://www.w3.org/2000/svg",
@@ -9927,7 +9927,7 @@ const up = /* @__PURE__ */ Ti(op, [["render", cp]]), fp = {}, dp = {
9927
9927
  pp
9928
9928
  ];
9929
9929
  function hp(e, t) {
9930
- return z(), U("svg", dp, mp);
9930
+ return z(), j("svg", dp, mp);
9931
9931
  }
9932
9932
  const gp = /* @__PURE__ */ Ti(fp, [["render", hp]]), ol = {
9933
9933
  Deselect: up,
@@ -10433,7 +10433,7 @@ https://vue-select.org/api/props.html#getoptionkey`, e, t);
10433
10433
  }, zp = /* @__PURE__ */ Aa(" Sorry, no matching options. "), xp = ["id"];
10434
10434
  function Mp(e, t, n, a, r, o) {
10435
10435
  const i = sl("append-to-body");
10436
- return z(), U("div", {
10436
+ return z(), j("div", {
10437
10437
  dir: n.dir,
10438
10438
  class: qe(["v-select", o.stateClasses])
10439
10439
  }, [
@@ -10449,20 +10449,20 @@ function Mp(e, t, n, a, r, o) {
10449
10449
  onMousedown: t[1] || (t[1] = (s) => o.toggleDropdown(s))
10450
10450
  }, [
10451
10451
  K("div", Sp, [
10452
- (z(!0), U(no, null, Ii(o.selectedValue, (s, l) => ye(e.$slots, "selected-option-container", {
10452
+ (z(!0), j(no, null, Ii(o.selectedValue, (s, l) => ye(e.$slots, "selected-option-container", {
10453
10453
  option: o.normalizeOptionForSlot(s),
10454
10454
  deselect: o.deselect,
10455
10455
  multiple: n.multiple,
10456
10456
  disabled: n.disabled
10457
10457
  }, () => [
10458
- (z(), U("span", {
10458
+ (z(), j("span", {
10459
10459
  key: n.getOptionKey(s),
10460
10460
  class: "vs__selected"
10461
10461
  }, [
10462
10462
  ye(e.$slots, "selected-option", Ue(et(o.normalizeOptionForSlot(s))), () => [
10463
10463
  Aa(He(n.getOptionLabel(s)), 1)
10464
10464
  ]),
10465
- n.multiple ? (z(), U("button", {
10465
+ n.multiple ? (z(), j("button", {
10466
10466
  key: 0,
10467
10467
  ref_for: !0,
10468
10468
  ref: (c) => r.deselectButtons[l] = c,
@@ -10507,7 +10507,7 @@ function Mp(e, t, n, a, r, o) {
10507
10507
  ], 40, Ap),
10508
10508
  Qt(g1, { name: n.transition }, {
10509
10509
  default: un(() => [
10510
- o.dropdownOpen ? fn((z(), U("ul", {
10510
+ o.dropdownOpen ? fn((z(), j("ul", {
10511
10511
  id: `vs${n.uid}__listbox`,
10512
10512
  ref: "dropdownMenu",
10513
10513
  key: `vs${n.uid}__listbox`,
@@ -10518,7 +10518,7 @@ function Mp(e, t, n, a, r, o) {
10518
10518
  onMouseup: t[3] || (t[3] = (...s) => o.onMouseUp && o.onMouseUp(...s))
10519
10519
  }, [
10520
10520
  ye(e.$slots, "list-header", Ue(et(o.scope.listHeader))),
10521
- (z(!0), U(no, null, Ii(o.filteredOptions, (s, l) => (z(), U("li", {
10521
+ (z(!0), j(no, null, Ii(o.filteredOptions, (s, l) => (z(), j("li", {
10522
10522
  id: `vs${n.uid}__option-${l}`,
10523
10523
  key: n.getOptionKey(s),
10524
10524
  role: "option",
@@ -10536,7 +10536,7 @@ function Mp(e, t, n, a, r, o) {
10536
10536
  Aa(He(n.getOptionLabel(s)), 1)
10537
10537
  ])
10538
10538
  ], 42, Op))), 128)),
10539
- o.filteredOptions.length === 0 ? (z(), U("li", Pp, [
10539
+ o.filteredOptions.length === 0 ? (z(), j("li", Pp, [
10540
10540
  ye(e.$slots, "no-options", Ue(et(o.scope.noOptions)), () => [
10541
10541
  zp
10542
10542
  ])
@@ -10544,7 +10544,7 @@ function Mp(e, t, n, a, r, o) {
10544
10544
  ye(e.$slots, "list-footer", Ue(et(o.scope.listFooter)))
10545
10545
  ], 40, Dp)), [
10546
10546
  [i]
10547
- ]) : (z(), U("ul", {
10547
+ ]) : (z(), j("ul", {
10548
10548
  key: 1,
10549
10549
  id: `vs${n.uid}__listbox`,
10550
10550
  role: "listbox",
@@ -10681,4 +10681,4 @@ export {
10681
10681
  lc as y,
10682
10682
  cc as z
10683
10683
  };
10684
- //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-DtzW1W2I.js.map
10684
+ //# sourceMappingURL=SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js.map