@chamn/render 0.0.16 → 0.0.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/index.mjs CHANGED
@@ -4409,13 +4409,14 @@ class qm extends O.Component {
4409
4409
  getDomsById(r, n) {
4410
4410
  const o = this.getInstancesById(r), a = [];
4411
4411
  return o == null || o.forEach((i) => {
4412
+ var c;
4412
4413
  if ((i == null ? void 0 : i._STATUS) === "DESTROY")
4413
4414
  return;
4414
4415
  const s = ua.findDOMNode(i);
4415
4416
  if (s && !(s instanceof Text))
4416
4417
  if (n) {
4417
- const c = Array.from(s.querySelectorAll(n));
4418
- a.push(...c);
4418
+ const u = Array.from(((c = s.querySelectorAll) == null ? void 0 : c.call(s, n)) || []);
4419
+ a.push(...u);
4419
4420
  } else
4420
4421
  a.push(s);
4421
4422
  }), a;