@ohif/app 3.9.0 → 3.9.1
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/{149.bundle.b8d177954628f4631fc0.js → 149.bundle.ce5596fc563276036744.js} +11 -6
- package/dist/{1520.bundle.fde5eb31364855194519.js → 1520.bundle.97dbd9bfa83148e5334d.js} +2 -2
- package/dist/{3200.bundle.45b19ea468d6208f0e7e.js → 3200.bundle.a12825fb5aec200d33e2.js} +47 -2
- package/dist/app.bundle.css +2 -2
- package/dist/{app.bundle.8e454976c3d4c3348750.js → app.bundle.d02143bec2df7fec9964.js} +17 -13
- package/dist/index.html +1 -1
- package/dist/{suv-peak-worker.bundle.76dd4fdf82aaa2c3ad41.js → suv-peak-worker.bundle.31c3b3b957204af93b7e.js} +1 -1
- package/dist/sw.js +1 -1
- package/package.json +19 -19
- /package/dist/{1185.bundle.a6e220f00576d6926fe7.js → 1185.bundle.023fe7179faaa50019d3.js} +0 -0
- /package/dist/{1266.bundle.8fd38b710e91305721e5.js → 1266.bundle.e9abd5c45b5236544151.js} +0 -0
- /package/dist/{1374.bundle.f56c07364d8f6ed2d00e.js → 1374.bundle.019bbc010eeb66109e8b.js} +0 -0
- /package/dist/{213.bundle.38caad239bcfec1d28fb.js → 213.bundle.e663335fb0884edde6d8.js} +0 -0
- /package/dist/{2424.bundle.c7b6d3475da1ffff744b.js → 2424.bundle.b7da298db43541d3a7c0.js} +0 -0
- /package/dist/{2825.bundle.ba60e0011bcebdf7a413.js → 2825.bundle.b04c941a87fd580deb6d.js} +0 -0
- /package/dist/{3198.bundle.9b80ca2f1d99a7f9a4fe.js → 3198.bundle.c82b7424070ffd02faf1.js} +0 -0
- /package/dist/{4834.bundle.4bfa1bd1d4a163de3350.js → 4834.bundle.aad44c2628cdefb7a4dd.js} +0 -0
- /package/dist/{5139.bundle.b185b1df3847a2025829.js → 5139.bundle.367a6827071448e2923d.js} +0 -0
- /package/dist/{5247.bundle.03fa8aac71d4e597d708.js → 5247.bundle.6dc2a50f21821b2ffdf5.js} +0 -0
- /package/dist/{5687.bundle.3a558ac2eb26f5295668.js → 5687.bundle.5731ec23dd9eb43a083e.js} +0 -0
- /package/dist/{717.bundle.62437bfeb54f01269abe.js → 717.bundle.0f32b7b57347b5141248.js} +0 -0
- /package/dist/{7197.bundle.db0d51e5529d88a4cd7f.js → 7197.bundle.c28453cdb392072d8bf8.js} +0 -0
- /package/dist/{7955.bundle.699bffabae3a9915c326.js → 7955.bundle.6a255705b1ef5906f4a8.js} +0 -0
- /package/dist/{8008.bundle.1ab47eccf7608fe14e92.js → 8008.bundle.5bf7b274246be10e2f05.js} +0 -0
- /package/dist/{8259.bundle.4385bd89c3f7f4ced27c.js → 8259.bundle.623c29b26b170a8a085b.js} +0 -0
- /package/dist/{8558.bundle.3b0654ad2a52ac9786dd.js → 8558.bundle.01d05fd73da5db8e60f9.js} +0 -0
- /package/dist/{9551.bundle.13a3eec1e003a46095bc.js → 9551.bundle.6c260a9869e14dcc3543.js} +0 -0
|
@@ -8053,12 +8053,14 @@ function _stopClip(element, options = { stopDynamicCine: true, viewportId: undef
|
|
|
8053
8053
|
}
|
|
8054
8054
|
function _stopDynamicVolumeCine(element) {
|
|
8055
8055
|
const { viewport } = (0,dist_esm.getEnabledElement)(element);
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8056
|
+
if (viewport instanceof dist_esm.VolumeViewport) {
|
|
8057
|
+
const volume = _getVolumeFromViewport(viewport);
|
|
8058
|
+
if (volume?.isDynamicVolume()) {
|
|
8059
|
+
const dynamicCineElement = dynamicVolumesPlayingMap.get(volume.volumeId);
|
|
8060
|
+
dynamicVolumesPlayingMap.delete(volume.volumeId);
|
|
8061
|
+
if (dynamicCineElement && dynamicCineElement !== element) {
|
|
8062
|
+
stopClip(dynamicCineElement);
|
|
8063
|
+
}
|
|
8062
8064
|
}
|
|
8063
8065
|
}
|
|
8064
8066
|
}
|
|
@@ -8108,6 +8110,9 @@ function _stopClipWithData(playClipData) {
|
|
|
8108
8110
|
}
|
|
8109
8111
|
}
|
|
8110
8112
|
function _getVolumeFromViewport(viewport) {
|
|
8113
|
+
if (!(viewport instanceof dist_esm.VolumeViewport)) {
|
|
8114
|
+
return undefined;
|
|
8115
|
+
}
|
|
8111
8116
|
const volumeIds = viewport.getAllVolumeIds();
|
|
8112
8117
|
if (!volumeIds?.length) {
|
|
8113
8118
|
return undefined;
|
|
@@ -3056,8 +3056,8 @@ function ViewerHeader({
|
|
|
3056
3056
|
hotkeyDefinitions,
|
|
3057
3057
|
hotkeyDefaults
|
|
3058
3058
|
} = hotkeysManager;
|
|
3059
|
-
const versionNumber = "3.9.
|
|
3060
|
-
const commitHash = "
|
|
3059
|
+
const versionNumber = "3.9.1";
|
|
3060
|
+
const commitHash = "610faa5a2738da5eabc40e57e338c359f481e852";
|
|
3061
3061
|
const menuOptions = [{
|
|
3062
3062
|
title: t('Header:About'),
|
|
3063
3063
|
icon: 'info',
|
|
@@ -1912,7 +1912,8 @@ function PanelMeasurementTableTracking({
|
|
|
1912
1912
|
} = (0,es/* useTranslation */.Bd)('MeasurementTable');
|
|
1913
1913
|
const {
|
|
1914
1914
|
measurementService,
|
|
1915
|
-
customizationService
|
|
1915
|
+
customizationService,
|
|
1916
|
+
uiDialogService
|
|
1916
1917
|
} = servicesManager.services;
|
|
1917
1918
|
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.B)();
|
|
1918
1919
|
const {
|
|
@@ -2011,7 +2012,51 @@ function PanelMeasurementTableTracking({
|
|
|
2011
2012
|
variant: "ghost",
|
|
2012
2013
|
className: "pl-0.5",
|
|
2013
2014
|
onClick: () => {
|
|
2014
|
-
|
|
2015
|
+
uiDialogService.create({
|
|
2016
|
+
id: 'delete-all-measurements',
|
|
2017
|
+
centralize: true,
|
|
2018
|
+
isDraggable: false,
|
|
2019
|
+
showOverlay: true,
|
|
2020
|
+
content: ui_src/* Dialog */.lG,
|
|
2021
|
+
contentProps: {
|
|
2022
|
+
title: 'Delete All Measurements',
|
|
2023
|
+
body: () => /*#__PURE__*/react.createElement("div", {
|
|
2024
|
+
className: "bg-primary-dark text-white"
|
|
2025
|
+
}, /*#__PURE__*/react.createElement("p", null, "Are you sure you want to delete all measurements?"), /*#__PURE__*/react.createElement("p", {
|
|
2026
|
+
className: "mt-2"
|
|
2027
|
+
}, "This action cannot be undone.")),
|
|
2028
|
+
actions: [{
|
|
2029
|
+
id: 'cancel',
|
|
2030
|
+
text: 'Cancel',
|
|
2031
|
+
type: ui_src/* ButtonEnums.type */.Ny.NW.secondary
|
|
2032
|
+
}, {
|
|
2033
|
+
id: 'yes',
|
|
2034
|
+
text: 'Delete All',
|
|
2035
|
+
type: ui_src/* ButtonEnums.type */.Ny.NW.primary,
|
|
2036
|
+
classes: ['delete-all-yes-button']
|
|
2037
|
+
}],
|
|
2038
|
+
onClose: () => uiDialogService.dismiss({
|
|
2039
|
+
id: 'delete-all-measurements'
|
|
2040
|
+
}),
|
|
2041
|
+
onSubmit: async ({
|
|
2042
|
+
action
|
|
2043
|
+
}) => {
|
|
2044
|
+
switch (action.id) {
|
|
2045
|
+
case 'yes':
|
|
2046
|
+
measurementService.clearMeasurements();
|
|
2047
|
+
uiDialogService.dismiss({
|
|
2048
|
+
id: 'delete-all-measurements'
|
|
2049
|
+
});
|
|
2050
|
+
break;
|
|
2051
|
+
case 'cancel':
|
|
2052
|
+
uiDialogService.dismiss({
|
|
2053
|
+
id: 'delete-all-measurements'
|
|
2054
|
+
});
|
|
2055
|
+
break;
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
});
|
|
2015
2060
|
}
|
|
2016
2061
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI.Delete, null), "Delete All")));
|
|
2017
2062
|
}
|