@ohif/app 3.8.0-beta.65 → 3.8.0-beta.67

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 (66) hide show
  1. package/dist/{121.bundle.fda405f29003c308ce09.js → 121.bundle.d8b3c6b530d6151f251d.js} +52 -75
  2. package/dist/{155.bundle.a57744809d0f46030ee0.js → 155.bundle.a2b8640977007e407d30.js} +7 -16
  3. package/dist/{188.bundle.c448aed48915741e9f97.js → 188.bundle.b6a7e833fdf99cee3ee6.js} +2 -2
  4. package/dist/{191.bundle.4850ab82949bb6f0eb73.js → 191.bundle.7d89c921abefd1140d50.js} +29 -8
  5. package/dist/{295.bundle.57700cd41fd87e1521b4.js → 295.bundle.075944a082306d2e432f.js} +75 -86
  6. package/dist/{41.bundle.58b85dd990fb6fac615e.js → 41.bundle.1c504116ebea23b157f6.js} +10 -50
  7. package/dist/{448.bundle.d195aba3aef25ec286d1.js → 448.bundle.f284c88c8780233e06b1.js} +7 -15
  8. package/dist/494.bundle.ffd75704a069c0720596.js +2565 -0
  9. package/dist/{530.bundle.72d9812f117036615a38.js → 530.bundle.aaf1c61342805ff32648.js} +41 -67
  10. package/dist/{544.bundle.c3009e245ceb1554c70a.js → 544.bundle.33ed8e4a3eaf16b55af7.js} +4 -4
  11. package/dist/{559.bundle.05bd51e94422a2cab116.js → 559.bundle.601f9e285f6b3b4d1ac5.js} +4 -4
  12. package/dist/{889.bundle.ffc727aa6d1a74f2138d.js → 574.bundle.c79d3fa0066f39b76442.js} +1005 -49
  13. package/dist/{594.bundle.14b122ab995e4b13e652.js → 594.bundle.49d072fb31c8994ae85f.js} +4 -4
  14. package/dist/{701.bundle.bc40f1a7d5d6b1a4dd38.js → 595.bundle.7a41a0998ab07dfa0212.js} +958 -66
  15. package/dist/{638.bundle.a63003e18bed65f227bb.js → 638.bundle.4c2972aa5a19f816d94a.js} +4 -4
  16. package/dist/{699.bundle.efc67171e6d212f25a24.js → 699.bundle.43997eacac9490c1751c.js} +7 -21
  17. package/dist/{724.bundle.3945f8d2e9c8b0b23628.js → 724.bundle.00e619f0960de50c8e19.js} +22 -57
  18. package/dist/{862.bundle.d787dac01f4567560a42.js → 862.bundle.1f1613561a4d6059a8aa.js} +64 -83
  19. package/dist/{270.bundle.16ac8114c5c4ce006f4a.js → 889.bundle.2daaac42e278b28b3d01.js} +5 -5
  20. package/dist/{90.bundle.abde898ebd3c74f521f9.js → 90.bundle.ce42cccceaec1135a165.js} +39 -34
  21. package/dist/{905.bundle.6b5b42b2403e4676bb3a.js → 905.bundle.af59bd2bcb04c4978059.js} +2 -2
  22. package/dist/{907.bundle.fbd5768fa5b53f9d3f86.js → 907.bundle.401a07f50863efc6c6c1.js} +2 -2
  23. package/dist/{961.bundle.8bb5a713fc5a3817c6a6.js → 961.bundle.fdf0e1c0c54cfb2a952a.js} +2 -2
  24. package/dist/{987.bundle.91d4867efedd5b4d84cb.js → 987.bundle.6bdfb3cd8762b8889632.js} +27 -7
  25. package/dist/{app.bundle.0c24b249dc8b631916ef.js → app.bundle.aadaff7af8cd415a1eae.js} +1818 -644
  26. package/dist/app.bundle.css +6 -4
  27. package/dist/assets/images/CT-AAA.png +0 -0
  28. package/dist/assets/images/CT-AAA2.png +0 -0
  29. package/dist/assets/images/CT-Air.png +0 -0
  30. package/dist/assets/images/CT-Bone.png +0 -0
  31. package/dist/assets/images/CT-Bones.png +0 -0
  32. package/dist/assets/images/CT-Cardiac.png +0 -0
  33. package/dist/assets/images/CT-Cardiac2.png +0 -0
  34. package/dist/assets/images/CT-Cardiac3.png +0 -0
  35. package/dist/assets/images/CT-Chest-Contrast-Enhanced.png +0 -0
  36. package/dist/assets/images/CT-Chest-Vessels.png +0 -0
  37. package/dist/assets/images/CT-Coronary-Arteries-2.png +0 -0
  38. package/dist/assets/images/CT-Coronary-Arteries-3.png +0 -0
  39. package/dist/assets/images/CT-Coronary-Arteries.png +0 -0
  40. package/dist/assets/images/CT-Cropped-Volume-Bone.png +0 -0
  41. package/dist/assets/images/CT-Fat.png +0 -0
  42. package/dist/assets/images/CT-Liver-Vasculature.png +0 -0
  43. package/dist/assets/images/CT-Lung.png +0 -0
  44. package/dist/assets/images/CT-MIP.png +0 -0
  45. package/dist/assets/images/CT-Muscle.png +0 -0
  46. package/dist/assets/images/CT-Pulmonary-Arteries.png +0 -0
  47. package/dist/assets/images/CT-Soft-Tissue.png +0 -0
  48. package/dist/assets/images/DTI-FA-Brain.png +0 -0
  49. package/dist/assets/images/MR-Angio.png +0 -0
  50. package/dist/assets/images/MR-Default.png +0 -0
  51. package/dist/assets/images/MR-MIP.png +0 -0
  52. package/dist/assets/images/MR-T2-Brain.png +0 -0
  53. package/dist/assets/images/VolumeRendering.png +0 -0
  54. package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
  55. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
  56. package/dist/index.html +1 -1
  57. package/dist/{polySeg.bundle.c1cec6312eb6c6dc3701.js → polySeg.bundle.e7b4c29fb9173e8567b8.js} +1 -1
  58. package/dist/sw.js +1 -1
  59. package/package.json +18 -18
  60. package/dist/339.bundle.57dac3644803cefe3e3d.js +0 -2591
  61. /package/dist/{164.bundle.ff12d6019a627cda2a6c.js → 164.bundle.ce3d1cd75bd8e13791d7.js} +0 -0
  62. /package/dist/{290.bundle.8b4d7dfbc7cfe418a0f1.js → 290.bundle.952de53057f98e2c5ef0.js} +0 -0
  63. /package/dist/{342.bundle.a039c24e9f661f3b884d.js → 342.bundle.6e49f63ea7cea4645c0a.js} +0 -0
  64. /package/dist/{504.bundle.aa165082e2acc5ccf080.js → 504.bundle.993d7e2dec36257d4ce4.js} +0 -0
  65. /package/dist/{889.css → 574.css} +0 -0
  66. /package/dist/{701.css → 595.css} +0 -0
@@ -15,8 +15,8 @@ __webpack_require__.d(__webpack_exports__, {
15
15
  toolbarButtons: () => (/* reexport */ src_toolbarButtons)
16
16
  });
17
17
 
18
- // EXTERNAL MODULE: ../../core/src/index.ts + 67 modules
19
- var src = __webpack_require__(78198);
18
+ // EXTERNAL MODULE: ../../core/src/index.ts + 68 modules
19
+ var src = __webpack_require__(85073);
20
20
  // EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
21
21
  var i18next = __webpack_require__(92344);
22
22
  ;// CONCATENATED MODULE: ../../../modes/longitudinal/package.json
@@ -268,8 +268,6 @@ function initToolGroups(extensionManager, toolGroupService, commandsManager) {
268
268
  initVolume3DToolGroup(extensionManager, toolGroupService);
269
269
  }
270
270
  /* harmony default export */ const src_initToolGroups = (initToolGroups);
271
- // EXTERNAL MODULE: ../../ui/src/index.js + 497 modules
272
- var ui_src = __webpack_require__(58046);
273
271
  ;// CONCATENATED MODULE: ../../../modes/longitudinal/src/toolbarButtons.ts
274
272
  // TODO: torn, can either bake this here; or have to create a whole new button type
275
273
  // Only ways that you can pass in a custom React component for render :l
@@ -281,27 +279,6 @@ const {
281
279
  const {
282
280
  createButton
283
281
  } = src.ToolbarService;
284
-
285
- /**
286
- *
287
- * @param {*} preset - preset number (from above import)
288
- * @param {*} title
289
- * @param {*} subtitle
290
- */
291
- function _createWwwcPreset(preset, title, subtitle) {
292
- return {
293
- id: preset.toString(),
294
- title,
295
- subtitle,
296
- commands: [{
297
- commandName: 'setWindowLevel',
298
- commandOptions: {
299
- ...windowLevelPresets[preset]
300
- },
301
- context: 'CORNERSTONE'
302
- }]
303
- };
304
- }
305
282
  const setToolActiveToolbar = {
306
283
  commandName: 'setToolActiveToolbar',
307
284
  commandOptions: {
@@ -374,27 +351,15 @@ const toolbarButtons = [{
374
351
  evaluate: 'evaluate.cornerstoneTool'
375
352
  }
376
353
  },
377
- // Window Level + Presets...
354
+ // Window Level
378
355
  {
379
356
  id: 'WindowLevel',
380
- uiType: 'ohif.splitButton',
357
+ uiType: 'ohif.radioGroup',
381
358
  props: {
382
- groupId: 'WindowLevel',
383
- primary: createButton({
384
- id: 'WindowLevel',
385
- icon: 'tool-window-level',
386
- label: 'Window Level',
387
- tooltip: 'Window Level',
388
- commands: setToolActiveToolbar,
389
- evaluate: 'evaluate.cornerstoneTool'
390
- }),
391
- secondary: {
392
- icon: 'chevron-down',
393
- label: 'W/L Manual',
394
- tooltip: 'W/L Presets'
395
- },
396
- renderer: ui_src/* WindowLevelMenuItem */.d4,
397
- 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')]
359
+ icon: 'tool-window-level',
360
+ label: 'Window Level',
361
+ commands: setToolActiveToolbar,
362
+ evaluate: 'evaluate.cornerstoneTool'
398
363
  }
399
364
  },
400
365
  // Pan...
@@ -424,9 +389,7 @@ const toolbarButtons = [{
424
389
  props: {
425
390
  icon: 'tool-capture',
426
391
  label: 'Capture',
427
- commands: [{
428
- commandName: 'showDownloadViewportModal'
429
- }],
392
+ commands: 'showDownloadViewportModal',
430
393
  evaluate: 'evaluate.action'
431
394
  }
432
395
  }, {
@@ -435,10 +398,7 @@ const toolbarButtons = [{
435
398
  props: {
436
399
  rows: 3,
437
400
  columns: 4,
438
- evaluate: 'evaluate.action',
439
- commands: [{
440
- commandName: 'setViewportGridLayout'
441
- }]
401
+ evaluate: 'evaluate.action'
442
402
  }
443
403
  }, {
444
404
  id: 'Crosshairs',
@@ -12,10 +12,10 @@ __webpack_require__.d(__webpack_exports__, {
12
12
  "default": () => (/* binding */ basic_test_mode_src)
13
13
  });
14
14
 
15
- // EXTERNAL MODULE: ../../core/src/index.ts + 67 modules
16
- var src = __webpack_require__(78198);
17
- // EXTERNAL MODULE: ../../ui/src/index.js + 497 modules
18
- var ui_src = __webpack_require__(58046);
15
+ // EXTERNAL MODULE: ../../core/src/index.ts + 68 modules
16
+ var src = __webpack_require__(85073);
17
+ // EXTERNAL MODULE: ../../ui/src/index.js + 519 modules
18
+ var ui_src = __webpack_require__(3962);
19
19
  ;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/toolbarButtons.ts
20
20
  // TODO: torn, can either bake this here; or have to create a whole new button type
21
21
  // Only ways that you can pass in a custom React component for render :l
@@ -120,7 +120,7 @@ const toolbarButtons = [{
120
120
  evaluate: 'evaluate.cornerstoneTool'
121
121
  }
122
122
  },
123
- // Window Level + Presets...
123
+ // Window Level
124
124
  {
125
125
  id: 'WindowLevel',
126
126
  uiType: 'ohif.splitButton',
@@ -175,13 +175,7 @@ const toolbarButtons = [{
175
175
  type: 'tool',
176
176
  icon: 'tool-3d-rotate',
177
177
  label: '3D Rotate',
178
- commands: [{
179
- commandName: 'setToolActive',
180
- commandOptions: {
181
- toolName: 'TrackBallRotate'
182
- },
183
- context: 'CORNERSTONE'
184
- }]
178
+ commands: setToolActiveToolbar
185
179
  }
186
180
  }, {
187
181
  id: 'Capture',
@@ -189,9 +183,7 @@ const toolbarButtons = [{
189
183
  props: {
190
184
  icon: 'tool-capture',
191
185
  label: 'Capture',
192
- commands: [{
193
- commandName: 'showDownloadViewportModal'
194
- }],
186
+ commands: 'showDownloadViewportModal',
195
187
  evaluate: 'evaluate.action'
196
188
  }
197
189
  }, {