@ohif/app 3.8.0-beta.54 → 3.8.0-beta.56

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.
Files changed (51) hide show
  1. package/dist/{223.bundle.d4ac6ef2cfe47a9c4afc.js → 109.bundle.b4fee2a22b622839baf5.js} +50 -50
  2. package/dist/{471.bundle.eeb78105b59e688832a6.js → 121.bundle.8a4747e7280f7493f07f.js} +18 -18
  3. package/dist/{19.bundle.99b3819a5b7a6bd9394c.js → 155.bundle.c29eb80f89869abce330.js} +89 -89
  4. package/dist/{687.bundle.a6ee04b2e5fd5e5445b6.js → 164.bundle.db387d19f75dd737b9bd.js} +4 -4
  5. package/dist/17dd54813d5acc10bf8f.wasm +0 -0
  6. package/dist/{506.bundle.e243d2ef94ad3925c403.js → 188.bundle.dbe34be7a01e1d2eb815.js} +11 -11
  7. package/dist/{199.bundle.fdd939db52f25dc92071.js → 250.bundle.d0649631d09c928a102b.js} +43 -43
  8. package/dist/{965.bundle.67f3b1a05b5cbe521d62.js → 270.bundle.24c2dca618804cbc5933.js} +56 -56
  9. package/dist/{95.bundle.2236101be3cc36b322e8.js → 290.bundle.f14fb0cfd84a817704b6.js} +149 -35
  10. package/dist/{451.bundle.311cd3be9916e08450e9.js → 295.bundle.195776f4d6400701840b.js} +19 -20
  11. package/dist/{125.bundle.df666cb677e5a8982157.js → 297.bundle.81d63bb0b66d63df6d86.js} +4 -4
  12. package/dist/{613.bundle.9c0ad8fbe2c130862f6c.js → 317.bundle.43b405981747b1da99e1.js} +9 -9
  13. package/dist/{483.bundle.75d178137b66ccdbc9b0.js → 339.bundle.9dd2a6cfee0c8e78e08b.js} +66 -66
  14. package/dist/342.bundle.9cba26ae269724f08311.js +51866 -0
  15. package/dist/39.bundle.40deb7b1a56a61b60064.js +135203 -0
  16. package/dist/{466.bundle.93759a09e651f7b3c995.js → 50.bundle.c3cbd58149efffb8fe8d.js} +49 -49
  17. package/dist/{886.bundle.94a4536167d0f8cae1ae.js → 530.bundle.8784084927e0f61b058d.js} +23 -23
  18. package/dist/{250.bundle.577da106dd763c7bf9d0.js → 544.bundle.1502ae8187957cc5d7a5.js} +23 -23
  19. package/dist/{170.bundle.f343198e07760a7ead7d.js → 559.bundle.27406a40a15f23e9cbe0.js} +63 -63
  20. package/dist/{410.bundle.a348d8825d915c77d550.js → 594.bundle.47486e52801b56aef392.js} +11 -11
  21. package/dist/{661.bundle.949c984fe2f9f753b65c.js → 644.bundle.1e77691d2eeb96a423b0.js} +4 -4
  22. package/dist/{185.bundle.ff56990135b9136734cf.js → 68.bundle.ba70fc52febdf39a8a7a.js} +48 -48
  23. package/dist/{738.bundle.a68b638a4281ede90e1f.js → 704.bundle.99451fa50ffb2168489c.js} +195 -191
  24. package/dist/{359.bundle.ef640f0cee0493868d9d.js → 724.bundle.c7d66fb37bf5e9e3a2ef.js} +11 -11
  25. package/dist/{831.bundle.127a3064e8844d6d2c82.js → 726.bundle.2bdb443d1b5620d74e6e.js} +512 -512
  26. package/dist/{530.bundle.f904325ef4195d69ac0e.js → 835.bundle.4c0eaa2c1a427ee41817.js} +28 -28
  27. package/dist/{822.bundle.8b745e28bc9eb9afbc61.js → 862.bundle.5357c0d8b2fe9971a082.js} +18 -18
  28. package/dist/{181.bundle.aff453c348111303ceac.js → 889.bundle.d8fae421d8bfce626cf6.js} +36 -41
  29. package/dist/{281.bundle.fae344af5b015f837f25.js → 905.bundle.07e293bf89007e53ebfc.js} +9 -9
  30. package/dist/{814.bundle.0ec180d5b229f4e6406f.js → 907.bundle.ded7947e96dd1c71340a.js} +8 -8
  31. package/dist/{417.bundle.5c66801d23d0e98c00e6.js → 931.bundle.d270a1fda9a2836c3cc5.js} +25 -25
  32. package/dist/{686.bundle.62c827fe4f0d054c164e.js → 939.bundle.84ee0b844023d924a22b.js} +4 -4
  33. package/dist/{12.bundle.f8e4685ed24432735e1b.js → 961.bundle.527fd9c4c03417a323b6.js} +8 -8
  34. package/dist/{290.bundle.83733eacedfae557e8cf.js → 963.bundle.5d3306618aebb63887f5.js} +430 -200
  35. package/dist/{app.bundle.e97dc9a2b1087531aa22.js → app.bundle.72246bf7d821f3e37004.js} +184373 -170579
  36. package/dist/app.bundle.css +1 -1
  37. package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
  38. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
  39. package/dist/{dicom-microscopy-viewer.bundle.a7d5060eead13771e784.js → dicom-microscopy-viewer.bundle.d3a56dc9f62df5e11019.js} +3 -3
  40. package/dist/index.html +1 -1
  41. package/dist/polySeg.bundle.63a3d7bee3e0ec0651df.js +249 -0
  42. package/dist/sw.js +1 -1
  43. package/package.json +22 -19
  44. package/dist/202.bundle.495cba6bbee744cf8f72.js +0 -18239
  45. package/dist/23.bundle.9d989522a6e4fdcb9c72.js +0 -900
  46. /package/dist/{19.css → 155.css} +0 -0
  47. /package/dist/{579.css → 481.css} +0 -0
  48. /package/dist/{466.css → 50.css} +0 -0
  49. /package/dist/{250.css → 544.css} +0 -0
  50. /package/dist/{181.css → 889.css} +0 -0
  51. /package/dist/{290.css → 963.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[199],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[250],{
3
3
 
4
- /***/ 32199:
4
+ /***/ 11250:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -12,10 +12,10 @@ __webpack_require__.d(__webpack_exports__, {
12
12
  "default": () => (/* binding */ basic_test_mode_src)
13
13
  });
14
14
 
15
- // EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
16
- var src = __webpack_require__(71771);
15
+ // EXTERNAL MODULE: ../../core/src/index.ts + 66 modules
16
+ var src = __webpack_require__(14283);
17
17
  // EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
18
- var ui_src = __webpack_require__(18414);
18
+ var ui_src = __webpack_require__(55395);
19
19
  ;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/toolbarButtons.ts
20
20
  // TODO: torn, can either bake this here; or have to create a whole new button type
21
21
  // Only ways that you can pass in a custom React component for render :l
@@ -56,7 +56,7 @@ const toolbarButtons = [
56
56
  isRadio: true,
57
57
  // ?
58
58
  // Switch?
59
- primary: src/* ToolbarService */.Ok._createToolButton('Length', 'tool-length', 'Length', [{
59
+ primary: src/* ToolbarService */.hx._createToolButton('Length', 'tool-length', 'Length', [{
60
60
  commandName: 'setToolActive',
61
61
  commandOptions: {
62
62
  toolName: 'Length'
@@ -77,7 +77,7 @@ const toolbarButtons = [
77
77
  isActive: true,
78
78
  tooltip: 'More Measure Tools'
79
79
  },
80
- items: [src/* ToolbarService */.Ok._createToolButton('Length', 'tool-length', 'Length', [{
80
+ items: [src/* ToolbarService */.hx._createToolButton('Length', 'tool-length', 'Length', [{
81
81
  commandName: 'setToolActive',
82
82
  commandOptions: {
83
83
  toolName: 'Length'
@@ -91,7 +91,7 @@ const toolbarButtons = [
91
91
  },
92
92
  // we can use the setToolActive command for this from Cornerstone commandsModule
93
93
  context: 'CORNERSTONE'
94
- }], 'Length Tool'), src/* ToolbarService */.Ok._createToolButton('Bidirectional', 'tool-bidirectional', 'Bidirectional', [{
94
+ }], 'Length Tool'), src/* ToolbarService */.hx._createToolButton('Bidirectional', 'tool-bidirectional', 'Bidirectional', [{
95
95
  commandName: 'setToolActive',
96
96
  commandOptions: {
97
97
  toolName: 'Bidirectional'
@@ -104,7 +104,7 @@ const toolbarButtons = [
104
104
  toolGroupId: 'SRToolGroup'
105
105
  },
106
106
  context: 'CORNERSTONE'
107
- }], 'Bidirectional Tool'), src/* ToolbarService */.Ok._createToolButton('ArrowAnnotate', 'tool-annotate', 'Annotation', [{
107
+ }], 'Bidirectional Tool'), src/* ToolbarService */.hx._createToolButton('ArrowAnnotate', 'tool-annotate', 'Annotation', [{
108
108
  commandName: 'setToolActive',
109
109
  commandOptions: {
110
110
  toolName: 'ArrowAnnotate'
@@ -117,7 +117,7 @@ const toolbarButtons = [
117
117
  toolGroupId: 'SRToolGroup'
118
118
  },
119
119
  context: 'CORNERSTONE'
120
- }], 'Arrow Annotate'), src/* ToolbarService */.Ok._createToolButton('EllipticalROI', 'tool-elipse', 'Ellipse', [{
120
+ }], 'Arrow Annotate'), src/* ToolbarService */.hx._createToolButton('EllipticalROI', 'tool-elipse', 'Ellipse', [{
121
121
  commandName: 'setToolActive',
122
122
  commandOptions: {
123
123
  toolName: 'EllipticalROI'
@@ -130,7 +130,7 @@ const toolbarButtons = [
130
130
  toolGroupId: 'SRToolGroup'
131
131
  },
132
132
  context: 'CORNERSTONE'
133
- }], 'Ellipse Tool'), src/* ToolbarService */.Ok._createToolButton('CircleROI', 'tool-circle', 'Circle', [{
133
+ }], 'Ellipse Tool'), src/* ToolbarService */.hx._createToolButton('CircleROI', 'tool-circle', 'Circle', [{
134
134
  commandName: 'setToolActive',
135
135
  commandOptions: {
136
136
  toolName: 'CircleROI'
@@ -169,7 +169,7 @@ const toolbarButtons = [
169
169
  type: 'ohif.splitButton',
170
170
  props: {
171
171
  groupId: 'WindowLevel',
172
- primary: src/* ToolbarService */.Ok._createToolButton('WindowLevel', 'tool-window-level', 'Window Level', [{
172
+ primary: src/* ToolbarService */.hx._createToolButton('WindowLevel', 'tool-window-level', 'Window Level', [{
173
173
  commandName: 'setToolActive',
174
174
  commandOptions: {
175
175
  toolName: 'WindowLevel'
@@ -184,7 +184,7 @@ const toolbarButtons = [
184
184
  },
185
185
  isAction: true,
186
186
  // ?
187
- renderer: ui_src/* WindowLevelMenuItem */.eJ,
187
+ renderer: ui_src/* WindowLevelMenuItem */.d4,
188
188
  items: [_createWwwcPreset(1, 'Soft tissue', '400 / 40'), _createWwwcPreset(2, 'Lung', '1500 / -600'), _createWwwcPreset(3, 'Liver', '150 / 90'), _createWwwcPreset(4, 'Bone', '2500 / 480'), _createWwwcPreset(5, 'Brain', '80 / 40')]
189
189
  }
190
190
  },
@@ -327,10 +327,10 @@ const toolbarButtons = [
327
327
  }];
328
328
  /* harmony default export */ const src_toolbarButtons = (toolbarButtons);
329
329
  ;// CONCATENATED MODULE: ../../../modes/basic-test-mode/package.json
330
- const package_namespaceObject = JSON.parse('{"u2":"@ohif/mode-test"}');
330
+ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-test"}');
331
331
  ;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/id.js
332
332
 
333
- const id = package_namespaceObject.u2;
333
+ const id = package_namespaceObject.UU;
334
334
 
335
335
  ;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/initToolGroups.ts
336
336
  function initDefaultToolGroup(extensionManager, toolGroupService, commandsManager, toolGroupId) {
@@ -536,8 +536,8 @@ function initToolGroups(extensionManager, toolGroupService, commandsManager) {
536
536
  initMPRToolGroup(extensionManager, toolGroupService, commandsManager);
537
537
  }
538
538
  /* harmony default export */ const src_initToolGroups = (initToolGroups);
539
- // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 376 modules
540
- var esm = __webpack_require__(64225);
539
+ // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js
540
+ var esm = __webpack_require__(11953);
541
541
  ;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/moreTools.ts
542
542
 
543
543
 
@@ -558,7 +558,7 @@ const moreTools = [{
558
558
  isRadio: true,
559
559
  // ?
560
560
  groupId: 'MoreTools',
561
- primary: src/* ToolbarService */.Ok._createActionButton('Reset', 'tool-reset', 'Reset View', [{
561
+ primary: src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
562
562
  commandName: 'resetViewport'
563
563
  }], 'Reset'),
564
564
  secondary: {
@@ -567,17 +567,17 @@ const moreTools = [{
567
567
  isActive: true,
568
568
  tooltip: 'More Tools'
569
569
  },
570
- items: [src/* ToolbarService */.Ok._createActionButton('Reset', 'tool-reset', 'Reset View', [{
570
+ items: [src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
571
571
  commandName: 'resetViewport'
572
- }], 'Reset'), src/* ToolbarService */.Ok._createActionButton('rotate-right', 'tool-rotate-right', 'Rotate Right', [{
572
+ }], 'Reset'), src/* ToolbarService */.hx._createActionButton('rotate-right', 'tool-rotate-right', 'Rotate Right', [{
573
573
  commandName: 'rotateViewportCW',
574
574
  commandOptions: {},
575
575
  context: 'CORNERSTONE'
576
- }], 'Rotate +90'), src/* ToolbarService */.Ok._createActionButton('flip-horizontal', 'tool-flip-horizontal', 'Flip Horizontally', [{
576
+ }], 'Rotate +90'), src/* ToolbarService */.hx._createActionButton('flip-horizontal', 'tool-flip-horizontal', 'Flip Horizontally', [{
577
577
  commandName: 'flipViewportHorizontal',
578
578
  commandOptions: {},
579
579
  context: 'CORNERSTONE'
580
- }], 'Flip Horizontally'), src/* ToolbarService */.Ok._createToggleButton('ImageSliceSync', 'link', 'Image Slice Sync', [{
580
+ }], 'Flip Horizontally'), src/* ToolbarService */.hx._createToggleButton('ImageSliceSync', 'link', 'Image Slice Sync', [{
581
581
  commandName: 'toggleImageSliceSync'
582
582
  }], 'Enable position synchronization on stack viewports', {
583
583
  listeners: {
@@ -588,51 +588,51 @@ const moreTools = [{
588
588
  }
589
589
  }
590
590
  }
591
- }), src/* ToolbarService */.Ok._createToggleButton('ReferenceLines', 'tool-referenceLines',
591
+ }), src/* ToolbarService */.hx._createToggleButton('ReferenceLines', 'tool-referenceLines',
592
592
  // change this with the new icon
593
593
  'Reference Lines', ReferenceLinesCommands, 'Show Reference Lines', {
594
594
  listeners: {
595
595
  [esm.EVENTS.STACK_VIEWPORT_NEW_STACK]: ReferenceLinesCommands,
596
596
  [esm.EVENTS.ACTIVE_VIEWPORT_ID_CHANGED]: ReferenceLinesCommands
597
597
  }
598
- }), src/* ToolbarService */.Ok._createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
598
+ }), src/* ToolbarService */.hx._createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
599
599
  commandName: 'setToolActive',
600
600
  commandOptions: {
601
601
  toolName: 'StackScroll'
602
602
  },
603
603
  context: 'CORNERSTONE'
604
- }], 'Stack Scroll'), src/* ToolbarService */.Ok._createActionButton('invert', 'tool-invert', 'Invert', [{
604
+ }], 'Stack Scroll'), src/* ToolbarService */.hx._createActionButton('invert', 'tool-invert', 'Invert', [{
605
605
  commandName: 'invertViewport',
606
606
  commandOptions: {},
607
607
  context: 'CORNERSTONE'
608
- }], 'Invert Colors'), src/* ToolbarService */.Ok._createToolButton('Probe', 'tool-probe', 'Probe', [{
608
+ }], 'Invert Colors'), src/* ToolbarService */.hx._createToolButton('Probe', 'tool-probe', 'Probe', [{
609
609
  commandName: 'setToolActive',
610
610
  commandOptions: {
611
611
  toolName: 'DragProbe'
612
612
  },
613
613
  context: 'CORNERSTONE'
614
- }], 'Probe'), src/* ToolbarService */.Ok._createToggleButton('cine', 'tool-cine', 'Cine', [{
614
+ }], 'Probe'), src/* ToolbarService */.hx._createToggleButton('cine', 'tool-cine', 'Cine', [{
615
615
  commandName: 'toggleCine',
616
616
  context: 'CORNERSTONE'
617
- }], 'Cine'), src/* ToolbarService */.Ok._createToolButton('Angle', 'tool-angle', 'Angle', [{
617
+ }], 'Cine'), src/* ToolbarService */.hx._createToolButton('Angle', 'tool-angle', 'Angle', [{
618
618
  commandName: 'setToolActive',
619
619
  commandOptions: {
620
620
  toolName: 'Angle'
621
621
  },
622
622
  context: 'CORNERSTONE'
623
- }], 'Angle'), src/* ToolbarService */.Ok._createToolButton('Magnify', 'tool-magnify', 'Magnify', [{
623
+ }], 'Angle'), src/* ToolbarService */.hx._createToolButton('Magnify', 'tool-magnify', 'Magnify', [{
624
624
  commandName: 'setToolActive',
625
625
  commandOptions: {
626
626
  toolName: 'Magnify'
627
627
  },
628
628
  context: 'CORNERSTONE'
629
- }], 'Magnify'), src/* ToolbarService */.Ok._createToolButton('Rectangle', 'tool-rectangle', 'Rectangle', [{
629
+ }], 'Magnify'), src/* ToolbarService */.hx._createToolButton('Rectangle', 'tool-rectangle', 'Rectangle', [{
630
630
  commandName: 'setToolActive',
631
631
  commandOptions: {
632
632
  toolName: 'RectangleROI'
633
633
  },
634
634
  context: 'CORNERSTONE'
635
- }], 'Rectangle'), src/* ToolbarService */.Ok._createActionButton('TagBrowser', 'list-bullets', 'Dicom Tag Browser', [{
635
+ }], 'Rectangle'), src/* ToolbarService */.hx._createActionButton('TagBrowser', 'list-bullets', 'Dicom Tag Browser', [{
636
636
  commandName: 'openDICOMTagViewer',
637
637
  commandOptions: {},
638
638
  context: 'DEFAULT'
@@ -649,7 +649,7 @@ const moreToolsMpr = [{
649
649
  isRadio: true,
650
650
  // ?
651
651
  groupId: 'MoreTools',
652
- primary: src/* ToolbarService */.Ok._createActionButton('Reset', 'tool-reset', 'Reset View', [{
652
+ primary: src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
653
653
  commandName: 'resetViewport'
654
654
  }], 'Reset'),
655
655
  secondary: {
@@ -658,40 +658,40 @@ const moreToolsMpr = [{
658
658
  isActive: true,
659
659
  tooltip: 'More Tools'
660
660
  },
661
- items: [src/* ToolbarService */.Ok._createActionButton('Reset', 'tool-reset', 'Reset View', [{
661
+ items: [src/* ToolbarService */.hx._createActionButton('Reset', 'tool-reset', 'Reset View', [{
662
662
  commandName: 'resetViewport'
663
- }], 'Reset'), src/* ToolbarService */.Ok._createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
663
+ }], 'Reset'), src/* ToolbarService */.hx._createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
664
664
  commandName: 'setToolActive',
665
665
  commandOptions: {
666
666
  toolName: 'StackScroll'
667
667
  },
668
668
  context: 'CORNERSTONE'
669
- }], 'Stack Scroll'), src/* ToolbarService */.Ok._createActionButton('invert', 'tool-invert', 'Invert', [{
669
+ }], 'Stack Scroll'), src/* ToolbarService */.hx._createActionButton('invert', 'tool-invert', 'Invert', [{
670
670
  commandName: 'invertViewport',
671
671
  commandOptions: {},
672
672
  context: 'CORNERSTONE'
673
- }], 'Invert Colors'), src/* ToolbarService */.Ok._createToolButton('Probe', 'tool-probe', 'Probe', [{
673
+ }], 'Invert Colors'), src/* ToolbarService */.hx._createToolButton('Probe', 'tool-probe', 'Probe', [{
674
674
  commandName: 'setToolActive',
675
675
  commandOptions: {
676
676
  toolName: 'DragProbe'
677
677
  },
678
678
  context: 'CORNERSTONE'
679
- }], 'Probe'), src/* ToolbarService */.Ok._createToggleButton('cine', 'tool-cine', 'Cine', [{
679
+ }], 'Probe'), src/* ToolbarService */.hx._createToggleButton('cine', 'tool-cine', 'Cine', [{
680
680
  commandName: 'toggleCine',
681
681
  context: 'CORNERSTONE'
682
- }], 'Cine'), src/* ToolbarService */.Ok._createToolButton('Angle', 'tool-angle', 'Angle', [{
682
+ }], 'Cine'), src/* ToolbarService */.hx._createToolButton('Angle', 'tool-angle', 'Angle', [{
683
683
  commandName: 'setToolActive',
684
684
  commandOptions: {
685
685
  toolName: 'Angle'
686
686
  },
687
687
  context: 'CORNERSTONE'
688
- }], 'Angle'), src/* ToolbarService */.Ok._createToolButton('Rectangle', 'tool-rectangle', 'Rectangle', [{
688
+ }], 'Angle'), src/* ToolbarService */.hx._createToolButton('Rectangle', 'tool-rectangle', 'Rectangle', [{
689
689
  commandName: 'setToolActive',
690
690
  commandOptions: {
691
691
  toolName: 'RectangleROI'
692
692
  },
693
693
  context: 'CORNERSTONE'
694
- }], 'Rectangle'), src/* ToolbarService */.Ok._createActionButton('TagBrowser', 'list-bullets', 'Dicom Tag Browser', [{
694
+ }], 'Rectangle'), src/* ToolbarService */.hx._createActionButton('TagBrowser', 'list-bullets', 'Dicom Tag Browser', [{
695
695
  commandName: 'openDICOMTagViewer',
696
696
  commandOptions: {},
697
697
  context: 'DEFAULT'
@@ -700,7 +700,7 @@ const moreToolsMpr = [{
700
700
  }];
701
701
  /* harmony default export */ const src_moreToolsMpr = (moreToolsMpr);
702
702
  // EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
703
- var i18next = __webpack_require__(73577);
703
+ var i18next = __webpack_require__(92344);
704
704
  ;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/index.ts
705
705
 
706
706
 
@@ -759,7 +759,7 @@ function modeFactory() {
759
759
  // We should not be.
760
760
  id: id,
761
761
  routeName: 'basic-test',
762
- displayName: i18next/* default */.Z.t('Modes:Basic Test Mode'),
762
+ displayName: i18next/* default */.A.t('Modes:Basic Test Mode'),
763
763
  /**
764
764
  * Lifecycle hooks
765
765
  */
@@ -882,7 +882,7 @@ function modeFactory() {
882
882
  // Don't store the hotkeys for basic-test-mode under the same key
883
883
  // because they get customized by tests
884
884
  name: 'basic-test-hotkeys',
885
- hotkeys: [...src/* hotkeys */.dD.defaults.hotkeyBindings]
885
+ hotkeys: [...src/* hotkeys */.ot.defaults.hotkeyBindings]
886
886
  }
887
887
  };
888
888
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[965],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[270],{
3
3
 
4
- /***/ 80965:
4
+ /***/ 62889:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -13,21 +13,21 @@ __webpack_require__.d(__webpack_exports__, {
13
13
  });
14
14
 
15
15
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/package.json
16
- const package_namespaceObject = JSON.parse('{"u2":"@ohif/extension-dicom-microscopy"}');
16
+ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-dicom-microscopy"}');
17
17
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/id.js
18
18
 
19
- const id = package_namespaceObject.u2;
19
+ const id = package_namespaceObject.UU;
20
20
 
21
21
  // EXTERNAL MODULE: ../../../node_modules/react/index.js
22
- var react = __webpack_require__(43001);
22
+ var react = __webpack_require__(41766);
23
23
  // EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
24
- var src = __webpack_require__(18414);
25
- // EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
26
- var core_src = __webpack_require__(71771);
24
+ var src = __webpack_require__(55395);
25
+ // EXTERNAL MODULE: ../../core/src/index.ts + 66 modules
26
+ var core_src = __webpack_require__(14283);
27
27
  // EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
28
- var es = __webpack_require__(69190);
28
+ var es = __webpack_require__(80619);
29
29
  // EXTERNAL MODULE: ../../../node_modules/mathjs/lib/esm/index.js + 996 modules
30
- var esm = __webpack_require__(2223);
30
+ var esm = __webpack_require__(23109);
31
31
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/coordinateFormatScoord3d2Geometry.js
32
32
 
33
33
 
@@ -117,9 +117,9 @@ function mapSlideCoord2PixelCoord(options) {
117
117
  }
118
118
  const point = options.point;
119
119
  const m = [[orientation[0] * spacing[1], orientation[3] * spacing[0], offset[0]], [orientation[1] * spacing[1], orientation[4] * spacing[0], offset[1]], [0, 0, 1]];
120
- const mInverted = (0,esm/* inv */.JBn)(m);
120
+ const mInverted = (0,esm/* inv */.WCD)(m);
121
121
  const vSlide = [[point[0]], [point[1]], [1]];
122
- const vImage = (0,esm/* multiply */.JpY)(mInverted, vSlide);
122
+ const vImage = (0,esm/* multiply */.lwT)(mInverted, vSlide);
123
123
  const row = Number(vImage[1][0].toFixed(4));
124
124
  const col = Number(vImage[0][0].toFixed(4));
125
125
  return [col, row];
@@ -212,7 +212,7 @@ const EVENTS = {
212
212
  * ViewerManager encapsulates the complexity of the third-party viewer and
213
213
  * expose only the features/behaviors that are relevant to the application
214
214
  */
215
- class ViewerManager extends core_src/* PubSubService */.hC {
215
+ class ViewerManager extends core_src/* PubSubService */.Rc {
216
216
  constructor(viewer, viewportId, container, studyInstanceUID, seriesInstanceUID) {
217
217
  super(EVENTS);
218
218
  this.viewer = viewer;
@@ -615,7 +615,7 @@ const RoiAnnotation_EVENTS = {
615
615
  /**
616
616
  * Represents a single annotation for the Microscopy Viewer
617
617
  */
618
- class RoiAnnotation extends core_src/* PubSubService */.hC {
618
+ class RoiAnnotation extends core_src/* PubSubService */.Rc {
619
619
  constructor(roiGraphic, studyInstanceUID, seriesInstanceUID, label = '', viewState = null) {
620
620
  super(RoiAnnotation_EVENTS);
621
621
  this.uid = roiGraphic.uid;
@@ -786,7 +786,7 @@ const MicroscopyService_EVENTS = {
786
786
  * viewers and handle their ROI graphics to create, remove and modify the
787
787
  * ROI annotations relevant to the application
788
788
  */
789
- class MicroscopyService extends core_src/* PubSubService */.hC {
789
+ class MicroscopyService extends core_src/* PubSubService */.Rc {
790
790
  constructor(serviceManager) {
791
791
  super(MicroscopyService_EVENTS);
792
792
  this.serviceManager = void 0;
@@ -1361,7 +1361,7 @@ MicroscopyService.REGISTRATION = serviceManager => {
1361
1361
  };
1362
1362
 
1363
1363
  // EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
1364
- var dcmjs_es = __webpack_require__(67540);
1364
+ var dcmjs_es = __webpack_require__(31426);
1365
1365
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/callInputDialog.tsx
1366
1366
 
1367
1367
 
@@ -1404,7 +1404,7 @@ function callInputDialog({
1404
1404
  centralize: true,
1405
1405
  isDraggable: false,
1406
1406
  showOverlay: true,
1407
- content: src/* Dialog */.Vq,
1407
+ content: src/* Dialog */.lG,
1408
1408
  contentProps: {
1409
1409
  title: title,
1410
1410
  value: {
@@ -1417,18 +1417,18 @@ function callInputDialog({
1417
1417
  actions: [{
1418
1418
  id: 'cancel',
1419
1419
  text: 'Cancel',
1420
- type: src/* ButtonEnums.type */.LZ.dt.secondary
1420
+ type: src/* ButtonEnums.type */.Ny.NW.secondary
1421
1421
  }, {
1422
1422
  id: 'save',
1423
1423
  text: 'Save',
1424
- type: src/* ButtonEnums.type */.LZ.dt.primary
1424
+ type: src/* ButtonEnums.type */.Ny.NW.primary
1425
1425
  }],
1426
1426
  onSubmit: onSubmitHandler,
1427
1427
  body: ({
1428
1428
  value,
1429
1429
  setValue
1430
1430
  }) => {
1431
- return /*#__PURE__*/react.createElement(src/* Input */.II, {
1431
+ return /*#__PURE__*/react.createElement(src/* Input */.pd, {
1432
1432
  label: "Enter your annotation",
1433
1433
  labelClassName: "text-white text-[14px] leading-[1.2]",
1434
1434
  autoFocus: true,
@@ -1491,34 +1491,34 @@ function constructSR(metadata, {
1491
1491
  } = metadata;
1492
1492
 
1493
1493
  // construct Comprehensive3DSR dataset
1494
- const observationContext = new dcmjs_es["default"].sr.templates.ObservationContext({
1495
- observerPersonContext: new dcmjs_es["default"].sr.templates.ObserverContext({
1496
- observerType: new dcmjs_es["default"].sr.coding.CodedConcept({
1494
+ const observationContext = new dcmjs_es/* default.sr */.Ay.sr.templates.ObservationContext({
1495
+ observerPersonContext: new dcmjs_es/* default.sr */.Ay.sr.templates.ObserverContext({
1496
+ observerType: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1497
1497
  value: '121006',
1498
1498
  schemeDesignator: 'DCM',
1499
1499
  meaning: 'Person'
1500
1500
  }),
1501
- observerIdentifyingAttributes: new dcmjs_es["default"].sr.templates.PersonObserverIdentifyingAttributes({
1501
+ observerIdentifyingAttributes: new dcmjs_es/* default.sr */.Ay.sr.templates.PersonObserverIdentifyingAttributes({
1502
1502
  name: '@ohif/extension-dicom-microscopy'
1503
1503
  })
1504
1504
  }),
1505
- observerDeviceContext: new dcmjs_es["default"].sr.templates.ObserverContext({
1506
- observerType: new dcmjs_es["default"].sr.coding.CodedConcept({
1505
+ observerDeviceContext: new dcmjs_es/* default.sr */.Ay.sr.templates.ObserverContext({
1506
+ observerType: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1507
1507
  value: '121007',
1508
1508
  schemeDesignator: 'DCM',
1509
1509
  meaning: 'Device'
1510
1510
  }),
1511
- observerIdentifyingAttributes: new dcmjs_es["default"].sr.templates.DeviceObserverIdentifyingAttributes({
1511
+ observerIdentifyingAttributes: new dcmjs_es/* default.sr */.Ay.sr.templates.DeviceObserverIdentifyingAttributes({
1512
1512
  uid: DEVICE_OBSERVER_UID
1513
1513
  })
1514
1514
  }),
1515
- subjectContext: new dcmjs_es["default"].sr.templates.SubjectContext({
1516
- subjectClass: new dcmjs_es["default"].sr.coding.CodedConcept({
1515
+ subjectContext: new dcmjs_es/* default.sr */.Ay.sr.templates.SubjectContext({
1516
+ subjectClass: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1517
1517
  value: '121027',
1518
1518
  schemeDesignator: 'DCM',
1519
1519
  meaning: 'Specimen'
1520
1520
  }),
1521
- subjectClassSpecificContext: new dcmjs_es["default"].sr.templates.SubjectContextSpecimen({
1521
+ subjectClassSpecificContext: new dcmjs_es/* default.sr */.Ay.sr.templates.SubjectContextSpecimen({
1522
1522
  uid: SpecimenDescriptionSequence.SpecimenUID,
1523
1523
  identifier: SpecimenDescriptionSequence.SpecimenIdentifier || metadata.SeriesInstanceUID,
1524
1524
  containerIdentifier: metadata.ContainerIdentifier || metadata.SeriesInstanceUID
@@ -1550,14 +1550,14 @@ function constructSR(metadata, {
1550
1550
  const ConceptName = Array.isArray(measurement.ConceptNameCodeSequence) ? measurement.ConceptNameCodeSequence[0] : measurement.ConceptNameCodeSequence;
1551
1551
  const MeasuredValue = Array.isArray(measurement.MeasuredValueSequence) ? measurement.MeasuredValueSequence[0] : measurement.MeasuredValueSequence;
1552
1552
  const MeasuredValueUnits = Array.isArray(MeasuredValue.MeasurementUnitsCodeSequence) ? MeasuredValue.MeasurementUnitsCodeSequence[0] : MeasuredValue.MeasurementUnitsCodeSequence;
1553
- return new dcmjs_es["default"].sr.valueTypes.NumContentItem({
1554
- name: new dcmjs_es["default"].sr.coding.CodedConcept({
1553
+ return new dcmjs_es/* default.sr */.Ay.sr.valueTypes.NumContentItem({
1554
+ name: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1555
1555
  meaning: ConceptName.CodeMeaning,
1556
1556
  value: ConceptName.CodeValue,
1557
1557
  schemeDesignator: ConceptName.CodingSchemeDesignator
1558
1558
  }),
1559
1559
  value: MeasuredValue.NumericValue,
1560
- unit: new dcmjs_es["default"].sr.coding.CodedConcept({
1560
+ unit: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1561
1561
  value: MeasuredValueUnits.CodeValue,
1562
1562
  meaning: MeasuredValueUnits.CodeMeaning,
1563
1563
  schemeDesignator: MeasuredValueUnits.CodingSchemeDesignator
@@ -1568,8 +1568,8 @@ function constructSR(metadata, {
1568
1568
  /** Avoid incompatibility with dcmjs */
1569
1569
  evaluations = evaluations.map(evaluation => {
1570
1570
  const ConceptName = Array.isArray(evaluation.ConceptNameCodeSequence) ? evaluation.ConceptNameCodeSequence[0] : evaluation.ConceptNameCodeSequence;
1571
- return new dcmjs_es["default"].sr.valueTypes.TextContentItem({
1572
- name: new dcmjs_es["default"].sr.coding.CodedConcept({
1571
+ return new dcmjs_es/* default.sr */.Ay.sr.valueTypes.TextContentItem({
1572
+ name: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1573
1573
  value: ConceptName.CodeValue,
1574
1574
  meaning: ConceptName.CodeMeaning,
1575
1575
  schemeDesignator: ConceptName.CodingSchemeDesignator
@@ -1579,17 +1579,17 @@ function constructSR(metadata, {
1579
1579
  });
1580
1580
  });
1581
1581
  const identifier = `ROI #${i + 1}`;
1582
- const group = new dcmjs_es["default"].sr.templates.PlanarROIMeasurementsAndQualitativeEvaluations({
1583
- trackingIdentifier: new dcmjs_es["default"].sr.templates.TrackingIdentifier({
1582
+ const group = new dcmjs_es/* default.sr */.Ay.sr.templates.PlanarROIMeasurementsAndQualitativeEvaluations({
1583
+ trackingIdentifier: new dcmjs_es/* default.sr */.Ay.sr.templates.TrackingIdentifier({
1584
1584
  uid: roi.uid,
1585
1585
  identifier: presentationState ? identifier.concat(`(${JSON.stringify(presentationState)})`) : identifier
1586
1586
  }),
1587
- referencedRegion: new dcmjs_es["default"].sr.contentItems.ImageRegion3D({
1587
+ referencedRegion: new dcmjs_es/* default.sr */.Ay.sr.contentItems.ImageRegion3D({
1588
1588
  graphicType: roi.scoord3d.graphicType,
1589
1589
  graphicData: roi.scoord3d.graphicData,
1590
1590
  frameOfReferenceUID: roi.scoord3d.frameOfReferenceUID
1591
1591
  }),
1592
- findingType: new dcmjs_es["default"].sr.coding.CodedConcept({
1592
+ findingType: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1593
1593
  value: label,
1594
1594
  schemeDesignator: '@ohif/extension-dicom-microscopy',
1595
1595
  meaning: 'FREETEXT'
@@ -1600,23 +1600,23 @@ function constructSR(metadata, {
1600
1600
  });
1601
1601
  imagingMeasurements.push(...group);
1602
1602
  }
1603
- const measurementReport = new dcmjs_es["default"].sr.templates.MeasurementReport({
1604
- languageOfContentItemAndDescendants: new dcmjs_es["default"].sr.templates.LanguageOfContentItemAndDescendants({}),
1603
+ const measurementReport = new dcmjs_es/* default.sr */.Ay.sr.templates.MeasurementReport({
1604
+ languageOfContentItemAndDescendants: new dcmjs_es/* default.sr */.Ay.sr.templates.LanguageOfContentItemAndDescendants({}),
1605
1605
  observationContext,
1606
- procedureReported: new dcmjs_es["default"].sr.coding.CodedConcept({
1606
+ procedureReported: new dcmjs_es/* default.sr */.Ay.sr.coding.CodedConcept({
1607
1607
  value: '112703',
1608
1608
  schemeDesignator: 'DCM',
1609
1609
  meaning: 'Whole Slide Imaging'
1610
1610
  }),
1611
1611
  imagingMeasurements
1612
1612
  });
1613
- const dataset = new dcmjs_es["default"].sr.documents.Comprehensive3DSR({
1613
+ const dataset = new dcmjs_es/* default.sr */.Ay.sr.documents.Comprehensive3DSR({
1614
1614
  content: measurementReport[0],
1615
1615
  evidence: [metadata],
1616
- seriesInstanceUID: dcmjs_es["default"].data.DicomMetaDictionary.uid(),
1616
+ seriesInstanceUID: dcmjs_es/* default.data */.Ay.data.DicomMetaDictionary.uid(),
1617
1617
  seriesNumber: SeriesNumber,
1618
1618
  seriesDescription: SeriesDescription || 'Whole slide imaging structured report',
1619
- sopInstanceUID: dcmjs_es["default"].data.DicomMetaDictionary.uid(),
1619
+ sopInstanceUID: dcmjs_es/* default.data */.Ay.data.DicomMetaDictionary.uid(),
1620
1620
  instanceNumber: 1,
1621
1621
  manufacturer: 'dcmjs-org'
1622
1622
  });
@@ -1636,7 +1636,7 @@ function constructSR(metadata, {
1636
1636
  vr: 'UI'
1637
1637
  },
1638
1638
  ImplementationClassUID: {
1639
- Value: [dcmjs_es["default"].data.DicomMetaDictionary.uid()],
1639
+ Value: [dcmjs_es/* default.data */.Ay.data.DicomMetaDictionary.uid()],
1640
1640
  vr: 'UI'
1641
1641
  },
1642
1642
  ImplementationVersionName: {
@@ -1674,7 +1674,7 @@ function saveByteArray(buffer, filename) {
1674
1674
  let saving = false;
1675
1675
  const {
1676
1676
  datasetToBuffer
1677
- } = dcmjs_es["default"].data;
1677
+ } = dcmjs_es/* default.data */.Ay.data;
1678
1678
  const formatArea = area => {
1679
1679
  let mult = 1;
1680
1680
  let unit = 'mm';
@@ -1977,7 +1977,7 @@ function MicroscopyPanel(props) {
1977
1977
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
1978
1978
  className: "ohif-scrollbar overflow-y-auto overflow-x-hidden",
1979
1979
  "data-cy": 'measurements-panel'
1980
- }, /*#__PURE__*/react.createElement(src/* MeasurementTable */.wt, {
1980
+ }, /*#__PURE__*/react.createElement(src/* MeasurementTable */.V, {
1981
1981
  title: "Measurements",
1982
1982
  servicesManager: props.servicesManager,
1983
1983
  data: data,
@@ -1985,7 +1985,7 @@ function MicroscopyPanel(props) {
1985
1985
  onEdit: onMeasurementItemEditHandler
1986
1986
  })));
1987
1987
  }
1988
- const connectedMicroscopyPanel = (0,es/* withTranslation */.Zh)(['MicroscopyTable', 'Common'])(MicroscopyPanel);
1988
+ const connectedMicroscopyPanel = (0,es/* withTranslation */.CI)(['MicroscopyTable', 'Common'])(MicroscopyPanel);
1989
1989
  /* harmony default export */ const MicroscopyPanel_MicroscopyPanel = (connectedMicroscopyPanel);
1990
1990
  ;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/getPanelModule.tsx
1991
1991
 
@@ -2006,7 +2006,7 @@ function getPanelModule({
2006
2006
  const [{
2007
2007
  activeViewportId,
2008
2008
  viewports
2009
- }] = (0,src/* useViewportGrid */.O_)();
2009
+ }] = (0,src/* useViewportGrid */.ih)();
2010
2010
  return /*#__PURE__*/react.createElement(MicroscopyPanel_MicroscopyPanel, {
2011
2011
  viewports: viewports,
2012
2012
  activeViewportId: activeViewportId,
@@ -2174,7 +2174,7 @@ function getCommandsModule({
2174
2174
 
2175
2175
  const {
2176
2176
  utils
2177
- } = core_src["default"];
2177
+ } = core_src/* default */.Ay;
2178
2178
  const SOP_CLASS_UIDS = {
2179
2179
  VL_WHOLE_SLIDE_MICROSCOPY_IMAGE_STORAGE: '1.2.840.10008.5.1.4.1.1.77.1.6'
2180
2180
  };
@@ -2301,7 +2301,7 @@ function toArray(item) {
2301
2301
 
2302
2302
 
2303
2303
 
2304
- const MeasurementReport = dcmjs_es["default"].adapters.DICOMMicroscopyViewer.MeasurementReport;
2304
+ const MeasurementReport = dcmjs_es/* default.adapters */.Ay.adapters.DICOMMicroscopyViewer.MeasurementReport;
2305
2305
 
2306
2306
  // Define as async so that it returns a promise, expected by the ViewportGrid
2307
2307
  async function loadSR(microscopyService, microscopySRDisplaySet, referencedDisplaySet) {
@@ -2338,7 +2338,7 @@ async function loadSR(microscopyService, microscopySRDisplaySet, referencedDispl
2338
2338
  async function _getROIsFromToolState(naturalizedDataset, FrameOfReferenceUID) {
2339
2339
  const toolState = MeasurementReport.generateToolState(naturalizedDataset);
2340
2340
  const tools = Object.getOwnPropertyNames(toolState);
2341
- const DICOMMicroscopyViewer = await __webpack_require__.e(/* import() | dicom-microscopy-viewer */ 18).then(__webpack_require__.t.bind(__webpack_require__, 42613, 23));
2341
+ const DICOMMicroscopyViewer = await __webpack_require__.e(/* import() | dicom-microscopy-viewer */ 525).then(__webpack_require__.t.bind(__webpack_require__, 95226, 23));
2342
2342
  const measurementGroupContentItems = _getMeasurementGroups(naturalizedDataset);
2343
2343
  const rois = [];
2344
2344
  const labels = [];
@@ -2472,7 +2472,7 @@ function getSourceDisplaySet(allDisplaySets, microscopySRDisplaySet) {
2472
2472
 
2473
2473
  const {
2474
2474
  utils: DicomMicroscopySRSopClassHandler_utils
2475
- } = core_src["default"];
2475
+ } = core_src/* default */.Ay;
2476
2476
  const DicomMicroscopySRSopClassHandler_SOP_CLASS_UIDS = {
2477
2477
  COMPREHENSIVE_3D_SR: '1.2.840.10008.5.1.4.1.1.88.34'
2478
2478
  };
@@ -2577,7 +2577,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
2577
2577
 
2578
2578
 
2579
2579
  const Component = /*#__PURE__*/react.lazy(() => {
2580
- return Promise.all(/* import() */[__webpack_require__.e(661), __webpack_require__.e(417), __webpack_require__.e(23), __webpack_require__.e(738), __webpack_require__.e(250)]).then(__webpack_require__.bind(__webpack_require__, 76516));
2580
+ return Promise.all(/* import() */[__webpack_require__.e(644), __webpack_require__.e(931), __webpack_require__.e(704), __webpack_require__.e(544)]).then(__webpack_require__.bind(__webpack_require__, 17919));
2581
2581
  });
2582
2582
  const MicroscopyViewport = props => {
2583
2583
  return /*#__PURE__*/react.createElement(react.Suspense, {
@@ -2628,7 +2628,7 @@ const MicroscopyViewport = props => {
2628
2628
  const {
2629
2629
  viewportOptions
2630
2630
  } = props;
2631
- const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.O_)();
2631
+ const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.ih)();
2632
2632
  const {
2633
2633
  activeViewportId
2634
2634
  } = viewportGrid;