@thatopen/components 2.1.9 → 2.1.10
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/core/Components/index.d.ts +1 -1
- package/dist/fragments/Classifier/index.d.ts +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +4 -4
- package/dist/namespace.d.ts +2035 -2035
- package/package.json +1 -1
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.
|
|
2971
|
+
I(Fs, "release", "2.1.10");
|
|
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 (
|
|
7079
|
+
if (n === void 0 || r === null)
|
|
7080
7080
|
return null;
|
|
7081
7081
|
const a = n.get(r);
|
|
7082
7082
|
return a || null;
|
|
@@ -7201,7 +7201,7 @@ const Zr = /* @__PURE__ */ new Map([
|
|
|
7201
7201
|
* @returns A `Set` with the expressIDs of the found items.
|
|
7202
7202
|
*/
|
|
7203
7203
|
getEntityChildren(t, e, i = /* @__PURE__ */ new Set()) {
|
|
7204
|
-
if (i.add(e), this.relationMaps[t.uuid] === void 0)
|
|
7204
|
+
if (e === 22655 && console.log("Heyyy"), i.add(e), this.relationMaps[t.uuid] === void 0)
|
|
7205
7205
|
throw new Error(
|
|
7206
7206
|
"The provided model has no indices. You have to generate them first."
|
|
7207
7207
|
);
|
|
@@ -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)
|