@thatopen/components 2.4.0-alpha.1 → 2.4.0-alpha.2
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/Raycasters/src/mouse.d.ts +1 -0
- package/dist/fragments/IfcGeometryTiler/index.d.ts +5 -5
- package/dist/fragments/IfcLoader/src/ifc-fragment-settings.d.ts +0 -2
- package/dist/index.cjs +23 -23
- package/dist/index.mjs +793 -760
- package/dist/namespace.d.ts +3354 -3355
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as WEBIFC from "web-ifc";
|
|
2
|
-
import { Components, Disposable, Event, Component } from "../../core";
|
|
2
|
+
import { Components, Disposable, Event, Component, AsyncEvent } from "../../core";
|
|
3
3
|
import { IfcStreamingSettings, StreamedGeometries, StreamedAsset } from "./src";
|
|
4
4
|
export * from "./src";
|
|
5
5
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class IfcGeometryTiler extends Component implements Disposable {
|
|
|
15
15
|
* Event triggered when geometry is streamed.
|
|
16
16
|
* Contains the streamed geometry data and its buffer.
|
|
17
17
|
*/
|
|
18
|
-
readonly onGeometryStreamed:
|
|
18
|
+
readonly onGeometryStreamed: AsyncEvent<{
|
|
19
19
|
buffer: Uint8Array;
|
|
20
20
|
data: StreamedGeometries;
|
|
21
21
|
}>;
|
|
@@ -23,17 +23,17 @@ export declare class IfcGeometryTiler extends Component implements Disposable {
|
|
|
23
23
|
* Event triggered when assets are streamed.
|
|
24
24
|
* Contains the streamed assets.
|
|
25
25
|
*/
|
|
26
|
-
readonly onAssetStreamed:
|
|
26
|
+
readonly onAssetStreamed: AsyncEvent<StreamedAsset[]>;
|
|
27
27
|
/**
|
|
28
28
|
* Event triggered to indicate the progress of the streaming process.
|
|
29
29
|
* Contains the progress percentage.
|
|
30
30
|
*/
|
|
31
|
-
readonly onProgress:
|
|
31
|
+
readonly onProgress: AsyncEvent<number>;
|
|
32
32
|
/**
|
|
33
33
|
* Event triggered when the IFC file is loaded.
|
|
34
34
|
* Contains the loaded IFC file data.
|
|
35
35
|
*/
|
|
36
|
-
readonly onIfcLoaded:
|
|
36
|
+
readonly onIfcLoaded: AsyncEvent<Uint8Array>;
|
|
37
37
|
/** {@link Disposable.onDisposed} */
|
|
38
38
|
readonly onDisposed: Event<unknown>;
|
|
39
39
|
/**
|
|
@@ -8,8 +8,6 @@ export declare class IfcFragmentSettings {
|
|
|
8
8
|
* like IFCSPACE.
|
|
9
9
|
*/
|
|
10
10
|
optionalCategories: number[];
|
|
11
|
-
/** Whether to use the coordination data coming from the IFC files. */
|
|
12
|
-
coordinate: boolean;
|
|
13
11
|
/** Path of the WASM for [web-ifc](https://github.com/ThatOpen/engine_web-ifc). */
|
|
14
12
|
wasm: {
|
|
15
13
|
path: string;
|