@ohif/app 3.10.0-beta.152 → 3.10.0-beta.154
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/{1459.bundle.09f0e715ec4497187816.js → 1459.bundle.e62fd8cd18f4c81b031a.js} +1 -2
- package/dist/{1919.bundle.b8cf99f0701bb1c4bb4d.js → 1919.bundle.4da1ad89576cf13160db.js} +34 -34
- package/dist/{2701.bundle.6eb249f601986f66a36a.js → 2701.bundle.cf45c814049ec599a023.js} +10 -10
- package/dist/{2932.bundle.1b3a3391e7bc6b95672d.js → 2932.bundle.2da972665f04432c6a74.js} +26 -32
- package/dist/{3396.bundle.be0311e12b66ba81ed42.js → 3396.bundle.244637eaaa316f2cd372.js} +3 -3
- package/dist/{6341.bundle.3ac64e7176a0f584758c.js → 3658.bundle.6c61317a7debe9c869d8.js} +37 -28
- package/dist/{3984.bundle.696c76762935de7b93d0.js → 3984.bundle.00151abdc9f7d343ef6e.js} +119 -118
- package/dist/{4113.bundle.9946a120feaa37b8d2e4.js → 4113.bundle.2b34977bfb20cd1adbe2.js} +3 -3
- package/dist/{4202.bundle.bd59abd170518387224e.js → 4202.bundle.b0ec4475930d7950b916.js} +2 -2
- package/dist/{4526.bundle.bff4cc3feec25ddfdf4d.js → 4526.bundle.640686f60fdcd7ad82b7.js} +12 -15
- package/dist/{6027.bundle.6350cb706862af7901ed.js → 6027.bundle.3c19a411c22e60886604.js} +2 -22
- package/dist/{7241.bundle.1fabc4714be44ec17fd3.js → 7241.bundle.1f5a81f7789200e61aac.js} +140 -135
- package/dist/{810.bundle.27c4a4999c56020b2c89.js → 810.bundle.5d8a923f8e5ae07255af.js} +24 -24
- package/dist/{8815.bundle.ee317a02bb0822ecc2d1.js → 8815.bundle.7891f8bcbff3243b2244.js} +5 -4
- package/dist/{9026.bundle.fdfc3406fcf692d8ac39.js → 9026.bundle.41396990f86fc1d38c00.js} +19 -21
- package/dist/{9862.bundle.43c94c333f6168b5d8f0.js → 9862.bundle.bfb34378674c11db5f17.js} +6 -6
- package/dist/{9890.bundle.659d3cfff81d4825a23d.js → 9890.bundle.835539449cf7948c7bac.js} +12 -15
- package/dist/{app.bundle.62bb183750f3eaad2d53.js → app.bundle.b660dedd6afa00a8769c.js} +94108 -92192
- package/dist/app.bundle.css +6 -4
- package/dist/{compute.bundle.25ddbb648e8204f51445.js → compute.bundle.67d02bf2ea5db46866b7.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/{polySeg.bundle.7ab3d32d27a7d57e6982.js → polySeg.bundle.ac4ab08729066aeea72c.js} +1 -1
- package/dist/sw.js +1 -1
- package/package.json +18 -19
- /package/dist/{1807.bundle.bdd3eb8f5159a94268d0.js → 1807.bundle.43cfbc09d81acd53e0a5.js} +0 -0
- /package/dist/{213.bundle.9914879cbecbb23e069e.js → 213.bundle.464427c4ea5125f17bc7.js} +0 -0
- /package/dist/{2424.bundle.10eba1ac76b350767f68.js → 2424.bundle.006a29891cdcd8cbec11.js} +0 -0
- /package/dist/{6341.css → 3658.css} +0 -0
- /package/dist/{6201.bundle.171ec3bcfce6e149b941.js → 6201.bundle.de67a9aecf70eaf744d5.js} +0 -0
- /package/dist/{7197.bundle.ee4dd25500c72e475583.js → 7197.bundle.b08039f7c856f8570d22.js} +0 -0
- /package/dist/{7639.bundle.e00d4ff7b9137f92986d.js → 7639.bundle.674373851553ea3a5a7b.js} +0 -0
- /package/dist/{85.bundle.5ac53d84bafd5aa08020.js → 85.bundle.98c49a0984ec347ed29f.js} +0 -0
- /package/dist/{8558.bundle.a01365f74b23df0c43a7.js → 8558.bundle.f7dcbd2819a28946d372.js} +0 -0
- /package/dist/{934.bundle.2ddda3df6a856c0dc098.js → 934.bundle.4e6e96591874ba3d5aa1.js} +0 -0
- /package/dist/{963.bundle.54f34569e57b54cb4361.js → 963.bundle.1a452066164177d5f24a.js} +0 -0
|
@@ -251,8 +251,7 @@ function modeFactory({
|
|
|
251
251
|
leftPanelResizable: true,
|
|
252
252
|
leftPanelClosed: true,
|
|
253
253
|
// we have problem with rendering thumbnails for microscopy images
|
|
254
|
-
rightPanelClosed: true,
|
|
255
|
-
// we do not have the save microscopy measurements yet
|
|
254
|
+
// rightPanelClosed: true, // we do not have the save microscopy measurements yet
|
|
256
255
|
rightPanels: [ohif.rightPanel],
|
|
257
256
|
rightPanelResizable: true,
|
|
258
257
|
viewports: [{
|
|
@@ -956,10 +956,10 @@ const commandsModule = ({
|
|
|
956
956
|
/* harmony default export */ const src_commandsModule = (commandsModule);
|
|
957
957
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
958
958
|
var react = __webpack_require__(86326);
|
|
959
|
-
// EXTERNAL MODULE: ../../ui/src/index.js +
|
|
960
|
-
var ui_src = __webpack_require__(
|
|
961
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
962
|
-
var ui_next_src = __webpack_require__(
|
|
959
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 455 modules
|
|
960
|
+
var ui_src = __webpack_require__(98391);
|
|
961
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 1053 modules
|
|
962
|
+
var ui_next_src = __webpack_require__(2836);
|
|
963
963
|
;// CONCATENATED MODULE: ../../../extensions/cornerstone-dynamic-volume/src/panels/DynamicVolumeControls.tsx
|
|
964
964
|
|
|
965
965
|
|
|
@@ -977,12 +977,12 @@ const Header = ({
|
|
|
977
977
|
tooltip
|
|
978
978
|
}) => /*#__PURE__*/react.createElement("div", {
|
|
979
979
|
className: "flex items-center space-x-1"
|
|
980
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Tooltip */.
|
|
980
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Tooltip */.m_M, null, /*#__PURE__*/react.createElement(ui_next_src/* TooltipTrigger */.k$k, {
|
|
981
981
|
asChild: true
|
|
982
|
-
}, /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.
|
|
982
|
+
}, /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ByName, {
|
|
983
983
|
name: "info-link",
|
|
984
984
|
className: "text-primary h-3 w-3"
|
|
985
|
-
}))), /*#__PURE__*/react.createElement(ui_next_src/* TooltipContent */.
|
|
985
|
+
}))), /*#__PURE__*/react.createElement(ui_next_src/* TooltipContent */.ZIw, {
|
|
986
986
|
sideOffset: 4,
|
|
987
987
|
className: "max-w-xs"
|
|
988
988
|
}, /*#__PURE__*/react.createElement("div", null, tooltip))), /*#__PURE__*/react.createElement("span", {
|
|
@@ -1022,16 +1022,16 @@ const DynamicVolumeControls = ({
|
|
|
1022
1022
|
};
|
|
1023
1023
|
return /*#__PURE__*/react.createElement("div", {
|
|
1024
1024
|
className: "flex select-none flex-col"
|
|
1025
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.
|
|
1025
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, {
|
|
1026
1026
|
defaultOpen: true
|
|
1027
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.
|
|
1027
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, "Controls"), /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Content, {
|
|
1028
1028
|
className: "bg-muted space-y-4 px-5 pt-2 pb-4"
|
|
1029
1029
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1030
1030
|
className: "mb-4"
|
|
1031
1031
|
}, /*#__PURE__*/react.createElement(Header, {
|
|
1032
1032
|
title: "View",
|
|
1033
1033
|
tooltip: 'Select the view mode, 4D to view the dynamic volume or Computed to view the computed volume'
|
|
1034
|
-
}), /*#__PURE__*/react.createElement(ui_next_src/* Tabs */.
|
|
1034
|
+
}), /*#__PURE__*/react.createElement(ui_next_src/* Tabs */.tUM, {
|
|
1035
1035
|
value: computedView ? 'computed' : '4d',
|
|
1036
1036
|
onValueChange: value => {
|
|
1037
1037
|
const isComputed = value === 'computed';
|
|
@@ -1041,12 +1041,12 @@ const DynamicVolumeControls = ({
|
|
|
1041
1041
|
}
|
|
1042
1042
|
},
|
|
1043
1043
|
className: "my-2 w-full"
|
|
1044
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* TabsList */.
|
|
1044
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* TabsList */.j7C, {
|
|
1045
1045
|
className: "w-full"
|
|
1046
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.
|
|
1046
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
|
|
1047
1047
|
value: "4d",
|
|
1048
1048
|
className: "w-1/2"
|
|
1049
|
-
}, "4D"), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.
|
|
1049
|
+
}, "4D"), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
|
|
1050
1050
|
value: "computed",
|
|
1051
1051
|
className: "w-1/2"
|
|
1052
1052
|
}, "Computed")))), /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(DimensionGroupControls, {
|
|
@@ -1069,34 +1069,34 @@ const DynamicVolumeControls = ({
|
|
|
1069
1069
|
}, /*#__PURE__*/react.createElement(Header, {
|
|
1070
1070
|
title: "Computed Operation",
|
|
1071
1071
|
tooltip: /*#__PURE__*/react.createElement("div", null, "Operation Buttons (SUM, AVERAGE, SUBTRACT): Select the mathematical operation to be applied to the data set.", /*#__PURE__*/react.createElement("br", null), " Range Slider: Choose the numeric range of dimension groups within which the operation will be performed.", /*#__PURE__*/react.createElement("br", null), "Generate Button: Execute the chosen operation on the specified range of data.")
|
|
1072
|
-
}), /*#__PURE__*/react.createElement(ui_next_src/* Tabs */.
|
|
1072
|
+
}), /*#__PURE__*/react.createElement(ui_next_src/* Tabs */.tUM, {
|
|
1073
1073
|
value: String(computeViewMode),
|
|
1074
1074
|
onValueChange: value => {
|
|
1075
1075
|
setComputeViewMode(value);
|
|
1076
1076
|
},
|
|
1077
1077
|
className: "mt-2 w-full"
|
|
1078
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* TabsList */.
|
|
1078
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* TabsList */.j7C, {
|
|
1079
1079
|
className: "w-full gap-1"
|
|
1080
|
-
}, ' ', /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.
|
|
1080
|
+
}, ' ', /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
|
|
1081
1081
|
value: String(esm.Enums.DynamicOperatorType.SUM),
|
|
1082
1082
|
className: "w-1/3"
|
|
1083
|
-
}, toUpperCaseString(esm.Enums.DynamicOperatorType.SUM)), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.
|
|
1083
|
+
}, toUpperCaseString(esm.Enums.DynamicOperatorType.SUM)), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
|
|
1084
1084
|
value: String(esm.Enums.DynamicOperatorType.AVERAGE),
|
|
1085
1085
|
className: "w-1/3"
|
|
1086
|
-
}, toUpperCaseString(esm.Enums.DynamicOperatorType.AVERAGE)), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.
|
|
1086
|
+
}, toUpperCaseString(esm.Enums.DynamicOperatorType.AVERAGE)), /*#__PURE__*/react.createElement(ui_next_src/* TabsTrigger */.Xib, {
|
|
1087
1087
|
value: String(esm.Enums.DynamicOperatorType.SUBTRACT),
|
|
1088
1088
|
className: "w-1/3"
|
|
1089
1089
|
}, toUpperCaseString(esm.Enums.DynamicOperatorType.SUBTRACT)))), /*#__PURE__*/react.createElement("div", {
|
|
1090
1090
|
className: "mt-2 w-full"
|
|
1091
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1091
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.Container, {
|
|
1092
1092
|
mode: "doubleRange",
|
|
1093
1093
|
min: 1,
|
|
1094
1094
|
max: numDimensionGroups || 1,
|
|
1095
1095
|
values: rangeValues || [1, numDimensionGroups || 1],
|
|
1096
1096
|
onChange: onDoubleRangeChange || (() => {})
|
|
1097
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1097
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.DoubleRange, {
|
|
1098
1098
|
showNumberInputs: true
|
|
1099
|
-
}))), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$
|
|
1099
|
+
}))), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
1100
1100
|
variant: "default",
|
|
1101
1101
|
size: "sm",
|
|
1102
1102
|
className: "mt-2 h-[26px] w-[115px] self-start p-0",
|
|
@@ -1124,7 +1124,7 @@ function DimensionGroupControls({
|
|
|
1124
1124
|
tooltip: /*#__PURE__*/react.createElement("div", null, "Play/Pause Button: Begin or pause the animation of the 4D visualization. ", /*#__PURE__*/react.createElement("br", null), "Dimension Group Selector: Navigate through individual dimension groups of the 4D data.", ' ', /*#__PURE__*/react.createElement("br", null), "FPS (Frames Per Second) Selector: Adjust the playback speed of the animation.")
|
|
1125
1125
|
}), /*#__PURE__*/react.createElement("div", {
|
|
1126
1126
|
className: "mt-3 flex justify-between"
|
|
1127
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$
|
|
1127
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
1128
1128
|
id: "play-pause-button",
|
|
1129
1129
|
variant: "secondary",
|
|
1130
1130
|
size: "default",
|
|
@@ -1134,10 +1134,10 @@ function DimensionGroupControls({
|
|
|
1134
1134
|
onPlayPauseChange(!isPlaying);
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.
|
|
1137
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ByName, {
|
|
1138
1138
|
name: getPlayPauseIconName(),
|
|
1139
1139
|
className: "text-foreground h-[24px] w-[24px]"
|
|
1140
|
-
})), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1140
|
+
})), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.Container, {
|
|
1141
1141
|
mode: "stepper",
|
|
1142
1142
|
value: currentDimensionGroupNumber || 1,
|
|
1143
1143
|
onChange: onDimensionGroupChange || (() => {}),
|
|
@@ -1146,12 +1146,12 @@ function DimensionGroupControls({
|
|
|
1146
1146
|
step: 1
|
|
1147
1147
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1148
1148
|
className: "flex flex-col items-center"
|
|
1149
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1149
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.NumberStepper, {
|
|
1150
1150
|
className: "h-[28px] w-[58px]",
|
|
1151
1151
|
direction: "horizontal"
|
|
1152
|
-
}), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1152
|
+
}), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.Label, {
|
|
1153
1153
|
className: "text-muted-foreground mt-1 text-sm"
|
|
1154
|
-
}, "Frame"))), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1154
|
+
}, "Frame"))), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.Container, {
|
|
1155
1155
|
mode: "stepper",
|
|
1156
1156
|
value: fps || 1,
|
|
1157
1157
|
onChange: onFpsChange || (() => {}),
|
|
@@ -1160,10 +1160,10 @@ function DimensionGroupControls({
|
|
|
1160
1160
|
step: 1
|
|
1161
1161
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1162
1162
|
className: "flex flex-col items-center"
|
|
1163
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1163
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.NumberStepper, {
|
|
1164
1164
|
className: "h-[28px] w-[58px]",
|
|
1165
1165
|
direction: "horizontal"
|
|
1166
|
-
}), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.
|
|
1166
|
+
}), /*#__PURE__*/react.createElement(ui_next_src/* Numeric */.ewR.Label, {
|
|
1167
1167
|
className: "text-muted-foreground mt-1 text-sm"
|
|
1168
1168
|
}, "FPS")))));
|
|
1169
1169
|
}
|
|
@@ -1189,7 +1189,7 @@ function PanelGenerateImage({
|
|
|
1189
1189
|
}, cineService] = (0,ui_src/* useCine */.tq)();
|
|
1190
1190
|
const [{
|
|
1191
1191
|
activeViewportId
|
|
1192
|
-
}] = (0,ui_next_src/* useViewportGrid */.
|
|
1192
|
+
}] = (0,ui_next_src/* useViewportGrid */.ihW)();
|
|
1193
1193
|
|
|
1194
1194
|
//
|
|
1195
1195
|
const [dimensionGroupRange, setDimensionGroupRange] = (0,react.useState)([1, 1]);
|
|
@@ -1427,7 +1427,7 @@ function DynamicExport({
|
|
|
1427
1427
|
className: "flex gap-2"
|
|
1428
1428
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1429
1429
|
className: "flex h-8 w-full items-center rounded pr-0.5"
|
|
1430
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$
|
|
1430
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
1431
1431
|
size: "sm",
|
|
1432
1432
|
variant: "ghost",
|
|
1433
1433
|
className: "pl-1.5",
|
|
@@ -1439,11 +1439,11 @@ function DynamicExport({
|
|
|
1439
1439
|
}
|
|
1440
1440
|
});
|
|
1441
1441
|
}
|
|
1442
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.
|
|
1442
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Export, null), /*#__PURE__*/react.createElement("span", {
|
|
1443
1443
|
className: "pl-1"
|
|
1444
1444
|
}, "Time Data"))), /*#__PURE__*/react.createElement("div", {
|
|
1445
1445
|
className: "flex h-8 w-full items-center rounded pr-0.5"
|
|
1446
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$
|
|
1446
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
1447
1447
|
size: "sm",
|
|
1448
1448
|
variant: "ghost",
|
|
1449
1449
|
className: "pl-1.5",
|
|
@@ -1456,7 +1456,7 @@ function DynamicExport({
|
|
|
1456
1456
|
}
|
|
1457
1457
|
});
|
|
1458
1458
|
}
|
|
1459
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.
|
|
1459
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Export, null), /*#__PURE__*/react.createElement("span", {
|
|
1460
1460
|
className: "pl-1"
|
|
1461
1461
|
}, "ROI Stats"))));
|
|
1462
1462
|
}
|
|
@@ -23,8 +23,8 @@ var src = __webpack_require__(54231);
|
|
|
23
23
|
var es = __webpack_require__(99993);
|
|
24
24
|
// EXTERNAL MODULE: ../../../extensions/cornerstone-dicom-sr/src/tools/modules/dicomSRModule.js
|
|
25
25
|
var dicomSRModule = __webpack_require__(76654);
|
|
26
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
27
|
-
var ui_next_src = __webpack_require__(
|
|
26
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 1053 modules
|
|
27
|
+
var ui_next_src = __webpack_require__(2836);
|
|
28
28
|
// EXTERNAL MODULE: ../../../extensions/cornerstone-dicom-sr/src/utils/createReferencedImageDisplaySet.ts
|
|
29
29
|
var createReferencedImageDisplaySet = __webpack_require__(92643);
|
|
30
30
|
// EXTERNAL MODULE: ../../../extensions/cornerstone/src/index.tsx + 134 modules
|
|
@@ -66,7 +66,7 @@ function OHIFCornerstoneSRMeasurementViewport(props) {
|
|
|
66
66
|
const {
|
|
67
67
|
setPositionPresentation
|
|
68
68
|
} = (0,cornerstone_src.usePositionPresentationStore)();
|
|
69
|
-
const [viewportGrid, viewportGridService] = (0,ui_next_src/* useViewportGrid */.
|
|
69
|
+
const [viewportGrid, viewportGridService] = (0,ui_next_src/* useViewportGrid */.ihW)();
|
|
70
70
|
const [measurementSelected, setMeasurementSelected] = (0,react.useState)(0);
|
|
71
71
|
const [measurementCount, setMeasurementCount] = (0,react.useState)(1);
|
|
72
72
|
const [activeImageDisplaySetData, setActiveImageDisplaySetData] = (0,react.useState)(null);
|
|
@@ -283,7 +283,7 @@ function OHIFCornerstoneSRMeasurementViewport(props) {
|
|
|
283
283
|
viewportId,
|
|
284
284
|
id: 'viewportActionArrowsComponent',
|
|
285
285
|
index: 0,
|
|
286
|
-
component: /*#__PURE__*/react.createElement(ui_next_src/* ViewportActionArrows */.$
|
|
286
|
+
component: /*#__PURE__*/react.createElement(ui_next_src/* ViewportActionArrows */.$IX, {
|
|
287
287
|
key: "actionArrows",
|
|
288
288
|
onArrowsClick: onMeasurementChange
|
|
289
289
|
}),
|
|
@@ -378,22 +378,22 @@ function _getStatusComponent({
|
|
|
378
378
|
let StatusIcon = null;
|
|
379
379
|
switch (state) {
|
|
380
380
|
case 1:
|
|
381
|
-
StatusIcon = () => /*#__PURE__*/react.createElement(ui_next_src/* Icons */.
|
|
381
|
+
StatusIcon = () => /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ByName, {
|
|
382
382
|
name: "status-alert",
|
|
383
383
|
className: "h-4 w-4"
|
|
384
384
|
});
|
|
385
385
|
ToolTipMessage = () => /*#__PURE__*/react.createElement("div", null, "This structured report is not compatible", /*#__PURE__*/react.createElement("br", null), "with this application.");
|
|
386
386
|
break;
|
|
387
387
|
case 2:
|
|
388
|
-
StatusIcon = () => /*#__PURE__*/react.createElement(ui_next_src/* Icons */.
|
|
388
|
+
StatusIcon = () => /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ByName, {
|
|
389
389
|
name: "status-locked",
|
|
390
390
|
className: "h-4 w-4"
|
|
391
391
|
});
|
|
392
392
|
ToolTipMessage = () => /*#__PURE__*/react.createElement("div", null, "This structured report is currently read-only", /*#__PURE__*/react.createElement("br", null), "because you are tracking measurements in", /*#__PURE__*/react.createElement("br", null), "another viewport.");
|
|
393
393
|
break;
|
|
394
394
|
case 3:
|
|
395
|
-
StatusIcon = () => /*#__PURE__*/react.createElement(ui_next_src/* Icons */.
|
|
396
|
-
className: "text-
|
|
395
|
+
StatusIcon = () => /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ByName, {
|
|
396
|
+
className: "text-muted-foreground h-4 w-4",
|
|
397
397
|
name: "status-untracked"
|
|
398
398
|
});
|
|
399
399
|
ToolTipMessage = () => /*#__PURE__*/react.createElement("div", null, `Click ${loadStr} to restore measurements.`);
|
|
@@ -440,9 +440,9 @@ function _getStatusComponent({
|
|
|
440
440
|
}, tool);
|
|
441
441
|
})));
|
|
442
442
|
};
|
|
443
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null, ToolTipMessage && /*#__PURE__*/react.createElement(ui_next_src/* Tooltip */.
|
|
443
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, ToolTipMessage && /*#__PURE__*/react.createElement(ui_next_src/* Tooltip */.m_M, null, /*#__PURE__*/react.createElement(ui_next_src/* TooltipTrigger */.k$k, {
|
|
444
444
|
asChild: true
|
|
445
|
-
}, /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(StatusArea, null))), /*#__PURE__*/react.createElement(ui_next_src/* TooltipContent */.
|
|
445
|
+
}, /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(StatusArea, null))), /*#__PURE__*/react.createElement(ui_next_src/* TooltipContent */.ZIw, {
|
|
446
446
|
side: "bottom",
|
|
447
447
|
align: "start"
|
|
448
448
|
}, /*#__PURE__*/react.createElement(ToolTipMessage, null))), !ToolTipMessage && /*#__PURE__*/react.createElement(StatusArea, null));
|
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
9
9
|
/* harmony export */ v: () => (/* binding */ measurementTrackingMode)
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var
|
|
12
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(40680);
|
|
13
|
-
|
|
11
|
+
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40680);
|
|
14
12
|
|
|
15
13
|
const RESPONSE = {
|
|
16
14
|
NO_NEVER: -1,
|
|
@@ -58,18 +56,18 @@ function _askTrackMeasurements(uiViewportDialogService, customizationService, vi
|
|
|
58
56
|
const message = customizationService.getCustomization('viewportNotification.beginTrackingMessage');
|
|
59
57
|
const actions = [{
|
|
60
58
|
id: 'prompt-begin-tracking-cancel',
|
|
61
|
-
type:
|
|
62
|
-
text:
|
|
59
|
+
type: 'secondary',
|
|
60
|
+
text: i18next__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.t('Common:No'),
|
|
63
61
|
value: RESPONSE.CANCEL
|
|
64
62
|
}, {
|
|
65
63
|
id: 'prompt-begin-tracking-no-do-not-ask-again',
|
|
66
|
-
type:
|
|
67
|
-
text:
|
|
64
|
+
type: 'secondary',
|
|
65
|
+
text: i18next__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.t('MeasurementTable:No, do not ask again'),
|
|
68
66
|
value: RESPONSE.NO_NEVER
|
|
69
67
|
}, {
|
|
70
68
|
id: 'prompt-begin-tracking-yes',
|
|
71
|
-
type:
|
|
72
|
-
text:
|
|
69
|
+
type: 'primary',
|
|
70
|
+
text: i18next__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.t('Common:Yes'),
|
|
73
71
|
value: RESPONSE.SET_STUDY_AND_SERIES
|
|
74
72
|
}];
|
|
75
73
|
const onSubmit = result => {
|
|
@@ -119,8 +117,8 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
|
119
117
|
var es = __webpack_require__(70574);
|
|
120
118
|
// EXTERNAL MODULE: ../../../node_modules/@xstate/react/es/index.js + 8 modules
|
|
121
119
|
var react_es = __webpack_require__(95261);
|
|
122
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
123
|
-
var src = __webpack_require__(
|
|
120
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 1053 modules
|
|
121
|
+
var src = __webpack_require__(2836);
|
|
124
122
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/measurementTrackingMachine.js
|
|
125
123
|
|
|
126
124
|
const RESPONSE = {
|
|
@@ -720,7 +718,7 @@ function TrackedMeasurementsContextProvider({
|
|
|
720
718
|
} // Component props
|
|
721
719
|
) {
|
|
722
720
|
const [appConfig] = (0,state/* useAppConfig */.r)();
|
|
723
|
-
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.
|
|
721
|
+
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.ihW)();
|
|
724
722
|
const {
|
|
725
723
|
activeViewportId,
|
|
726
724
|
viewports
|
|
@@ -1064,8 +1062,8 @@ var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
|
1064
1062
|
var src = __webpack_require__(54231);
|
|
1065
1063
|
// EXTERNAL MODULE: ../../../extensions/default/src/Panels/StudyBrowser/PanelStudyBrowser.tsx + 3 modules
|
|
1066
1064
|
var PanelStudyBrowser = __webpack_require__(40565);
|
|
1067
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
1068
|
-
var ui_next_src = __webpack_require__(
|
|
1065
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 1053 modules
|
|
1066
|
+
var ui_next_src = __webpack_require__(2836);
|
|
1069
1067
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/panels/PanelStudyBrowserTracking/untrackSeriesModal.tsx
|
|
1070
1068
|
|
|
1071
1069
|
|
|
@@ -1078,11 +1076,11 @@ function UntrackSeriesModal({
|
|
|
1078
1076
|
className: "text-foreground"
|
|
1079
1077
|
}, /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement("p", null, message), /*#__PURE__*/react.createElement("p", {
|
|
1080
1078
|
className: "mt-2"
|
|
1081
|
-
}, "This action cannot be undone and will delete all your existing measurements.")), /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.
|
|
1079
|
+
}, "This action cannot be undone and will delete all your existing measurements.")), /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu, {
|
|
1082
1080
|
className: "mt-4"
|
|
1083
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.
|
|
1081
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu.Right, null, /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu.Secondary, {
|
|
1084
1082
|
onClick: hide
|
|
1085
|
-
}, "Cancel"), /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.
|
|
1083
|
+
}, "Cancel"), /*#__PURE__*/react.createElement(ui_next_src/* FooterAction */.esu.Primary, {
|
|
1086
1084
|
onClick: () => {
|
|
1087
1085
|
onConfirm();
|
|
1088
1086
|
hide();
|
|
@@ -1320,7 +1318,7 @@ const {
|
|
|
1320
1318
|
filterMeasurementsBySeriesUID
|
|
1321
1319
|
} = src/* utils */.Wp.MeasurementFilters;
|
|
1322
1320
|
function PanelMeasurementTableTracking(props) {
|
|
1323
|
-
const [viewportGrid] = (0,ui_next_src/* useViewportGrid */.
|
|
1321
|
+
const [viewportGrid] = (0,ui_next_src/* useViewportGrid */.ihW)();
|
|
1324
1322
|
const {
|
|
1325
1323
|
measurementService,
|
|
1326
1324
|
uiModalService
|
|
@@ -1347,10 +1345,10 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1347
1345
|
};
|
|
1348
1346
|
const EmptyComponent = () => /*#__PURE__*/react.createElement("div", {
|
|
1349
1347
|
"data-cy": "trackedMeasurements-panel"
|
|
1350
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* MeasurementTable */.
|
|
1348
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* MeasurementTable */.VaM, {
|
|
1351
1349
|
title: "Measurements",
|
|
1352
1350
|
isExpanded: false
|
|
1353
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* MeasurementTable */.
|
|
1351
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* MeasurementTable */.VaM.Body, null)));
|
|
1354
1352
|
const actions = {
|
|
1355
1353
|
createSR: ({
|
|
1356
1354
|
StudyInstanceUID
|
|
@@ -1364,7 +1362,7 @@ function PanelMeasurementTableTracking(props) {
|
|
|
1364
1362
|
},
|
|
1365
1363
|
onDelete
|
|
1366
1364
|
};
|
|
1367
|
-
const Header = props => /*#__PURE__*/react.createElement(ui_next_src/* AccordionTrigger */.$
|
|
1365
|
+
const Header = props => /*#__PURE__*/react.createElement(ui_next_src/* AccordionTrigger */.$m7, {
|
|
1368
1366
|
asChild: true,
|
|
1369
1367
|
className: "px-0"
|
|
1370
1368
|
}, /*#__PURE__*/react.createElement("div", {
|
|
@@ -1556,12 +1554,9 @@ function _askSaveDiscardOrCancel(UIViewportDialogService, customizationService,
|
|
|
1556
1554
|
/* harmony default export */ const TrackedMeasurementsContext_promptHasDirtyAnnotations = (promptHasDirtyAnnotations);
|
|
1557
1555
|
// EXTERNAL MODULE: ../../../extensions/cornerstone-dicom-sr/src/index.tsx + 18 modules
|
|
1558
1556
|
var cornerstone_dicom_sr_src = __webpack_require__(34113);
|
|
1559
|
-
// EXTERNAL MODULE: ../../ui/src/index.js + 693 modules
|
|
1560
|
-
var ui_src = __webpack_require__(61533);
|
|
1561
1557
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptHydrateStructuredReport.js
|
|
1562
1558
|
|
|
1563
1559
|
|
|
1564
|
-
|
|
1565
1560
|
const promptHydrateStructuredReport_RESPONSE = {
|
|
1566
1561
|
NO_NEVER: -1,
|
|
1567
1562
|
CANCEL: 0,
|
|
@@ -1619,12 +1614,12 @@ function _askTrackMeasurements(uiViewportDialogService, customizationService, vi
|
|
|
1619
1614
|
const message = customizationService.getCustomization('viewportNotification.hydrateSRMessage');
|
|
1620
1615
|
const actions = [{
|
|
1621
1616
|
id: 'no-hydrate',
|
|
1622
|
-
type:
|
|
1617
|
+
type: 'secondary',
|
|
1623
1618
|
text: 'No',
|
|
1624
1619
|
value: promptHydrateStructuredReport_RESPONSE.CANCEL
|
|
1625
1620
|
}, {
|
|
1626
1621
|
id: 'yes-hydrate',
|
|
1627
|
-
type:
|
|
1622
|
+
type: 'primary',
|
|
1628
1623
|
text: 'Yes',
|
|
1629
1624
|
value: promptHydrateStructuredReport_RESPONSE.HYDRATE_REPORT
|
|
1630
1625
|
}];
|
|
@@ -1654,7 +1649,6 @@ function _askTrackMeasurements(uiViewportDialogService, customizationService, vi
|
|
|
1654
1649
|
/* harmony default export */ const TrackedMeasurementsContext_promptHydrateStructuredReport = (promptHydrateStructuredReport);
|
|
1655
1650
|
;// CONCATENATED MODULE: ../../../extensions/measurement-tracking/src/contexts/TrackedMeasurementsContext/promptTrackNewSeries.js
|
|
1656
1651
|
|
|
1657
|
-
|
|
1658
1652
|
const promptTrackNewSeries_RESPONSE = {
|
|
1659
1653
|
NO_NEVER: -1,
|
|
1660
1654
|
CANCEL: 0,
|
|
@@ -1698,15 +1692,15 @@ function _askShouldAddMeasurements(uiViewportDialogService, customizationService
|
|
|
1698
1692
|
return new Promise(function (resolve, reject) {
|
|
1699
1693
|
const message = customizationService.getCustomization('viewportNotification.trackNewSeriesMessage');
|
|
1700
1694
|
const actions = [{
|
|
1701
|
-
type:
|
|
1695
|
+
type: 'secondary',
|
|
1702
1696
|
text: 'Cancel',
|
|
1703
1697
|
value: promptTrackNewSeries_RESPONSE.CANCEL
|
|
1704
1698
|
}, {
|
|
1705
|
-
type:
|
|
1699
|
+
type: 'primary',
|
|
1706
1700
|
text: 'Create new report',
|
|
1707
1701
|
value: promptTrackNewSeries_RESPONSE.CREATE_REPORT
|
|
1708
1702
|
}, {
|
|
1709
|
-
type:
|
|
1703
|
+
type: 'primary',
|
|
1710
1704
|
text: 'Add to existing report',
|
|
1711
1705
|
value: promptTrackNewSeries_RESPONSE.ADD_SERIES
|
|
1712
1706
|
}];
|
|
@@ -1731,7 +1725,7 @@ function promptTrackNewSeries_askSaveDiscardOrCancel(UIViewportDialogService, cu
|
|
|
1731
1725
|
return new Promise(function (resolve, reject) {
|
|
1732
1726
|
const message = customizationService.getCustomization('viewportNotification.discardSeriesMessage');
|
|
1733
1727
|
const actions = [{
|
|
1734
|
-
type: '
|
|
1728
|
+
type: 'secondary',
|
|
1735
1729
|
text: 'Cancel',
|
|
1736
1730
|
value: promptTrackNewSeries_RESPONSE.CANCEL
|
|
1737
1731
|
}, {
|
|
@@ -2003,7 +1997,7 @@ const measurementTrackingExtension = {
|
|
|
2003
1997
|
// Note that the command run is registered in TrackedMeasurementsContext
|
|
2004
1998
|
// because it must be bound to a React context's data.
|
|
2005
1999
|
id: 'loadSRMeasurements',
|
|
2006
|
-
component: props => /*#__PURE__*/react.createElement(ui_next_src/* ViewportActionButton */.
|
|
2000
|
+
component: props => /*#__PURE__*/react.createElement(ui_next_src/* ViewportActionButton */.N8H, props, i18n_src/* default */.A.t('Common:LOAD')),
|
|
2007
2001
|
props: {
|
|
2008
2002
|
commands: ['loadTrackedSRMeasurements']
|
|
2009
2003
|
}
|
|
@@ -95266,7 +95266,7 @@ function maxIndex_maxIndex(values, valueof) {
|
|
|
95266
95266
|
}
|
|
95267
95267
|
|
|
95268
95268
|
// EXTERNAL MODULE: ../../../node_modules/d3-array/src/min.js
|
|
95269
|
-
var src_min = __webpack_require__(
|
|
95269
|
+
var src_min = __webpack_require__(80004);
|
|
95270
95270
|
;// CONCATENATED MODULE: ../../../node_modules/d3-array/src/minIndex.js
|
|
95271
95271
|
function minIndex_minIndex(values, valueof) {
|
|
95272
95272
|
let min;
|
|
@@ -95915,7 +95915,7 @@ function union(...others) {
|
|
|
95915
95915
|
|
|
95916
95916
|
/***/ }),
|
|
95917
95917
|
|
|
95918
|
-
/***/
|
|
95918
|
+
/***/ 80004:
|
|
95919
95919
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
95920
95920
|
|
|
95921
95921
|
"use strict";
|
|
@@ -95953,7 +95953,7 @@ function min(values, valueof) {
|
|
|
95953
95953
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
95954
95954
|
/* harmony export */ A: () => (/* binding */ transpose)
|
|
95955
95955
|
/* harmony export */ });
|
|
95956
|
-
/* harmony import */ var _min_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
95956
|
+
/* harmony import */ var _min_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(80004);
|
|
95957
95957
|
|
|
95958
95958
|
|
|
95959
95959
|
function transpose(matrix) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[
|
|
2
|
+
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[3658],{
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 1152:
|
|
5
5
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
6
6
|
|
|
7
7
|
// ESM COMPAT FLAG
|
|
@@ -20,14 +20,12 @@ const id = package_namespaceObject.UU;
|
|
|
20
20
|
|
|
21
21
|
// EXTERNAL MODULE: ../../../node_modules/react/index.js
|
|
22
22
|
var react = __webpack_require__(86326);
|
|
23
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts +
|
|
24
|
-
var src = __webpack_require__(
|
|
23
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 1053 modules
|
|
24
|
+
var src = __webpack_require__(2836);
|
|
25
25
|
// EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 144 modules
|
|
26
26
|
var default_src = __webpack_require__(43984);
|
|
27
27
|
// EXTERNAL MODULE: ../../core/src/index.ts + 70 modules
|
|
28
28
|
var core_src = __webpack_require__(54231);
|
|
29
|
-
// EXTERNAL MODULE: ../../ui/src/index.js + 693 modules
|
|
30
|
-
var ui_src = __webpack_require__(61533);
|
|
31
29
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
32
30
|
var es = __webpack_require__(99993);
|
|
33
31
|
// EXTERNAL MODULE: ../../../node_modules/mathjs/lib/esm/index.js + 1005 modules
|
|
@@ -1903,14 +1901,36 @@ function MicroscopyPanel(props) {
|
|
|
1903
1901
|
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
1904
1902
|
className: "ohif-scrollbar overflow-y-auto overflow-x-hidden",
|
|
1905
1903
|
"data-cy": 'measurements-panel'
|
|
1906
|
-
}, /*#__PURE__*/react.createElement(
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1904
|
+
}, /*#__PURE__*/react.createElement("div", {
|
|
1905
|
+
className: "flex flex-col"
|
|
1906
|
+
}, data.map(item => /*#__PURE__*/react.createElement(src/* DataRow */.x3Y, {
|
|
1907
|
+
key: item.uid,
|
|
1908
|
+
number: item.index + 1,
|
|
1909
|
+
title: item.label,
|
|
1910
|
+
isSelected: item.isActive,
|
|
1911
|
+
onSelect: () => onMeasurementItemClickHandler({
|
|
1912
|
+
uid: item.uid
|
|
1913
|
+
}),
|
|
1914
|
+
details: {
|
|
1915
|
+
primary: item.displayText,
|
|
1916
|
+
secondary: []
|
|
1917
|
+
},
|
|
1918
|
+
isVisible: true,
|
|
1919
|
+
onToggleVisibility: () => {},
|
|
1920
|
+
isLocked: false,
|
|
1921
|
+
onToggleLocked: () => {},
|
|
1922
|
+
onRename: () => onMeasurementItemEditHandler({
|
|
1923
|
+
uid: item.uid,
|
|
1924
|
+
isActive: item.isActive
|
|
1925
|
+
}),
|
|
1926
|
+
onDelete: () => onMeasurementDeleteHandler({
|
|
1927
|
+
uid: item.uid,
|
|
1928
|
+
isActive: item.isActive
|
|
1929
|
+
}),
|
|
1930
|
+
onColor: () => {},
|
|
1931
|
+
disableEditing: false,
|
|
1932
|
+
description: item.displayText.join(', ')
|
|
1933
|
+
})))));
|
|
1914
1934
|
}
|
|
1915
1935
|
const connectedMicroscopyPanel = (0,es/* withTranslation */.CI)(['MicroscopyTable', 'Common'])(MicroscopyPanel);
|
|
1916
1936
|
/* harmony default export */ const MicroscopyPanel_MicroscopyPanel = (connectedMicroscopyPanel);
|
|
@@ -1933,7 +1953,7 @@ function getPanelModule({
|
|
|
1933
1953
|
const [{
|
|
1934
1954
|
activeViewportId,
|
|
1935
1955
|
viewports
|
|
1936
|
-
}] = (0,src/* useViewportGrid */.
|
|
1956
|
+
}] = (0,src/* useViewportGrid */.ihW)();
|
|
1937
1957
|
return /*#__PURE__*/react.createElement(MicroscopyPanel_MicroscopyPanel, {
|
|
1938
1958
|
viewports: viewports,
|
|
1939
1959
|
activeViewportId: activeViewportId,
|
|
@@ -2081,20 +2101,9 @@ function getCommandsModule({
|
|
|
2081
2101
|
defaultContext: 'MICROSCOPY'
|
|
2082
2102
|
};
|
|
2083
2103
|
}
|
|
2084
|
-
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/customizations/panelMeasurementItem.tsx
|
|
2085
|
-
|
|
2086
|
-
/* harmony default export */ const panelMeasurementItem = ({
|
|
2087
|
-
'microscopyPanel.measurementItem': ui_src/* MeasurementItem */._8
|
|
2088
|
-
});
|
|
2089
2104
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/getCustomizationModule.ts
|
|
2090
|
-
|
|
2091
2105
|
function getCustomizationModule() {
|
|
2092
|
-
return [
|
|
2093
|
-
name: 'default',
|
|
2094
|
-
value: {
|
|
2095
|
-
...panelMeasurementItem
|
|
2096
|
-
}
|
|
2097
|
-
}];
|
|
2106
|
+
return [];
|
|
2098
2107
|
}
|
|
2099
2108
|
;// CONCATENATED MODULE: ../../../extensions/dicom-microscopy/src/utils/dcmCodeValues.js
|
|
2100
2109
|
const DCM_CODE_VALUES = {
|
|
@@ -2450,7 +2459,7 @@ const extension = {
|
|
|
2450
2459
|
const {
|
|
2451
2460
|
viewportOptions
|
|
2452
2461
|
} = props;
|
|
2453
|
-
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.
|
|
2462
|
+
const [viewportGrid, viewportGridService] = (0,src/* useViewportGrid */.ihW)();
|
|
2454
2463
|
const {
|
|
2455
2464
|
activeViewportId
|
|
2456
2465
|
} = viewportGrid;
|