@ohif/app 3.12.0-beta.99 → 3.12.1

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 (70) hide show
  1. package/dist/{1403.bundle.94a178e2572f1f0b2a2c.js → 1403.bundle.761239eb886a88301851.js} +37 -37
  2. package/dist/{1459.bundle.3785cdd0abf449adebf1.js → 1459.bundle.fcdd0dec6286845179bf.js} +5 -6
  3. package/dist/{147.bundle.205350dc3d21478277b1.js → 147.bundle.47af018b91121924a12c.js} +10 -18
  4. package/dist/{1608.bundle.f855c4bdb7f00eb66fca.js → 1608.bundle.b9abbf4ed6cc2e491dc3.js} +10 -10
  5. package/dist/{1730.bundle.37c569ae3ed057b69840.js → 1730.bundle.51e69967a025226592cd.js} +41 -40
  6. package/dist/{1927.bundle.019331c266d306772371.js → 1927.bundle.be67b3aafe238ca9f191.js} +27 -38
  7. package/dist/{1933.bundle.ab5e8036f6e1c854c965.js → 1933.bundle.e3ba7d4dcbbd75701d8e.js} +19 -17
  8. package/dist/{2018.bundle.469f9ad42597b6b29ff1.js → 2018.bundle.45c44470b4b098aa343f.js} +65 -66
  9. package/dist/{2108.bundle.e84aa8d858d8c4f2413e.js → 2108.bundle.aea8d3b39486dd5ab39e.js} +569 -558
  10. package/dist/{213.bundle.398730bb3ceb1af54413.js → 213.bundle.863ab5d320fc06043a4e.js} +5 -7
  11. package/dist/{3584.bundle.839a16d349815b3f7c97.js → 2199.bundle.974037f21bfd12c4e8af.js} +256 -2236
  12. package/dist/{2424.bundle.be90e7bcf0fd8db68b2f.js → 2424.bundle.b070e83baf101dad2121.js} +5 -7
  13. package/dist/{2516.bundle.1ea0988d309a757bb6da.js → 2516.bundle.f62228e9a800de8d4b31.js} +6 -6
  14. package/dist/{2701.bundle.aca0d4f24a6f2094c3c3.js → 2701.bundle.58a6a580073edbb4cc04.js} +9 -9
  15. package/dist/{2842.bundle.7852a204d3510fca8b27.js → 2816.bundle.838fa4d72921c026083c.js} +1136 -2342
  16. package/dist/{9195.bundle.e2fd5c6b5830c0ee25a8.js → 2851.bundle.70227d013c1937e846be.js} +318 -150
  17. package/dist/{1903.bundle.dc5248f7cb6ba1dc1072.js → 3081.bundle.930757b1a5aa8549e112.js} +752 -466
  18. package/dist/{3343.bundle.f8fe9316b0ff68d087f7.js → 3343.bundle.a4424b8418b8c0c1a9e4.js} +27 -25
  19. package/dist/{3461.bundle.50c752c623f39cf6c457.js → 3461.bundle.ab31c31a5ddc4baa72f7.js} +40 -40
  20. package/dist/{4202.bundle.790706560c6edb303476.js → 4202.bundle.4f76d3a50d6cf819fba0.js} +6 -6
  21. package/dist/{4019.bundle.01f63d5dd5b96ded0c00.js → 4287.bundle.87e14e648f2bce5e4176.js} +372 -567
  22. package/dist/{4775.bundle.d7f0645419f1df8e00b8.js → 4775.bundle.768f00df706f506f3789.js} +57 -51
  23. package/dist/{4819.bundle.ef1151f023b3784bc1be.js → 4819.bundle.6377aba4cf194120e7d4.js} +35 -34
  24. package/dist/{5028.bundle.b3611b7c7422a5c2e723.js → 5028.bundle.3a086ff61ec8dc1da4b1.js} +13 -15
  25. package/dist/{5261.bundle.6e1a017f8f1027557f5b.js → 5261.bundle.2655560097e9250eac44.js} +412 -345
  26. package/dist/{5457.bundle.9f2eb65ad85fcbb75e27.js → 5457.bundle.0063531ed24c06fba48b.js} +16 -23
  27. package/dist/{5462.bundle.a81a691eeef782ab95b9.js → 5462.bundle.d5bb9b3ddc510fea141f.js} +1108 -1030
  28. package/dist/{5485.bundle.71041ca4bc9e6ab57d92.js → 5485.bundle.b523d7015979fc641f7e.js} +17 -32
  29. package/dist/{5491.bundle.2e01dd7ad29e4cc01bc1.js → 5491.bundle.4866d2ecb20dd089e071.js} +54 -51
  30. package/dist/5724.bundle.62ea5c07c7809ab4cd74.js +297 -0
  31. package/dist/5724.css +2 -0
  32. package/dist/{5802.bundle.28ab859d9b48a5b2c31c.js → 5802.bundle.ae4d88742c353de462c2.js} +13 -18
  33. package/dist/{5830.bundle.b073c265c4fcea1afff3.js → 5830.bundle.791019deddd536980a11.js} +3 -3
  34. package/dist/{5858.bundle.d5f4bf849aaeebf5025c.js → 5858.bundle.466e58128de344ab53f3.js} +90 -86
  35. package/dist/{6027.bundle.160bd47ea03784276275.js → 6027.bundle.3cf6c827b4ce9066b426.js} +3 -5
  36. package/dist/{6163.bundle.1f096bdbe3a341c1710d.js → 6163.bundle.ac77880c970e788c9a07.js} +33 -33
  37. package/dist/{5549.bundle.d5def6a3124a3a481b7c.js → 6280.bundle.f22f9955eb906e1d7da8.js} +2475 -1200
  38. package/dist/{3353.bundle.a0f1654c642395bbbbbc.js → 6347.bundle.f8393c20d5159ed41b64.js} +358 -214
  39. package/dist/{6354.bundle.c387737dc09c9cab4ff2.js → 6354.bundle.d8a592b03e9a5b7a66c2.js} +102 -96
  40. package/dist/{6376.bundle.272e755bdcbb5615a44e.js → 6376.bundle.527820a5cb1eece2a8d2.js} +6 -6
  41. package/dist/{5400.bundle.de97508611da1c00d58a.js → 6409.bundle.24edbaa283b7c521b8f7.js} +517 -146
  42. package/dist/6939.bundle.41fbdef87597b5172ec6.js +3 -3
  43. package/dist/7159.bundle.a5991a5d4f0dd8f1c95f.js +3 -3
  44. package/dist/{7190.bundle.d731ae6cf6e933a2c408.js → 7190.bundle.479332d662ffe08d1f92.js} +1462 -955
  45. package/dist/{732.bundle.6978ac30a1e36abf06db.js → 732.bundle.ea6f9d8504e37e01a208.js} +5 -13
  46. package/dist/{7431.bundle.999b2b65d4973bc56218.js → 7431.bundle.b31ebb4a2625e89d864e.js} +38 -32
  47. package/dist/{7639.bundle.e004d734044049fe8fe9.js → 7639.bundle.0147cdd1c23858221b62.js} +27 -25
  48. package/dist/7758.bundle.c8d106364298e7d288f0.js +3 -3
  49. package/dist/{8094.bundle.5c44190a325ac23e3e5c.js → 8094.bundle.148a66619607e37cbf19.js} +3 -4
  50. package/dist/{8305.bundle.ba43ed23edea2bf394b3.js → 8305.bundle.565339762503b9ae4f59.js} +57 -41
  51. package/dist/{85.bundle.a16e254910c60223df19.js → 85.bundle.b2365b2e4c3c6935f453.js} +3 -5
  52. package/dist/{8558.bundle.463ddb34a619cf47493e.js → 8558.bundle.9af6d13a22ddb44ea766.js} +60 -32
  53. package/dist/{8583.bundle.59c239cf891c2e10bf10.js → 8583.bundle.f51188077125da303398.js} +42 -39
  54. package/dist/{5448.bundle.9a36e001169ea3bfeb6c.js → 8665.bundle.dc56c125411422f9f686.js} +3753 -1424
  55. package/dist/{7412.bundle.aec4834a71fc27c4ce06.js → 9205.bundle.2a2f38a4ee23647f5fa4.js} +3413 -1271
  56. package/dist/{9845.bundle.31aec3fe7a5cdc247f4e.js → 9845.bundle.31f3e7e2d28fa6033ee5.js} +22 -14
  57. package/dist/{9862.bundle.3ca0ad5f54db87ccf91e.js → 9862.bundle.73ea2a7703bf1bb96275.js} +8 -6
  58. package/dist/{9927.bundle.f421cd167be94a7109f6.js → 9927.bundle.af31e6ce5cac195607fd.js} +19 -21
  59. package/dist/app-config.js +12 -0
  60. package/dist/{app.bundle.7df5bc1cd812bd602686.js → app.bundle.b2817894afde20b59bdb.js} +67903 -63389
  61. package/dist/app.bundle.css +1 -1
  62. package/dist/{compute.bundle.fdee4a0f193ee2e1b6da.js → compute.bundle.73440405025831e0e072.js} +10 -22
  63. package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js +3254 -1792
  64. package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js.map +1 -1
  65. package/dist/{histogram-worker.bundle.d4e40a8018d2698b072e.js → histogram-worker.bundle.5b679ce4142c803c80a4.js} +11 -23
  66. package/dist/index.html +1 -1
  67. package/dist/{interpolation.bundle.1938b79f9d6db363528a.js → interpolation.bundle.7554483d97f6119414f9.js} +14 -26
  68. package/dist/{polySeg.bundle.11f9746cd60c9811a412.js → polySeg.bundle.6373e24bd578ae0d41eb.js} +8 -20
  69. package/dist/sw.js +1 -1
  70. package/package.json +24 -24
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
  (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[1933,2591],{
3
3
 
4
- /***/ 6015:
5
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4
+ /***/ 6015
5
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
6
 
7
- // ESM COMPAT FLAG
8
- __webpack_require__.r(__webpack_exports__);
9
7
 
10
8
  // EXPORTS
11
9
  __webpack_require__.d(__webpack_exports__, {
@@ -20,10 +18,10 @@ const id = package_namespaceObject.UU;
20
18
 
21
19
  // EXTERNAL MODULE: ../../../node_modules/react/index.js
22
20
  var react = __webpack_require__(86326);
23
- // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3073 modules
24
- var src = __webpack_require__(1246);
25
- // EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 139 modules
26
- var default_src = __webpack_require__(39195);
21
+ // EXTERNAL MODULE: ../../ui-next/src/index.ts + 3075 modules
22
+ var src = __webpack_require__(12517);
23
+ // EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 140 modules
24
+ var default_src = __webpack_require__(62851);
27
25
  // EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
28
26
  var core_src = __webpack_require__(42356);
29
27
  // EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
@@ -604,9 +602,12 @@ function areaOfPolygon(coordinates) {
604
602
  // (The value is halved as we are summing up triangles, not rectangles).
605
603
  return Math.abs(area / 2.0);
606
604
  }
605
+ // EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
606
+ var i18n_src = __webpack_require__(89010);
607
607
  ;// ../../../extensions/dicom-microscopy/src/utils/RoiAnnotation.js
608
608
 
609
609
 
610
+
610
611
  const RoiAnnotation_EVENTS = {
611
612
  LABEL_UPDATED: 'labelUpdated',
612
613
  GRAPHIC_UPDATED: 'graphicUpdated',
@@ -756,7 +757,8 @@ class RoiAnnotation extends core_src/* PubSubService */.Rc {
756
757
  * @returns {String} Text with geometry type and label
757
758
  */
758
759
  getDetailedLabel() {
759
- const label = this.label ? `${this.label}` : '(empty)';
760
+ const translatedEmpty = i18n_src/* default */.A?.t('MeasurementTable:empty') || '(empty)';
761
+ const label = this.label ? `${this.label}` : translatedEmpty;
760
762
  return label;
761
763
  }
762
764
  getLength() {
@@ -1701,7 +1703,7 @@ function MicroscopyPanel(props) {
1701
1703
  if (!annotations || saving) {
1702
1704
  return;
1703
1705
  }
1704
- (0,default_src.callInputDialog)({
1706
+ (0,default_src/* callInputDialog */.l5)({
1705
1707
  uiDialogService,
1706
1708
  title: 'Enter description of the Series',
1707
1709
  defaultValue: '',
@@ -2002,7 +2004,7 @@ function getCommandsModule({
2002
2004
  uid
2003
2005
  }) => {
2004
2006
  const roiAnnotation = microscopyService.getAnnotation(uid);
2005
- (0,default_src.callInputDialog)({
2007
+ (0,default_src/* callInputDialog */.l5)({
2006
2008
  uiDialogService,
2007
2009
  defaultValue: '',
2008
2010
  onSave: value => {
@@ -2754,16 +2756,16 @@ const extension = {
2754
2756
  };
2755
2757
  /* harmony default export */ const dicom_microscopy_src = (extension);
2756
2758
 
2757
- /***/ }),
2759
+ /***/ },
2758
2760
 
2759
- /***/ 70956:
2760
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2761
+ /***/ 70956
2762
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2761
2763
 
2762
2764
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2763
2765
  /* harmony export */ A: () => (/* binding */ getDicomWebClient)
2764
2766
  /* harmony export */ });
2765
2767
  /* harmony import */ var _ohif_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42356);
2766
- /* harmony import */ var _ohif_extension_default__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39195);
2768
+ /* harmony import */ var _ohif_extension_default__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62851);
2767
2769
 
2768
2770
 
2769
2771
 
@@ -2795,7 +2797,7 @@ function getDicomWebClient({
2795
2797
  headers: userAuthenticationService.getAuthorizationHeader(),
2796
2798
  errorInterceptor: _ohif_core__WEBPACK_IMPORTED_MODULE_0__/* .errorHandler */ .r_.getHTTPErrorHandler()
2797
2799
  };
2798
- const client = new _ohif_extension_default__WEBPACK_IMPORTED_MODULE_1__.StaticWadoClient(wadoConfig);
2800
+ const client = new _ohif_extension_default__WEBPACK_IMPORTED_MODULE_1__/* .StaticWadoClient */ .tm(wadoConfig);
2799
2801
  client.wadoURL = wadoConfig.url;
2800
2802
  if (extensionManager.activeDataSourceName === 'dicomlocal') {
2801
2803
  /**
@@ -2835,6 +2837,6 @@ function getDicomWebClient({
2835
2837
  return client;
2836
2838
  }
2837
2839
 
2838
- /***/ })
2840
+ /***/ }
2839
2841
 
2840
2842
  }]);
@@ -1,18 +1,17 @@
1
1
  "use strict";
2
2
  (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[2018],{
3
3
 
4
- /***/ 42018:
5
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4
+ /***/ 42018
5
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
6
 
7
- // ESM COMPAT FLAG
8
- __webpack_require__.r(__webpack_exports__);
9
7
 
10
8
  // EXPORTS
11
9
  __webpack_require__.d(__webpack_exports__, {
12
- "default": () => (/* binding */ segmentation_src),
13
- toolbarButtons: () => (/* reexport */ toolbarButtons)
10
+ "default": () => (/* binding */ segmentation_src)
14
11
  });
15
12
 
13
+ // UNUSED EXPORTS: toolbarButtons
14
+
16
15
  ;// ../../../modes/segmentation/package.json
17
16
  const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-segmentation"}');
18
17
  ;// ../../../modes/segmentation/src/id.js
@@ -396,12 +395,12 @@ const toolbarButtons = [{
396
395
  uiType: 'ohif.toolBoxButton',
397
396
  props: {
398
397
  icon: 'icon-tool-freehand-roi',
399
- label: 'Freehand Segmentation',
400
- tooltip: 'Freehand Segmentation',
398
+ label: i18next/* default */.A.t('Buttons:Freehand Segmentation'),
399
+ tooltip: i18next/* default */.A.t('Buttons:Freehand Segmentation'),
401
400
  evaluate: [{
402
401
  name: 'evaluate.cornerstone.segmentation',
403
402
  toolNames: ['PlanarFreehandContourSegmentationTool'],
404
- disabledText: 'Create new segmentation to enable this tool.'
403
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
405
404
  }, {
406
405
  name: 'evaluate.cornerstone.hasSegmentationOfType',
407
406
  segmentationRepresentationType: 'Contour'
@@ -424,7 +423,7 @@ const toolbarButtons = [{
424
423
  }
425
424
  }],
426
425
  options: [{
427
- name: 'Interpolate Contours',
426
+ name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
428
427
  type: 'switch',
429
428
  id: 'planarFreehandInterpolateContours',
430
429
  value: false,
@@ -438,12 +437,12 @@ const toolbarButtons = [{
438
437
  uiType: 'ohif.toolBoxButton',
439
438
  props: {
440
439
  icon: 'icon-tool-livewire',
441
- label: 'Livewire Contour',
442
- tooltip: 'Livewire Contour',
440
+ label: i18next/* default */.A.t('Buttons:Livewire Contour'),
441
+ tooltip: i18next/* default */.A.t('Buttons:Livewire Contour'),
443
442
  evaluate: [{
444
443
  name: 'evaluate.cornerstone.segmentation',
445
444
  toolNames: ['LivewireContourSegmentationTool'],
446
- disabledText: 'Create new segmentation to enable this tool.'
445
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
447
446
  }, {
448
447
  name: 'evaluate.cornerstone.hasSegmentationOfType',
449
448
  segmentationRepresentationType: 'Contour'
@@ -466,7 +465,7 @@ const toolbarButtons = [{
466
465
  }
467
466
  }],
468
467
  options: [{
469
- name: 'Interpolate Contours',
468
+ name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
470
469
  type: 'switch',
471
470
  id: 'livewireInterpolateContours',
472
471
  value: false,
@@ -480,12 +479,12 @@ const toolbarButtons = [{
480
479
  uiType: 'ohif.toolBoxButton',
481
480
  props: {
482
481
  icon: 'icon-tool-spline-roi',
483
- label: 'Spline Contour Segmentation Tool',
484
- tooltip: 'Spline Contour Segmentation Tool',
482
+ label: i18next/* default */.A.t('Buttons:Spline Contour Segmentation Tool'),
483
+ tooltip: i18next/* default */.A.t('Buttons:Spline Contour Segmentation Tool'),
485
484
  evaluate: [{
486
485
  name: 'evaluate.cornerstone.segmentation',
487
486
  toolNames: ['CatmullRomSplineROI', 'LinearSplineROI', 'BSplineROI'],
488
- disabledText: 'Create new segmentation to enable this tool.'
487
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
489
488
  }, {
490
489
  name: 'evaluate.cornerstone.hasSegmentationOfType',
491
490
  segmentationRepresentationType: 'Contour'
@@ -497,22 +496,22 @@ const toolbarButtons = [{
497
496
  }
498
497
  }],
499
498
  options: [{
500
- name: 'Spline Type',
499
+ name: i18next/* default */.A.t('Buttons:Spline Type'),
501
500
  type: 'select',
502
501
  id: 'splineTypeSelect',
503
502
  value: 'CatmullRomSplineROI',
504
503
  values: [{
505
504
  id: 'CatmullRomSplineROI',
506
505
  value: 'CatmullRomSplineROI',
507
- label: 'Catmull Rom Spline'
506
+ label: i18next/* default */.A.t('Buttons:Catmull Rom Spline')
508
507
  }, {
509
508
  id: 'LinearSplineROI',
510
509
  value: 'LinearSplineROI',
511
- label: 'Linear Spline'
510
+ label: i18next/* default */.A.t('Buttons:Linear Spline')
512
511
  }, {
513
512
  id: 'BSplineROI',
514
513
  value: 'BSplineROI',
515
- label: 'B-Spline'
514
+ label: i18next/* default */.A.t('Buttons:B-Spline')
516
515
  }],
517
516
  commands: {
518
517
  commandName: 'setToolActiveToolbar',
@@ -527,7 +526,7 @@ const toolbarButtons = [{
527
526
  }
528
527
  }
529
528
  }, {
530
- name: 'Simplified Spline',
529
+ name: i18next/* default */.A.t('Buttons:Simplified Spline'),
531
530
  type: 'switch',
532
531
  id: 'simplifiedSpline',
533
532
  value: true,
@@ -535,7 +534,7 @@ const toolbarButtons = [{
535
534
  commandName: 'setSimplifiedSplineForSplineContourSegmentationTool'
536
535
  }
537
536
  }, {
538
- name: 'Interpolate Contours',
537
+ name: i18next/* default */.A.t('Buttons:Interpolate Contours'),
539
538
  type: 'switch',
540
539
  id: 'splineInterpolateContours',
541
540
  value: false,
@@ -552,12 +551,12 @@ const toolbarButtons = [{
552
551
  uiType: 'ohif.toolBoxButton',
553
552
  props: {
554
553
  icon: 'icon-tool-sculptor',
555
- label: 'Sculptor Tool',
556
- tooltip: 'Sculptor Tool',
554
+ label: i18next/* default */.A.t('Buttons:Sculptor Tool'),
555
+ tooltip: i18next/* default */.A.t('Buttons:Sculptor Tool'),
557
556
  evaluate: [{
558
557
  name: 'evaluate.cornerstone.segmentation',
559
558
  toolNames: ['SculptorTool'],
560
- disabledText: 'Create new segmentation to enable this tool.'
559
+ disabledText: i18next/* default */.A.t('Buttons:Create new segmentation to enable this tool.')
561
560
  }, {
562
561
  name: 'evaluate.cornerstone.hasSegmentationOfType',
563
562
  segmentationRepresentationType: 'Contour'
@@ -569,7 +568,7 @@ const toolbarButtons = [{
569
568
  }
570
569
  }],
571
570
  options: [{
572
- name: 'Dynamic Cursor Size',
571
+ name: i18next/* default */.A.t('Buttons:Dynamic Cursor Size'),
573
572
  type: 'switch',
574
573
  id: 'dynamicCursorSize',
575
574
  value: true,
@@ -602,7 +601,7 @@ const toolbarButtons = [{
602
601
  }
603
602
  },
604
603
  options: [{
605
- name: 'Radius (mm)',
604
+ name: i18next/* default */.A.t('Buttons:Radius (mm)'),
606
605
  id: 'brush-radius',
607
606
  type: 'range',
608
607
  explicitRunOnly: true,
@@ -617,16 +616,16 @@ const toolbarButtons = [{
617
616
  }
618
617
  }]
619
618
  }, {
620
- name: 'Shape',
619
+ name: i18next/* default */.A.t('Buttons:Shape'),
621
620
  type: 'radio',
622
621
  id: 'brush-mode',
623
622
  value: 'CircularBrush',
624
623
  values: [{
625
624
  value: 'CircularBrush',
626
- label: 'Circle'
625
+ label: i18next/* default */.A.t('Buttons:Circle')
627
626
  }, {
628
627
  value: 'SphereBrush',
629
- label: 'Sphere'
628
+ label: i18next/* default */.A.t('Buttons:Sphere')
630
629
  }],
631
630
  commands: ['setToolActiveToolbar']
632
631
  }]
@@ -744,16 +743,16 @@ const toolbarButtons = [{
744
743
  [src/* ViewportGridService */.sI.EVENTS.VIEWPORTS_READY]: callbacks('MarkerLabelmap')
745
744
  },
746
745
  options: [{
747
- name: 'Marker Mode',
746
+ name: i18next/* default */.A.t('Buttons:Marker Mode'),
748
747
  type: 'radio',
749
748
  id: 'marker-mode',
750
749
  value: 'markerInclude',
751
750
  values: [{
752
751
  value: 'markerInclude',
753
- label: 'Include'
752
+ label: i18next/* default */.A.t('Buttons:Include')
754
753
  }, {
755
754
  value: 'markerExclude',
756
- label: 'Exclude'
755
+ label: i18next/* default */.A.t('Buttons:Exclude')
757
756
  }],
758
757
  commands: ({
759
758
  commandsManager,
@@ -771,7 +770,7 @@ const toolbarButtons = [{
771
770
  }
772
771
  }
773
772
  }, {
774
- name: 'Clear Markers',
773
+ name: i18next/* default */.A.t('Buttons:Clear Markers'),
775
774
  type: 'button',
776
775
  id: 'clear-markers',
777
776
  commands: 'clearMarkersForMarkerLabelmap'
@@ -794,7 +793,7 @@ const toolbarButtons = [{
794
793
  segmentationRepresentationType: 'Labelmap'
795
794
  }],
796
795
  options: [{
797
- name: 'Radius (mm)',
796
+ name: i18next/* default */.A.t('Buttons:Radius (mm)'),
798
797
  id: 'eraser-radius',
799
798
  type: 'range',
800
799
  explicitRunOnly: true,
@@ -809,16 +808,16 @@ const toolbarButtons = [{
809
808
  }
810
809
  }
811
810
  }, {
812
- name: 'Shape',
811
+ name: i18next/* default */.A.t('Buttons:Shape'),
813
812
  type: 'radio',
814
813
  id: 'eraser-mode',
815
814
  value: 'CircularEraser',
816
815
  values: [{
817
816
  value: 'CircularEraser',
818
- label: 'Circle'
817
+ label: i18next/* default */.A.t('Buttons:Circle')
819
818
  }, {
820
819
  value: 'SphereEraser',
821
- label: 'Sphere'
820
+ label: i18next/* default */.A.t('Buttons:Sphere')
822
821
  }],
823
822
  commands: 'setToolActiveToolbar'
824
823
  }],
@@ -834,7 +833,7 @@ const toolbarButtons = [{
834
833
  uiType: 'ohif.toolBoxButton',
835
834
  props: {
836
835
  icon: 'icon-tool-threshold',
837
- label: 'Threshold Tool',
836
+ label: i18next/* default */.A.t('Buttons:Threshold Tool'),
838
837
  evaluate: [{
839
838
  name: 'evaluate.cornerstone.segmentation',
840
839
  toolNames: ['ThresholdCircularBrush', 'ThresholdSphereBrush', 'ThresholdCircularBrushDynamic', 'ThresholdSphereBrushDynamic']
@@ -852,7 +851,7 @@ const toolbarButtons = [{
852
851
  }
853
852
  },
854
853
  options: [{
855
- name: 'Radius (mm)',
854
+ name: i18next/* default */.A.t('Buttons:Radius (mm)'),
856
855
  id: 'threshold-radius',
857
856
  type: 'range',
858
857
  explicitRunOnly: true,
@@ -867,16 +866,16 @@ const toolbarButtons = [{
867
866
  }
868
867
  }
869
868
  }, {
870
- name: 'Shape',
869
+ name: i18next/* default */.A.t('Buttons:Shape'),
871
870
  type: 'radio',
872
871
  id: 'threshold-shape',
873
872
  value: 'ThresholdCircularBrush',
874
873
  values: [{
875
874
  value: 'ThresholdCircularBrush',
876
- label: 'Circle'
875
+ label: i18next/* default */.A.t('Buttons:Circle')
877
876
  }, {
878
877
  value: 'ThresholdSphereBrush',
879
- label: 'Sphere'
878
+ label: i18next/* default */.A.t('Buttons:Sphere')
880
879
  }],
881
880
  commands: ({
882
881
  value,
@@ -895,16 +894,16 @@ const toolbarButtons = [{
895
894
  }
896
895
  }
897
896
  }, {
898
- name: 'Threshold',
897
+ name: i18next/* default */.A.t('Buttons:Threshold'),
899
898
  type: 'radio',
900
899
  id: 'dynamic-mode',
901
900
  value: 'ThresholdDynamic',
902
901
  values: [{
903
902
  value: 'ThresholdDynamic',
904
- label: 'Dynamic'
903
+ label: i18next/* default */.A.t('Buttons:Dynamic')
905
904
  }, {
906
905
  value: 'ThresholdRange',
907
- label: 'Range'
906
+ label: i18next/* default */.A.t('Buttons:Range')
908
907
  }],
909
908
  commands: ({
910
909
  value,
@@ -967,19 +966,19 @@ const toolbarButtons = [{
967
966
  }
968
967
  },
969
968
  options: [{
970
- name: 'Shape',
969
+ name: i18next/* default */.A.t('Buttons:Shape'),
971
970
  type: 'radio',
972
971
  value: 'CircleScissor',
973
972
  id: 'shape-mode',
974
973
  values: [{
975
974
  value: 'CircleScissor',
976
- label: 'Circle'
975
+ label: i18next/* default */.A.t('Buttons:Circle')
977
976
  }, {
978
977
  value: 'SphereScissor',
979
- label: 'Sphere'
978
+ label: i18next/* default */.A.t('Buttons:Sphere')
980
979
  }, {
981
980
  value: 'RectangleScissor',
982
- label: 'Rectangle'
981
+ label: i18next/* default */.A.t('Buttons:Rectangle')
983
982
  }],
984
983
  commands: 'setToolActiveToolbar'
985
984
  }]
@@ -1028,8 +1027,8 @@ const toolbarButtons = [{
1028
1027
  uiType: 'ohif.toolBoxButton',
1029
1028
  props: {
1030
1029
  icon: 'tool-labelmap-edit-with-contour',
1031
- label: 'Labelmap Edit with Contour Tool',
1032
- tooltip: 'Labelmap Edit with Contour Tool',
1030
+ label: i18next/* default */.A.t('Buttons:Labelmap Edit with Contour Tool'),
1031
+ tooltip: i18next/* default */.A.t('Buttons:Labelmap Edit with Contour Tool'),
1033
1032
  commands: ['setToolActiveToolbar', {
1034
1033
  commandName: 'activateSelectedSegmentationOfType',
1035
1034
  commandOptions: {
@@ -1490,44 +1489,44 @@ function modeFactory({
1490
1489
  servicesManager
1491
1490
  }) => {
1492
1491
  return {
1493
- id: basic_src.ohif.layout,
1492
+ id: basic_src/* ohif */.Dt.layout,
1494
1493
  props: {
1495
- leftPanels: [basic_src.ohif.thumbnailList],
1494
+ leftPanels: [basic_src/* ohif */.Dt.thumbnailList],
1496
1495
  leftPanelResizable: true,
1497
- rightPanels: [basic_src.cornerstone.labelMapSegmentationPanel, basic_src.cornerstone.contourSegmentationPanel],
1496
+ rightPanels: [basic_src/* cornerstone */.Nu.labelMapSegmentationPanel, basic_src/* cornerstone */.Nu.contourSegmentationPanel],
1498
1497
  rightPanelResizable: true,
1499
1498
  // leftPanelClosed: true,
1500
1499
  viewports: [{
1501
- namespace: basic_src.cornerstone.viewport,
1502
- displaySetsToDisplay: [basic_src.ohif.sopClassHandler]
1500
+ namespace: basic_src/* cornerstone */.Nu.viewport,
1501
+ displaySetsToDisplay: [basic_src/* ohif */.Dt.sopClassHandler]
1503
1502
  }, {
1504
- namespace: basic_src.segmentation.viewport,
1505
- displaySetsToDisplay: [basic_src.segmentation.sopClassHandler]
1503
+ namespace: basic_src/* segmentation */.b2.viewport,
1504
+ displaySetsToDisplay: [basic_src/* segmentation */.b2.sopClassHandler]
1506
1505
  }, {
1507
- namespace: basic_src.dicomRT.viewport,
1508
- displaySetsToDisplay: [basic_src.dicomRT.sopClassHandler]
1506
+ namespace: basic_src/* dicomRT */.V6.viewport,
1507
+ displaySetsToDisplay: [basic_src/* dicomRT */.V6.sopClassHandler]
1509
1508
  }]
1510
1509
  }
1511
1510
  };
1512
1511
  }
1513
1512
  }],
1514
1513
  /** List of extensions that are used by the mode */
1515
- extensions: basic_src.extensionDependencies,
1514
+ extensions: basic_src/* extensionDependencies */.tR,
1516
1515
  /** HangingProtocol used by the mode */
1517
1516
  // Commented out to just use the most applicable registered hanging protocol
1518
1517
  // The example is used for a grid layout to specify that as a preferred layout
1519
1518
  hangingProtocol: ['@ohif/mnGrid'],
1520
1519
  /** SopClassHandlers used by the mode */
1521
- sopClassHandlers: [basic_src.ohif.sopClassHandler, basic_src.segmentation.sopClassHandler, basic_src.dicomRT.sopClassHandler]
1520
+ sopClassHandlers: [basic_src/* ohif */.Dt.sopClassHandler, basic_src/* segmentation */.b2.sopClassHandler, basic_src/* dicomRT */.V6.sopClassHandler]
1522
1521
  };
1523
1522
  }
1524
1523
  const mode = {
1525
1524
  id: id,
1526
1525
  modeFactory,
1527
- extensionDependencies: basic_src.extensionDependencies
1526
+ extensionDependencies: basic_src/* extensionDependencies */.tR
1528
1527
  };
1529
1528
  /* harmony default export */ const segmentation_src = (mode);
1530
1529
 
1531
- /***/ })
1530
+ /***/ }
1532
1531
 
1533
1532
  }]);