@factoringplus/pl-components-pack-v3 1.0.8-pre-07 → 1.0.8-pre-08

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.
@@ -5560,11 +5560,22 @@ function xA(e) {
5560
5560
  return (() => e.apply(n, t))().then((o) => {
5561
5561
  const s = document.getElementById(t[1]);
5562
5562
  if (s !== null) {
5563
- const i = s.querySelector(".loading__body");
5563
+ const i = Array.from(s.childNodes).find((u) => {
5564
+ if (u.className === "loading__body")
5565
+ return u;
5566
+ });
5564
5567
  i && s.removeChild(i);
5565
5568
  }
5566
5569
  return o;
5567
5570
  }).catch((o) => {
5571
+ const s = document.getElementById(t[1]);
5572
+ if (s !== null) {
5573
+ const i = Array.from(s.childNodes).find((u) => {
5574
+ if (u.className === "loading__body")
5575
+ return u;
5576
+ });
5577
+ i && s.removeChild(i);
5578
+ }
5568
5579
  throw o;
5569
5580
  });
5570
5581
  };
@@ -31623,7 +31634,7 @@ const qs = /* @__PURE__ */ new Map(), CG = {
31623
31634
  return e.addEventListener("touchmove", s, { passive: !0 }), { currentHandler: o, touchMoveHandler: s };
31624
31635
  }, Dm = (e, t = !1, n = !1) => {
31625
31636
  const r = document.createElement("div");
31626
- r.className = "loading__body", r.style.background = t ? "" : "rgb(255 255 255 / 80%)", r.style.height = n ? "100vh" : "", r.innerHTML += `
31637
+ r.className = "loading__body", r.style.background = t ? "" : "rgb(255 255 255 / 80%)", r.innerHTML += `
31627
31638
  <div class='loading__spinner-wrapper' data-testid='loading-plus'>
31628
31639
  <svg>
31629
31640
  <circle cx='18' cy='18' r='18'></circle>