@ohif/app 3.13.0-beta.109 → 3.13.0-beta.110
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/{3454.bundle.b0670a82c99931af.js → 3454.bundle.ab8c63c1e3d46eab.js} +220 -1609
- package/dist/{379.bundle.cacf70fcef530540.js → 379.bundle.75b0fb722268f037.js} +48 -43
- package/dist/{3856.bundle.285a42d08540a74a.js → 3856.bundle.cc247da8b523d738.js} +1 -0
- package/dist/{8274.bundle.a206a2e68e796155.js → 3867.bundle.0d44986c6b0bde7d.js} +663 -1814
- package/dist/{414.bundle.5faf580251ecccc5.js → 414.bundle.adb184d0525a2638.js} +19 -6
- package/dist/{5989.bundle.6a8c5b7de30385c8.js → 5989.bundle.f3905a4493574e09.js} +1106 -804
- package/dist/{6577.bundle.f614df8efd7562f4.js → 6577.bundle.a3e571d5f84837ea.js} +47 -41
- package/dist/{8568.bundle.73ae0a60200a13e0.js → 7579.bundle.9369c6c58a5d6df5.js} +252 -94
- package/dist/{9789.bundle.19323edfc98a32b6.js → 7760.bundle.2b8057d52a6bb394.js} +3399 -389
- package/dist/{4456.bundle.2c6f4bb6de866b88.js → 8565.bundle.a7532bbc39906b3c.js} +50 -7
- package/dist/{9358.bundle.f28c3008748433d0.js → 9358.bundle.6e3ad740c6167bce.js} +2 -2
- package/dist/{app.bundle.02d944bdfbe7f56f.js → app.bundle.2ff5b8155b4cffb1.js} +2256 -820
- package/dist/{compute.bundle.11dbfc2d25ce8e89.js → compute.bundle.4922bddc18cacdbd.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.485090724c5da16c.js → polySeg.bundle.c549b9f4bad23335.js} +3 -3
- package/dist/sw.js +1 -1
- package/package.json +6 -6
- /package/dist/{100.bundle.b53f62d2c9e9d217.js → 100.bundle.4cf7bd363eb335b7.js} +0 -0
- /package/dist/{1180.bundle.91d7318b888f49d4.js → 1180.bundle.b2242ffb09ba5148.js} +0 -0
- /package/dist/{1602.bundle.82eb27054f87c46e.js → 1602.bundle.82c5d8be3ed58042.js} +0 -0
- /package/dist/{2666.bundle.ba07d670ce889a55.js → 2666.bundle.ee1d4d309ce2ca82.js} +0 -0
- /package/dist/{2779.bundle.2fc7fefe1c4baa18.js → 2779.bundle.357c1cb7a7c97a12.js} +0 -0
- /package/dist/{3500.bundle.1f08c43b36ccb8e8.js → 3500.bundle.d30a0fe9f2c01716.js} +0 -0
- /package/dist/{3760.bundle.2585498b240d6a6a.js → 3760.bundle.954d6b9d91e32698.js} +0 -0
- /package/dist/{4556.bundle.ab9eb35c4157e756.js → 4556.bundle.15bb2344dda86bc2.js} +0 -0
- /package/dist/{4683.bundle.a76560d5378ac6eb.js → 4683.bundle.e8c02628855b8f06.js} +0 -0
- /package/dist/{4834.bundle.16feedbb89a48139.js → 4834.bundle.90a643174dce8dec.js} +0 -0
- /package/dist/{5189.bundle.ef9d707c4c3f31aa.js → 5189.bundle.5ef0d5922ba029ba.js} +0 -0
- /package/dist/{5696.bundle.4c4a7c97de60e8e9.js → 5696.bundle.3c85e69c1cc52c7d.js} +0 -0
- /package/dist/{5708.bundle.6f993438bc9cd1cb.js → 5708.bundle.f4015201f2af7141.js} +0 -0
- /package/dist/{6001.bundle.ea20503d32089842.js → 6001.bundle.27b3105664e9300e.js} +0 -0
- /package/dist/{6650.bundle.29f772517a82ee09.js → 6650.bundle.defab1d01ae0dcba.js} +0 -0
- /package/dist/{7231.bundle.e80ae4c82e76f9aa.js → 7231.bundle.791409f68df0de05.js} +0 -0
- /package/dist/{7248.bundle.759cfc9d51cb3ce1.js → 7248.bundle.f59ba717c33fe7a9.js} +0 -0
- /package/dist/{7295.bundle.669ec6678960bc9b.js → 7295.bundle.ed75fcf8ee66b10a.js} +0 -0
- /package/dist/{8423.bundle.6e8a9d8368e6deb6.js → 8423.bundle.22a629778b9e5e5f.js} +0 -0
- /package/dist/{8832.bundle.5f4cceed2a78111b.js → 8832.bundle.c550b761182eb3f6.js} +0 -0
- /package/dist/{9116.bundle.1b4a60b74cf6e76f.js → 9116.bundle.c002e22cfadc9396.js} +0 -0
- /package/dist/{9290.bundle.8d5e18c97f597402.js → 9290.bundle.a77e843b58fe5013.js} +0 -0
- /package/dist/{9415.bundle.23cdd187e22f3555.js → 9415.bundle.e1cfbd843dd3d63b.js} +0 -0
- /package/dist/{9437.bundle.91da0017f6cf6613.js → 9437.bundle.10d4785589703e3d.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis["rspackChunk"] = globalThis["rspackChunk"] || []).push([[
|
|
1
|
+
(globalThis["rspackChunk"] = globalThis["rspackChunk"] || []).push([[8565], {
|
|
2
2
|
97181(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
3
3
|
"use strict";
|
|
4
4
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -1225,7 +1225,7 @@ function getPrimaryLabelmapType(labelmapData) {
|
|
|
1225
1225
|
function createPrimaryLabelmapLayer(segmentation, labelmapData, labelmapId = getPrimaryLabelmapId(segmentation.segmentationId)) {
|
|
1226
1226
|
const layer = {
|
|
1227
1227
|
labelmapId,
|
|
1228
|
-
|
|
1228
|
+
storageKind: getPrimaryLabelmapType(labelmapData),
|
|
1229
1229
|
labelToSegmentIndex: {},
|
|
1230
1230
|
};
|
|
1231
1231
|
if (labelmapData.volumeId != null) {
|
|
@@ -1309,7 +1309,7 @@ function createPrivateVolumeLabelmap(segmentation, sourceLabelmap) {
|
|
|
1309
1309
|
});
|
|
1310
1310
|
return {
|
|
1311
1311
|
labelmapId: volumeId,
|
|
1312
|
-
|
|
1312
|
+
storageKind: 'volume',
|
|
1313
1313
|
volumeId,
|
|
1314
1314
|
imageIds: volume.imageIds,
|
|
1315
1315
|
referencedVolumeId,
|
|
@@ -1332,7 +1332,7 @@ function createPrivateStackLabelmap(segmentation, sourceLabelmap) {
|
|
|
1332
1332
|
});
|
|
1333
1333
|
return {
|
|
1334
1334
|
labelmapId: `${segmentation.segmentationId}-storage-${_cornerstonejs_core__rspack_import_0.utilities.uuidv4()}`,
|
|
1335
|
-
|
|
1335
|
+
storageKind: 'stack',
|
|
1336
1336
|
imageIds: images.map((image) => image.imageId),
|
|
1337
1337
|
referencedVolumeId: sourceLabelmap.referencedVolumeId,
|
|
1338
1338
|
referencedImageIds,
|
|
@@ -1760,7 +1760,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1760
1760
|
|
|
1761
1761
|
const { addCanvasPointsToArray, pointsAreWithinCloseContourProximity, getFirstLineSegmentIntersectionIndexes, getSubPixelSpacingAndXYDirections, } = _utilities_math__rspack_import_10.polyline;
|
|
1762
1762
|
function activateDraw(evt, annotation, viewportIdsToRender) {
|
|
1763
|
-
this.isDrawing = true;
|
|
1764
1763
|
const eventDetail = evt.detail;
|
|
1765
1764
|
const { currentPoints, element } = eventDetail;
|
|
1766
1765
|
const canvasPos = currentPoints.canvas;
|
|
@@ -1772,6 +1771,7 @@ function activateDraw(evt, annotation, viewportIdsToRender) {
|
|
|
1772
1771
|
if (!spacing || !xDir || !yDir) {
|
|
1773
1772
|
return;
|
|
1774
1773
|
}
|
|
1774
|
+
this.isDrawing = true;
|
|
1775
1775
|
this.drawData = {
|
|
1776
1776
|
canvasPoints: [canvasPos],
|
|
1777
1777
|
polylineIndex: 0,
|
|
@@ -5728,8 +5728,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
5728
5728
|
/* import */ var _cornerstonejs_core__rspack_import_0 = __webpack_require__(70594);
|
|
5729
5729
|
|
|
5730
5730
|
function getViewportICamera(viewport, viewReference = viewport.getViewReference()) {
|
|
5731
|
-
const
|
|
5732
|
-
|
|
5731
|
+
const camera = ((_cornerstonejs_core__rspack_import_0.utilities.isGenericViewport(viewport)
|
|
5732
|
+
? viewport.getResolvedView()?.toICamera()
|
|
5733
|
+
: undefined) ||
|
|
5733
5734
|
viewport.getCamera?.() ||
|
|
5734
5735
|
{});
|
|
5735
5736
|
const focalPoint = _cornerstonejs_core__rspack_import_0.utilities.clonePoint3(viewReference?.cameraFocalPoint || camera.focalPoint);
|
|
@@ -5878,6 +5879,48 @@ function isClosed(polyline) {
|
|
|
5878
5879
|
}
|
|
5879
5880
|
|
|
5880
5881
|
|
|
5882
|
+
},
|
|
5883
|
+
94418(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5884
|
+
"use strict";
|
|
5885
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
5886
|
+
A: () => (filterAnnotationsForDisplay)
|
|
5887
|
+
});
|
|
5888
|
+
/* import */ var _cornerstonejs_core__rspack_import_0 = __webpack_require__(70594);
|
|
5889
|
+
/* import */ var _filterAnnotationsWithinSlice__rspack_import_1 = __webpack_require__(36374);
|
|
5890
|
+
/* import */ var _getViewportICamera__rspack_import_2 = __webpack_require__(29604);
|
|
5891
|
+
|
|
5892
|
+
|
|
5893
|
+
|
|
5894
|
+
function filterAnnotationsForDisplay(viewport, annotations, filterOptions = {}) {
|
|
5895
|
+
const isLegacyVolume = viewport instanceof _cornerstonejs_core__rspack_import_0.VolumeViewport;
|
|
5896
|
+
const isNativeVolume = _cornerstonejs_core__rspack_import_0.utilities.getViewportContentMode(viewport) === 'volume';
|
|
5897
|
+
if (isLegacyVolume || isNativeVolume) {
|
|
5898
|
+
const camera = isLegacyVolume
|
|
5899
|
+
? viewport.getCamera()
|
|
5900
|
+
: (0,_getViewportICamera__rspack_import_2/* ["default"] */.A)(viewport);
|
|
5901
|
+
const { spacingInNormalDirection } = _cornerstonejs_core__rspack_import_0.utilities.getTargetVolumeAndSpacingInNormalDir(viewport, camera);
|
|
5902
|
+
return (0,_filterAnnotationsWithinSlice__rspack_import_1/* ["default"] */.A)(annotations, camera, spacingInNormalDirection);
|
|
5903
|
+
}
|
|
5904
|
+
if (viewport instanceof _cornerstonejs_core__rspack_import_0.StackViewport) {
|
|
5905
|
+
const imageId = viewport.getCurrentImageId();
|
|
5906
|
+
if (!imageId) {
|
|
5907
|
+
return [];
|
|
5908
|
+
}
|
|
5909
|
+
const colonIndex = imageId.indexOf(':');
|
|
5910
|
+
filterOptions.imageURI = imageId.substring(colonIndex + 1);
|
|
5911
|
+
}
|
|
5912
|
+
return annotations.filter((annotation) => {
|
|
5913
|
+
if (!annotation.isVisible) {
|
|
5914
|
+
return false;
|
|
5915
|
+
}
|
|
5916
|
+
if (annotation.data.isCanvasAnnotation) {
|
|
5917
|
+
return true;
|
|
5918
|
+
}
|
|
5919
|
+
return viewport.isReferenceViewable(annotation.metadata, filterOptions);
|
|
5920
|
+
});
|
|
5921
|
+
}
|
|
5922
|
+
|
|
5923
|
+
|
|
5881
5924
|
},
|
|
5882
5925
|
42797(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5883
5926
|
"use strict";
|
|
@@ -10811,8 +10811,8 @@ function AboutModalDefault() {
|
|
|
10811
10811
|
name
|
|
10812
10812
|
} = (0,browser_detect_es5/* ["default"] */.A)();
|
|
10813
10813
|
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
|
|
10814
|
-
const versionNumber = "3.13.0-beta.
|
|
10815
|
-
const commitHash = "
|
|
10814
|
+
const versionNumber = "3.13.0-beta.110";
|
|
10815
|
+
const commitHash = "38214f26de1759a1bb0e54d4b9d51262003b9373";
|
|
10816
10816
|
const [main, beta] = versionNumber.split('-');
|
|
10817
10817
|
return /*#__PURE__*/react.createElement(ui_next_src/* .AboutModal */.VTU, {
|
|
10818
10818
|
className: "w-[400px]"
|