@senlinz/import-export-wasm 0.1.0-beta.10 → 0.1.0-beta.12

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.
@@ -4,10 +4,19 @@ const heap = new Array(128).fill(undefined);
4
4
 
5
5
  heap.push(undefined, null, true, false);
6
6
 
7
- function getObject(idx) { return heap[idx]; }
8
-
9
7
  let heap_next = heap.length;
10
8
 
9
+ function addHeapObject(obj) {
10
+ if (heap_next === heap.length) heap.push(heap.length + 1);
11
+ const idx = heap_next;
12
+ heap_next = heap[idx];
13
+
14
+ heap[idx] = obj;
15
+ return idx;
16
+ }
17
+
18
+ function getObject(idx) { return heap[idx]; }
19
+
11
20
  function dropObject(idx) {
12
21
  if (idx < 132) return;
13
22
  heap[idx] = heap_next;
@@ -38,15 +47,6 @@ function getStringFromWasm0(ptr, len) {
38
47
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
39
48
  }
40
49
 
41
- function addHeapObject(obj) {
42
- if (heap_next === heap.length) heap.push(heap.length + 1);
43
- const idx = heap_next;
44
- heap_next = heap[idx];
45
-
46
- heap[idx] = obj;
47
- return idx;
48
- }
49
-
50
50
  let WASM_VECTOR_LEN = 0;
51
51
 
52
52
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
@@ -116,31 +116,10 @@ function getDataViewMemory0() {
116
116
  return cachedDataViewMemory0;
117
117
  }
118
118
 
119
- function getArrayJsValueFromWasm0(ptr, len) {
120
- ptr = ptr >>> 0;
121
- const mem = getDataViewMemory0();
122
- const result = [];
123
- for (let i = ptr; i < ptr + 4 * len; i += 4) {
124
- result.push(takeObject(mem.getUint32(i, true)));
125
- }
126
- return result;
127
- }
128
-
129
- function passArrayJsValueToWasm0(array, malloc) {
130
- const ptr = malloc(array.length * 4, 4) >>> 0;
131
- const mem = getDataViewMemory0();
132
- for (let i = 0; i < array.length; i++) {
133
- mem.setUint32(ptr + 4 * i, addHeapObject(array[i]), true);
134
- }
135
- WASM_VECTOR_LEN = array.length;
136
- return ptr;
137
- }
138
-
139
119
  function _assertClass(instance, klass) {
140
120
  if (!(instance instanceof klass)) {
141
121
  throw new Error(`expected instance of ${klass.name}`);
142
122
  }
143
- return instance.ptr;
144
123
  }
145
124
 
146
125
  function getArrayU8FromWasm0(ptr, len) {
@@ -231,24 +210,42 @@ export function exportData(info, data) {
231
210
  }
232
211
  }
233
212
 
234
- export const ExcelDataType = Object.freeze({ Text:0,"0":"Text",Number:1,"1":"Number", });
213
+ function getArrayJsValueFromWasm0(ptr, len) {
214
+ ptr = ptr >>> 0;
215
+ const mem = getDataViewMemory0();
216
+ const result = [];
217
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
218
+ result.push(takeObject(mem.getUint32(i, true)));
219
+ }
220
+ return result;
221
+ }
222
+
223
+ function passArrayJsValueToWasm0(array, malloc) {
224
+ const ptr = malloc(array.length * 4, 4) >>> 0;
225
+ const mem = getDataViewMemory0();
226
+ for (let i = 0; i < array.length; i++) {
227
+ mem.setUint32(ptr + 4 * i, addHeapObject(array[i]), true);
228
+ }
229
+ WASM_VECTOR_LEN = array.length;
230
+ return ptr;
231
+ }
235
232
 
236
- const ExcelColumnDataFinalization = (typeof FinalizationRegistry === 'undefined')
233
+ const ExcelCellFormatFinalization = (typeof FinalizationRegistry === 'undefined')
237
234
  ? { register: () => {}, unregister: () => {} }
238
- : new FinalizationRegistry(ptr => wasm.__wbg_excelcolumndata_free(ptr >>> 0, 1));
235
+ : new FinalizationRegistry(ptr => wasm.__wbg_excelcellformat_free(ptr >>> 0, 1));
239
236
 
240
- export class ExcelColumnData {
237
+ export class ExcelCellFormat {
241
238
 
242
239
  static __wrap(ptr) {
243
240
  ptr = ptr >>> 0;
244
- const obj = Object.create(ExcelColumnData.prototype);
241
+ const obj = Object.create(ExcelCellFormat.prototype);
245
242
  obj.__wbg_ptr = ptr;
246
- ExcelColumnDataFinalization.register(obj, obj.__wbg_ptr, obj);
243
+ ExcelCellFormatFinalization.register(obj, obj.__wbg_ptr, obj);
247
244
  return obj;
248
245
  }
249
246
 
250
247
  static __unwrap(jsValue) {
251
- if (!(jsValue instanceof ExcelColumnData)) {
248
+ if (!(jsValue instanceof ExcelCellFormat)) {
252
249
  return 0;
253
250
  }
254
251
  return jsValue.__destroy_into_raw();
@@ -257,23 +254,23 @@ export class ExcelColumnData {
257
254
  __destroy_into_raw() {
258
255
  const ptr = this.__wbg_ptr;
259
256
  this.__wbg_ptr = 0;
260
- ExcelColumnDataFinalization.unregister(this);
257
+ ExcelCellFormatFinalization.unregister(this);
261
258
  return ptr;
262
259
  }
263
260
 
264
261
  free() {
265
262
  const ptr = this.__destroy_into_raw();
266
- wasm.__wbg_excelcolumndata_free(ptr, 0);
263
+ wasm.__wbg_excelcellformat_free(ptr, 0);
267
264
  }
268
265
  /**
269
266
  * @returns {string}
270
267
  */
271
- get key() {
268
+ get rule() {
272
269
  let deferred1_0;
273
270
  let deferred1_1;
274
271
  try {
275
272
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
276
- wasm.__wbg_get_excelcolumndata_key(retptr, this.__wbg_ptr);
273
+ wasm.__wbg_get_excelcellformat_rule(retptr, this.__wbg_ptr);
277
274
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
278
275
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
279
276
  deferred1_0 = r0;
@@ -287,10 +284,10 @@ export class ExcelColumnData {
287
284
  /**
288
285
  * @param {string} arg0
289
286
  */
290
- set key(arg0) {
287
+ set rule(arg0) {
291
288
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
292
289
  const len0 = WASM_VECTOR_LEN;
293
- wasm.__wbg_set_excelcolumndata_key(this.__wbg_ptr, ptr0, len0);
290
+ wasm.__wbg_set_excelcellformat_rule(this.__wbg_ptr, ptr0, len0);
294
291
  }
295
292
  /**
296
293
  * @returns {string}
@@ -300,7 +297,7 @@ export class ExcelColumnData {
300
297
  let deferred1_1;
301
298
  try {
302
299
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
303
- wasm.__wbg_get_excelcolumndata_value(retptr, this.__wbg_ptr);
300
+ wasm.__wbg_get_excelcellformat_value(retptr, this.__wbg_ptr);
304
301
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
305
302
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
306
303
  deferred1_0 = r0;
@@ -317,65 +314,163 @@ export class ExcelColumnData {
317
314
  set value(arg0) {
318
315
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
319
316
  const len0 = WASM_VECTOR_LEN;
320
- wasm.__wbg_set_excelcolumndata_value(this.__wbg_ptr, ptr0, len0);
317
+ wasm.__wbg_set_excelcellformat_value(this.__wbg_ptr, ptr0, len0);
321
318
  }
322
319
  /**
323
- * @param {string} key
324
- * @param {string} value
320
+ * @returns {string}
325
321
  */
326
- constructor(key, value) {
327
- const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
322
+ get color() {
323
+ let deferred1_0;
324
+ let deferred1_1;
325
+ try {
326
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
327
+ wasm.__wbg_get_excelcellformat_color(retptr, this.__wbg_ptr);
328
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
329
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
330
+ deferred1_0 = r0;
331
+ deferred1_1 = r1;
332
+ return getStringFromWasm0(r0, r1);
333
+ } finally {
334
+ wasm.__wbindgen_add_to_stack_pointer(16);
335
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
336
+ }
337
+ }
338
+ /**
339
+ * @param {string} arg0
340
+ */
341
+ set color(arg0) {
342
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
328
343
  const len0 = WASM_VECTOR_LEN;
329
- const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
330
- const len1 = WASM_VECTOR_LEN;
331
- const ret = wasm.excelcolumndata_new(ptr0, len0, ptr1, len1);
332
- this.__wbg_ptr = ret >>> 0;
333
- ExcelColumnDataFinalization.register(this, this.__wbg_ptr, this);
334
- return this;
344
+ wasm.__wbg_set_excelcellformat_color(this.__wbg_ptr, ptr0, len0);
335
345
  }
336
- }
337
-
338
- const ExcelColumnInfoFinalization = (typeof FinalizationRegistry === 'undefined')
339
- ? { register: () => {}, unregister: () => {} }
340
- : new FinalizationRegistry(ptr => wasm.__wbg_excelcolumninfo_free(ptr >>> 0, 1));
341
-
342
- export class ExcelColumnInfo {
343
-
344
- static __wrap(ptr) {
345
- ptr = ptr >>> 0;
346
- const obj = Object.create(ExcelColumnInfo.prototype);
347
- obj.__wbg_ptr = ptr;
348
- ExcelColumnInfoFinalization.register(obj, obj.__wbg_ptr, obj);
349
- return obj;
346
+ /**
347
+ * @returns {boolean}
348
+ */
349
+ get bold() {
350
+ const ret = wasm.__wbg_get_excelcellformat_bold(this.__wbg_ptr);
351
+ return ret !== 0;
350
352
  }
351
-
352
- static __unwrap(jsValue) {
353
- if (!(jsValue instanceof ExcelColumnInfo)) {
354
- return 0;
353
+ /**
354
+ * @param {boolean} arg0
355
+ */
356
+ set bold(arg0) {
357
+ wasm.__wbg_set_excelcellformat_bold(this.__wbg_ptr, arg0);
358
+ }
359
+ /**
360
+ * @returns {boolean}
361
+ */
362
+ get italic() {
363
+ const ret = wasm.__wbg_get_excelcellformat_italic(this.__wbg_ptr);
364
+ return ret !== 0;
365
+ }
366
+ /**
367
+ * @param {boolean} arg0
368
+ */
369
+ set italic(arg0) {
370
+ wasm.__wbg_set_excelcellformat_italic(this.__wbg_ptr, arg0);
371
+ }
372
+ /**
373
+ * @returns {boolean}
374
+ */
375
+ get underline() {
376
+ const ret = wasm.__wbg_get_excelcellformat_underline(this.__wbg_ptr);
377
+ return ret !== 0;
378
+ }
379
+ /**
380
+ * @param {boolean} arg0
381
+ */
382
+ set underline(arg0) {
383
+ wasm.__wbg_set_excelcellformat_underline(this.__wbg_ptr, arg0);
384
+ }
385
+ /**
386
+ * @returns {boolean}
387
+ */
388
+ get strikethrough() {
389
+ const ret = wasm.__wbg_get_excelcellformat_strikethrough(this.__wbg_ptr);
390
+ return ret !== 0;
391
+ }
392
+ /**
393
+ * @param {boolean} arg0
394
+ */
395
+ set strikethrough(arg0) {
396
+ wasm.__wbg_set_excelcellformat_strikethrough(this.__wbg_ptr, arg0);
397
+ }
398
+ /**
399
+ * @returns {number}
400
+ */
401
+ get font_size() {
402
+ const ret = wasm.__wbg_get_excelcellformat_font_size(this.__wbg_ptr);
403
+ return ret;
404
+ }
405
+ /**
406
+ * @param {number} arg0
407
+ */
408
+ set font_size(arg0) {
409
+ wasm.__wbg_set_excelcellformat_font_size(this.__wbg_ptr, arg0);
410
+ }
411
+ /**
412
+ * @returns {string}
413
+ */
414
+ get background_color() {
415
+ let deferred1_0;
416
+ let deferred1_1;
417
+ try {
418
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
419
+ wasm.__wbg_get_excelcellformat_background_color(retptr, this.__wbg_ptr);
420
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
421
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
422
+ deferred1_0 = r0;
423
+ deferred1_1 = r1;
424
+ return getStringFromWasm0(r0, r1);
425
+ } finally {
426
+ wasm.__wbindgen_add_to_stack_pointer(16);
427
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
355
428
  }
356
- return jsValue.__destroy_into_raw();
357
429
  }
358
-
359
- __destroy_into_raw() {
360
- const ptr = this.__wbg_ptr;
361
- this.__wbg_ptr = 0;
362
- ExcelColumnInfoFinalization.unregister(this);
363
- return ptr;
430
+ /**
431
+ * @param {string} arg0
432
+ */
433
+ set background_color(arg0) {
434
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
435
+ const len0 = WASM_VECTOR_LEN;
436
+ wasm.__wbg_set_excelcellformat_background_color(this.__wbg_ptr, ptr0, len0);
364
437
  }
365
-
366
- free() {
367
- const ptr = this.__destroy_into_raw();
368
- wasm.__wbg_excelcolumninfo_free(ptr, 0);
438
+ /**
439
+ * @returns {string}
440
+ */
441
+ get align() {
442
+ let deferred1_0;
443
+ let deferred1_1;
444
+ try {
445
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
446
+ wasm.__wbg_get_excelcellformat_align(retptr, this.__wbg_ptr);
447
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
448
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
449
+ deferred1_0 = r0;
450
+ deferred1_1 = r1;
451
+ return getStringFromWasm0(r0, r1);
452
+ } finally {
453
+ wasm.__wbindgen_add_to_stack_pointer(16);
454
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
455
+ }
456
+ }
457
+ /**
458
+ * @param {string} arg0
459
+ */
460
+ set align(arg0) {
461
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
462
+ const len0 = WASM_VECTOR_LEN;
463
+ wasm.__wbg_set_excelcellformat_align(this.__wbg_ptr, ptr0, len0);
369
464
  }
370
465
  /**
371
466
  * @returns {string}
372
467
  */
373
- get key() {
468
+ get align_vertical() {
374
469
  let deferred1_0;
375
470
  let deferred1_1;
376
471
  try {
377
472
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
378
- wasm.__wbg_get_excelcolumninfo_key(retptr, this.__wbg_ptr);
473
+ wasm.__wbg_get_excelcellformat_align_vertical(retptr, this.__wbg_ptr);
379
474
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
380
475
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
381
476
  deferred1_0 = r0;
@@ -389,20 +484,558 @@ export class ExcelColumnInfo {
389
484
  /**
390
485
  * @param {string} arg0
391
486
  */
392
- set key(arg0) {
487
+ set align_vertical(arg0) {
393
488
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
394
489
  const len0 = WASM_VECTOR_LEN;
395
- wasm.__wbg_set_excelcolumninfo_key(this.__wbg_ptr, ptr0, len0);
490
+ wasm.__wbg_set_excelcellformat_align_vertical(this.__wbg_ptr, ptr0, len0);
491
+ }
492
+ /**
493
+ * @returns {string | undefined}
494
+ */
495
+ get date_format() {
496
+ try {
497
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
498
+ wasm.__wbg_get_excelcellformat_date_format(retptr, this.__wbg_ptr);
499
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
500
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
501
+ let v1;
502
+ if (r0 !== 0) {
503
+ v1 = getStringFromWasm0(r0, r1).slice();
504
+ wasm.__wbindgen_free(r0, r1 * 1, 1);
505
+ }
506
+ return v1;
507
+ } finally {
508
+ wasm.__wbindgen_add_to_stack_pointer(16);
509
+ }
510
+ }
511
+ /**
512
+ * @param {string | undefined} [arg0]
513
+ */
514
+ set date_format(arg0) {
515
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
516
+ var len0 = WASM_VECTOR_LEN;
517
+ wasm.__wbg_set_excelcellformat_date_format(this.__wbg_ptr, ptr0, len0);
518
+ }
519
+ /**
520
+ * @returns {string | undefined}
521
+ */
522
+ get border_color() {
523
+ try {
524
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
525
+ wasm.__wbg_get_excelcellformat_border_color(retptr, this.__wbg_ptr);
526
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
527
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
528
+ let v1;
529
+ if (r0 !== 0) {
530
+ v1 = getStringFromWasm0(r0, r1).slice();
531
+ wasm.__wbindgen_free(r0, r1 * 1, 1);
532
+ }
533
+ return v1;
534
+ } finally {
535
+ wasm.__wbindgen_add_to_stack_pointer(16);
536
+ }
537
+ }
538
+ /**
539
+ * @param {string | undefined} [arg0]
540
+ */
541
+ set border_color(arg0) {
542
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
543
+ var len0 = WASM_VECTOR_LEN;
544
+ wasm.__wbg_set_excelcellformat_border_color(this.__wbg_ptr, ptr0, len0);
545
+ }
546
+ constructor() {
547
+ const ret = wasm.excelcellformat_new();
548
+ this.__wbg_ptr = ret >>> 0;
549
+ ExcelCellFormatFinalization.register(this, this.__wbg_ptr, this);
550
+ return this;
551
+ }
552
+ /**
553
+ * @param {string} rule
554
+ * @returns {ExcelCellFormat}
555
+ */
556
+ withRule(rule) {
557
+ const ptr = this.__destroy_into_raw();
558
+ const ptr0 = passStringToWasm0(rule, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
559
+ const len0 = WASM_VECTOR_LEN;
560
+ const ret = wasm.excelcellformat_withRule(ptr, ptr0, len0);
561
+ return ExcelCellFormat.__wrap(ret);
562
+ }
563
+ /**
564
+ * @param {string} value
565
+ * @returns {ExcelCellFormat}
566
+ */
567
+ withValue(value) {
568
+ const ptr = this.__destroy_into_raw();
569
+ const ptr0 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
570
+ const len0 = WASM_VECTOR_LEN;
571
+ const ret = wasm.excelcellformat_withValue(ptr, ptr0, len0);
572
+ return ExcelCellFormat.__wrap(ret);
573
+ }
574
+ /**
575
+ * @param {string} color
576
+ * @returns {ExcelCellFormat}
577
+ */
578
+ withColor(color) {
579
+ const ptr = this.__destroy_into_raw();
580
+ const ptr0 = passStringToWasm0(color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
581
+ const len0 = WASM_VECTOR_LEN;
582
+ const ret = wasm.excelcellformat_withColor(ptr, ptr0, len0);
583
+ return ExcelCellFormat.__wrap(ret);
584
+ }
585
+ /**
586
+ * @param {boolean} bold
587
+ * @returns {ExcelCellFormat}
588
+ */
589
+ withBold(bold) {
590
+ const ptr = this.__destroy_into_raw();
591
+ const ret = wasm.excelcellformat_withBold(ptr, bold);
592
+ return ExcelCellFormat.__wrap(ret);
593
+ }
594
+ /**
595
+ * @param {boolean} italic
596
+ * @returns {ExcelCellFormat}
597
+ */
598
+ withItalic(italic) {
599
+ const ptr = this.__destroy_into_raw();
600
+ const ret = wasm.excelcellformat_withItalic(ptr, italic);
601
+ return ExcelCellFormat.__wrap(ret);
602
+ }
603
+ /**
604
+ * @param {boolean} underline
605
+ * @returns {ExcelCellFormat}
606
+ */
607
+ withUnderline(underline) {
608
+ const ptr = this.__destroy_into_raw();
609
+ const ret = wasm.excelcellformat_withUnderline(ptr, underline);
610
+ return ExcelCellFormat.__wrap(ret);
611
+ }
612
+ /**
613
+ * @param {boolean} strikethrough
614
+ * @returns {ExcelCellFormat}
615
+ */
616
+ withStrikethrough(strikethrough) {
617
+ const ptr = this.__destroy_into_raw();
618
+ const ret = wasm.excelcellformat_withStrikethrough(ptr, strikethrough);
619
+ return ExcelCellFormat.__wrap(ret);
620
+ }
621
+ /**
622
+ * @param {number} font_size
623
+ * @returns {ExcelCellFormat}
624
+ */
625
+ withFontSize(font_size) {
626
+ const ptr = this.__destroy_into_raw();
627
+ const ret = wasm.excelcellformat_withFontSize(ptr, font_size);
628
+ return ExcelCellFormat.__wrap(ret);
629
+ }
630
+ /**
631
+ * @param {string} background_color
632
+ * @returns {ExcelCellFormat}
633
+ */
634
+ withBackgroundColor(background_color) {
635
+ const ptr = this.__destroy_into_raw();
636
+ const ptr0 = passStringToWasm0(background_color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
637
+ const len0 = WASM_VECTOR_LEN;
638
+ const ret = wasm.excelcellformat_withBackgroundColor(ptr, ptr0, len0);
639
+ return ExcelCellFormat.__wrap(ret);
640
+ }
641
+ /**
642
+ * @param {string} align
643
+ * @returns {ExcelCellFormat}
644
+ */
645
+ withAlign(align) {
646
+ const ptr = this.__destroy_into_raw();
647
+ const ptr0 = passStringToWasm0(align, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
648
+ const len0 = WASM_VECTOR_LEN;
649
+ const ret = wasm.excelcellformat_withAlign(ptr, ptr0, len0);
650
+ return ExcelCellFormat.__wrap(ret);
651
+ }
652
+ /**
653
+ * @param {string} align_vertical
654
+ * @returns {ExcelCellFormat}
655
+ */
656
+ withAlignVertical(align_vertical) {
657
+ const ptr = this.__destroy_into_raw();
658
+ const ptr0 = passStringToWasm0(align_vertical, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
659
+ const len0 = WASM_VECTOR_LEN;
660
+ const ret = wasm.excelcellformat_withAlignVertical(ptr, ptr0, len0);
661
+ return ExcelCellFormat.__wrap(ret);
662
+ }
663
+ /**
664
+ * @param {string} date_format
665
+ * @returns {ExcelCellFormat}
666
+ */
667
+ withDateFormat(date_format) {
668
+ const ptr = this.__destroy_into_raw();
669
+ const ptr0 = passStringToWasm0(date_format, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
670
+ const len0 = WASM_VECTOR_LEN;
671
+ const ret = wasm.excelcellformat_withDateFormat(ptr, ptr0, len0);
672
+ return ExcelCellFormat.__wrap(ret);
673
+ }
674
+ /**
675
+ * @param {string} border_color
676
+ * @returns {ExcelCellFormat}
677
+ */
678
+ withBorderColor(border_color) {
679
+ const ptr = this.__destroy_into_raw();
680
+ const ptr0 = passStringToWasm0(border_color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
681
+ const len0 = WASM_VECTOR_LEN;
682
+ const ret = wasm.excelcellformat_withBorderColor(ptr, ptr0, len0);
683
+ return ExcelCellFormat.__wrap(ret);
684
+ }
685
+ }
686
+
687
+ const ExcelColumnDataFinalization = (typeof FinalizationRegistry === 'undefined')
688
+ ? { register: () => {}, unregister: () => {} }
689
+ : new FinalizationRegistry(ptr => wasm.__wbg_excelcolumndata_free(ptr >>> 0, 1));
690
+
691
+ export class ExcelColumnData {
692
+
693
+ static __wrap(ptr) {
694
+ ptr = ptr >>> 0;
695
+ const obj = Object.create(ExcelColumnData.prototype);
696
+ obj.__wbg_ptr = ptr;
697
+ ExcelColumnDataFinalization.register(obj, obj.__wbg_ptr, obj);
698
+ return obj;
699
+ }
700
+
701
+ static __unwrap(jsValue) {
702
+ if (!(jsValue instanceof ExcelColumnData)) {
703
+ return 0;
704
+ }
705
+ return jsValue.__destroy_into_raw();
706
+ }
707
+
708
+ __destroy_into_raw() {
709
+ const ptr = this.__wbg_ptr;
710
+ this.__wbg_ptr = 0;
711
+ ExcelColumnDataFinalization.unregister(this);
712
+ return ptr;
713
+ }
714
+
715
+ free() {
716
+ const ptr = this.__destroy_into_raw();
717
+ wasm.__wbg_excelcolumndata_free(ptr, 0);
718
+ }
719
+ /**
720
+ * @returns {string}
721
+ */
722
+ get key() {
723
+ let deferred1_0;
724
+ let deferred1_1;
725
+ try {
726
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
727
+ wasm.__wbg_get_excelcolumndata_key(retptr, this.__wbg_ptr);
728
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
729
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
730
+ deferred1_0 = r0;
731
+ deferred1_1 = r1;
732
+ return getStringFromWasm0(r0, r1);
733
+ } finally {
734
+ wasm.__wbindgen_add_to_stack_pointer(16);
735
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
736
+ }
737
+ }
738
+ /**
739
+ * @param {string} arg0
740
+ */
741
+ set key(arg0) {
742
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
743
+ const len0 = WASM_VECTOR_LEN;
744
+ wasm.__wbg_set_excelcolumndata_key(this.__wbg_ptr, ptr0, len0);
745
+ }
746
+ /**
747
+ * @returns {string}
748
+ */
749
+ get value() {
750
+ let deferred1_0;
751
+ let deferred1_1;
752
+ try {
753
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
754
+ wasm.__wbg_get_excelcolumndata_value(retptr, this.__wbg_ptr);
755
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
756
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
757
+ deferred1_0 = r0;
758
+ deferred1_1 = r1;
759
+ return getStringFromWasm0(r0, r1);
760
+ } finally {
761
+ wasm.__wbindgen_add_to_stack_pointer(16);
762
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
763
+ }
764
+ }
765
+ /**
766
+ * @param {string} arg0
767
+ */
768
+ set value(arg0) {
769
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
770
+ const len0 = WASM_VECTOR_LEN;
771
+ wasm.__wbg_set_excelcolumndata_value(this.__wbg_ptr, ptr0, len0);
772
+ }
773
+ /**
774
+ * @returns {(ExcelRowData)[]}
775
+ */
776
+ get children() {
777
+ try {
778
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
779
+ wasm.__wbg_get_excelcolumndata_children(retptr, this.__wbg_ptr);
780
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
781
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
782
+ var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
783
+ wasm.__wbindgen_free(r0, r1 * 4, 4);
784
+ return v1;
785
+ } finally {
786
+ wasm.__wbindgen_add_to_stack_pointer(16);
787
+ }
788
+ }
789
+ /**
790
+ * @param {(ExcelRowData)[]} arg0
791
+ */
792
+ set children(arg0) {
793
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
794
+ const len0 = WASM_VECTOR_LEN;
795
+ wasm.__wbg_set_excelcolumndata_children(this.__wbg_ptr, ptr0, len0);
796
+ }
797
+ /**
798
+ * @param {string} key
799
+ * @param {string} value
800
+ */
801
+ constructor(key, value) {
802
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
803
+ const len0 = WASM_VECTOR_LEN;
804
+ const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
805
+ const len1 = WASM_VECTOR_LEN;
806
+ const ret = wasm.excelcolumndata_bind_new(ptr0, len0, ptr1, len1);
807
+ this.__wbg_ptr = ret >>> 0;
808
+ ExcelColumnDataFinalization.register(this, this.__wbg_ptr, this);
809
+ return this;
810
+ }
811
+ /**
812
+ * @param {string} group_name
813
+ * @param {string} value
814
+ * @param {(ExcelRowData)[]} children
815
+ * @returns {ExcelColumnData}
816
+ */
817
+ static newGroup(group_name, value, children) {
818
+ const ptr0 = passStringToWasm0(group_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
819
+ const len0 = WASM_VECTOR_LEN;
820
+ const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
821
+ const len1 = WASM_VECTOR_LEN;
822
+ const ptr2 = passArrayJsValueToWasm0(children, wasm.__wbindgen_malloc);
823
+ const len2 = WASM_VECTOR_LEN;
824
+ const ret = wasm.excelcolumndata_newGroup(ptr0, len0, ptr1, len1, ptr2, len2);
825
+ return ExcelColumnData.__wrap(ret);
826
+ }
827
+ /**
828
+ * @param {string} group_name
829
+ * @param {(ExcelRowData)[]} children
830
+ * @returns {ExcelColumnData}
831
+ */
832
+ static newRootGroup(group_name, children) {
833
+ const ptr0 = passStringToWasm0(group_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
834
+ const len0 = WASM_VECTOR_LEN;
835
+ const ptr1 = passArrayJsValueToWasm0(children, wasm.__wbindgen_malloc);
836
+ const len1 = WASM_VECTOR_LEN;
837
+ const ret = wasm.excelcolumndata_newRootGroup(ptr0, len0, ptr1, len1);
838
+ return ExcelColumnData.__wrap(ret);
839
+ }
840
+ /**
841
+ * @param {(ExcelRowData)[]} children
842
+ * @returns {ExcelColumnData}
843
+ */
844
+ withChildren(children) {
845
+ const ptr = this.__destroy_into_raw();
846
+ const ptr0 = passArrayJsValueToWasm0(children, wasm.__wbindgen_malloc);
847
+ const len0 = WASM_VECTOR_LEN;
848
+ const ret = wasm.excelcolumndata_withChildren(ptr, ptr0, len0);
849
+ return ExcelColumnData.__wrap(ret);
850
+ }
851
+ }
852
+
853
+ const ExcelColumnInfoFinalization = (typeof FinalizationRegistry === 'undefined')
854
+ ? { register: () => {}, unregister: () => {} }
855
+ : new FinalizationRegistry(ptr => wasm.__wbg_excelcolumninfo_free(ptr >>> 0, 1));
856
+
857
+ export class ExcelColumnInfo {
858
+
859
+ static __wrap(ptr) {
860
+ ptr = ptr >>> 0;
861
+ const obj = Object.create(ExcelColumnInfo.prototype);
862
+ obj.__wbg_ptr = ptr;
863
+ ExcelColumnInfoFinalization.register(obj, obj.__wbg_ptr, obj);
864
+ return obj;
865
+ }
866
+
867
+ static __unwrap(jsValue) {
868
+ if (!(jsValue instanceof ExcelColumnInfo)) {
869
+ return 0;
870
+ }
871
+ return jsValue.__destroy_into_raw();
872
+ }
873
+
874
+ __destroy_into_raw() {
875
+ const ptr = this.__wbg_ptr;
876
+ this.__wbg_ptr = 0;
877
+ ExcelColumnInfoFinalization.unregister(this);
878
+ return ptr;
879
+ }
880
+
881
+ free() {
882
+ const ptr = this.__destroy_into_raw();
883
+ wasm.__wbg_excelcolumninfo_free(ptr, 0);
884
+ }
885
+ /**
886
+ * @returns {string}
887
+ */
888
+ get key() {
889
+ let deferred1_0;
890
+ let deferred1_1;
891
+ try {
892
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
893
+ wasm.__wbg_get_excelcolumninfo_key(retptr, this.__wbg_ptr);
894
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
895
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
896
+ deferred1_0 = r0;
897
+ deferred1_1 = r1;
898
+ return getStringFromWasm0(r0, r1);
899
+ } finally {
900
+ wasm.__wbindgen_add_to_stack_pointer(16);
901
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
902
+ }
903
+ }
904
+ /**
905
+ * @param {string} arg0
906
+ */
907
+ set key(arg0) {
908
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
909
+ const len0 = WASM_VECTOR_LEN;
910
+ wasm.__wbg_set_excelcolumninfo_key(this.__wbg_ptr, ptr0, len0);
911
+ }
912
+ /**
913
+ * @returns {string}
914
+ */
915
+ get name() {
916
+ let deferred1_0;
917
+ let deferred1_1;
918
+ try {
919
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
920
+ wasm.__wbg_get_excelcolumninfo_name(retptr, this.__wbg_ptr);
921
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
922
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
923
+ deferred1_0 = r0;
924
+ deferred1_1 = r1;
925
+ return getStringFromWasm0(r0, r1);
926
+ } finally {
927
+ wasm.__wbindgen_add_to_stack_pointer(16);
928
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
929
+ }
930
+ }
931
+ /**
932
+ * @param {string} arg0
933
+ */
934
+ set name(arg0) {
935
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
936
+ const len0 = WASM_VECTOR_LEN;
937
+ wasm.__wbg_set_excelcolumninfo_name(this.__wbg_ptr, ptr0, len0);
938
+ }
939
+ /**
940
+ * @returns {number}
941
+ */
942
+ get width() {
943
+ const ret = wasm.__wbg_get_excelcolumninfo_width(this.__wbg_ptr);
944
+ return ret;
945
+ }
946
+ /**
947
+ * @param {number} arg0
948
+ */
949
+ set width(arg0) {
950
+ wasm.__wbg_set_excelcolumninfo_width(this.__wbg_ptr, arg0);
951
+ }
952
+ /**
953
+ * @returns {string | undefined}
954
+ */
955
+ get note() {
956
+ try {
957
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
958
+ wasm.__wbg_get_excelcolumninfo_note(retptr, this.__wbg_ptr);
959
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
960
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
961
+ let v1;
962
+ if (r0 !== 0) {
963
+ v1 = getStringFromWasm0(r0, r1).slice();
964
+ wasm.__wbindgen_free(r0, r1 * 1, 1);
965
+ }
966
+ return v1;
967
+ } finally {
968
+ wasm.__wbindgen_add_to_stack_pointer(16);
969
+ }
970
+ }
971
+ /**
972
+ * @param {string | undefined} [arg0]
973
+ */
974
+ set note(arg0) {
975
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
976
+ var len0 = WASM_VECTOR_LEN;
977
+ wasm.__wbg_set_excelcolumninfo_note(this.__wbg_ptr, ptr0, len0);
978
+ }
979
+ /**
980
+ * @returns {string}
981
+ */
982
+ get data_type() {
983
+ let deferred1_0;
984
+ let deferred1_1;
985
+ try {
986
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
987
+ wasm.__wbg_get_excelcolumninfo_data_type(retptr, this.__wbg_ptr);
988
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
989
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
990
+ deferred1_0 = r0;
991
+ deferred1_1 = r1;
992
+ return getStringFromWasm0(r0, r1);
993
+ } finally {
994
+ wasm.__wbindgen_add_to_stack_pointer(16);
995
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
996
+ }
997
+ }
998
+ /**
999
+ * @param {string} arg0
1000
+ */
1001
+ set data_type(arg0) {
1002
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1003
+ const len0 = WASM_VECTOR_LEN;
1004
+ wasm.__wbg_set_excelcolumninfo_data_type(this.__wbg_ptr, ptr0, len0);
1005
+ }
1006
+ /**
1007
+ * @returns {(string)[]}
1008
+ */
1009
+ get allowed_values() {
1010
+ try {
1011
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1012
+ wasm.__wbg_get_excelcolumninfo_allowed_values(retptr, this.__wbg_ptr);
1013
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1014
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1015
+ var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
1016
+ wasm.__wbindgen_free(r0, r1 * 4, 4);
1017
+ return v1;
1018
+ } finally {
1019
+ wasm.__wbindgen_add_to_stack_pointer(16);
1020
+ }
1021
+ }
1022
+ /**
1023
+ * @param {(string)[]} arg0
1024
+ */
1025
+ set allowed_values(arg0) {
1026
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
1027
+ const len0 = WASM_VECTOR_LEN;
1028
+ wasm.__wbg_set_excelcolumninfo_allowed_values(this.__wbg_ptr, ptr0, len0);
396
1029
  }
397
1030
  /**
398
1031
  * @returns {string}
399
1032
  */
400
- get name() {
1033
+ get parent() {
401
1034
  let deferred1_0;
402
1035
  let deferred1_1;
403
1036
  try {
404
1037
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
405
- wasm.__wbg_get_excelcolumninfo_name(retptr, this.__wbg_ptr);
1038
+ wasm.__wbg_get_excelcolumninfo_parent(retptr, this.__wbg_ptr);
406
1039
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
407
1040
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
408
1041
  deferred1_0 = r0;
@@ -416,134 +1049,217 @@ export class ExcelColumnInfo {
416
1049
  /**
417
1050
  * @param {string} arg0
418
1051
  */
419
- set name(arg0) {
1052
+ set parent(arg0) {
420
1053
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
421
1054
  const len0 = WASM_VECTOR_LEN;
422
- wasm.__wbg_set_excelcolumninfo_name(this.__wbg_ptr, ptr0, len0);
1055
+ wasm.__wbg_set_excelcolumninfo_parent(this.__wbg_ptr, ptr0, len0);
423
1056
  }
424
1057
  /**
425
- * @returns {number | undefined}
1058
+ * @returns {ExcelCellFormat | undefined}
426
1059
  */
427
- get width() {
428
- try {
429
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
430
- wasm.__wbg_get_excelcolumninfo_width(retptr, this.__wbg_ptr);
431
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
432
- var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
433
- return r0 === 0 ? undefined : r2;
434
- } finally {
435
- wasm.__wbindgen_add_to_stack_pointer(16);
436
- }
1060
+ get format() {
1061
+ const ret = wasm.__wbg_get_excelcolumninfo_format(this.__wbg_ptr);
1062
+ return ret === 0 ? undefined : ExcelCellFormat.__wrap(ret);
437
1063
  }
438
1064
  /**
439
- * @param {number | undefined} [arg0]
1065
+ * @param {ExcelCellFormat | undefined} [arg0]
440
1066
  */
441
- set width(arg0) {
442
- wasm.__wbg_set_excelcolumninfo_width(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
1067
+ set format(arg0) {
1068
+ let ptr0 = 0;
1069
+ if (!isLikeNone(arg0)) {
1070
+ _assertClass(arg0, ExcelCellFormat);
1071
+ ptr0 = arg0.__destroy_into_raw();
1072
+ }
1073
+ wasm.__wbg_set_excelcolumninfo_format(this.__wbg_ptr, ptr0);
443
1074
  }
444
1075
  /**
445
- * @returns {string | undefined}
1076
+ * @returns {(ExcelCellFormat)[]}
446
1077
  */
447
- get note() {
1078
+ get value_format() {
448
1079
  try {
449
1080
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
450
- wasm.__wbg_get_excelcolumninfo_note(retptr, this.__wbg_ptr);
1081
+ wasm.__wbg_get_excelcolumninfo_value_format(retptr, this.__wbg_ptr);
451
1082
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
452
1083
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
453
- let v1;
454
- if (r0 !== 0) {
455
- v1 = getStringFromWasm0(r0, r1).slice();
456
- wasm.__wbindgen_free(r0, r1 * 1, 1);
457
- }
1084
+ var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
1085
+ wasm.__wbindgen_free(r0, r1 * 4, 4);
458
1086
  return v1;
459
1087
  } finally {
460
1088
  wasm.__wbindgen_add_to_stack_pointer(16);
461
1089
  }
462
1090
  }
463
1091
  /**
464
- * @param {string | undefined} [arg0]
1092
+ * @param {(ExcelCellFormat)[]} arg0
465
1093
  */
466
- set note(arg0) {
467
- var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
468
- var len0 = WASM_VECTOR_LEN;
469
- wasm.__wbg_set_excelcolumninfo_note(this.__wbg_ptr, ptr0, len0);
1094
+ set value_format(arg0) {
1095
+ const ptr0 = passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
1096
+ const len0 = WASM_VECTOR_LEN;
1097
+ wasm.__wbg_set_excelcolumninfo_value_format(this.__wbg_ptr, ptr0, len0);
470
1098
  }
471
1099
  /**
472
- * @returns {ExcelDataType}
1100
+ * @returns {string}
473
1101
  */
474
- get data_type() {
475
- const ret = wasm.__wbg_get_excelcolumninfo_data_type(this.__wbg_ptr);
476
- return ret;
1102
+ get data_group() {
1103
+ let deferred1_0;
1104
+ let deferred1_1;
1105
+ try {
1106
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1107
+ wasm.__wbg_get_excelcolumninfo_data_group(retptr, this.__wbg_ptr);
1108
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1109
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1110
+ deferred1_0 = r0;
1111
+ deferred1_1 = r1;
1112
+ return getStringFromWasm0(r0, r1);
1113
+ } finally {
1114
+ wasm.__wbindgen_add_to_stack_pointer(16);
1115
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1116
+ }
477
1117
  }
478
1118
  /**
479
- * @param {ExcelDataType} arg0
1119
+ * @param {string} arg0
480
1120
  */
481
- set data_type(arg0) {
482
- wasm.__wbg_set_excelcolumninfo_data_type(this.__wbg_ptr, arg0);
1121
+ set data_group(arg0) {
1122
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1123
+ const len0 = WASM_VECTOR_LEN;
1124
+ wasm.__wbg_set_excelcolumninfo_data_group(this.__wbg_ptr, ptr0, len0);
483
1125
  }
484
1126
  /**
485
- * @returns {(string)[] | undefined}
1127
+ * @returns {string}
486
1128
  */
487
- get allowed_values() {
1129
+ get data_group_parent() {
1130
+ let deferred1_0;
1131
+ let deferred1_1;
488
1132
  try {
489
1133
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
490
- wasm.__wbg_get_excelcolumninfo_allowed_values(retptr, this.__wbg_ptr);
1134
+ wasm.__wbg_get_excelcolumninfo_data_group_parent(retptr, this.__wbg_ptr);
491
1135
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
492
1136
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
493
- let v1;
494
- if (r0 !== 0) {
495
- v1 = getArrayJsValueFromWasm0(r0, r1).slice();
496
- wasm.__wbindgen_free(r0, r1 * 4, 4);
497
- }
498
- return v1;
1137
+ deferred1_0 = r0;
1138
+ deferred1_1 = r1;
1139
+ return getStringFromWasm0(r0, r1);
499
1140
  } finally {
500
1141
  wasm.__wbindgen_add_to_stack_pointer(16);
1142
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
501
1143
  }
502
1144
  }
503
1145
  /**
504
- * @param {(string)[] | undefined} [arg0]
1146
+ * @param {string} arg0
505
1147
  */
506
- set allowed_values(arg0) {
507
- var ptr0 = isLikeNone(arg0) ? 0 : passArrayJsValueToWasm0(arg0, wasm.__wbindgen_malloc);
508
- var len0 = WASM_VECTOR_LEN;
509
- wasm.__wbg_set_excelcolumninfo_allowed_values(this.__wbg_ptr, ptr0, len0);
1148
+ set data_group_parent(arg0) {
1149
+ const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1150
+ const len0 = WASM_VECTOR_LEN;
1151
+ wasm.__wbg_set_excelcolumninfo_data_group_parent(this.__wbg_ptr, ptr0, len0);
510
1152
  }
511
1153
  /**
512
1154
  * @param {string} key
513
1155
  * @param {string} name
514
- * @param {number | undefined} [width]
515
1156
  */
516
- constructor(key, name, width) {
1157
+ constructor(key, name) {
517
1158
  const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
518
1159
  const len0 = WASM_VECTOR_LEN;
519
1160
  const ptr1 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
520
1161
  const len1 = WASM_VECTOR_LEN;
521
- const ret = wasm.excelcolumninfo_new(ptr0, len0, ptr1, len1, !isLikeNone(width), isLikeNone(width) ? 0 : width);
1162
+ const ret = wasm.excelcolumninfo_bind_new(ptr0, len0, ptr1, len1);
522
1163
  this.__wbg_ptr = ret >>> 0;
523
1164
  ExcelColumnInfoFinalization.register(this, this.__wbg_ptr, this);
524
1165
  return this;
525
1166
  }
526
1167
  /**
527
1168
  * @param {string} note
1169
+ * @returns {ExcelColumnInfo}
528
1170
  */
529
- setNote(note) {
1171
+ withNote(note) {
1172
+ const ptr = this.__destroy_into_raw();
530
1173
  const ptr0 = passStringToWasm0(note, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
531
1174
  const len0 = WASM_VECTOR_LEN;
532
- wasm.excelcolumninfo_setNote(this.__wbg_ptr, ptr0, len0);
1175
+ const ret = wasm.excelcolumninfo_withNote(ptr, ptr0, len0);
1176
+ return ExcelColumnInfo.__wrap(ret);
533
1177
  }
534
1178
  /**
535
- * @param {ExcelDataType} data_type
1179
+ * @param {string} data_type
1180
+ * @returns {ExcelColumnInfo}
536
1181
  */
537
- setDataType(data_type) {
538
- wasm.excelcolumninfo_setDataType(this.__wbg_ptr, data_type);
1182
+ withDataType(data_type) {
1183
+ const ptr = this.__destroy_into_raw();
1184
+ const ptr0 = passStringToWasm0(data_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1185
+ const len0 = WASM_VECTOR_LEN;
1186
+ const ret = wasm.excelcolumninfo_withDataType(ptr, ptr0, len0);
1187
+ return ExcelColumnInfo.__wrap(ret);
539
1188
  }
540
1189
  /**
541
1190
  * @param {(string)[]} allowed_values
1191
+ * @returns {ExcelColumnInfo}
542
1192
  */
543
- setAllowedValues(allowed_values) {
1193
+ withAllowedValues(allowed_values) {
1194
+ const ptr = this.__destroy_into_raw();
544
1195
  const ptr0 = passArrayJsValueToWasm0(allowed_values, wasm.__wbindgen_malloc);
545
1196
  const len0 = WASM_VECTOR_LEN;
546
- wasm.excelcolumninfo_setAllowedValues(this.__wbg_ptr, ptr0, len0);
1197
+ const ret = wasm.excelcolumninfo_withAllowedValues(ptr, ptr0, len0);
1198
+ return ExcelColumnInfo.__wrap(ret);
1199
+ }
1200
+ /**
1201
+ * @param {number} width
1202
+ * @returns {ExcelColumnInfo}
1203
+ */
1204
+ withWidth(width) {
1205
+ const ptr = this.__destroy_into_raw();
1206
+ const ret = wasm.excelcolumninfo_withWidth(ptr, width);
1207
+ return ExcelColumnInfo.__wrap(ret);
1208
+ }
1209
+ /**
1210
+ * @param {ExcelCellFormat} format
1211
+ * @returns {ExcelColumnInfo}
1212
+ */
1213
+ withFormat(format) {
1214
+ const ptr = this.__destroy_into_raw();
1215
+ _assertClass(format, ExcelCellFormat);
1216
+ var ptr0 = format.__destroy_into_raw();
1217
+ const ret = wasm.excelcolumninfo_withFormat(ptr, ptr0);
1218
+ return ExcelColumnInfo.__wrap(ret);
1219
+ }
1220
+ /**
1221
+ * @param {string} parent
1222
+ * @returns {ExcelColumnInfo}
1223
+ */
1224
+ withParent(parent) {
1225
+ const ptr = this.__destroy_into_raw();
1226
+ const ptr0 = passStringToWasm0(parent, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1227
+ const len0 = WASM_VECTOR_LEN;
1228
+ const ret = wasm.excelcolumninfo_withParent(ptr, ptr0, len0);
1229
+ return ExcelColumnInfo.__wrap(ret);
1230
+ }
1231
+ /**
1232
+ * @param {(ExcelCellFormat)[]} value_format
1233
+ * @returns {ExcelColumnInfo}
1234
+ */
1235
+ withValueFormat(value_format) {
1236
+ const ptr = this.__destroy_into_raw();
1237
+ const ptr0 = passArrayJsValueToWasm0(value_format, wasm.__wbindgen_malloc);
1238
+ const len0 = WASM_VECTOR_LEN;
1239
+ const ret = wasm.excelcolumninfo_withValueFormat(ptr, ptr0, len0);
1240
+ return ExcelColumnInfo.__wrap(ret);
1241
+ }
1242
+ /**
1243
+ * @param {string} group
1244
+ * @returns {ExcelColumnInfo}
1245
+ */
1246
+ withDataGroup(group) {
1247
+ const ptr = this.__destroy_into_raw();
1248
+ const ptr0 = passStringToWasm0(group, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1249
+ const len0 = WASM_VECTOR_LEN;
1250
+ const ret = wasm.excelcolumninfo_withDataGroup(ptr, ptr0, len0);
1251
+ return ExcelColumnInfo.__wrap(ret);
1252
+ }
1253
+ /**
1254
+ * @param {string} group_parent
1255
+ * @returns {ExcelColumnInfo}
1256
+ */
1257
+ withDataGroupParent(group_parent) {
1258
+ const ptr = this.__destroy_into_raw();
1259
+ const ptr0 = passStringToWasm0(group_parent, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1260
+ const len0 = WASM_VECTOR_LEN;
1261
+ const ret = wasm.excelcolumninfo_withDataGroupParent(ptr, ptr0, len0);
1262
+ return ExcelColumnInfo.__wrap(ret);
547
1263
  }
548
1264
  }
549
1265
 
@@ -615,6 +1331,14 @@ const ExcelInfoFinalization = (typeof FinalizationRegistry === 'undefined')
615
1331
 
616
1332
  export class ExcelInfo {
617
1333
 
1334
+ static __wrap(ptr) {
1335
+ ptr = ptr >>> 0;
1336
+ const obj = Object.create(ExcelInfo.prototype);
1337
+ obj.__wbg_ptr = ptr;
1338
+ ExcelInfoFinalization.register(obj, obj.__wbg_ptr, obj);
1339
+ return obj;
1340
+ }
1341
+
618
1342
  __destroy_into_raw() {
619
1343
  const ptr = this.__wbg_ptr;
620
1344
  this.__wbg_ptr = 0;
@@ -634,7 +1358,7 @@ export class ExcelInfo {
634
1358
  let deferred1_1;
635
1359
  try {
636
1360
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
637
- wasm.__wbg_get_excelinfo_name(retptr, this.__wbg_ptr);
1361
+ wasm.__wbg_get_excelcolumninfo_name(retptr, this.__wbg_ptr);
638
1362
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
639
1363
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
640
1364
  deferred1_0 = r0;
@@ -651,7 +1375,7 @@ export class ExcelInfo {
651
1375
  set name(arg0) {
652
1376
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
653
1377
  const len0 = WASM_VECTOR_LEN;
654
- wasm.__wbg_set_excelinfo_name(this.__wbg_ptr, ptr0, len0);
1378
+ wasm.__wbg_set_excelcolumninfo_name(this.__wbg_ptr, ptr0, len0);
655
1379
  }
656
1380
  /**
657
1381
  * @returns {string}
@@ -661,7 +1385,7 @@ export class ExcelInfo {
661
1385
  let deferred1_1;
662
1386
  try {
663
1387
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
664
- wasm.__wbg_get_excelinfo_sheet_name(retptr, this.__wbg_ptr);
1388
+ wasm.__wbg_get_excelcolumninfo_data_type(retptr, this.__wbg_ptr);
665
1389
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
666
1390
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
667
1391
  deferred1_0 = r0;
@@ -678,7 +1402,7 @@ export class ExcelInfo {
678
1402
  set sheet_name(arg0) {
679
1403
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
680
1404
  const len0 = WASM_VECTOR_LEN;
681
- wasm.__wbg_set_excelinfo_sheet_name(this.__wbg_ptr, ptr0, len0);
1405
+ wasm.__wbg_set_excelcolumninfo_data_type(this.__wbg_ptr, ptr0, len0);
682
1406
  }
683
1407
  /**
684
1408
  * @returns {(ExcelColumnInfo)[]}
@@ -712,7 +1436,7 @@ export class ExcelInfo {
712
1436
  let deferred1_1;
713
1437
  try {
714
1438
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
715
- wasm.__wbg_get_excelinfo_author(retptr, this.__wbg_ptr);
1439
+ wasm.__wbg_get_excelcolumninfo_parent(retptr, this.__wbg_ptr);
716
1440
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
717
1441
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
718
1442
  deferred1_0 = r0;
@@ -729,7 +1453,7 @@ export class ExcelInfo {
729
1453
  set author(arg0) {
730
1454
  const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
731
1455
  const len0 = WASM_VECTOR_LEN;
732
- wasm.__wbg_set_excelinfo_author(this.__wbg_ptr, ptr0, len0);
1456
+ wasm.__wbg_set_excelcolumninfo_parent(this.__wbg_ptr, ptr0, len0);
733
1457
  }
734
1458
  /**
735
1459
  * @returns {string}
@@ -758,6 +1482,130 @@ export class ExcelInfo {
758
1482
  const len0 = WASM_VECTOR_LEN;
759
1483
  wasm.__wbg_set_excelinfo_create_time(this.__wbg_ptr, ptr0, len0);
760
1484
  }
1485
+ /**
1486
+ * @returns {string | undefined}
1487
+ */
1488
+ get title() {
1489
+ try {
1490
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1491
+ wasm.__wbg_get_excelinfo_title(retptr, this.__wbg_ptr);
1492
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1493
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1494
+ let v1;
1495
+ if (r0 !== 0) {
1496
+ v1 = getStringFromWasm0(r0, r1).slice();
1497
+ wasm.__wbindgen_free(r0, r1 * 1, 1);
1498
+ }
1499
+ return v1;
1500
+ } finally {
1501
+ wasm.__wbindgen_add_to_stack_pointer(16);
1502
+ }
1503
+ }
1504
+ /**
1505
+ * @param {string | undefined} [arg0]
1506
+ */
1507
+ set title(arg0) {
1508
+ var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1509
+ var len0 = WASM_VECTOR_LEN;
1510
+ wasm.__wbg_set_excelinfo_title(this.__wbg_ptr, ptr0, len0);
1511
+ }
1512
+ /**
1513
+ * @returns {ExcelCellFormat | undefined}
1514
+ */
1515
+ get title_format() {
1516
+ const ret = wasm.__wbg_get_excelinfo_title_format(this.__wbg_ptr);
1517
+ return ret === 0 ? undefined : ExcelCellFormat.__wrap(ret);
1518
+ }
1519
+ /**
1520
+ * @param {ExcelCellFormat | undefined} [arg0]
1521
+ */
1522
+ set title_format(arg0) {
1523
+ let ptr0 = 0;
1524
+ if (!isLikeNone(arg0)) {
1525
+ _assertClass(arg0, ExcelCellFormat);
1526
+ ptr0 = arg0.__destroy_into_raw();
1527
+ }
1528
+ wasm.__wbg_set_excelinfo_title_format(this.__wbg_ptr, ptr0);
1529
+ }
1530
+ /**
1531
+ * @returns {number | undefined}
1532
+ */
1533
+ get title_height() {
1534
+ try {
1535
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1536
+ wasm.__wbg_get_excelinfo_title_height(retptr, this.__wbg_ptr);
1537
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1538
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
1539
+ return r0 === 0 ? undefined : r2;
1540
+ } finally {
1541
+ wasm.__wbindgen_add_to_stack_pointer(16);
1542
+ }
1543
+ }
1544
+ /**
1545
+ * @param {number | undefined} [arg0]
1546
+ */
1547
+ set title_height(arg0) {
1548
+ wasm.__wbg_set_excelinfo_title_height(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
1549
+ }
1550
+ /**
1551
+ * @returns {number | undefined}
1552
+ */
1553
+ get default_row_height() {
1554
+ try {
1555
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1556
+ wasm.__wbg_get_excelinfo_default_row_height(retptr, this.__wbg_ptr);
1557
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1558
+ var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
1559
+ return r0 === 0 ? undefined : r2;
1560
+ } finally {
1561
+ wasm.__wbindgen_add_to_stack_pointer(16);
1562
+ }
1563
+ }
1564
+ /**
1565
+ * @param {number | undefined} [arg0]
1566
+ */
1567
+ set default_row_height(arg0) {
1568
+ wasm.__wbg_set_excelinfo_default_row_height(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);
1569
+ }
1570
+ /**
1571
+ * @returns {number}
1572
+ */
1573
+ get dx() {
1574
+ const ret = wasm.__wbg_get_excelinfo_dx(this.__wbg_ptr);
1575
+ return ret;
1576
+ }
1577
+ /**
1578
+ * @param {number} arg0
1579
+ */
1580
+ set dx(arg0) {
1581
+ wasm.__wbg_set_excelinfo_dx(this.__wbg_ptr, arg0);
1582
+ }
1583
+ /**
1584
+ * @returns {number}
1585
+ */
1586
+ get dy() {
1587
+ const ret = wasm.__wbg_get_excelinfo_dy(this.__wbg_ptr);
1588
+ return ret >>> 0;
1589
+ }
1590
+ /**
1591
+ * @param {number} arg0
1592
+ */
1593
+ set dy(arg0) {
1594
+ wasm.__wbg_set_excelinfo_dy(this.__wbg_ptr, arg0);
1595
+ }
1596
+ /**
1597
+ * @returns {boolean}
1598
+ */
1599
+ get is_header_freeze() {
1600
+ const ret = wasm.__wbg_get_excelinfo_is_header_freeze(this.__wbg_ptr);
1601
+ return ret !== 0;
1602
+ }
1603
+ /**
1604
+ * @param {boolean} arg0
1605
+ */
1606
+ set is_header_freeze(arg0) {
1607
+ wasm.__wbg_set_excelinfo_is_header_freeze(this.__wbg_ptr, arg0);
1608
+ }
761
1609
  /**
762
1610
  * @param {string} name
763
1611
  * @param {string} sheet_name
@@ -776,11 +1624,70 @@ export class ExcelInfo {
776
1624
  const len3 = WASM_VECTOR_LEN;
777
1625
  const ptr4 = passStringToWasm0(create_time, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
778
1626
  const len4 = WASM_VECTOR_LEN;
779
- const ret = wasm.excelinfo_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
1627
+ const ret = wasm.excelinfo_bind_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
780
1628
  this.__wbg_ptr = ret >>> 0;
781
1629
  ExcelInfoFinalization.register(this, this.__wbg_ptr, this);
782
1630
  return this;
783
1631
  }
1632
+ /**
1633
+ * @param {string} title
1634
+ * @returns {ExcelInfo}
1635
+ */
1636
+ withTitle(title) {
1637
+ const ptr = this.__destroy_into_raw();
1638
+ const ptr0 = passStringToWasm0(title, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1639
+ const len0 = WASM_VECTOR_LEN;
1640
+ const ret = wasm.excelinfo_withTitle(ptr, ptr0, len0);
1641
+ return ExcelInfo.__wrap(ret);
1642
+ }
1643
+ /**
1644
+ * @param {number} row_height
1645
+ * @returns {ExcelInfo}
1646
+ */
1647
+ withDefaultRowHeight(row_height) {
1648
+ const ptr = this.__destroy_into_raw();
1649
+ const ret = wasm.excelinfo_withDefaultRowHeight(ptr, row_height);
1650
+ return ExcelInfo.__wrap(ret);
1651
+ }
1652
+ /**
1653
+ * @param {number} title_height
1654
+ * @returns {ExcelInfo}
1655
+ */
1656
+ withTitleHeight(title_height) {
1657
+ const ptr = this.__destroy_into_raw();
1658
+ const ret = wasm.excelinfo_withTitleHeight(ptr, title_height);
1659
+ return ExcelInfo.__wrap(ret);
1660
+ }
1661
+ /**
1662
+ * @param {ExcelCellFormat} title_format
1663
+ * @returns {ExcelInfo}
1664
+ */
1665
+ withTitleFormat(title_format) {
1666
+ const ptr = this.__destroy_into_raw();
1667
+ _assertClass(title_format, ExcelCellFormat);
1668
+ var ptr0 = title_format.__destroy_into_raw();
1669
+ const ret = wasm.excelinfo_withTitleFormat(ptr, ptr0);
1670
+ return ExcelInfo.__wrap(ret);
1671
+ }
1672
+ /**
1673
+ * @param {number} dx
1674
+ * @param {number} dy
1675
+ * @returns {ExcelInfo}
1676
+ */
1677
+ withOffset(dx, dy) {
1678
+ const ptr = this.__destroy_into_raw();
1679
+ const ret = wasm.excelinfo_withOffset(ptr, dx, dy);
1680
+ return ExcelInfo.__wrap(ret);
1681
+ }
1682
+ /**
1683
+ * @param {boolean} is_header_freeze
1684
+ * @returns {ExcelInfo}
1685
+ */
1686
+ withIsHeaderFreeze(is_header_freeze) {
1687
+ const ptr = this.__destroy_into_raw();
1688
+ const ret = wasm.excelinfo_withIsHeaderFreeze(ptr, is_header_freeze);
1689
+ return ExcelInfo.__wrap(ret);
1690
+ }
784
1691
  }
785
1692
 
786
1693
  const ExcelRowDataFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -886,41 +1793,49 @@ async function __wbg_load(module, imports) {
886
1793
  function __wbg_get_imports() {
887
1794
  const imports = {};
888
1795
  imports.wbg = {};
889
- imports.wbg.__wbg_excelcolumninfo_new = function(arg0) {
890
- const ret = ExcelColumnInfo.__wrap(arg0);
1796
+ imports.wbg.__wbg_excelcellformat_new = function(arg0) {
1797
+ const ret = ExcelCellFormat.__wrap(arg0);
891
1798
  return addHeapObject(ret);
892
1799
  };
1800
+ imports.wbg.__wbg_excelcellformat_unwrap = function(arg0) {
1801
+ const ret = ExcelCellFormat.__unwrap(takeObject(arg0));
1802
+ return ret;
1803
+ };
893
1804
  imports.wbg.__wbg_excelcolumndata_new = function(arg0) {
894
1805
  const ret = ExcelColumnData.__wrap(arg0);
895
1806
  return addHeapObject(ret);
896
1807
  };
897
- imports.wbg.__wbg_excelrowdata_new = function(arg0) {
898
- const ret = ExcelRowData.__wrap(arg0);
899
- return addHeapObject(ret);
900
- };
901
1808
  imports.wbg.__wbg_excelcolumndata_unwrap = function(arg0) {
902
1809
  const ret = ExcelColumnData.__unwrap(takeObject(arg0));
903
1810
  return ret;
904
1811
  };
905
- imports.wbg.__wbg_excelrowdata_unwrap = function(arg0) {
906
- const ret = ExcelRowData.__unwrap(takeObject(arg0));
907
- return ret;
1812
+ imports.wbg.__wbg_excelcolumninfo_new = function(arg0) {
1813
+ const ret = ExcelColumnInfo.__wrap(arg0);
1814
+ return addHeapObject(ret);
908
1815
  };
909
1816
  imports.wbg.__wbg_excelcolumninfo_unwrap = function(arg0) {
910
1817
  const ret = ExcelColumnInfo.__unwrap(takeObject(arg0));
911
1818
  return ret;
912
1819
  };
913
- imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
914
- takeObject(arg0);
915
- };
916
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
917
- const ret = getStringFromWasm0(arg0, arg1);
1820
+ imports.wbg.__wbg_excelrowdata_new = function(arg0) {
1821
+ const ret = ExcelRowData.__wrap(arg0);
918
1822
  return addHeapObject(ret);
919
1823
  };
920
- imports.wbg.__wbg_now_70af4fe37a792251 = function() {
1824
+ imports.wbg.__wbg_excelrowdata_unwrap = function(arg0) {
1825
+ const ret = ExcelRowData.__unwrap(takeObject(arg0));
1826
+ return ret;
1827
+ };
1828
+ imports.wbg.__wbg_now_64d0bb151e5d3889 = function() {
921
1829
  const ret = Date.now();
922
1830
  return ret;
923
1831
  };
1832
+ imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
1833
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
1834
+ return addHeapObject(ret);
1835
+ };
1836
+ imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
1837
+ takeObject(arg0);
1838
+ };
924
1839
  imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
925
1840
  const obj = getObject(arg1);
926
1841
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -929,6 +1844,10 @@ function __wbg_get_imports() {
929
1844
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
930
1845
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
931
1846
  };
1847
+ imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
1848
+ const ret = getStringFromWasm0(arg0, arg1);
1849
+ return addHeapObject(ret);
1850
+ };
932
1851
  imports.wbg.__wbindgen_throw = function(arg0, arg1) {
933
1852
  throw new Error(getStringFromWasm0(arg0, arg1));
934
1853
  };