@thatopen/components 2.0.5 → 2.0.8

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.
@@ -1,6 +1,5 @@
1
- /// <reference types="node" />
2
1
  import * as THREE from "three";
3
- import { Hideable, Event, World } from "../../Types";
2
+ import { Hideable, Event, World, Disposable } from "../../Types";
4
3
  import { Components } from "../../Components";
5
4
  export interface GridConfig {
6
5
  color: THREE.Color;
@@ -38,7 +37,6 @@ export declare class SimpleGrid implements Hideable, Disposable {
38
37
  readonly three: THREE.Mesh;
39
38
  private _fade;
40
39
  constructor(components: Components, world: World, config: GridConfig);
41
- [Symbol.dispose](): void;
42
40
  /** {@link Disposable.dispose} */
43
41
  dispose(): void;
44
42
  private setupEvents;
@@ -39,6 +39,7 @@ export declare class FragmentsManager extends Component implements Disposable {
39
39
  */
40
40
  load(data: Uint8Array, config?: Partial<{
41
41
  coordinate: boolean;
42
+ name: string;
42
43
  properties: FRAGS.IfcProperties;
43
44
  relationsMap: RelationsMap;
44
45
  }>): FragmentsGroup;
@@ -1,4 +1,5 @@
1
1
  import * as WEBIFC from "web-ifc";
2
2
  export declare class IfcMetadataReader {
3
- get(webIfc: WEBIFC.IfcAPI, type: number): string;
3
+ getNameInfo(webIfc: WEBIFC.IfcAPI): Record<string, any>;
4
+ getDescriptionInfo(webIfc: WEBIFC.IfcAPI): Record<string, any>;
4
5
  }
@@ -129,4 +129,4 @@ export declare class IfcRelationsIndexer extends Component implements Disposable
129
129
  */
130
130
  dispose(): void;
131
131
  }
132
- export type { InverseAttribute } from "./src/types";
132
+ export type { InverseAttribute, RelationsMap } from "./src/types";