@ohif/app 3.9.0-beta.45 → 3.9.0-beta.47
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/031089e563a18ada8441.wasm +0 -0
- package/dist/{445.bundle.38c6d2af64e41cd7c614.js → 10.bundle.c626810bd199ab63f3a2.js} +3 -3
- package/dist/{501.bundle.2f703ca4598a3be0d748.js → 129.bundle.3102eccbd5c78524c3dd.js} +6036 -11592
- package/dist/{140.bundle.fcf29be726bb9dcea834.js → 153.bundle.d3732d0fdebb39e139b4.js} +7 -4
- package/dist/{139.bundle.09e5af0a9ae8a285af77.js → 169.bundle.eeb9614e7b06f896c70f.js} +65 -535
- package/dist/{139.css → 169.css} +0 -1
- package/dist/{164.bundle.2b23bfbcb23497d7c87a.js → 196.bundle.cf8c2311aafb5312bbf7.js} +15562 -8539
- package/dist/{342.bundle.fcb2038060a062129d34.js → 202.bundle.bb0e8196739bb896dc9e.js} +238 -276
- package/dist/{129.bundle.894f29369d609094208b.js → 210.bundle.d6d6cbd1b65e4f506ed1.js} +46 -46
- package/dist/{363.bundle.c7e38cf0c1fc7d19a701.js → 217.bundle.042317b439df47cd38b1.js} +2099 -195
- package/dist/{363.css → 217.css} +1 -0
- package/dist/{14.bundle.60eed1138c62b91572a7.js → 246.bundle.288317813cd5781e64f7.js} +11 -11
- package/dist/250.bundle.4743b359797751102600.js +663 -0
- package/dist/{944.bundle.baa0880e0bbde13fccc5.js → 281.bundle.5946cbee5150dec1532f.js} +241 -254
- package/dist/{727.bundle.7b7f3962207601643615.js → 286.bundle.985c5ebbb2158c7e59ab.js} +4 -4
- package/dist/29.bundle.976319462f33868497c2.js +12347 -0
- package/dist/{675.bundle.c9720f40fd7c7e9b7e54.js → 315.bundle.92d7aefc4dc9cfd951bd.js} +18 -18
- package/dist/{218.bundle.a1709956bc65c4f54874.js → 353.bundle.58b3ea80771ebaca956b.js} +8 -8
- package/dist/{799.bundle.33fc63add3b915d0c2b2.js → 360.bundle.81592d66456d25930928.js} +62 -62
- package/dist/{555.bundle.768f1594e1d40b707342.js → 372.bundle.5e3dc2539055ca5861e6.js} +50 -50
- package/dist/{211.bundle.194272cd32bedb302303.js → 376.bundle.45b94427174400b86d5d.js} +8 -8
- package/dist/{612.bundle.297a033523539e0b47f9.js → 412.bundle.836f106f6e2896dc42a5.js} +4 -4
- package/dist/{931.bundle.058f8de4606f27b31f4f.js → 417.bundle.abf8bcee0f246002acb9.js} +25 -25
- package/dist/{370.bundle.bd9884c274c26a54dfae.js → 428.bundle.744fc5865b2d747de88a.js} +829 -1511
- package/dist/{483.bundle.0f1848f6a2cf34829fef.js → 497.bundle.ee102d6243f984113f08.js} +141 -141
- package/dist/{323.bundle.955cc8f5eb5c01295118.js → 498.bundle.bb47c493dd02451f77ef.js} +17 -17
- package/dist/{552.bundle.0d11c419f675cb5a63b1.js → 502.bundle.857675fc2cbb2fbe3e47.js} +8 -9
- package/dist/{835.bundle.5d1951da8bbc6afdf3e0.js → 530.bundle.87f8b13ff55bf7b2a6d1.js} +28 -28
- package/dist/{121.bundle.57fe5a392b0910f33c2d.js → 552.bundle.95c0f28b051797242104.js} +733 -62
- package/dist/{265.bundle.61b0e1ce9d444704a976.js → 571.bundle.a80609c9815339516d77.js} +24 -24
- package/dist/{853.bundle.26b774ab3259f3e6087c.js → 591.bundle.1dca7dfd3e0490ea6dc1.js} +15 -14
- package/dist/604.bundle.83f50929b208c60e48da.js +1950 -0
- package/dist/610.min.worker.js +1 -1
- package/dist/610.min.worker.js.map +1 -1
- package/dist/{792.bundle.485ad2f98823a4b3feb1.js → 658.bundle.219ed199728759098008.js} +17 -17
- package/dist/{989.bundle.4be1e8f36734961852a8.js → 791.bundle.be08fa50f9a84244253b.js} +11 -11
- package/dist/{722.bundle.1242e0348afc63ca4f5e.js → 793.bundle.c92f52ddff0e3bf506e6.js} +13 -13
- package/dist/{914.bundle.e15be8089bf422ed7b51.js → 818.bundle.cda4e369fdee5459a544.js} +1239 -627
- package/dist/{726.bundle.90d63d40a19b058034ee.js → 831.bundle.9e1a3495947e5bb49756.js} +512 -512
- package/dist/{382.bundle.7cdad0f12b64f248dd28.js → 842.bundle.0664bcdeb7f153ab52bb.js} +11 -11
- package/dist/{806.bundle.1ec5fda0b16e053350d7.js → 888.bundle.2d02f805cedcf5d2ee7d.js} +14 -14
- package/dist/{702.bundle.963481fbf871984b646f.js → 909.bundle.1fbb8bb4c41d0bb2994d.js} +119 -381
- package/dist/{109.bundle.b4fee2a22b622839baf5.js → 931.bundle.f6fa2a436ace89ebf60f.js} +5036 -4642
- package/dist/{141.bundle.556b4c1e4cab770417ac.js → 937.bundle.cc709c922731f9496810.js} +86 -478
- package/dist/{444.bundle.75f58f53dab4d04db97d.js → 944.bundle.194f4f4e4e55ec466b78.js} +9 -10
- package/dist/945.min.worker.js +1 -1
- package/dist/945.min.worker.js.map +1 -1
- package/dist/{194.bundle.e6fb48f13f312eded76b.js → 962.bundle.225fcd92e6a5af66b6a2.js} +33 -37
- package/dist/{920.bundle.f75637a18563de8c8235.js → 978.bundle.4edc8c4615d7e3b4717a.js} +6 -6
- package/dist/{236.bundle.34db90a140e37d34fd71.js → 993.bundle.aa31ebda5a5f62c44de5.js} +2363 -2351
- package/dist/{717.bundle.3b84fbd289af82208a19.js → 994.bundle.269ce05b16fd6aa28006.js} +90 -164
- package/dist/app-config.js +58 -4
- package/dist/app.bundle.css +3 -3
- package/dist/{app.bundle.e2d3b6781252f9c7b2a3.js → app.bundle.ecc3736aff52e6abfd49.js} +52547 -36094
- package/dist/cornerstoneDICOMImageLoader.min.js +1 -1
- package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -1
- package/dist/dicom-microscopy-viewer/5004fdc02f329ce53b69.wasm +0 -0
- package/dist/dicom-microscopy-viewer/c22b37c3488e1d6c3aa4.wasm +0 -0
- package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js +3 -0
- package/dist/{dicomMicroscopyViewer.min.js.LICENSE.txt → dicom-microscopy-viewer/dicomMicroscopyViewer.min.js.LICENSE.txt} +11 -0
- package/dist/dicom-microscopy-viewer/index.worker.min.worker.js +2 -0
- package/dist/dicom-microscopy-viewer/index.worker.min.worker.js.map +1 -0
- package/dist/{histogram-worker.bundle.6b31e5ed4c4a7a6998f2.js → histogram-worker.bundle.e7e9fea2c3236b0e747a.js} +12 -16
- package/dist/index.html +1 -1
- package/dist/index.worker.5a5a581362c14598c3d9.worker.js +2 -0
- package/dist/index.worker.5a5a581362c14598c3d9.worker.js.map +1 -0
- package/dist/{polySeg.bundle.df492df5042827938ba4.js → polySeg.bundle.b25c61224998018d0f79.js} +24 -5
- package/dist/{suv-peak-worker.bundle.8f4b505fad3d371489fe.js → suv-peak-worker.bundle.eb11e71db02e52601ecf.js} +40 -21
- package/dist/sw.js +1 -1
- package/package.json +25 -33
- package/dist/117.bundle.1f7b56504d506e7259e3.js +0 -6552
- package/dist/172.bundle.e0ee762bee7496d6491e.js +0 -662
- package/dist/36785fbd89b0e17f6099.wasm +0 -0
- package/dist/62ab5d58a2bea7b5a1dc.wasm +0 -0
- package/dist/644.bundle.1e77691d2eeb96a423b0.js +0 -19159
- package/dist/75a0c2dfe07b824c7d21.wasm +0 -0
- package/dist/dicom-microscopy-viewer.bundle.d3a56dc9f62df5e11019.js +0 -13
- package/dist/dicomMicroscopyViewer.min.js +0 -3
- package/dist/index.worker.f4bda803c15bc6359d5f.worker.js +0 -2
- package/dist/index.worker.f4bda803c15bc6359d5f.worker.js.map +0 -1
- package/dist/index.worker.min.worker.js +0 -2
- package/dist/index.worker.min.worker.js.map +0 -1
- /package/dist/{129.css → 210.css} +0 -0
- /package/dist/{727.css → 286.css} +0 -0
- /package/dist/{172.css → 552.css} +0 -0
- /package/dist/{404.css → 757.css} +0 -0
- /package/dist/{717.css → 994.css} +0 -0
- /package/dist/{65916ef3def695744bda.wasm → dicom-microscopy-viewer/65916ef3def695744bda.wasm} +0 -0
- /package/dist/{b6b803111e2d06a825bd.wasm → dicom-microscopy-viewer/b6b803111e2d06a825bd.wasm} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[658],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 43658:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -13,12 +13,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
16
|
-
var react = __webpack_require__(
|
|
16
|
+
var react = __webpack_require__(43001);
|
|
17
17
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
18
|
-
var prop_types = __webpack_require__(
|
|
18
|
+
var prop_types = __webpack_require__(3827);
|
|
19
19
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
20
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
21
|
-
var src = __webpack_require__(
|
|
20
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 784 modules
|
|
21
|
+
var src = __webpack_require__(38604);
|
|
22
22
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/src/utils/promptHydrateRT.ts
|
|
23
23
|
|
|
24
24
|
const RESPONSE = {
|
|
@@ -61,11 +61,11 @@ function _askHydrate(uiViewportDialogService, viewportId) {
|
|
|
61
61
|
return new Promise(function (resolve, reject) {
|
|
62
62
|
const message = 'Do you want to open this Segmentation?';
|
|
63
63
|
const actions = [{
|
|
64
|
-
type: src/* ButtonEnums.type */.
|
|
64
|
+
type: src/* ButtonEnums.type */.LZ.dt.secondary,
|
|
65
65
|
text: 'No',
|
|
66
66
|
value: RESPONSE.CANCEL
|
|
67
67
|
}, {
|
|
68
|
-
type: src/* ButtonEnums.type */.
|
|
68
|
+
type: src/* ButtonEnums.type */.LZ.dt.primary,
|
|
69
69
|
text: 'Yes',
|
|
70
70
|
value: RESPONSE.HYDRATE_SEG
|
|
71
71
|
}];
|
|
@@ -94,7 +94,7 @@ function _askHydrate(uiViewportDialogService, viewportId) {
|
|
|
94
94
|
}
|
|
95
95
|
/* harmony default export */ const utils_promptHydrateRT = (promptHydrateRT);
|
|
96
96
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
97
|
-
var es = __webpack_require__(
|
|
97
|
+
var es = __webpack_require__(69190);
|
|
98
98
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/src/viewports/_getStatusComponent.tsx
|
|
99
99
|
|
|
100
100
|
|
|
@@ -107,13 +107,13 @@ function _getStatusComponent({
|
|
|
107
107
|
let StatusIcon = null;
|
|
108
108
|
switch (isHydrated) {
|
|
109
109
|
case true:
|
|
110
|
-
StatusIcon = () => /*#__PURE__*/react.createElement(src/* Icon */.
|
|
110
|
+
StatusIcon = () => /*#__PURE__*/react.createElement(src/* Icon */.JO, {
|
|
111
111
|
name: "status-alert"
|
|
112
112
|
});
|
|
113
113
|
ToolTipMessage = () => /*#__PURE__*/react.createElement("div", null, "This Segmentation is loaded in the segmentation panel");
|
|
114
114
|
break;
|
|
115
115
|
case false:
|
|
116
|
-
StatusIcon = () => /*#__PURE__*/react.createElement(src/* Icon */.
|
|
116
|
+
StatusIcon = () => /*#__PURE__*/react.createElement(src/* Icon */.JO, {
|
|
117
117
|
className: "text-aqua-pale",
|
|
118
118
|
name: "status-untracked"
|
|
119
119
|
});
|
|
@@ -122,7 +122,7 @@ function _getStatusComponent({
|
|
|
122
122
|
const StatusArea = () => {
|
|
123
123
|
const {
|
|
124
124
|
t
|
|
125
|
-
} = (0,es/* useTranslation
|
|
125
|
+
} = (0,es/* useTranslation */.$G)('Common');
|
|
126
126
|
const loadStr = t('LOAD');
|
|
127
127
|
return /*#__PURE__*/react.createElement("div", {
|
|
128
128
|
className: "flex h-6 cursor-default text-sm leading-6 text-white"
|
|
@@ -137,7 +137,7 @@ function _getStatusComponent({
|
|
|
137
137
|
onMouseUp: onStatusClick
|
|
138
138
|
}, loadStr));
|
|
139
139
|
};
|
|
140
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null, ToolTipMessage && /*#__PURE__*/react.createElement(src/* Tooltip */.
|
|
140
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, ToolTipMessage && /*#__PURE__*/react.createElement(src/* Tooltip */.u, {
|
|
141
141
|
content: /*#__PURE__*/react.createElement(ToolTipMessage, null),
|
|
142
142
|
position: "bottom-left"
|
|
143
143
|
}, /*#__PURE__*/react.createElement(StatusArea, null)), !ToolTipMessage && /*#__PURE__*/react.createElement(StatusArea, null));
|
|
@@ -151,7 +151,7 @@ function createRTToolGroupAndAddTools(ToolGroupService, customizationService, to
|
|
|
151
151
|
}
|
|
152
152
|
/* harmony default export */ const initRTToolGroup = (createRTToolGroupAndAddTools);
|
|
153
153
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/src/viewports/OHIFCornerstoneRTViewport.tsx
|
|
154
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
154
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
@@ -184,7 +184,7 @@ function OHIFCornerstoneRTViewport(props) {
|
|
|
184
184
|
throw new Error('RT viewport should only have a single display set');
|
|
185
185
|
}
|
|
186
186
|
const rtDisplaySet = displaySets[0];
|
|
187
|
-
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.
|
|
187
|
+
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.O_)();
|
|
188
188
|
|
|
189
189
|
// States
|
|
190
190
|
const [isToolGroupCreated, setToolGroupCreated] = (0,react.useState)(false);
|
|
@@ -422,7 +422,7 @@ function OHIFCornerstoneRTViewport(props) {
|
|
|
422
422
|
}, {
|
|
423
423
|
viewportId,
|
|
424
424
|
id: 'viewportActionArrowsComponent',
|
|
425
|
-
component: /*#__PURE__*/react.createElement(src/* ViewportActionArrows
|
|
425
|
+
component: /*#__PURE__*/react.createElement(src/* ViewportActionArrows */.PG, {
|
|
426
426
|
key: "actionArrows",
|
|
427
427
|
onArrowsClick: onSegmentChange,
|
|
428
428
|
className: viewportId === activeViewportId ? 'visible' : 'invisible group-hover:visible'
|
|
@@ -433,7 +433,7 @@ function OHIFCornerstoneRTViewport(props) {
|
|
|
433
433
|
}, [activeViewportId, isHydrated, onSegmentChange, onStatusClick, viewportActionCornersService, viewportId]);
|
|
434
434
|
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
435
435
|
className: "relative flex h-full w-full flex-row overflow-hidden"
|
|
436
|
-
}, rtIsLoading && /*#__PURE__*/react.createElement(src/* LoadingIndicatorTotalPercent */.
|
|
436
|
+
}, rtIsLoading && /*#__PURE__*/react.createElement(src/* LoadingIndicatorTotalPercent */.bk, {
|
|
437
437
|
className: "h-full w-full",
|
|
438
438
|
totalNumbers: processingProgress.totalSegments,
|
|
439
439
|
percentComplete: processingProgress.percentComplete,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[791],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 62791:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -13,26 +13,26 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/package.json
|
|
16
|
-
const package_namespaceObject =
|
|
16
|
+
const package_namespaceObject = JSON.parse('{"u2":"@ohif/extension-cornerstone-dicom-rt"}');
|
|
17
17
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/src/id.js
|
|
18
18
|
|
|
19
|
-
const id = package_namespaceObject.
|
|
19
|
+
const id = package_namespaceObject.u2;
|
|
20
20
|
const SOPClassHandlerName = 'dicom-rt';
|
|
21
21
|
const SOPClassHandlerId = `${id}.sopClassHandlerModule.${SOPClassHandlerName}`;
|
|
22
22
|
|
|
23
23
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
24
|
-
var react = __webpack_require__(
|
|
24
|
+
var react = __webpack_require__(43001);
|
|
25
25
|
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
26
|
-
var src = __webpack_require__(
|
|
26
|
+
var src = __webpack_require__(63810);
|
|
27
27
|
// EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
|
|
28
|
-
var dcmjs_es = __webpack_require__(
|
|
28
|
+
var dcmjs_es = __webpack_require__(67540);
|
|
29
29
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/src/loadRTStruct.js
|
|
30
30
|
|
|
31
31
|
const {
|
|
32
32
|
DicomMessage,
|
|
33
33
|
DicomMetaDictionary
|
|
34
|
-
} = dcmjs_es
|
|
35
|
-
const dicomlab2RGB = dcmjs_es
|
|
34
|
+
} = dcmjs_es["default"].data;
|
|
35
|
+
const dicomlab2RGB = dcmjs_es["default"].data.Colors.dicomlab2RGB;
|
|
36
36
|
async function checkAndLoadContourData(instance, datasource) {
|
|
37
37
|
if (!instance || !instance.ROIContourSequence) {
|
|
38
38
|
return Promise.reject('Invalid instance object or ROIContourSequence');
|
|
@@ -412,12 +412,12 @@ function getSopClassHandlerModule({
|
|
|
412
412
|
}
|
|
413
413
|
/* harmony default export */ const src_getSopClassHandlerModule = (getSopClassHandlerModule);
|
|
414
414
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/src/index.tsx
|
|
415
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
415
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
416
416
|
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
const Component = /*#__PURE__*/react.lazy(() => {
|
|
420
|
-
return __webpack_require__.e(/* import() */
|
|
420
|
+
return __webpack_require__.e(/* import() */ 658).then(__webpack_require__.bind(__webpack_require__, 43658));
|
|
421
421
|
});
|
|
422
422
|
const OHIFCornerstoneRTViewport = props => {
|
|
423
423
|
return /*#__PURE__*/react.createElement(react.Suspense, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[793],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 15793:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
// EXPORTS
|
|
9
9
|
__webpack_require__.d(__webpack_exports__, {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
Yb: () => (/* reexport */ enums_namespaceObject),
|
|
11
|
+
X5: () => (/* reexport */ esm_cornerstoneStreamingDynamicImageVolumeLoader),
|
|
12
|
+
IU: () => (/* reexport */ esm_cornerstoneStreamingImageVolumeLoader),
|
|
13
13
|
helpers: () => (/* binding */ helpers)
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -19,13 +19,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
19
19
|
var enums_namespaceObject = {};
|
|
20
20
|
__webpack_require__.r(enums_namespaceObject);
|
|
21
21
|
__webpack_require__.d(enums_namespaceObject, {
|
|
22
|
-
|
|
22
|
+
z: () => (enums_Events)
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 28 modules
|
|
26
|
-
var esm = __webpack_require__(
|
|
26
|
+
var esm = __webpack_require__(62709);
|
|
27
27
|
// EXTERNAL MODULE: ../../../node_modules/gl-matrix/esm/index.js + 1 modules
|
|
28
|
-
var gl_matrix_esm = __webpack_require__(
|
|
28
|
+
var gl_matrix_esm = __webpack_require__(72076);
|
|
29
29
|
;// CONCATENATED MODULE: ../../../node_modules/@cornerstonejs/streaming-image-volume-loader/dist/esm/helpers/getVolumeInfo.js
|
|
30
30
|
|
|
31
31
|
|
|
@@ -33,10 +33,10 @@ const { createUint8SharedArray, createFloat32SharedArray } = esm.utilities;
|
|
|
33
33
|
function getVolumeInfo(imageIds) {
|
|
34
34
|
const volumeMetadata = esm.utilities.makeVolumeMetadata(imageIds);
|
|
35
35
|
const { BitsAllocated, PixelRepresentation, PhotometricInterpretation, ImageOrientationPatient, PixelSpacing, Columns, Rows, } = volumeMetadata;
|
|
36
|
-
const rowCosineVec = gl_matrix_esm/* vec3.fromValues */.
|
|
37
|
-
const colCosineVec = gl_matrix_esm/* vec3.fromValues */.
|
|
38
|
-
const scanAxisNormal = gl_matrix_esm/* vec3.create */.
|
|
39
|
-
gl_matrix_esm/* vec3.cross */.
|
|
36
|
+
const rowCosineVec = gl_matrix_esm/* vec3.fromValues */.R3.fromValues(ImageOrientationPatient[0], ImageOrientationPatient[1], ImageOrientationPatient[2]);
|
|
37
|
+
const colCosineVec = gl_matrix_esm/* vec3.fromValues */.R3.fromValues(ImageOrientationPatient[3], ImageOrientationPatient[4], ImageOrientationPatient[5]);
|
|
38
|
+
const scanAxisNormal = gl_matrix_esm/* vec3.create */.R3.create();
|
|
39
|
+
gl_matrix_esm/* vec3.cross */.R3.cross(scanAxisNormal, rowCosineVec, colCosineVec);
|
|
40
40
|
const { zSpacing, origin, sortedImageIds } = esm.utilities.sortImageIdsAndGetSpacing(imageIds, scanAxisNormal);
|
|
41
41
|
const numFrames = imageIds.length;
|
|
42
42
|
const spacing = [PixelSpacing[1], PixelSpacing[0], zSpacing];
|
|
@@ -99,7 +99,7 @@ const groupBy = (array, key) => {
|
|
|
99
99
|
};
|
|
100
100
|
function getIPPGroups(imageIds) {
|
|
101
101
|
const ippMetadata = imageIds.map((imageId) => {
|
|
102
|
-
const { imagePositionPatient } = esm.metaData.get('imagePlaneModule', imageId);
|
|
102
|
+
const { imagePositionPatient } = esm.metaData.get('imagePlaneModule', imageId) || {};
|
|
103
103
|
return { imageId, imagePositionPatient };
|
|
104
104
|
});
|
|
105
105
|
if (!ippMetadata.every((item) => item.imagePositionPatient)) {
|