@beyondwork/xlsx-substrate-bindings 0.0.0-stage → 0.2.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/LICENSE.md +31 -0
- package/README.md +135 -2
- package/dist/ai/agent-metadata.d.ts +363 -0
- package/dist/ai/agent-metadata.js +227 -0
- package/dist/ai/index.d.ts +6 -0
- package/dist/ai/index.js +7 -0
- package/dist/ai/mutation-bridge.d.ts +82 -0
- package/dist/ai/mutation-bridge.js +179 -0
- package/dist/ai/types.d.ts +765 -0
- package/dist/ai/types.js +23 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +90 -0
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/types.d.ts +1435 -0
- package/dist/runtime/types.js +15 -0
- package/dist/shared.d.ts +69 -0
- package/dist/shared.js +1 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.js +1 -0
- package/dist/ui/types.d.ts +765 -0
- package/dist/ui/types.js +12 -0
- package/dist/wasm/ai-session-bridge.d.ts +97 -0
- package/dist/wasm/ai-session-bridge.js +154 -0
- package/dist/wasm/bridge-contract.d.ts +643 -0
- package/dist/wasm/bridge-contract.js +1001 -0
- package/dist/wasm/index.d.ts +50 -0
- package/dist/wasm/index.js +297 -0
- package/dist/wasm/memory-budget.d.ts +77 -0
- package/dist/wasm/memory-budget.js +532 -0
- package/dist/wasm/runtime-guard.d.ts +141 -0
- package/dist/wasm/runtime-guard.js +373 -0
- package/dist/wasm/session-router.d.ts +98 -0
- package/dist/wasm/session-router.js +184 -0
- package/dist/wasm/sheet-window-binary-reference.d.ts +9 -0
- package/dist/wasm/sheet-window-binary-reference.js +308 -0
- package/dist/wasm/sheet-window-binary.d.ts +279 -0
- package/dist/wasm/sheet-window-binary.js +636 -0
- package/dist/wasm/web.d.ts +72 -0
- package/dist/wasm/web.js +142 -0
- package/generated/wasm-web/package.json +3 -0
- package/generated/wasm-web/snippets/ironcalc_base-89b4f49381e1e289/inline0.js +42 -0
- package/generated/wasm-web/xlsx_substrate_wasm.d.ts +532 -0
- package/generated/wasm-web/xlsx_substrate_wasm.js +2493 -0
- package/generated/wasm-web/xlsx_substrate_wasm_bg.wasm +0 -0
- package/generated/wasm-web/xlsx_substrate_wasm_bg.wasm.d.ts +120 -0
- package/package.json +55 -3
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The AI session lane's one export: `(handle_id, op, request)`.
|
|
6
|
+
*/
|
|
7
|
+
export function aiSessionCall(handle_id: string, op: string, request: any): any;
|
|
8
|
+
|
|
9
|
+
export function bindUiRuntimeSession(handle_id: string, requested_active_sheet_id?: string | null): any;
|
|
10
|
+
|
|
11
|
+
export function bindUiSession(bytes: Uint8Array, requested_active_sheet_id?: string | null): any;
|
|
12
|
+
|
|
13
|
+
export function cancelKernelRun(bytes: Uint8Array, request: any): any;
|
|
14
|
+
|
|
15
|
+
export function classifyUiState(namespace: string): any;
|
|
16
|
+
|
|
17
|
+
export function commitApplyFilter(bytes: Uint8Array, request: any): any;
|
|
18
|
+
|
|
19
|
+
export function commitApplyFilterInSession(handle_id: string, request: any): any;
|
|
20
|
+
|
|
21
|
+
export function commitApplySort(bytes: Uint8Array, request: any): any;
|
|
22
|
+
|
|
23
|
+
export function commitApplySortInSession(handle_id: string, request: any): any;
|
|
24
|
+
|
|
25
|
+
export function commitCellFormula(bytes: Uint8Array, request: any): any;
|
|
26
|
+
|
|
27
|
+
export function commitCellFormulaInSession(handle_id: string, request: any): any;
|
|
28
|
+
|
|
29
|
+
export function commitClearFilter(bytes: Uint8Array, request: any): any;
|
|
30
|
+
|
|
31
|
+
export function commitClearFilterInSession(handle_id: string, request: any): any;
|
|
32
|
+
|
|
33
|
+
export function commitRangeClear(bytes: Uint8Array, request: any): any;
|
|
34
|
+
|
|
35
|
+
export function commitRangeClearInSession(handle_id: string, request: any): any;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* X5-U-011 data-validation authoring (byte path). Sets or clears a rule
|
|
39
|
+
* over the target range (a scope handle, a single address, or an explicit
|
|
40
|
+
* `targetRange`), then re-exports the mutated package. Rule shape is
|
|
41
|
+
* validated runtime-side, so a caller that skips the dialog is refused here.
|
|
42
|
+
*/
|
|
43
|
+
export function commitRangeDataValidation(bytes: Uint8Array, request: any): any;
|
|
44
|
+
|
|
45
|
+
export function commitRangeDataValidationInSession(handle_id: string, request: any): any;
|
|
46
|
+
|
|
47
|
+
export function commitRangeFill(bytes: Uint8Array, request: any): any;
|
|
48
|
+
|
|
49
|
+
export function commitRangeFillInSession(handle_id: string, request: any): any;
|
|
50
|
+
|
|
51
|
+
export function commitRangeFormat(bytes: Uint8Array, request: any): any;
|
|
52
|
+
|
|
53
|
+
export function commitRangeFormatInSession(handle_id: string, request: any): any;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* X5-U-009 hyperlink authoring (byte path). Attaches, replaces or removes a
|
|
57
|
+
* cell hyperlink over the target range, then re-exports the mutated package.
|
|
58
|
+
* Destination policy is enforced runtime-side, so a caller that skips the
|
|
59
|
+
* product surface is refused here, not silently allowed.
|
|
60
|
+
*/
|
|
61
|
+
export function commitRangeHyperlink(bytes: Uint8Array, request: any): any;
|
|
62
|
+
|
|
63
|
+
export function commitRangeHyperlinkInSession(handle_id: string, request: any): any;
|
|
64
|
+
|
|
65
|
+
export function commitRangePaste(bytes: Uint8Array, request: any): any;
|
|
66
|
+
|
|
67
|
+
export function commitRangePasteInSession(handle_id: string, request: any): any;
|
|
68
|
+
|
|
69
|
+
export function commitRangeTransfer(bytes: Uint8Array, request: any): any;
|
|
70
|
+
|
|
71
|
+
export function commitRangeTransferInSession(handle_id: string, request: any): any;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* X5-U-010b `review.comment` (byte path). Creates, edits, replies to,
|
|
75
|
+
* resolves, reopens or deletes the comment thread on ONE cell (a scope
|
|
76
|
+
* handle or a single address), then re-exports the mutated package. Verb
|
|
77
|
+
* and text shape are validated runtime-side.
|
|
78
|
+
*/
|
|
79
|
+
export function commitReviewComment(bytes: Uint8Array, request: any): any;
|
|
80
|
+
|
|
81
|
+
export function commitReviewCommentInSession(handle_id: string, request: any): any;
|
|
82
|
+
|
|
83
|
+
export function commitSelectionSetClear(bytes: Uint8Array, request: any): any;
|
|
84
|
+
|
|
85
|
+
export function commitSelectionSetClearInSession(handle_id: string, request: any): any;
|
|
86
|
+
|
|
87
|
+
export function commitSelectionSetFormat(bytes: Uint8Array, request: any): any;
|
|
88
|
+
|
|
89
|
+
export function commitSelectionSetFormatInSession(handle_id: string, request: any): any;
|
|
90
|
+
|
|
91
|
+
export function commitSelectionSetPaste(bytes: Uint8Array, request: any): any;
|
|
92
|
+
|
|
93
|
+
export function commitSelectionSetPasteInSession(handle_id: string, request: any): any;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* X5-U-006 insert/delete cells with shift (byte path). Applies
|
|
97
|
+
* `runtime_sheet_shift_cells` over one rectangle and a shift direction, then
|
|
98
|
+
* exports the mutated workbook. Refusals come back typed with no bytes.
|
|
99
|
+
*/
|
|
100
|
+
export function commitShiftCells(bytes: Uint8Array, request: any): any;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* X5-U-006 insert/delete cells with shift (session path). A cell shift
|
|
104
|
+
* re-addresses every cell in the moved band and rewrites the formulas that
|
|
105
|
+
* follow them, which incremental graph maintenance cannot see — so, like a
|
|
106
|
+
* row/column structure mutation, it forces the full-recalc fallback.
|
|
107
|
+
*/
|
|
108
|
+
export function commitShiftCellsInSession(handle_id: string, request: any): any;
|
|
109
|
+
|
|
110
|
+
export function commitTableAppendRow(bytes: Uint8Array, request: any): any;
|
|
111
|
+
|
|
112
|
+
export function commitTableAppendRowInSession(handle_id: string, request: any): any;
|
|
113
|
+
|
|
114
|
+
export function completeKernelRun(bytes: Uint8Array, request: any): any;
|
|
115
|
+
|
|
116
|
+
export function createKernelBinding(bytes: Uint8Array, request: any): any;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* X3-R-012 (v40): data-region navigation over the session workbook.
|
|
120
|
+
* Read-only: the session is untouched. `query: "edge"` answers Ctrl+Arrow
|
|
121
|
+
* (`Range.End(direction)` of `active`), `query: "extend"` answers
|
|
122
|
+
* Ctrl+Shift+Arrow (the same edge as the head of a selection kept on
|
|
123
|
+
* `anchor`), `query: "current-region"` answers Ctrl+A
|
|
124
|
+
* (`Range.CurrentRegion` of `active`, or the whole sheet when `selection`
|
|
125
|
+
* already covers it). The answer carries the target's sheet, range, label
|
|
126
|
+
* and the selection handle the selection command takes, so the grid
|
|
127
|
+
* readback and the name box follow from the runtime's answer — never from
|
|
128
|
+
* a walk over the loaded window.
|
|
129
|
+
*/
|
|
130
|
+
export function dataRegionInRuntimeSession(handle_id: string, request: any): any;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* X5-U-023 (v44): Name Manager authoring over workbook bytes — create,
|
|
134
|
+
* edit (body and/or spelling) or delete one workbook- or sheet-scoped
|
|
135
|
+
* defined name, then export. Readers of the name are not recalculated here
|
|
136
|
+
* (parity with every byte commit); the session port forces the full
|
|
137
|
+
* recalculation lane instead.
|
|
138
|
+
*/
|
|
139
|
+
export function defineName(bytes: Uint8Array, request: any): any;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* X5-U-023 (v44): the in-session port of `defineName`. The resident
|
|
143
|
+
* workbook adopts the edit; a name can be read by any formula on any sheet
|
|
144
|
+
* (through another name or a LAMBDA call too), so the keep-alive graph is
|
|
145
|
+
* dropped and the next drain recalculates in full — the lane a sheet-roster
|
|
146
|
+
* edit takes — and every reader answers from the new body (or `#NAME?`
|
|
147
|
+
* after a delete). Never re-exports the package.
|
|
148
|
+
*/
|
|
149
|
+
export function defineNameInSession(handle_id: string, request: any): any;
|
|
150
|
+
|
|
151
|
+
export function deleteKernelBinding(bytes: Uint8Array, request: any): any;
|
|
152
|
+
|
|
153
|
+
export function detachKernelOutput(bytes: Uint8Array, request: any): any;
|
|
154
|
+
|
|
155
|
+
export function disposeWorkbookRuntimeSession(handle_id: string): any;
|
|
156
|
+
|
|
157
|
+
export function explainFormula(bytes: Uint8Array, target: any): any;
|
|
158
|
+
|
|
159
|
+
export function explainRuntimeSessionFormula(handle_id: string, target: any): any;
|
|
160
|
+
|
|
161
|
+
export function exportRuntimeSessionBytes(handle_id: string, request: any): any;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* X5-U-012: the product's delimited-text (CSV/TSV) export.
|
|
165
|
+
*
|
|
166
|
+
* Read-only, like `exportRuntimeSessionBytes`: no revision bump, no
|
|
167
|
+
* invalidation, no identity advancement. The whole sheet is walked engine
|
|
168
|
+
* side rather than the materialized window the clipboard serializer sees, so
|
|
169
|
+
* what the user downloads is the sheet and not the part of it that happens to
|
|
170
|
+
* be on screen.
|
|
171
|
+
*
|
|
172
|
+
* A refusal comes back as `blockers`, not as an exception: the export is
|
|
173
|
+
* bounded on the range it would emit (a two-cell workbook whose used range
|
|
174
|
+
* spans the grid is `delimited-export-too-many-cells`), and what CSV cannot
|
|
175
|
+
* carry — other sheets, formulas as their last calculated value, formatting —
|
|
176
|
+
* comes back on `refusals` so the surface can tell the user before they open
|
|
177
|
+
* the file somewhere else.
|
|
178
|
+
*/
|
|
179
|
+
export function exportRuntimeSessionDelimitedText(handle_id: string, request: any): any;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* X5-U-038 (v34): Excel's Find over the session workbook. Read-only: the
|
|
183
|
+
* session is untouched, so the answer is the match list (with the cell
|
|
184
|
+
* handle the selection command takes for each) or a typed refusal of the
|
|
185
|
+
* query itself. Never a window scan — the runtime walks the canonical cell
|
|
186
|
+
* store, so off-window and off-sheet cells are found.
|
|
187
|
+
*/
|
|
188
|
+
export function findInRuntimeSession(handle_id: string, request: any): any;
|
|
189
|
+
|
|
190
|
+
export function getWasmStatus(): any;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* X5-U-023 (v35): name-box / Go To resolution over the session workbook.
|
|
194
|
+
* Read-only: the session is untouched. The answer names the target sheet
|
|
195
|
+
* and range, the label the name box shows, and the selection handle the
|
|
196
|
+
* selection command (`interact` / `readRuntimeSessionSelection`) takes —
|
|
197
|
+
* so the grid readback and the formula bar follow from the runtime's
|
|
198
|
+
* answer, never from a client parse of the typed text. Defined names are
|
|
199
|
+
* resolved here with Excel's scope precedence; the client never scans.
|
|
200
|
+
*/
|
|
201
|
+
export function goToInRuntimeSession(handle_id: string, request: any): any;
|
|
202
|
+
|
|
203
|
+
export function inspectWorkbook(bytes: Uint8Array, source_label?: string | null): any;
|
|
204
|
+
|
|
205
|
+
export function inspectWorkbookRuntimeSession(handle_id: string): any;
|
|
206
|
+
|
|
207
|
+
export function listRuntimeSessionScopes(handle_id: string, request: any): any;
|
|
208
|
+
|
|
209
|
+
export function listScopes(bytes: Uint8Array, request: any): any;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* X5-U-037 merge/unmerge cells (byte path). Applies the runtime merge
|
|
213
|
+
* command and, on an applied verdict, exports the mutated workbook so the
|
|
214
|
+
* caller can thread the bytes forward. The result carries the discarded
|
|
215
|
+
* covered cells so the host can confirm the loss with the user.
|
|
216
|
+
*/
|
|
217
|
+
export function mergeCells(bytes: Uint8Array, request: any): any;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* X5-U-037 merge/unmerge cells (session path). A merge that discards
|
|
221
|
+
* covered content is a range clear for the keep-alive graph (dirty seeds =
|
|
222
|
+
* the discarded cells' ids); a merge with nothing to discard and every
|
|
223
|
+
* unmerge is value-neutral.
|
|
224
|
+
*/
|
|
225
|
+
export function mergeCellsInSession(handle_id: string, request: any): any;
|
|
226
|
+
|
|
227
|
+
export function mutateSheetStructure(bytes: Uint8Array, request: any): any;
|
|
228
|
+
|
|
229
|
+
export function mutateSheetStructureInSession(handle_id: string, request: any): any;
|
|
230
|
+
|
|
231
|
+
export function mutateSheetTabs(bytes: Uint8Array, request: any): any;
|
|
232
|
+
|
|
233
|
+
export function mutateSheetTabsInSession(handle_id: string, request: any): any;
|
|
234
|
+
|
|
235
|
+
export function openWorkbookRuntimeSession(bytes: Uint8Array, request: any): any;
|
|
236
|
+
|
|
237
|
+
export function projectViewportHint(bytes: Uint8Array, hint: any): any;
|
|
238
|
+
|
|
239
|
+
export function readCompressedContext(bytes: Uint8Array, request: any): any;
|
|
240
|
+
|
|
241
|
+
export function readCompressedDrilldown(bytes: Uint8Array, request: any): any;
|
|
242
|
+
|
|
243
|
+
export function readKernelPanel(bytes: Uint8Array, workflow_context: any): any;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* X4-CL-002 readable posture: enumerate preserve-only entities so hosts
|
|
247
|
+
* and agents can show typed preserved-object affordances instead of opaque
|
|
248
|
+
* refusals. Metadata-only: keys, kinds, source labels, digest prefixes, and
|
|
249
|
+
* provenance classes — never payload content.
|
|
250
|
+
*/
|
|
251
|
+
export function readPreserveOnlyEntities(bytes: Uint8Array, source_label?: string | null): any;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* D4-R2b (v20): digest-addressed chart XML for a `DrawingChartHandle`
|
|
255
|
+
* chart id (`chart:sha256:<64-hex>`). One-shot, uncached on the wasm side —
|
|
256
|
+
* the package seam recomputes the SHA-256 per call, so callers must not
|
|
257
|
+
* invoke this per paint frame (the client chart-preview store is the
|
|
258
|
+
* consumer guard). The workbook theme XML rides along when present so the
|
|
259
|
+
* host-side synthesizer needs no second readback. Refusals are typed
|
|
260
|
+
* kebab-case `ChartAccessError` codes.
|
|
261
|
+
*/
|
|
262
|
+
export function readRuntimeSessionChartBytes(handle_id: string, chart_id: string): any;
|
|
263
|
+
|
|
264
|
+
export function readRuntimeSessionCompressedContext(handle_id: string, request: any): any;
|
|
265
|
+
|
|
266
|
+
export function readRuntimeSessionCompressedDrilldown(handle_id: string, request: any): any;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* W-A §5: the explicit integrity readback — the ONLY session read that
|
|
270
|
+
* materializes the full state SHA on demand (memoized until the next
|
|
271
|
+
* mutation). Read-only: no revision bump, no identity advancement. Hosts
|
|
272
|
+
* use it for export-independent integrity verification and idle checks;
|
|
273
|
+
* every routine surface carries the O(1) chain identity instead.
|
|
274
|
+
*/
|
|
275
|
+
export function readRuntimeSessionIntegrity(handle_id: string): any;
|
|
276
|
+
|
|
277
|
+
export function readRuntimeSessionKernelPanel(handle_id: string, workflow_context: any): any;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* BR-3 (v18): digest-addressed media bytes for a `DrawingMediaHandle`
|
|
281
|
+
* media id (`media:sha256:<64-hex>`). One-shot, uncached on the wasm side —
|
|
282
|
+
* the package seam recomputes the SHA-256 per call, so callers must not
|
|
283
|
+
* invoke this per paint frame (the client decode cache is the consumer
|
|
284
|
+
* guard). Refusals are typed kebab-case `MediaAccessError` codes.
|
|
285
|
+
*/
|
|
286
|
+
export function readRuntimeSessionMediaBytes(handle_id: string, media_id: string): any;
|
|
287
|
+
|
|
288
|
+
export function readRuntimeSessionOverlayLanes(handle_id: string, request: any): any;
|
|
289
|
+
|
|
290
|
+
export function readRuntimeSessionPreserveOnlyEntities(handle_id: string): any;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* X5-U-028 (v24): `selection_cursor` is an optional `{anchor, head}`; when
|
|
294
|
+
* present it is validated against the selected range and echoed on the
|
|
295
|
+
* readback, so a backwards drag keeps its corners across a refresh.
|
|
296
|
+
*/
|
|
297
|
+
export function readRuntimeSessionSelection(handle_id: string, handle: any, viewport_hint: any, workflow_context: any, selection_cursor: any): any;
|
|
298
|
+
|
|
299
|
+
export function readRuntimeSessionSelectionSet(handle_id: string, request: any): any;
|
|
300
|
+
|
|
301
|
+
export function readRuntimeSessionSheetWindow(handle_id: string, viewport_hint: any, active_handle: any, workflow_context: any): any;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* T5 hybrid binary sheet-window export (`xlsx-sheet-window-binary/1`).
|
|
305
|
+
*
|
|
306
|
+
* Same parameters and window semantics as `readRuntimeSessionSheetWindow`;
|
|
307
|
+
* returns `{ schemaId, bytes, rest }` where `bytes` carries the four bulk
|
|
308
|
+
* arrays in the flat layout owned by `sheet_window_binary` and `rest` is a
|
|
309
|
+
* small JSON DTO (envelope/cache/merges/rare payloads). Cache-warm hits
|
|
310
|
+
* return the cached bytes verbatim — the serde-per-hit cost of the JSON
|
|
311
|
+
* export (bench BR-6) is skipped entirely.
|
|
312
|
+
*/
|
|
313
|
+
export function readRuntimeSessionSheetWindowBinary(handle_id: string, viewport_hint: any, active_handle: any, workflow_context: any): any;
|
|
314
|
+
|
|
315
|
+
export function readSelection(bytes: Uint8Array, handle: any, viewport_hint: any, workflow_context: any, selection_cursor: any): any;
|
|
316
|
+
|
|
317
|
+
export function readSelectionSet(bytes: Uint8Array, request: any): any;
|
|
318
|
+
|
|
319
|
+
export function readSheetWindow(bytes: Uint8Array, viewport_hint: any, active_handle: any, workflow_context: any): any;
|
|
320
|
+
|
|
321
|
+
export function readWorkflowOverlayLanes(bytes: Uint8Array, request: any): any;
|
|
322
|
+
|
|
323
|
+
export function recalculateFormulas(bytes: Uint8Array, request: any): any;
|
|
324
|
+
|
|
325
|
+
export function recalculateInSession(handle_id: string, request: any): any;
|
|
326
|
+
|
|
327
|
+
export function resizeColumnWidth(bytes: Uint8Array, request: any): any;
|
|
328
|
+
|
|
329
|
+
export function resizeColumnWidthInSession(handle_id: string, request: any): any;
|
|
330
|
+
|
|
331
|
+
export function resizeRowHeight(bytes: Uint8Array, request: any): any;
|
|
332
|
+
|
|
333
|
+
export function resizeRowHeightInSession(handle_id: string, request: any): any;
|
|
334
|
+
|
|
335
|
+
export function resolveReference(bytes: Uint8Array, query: any): any;
|
|
336
|
+
|
|
337
|
+
export function setColumnHidden(bytes: Uint8Array, request: any): any;
|
|
338
|
+
|
|
339
|
+
export function setColumnHiddenInSession(handle_id: string, request: any): any;
|
|
340
|
+
|
|
341
|
+
export function setColumnOutlineGroupHidden(bytes: Uint8Array, request: any): any;
|
|
342
|
+
|
|
343
|
+
export function setColumnOutlineGroupHiddenInSession(handle_id: string, request: any): any;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* X5-U-004: freeze/unfreeze panes (byte path). Applies the runtime frozen
|
|
347
|
+
* pane command and, on an applied verdict, exports the mutated workbook so
|
|
348
|
+
* the caller can thread the bytes forward.
|
|
349
|
+
*/
|
|
350
|
+
export function setFrozenPane(bytes: Uint8Array, request: any): any;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* X5-U-004: freeze/unfreeze panes (session path). Adopts the mutated
|
|
354
|
+
* workbook in place with the same value-neutral session bookkeeping as the
|
|
355
|
+
* layout-metric commits (pane state changes no cell values, so the
|
|
356
|
+
* keep-alive calc graph stays valid).
|
|
357
|
+
*/
|
|
358
|
+
export function setFrozenPaneInSession(handle_id: string, request: any): any;
|
|
359
|
+
|
|
360
|
+
export function setRowHidden(bytes: Uint8Array, request: any): any;
|
|
361
|
+
|
|
362
|
+
export function setRowHiddenInSession(handle_id: string, request: any): any;
|
|
363
|
+
|
|
364
|
+
export function setRowOutlineGroupHidden(bytes: Uint8Array, request: any): any;
|
|
365
|
+
|
|
366
|
+
export function setRowOutlineGroupHiddenInSession(handle_id: string, request: any): any;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* X5-U-005 outline authoring (byte path). Raises/lowers the outline level of
|
|
370
|
+
* a row/column span, then re-exports the mutated package.
|
|
371
|
+
*/
|
|
372
|
+
export function setSheetOutlineLevel(bytes: Uint8Array, request: any): any;
|
|
373
|
+
|
|
374
|
+
export function setSheetOutlineLevelInSession(handle_id: string, request: any): any;
|
|
375
|
+
|
|
376
|
+
export function startKernelRun(bytes: Uint8Array, request: any): any;
|
|
377
|
+
|
|
378
|
+
export function summarizeAccessibility(bytes: Uint8Array, handle: any, viewport_hint: any, workflow_context: any): any;
|
|
379
|
+
|
|
380
|
+
export function summarizeRuntimeSessionAccessibility(handle_id: string, handle: any, viewport_hint: any, workflow_context: any): any;
|
|
381
|
+
|
|
382
|
+
export function updateKernelSource(bytes: Uint8Array, request: any): any;
|
|
383
|
+
|
|
384
|
+
export function validateKernelAction(bytes: Uint8Array, request: any): any;
|
|
385
|
+
|
|
386
|
+
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
387
|
+
|
|
388
|
+
export interface InitOutput {
|
|
389
|
+
readonly memory: WebAssembly.Memory;
|
|
390
|
+
readonly aiSessionCall: (a: number, b: number, c: number, d: number, e: any) => [number, number, number];
|
|
391
|
+
readonly bindUiRuntimeSession: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
392
|
+
readonly bindUiSession: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
393
|
+
readonly cancelKernelRun: (a: number, b: number, c: any) => [number, number, number];
|
|
394
|
+
readonly classifyUiState: (a: number, b: number) => [number, number, number];
|
|
395
|
+
readonly commitApplyFilter: (a: number, b: number, c: any) => [number, number, number];
|
|
396
|
+
readonly commitApplyFilterInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
397
|
+
readonly commitApplySort: (a: number, b: number, c: any) => [number, number, number];
|
|
398
|
+
readonly commitApplySortInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
399
|
+
readonly commitCellFormula: (a: number, b: number, c: any) => [number, number, number];
|
|
400
|
+
readonly commitCellFormulaInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
401
|
+
readonly commitClearFilter: (a: number, b: number, c: any) => [number, number, number];
|
|
402
|
+
readonly commitClearFilterInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
403
|
+
readonly commitRangeClear: (a: number, b: number, c: any) => [number, number, number];
|
|
404
|
+
readonly commitRangeClearInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
405
|
+
readonly commitRangeDataValidation: (a: number, b: number, c: any) => [number, number, number];
|
|
406
|
+
readonly commitRangeDataValidationInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
407
|
+
readonly commitRangeFill: (a: number, b: number, c: any) => [number, number, number];
|
|
408
|
+
readonly commitRangeFillInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
409
|
+
readonly commitRangeFormat: (a: number, b: number, c: any) => [number, number, number];
|
|
410
|
+
readonly commitRangeFormatInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
411
|
+
readonly commitRangeHyperlink: (a: number, b: number, c: any) => [number, number, number];
|
|
412
|
+
readonly commitRangeHyperlinkInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
413
|
+
readonly commitRangePaste: (a: number, b: number, c: any) => [number, number, number];
|
|
414
|
+
readonly commitRangePasteInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
415
|
+
readonly commitRangeTransfer: (a: number, b: number, c: any) => [number, number, number];
|
|
416
|
+
readonly commitRangeTransferInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
417
|
+
readonly commitReviewComment: (a: number, b: number, c: any) => [number, number, number];
|
|
418
|
+
readonly commitReviewCommentInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
419
|
+
readonly commitSelectionSetClear: (a: number, b: number, c: any) => [number, number, number];
|
|
420
|
+
readonly commitSelectionSetClearInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
421
|
+
readonly commitSelectionSetFormat: (a: number, b: number, c: any) => [number, number, number];
|
|
422
|
+
readonly commitSelectionSetFormatInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
423
|
+
readonly commitSelectionSetPaste: (a: number, b: number, c: any) => [number, number, number];
|
|
424
|
+
readonly commitSelectionSetPasteInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
425
|
+
readonly commitShiftCells: (a: number, b: number, c: any) => [number, number, number];
|
|
426
|
+
readonly commitShiftCellsInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
427
|
+
readonly commitTableAppendRow: (a: number, b: number, c: any) => [number, number, number];
|
|
428
|
+
readonly commitTableAppendRowInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
429
|
+
readonly completeKernelRun: (a: number, b: number, c: any) => [number, number, number];
|
|
430
|
+
readonly createKernelBinding: (a: number, b: number, c: any) => [number, number, number];
|
|
431
|
+
readonly dataRegionInRuntimeSession: (a: number, b: number, c: any) => [number, number, number];
|
|
432
|
+
readonly defineName: (a: number, b: number, c: any) => [number, number, number];
|
|
433
|
+
readonly defineNameInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
434
|
+
readonly deleteKernelBinding: (a: number, b: number, c: any) => [number, number, number];
|
|
435
|
+
readonly detachKernelOutput: (a: number, b: number, c: any) => [number, number, number];
|
|
436
|
+
readonly disposeWorkbookRuntimeSession: (a: number, b: number) => [number, number, number];
|
|
437
|
+
readonly explainFormula: (a: number, b: number, c: any) => [number, number, number];
|
|
438
|
+
readonly explainRuntimeSessionFormula: (a: number, b: number, c: any) => [number, number, number];
|
|
439
|
+
readonly exportRuntimeSessionBytes: (a: number, b: number, c: any) => [number, number, number];
|
|
440
|
+
readonly exportRuntimeSessionDelimitedText: (a: number, b: number, c: any) => [number, number, number];
|
|
441
|
+
readonly findInRuntimeSession: (a: number, b: number, c: any) => [number, number, number];
|
|
442
|
+
readonly getWasmStatus: () => [number, number, number];
|
|
443
|
+
readonly goToInRuntimeSession: (a: number, b: number, c: any) => [number, number, number];
|
|
444
|
+
readonly inspectWorkbook: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
445
|
+
readonly inspectWorkbookRuntimeSession: (a: number, b: number) => [number, number, number];
|
|
446
|
+
readonly listRuntimeSessionScopes: (a: number, b: number, c: any) => [number, number, number];
|
|
447
|
+
readonly listScopes: (a: number, b: number, c: any) => [number, number, number];
|
|
448
|
+
readonly mergeCells: (a: number, b: number, c: any) => [number, number, number];
|
|
449
|
+
readonly mergeCellsInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
450
|
+
readonly mutateSheetStructure: (a: number, b: number, c: any) => [number, number, number];
|
|
451
|
+
readonly mutateSheetStructureInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
452
|
+
readonly mutateSheetTabs: (a: number, b: number, c: any) => [number, number, number];
|
|
453
|
+
readonly mutateSheetTabsInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
454
|
+
readonly openWorkbookRuntimeSession: (a: number, b: number, c: any) => [number, number, number];
|
|
455
|
+
readonly projectViewportHint: (a: number, b: number, c: any) => [number, number, number];
|
|
456
|
+
readonly readCompressedContext: (a: number, b: number, c: any) => [number, number, number];
|
|
457
|
+
readonly readCompressedDrilldown: (a: number, b: number, c: any) => [number, number, number];
|
|
458
|
+
readonly readKernelPanel: (a: number, b: number, c: any) => [number, number, number];
|
|
459
|
+
readonly readPreserveOnlyEntities: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
460
|
+
readonly readRuntimeSessionChartBytes: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
461
|
+
readonly readRuntimeSessionCompressedContext: (a: number, b: number, c: any) => [number, number, number];
|
|
462
|
+
readonly readRuntimeSessionCompressedDrilldown: (a: number, b: number, c: any) => [number, number, number];
|
|
463
|
+
readonly readRuntimeSessionIntegrity: (a: number, b: number) => [number, number, number];
|
|
464
|
+
readonly readRuntimeSessionKernelPanel: (a: number, b: number, c: any) => [number, number, number];
|
|
465
|
+
readonly readRuntimeSessionMediaBytes: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
466
|
+
readonly readRuntimeSessionOverlayLanes: (a: number, b: number, c: any) => [number, number, number];
|
|
467
|
+
readonly readRuntimeSessionPreserveOnlyEntities: (a: number, b: number) => [number, number, number];
|
|
468
|
+
readonly readRuntimeSessionSelection: (a: number, b: number, c: any, d: any, e: any, f: any) => [number, number, number];
|
|
469
|
+
readonly readRuntimeSessionSelectionSet: (a: number, b: number, c: any) => [number, number, number];
|
|
470
|
+
readonly readRuntimeSessionSheetWindow: (a: number, b: number, c: any, d: any, e: any) => [number, number, number];
|
|
471
|
+
readonly readRuntimeSessionSheetWindowBinary: (a: number, b: number, c: any, d: any, e: any) => [number, number, number];
|
|
472
|
+
readonly readSelection: (a: number, b: number, c: any, d: any, e: any, f: any) => [number, number, number];
|
|
473
|
+
readonly readSelectionSet: (a: number, b: number, c: any) => [number, number, number];
|
|
474
|
+
readonly readSheetWindow: (a: number, b: number, c: any, d: any, e: any) => [number, number, number];
|
|
475
|
+
readonly readWorkflowOverlayLanes: (a: number, b: number, c: any) => [number, number, number];
|
|
476
|
+
readonly recalculateFormulas: (a: number, b: number, c: any) => [number, number, number];
|
|
477
|
+
readonly recalculateInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
478
|
+
readonly resizeColumnWidth: (a: number, b: number, c: any) => [number, number, number];
|
|
479
|
+
readonly resizeColumnWidthInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
480
|
+
readonly resizeRowHeight: (a: number, b: number, c: any) => [number, number, number];
|
|
481
|
+
readonly resizeRowHeightInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
482
|
+
readonly resolveReference: (a: number, b: number, c: any) => [number, number, number];
|
|
483
|
+
readonly setColumnHidden: (a: number, b: number, c: any) => [number, number, number];
|
|
484
|
+
readonly setColumnHiddenInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
485
|
+
readonly setColumnOutlineGroupHidden: (a: number, b: number, c: any) => [number, number, number];
|
|
486
|
+
readonly setColumnOutlineGroupHiddenInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
487
|
+
readonly setFrozenPane: (a: number, b: number, c: any) => [number, number, number];
|
|
488
|
+
readonly setFrozenPaneInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
489
|
+
readonly setRowHidden: (a: number, b: number, c: any) => [number, number, number];
|
|
490
|
+
readonly setRowHiddenInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
491
|
+
readonly setRowOutlineGroupHidden: (a: number, b: number, c: any) => [number, number, number];
|
|
492
|
+
readonly setRowOutlineGroupHiddenInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
493
|
+
readonly setSheetOutlineLevel: (a: number, b: number, c: any) => [number, number, number];
|
|
494
|
+
readonly setSheetOutlineLevelInSession: (a: number, b: number, c: any) => [number, number, number];
|
|
495
|
+
readonly startKernelRun: (a: number, b: number, c: any) => [number, number, number];
|
|
496
|
+
readonly summarizeAccessibility: (a: number, b: number, c: any, d: any, e: any) => [number, number, number];
|
|
497
|
+
readonly summarizeRuntimeSessionAccessibility: (a: number, b: number, c: any, d: any, e: any) => [number, number, number];
|
|
498
|
+
readonly updateKernelSource: (a: number, b: number, c: any) => [number, number, number];
|
|
499
|
+
readonly validateKernelAction: (a: number, b: number, c: any) => [number, number, number];
|
|
500
|
+
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
501
|
+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
502
|
+
readonly __wbindgen_exn_store: (a: number) => void;
|
|
503
|
+
readonly __externref_table_alloc: () => number;
|
|
504
|
+
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
505
|
+
readonly __externref_table_dealloc: (a: number) => void;
|
|
506
|
+
readonly __wbindgen_start: () => void;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Instantiates the given `module`, which can either be bytes or
|
|
513
|
+
* a precompiled `WebAssembly.Module`.
|
|
514
|
+
*
|
|
515
|
+
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
516
|
+
*
|
|
517
|
+
* @returns {InitOutput}
|
|
518
|
+
*/
|
|
519
|
+
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
523
|
+
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
524
|
+
*
|
|
525
|
+
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
526
|
+
*
|
|
527
|
+
* @returns {Promise<InitOutput>}
|
|
528
|
+
*/
|
|
529
|
+
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|
|
530
|
+
|
|
531
|
+
/** A fresh glue object with its own wasm instance state (scripts/build-wasm.mjs). */
|
|
532
|
+
export function createXlsxSubstrateGlue(): typeof import("./xlsx_substrate_wasm.js");
|