@gridsheet/react-core 3.0.0-rc.2 → 3.0.0-rc.3

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.
Files changed (92) hide show
  1. package/dist/components/Cell.d.ts.map +1 -1
  2. package/dist/components/ColumnMenu.d.ts.map +1 -1
  3. package/dist/components/ColumnMenuFilterSection.d.ts +5 -0
  4. package/dist/components/ColumnMenuFilterSection.d.ts.map +1 -0
  5. package/dist/components/ColumnMenuLabelSection.d.ts +5 -0
  6. package/dist/components/ColumnMenuLabelSection.d.ts.map +1 -0
  7. package/dist/components/ColumnMenuSortSection.d.ts +5 -0
  8. package/dist/components/ColumnMenuSortSection.d.ts.map +1 -0
  9. package/dist/components/ContextMenu.d.ts +0 -19
  10. package/dist/components/ContextMenu.d.ts.map +1 -1
  11. package/dist/components/Editor.d.ts.map +1 -1
  12. package/dist/components/EditorOptions.d.ts.map +1 -1
  13. package/dist/components/FormulaBar.d.ts.map +1 -1
  14. package/dist/components/FunctionGuide.d.ts.map +1 -1
  15. package/dist/components/GridSheet.d.ts +6 -4
  16. package/dist/components/GridSheet.d.ts.map +1 -1
  17. package/dist/components/HeaderCellLeft.d.ts.map +1 -1
  18. package/dist/components/HeaderCellTop.d.ts.map +1 -1
  19. package/dist/components/MenuItem.d.ts +18 -0
  20. package/dist/components/MenuItem.d.ts.map +1 -0
  21. package/dist/components/PluginBase.d.ts +2 -2
  22. package/dist/components/PluginBase.d.ts.map +1 -1
  23. package/dist/components/RowMenu.d.ts.map +1 -1
  24. package/dist/components/StoreObserver.d.ts +7 -4
  25. package/dist/components/StoreObserver.d.ts.map +1 -1
  26. package/dist/components/Tabular.d.ts.map +1 -1
  27. package/dist/constants.d.ts +3 -0
  28. package/dist/constants.d.ts.map +1 -1
  29. package/dist/formula/evaluator.d.ts +28 -25
  30. package/dist/formula/evaluator.d.ts.map +1 -1
  31. package/dist/formula/formula-error.d.ts +1 -1
  32. package/dist/formula/formula-error.d.ts.map +1 -1
  33. package/dist/formula/functions/__async.d.ts +9 -9
  34. package/dist/formula/functions/__async.d.ts.map +1 -1
  35. package/dist/formula/functions/__base.d.ts +14 -21
  36. package/dist/formula/functions/__base.d.ts.map +1 -1
  37. package/dist/formula/functions/__utils.d.ts +2 -2
  38. package/dist/formula/functions/__utils.d.ts.map +1 -1
  39. package/dist/formula/functions/add.d.ts.map +1 -1
  40. package/dist/formula/functions/minus.d.ts +0 -1
  41. package/dist/formula/functions/minus.d.ts.map +1 -1
  42. package/dist/formula/solver.d.ts +25 -14
  43. package/dist/formula/solver.d.ts.map +1 -1
  44. package/dist/index.d.ts +16 -13
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +4487 -4524
  47. package/dist/index.js.map +1 -1
  48. package/dist/lib/autofill.d.ts +3 -3
  49. package/dist/lib/autofill.d.ts.map +1 -1
  50. package/dist/lib/{hub.d.ts → book.d.ts} +28 -27
  51. package/dist/lib/book.d.ts.map +1 -0
  52. package/dist/lib/cell.d.ts +6 -4
  53. package/dist/lib/cell.d.ts.map +1 -1
  54. package/dist/lib/clipboard.d.ts +7 -7
  55. package/dist/lib/coords.d.ts +13 -1
  56. package/dist/lib/coords.d.ts.map +1 -1
  57. package/dist/lib/dom.d.ts +5 -0
  58. package/dist/lib/dom.d.ts.map +1 -1
  59. package/dist/lib/input.d.ts +2 -2
  60. package/dist/lib/label.d.ts +4 -0
  61. package/dist/lib/label.d.ts.map +1 -0
  62. package/dist/lib/menu.d.ts +99 -0
  63. package/dist/lib/menu.d.ts.map +1 -0
  64. package/dist/lib/popup.d.ts +24 -0
  65. package/dist/lib/popup.d.ts.map +1 -0
  66. package/dist/lib/reference.d.ts +10 -4
  67. package/dist/lib/reference.d.ts.map +1 -1
  68. package/dist/lib/sheet.d.ts +507 -2
  69. package/dist/lib/sheet.d.ts.map +1 -1
  70. package/dist/lib/sheet_utils.d.ts +55 -0
  71. package/dist/lib/sheet_utils.d.ts.map +1 -0
  72. package/dist/lib/spatial.d.ts +5 -20
  73. package/dist/lib/spatial.d.ts.map +1 -1
  74. package/dist/lib/virtualization.d.ts +4 -4
  75. package/dist/policy/core.d.ts +13 -13
  76. package/dist/policy/core.d.ts.map +1 -1
  77. package/dist/sentinels.d.ts +3 -2
  78. package/dist/sentinels.d.ts.map +1 -1
  79. package/dist/store/actions.d.ts +3 -3
  80. package/dist/store/actions.d.ts.map +1 -1
  81. package/dist/store/dispatchers.d.ts +38 -34
  82. package/dist/store/dispatchers.d.ts.map +1 -1
  83. package/dist/store/helpers.d.ts +10 -5
  84. package/dist/store/helpers.d.ts.map +1 -1
  85. package/dist/styles/minified.d.ts +2 -2
  86. package/dist/styles/minified.d.ts.map +1 -1
  87. package/dist/types.d.ts +51 -35
  88. package/dist/types.d.ts.map +1 -1
  89. package/package.json +1 -1
  90. package/dist/lib/hub.d.ts.map +0 -1
  91. package/dist/lib/table.d.ts +0 -484
  92. package/dist/lib/table.d.ts.map +0 -1
@@ -1,484 +0,0 @@
1
- import { Id, AreaType, CellsByIdType, CellsByAddressType, PointType, Address, CellFilter, MatrixType, CellType, FilterConfig, HistoryType, StorePatchType, ShapeType, RectType, OperatorType, OperationType, RawCellType, ExtraPointType, StoreType, RefEvaluation } from '../types';
2
- import { FunctionMapping } from '../formula/functions/__base';
3
- import { Wire } from './hub';
4
- import { PolicyType, RenderProps } from '../policy/core';
5
- type Props = {
6
- minNumRows?: number;
7
- maxNumRows?: number;
8
- minNumCols?: number;
9
- maxNumCols?: number;
10
- functions?: FunctionMapping;
11
- sheetName?: string;
12
- hub?: Wire;
13
- };
14
- type GetProps = {
15
- refEvaluation?: RefEvaluation;
16
- raise?: boolean;
17
- filter?: CellFilter;
18
- asScalar?: boolean;
19
- };
20
- type MoveProps = {
21
- srcTable?: UserTable;
22
- src: AreaType;
23
- dst: AreaType;
24
- operator?: OperatorType;
25
- undoReflection?: StorePatchType;
26
- redoReflection?: StorePatchType;
27
- historicize?: boolean;
28
- };
29
- type CellField = keyof CellType;
30
- type GetCellProps = GetProps & {
31
- ignoreFields?: CellField[];
32
- };
33
- type ToCellMatrixProps = GetCellProps & {
34
- area?: AreaType;
35
- };
36
- type ToValueMatrixProps = GetProps & {
37
- area?: AreaType;
38
- };
39
- type ToCellObjectProps = GetCellProps & {
40
- addresses?: Address[];
41
- };
42
- type ToValueObjectProps = GetProps & {
43
- addresses?: Address[];
44
- };
45
- type ToCellRowsProps = GetCellProps & {
46
- rows?: number[];
47
- };
48
- type ToValueRowsProps = GetProps & {
49
- rows?: number[];
50
- };
51
- type ToCellColsProps = GetCellProps & {
52
- cols?: (number | string)[];
53
- };
54
- type ToValueColsProps = GetProps & {
55
- cols?: (number | string)[];
56
- };
57
- export interface UserTable {
58
- changedTime: number;
59
- lastChangedTime?: number;
60
- top: number;
61
- left: number;
62
- bottom: number;
63
- right: number;
64
- minNumRows: number;
65
- maxNumRows: number;
66
- minNumCols: number;
67
- maxNumCols: number;
68
- headerWidth: number;
69
- headerHeight: number;
70
- sheetName: string;
71
- /**
72
- * Returns the raw table object, which is used for internal operations.
73
- * This is not intended for public use and may change in future versions.
74
- */
75
- __raw__: Table;
76
- getRectSize(area: AreaType): RectType;
77
- getCellByPoint(point: PointType, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
78
- getCellByAddress(address: Address, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
79
- getPolicyByPoint(point: PointType): PolicyType;
80
- getNumRows(base?: number): number;
81
- getNumCols(base?: number): number;
82
- toValueMatrix(args?: ToValueMatrixProps): any[][];
83
- toValueObject(args?: ToValueObjectProps): {
84
- [address: Address]: any;
85
- };
86
- toValueRows(args?: ToValueRowsProps): {
87
- [address: Address]: any;
88
- }[];
89
- toValueCols(args?: ToValueColsProps): {
90
- [address: Address]: any;
91
- }[];
92
- toCellMatrix(args?: ToCellMatrixProps): (CellType | null)[][];
93
- toCellObject(args?: ToCellObjectProps): CellsByAddressType;
94
- toCellRows(args?: ToCellRowsProps): CellsByAddressType[];
95
- toCellCols(args?: ToCellColsProps): CellsByAddressType[];
96
- getHistories(): HistoryType[];
97
- move(args: MoveProps): UserTable;
98
- copy(args: MoveProps & {
99
- onlyValue?: boolean;
100
- }): UserTable;
101
- update(args: {
102
- diff: CellsByAddressType;
103
- historicize?: boolean;
104
- partial?: boolean;
105
- updateChangedTime?: boolean;
106
- reflection?: StorePatchType;
107
- }): UserTable;
108
- writeMatrix(args: {
109
- point: PointType;
110
- matrix: MatrixType<string>;
111
- updateChangedTime?: boolean;
112
- reflection?: StorePatchType;
113
- }): UserTable;
114
- write(args: {
115
- point: PointType;
116
- value: string;
117
- updateChangedTime?: boolean;
118
- reflection?: StorePatchType;
119
- }): UserTable;
120
- insertRows(args: {
121
- y: number;
122
- numRows: number;
123
- baseY: number;
124
- diff?: CellsByAddressType;
125
- partial?: boolean;
126
- updateChangedTime?: boolean;
127
- reflection?: StorePatchType;
128
- }): UserTable;
129
- removeRows(args: {
130
- y: number;
131
- numRows: number;
132
- reflection?: StorePatchType;
133
- }): UserTable;
134
- insertCols(args: {
135
- x: number;
136
- numCols: number;
137
- baseX: number;
138
- diff?: CellsByAddressType;
139
- partial?: boolean;
140
- updateChangedTime?: boolean;
141
- reflection?: StorePatchType;
142
- }): UserTable;
143
- removeCols(args: {
144
- x: number;
145
- numCols: number;
146
- reflection?: StorePatchType;
147
- }): UserTable;
148
- undo(): {
149
- history: HistoryType | null;
150
- };
151
- redo(): {
152
- history: HistoryType | null;
153
- };
154
- getHistories(): HistoryType[];
155
- getHistoryIndex(): number;
156
- getHistorySize(): number;
157
- setHeaderHeight(height: number, historicize?: boolean): UserTable;
158
- setHeaderWidth(width: number, historicize?: boolean): UserTable;
159
- sortRows(args: {
160
- x: number;
161
- direction: 'asc' | 'desc';
162
- }): UserTable;
163
- filterRows(args?: {
164
- x?: number;
165
- filter?: FilterConfig;
166
- }): UserTable;
167
- isRowFiltered(y: number): boolean;
168
- hasActiveFilters(): boolean;
169
- hasPendingCells(): boolean;
170
- waitForPending(): Promise<void>;
171
- getLastChangedAddresses(): Address[];
172
- stringify(props: {
173
- point: PointType;
174
- cell?: CellType;
175
- refEvaluation?: RefEvaluation;
176
- }): string;
177
- get shape(): {
178
- rows: number;
179
- cols: number;
180
- };
181
- }
182
- export declare class Table implements UserTable {
183
- __isTable: boolean;
184
- changedTime: number;
185
- lastChangedTime?: number;
186
- minNumRows: number;
187
- maxNumRows: number;
188
- minNumCols: number;
189
- maxNumCols: number;
190
- sheetId: number;
191
- sheetName: string;
192
- prevSheetName: string;
193
- status: 0 | 1 | 2;
194
- wire: Wire;
195
- idsToBeIdentified: Id[];
196
- totalWidth: number;
197
- totalHeight: number;
198
- fullHeight: number;
199
- private version;
200
- private idMatrix;
201
- private area;
202
- private addressCaches;
203
- private lastChangedAddresses;
204
- constructor({ minNumRows, maxNumRows, minNumCols, maxNumCols, sheetName, hub, }: Props);
205
- static is(obj: any): obj is Table;
206
- toString(): string;
207
- get headerHeight(): number;
208
- setHeaderHeight(height: number, historicize?: boolean): Table;
209
- get headerWidth(): number;
210
- setHeaderWidth(width: number, historicize?: boolean): Table;
211
- /** Get the raw (mutable) cell data for a point. Unlike getCellByPoint, this returns the actual wire.data reference. */
212
- private _getRawCellByPoint;
213
- isRowFiltered(y: number): boolean;
214
- hasActiveFilters(): boolean;
215
- /**
216
- * Returns true if any data cell in this sheet currently holds a Pending value
217
- * (i.e. an async formula that hasn't resolved yet).
218
- */
219
- hasPendingCells(): boolean;
220
- /**
221
- * Returns a Promise that resolves when all in-flight async formula computations
222
- * have completed and no data cells hold Pending values.
223
- * If nothing is pending, resolves immediately.
224
- * Useful for waiting before sort/filter so that cell values are fully resolved.
225
- */
226
- waitForPending(): Promise<void>;
227
- /**
228
- * Returns the addresses that were changed in the most recent `_update()` call.
229
- * Useful inside `onChange` to know which cells were modified.
230
- */
231
- getLastChangedAddresses(): Address[];
232
- /** Capture the current state of all filter-related cells (column headers + row headers) as a CellsByIdType snapshot */
233
- /** Capture the full cell state of all filter-related header cells as a CellsByIdType snapshot */
234
- private _captureFilterCellStates;
235
- filterRows({ x, filter, }?: {
236
- x?: number;
237
- filter?: FilterConfig;
238
- }): Table;
239
- private _reapplyFilters;
240
- sortRows({ x, direction }: {
241
- x: number;
242
- direction: 'asc' | 'desc';
243
- }): Table;
244
- private _sortRowMapping;
245
- get isInitialized(): boolean;
246
- get functions(): FunctionMapping;
247
- get policies(): {
248
- [policyName: string]: import('../policy/core').Policy | null;
249
- };
250
- identifyFormula(): void;
251
- getSheetId(): number;
252
- getTableBySheetName(sheetName: string): Table | null;
253
- getTableBySheetId(sheetId: number): Table | null;
254
- private static _stack;
255
- initialize(cells: CellsByAddressType): void;
256
- incrementVersion(): void;
257
- xsheetDispatch(otherTable: Table): void;
258
- private generateId;
259
- getRectSize({ top, left, bottom, right }: AreaType): RectType;
260
- setTotalSize(): void;
261
- refresh(relocate?: boolean, resize?: boolean): Table;
262
- clone(relocate?: boolean): Table;
263
- getPointById(id: Id, slideY?: number, slideX?: number): PointType & {
264
- absCol: boolean;
265
- absRow: boolean;
266
- };
267
- getAddressById(id: Id, slideY?: number, slideX?: number): string | undefined;
268
- getAddressesByIds(ids: CellsByIdType): CellsByAddressType;
269
- clearAddressCaches(): void;
270
- getId(point: PointType): string;
271
- getIdFormula(point: ExtraPointType): {
272
- id: Id | null;
273
- formula: string | null;
274
- };
275
- getCellByPoint(point: PointType, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
276
- getCellByAddress(address: Address, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
277
- getById(id: Id): CellType<any, any> | undefined;
278
- getNumRows(base?: number): number;
279
- getNumCols(base?: number): number;
280
- get top(): number;
281
- get left(): number;
282
- get bottom(): number;
283
- get right(): number;
284
- getFullRef(ref: Address): string;
285
- _toValueMatrix({ area, at, refEvaluation, raise, filter, asScalar, }?: ToValueMatrixProps & {
286
- at?: Id;
287
- }): any[][];
288
- toValueMatrix(props?: ToValueMatrixProps): any[][];
289
- toValueObject({ refEvaluation, raise, filter, addresses, asScalar, }?: ToValueObjectProps): {
290
- [Address: string]: any;
291
- };
292
- toValueRows({ refEvaluation, raise, filter, rows, asScalar, }?: ToValueRowsProps): CellsByAddressType[];
293
- toValueCols({ refEvaluation, raise, filter, cols, asScalar, }?: ToValueColsProps): CellsByAddressType[];
294
- toCellMatrix({ area, refEvaluation, raise, filter, ignoreFields, }?: ToCellMatrixProps): (CellType | null)[][];
295
- toCellObject({ refEvaluation, raise, filter, addresses, ignoreFields, }?: ToCellObjectProps): CellsByAddressType;
296
- toCellRows({ refEvaluation, raise, filter, rows, ignoreFields, }?: ToCellRowsProps): CellsByAddressType[];
297
- toCellCols({ refEvaluation, raise, filter, cols, ignoreFields, }?: ToCellColsProps): CellsByAddressType[];
298
- private pushHistory;
299
- private cleanObsolete;
300
- private cleanStrayed;
301
- /** Remove an id from wire.data and wire.dependents entirely. */
302
- private deleteOrphanedId;
303
- private setChangedTime;
304
- private copyCellLayout;
305
- move({ srcTable, src, dst, historicize, operator, undoReflection, redoReflection, }: MoveProps): Table;
306
- /**
307
- * Build MoveRelations from src area to dst area, skipping filtered rows.
308
- *
309
- * Layout of the returned array (processed in this order by _moveCells):
310
- * 1. Entries where [0] is a newly-generated ID — these fill the vacated src cells (processed last in forward order)
311
- * 2. Entries where [0] is a src address and [1] is a dst address — the actual moves (processed first in forward order, descending)
312
- * Entries whose [1] is an existing ID mean the destination cell is displaced/overflowed and
313
- * is no longer addressable; on forward pass they are skipped; on reverse pass the ID is written back.
314
- */
315
- private _createMoveRelations;
316
- get defaultPolicy(): PolicyType;
317
- /**
318
- * Apply (or reverse) a MoveRelations list.
319
- *
320
- * Forward (reverse=false): process descending — actual ID moves happen bottom-up so
321
- * earlier entries don't clobber later ones; vacate entries (at front of array) are
322
- * applied last.
323
- * Reverse (reverse=true): process ascending — restores IDs in the natural order.
324
- *
325
- * On forward pass: applies policy, collects diffBefore, runs ReferencePreserver.
326
- * On reverse pass: only moves IDs (caller is responsible for applyDiff(diffBefore)).
327
- */
328
- private _moveCells;
329
- copy({ srcTable, src, dst, onlyValue, operator, undoReflection, redoReflection, }: MoveProps & {
330
- onlyValue?: boolean;
331
- }): Table;
332
- getPolicyByPoint(point: PointType): PolicyType;
333
- private _update;
334
- update({ diff, partial, updateChangedTime, historicize, operator, operation: op, ignoreFields, undoReflection, redoReflection, }: {
335
- diff: CellsByAddressType;
336
- partial?: boolean;
337
- updateChangedTime?: boolean;
338
- historicize?: boolean;
339
- operator?: OperatorType;
340
- operation?: OperationType;
341
- ignoreFields?: CellField[];
342
- undoReflection?: StorePatchType;
343
- redoReflection?: StorePatchType;
344
- }): Table;
345
- writeRawCellMatrix({ point, matrix, updateChangedTime, historicize, onlyValue, operator, undoReflection, redoReflection, }: {
346
- point: PointType;
347
- matrix: MatrixType<RawCellType>;
348
- updateChangedTime?: boolean;
349
- historicize?: boolean;
350
- onlyValue?: boolean;
351
- operator?: OperatorType;
352
- undoReflection?: StorePatchType;
353
- redoReflection?: StorePatchType;
354
- }): Table;
355
- writeMatrix(props: {
356
- point: PointType;
357
- matrix: MatrixType<string>;
358
- updateChangedTime?: boolean;
359
- historicize?: boolean;
360
- operator?: OperatorType;
361
- undoReflection?: StorePatchType;
362
- redoReflection?: StorePatchType;
363
- }): Table;
364
- write(props: {
365
- point: PointType;
366
- value: string;
367
- updateChangedTime?: boolean;
368
- historicize?: boolean;
369
- operator?: OperatorType;
370
- undoReflection?: StorePatchType;
371
- redoReflection?: StorePatchType;
372
- }): Table;
373
- insertRows({ y, numRows, baseY, diff, partial, updateChangedTime, operator, undoReflection, redoReflection, }: {
374
- y: number;
375
- numRows: number;
376
- baseY: number;
377
- diff?: CellsByAddressType;
378
- partial?: boolean;
379
- updateChangedTime?: boolean;
380
- operator?: OperatorType;
381
- undoReflection?: StorePatchType;
382
- redoReflection?: StorePatchType;
383
- }): Table;
384
- removeRows({ y, numRows, operator, undoReflection, redoReflection, }: {
385
- y: number;
386
- numRows: number;
387
- operator?: OperatorType;
388
- undoReflection?: StorePatchType;
389
- redoReflection?: StorePatchType;
390
- }): Table;
391
- insertCols({ x, numCols, baseX, diff, partial, updateChangedTime, operator, undoReflection, redoReflection, }: {
392
- x: number;
393
- numCols: number;
394
- baseX: number;
395
- diff?: CellsByAddressType;
396
- partial?: boolean;
397
- updateChangedTime?: boolean;
398
- operator?: OperatorType;
399
- undoReflection?: StorePatchType;
400
- redoReflection?: StorePatchType;
401
- }): Table;
402
- removeCols({ x, numCols, operator, undoReflection, redoReflection, }: {
403
- x: number;
404
- numCols: number;
405
- operator?: OperatorType;
406
- undoReflection?: StorePatchType;
407
- redoReflection?: StorePatchType;
408
- }): Table;
409
- getHistories(): HistoryType[];
410
- getHistoryIndex(): number;
411
- getHistorySize(): number;
412
- getHistoryLimit(): number;
413
- getArea(): AreaType;
414
- parse(point: PointType, value: any): CellType;
415
- render(props: RenderProps): any;
416
- stringify({ point, cell, refEvaluation, }: {
417
- point: PointType;
418
- cell?: CellType;
419
- refEvaluation?: RefEvaluation;
420
- }): string;
421
- trim(area: AreaType): Table;
422
- /**
423
- * Solve all formulas in this table and return a 2D matrix of resolved values.
424
- */
425
- solve({ raise, at }: {
426
- raise?: boolean;
427
- at: Id;
428
- }): any[][];
429
- /**
430
- * Collapse this table to a scalar (top-left cell value).
431
- */
432
- strip(): any;
433
- private applyDiff;
434
- undo(): {
435
- history: null;
436
- newTable: Table;
437
- callback?: undefined;
438
- } | {
439
- history: HistoryType;
440
- callback: ({ tableReactive: tableRef }: StoreType) => void;
441
- newTable?: undefined;
442
- };
443
- redo(): {
444
- history: null;
445
- newTable: Table;
446
- callback?: undefined;
447
- } | {
448
- history: HistoryType;
449
- callback: ({ tableReactive: tableRef }: StoreType) => void;
450
- newTable?: undefined;
451
- };
452
- getFunction(name: string): typeof import('../formula/functions/__base').BaseFunction;
453
- getLabel(label: string | undefined, point: PointType, n: number): string | null;
454
- getBase(): this;
455
- addDependents(id: Id, dependency: string): void;
456
- getSolvedCache(point: PointType): [boolean, any];
457
- setSolvingCache(point: PointType): void;
458
- finishSolvedCache(point: PointType, value: any): void;
459
- clearSolvedCaches(): void;
460
- /**
461
- * Spill a 2D matrix of values starting from the origin cell.
462
- * The origin cell receives matrix[0][0] and adjacent cells receive spill values in solvedCaches.
463
- * For a 1×1 matrix, no spill occurs — the single value is cached directly.
464
- * Throws FormulaError('#REF!') if the spill range is obstructed.
465
- *
466
- * @param origin The anchor cell that produced the spill.
467
- * @param matrix The 2D array of resolved scalar values.
468
- * @returns The top-left value (matrix[0][0]).
469
- */
470
- spill(origin: PointType, matrix: any[][]): any;
471
- sheetPrefix(omit?: boolean): string;
472
- rangeToArea(range: string): {
473
- top: number;
474
- left: number;
475
- bottom: number;
476
- right: number;
477
- };
478
- get __raw__(): Table;
479
- get shape(): ShapeType;
480
- get hasSingleCell(): boolean;
481
- get currentVersion(): number;
482
- }
483
- export {};
484
- //# sourceMappingURL=table.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/lib/table.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAGF,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,UAAU,EACV,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,WAAW,EAEX,cAAc,EACd,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACd,SAAS,EACT,aAAa,EAKd,MAAM,UAAU,CAAC;AAWlB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAWnE,OAAO,EAAE,IAAI,EAAc,MAAM,OAAO,CAAC;AACzC,OAAO,EAAc,UAAU,EAAuB,WAAW,EAAe,MAAM,gBAAgB,CAAC;AAKvG,KAAK,KAAK,GAAG;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,E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