@ohif/app 3.9.2 → 3.9.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/{1185.bundle.d328aabb2b43e9ea1f96.js → 1185.bundle.9f4c770baf52abcf3c6d.js} +58 -39
- package/dist/{1266.bundle.46de27eda2ef1fce1243.js → 1266.bundle.0097d9c4ba974905a833.js} +3 -3
- package/dist/{1374.bundle.1ee8326c0748c7b1a7c0.js → 1374.bundle.2e1fa65e28731d98969a.js} +2 -2
- package/dist/{1436.bundle.27ae9c87e9fc7f52cad3.js → 1436.bundle.be39664239aa2bbca527.js} +0 -211
- package/dist/{213.bundle.8c04fecea2e3796e4d73.js → 213.bundle.c0c23f7fd4b66d78d0fe.js} +2 -2
- package/dist/{5807.bundle.dac5ce36534a71c77723.js → 2343.bundle.f096450c21417279d4cc.js} +270 -1
- package/dist/{2424.bundle.38b19314ebd984c9d393.js → 2424.bundle.d73e8d67dc2aace299d2.js} +2 -2
- package/dist/{2701.bundle.8c1ff2e0faaa7d2f4716.js → 2701.bundle.c8271fa4986a45fea350.js} +17 -24
- package/dist/{2825.bundle.0307cae794e8b057c674.js → 2825.bundle.0612b1b8ab3e8ee01b93.js} +1 -1
- package/dist/{3198.bundle.ab612063af0d67397377.js → 3198.bundle.7a18515cfe4113417251.js} +10 -6
- package/dist/{3200.bundle.ccb809fb554332d9a0f5.js → 3200.bundle.e46dca03aa824998973a.js} +3 -3
- package/dist/3326.bundle.d01046d6c2c31654c125.js +265 -0
- package/dist/{3900.bundle.3937999d1ee1f391647a.js → 3900.bundle.0e4e29374e221b260ed1.js} +0 -58
- package/dist/{8295.bundle.4ecb27f9e58526f12bcb.js → 3902.bundle.8ae7b2e27f760af997dd.js} +20 -1
- package/dist/3902.css +2 -0
- package/dist/{4202.bundle.5c8120ed4841da0af211.js → 4202.bundle.497702023d73202f4f39.js} +2 -1
- package/dist/{3121.bundle.d3e7092e305cf6cecdb5.js → 4438.bundle.a945f803d0eeb11d081f.js} +24 -4
- package/dist/4759.bundle.1e982897292fc19ecd7c.js +265 -0
- package/dist/{4834.bundle.c25348524be5214e90d6.js → 4834.bundle.92ba088cc62a6b791000.js} +2 -2
- package/dist/{5139.bundle.db30dc02cf41e91c8985.js → 5139.bundle.70d3be7dd1896f245d7b.js} +3 -3
- package/dist/{5247.bundle.1a1d7c27de482e4a73f3.js → 5247.bundle.4e8669e41fd28813e643.js} +3 -3
- package/dist/{5630.bundle.1bd2402f37597078c1a1.js → 5630.bundle.44d0ca81d77b7ae5193b.js} +22 -28
- package/dist/{5687.bundle.05de4787676bf79f9906.js → 5687.bundle.50b800a714486557b243.js} +5 -5
- package/dist/{5717.bundle.32836c212103dbbe8e4a.js → 5717.bundle.9218cb67ad1994cd1a99.js} +58 -0
- package/dist/{3970.bundle.31942cc0c12a008e7ba0.js → 5758.bundle.cd1599b81bdb1f735f9d.js} +270 -1
- package/dist/{717.bundle.3a4b8835adf03e4554c7.js → 7013.bundle.979d3a29f6142e8c1290.js} +264 -4
- package/dist/7013.css +4 -0
- package/dist/{7197.bundle.42a975bb7ae4a8df2d00.js → 7197.bundle.30f8969751309ab5235c.js} +4 -4
- package/dist/{7955.bundle.f6c5edb284bdf8b80f2a.js → 7955.bundle.9264a10437f0a67e6057.js} +2 -2
- package/dist/{8008.bundle.d4187a30e8f656a21316.js → 8008.bundle.6772a210a995b568f8d0.js} +2 -2
- package/dist/{8228.bundle.0a7997d04c82dd8c11c5.js → 8228.bundle.2c1e61eec1f9f4b3b613.js} +6 -24
- package/dist/{8259.bundle.990db2fa9ce0800319e9.js → 8259.bundle.9cf9ef151893ede068bb.js} +2 -2
- package/dist/{8558.bundle.63714e2329c22c9cb9da.js → 8558.bundle.9c22f000a404f1006a41.js} +10 -5
- package/dist/{9551.bundle.63b2679dd7beee6396d8.js → 9551.bundle.3507bb1d4353df13bf3a.js} +2 -2
- package/dist/{9611.bundle.78a4ffb439f65cfd0379.js → 9611.bundle.9f1aa9041196d77f2b7e.js} +2 -2
- package/dist/{app.bundle.632bc6188462e1c95a41.js → app.bundle.9af5a6d7ff3a778d05b7.js} +156 -91
- package/dist/index.html +1 -1
- package/dist/{suv-peak-worker.bundle.1f483dc7131d7c26b517.js → suv-peak-worker.bundle.e2e8e46de3e958a1a3db.js} +1 -1
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- /package/dist/{1801.css → 3326.css} +0 -0
- /package/dist/{717.css → 4438.css} +0 -0
- /package/dist/{2591.css → 4759.css} +0 -0
|
@@ -113,28 +113,6 @@ function utils_formatDICOMTime(time, strFormat = 'HH:mm:ss') {
|
|
|
113
113
|
return moment(time, 'HH:mm:ss').format(strFormat);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
/**
|
|
117
|
-
* Formats a patient name for display purposes
|
|
118
|
-
*
|
|
119
|
-
* @param {string} name
|
|
120
|
-
* @returns {string} formatted name.
|
|
121
|
-
*/
|
|
122
|
-
function utils_formatPN(name) {
|
|
123
|
-
if (!name) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// Convert the first ^ to a ', '. String.replace() only affects
|
|
128
|
-
// the first appearance of the character.
|
|
129
|
-
const commaBetweenFirstAndLast = name.replace('^', ', ');
|
|
130
|
-
|
|
131
|
-
// Replace any remaining '^' characters with spaces
|
|
132
|
-
const cleaned = commaBetweenFirstAndLast.replace(/\^/g, ' ');
|
|
133
|
-
|
|
134
|
-
// Trim any extraneous whitespace
|
|
135
|
-
return cleaned.trim();
|
|
136
|
-
}
|
|
137
|
-
|
|
138
116
|
/**
|
|
139
117
|
* Gets compression type
|
|
140
118
|
*
|
|
@@ -155,12 +133,18 @@ function getCompression(imageId) {
|
|
|
155
133
|
}
|
|
156
134
|
return 'Lossless / Uncompressed';
|
|
157
135
|
}
|
|
136
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
137
|
+
var core_src = __webpack_require__(80818);
|
|
158
138
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/components/ViewportOverlay/index.tsx
|
|
159
139
|
|
|
160
140
|
|
|
161
141
|
|
|
162
142
|
|
|
163
143
|
|
|
144
|
+
|
|
145
|
+
const {
|
|
146
|
+
formatPN
|
|
147
|
+
} = core_src/* utils */.Wp;
|
|
164
148
|
/**
|
|
165
149
|
*
|
|
166
150
|
* @param {*} config is a configuration object that defines four lists of elements,
|
|
@@ -253,8 +237,6 @@ const itemGenerator = props => {
|
|
|
253
237
|
}, content.value)));
|
|
254
238
|
};
|
|
255
239
|
/* harmony default export */ const ViewportOverlay = (generateFromConfig({}));
|
|
256
|
-
// EXTERNAL MODULE: ../../core/src/index.ts + 71 modules
|
|
257
|
-
var core_src = __webpack_require__(29463);
|
|
258
240
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/dicomWebClient.ts
|
|
259
241
|
|
|
260
242
|
|
|
@@ -12,8 +12,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12
12
|
"default": () => (/* binding */ basic_test_mode_src)
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
16
|
-
var src = __webpack_require__(
|
|
15
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
16
|
+
var src = __webpack_require__(80818);
|
|
17
17
|
// EXTERNAL MODULE: ../../ui/src/index.js + 690 modules
|
|
18
18
|
var ui_src = __webpack_require__(35647);
|
|
19
19
|
;// CONCATENATED MODULE: ../../../modes/basic-test-mode/src/toolbarButtons.ts
|
|
@@ -283,8 +283,8 @@ const SOPClassHandlerId = `${id}.sopClassHandlerModule.${SOPClassHandlerName}`;
|
|
|
283
283
|
|
|
284
284
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
285
285
|
var react = __webpack_require__(86326);
|
|
286
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
287
|
-
var src = __webpack_require__(
|
|
286
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
287
|
+
var src = __webpack_require__(80818);
|
|
288
288
|
// EXTERNAL MODULE: ../../../node_modules/dcmjs/build/dcmjs.es.js
|
|
289
289
|
var dcmjs_es = __webpack_require__(5842);
|
|
290
290
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-rt/src/loadRTStruct.js
|
|
@@ -399,7 +399,8 @@ async function loadRTStruct(extensionManager, rtStructDisplaySet, headers) {
|
|
|
399
399
|
StructureSetLabel: instance.StructureSetLabel,
|
|
400
400
|
SeriesInstanceUID: instance.SeriesInstanceUID,
|
|
401
401
|
ROIContours: [],
|
|
402
|
-
visible: true
|
|
402
|
+
visible: true,
|
|
403
|
+
ReferencedSOPInstanceUIDsSet: new Set()
|
|
403
404
|
};
|
|
404
405
|
for (let i = 0; i < ROIContourSequence.length; i++) {
|
|
405
406
|
const ROIContour = ROIContourSequence[i];
|
|
@@ -416,7 +417,8 @@ async function loadRTStruct(extensionManager, rtStructDisplaySet, headers) {
|
|
|
416
417
|
const {
|
|
417
418
|
ContourData,
|
|
418
419
|
NumberOfContourPoints,
|
|
419
|
-
ContourGeometricType
|
|
420
|
+
ContourGeometricType,
|
|
421
|
+
ContourImageSequence
|
|
420
422
|
} = ContourSequenceArray[c];
|
|
421
423
|
let isSupported = false;
|
|
422
424
|
const points = [];
|
|
@@ -442,6 +444,9 @@ async function loadRTStruct(extensionManager, rtStructDisplaySet, headers) {
|
|
|
442
444
|
type: ContourGeometricType,
|
|
443
445
|
isSupported
|
|
444
446
|
});
|
|
447
|
+
if (ContourImageSequence?.ReferencedSOPInstanceUID) {
|
|
448
|
+
structureSet.ReferencedSOPInstanceUIDsSet.add(ContourImageSequence?.ReferencedSOPInstanceUID);
|
|
449
|
+
}
|
|
445
450
|
}
|
|
446
451
|
_setROIContourMetadata(structureSet, StructureSetROISequence, RTROIObservationsSequence, ROIContour, contourPoints, isSupported);
|
|
447
452
|
}
|
|
@@ -731,7 +736,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
731
736
|
|
|
732
737
|
|
|
733
738
|
const Component = /*#__PURE__*/react.lazy(() => {
|
|
734
|
-
return
|
|
739
|
+
return Promise.all(/* import() */[__webpack_require__.e(3900), __webpack_require__.e(1436), __webpack_require__.e(3334), __webpack_require__.e(5630), __webpack_require__.e(1185), __webpack_require__.e(4438)]).then(__webpack_require__.bind(__webpack_require__, 23121));
|
|
735
740
|
});
|
|
736
741
|
const OHIFCornerstoneRTViewport = props => {
|
|
737
742
|
return /*#__PURE__*/react.createElement(react.Suspense, {
|
|
@@ -12,8 +12,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12
12
|
"default": () => (/* binding */ tmtv_src)
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
16
|
-
var src = __webpack_require__(
|
|
15
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
16
|
+
var src = __webpack_require__(80818);
|
|
17
17
|
;// CONCATENATED MODULE: ../../../modes/tmtv/src/initToolGroups.js
|
|
18
18
|
const toolGroupIds = {
|
|
19
19
|
CT: 'ctToolGroup',
|
|
@@ -20,8 +20,8 @@ var index_esm = __webpack_require__(81980);
|
|
|
20
20
|
var esm = __webpack_require__(55139);
|
|
21
21
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js
|
|
22
22
|
var dist_esm = __webpack_require__(81985);
|
|
23
|
-
// EXTERNAL MODULE: ../../core/src/index.ts +
|
|
24
|
-
var src = __webpack_require__(
|
|
23
|
+
// EXTERNAL MODULE: ../../core/src/index.ts + 72 modules
|
|
24
|
+
var src = __webpack_require__(80818);
|
|
25
25
|
// EXTERNAL MODULE: ../../ui/src/index.js + 690 modules
|
|
26
26
|
var ui_src = __webpack_require__(35647);
|
|
27
27
|
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/state.ts
|