@ohif/app 3.14.0-beta.98 → 3.14.0-beta.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{1645.bundle.a98b9ca6.js → 1645.bundle.1a466b16.js} +600 -600
- package/dist/{1788.bundle.3f1349d2.js → 1788.bundle.962951f9.js} +26 -26
- package/dist/{1793.bundle.27458a55.js → 1793.bundle.30f89e46.js} +5 -3
- package/dist/{1862.bundle.79bfe469.js → 1862.bundle.3ae388c3.js} +2 -2
- package/dist/204.bundle.bc44c201.js +101 -0
- package/dist/204.bundle.css +52 -0
- package/dist/{2748.bundle.eaa94e2e.js → 2103.bundle.1cf348e8.js} +1 -1771
- package/dist/{2478.bundle.fc6ab30b.js → 2478.bundle.68ff1b2d.js} +2 -2
- package/dist/{2717.bundle.d5f58443.js → 2717.bundle.4318f1ee.js} +45 -43
- package/dist/{5989.bundle.f484884a.js → 287.bundle.ee60c370.js} +4570 -832
- package/dist/{2894.bundle.d612efb2.js → 2894.bundle.30c0af5b.js} +20 -14
- package/dist/{2991.bundle.f94892fb.js → 2991.bundle.77642eee.js} +101 -97
- package/dist/{3004.bundle.51919fdc.js → 3004.bundle.5568149a.js} +39 -38
- package/dist/{3255.bundle.13e205ac.js → 3255.bundle.3272671f.js} +29 -27
- package/dist/{3366.bundle.62baeeec.js → 3366.bundle.d9e78e25.js} +57 -53
- package/dist/{3468.bundle.f5dc5e44.js → 3468.bundle.666f2441.js} +37 -27
- package/dist/{347.bundle.397bb252.js → 347.bundle.1323658e.js} +44 -44
- package/dist/{3622.bundle.f4cf2d16.js → 3622.bundle.edb42b96.js} +56 -54
- package/dist/{3723.bundle.eab70100.js → 3723.bundle.43ff1971.js} +1 -1
- package/dist/{3771.bundle.aba09bd7.js → 3771.bundle.a5754f97.js} +8 -8
- package/dist/{4449.bundle.aaa4ab92.js → 4487.bundle.fa0375a4.js} +853 -95
- package/dist/{4606.bundle.a3485206.js → 4606.bundle.6c297e2a.js} +9 -7
- package/dist/{4998.bundle.3aedb48d.js → 4998.bundle.25b8cbfe.js} +5 -3
- package/dist/{5076.bundle.95c07142.js → 5076.bundle.2a14756f.js} +66 -66
- package/dist/{5143.bundle.04f54c00.js → 5143.bundle.53156bb0.js} +358 -226
- package/dist/{5154.bundle.2f460017.js → 5154.bundle.ccd02dd7.js} +5 -3
- package/dist/{5320.bundle.9b05cebb.js → 5320.bundle.c17eb4a7.js} +678 -546
- package/dist/{6212.bundle.e505e123.js → 6212.bundle.c4856be7.js} +48 -46
- package/dist/{6253.bundle.f74ac5c2.js → 6253.bundle.596ce463.js} +1225 -1145
- package/dist/{1153.bundle.51d39e80.js → 6314.bundle.5aadfe48.js} +199 -420
- package/dist/{641.bundle.4627a8e1.js → 641.bundle.8e45751e.js} +89 -89
- package/dist/{6481.bundle.d2fca485.js → 6481.bundle.85093e70.js} +29 -23
- package/dist/{6507.bundle.d52f5e81.js → 6507.bundle.bbcdd01e.js} +76 -76
- package/dist/{6722.bundle.d09a8aad.js → 6722.bundle.3e9a4ef6.js} +4 -4
- package/dist/{6956.bundle.c82fd790.js → 6956.bundle.dc0e8660.js} +33 -33
- package/dist/{7526.bundle.0685dfeb.js → 7526.bundle.3460c3ca.js} +55 -53
- package/dist/{7604.bundle.9eb317c8.js → 7604.bundle.f1eeded4.js} +2 -2
- package/dist/{8312.bundle.2cb75b58.js → 8312.bundle.d67b6f4e.js} +652 -687
- package/dist/{6847.bundle.b2adb444.js → 8729.bundle.e17fe9b2.js} +87 -845
- package/dist/{8788.bundle.4bb4c65b.js → 8788.bundle.83ddf642.js} +21 -20
- package/dist/{8868.bundle.4c357767.js → 8868.bundle.8f3653b3.js} +31 -31
- package/dist/{8923.bundle.9aca06c4.js → 8923.bundle.8b682e96.js} +148 -148
- package/dist/{899.bundle.9a033d16.js → 899.bundle.4e1aee7f.js} +73 -203
- package/dist/{9187.bundle.8f72b4fe.js → 9187.bundle.407afa07.js} +112 -110
- package/dist/9385.bundle.fb0bbf4a.js +1888 -0
- package/dist/{9481.bundle.ccb81f53.js → 9481.bundle.d045ae3a.js} +8 -6
- package/dist/{9517.bundle.1ae74db3.js → 9517.bundle.3e2896ef.js} +31 -17
- package/dist/{9620.bundle.d1dc0be1.js → 9620.bundle.b4cc392c.js} +63 -61
- package/dist/{9841.bundle.0f40f02b.js → 9841.bundle.4f2c401a.js} +93 -91
- package/dist/{9886.bundle.cabb4a24.js → 9886.bundle.b00d5d78.js} +4 -4
- package/dist/{8037.bundle.30a187f7.js → 9889.bundle.bf312047.js} +7743 -1098
- package/dist/{9948.bundle.1172ebca.js → 9948.bundle.fecf81f8.js} +5 -5
- package/dist/{app.bundle.51f0a437.js → app.bundle.bb359653.js} +1926 -1223
- package/dist/{compute.bundle.0ed1fe87.js → compute.bundle.9267d449.js} +13 -12
- package/dist/{histogram-worker.bundle.58e60d7c.js → histogram-worker.bundle.29bcdbf6.js} +6 -5
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.5a53d112.js → interpolation.bundle.ee9998a4.js} +8 -7
- package/dist/{lib-router.bundle.a5ac870a.js → lib-router.bundle.2a887bc7.js} +334 -201
- package/dist/{polySeg.bundle.b4089601.js → polySeg.bundle.a55f8eee.js} +12 -12
- package/dist/sw.js +11 -1
- package/package.json +14 -19
- package/dist/1566.bundle.d58db206.js +0 -3610
|
@@ -18,14 +18,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
18
18
|
|
|
19
19
|
},
|
|
20
20
|
43300(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
21
|
+
// ESM COMPAT FLAG
|
|
22
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21
23
|
|
|
22
24
|
// EXPORTS
|
|
23
25
|
__webpack_require__.d(__webpack_exports__, {
|
|
24
|
-
"default": () => (/* binding */ usAnnotation_src)
|
|
26
|
+
"default": () => (/* binding */ usAnnotation_src),
|
|
27
|
+
initToolGroups: () => (/* reexport */ src_initToolGroups),
|
|
28
|
+
toolbarButtons: () => (/* reexport */ src_toolbarButtons)
|
|
25
29
|
});
|
|
26
30
|
|
|
27
|
-
// UNUSED EXPORTS: initToolGroups, toolbarButtons
|
|
28
|
-
|
|
29
31
|
// EXTERNAL MODULE: ../../node_modules/i18next/dist/esm/i18next.js + 3 modules
|
|
30
32
|
var i18next = __webpack_require__(96392);
|
|
31
33
|
;// CONCATENATED MODULE: ../../modes/usAnnotation/package.json
|
|
@@ -514,8 +516,8 @@ const toolbarButtons = [
|
|
|
514
516
|
uiType: 'ohif.modalityLoadBadge',
|
|
515
517
|
props: {
|
|
516
518
|
icon: 'Status',
|
|
517
|
-
label: i18next
|
|
518
|
-
tooltip: i18next
|
|
519
|
+
label: i18next["default"].t('Buttons:Status'),
|
|
520
|
+
tooltip: i18next["default"].t('Buttons:Status'),
|
|
519
521
|
evaluate: {
|
|
520
522
|
name: 'evaluate.modalityLoadBadge',
|
|
521
523
|
hideWhenDisabled: true
|
|
@@ -527,8 +529,8 @@ const toolbarButtons = [
|
|
|
527
529
|
uiType: 'ohif.navigationComponent',
|
|
528
530
|
props: {
|
|
529
531
|
icon: 'Navigation',
|
|
530
|
-
label: i18next
|
|
531
|
-
tooltip: i18next
|
|
532
|
+
label: i18next["default"].t('Buttons:Navigation'),
|
|
533
|
+
tooltip: i18next["default"].t('Buttons:Navigate between segments/measurements and manage their visibility'),
|
|
532
534
|
evaluate: {
|
|
533
535
|
name: 'evaluate.navigationComponent',
|
|
534
536
|
hideWhenDisabled: true
|
|
@@ -540,8 +542,8 @@ const toolbarButtons = [
|
|
|
540
542
|
uiType: 'ohif.trackingStatus',
|
|
541
543
|
props: {
|
|
542
544
|
icon: 'TrackingStatus',
|
|
543
|
-
label: i18next
|
|
544
|
-
tooltip: i18next
|
|
545
|
+
label: i18next["default"].t('Buttons:Tracking Status'),
|
|
546
|
+
tooltip: i18next["default"].t('Buttons:View and manage tracking status of measurements and annotations'),
|
|
545
547
|
evaluate: {
|
|
546
548
|
name: 'evaluate.trackingStatus',
|
|
547
549
|
hideWhenDisabled: true
|
|
@@ -553,8 +555,8 @@ const toolbarButtons = [
|
|
|
553
555
|
uiType: 'ohif.dataOverlayMenu',
|
|
554
556
|
props: {
|
|
555
557
|
icon: 'ViewportViews',
|
|
556
|
-
label: i18next
|
|
557
|
-
tooltip: i18next
|
|
558
|
+
label: i18next["default"].t('Buttons:Data Overlay'),
|
|
559
|
+
tooltip: i18next["default"].t('Buttons:Configure data overlay options and manage foreground/background display sets'),
|
|
558
560
|
evaluate: 'evaluate.dataOverlayMenu'
|
|
559
561
|
}
|
|
560
562
|
},
|
|
@@ -563,8 +565,8 @@ const toolbarButtons = [
|
|
|
563
565
|
uiType: 'ohif.orientationMenu',
|
|
564
566
|
props: {
|
|
565
567
|
icon: 'OrientationSwitch',
|
|
566
|
-
label: i18next
|
|
567
|
-
tooltip: i18next
|
|
568
|
+
label: i18next["default"].t('Buttons:Orientation'),
|
|
569
|
+
tooltip: i18next["default"].t('Buttons:Change viewport orientation between axial, sagittal, coronal and reformat planes'),
|
|
568
570
|
evaluate: {
|
|
569
571
|
name: 'evaluate.orientationMenu' // hideWhenDisabled: true,
|
|
570
572
|
}
|
|
@@ -575,8 +577,8 @@ const toolbarButtons = [
|
|
|
575
577
|
uiType: 'ohif.windowLevelMenuEmbedded',
|
|
576
578
|
props: {
|
|
577
579
|
icon: 'WindowLevel',
|
|
578
|
-
label: i18next
|
|
579
|
-
tooltip: i18next
|
|
580
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
581
|
+
tooltip: i18next["default"].t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
580
582
|
evaluate: {
|
|
581
583
|
name: 'evaluate.windowLevelMenuEmbedded',
|
|
582
584
|
hideWhenDisabled: true
|
|
@@ -588,8 +590,8 @@ const toolbarButtons = [
|
|
|
588
590
|
uiType: 'ohif.windowLevelMenu',
|
|
589
591
|
props: {
|
|
590
592
|
icon: 'WindowLevel',
|
|
591
|
-
label: i18next
|
|
592
|
-
tooltip: i18next
|
|
593
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
594
|
+
tooltip: i18next["default"].t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
593
595
|
evaluate: {
|
|
594
596
|
name: 'evaluate.windowLevelMenu'
|
|
595
597
|
}
|
|
@@ -600,8 +602,8 @@ const toolbarButtons = [
|
|
|
600
602
|
uiType: 'ohif.voiManualControlMenu',
|
|
601
603
|
props: {
|
|
602
604
|
icon: 'WindowLevelAdvanced',
|
|
603
|
-
label: i18next
|
|
604
|
-
tooltip: i18next
|
|
605
|
+
label: i18next["default"].t('Buttons:Advanced Window Level'),
|
|
606
|
+
tooltip: i18next["default"].t('Buttons:Advanced window/level settings with manual controls and presets'),
|
|
605
607
|
evaluate: 'evaluate.voiManualControlMenu'
|
|
606
608
|
}
|
|
607
609
|
},
|
|
@@ -610,8 +612,8 @@ const toolbarButtons = [
|
|
|
610
612
|
uiType: 'ohif.thresholdMenu',
|
|
611
613
|
props: {
|
|
612
614
|
icon: 'Threshold',
|
|
613
|
-
label: i18next
|
|
614
|
-
tooltip: i18next
|
|
615
|
+
label: i18next["default"].t('Buttons:Threshold'),
|
|
616
|
+
tooltip: i18next["default"].t('Buttons:Image threshold settings'),
|
|
615
617
|
evaluate: {
|
|
616
618
|
name: 'evaluate.thresholdMenu',
|
|
617
619
|
hideWhenDisabled: true
|
|
@@ -623,8 +625,8 @@ const toolbarButtons = [
|
|
|
623
625
|
uiType: 'ohif.opacityMenu',
|
|
624
626
|
props: {
|
|
625
627
|
icon: 'Opacity',
|
|
626
|
-
label: i18next
|
|
627
|
-
tooltip: i18next
|
|
628
|
+
label: i18next["default"].t('Buttons:Opacity'),
|
|
629
|
+
tooltip: i18next["default"].t('Buttons:Image opacity settings'),
|
|
628
630
|
evaluate: {
|
|
629
631
|
name: 'evaluate.opacityMenu',
|
|
630
632
|
hideWhenDisabled: true
|
|
@@ -636,7 +638,7 @@ const toolbarButtons = [
|
|
|
636
638
|
uiType: 'ohif.colorbar',
|
|
637
639
|
props: {
|
|
638
640
|
type: 'tool',
|
|
639
|
-
label: i18next
|
|
641
|
+
label: i18next["default"].t('Buttons:Colorbar')
|
|
640
642
|
}
|
|
641
643
|
},
|
|
642
644
|
{
|
|
@@ -644,8 +646,8 @@ const toolbarButtons = [
|
|
|
644
646
|
uiType: 'ohif.toolButton',
|
|
645
647
|
props: {
|
|
646
648
|
icon: 'tool-reset',
|
|
647
|
-
label: i18next
|
|
648
|
-
tooltip: i18next
|
|
649
|
+
label: i18next["default"].t('Buttons:Reset View'),
|
|
650
|
+
tooltip: i18next["default"].t('Buttons:Reset View'),
|
|
649
651
|
commands: 'resetViewport',
|
|
650
652
|
evaluate: 'evaluate.action'
|
|
651
653
|
}
|
|
@@ -655,8 +657,8 @@ const toolbarButtons = [
|
|
|
655
657
|
uiType: 'ohif.toolButton',
|
|
656
658
|
props: {
|
|
657
659
|
icon: 'tool-rotate-right',
|
|
658
|
-
label: i18next
|
|
659
|
-
tooltip: i18next
|
|
660
|
+
label: i18next["default"].t('Buttons:Rotate Right'),
|
|
661
|
+
tooltip: i18next["default"].t('Buttons:Rotate +90'),
|
|
660
662
|
commands: 'rotateViewportCW',
|
|
661
663
|
evaluate: [
|
|
662
664
|
'evaluate.action',
|
|
@@ -674,8 +676,8 @@ const toolbarButtons = [
|
|
|
674
676
|
uiType: 'ohif.toolButton',
|
|
675
677
|
props: {
|
|
676
678
|
icon: 'tool-flip-horizontal',
|
|
677
|
-
label: i18next
|
|
678
|
-
tooltip: i18next
|
|
679
|
+
label: i18next["default"].t('Buttons:Flip Horizontal'),
|
|
680
|
+
tooltip: i18next["default"].t('Buttons:Flip Horizontally'),
|
|
679
681
|
commands: 'flipViewportHorizontal',
|
|
680
682
|
evaluate: [
|
|
681
683
|
'evaluate.viewportProperties.toggle',
|
|
@@ -694,8 +696,8 @@ const toolbarButtons = [
|
|
|
694
696
|
uiType: 'ohif.toolButton',
|
|
695
697
|
props: {
|
|
696
698
|
icon: 'link',
|
|
697
|
-
label: i18next
|
|
698
|
-
tooltip: i18next
|
|
699
|
+
label: i18next["default"].t('Buttons:Image Slice Sync'),
|
|
700
|
+
tooltip: i18next["default"].t('Buttons:Enable position synchronization on stack viewports'),
|
|
699
701
|
commands: {
|
|
700
702
|
commandName: 'toggleSynchronizer',
|
|
701
703
|
commandOptions: {
|
|
@@ -727,12 +729,12 @@ const toolbarButtons = [
|
|
|
727
729
|
uiType: 'ohif.toolButton',
|
|
728
730
|
props: {
|
|
729
731
|
icon: 'tool-referenceLines',
|
|
730
|
-
label: i18next
|
|
731
|
-
tooltip: i18next
|
|
732
|
+
label: i18next["default"].t('Buttons:Reference Lines'),
|
|
733
|
+
tooltip: i18next["default"].t('Buttons:Show Reference Lines'),
|
|
732
734
|
commands: 'toggleEnabledDisabledToolbar',
|
|
733
735
|
listeners: {
|
|
734
|
-
[core_src
|
|
735
|
-
[core_src
|
|
736
|
+
[core_src.ViewportGridService.EVENTS.ACTIVE_VIEWPORT_ID_CHANGED]: callbacks('ReferenceLines'),
|
|
737
|
+
[core_src.ViewportGridService.EVENTS.VIEWPORTS_READY]: callbacks('ReferenceLines')
|
|
736
738
|
},
|
|
737
739
|
evaluate: [
|
|
738
740
|
'evaluate.cornerstoneTool.toggle',
|
|
@@ -750,8 +752,8 @@ const toolbarButtons = [
|
|
|
750
752
|
uiType: 'ohif.toolButton',
|
|
751
753
|
props: {
|
|
752
754
|
icon: 'toggle-dicom-overlay',
|
|
753
|
-
label: i18next
|
|
754
|
-
tooltip: i18next
|
|
755
|
+
label: i18next["default"].t('Buttons:Image Overlay'),
|
|
756
|
+
tooltip: i18next["default"].t('Buttons:Toggle Image Overlay'),
|
|
755
757
|
commands: 'toggleEnabledDisabledToolbar',
|
|
756
758
|
evaluate: [
|
|
757
759
|
'evaluate.cornerstoneTool.toggle',
|
|
@@ -769,8 +771,8 @@ const toolbarButtons = [
|
|
|
769
771
|
uiType: 'ohif.toolButton',
|
|
770
772
|
props: {
|
|
771
773
|
icon: 'tool-stack-scroll',
|
|
772
|
-
label: i18next
|
|
773
|
-
tooltip: i18next
|
|
774
|
+
label: i18next["default"].t('Buttons:Stack Scroll'),
|
|
775
|
+
tooltip: i18next["default"].t('Buttons:Stack Scroll'),
|
|
774
776
|
commands: setToolActiveToolbar,
|
|
775
777
|
evaluate: 'evaluate.cornerstoneTool'
|
|
776
778
|
}
|
|
@@ -780,8 +782,8 @@ const toolbarButtons = [
|
|
|
780
782
|
uiType: 'ohif.toolButton',
|
|
781
783
|
props: {
|
|
782
784
|
icon: 'tool-invert',
|
|
783
|
-
label: i18next
|
|
784
|
-
tooltip: i18next
|
|
785
|
+
label: i18next["default"].t('Buttons:Invert'),
|
|
786
|
+
tooltip: i18next["default"].t('Buttons:Invert Colors'),
|
|
785
787
|
commands: 'invertViewport',
|
|
786
788
|
evaluate: [
|
|
787
789
|
'evaluate.viewportProperties.toggle',
|
|
@@ -799,8 +801,8 @@ const toolbarButtons = [
|
|
|
799
801
|
uiType: 'ohif.toolButton',
|
|
800
802
|
props: {
|
|
801
803
|
icon: 'tool-probe',
|
|
802
|
-
label: i18next
|
|
803
|
-
tooltip: i18next
|
|
804
|
+
label: i18next["default"].t('Buttons:Probe'),
|
|
805
|
+
tooltip: i18next["default"].t('Buttons:Probe'),
|
|
804
806
|
commands: setToolActiveToolbar,
|
|
805
807
|
evaluate: 'evaluate.cornerstoneTool'
|
|
806
808
|
}
|
|
@@ -810,8 +812,8 @@ const toolbarButtons = [
|
|
|
810
812
|
uiType: 'ohif.toolButton',
|
|
811
813
|
props: {
|
|
812
814
|
icon: 'tool-cine',
|
|
813
|
-
label: i18next
|
|
814
|
-
tooltip: i18next
|
|
815
|
+
label: i18next["default"].t('Buttons:Cine'),
|
|
816
|
+
tooltip: i18next["default"].t('Buttons:Cine'),
|
|
815
817
|
commands: 'toggleCine',
|
|
816
818
|
evaluate: [
|
|
817
819
|
'evaluate.cine',
|
|
@@ -829,8 +831,8 @@ const toolbarButtons = [
|
|
|
829
831
|
uiType: 'ohif.toolButton',
|
|
830
832
|
props: {
|
|
831
833
|
icon: 'tool-angle',
|
|
832
|
-
label: i18next
|
|
833
|
-
tooltip: i18next
|
|
834
|
+
label: i18next["default"].t('Buttons:Angle'),
|
|
835
|
+
tooltip: i18next["default"].t('Buttons:Angle'),
|
|
834
836
|
commands: setToolActiveToolbar,
|
|
835
837
|
evaluate: 'evaluate.cornerstoneTool'
|
|
836
838
|
}
|
|
@@ -840,8 +842,8 @@ const toolbarButtons = [
|
|
|
840
842
|
uiType: 'ohif.toolButton',
|
|
841
843
|
props: {
|
|
842
844
|
icon: 'icon-tool-cobb-angle',
|
|
843
|
-
label: i18next
|
|
844
|
-
tooltip: i18next
|
|
845
|
+
label: i18next["default"].t('Buttons:Cobb Angle'),
|
|
846
|
+
tooltip: i18next["default"].t('Buttons:Cobb Angle'),
|
|
845
847
|
commands: setToolActiveToolbar,
|
|
846
848
|
evaluate: 'evaluate.cornerstoneTool'
|
|
847
849
|
}
|
|
@@ -851,8 +853,8 @@ const toolbarButtons = [
|
|
|
851
853
|
uiType: 'ohif.toolButton',
|
|
852
854
|
props: {
|
|
853
855
|
icon: 'tool-magnify',
|
|
854
|
-
label: i18next
|
|
855
|
-
tooltip: i18next
|
|
856
|
+
label: i18next["default"].t('Buttons:Zoom-in'),
|
|
857
|
+
tooltip: i18next["default"].t('Buttons:Zoom-in'),
|
|
856
858
|
commands: setToolActiveToolbar,
|
|
857
859
|
evaluate: [
|
|
858
860
|
'evaluate.cornerstoneTool',
|
|
@@ -870,8 +872,8 @@ const toolbarButtons = [
|
|
|
870
872
|
uiType: 'ohif.toolButton',
|
|
871
873
|
props: {
|
|
872
874
|
icon: 'tool-calibration',
|
|
873
|
-
label: i18next
|
|
874
|
-
tooltip: i18next
|
|
875
|
+
label: i18next["default"].t('Buttons:Calibration'),
|
|
876
|
+
tooltip: i18next["default"].t('Buttons:Calibration Line'),
|
|
875
877
|
commands: setToolActiveToolbar,
|
|
876
878
|
evaluate: [
|
|
877
879
|
'evaluate.cornerstoneTool',
|
|
@@ -889,8 +891,8 @@ const toolbarButtons = [
|
|
|
889
891
|
uiType: 'ohif.toolButton',
|
|
890
892
|
props: {
|
|
891
893
|
icon: 'dicom-tag-browser',
|
|
892
|
-
label: i18next
|
|
893
|
-
tooltip: i18next
|
|
894
|
+
label: i18next["default"].t('Buttons:Dicom Tag Browser'),
|
|
895
|
+
tooltip: i18next["default"].t('Buttons:Dicom Tag Browser'),
|
|
894
896
|
commands: 'openDICOMTagViewer'
|
|
895
897
|
}
|
|
896
898
|
},
|
|
@@ -899,8 +901,8 @@ const toolbarButtons = [
|
|
|
899
901
|
uiType: 'ohif.toolButton',
|
|
900
902
|
props: {
|
|
901
903
|
icon: 'icon-tool-loupe',
|
|
902
|
-
label: i18next
|
|
903
|
-
tooltip: i18next
|
|
904
|
+
label: i18next["default"].t('Buttons:Magnify Probe'),
|
|
905
|
+
tooltip: i18next["default"].t('Buttons:Magnify Probe'),
|
|
904
906
|
commands: 'toggleActiveDisabledToolbar',
|
|
905
907
|
evaluate: [
|
|
906
908
|
'evaluate.cornerstoneTool.toggle.ifStrictlyDisabled',
|
|
@@ -918,8 +920,8 @@ const toolbarButtons = [
|
|
|
918
920
|
uiType: 'ohif.toolButton',
|
|
919
921
|
props: {
|
|
920
922
|
icon: 'icon-tool-ultrasound-bidirectional',
|
|
921
|
-
label: i18next
|
|
922
|
-
tooltip: i18next
|
|
923
|
+
label: i18next["default"].t('Buttons:Ultrasound Directional'),
|
|
924
|
+
tooltip: i18next["default"].t('Buttons:Ultrasound Directional'),
|
|
923
925
|
commands: setToolActiveToolbar,
|
|
924
926
|
evaluate: [
|
|
925
927
|
'evaluate.cornerstoneTool',
|
|
@@ -937,8 +939,8 @@ const toolbarButtons = [
|
|
|
937
939
|
uiType: 'ohif.toolButton',
|
|
938
940
|
props: {
|
|
939
941
|
icon: 'icon-tool-ultrasound-bidirectional',
|
|
940
|
-
label: i18next
|
|
941
|
-
tooltip: i18next
|
|
942
|
+
label: i18next["default"].t('Buttons:US Pleura B-line Annotation'),
|
|
943
|
+
tooltip: i18next["default"].t('Buttons:US Pleura B-line Annotation'),
|
|
942
944
|
commands: setToolActiveToolbar,
|
|
943
945
|
evaluate: [
|
|
944
946
|
'evaluate.cornerstoneTool',
|
|
@@ -956,8 +958,8 @@ const toolbarButtons = [
|
|
|
956
958
|
uiType: 'ohif.toolButton',
|
|
957
959
|
props: {
|
|
958
960
|
icon: 'icon-tool-window-region',
|
|
959
|
-
label: i18next
|
|
960
|
-
tooltip: i18next
|
|
961
|
+
label: i18next["default"].t('Buttons:Window Level Region'),
|
|
962
|
+
tooltip: i18next["default"].t('Buttons:Window Level Region'),
|
|
961
963
|
commands: setToolActiveToolbar,
|
|
962
964
|
evaluate: [
|
|
963
965
|
'evaluate.cornerstoneTool',
|
|
@@ -975,8 +977,8 @@ const toolbarButtons = [
|
|
|
975
977
|
uiType: 'ohif.toolButton',
|
|
976
978
|
props: {
|
|
977
979
|
icon: 'tool-length',
|
|
978
|
-
label: i18next
|
|
979
|
-
tooltip: i18next
|
|
980
|
+
label: i18next["default"].t('Buttons:Length'),
|
|
981
|
+
tooltip: i18next["default"].t('Buttons:Length Tool'),
|
|
980
982
|
commands: setToolActiveToolbar,
|
|
981
983
|
evaluate: 'evaluate.cornerstoneTool'
|
|
982
984
|
}
|
|
@@ -986,8 +988,8 @@ const toolbarButtons = [
|
|
|
986
988
|
uiType: 'ohif.toolButton',
|
|
987
989
|
props: {
|
|
988
990
|
icon: 'tool-bidirectional',
|
|
989
|
-
label: i18next
|
|
990
|
-
tooltip: i18next
|
|
991
|
+
label: i18next["default"].t('Buttons:Bidirectional'),
|
|
992
|
+
tooltip: i18next["default"].t('Buttons:Bidirectional Tool'),
|
|
991
993
|
commands: setToolActiveToolbar,
|
|
992
994
|
evaluate: 'evaluate.cornerstoneTool'
|
|
993
995
|
}
|
|
@@ -997,8 +999,8 @@ const toolbarButtons = [
|
|
|
997
999
|
uiType: 'ohif.toolButton',
|
|
998
1000
|
props: {
|
|
999
1001
|
icon: 'tool-annotate',
|
|
1000
|
-
label: i18next
|
|
1001
|
-
tooltip: i18next
|
|
1002
|
+
label: i18next["default"].t('Buttons:Annotation'),
|
|
1003
|
+
tooltip: i18next["default"].t('Buttons:Arrow Annotate'),
|
|
1002
1004
|
commands: setToolActiveToolbar,
|
|
1003
1005
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1004
1006
|
}
|
|
@@ -1008,8 +1010,8 @@ const toolbarButtons = [
|
|
|
1008
1010
|
uiType: 'ohif.toolButton',
|
|
1009
1011
|
props: {
|
|
1010
1012
|
icon: 'tool-ellipse',
|
|
1011
|
-
label: i18next
|
|
1012
|
-
tooltip: i18next
|
|
1013
|
+
label: i18next["default"].t('Buttons:Ellipse'),
|
|
1014
|
+
tooltip: i18next["default"].t('Buttons:Ellipse ROI'),
|
|
1013
1015
|
commands: setToolActiveToolbar,
|
|
1014
1016
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1015
1017
|
}
|
|
@@ -1019,8 +1021,8 @@ const toolbarButtons = [
|
|
|
1019
1021
|
uiType: 'ohif.toolButton',
|
|
1020
1022
|
props: {
|
|
1021
1023
|
icon: 'tool-rectangle',
|
|
1022
|
-
label: i18next
|
|
1023
|
-
tooltip: i18next
|
|
1024
|
+
label: i18next["default"].t('Buttons:Rectangle'),
|
|
1025
|
+
tooltip: i18next["default"].t('Buttons:Rectangle ROI'),
|
|
1024
1026
|
commands: setToolActiveToolbar,
|
|
1025
1027
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1026
1028
|
}
|
|
@@ -1030,8 +1032,8 @@ const toolbarButtons = [
|
|
|
1030
1032
|
uiType: 'ohif.toolButton',
|
|
1031
1033
|
props: {
|
|
1032
1034
|
icon: 'tool-circle',
|
|
1033
|
-
label: i18next
|
|
1034
|
-
tooltip: i18next
|
|
1035
|
+
label: i18next["default"].t('Buttons:Circle'),
|
|
1036
|
+
tooltip: i18next["default"].t('Buttons:Circle Tool'),
|
|
1035
1037
|
commands: setToolActiveToolbar,
|
|
1036
1038
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1037
1039
|
}
|
|
@@ -1041,8 +1043,8 @@ const toolbarButtons = [
|
|
|
1041
1043
|
uiType: 'ohif.toolButton',
|
|
1042
1044
|
props: {
|
|
1043
1045
|
icon: 'icon-tool-freehand-roi',
|
|
1044
|
-
label: i18next
|
|
1045
|
-
tooltip: i18next
|
|
1046
|
+
label: i18next["default"].t('Buttons:Freehand ROI'),
|
|
1047
|
+
tooltip: i18next["default"].t('Buttons:Freehand ROI'),
|
|
1046
1048
|
commands: setToolActiveToolbar,
|
|
1047
1049
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1048
1050
|
}
|
|
@@ -1052,8 +1054,8 @@ const toolbarButtons = [
|
|
|
1052
1054
|
uiType: 'ohif.toolButton',
|
|
1053
1055
|
props: {
|
|
1054
1056
|
icon: 'icon-tool-spline-roi',
|
|
1055
|
-
label: i18next
|
|
1056
|
-
tooltip: i18next
|
|
1057
|
+
label: i18next["default"].t('Buttons:Spline ROI'),
|
|
1058
|
+
tooltip: i18next["default"].t('Buttons:Spline ROI'),
|
|
1057
1059
|
commands: setToolActiveToolbar,
|
|
1058
1060
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1059
1061
|
}
|
|
@@ -1063,8 +1065,8 @@ const toolbarButtons = [
|
|
|
1063
1065
|
uiType: 'ohif.toolButton',
|
|
1064
1066
|
props: {
|
|
1065
1067
|
icon: 'icon-tool-livewire',
|
|
1066
|
-
label: i18next
|
|
1067
|
-
tooltip: i18next
|
|
1068
|
+
label: i18next["default"].t('Buttons:Livewire tool'),
|
|
1069
|
+
tooltip: i18next["default"].t('Buttons:Livewire tool'),
|
|
1068
1070
|
commands: setToolActiveToolbar,
|
|
1069
1071
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1070
1072
|
}
|
|
@@ -1074,7 +1076,7 @@ const toolbarButtons = [
|
|
|
1074
1076
|
uiType: 'ohif.toolButton',
|
|
1075
1077
|
props: {
|
|
1076
1078
|
icon: 'tool-window-level',
|
|
1077
|
-
label: i18next
|
|
1079
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
1078
1080
|
commands: setToolActiveToolbar,
|
|
1079
1081
|
evaluate: [
|
|
1080
1082
|
'evaluate.cornerstoneTool',
|
|
@@ -1093,7 +1095,7 @@ const toolbarButtons = [
|
|
|
1093
1095
|
props: {
|
|
1094
1096
|
type: 'tool',
|
|
1095
1097
|
icon: 'tool-move',
|
|
1096
|
-
label: i18next
|
|
1098
|
+
label: i18next["default"].t('Buttons:Pan'),
|
|
1097
1099
|
commands: setToolActiveToolbar,
|
|
1098
1100
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1099
1101
|
}
|
|
@@ -1104,7 +1106,7 @@ const toolbarButtons = [
|
|
|
1104
1106
|
props: {
|
|
1105
1107
|
type: 'tool',
|
|
1106
1108
|
icon: 'tool-zoom',
|
|
1107
|
-
label: i18next
|
|
1109
|
+
label: i18next["default"].t('Buttons:Zoom'),
|
|
1108
1110
|
commands: setToolActiveToolbar,
|
|
1109
1111
|
evaluate: 'evaluate.cornerstoneTool'
|
|
1110
1112
|
}
|
|
@@ -1115,11 +1117,11 @@ const toolbarButtons = [
|
|
|
1115
1117
|
props: {
|
|
1116
1118
|
type: 'tool',
|
|
1117
1119
|
icon: 'tool-3d-rotate',
|
|
1118
|
-
label: i18next
|
|
1120
|
+
label: i18next["default"].t('Buttons:3D Rotate'),
|
|
1119
1121
|
commands: setToolActiveToolbar,
|
|
1120
1122
|
evaluate: {
|
|
1121
1123
|
name: 'evaluate.cornerstoneTool',
|
|
1122
|
-
disabledText: i18next
|
|
1124
|
+
disabledText: i18next["default"].t('Buttons:Select a 3D viewport to enable this tool')
|
|
1123
1125
|
}
|
|
1124
1126
|
}
|
|
1125
1127
|
},
|
|
@@ -1128,7 +1130,7 @@ const toolbarButtons = [
|
|
|
1128
1130
|
uiType: 'ohif.toolButton',
|
|
1129
1131
|
props: {
|
|
1130
1132
|
icon: 'tool-capture',
|
|
1131
|
-
label: i18next
|
|
1133
|
+
label: i18next["default"].t('Buttons:Capture'),
|
|
1132
1134
|
commands: 'showDownloadViewportModal',
|
|
1133
1135
|
evaluate: [
|
|
1134
1136
|
'evaluate.action',
|
|
@@ -1157,7 +1159,7 @@ const toolbarButtons = [
|
|
|
1157
1159
|
props: {
|
|
1158
1160
|
type: 'tool',
|
|
1159
1161
|
icon: 'tool-crosshair',
|
|
1160
|
-
label: i18next
|
|
1162
|
+
label: i18next["default"].t('Buttons:Crosshairs'),
|
|
1161
1163
|
commands: {
|
|
1162
1164
|
commandName: 'setToolActiveToolbar',
|
|
1163
1165
|
commandOptions: {
|
|
@@ -1168,7 +1170,7 @@ const toolbarButtons = [
|
|
|
1168
1170
|
},
|
|
1169
1171
|
evaluate: {
|
|
1170
1172
|
name: 'evaluate.cornerstoneTool',
|
|
1171
|
-
disabledText: i18next
|
|
1173
|
+
disabledText: i18next["default"].t('Buttons:Select an MPR viewport to enable this tool')
|
|
1172
1174
|
}
|
|
1173
1175
|
}
|
|
1174
1176
|
} // {
|
|
@@ -1247,7 +1249,7 @@ function modeFactory({ modeConfiguration }) {
|
|
|
1247
1249
|
// We should not be.
|
|
1248
1250
|
id: id,
|
|
1249
1251
|
routeName: 'usAnnotation',
|
|
1250
|
-
displayName: i18next
|
|
1252
|
+
displayName: i18next["default"].t('US Pleura B-line Annotations'),
|
|
1251
1253
|
/**
|
|
1252
1254
|
* Lifecycle hooks
|
|
1253
1255
|
*/ onModeEnter: function({ servicesManager, extensionManager, commandsManager, appConfig }) {
|
|
@@ -32,7 +32,7 @@ var cornerstone_src = __webpack_require__(87407);
|
|
|
32
32
|
;// CONCATENATED MODULE: ../../extensions/cornerstone-dicom-seg/src/utils/promptHydrateSEG.ts
|
|
33
33
|
|
|
34
34
|
function promptHydrateSEG({ servicesManager, segDisplaySet, viewportId, preHydrateCallbacks, hydrateCallback }) {
|
|
35
|
-
return cornerstone_src
|
|
35
|
+
return cornerstone_src.utils.promptHydrationDialog({
|
|
36
36
|
servicesManager,
|
|
37
37
|
viewportId,
|
|
38
38
|
displaySet: segDisplaySet,
|
|
@@ -78,8 +78,8 @@ function OHIFCornerstoneSEGViewport(props) {
|
|
|
78
78
|
throw new Error("SEG viewport should only have a single display set");
|
|
79
79
|
}
|
|
80
80
|
const segDisplaySet = displaySets[0];
|
|
81
|
-
const [viewportGrid, viewportGridService] = (0,src
|
|
82
|
-
const { setPositionPresentation } = (0,cornerstone_src
|
|
81
|
+
const [viewportGrid, viewportGridService] = (0,src.useViewportGrid)();
|
|
82
|
+
const { setPositionPresentation } = (0,cornerstone_src.usePositionPresentationStore)();
|
|
83
83
|
const [segIsLoading, setSegIsLoading] = (0,react.useState)(!segDisplaySet.isLoaded);
|
|
84
84
|
let t1;
|
|
85
85
|
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -105,7 +105,7 @@ function OHIFCornerstoneSEGViewport(props) {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
const referencedDisplaySet = referencedDisplaySetInstanceUID ? displaySetService.getDisplaySetByUID(referencedDisplaySetInstanceUID) : undefined;
|
|
108
|
-
const getCornerstoneViewport = ()=>/*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src
|
|
108
|
+
const getCornerstoneViewport = ()=>/*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src.OHIFCornerstoneViewport, {
|
|
109
109
|
...props,
|
|
110
110
|
displaySets: [
|
|
111
111
|
referencedDisplaySet,
|