@ohif/app 3.14.0-beta.98 → 3.14.0-beta.99
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/{1645.bundle.a98b9ca6.js → 1645.bundle.1a466b16.js} +600 -600
- package/dist/{1788.bundle.3f1349d2.js → 1788.bundle.962951f9.js} +26 -26
- package/dist/{1793.bundle.27458a55.js → 1793.bundle.30f89e46.js} +5 -3
- package/dist/{1862.bundle.79bfe469.js → 1862.bundle.3ae388c3.js} +2 -2
- package/dist/204.bundle.bc44c201.js +101 -0
- package/dist/204.bundle.css +52 -0
- package/dist/{2748.bundle.eaa94e2e.js → 2103.bundle.1cf348e8.js} +1 -1771
- package/dist/{2478.bundle.fc6ab30b.js → 2478.bundle.68ff1b2d.js} +2 -2
- package/dist/{2717.bundle.d5f58443.js → 2717.bundle.4318f1ee.js} +45 -43
- package/dist/{5989.bundle.f484884a.js → 287.bundle.ee60c370.js} +4570 -832
- package/dist/{2894.bundle.d612efb2.js → 2894.bundle.30c0af5b.js} +20 -14
- package/dist/{2991.bundle.f94892fb.js → 2991.bundle.77642eee.js} +101 -97
- package/dist/{3004.bundle.51919fdc.js → 3004.bundle.5568149a.js} +39 -38
- package/dist/{3255.bundle.13e205ac.js → 3255.bundle.3272671f.js} +29 -27
- package/dist/{3366.bundle.62baeeec.js → 3366.bundle.d9e78e25.js} +57 -53
- package/dist/{3468.bundle.f5dc5e44.js → 3468.bundle.666f2441.js} +37 -27
- package/dist/{347.bundle.397bb252.js → 347.bundle.1323658e.js} +44 -44
- package/dist/{3622.bundle.f4cf2d16.js → 3622.bundle.edb42b96.js} +56 -54
- package/dist/{3723.bundle.eab70100.js → 3723.bundle.43ff1971.js} +1 -1
- package/dist/{3771.bundle.aba09bd7.js → 3771.bundle.a5754f97.js} +8 -8
- package/dist/{4449.bundle.aaa4ab92.js → 4487.bundle.fa0375a4.js} +853 -95
- package/dist/{4606.bundle.a3485206.js → 4606.bundle.6c297e2a.js} +9 -7
- package/dist/{4998.bundle.3aedb48d.js → 4998.bundle.25b8cbfe.js} +5 -3
- package/dist/{5076.bundle.95c07142.js → 5076.bundle.2a14756f.js} +66 -66
- package/dist/{5143.bundle.04f54c00.js → 5143.bundle.53156bb0.js} +358 -226
- package/dist/{5154.bundle.2f460017.js → 5154.bundle.ccd02dd7.js} +5 -3
- package/dist/{5320.bundle.9b05cebb.js → 5320.bundle.c17eb4a7.js} +678 -546
- package/dist/{6212.bundle.e505e123.js → 6212.bundle.c4856be7.js} +48 -46
- package/dist/{6253.bundle.f74ac5c2.js → 6253.bundle.596ce463.js} +1225 -1145
- package/dist/{1153.bundle.51d39e80.js → 6314.bundle.5aadfe48.js} +199 -420
- package/dist/{641.bundle.4627a8e1.js → 641.bundle.8e45751e.js} +89 -89
- package/dist/{6481.bundle.d2fca485.js → 6481.bundle.85093e70.js} +29 -23
- package/dist/{6507.bundle.d52f5e81.js → 6507.bundle.bbcdd01e.js} +76 -76
- package/dist/{6722.bundle.d09a8aad.js → 6722.bundle.3e9a4ef6.js} +4 -4
- package/dist/{6956.bundle.c82fd790.js → 6956.bundle.dc0e8660.js} +33 -33
- package/dist/{7526.bundle.0685dfeb.js → 7526.bundle.3460c3ca.js} +55 -53
- package/dist/{7604.bundle.9eb317c8.js → 7604.bundle.f1eeded4.js} +2 -2
- package/dist/{8312.bundle.2cb75b58.js → 8312.bundle.d67b6f4e.js} +652 -687
- package/dist/{6847.bundle.b2adb444.js → 8729.bundle.e17fe9b2.js} +87 -845
- package/dist/{8788.bundle.4bb4c65b.js → 8788.bundle.83ddf642.js} +21 -20
- package/dist/{8868.bundle.4c357767.js → 8868.bundle.8f3653b3.js} +31 -31
- package/dist/{8923.bundle.9aca06c4.js → 8923.bundle.8b682e96.js} +148 -148
- package/dist/{899.bundle.9a033d16.js → 899.bundle.4e1aee7f.js} +73 -203
- package/dist/{9187.bundle.8f72b4fe.js → 9187.bundle.407afa07.js} +112 -110
- package/dist/9385.bundle.fb0bbf4a.js +1888 -0
- package/dist/{9481.bundle.ccb81f53.js → 9481.bundle.d045ae3a.js} +8 -6
- package/dist/{9517.bundle.1ae74db3.js → 9517.bundle.3e2896ef.js} +31 -17
- package/dist/{9620.bundle.d1dc0be1.js → 9620.bundle.b4cc392c.js} +63 -61
- package/dist/{9841.bundle.0f40f02b.js → 9841.bundle.4f2c401a.js} +93 -91
- package/dist/{9886.bundle.cabb4a24.js → 9886.bundle.b00d5d78.js} +4 -4
- package/dist/{8037.bundle.30a187f7.js → 9889.bundle.bf312047.js} +7743 -1098
- package/dist/{9948.bundle.1172ebca.js → 9948.bundle.fecf81f8.js} +5 -5
- package/dist/{app.bundle.51f0a437.js → app.bundle.bb359653.js} +1926 -1223
- package/dist/{compute.bundle.0ed1fe87.js → compute.bundle.9267d449.js} +13 -12
- package/dist/{histogram-worker.bundle.58e60d7c.js → histogram-worker.bundle.29bcdbf6.js} +6 -5
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.5a53d112.js → interpolation.bundle.ee9998a4.js} +8 -7
- package/dist/{lib-router.bundle.a5ac870a.js → lib-router.bundle.2a887bc7.js} +334 -201
- package/dist/{polySeg.bundle.b4089601.js → polySeg.bundle.a55f8eee.js} +12 -12
- package/dist/sw.js +11 -1
- package/package.json +14 -19
- package/dist/1566.bundle.d58db206.js +0 -3610
|
@@ -40,19 +40,19 @@ function _askTrackMeasurements(uiViewportDialogService, customizationService, vi
|
|
|
40
40
|
{
|
|
41
41
|
id: 'prompt-begin-tracking-cancel',
|
|
42
42
|
type: 'secondary',
|
|
43
|
-
text: i18next__rspack_import_0
|
|
43
|
+
text: i18next__rspack_import_0["default"].t('Common:No'),
|
|
44
44
|
value: RESPONSE.CANCEL
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
id: 'prompt-begin-tracking-no-do-not-ask-again',
|
|
48
48
|
type: 'secondary',
|
|
49
|
-
text: i18next__rspack_import_0
|
|
49
|
+
text: i18next__rspack_import_0["default"].t('MeasurementTable:No, do not ask again'),
|
|
50
50
|
value: RESPONSE.NO_NEVER
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
id: 'prompt-begin-tracking-yes',
|
|
54
54
|
type: 'primary',
|
|
55
|
-
text: i18next__rspack_import_0
|
|
55
|
+
text: i18next__rspack_import_0["default"].t('Common:Yes'),
|
|
56
56
|
value: RESPONSE.SET_STUDY_AND_SERIES
|
|
57
57
|
}
|
|
58
58
|
];
|
|
@@ -678,7 +678,7 @@ function hydrateStructuredReport({ servicesManager, extensionManager, commandsMa
|
|
|
678
678
|
const { viewportId, displaySetInstanceUID } = evt;
|
|
679
679
|
const srDisplaySet = displaySetService.getDisplaySetByUID(displaySetInstanceUID);
|
|
680
680
|
return new Promise((resolve, reject)=>{
|
|
681
|
-
const hydrationResult = (0,cornerstone_dicom_sr_src
|
|
681
|
+
const hydrationResult = (0,cornerstone_dicom_sr_src.hydrateStructuredReport)({
|
|
682
682
|
servicesManager,
|
|
683
683
|
extensionManager,
|
|
684
684
|
commandsManager,
|
|
@@ -791,7 +791,7 @@ const hasValidSOPClassHandlerId = (displaySet)=>{
|
|
|
791
791
|
function TrackedMeasurementsContextProvider({ servicesManager, commandsManager, extensionManager }, { children } // Component props
|
|
792
792
|
) {
|
|
793
793
|
const [appConfig] = (0,state/* .useAppConfig */.r)();
|
|
794
|
-
const [viewportGrid, viewportGridService] = (0,src
|
|
794
|
+
const [viewportGrid, viewportGridService] = (0,src.useViewportGrid)();
|
|
795
795
|
const { activeViewportId, viewports } = viewportGrid;
|
|
796
796
|
const { measurementService, displaySetService, customizationService, trackedMeasurementsService } = servicesManager.services;
|
|
797
797
|
const machineOptions = Object.assign({}, defaultOptions);
|
|
@@ -1111,14 +1111,15 @@ function getContextModule({ servicesManager, extensionManager, commandsManager }
|
|
|
1111
1111
|
|
|
1112
1112
|
},
|
|
1113
1113
|
87391(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
1114
|
+
// ESM COMPAT FLAG
|
|
1115
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1114
1116
|
|
|
1115
1117
|
// EXPORTS
|
|
1116
1118
|
__webpack_require__.d(__webpack_exports__, {
|
|
1117
|
-
"default": () => (/* binding */ measurement_tracking_src)
|
|
1119
|
+
"default": () => (/* binding */ measurement_tracking_src),
|
|
1120
|
+
measurementTrackingMode: () => (/* reexport */ promptBeginTracking/* .measurementTrackingMode */.v)
|
|
1118
1121
|
});
|
|
1119
1122
|
|
|
1120
|
-
// UNUSED EXPORTS: measurementTrackingMode
|
|
1121
|
-
|
|
1122
1123
|
// EXTERNAL MODULE: ../../extensions/measurement-tracking/src/getContextModule.tsx + 6 modules
|
|
1123
1124
|
var getContextModule = __webpack_require__(71830);
|
|
1124
1125
|
// EXTERNAL MODULE: ../../node_modules/react/jsx-runtime.js
|
|
@@ -1178,7 +1179,7 @@ function UntrackSeriesModal(t0) {
|
|
|
1178
1179
|
}
|
|
1179
1180
|
let t4;
|
|
1180
1181
|
if ($[5] !== hide) {
|
|
1181
|
-
t4 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1182
|
+
t4 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.FooterAction.Secondary, {
|
|
1182
1183
|
dataCY: "untracked-series-modal-cancel-button",
|
|
1183
1184
|
onClick: hide,
|
|
1184
1185
|
children: "Cancel"
|
|
@@ -1190,7 +1191,7 @@ function UntrackSeriesModal(t0) {
|
|
|
1190
1191
|
}
|
|
1191
1192
|
let t5;
|
|
1192
1193
|
if ($[7] !== hide || $[8] !== onConfirm) {
|
|
1193
|
-
t5 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1194
|
+
t5 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.FooterAction.Primary, {
|
|
1194
1195
|
dataCY: "untracked-series-modal-confirm-button",
|
|
1195
1196
|
onClick: ()=>{
|
|
1196
1197
|
onConfirm();
|
|
@@ -1206,9 +1207,9 @@ function UntrackSeriesModal(t0) {
|
|
|
1206
1207
|
}
|
|
1207
1208
|
let t6;
|
|
1208
1209
|
if ($[10] !== t4 || $[11] !== t5) {
|
|
1209
|
-
t6 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1210
|
+
t6 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.FooterAction, {
|
|
1210
1211
|
className: "mt-4",
|
|
1211
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
1212
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.FooterAction.Right, {
|
|
1212
1213
|
children: [
|
|
1213
1214
|
t4,
|
|
1214
1215
|
t5
|
|
@@ -1253,7 +1254,7 @@ function UntrackSeriesModal(t0) {
|
|
|
1253
1254
|
function PanelStudyBrowserTracking(t0) {
|
|
1254
1255
|
const $ = (0,compiler_runtime.c)(23);
|
|
1255
1256
|
const { getImageSrc, getStudiesForPatientByMRN, requestDisplaySetCreationForStudy, dataSource } = t0;
|
|
1256
|
-
const { servicesManager } = (0,src
|
|
1257
|
+
const { servicesManager } = (0,src.useSystem)();
|
|
1257
1258
|
const { displaySetService, uiModalService, measurementService, viewportGridService } = servicesManager.services;
|
|
1258
1259
|
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* .useTrackedMeasurements */.B)();
|
|
1259
1260
|
const { trackedSeries } = trackedMeasurements.context;
|
|
@@ -1451,7 +1452,7 @@ function _getStudyForPatientUtility(extensionManager) {
|
|
|
1451
1452
|
*/
|
|
1452
1453
|
function WrappedPanelStudyBrowserTracking() {
|
|
1453
1454
|
const $ = (0,compiler_runtime.c)(10);
|
|
1454
|
-
const { extensionManager } = (0,src
|
|
1455
|
+
const { extensionManager } = (0,src.useSystem)();
|
|
1455
1456
|
let _getImageSrcFromImageId;
|
|
1456
1457
|
let _getStudiesForPatientByMRN;
|
|
1457
1458
|
let dataSource;
|
|
@@ -1461,7 +1462,7 @@ function WrappedPanelStudyBrowserTracking() {
|
|
|
1461
1462
|
const getStudiesForPatientByMRN = _getStudyForPatientUtility(extensionManager);
|
|
1462
1463
|
_getStudiesForPatientByMRN = getStudiesForPatientByMRN.bind(null, dataSource);
|
|
1463
1464
|
_getImageSrcFromImageId = _createGetImageSrcFromImageIdFn(extensionManager);
|
|
1464
|
-
t0 = default_src
|
|
1465
|
+
t0 = default_src.requestDisplaySetCreationForStudy.bind(null, dataSource);
|
|
1465
1466
|
$[0] = extensionManager;
|
|
1466
1467
|
$[1] = _getImageSrcFromImageId;
|
|
1467
1468
|
$[2] = _getStudiesForPatientByMRN;
|
|
@@ -1522,11 +1523,11 @@ var cornerstone_src = __webpack_require__(87407);
|
|
|
1522
1523
|
|
|
1523
1524
|
|
|
1524
1525
|
|
|
1525
|
-
const { filterMeasurementsBySeriesUID, filterAny } = src
|
|
1526
|
+
const { filterMeasurementsBySeriesUID, filterAny } = src.utils.MeasurementFilters;
|
|
1526
1527
|
function PanelMeasurementTableTracking(props) {
|
|
1527
1528
|
const $ = (0,compiler_runtime.c)(34);
|
|
1528
|
-
const [viewportGrid] = (0,ui_next_src
|
|
1529
|
-
const { servicesManager } = (0,src
|
|
1529
|
+
const [viewportGrid] = (0,ui_next_src.useViewportGrid)();
|
|
1530
|
+
const { servicesManager } = (0,src.useSystem)();
|
|
1530
1531
|
const { measurementService, uiModalService } = servicesManager.services;
|
|
1531
1532
|
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* .useTrackedMeasurements */.B)();
|
|
1532
1533
|
const { trackedStudy, trackedSeries } = trackedMeasurements.context;
|
|
@@ -1615,12 +1616,12 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1615
1616
|
const actions = t4;
|
|
1616
1617
|
let t5;
|
|
1617
1618
|
if ($[18] !== actions) {
|
|
1618
|
-
t5 = (props_0)=>/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1619
|
+
t5 = (props_0)=>/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.AccordionTrigger, {
|
|
1619
1620
|
asChild: true,
|
|
1620
1621
|
className: "px-0",
|
|
1621
1622
|
children: /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
1622
1623
|
"data-cy": "TrackingHeader",
|
|
1623
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src
|
|
1624
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src.StudySummaryFromMetadata, {
|
|
1624
1625
|
...props_0,
|
|
1625
1626
|
actions: actions
|
|
1626
1627
|
})
|
|
@@ -1634,7 +1635,7 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1634
1635
|
const Header = t5;
|
|
1635
1636
|
let t6;
|
|
1636
1637
|
if ($[20] !== Header) {
|
|
1637
|
-
t6 = /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src
|
|
1638
|
+
t6 = /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src.AccordionGroup.Trigger, {
|
|
1638
1639
|
asChild: true,
|
|
1639
1640
|
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Header, {}, "trackingHeadChild")
|
|
1640
1641
|
}, "trackingMeasurementsHeader");
|
|
@@ -1645,9 +1646,9 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1645
1646
|
}
|
|
1646
1647
|
let t7;
|
|
1647
1648
|
if ($[22] !== actions || $[23] !== measurementFilter || $[24] !== trackedStudy) {
|
|
1648
|
-
t7 = /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src
|
|
1649
|
+
t7 = /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src.MeasurementsOrAdditionalFindings, {
|
|
1649
1650
|
activeStudyUID: trackedStudy,
|
|
1650
|
-
customHeader: cornerstone_src
|
|
1651
|
+
customHeader: cornerstone_src.StudyMeasurementsActions,
|
|
1651
1652
|
measurementFilter: measurementFilter,
|
|
1652
1653
|
actions: actions
|
|
1653
1654
|
}, "measurementsOrAdditionalFindings");
|
|
@@ -1660,7 +1661,7 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1660
1661
|
}
|
|
1661
1662
|
let t8;
|
|
1662
1663
|
if ($[26] !== props.grouping || $[27] !== t6 || $[28] !== t7) {
|
|
1663
|
-
t8 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(cornerstone_src
|
|
1664
|
+
t8 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(cornerstone_src.StudyMeasurements, {
|
|
1664
1665
|
grouping: props.grouping,
|
|
1665
1666
|
children: [
|
|
1666
1667
|
t6,
|
|
@@ -1676,10 +1677,10 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1676
1677
|
}
|
|
1677
1678
|
let t9;
|
|
1678
1679
|
if ($[30] !== measurementFilter || $[31] !== props.children || $[32] !== t8) {
|
|
1679
|
-
t9 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1680
|
+
t9 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.ScrollArea, {
|
|
1680
1681
|
children: /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
1681
1682
|
"data-cy": "trackedMeasurements-panel",
|
|
1682
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src
|
|
1683
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src.PanelMeasurement, {
|
|
1683
1684
|
measurementFilter: measurementFilter,
|
|
1684
1685
|
emptyComponent: EmptyComponent,
|
|
1685
1686
|
sourceChildren: props.children,
|
|
@@ -1699,10 +1700,10 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1699
1700
|
function PanelMeasurementTableTracking_temp() {
|
|
1700
1701
|
return /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
1701
1702
|
"data-cy": "trackedMeasurements-panel",
|
|
1702
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1703
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.MeasurementTable, {
|
|
1703
1704
|
title: "Measurements",
|
|
1704
1705
|
isExpanded: false,
|
|
1705
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1706
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.MeasurementTable.Body, {})
|
|
1706
1707
|
})
|
|
1707
1708
|
});
|
|
1708
1709
|
}
|
|
@@ -1730,7 +1731,7 @@ function getPanelModule({ commandsManager, extensionManager, servicesManager })
|
|
|
1730
1731
|
name: 'seriesList',
|
|
1731
1732
|
iconName: 'tab-studies',
|
|
1732
1733
|
iconLabel: 'Studies',
|
|
1733
|
-
label: i18next
|
|
1734
|
+
label: i18next["default"].t('SidePanel:Studies'),
|
|
1734
1735
|
component: (props)=>/*#__PURE__*/ (0,jsx_runtime.jsx)(panels_PanelStudyBrowserTracking, {
|
|
1735
1736
|
...props
|
|
1736
1737
|
})
|
|
@@ -1739,7 +1740,7 @@ function getPanelModule({ commandsManager, extensionManager, servicesManager })
|
|
|
1739
1740
|
name: 'trackedMeasurements',
|
|
1740
1741
|
iconName: 'tab-linear',
|
|
1741
1742
|
iconLabel: 'Measure',
|
|
1742
|
-
label: i18next
|
|
1743
|
+
label: i18next["default"].t('SidePanel:Measurements'),
|
|
1743
1744
|
component: (props)=>/*#__PURE__*/ (0,react.createElement)(panels_PanelMeasurementTableTracking, {
|
|
1744
1745
|
...props,
|
|
1745
1746
|
key: "trackedMeasurements-panel",
|
|
@@ -1808,7 +1809,7 @@ function getViewportModule({ servicesManager, commandsManager, extensionManager
|
|
|
1808
1809
|
{
|
|
1809
1810
|
name: 'cornerstone-tracked',
|
|
1810
1811
|
component: ExtendedOHIFCornerstoneTrackingViewport,
|
|
1811
|
-
isReferenceViewable: cornerstone_src
|
|
1812
|
+
isReferenceViewable: cornerstone_src.utils.isReferenceViewable.bind(null, servicesManager)
|
|
1812
1813
|
}
|
|
1813
1814
|
];
|
|
1814
1815
|
}
|
|
@@ -1910,7 +1911,7 @@ function promptHydrateStructuredReport({ servicesManager, commandsManager }, ctx
|
|
|
1910
1911
|
...srDisplaySet,
|
|
1911
1912
|
displaySetInstanceUID
|
|
1912
1913
|
};
|
|
1913
|
-
return cornerstone_src
|
|
1914
|
+
return cornerstone_src.utils.promptHydrationDialog({
|
|
1914
1915
|
servicesManager,
|
|
1915
1916
|
viewportId,
|
|
1916
1917
|
displaySet: enhancedSrDisplaySet,
|
|
@@ -2064,17 +2065,17 @@ function _askTrackMeasurements(UIViewportDialogService, customizationService, vi
|
|
|
2064
2065
|
const actions = [
|
|
2065
2066
|
{
|
|
2066
2067
|
type: 'cancel',
|
|
2067
|
-
text: i18next
|
|
2068
|
+
text: i18next["default"].t('MeasurementTable:No'),
|
|
2068
2069
|
value: promptTrackNewStudy_RESPONSE.CANCEL
|
|
2069
2070
|
},
|
|
2070
2071
|
{
|
|
2071
2072
|
type: 'secondary',
|
|
2072
|
-
text: i18next
|
|
2073
|
+
text: i18next["default"].t('MeasurementTable:No, do not ask again'),
|
|
2073
2074
|
value: promptTrackNewStudy_RESPONSE.NO_NOT_FOR_SERIES
|
|
2074
2075
|
},
|
|
2075
2076
|
{
|
|
2076
2077
|
type: 'primary',
|
|
2077
|
-
text: i18next
|
|
2078
|
+
text: i18next["default"].t('MeasurementTable:Yes'),
|
|
2078
2079
|
value: promptTrackNewStudy_RESPONSE.SET_STUDY_AND_SERIES
|
|
2079
2080
|
}
|
|
2080
2081
|
];
|
|
@@ -2152,8 +2153,8 @@ function promptTrackNewStudy_askSaveDiscardOrCancel(UIViewportDialogService, cus
|
|
|
2152
2153
|
'measurement.promptHydrateStructuredReport': TrackedMeasurementsContext_promptHydrateStructuredReport,
|
|
2153
2154
|
'measurement.promptTrackNewSeries': TrackedMeasurementsContext_promptTrackNewSeries,
|
|
2154
2155
|
'measurement.promptTrackNewStudy': TrackedMeasurementsContext_promptTrackNewStudy,
|
|
2155
|
-
'measurement.promptLabelAnnotation': default_src
|
|
2156
|
-
'measurement.promptSaveReport': default_src
|
|
2156
|
+
'measurement.promptLabelAnnotation': default_src.promptLabelAnnotation,
|
|
2157
|
+
'measurement.promptSaveReport': default_src.promptSaveReport,
|
|
2157
2158
|
'measurement.promptHasDirtyAnnotations': TrackedMeasurementsContext_promptHasDirtyAnnotations
|
|
2158
2159
|
});
|
|
2159
2160
|
|
|
@@ -2231,7 +2232,7 @@ const EVENTS = {
|
|
|
2231
2232
|
* This service provides a robust way to access tracked series information
|
|
2232
2233
|
* from anywhere in the application, including outside of React components.
|
|
2233
2234
|
*/
|
|
2234
|
-
class TrackedMeasurementsService extends src
|
|
2235
|
+
class TrackedMeasurementsService extends src.PubSubService {
|
|
2235
2236
|
static REGISTRATION = {
|
|
2236
2237
|
name: 'trackedMeasurementsService',
|
|
2237
2238
|
altName: 'TrackedMeasurementsService',
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["rspackChunk_ohif_app"] ||= []).push([[3255], {
|
|
3
3
|
41386(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
4
|
+
// ESM COMPAT FLAG
|
|
5
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4
6
|
|
|
5
7
|
// EXPORTS
|
|
6
8
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -41,8 +43,8 @@ const toolbarButtons = [
|
|
|
41
43
|
uiType: 'ohif.toolButton',
|
|
42
44
|
props: {
|
|
43
45
|
icon: 'tool-length',
|
|
44
|
-
label: i18next
|
|
45
|
-
tooltip: i18next
|
|
46
|
+
label: i18next["default"].t('Buttons:Length'),
|
|
47
|
+
tooltip: i18next["default"].t('Buttons:Length Tool'),
|
|
46
48
|
commands: {
|
|
47
49
|
...setToolActiveToolbar,
|
|
48
50
|
commandOptions: {
|
|
@@ -58,8 +60,8 @@ const toolbarButtons = [
|
|
|
58
60
|
uiType: 'ohif.toolButton',
|
|
59
61
|
props: {
|
|
60
62
|
icon: 'tool-bidirectional',
|
|
61
|
-
label: i18next
|
|
62
|
-
tooltip: i18next
|
|
63
|
+
label: i18next["default"].t('Buttons:Bidirectional'),
|
|
64
|
+
tooltip: i18next["default"].t('Buttons:Bidirectional Tool'),
|
|
63
65
|
commands: {
|
|
64
66
|
...setToolActiveToolbar,
|
|
65
67
|
commandOptions: {
|
|
@@ -75,8 +77,8 @@ const toolbarButtons = [
|
|
|
75
77
|
uiType: 'ohif.toolButton',
|
|
76
78
|
props: {
|
|
77
79
|
icon: 'tool-ellipse',
|
|
78
|
-
label: i18next
|
|
79
|
-
tooltip: i18next
|
|
80
|
+
label: i18next["default"].t('Buttons:Ellipse'),
|
|
81
|
+
tooltip: i18next["default"].t('Buttons:Ellipse ROI'),
|
|
80
82
|
commands: {
|
|
81
83
|
...setToolActiveToolbar,
|
|
82
84
|
commandOptions: {
|
|
@@ -92,8 +94,8 @@ const toolbarButtons = [
|
|
|
92
94
|
uiType: 'ohif.toolButton',
|
|
93
95
|
props: {
|
|
94
96
|
icon: 'tool-circle',
|
|
95
|
-
label: i18next
|
|
96
|
-
tooltip: i18next
|
|
97
|
+
label: i18next["default"].t('Buttons:Circle'),
|
|
98
|
+
tooltip: i18next["default"].t('Buttons:Circle Tool'),
|
|
97
99
|
commands: {
|
|
98
100
|
...setToolActiveToolbar,
|
|
99
101
|
commandOptions: {
|
|
@@ -109,8 +111,8 @@ const toolbarButtons = [
|
|
|
109
111
|
uiType: 'ohif.toolButton',
|
|
110
112
|
props: {
|
|
111
113
|
icon: 'tool-zoom',
|
|
112
|
-
label: i18next
|
|
113
|
-
tooltip: i18next
|
|
114
|
+
label: i18next["default"].t('Buttons:Zoom'),
|
|
115
|
+
tooltip: i18next["default"].t('Buttons:Zoom'),
|
|
114
116
|
commands: {
|
|
115
117
|
...setToolActiveToolbar,
|
|
116
118
|
commandOptions: {
|
|
@@ -126,8 +128,8 @@ const toolbarButtons = [
|
|
|
126
128
|
uiType: 'ohif.toolButton',
|
|
127
129
|
props: {
|
|
128
130
|
icon: 'tool-move',
|
|
129
|
-
label: i18next
|
|
130
|
-
tooltip: i18next
|
|
131
|
+
label: i18next["default"].t('Buttons:Pan'),
|
|
132
|
+
tooltip: i18next["default"].t('Buttons:Pan'),
|
|
131
133
|
commands: {
|
|
132
134
|
...setToolActiveToolbar,
|
|
133
135
|
commandOptions: {
|
|
@@ -143,8 +145,8 @@ const toolbarButtons = [
|
|
|
143
145
|
uiType: 'ohif.toolButton',
|
|
144
146
|
props: {
|
|
145
147
|
icon: 'tool-capture',
|
|
146
|
-
label: i18next
|
|
147
|
-
tooltip: i18next
|
|
148
|
+
label: i18next["default"].t('Buttons:Capture'),
|
|
149
|
+
tooltip: i18next["default"].t('Buttons:Capture'),
|
|
148
150
|
commands: 'showDownloadViewportModal',
|
|
149
151
|
evaluate: [
|
|
150
152
|
'evaluate.action',
|
|
@@ -173,8 +175,8 @@ const toolbarButtons = [
|
|
|
173
175
|
uiType: 'ohif.toolButton',
|
|
174
176
|
props: {
|
|
175
177
|
icon: 'tool-reset',
|
|
176
|
-
label: i18next
|
|
177
|
-
tooltip: i18next
|
|
178
|
+
label: i18next["default"].t('Buttons:Reset View'),
|
|
179
|
+
tooltip: i18next["default"].t('Buttons:Reset View'),
|
|
178
180
|
commands: 'resetViewport',
|
|
179
181
|
evaluate: 'evaluate.action'
|
|
180
182
|
}
|
|
@@ -184,8 +186,8 @@ const toolbarButtons = [
|
|
|
184
186
|
uiType: 'ohif.toolButton',
|
|
185
187
|
props: {
|
|
186
188
|
icon: 'tool-rotate-right',
|
|
187
|
-
label: i18next
|
|
188
|
-
tooltip: i18next
|
|
189
|
+
label: i18next["default"].t('Buttons:Rotate Right'),
|
|
190
|
+
tooltip: i18next["default"].t('Buttons:Rotate Right +90'),
|
|
189
191
|
commands: 'rotateViewportCW',
|
|
190
192
|
evaluate: 'evaluate.action'
|
|
191
193
|
}
|
|
@@ -195,8 +197,8 @@ const toolbarButtons = [
|
|
|
195
197
|
uiType: 'ohif.toolButton',
|
|
196
198
|
props: {
|
|
197
199
|
icon: 'tool-flip-horizontal',
|
|
198
|
-
label: i18next
|
|
199
|
-
tooltip: i18next
|
|
200
|
+
label: i18next["default"].t('Buttons:Flip Horizontally'),
|
|
201
|
+
tooltip: i18next["default"].t('Buttons:Flip Horizontally'),
|
|
200
202
|
commands: 'flipViewportHorizontal',
|
|
201
203
|
evaluate: 'evaluate.action'
|
|
202
204
|
}
|
|
@@ -206,8 +208,8 @@ const toolbarButtons = [
|
|
|
206
208
|
uiType: 'ohif.toolButton',
|
|
207
209
|
props: {
|
|
208
210
|
icon: 'tool-stack-scroll',
|
|
209
|
-
label: i18next
|
|
210
|
-
tooltip: i18next
|
|
211
|
+
label: i18next["default"].t('Buttons:Stack Scroll'),
|
|
212
|
+
tooltip: i18next["default"].t('Buttons:Stack Scroll'),
|
|
211
213
|
commands: {
|
|
212
214
|
...setToolActiveToolbar,
|
|
213
215
|
commandOptions: {
|
|
@@ -223,8 +225,8 @@ const toolbarButtons = [
|
|
|
223
225
|
uiType: 'ohif.toolButton',
|
|
224
226
|
props: {
|
|
225
227
|
icon: 'tool-invert',
|
|
226
|
-
label: i18next
|
|
227
|
-
tooltip: i18next
|
|
228
|
+
label: i18next["default"].t('Buttons:Invert Colors'),
|
|
229
|
+
tooltip: i18next["default"].t('Buttons:Invert Colors'),
|
|
228
230
|
commands: 'invertViewport',
|
|
229
231
|
evaluate: 'evaluate.action'
|
|
230
232
|
}
|
|
@@ -234,8 +236,8 @@ const toolbarButtons = [
|
|
|
234
236
|
uiType: 'ohif.toolButton',
|
|
235
237
|
props: {
|
|
236
238
|
icon: 'tool-calibration',
|
|
237
|
-
label: i18next
|
|
238
|
-
tooltip: i18next
|
|
239
|
+
label: i18next["default"].t('Buttons:Calibration Line'),
|
|
240
|
+
tooltip: i18next["default"].t('Buttons:Calibration Line'),
|
|
239
241
|
commands: {
|
|
240
242
|
...setToolActiveToolbar,
|
|
241
243
|
commandOptions: {
|
|
@@ -294,7 +296,7 @@ function modeFactory({ modeConfiguration }) {
|
|
|
294
296
|
return {
|
|
295
297
|
id: id,
|
|
296
298
|
routeName: 'dev',
|
|
297
|
-
displayName: i18next
|
|
299
|
+
displayName: i18next["default"].t('Modes:Basic Dev Viewer'),
|
|
298
300
|
/**
|
|
299
301
|
* Lifecycle hooks
|
|
300
302
|
*/ onModeEnter: ({ servicesManager, extensionManager })=>{
|