@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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["rspackChunk_ohif_app"] ||= []).push([[3622], {
|
|
3
3
|
46117(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
|
+
// ESM COMPAT FLAG
|
|
5
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4
6
|
|
|
5
7
|
// EXPORTS
|
|
6
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -475,8 +477,8 @@ const toolbarButtons = [
|
|
|
475
477
|
uiType: 'ohif.modalityLoadBadge',
|
|
476
478
|
props: {
|
|
477
479
|
icon: 'Status',
|
|
478
|
-
label: i18next
|
|
479
|
-
tooltip: i18next
|
|
480
|
+
label: i18next["default"].t('Buttons:Status'),
|
|
481
|
+
tooltip: i18next["default"].t('Buttons:Status'),
|
|
480
482
|
evaluate: {
|
|
481
483
|
name: 'evaluate.modalityLoadBadge',
|
|
482
484
|
hideWhenDisabled: true
|
|
@@ -488,8 +490,8 @@ const toolbarButtons = [
|
|
|
488
490
|
uiType: 'ohif.navigationComponent',
|
|
489
491
|
props: {
|
|
490
492
|
icon: 'Navigation',
|
|
491
|
-
label: i18next
|
|
492
|
-
tooltip: i18next
|
|
493
|
+
label: i18next["default"].t('Buttons:Navigation'),
|
|
494
|
+
tooltip: i18next["default"].t('Buttons:Navigate between segments/measurements and manage their visibility'),
|
|
493
495
|
evaluate: {
|
|
494
496
|
name: 'evaluate.navigationComponent',
|
|
495
497
|
hideWhenDisabled: true
|
|
@@ -501,8 +503,8 @@ const toolbarButtons = [
|
|
|
501
503
|
uiType: 'ohif.windowLevelMenuEmbedded',
|
|
502
504
|
props: {
|
|
503
505
|
icon: 'WindowLevel',
|
|
504
|
-
label: i18next
|
|
505
|
-
tooltip: i18next
|
|
506
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
507
|
+
tooltip: i18next["default"].t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
506
508
|
evaluate: {
|
|
507
509
|
name: 'evaluate.windowLevelMenuEmbedded',
|
|
508
510
|
hideWhenDisabled: true
|
|
@@ -514,8 +516,8 @@ const toolbarButtons = [
|
|
|
514
516
|
uiType: 'ohif.trackingStatus',
|
|
515
517
|
props: {
|
|
516
518
|
icon: 'TrackingStatus',
|
|
517
|
-
label: i18next
|
|
518
|
-
tooltip: i18next
|
|
519
|
+
label: i18next["default"].t('Buttons:Tracking Status'),
|
|
520
|
+
tooltip: i18next["default"].t('Buttons:View and manage tracking status of measurements and annotations'),
|
|
519
521
|
evaluate: {
|
|
520
522
|
name: 'evaluate.trackingStatus',
|
|
521
523
|
hideWhenDisabled: true
|
|
@@ -527,8 +529,8 @@ const toolbarButtons = [
|
|
|
527
529
|
uiType: 'ohif.toolButton',
|
|
528
530
|
props: {
|
|
529
531
|
icon: 'tool-length',
|
|
530
|
-
label: i18next
|
|
531
|
-
tooltip: i18next
|
|
532
|
+
label: i18next["default"].t('Buttons:Length'),
|
|
533
|
+
tooltip: i18next["default"].t('Buttons:Length Tool'),
|
|
532
534
|
commands: setToolActiveToolbar,
|
|
533
535
|
evaluate: 'evaluate.cornerstoneTool'
|
|
534
536
|
}
|
|
@@ -538,8 +540,8 @@ const toolbarButtons = [
|
|
|
538
540
|
uiType: 'ohif.toolButton',
|
|
539
541
|
props: {
|
|
540
542
|
icon: 'tool-bidirectional',
|
|
541
|
-
label: i18next
|
|
542
|
-
tooltip: i18next
|
|
543
|
+
label: i18next["default"].t('Buttons:Bidirectional'),
|
|
544
|
+
tooltip: i18next["default"].t('Buttons:Bidirectional Tool'),
|
|
543
545
|
commands: setToolActiveToolbar,
|
|
544
546
|
evaluate: 'evaluate.cornerstoneTool'
|
|
545
547
|
}
|
|
@@ -549,8 +551,8 @@ const toolbarButtons = [
|
|
|
549
551
|
uiType: 'ohif.toolButton',
|
|
550
552
|
props: {
|
|
551
553
|
icon: 'tool-annotate',
|
|
552
|
-
label: i18next
|
|
553
|
-
tooltip: i18next
|
|
554
|
+
label: i18next["default"].t('Buttons:Annotation'),
|
|
555
|
+
tooltip: i18next["default"].t('Buttons:Arrow Annotate'),
|
|
554
556
|
commands: setToolActiveToolbar,
|
|
555
557
|
evaluate: 'evaluate.cornerstoneTool'
|
|
556
558
|
}
|
|
@@ -560,8 +562,8 @@ const toolbarButtons = [
|
|
|
560
562
|
uiType: 'ohif.toolButton',
|
|
561
563
|
props: {
|
|
562
564
|
icon: 'tool-ellipse',
|
|
563
|
-
label: i18next
|
|
564
|
-
tooltip: i18next
|
|
565
|
+
label: i18next["default"].t('Buttons:Ellipse'),
|
|
566
|
+
tooltip: i18next["default"].t('Buttons:Ellipse ROI'),
|
|
565
567
|
commands: setToolActiveToolbar,
|
|
566
568
|
evaluate: 'evaluate.cornerstoneTool'
|
|
567
569
|
}
|
|
@@ -571,7 +573,7 @@ const toolbarButtons = [
|
|
|
571
573
|
uiType: 'ohif.toolButton',
|
|
572
574
|
props: {
|
|
573
575
|
icon: 'tool-zoom',
|
|
574
|
-
label: i18next
|
|
576
|
+
label: i18next["default"].t('Buttons:Zoom'),
|
|
575
577
|
commands: setToolActiveToolbar,
|
|
576
578
|
evaluate: 'evaluate.cornerstoneTool'
|
|
577
579
|
}
|
|
@@ -581,7 +583,7 @@ const toolbarButtons = [
|
|
|
581
583
|
uiType: 'ohif.toolButton',
|
|
582
584
|
props: {
|
|
583
585
|
icon: 'tool-window-level',
|
|
584
|
-
label: i18next
|
|
586
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
585
587
|
commands: setToolActiveToolbar,
|
|
586
588
|
evaluate: 'evaluate.cornerstoneTool'
|
|
587
589
|
}
|
|
@@ -592,7 +594,7 @@ const toolbarButtons = [
|
|
|
592
594
|
props: {
|
|
593
595
|
type: 'tool',
|
|
594
596
|
icon: 'tool-move',
|
|
595
|
-
label: i18next
|
|
597
|
+
label: i18next["default"].t('Buttons:Pan'),
|
|
596
598
|
commands: setToolActiveToolbar,
|
|
597
599
|
evaluate: 'evaluate.cornerstoneTool'
|
|
598
600
|
}
|
|
@@ -603,7 +605,7 @@ const toolbarButtons = [
|
|
|
603
605
|
props: {
|
|
604
606
|
type: 'tool',
|
|
605
607
|
icon: 'tool-3d-rotate',
|
|
606
|
-
label: i18next
|
|
608
|
+
label: i18next["default"].t('Buttons:3D Rotate'),
|
|
607
609
|
commands: setToolActiveToolbar,
|
|
608
610
|
evaluate: 'evaluate.cornerstoneTool'
|
|
609
611
|
}
|
|
@@ -613,7 +615,7 @@ const toolbarButtons = [
|
|
|
613
615
|
uiType: 'ohif.toolButton',
|
|
614
616
|
props: {
|
|
615
617
|
icon: 'tool-capture',
|
|
616
|
-
label: i18next
|
|
618
|
+
label: i18next["default"].t('Buttons:Capture'),
|
|
617
619
|
commands: 'showDownloadViewportModal',
|
|
618
620
|
evaluate: [
|
|
619
621
|
'evaluate.action',
|
|
@@ -643,7 +645,7 @@ const toolbarButtons = [
|
|
|
643
645
|
props: {
|
|
644
646
|
type: 'tool',
|
|
645
647
|
icon: 'tool-crosshair',
|
|
646
|
-
label: i18next
|
|
648
|
+
label: i18next["default"].t('Buttons:Crosshairs'),
|
|
647
649
|
commands: setToolActiveToolbar,
|
|
648
650
|
evaluate: 'evaluate.cornerstoneTool'
|
|
649
651
|
}
|
|
@@ -657,7 +659,7 @@ const toolbarButtons = [
|
|
|
657
659
|
uiType: 'ohif.toolBoxButton',
|
|
658
660
|
props: {
|
|
659
661
|
icon: 'tool-create-threshold',
|
|
660
|
-
label: i18next
|
|
662
|
+
label: i18next["default"].t('Buttons:Rectangle ROI Threshold'),
|
|
661
663
|
commands: setToolActiveToolbar,
|
|
662
664
|
evaluate: {
|
|
663
665
|
name: 'evaluate.cornerstone.segmentation',
|
|
@@ -673,7 +675,7 @@ const toolbarButtons = [
|
|
|
673
675
|
uiType: 'ohif.toolButton',
|
|
674
676
|
props: {
|
|
675
677
|
icon: 'icon-tool-brush',
|
|
676
|
-
label: i18next
|
|
678
|
+
label: i18next["default"].t('Buttons:Brush'),
|
|
677
679
|
evaluate: {
|
|
678
680
|
name: 'evaluate.cornerstone.segmentation',
|
|
679
681
|
toolNames: [
|
|
@@ -701,18 +703,18 @@ const toolbarButtons = [
|
|
|
701
703
|
}
|
|
702
704
|
},
|
|
703
705
|
{
|
|
704
|
-
name: i18next
|
|
706
|
+
name: i18next["default"].t('Buttons:Shape'),
|
|
705
707
|
type: 'radio',
|
|
706
708
|
id: 'brush-mode',
|
|
707
709
|
value: 'CircularBrush',
|
|
708
710
|
values: [
|
|
709
711
|
{
|
|
710
712
|
value: 'CircularBrush',
|
|
711
|
-
label: i18next
|
|
713
|
+
label: i18next["default"].t('Buttons:Circle')
|
|
712
714
|
},
|
|
713
715
|
{
|
|
714
716
|
value: 'SphereBrush',
|
|
715
|
-
label: i18next
|
|
717
|
+
label: i18next["default"].t('Buttons:Sphere')
|
|
716
718
|
}
|
|
717
719
|
],
|
|
718
720
|
commands: 'setToolActiveToolbar'
|
|
@@ -725,7 +727,7 @@ const toolbarButtons = [
|
|
|
725
727
|
uiType: 'ohif.toolButton',
|
|
726
728
|
props: {
|
|
727
729
|
icon: 'icon-tool-eraser',
|
|
728
|
-
label: i18next
|
|
730
|
+
label: i18next["default"].t('Buttons:Eraser'),
|
|
729
731
|
evaluate: {
|
|
730
732
|
name: 'evaluate.cornerstone.segmentation',
|
|
731
733
|
toolNames: [
|
|
@@ -735,7 +737,7 @@ const toolbarButtons = [
|
|
|
735
737
|
},
|
|
736
738
|
options: [
|
|
737
739
|
{
|
|
738
|
-
name: i18next
|
|
740
|
+
name: i18next["default"].t('Buttons:Radius (mm)'),
|
|
739
741
|
id: 'eraser-radius',
|
|
740
742
|
type: 'range',
|
|
741
743
|
min: 0.5,
|
|
@@ -753,18 +755,18 @@ const toolbarButtons = [
|
|
|
753
755
|
}
|
|
754
756
|
},
|
|
755
757
|
{
|
|
756
|
-
name: i18next
|
|
758
|
+
name: i18next["default"].t('Buttons:Shape'),
|
|
757
759
|
type: 'radio',
|
|
758
760
|
id: 'eraser-mode',
|
|
759
761
|
value: 'CircularEraser',
|
|
760
762
|
values: [
|
|
761
763
|
{
|
|
762
764
|
value: 'CircularEraser',
|
|
763
|
-
label: i18next
|
|
765
|
+
label: i18next["default"].t('Buttons:Circle')
|
|
764
766
|
},
|
|
765
767
|
{
|
|
766
768
|
value: 'SphereEraser',
|
|
767
|
-
label: i18next
|
|
769
|
+
label: i18next["default"].t('Buttons:Sphere')
|
|
768
770
|
}
|
|
769
771
|
],
|
|
770
772
|
commands: 'setToolActiveToolbar'
|
|
@@ -777,7 +779,7 @@ const toolbarButtons = [
|
|
|
777
779
|
uiType: 'ohif.toolButton',
|
|
778
780
|
props: {
|
|
779
781
|
icon: 'icon-tool-threshold',
|
|
780
|
-
label: i18next
|
|
782
|
+
label: i18next["default"].t('Buttons:Threshold'),
|
|
781
783
|
evaluate: {
|
|
782
784
|
name: 'evaluate.cornerstone.segmentation',
|
|
783
785
|
toolNames: [
|
|
@@ -787,7 +789,7 @@ const toolbarButtons = [
|
|
|
787
789
|
},
|
|
788
790
|
options: [
|
|
789
791
|
{
|
|
790
|
-
name: i18next
|
|
792
|
+
name: i18next["default"].t('Buttons:Radius (mm)'),
|
|
791
793
|
id: 'threshold-radius',
|
|
792
794
|
type: 'range',
|
|
793
795
|
min: 0.5,
|
|
@@ -805,18 +807,18 @@ const toolbarButtons = [
|
|
|
805
807
|
}
|
|
806
808
|
},
|
|
807
809
|
{
|
|
808
|
-
name: i18next
|
|
810
|
+
name: i18next["default"].t('Buttons:Shape'),
|
|
809
811
|
type: 'radio',
|
|
810
812
|
id: 'eraser-mode',
|
|
811
813
|
value: 'ThresholdCircularBrush',
|
|
812
814
|
values: [
|
|
813
815
|
{
|
|
814
816
|
value: 'ThresholdCircularBrush',
|
|
815
|
-
label: i18next
|
|
817
|
+
label: i18next["default"].t('Buttons:Circle')
|
|
816
818
|
},
|
|
817
819
|
{
|
|
818
820
|
value: 'ThresholdSphereBrush',
|
|
819
|
-
label: i18next
|
|
821
|
+
label: i18next["default"].t('Buttons:Sphere')
|
|
820
822
|
}
|
|
821
823
|
],
|
|
822
824
|
commands: 'setToolActiveToolbar'
|
|
@@ -861,22 +863,22 @@ const toolbarButtons = [
|
|
|
861
863
|
icon: 'icon-tool-shape',
|
|
862
864
|
options: [
|
|
863
865
|
{
|
|
864
|
-
name: i18next
|
|
866
|
+
name: i18next["default"].t('Buttons:Shape'),
|
|
865
867
|
type: 'radio',
|
|
866
868
|
value: 'CircleScissor',
|
|
867
869
|
id: 'shape-mode',
|
|
868
870
|
values: [
|
|
869
871
|
{
|
|
870
872
|
value: 'CircleScissor',
|
|
871
|
-
label: i18next
|
|
873
|
+
label: i18next["default"].t('Buttons:Circle')
|
|
872
874
|
},
|
|
873
875
|
{
|
|
874
876
|
value: 'SphereScissor',
|
|
875
|
-
label: i18next
|
|
877
|
+
label: i18next["default"].t('Buttons:Sphere')
|
|
876
878
|
},
|
|
877
879
|
{
|
|
878
880
|
value: 'RectangleScissor',
|
|
879
|
-
label: i18next
|
|
881
|
+
label: i18next["default"].t('Buttons:Rectangle')
|
|
880
882
|
}
|
|
881
883
|
],
|
|
882
884
|
commands: 'setToolActiveToolbar'
|
|
@@ -889,8 +891,8 @@ const toolbarButtons = [
|
|
|
889
891
|
uiType: 'ohif.dataOverlayMenu',
|
|
890
892
|
props: {
|
|
891
893
|
icon: 'ViewportViews',
|
|
892
|
-
label: i18next
|
|
893
|
-
tooltip: i18next
|
|
894
|
+
label: i18next["default"].t('Buttons:Data Overlay'),
|
|
895
|
+
tooltip: i18next["default"].t('Buttons:Configure data overlay options and manage foreground/background display sets'),
|
|
894
896
|
evaluate: 'evaluate.dataOverlayMenu'
|
|
895
897
|
}
|
|
896
898
|
},
|
|
@@ -899,8 +901,8 @@ const toolbarButtons = [
|
|
|
899
901
|
uiType: 'ohif.orientationMenu',
|
|
900
902
|
props: {
|
|
901
903
|
icon: 'OrientationSwitch',
|
|
902
|
-
label: i18next
|
|
903
|
-
tooltip: i18next
|
|
904
|
+
label: i18next["default"].t('Buttons:Orientation'),
|
|
905
|
+
tooltip: i18next["default"].t('Buttons:Change viewport orientation between axial, sagittal, coronal and reformat planes'),
|
|
904
906
|
evaluate: {
|
|
905
907
|
name: 'evaluate.orientationMenu' // hideWhenDisabled: true,
|
|
906
908
|
}
|
|
@@ -911,8 +913,8 @@ const toolbarButtons = [
|
|
|
911
913
|
uiType: 'ohif.windowLevelMenu',
|
|
912
914
|
props: {
|
|
913
915
|
icon: 'WindowLevel',
|
|
914
|
-
label: i18next
|
|
915
|
-
tooltip: i18next
|
|
916
|
+
label: i18next["default"].t('Buttons:Window Level'),
|
|
917
|
+
tooltip: i18next["default"].t('Buttons:Adjust window/level presets and customize image contrast settings'),
|
|
916
918
|
evaluate: 'evaluate.windowLevelMenu'
|
|
917
919
|
}
|
|
918
920
|
},
|
|
@@ -921,8 +923,8 @@ const toolbarButtons = [
|
|
|
921
923
|
uiType: 'ohif.voiManualControlMenu',
|
|
922
924
|
props: {
|
|
923
925
|
icon: 'WindowLevelAdvanced',
|
|
924
|
-
label: i18next
|
|
925
|
-
tooltip: i18next
|
|
926
|
+
label: i18next["default"].t('Buttons:Advanced Window Level'),
|
|
927
|
+
tooltip: i18next["default"].t('Buttons:Advanced window/level settings with manual controls and presets'),
|
|
926
928
|
evaluate: 'evaluate.voiManualControlMenu'
|
|
927
929
|
}
|
|
928
930
|
},
|
|
@@ -931,8 +933,8 @@ const toolbarButtons = [
|
|
|
931
933
|
uiType: 'ohif.thresholdMenu',
|
|
932
934
|
props: {
|
|
933
935
|
icon: 'Threshold',
|
|
934
|
-
label: i18next
|
|
935
|
-
tooltip: i18next
|
|
936
|
+
label: i18next["default"].t('Buttons:Threshold'),
|
|
937
|
+
tooltip: i18next["default"].t('Buttons:Image threshold settings'),
|
|
936
938
|
evaluate: {
|
|
937
939
|
name: 'evaluate.thresholdMenu',
|
|
938
940
|
hideWhenDisabled: true
|
|
@@ -944,8 +946,8 @@ const toolbarButtons = [
|
|
|
944
946
|
uiType: 'ohif.opacityMenu',
|
|
945
947
|
props: {
|
|
946
948
|
icon: 'Opacity',
|
|
947
|
-
label: i18next
|
|
948
|
-
tooltip: i18next
|
|
949
|
+
label: i18next["default"].t('Buttons:Opacity'),
|
|
950
|
+
tooltip: i18next["default"].t('Buttons:Image opacity settings'),
|
|
949
951
|
evaluate: {
|
|
950
952
|
name: 'evaluate.opacityMenu',
|
|
951
953
|
hideWhenDisabled: true
|
|
@@ -957,7 +959,7 @@ const toolbarButtons = [
|
|
|
957
959
|
uiType: 'ohif.colorbar',
|
|
958
960
|
props: {
|
|
959
961
|
type: 'tool',
|
|
960
|
-
label: i18next
|
|
962
|
+
label: i18next["default"].t('Buttons:Colorbar')
|
|
961
963
|
}
|
|
962
964
|
}
|
|
963
965
|
];
|
|
@@ -293,7 +293,7 @@ function computeCornerPoints(bounds, point1, point2) {
|
|
|
293
293
|
}
|
|
294
294
|
function transformBounds(bounds, transform, out = []) {
|
|
295
295
|
const corners = getCorners(bounds, []);
|
|
296
|
-
for (let i = 0; i < corners.length; ++i) gl_matrix__rspack_import_2
|
|
296
|
+
for (let i = 0; i < corners.length; ++i) gl_matrix__rspack_import_2.vec3.transformMat4(corners[i], corners[i], transform);
|
|
297
297
|
reset(out);
|
|
298
298
|
return addPoints(out, corners);
|
|
299
299
|
}
|
|
@@ -45,8 +45,8 @@ function OHIFCornerstoneSRMeasurementViewport(props) {
|
|
|
45
45
|
throw new Error("SR viewport should only have a single display set");
|
|
46
46
|
}
|
|
47
47
|
const srDisplaySet = displaySets[0];
|
|
48
|
-
const { setPositionPresentation } = (0,src
|
|
49
|
-
const [viewportGrid, viewportGridService] = (0,ui_next_src
|
|
48
|
+
const { setPositionPresentation } = (0,src.usePositionPresentationStore)();
|
|
49
|
+
const [viewportGrid, viewportGridService] = (0,ui_next_src.useViewportGrid)();
|
|
50
50
|
const [measurementSelected, setMeasurementSelected] = (0,react.useState)(0);
|
|
51
51
|
const [activeImageDisplaySetData, setActiveImageDisplaySetData] = (0,react.useState)(null);
|
|
52
52
|
const [referencedDisplaySetMetadata, setReferencedDisplaySetMetadata] = (0,react.useState)(null);
|
|
@@ -119,7 +119,7 @@ function OHIFCornerstoneSRMeasurementViewport(props) {
|
|
|
119
119
|
if (!measurement_1) {
|
|
120
120
|
return null;
|
|
121
121
|
}
|
|
122
|
-
return /*#__PURE__*/ (0,jsx_runtime.jsx)(src
|
|
122
|
+
return /*#__PURE__*/ (0,jsx_runtime.jsx)(src.OHIFCornerstoneViewport, {
|
|
123
123
|
...props,
|
|
124
124
|
displaySets: [
|
|
125
125
|
activeImageDisplaySetData
|
|
@@ -370,15 +370,15 @@ const contentItemFormatters = {
|
|
|
370
370
|
},
|
|
371
371
|
PNAME: (contentItem)=>{
|
|
372
372
|
const personName = contentItem.PersonName?.[0];
|
|
373
|
-
return personName ? core_src
|
|
373
|
+
return personName ? core_src.utils.formatPN(personName) : undefined;
|
|
374
374
|
},
|
|
375
375
|
DATE: (contentItem)=>{
|
|
376
376
|
const { Date } = contentItem;
|
|
377
|
-
return Date ? core_src
|
|
377
|
+
return Date ? core_src.utils.formatDate(Date) : undefined;
|
|
378
378
|
},
|
|
379
379
|
TIME: (contentItem)=>{
|
|
380
380
|
const { Time } = contentItem;
|
|
381
|
-
return Time ? core_src
|
|
381
|
+
return Time ? core_src.utils.formatTime(Time) : undefined;
|
|
382
382
|
},
|
|
383
383
|
DATETIME: (contentItem)=>{
|
|
384
384
|
const { DateTime } = contentItem;
|
|
@@ -390,8 +390,8 @@ const contentItemFormatters = {
|
|
|
390
390
|
}
|
|
391
391
|
const dicomDate = DateTime.substring(0, 8);
|
|
392
392
|
const dicomTime = DateTime.substring(8, 14);
|
|
393
|
-
const formattedDate = core_src
|
|
394
|
-
const formattedTime = core_src
|
|
393
|
+
const formattedDate = core_src.utils.formatDate(dicomDate);
|
|
394
|
+
const formattedTime = core_src.utils.formatTime(dicomTime);
|
|
395
395
|
return `${formattedDate} ${formattedTime}`;
|
|
396
396
|
}
|
|
397
397
|
};
|