@ohif/app 3.8.0-beta.85 → 3.8.0-beta.87
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/117.bundle.a5e6959bf225da5cf4ed.js +6552 -0
- package/dist/164.bundle.96c0518b435ea19ef8c4.js +11816 -0
- package/dist/{433.bundle.c92d3f716a797127c1be.js → 203.bundle.846a90d1ede185c941b0.js} +4765 -6951
- package/dist/{206.bundle.f944f8146169a6867103.js → 206.bundle.096c1d86defe1cf7e9ae.js} +26 -16
- package/dist/{183.bundle.fd870b9c566be6b8de8d.js → 236.bundle.fb6c65ae3a5aa0c58727.js} +17552 -23647
- package/dist/{321.bundle.eee08c35b8ae9177aef8.js → 321.bundle.7d6d0ead9384fcb67a5c.js} +21 -33
- package/dist/{325.bundle.3a548f7563cf7f4fa0c3.js → 325.bundle.357db826733b5379bd1d.js} +3 -2
- package/dist/{342.bundle.8c74ac4c7871bd4a6f60.js → 342.bundle.36ee082163b01284eeba.js} +1 -1
- package/dist/{41.bundle.0bbfc8b185335a6af3d2.js → 41.bundle.2f52dafa60516e97cd03.js} +6 -6
- package/dist/{217.bundle.c8c6e6cc3a615ceb5db3.js → 416.bundle.837e0b84baddd2193d67.js} +61666 -70479
- package/dist/{448.bundle.1c84f0bdf33114ffaa23.js → 448.bundle.7c47e50e0db23eeace58.js} +6 -6
- package/dist/473.bundle.f6804e7ac014a561eff8.js +7256 -0
- package/dist/483.bundle.9263b25c34b349aae80e.js +2287 -0
- package/dist/{487.bundle.1e939666fcf482a3f483.js → 487.bundle.adf730aff4ec37332b88.js} +7 -7
- package/dist/{544.bundle.80c013bb477a263bcf10.js → 544.bundle.1b6998bb61d6f8f88da9.js} +2 -2
- package/dist/{574.bundle.9919f94ea252d4a45aaf.js → 574.bundle.d6f15a036af7ecaf82f9.js} +4 -4
- package/dist/{633.bundle.7df396e5ce55038d73f8.js → 633.bundle.ad22fd57eb95ee5f056a.js} +7 -6
- package/dist/{669.bundle.7a2e02cf4a5ddd9f93d0.js → 669.bundle.796543c57c658097fe75.js} +9 -9
- package/dist/{699.bundle.c61a6ee18edaa82bbcb8.js → 699.bundle.4d75ac5add81a2e4ef3b.js} +4 -4
- package/dist/{335.bundle.40079fc4db9cd9e1ea25.js → 7.bundle.ea90a6f6f1d4ab030dfb.js} +185 -228
- package/dist/{722.bundle.2ee939850f552481d21f.js → 722.bundle.05e8759e64d484f4554d.js} +5 -3
- package/dist/{724.bundle.4b4c12fd4021b8e731c8.js → 724.bundle.275035c2002c8fd78471.js} +234 -7
- package/dist/{726.bundle.0b3d9277d22fe7e15b89.js → 726.bundle.c8de818cf1a3ff0cf7d2.js} +2 -2
- package/dist/{164.bundle.1b5c53db66679bcafad8.js → 783.bundle.b28ae6b134602470e2f1.js} +1 -1
- package/dist/{835.bundle.15aff0b7433bb0dd6d6d.js → 835.bundle.4c0eaa2c1a427ee41817.js} +2 -2
- package/dist/{862.bundle.217ce894d955626c78c5.js → 862.bundle.4be5d148c2b1adf4dbf3.js} +2 -2
- package/dist/{889.bundle.3f2ce46ff0852cd05e2d.js → 889.bundle.1a646aa901e073328cad.js} +1 -1
- package/dist/{94.bundle.258d632602d599e426a9.js → 94.bundle.d6749c52eb6327bd45de.js} +4 -4
- package/dist/{app.bundle.6173c1de2db725433585.js → app.bundle.177823343bc7e2b039a2.js} +44214 -42080
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.f75afca9b957abed095e.js → polySeg.bundle.43bf3490e07982491e2b.js} +3 -3
- package/dist/suv-peak-worker.bundle.1f9b9e6887eebc07c50a.js +404 -0
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- /package/dist/{188.bundle.382a4f6122f36663fe1b.js → 188.bundle.bef5c8babdde7064bdbe.js} +0 -0
- /package/dist/{594.bundle.a92b4affca5dd5a19008.js → 594.bundle.9a7fd38c5fc9823216e5.js} +0 -0
- /package/dist/{905.bundle.353dbb336dd069f813fc.js → 905.bundle.36ce5f219e58ff9ddf9b.js} +0 -0
- /package/dist/{907.bundle.b18e66ce363df0b55c58.js → 907.bundle.64fa9f550bd239e92346.js} +0 -0
- /package/dist/{961.bundle.c2fd81693f7f1a075bbd.js → 961.bundle.6a18125a324bca120651.js} +0 -0
|
@@ -175,10 +175,10 @@ __webpack_require__.r(types_namespaceObject);
|
|
|
175
175
|
|
|
176
176
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
177
177
|
var react = __webpack_require__(41766);
|
|
178
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js +
|
|
179
|
-
var esm = __webpack_require__(
|
|
180
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js
|
|
181
|
-
var dist_esm = __webpack_require__(
|
|
178
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 28 modules
|
|
179
|
+
var esm = __webpack_require__(92136);
|
|
180
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js
|
|
181
|
+
var dist_esm = __webpack_require__(39371);
|
|
182
182
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/streaming-image-volume-loader/dist/esm/index.js + 13 modules
|
|
183
183
|
var streaming_image_volume_loader_dist_esm = __webpack_require__(23722);
|
|
184
184
|
// EXTERNAL MODULE: ../../core/src/index.ts + 70 modules
|
|
@@ -823,6 +823,7 @@ ImageOverlayViewerTool.addOverlayPlaneModule = tools_OverlayPlaneModuleProvider.
|
|
|
823
823
|
function initCornerstoneTools(configuration = {}) {
|
|
824
824
|
dist_esm.CrosshairsTool.isAnnotation = false;
|
|
825
825
|
dist_esm.ReferenceLinesTool.isAnnotation = false;
|
|
826
|
+
dist_esm.AdvancedMagnifyTool.isAnnotation = false;
|
|
826
827
|
(0,dist_esm.init)(configuration);
|
|
827
828
|
(0,dist_esm.addTool)(dist_esm.PanTool);
|
|
828
829
|
(0,dist_esm.addTool)(dist_esm.WindowLevelTool);
|
|
@@ -4841,7 +4842,6 @@ const colormaps = [{
|
|
|
4841
4842
|
|
|
4842
4843
|
|
|
4843
4844
|
|
|
4844
|
-
|
|
4845
4845
|
const {
|
|
4846
4846
|
registerColormap
|
|
4847
4847
|
} = esm.utilities.colormap;
|
|
@@ -5067,21 +5067,16 @@ async function init({
|
|
|
5067
5067
|
esm.eventTarget.addEventListener(esm.EVENTS.ELEMENT_DISABLED, elementDisabledHandler.bind(null));
|
|
5068
5068
|
colormaps.forEach(registerColormap);
|
|
5069
5069
|
|
|
5070
|
-
//
|
|
5071
|
-
|
|
5070
|
+
// Event listener
|
|
5071
|
+
esm.eventTarget.addEventListenerDebounced(esm.EVENTS.ERROR_EVENT, ({
|
|
5072
|
+
detail
|
|
5073
|
+
}) => {
|
|
5072
5074
|
uiNotificationService.show({
|
|
5073
5075
|
title: detail.type,
|
|
5074
5076
|
message: detail.message,
|
|
5075
5077
|
type: 'error'
|
|
5076
5078
|
});
|
|
5077
|
-
},
|
|
5078
|
-
|
|
5079
|
-
// Event listener
|
|
5080
|
-
esm.eventTarget.addEventListener(esm.EVENTS.ERROR_EVENT, ({
|
|
5081
|
-
detail
|
|
5082
|
-
}) => {
|
|
5083
|
-
debouncedShowNotification(detail);
|
|
5084
|
-
});
|
|
5079
|
+
}, 1000);
|
|
5085
5080
|
}
|
|
5086
5081
|
function CPUModal() {
|
|
5087
5082
|
return /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement("p", null, "Your computer does not have enough GPU power to support the default GPU rendering mode. OHIF has switched to CPU rendering mode. Please note that CPU rendering does not support all features such as Volume Rendering, Multiplanar Reconstruction, and Segmentation Overlays."));
|
|
@@ -6723,10 +6718,11 @@ function commandsModule({
|
|
|
6723
6718
|
setToolActiveToolbar: ({
|
|
6724
6719
|
value,
|
|
6725
6720
|
itemId,
|
|
6721
|
+
toolName,
|
|
6726
6722
|
toolGroupIds = []
|
|
6727
6723
|
}) => {
|
|
6728
6724
|
// Sometimes it is passed as value (tools with options), sometimes as itemId (toolbar buttons)
|
|
6729
|
-
|
|
6725
|
+
toolName = toolName || itemId || value;
|
|
6730
6726
|
toolGroupIds = toolGroupIds.length ? toolGroupIds : toolGroupService.getToolGroupIds();
|
|
6731
6727
|
toolGroupIds.forEach(toolGroupId => {
|
|
6732
6728
|
actions.setToolActive({
|
|
@@ -7717,17 +7713,7 @@ const mpr = {
|
|
|
7717
7713
|
numberOfPriorsReferenced: 0,
|
|
7718
7714
|
protocolMatchingRules: [],
|
|
7719
7715
|
imageLoadStrategy: 'nth',
|
|
7720
|
-
callbacks: {
|
|
7721
|
-
// Switches out of MPR mode when the layout change button is used
|
|
7722
|
-
onLayoutChange: [{
|
|
7723
|
-
commandName: 'toggleHangingProtocol',
|
|
7724
|
-
commandOptions: {
|
|
7725
|
-
protocolId: 'mpr'
|
|
7726
|
-
},
|
|
7727
|
-
context: 'DEFAULT'
|
|
7728
|
-
}]
|
|
7729
|
-
// Turns off crosshairs when switching out of MPR mode
|
|
7730
|
-
},
|
|
7716
|
+
callbacks: {},
|
|
7731
7717
|
displaySetSelectors: {
|
|
7732
7718
|
activeDisplaySet: {
|
|
7733
7719
|
seriesMatchingRules: [{
|
|
@@ -12573,10 +12559,12 @@ var ColorMaps = __webpack_require__(12882);
|
|
|
12573
12559
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone/src/components/ViewportWindowLevel/getViewportVolumeHistogram.ts
|
|
12574
12560
|
|
|
12575
12561
|
const workerManager = (0,esm.getWebWorkerManager)();
|
|
12576
|
-
const
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12562
|
+
const WorkerOptions = {
|
|
12563
|
+
maxWorkerInstances: 1,
|
|
12564
|
+
autoTerminateOnIdle: {
|
|
12565
|
+
enabled: true,
|
|
12566
|
+
idleTimeThreshold: 1000
|
|
12567
|
+
}
|
|
12580
12568
|
};
|
|
12581
12569
|
|
|
12582
12570
|
// Register the task
|
|
@@ -12585,8 +12573,8 @@ const workerFn = () => {
|
|
|
12585
12573
|
name: 'histogram-worker' // name used by the browser to name the worker
|
|
12586
12574
|
});
|
|
12587
12575
|
};
|
|
12588
|
-
workerManager.registerWorker('histogram-worker', workerFn, options);
|
|
12589
12576
|
const getViewportVolumeHistogram = async (viewport, volume, options) => {
|
|
12577
|
+
workerManager.registerWorker('histogram-worker', workerFn, WorkerOptions);
|
|
12590
12578
|
if (!volume?.loadStatus.loaded) {
|
|
12591
12579
|
return undefined;
|
|
12592
12580
|
}
|
|
@@ -13255,7 +13243,7 @@ const reset = () => {
|
|
|
13255
13243
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13256
13244
|
/* harmony export */ A: () => (/* binding */ getSOPInstanceAttributes)
|
|
13257
13245
|
/* harmony export */ });
|
|
13258
|
-
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13246
|
+
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
13259
13247
|
|
|
13260
13248
|
|
|
13261
13249
|
/**
|
|
@@ -1293,7 +1293,8 @@ function PanelStudyBrowserTracking({
|
|
|
1293
1293
|
} = (0,ui_src/* useImageViewer */.Bz)();
|
|
1294
1294
|
const [{
|
|
1295
1295
|
activeViewportId,
|
|
1296
|
-
viewports
|
|
1296
|
+
viewports,
|
|
1297
|
+
isHangingProtocolLayout
|
|
1297
1298
|
}, viewportGridService] = (0,ui_src/* useViewportGrid */.ih)();
|
|
1298
1299
|
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.B)();
|
|
1299
1300
|
const [activeTabName, setActiveTabName] = (0,react.useState)('primary');
|
|
@@ -1306,7 +1307,7 @@ function PanelStudyBrowserTracking({
|
|
|
1306
1307
|
let updatedViewports = [];
|
|
1307
1308
|
const viewportId = activeViewportId;
|
|
1308
1309
|
try {
|
|
1309
|
-
updatedViewports = hangingProtocolService.getViewportsRequireUpdate(viewportId, displaySetInstanceUID);
|
|
1310
|
+
updatedViewports = hangingProtocolService.getViewportsRequireUpdate(viewportId, displaySetInstanceUID, isHangingProtocolLayout);
|
|
1310
1311
|
} catch (error) {
|
|
1311
1312
|
console.warn(error);
|
|
1312
1313
|
uiNotificationService.show({
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/* harmony import */ var lodash_clonedeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48463);
|
|
19
19
|
/* harmony import */ var lodash_clonedeep__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_clonedeep__WEBPACK_IMPORTED_MODULE_3__);
|
|
20
20
|
/* harmony import */ var gl_matrix__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44753);
|
|
21
|
-
/* harmony import */ var _cornerstonejs_tools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
21
|
+
/* harmony import */ var _cornerstonejs_tools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(39371);
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -482,8 +482,8 @@ const toolbarButtons = [{
|
|
|
482
482
|
}
|
|
483
483
|
}];
|
|
484
484
|
/* harmony default export */ const src_toolbarButtons = (toolbarButtons);
|
|
485
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js +
|
|
486
|
-
var esm = __webpack_require__(
|
|
485
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 28 modules
|
|
486
|
+
var esm = __webpack_require__(92136);
|
|
487
487
|
;// CONCATENATED MODULE: ../../../modes/longitudinal/src/moreTools.ts
|
|
488
488
|
|
|
489
489
|
|
|
@@ -611,8 +611,8 @@ const moreTools = [{
|
|
|
611
611
|
}), moreTools_createButton({
|
|
612
612
|
id: 'Magnify',
|
|
613
613
|
icon: 'tool-magnify',
|
|
614
|
-
label: '
|
|
615
|
-
tooltip: '
|
|
614
|
+
label: 'Zoom-in',
|
|
615
|
+
tooltip: 'Zoom-in',
|
|
616
616
|
commands: setToolActiveToolbar,
|
|
617
617
|
evaluate: 'evaluate.cornerstoneTool'
|
|
618
618
|
}), moreTools_createButton({
|
|
@@ -631,8 +631,8 @@ const moreTools = [{
|
|
|
631
631
|
}), moreTools_createButton({
|
|
632
632
|
id: 'AdvancedMagnify',
|
|
633
633
|
icon: 'icon-tool-loupe',
|
|
634
|
-
label: '
|
|
635
|
-
tooltip: '
|
|
634
|
+
label: 'Magnify Probe',
|
|
635
|
+
tooltip: 'Magnify Probe',
|
|
636
636
|
commands: 'toggleActiveDisabledToolbar',
|
|
637
637
|
evaluate: 'evaluate.cornerstoneTool.toggle.ifStrictlyDisabled'
|
|
638
638
|
}), moreTools_createButton({
|