@thatopen/components 2.1.17 → 2.1.18
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/ifc/IfcRelationsIndexer/src/relToAttributesMap.d.ts +1 -1
- package/dist/ifc/IfcRelationsIndexer/src/types.d.ts +17 -0
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +156 -154
- package/dist/namespace.d.ts +2222 -2205
- package/package.json +2 -2
|
@@ -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.
|
|
9
|
+
static readonly release = "2.1.18";
|
|
10
10
|
/** {@link Disposable.onDisposed} */
|
|
11
11
|
readonly onDisposed: Event<void>;
|
|
12
12
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InverseAttribute } from "./types";
|
|
2
|
-
export declare const relToAttributesMap: Map<
|
|
2
|
+
export declare const relToAttributesMap: Map<160246688 | 2655215786 | 919958153 | 1307041759 | 4186316022 | 781010003 | 307848117 | 3242617779 | 279856033 | 1204542856, {
|
|
3
3
|
forRelating: InverseAttribute;
|
|
4
4
|
forRelated: InverseAttribute;
|
|
5
5
|
}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as WEBIFC from "web-ifc";
|
|
1
2
|
export type RelationsMap = Map<number, Map<number, number[]>>;
|
|
2
3
|
export interface ModelsRelationMap {
|
|
3
4
|
[modelID: string]: RelationsMap;
|
|
@@ -26,3 +27,19 @@ export type InverseAttributes = [
|
|
|
26
27
|
"ConnectedFrom"
|
|
27
28
|
];
|
|
28
29
|
export type InverseAttribute = InverseAttributes[number];
|
|
30
|
+
/**
|
|
31
|
+
* Type alias for an array of IfcRelation types from WebIfc.
|
|
32
|
+
*/
|
|
33
|
+
export type IfcRelations = [
|
|
34
|
+
typeof WEBIFC.IFCRELAGGREGATES,
|
|
35
|
+
typeof WEBIFC.IFCRELASSOCIATESMATERIAL,
|
|
36
|
+
typeof WEBIFC.IFCRELASSOCIATESCLASSIFICATION,
|
|
37
|
+
typeof WEBIFC.IFCRELASSIGNSTOGROUP,
|
|
38
|
+
typeof WEBIFC.IFCRELDEFINESBYPROPERTIES,
|
|
39
|
+
typeof WEBIFC.IFCRELDEFINESBYTYPE,
|
|
40
|
+
typeof WEBIFC.IFCRELDEFINESBYTEMPLATE,
|
|
41
|
+
typeof WEBIFC.IFCRELCONTAINEDINSPATIALSTRUCTURE,
|
|
42
|
+
typeof WEBIFC.IFCRELFLOWCONTROLELEMENTS,
|
|
43
|
+
typeof WEBIFC.IFCRELCONNECTSELEMENTS
|
|
44
|
+
];
|
|
45
|
+
export type IfcRelation = IfcRelations[number];
|