@ohif/app 3.12.0-beta.100 → 3.12.0-beta.104

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 (35) hide show
  1. package/dist/{1403.bundle.d239b27c143d2d1804a6.js → 1403.bundle.ea5eb28d7e1c937ccbbf.js} +2 -2
  2. package/dist/{147.bundle.205350dc3d21478277b1.js → 147.bundle.ee7de13189cf1963aea9.js} +6 -15
  3. package/dist/{1608.bundle.f855c4bdb7f00eb66fca.js → 1608.bundle.a25c80a3971ed6361b51.js} +2 -2
  4. package/dist/{1730.bundle.22a99760b94c163f0fb7.js → 1730.bundle.d1acf1f07ca5b3892f15.js} +3 -3
  5. package/dist/{1903.bundle.9ff3c3f706656667162b.js → 1903.bundle.27b8f13121796caad7a2.js} +110 -50
  6. package/dist/{1933.bundle.569480948b6079c2fa32.js → 1933.bundle.d9f39020c89b72d593cc.js} +7 -3
  7. package/dist/{2018.bundle.b7ae7a5f144dbb971f24.js → 2018.bundle.3790d08e5f93c334eb29.js} +47 -47
  8. package/dist/{213.bundle.cf9098fbe63d5a755829.js → 213.bundle.4cdd711da5e5f19a6c76.js} +2 -2
  9. package/dist/{2424.bundle.5bd224c13a61030eb18b.js → 2424.bundle.9bb3300eaecd20077a37.js} +2 -2
  10. package/dist/{2701.bundle.aca0d4f24a6f2094c3c3.js → 2701.bundle.e01a06411f68459ac955.js} +2 -2
  11. package/dist/{3461.bundle.89466434f00d3743c516.js → 3461.bundle.93c1d3ecf976a746f785.js} +3 -3
  12. package/dist/{4202.bundle.790706560c6edb303476.js → 4202.bundle.fa6f6adfd3d08a1cdcd7.js} +1 -1
  13. package/dist/{4775.bundle.4eb5ce7ba3586c94d2a1.js → 4775.bundle.f463033dbb9c8da57d52.js} +22 -16
  14. package/dist/{4819.bundle.eb31c1e4d81de071f3a4.js → 4819.bundle.58e054b5b00d756e2d14.js} +6 -4
  15. package/dist/{5028.bundle.35ec943cbe3fa9393fe8.js → 5028.bundle.862ac206a79ac2818f64.js} +2 -2
  16. package/dist/{5485.bundle.12b3e3738745943ba166.js → 5485.bundle.07103c4b490382c0ee77.js} +2 -2
  17. package/dist/{5802.bundle.28ab859d9b48a5b2c31c.js → 5802.bundle.aef18b250a1927d84108.js} +6 -12
  18. package/dist/{7639.bundle.c0b2beea06d6a185f7d0.js → 7639.bundle.6444531fac0b110595e5.js} +15 -15
  19. package/dist/{8305.bundle.8d594e60bd2732be72dc.js → 8305.bundle.b1fb25aa020e0d0faec8.js} +43 -25
  20. package/dist/{8558.bundle.0fa5a7eb7f0d181f655e.js → 8558.bundle.6b45234a8d6365bff3b9.js} +2 -2
  21. package/dist/{8583.bundle.e63824d304b3f4cdda34.js → 8583.bundle.246b35769cd393843c6e.js} +24 -19
  22. package/dist/{9195.bundle.e6597407d8dbd3e3f8fe.js → 9195.bundle.5f9be23bc1e8857cc478.js} +125 -66
  23. package/dist/{9845.bundle.31aec3fe7a5cdc247f4e.js → 9845.bundle.155759f5e8d8070ee16f.js} +14 -6
  24. package/dist/{9862.bundle.3ca0ad5f54db87ccf91e.js → 9862.bundle.bb6b5cab9e8eda1cc675.js} +1 -1
  25. package/dist/{9927.bundle.d1a5055b026d298658c3.js → 9927.bundle.ca2f72f62468744559e4.js} +16 -16
  26. package/dist/{app.bundle.cd4cdfa595de54b44206.js → app.bundle.41cd81f26da8a340185f.js} +888 -141
  27. package/dist/app.bundle.css +1 -1
  28. package/dist/index.html +1 -1
  29. package/dist/sw.js +1 -1
  30. package/package.json +20 -20
  31. /package/dist/{1459.bundle.24d4976c6a0b6d35458d.js → 1459.bundle.5dc3647b918b624cead1.js} +0 -0
  32. /package/dist/{5457.bundle.a8f19fcecb2f824151ba.js → 5457.bundle.105e15da7973e5b61959.js} +0 -0
  33. /package/dist/{6027.bundle.96b99802305416998206.js → 6027.bundle.83186e7c3d210cd30320.js} +0 -0
  34. /package/dist/{6163.bundle.2ed1359dc59e0d92b179.js → 6163.bundle.f327d1e8aea322893404.js} +0 -0
  35. /package/dist/{85.bundle.2b8f73c3514e787d6cc6.js → 85.bundle.3cb557e3015e5c652610.js} +0 -0
@@ -396,12 +396,12 @@ const toolbarButtons = [{
396
396
  uiType: 'ohif.toolBoxButton',
397
397
  props: {
398
398
  icon: 'icon-tool-freehand-roi',
399
- label: 'Freehand Segmentation',
400
- tooltip: 'Freehand Segmentation',
399
+ label: i18next/* default */.A.t('Buttons:Freehand Segmentation'),
400
+ tooltip: i18next/* default */.A.t('Buttons:Freehand Segmentation'),
401
401
  evaluate: [{
402
402
  name: 'evaluate.cornerstone.segmentation',
403
403
  toolNames: ['PlanarFreehandContourSegmentationTool'],
404
- disabledText: 'Create new segmentation to enable this tool.'
404
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
405
405
  }, {
406
406
  name: 'evaluate.cornerstone.hasSegmentationOfType',
407
407
  segmentationRepresentationType: 'Contour'
@@ -424,7 +424,7 @@ const toolbarButtons = [{
424
424
  }
425
425
  }],
426
426
  options: [{
427
- name: 'Interpolate Contours',
427
+ name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
428
428
  type: 'switch',
429
429
  id: 'planarFreehandInterpolateContours',
430
430
  value: false,
@@ -438,12 +438,12 @@ const toolbarButtons = [{
438
438
  uiType: 'ohif.toolBoxButton',
439
439
  props: {
440
440
  icon: 'icon-tool-livewire',
441
- label: 'Livewire Contour',
442
- tooltip: 'Livewire Contour',
441
+ label: i18next/* default */.A.t('Buttons:Livewire Contour'),
442
+ tooltip: i18next/* default */.A.t('Buttons:Livewire Contour'),
443
443
  evaluate: [{
444
444
  name: 'evaluate.cornerstone.segmentation',
445
445
  toolNames: ['LivewireContourSegmentationTool'],
446
- disabledText: 'Create new segmentation to enable this tool.'
446
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
447
447
  }, {
448
448
  name: 'evaluate.cornerstone.hasSegmentationOfType',
449
449
  segmentationRepresentationType: 'Contour'
@@ -466,7 +466,7 @@ const toolbarButtons = [{
466
466
  }
467
467
  }],
468
468
  options: [{
469
- name: 'Interpolate Contours',
469
+ name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
470
470
  type: 'switch',
471
471
  id: 'livewireInterpolateContours',
472
472
  value: false,
@@ -480,12 +480,12 @@ const toolbarButtons = [{
480
480
  uiType: 'ohif.toolBoxButton',
481
481
  props: {
482
482
  icon: 'icon-tool-spline-roi',
483
- label: 'Spline Contour Segmentation Tool',
484
- tooltip: 'Spline Contour Segmentation Tool',
483
+ label: i18next/* default */.A.t('Buttons:Spline Contour Segmentation Tool'),
484
+ tooltip: i18next/* default */.A.t('Buttons:Spline Contour Segmentation Tool'),
485
485
  evaluate: [{
486
486
  name: 'evaluate.cornerstone.segmentation',
487
487
  toolNames: ['CatmullRomSplineROI', 'LinearSplineROI', 'BSplineROI'],
488
- disabledText: 'Create new segmentation to enable this tool.'
488
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
489
489
  }, {
490
490
  name: 'evaluate.cornerstone.hasSegmentationOfType',
491
491
  segmentationRepresentationType: 'Contour'
@@ -497,22 +497,22 @@ const toolbarButtons = [{
497
497
  }
498
498
  }],
499
499
  options: [{
500
- name: 'Spline Type',
500
+ name: i18next/* default */.A.t('Buttons:Spline Type'),
501
501
  type: 'select',
502
502
  id: 'splineTypeSelect',
503
503
  value: 'CatmullRomSplineROI',
504
504
  values: [{
505
505
  id: 'CatmullRomSplineROI',
506
506
  value: 'CatmullRomSplineROI',
507
- label: 'Catmull Rom Spline'
507
+ label: i18next/* default */.A.t('Buttons:Catmull Rom Spline')
508
508
  }, {
509
509
  id: 'LinearSplineROI',
510
510
  value: 'LinearSplineROI',
511
- label: 'Linear Spline'
511
+ label: i18next/* default */.A.t('Buttons:Linear Spline')
512
512
  }, {
513
513
  id: 'BSplineROI',
514
514
  value: 'BSplineROI',
515
- label: 'B-Spline'
515
+ label: i18next/* default */.A.t('Buttons:B-Spline')
516
516
  }],
517
517
  commands: {
518
518
  commandName: 'setToolActiveToolbar',
@@ -527,7 +527,7 @@ const toolbarButtons = [{
527
527
  }
528
528
  }
529
529
  }, {
530
- name: 'Simplified Spline',
530
+ name: i18next/* default */.A.t('Buttons:Simplified Spline'),
531
531
  type: 'switch',
532
532
  id: 'simplifiedSpline',
533
533
  value: true,
@@ -535,7 +535,7 @@ const toolbarButtons = [{
535
535
  commandName: 'setSimplifiedSplineForSplineContourSegmentationTool'
536
536
  }
537
537
  }, {
538
- name: 'Interpolate Contours',
538
+ name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
539
539
  type: 'switch',
540
540
  id: 'splineInterpolateContours',
541
541
  value: false,
@@ -552,12 +552,12 @@ const toolbarButtons = [{
552
552
  uiType: 'ohif.toolBoxButton',
553
553
  props: {
554
554
  icon: 'icon-tool-sculptor',
555
- label: 'Sculptor Tool',
556
- tooltip: 'Sculptor Tool',
555
+ label: i18next/* default */.A.t('Buttons:Sculptor Tool'),
556
+ tooltip: i18next/* default */.A.t('Buttons:Sculptor Tool'),
557
557
  evaluate: [{
558
558
  name: 'evaluate.cornerstone.segmentation',
559
559
  toolNames: ['SculptorTool'],
560
- disabledText: 'Create new segmentation to enable this tool.'
560
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
561
561
  }, {
562
562
  name: 'evaluate.cornerstone.hasSegmentationOfType',
563
563
  segmentationRepresentationType: 'Contour'
@@ -569,7 +569,7 @@ const toolbarButtons = [{
569
569
  }
570
570
  }],
571
571
  options: [{
572
- name: 'Dynamic Cursor Size',
572
+ name: i18next/* default */.A.t('Buttons:Dynamic Cursor Size'),
573
573
  type: 'switch',
574
574
  id: 'dynamicCursorSize',
575
575
  value: true,
@@ -602,7 +602,7 @@ const toolbarButtons = [{
602
602
  }
603
603
  },
604
604
  options: [{
605
- name: 'Radius (mm)',
605
+ name: i18next/* default */.A.t('Buttons:Radius (mm)'),
606
606
  id: 'brush-radius',
607
607
  type: 'range',
608
608
  explicitRunOnly: true,
@@ -617,16 +617,16 @@ const toolbarButtons = [{
617
617
  }
618
618
  }]
619
619
  }, {
620
- name: 'Shape',
620
+ name: i18next/* default */.A.t('Buttons:Shape'),
621
621
  type: 'radio',
622
622
  id: 'brush-mode',
623
623
  value: 'CircularBrush',
624
624
  values: [{
625
625
  value: 'CircularBrush',
626
- label: 'Circle'
626
+ label: i18next/* default */.A.t('Buttons:Circle')
627
627
  }, {
628
628
  value: 'SphereBrush',
629
- label: 'Sphere'
629
+ label: i18next/* default */.A.t('Buttons:Sphere')
630
630
  }],
631
631
  commands: ['setToolActiveToolbar']
632
632
  }]
@@ -744,16 +744,16 @@ const toolbarButtons = [{
744
744
  [src/* ViewportGridService */.sI.EVENTS.VIEWPORTS_READY]: callbacks('MarkerLabelmap')
745
745
  },
746
746
  options: [{
747
- name: 'Marker Mode',
747
+ name: i18next/* default */.A.t('Buttons:Marker Mode'),
748
748
  type: 'radio',
749
749
  id: 'marker-mode',
750
750
  value: 'markerInclude',
751
751
  values: [{
752
752
  value: 'markerInclude',
753
- label: 'Include'
753
+ label: i18next/* default */.A.t('Buttons:Include')
754
754
  }, {
755
755
  value: 'markerExclude',
756
- label: 'Exclude'
756
+ label: i18next/* default */.A.t('Buttons:Exclude')
757
757
  }],
758
758
  commands: ({
759
759
  commandsManager,
@@ -771,7 +771,7 @@ const toolbarButtons = [{
771
771
  }
772
772
  }
773
773
  }, {
774
- name: 'Clear Markers',
774
+ name: i18next/* default */.A.t('Buttons:Clear Markers'),
775
775
  type: 'button',
776
776
  id: 'clear-markers',
777
777
  commands: 'clearMarkersForMarkerLabelmap'
@@ -794,7 +794,7 @@ const toolbarButtons = [{
794
794
  segmentationRepresentationType: 'Labelmap'
795
795
  }],
796
796
  options: [{
797
- name: 'Radius (mm)',
797
+ name: i18next/* default */.A.t('Buttons:Radius (mm)'),
798
798
  id: 'eraser-radius',
799
799
  type: 'range',
800
800
  explicitRunOnly: true,
@@ -809,16 +809,16 @@ const toolbarButtons = [{
809
809
  }
810
810
  }
811
811
  }, {
812
- name: 'Shape',
812
+ name: i18next/* default */.A.t('Buttons:Shape'),
813
813
  type: 'radio',
814
814
  id: 'eraser-mode',
815
815
  value: 'CircularEraser',
816
816
  values: [{
817
817
  value: 'CircularEraser',
818
- label: 'Circle'
818
+ label: i18next/* default */.A.t('Buttons:Circle')
819
819
  }, {
820
820
  value: 'SphereEraser',
821
- label: 'Sphere'
821
+ label: i18next/* default */.A.t('Buttons:Sphere')
822
822
  }],
823
823
  commands: 'setToolActiveToolbar'
824
824
  }],
@@ -834,7 +834,7 @@ const toolbarButtons = [{
834
834
  uiType: 'ohif.toolBoxButton',
835
835
  props: {
836
836
  icon: 'icon-tool-threshold',
837
- label: 'Threshold Tool',
837
+ label: i18next/* default */.A.t('Buttons:Threshold Tool'),
838
838
  evaluate: [{
839
839
  name: 'evaluate.cornerstone.segmentation',
840
840
  toolNames: ['ThresholdCircularBrush', 'ThresholdSphereBrush', 'ThresholdCircularBrushDynamic', 'ThresholdSphereBrushDynamic']
@@ -852,7 +852,7 @@ const toolbarButtons = [{
852
852
  }
853
853
  },
854
854
  options: [{
855
- name: 'Radius (mm)',
855
+ name: i18next/* default */.A.t('Buttons:Radius (mm)'),
856
856
  id: 'threshold-radius',
857
857
  type: 'range',
858
858
  explicitRunOnly: true,
@@ -867,16 +867,16 @@ const toolbarButtons = [{
867
867
  }
868
868
  }
869
869
  }, {
870
- name: 'Shape',
870
+ name: i18next/* default */.A.t('Buttons:Shape'),
871
871
  type: 'radio',
872
872
  id: 'threshold-shape',
873
873
  value: 'ThresholdCircularBrush',
874
874
  values: [{
875
875
  value: 'ThresholdCircularBrush',
876
- label: 'Circle'
876
+ label: i18next/* default */.A.t('Buttons:Circle')
877
877
  }, {
878
878
  value: 'ThresholdSphereBrush',
879
- label: 'Sphere'
879
+ label: i18next/* default */.A.t('Buttons:Sphere')
880
880
  }],
881
881
  commands: ({
882
882
  value,
@@ -895,16 +895,16 @@ const toolbarButtons = [{
895
895
  }
896
896
  }
897
897
  }, {
898
- name: 'Threshold',
898
+ name: i18next/* default */.A.t('Buttons:Threshold'),
899
899
  type: 'radio',
900
900
  id: 'dynamic-mode',
901
901
  value: 'ThresholdDynamic',
902
902
  values: [{
903
903
  value: 'ThresholdDynamic',
904
- label: 'Dynamic'
904
+ label: i18next/* default */.A.t('Buttons:Dynamic')
905
905
  }, {
906
906
  value: 'ThresholdRange',
907
- label: 'Range'
907
+ label: i18next/* default */.A.t('Buttons:Range')
908
908
  }],
909
909
  commands: ({
910
910
  value,
@@ -967,19 +967,19 @@ const toolbarButtons = [{
967
967
  }
968
968
  },
969
969
  options: [{
970
- name: 'Shape',
970
+ name: i18next/* default */.A.t('Buttons:Shape'),
971
971
  type: 'radio',
972
972
  value: 'CircleScissor',
973
973
  id: 'shape-mode',
974
974
  values: [{
975
975
  value: 'CircleScissor',
976
- label: 'Circle'
976
+ label: i18next/* default */.A.t('Buttons:Circle')
977
977
  }, {
978
978
  value: 'SphereScissor',
979
- label: 'Sphere'
979
+ label: i18next/* default */.A.t('Buttons:Sphere')
980
980
  }, {
981
981
  value: 'RectangleScissor',
982
- label: 'Rectangle'
982
+ label: i18next/* default */.A.t('Buttons:Rectangle')
983
983
  }],
984
984
  commands: 'setToolActiveToolbar'
985
985
  }]
@@ -1028,8 +1028,8 @@ const toolbarButtons = [{
1028
1028
  uiType: 'ohif.toolBoxButton',
1029
1029
  props: {
1030
1030
  icon: 'tool-labelmap-edit-with-contour',
1031
- label: 'Labelmap Edit with Contour Tool',
1032
- tooltip: 'Labelmap Edit with Contour Tool',
1031
+ label: i18next/* default */.A.t('Buttons:Labelmap Edit with Contour Tool'),
1032
+ tooltip: i18next/* default */.A.t('Buttons:Labelmap Edit with Contour Tool'),
1033
1033
  commands: ['setToolActiveToolbar', {
1034
1034
  commandName: 'activateSelectedSegmentationOfType',
1035
1035
  commandOptions: {
@@ -23,8 +23,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-video`;
23
23
 
24
24
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
25
25
  var src = __webpack_require__(42356);
26
- // EXTERNAL MODULE: ../../i18n/src/index.js + 210 modules
27
- var i18n_src = __webpack_require__(68523);
26
+ // EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
27
+ var i18n_src = __webpack_require__(89010);
28
28
  // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 1 modules
29
29
  var esm = __webpack_require__(15327);
30
30
  ;// ../../../extensions/dicom-video/src/getSopClassHandlerModule.js
@@ -23,8 +23,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-pdf`;
23
23
 
24
24
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
25
25
  var src = __webpack_require__(42356);
26
- // EXTERNAL MODULE: ../../i18n/src/index.js + 210 modules
27
- var i18n_src = __webpack_require__(68523);
26
+ // EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
27
+ var i18n_src = __webpack_require__(89010);
28
28
  ;// ../../../extensions/dicom-pdf/src/getSopClassHandlerModule.js
29
29
 
30
30
 
@@ -25,8 +25,8 @@ var dicomSRModule = __webpack_require__(76654);
25
25
  var createReferencedImageDisplaySet = __webpack_require__(92643);
26
26
  // EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx + 192 modules
27
27
  var cornerstone_src = __webpack_require__(71903);
28
- // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
29
- var ui_next_src = __webpack_require__(1246);
28
+ // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
29
+ var ui_next_src = __webpack_require__(12517);
30
30
  // EXTERNAL MODULE: ../../core/src/contextProviders/SystemProvider.tsx
31
31
  var SystemProvider = __webpack_require__(83641);
32
32
  ;// ../../../extensions/cornerstone-dicom-sr/src/components/OHIFCornerstoneSRMeasurementViewport.tsx
@@ -75,8 +75,8 @@ __webpack_require__.d(__webpack_exports__, {
75
75
  var react = __webpack_require__(86326);
76
76
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
77
77
  var src = __webpack_require__(42356);
78
- // EXTERNAL MODULE: ../../i18n/src/index.js + 210 modules
79
- var i18n_src = __webpack_require__(68523);
78
+ // EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
79
+ var i18n_src = __webpack_require__(89010);
80
80
  // EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx + 192 modules
81
81
  var cornerstone_src = __webpack_require__(71903);
82
82
  // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/adapters/dist/esm/index.js + 70 modules
@@ -987,7 +987,7 @@ function _processNonGeometricallyDefinedMeasurement(mergedContentSequence) {
987
987
  const {
988
988
  ValueType
989
989
  } = ContentSequence;
990
- if (!ValueType === 'SCOORD') {
990
+ if (ValueType !== 'SCOORD' && ValueType !== 'SCOORD3D') {
991
991
  console.warn(`Graphic ${ValueType} not currently supported, skipping annotation.`);
992
992
  return;
993
993
  }
@@ -11,7 +11,7 @@ __webpack_require__.r(__webpack_exports__);
11
11
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97598);
12
12
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);
13
13
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(86326);
14
- /* harmony import */ var _ohif_ui_next__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1246);
14
+ /* harmony import */ var _ohif_ui_next__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(12517);
15
15
  /* harmony import */ var _ohif_extension_cornerstone__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71903);
16
16
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
17
17
 
@@ -339,8 +339,10 @@ var esm = __webpack_require__(4667);
339
339
  var dist_esm = __webpack_require__(15327);
340
340
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
341
341
  var src = __webpack_require__(42356);
342
- // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
343
- var ui_next_src = __webpack_require__(1246);
342
+ // EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
343
+ var es = __webpack_require__(99993);
344
+ // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
345
+ var ui_next_src = __webpack_require__(12517);
344
346
  ;// ../../../extensions/usAnnotation/src/panels/USAnnotationPanel.tsx
345
347
 
346
348
 
@@ -348,6 +350,7 @@ var ui_next_src = __webpack_require__(1246);
348
350
 
349
351
 
350
352
 
353
+
351
354
  /**
352
355
  * A side panel that drives the ultrasound annotation workflow.
353
356
  * It provides controls for managing annotations, toggling display options,
@@ -355,6 +358,9 @@ var ui_next_src = __webpack_require__(1246);
355
358
  * @returns The USAnnotationPanel component
356
359
  */
357
360
  function USAnnotationPanel() {
361
+ const {
362
+ t
363
+ } = (0,es/* useTranslation */.Bd)('USAnnotationPanel');
358
364
  const {
359
365
  servicesManager,
360
366
  commandsManager
@@ -515,7 +521,7 @@ function USAnnotationPanel() {
515
521
  htmlFor: "depth-guide-switch",
516
522
  className: "cursor-pointer",
517
523
  onClick: () => setDepthGuideCommand(!depthGuide)
518
- }, "Depth guide toggle")), /*#__PURE__*/react.createElement("div", {
524
+ }, t('Depth guide toggle'))), /*#__PURE__*/react.createElement("div", {
519
525
  className: "flex items-center"
520
526
  }, /*#__PURE__*/react.createElement(ui_next_src/* Switch */.dOG, {
521
527
  id: "pleura-percentage-switch",
@@ -526,19 +532,19 @@ function USAnnotationPanel() {
526
532
  htmlFor: "pleura-percentage-switch",
527
533
  className: "cursor-pointer",
528
534
  onClick: () => setShowPleuraPercentageCommand(!showPleuraPct)
529
- }, "Show pleura percentage"))));
535
+ }, t('Show pleura percentage')))));
530
536
  const renderSectorAnnotations = () => /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Content, null, /*#__PURE__*/react.createElement("div", {
531
537
  className: "flex flex-col gap-4 p-2"
532
- }, /*#__PURE__*/react.createElement(ui_next_src/* Label */.JU7, null, "Sector Annotations"), /*#__PURE__*/react.createElement("div", {
538
+ }, /*#__PURE__*/react.createElement(ui_next_src/* Label */.JU7, null, t('Sector Annotations')), /*#__PURE__*/react.createElement("div", {
533
539
  className: "flex items-center gap-2"
534
540
  }, /*#__PURE__*/react.createElement(ui_next_src/* Tabs */.tUM, {
535
541
  defaultValue: esm.UltrasoundPleuraBLineTool.USPleuraBLineAnnotationType.BLINE,
536
542
  onValueChange: newValue => switchAnnotation(newValue)
537
543
  }, /*#__PURE__*/react.createElement(ui_next_src/* TabsList */.j7C, null, /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
538
544
  value: esm.UltrasoundPleuraBLineTool.USPleuraBLineAnnotationType.PLEURA
539
- }, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Plus, null), " Pleura line"), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
545
+ }, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Plus, null), " ", t('Pleura line')), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
540
546
  value: esm.UltrasoundPleuraBLineTool.USPleuraBLineAnnotationType.BLINE
541
- }, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Plus, null), " B-line"), /*#__PURE__*/react.createElement(ui_next_src/* Separator */.wvv, {
547
+ }, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Plus, null), " ", t('B-line')), /*#__PURE__*/react.createElement(ui_next_src/* Separator */.wvv, {
542
548
  orientation: "vertical"
543
549
  }), /*#__PURE__*/react.createElement(ui_next_src/* Separator */.wvv, {
544
550
  orientation: "vertical"
@@ -553,13 +559,13 @@ function USAnnotationPanel() {
553
559
  className: "text-foreground"
554
560
  }), /*#__PURE__*/react.createElement("span", {
555
561
  className: "pl-2"
556
- }, "B-line annotation")), /*#__PURE__*/react.createElement(ui_next_src/* DropdownMenuItem */._26, {
562
+ }, t('B-line annotation'))), /*#__PURE__*/react.createElement(ui_next_src/* DropdownMenuItem */._26, {
557
563
  onClick: () => deleteLast(esm.UltrasoundPleuraBLineTool.USPleuraBLineAnnotationType.PLEURA)
558
564
  }, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Delete, {
559
565
  className: "text-foreground"
560
566
  }), /*#__PURE__*/react.createElement("span", {
561
567
  className: "pl-2"
562
- }, "Pleura annotation"))))), /*#__PURE__*/react.createElement("div", {
568
+ }, t('Pleura annotation')))))), /*#__PURE__*/react.createElement("div", {
563
569
  className: "mt-2 flex items-center gap-2"
564
570
  }, /*#__PURE__*/react.createElement(ui_next_src/* Switch */.dOG, {
565
571
  id: "show-overlay-switch",
@@ -569,7 +575,7 @@ function USAnnotationPanel() {
569
575
  }), /*#__PURE__*/react.createElement("label", {
570
576
  htmlFor: "show-overlay-switch",
571
577
  className: "cursor-pointer text-blue-300"
572
- }, "Show Overlay")), /*#__PURE__*/react.createElement("hr", {
578
+ }, t('Show Overlay'))), /*#__PURE__*/react.createElement("hr", {
573
579
  className: "border-t border-gray-800"
574
580
  })));
575
581
  const renderAnnotatedFrames = () => /*#__PURE__*/react.createElement(ui_next_src/* ScrollArea */.FKN, {
@@ -581,7 +587,7 @@ function USAnnotationPanel() {
581
587
  onClick: () => downloadJSON()
582
588
  }, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Download, {
583
589
  className: "h-5 w-5"
584
- }), /*#__PURE__*/react.createElement("span", null, "JSON")), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
590
+ }), /*#__PURE__*/react.createElement("span", null, t('JSON'))), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
585
591
  variant: "ghost",
586
592
  onClick: () => setShowOverlayCommand(!showOverlay)
587
593
  }, showOverlay ? /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Hide, {
@@ -596,11 +602,11 @@ function USAnnotationPanel() {
596
602
  className: "border-b border-blue-900 text-blue-300"
597
603
  }, /*#__PURE__*/react.createElement("th", null), /*#__PURE__*/react.createElement("th", {
598
604
  className: "py-2 px-3 text-left"
599
- }, "Frame"), /*#__PURE__*/react.createElement("th", {
605
+ }, t('Frame')), /*#__PURE__*/react.createElement("th", {
600
606
  className: "py-2 px-3 text-center"
601
- }, "Pleura lines"), /*#__PURE__*/react.createElement("th", {
607
+ }, t('Pleura lines')), /*#__PURE__*/react.createElement("th", {
602
608
  className: "py-2 px-3 text-center"
603
- }, "B-lines"), /*#__PURE__*/react.createElement("th", {
609
+ }, t('B-lines')), /*#__PURE__*/react.createElement("th", {
604
610
  className: "w-10"
605
611
  }))), /*#__PURE__*/react.createElement("tbody", null, annotatedFrames.map(item => /*#__PURE__*/react.createElement("tr", {
606
612
  key: item.frame,
@@ -697,9 +703,9 @@ function USAnnotationPanel() {
697
703
  maxWidth: 480,
698
704
  width: '100%'
699
705
  }
700
- }, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, null, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, "Workflow"), renderWorkflowToggles()), /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, null, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, " Annotations "), renderSectorAnnotations()), /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, {
706
+ }, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, null, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, t('Workflow')), renderWorkflowToggles()), /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, null, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, t('Annotations')), renderSectorAnnotations()), /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, {
701
707
  className: "flex-1"
702
- }, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, " Annotated Frames "), renderAnnotatedFrames()));
708
+ }, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, t('Annotated Frames')), renderAnnotatedFrames()));
703
709
  }
704
710
  ;// ../../../extensions/usAnnotation/src/getPanelModule.tsx
705
711
 
@@ -117,8 +117,8 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
117
117
  var es = __webpack_require__(70574);
118
118
  // EXTERNAL MODULE: ../../../node_modules/@xstate/react/es/index.js + 8 modules
119
119
  var react_es = __webpack_require__(95261);
120
- // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
121
- var src = __webpack_require__(1246);
120
+ // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
121
+ var src = __webpack_require__(12517);
122
122
  ;// ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/measurementTrackingMachine.js
123
123
 
124
124
  const RESPONSE = {
@@ -1066,8 +1066,8 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
1066
1066
  var src = __webpack_require__(42356);
1067
1067
  // EXTERNAL MODULE: ../../../extensions/default/src/Panels/StudyBrowser/PanelStudyBrowser.tsx + 3 modules
1068
1068
  var PanelStudyBrowser = __webpack_require__(40565);
1069
- // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
1070
- var ui_next_src = __webpack_require__(1246);
1069
+ // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
1070
+ var ui_next_src = __webpack_require__(12517);
1071
1071
  ;// ../../../extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/untrackSeriesModal.tsx
1072
1072
 
1073
1073
 
@@ -1083,8 +1083,10 @@ function UntrackSeriesModal({
1083
1083
  }, "This action cannot be undone and will delete all your existing measurements.")), /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu, {
1084
1084
  className: "mt-4"
1085
1085
  }, /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu.Right, null, /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu.Secondary, {
1086
+ dataCY: "untracked-series-modal-cancel-button",
1086
1087
  onClick: hide
1087
1088
  }, "Cancel"), /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu.Primary, {
1089
+ dataCY: "untracked-series-modal-confirm-button",
1088
1090
  onClick: () => {
1089
1091
  onConfirm();
1090
1092
  hide();
@@ -24,8 +24,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.${SOPClassHandlerName}`;
24
24
  var react = __webpack_require__(86326);
25
25
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
26
26
  var src = __webpack_require__(42356);
27
- // EXTERNAL MODULE: ../../i18n/src/index.js + 210 modules
28
- var i18n_src = __webpack_require__(68523);
27
+ // EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
28
+ var i18n_src = __webpack_require__(89010);
29
29
  // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 1 modules
30
30
  var esm = __webpack_require__(15327);
31
31
  // EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/adapters/dist/esm/index.js + 70 modules
@@ -906,7 +906,7 @@ const toolbarButtons = [
906
906
  commands: setToolActiveToolbar,
907
907
  evaluate: {
908
908
  name: 'evaluate.cornerstoneTool',
909
- disabledText: 'Select a 3D viewport to enable this tool'
909
+ disabledText: i18next/* default */.A.t('Buttons:Select a 3D viewport to enable this tool')
910
910
  }
911
911
  }
912
912
  }, {
@@ -944,7 +944,7 @@ const toolbarButtons = [
944
944
  },
945
945
  evaluate: {
946
946
  name: 'evaluate.cornerstoneTool',
947
- disabledText: 'Select an MPR viewport to enable this tool'
947
+ disabledText: i18next/* default */.A.t('Buttons:Select an MPR viewport to enable this tool')
948
948
  }
949
949
  }
950
950
  }, {
@@ -49,6 +49,8 @@ const listComponentGenerator = props => {
49
49
  ;// ../../../extensions/dicom-microscopy/src/components/ViewportOverlay/ViewportOverlay.css
50
50
  // extracted by mini-css-extract-plugin
51
51
 
52
+ // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
53
+ var ui_next_src = __webpack_require__(12517);
52
54
  // EXTERNAL MODULE: ../../../node_modules/moment/moment.js
53
55
  var moment = __webpack_require__(14867);
54
56
  var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
@@ -58,6 +60,7 @@ var esm = __webpack_require__(15327);
58
60
 
59
61
 
60
62
 
63
+
61
64
  /**
62
65
  * Checks if value is valid.
63
66
  *
@@ -81,17 +84,6 @@ function formatNumberPrecision(number, precision) {
81
84
  }
82
85
  }
83
86
 
84
- /**
85
- * Formats DICOM date.
86
- *
87
- * @param {string} date
88
- * @param {string} strFormat
89
- * @returns {string} formatted date.
90
- */
91
- function formatDICOMDate(date, strFormat = 'MMM D, YYYY') {
92
- return moment_default()(date, 'YYYYMMDD').format(strFormat);
93
- }
94
-
95
87
  /**
96
88
  * DICOM Time is stored as HHmmss.SSS, where:
97
89
  * HH 24 hour time:
@@ -129,6 +121,7 @@ function getCompression(imageId) {
129
121
  }
130
122
  return 'Lossless / Uncompressed';
131
123
  }
124
+
132
125
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
133
126
  var core_src = __webpack_require__(42356);
134
127
  ;// ../../../extensions/dicom-microscopy/src/components/ViewportOverlay/index.tsx
@@ -138,6 +131,7 @@ var core_src = __webpack_require__(42356);
138
131
 
139
132
 
140
133
 
134
+
141
135
  const {
142
136
  formatPN
143
137
  } = core_src/* utils */.Wp;
@@ -208,7 +202,7 @@ const itemGenerator = props => {
208
202
  ...props.image,
209
203
  ...props.metadata
210
204
  };
211
- props.formatDate = formatDICOMDate;
205
+ props.formatDate = ui_next_src/* formatDICOMDate */.yFj;
212
206
  props.formatTime = formatDICOMTime;
213
207
  props.formatPN = formatPN;
214
208
  props.formatNumberPrecision = formatNumberPrecision;