@thatopen/components 2.1.11 → 2.1.13
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 +3 -3
- package/dist/index.mjs +6 -6
- package/dist/namespace.d.ts +2242 -2242
- 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.13");
|
|
2972
2972
|
let pi = Fs;
|
|
2973
2973
|
class Ar {
|
|
2974
2974
|
constructor(s) {
|
|
@@ -4845,7 +4845,7 @@ class We extends cr {
|
|
|
4845
4845
|
throw new Error("This camera needs a renderer to work!");
|
|
4846
4846
|
ot.install({ THREE: We.getSubsetOfThree() });
|
|
4847
4847
|
const { domElement: t } = this.currentWorld.renderer.three, e = new ot(this.three, t);
|
|
4848
|
-
return e.smoothTime = 0.2, e.dollyToCursor = !0, e.infinityDolly = !0, e;
|
|
4848
|
+
return e.smoothTime = 0.2, e.dollyToCursor = !0, e.infinityDolly = !0, e.minDistance = 6, e;
|
|
4849
4849
|
}
|
|
4850
4850
|
setupEvents(t) {
|
|
4851
4851
|
t ? window.addEventListener("resize", this.updateAspect) : window.removeEventListener("resize", this.updateAspect);
|
|
@@ -6965,7 +6965,7 @@ const Zr = /* @__PURE__ */ new Map([
|
|
|
6965
6965
|
if (!(n && r))
|
|
6966
6966
|
return;
|
|
6967
6967
|
const a = e[n].value, c = e[r].map((E) => E.value), h = t.get(a) ?? /* @__PURE__ */ new Map(), d = this.getAttributeIndex(o);
|
|
6968
|
-
d && (h.set(d, c), t.set(a, h));
|
|
6968
|
+
d !== null && (h.set(d, c), t.set(a, h));
|
|
6969
6969
|
for (const E of c) {
|
|
6970
6970
|
const u = t.get(E) ?? /* @__PURE__ */ new Map(), f = this.getAttributeIndex(i);
|
|
6971
6971
|
if (!f)
|
|
@@ -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.
|