@ohif/app 3.8.0-beta.86 → 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.1203a96e327b365264e5.js → 206.bundle.096c1d86defe1cf7e9ae.js} +4 -4
- package/dist/{183.bundle.c88c4355c4829ed94a88.js → 236.bundle.fb6c65ae3a5aa0c58727.js} +17541 -23678
- package/dist/{321.bundle.5bd98d3324768715f634.js → 321.bundle.7d6d0ead9384fcb67a5c.js} +19 -22
- package/dist/{342.bundle.8c74ac4c7871bd4a6f60.js → 342.bundle.36ee082163b01284eeba.js} +1 -1
- package/dist/{41.bundle.45737afb9f85e7e69ff3.js → 41.bundle.2f52dafa60516e97cd03.js} +2 -2
- package/dist/{217.bundle.bbc6090836dcca555dfc.js → 416.bundle.837e0b84baddd2193d67.js} +61564 -70419
- package/dist/{448.bundle.fde8b8e0fd744f39389d.js → 448.bundle.7c47e50e0db23eeace58.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.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.3961c49efec0b913b9cc.js → 633.bundle.ad22fd57eb95ee5f056a.js} +4 -4
- package/dist/{669.bundle.5652fa450c1d63575a5a.js → 669.bundle.796543c57c658097fe75.js} +9 -9
- package/dist/{335.bundle.fab6af469f98e7a59bfa.js → 7.bundle.ea90a6f6f1d4ab030dfb.js} +185 -228
- package/dist/{722.bundle.a91ce7b563b901b25db0.js → 722.bundle.05e8759e64d484f4554d.js} +2 -2
- package/dist/{724.bundle.634bee9667a518d1202f.js → 724.bundle.275035c2002c8fd78471.js} +234 -7
- package/dist/{726.bundle.0b3d9277d22fe7e15b89.js → 726.bundle.c8de818cf1a3ff0cf7d2.js} +2 -2
- package/dist/{164.bundle.288b10692cc72b81a98d.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.e2700d7456565ce71dad.js → 889.bundle.1a646aa901e073328cad.js} +1 -1
- package/dist/{94.bundle.b35c818d871de99336d8.js → 94.bundle.d6749c52eb6327bd45de.js} +4 -4
- package/dist/{app.bundle.ce0e385dbbb6c1c1769f.js → app.bundle.177823343bc7e2b039a2.js} +44486 -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.bef5c8babdde7064bdbe.js} +0 -0
- /package/dist/{325.bundle.ac07a6ca0a4e66bed604.js → 325.bundle.357db826733b5379bd1d.js} +0 -0
- /package/dist/{594.bundle.e8e1b20c5c46cf16ffa3.js → 594.bundle.9a7fd38c5fc9823216e5.js} +0 -0
- /package/dist/{699.bundle.7228b225e0c2b8100077.js → 699.bundle.4d75ac5add81a2e4ef3b.js} +0 -0
- /package/dist/{905.bundle.ec6275a2096f7f096618.js → 905.bundle.36ce5f219e58ff9ddf9b.js} +0 -0
- /package/dist/{907.bundle.d2823642d3a32b5209a2.js → 907.bundle.64fa9f550bd239e92346.js} +0 -0
- /package/dist/{961.bundle.34a9b1fbf372d18b9b36.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
|
|
@@ -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({
|
|
@@ -12564,10 +12559,12 @@ var ColorMaps = __webpack_require__(12882);
|
|
|
12564
12559
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone/src/components/ViewportWindowLevel/getViewportVolumeHistogram.ts
|
|
12565
12560
|
|
|
12566
12561
|
const workerManager = (0,esm.getWebWorkerManager)();
|
|
12567
|
-
const
|
|
12568
|
-
|
|
12569
|
-
|
|
12570
|
-
|
|
12562
|
+
const WorkerOptions = {
|
|
12563
|
+
maxWorkerInstances: 1,
|
|
12564
|
+
autoTerminateOnIdle: {
|
|
12565
|
+
enabled: true,
|
|
12566
|
+
idleTimeThreshold: 1000
|
|
12567
|
+
}
|
|
12571
12568
|
};
|
|
12572
12569
|
|
|
12573
12570
|
// Register the task
|
|
@@ -12576,8 +12573,8 @@ const workerFn = () => {
|
|
|
12576
12573
|
name: 'histogram-worker' // name used by the browser to name the worker
|
|
12577
12574
|
});
|
|
12578
12575
|
};
|
|
12579
|
-
workerManager.registerWorker('histogram-worker', workerFn, options);
|
|
12580
12576
|
const getViewportVolumeHistogram = async (viewport, volume, options) => {
|
|
12577
|
+
workerManager.registerWorker('histogram-worker', workerFn, WorkerOptions);
|
|
12581
12578
|
if (!volume?.loadStatus.loaded) {
|
|
12582
12579
|
return undefined;
|
|
12583
12580
|
}
|
|
@@ -13246,7 +13243,7 @@ const reset = () => {
|
|
|
13246
13243
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
13247
13244
|
/* harmony export */ A: () => (/* binding */ getSOPInstanceAttributes)
|
|
13248
13245
|
/* harmony export */ });
|
|
13249
|
-
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
13246
|
+
/* harmony import */ var _cornerstonejs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92136);
|
|
13250
13247
|
|
|
13251
13248
|
|
|
13252
13249
|
/**
|
|
@@ -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
|
|