bi-components-library 1.2.55 → 1.2.56

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/index.es.js CHANGED
@@ -2415,7 +2415,11 @@ const Fd = ({
2415
2415
  const r = l.getAttribute("data-node-type") || "";
2416
2416
  if (r === "report-url") {
2417
2417
  const u = l.getAttribute("data-report-url");
2418
- u && (t[`${n}__url`] = u);
2418
+ if (u) t[`${n}__url`] = u;
2419
+ else {
2420
+ const s = (l.innerText || "").replace(/[\u200B\n]/g, "").trim();
2421
+ /^https?:\/\//i.test(s) && (t[`${n}__url`] = s);
2422
+ }
2419
2423
  return;
2420
2424
  }
2421
2425
  const i = (l.innerText || "").replace(/​/g, "").replace(/\r\n/g, `