@ohif/app 3.8.0-beta.86 → 3.8.0-beta.88
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.1203a96e327b365264e5.js → 206.bundle.98ed38d4cc3cd491592d.js} +4 -4
- package/dist/{183.bundle.c88c4355c4829ed94a88.js → 236.bundle.fb6c65ae3a5aa0c58727.js} +17541 -23678
- package/dist/{321.bundle.5bd98d3324768715f634.js → 321.bundle.df33483c22991d82b0d3.js} +45 -43
- package/dist/{342.bundle.8c74ac4c7871bd4a6f60.js → 342.bundle.36ee082163b01284eeba.js} +1 -1
- package/dist/{41.bundle.45737afb9f85e7e69ff3.js → 41.bundle.b087dd5f5575fef9f4d7.js} +2 -2
- package/dist/{217.bundle.bbc6090836dcca555dfc.js → 416.bundle.837e0b84baddd2193d67.js} +61564 -70419
- package/dist/{448.bundle.fde8b8e0fd744f39389d.js → 448.bundle.e2db79f9db64f2211caf.js} +2 -2
- package/dist/473.bundle.f6804e7ac014a561eff8.js +7256 -0
- package/dist/483.bundle.9263b25c34b349aae80e.js +2287 -0
- package/dist/{487.bundle.8d0477af42cf9f8c0937.js → 487.bundle.6c4b3c9abadeab2ec397.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.3961c49efec0b913b9cc.js → 633.bundle.409655439a8a864c3a0a.js} +4 -4
- package/dist/{669.bundle.5652fa450c1d63575a5a.js → 669.bundle.b28fafccfe244c340713.js} +9 -9
- package/dist/{335.bundle.fab6af469f98e7a59bfa.js → 7.bundle.d9bef0f76f54df3ed3d0.js} +185 -228
- package/dist/{722.bundle.a91ce7b563b901b25db0.js → 722.bundle.05e8759e64d484f4554d.js} +2 -2
- package/dist/{724.bundle.634bee9667a518d1202f.js → 724.bundle.236e5bb2a2c4e0e436b9.js} +234 -7
- package/dist/{726.bundle.0b3d9277d22fe7e15b89.js → 726.bundle.c8de818cf1a3ff0cf7d2.js} +2 -2
- package/dist/{164.bundle.288b10692cc72b81a98d.js → 783.bundle.2266dca43e7b065e00e2.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.e2700d7456565ce71dad.js → 889.bundle.3e25455cd8ed5cff6736.js} +1 -1
- package/dist/{94.bundle.b35c818d871de99336d8.js → 94.bundle.84aeabf47a50226a3757.js} +4 -4
- package/dist/{app.bundle.ce0e385dbbb6c1c1769f.js → app.bundle.4d1d6a9e1f5ddf2ecc89.js} +44487 -42404
- 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.c2653f8ce77f44ae095b.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.d9b13c4a2910858bca9b.js → 188.bundle.a3f7d32b447d383dc882.js} +0 -0
- /package/dist/{325.bundle.ac07a6ca0a4e66bed604.js → 325.bundle.88b9768fe4c3f8b4c479.js} +0 -0
- /package/dist/{594.bundle.e8e1b20c5c46cf16ffa3.js → 594.bundle.dd4e77925f097e4715a5.js} +0 -0
- /package/dist/{699.bundle.7228b225e0c2b8100077.js → 699.bundle.fa08705eb3ffb41fc6d4.js} +0 -0
- /package/dist/{905.bundle.ec6275a2096f7f096618.js → 905.bundle.fddef85afd237a0e41e8.js} +0 -0
- /package/dist/{907.bundle.d2823642d3a32b5209a2.js → 907.bundle.245684385d33246c88a7.js} +0 -0
- /package/dist/{961.bundle.34a9b1fbf372d18b9b36.js → 961.bundle.493b3434a6d12cd53707.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
|
|
@@ -4842,7 +4842,6 @@ const colormaps = [{
|
|
|
4842
4842
|
|
|
4843
4843
|
|
|
4844
4844
|
|
|
4845
|
-
|
|
4846
4845
|
const {
|
|
4847
4846
|
registerColormap
|
|
4848
4847
|
} = esm.utilities.colormap;
|
|
@@ -5068,21 +5067,16 @@ async function init({
|
|
|
5068
5067
|
esm.eventTarget.addEventListener(esm.EVENTS.ELEMENT_DISABLED, elementDisabledHandler.bind(null));
|
|
5069
5068
|
colormaps.forEach(registerColormap);
|
|
5070
5069
|
|
|
5071
|
-
//
|
|
5072
|
-
|
|
5070
|
+
// Event listener
|
|
5071
|
+
esm.eventTarget.addEventListenerDebounced(esm.EVENTS.ERROR_EVENT, ({
|
|
5072
|
+
detail
|
|
5073
|
+
}) => {
|
|
5073
5074
|
uiNotificationService.show({
|
|
5074
5075
|
title: detail.type,
|
|
5075
5076
|
message: detail.message,
|
|
5076
5077
|
type: 'error'
|
|
5077
5078
|
});
|
|
5078
|
-
},
|
|
5079
|
-
|
|
5080
|
-
// Event listener
|
|
5081
|
-
esm.eventTarget.addEventListener(esm.EVENTS.ERROR_EVENT, ({
|
|
5082
|
-
detail
|
|
5083
|
-
}) => {
|
|
5084
|
-
debouncedShowNotification(detail);
|
|
5085
|
-
});
|
|
5079
|
+
}, 1000);
|
|
5086
5080
|
}
|
|
5087
5081
|
function CPUModal() {
|
|
5088
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."));
|
|
@@ -6724,10 +6718,11 @@ function commandsModule({
|
|
|
6724
6718
|
setToolActiveToolbar: ({
|
|
6725
6719
|
value,
|
|
6726
6720
|
itemId,
|
|
6721
|
+
toolName,
|
|
6727
6722
|
toolGroupIds = []
|
|
6728
6723
|
}) => {
|
|
6729
6724
|
// Sometimes it is passed as value (tools with options), sometimes as itemId (toolbar buttons)
|
|
6730
|
-
|
|
6725
|
+
toolName = toolName || itemId || value;
|
|
6731
6726
|
toolGroupIds = toolGroupIds.length ? toolGroupIds : toolGroupService.getToolGroupIds();
|
|
6732
6727
|
toolGroupIds.forEach(toolGroupId => {
|
|
6733
6728
|
actions.setToolActive({
|
|
@@ -12045,32 +12040,37 @@ class CornerstoneViewportService extends src/* PubSubService */.Rc {
|
|
|
12045
12040
|
}
|
|
12046
12041
|
performResize() {
|
|
12047
12042
|
const isImmediate = false;
|
|
12048
|
-
|
|
12043
|
+
try {
|
|
12044
|
+
const viewports = this.getRenderingEngine().getViewports();
|
|
12049
12045
|
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12046
|
+
// Store the current position presentations for each viewport.
|
|
12047
|
+
viewports.forEach(({
|
|
12048
|
+
id
|
|
12049
|
+
}) => {
|
|
12050
|
+
const presentation = this.getPositionPresentation(id);
|
|
12051
|
+
this.beforeResizePositionPresentations.set(id, presentation);
|
|
12052
|
+
});
|
|
12057
12053
|
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12054
|
+
// Resize the rendering engine and render.
|
|
12055
|
+
const renderingEngine = this.renderingEngine;
|
|
12056
|
+
renderingEngine.resize(isImmediate);
|
|
12057
|
+
renderingEngine.render();
|
|
12062
12058
|
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12059
|
+
// Reset the camera for viewports that should reset their camera on resize,
|
|
12060
|
+
// which means only those viewports that have a zoom level of 1.
|
|
12061
|
+
this.beforeResizePositionPresentations.forEach((positionPresentation, viewportId) => {
|
|
12062
|
+
this.setPresentations(viewportId, {
|
|
12063
|
+
positionPresentation
|
|
12064
|
+
});
|
|
12068
12065
|
});
|
|
12069
|
-
});
|
|
12070
12066
|
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12067
|
+
// Resize and render the rendering engine again.
|
|
12068
|
+
renderingEngine.resize(isImmediate);
|
|
12069
|
+
renderingEngine.render();
|
|
12070
|
+
} catch (e) {
|
|
12071
|
+
// This can happen if the resize is too close to navigation or shutdown
|
|
12072
|
+
console.warn('Caught resize exception', e);
|
|
12073
|
+
}
|
|
12074
12074
|
}
|
|
12075
12075
|
resetGridResizeTimeout() {
|
|
12076
12076
|
clearTimeout(this.gridResizeTimeOut);
|
|
@@ -12564,10 +12564,12 @@ var ColorMaps = __webpack_require__(12882);
|
|
|
12564
12564
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone/src/components/ViewportWindowLevel/getViewportVolumeHistogram.ts
|
|
12565
12565
|
|
|
12566
12566
|
const workerManager = (0,esm.getWebWorkerManager)();
|
|
12567
|
-
const
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12567
|
+
const WorkerOptions = {
|
|
12568
|
+
maxWorkerInstances: 1,
|
|
12569
|
+
autoTerminateOnIdle: {
|
|
12570
|
+
enabled: true,
|
|
12571
|
+
idleTimeThreshold: 1000
|
|
12572
|
+
}
|
|
12571
12573
|
};
|
|
12572
12574
|
|
|
12573
12575
|
// Register the task
|
|
@@ -12576,8 +12578,8 @@ const workerFn = () => {
|
|
|
12576
12578
|
name: 'histogram-worker' // name used by the browser to name the worker
|
|
12577
12579
|
});
|
|
12578
12580
|
};
|
|
12579
|
-
workerManager.registerWorker('histogram-worker', workerFn, options);
|
|
12580
12581
|
const getViewportVolumeHistogram = async (viewport, volume, options) => {
|
|
12582
|
+
workerManager.registerWorker('histogram-worker', workerFn, WorkerOptions);
|
|
12581
12583
|
if (!volume?.loadStatus.loaded) {
|
|
12582
12584
|
return undefined;
|
|
12583
12585
|
}
|
|
@@ -13246,7 +13248,7 @@ const reset = () => {
|
|
|
13246
13248
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13247
13249
|
/* harmony export */ A: () => (/* binding */ getSOPInstanceAttributes)
|
|
13248
13250
|
/* harmony export */ });
|
|
13249
|
-
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13251
|
+
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
13250
13252
|
|
|
13251
13253
|
|
|
13252
13254
|
/**
|
|
@@ -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
|
|