@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
|
@@ -42,8 +42,8 @@ function OHIFCornerstonePdfViewport(t0) {
|
|
|
42
42
|
const [embeddedDocument, setEmbeddedDocument] = (0,react.useState)(null);
|
|
43
43
|
const [failure, setFailure] = (0,react.useState)(null);
|
|
44
44
|
const viewportElementRef = (0,react.useRef)(null);
|
|
45
|
-
const { register: registerViewportElement, unregister: unregisterViewportElement } = (0,src
|
|
46
|
-
const { t } = (0,es
|
|
45
|
+
const { register: registerViewportElement, unregister: unregisterViewportElement } = (0,src.useViewportElementRegistration)(viewportId);
|
|
46
|
+
const { t } = (0,es.useTranslation)("EncapsulatedDocument");
|
|
47
47
|
const [style, setStyle] = (0,react.useState)("pdf-yes-click");
|
|
48
48
|
let t2;
|
|
49
49
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["rspackChunk_ohif_app"] ||= []).push([[2717], {
|
|
3
3
|
12384(__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__, {
|
|
@@ -32,7 +34,7 @@ var src = __webpack_require__(34142);
|
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
const CHART_MODALITY = 'CHT';
|
|
35
|
-
const SEG_CHART_INSTANCE_UID = src
|
|
37
|
+
const SEG_CHART_INSTANCE_UID = src.utils.guid(); // Private SOPClassUid for chart data
|
|
36
38
|
const ChartDataSOPClassUid = '1.9.451.13215.7.3.2.7.6.1';
|
|
37
39
|
const { utilities: csToolsUtils } = esm;
|
|
38
40
|
function _getDateTimeStr() {
|
|
@@ -46,7 +48,7 @@ function _getDateTimeStr() {
|
|
|
46
48
|
}
|
|
47
49
|
function _getTimePointsDataByTagName(volume, timePointsTag) {
|
|
48
50
|
const uniqueTimePoints = volume.imageIds.reduce((timePoints, imageId)=>{
|
|
49
|
-
const instance = src
|
|
51
|
+
const instance = src.DicomMetadataStore.getInstanceByImageId(imageId);
|
|
50
52
|
const timePointValue = instance[timePointsTag];
|
|
51
53
|
if (timePointValue !== undefined) {
|
|
52
54
|
timePoints.add(timePointValue);
|
|
@@ -147,7 +149,7 @@ function _getSegmentationData(segmentation, volumesTimePointsCache, { servicesMa
|
|
|
147
149
|
if (volumeCacheKey) {
|
|
148
150
|
referencedDynamicVolume = dist_esm.cache.getVolume(volumeCacheKey);
|
|
149
151
|
}
|
|
150
|
-
const { StudyInstanceUID, StudyDescription } = src
|
|
152
|
+
const { StudyInstanceUID, StudyDescription } = src.DicomMetadataStore.getInstanceByImageId(referencedDynamicVolume.imageIds[0]); // Labelmaps are image (stack) based by default, so they may not have a cached
|
|
151
153
|
// volume with a volumeId. getOrCreateSegmentationVolume returns the cached mask
|
|
152
154
|
// volume when one exists or builds it from the labelmap imageIds, which is what
|
|
153
155
|
// getDataInTime needs to sample the segment across the dynamic volume time points.
|
|
@@ -223,7 +225,7 @@ function _getInstanceFromSegmentations(segmentations, { servicesManager }) {
|
|
|
223
225
|
const instance = {
|
|
224
226
|
SOPClassUID: ChartDataSOPClassUid,
|
|
225
227
|
Modality: CHART_MODALITY,
|
|
226
|
-
SOPInstanceUID: src
|
|
228
|
+
SOPInstanceUID: src.utils.guid(),
|
|
227
229
|
SeriesDate: seriesDate,
|
|
228
230
|
SeriesTime: seriesTime,
|
|
229
231
|
SeriesInstanceUID: SEG_CHART_INSTANCE_UID,
|
|
@@ -260,10 +262,10 @@ function updateSegmentationsChartDisplaySet({ servicesManager }) {
|
|
|
260
262
|
servicesManager
|
|
261
263
|
}) ?? {};
|
|
262
264
|
if (seriesMetadata && instance) {
|
|
263
|
-
src
|
|
265
|
+
src.DicomMetadataStore.addSeriesMetadata([
|
|
264
266
|
seriesMetadata
|
|
265
267
|
], true);
|
|
266
|
-
src
|
|
268
|
+
src.DicomMetadataStore.addInstances([
|
|
267
269
|
instance
|
|
268
270
|
], true); // The hanging protocol seeds its display-set list once at study load (a copy),
|
|
269
271
|
// and does not refresh it when derived display sets are created later. This
|
|
@@ -290,7 +292,7 @@ function updateSegmentationsChartDisplaySet({ servicesManager }) {
|
|
|
290
292
|
|
|
291
293
|
|
|
292
294
|
|
|
293
|
-
const { downloadCsv } = src
|
|
295
|
+
const { downloadCsv } = src.utils;
|
|
294
296
|
const commandsModule = ({ commandsManager, servicesManager })=>{
|
|
295
297
|
const services = servicesManager.services;
|
|
296
298
|
const { displaySetService, viewportGridService, segmentationService } = services;
|
|
@@ -613,10 +615,10 @@ const Header = (t0)=>{
|
|
|
613
615
|
const { title, tooltip } = t0;
|
|
614
616
|
let t1;
|
|
615
617
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
616
|
-
t1 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
618
|
+
t1 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.TooltipTrigger, {
|
|
617
619
|
asChild: true,
|
|
618
620
|
children: /*#__PURE__*/ (0,jsx_runtime.jsx)("span", {
|
|
619
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
621
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Icons.ByName, {
|
|
620
622
|
name: "info-link",
|
|
621
623
|
className: "text-primary h-3 w-3"
|
|
622
624
|
})
|
|
@@ -628,10 +630,10 @@ const Header = (t0)=>{
|
|
|
628
630
|
}
|
|
629
631
|
let t2;
|
|
630
632
|
if ($[1] !== tooltip) {
|
|
631
|
-
t2 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
633
|
+
t2 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.Tooltip, {
|
|
632
634
|
children: [
|
|
633
635
|
t1,
|
|
634
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
636
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.TooltipContent, {
|
|
635
637
|
sideOffset: 4,
|
|
636
638
|
className: "max-w-xs",
|
|
637
639
|
children: /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
@@ -702,7 +704,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
702
704
|
const handleGenerate = t1;
|
|
703
705
|
let t2;
|
|
704
706
|
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
705
|
-
t2 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
707
|
+
t2 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.PanelSection.Header, {
|
|
706
708
|
children: "Controls"
|
|
707
709
|
});
|
|
708
710
|
$[3] = t2;
|
|
@@ -736,15 +738,15 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
736
738
|
}
|
|
737
739
|
let t6;
|
|
738
740
|
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
739
|
-
t6 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
741
|
+
t6 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.TabsList, {
|
|
740
742
|
className: "w-full",
|
|
741
743
|
children: [
|
|
742
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
744
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.TabsTrigger, {
|
|
743
745
|
value: "4d",
|
|
744
746
|
className: "w-1/2",
|
|
745
747
|
children: "4D"
|
|
746
748
|
}),
|
|
747
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
749
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.TabsTrigger, {
|
|
748
750
|
value: "computed",
|
|
749
751
|
className: "w-1/2",
|
|
750
752
|
children: "Computed"
|
|
@@ -761,7 +763,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
761
763
|
className: "mb-4",
|
|
762
764
|
children: [
|
|
763
765
|
t3,
|
|
764
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
766
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Tabs, {
|
|
765
767
|
value: t4,
|
|
766
768
|
onValueChange: t5,
|
|
767
769
|
className: "my-2 w-full",
|
|
@@ -843,7 +845,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
843
845
|
}
|
|
844
846
|
let t14;
|
|
845
847
|
if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
846
|
-
t14 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
848
|
+
t14 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.TabsTrigger, {
|
|
847
849
|
value: String(dist_esm.Enums.DynamicOperatorType.SUM),
|
|
848
850
|
className: "w-1/3",
|
|
849
851
|
children: toUpperCaseString(dist_esm.Enums.DynamicOperatorType.SUM)
|
|
@@ -854,7 +856,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
854
856
|
}
|
|
855
857
|
let t15;
|
|
856
858
|
if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
|
|
857
|
-
t15 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
859
|
+
t15 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.TabsTrigger, {
|
|
858
860
|
value: String(dist_esm.Enums.DynamicOperatorType.AVERAGE),
|
|
859
861
|
className: "w-1/3",
|
|
860
862
|
children: toUpperCaseString(dist_esm.Enums.DynamicOperatorType.AVERAGE)
|
|
@@ -865,13 +867,13 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
865
867
|
}
|
|
866
868
|
let t16;
|
|
867
869
|
if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
|
|
868
|
-
t16 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
870
|
+
t16 = /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.TabsList, {
|
|
869
871
|
className: "w-full gap-1",
|
|
870
872
|
children: [
|
|
871
873
|
" ",
|
|
872
874
|
t14,
|
|
873
875
|
t15,
|
|
874
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
876
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.TabsTrigger, {
|
|
875
877
|
value: String(dist_esm.Enums.DynamicOperatorType.SUBTRACT),
|
|
876
878
|
className: "w-1/3",
|
|
877
879
|
children: toUpperCaseString(dist_esm.Enums.DynamicOperatorType.SUBTRACT)
|
|
@@ -884,7 +886,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
884
886
|
}
|
|
885
887
|
let t17;
|
|
886
888
|
if ($[28] !== t12) {
|
|
887
|
-
t17 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
889
|
+
t17 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Tabs, {
|
|
888
890
|
value: t12,
|
|
889
891
|
onValueChange: t13,
|
|
890
892
|
className: "mt-2 w-full",
|
|
@@ -911,7 +913,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
911
913
|
const t20 = onDoubleRangeChange || _temp;
|
|
912
914
|
let t21;
|
|
913
915
|
if ($[33] === Symbol.for("react.memo_cache_sentinel")) {
|
|
914
|
-
t21 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
916
|
+
t21 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.DoubleRange, {
|
|
915
917
|
showNumberInputs: true
|
|
916
918
|
});
|
|
917
919
|
$[33] = t21;
|
|
@@ -922,7 +924,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
922
924
|
if ($[34] !== t18 || $[35] !== t19 || $[36] !== t20) {
|
|
923
925
|
t22 = /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
924
926
|
className: "mt-2 w-full",
|
|
925
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
927
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.Container, {
|
|
926
928
|
mode: "doubleRange",
|
|
927
929
|
min: 1,
|
|
928
930
|
max: t18,
|
|
@@ -940,7 +942,7 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
940
942
|
}
|
|
941
943
|
let t23;
|
|
942
944
|
if ($[38] !== handleGenerate) {
|
|
943
|
-
t23 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
945
|
+
t23 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Button, {
|
|
944
946
|
variant: "default",
|
|
945
947
|
size: "sm",
|
|
946
948
|
className: "mt-2 h-[26px] w-[115px] self-start p-0",
|
|
@@ -975,11 +977,11 @@ const DynamicVolumeControls = (t0)=>{
|
|
|
975
977
|
if ($[45] !== t24 || $[46] !== t7 || $[47] !== t8) {
|
|
976
978
|
t25 = /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
977
979
|
className: "flex select-none flex-col",
|
|
978
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
980
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.PanelSection, {
|
|
979
981
|
defaultOpen: true,
|
|
980
982
|
children: [
|
|
981
983
|
t2,
|
|
982
|
-
/*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
984
|
+
/*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.PanelSection.Content, {
|
|
983
985
|
className: "bg-muted space-y-4 px-5 pt-2 pb-4",
|
|
984
986
|
children: [
|
|
985
987
|
t7,
|
|
@@ -1055,7 +1057,7 @@ function DimensionGroupControls(t0) {
|
|
|
1055
1057
|
const t6 = getPlayPauseIconName();
|
|
1056
1058
|
let t7;
|
|
1057
1059
|
if ($[7] !== t6) {
|
|
1058
|
-
t7 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1060
|
+
t7 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Icons.ByName, {
|
|
1059
1061
|
name: t6,
|
|
1060
1062
|
className: "text-foreground h-[24px] w-[24px]"
|
|
1061
1063
|
});
|
|
@@ -1066,7 +1068,7 @@ function DimensionGroupControls(t0) {
|
|
|
1066
1068
|
}
|
|
1067
1069
|
let t8;
|
|
1068
1070
|
if ($[9] !== t5 || $[10] !== t7) {
|
|
1069
|
-
t8 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1071
|
+
t8 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Button, {
|
|
1070
1072
|
id: "play-pause-button",
|
|
1071
1073
|
variant: "secondary",
|
|
1072
1074
|
size: "default",
|
|
@@ -1088,11 +1090,11 @@ function DimensionGroupControls(t0) {
|
|
|
1088
1090
|
t12 = /*#__PURE__*/ (0,jsx_runtime.jsxs)("div", {
|
|
1089
1091
|
className: "flex flex-col items-center",
|
|
1090
1092
|
children: [
|
|
1091
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1093
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.NumberStepper, {
|
|
1092
1094
|
className: "h-[28px] w-[58px]",
|
|
1093
1095
|
direction: "horizontal"
|
|
1094
1096
|
}),
|
|
1095
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1097
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.Label, {
|
|
1096
1098
|
className: "text-muted-foreground mt-1 text-sm",
|
|
1097
1099
|
children: "Frame"
|
|
1098
1100
|
})
|
|
@@ -1104,7 +1106,7 @@ function DimensionGroupControls(t0) {
|
|
|
1104
1106
|
}
|
|
1105
1107
|
let t13;
|
|
1106
1108
|
if ($[13] !== t10 || $[14] !== t11 || $[15] !== t9) {
|
|
1107
|
-
t13 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1109
|
+
t13 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.Container, {
|
|
1108
1110
|
mode: "stepper",
|
|
1109
1111
|
value: t9,
|
|
1110
1112
|
onChange: t10,
|
|
@@ -1129,11 +1131,11 @@ function DimensionGroupControls(t0) {
|
|
|
1129
1131
|
t18 = /*#__PURE__*/ (0,jsx_runtime.jsxs)("div", {
|
|
1130
1132
|
className: "flex flex-col items-center",
|
|
1131
1133
|
children: [
|
|
1132
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1134
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.NumberStepper, {
|
|
1133
1135
|
className: "h-[28px] w-[58px]",
|
|
1134
1136
|
direction: "horizontal"
|
|
1135
1137
|
}),
|
|
1136
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1138
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.Label, {
|
|
1137
1139
|
className: "text-muted-foreground mt-1 text-sm",
|
|
1138
1140
|
children: "FPS"
|
|
1139
1141
|
})
|
|
@@ -1145,7 +1147,7 @@ function DimensionGroupControls(t0) {
|
|
|
1145
1147
|
}
|
|
1146
1148
|
let t19;
|
|
1147
1149
|
if ($[18] !== t14 || $[19] !== t15 || $[20] !== t16 || $[21] !== t17) {
|
|
1148
|
-
t19 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1150
|
+
t19 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Numeric.Container, {
|
|
1149
1151
|
mode: "stepper",
|
|
1150
1152
|
value: t14,
|
|
1151
1153
|
onChange: t15,
|
|
@@ -1228,9 +1230,9 @@ function PanelGenerateImage(t0) {
|
|
|
1228
1230
|
const $ = (0,compiler_runtime.c)(56);
|
|
1229
1231
|
const { servicesManager, commandsManager } = t0;
|
|
1230
1232
|
const { cornerstoneViewportService, viewportGridService, displaySetService } = servicesManager.services;
|
|
1231
|
-
const [t1, cineService] = (0,ui_next_src
|
|
1233
|
+
const [t1, cineService] = (0,ui_next_src.useCine)();
|
|
1232
1234
|
const { isCineEnabled } = t1;
|
|
1233
|
-
const [t2] = (0,ui_next_src
|
|
1235
|
+
const [t2] = (0,ui_next_src.useViewportGrid)();
|
|
1234
1236
|
const { activeViewportId } = t2;
|
|
1235
1237
|
let t3;
|
|
1236
1238
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
@@ -1668,7 +1670,7 @@ function DynamicExport(t0) {
|
|
|
1668
1670
|
} else {
|
|
1669
1671
|
t1 = $[1];
|
|
1670
1672
|
}
|
|
1671
|
-
const segmentations = (0,cornerstone_src
|
|
1673
|
+
const segmentations = (0,cornerstone_src.useSegmentations)(t1);
|
|
1672
1674
|
if (!segmentations?.length) {
|
|
1673
1675
|
return null;
|
|
1674
1676
|
}
|
|
@@ -1691,7 +1693,7 @@ function DynamicExport(t0) {
|
|
|
1691
1693
|
let t3;
|
|
1692
1694
|
let t4;
|
|
1693
1695
|
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1694
|
-
t3 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1696
|
+
t3 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Icons.Export, {});
|
|
1695
1697
|
t4 = /*#__PURE__*/ (0,jsx_runtime.jsx)("span", {
|
|
1696
1698
|
className: "pl-1",
|
|
1697
1699
|
children: "Time Data"
|
|
@@ -1706,7 +1708,7 @@ function DynamicExport(t0) {
|
|
|
1706
1708
|
if ($[7] !== t2) {
|
|
1707
1709
|
t5 = /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
1708
1710
|
className: "flex h-8 w-full items-center rounded pr-0.5",
|
|
1709
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
1711
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.Button, {
|
|
1710
1712
|
size: "sm",
|
|
1711
1713
|
variant: "ghost",
|
|
1712
1714
|
className: "pl-1.5",
|
|
@@ -1742,7 +1744,7 @@ function DynamicExport(t0) {
|
|
|
1742
1744
|
let t7;
|
|
1743
1745
|
let t8;
|
|
1744
1746
|
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1745
|
-
t7 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src
|
|
1747
|
+
t7 = /*#__PURE__*/ (0,jsx_runtime.jsx)(ui_next_src.Icons.Export, {});
|
|
1746
1748
|
t8 = /*#__PURE__*/ (0,jsx_runtime.jsx)("span", {
|
|
1747
1749
|
className: "pl-1",
|
|
1748
1750
|
children: "ROI Stats"
|
|
@@ -1757,7 +1759,7 @@ function DynamicExport(t0) {
|
|
|
1757
1759
|
if ($[14] !== t6) {
|
|
1758
1760
|
t9 = /*#__PURE__*/ (0,jsx_runtime.jsx)("div", {
|
|
1759
1761
|
className: "flex h-8 w-full items-center rounded pr-0.5",
|
|
1760
|
-
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src
|
|
1762
|
+
children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(ui_next_src.Button, {
|
|
1761
1763
|
size: "sm",
|
|
1762
1764
|
variant: "ghost",
|
|
1763
1765
|
className: "pl-1.5",
|
|
@@ -1811,11 +1813,11 @@ function getPanelModule({ commandsManager, extensionManager, servicesManager, co
|
|
|
1811
1813
|
const wrappedDynamicSegmentation = ()=>{
|
|
1812
1814
|
return /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
1813
1815
|
children: [
|
|
1814
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(default_src
|
|
1816
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(default_src.Toolbox, {
|
|
1815
1817
|
buttonSectionId: toolbarService.sections.dynamicToolbox,
|
|
1816
1818
|
title: "Buttons:Threshold Tools"
|
|
1817
1819
|
}),
|
|
1818
|
-
/*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src
|
|
1820
|
+
/*#__PURE__*/ (0,jsx_runtime.jsx)(cornerstone_src.PanelSegmentation, {
|
|
1819
1821
|
servicesManager: servicesManager,
|
|
1820
1822
|
commandsManager: commandsManager,
|
|
1821
1823
|
extensionManager: extensionManager,
|