| 1 | declare module 'x-data-spreadsheet' { |
| 2 | export interface Options { |
| 3 | mode?: 'edit' | 'read'; |
| 4 | showToolbar?: boolean; |
| 5 | showGrid?: boolean; |
| 6 | showContextmenu?: boolean; |
| 7 | view?: { |
| 8 | height: () => number; |
| 9 | width: () => number; |
| 10 | }; |
| 11 | row?: { |
| 12 | len: number; |
| 13 | height: number; |
| 14 | }; |
| 15 | col?: { |
| 16 | len: number; |
| 17 | width: number; |
| 18 | indexWidth: number; |
| 19 | minWidth: number; |
| 20 | }; |
| 21 | style?: { |
| 22 | bgcolor: string; |
| 23 | align: 'left' | 'center' | 'right'; |
| 24 | valign: 'top' | 'middle' | 'bottom'; |
| 25 | textwrap: boolean; |
| 26 | strike: boolean; |
| 27 | underline: boolean; |
| 28 | color: string; |
| 29 | font: { |
| 30 | name: 'Helvetica'; |
| 31 | size: number; |
| 32 | bold: boolean; |
| 33 | italic: false; |
| 34 | }; |
| 35 | }; |
| 36 | } |
| 37 | |
| 38 | export type CELL_SELECTED = 'cell-selected'; |
| 39 | export type CELLS_SELECTED = 'cells-selected'; |
nothing calls this directly
no outgoing calls
no test coverage detected