logisheets 1.15.0 → 1.15.1

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.
@@ -10,5 +10,6 @@ export interface BlockSchema {
10
10
  fields: readonly BlockSchemaFieldEntry[];
11
11
  randomEntries: readonly BlockSchemaRandomEntry[];
12
12
  headerIdx?: number;
13
+ keyIdx?: number;
13
14
  uniqueTogether: readonly UniqueTogetherGroup[];
14
15
  }
@@ -1,6 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export function handle(msg: any, book_id?: number | null): any;
4
+ /**
5
+ * Input: AsyncFuncResult
6
+ * Output: ActionAffect
7
+ */
8
+ export function input_async_result(id: number, result: any): any;
4
9
  /**
5
10
  * Render a number with an Excel number-format code, natively via `ssf-rs`
6
11
  * (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
@@ -13,8 +18,3 @@ export function format_number(fmt: string, value: number): string;
13
18
  * section). Falls back to the text itself on an unsupported format.
14
19
  */
15
20
  export function format_text(fmt: string, text: string): string;
16
- /**
17
- * Input: AsyncFuncResult
18
- * Output: ActionAffect
19
- */
20
- export function input_async_result(id: number, result: any): any;
@@ -180,6 +180,18 @@ module.exports.handle = function(msg, book_id) {
180
180
  return ret;
181
181
  };
182
182
 
183
+ /**
184
+ * Input: AsyncFuncResult
185
+ * Output: ActionAffect
186
+ * @param {number} id
187
+ * @param {any} result
188
+ * @returns {any}
189
+ */
190
+ module.exports.input_async_result = function(id, result) {
191
+ const ret = wasm.input_async_result(id, result);
192
+ return ret;
193
+ };
194
+
183
195
  /**
184
196
  * Render a number with an Excel number-format code, natively via `ssf-rs`
185
197
  * (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
@@ -228,18 +240,6 @@ module.exports.format_text = function(fmt, text) {
228
240
  }
229
241
  };
230
242
 
231
- /**
232
- * Input: AsyncFuncResult
233
- * Output: ActionAffect
234
- * @param {number} id
235
- * @param {any} result
236
- * @returns {any}
237
- */
238
- module.exports.input_async_result = function(id, result) {
239
- const ret = wasm.input_async_result(id, result);
240
- return ret;
241
- };
242
-
243
243
  module.exports.__wbg_String_eecc4a11987127d6 = function(arg0, arg1) {
244
244
  const ret = String(arg1);
245
245
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "JeremyHe <yiliang.he@qq.com>"
5
5
  ],
6
- "version": "1.15.0",
6
+ "version": "1.15.1",
7
7
  "files": [
8
8
  "logisheets_wasm_server_bg.wasm",
9
9
  "logisheets_wasm_server.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logisheets",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
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,6 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export function handle(msg: any, book_id?: number | null): any;
4
+ /**
5
+ * Input: AsyncFuncResult
6
+ * Output: ActionAffect
7
+ */
8
+ export function input_async_result(id: number, result: any): any;
4
9
  /**
5
10
  * Render a number with an Excel number-format code, natively via `ssf-rs`
6
11
  * (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
@@ -13,8 +18,3 @@ export function format_number(fmt: string, value: number): string;
13
18
  * section). Falls back to the text itself on an unsupported format.
14
19
  */
15
20
  export function format_text(fmt: string, text: string): string;
16
- /**
17
- * Input: AsyncFuncResult
18
- * Output: ActionAffect
19
- */
20
- export function input_async_result(id: number, result: any): any;
@@ -180,6 +180,18 @@ module.exports.handle = function(msg, book_id) {
180
180
  return ret;
181
181
  };
182
182
 
183
+ /**
184
+ * Input: AsyncFuncResult
185
+ * Output: ActionAffect
186
+ * @param {number} id
187
+ * @param {any} result
188
+ * @returns {any}
189
+ */
190
+ module.exports.input_async_result = function(id, result) {
191
+ const ret = wasm.input_async_result(id, result);
192
+ return ret;
193
+ };
194
+
183
195
  /**
184
196
  * Render a number with an Excel number-format code, natively via `ssf-rs`
185
197
  * (the Rust port of SheetJS `ssf`). Replaces the browser's old dependency on
@@ -228,18 +240,6 @@ module.exports.format_text = function(fmt, text) {
228
240
  }
229
241
  };
230
242
 
231
- /**
232
- * Input: AsyncFuncResult
233
- * Output: ActionAffect
234
- * @param {number} id
235
- * @param {any} result
236
- * @returns {any}
237
- */
238
- module.exports.input_async_result = function(id, result) {
239
- const ret = wasm.input_async_result(id, result);
240
- return ret;
241
- };
242
-
243
243
  module.exports.__wbg_String_eecc4a11987127d6 = function(arg0, arg1) {
244
244
  const ret = String(arg1);
245
245
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
Binary file
package/wasm/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "JeremyHe <yiliang.he@qq.com>"
5
5
  ],
6
- "version": "1.15.0",
6
+ "version": "1.15.1",
7
7
  "files": [
8
8
  "logisheets_wasm_server_bg.wasm",
9
9
  "logisheets_wasm_server.js",