logisheets 1.12.0 → 1.13.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/dist/wasm/logisheets_wasm_server.d.ts +5 -5
- package/dist/wasm/logisheets_wasm_server.js +12 -12
- package/dist/wasm/logisheets_wasm_server_bg.wasm +0 -0
- package/dist/wasm/package.json +1 -1
- package/package.json +1 -1
- package/wasm/logisheets_wasm_server.d.ts +5 -5
- package/wasm/logisheets_wasm_server.js +12 -12
- package/wasm/logisheets_wasm_server_bg.wasm +0 -0
- package/wasm/package.json +1 -1
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Input: AsyncFuncResult
|
|
5
|
-
* Output: ActionAffect
|
|
6
|
-
*/
|
|
7
|
-
export function input_async_result(id: number, result: any): any;
|
|
8
3
|
/**
|
|
9
4
|
* Render a number with an Excel number-format code, natively via `ssf-rs`
|
|
10
5
|
* (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
|
|
@@ -12,6 +7,11 @@ export function input_async_result(id: number, result: any): any;
|
|
|
12
7
|
* JavaScript `String(value)` representation, matching the previous behavior.
|
|
13
8
|
*/
|
|
14
9
|
export function format_number(fmt: string, value: number): string;
|
|
10
|
+
/**
|
|
11
|
+
* Input: AsyncFuncResult
|
|
12
|
+
* Output: ActionAffect
|
|
13
|
+
*/
|
|
14
|
+
export function input_async_result(id: number, result: any): any;
|
|
15
15
|
/**
|
|
16
16
|
* Render a text value with an Excel number-format code (for the `@` text
|
|
17
17
|
* section). Falls back to the text itself on an unsupported format.
|
|
@@ -170,18 +170,6 @@ function debugString(val) {
|
|
|
170
170
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
171
171
|
return className;
|
|
172
172
|
}
|
|
173
|
-
/**
|
|
174
|
-
* Input: AsyncFuncResult
|
|
175
|
-
* Output: ActionAffect
|
|
176
|
-
* @param {number} id
|
|
177
|
-
* @param {any} result
|
|
178
|
-
* @returns {any}
|
|
179
|
-
*/
|
|
180
|
-
module.exports.input_async_result = function(id, result) {
|
|
181
|
-
const ret = wasm.input_async_result(id, result);
|
|
182
|
-
return ret;
|
|
183
|
-
};
|
|
184
|
-
|
|
185
173
|
/**
|
|
186
174
|
* Render a number with an Excel number-format code, natively via `ssf-rs`
|
|
187
175
|
* (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
|
|
@@ -206,6 +194,18 @@ module.exports.format_number = function(fmt, value) {
|
|
|
206
194
|
}
|
|
207
195
|
};
|
|
208
196
|
|
|
197
|
+
/**
|
|
198
|
+
* Input: AsyncFuncResult
|
|
199
|
+
* Output: ActionAffect
|
|
200
|
+
* @param {number} id
|
|
201
|
+
* @param {any} result
|
|
202
|
+
* @returns {any}
|
|
203
|
+
*/
|
|
204
|
+
module.exports.input_async_result = function(id, result) {
|
|
205
|
+
const ret = wasm.input_async_result(id, result);
|
|
206
|
+
return ret;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
209
|
/**
|
|
210
210
|
* Render a text value with an Excel number-format code (for the `@` text
|
|
211
211
|
* section). Falls back to the text itself on an unsupported format.
|
|
Binary file
|
package/dist/wasm/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "logisheets",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Node.js bindings for LogiSheets — a Rust + WebAssembly spreadsheet engine that reads, edits, and writes real .xlsx (Excel) files (formulas, styles, and structure preserved) with no browser required.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Input: AsyncFuncResult
|
|
5
|
-
* Output: ActionAffect
|
|
6
|
-
*/
|
|
7
|
-
export function input_async_result(id: number, result: any): any;
|
|
8
3
|
/**
|
|
9
4
|
* Render a number with an Excel number-format code, natively via `ssf-rs`
|
|
10
5
|
* (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
|
|
@@ -12,6 +7,11 @@ export function input_async_result(id: number, result: any): any;
|
|
|
12
7
|
* JavaScript `String(value)` representation, matching the previous behavior.
|
|
13
8
|
*/
|
|
14
9
|
export function format_number(fmt: string, value: number): string;
|
|
10
|
+
/**
|
|
11
|
+
* Input: AsyncFuncResult
|
|
12
|
+
* Output: ActionAffect
|
|
13
|
+
*/
|
|
14
|
+
export function input_async_result(id: number, result: any): any;
|
|
15
15
|
/**
|
|
16
16
|
* Render a text value with an Excel number-format code (for the `@` text
|
|
17
17
|
* section). Falls back to the text itself on an unsupported format.
|
|
@@ -170,18 +170,6 @@ function debugString(val) {
|
|
|
170
170
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
171
171
|
return className;
|
|
172
172
|
}
|
|
173
|
-
/**
|
|
174
|
-
* Input: AsyncFuncResult
|
|
175
|
-
* Output: ActionAffect
|
|
176
|
-
* @param {number} id
|
|
177
|
-
* @param {any} result
|
|
178
|
-
* @returns {any}
|
|
179
|
-
*/
|
|
180
|
-
module.exports.input_async_result = function(id, result) {
|
|
181
|
-
const ret = wasm.input_async_result(id, result);
|
|
182
|
-
return ret;
|
|
183
|
-
};
|
|
184
|
-
|
|
185
173
|
/**
|
|
186
174
|
* Render a number with an Excel number-format code, natively via `ssf-rs`
|
|
187
175
|
* (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
|
|
@@ -206,6 +194,18 @@ module.exports.format_number = function(fmt, value) {
|
|
|
206
194
|
}
|
|
207
195
|
};
|
|
208
196
|
|
|
197
|
+
/**
|
|
198
|
+
* Input: AsyncFuncResult
|
|
199
|
+
* Output: ActionAffect
|
|
200
|
+
* @param {number} id
|
|
201
|
+
* @param {any} result
|
|
202
|
+
* @returns {any}
|
|
203
|
+
*/
|
|
204
|
+
module.exports.input_async_result = function(id, result) {
|
|
205
|
+
const ret = wasm.input_async_result(id, result);
|
|
206
|
+
return ret;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
209
|
/**
|
|
210
210
|
* Render a text value with an Excel number-format code (for the `@` text
|
|
211
211
|
* section). Falls back to the text itself on an unsupported format.
|
|
Binary file
|