@thatopen/components 2.1.10 → 2.1.12
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/index.cjs +2 -2
- package/dist/index.mjs +5 -5
- package/dist/namespace.d.ts +2407 -2407
- 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.12");
|
|
2972
2972
|
let pi = Fs;
|
|
2973
2973
|
class Ar {
|
|
2974
2974
|
constructor(s) {
|
|
@@ -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 (
|
|
7204
|
+
if (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
|
);
|
|
@@ -9593,7 +9593,7 @@ const Ge = class Ge extends et {
|
|
|
9593
9593
|
}
|
|
9594
9594
|
/** {@link Disposable.dispose} */
|
|
9595
9595
|
dispose() {
|
|
9596
|
-
this.webIfc
|
|
9596
|
+
this.webIfc = null, this.onDisposed.trigger(Ge.uuid), this.onDisposed.reset();
|
|
9597
9597
|
}
|
|
9598
9598
|
/**
|
|
9599
9599
|
* Sets up the IfcLoader component with the provided configuration.
|
|
@@ -10705,7 +10705,7 @@ const ws = class ws extends et {
|
|
|
10705
10705
|
}
|
|
10706
10706
|
/** {@link Disposable.dispose} */
|
|
10707
10707
|
dispose() {
|
|
10708
|
-
this.onIfcLoaded.reset(), this.onGeometryStreamed.reset(), this.onAssetStreamed.reset(), this.webIfc
|
|
10708
|
+
this.onIfcLoaded.reset(), this.onGeometryStreamed.reset(), this.onAssetStreamed.reset(), this.webIfc = null, this.onDisposed.trigger(), this.onDisposed.reset();
|
|
10709
10709
|
}
|
|
10710
10710
|
/**
|
|
10711
10711
|
* This method streams the IFC file from a given buffer.
|
|
@@ -10907,7 +10907,7 @@ class $r extends et {
|
|
|
10907
10907
|
}
|
|
10908
10908
|
/** {@link Disposable.dispose} */
|
|
10909
10909
|
async dispose() {
|
|
10910
|
-
this.onIndicesStreamed.reset(), this.onPropertiesStreamed.reset(), this.webIfc
|
|
10910
|
+
this.onIndicesStreamed.reset(), this.onPropertiesStreamed.reset(), this.webIfc = null, this.onDisposed.reset();
|
|
10911
10911
|
}
|
|
10912
10912
|
/**
|
|
10913
10913
|
* This method converts properties from an IFC file to tiles given its data as a Uint8Array.
|