@thatopen/components 2.1.9 → 2.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.
package/dist/index.mjs CHANGED
@@ -2968,7 +2968,7 @@ const Fs = class Fs {
2968
2968
  /**
2969
2969
  * The version of the @thatopen/components library.
2970
2970
  */
2971
- I(Fs, "release", "2.1.9");
2971
+ I(Fs, "release", "2.1.11");
2972
2972
  let pi = Fs;
2973
2973
  class Ar {
2974
2974
  constructor(s) {
@@ -7076,7 +7076,7 @@ const Zr = /* @__PURE__ */ new Map([
7076
7076
  `IfcRelationsIndexer: model ${t.uuid} has no relations indexed.`
7077
7077
  );
7078
7078
  const n = o.get(e), r = this.getAttributeIndex(i);
7079
- if (!(n && r))
7079
+ if (n === void 0 || r === null)
7080
7080
  return null;
7081
7081
  const a = n.get(r);
7082
7082
  return a || null;
@@ -10392,7 +10392,7 @@ const ys = class ys extends et {
10392
10392
  *
10393
10393
  * @throws Will throw an error if the fragment ID is not found or if the model relations do not exist.
10394
10394
  */
10395
- async bySpatialStructure(t, e) {
10395
+ async bySpatialStructure(t, e = {}) {
10396
10396
  var c, h;
10397
10397
  const i = this.components.get(pe), o = i.relationMaps[t.uuid];
10398
10398
  if (!o)