@thatopen/components 2.3.16 → 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.
@@ -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.16";
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 and triggers the appropriate event (onItemSet or onItemUpdated).
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.
@@ -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
- private getOwnerHistory;
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
  }