@factoringplus/pl-components-pack-v3 1.0.8-pre-06 → 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,15 +5560,21 @@ 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");
5564
- console.log("then", i), console.log("then targetElement", s), i && s.removeChild(i);
5563
+ const i = Array.from(s.childNodes).find((u) => {
5564
+ if (u.className === "loading__body")
5565
+ return u;
5566
+ });
5567
+ i && s.removeChild(i);
5565
5568
  }
5566
5569
  return o;
5567
5570
  }).catch((o) => {
5568
5571
  const s = document.getElementById(t[1]);
5569
5572
  if (s !== null) {
5570
- const i = s.querySelector(".loading__body");
5571
- console.log("catch", i), console.log("catch targetElement", s), i && s.removeChild(i);
5573
+ const i = Array.from(s.childNodes).find((u) => {
5574
+ if (u.className === "loading__body")
5575
+ return u;
5576
+ });
5577
+ i && s.removeChild(i);
5572
5578
  }
5573
5579
  throw o;
5574
5580
  });
@@ -31628,7 +31634,7 @@ const qs = /* @__PURE__ */ new Map(), CG = {
31628
31634
  return e.addEventListener("touchmove", s, { passive: !0 }), { currentHandler: o, touchMoveHandler: s };
31629
31635
  }, Dm = (e, t = !1, n = !1) => {
31630
31636
  const r = document.createElement("div");
31631
- 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 += `
31632
31638
  <div class='loading__spinner-wrapper' data-testid='loading-plus'>
31633
31639
  <svg>
31634
31640
  <circle cx='18' cy='18' r='18'></circle>