@ohif/app 3.9.0-beta.100 → 3.9.0-beta.102
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/{1471.bundle.68b4d7e296a8994404d3.js → 1471.bundle.23ed44fce3b02968fa7b.js} +1 -1
- package/dist/{1920.bundle.99de8331dcd10ede537d.js → 1920.bundle.2e0f60f6b04c5b781064.js} +1 -1
- package/dist/{2327.bundle.a674773cd95aa37b90e6.js → 2327.bundle.c60b7cf05680af5b70c1.js} +20 -47
- package/dist/{3194.bundle.e5328296fe69ff83bd73.js → 3194.bundle.052149a399b3ecec92c8.js} +8 -41
- package/dist/{4129.bundle.f222c5facab0be65bac6.js → 4129.bundle.2d2f56d83cc84af8fb4e.js} +8 -59
- package/dist/{44.bundle.2434ac081ec624827ce7.js → 44.bundle.248223cbd5284282963a.js} +3 -23
- package/dist/{8218.bundle.15d6da2c5f9c8685ae9f.js → 8218.bundle.755f36e5b1663e48f304.js} +1 -1
- package/dist/{8324.bundle.152345761c3b0d428590.js → 8324.bundle.ae1b5a7a34a85d846285.js} +25 -59
- package/dist/{9404.bundle.bcf5540131619fbd939a.js → 9404.bundle.829d1ce23cd52e6dfc89.js} +9 -43
- package/dist/app-config.js +0 -1
- package/dist/app.bundle.css +2 -2
- package/dist/{app.bundle.45f2a3ef78a27f5267c7.js → app.bundle.e5b29f933faa2638176c.js} +1115 -1059
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- /package/dist/{1156.bundle.b35e7bc9ce99d59a6512.js → 1156.bundle.b37b2a8d6dba5d35ef64.js} +0 -0
- /package/dist/{140.bundle.834e192f4fa1182809e3.js → 140.bundle.7a5de4db1e8e78d53244.js} +0 -0
- /package/dist/{1597.bundle.3a5983064adc10301b95.js → 1597.bundle.ad76fdeb3061bcfa1681.js} +0 -0
- /package/dist/{2211.bundle.ec304bdde7a72395b0db.js → 2211.bundle.a3eb113173d861685ea1.js} +0 -0
- /package/dist/{2392.bundle.9ce41d170e7d7d36ca79.js → 2392.bundle.c09eef47c2a8c6674225.js} +0 -0
- /package/dist/{3675.bundle.28226f3c153b08059c5d.js → 3675.bundle.bbe5f470f9c04976b51b.js} +0 -0
- /package/dist/{4012.bundle.454c55e01a595766081f.js → 4012.bundle.e2d71adefdf700d9f3b1.js} +0 -0
- /package/dist/{4202.bundle.1127627b7cdbb7ed1aaa.js → 4202.bundle.c8ddc4d76d963bc3176f.js} +0 -0
- /package/dist/{4444.bundle.6c7e3ba769aa56aba140.js → 4444.bundle.363fa1b70c8c1ef6745e.js} +0 -0
- /package/dist/{5323.bundle.3389b9441d1e1d7d7293.js → 5323.bundle.c1fe781cca10b6ace921.js} +0 -0
- /package/dist/{5350.bundle.c86d16b39e3a82940999.js → 5350.bundle.72ded9946d8ebecbb318.js} +0 -0
- /package/dist/{6552.bundle.0bbd4979f69f6f4d1556.js → 6552.bundle.b595a3327cbdbe9245c8.js} +0 -0
- /package/dist/{7370.bundle.7556283dc08d0c902b54.js → 7370.bundle.f8725a8dc428f9e237b4.js} +0 -0
- /package/dist/{7516.bundle.575cbef44055bfa6f9cf.js → 7516.bundle.4a9c2a92ba1b593defaf.js} +0 -0
- /package/dist/{7853.bundle.973b23f4f25a0821872e.js → 7853.bundle.e56257f620547271b4dd.js} +0 -0
- /package/dist/{8792.bundle.e96d57d1d5854c14ce4c.js → 8792.bundle.6ecd3510022078878c4b.js} +0 -0
- /package/dist/{9014.bundle.9f7d744bdc166a58874a.js → 9014.bundle.ac341275cc94cdceef4b.js} +0 -0
- /package/dist/{9806.bundle.7cf51eda77977eee4ee6.js → 9806.bundle.a7c532f7be2473e93737.js} +0 -0
|
@@ -165,7 +165,7 @@ function OHIFCornerstoneSRMeasurementViewport(props) {
|
|
|
165
165
|
setMeasurementSelected(newMeasurementSelected);
|
|
166
166
|
setActiveImageDisplaySetData(referencedDisplaySet);
|
|
167
167
|
setReferencedDisplaySetMetadata(referencedDisplaySetMetadata);
|
|
168
|
-
if (referencedDisplaySet.displaySetInstanceUID === activeImageDisplaySetData
|
|
168
|
+
if (referencedDisplaySet.displaySetInstanceUID === activeImageDisplaySetData?.displaySetInstanceUID) {
|
|
169
169
|
const {
|
|
170
170
|
measurements
|
|
171
171
|
} = srDisplaySet;
|
|
@@ -28,7 +28,7 @@ const dynamicVolume = {
|
|
|
28
28
|
export: '@ohif/extension-cornerstone-dynamic-volume.panelModule.dynamic-export'
|
|
29
29
|
};
|
|
30
30
|
const cornerstone = {
|
|
31
|
-
segmentation: '@ohif/extension-cornerstone-dicom-seg.panelModule.
|
|
31
|
+
segmentation: '@ohif/extension-cornerstone-dicom-seg.panelModule.panelSegmentation',
|
|
32
32
|
activeViewportWindowLevel: '@ohif/extension-cornerstone.panelModule.activeViewportWindowLevel'
|
|
33
33
|
};
|
|
34
34
|
const defaultButtons = {
|
|
@@ -1279,15 +1279,11 @@ var src = __webpack_require__(10541);
|
|
|
1279
1279
|
var ui_src = __webpack_require__(44657);
|
|
1280
1280
|
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 2459 modules
|
|
1281
1281
|
var ui_next_src = __webpack_require__(4144);
|
|
1282
|
-
// EXTERNAL MODULE: ./state/index.js + 1 modules
|
|
1283
|
-
var state = __webpack_require__(81883);
|
|
1284
1282
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/PanelStudyBrowserTrackingHeader.tsx
|
|
1285
1283
|
|
|
1286
1284
|
|
|
1287
1285
|
|
|
1288
1286
|
function PanelStudyBrowserTrackingHeader({
|
|
1289
|
-
tab,
|
|
1290
|
-
getCloseIcon,
|
|
1291
1287
|
viewPresets,
|
|
1292
1288
|
updateViewPresetValue,
|
|
1293
1289
|
actionIcons,
|
|
@@ -1298,7 +1294,7 @@ function PanelStudyBrowserTrackingHeader({
|
|
|
1298
1294
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1299
1295
|
className: 'flex h-[24px] w-full select-none justify-center self-center text-[14px]'
|
|
1300
1296
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1301
|
-
className: "flex w-full items-center
|
|
1297
|
+
className: "flex w-full items-center gap-[10px]"
|
|
1302
1298
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1303
1299
|
className: "flex h-full items-center justify-center"
|
|
1304
1300
|
}, /*#__PURE__*/react.createElement(ui_next_src/* ToggleGroup */.OY, {
|
|
@@ -1314,16 +1310,14 @@ function PanelStudyBrowserTrackingHeader({
|
|
|
1314
1310
|
value: viewPreset.id,
|
|
1315
1311
|
className: "text-actions-primary"
|
|
1316
1312
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI[viewPreset.iconName] || ui_next_src/* Icons */.FI.MissingIcon))))), /*#__PURE__*/react.createElement("div", {
|
|
1317
|
-
className: "
|
|
1318
|
-
}, ' ', /*#__PURE__*/react.createElement("span", null, tab.label), ' '), /*#__PURE__*/react.createElement("div", {
|
|
1319
|
-
className: "mr-[30px] flex items-center justify-center"
|
|
1313
|
+
className: "flex items-center justify-center"
|
|
1320
1314
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1321
|
-
className: "flex items-center space-x-1"
|
|
1315
|
+
className: "text-primary-active flex items-center space-x-1"
|
|
1322
1316
|
}, actionIcons.map((icon, index) => /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI[icon.iconName] || ui_next_src/* Icons */.FI.MissingIcon, {
|
|
1323
1317
|
key: index,
|
|
1324
1318
|
onClick: () => updateActionIconValue(icon),
|
|
1325
1319
|
className: `cursor-pointer`
|
|
1326
|
-
}))))))
|
|
1320
|
+
}))))))));
|
|
1327
1321
|
}
|
|
1328
1322
|
|
|
1329
1323
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/constants/actionIcons.ts
|
|
@@ -1360,8 +1354,6 @@ const defaultViewPresets = [{
|
|
|
1360
1354
|
|
|
1361
1355
|
|
|
1362
1356
|
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
1357
|
const {
|
|
1366
1358
|
formatDate,
|
|
1367
1359
|
createStudyBrowserTabs
|
|
@@ -1377,9 +1369,7 @@ function PanelStudyBrowserTracking({
|
|
|
1377
1369
|
getStudiesForPatientByMRN,
|
|
1378
1370
|
requestDisplaySetCreationForStudy,
|
|
1379
1371
|
dataSource,
|
|
1380
|
-
|
|
1381
|
-
getCloseIcon,
|
|
1382
|
-
tab
|
|
1372
|
+
commandsManager
|
|
1383
1373
|
}) {
|
|
1384
1374
|
const {
|
|
1385
1375
|
displaySetService,
|
|
@@ -1394,7 +1384,6 @@ function PanelStudyBrowserTracking({
|
|
|
1394
1384
|
const {
|
|
1395
1385
|
t
|
|
1396
1386
|
} = (0,es/* useTranslation */.Bd)('Common');
|
|
1397
|
-
const [appConfig] = (0,state/* useAppConfig */.r)();
|
|
1398
1387
|
|
|
1399
1388
|
// Normally you nest the components so the tree isn't so deep, and the data
|
|
1400
1389
|
// doesn't have to have such an intense shape. This works well enough for now.
|
|
@@ -1408,7 +1397,7 @@ function PanelStudyBrowserTracking({
|
|
|
1408
1397
|
isHangingProtocolLayout
|
|
1409
1398
|
}, viewportGridService] = (0,ui_src/* useViewportGrid */.ih)();
|
|
1410
1399
|
const [trackedMeasurements, sendTrackedMeasurementsEvent] = (0,getContextModule/* useTrackedMeasurements */.B)();
|
|
1411
|
-
const [activeTabName, setActiveTabName] = (0,react.useState)('
|
|
1400
|
+
const [activeTabName, setActiveTabName] = (0,react.useState)('all');
|
|
1412
1401
|
const [expandedStudyInstanceUIDs, setExpandedStudyInstanceUIDs] = (0,react.useState)([...StudyInstanceUIDs]);
|
|
1413
1402
|
const [studyDisplayList, setStudyDisplayList] = (0,react.useState)([]);
|
|
1414
1403
|
const [hasLoadedViewports, setHasLoadedViewports] = (0,react.useState)(false);
|
|
@@ -1731,10 +1720,10 @@ function PanelStudyBrowserTracking({
|
|
|
1731
1720
|
}
|
|
1732
1721
|
});
|
|
1733
1722
|
};
|
|
1734
|
-
const
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1723
|
+
const onThumbnailContextMenu = (commandName, options) => {
|
|
1724
|
+
commandsManager.runCommand(commandName, options);
|
|
1725
|
+
};
|
|
1726
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(PanelStudyBrowserTrackingHeader, {
|
|
1738
1727
|
viewPresets: viewPresets,
|
|
1739
1728
|
updateViewPresetValue: updateViewPresetValue,
|
|
1740
1729
|
actionIcons: actionIcons,
|
|
@@ -1743,7 +1732,7 @@ function PanelStudyBrowserTracking({
|
|
|
1743
1732
|
orientation: "horizontal",
|
|
1744
1733
|
className: "bg-black",
|
|
1745
1734
|
thickness: "2px"
|
|
1746
|
-
})), /*#__PURE__*/react.createElement(StudyBrowser, {
|
|
1735
|
+
})), /*#__PURE__*/react.createElement(ui_next_src/* StudyBrowser */.M4, {
|
|
1747
1736
|
tabs: tabs,
|
|
1748
1737
|
servicesManager: servicesManager,
|
|
1749
1738
|
activeTabName: activeTabName,
|
|
@@ -1759,7 +1748,8 @@ function PanelStudyBrowserTracking({
|
|
|
1759
1748
|
onDoubleClickThumbnail: onDoubleClickThumbnailHandler,
|
|
1760
1749
|
activeDisplaySetInstanceUIDs: activeViewportDisplaySetInstanceUIDs,
|
|
1761
1750
|
showSettings: actionIcons.find(icon => icon.id === 'settings').value,
|
|
1762
|
-
viewPresets: viewPresets
|
|
1751
|
+
viewPresets: viewPresets,
|
|
1752
|
+
onThumbnailContextMenu: onThumbnailContextMenu
|
|
1763
1753
|
}));
|
|
1764
1754
|
}
|
|
1765
1755
|
PanelStudyBrowserTracking.propTypes = {
|
|
@@ -2002,10 +1992,7 @@ function _getStudyForPatientUtility(extensionManager) {
|
|
|
2002
1992
|
function WrappedPanelStudyBrowserTracking({
|
|
2003
1993
|
commandsManager,
|
|
2004
1994
|
extensionManager,
|
|
2005
|
-
servicesManager
|
|
2006
|
-
renderHeader,
|
|
2007
|
-
getCloseIcon,
|
|
2008
|
-
tab
|
|
1995
|
+
servicesManager
|
|
2009
1996
|
}) {
|
|
2010
1997
|
const dataSource = extensionManager.getActiveDataSource()[0];
|
|
2011
1998
|
const getStudiesForPatientByMRN = _getStudyForPatientUtility(extensionManager);
|
|
@@ -2014,13 +2001,11 @@ function WrappedPanelStudyBrowserTracking({
|
|
|
2014
2001
|
const _requestDisplaySetCreationForStudy = PanelStudyBrowserTracking_requestDisplaySetCreationForStudy.bind(null, dataSource);
|
|
2015
2002
|
return /*#__PURE__*/react.createElement(PanelStudyBrowserTracking_PanelStudyBrowserTracking, {
|
|
2016
2003
|
servicesManager: servicesManager,
|
|
2004
|
+
commandsManager: commandsManager,
|
|
2017
2005
|
dataSource: dataSource,
|
|
2018
2006
|
getImageSrc: _getImageSrcFromImageId,
|
|
2019
2007
|
getStudiesForPatientByMRN: _getStudiesForPatientByMRN,
|
|
2020
|
-
requestDisplaySetCreationForStudy: _requestDisplaySetCreationForStudy
|
|
2021
|
-
renderHeader: renderHeader,
|
|
2022
|
-
getCloseIcon: getCloseIcon,
|
|
2023
|
-
tab: tab
|
|
2008
|
+
requestDisplaySetCreationForStudy: _requestDisplaySetCreationForStudy
|
|
2024
2009
|
});
|
|
2025
2010
|
}
|
|
2026
2011
|
|
|
@@ -2052,6 +2037,8 @@ WrappedPanelStudyBrowserTracking.propTypes = {
|
|
|
2052
2037
|
/* harmony default export */ const panels_PanelStudyBrowserTracking = (WrappedPanelStudyBrowserTracking);
|
|
2053
2038
|
// EXTERNAL MODULE: ./hooks/index.js + 1 modules
|
|
2054
2039
|
var hooks = __webpack_require__(15709);
|
|
2040
|
+
// EXTERNAL MODULE: ./state/index.js + 1 modules
|
|
2041
|
+
var state = __webpack_require__(81883);
|
|
2055
2042
|
// EXTERNAL MODULE: ../../../node_modules/lodash.debounce/index.js
|
|
2056
2043
|
var lodash_debounce = __webpack_require__(14771);
|
|
2057
2044
|
var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
|
|
@@ -2065,7 +2052,6 @@ var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce
|
|
|
2065
2052
|
|
|
2066
2053
|
|
|
2067
2054
|
|
|
2068
|
-
|
|
2069
2055
|
const {
|
|
2070
2056
|
downloadCSVReport
|
|
2071
2057
|
} = src/* utils */.Wp;
|
|
@@ -2083,10 +2069,7 @@ const DISPLAY_STUDY_SUMMARY_INITIAL_VALUE = {
|
|
|
2083
2069
|
};
|
|
2084
2070
|
function PanelMeasurementTableTracking({
|
|
2085
2071
|
servicesManager,
|
|
2086
|
-
extensionManager
|
|
2087
|
-
renderHeader,
|
|
2088
|
-
getCloseIcon,
|
|
2089
|
-
tab
|
|
2072
|
+
extensionManager
|
|
2090
2073
|
}) {
|
|
2091
2074
|
const [viewportGrid] = (0,ui_src/* useViewportGrid */.ih)();
|
|
2092
2075
|
const {
|
|
@@ -2229,17 +2212,7 @@ function PanelMeasurementTableTracking({
|
|
|
2229
2212
|
const additionalFindings = displayMeasurements.filter(dm => dm.measurementType === measurementService.VALUE_TYPES.POINT && dm.referencedImageId && trackedStudy === dm.referenceStudyUID && trackedSeries.includes(dm.referenceSeriesUID));
|
|
2230
2213
|
const nonAcquisitionMeasurements = displayMeasurements.filter(dm => dm.referencedImageId == null || trackedStudy !== dm.referenceStudyUID || trackedSeries.includes(dm.referenceSeriesUID));
|
|
2231
2214
|
const disabled = additionalFindings.length === 0 && displayMeasurementsWithoutFindings.length === 0 && nonAcquisitionMeasurements.length === 0;
|
|
2232
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null,
|
|
2233
|
-
className: "bg-primary-dark flex select-none rounded-t pt-1.5 pb-[2px]"
|
|
2234
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
2235
|
-
className: "flex h-[24px] w-full cursor-pointer select-none justify-center self-center text-[14px]"
|
|
2236
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
2237
|
-
className: "text-primary-active flex grow cursor-pointer select-none justify-center self-center text-[13px]"
|
|
2238
|
-
}, /*#__PURE__*/react.createElement("span", null, tab.label))), getCloseIcon()), /*#__PURE__*/react.createElement(ui_next_src/* Separator */.wv, {
|
|
2239
|
-
orientation: "horizontal",
|
|
2240
|
-
className: "bg-black",
|
|
2241
|
-
thickness: "2px"
|
|
2242
|
-
})), /*#__PURE__*/react.createElement("div", {
|
|
2215
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
2243
2216
|
className: "invisible-scrollbar overflow-y-auto overflow-x-hidden",
|
|
2244
2217
|
ref: measurementsPanelRef,
|
|
2245
2218
|
"data-cy": 'trackedMeasurements-panel'
|
|
@@ -1073,30 +1073,15 @@ PanelGenerateImage.propTypes = {
|
|
|
1073
1073
|
}).isRequired
|
|
1074
1074
|
}).isRequired
|
|
1075
1075
|
};
|
|
1076
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 2459 modules
|
|
1077
|
-
var ui_next_src = __webpack_require__(4144);
|
|
1078
1076
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dynamic-volume/src/panels/DynamicDataPanel.tsx
|
|
1079
1077
|
|
|
1080
1078
|
|
|
1081
|
-
|
|
1082
1079
|
function DynamicDataPanel({
|
|
1083
1080
|
servicesManager,
|
|
1084
1081
|
commandsManager,
|
|
1085
|
-
renderHeader,
|
|
1086
|
-
getCloseIcon,
|
|
1087
1082
|
tab
|
|
1088
1083
|
}) {
|
|
1089
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null,
|
|
1090
|
-
className: "bg-primary-dark flex select-none rounded-t pt-1.5 pb-[2px]"
|
|
1091
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
1092
|
-
className: "flex h-[24px] w-full cursor-pointer select-none justify-center self-center text-[14px]"
|
|
1093
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
1094
|
-
className: "text-primary-active flex grow cursor-pointer select-none justify-center self-center text-[13px]"
|
|
1095
|
-
}, /*#__PURE__*/react.createElement("span", null, tab.label))), getCloseIcon()), /*#__PURE__*/react.createElement(ui_next_src/* Separator */.wv, {
|
|
1096
|
-
orientation: "horizontal",
|
|
1097
|
-
className: "bg-black",
|
|
1098
|
-
thickness: "2px"
|
|
1099
|
-
})), /*#__PURE__*/react.createElement("div", {
|
|
1084
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
1100
1085
|
className: "flex flex-col text-white",
|
|
1101
1086
|
"data-cy": 'dynamic-volume-panel'
|
|
1102
1087
|
}, /*#__PURE__*/react.createElement(PanelGenerateImage, {
|
|
@@ -1126,8 +1111,8 @@ function WorkflowPanel({
|
|
|
1126
1111
|
|
|
1127
1112
|
|
|
1128
1113
|
|
|
1129
|
-
// EXTERNAL MODULE:
|
|
1130
|
-
var
|
|
1114
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 2459 modules
|
|
1115
|
+
var ui_next_src = __webpack_require__(4144);
|
|
1131
1116
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
1132
1117
|
var es = __webpack_require__(80619);
|
|
1133
1118
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dynamic-volume/src/panels/DynamicExport.tsx
|
|
@@ -1208,43 +1193,25 @@ function DynamicExport({
|
|
|
1208
1193
|
|
|
1209
1194
|
|
|
1210
1195
|
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
1196
|
function getPanelModule({
|
|
1214
1197
|
commandsManager,
|
|
1215
1198
|
extensionManager,
|
|
1216
1199
|
servicesManager
|
|
1217
1200
|
}) {
|
|
1218
|
-
const wrappedDynamicDataPanel = ({
|
|
1219
|
-
renderHeader,
|
|
1220
|
-
getCloseIcon,
|
|
1221
|
-
tab
|
|
1222
|
-
}) => {
|
|
1201
|
+
const wrappedDynamicDataPanel = ({}) => {
|
|
1223
1202
|
return /*#__PURE__*/react.createElement(panels_DynamicDataPanel, {
|
|
1224
1203
|
commandsManager: commandsManager,
|
|
1225
1204
|
servicesManager: servicesManager,
|
|
1226
|
-
extensionManager: extensionManager
|
|
1227
|
-
renderHeader: renderHeader,
|
|
1228
|
-
getCloseIcon: getCloseIcon,
|
|
1229
|
-
tab: tab
|
|
1205
|
+
extensionManager: extensionManager
|
|
1230
1206
|
});
|
|
1231
1207
|
};
|
|
1232
|
-
const wrappedDynamicToolbox = ({
|
|
1233
|
-
|
|
1234
|
-
getCloseIcon,
|
|
1235
|
-
tab
|
|
1236
|
-
}) => {
|
|
1237
|
-
const [appConfig] = (0,state/* useAppConfig */.r)();
|
|
1238
|
-
const Toolbox = appConfig.useExperimentalUI ? ui_next_src/* Toolbox */.OO : ui_src/* Toolbox */.OO;
|
|
1239
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Toolbox, {
|
|
1208
|
+
const wrappedDynamicToolbox = ({}) => {
|
|
1209
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_next_src/* Toolbox */.OO, {
|
|
1240
1210
|
commandsManager: commandsManager,
|
|
1241
1211
|
servicesManager: servicesManager,
|
|
1242
1212
|
extensionManager: extensionManager,
|
|
1243
1213
|
buttonSectionId: "dynamic-toolbox",
|
|
1244
|
-
title: "Threshold Tools"
|
|
1245
|
-
renderHeader: renderHeader,
|
|
1246
|
-
getCloseIcon: getCloseIcon,
|
|
1247
|
-
tab: tab
|
|
1214
|
+
title: "Threshold Tools"
|
|
1248
1215
|
}));
|
|
1249
1216
|
};
|
|
1250
1217
|
const wrappedDynamicExport = () => {
|
|
@@ -317,13 +317,13 @@ function getHangingProtocolModule() {
|
|
|
317
317
|
var state = __webpack_require__(81883);
|
|
318
318
|
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 2459 modules
|
|
319
319
|
var ui_next_src = __webpack_require__(4144);
|
|
320
|
-
// EXTERNAL MODULE: ../../ui/src/index.js + 691 modules
|
|
321
|
-
var ui_src = __webpack_require__(44657);
|
|
322
320
|
// EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 99 modules
|
|
323
321
|
var default_src = __webpack_require__(78324);
|
|
324
322
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
325
323
|
var prop_types = __webpack_require__(11374);
|
|
326
324
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
325
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 691 modules
|
|
326
|
+
var ui_src = __webpack_require__(44657);
|
|
327
327
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dicom-seg/src/types/segmentation.tsx
|
|
328
328
|
let SegmentationPanelMode = /*#__PURE__*/function (SegmentationPanelMode) {
|
|
329
329
|
SegmentationPanelMode["Expanded"] = "expanded";
|
|
@@ -498,7 +498,6 @@ var dist_es = __webpack_require__(80619);
|
|
|
498
498
|
|
|
499
499
|
|
|
500
500
|
|
|
501
|
-
|
|
502
501
|
const components = {
|
|
503
502
|
[SegmentationPanelMode.Expanded]: ui_src/* SegmentationGroupTableExpanded */.fO,
|
|
504
503
|
[SegmentationPanelMode.Dropdown]: ui_src/* SegmentationGroupTable */.QQ
|
|
@@ -507,10 +506,7 @@ function PanelSegmentation({
|
|
|
507
506
|
servicesManager,
|
|
508
507
|
commandsManager,
|
|
509
508
|
extensionManager,
|
|
510
|
-
configuration
|
|
511
|
-
renderHeader,
|
|
512
|
-
getCloseIcon,
|
|
513
|
-
tab
|
|
509
|
+
configuration
|
|
514
510
|
}) {
|
|
515
511
|
const {
|
|
516
512
|
segmentationService,
|
|
@@ -751,17 +747,7 @@ function PanelSegmentation({
|
|
|
751
747
|
const SegmentationGroupTableComponent = components[configuration?.segmentationPanelMode] || ui_src/* SegmentationGroupTable */.QQ;
|
|
752
748
|
const allowAddSegment = configuration?.addSegment;
|
|
753
749
|
const onSegmentationAddWrapper = configuration?.onSegmentationAdd && typeof configuration?.onSegmentationAdd === 'function' ? configuration?.onSegmentationAdd : onSegmentationAdd;
|
|
754
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null,
|
|
755
|
-
className: "bg-primary-dark flex select-none rounded-t pt-1.5 pb-[2px]"
|
|
756
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
757
|
-
className: "flex h-[24px] w-full cursor-pointer select-none justify-center self-center text-[14px]"
|
|
758
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
759
|
-
className: "text-primary-active flex grow cursor-pointer select-none justify-center self-center text-[13px]"
|
|
760
|
-
}, /*#__PURE__*/react.createElement("span", null, tab.label))), getCloseIcon()), /*#__PURE__*/react.createElement(ui_next_src/* Separator */.wv, {
|
|
761
|
-
orientation: "horizontal",
|
|
762
|
-
className: "bg-black",
|
|
763
|
-
thickness: "2px"
|
|
764
|
-
})), /*#__PURE__*/react.createElement(SegmentationGroupTableComponent, {
|
|
750
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SegmentationGroupTableComponent, {
|
|
765
751
|
title: t('Segmentations'),
|
|
766
752
|
segmentations: segmentations,
|
|
767
753
|
disableEditing: configuration.disableEditing,
|
|
@@ -817,39 +803,15 @@ PanelSegmentation.propTypes = {
|
|
|
817
803
|
|
|
818
804
|
|
|
819
805
|
|
|
820
|
-
|
|
821
806
|
const getPanelModule = ({
|
|
822
807
|
commandsManager,
|
|
823
808
|
servicesManager,
|
|
824
|
-
extensionManager
|
|
825
|
-
configuration,
|
|
826
|
-
title
|
|
809
|
+
extensionManager
|
|
827
810
|
}) => {
|
|
828
811
|
const {
|
|
829
812
|
customizationService
|
|
830
813
|
} = servicesManager.services;
|
|
831
814
|
const wrappedPanelSegmentation = ({
|
|
832
|
-
configuration,
|
|
833
|
-
renderHeader,
|
|
834
|
-
getCloseIcon,
|
|
835
|
-
tab
|
|
836
|
-
}) => {
|
|
837
|
-
const [appConfig] = (0,state/* useAppConfig */.r)();
|
|
838
|
-
return /*#__PURE__*/react.createElement(PanelSegmentation, {
|
|
839
|
-
commandsManager: commandsManager,
|
|
840
|
-
servicesManager: servicesManager,
|
|
841
|
-
extensionManager: extensionManager,
|
|
842
|
-
configuration: {
|
|
843
|
-
...configuration,
|
|
844
|
-
disableEditing: appConfig.disableEditing,
|
|
845
|
-
...customizationService.get('segmentation.panel')
|
|
846
|
-
},
|
|
847
|
-
renderHeader: renderHeader,
|
|
848
|
-
getCloseIcon: getCloseIcon,
|
|
849
|
-
tab: tab
|
|
850
|
-
});
|
|
851
|
-
};
|
|
852
|
-
const wrappedPanelSegmentationNoHeader = ({
|
|
853
815
|
configuration
|
|
854
816
|
}) => {
|
|
855
817
|
const [appConfig] = (0,state/* useAppConfig */.r)();
|
|
@@ -865,14 +827,10 @@ const getPanelModule = ({
|
|
|
865
827
|
});
|
|
866
828
|
};
|
|
867
829
|
const wrappedPanelSegmentationWithTools = ({
|
|
868
|
-
configuration
|
|
869
|
-
renderHeader,
|
|
870
|
-
getCloseIcon,
|
|
871
|
-
tab
|
|
830
|
+
configuration
|
|
872
831
|
}) => {
|
|
873
832
|
const [appConfig] = (0,state/* useAppConfig */.r)();
|
|
874
|
-
|
|
875
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Toolbox, {
|
|
833
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_next_src/* Toolbox */.OO, {
|
|
876
834
|
commandsManager: commandsManager,
|
|
877
835
|
servicesManager: servicesManager,
|
|
878
836
|
extensionManager: extensionManager,
|
|
@@ -880,10 +838,7 @@ const getPanelModule = ({
|
|
|
880
838
|
title: "Segmentation Tools",
|
|
881
839
|
configuration: {
|
|
882
840
|
...configuration
|
|
883
|
-
}
|
|
884
|
-
renderHeader: renderHeader,
|
|
885
|
-
getCloseIcon: getCloseIcon,
|
|
886
|
-
tab: tab
|
|
841
|
+
}
|
|
887
842
|
}), /*#__PURE__*/react.createElement(PanelSegmentation, {
|
|
888
843
|
commandsManager: commandsManager,
|
|
889
844
|
servicesManager: servicesManager,
|
|
@@ -907,12 +862,6 @@ const getPanelModule = ({
|
|
|
907
862
|
iconLabel: 'Segmentation',
|
|
908
863
|
label: 'Segmentation',
|
|
909
864
|
component: wrappedPanelSegmentationWithTools
|
|
910
|
-
}, {
|
|
911
|
-
name: 'panelSegmentationNoHeader',
|
|
912
|
-
iconName: 'tab-segmentation',
|
|
913
|
-
iconLabel: 'Segmentation',
|
|
914
|
-
label: 'Segmentation',
|
|
915
|
-
component: wrappedPanelSegmentationNoHeader
|
|
916
865
|
}];
|
|
917
866
|
};
|
|
918
867
|
/* harmony default export */ const src_getPanelModule = (getPanelModule);
|
|
@@ -1678,8 +1678,6 @@ function saveByteArray(buffer, filename) {
|
|
|
1678
1678
|
link.download = filename;
|
|
1679
1679
|
link.click();
|
|
1680
1680
|
}
|
|
1681
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 2459 modules
|
|
1682
|
-
var ui_next_src = __webpack_require__(4144);
|
|
1683
1681
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/components/MicroscopyPanel/MicroscopyPanel.tsx
|
|
1684
1682
|
|
|
1685
1683
|
|
|
@@ -1690,7 +1688,6 @@ var ui_next_src = __webpack_require__(4144);
|
|
|
1690
1688
|
|
|
1691
1689
|
|
|
1692
1690
|
|
|
1693
|
-
|
|
1694
1691
|
let saving = false;
|
|
1695
1692
|
const {
|
|
1696
1693
|
datasetToBuffer
|
|
@@ -2000,17 +1997,7 @@ function MicroscopyPanel(props) {
|
|
|
2000
1997
|
roiAnnotation
|
|
2001
1998
|
};
|
|
2002
1999
|
});
|
|
2003
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null,
|
|
2004
|
-
className: "bg-primary-dark flex select-none rounded-t pt-1.5 pb-[2px]"
|
|
2005
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
2006
|
-
className: "flex h-[24px] w-full cursor-pointer select-none justify-center self-center text-[14px]"
|
|
2007
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
2008
|
-
className: "text-primary-active flex grow cursor-pointer select-none justify-center self-center text-[13px]"
|
|
2009
|
-
}, /*#__PURE__*/react.createElement("span", null, props.tab.label))), props.getCloseIcon()), /*#__PURE__*/react.createElement(ui_next_src/* Separator */.wv, {
|
|
2010
|
-
orientation: "horizontal",
|
|
2011
|
-
className: "bg-black",
|
|
2012
|
-
thickness: "2px"
|
|
2013
|
-
})), ' ', /*#__PURE__*/react.createElement("div", {
|
|
2000
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
2014
2001
|
className: "ohif-scrollbar overflow-y-auto overflow-x-hidden",
|
|
2015
2002
|
"data-cy": 'measurements-panel'
|
|
2016
2003
|
}, /*#__PURE__*/react.createElement(src/* MeasurementTable */.V, {
|
|
@@ -2039,11 +2026,7 @@ function getPanelModule({
|
|
|
2039
2026
|
extensionManager,
|
|
2040
2027
|
servicesManager
|
|
2041
2028
|
}) {
|
|
2042
|
-
const wrappedMeasurementPanel = ({
|
|
2043
|
-
renderHeader,
|
|
2044
|
-
getCloseIcon,
|
|
2045
|
-
tab
|
|
2046
|
-
}) => {
|
|
2029
|
+
const wrappedMeasurementPanel = ({}) => {
|
|
2047
2030
|
const [{
|
|
2048
2031
|
activeViewportId,
|
|
2049
2032
|
viewports
|
|
@@ -2055,10 +2038,7 @@ function getPanelModule({
|
|
|
2055
2038
|
onRejectComplete: () => {},
|
|
2056
2039
|
commandsManager: commandsManager,
|
|
2057
2040
|
servicesManager: servicesManager,
|
|
2058
|
-
extensionManager: extensionManager
|
|
2059
|
-
renderHeader: renderHeader,
|
|
2060
|
-
getCloseIcon: getCloseIcon,
|
|
2061
|
-
tab: tab
|
|
2041
|
+
extensionManager: extensionManager
|
|
2062
2042
|
});
|
|
2063
2043
|
};
|
|
2064
2044
|
return [{
|
|
@@ -546,7 +546,7 @@ const ohif = {
|
|
|
546
546
|
};
|
|
547
547
|
const cs3d = {
|
|
548
548
|
viewport: '@ohif/extension-cornerstone.viewportModule.cornerstone',
|
|
549
|
-
segPanel: '@ohif/extension-cornerstone-dicom-seg.panelModule.
|
|
549
|
+
segPanel: '@ohif/extension-cornerstone-dicom-seg.panelModule.panelSegmentation'
|
|
550
550
|
};
|
|
551
551
|
const tmtv = {
|
|
552
552
|
hangingProtocol: '@ohif/extension-tmtv.hangingProtocolModule.ptCT',
|