vim-web 0.3.44-dev.23 → 0.3.44-dev.24

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.
@@ -9,6 +9,7 @@ export interface IViewerSelection {
9
9
  add(vim: Vim, node: number | number[]): void;
10
10
  remove(vim: Vim, node: number | number[]): void;
11
11
  clear(vim?: Vim): void;
12
+ get(): ReadonlyMap<Vim, ReadonlySet<number>>;
12
13
  }
13
14
  /**
14
15
  * Represents the result of a hit test operation.
@@ -32,6 +33,7 @@ export declare class ViewerSelection implements IViewerSelection {
32
33
  private _selectedNodes;
33
34
  private _onValueChanged;
34
35
  get onValueChanged(): import("ste-signals").ISignal;
36
+ get(): ReadonlyMap<Vim, ReadonlySet<number>>;
35
37
  /**
36
38
  * Creates a new ViewerSelection instance.
37
39
  * @param rpc - RPC client for communication with the viewer.
@@ -61354,6 +61354,9 @@ Averrage Date/Second ${avgDataRatePS} kb
61354
61354
  get onValueChanged() {
61355
61355
  return this._onValueChanged.asEvent();
61356
61356
  }
61357
+ get() {
61358
+ return this._selectedNodes;
61359
+ }
61357
61360
  /**
61358
61361
  * Gets the total number of selected nodes across all VIMs.
61359
61362
  * @returns The total count of selected nodes.