@sheetpane/grid 0.3.0 → 0.4.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.
- package/README.md +294 -13
- package/custom-elements.json +292 -27
- package/dist/check.d.ts +75 -0
- package/dist/check.d.ts.map +1 -0
- package/dist/check.js +151 -0
- package/dist/check.js.map +1 -0
- package/dist/errors/element.d.ts +90 -12
- package/dist/errors/element.d.ts.map +1 -1
- package/dist/errors/element.js +572 -50
- package/dist/errors/element.js.map +1 -1
- package/dist/excel/element.d.ts +168 -15
- package/dist/excel/element.d.ts.map +1 -1
- package/dist/excel/element.js +752 -90
- package/dist/excel/element.js.map +1 -1
- package/dist/excel/link.d.ts +40 -0
- package/dist/excel/link.d.ts.map +1 -0
- package/dist/excel/link.js +90 -0
- package/dist/excel/link.js.map +1 -0
- package/dist/excel/styles.d.ts.map +1 -1
- package/dist/excel/styles.js +37 -5
- package/dist/excel/styles.js.map +1 -1
- package/dist/frameworks/elements.d.ts +57 -17
- package/dist/frameworks/jsx.d.ts +15 -9
- package/dist/frameworks/solid.d.ts +51 -11
- package/dist/frameworks/svelte.d.ts +28 -16
- package/dist/frameworks/vue.d.ts +15 -9
- package/dist/index.d.ts +9 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +3027 -239
- package/dist/llms.txt +92 -86
- package/dist/pane/protection.d.ts +61 -0
- package/dist/pane/protection.d.ts.map +1 -0
- package/dist/pane/protection.js +89 -0
- package/dist/pane/protection.js.map +1 -0
- package/dist/pane/rules.d.ts +1 -1
- package/dist/pane/rules.d.ts.map +1 -1
- package/dist/pane/store.d.ts +336 -15
- package/dist/pane/store.d.ts.map +1 -1
- package/dist/pane/store.js +891 -44
- package/dist/pane/store.js.map +1 -1
- package/dist/pane/structure.d.ts +58 -0
- package/dist/pane/structure.d.ts.map +1 -0
- package/dist/pane/structure.js +238 -0
- package/dist/pane/structure.js.map +1 -0
- package/dist/pane/types.d.ts +195 -6
- package/dist/pane/types.d.ts.map +1 -1
- package/dist/pane/types.js +57 -0
- package/dist/pane/types.js.map +1 -1
- package/dist/plugins/types.d.ts +34 -6
- package/dist/plugins/types.d.ts.map +1 -1
- package/dist/plugins/types.js.map +1 -1
- package/dist/shared/detail.d.ts +24 -0
- package/dist/shared/detail.d.ts.map +1 -0
- package/dist/shared/detail.js +75 -0
- package/dist/shared/detail.js.map +1 -0
- package/dist/shared/dom.d.ts +3 -0
- package/dist/shared/dom.d.ts.map +1 -1
- package/dist/shared/dom.js +3 -0
- package/dist/shared/dom.js.map +1 -1
- package/dist/static.d.ts +81 -0
- package/dist/static.d.ts.map +1 -0
- package/dist/static.js +352 -0
- package/dist/static.js.map +1 -0
- package/dist/style.css +3 -3
- package/dist/tokens.d.ts +1 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +2 -2
- package/dist/tokens.js.map +1 -1
- package/dist/vscode.css-custom-data.json +11 -1
- package/dist/vscode.html-custom-data.json +89 -2
- package/dist/web-types.json +204 -21
- package/package.json +12 -4
package/dist/pane/store.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { parseRange, type Cell, type Change, type ExportPatchHook, type SpCode } from '@sheetpane/export';
|
|
2
|
-
import { type ImportedSheet, type ImportedWorkbook } from '@sheetpane/import';
|
|
3
|
-
import type
|
|
1
|
+
import { parseRange, type Cell, type Change, type ExportPatchHook, type SpCode, type StructureOp, type StructureOpName } from '@sheetpane/export';
|
|
2
|
+
import { type ImportedSheet, type ImportedWorkbook, type SheetProtection, type TextRun } from '@sheetpane/import';
|
|
3
|
+
import { type CellContext, type Plugin, type PluginContext, type RunStyle, type StyleSubset } from '../plugins/types.js';
|
|
4
4
|
import { type ColumnRulesConfig } from './rules.js';
|
|
5
|
-
import type { ChangeEntry, ChangeKind, Composing, Mode, Selection, SheetState, SheetpaneError, Snapshot } from './types.js';
|
|
5
|
+
import type { ChangeEntry, ChangeKind, Composing, Edit, EditEffects, ErrorMeta, ErrorsEnvelope, Mode, ProtectionMode, ResultsLevel, Selection, SheetState, SheetpaneError, Snapshot } from './types.js';
|
|
6
|
+
import { type StructureRefusal } from './structure.js';
|
|
6
7
|
/** What {@link createWorkbook} takes. */
|
|
7
8
|
export interface StoreOptions {
|
|
8
9
|
/** The pane's plugins, fixed for the store's life; checked by `checkPlugins` (throws on a broken rule). */
|
|
@@ -17,7 +18,9 @@ export type Origin = object | undefined;
|
|
|
17
18
|
export type StoreEvent = {
|
|
18
19
|
type: 'load';
|
|
19
20
|
origin: Origin;
|
|
20
|
-
}
|
|
21
|
+
}
|
|
22
|
+
/** `kind: 'structure'` (W-52) also carries `op`, `at` (0-based) and `count`; `ref` is the span, `5:6` or `C:D`. */
|
|
23
|
+
| {
|
|
21
24
|
type: 'change';
|
|
22
25
|
origin: Origin;
|
|
23
26
|
sheet: string;
|
|
@@ -25,9 +28,20 @@ export type StoreEvent = {
|
|
|
25
28
|
kind: ChangeKind;
|
|
26
29
|
was: unknown;
|
|
27
30
|
now: unknown;
|
|
28
|
-
|
|
31
|
+
op?: StructureOpName;
|
|
32
|
+
at?: number;
|
|
33
|
+
count?: number;
|
|
34
|
+
}
|
|
35
|
+
/** `layers`: the layers whose errors changed (W-51), filled in by the store. */
|
|
36
|
+
| {
|
|
29
37
|
type: 'errors';
|
|
30
38
|
origin: Origin;
|
|
39
|
+
layers?: string[];
|
|
40
|
+
}
|
|
41
|
+
/** The visible layers changed (W-51): the `layers` attribute or the switch. */
|
|
42
|
+
| {
|
|
43
|
+
type: 'layers';
|
|
44
|
+
origin: Origin;
|
|
31
45
|
} | {
|
|
32
46
|
type: 'select';
|
|
33
47
|
origin: Origin;
|
|
@@ -44,6 +58,17 @@ export type StoreEvent = {
|
|
|
44
58
|
};
|
|
45
59
|
/** The undo stack's depth per pane; the oldest entry goes first (W-23, SR-GRID decision 7). */
|
|
46
60
|
export declare const HISTORY_CAP = 500;
|
|
61
|
+
/** What the pane's results add up to (W-50): problems are entries; results are cells. */
|
|
62
|
+
export interface ResultCounts {
|
|
63
|
+
/** Every entry that is not a result, open or resolved. */
|
|
64
|
+
problems: number;
|
|
65
|
+
/** Open entries that are not results — what a count asking for action shows. */
|
|
66
|
+
open: number;
|
|
67
|
+
/** Cells that passed a check. */
|
|
68
|
+
pass: number;
|
|
69
|
+
/** Cells that were not checked. */
|
|
70
|
+
skipped: number;
|
|
71
|
+
}
|
|
47
72
|
/**
|
|
48
73
|
* The change-map key of a cell: `Sheet1!B3` (exported as `cellKey`).
|
|
49
74
|
* @param sheet - The sheet name.
|
|
@@ -76,6 +101,13 @@ export declare function splitKey(k: string): {
|
|
|
76
101
|
* @returns The value to store.
|
|
77
102
|
*/
|
|
78
103
|
export declare function parseInput(text: string, original: Cell, source: 'xlsx' | 'csv'): Cell;
|
|
104
|
+
/**
|
|
105
|
+
* The cell or range a change-map ref is about (W-64): `B3` → `B3`, `#style:B3` → `B3`, `#merge:A1:C1` → `A1:C1`,
|
|
106
|
+
* and `''` for a ref about the whole sheet (`#freeze`, `#hiddenRows`, `#sheetState`).
|
|
107
|
+
* @param ref - A change-map ref (the part of the key after `sheet!`).
|
|
108
|
+
* @returns The A1 cell or range, or `''`.
|
|
109
|
+
*/
|
|
110
|
+
export declare function editRef(ref: string): string;
|
|
79
111
|
/** A sheet's state as read: `state` (W-49), else the older `hidden` flag. */
|
|
80
112
|
export declare const sheetStateOf: (s: ImportedSheet) => SheetState;
|
|
81
113
|
/**
|
|
@@ -115,6 +147,23 @@ export declare class WorkbookStore {
|
|
|
115
147
|
/** Plugin errors by `plugin|sheet|range|type` → error id. */
|
|
116
148
|
private readonly pluginErrors;
|
|
117
149
|
private errorsViews;
|
|
150
|
+
private resultsLevel;
|
|
151
|
+
private focus;
|
|
152
|
+
private resultIdx;
|
|
153
|
+
/** The pane's layers in the order first named (W-51); `shown` the visible ones, `null` for every layer. */
|
|
154
|
+
private known;
|
|
155
|
+
private shown;
|
|
156
|
+
private layersDirty;
|
|
157
|
+
/** Plugins already told their draft's layer is no name (SP-3021, once each). */
|
|
158
|
+
private readonly badLayerWarned;
|
|
159
|
+
private readonly editMeta;
|
|
160
|
+
private readonly effects;
|
|
161
|
+
private editSeq;
|
|
162
|
+
/** The workbook as read, before any insert or delete (W-52); undefined before a load. */
|
|
163
|
+
private baseBook;
|
|
164
|
+
/** A moved or rewritten change-map entry keeps its edit's time and baseline (W-52 × W-64). */
|
|
165
|
+
private readonly carryEdit;
|
|
166
|
+
private problemIdx;
|
|
118
167
|
/** The host's column rules (W-27): a built-in `validate` provider, never part of the frozen plugin set. */
|
|
119
168
|
private readonly rules;
|
|
120
169
|
/** An empty store; prefer {@link createWorkbook}. Throws when the plugin set breaks a rule. */
|
|
@@ -162,6 +211,17 @@ export declare class WorkbookStore {
|
|
|
162
211
|
format(sheet: string, ref: string, v: Cell): string;
|
|
163
212
|
/** One cell as a plugin hook sees it; undefined when the sheet is unknown. */
|
|
164
213
|
cellContext(sheet: string, ref: string, value?: Cell): CellContext | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* A rich-text cell's runs from the file (W-53, SR-IMPORT decision 12) while it still holds the file's value — no
|
|
216
|
+
* value or formula change, no derived value; `undefined` otherwise. An edit writes plain text, so its runs go.
|
|
217
|
+
*/
|
|
218
|
+
runs(sheet: string, ref: string): readonly TextRun[] | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* A rich-text cell as styled pieces (W-53): the last `decorate` provider's `decorateRuns` that answers, its CSS
|
|
221
|
+
* allow-listed to `STYLE_PROPS`; a `font-family` throws (SP-3010). `undefined` — draw the text plain — when the
|
|
222
|
+
* cell has no runs, no provider answers, or the pieces' text is not the display text.
|
|
223
|
+
*/
|
|
224
|
+
decorateRuns(sheet: string, ref: string): RunStyle[] | undefined;
|
|
165
225
|
/** The merged `decorate` result for a cell; `{}` with no decorate plugin. */
|
|
166
226
|
decorate(sheet: string, ref: string): StyleSubset;
|
|
167
227
|
/** What a plugin hook is given: the store, the book and a snapshot reader. */
|
|
@@ -203,6 +263,44 @@ export declare class WorkbookStore {
|
|
|
203
263
|
}[], origin?: Origin): void;
|
|
204
264
|
/** Reverts one cell (or any change-map key) to the upload; undoable. */
|
|
205
265
|
revert(sheet: string, ref: string, origin?: Origin): void;
|
|
266
|
+
/** Stamps the entries a commit wrote with its sequence and time, and the problems on their cells before they first changed. */
|
|
267
|
+
private stampEdits;
|
|
268
|
+
/**
|
|
269
|
+
* Every edit in the pane — the change map as a list, newest first (W-64): one entry per change-map key, whatever its
|
|
270
|
+
* kind, so a paste lists each cell and a change a plugin keeps as one entry is one. Derived cells are not edits.
|
|
271
|
+
* @returns The edits, newest first; the edits one step made keep the change map's order.
|
|
272
|
+
* @example
|
|
273
|
+
* ```ts
|
|
274
|
+
* import { createWorkbook } from '@sheetpane/grid';
|
|
275
|
+
* const wb = createWorkbook();
|
|
276
|
+
* await wb.load(bytes, 'q3.xlsx');
|
|
277
|
+
* wb.setCell('Holdings', 'G7', '6.5');
|
|
278
|
+
* wb.edits(); // [{ key: 'Holdings!G7', sheet: 'Holdings', ref: 'G7', kind: 'value', was: 6.63, now: 6.5, at: '2026-10-19T…' }]
|
|
279
|
+
* ```
|
|
280
|
+
*/
|
|
281
|
+
edits(): Edit[];
|
|
282
|
+
/**
|
|
283
|
+
* What one edit did to the problems on its cells (W-64), compared with before its cell first changed: workbook, file
|
|
284
|
+
* and rule errors `cleared` (now resolved or gone) and `raised` (open now, not before), and a person's errors whose
|
|
285
|
+
* suggestion the cell now `matched`. An edit about a whole sheet has none.
|
|
286
|
+
* @param k - The edit's change-map key (`Edit.key`).
|
|
287
|
+
* @returns Error ids, each list in the errors' order.
|
|
288
|
+
*/
|
|
289
|
+
editEffects(k: string): EditEffects;
|
|
290
|
+
/**
|
|
291
|
+
* Reverts edits to the file as one undo step (W-64): each key's change-map entry goes, whatever its kind. A sheet's
|
|
292
|
+
* `structure` entry (W-52) takes every insert and delete on that sheet back with it — the workbook as read, the other
|
|
293
|
+
* edits moved back. Undo brings them back, each with its time.
|
|
294
|
+
* @param keys - Change-map keys (`Edit.key`); omitted, every edit in the pane (*Revert all*).
|
|
295
|
+
* @param origin - The element that asked.
|
|
296
|
+
* @returns How many edits were reverted.
|
|
297
|
+
*/
|
|
298
|
+
revertEdits(keys?: readonly string[], origin?: Origin): number;
|
|
299
|
+
/** The problems an edit's key covers before its cell first changed, or undefined for an edit about a whole sheet. */
|
|
300
|
+
private baselineOf;
|
|
301
|
+
/** The problems (not results) whose range meets an edit key's cells, by id; undefined when the key is about no cell. */
|
|
302
|
+
private problemsOn;
|
|
303
|
+
private indexProblems;
|
|
206
304
|
/** The sheet's merged ranges: the file's with `merge` changes applied. */
|
|
207
305
|
merges(sheet: string): string[];
|
|
208
306
|
/** Merges (`true`) or unmerges (`false`) a range; undoable. */
|
|
@@ -278,11 +376,11 @@ export declare class WorkbookStore {
|
|
|
278
376
|
private newId;
|
|
279
377
|
/** Recomputes `matchesExpected` (B-022: it marks, never resolves). */
|
|
280
378
|
private withMatches;
|
|
281
|
-
/** The uploaded display text of a range's first cell, as `found` freezes it. */
|
|
379
|
+
/** The uploaded display text of a range's first cell, as `found` freezes it; `""` for a sheet- or workbook-level error (no cell, W-55). */
|
|
282
380
|
foundFor(sheet: string, range: string): string;
|
|
283
381
|
/** A saved error whose cell no longer holds `found` (contract decision 8). */
|
|
284
382
|
isStale(e: SheetpaneError): boolean;
|
|
285
|
-
/** Adds a person's error with a new id; `cellChanged` also writes `expected` into the cell in the same undo step. */
|
|
383
|
+
/** Adds a person's error with a new id; `cellChanged` also writes `expected` into the cell in the same undo step. `range: ''` is the whole sheet, and with `sheet: ''` the workbook (W-55): no cell, so `found` is `''` and nothing is written. `meta` is the host's data (W-68): kept as JSON, or dropped with SP-3016. */
|
|
286
384
|
addError(d: {
|
|
287
385
|
sheet: string;
|
|
288
386
|
range: string;
|
|
@@ -292,24 +390,206 @@ export declare class WorkbookStore {
|
|
|
292
390
|
message?: string;
|
|
293
391
|
cellChanged?: boolean;
|
|
294
392
|
author?: string;
|
|
393
|
+
meta?: ErrorMeta;
|
|
394
|
+
layer?: string;
|
|
295
395
|
}, origin?: Origin): SheetpaneError;
|
|
296
|
-
/**
|
|
297
|
-
|
|
396
|
+
/**
|
|
397
|
+
* Changes an error's status, severity, expected value, message, type or `meta` (W-68: `meta: undefined` removes it; a
|
|
398
|
+
* `meta` that may not be kept is dropped with SP-3016 and the error keeps its own); undoable. `status: 'accepted'`
|
|
399
|
+
* (W-69) needs a `reason` and stamps `acceptedAt`; any other status drops `acceptedBy`, `acceptedAt` and `reason`.
|
|
400
|
+
* @returns `false` when nothing changed: no such error, or an acceptance refused (SP-3018).
|
|
401
|
+
*/
|
|
402
|
+
updateError(id: string, patch: {
|
|
403
|
+
status?: SheetpaneError['status'];
|
|
404
|
+
severity?: SheetpaneError['severity'];
|
|
405
|
+
expected?: string;
|
|
406
|
+
message?: string;
|
|
407
|
+
type?: string;
|
|
408
|
+
meta?: ErrorMeta | undefined;
|
|
409
|
+
reason?: string;
|
|
410
|
+
acceptedBy?: string;
|
|
411
|
+
}, origin?: Origin): boolean;
|
|
412
|
+
/**
|
|
413
|
+
* Accepts an error as a known deviation (W-69): it stays in the review and the download, recorded with who, when and
|
|
414
|
+
* why, and is no longer counted as open. One undo step; Reopen (`updateError(id, { status: 'open' })`) takes it back.
|
|
415
|
+
* The workbook's own errors (author `workbook` or `file`) are not accepted here.
|
|
416
|
+
* @param id - The error's id.
|
|
417
|
+
* @param reason - Why the deviation is accepted — required; blank is refused with SP-3018.
|
|
418
|
+
* @param o - `by`: who accepted it (the errors element passes its `author`).
|
|
419
|
+
* @returns `false` when nothing changed.
|
|
420
|
+
* @example
|
|
421
|
+
* ```ts
|
|
422
|
+
* import { createWorkbook } from '@sheetpane/grid';
|
|
423
|
+
* const wb = createWorkbook();
|
|
424
|
+
* const e = wb.addError({ sheet: '', range: '', type: 'other', severity: 'warning', message: 'Page 4 is 2 mm wider than the spec' });
|
|
425
|
+
* wb.acceptError(e.id, 'Approved by the customer on 18 Oct', { by: 'Ravi' }); // true
|
|
426
|
+
* ```
|
|
427
|
+
*/
|
|
428
|
+
acceptError(id: string, reason: string, o?: {
|
|
429
|
+
by?: string;
|
|
430
|
+
}, origin?: Origin): boolean;
|
|
298
431
|
/** Deletes an error; a cell it changed keeps the change (contract decision 6). */
|
|
299
432
|
deleteError(id: string, origin?: Origin): void;
|
|
300
|
-
/**
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
433
|
+
/**
|
|
434
|
+
* A copy of the pane's errors, `meta` included (W-68): every layer's, or with `layer` that layer's only (W-51).
|
|
435
|
+
* @param o - `layer`: one layer's name; an unusable one is logged as SP-3021 and gives `[]`.
|
|
436
|
+
* @returns The errors, each with its `layer`.
|
|
437
|
+
*/
|
|
438
|
+
getErrors(o?: {
|
|
439
|
+
layer?: string;
|
|
440
|
+
}): SheetpaneError[];
|
|
441
|
+
/** Bumps the id counter past an `ERR-n` id, so a new error never reuses it. */
|
|
442
|
+
private reserve;
|
|
443
|
+
/**
|
|
444
|
+
* The host restores a saved review, or replaces one layer (W-51). Each `meta` is kept as JSON, or dropped with SP-3016 (W-68).
|
|
445
|
+
*
|
|
446
|
+
* - **The whole review** (no `layer`): a list, or the `sheetpane-errors` envelope — each error in its own `layer`, one
|
|
447
|
+
* without it in `review`; the envelope's `layers` come back too, an empty one included. Not a user action: the undo
|
|
448
|
+
* stack is cleared (W-23).
|
|
449
|
+
* - **One layer** (`layer`): the list becomes that layer's errors, each stamped with it; every other layer is left as it
|
|
450
|
+
* is. An id another layer holds (or a blank one) gets a new one. The undo stack is kept, and every step in it sees the
|
|
451
|
+
* new layer, so undo neither brings back the replaced errors nor takes away the new ones.
|
|
452
|
+
*
|
|
453
|
+
* @param review - The errors, or a saved envelope (`{ v?, errors, plugins?, layers? }`; one saved before W-51 has no `v`).
|
|
454
|
+
* @param o - `layer`: the one layer to replace; an unusable name is logged as SP-3021 and nothing changes.
|
|
455
|
+
* @param origin - The element that asked.
|
|
456
|
+
* @example
|
|
457
|
+
* ```ts
|
|
458
|
+
* import { createWorkbook } from '@sheetpane/grid';
|
|
459
|
+
* const wb = createWorkbook();
|
|
460
|
+
* wb.setErrors(validationResults, { layer: 'validation' });
|
|
461
|
+
* wb.setErrors(pdfResults, { layer: 'pdf' }); // the validation layer is untouched
|
|
462
|
+
* wb.setVisibleLayers(['pdf']);
|
|
463
|
+
* ```
|
|
464
|
+
*/
|
|
465
|
+
setErrors(review: readonly SheetpaneError[] | ErrorsEnvelope, o?: {
|
|
466
|
+
layer?: string;
|
|
467
|
+
}, origin?: Origin): void;
|
|
468
|
+
/** `setErrors(list, { layer })` (W-51): one layer replaced; the other layers, and the undo stack rebased onto the new layer, kept. */
|
|
469
|
+
private replaceLayer;
|
|
470
|
+
/**
|
|
471
|
+
* Shows the errors of some layers only (W-51): the sheet's marks, pins and counts, the tab counts, the error list and
|
|
472
|
+
* the comments an export writes all follow. `null` or `[]` shows every layer. Naming a layer that has no errors yet
|
|
473
|
+
* adds it to the pane's layers. Not undone; it is view state, like the mode.
|
|
474
|
+
* @param names - The layers to show, or `null` for every layer.
|
|
475
|
+
* @param origin - The element that asked.
|
|
476
|
+
* @returns `false` when a name is unusable (logged as SP-3021) — nothing changes.
|
|
477
|
+
*/
|
|
478
|
+
setVisibleLayers(names: readonly string[] | null | undefined, origin?: Origin): boolean;
|
|
479
|
+
/** The layer a new error goes into when none is named (W-51): `review` while it is visible, else the first visible layer — so what a person adds stays in sight. */
|
|
480
|
+
get defaultLayer(): string;
|
|
481
|
+
/**
|
|
482
|
+
* What `sheetpane-errors` carries (W-51, `v: 2`): every error, the plugin ids and the pane's layers — what a host saves
|
|
483
|
+
* and gives back to `setErrors()`.
|
|
484
|
+
* @param changed - The layers whose errors changed in this event.
|
|
485
|
+
* @returns A new envelope; its errors are copies.
|
|
486
|
+
*/
|
|
487
|
+
envelope(changed?: readonly string[]): ErrorsEnvelope;
|
|
304
488
|
/** Undoes the pane's last step (changes and errors; never selection or mode). */
|
|
305
489
|
undo(origin?: Origin): void;
|
|
306
490
|
/** Redoes the last undone step. */
|
|
307
491
|
redo(origin?: Origin): void;
|
|
308
492
|
private travel;
|
|
493
|
+
/**
|
|
494
|
+
* Inserts rows above row `at` (0-based): everything at and below it moves down — cells, changes,
|
|
495
|
+
* errors, merges, rules, notes, drawings, sizes, hidden and outline state, and every formula that
|
|
496
|
+
* points there. One undo step; written into the download.
|
|
497
|
+
* @param sheet - The sheet's name.
|
|
498
|
+
* @param at - The first new row, 0-based.
|
|
499
|
+
* @param count - How many rows (default 1).
|
|
500
|
+
* @param origin - The element that asked.
|
|
501
|
+
* @returns False when refused (see {@link WorkbookStore.structureRefusal}) or nothing is loaded.
|
|
502
|
+
*/
|
|
503
|
+
insertRows(sheet: string, at: number, count?: number, origin?: Origin): boolean;
|
|
504
|
+
/**
|
|
505
|
+
* Deletes rows `at` … `at + count − 1` (0-based) and what sits on them; references to them become `#REF!`.
|
|
506
|
+
* @param sheet - The sheet's name.
|
|
507
|
+
* @param at - The first row to delete, 0-based.
|
|
508
|
+
* @param count - How many rows (default 1).
|
|
509
|
+
* @param origin - The element that asked.
|
|
510
|
+
* @returns False when refused or nothing is loaded.
|
|
511
|
+
*/
|
|
512
|
+
deleteRows(sheet: string, at: number, count?: number, origin?: Origin): boolean;
|
|
513
|
+
/**
|
|
514
|
+
* Inserts columns left of column `at` (0-based: A is 0); everything at and right of it moves right.
|
|
515
|
+
* @param sheet - The sheet's name.
|
|
516
|
+
* @param at - The first new column, 0-based.
|
|
517
|
+
* @param count - How many columns (default 1).
|
|
518
|
+
* @param origin - The element that asked.
|
|
519
|
+
* @returns False when refused or nothing is loaded.
|
|
520
|
+
*/
|
|
521
|
+
insertCols(sheet: string, at: number, count?: number, origin?: Origin): boolean;
|
|
522
|
+
/**
|
|
523
|
+
* Deletes columns `at` … `at + count − 1` (0-based) and what sits on them.
|
|
524
|
+
* @param sheet - The sheet's name.
|
|
525
|
+
* @param at - The first column to delete, 0-based.
|
|
526
|
+
* @param count - How many columns (default 1).
|
|
527
|
+
* @param origin - The element that asked.
|
|
528
|
+
* @returns False when refused or nothing is loaded.
|
|
529
|
+
*/
|
|
530
|
+
deleteCols(sheet: string, at: number, count?: number, origin?: Origin): boolean;
|
|
531
|
+
/**
|
|
532
|
+
* Why an insert or delete would be refused — the file's protection first (SP-3026, W-62: the workbook's structure
|
|
533
|
+
* is protected, or the sheet is protected without the matching permission), then a merge cut (SP-3022), a pivot
|
|
534
|
+
* moved (SP-3023), cells pushed off the sheet (SP-3024), a table cut (SP-3025) — or `undefined` when it may go ahead.
|
|
535
|
+
* @param o - The operation.
|
|
536
|
+
* @returns The SP code and a sentence for the person, or `undefined`.
|
|
537
|
+
*/
|
|
538
|
+
structureRefusal(o: StructureOp): StructureRefusal | undefined;
|
|
539
|
+
/** Every insert and delete made since the file was read, in order per sheet — what the download replays first. */
|
|
540
|
+
structureOps(): StructureOp[];
|
|
541
|
+
/** The one structural path: check, move every table, one undo step, one `structure` change event. */
|
|
542
|
+
private restructure;
|
|
543
|
+
/**
|
|
544
|
+
* Reverts edits that include a sheet's `structure` entry (W-52 × W-64) as one undo step: the other edits named go,
|
|
545
|
+
* then each named sheet's inserts and deletes are undone, newest first — the changes, errors, derived values and
|
|
546
|
+
* selection moved back — and the workbook is the one as read with every operation still standing replayed on it, so
|
|
547
|
+
* deleted rows come back as the file had them. An edit made inside a deleted row was dropped with it and stays gone.
|
|
548
|
+
*/
|
|
549
|
+
private revertStructure;
|
|
550
|
+
private travelStructure;
|
|
551
|
+
/**
|
|
552
|
+
* Puts a structural state in place: the moved book first (formatting reads it), then one notification — a `structure`
|
|
553
|
+
* change event per operation, after `events[0]`, then `extra` — then validate and derive.
|
|
554
|
+
*/
|
|
555
|
+
private applyStructure;
|
|
309
556
|
private runDerive;
|
|
310
557
|
/** A rule may read another sheet (a list range, an operand), so validation re-runs on every sheet. */
|
|
311
558
|
private allSheets;
|
|
312
559
|
private runValidate;
|
|
560
|
+
/** How much of the results the pane shows: `off`, `summary` (the default) or `marks`. */
|
|
561
|
+
get results(): ResultsLevel;
|
|
562
|
+
/**
|
|
563
|
+
* Sets the pane's results level — a view setting, never a change or an undo step. `off` drops
|
|
564
|
+
* the results the pane holds and every one that arrives after.
|
|
565
|
+
* @param level - `off`, `summary` or `marks`; anything else is ignored.
|
|
566
|
+
*/
|
|
567
|
+
setResults(level: ResultsLevel): void;
|
|
568
|
+
/** The range whose results are marked on the sheet below `marks` (Show ▸ in the errors panel), or undefined. */
|
|
569
|
+
get resultFocus(): {
|
|
570
|
+
sheet: string;
|
|
571
|
+
range: string;
|
|
572
|
+
} | undefined;
|
|
573
|
+
/**
|
|
574
|
+
* Marks one range's results on the sheet even at `summary` (Show ▸); `undefined` clears it. A view setting.
|
|
575
|
+
* @param sheet - The sheet's name.
|
|
576
|
+
* @param range - An A1 range, or undefined to clear.
|
|
577
|
+
*/
|
|
578
|
+
focusResults(sheet: string, range: string | undefined): void;
|
|
579
|
+
/**
|
|
580
|
+
* The result a cell shows — `pass` or `skipped` — or undefined. A problem always wins: a cell any
|
|
581
|
+
* problem covers has no result. Indexed once per errors list, so the grid asks per cell.
|
|
582
|
+
* @param sheet - The sheet's name.
|
|
583
|
+
* @param row - The 0-based row.
|
|
584
|
+
* @param col - The 0-based column.
|
|
585
|
+
* @returns The result entry, or undefined.
|
|
586
|
+
*/
|
|
587
|
+
resultAt(sheet: string, row: number, col: number): SheetpaneError | undefined;
|
|
588
|
+
/** Problems (entries) and results (cells) in the pane — what the summary line and the status line say. */
|
|
589
|
+
resultCounts(): ResultCounts;
|
|
590
|
+
private indexResults;
|
|
591
|
+
/** A list as it arrives in the pane: at `off`, without its results. */
|
|
592
|
+
private arriving;
|
|
313
593
|
/** The host's column rules for this pane. Setting them checks every row again; host errors no longer produced go. */
|
|
314
594
|
setColumnRules(c: ColumnRulesConfig): void;
|
|
315
595
|
/** The column rules in force. */
|
|
@@ -321,6 +601,42 @@ export declare class WorkbookStore {
|
|
|
321
601
|
} | undefined;
|
|
322
602
|
/** Whether a rules file (W-33) is in force for this pane. */
|
|
323
603
|
get hasRulesDocument(): boolean;
|
|
604
|
+
/** `honour` (the default) keeps the file's sheet and workbook protection; `ignore` is the host's decision. */
|
|
605
|
+
get protection(): ProtectionMode;
|
|
606
|
+
/**
|
|
607
|
+
* Keeps (`honour`) or sets aside (`ignore`) the file's protection for this pane — a view setting, never a change or
|
|
608
|
+
* an undo step. The `protection` attribute of `<sheetpane-excel>` sets it.
|
|
609
|
+
* @param mode - `honour` or `ignore`; anything else is `honour`.
|
|
610
|
+
*/
|
|
611
|
+
setProtection(mode: ProtectionMode): void;
|
|
612
|
+
/**
|
|
613
|
+
* A sheet's protection while it is honoured: the file's switches (`true` = refused while protected) and whether a
|
|
614
|
+
* password is stored — never the password.
|
|
615
|
+
* @param sheet - The sheet's name.
|
|
616
|
+
* @returns The switches, or undefined when the sheet is not protected or protection is ignored.
|
|
617
|
+
*/
|
|
618
|
+
sheetProtection(sheet: string): SheetProtection | undefined;
|
|
619
|
+
/**
|
|
620
|
+
* Whether a cell refuses edits: a protected sheet, and the cell's format locked (Excel's default). `setCell`,
|
|
621
|
+
* `setCells` and an error's "Also change the cell" leave it as it is.
|
|
622
|
+
* @param sheet - The sheet's name.
|
|
623
|
+
* @param ref - The cell, `A1`.
|
|
624
|
+
* @returns True when the cell is locked.
|
|
625
|
+
*/
|
|
626
|
+
isLocked(sheet: string, ref: string): boolean;
|
|
627
|
+
/**
|
|
628
|
+
* Whether a cell's formula is hidden: a protected sheet, and the cell's format `hidden`. It shows its value only.
|
|
629
|
+
* @param sheet - The sheet's name.
|
|
630
|
+
* @param ref - The cell, `A1`.
|
|
631
|
+
* @returns True when the formula is not shown.
|
|
632
|
+
*/
|
|
633
|
+
isFormulaHidden(sheet: string, ref: string): boolean;
|
|
634
|
+
/**
|
|
635
|
+
* Whether the workbook's structure is protected (`lockStructure`, honoured): hiding or unhiding a sheet is
|
|
636
|
+
* refused, and inserting or deleting rows and columns. The one predicate a structural control asks.
|
|
637
|
+
* @returns True while structural edits are refused.
|
|
638
|
+
*/
|
|
639
|
+
structureLocked(): boolean;
|
|
324
640
|
private flaggingOn;
|
|
325
641
|
/** Whether Flag issue is on for this pane (SR-GRID decision 22e). */
|
|
326
642
|
get flagging(): boolean;
|
|
@@ -338,7 +654,10 @@ export declare class WorkbookStore {
|
|
|
338
654
|
latestRows(sheet: string): Cell[][];
|
|
339
655
|
/** The sheet's rows with every change applied (CSV export, `toXlsx`). */
|
|
340
656
|
currentRows(sheet: string): Cell[][];
|
|
341
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* Every change applied; the upload never modified (SR-LAW-6). `sha256` is the hash of the
|
|
659
|
+
* blob's bytes, taken once per export (W-65) — `undefined` where Web Crypto is missing (SP-1009).
|
|
660
|
+
*/
|
|
342
661
|
exportFile(o?: {
|
|
343
662
|
extraPatch?: ExportPatchHook[];
|
|
344
663
|
options?: Readonly<Record<string, unknown>>;
|
|
@@ -350,7 +669,9 @@ export declare class WorkbookStore {
|
|
|
350
669
|
name: string;
|
|
351
670
|
guarded: string[];
|
|
352
671
|
converted: boolean;
|
|
672
|
+
sha256: string | undefined;
|
|
353
673
|
}>;
|
|
674
|
+
private buildExport;
|
|
354
675
|
private refsCache;
|
|
355
676
|
/** A formula cell that reads a changed cell may show a stale value — unless a `derive` plugin recalculates. */
|
|
356
677
|
mayBeStale(sheet: string, ref: string): boolean;
|
package/dist/pane/store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/pane/store.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqB,UAAU,EAA2E,KAAK,IAAI,EAAE,KAAK,MAAM,EAAE,KAAK,eAAe,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtM,OAAO,EAAsD,KAAK,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAElI,OAAO,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