@thatopen/components 2.3.15 → 2.3.17
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/core/Types/src/data-map.d.ts +3 -1
- package/dist/fragments/Classifier/index.d.ts +1 -0
- package/dist/ifc/IfcPropertiesManager/index.d.ts +6 -1
- package/dist/index.cjs +19 -19
- package/dist/index.mjs +213 -201
- package/dist/namespace.d.ts +2283 -2248
- package/dist/openbim/IDSSpecifications/src/Specification.d.ts +4 -3
- package/dist/openbim/IDSSpecifications/src/facets/Attribute.d.ts +1 -0
- package/dist/openbim/IDSSpecifications/src/facets/Classification.d.ts +1 -0
- package/dist/openbim/IDSSpecifications/src/facets/Entity.d.ts +1 -0
- package/dist/openbim/IDSSpecifications/src/facets/Facet.d.ts +2 -1
- package/dist/openbim/IDSSpecifications/src/facets/Material.d.ts +1 -0
- package/dist/openbim/IDSSpecifications/src/facets/PartOf.d.ts +1 -0
- package/dist/openbim/IDSSpecifications/src/facets/Property.d.ts +1 -0
- package/dist/openbim/IDSSpecifications/src/types.d.ts +39 -20
- package/package.json +1 -1
|
@@ -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.3.
|
|
9
|
+
static readonly release = "2.3.17";
|
|
10
10
|
/** {@link Disposable.onDisposed} */
|
|
11
11
|
readonly onDisposed: Event<void>;
|
|
12
12
|
/**
|
|
@@ -39,7 +39,9 @@ export declare class DataMap<K, V> extends Map<K, V> {
|
|
|
39
39
|
*/
|
|
40
40
|
clear(): void;
|
|
41
41
|
/**
|
|
42
|
-
* Sets the value for the specified key in the map
|
|
42
|
+
* Sets the value for the specified key in the map.
|
|
43
|
+
* If the item is new, then onItemSet is triggered.
|
|
44
|
+
* If the item is already in the map, then onItemUpdated is triggered.
|
|
43
45
|
*
|
|
44
46
|
* @param key - The key of the item to set.
|
|
45
47
|
* @param value - The value of the item to set.
|
|
@@ -143,6 +143,7 @@ export declare class Classifier extends Component implements Disposable {
|
|
|
143
143
|
bySpatialStructure(model: FRAGS.FragmentsGroup, config?: {
|
|
144
144
|
useProperties?: boolean;
|
|
145
145
|
isolate?: Set<number>;
|
|
146
|
+
systemName?: string;
|
|
146
147
|
}): Promise<void>;
|
|
147
148
|
/**
|
|
148
149
|
* Sets the color of the specified fragments.
|
|
@@ -277,7 +277,12 @@ export declare class IfcPropertiesManager extends Component implements Disposabl
|
|
|
277
277
|
setAttributeListener(model: FragmentsGroup, expressID: number, attributeName: string): Promise<Event<String | Number | Boolean>>;
|
|
278
278
|
private getNewExpressID;
|
|
279
279
|
private newGUID;
|
|
280
|
-
|
|
280
|
+
getOwnerHistory(model: FragmentsGroup): Promise<{
|
|
281
|
+
ownerHistory: {
|
|
282
|
+
[attribute: string]: any;
|
|
283
|
+
};
|
|
284
|
+
ownerHistoryHandle: WEBIFC.Handle<unknown>;
|
|
285
|
+
}>;
|
|
281
286
|
private registerChange;
|
|
282
287
|
private newSingleProperty;
|
|
283
288
|
}
|