@thatopen/components 2.1.18 → 2.1.20

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.
@@ -6,7 +6,7 @@ export declare class Components implements Disposable {
6
6
  /**
7
7
  * The version of the @thatopen/components library.
8
8
  */
9
- static readonly release = "2.1.18";
9
+ static readonly release = "2.1.20";
10
10
  /** {@link Disposable.onDisposed} */
11
11
  readonly onDisposed: Event<void>;
12
12
  /**
@@ -18,6 +18,8 @@ export declare class IfcFragmentSettings {
18
18
  };
19
19
  /** List of categories that won't be converted to fragments. */
20
20
  excludedCategories: Set<number>;
21
+ /** Exclusive list of categories that will be converted to fragments. If this contains any category, any other categories will be ignored. */
22
+ includedCategories: Set<number>;
21
23
  /** Whether to save the absolute location of all IFC items. */
22
24
  saveLocations: boolean;
23
25
  /** Loader settings for [web-ifc](https://github.com/ThatOpen/engine_web-ifc). */
@@ -1,5 +1,5 @@
1
1
  import { InverseAttribute } from "./types";
2
- export declare const relToAttributesMap: Map<160246688 | 2655215786 | 919958153 | 1307041759 | 4186316022 | 781010003 | 307848117 | 3242617779 | 279856033 | 1204542856, {
2
+ export declare const relToAttributesMap: Map<160246688 | 2655215786 | 919958153 | 1307041759 | 4186316022 | 781010003 | 307848117 | 3242617779 | 279856033 | 1204542856 | 2857406711, {
3
3
  forRelating: InverseAttribute;
4
4
  forRelated: InverseAttribute;
5
5
  }>;
@@ -24,7 +24,8 @@ export type InverseAttributes = [
24
24
  "HasControlElements",
25
25
  "AssignedToFlowElement",
26
26
  "ConnectedTo",
27
- "ConnectedFrom"
27
+ "ConnectedFrom",
28
+ "ReferencedBy"
28
29
  ];
29
30
  export type InverseAttribute = InverseAttributes[number];
30
31
  /**
@@ -40,6 +41,7 @@ export type IfcRelations = [
40
41
  typeof WEBIFC.IFCRELDEFINESBYTEMPLATE,
41
42
  typeof WEBIFC.IFCRELCONTAINEDINSPATIALSTRUCTURE,
42
43
  typeof WEBIFC.IFCRELFLOWCONTROLELEMENTS,
43
- typeof WEBIFC.IFCRELCONNECTSELEMENTS
44
+ typeof WEBIFC.IFCRELCONNECTSELEMENTS,
45
+ typeof WEBIFC.IFCRELASSIGNSTOPRODUCT
44
46
  ];
45
47
  export type IfcRelation = IfcRelations[number];