caplink-saas-ui-shared-component-library 1.95.0 → 1.97.0

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.
@@ -30,7 +30,7 @@ export declare function copySingleCellToClipboard(point: Matrix.Point, currentMa
30
30
  * @param currentMatrix - Current matrix state
31
31
  * @returns Result with clipboard text and success status
32
32
  */
33
- export declare function copyRangesToClipboard(ranges: Matrix.PointRange[], currentMatrix: Matrix.Matrix<MatrixValue>): CopyOperationResult;
33
+ export declare function copyRangesToClipboard(ranges: Matrix.PointRange[], currentMatrix: Matrix.Matrix<MatrixValue>, visibleRowIndices?: ReadonlySet<number>): CopyOperationResult;
34
34
  /**
35
35
  * Writes text to system clipboard
36
36
  * @param text - The text to write
@@ -1,6 +1,2 @@
1
1
  import { CopyOperationConfig, CopyOperationResult } from '../types';
2
- /**
3
- * Handles copying multiple cell ranges to clipboard
4
- * Formats data as tab-separated values (TSV) compatible with Excel/Sheets
5
- */
6
2
  export declare function copyRange(config: CopyOperationConfig): CopyOperationResult;
@@ -65,6 +65,8 @@ export interface CopyOperationConfig {
65
65
  sourceRanges: Matrix.PointRange[];
66
66
  /** Current matrix state */
67
67
  currentMatrix: Matrix.Matrix<MatrixValue>;
68
+ /** When set, only rows whose index is in this set are copied within each range */
69
+ visibleRowIndices?: ReadonlySet<number>;
68
70
  }
69
71
  /**
70
72
  * Result of a copy operation