@ohif/app 3.8.0-beta.3 → 3.8.0-beta.30
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/{12.bundle.9b2ef667aa885a578371.js → 12.bundle.48ee708331b38142c47c.js} +9 -11
- package/dist/{125.bundle.253395f320b72180da63.js → 125.bundle.df666cb677e5a8982157.js} +4 -5
- package/dist/{663.bundle.81cfb1c981897d109629.js → 170.bundle.38b187c9f7abe2dfb84d.js} +97 -89
- package/dist/{181.bundle.2ddc6f90740895a3949c.js → 181.bundle.ae92b8a551d041d06e90.js} +60 -72
- package/dist/181.css +1 -1
- package/dist/{370.bundle.4e319ff9104d8a89220d.js → 185.bundle.e3bcbc2c96dd51868295.js} +338 -209
- package/dist/{19.bundle.bbad00adaeb0c0f2da83.js → 19.bundle.08a41384953ab98fbf7d.js} +119 -134
- package/dist/{99.bundle.4ab1ada642b321733689.js → 199.bundle.2a998ffc15ffcc122e59.js} +215 -162
- package/dist/{202.bundle.d3490836f71e001dd30f.js → 202.bundle.0ca2f2479d2578f539b0.js} +349 -332
- package/dist/20fc4c659b85ccd2a9c0.wasm +0 -0
- package/dist/{220.bundle.f7e1c96c94245e70f2be.js → 223.bundle.d4ac6ef2cfe47a9c4afc.js} +4422 -3671
- package/dist/{23.bundle.e008ad788170f2ed5569.js → 23.bundle.9d989522a6e4fdcb9c72.js} +1 -1
- package/dist/{250.bundle.8084960e3318cda37317.js → 250.bundle.09c69d348a5d965debc8.js} +21 -26
- package/dist/{281.bundle.6f09a55f6fb6a0c6aa4e.js → 281.bundle.33ca053a4954a538b521.js} +23 -25
- package/dist/{359.bundle.7d24077b9b48c59ec571.js → 359.bundle.e53e83a1a90cecf70cb3.js} +26 -29
- package/dist/{410.bundle.7b96f751af0c666c9567.js → 410.bundle.30567596b262e047951a.js} +24 -28
- package/dist/{417.bundle.af0a207c29b109f84159.js → 417.bundle.5c66801d23d0e98c00e6.js} +2 -2
- package/dist/{451.bundle.9fd36f52ff69594f0669.js → 451.bundle.68a551a7d1746cf904cb.js} +28 -34
- package/dist/{82.bundle.5c4f2b25b65ae87c70e1.js → 456.bundle.fe30ae09d7a9936591a6.js} +1207 -662
- package/dist/{221.bundle.fd479ac26e9dc30d8314.js → 466.bundle.8622576a3d6310735b2f.js} +108 -144
- package/dist/{471.bundle.b3d77b83b1593c09a504.js → 471.bundle.5809b10f75c8fc2f7167.js} +29 -35
- package/dist/{788.bundle.ee6d5e927bb494147ada.js → 483.bundle.85c3ead1edaca231f6de.js} +131 -180
- package/dist/{757.bundle.ec8301d8e70d2b990f65.js → 485.bundle.5b6c33cc43d8f3470642.js} +9 -98
- package/dist/{506.bundle.b6e2450f9614b551fc99.js → 506.bundle.3c072a4f72c4d7a07c32.js} +13 -18
- package/dist/{530.bundle.a03b6f942ace3e1baa1e.js → 530.bundle.f904325ef4195d69ac0e.js} +10 -3
- package/dist/{957.bundle.9ea4506963ef8b2d84ba.js → 566.bundle.4840518afd323372c70f.js} +24751 -13727
- package/dist/{613.bundle.5f4a22d23c9091878e44.js → 613.bundle.26a981b3a01a8b444ade.js} +29 -27
- package/dist/{774.bundle.4b2dc46a35012b898e1a.js → 661.bundle.28ef6d8cd035876bd8e2.js} +1772 -8939
- package/dist/{686.bundle.dccef1f36e4bc79bcc48.js → 686.bundle.62c827fe4f0d054c164e.js} +4 -5
- package/dist/{687.bundle.2292faaee50cc4421488.js → 687.bundle.60ed47940e558d41e984.js} +19 -35
- package/dist/{342.bundle.ce0adc6253fcc6e2a0e7.js → 738.bundle.6501818304f8ce87ed61.js} +742 -503
- package/dist/{814.bundle.1debc907ccf495d4b4ca.js → 814.bundle.b9661e9acf9e6ba052f9.js} +9 -11
- package/dist/{822.bundle.891f2e57b1b7bc2f4cb4.js → 822.bundle.55759fd8e9b0b489cc6b.js} +14 -16
- package/dist/{886.bundle.4b3a7f2079d085fdbcb3.js → 886.bundle.4496fc7fb83b8c897d20.js} +20 -24
- package/dist/95.bundle.d7a9f450bed3b770504d.js +9002 -0
- package/dist/{236.bundle.0dac31b7539315606135.js → 965.bundle.06fb371211ed7b4b45d0.js} +104 -126
- package/dist/{app.bundle.abd0d9594a8e043568d4.js → app.bundle.431384e9f0df107cc122.js} +139808 -58799
- package/dist/app.bundle.css +11 -11
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/{dicom-microscopy-viewer.bundle.2c146384eb9466d02ff8.js → dicom-microscopy-viewer.bundle.a7d5060eead13771e784.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/{index.worker.e62ecca63f1a2e124230.worker.js → index.worker.64c896c4316fcd506666.worker.js} +2 -2
- package/dist/index.worker.64c896c4316fcd506666.worker.js.map +1 -0
- package/dist/serve.json +12 -0
- package/dist/sw.js +1 -1
- package/package.json +20 -20
- package/dist/604.bundle.a51f83e64004bca5f497.js +0 -1848
- package/dist/743.bundle.489f7df3a089d4d374e1.js +0 -78007
- package/dist/75788f12450d4c5ed494.wasm +0 -0
- package/dist/775.bundle.2285e7e0e67878948c0d.js +0 -1009
- package/dist/index.worker.e62ecca63f1a2e124230.worker.js.map +0 -1
- /package/dist/{82.css → 456.css} +0 -0
- /package/dist/{221.css → 466.css} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[613],{
|
|
3
3
|
|
|
4
4
|
/***/ 32613:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
@@ -20,8 +20,8 @@ const package_namespaceObject = JSON.parse('{"u2":"@ohif/mode-segmentation"}');
|
|
|
20
20
|
|
|
21
21
|
const id = package_namespaceObject.u2;
|
|
22
22
|
|
|
23
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
24
|
-
var ui_src = __webpack_require__(
|
|
23
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 486 modules
|
|
24
|
+
var ui_src = __webpack_require__(22582);
|
|
25
25
|
;// CONCATENATED MODULE: ../../../modes/segmentation/src/toolbarButtons.ts
|
|
26
26
|
|
|
27
27
|
|
|
@@ -381,10 +381,9 @@ const extensionDependencies = {
|
|
|
381
381
|
'@ohif/extension-cornerstone': '^3.0.0',
|
|
382
382
|
'@ohif/extension-cornerstone-dicom-seg': '^3.0.0'
|
|
383
383
|
};
|
|
384
|
-
function modeFactory(
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
} = _ref;
|
|
384
|
+
function modeFactory({
|
|
385
|
+
modeConfiguration
|
|
386
|
+
}) {
|
|
388
387
|
return {
|
|
389
388
|
/**
|
|
390
389
|
* Mode ID, which should be unique among modes used by the viewer. This ID
|
|
@@ -401,12 +400,11 @@ function modeFactory(_ref) {
|
|
|
401
400
|
* Runs when the Mode Route is mounted to the DOM. Usually used to initialize
|
|
402
401
|
* Services and other resources.
|
|
403
402
|
*/
|
|
404
|
-
onModeEnter:
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
} = _ref2;
|
|
403
|
+
onModeEnter: ({
|
|
404
|
+
servicesManager,
|
|
405
|
+
extensionManager,
|
|
406
|
+
commandsManager
|
|
407
|
+
}) => {
|
|
410
408
|
const {
|
|
411
409
|
measurementService,
|
|
412
410
|
toolbarService,
|
|
@@ -444,10 +442,9 @@ function modeFactory(_ref) {
|
|
|
444
442
|
toolbarService.addButtons(src_toolbarButtons);
|
|
445
443
|
toolbarService.createButtonSection('primary', ['Zoom', 'WindowLevel', 'Pan', 'Capture', 'Layout', 'MPR', 'Crosshairs', 'MoreTools']);
|
|
446
444
|
},
|
|
447
|
-
onModeExit:
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
} = _ref3;
|
|
445
|
+
onModeExit: ({
|
|
446
|
+
servicesManager
|
|
447
|
+
}) => {
|
|
451
448
|
const {
|
|
452
449
|
toolGroupService,
|
|
453
450
|
syncGroupService,
|
|
@@ -467,12 +464,18 @@ function modeFactory(_ref) {
|
|
|
467
464
|
},
|
|
468
465
|
/**
|
|
469
466
|
* A boolean return value that indicates whether the mode is valid for the
|
|
470
|
-
* modalities of the selected studies.
|
|
467
|
+
* modalities of the selected studies. Currently we don't have stack viewport
|
|
468
|
+
* segmentations and we should exclude them
|
|
471
469
|
*/
|
|
472
|
-
isValidMode:
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
470
|
+
isValidMode: ({
|
|
471
|
+
modalities
|
|
472
|
+
}) => {
|
|
473
|
+
// Don't show the mode if the selected studies have only one modality
|
|
474
|
+
// that is not supported by the mode
|
|
475
|
+
const modalitiesArray = modalities.split('\\');
|
|
476
|
+
if (modalitiesArray.length === 1) {
|
|
477
|
+
return !['SM', 'US', 'MG', 'OT', 'DOC', 'CR'].includes(modalitiesArray[0]);
|
|
478
|
+
}
|
|
476
479
|
return true;
|
|
477
480
|
},
|
|
478
481
|
/**
|
|
@@ -489,11 +492,10 @@ function modeFactory(_ref) {
|
|
|
489
492
|
*/
|
|
490
493
|
routes: [{
|
|
491
494
|
path: 'template',
|
|
492
|
-
layoutTemplate:
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
} = _ref5;
|
|
495
|
+
layoutTemplate: ({
|
|
496
|
+
location,
|
|
497
|
+
servicesManager
|
|
498
|
+
}) => {
|
|
497
499
|
return {
|
|
498
500
|
id: ohif.layout,
|
|
499
501
|
props: {
|