@ohif/app 3.12.0-beta.98 → 3.12.0
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/{1403.bundle.3735409c5ee10bad1b58.js → 1403.bundle.1c9ce804d1e88033e276.js} +4 -2
- package/dist/{147.bundle.205350dc3d21478277b1.js → 147.bundle.37d627289453cb6c3937.js} +6 -15
- package/dist/{1608.bundle.f855c4bdb7f00eb66fca.js → 1608.bundle.0687c661f1c9edfb3b8a.js} +4 -4
- package/dist/{1730.bundle.69d51c8fd41cca9480e9.js → 1730.bundle.66a5e554ab20dab97b11.js} +7 -5
- package/dist/{1927.bundle.019331c266d306772371.js → 1927.bundle.3050588e95f43cf57cdd.js} +1 -1
- package/dist/{1933.bundle.a6092b5dc308587f7e9f.js → 1933.bundle.682f142e3217d4c7fbf7.js} +7 -3
- package/dist/{2018.bundle.9edfbe64e426c42945d3.js → 2018.bundle.c06693143228cc034cb9.js} +47 -47
- package/dist/{213.bundle.d45e5272c3ead34527d9.js → 213.bundle.c2d4d7370c26b0823880.js} +2 -2
- package/dist/{2424.bundle.90cb57b13d0eb58bf9ea.js → 2424.bundle.c1e287e752f352b76543.js} +2 -2
- package/dist/{2701.bundle.aca0d4f24a6f2094c3c3.js → 2701.bundle.12bd01a80a9f8ea4cd94.js} +4 -4
- package/dist/{2842.bundle.7852a204d3510fca8b27.js → 2842.bundle.860b9f10fcdd9656947a.js} +330 -123
- package/dist/{1903.bundle.b2d00c41d30d9dee2235.js → 3081.bundle.41838985e0472851eadb.js} +644 -322
- package/dist/{3343.bundle.f8fe9316b0ff68d087f7.js → 3343.bundle.d7578ce8f75d158c0bab.js} +2 -0
- package/dist/{3461.bundle.fa6d8be868e17123ff37.js → 3461.bundle.a8fcefd1c6e389d905fc.js} +21 -17
- package/dist/{3584.bundle.839a16d349815b3f7c97.js → 3584.bundle.8cc0750425513433e9cc.js} +15 -17
- package/dist/{4019.bundle.01f63d5dd5b96ded0c00.js → 4019.bundle.83a604779f7da0101ced.js} +196 -366
- package/dist/{4202.bundle.790706560c6edb303476.js → 4202.bundle.5a0f8e4004c5d8a68548.js} +2 -2
- package/dist/{5448.bundle.9a36e001169ea3bfeb6c.js → 4410.bundle.c5224cd7d6238a7d4660.js} +313 -57
- package/dist/{4775.bundle.31f05d287dee80955ac8.js → 4775.bundle.70bc407db26afaa4331a.js} +24 -16
- package/dist/{4819.bundle.5dbd25ed97d60cbef3ed.js → 4819.bundle.47e7aa44747ddab3a39a.js} +8 -6
- package/dist/{5028.bundle.46c429226b0d3850bec6.js → 5028.bundle.274945a9ae69c6b6ad51.js} +6 -6
- package/dist/{5462.bundle.a81a691eeef782ab95b9.js → 5462.bundle.21beddaca145b7465c72.js} +2 -0
- package/dist/{5485.bundle.9800ceb06b364d3b27f5.js → 5485.bundle.4e0ec03c61ec5cadd9bb.js} +3 -3
- package/dist/{5802.bundle.28ab859d9b48a5b2c31c.js → 5802.bundle.3bf5e6b3ab330a594a47.js} +6 -12
- package/dist/{6163.bundle.c2ea625c42d12160225c.js → 6163.bundle.ca93a4e6501880901f94.js} +4 -2
- package/dist/{3353.bundle.a0f1654c642395bbbbbc.js → 6347.bundle.784c48912700f281de1d.js} +323 -179
- package/dist/{5400.bundle.de97508611da1c00d58a.js → 6409.bundle.b36048896cb11c8571fb.js} +450 -79
- package/dist/{7412.bundle.aec4834a71fc27c4ce06.js → 7412.bundle.fab1742191b7fe937330.js} +251 -197
- package/dist/{7431.bundle.999b2b65d4973bc56218.js → 7431.bundle.b01791d10e6cf9f503b0.js} +10 -4
- package/dist/{7639.bundle.1fa23b3995e153f7173a.js → 7639.bundle.32152cacb059089ed7d7.js} +24 -20
- package/dist/{8305.bundle.f3c535c1a73ab7f616f1.js → 8305.bundle.2ede68ba3c075928c9f4.js} +47 -29
- package/dist/{8558.bundle.215c129b8285e7100e9f.js → 8558.bundle.3e84c4ba2c7ec6fce52c.js} +33 -3
- package/dist/{8583.bundle.f55a6843d8a64b56def5.js → 8583.bundle.2908eee785e7e4595d14.js} +28 -23
- package/dist/{9195.bundle.892af745c4b465dc458d.js → 9195.bundle.606ca286a0fed8a43f58.js} +151 -78
- package/dist/{9845.bundle.31aec3fe7a5cdc247f4e.js → 9845.bundle.255e7c7f7a88193b4e47.js} +16 -8
- package/dist/{9862.bundle.3ca0ad5f54db87ccf91e.js → 9862.bundle.3a8958a82c572015d25d.js} +2 -2
- package/dist/{9927.bundle.f459d6c6282f24377a9a.js → 9927.bundle.e798a347dfe1f241578f.js} +16 -16
- package/dist/{5549.bundle.d5def6a3124a3a481b7c.js → 997.bundle.822b33e561263084e18c.js} +961 -290
- package/dist/{app.bundle.f5ecd8673a5dc4323740.js → app.bundle.26b7eafdf05b5445414b.js} +6000 -2284
- package/dist/app.bundle.css +1 -1
- package/dist/{compute.bundle.fdee4a0f193ee2e1b6da.js → compute.bundle.64280c7af19ff567465f.js} +3 -3
- package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js +3254 -1792
- package/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.11f9746cd60c9811a412.js → polySeg.bundle.a5aa9130b4191253c410.js} +3 -3
- package/dist/sw.js +1 -1
- package/package.json +24 -24
- /package/dist/{1459.bundle.3a7ac3457326eff48547.js → 1459.bundle.e8802999a4d7f7edf628.js} +0 -0
- /package/dist/{5457.bundle.9d64aa81cc3f52968f3c.js → 5457.bundle.f7de73bcfe1012a73b9f.js} +0 -0
- /package/dist/{5858.bundle.d5f4bf849aaeebf5025c.js → 5858.bundle.ff6b340cf7457db76a1a.js} +0 -0
- /package/dist/{6027.bundle.57cd87592e825389ec2a.js → 6027.bundle.2b12862684b0cb3af4b4.js} +0 -0
- /package/dist/{85.bundle.1c671081e8c662c66b7a.js → 85.bundle.05591d5a14d74a502dfe.js} +0 -0
|
@@ -109,6 +109,8 @@ var SegmentationRepresentations;
|
|
|
109
109
|
/* harmony export */ });
|
|
110
110
|
var StrategyCallbacks;
|
|
111
111
|
(function (StrategyCallbacks) {
|
|
112
|
+
StrategyCallbacks["CalculateCursorGeometry"] = "calculateCursorGeometry";
|
|
113
|
+
StrategyCallbacks["RenderCursor"] = "renderCursor";
|
|
112
114
|
StrategyCallbacks["OnInteractionStart"] = "onInteractionStart";
|
|
113
115
|
StrategyCallbacks["OnInteractionEnd"] = "onInteractionEnd";
|
|
114
116
|
StrategyCallbacks["Preview"] = "preview";
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
/* harmony export */ sh: () => (/* binding */ SCOORDTypes)
|
|
12
12
|
/* harmony export */ });
|
|
13
13
|
/* unused harmony export RelationshipType */
|
|
14
|
-
/* harmony import */ var _cornerstonejs_adapters__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
14
|
+
/* harmony import */ var _cornerstonejs_adapters__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22031);
|
|
15
15
|
|
|
16
16
|
const {
|
|
17
17
|
CodeScheme: Cornerstone3DCodeScheme
|
|
@@ -75,12 +75,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
75
75
|
var react = __webpack_require__(86326);
|
|
76
76
|
// EXTERNAL MODULE: ../../core/src/index.ts + 69 modules
|
|
77
77
|
var src = __webpack_require__(42356);
|
|
78
|
-
// EXTERNAL MODULE: ../../i18n/src/index.js +
|
|
79
|
-
var i18n_src = __webpack_require__(
|
|
80
|
-
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx +
|
|
81
|
-
var cornerstone_src = __webpack_require__(
|
|
82
|
-
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/adapters/dist/esm/index.js +
|
|
83
|
-
var esm = __webpack_require__(
|
|
78
|
+
// EXTERNAL MODULE: ../../i18n/src/index.js + 286 modules
|
|
79
|
+
var i18n_src = __webpack_require__(89010);
|
|
80
|
+
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx + 193 modules
|
|
81
|
+
var cornerstone_src = __webpack_require__(63081);
|
|
82
|
+
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/adapters/dist/esm/index.js + 71 modules
|
|
83
|
+
var esm = __webpack_require__(22031);
|
|
84
84
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/tools/dist/esm/index.js
|
|
85
85
|
var dist_esm = __webpack_require__(4667);
|
|
86
86
|
// EXTERNAL MODULE: ../../../node_modules/@cornerstonejs/core/dist/esm/index.js + 1 modules
|
|
@@ -984,16 +984,20 @@ function _processNonGeometricallyDefinedMeasurement(mergedContentSequence) {
|
|
|
984
984
|
ContentSequence,
|
|
985
985
|
MeasuredValueSequence
|
|
986
986
|
} = item;
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
987
|
+
|
|
988
|
+
// Handle spatial reference ONLY if ContentSequence exists
|
|
989
|
+
if (ContentSequence) {
|
|
990
|
+
const {
|
|
991
|
+
ValueType
|
|
992
|
+
} = ContentSequence;
|
|
993
|
+
if (ValueType !== 'SCOORD' && ValueType !== 'SCOORD3D') {
|
|
994
|
+
console.warn(`Graphic ${ValueType} not currently supported, skipping annotation.`);
|
|
995
|
+
return;
|
|
996
|
+
}
|
|
997
|
+
const coords = _getCoordsFromSCOORDOrSCOORD3D(ContentSequence);
|
|
998
|
+
if (coords) {
|
|
999
|
+
measurement.coords.push(coords);
|
|
1000
|
+
}
|
|
997
1001
|
}
|
|
998
1002
|
if (MeasuredValueSequence) {
|
|
999
1003
|
measurement.labels.push(_getLabelFromMeasuredValueSequence(ConceptNameCodeSequence, MeasuredValueSequence));
|
|
@@ -315,14 +315,11 @@ function mouseDown(evt) {
|
|
|
315
315
|
return;
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
const
|
|
319
|
-
const
|
|
320
|
-
const passiveToolsIfEventWasPrimaryMouseButton = isPrimaryClick
|
|
321
|
-
? (0,getToolsWithModesForMouseEvent/* default */.A)(evt, [mouseDown_Passive])
|
|
322
|
-
: undefined;
|
|
318
|
+
const allActiveTools = (0,getToolsWithModesForMouseEvent/* default */.A)(evt, [mouseDown_Active]);
|
|
319
|
+
const allPassiveTools = (0,getToolsWithModesForMouseEvent/* default */.A)(evt, [mouseDown_Passive]);
|
|
323
320
|
const applicableTools = [
|
|
324
|
-
...(
|
|
325
|
-
...(
|
|
321
|
+
...(allActiveTools || []),
|
|
322
|
+
...(allPassiveTools || []),
|
|
326
323
|
];
|
|
327
324
|
const actionExecuted = mouseDownAnnotationAction(evt);
|
|
328
325
|
if (actionExecuted) {
|
|
@@ -399,8 +396,13 @@ function mouseDownActivate(evt) {
|
|
|
399
396
|
return;
|
|
400
397
|
}
|
|
401
398
|
if (activeTool.addNewAnnotation) {
|
|
402
|
-
|
|
403
|
-
|
|
399
|
+
try {
|
|
400
|
+
const annotation = activeTool.addNewAnnotation(evt, 'mouse');
|
|
401
|
+
(0,annotationSelection.setAnnotationSelected)(annotation.annotationUID);
|
|
402
|
+
}
|
|
403
|
+
catch (error) {
|
|
404
|
+
console.warn('Error adding new annotation, viewport not ready:', error);
|
|
405
|
+
}
|
|
404
406
|
}
|
|
405
407
|
}
|
|
406
408
|
|
|
@@ -691,15 +693,11 @@ function touchStart(evt) {
|
|
|
691
693
|
return;
|
|
692
694
|
}
|
|
693
695
|
}
|
|
694
|
-
const
|
|
695
|
-
const
|
|
696
|
-
const passiveToolsIfEventWasPrimaryTouchButton = isPrimaryClick
|
|
697
|
-
? getToolsWithModesForTouchEvent(evt, [Passive])
|
|
698
|
-
: undefined;
|
|
696
|
+
const allActiveTools = getToolsWithModesForTouchEvent(evt, [touchStart_Active]);
|
|
697
|
+
const allPassiveTools = getToolsWithModesForTouchEvent(evt, [Passive]);
|
|
699
698
|
const applicableTools = [
|
|
700
|
-
...(
|
|
701
|
-
...(
|
|
702
|
-
activeTool,
|
|
699
|
+
...(allActiveTools || []),
|
|
700
|
+
...(allPassiveTools || []),
|
|
703
701
|
];
|
|
704
702
|
const eventDetail = evt.detail;
|
|
705
703
|
const { element } = eventDetail;
|