@univerjs/sheets 0.2.5 → 0.2.6

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.
@@ -60,6 +60,12 @@ export declare class WorkbookSelections extends Disposable {
60
60
  /** Clear all selections in this workbook. */
61
61
  clear(): void;
62
62
  addSelections(sheetId: string, selectionDatas: ISelectionWithStyle[]): void;
63
+ /**
64
+ *
65
+ * @param sheetId
66
+ * @param selectionDatas
67
+ * @param type
68
+ */
63
69
  setSelections(sheetId: string, selectionDatas: ISelectionWithStyle[], type?: SelectionMoveType): void;
64
70
  getCurrentSelections(): Readonly<ISelectionWithStyle[]>;
65
71
  getSelectionOfWorksheet(sheetId: string): ISelectionWithStyle[];
@@ -68,6 +74,11 @@ export declare class WorkbookSelections extends Disposable {
68
74
  primary: ISelectionCell;
69
75
  }>>;
70
76
  private _worksheetSelections;
77
+ /**
78
+ * same as _getCurrentSelections, but would set [] if no selection.
79
+ * @param sheetId
80
+ * @returns this._worksheetSelections
81
+ */
71
82
  private _ensureSheetSelection;
72
83
  private _emitOnEnd;
73
84
  }