@ohif/app 3.9.0-beta.1 → 3.9.0-beta.3
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/{121.bundle.47f05840a5b3cdf75543.js → 121.bundle.b582314ec0024fdf2d15.js} +13 -8
- package/dist/{188.bundle.64cbb89e31abbf29a023.js → 243.bundle.96439f589bc338b977ea.js} +8 -8
- package/dist/{295.bundle.c935ed0430aa026f7591.js → 295.bundle.9926ff25c6dbf53845b1.js} +10 -6
- package/dist/{325.bundle.fee9192f88d50d6ce342.js → 325.bundle.98612a2afacf5d63b25a.js} +20 -18
- package/dist/{206.bundle.87e4481bb6a89230b7cf.js → 390.bundle.2751b81dbe439a40ba90.js} +14 -14
- package/dist/{448.bundle.75e67836d79e932aa18c.js → 448.bundle.70dc1363d8b2783dc51e.js} +33 -2
- package/dist/{487.bundle.fa9fc23fc410e1fa2efd.js → 487.bundle.b1a29dcf2b152693935d.js} +2 -2
- package/dist/{530.bundle.207b38c15c4c01e4db0e.js → 530.bundle.17b9a34fefff133e5379.js} +3 -3
- package/dist/{544.bundle.b005b8c8b9b08aaa3324.js → 544.bundle.e8227e98860e39636a00.js} +3 -3
- package/dist/{321.bundle.f32564ab711ebc0b4e86.js → 550.bundle.a2267752bc8874fedfd5.js} +21 -16
- package/dist/{574.bundle.8b2767c9b74fa0c9b04b.js → 574.bundle.72bd5061ccd504235419.js} +36 -45
- package/dist/{41.bundle.72b910ddbbd70b2f4c98.js → 682.bundle.ec07ec1bc2f69f9d0d94.js} +36 -5
- package/dist/{699.bundle.b50bfe586c0064d6fe8a.js → 699.bundle.2adb0c0ad7f7cb9e338a.js} +2 -2
- package/dist/{669.bundle.03a5bd6ba84103d03fdd.js → 721.bundle.a210baa38d34b9bcacfd.js} +73 -73
- package/dist/{724.bundle.c5b6e5542a4668715b33.js → 776.bundle.9680d347bafb63f8688a.js} +6 -6
- package/dist/{862.bundle.4a0bd82b803ba158018f.js → 862.bundle.55dde21bab4c841b6259.js} +1 -1
- package/dist/{889.bundle.89437e456d399b69abfd.js → 889.bundle.5611d644c8cb24f864ff.js} +11 -8
- package/dist/{905.bundle.7017e78259e57eda8915.js → 905.bundle.4105e428f61f925a310d.js} +14 -3
- package/dist/{907.bundle.6695db6c5f1906d48b81.js → 907.bundle.13dc5f4b5581d12562b8.js} +2 -2
- package/dist/{94.bundle.8411670658df7253a77a.js → 94.bundle.9b92ece5801a7df7d08c.js} +2 -2
- package/dist/{961.bundle.4aa46c7f78124df1a7cb.js → 961.bundle.2c81565fe334d6cd2f9c.js} +2 -2
- package/dist/{7.bundle.9c9caceecb366e3233ca.js → 981.bundle.a0fabcf9845c1a623990.js} +8 -8
- package/dist/{594.bundle.64b244e7dcfd3d6c8984.js → 989.bundle.bf6bc62794b717824f7e.js} +5 -5
- package/dist/{633.bundle.e2b7f645729f12ba0d78.js → 998.bundle.b8ffa2bc390d5d4edf16.js} +12 -9
- package/dist/{app.bundle.0c97d14d514173bc9fab.js → app.bundle.cbecae40543f47cc8c7e.js} +239 -317
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +17 -17
- /package/dist/{321.css → 550.css} +0 -0
- /package/dist/{783.bundle.2e302abe4156a13530f8.js → 783.bundle.126cd640a5fd49804d8e.js} +0 -0
- /package/dist/{633.css → 998.css} +0 -0
|
@@ -22,8 +22,8 @@ const id = package_namespaceObject.UU;
|
|
|
22
22
|
var react = __webpack_require__(41766);
|
|
23
23
|
// EXTERNAL MODULE: ../../ui/src/index.js + 785 modules
|
|
24
24
|
var src = __webpack_require__(5085);
|
|
25
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
26
|
-
var core_src = __webpack_require__(
|
|
25
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
26
|
+
var core_src = __webpack_require__(8633);
|
|
27
27
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
28
28
|
var es = __webpack_require__(80619);
|
|
29
29
|
// EXTERNAL MODULE: ../../../node_modules/mathjs/lib/esm/index.js + 996 modules
|
|
@@ -787,15 +787,15 @@ const MicroscopyService_EVENTS = {
|
|
|
787
787
|
* ROI annotations relevant to the application
|
|
788
788
|
*/
|
|
789
789
|
class MicroscopyService extends core_src/* PubSubService */.Rc {
|
|
790
|
-
constructor(
|
|
790
|
+
constructor(servicesManager) {
|
|
791
791
|
super(MicroscopyService_EVENTS);
|
|
792
|
-
this.
|
|
792
|
+
this.servicesManager = void 0;
|
|
793
793
|
this.managedViewers = new Set();
|
|
794
794
|
this.roiUids = new Set();
|
|
795
795
|
this.annotations = {};
|
|
796
796
|
this.selectedAnnotation = null;
|
|
797
797
|
this.pendingFocus = false;
|
|
798
|
-
this.
|
|
798
|
+
this.servicesManager = servicesManager;
|
|
799
799
|
this._onRoiAdded = this._onRoiAdded.bind(this);
|
|
800
800
|
this._onRoiModified = this._onRoiModified.bind(this);
|
|
801
801
|
this._onRoiRemoved = this._onRoiRemoved.bind(this);
|
|
@@ -1351,14 +1351,14 @@ class MicroscopyService extends core_src/* PubSubService */.Rc {
|
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
1353
|
_MicroscopyService = MicroscopyService;
|
|
1354
|
-
MicroscopyService.REGISTRATION =
|
|
1354
|
+
MicroscopyService.REGISTRATION = servicesManager => {
|
|
1355
1355
|
return {
|
|
1356
1356
|
name: 'microscopyService',
|
|
1357
1357
|
altName: 'MicroscopyService',
|
|
1358
1358
|
create: ({
|
|
1359
1359
|
configuration = {}
|
|
1360
1360
|
}) => {
|
|
1361
|
-
return new _MicroscopyService(
|
|
1361
|
+
return new _MicroscopyService(servicesManager);
|
|
1362
1362
|
}
|
|
1363
1363
|
};
|
|
1364
1364
|
};
|
|
@@ -2576,7 +2576,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
2576
2576
|
|
|
2577
2577
|
|
|
2578
2578
|
const Component = /*#__PURE__*/react.lazy(() => {
|
|
2579
|
-
return Promise.all(/* import() */[__webpack_require__.e(806), __webpack_require__.e(473), __webpack_require__.e(483), __webpack_require__.e(236), __webpack_require__.e(644), __webpack_require__.e(931), __webpack_require__.e(
|
|
2579
|
+
return Promise.all(/* import() */[__webpack_require__.e(806), __webpack_require__.e(473), __webpack_require__.e(483), __webpack_require__.e(236), __webpack_require__.e(644), __webpack_require__.e(931), __webpack_require__.e(390), __webpack_require__.e(544)]).then(__webpack_require__.bind(__webpack_require__, 17919));
|
|
2580
2580
|
});
|
|
2581
2581
|
const MicroscopyViewport = props => {
|
|
2582
2582
|
return /*#__PURE__*/react.createElement(react.Suspense, {
|
|
@@ -2665,6 +2665,9 @@ const extension = {
|
|
|
2665
2665
|
microscopyService
|
|
2666
2666
|
} = servicesManager.services;
|
|
2667
2667
|
const activeInteractions = microscopyService.getActiveInteractions();
|
|
2668
|
+
if (!activeInteractions) {
|
|
2669
|
+
return false;
|
|
2670
|
+
}
|
|
2668
2671
|
const isPrimaryActive = activeInteractions.find(interactions => {
|
|
2669
2672
|
const sameMouseButton = interactions[1].bindings.mouseButtons.includes('left');
|
|
2670
2673
|
if (!sameMouseButton) {
|
|
@@ -13,8 +13,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13
13
|
"default": () => (/* binding */ microscopy_src)
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
17
|
-
var src = __webpack_require__(
|
|
16
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
17
|
+
var src = __webpack_require__(8633);
|
|
18
18
|
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
19
19
|
var i18next = __webpack_require__(92344);
|
|
20
20
|
;// CONCATENATED MODULE: ../../../modes/microscopy/package.json
|
|
@@ -160,6 +160,17 @@ const toolbarButtons = [{
|
|
|
160
160
|
}],
|
|
161
161
|
evaluate: 'evaluate.microscopyTool'
|
|
162
162
|
}
|
|
163
|
+
}, {
|
|
164
|
+
id: 'TagBrowser',
|
|
165
|
+
uiType: 'ohif.radioGroup',
|
|
166
|
+
props: {
|
|
167
|
+
icon: 'dicom-tag-browser',
|
|
168
|
+
label: 'Dicom Tag Browser',
|
|
169
|
+
commands: [{
|
|
170
|
+
commandName: 'openDICOMTagViewer'
|
|
171
|
+
}],
|
|
172
|
+
evaluate: 'evaluate.action'
|
|
173
|
+
}
|
|
163
174
|
}];
|
|
164
175
|
/* harmony default export */ const src_toolbarButtons = (toolbarButtons);
|
|
165
176
|
;// CONCATENATED MODULE: ../../../modes/microscopy/src/index.tsx
|
|
@@ -215,7 +226,7 @@ function modeFactory({
|
|
|
215
226
|
toolbarService
|
|
216
227
|
} = servicesManager.services;
|
|
217
228
|
toolbarService.addButtons(src_toolbarButtons);
|
|
218
|
-
toolbarService.createButtonSection('primary', ['MeasurementTools', 'dragPan']);
|
|
229
|
+
toolbarService.createButtonSection('primary', ['MeasurementTools', 'dragPan', 'TagBrowser']);
|
|
219
230
|
},
|
|
220
231
|
onModeExit: ({
|
|
221
232
|
servicesManager
|
|
@@ -21,8 +21,8 @@ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-
|
|
|
21
21
|
const id = package_namespaceObject.UU;
|
|
22
22
|
const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-pdf`;
|
|
23
23
|
|
|
24
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
25
|
-
var src = __webpack_require__(
|
|
24
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
25
|
+
var src = __webpack_require__(8633);
|
|
26
26
|
;// CONCATENATED MODULE: ../../../extensions/dicom-pdf/src/getSopClassHandlerModule.js
|
|
27
27
|
|
|
28
28
|
|
|
@@ -18,8 +18,8 @@ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/mode-precl
|
|
|
18
18
|
|
|
19
19
|
const id = package_namespaceObject.UU;
|
|
20
20
|
|
|
21
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
22
|
-
var src = __webpack_require__(
|
|
21
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
22
|
+
var src = __webpack_require__(8633);
|
|
23
23
|
;// CONCATENATED MODULE: ../../../modes/preclinical-4d/src/getWorkflowSettings.ts
|
|
24
24
|
const dynamicVolume = {
|
|
25
25
|
sopClassHandler: '@ohif/extension-cornerstone-dynamic-volume.sopClassHandlerModule.dynamic-volume',
|
|
@@ -21,8 +21,8 @@ const package_namespaceObject = /*#__PURE__*/JSON.parse('{"UU":"@ohif/extension-
|
|
|
21
21
|
const id = package_namespaceObject.UU;
|
|
22
22
|
const SOPClassHandlerId = `${id}.sopClassHandlerModule.dicom-video`;
|
|
23
23
|
|
|
24
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
25
|
-
var src = __webpack_require__(
|
|
24
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
25
|
+
var src = __webpack_require__(8633);
|
|
26
26
|
;// CONCATENATED MODULE: ../../../extensions/dicom-video/src/getSopClassHandlerModule.js
|
|
27
27
|
|
|
28
28
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[981],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 93981:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -725,8 +725,8 @@ var prop_types = __webpack_require__(11374);
|
|
|
725
725
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
726
726
|
// EXTERNAL MODULE: ../../ui/src/index.js + 785 modules
|
|
727
727
|
var src = __webpack_require__(5085);
|
|
728
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
729
|
-
var core_src = __webpack_require__(
|
|
728
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
729
|
+
var core_src = __webpack_require__(8633);
|
|
730
730
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
731
731
|
var es = __webpack_require__(80619);
|
|
732
732
|
;// CONCATENATED MODULE: ../../../extensions/tmtv/src/Panels/PanelPetSUV.tsx
|
|
@@ -1529,7 +1529,7 @@ function dicomRTAnnotationExport(annotations) {
|
|
|
1529
1529
|
;// CONCATENATED MODULE: ../../../extensions/tmtv/src/utils/dicomRTAnnotationExport/RTStructureSet/index.js
|
|
1530
1530
|
|
|
1531
1531
|
/* harmony default export */ const RTStructureSet = (dicomRTAnnotationExport);
|
|
1532
|
-
;// CONCATENATED MODULE: ../../../extensions/tmtv/src/commandsModule.
|
|
1532
|
+
;// CONCATENATED MODULE: ../../../extensions/tmtv/src/commandsModule.ts
|
|
1533
1533
|
|
|
1534
1534
|
|
|
1535
1535
|
|
|
@@ -1864,7 +1864,7 @@ const commandsModule = ({
|
|
|
1864
1864
|
const referencedScalarData = esm.cache.getVolume(labelmap.referencedVolumeId).getScalarData();
|
|
1865
1865
|
let segmentationMax = -Infinity;
|
|
1866
1866
|
let segmentationMin = Infinity;
|
|
1867
|
-
|
|
1867
|
+
const segmentationValues = [];
|
|
1868
1868
|
let voxelCount = 0;
|
|
1869
1869
|
for (let i = 0; i < scalarData.length; i++) {
|
|
1870
1870
|
if (scalarData[i] === segmentIndex) {
|
|
@@ -2060,7 +2060,7 @@ const commandsModule = ({
|
|
|
2060
2060
|
if (!segmentations || !segmentations.length) {
|
|
2061
2061
|
segmentations = segmentationService.getSegmentations();
|
|
2062
2062
|
}
|
|
2063
|
-
|
|
2063
|
+
const report = {};
|
|
2064
2064
|
for (const segmentation of segmentations) {
|
|
2065
2065
|
const {
|
|
2066
2066
|
id,
|
|
@@ -2138,7 +2138,7 @@ const commandsModule = ({
|
|
|
2138
2138
|
return;
|
|
2139
2139
|
}
|
|
2140
2140
|
const fusionViewportIds = toolGroup.getViewportIds();
|
|
2141
|
-
|
|
2141
|
+
const viewports = [];
|
|
2142
2142
|
fusionViewportIds.forEach(viewportId => {
|
|
2143
2143
|
commandsManager.runCommand('setViewportColormap', {
|
|
2144
2144
|
viewportId,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[989],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 50989:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -14,8 +14,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
14
14
|
|
|
15
15
|
// EXTERNAL MODULE: ../../ui/src/index.js + 785 modules
|
|
16
16
|
var src = __webpack_require__(5085);
|
|
17
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
18
|
-
var core_src = __webpack_require__(
|
|
17
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
18
|
+
var core_src = __webpack_require__(8633);
|
|
19
19
|
;// CONCATENATED MODULE: ../../../modes/basic-dev-mode/src/toolbarButtons.js
|
|
20
20
|
|
|
21
21
|
|
|
@@ -235,7 +235,7 @@ const id = package_namespaceObject.UU;
|
|
|
235
235
|
|
|
236
236
|
// EXTERNAL MODULE: ../../../node_modules/i18next/dist/esm/i18next.js
|
|
237
237
|
var i18next = __webpack_require__(92344);
|
|
238
|
-
;// CONCATENATED MODULE: ../../../modes/basic-dev-mode/src/index.
|
|
238
|
+
;// CONCATENATED MODULE: ../../../modes/basic-dev-mode/src/index.ts
|
|
239
239
|
|
|
240
240
|
|
|
241
241
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[998,481],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 32009:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -22,8 +22,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.${SOPClassHandlerName}`;
|
|
|
22
22
|
|
|
23
23
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
24
24
|
var react = __webpack_require__(41766);
|
|
25
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
26
|
-
var src = __webpack_require__(
|
|
25
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
26
|
+
var src = __webpack_require__(8633);
|
|
27
27
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 28 modules
|
|
28
28
|
var esm = __webpack_require__(92136);
|
|
29
29
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js
|
|
@@ -45,7 +45,7 @@ function dicomlabToRGB(cielab) {
|
|
|
45
45
|
return rgb;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-seg/src/getSopClassHandlerModule.
|
|
48
|
+
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-seg/src/getSopClassHandlerModule.ts
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
|
@@ -53,7 +53,7 @@ function dicomlabToRGB(cielab) {
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
const sopClassUids = ['1.2.840.10008.5.1.4.1.1.66.4'];
|
|
56
|
-
|
|
56
|
+
const loadPromises = {};
|
|
57
57
|
function _getDisplaySetsFromSeries(instances, servicesManager, extensionManager) {
|
|
58
58
|
const instance = instances[0];
|
|
59
59
|
const {
|
|
@@ -318,7 +318,7 @@ var state = __webpack_require__(15575);
|
|
|
318
318
|
// EXTERNAL MODULE: ../../ui/src/index.js + 785 modules
|
|
319
319
|
var ui_src = __webpack_require__(5085);
|
|
320
320
|
// EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 85 modules
|
|
321
|
-
var default_src = __webpack_require__(
|
|
321
|
+
var default_src = __webpack_require__(47390);
|
|
322
322
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
323
323
|
var prop_types = __webpack_require__(11374);
|
|
324
324
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
@@ -1267,9 +1267,12 @@ const commandsModule = ({
|
|
|
1267
1267
|
// Generate fake metadata as an example
|
|
1268
1268
|
labelmapObj.metadata = [];
|
|
1269
1269
|
const segmentationInOHIF = segmentationService.getSegmentation(segmentationId);
|
|
1270
|
-
|
|
1270
|
+
segmentationInOHIF.segments.forEach(segment => {
|
|
1271
1271
|
// segmentation service already has a color for each segment
|
|
1272
|
-
|
|
1272
|
+
if (!segment) {
|
|
1273
|
+
return;
|
|
1274
|
+
}
|
|
1275
|
+
const segmentIndex = segment.segmentIndex;
|
|
1273
1276
|
const {
|
|
1274
1277
|
label,
|
|
1275
1278
|
color
|