@ohif/app 3.8.0-beta.6 → 3.8.0-beta.60

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 (62) hide show
  1. package/dist/{220.bundle.f7e1c96c94245e70f2be.js → 109.bundle.b4fee2a22b622839baf5.js} +4466 -3715
  2. package/dist/{471.bundle.b3d77b83b1593c09a504.js → 121.bundle.ed23e7752a11005322e6.js} +47 -51
  3. package/dist/{19.bundle.f6ac71d29001b0db0ec0.js → 155.bundle.a089b4e1dd8a13064c21.js} +198 -207
  4. package/dist/{687.bundle.f87fb1a36ef1ca951690.js → 164.bundle.6f0b21868890158eda40.js} +22 -38
  5. package/dist/17dd54813d5acc10bf8f.wasm +0 -0
  6. package/dist/{506.bundle.06f5c5620d0088ec0102.js → 188.bundle.903a17abf035c26e672f.js} +23 -28
  7. package/dist/20fc4c659b85ccd2a9c0.wasm +0 -0
  8. package/dist/214.bundle.7f5beb123035a163bf85.js +122755 -0
  9. package/dist/{126.bundle.cefdf26c03a5ab8d60c8.js → 250.bundle.13a1f5d003a00c2b8694.js} +63 -69
  10. package/dist/{236.bundle.3148dc4715c254801727.js → 270.bundle.4e3cd0e72bbff21f9596.js} +156 -178
  11. package/dist/290.bundle.fdf51412462b919e2772.js +8883 -0
  12. package/dist/{451.bundle.9fd36f52ff69594f0669.js → 295.bundle.462f3328c716cbe6c613.js} +45 -59
  13. package/dist/{125.bundle.253395f320b72180da63.js → 297.bundle.81d63bb0b66d63df6d86.js} +7 -8
  14. package/dist/{957.bundle.9ea4506963ef8b2d84ba.js → 307.bundle.6e884b1c8766c69560bd.js} +14569 -27570
  15. package/dist/{613.bundle.a0eee4dc2d2764c2f7cd.js → 317.bundle.9d9acdf28d8dfd3ab39e.js} +83 -57
  16. package/dist/{788.bundle.af903bf0598f0ad618e3.js → 339.bundle.d514a9189b0bbdedac75.js} +190 -239
  17. package/dist/342.bundle.8f20bc9a1fa5fed22d2d.js +51866 -0
  18. package/dist/457.bundle.64785b282dc8c9b64c92.js +30200 -0
  19. package/dist/{221.bundle.3f5f700b4c1ee8b1ce94.js → 50.bundle.5f1ddd2697906f8bde6b.js} +199 -189
  20. package/dist/{886.bundle.d5116d9b8ea4964b68a0.js → 530.bundle.ce13c30b93a28cc85098.js} +40 -44
  21. package/dist/{250.bundle.8084960e3318cda37317.js → 544.bundle.3f48123a58d3bdc052f5.js} +39 -44
  22. package/dist/{663.bundle.e3539f14edf9214e07eb.js → 559.bundle.7426bb86db4352f1c401.js} +149 -141
  23. package/dist/{410.bundle.5e16274b1082de6e127e.js → 594.bundle.9eb2863c4d3fbe4120c5.js} +31 -35
  24. package/dist/{774.bundle.4b2dc46a35012b898e1a.js → 644.bundle.1e77691d2eeb96a423b0.js} +1852 -8945
  25. package/dist/{82.bundle.ae82f6434056c8d79fec.js → 68.bundle.7ca79597088a0784c4ee.js} +313 -324
  26. package/dist/{342.bundle.e485b92bd6d91bb7cc04.js → 704.bundle.9ecbe7b05ea278ef6ba8.js} +1128 -737
  27. package/dist/{359.bundle.dedb5b782335939bdc52.js → 724.bundle.46d9ce1eb6867cdd81c0.js} +34 -37
  28. package/dist/{757.bundle.ec8301d8e70d2b990f65.js → 726.bundle.2bdb443d1b5620d74e6e.js} +512 -879
  29. package/dist/{530.bundle.a03b6f942ace3e1baa1e.js → 835.bundle.15aff0b7433bb0dd6d6d.js} +37 -30
  30. package/dist/{822.bundle.891f2e57b1b7bc2f4cb4.js → 862.bundle.d20d6b2d29fd89bf2f83.js} +27 -29
  31. package/dist/{181.bundle.2ddc6f90740895a3949c.js → 889.bundle.d77bbd1805d4f0bd0565.js} +135 -107
  32. package/dist/{181.css → 889.css} +1 -1
  33. package/dist/{281.bundle.e4c37762343dc03e4fa0.js → 905.bundle.53a0daccf13d3e134ab9.js} +29 -31
  34. package/dist/{814.bundle.98e400df965d000d78e6.js → 907.bundle.b1f7dffcc6187de1b7ad.js} +16 -18
  35. package/dist/{417.bundle.af0a207c29b109f84159.js → 931.bundle.d270a1fda9a2836c3cc5.js} +26 -26
  36. package/dist/{686.bundle.dccef1f36e4bc79bcc48.js → 939.bundle.84ee0b844023d924a22b.js} +7 -8
  37. package/dist/{12.bundle.75c761bd89ad782675c8.js → 961.bundle.54abd182a494b2e1d8ec.js} +16 -18
  38. package/dist/{776.bundle.08eb381dc3d06708eb0f.js → 963.bundle.8110049ad01d956455a2.js} +1629 -845
  39. package/dist/app.bundle.css +11 -11
  40. package/dist/{app.bundle.eeb94536f34535b1153f.js → app.bundle.f783ca295d5aa9042c31.js} +142266 -61058
  41. package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
  42. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
  43. package/dist/{dicom-microscopy-viewer.bundle.2c146384eb9466d02ff8.js → dicom-microscopy-viewer.bundle.d3a56dc9f62df5e11019.js} +3 -3
  44. package/dist/index.html +1 -1
  45. package/dist/{index.worker.e62ecca63f1a2e124230.worker.js → index.worker.64c896c4316fcd506666.worker.js} +2 -2
  46. package/dist/index.worker.64c896c4316fcd506666.worker.js.map +1 -0
  47. package/dist/polySeg.bundle.cffa671e87c4c9110149.js +252 -0
  48. package/dist/serve.json +12 -0
  49. package/dist/sw.js +1 -1
  50. package/package.json +25 -22
  51. package/dist/202.bundle.d3490836f71e001dd30f.js +0 -6336
  52. package/dist/23.bundle.e008ad788170f2ed5569.js +0 -900
  53. package/dist/604.bundle.a51f83e64004bca5f497.js +0 -1848
  54. package/dist/743.bundle.489f7df3a089d4d374e1.js +0 -78007
  55. package/dist/75788f12450d4c5ed494.wasm +0 -0
  56. package/dist/775.bundle.2285e7e0e67878948c0d.js +0 -1009
  57. package/dist/index.worker.e62ecca63f1a2e124230.worker.js.map +0 -1
  58. /package/dist/{19.css → 155.css} +0 -0
  59. /package/dist/{579.css → 481.css} +0 -0
  60. /package/dist/{221.css → 50.css} +0 -0
  61. /package/dist/{250.css → 544.css} +0 -0
  62. /package/dist/{776.css → 963.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- (self["webpackChunk"] = self["webpackChunk"] || []).push([[359],{
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[724],{
3
3
 
4
- /***/ 22359:
4
+ /***/ 28724:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
  // ESM COMPAT FLAG
@@ -12,10 +12,10 @@ __webpack_require__.d(__webpack_exports__, {
12
12
  "default": () => (/* binding */ tmtv_src)
13
13
  });
14
14
 
15
- // EXTERNAL MODULE: ../../core/src/index.ts + 65 modules
16
- var src = __webpack_require__(71771);
17
- // EXTERNAL MODULE: ../../ui/src/index.js + 485 modules
18
- var ui_src = __webpack_require__(71783);
15
+ // EXTERNAL MODULE: ../../core/src/index.ts + 66 modules
16
+ var src = __webpack_require__(14283);
17
+ // EXTERNAL MODULE: ../../ui/src/index.js + 487 modules
18
+ var ui_src = __webpack_require__(55395);
19
19
  ;// CONCATENATED MODULE: ../../../modes/tmtv/src/initToolGroups.js
20
20
  const toolGroupIds = {
21
21
  CT: 'ctToolGroup',
@@ -25,7 +25,6 @@ const toolGroupIds = {
25
25
  default: 'default'
26
26
  // MPR: 'mpr',
27
27
  };
28
-
29
28
  function _initToolGroups(toolNames, Enums, toolGroupService, commandsManager) {
30
29
  const tools = {
31
30
  active: [{
@@ -112,7 +111,7 @@ function _initToolGroups(toolNames, Enums, toolGroupService, commandsManager) {
112
111
  active: [{
113
112
  toolName: toolNames.VolumeRotateMouseWheel,
114
113
  configuration: {
115
- rotateIncrementDegrees: 0.1
114
+ rotateIncrementDegrees: 5
116
115
  }
117
116
  }, {
118
117
  toolName: toolNames.MipJumpToClick,
@@ -284,7 +283,7 @@ const toolbarButtons = [
284
283
  },
285
284
  isAction: true,
286
285
  // ?
287
- renderer: ui_src/* WindowLevelMenuItem */.eJ,
286
+ renderer: ui_src/* WindowLevelMenuItem */.d4,
288
287
  items: [_createWwwcPreset(1, 'Soft tissue', '400 / 40'), _createWwwcPreset(2, 'Lung', '1500 / -600'), _createWwwcPreset(3, 'Liver', '150 / 90'), _createWwwcPreset(4, 'Bone', '2500 / 480'), _createWwwcPreset(5, 'Brain', '80 / 40')]
289
288
  }
290
289
  }, {
@@ -351,10 +350,10 @@ const toolbarButtons = [
351
350
  }];
352
351
  /* harmony default export */ const src_toolbarButtons = (toolbarButtons);
353
352
  ;// CONCATENATED MODULE: ../../../modes/tmtv/package.json
354
- const package_namespaceObject = JSON.parse('{"u2":"@ohif/mode-tmtv"}');
353
+ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-tmtv"}');
355
354
  ;// CONCATENATED MODULE: ../../../modes/tmtv/src/id.js
356
355
 
357
- const id = package_namespaceObject.u2;
356
+ const id = package_namespaceObject.UU;
358
357
 
359
358
  ;// CONCATENATED MODULE: ../../../modes/tmtv/src/utils/setCrosshairsConfiguration.js
360
359
 
@@ -404,6 +403,8 @@ function setFusionActiveVolume(matches, toolNames, toolGroupService, displaySetS
404
403
  toolGroupService.setToolConfiguration(toolGroupIds.Fusion, toolNames.WindowLevel, windowLevelConfig);
405
404
  toolGroupService.setToolConfiguration(toolGroupIds.Fusion, toolNames.EllipticalROI, ellipticalROIConfig);
406
405
  }
406
+ // EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
407
+ var i18next = __webpack_require__(92344);
407
408
  ;// CONCATENATED MODULE: ../../../modes/tmtv/src/index.js
408
409
 
409
410
 
@@ -411,6 +412,7 @@ function setFusionActiveVolume(matches, toolNames, toolGroupService, displaySetS
411
412
 
412
413
 
413
414
 
415
+
414
416
  const {
415
417
  MetadataProvider
416
418
  } = src.classes;
@@ -435,25 +437,23 @@ const extensionDependencies = {
435
437
  '@ohif/extension-tmtv': '^3.0.0'
436
438
  };
437
439
  let unsubscriptions = [];
438
- function modeFactory(_ref) {
439
- let {
440
- modeConfiguration
441
- } = _ref;
440
+ function modeFactory({
441
+ modeConfiguration
442
+ }) {
442
443
  return {
443
444
  // TODO: We're using this as a route segment
444
445
  // We should not be.
445
446
  id: id,
446
447
  routeName: 'tmtv',
447
- displayName: 'Total Metabolic Tumor Volume',
448
+ displayName: i18next/* default */.A.t('Modes:Total Metabolic Tumor Volume'),
448
449
  /**
449
450
  * Lifecycle hooks
450
451
  */
451
- onModeEnter: _ref2 => {
452
- let {
453
- servicesManager,
454
- extensionManager,
455
- commandsManager
456
- } = _ref2;
452
+ onModeEnter: ({
453
+ servicesManager,
454
+ extensionManager,
455
+ commandsManager
456
+ }) => {
457
457
  const {
458
458
  toolbarService,
459
459
  toolGroupService,
@@ -538,10 +538,9 @@ function modeFactory(_ref) {
538
538
  return;
539
539
  });
540
540
  },
541
- onModeExit: _ref3 => {
542
- let {
543
- servicesManager
544
- } = _ref3;
541
+ onModeExit: ({
542
+ servicesManager
543
+ }) => {
545
544
  const {
546
545
  toolGroupService,
547
546
  syncGroupService,
@@ -558,11 +557,10 @@ function modeFactory(_ref) {
558
557
  study: [],
559
558
  series: []
560
559
  },
561
- isValidMode: _ref4 => {
562
- let {
563
- modalities,
564
- study
565
- } = _ref4;
560
+ isValidMode: ({
561
+ modalities,
562
+ study
563
+ }) => {
566
564
  const modalities_list = modalities.split('\\');
567
565
  const invalidModalities = ['SM'];
568
566
  const isValid = modalities_list.includes('CT') && modalities_list.includes('PT') && !invalidModalities.some(modality => modalities_list.includes(modality)) &&
@@ -581,11 +579,10 @@ function modeFactory(_ref) {
581
579
  /*init: ({ servicesManager, extensionManager }) => {
582
580
  //defaultViewerRouteInit
583
581
  },*/
584
- layoutTemplate: _ref5 => {
585
- let {
586
- location,
587
- servicesManager
588
- } = _ref5;
582
+ layoutTemplate: ({
583
+ location,
584
+ servicesManager
585
+ }) => {
589
586
  return {
590
587
  id: ohif.layout,
591
588
  props: {
@@ -603,7 +600,7 @@ function modeFactory(_ref) {
603
600
  extensions: extensionDependencies,
604
601
  hangingProtocol: tmtv.hangingProtocol,
605
602
  sopClassHandlers: [ohif.sopClassHandler],
606
- hotkeys: [...src/* hotkeys */.dD.defaults.hotkeyBindings],
603
+ hotkeys: [...src/* hotkeys */.ot.defaults.hotkeyBindings],
607
604
  ...modeConfiguration
608
605
  };
609
606
  }