@flywheel-io/fw-file-rs 0.5.2 → 0.6.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/dcm/dcm.d.ts +10 -7
- package/dcm/dcm.js +107 -95
- package/dcm/dcm_bg.wasm +0 -0
- package/dcm/dcm_bg.wasm.d.ts +8 -7
- package/package.json +1 -1
package/dcm/dcm.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ export function get_fw_meta(path_meta_pairs: any, arg1: any): any;
|
|
|
44
44
|
|
|
45
45
|
export function group_series(path_meta_pairs: any, group_by_tags: any, split_localizer: boolean): any;
|
|
46
46
|
|
|
47
|
+
export function is_dicom_part10(file: File): Promise<boolean>;
|
|
48
|
+
|
|
47
49
|
export function parse_header(bytes: Uint8Array, include_tags?: string[] | null): any;
|
|
48
50
|
|
|
49
51
|
export function read_until_pixels(file: File, stop_tags: any, max_size?: number | null): Promise<Uint8Array>;
|
|
@@ -71,18 +73,19 @@ export interface InitOutput {
|
|
|
71
73
|
readonly context_split_localizer: (a: number, b: number) => number;
|
|
72
74
|
readonly context_stop_at_tags: (a: number, b: any) => [number, number, number];
|
|
73
75
|
readonly context_new: () => number;
|
|
74
|
-
readonly __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
75
76
|
readonly __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
77
|
+
readonly group_series: (a: any, b: any, c: number) => any;
|
|
78
|
+
readonly __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
76
79
|
readonly deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
77
80
|
readonly deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
78
|
-
readonly group_series: (a: any, b: any, c: number) => any;
|
|
79
|
-
readonly create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
80
|
-
readonly read_until_pixels: (a: any, b: any, c: number) => any;
|
|
81
81
|
readonly get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
82
82
|
readonly parse_header: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
83
|
+
readonly create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
84
|
+
readonly is_dicom_part10: (a: any) => any;
|
|
85
|
+
readonly read_until_pixels: (a: any, b: any, c: number) => any;
|
|
86
|
+
readonly wasm_bindgen__closure__destroy__h8409ccb706f3f376: (a: number, b: number) => void;
|
|
87
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2770bebd10d3b01e: (a: number, b: number, c: any) => [number, number];
|
|
88
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6c76063cfdf59733: (a: number, b: number, c: any, d: any) => void;
|
|
86
89
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
87
90
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
88
91
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/dcm/dcm.js
CHANGED
|
@@ -149,7 +149,7 @@ export class Context {
|
|
|
149
149
|
return Context.__wrap(ret);
|
|
150
150
|
}
|
|
151
151
|
constructor() {
|
|
152
|
-
const ret = wasm.
|
|
152
|
+
const ret = wasm.context_new();
|
|
153
153
|
this.__wbg_ptr = ret >>> 0;
|
|
154
154
|
ContextFinalization.register(this, this.__wbg_ptr, this);
|
|
155
155
|
return this;
|
|
@@ -316,6 +316,15 @@ export function group_series(path_meta_pairs, group_by_tags, split_localizer) {
|
|
|
316
316
|
return ret;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
+
/**
|
|
320
|
+
* @param {File} file
|
|
321
|
+
* @returns {Promise<boolean>}
|
|
322
|
+
*/
|
|
323
|
+
export function is_dicom_part10(file) {
|
|
324
|
+
const ret = wasm.is_dicom_part10(file);
|
|
325
|
+
return ret;
|
|
326
|
+
}
|
|
327
|
+
|
|
319
328
|
/**
|
|
320
329
|
* @param {Uint8Array} bytes
|
|
321
330
|
* @param {string[] | null} [include_tags]
|
|
@@ -347,83 +356,83 @@ export function read_until_pixels(file, stop_tags, max_size) {
|
|
|
347
356
|
function __wbg_get_imports() {
|
|
348
357
|
const import0 = {
|
|
349
358
|
__proto__: null,
|
|
350
|
-
|
|
359
|
+
__wbg_Error_4577686b3a6d9b3a: function(arg0, arg1) {
|
|
351
360
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
352
361
|
return ret;
|
|
353
362
|
},
|
|
354
|
-
|
|
363
|
+
__wbg_Number_e89e48a2fe1a6355: function(arg0) {
|
|
355
364
|
const ret = Number(arg0);
|
|
356
365
|
return ret;
|
|
357
366
|
},
|
|
358
|
-
|
|
367
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
359
368
|
const ret = String(arg1);
|
|
360
369
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
361
370
|
const len1 = WASM_VECTOR_LEN;
|
|
362
371
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
363
372
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
364
373
|
},
|
|
365
|
-
|
|
374
|
+
__wbg___wbindgen_bigint_get_as_i64_578010f8442e0319: function(arg0, arg1) {
|
|
366
375
|
const v = arg1;
|
|
367
376
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
368
377
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
369
378
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
370
379
|
},
|
|
371
|
-
|
|
380
|
+
__wbg___wbindgen_boolean_get_18c4ed9422296fff: function(arg0) {
|
|
372
381
|
const v = arg0;
|
|
373
382
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
374
383
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
375
384
|
},
|
|
376
|
-
|
|
385
|
+
__wbg___wbindgen_debug_string_ddde1867f49c2442: function(arg0, arg1) {
|
|
377
386
|
const ret = debugString(arg1);
|
|
378
387
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
379
388
|
const len1 = WASM_VECTOR_LEN;
|
|
380
389
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
381
390
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
382
391
|
},
|
|
383
|
-
|
|
392
|
+
__wbg___wbindgen_in_1064a108f4d18b9e: function(arg0, arg1) {
|
|
384
393
|
const ret = arg0 in arg1;
|
|
385
394
|
return ret;
|
|
386
395
|
},
|
|
387
|
-
|
|
396
|
+
__wbg___wbindgen_is_bigint_a157f0734ca85901: function(arg0) {
|
|
388
397
|
const ret = typeof(arg0) === 'bigint';
|
|
389
398
|
return ret;
|
|
390
399
|
},
|
|
391
|
-
|
|
400
|
+
__wbg___wbindgen_is_function_d633e708baf0d146: function(arg0) {
|
|
392
401
|
const ret = typeof(arg0) === 'function';
|
|
393
402
|
return ret;
|
|
394
403
|
},
|
|
395
|
-
|
|
404
|
+
__wbg___wbindgen_is_null_a2a19127c13e7126: function(arg0) {
|
|
396
405
|
const ret = arg0 === null;
|
|
397
406
|
return ret;
|
|
398
407
|
},
|
|
399
|
-
|
|
408
|
+
__wbg___wbindgen_is_object_4b3de556756ee8a8: function(arg0) {
|
|
400
409
|
const val = arg0;
|
|
401
410
|
const ret = typeof(val) === 'object' && val !== null;
|
|
402
411
|
return ret;
|
|
403
412
|
},
|
|
404
|
-
|
|
413
|
+
__wbg___wbindgen_is_string_7debe47dc1e045c2: function(arg0) {
|
|
405
414
|
const ret = typeof(arg0) === 'string';
|
|
406
415
|
return ret;
|
|
407
416
|
},
|
|
408
|
-
|
|
417
|
+
__wbg___wbindgen_is_undefined_c18285b9fc34cb7d: function(arg0) {
|
|
409
418
|
const ret = arg0 === undefined;
|
|
410
419
|
return ret;
|
|
411
420
|
},
|
|
412
|
-
|
|
421
|
+
__wbg___wbindgen_jsval_eq_a6afb59d8c5e78d6: function(arg0, arg1) {
|
|
413
422
|
const ret = arg0 === arg1;
|
|
414
423
|
return ret;
|
|
415
424
|
},
|
|
416
|
-
|
|
425
|
+
__wbg___wbindgen_jsval_loose_eq_1562ceb9af84e990: function(arg0, arg1) {
|
|
417
426
|
const ret = arg0 == arg1;
|
|
418
427
|
return ret;
|
|
419
428
|
},
|
|
420
|
-
|
|
429
|
+
__wbg___wbindgen_number_get_5854912275df1894: function(arg0, arg1) {
|
|
421
430
|
const obj = arg1;
|
|
422
431
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
423
432
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
424
433
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
425
434
|
},
|
|
426
|
-
|
|
435
|
+
__wbg___wbindgen_string_get_3e5751597f39a112: function(arg0, arg1) {
|
|
427
436
|
const obj = arg1;
|
|
428
437
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
429
438
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -431,52 +440,56 @@ function __wbg_get_imports() {
|
|
|
431
440
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
432
441
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
433
442
|
},
|
|
434
|
-
|
|
443
|
+
__wbg___wbindgen_throw_39bc967c0e5a9b58: function(arg0, arg1) {
|
|
435
444
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
436
445
|
},
|
|
437
|
-
|
|
446
|
+
__wbg__wbg_cb_unref_b6d832240a919168: function(arg0) {
|
|
438
447
|
arg0._wbg_cb_unref();
|
|
439
448
|
},
|
|
440
|
-
|
|
449
|
+
__wbg_arrayBuffer_31c5b2ee4b318cbb: function(arg0) {
|
|
441
450
|
const ret = arg0.arrayBuffer();
|
|
442
451
|
return ret;
|
|
443
452
|
},
|
|
444
|
-
|
|
445
|
-
const ret = arg0.call(arg1);
|
|
453
|
+
__wbg_call_08ad0d89caa7cb79: function() { return handleError(function (arg0, arg1, arg2) {
|
|
454
|
+
const ret = arg0.call(arg1, arg2);
|
|
446
455
|
return ret;
|
|
447
456
|
}, arguments); },
|
|
448
|
-
|
|
449
|
-
const ret = arg0.call(arg1
|
|
457
|
+
__wbg_call_73af281463ec8b58: function() { return handleError(function (arg0, arg1) {
|
|
458
|
+
const ret = arg0.call(arg1);
|
|
450
459
|
return ret;
|
|
451
460
|
}, arguments); },
|
|
452
|
-
|
|
461
|
+
__wbg_done_5aad55ec6b1954b1: function(arg0) {
|
|
453
462
|
const ret = arg0.done;
|
|
454
463
|
return ret;
|
|
455
464
|
},
|
|
456
|
-
|
|
465
|
+
__wbg_entries_28d32ba4cd93f5fc: function(arg0) {
|
|
457
466
|
const ret = Object.entries(arg0);
|
|
458
467
|
return ret;
|
|
459
468
|
},
|
|
460
|
-
|
|
469
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
461
470
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
462
471
|
}, arguments); },
|
|
463
|
-
|
|
472
|
+
__wbg_getTime_9429d05129287418: function(arg0) {
|
|
464
473
|
const ret = arg0.getTime();
|
|
465
474
|
return ret;
|
|
466
475
|
},
|
|
467
|
-
|
|
476
|
+
__wbg_getTimezoneOffset_eeb05f23347950d1: function(arg0) {
|
|
468
477
|
const ret = arg0.getTimezoneOffset();
|
|
469
478
|
return ret;
|
|
470
479
|
},
|
|
471
|
-
|
|
480
|
+
__wbg_get_4920fefd3451364b: function() { return handleError(function (arg0, arg1) {
|
|
481
|
+
const ret = Reflect.get(arg0, arg1);
|
|
482
|
+
return ret;
|
|
483
|
+
}, arguments); },
|
|
484
|
+
__wbg_get_f09c3a16f8848381: function(arg0, arg1) {
|
|
472
485
|
const ret = arg0[arg1 >>> 0];
|
|
473
486
|
return ret;
|
|
474
487
|
},
|
|
475
|
-
|
|
476
|
-
const ret =
|
|
488
|
+
__wbg_get_unchecked_3d0f4b91c8eca4f0: function(arg0, arg1) {
|
|
489
|
+
const ret = arg0[arg1 >>> 0];
|
|
477
490
|
return ret;
|
|
478
|
-
},
|
|
479
|
-
|
|
491
|
+
},
|
|
492
|
+
__wbg_instanceof_ArrayBuffer_15859862b80b732d: function(arg0) {
|
|
480
493
|
let result;
|
|
481
494
|
try {
|
|
482
495
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -486,7 +499,7 @@ function __wbg_get_imports() {
|
|
|
486
499
|
const ret = result;
|
|
487
500
|
return ret;
|
|
488
501
|
},
|
|
489
|
-
|
|
502
|
+
__wbg_instanceof_Map_9df16bf25ceb4ecb: function(arg0) {
|
|
490
503
|
let result;
|
|
491
504
|
try {
|
|
492
505
|
result = arg0 instanceof Map;
|
|
@@ -496,7 +509,7 @@ function __wbg_get_imports() {
|
|
|
496
509
|
const ret = result;
|
|
497
510
|
return ret;
|
|
498
511
|
},
|
|
499
|
-
|
|
512
|
+
__wbg_instanceof_Uint8Array_2240b7046ac16f05: function(arg0) {
|
|
500
513
|
let result;
|
|
501
514
|
try {
|
|
502
515
|
result = arg0 instanceof Uint8Array;
|
|
@@ -506,50 +519,62 @@ function __wbg_get_imports() {
|
|
|
506
519
|
const ret = result;
|
|
507
520
|
return ret;
|
|
508
521
|
},
|
|
509
|
-
|
|
522
|
+
__wbg_isArray_fad08a0d12828686: function(arg0) {
|
|
510
523
|
const ret = Array.isArray(arg0);
|
|
511
524
|
return ret;
|
|
512
525
|
},
|
|
513
|
-
|
|
526
|
+
__wbg_isSafeInteger_10e4151eb694e42a: function(arg0) {
|
|
514
527
|
const ret = Number.isSafeInteger(arg0);
|
|
515
528
|
return ret;
|
|
516
529
|
},
|
|
517
|
-
|
|
530
|
+
__wbg_iterator_fc7ad8d33bab9e26: function() {
|
|
518
531
|
const ret = Symbol.iterator;
|
|
519
532
|
return ret;
|
|
520
533
|
},
|
|
521
|
-
|
|
534
|
+
__wbg_length_5855c1f289dfffc1: function(arg0) {
|
|
522
535
|
const ret = arg0.length;
|
|
523
536
|
return ret;
|
|
524
537
|
},
|
|
525
|
-
|
|
538
|
+
__wbg_length_a31e05262e09b7f8: function(arg0) {
|
|
526
539
|
const ret = arg0.length;
|
|
527
540
|
return ret;
|
|
528
541
|
},
|
|
529
|
-
|
|
542
|
+
__wbg_new_09959f7b4c92c246: function(arg0) {
|
|
543
|
+
const ret = new Uint8Array(arg0);
|
|
544
|
+
return ret;
|
|
545
|
+
},
|
|
546
|
+
__wbg_new_0_a719938e6f92ddf4: function() {
|
|
530
547
|
const ret = new Date();
|
|
531
548
|
return ret;
|
|
532
549
|
},
|
|
533
|
-
|
|
550
|
+
__wbg_new_223944ca37c18764: function(arg0) {
|
|
534
551
|
const ret = new Date(arg0);
|
|
535
552
|
return ret;
|
|
536
553
|
},
|
|
537
|
-
|
|
538
|
-
const ret = new
|
|
554
|
+
__wbg_new_92df58a8ec3bfb6b: function() {
|
|
555
|
+
const ret = new Map();
|
|
539
556
|
return ret;
|
|
540
557
|
},
|
|
541
|
-
|
|
558
|
+
__wbg_new_cbee8c0d5c479eac: function() {
|
|
542
559
|
const ret = new Array();
|
|
543
560
|
return ret;
|
|
544
561
|
},
|
|
545
|
-
|
|
562
|
+
__wbg_new_ed69e637b553a997: function() {
|
|
563
|
+
const ret = new Object();
|
|
564
|
+
return ret;
|
|
565
|
+
},
|
|
566
|
+
__wbg_new_from_slice_d7e202fdbee3c396: function(arg0, arg1) {
|
|
567
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
568
|
+
return ret;
|
|
569
|
+
},
|
|
570
|
+
__wbg_new_typed_8258a0d8488ef2a2: function(arg0, arg1) {
|
|
546
571
|
try {
|
|
547
572
|
var state0 = {a: arg0, b: arg1};
|
|
548
573
|
var cb0 = (arg0, arg1) => {
|
|
549
574
|
const a = state0.a;
|
|
550
575
|
state0.a = 0;
|
|
551
576
|
try {
|
|
552
|
-
return
|
|
577
|
+
return wasm_bindgen__convert__closures_____invoke__h6c76063cfdf59733(a, state0.b, arg0, arg1);
|
|
553
578
|
} finally {
|
|
554
579
|
state0.a = a;
|
|
555
580
|
}
|
|
@@ -560,93 +585,77 @@ function __wbg_get_imports() {
|
|
|
560
585
|
state0.a = state0.b = 0;
|
|
561
586
|
}
|
|
562
587
|
},
|
|
563
|
-
|
|
564
|
-
const ret =
|
|
565
|
-
return ret;
|
|
566
|
-
},
|
|
567
|
-
__wbg_new_dd2b680c8bf6ae29: function(arg0) {
|
|
568
|
-
const ret = new Uint8Array(arg0);
|
|
569
|
-
return ret;
|
|
570
|
-
},
|
|
571
|
-
__wbg_new_from_slice_a3d2629dc1826784: function(arg0, arg1) {
|
|
572
|
-
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
573
|
-
return ret;
|
|
574
|
-
},
|
|
575
|
-
__wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
|
|
576
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
588
|
+
__wbg_next_a5fe6f328f7affc2: function(arg0) {
|
|
589
|
+
const ret = arg0.next;
|
|
577
590
|
return ret;
|
|
578
591
|
},
|
|
579
|
-
|
|
592
|
+
__wbg_next_e592122bb4ed4c67: function() { return handleError(function (arg0) {
|
|
580
593
|
const ret = arg0.next();
|
|
581
594
|
return ret;
|
|
582
595
|
}, arguments); },
|
|
583
|
-
|
|
584
|
-
const ret = arg0.next;
|
|
585
|
-
return ret;
|
|
586
|
-
},
|
|
587
|
-
__wbg_prototypesetcall_bdcdcc5842e4d77d: function(arg0, arg1, arg2) {
|
|
596
|
+
__wbg_prototypesetcall_f034d444741426c3: function(arg0, arg1, arg2) {
|
|
588
597
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
589
598
|
},
|
|
590
|
-
|
|
599
|
+
__wbg_queueMicrotask_2c8dfd1056f24fdc: function(arg0) {
|
|
591
600
|
const ret = arg0.queueMicrotask;
|
|
592
601
|
return ret;
|
|
593
602
|
},
|
|
594
|
-
|
|
603
|
+
__wbg_queueMicrotask_8985ad63815852e7: function(arg0) {
|
|
595
604
|
queueMicrotask(arg0);
|
|
596
605
|
},
|
|
597
|
-
|
|
606
|
+
__wbg_resolve_5d61e0d10c14730a: function(arg0) {
|
|
598
607
|
const ret = Promise.resolve(arg0);
|
|
599
608
|
return ret;
|
|
600
609
|
},
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
return ret;
|
|
610
|
+
__wbg_set_4c81cfb5dc3a333c: function(arg0, arg1, arg2) {
|
|
611
|
+
arg0[arg1 >>> 0] = arg2;
|
|
604
612
|
},
|
|
605
|
-
|
|
613
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
606
614
|
arg0[arg1] = arg2;
|
|
607
615
|
},
|
|
608
|
-
|
|
609
|
-
|
|
616
|
+
__wbg_set_cfc6de03f990decf: function(arg0, arg1, arg2) {
|
|
617
|
+
const ret = arg0.set(arg1, arg2);
|
|
618
|
+
return ret;
|
|
610
619
|
},
|
|
611
|
-
|
|
620
|
+
__wbg_size_551c19bddc4aeca7: function(arg0) {
|
|
612
621
|
const ret = arg0.size;
|
|
613
622
|
return ret;
|
|
614
623
|
},
|
|
615
|
-
|
|
624
|
+
__wbg_slice_c7278b8967a3ab23: function() { return handleError(function (arg0, arg1, arg2) {
|
|
616
625
|
const ret = arg0.slice(arg1, arg2);
|
|
617
626
|
return ret;
|
|
618
627
|
}, arguments); },
|
|
619
|
-
|
|
620
|
-
const ret = typeof
|
|
628
|
+
__wbg_static_accessor_GLOBAL_THIS_14325d8cca34bb77: function() {
|
|
629
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
621
630
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
622
631
|
},
|
|
623
|
-
|
|
624
|
-
const ret = typeof
|
|
632
|
+
__wbg_static_accessor_GLOBAL_f3a1e69f9c5a7e8e: function() {
|
|
633
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
625
634
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
626
635
|
},
|
|
627
|
-
|
|
636
|
+
__wbg_static_accessor_SELF_50cdb5b517789aca: function() {
|
|
628
637
|
const ret = typeof self === 'undefined' ? null : self;
|
|
629
638
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
630
639
|
},
|
|
631
|
-
|
|
640
|
+
__wbg_static_accessor_WINDOW_d6c4126e4c244380: function() {
|
|
632
641
|
const ret = typeof window === 'undefined' ? null : window;
|
|
633
642
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
634
643
|
},
|
|
635
|
-
|
|
644
|
+
__wbg_then_d4163530723f56f4: function(arg0, arg1, arg2) {
|
|
636
645
|
const ret = arg0.then(arg1, arg2);
|
|
637
646
|
return ret;
|
|
638
647
|
},
|
|
639
|
-
|
|
648
|
+
__wbg_then_f1c954fe00733701: function(arg0, arg1) {
|
|
640
649
|
const ret = arg0.then(arg1);
|
|
641
650
|
return ret;
|
|
642
651
|
},
|
|
643
|
-
|
|
652
|
+
__wbg_value_667dcb90597486a6: function(arg0) {
|
|
644
653
|
const ret = arg0.value;
|
|
645
654
|
return ret;
|
|
646
655
|
},
|
|
647
656
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
648
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
649
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
657
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 49, function: Function { arguments: [Externref], shim_idx: 50, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
658
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h8409ccb706f3f376, wasm_bindgen__convert__closures_____invoke__h2770bebd10d3b01e);
|
|
650
659
|
return ret;
|
|
651
660
|
},
|
|
652
661
|
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
@@ -685,12 +694,15 @@ function __wbg_get_imports() {
|
|
|
685
694
|
};
|
|
686
695
|
}
|
|
687
696
|
|
|
688
|
-
function
|
|
689
|
-
wasm.
|
|
697
|
+
function wasm_bindgen__convert__closures_____invoke__h2770bebd10d3b01e(arg0, arg1, arg2) {
|
|
698
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h2770bebd10d3b01e(arg0, arg1, arg2);
|
|
699
|
+
if (ret[1]) {
|
|
700
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
701
|
+
}
|
|
690
702
|
}
|
|
691
703
|
|
|
692
|
-
function
|
|
693
|
-
wasm.
|
|
704
|
+
function wasm_bindgen__convert__closures_____invoke__h6c76063cfdf59733(arg0, arg1, arg2, arg3) {
|
|
705
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6c76063cfdf59733(arg0, arg1, arg2, arg3);
|
|
694
706
|
}
|
|
695
707
|
|
|
696
708
|
const ContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/dcm/dcm_bg.wasm
CHANGED
|
Binary file
|
package/dcm/dcm_bg.wasm.d.ts
CHANGED
|
@@ -20,18 +20,19 @@ export const context_rename_file: (a: number, b: number, c: number, d: number, e
|
|
|
20
20
|
export const context_split_localizer: (a: number, b: number) => number;
|
|
21
21
|
export const context_stop_at_tags: (a: number, b: any) => [number, number, number];
|
|
22
22
|
export const context_new: () => number;
|
|
23
|
-
export const __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
24
23
|
export const __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
|
|
24
|
+
export const group_series: (a: any, b: any, c: number) => any;
|
|
25
|
+
export const __wbg_deidprofile_free: (a: number, b: number) => void;
|
|
25
26
|
export const deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
|
|
26
27
|
export const deidprofile_from_yaml: (a: number, b: number) => [number, number, number];
|
|
27
|
-
export const group_series: (a: any, b: any, c: number) => any;
|
|
28
|
-
export const create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
29
|
-
export const read_until_pixels: (a: any, b: any, c: number) => any;
|
|
30
28
|
export const get_fw_meta: (a: any, b: any) => [number, number, number];
|
|
31
29
|
export const parse_header: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
30
|
+
export const create_dcm_as_bytes: (a: any) => [number, number, number, number];
|
|
31
|
+
export const is_dicom_part10: (a: any) => any;
|
|
32
|
+
export const read_until_pixels: (a: any, b: any, c: number) => any;
|
|
33
|
+
export const wasm_bindgen__closure__destroy__h8409ccb706f3f376: (a: number, b: number) => void;
|
|
34
|
+
export const wasm_bindgen__convert__closures_____invoke__h2770bebd10d3b01e: (a: number, b: number, c: any) => [number, number];
|
|
35
|
+
export const wasm_bindgen__convert__closures_____invoke__h6c76063cfdf59733: (a: number, b: number, c: any, d: any) => void;
|
|
35
36
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
36
37
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
37
38
|
export const __wbindgen_exn_store: (a: number) => void;
|