vis-data 7.1.4 → 7.1.5

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.
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * Manage unstructured data using DataSet. Add, update, and remove data, and listen for changes in the data.
6
6
  *
7
- * @version 7.1.4
8
- * @date 2022-03-15T15:23:59.245Z
7
+ * @version 7.1.5
8
+ * @date 2023-03-21T20:54:51.525Z
9
9
  *
10
10
  * @copyright (c) 2011-2017 Almende B.V, http://almende.com
11
11
  * @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
@@ -413,7 +413,7 @@
413
413
  }
414
414
 
415
415
  /**
416
- * [[DataSet]] code that can be reused in [[DataView]] or other similar implementations of [[DataInterface]].
416
+ * {@link DataSet} code that can be reused in {@link DataView} or other similar implementations of {@link DataInterface}.
417
417
  *
418
418
  * @typeParam Item - Item type that may or may not have an id.
419
419
  * @typeParam IdProp - Name of the property that contains the id.
@@ -477,9 +477,9 @@
477
477
  * Data stream
478
478
  *
479
479
  * @remarks
480
- * [[DataStream]] offers an always up to date stream of items from a [[DataSet]] or [[DataView]].
481
- * That means that the stream is evaluated at the time of iteration, conversion to another data type or when [[cache]] is called, not when the [[DataStream]] was created.
482
- * Multiple invocations of for example [[toItemArray]] may yield different results (if the data source like for example [[DataSet]] gets modified).
480
+ * {@link DataStream} offers an always up to date stream of items from a {@link DataSet} or {@link DataView}.
481
+ * That means that the stream is evaluated at the time of iteration, conversion to another data type or when {@link cache} is called, not when the {@link DataStream} was created.
482
+ * Multiple invocations of for example {@link toItemArray} may yield different results (if the data source like for example {@link DataSet} gets modified).
483
483
  * @typeParam Item - The item type this stream is going to work with.
484
484
  */
485
485
  class DataStream {
@@ -597,7 +597,7 @@
597
597
  *
598
598
  * @remarks
599
599
  * This method allows for items to be fetched immediatelly and used (possibly multiple times) later.
600
- * It can also be used to optimize performance as [[DataStream]] would otherwise reevaluate everything upon each iteration.
600
+ * It can also be used to optimize performance as {@link DataStream} would otherwise reevaluate everything upon each iteration.
601
601
  *
602
602
  * ## Example
603
603
  * ```javascript
@@ -612,7 +612,7 @@
612
612
  * ds.clear()
613
613
  * chachedStream // Still has all the items.
614
614
  * ```
615
- * @returns A new [[DataStream]] with cached items (detached from the original [[DataSet]]).
615
+ * @returns A new {@link DataStream} with cached items (detached from the original {@link DataSet}).
616
616
  */
617
617
  cache() {
618
618
  return new DataStream([...this._pairs]);
@@ -1455,7 +1455,7 @@
1455
1455
  /**
1456
1456
  * Clear the entire data set.
1457
1457
  *
1458
- * After the items are removed, the [[DataSet]] will trigger an event `remove` for all removed items. When a `senderId` is provided, this id will be passed with the triggered event to all subscribers.
1458
+ * After the items are removed, the {@link DataSet} will trigger an event `remove` for all removed items. When a `senderId` is provided, this id will be passed with the triggered event to all subscribers.
1459
1459
  *
1460
1460
  * @param senderId - Sender id.
1461
1461
  * @returns removedIds - The ids of all removed items.
@@ -2057,7 +2057,5 @@
2057
2057
  exports.isDataSetLike = isDataSetLike;
2058
2058
  exports.isDataViewLike = isDataViewLike;
2059
2059
 
2060
- Object.defineProperty(exports, '__esModule', { value: true });
2061
-
2062
2060
  }));
2063
2061
  //# sourceMappingURL=vis-data.js.map