@ohif/app 3.10.0-beta.126 → 3.10.0-beta.128
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/{4209.bundle.63b1c85c2778335b2dbb.js → 4209.bundle.4a85411484dd9b7d0f48.js} +32 -10
- package/dist/{810.bundle.04c1955461ecea7dafd1.js → 810.bundle.d7dfe1a0fe987f4edcbe.js} +83 -78
- package/dist/{app.bundle.e597f0e32a455f06211d.js → app.bundle.6cb9b06770b13ead7a48.js} +5 -3
- package/dist/app.bundle.css +2 -2
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- /package/dist/{1459.bundle.0e416e2e704d6ce85818.js → 1459.bundle.3aaedd1006085c96cf98.js} +0 -0
- /package/dist/{1807.bundle.35731825919d522020f8.js → 1807.bundle.68b5e513526e82ce2d76.js} +0 -0
- /package/dist/{1919.bundle.d1383c37af7c301b620b.js → 1919.bundle.a4a3d577ee6c4f6ea38e.js} +0 -0
- /package/dist/{213.bundle.842a95bde11687c457c8.js → 213.bundle.48d44efab2fac3cc385d.js} +0 -0
- /package/dist/{2308.bundle.17464262bf58f40530ad.js → 2308.bundle.cf42972951ec72c640fc.js} +0 -0
- /package/dist/{2424.bundle.abd5cfaf58a44378f4c2.js → 2424.bundle.2ab39293a3a7b44e4ae0.js} +0 -0
- /package/dist/{2701.bundle.8b8315b40e96a64e1975.js → 2701.bundle.0482b36284bc72d9e35b.js} +0 -0
- /package/dist/{2825.bundle.3c3db34ea34c538913c9.js → 2825.bundle.9ba506f3266a9dc76667.js} +0 -0
- /package/dist/{4113.bundle.b7fb63b9d74254a9815d.js → 4113.bundle.46b3cdc6137ef7578e8f.js} +0 -0
- /package/dist/{4202.bundle.fd5acc26c0e505cfe807.js → 4202.bundle.b49b2d404d130fb6aa57.js} +0 -0
- /package/dist/{4526.bundle.a3c290d4833071091a30.js → 4526.bundle.645693e992b6bf3cf693.js} +0 -0
- /package/dist/{6027.bundle.17ac9b78e98980ffe047.js → 6027.bundle.1c4cc26233fa7cead9bd.js} +0 -0
- /package/dist/{6201.bundle.39f11085d7637f42106b.js → 6201.bundle.dd8afd756052db9fa682.js} +0 -0
- /package/dist/{6341.bundle.fd9ee706a8dc7caaf75c.js → 6341.bundle.713ae26f6cddfe9d3494.js} +0 -0
- /package/dist/{7197.bundle.e5e157d61c44227a1168.js → 7197.bundle.dbdac7e96fa7ec1d83a3.js} +0 -0
- /package/dist/{7639.bundle.76ad5230b9fd22bc112c.js → 7639.bundle.5ffd082cef367f083d55.js} +0 -0
- /package/dist/{85.bundle.71b46cc69b211eba4f3d.js → 85.bundle.4d9985acd2a74fb1c4e0.js} +0 -0
- /package/dist/{8558.bundle.5b4f701d2005a4c8b8ec.js → 8558.bundle.fb4a5887d67af30fe841.js} +0 -0
- /package/dist/{8815.bundle.375945f5227347ad5677.js → 8815.bundle.c6e2a507a91a768c3efa.js} +0 -0
- /package/dist/{9026.bundle.c4da409594d255f62e61.js → 9026.bundle.6b779d381a07421cc854.js} +0 -0
- /package/dist/{9093.bundle.d4abd397b6b11b7b6a41.js → 9093.bundle.89eee5f67d2abe745b6c.js} +0 -0
- /package/dist/{963.bundle.5c219077e9b8f2767bc7.js → 963.bundle.76e4a388ddb042dae863.js} +0 -0
- /package/dist/{9862.bundle.ff934340a3abfe9481ee.js → 9862.bundle.3a0d0f61bb6d2efbdbe8.js} +0 -0
- /package/dist/{9890.bundle.8b2a60d01aa2984921f8.js → 9890.bundle.f783f6e10206ea572e34.js} +0 -0
|
@@ -6617,7 +6617,7 @@ function getFormattedRowsFromTags({
|
|
|
6617
6617
|
} = current;
|
|
6618
6618
|
for (let i = index; i < tags.length; i++) {
|
|
6619
6619
|
const tagInfo = tags[i];
|
|
6620
|
-
const uid = generateRowId();
|
|
6620
|
+
const uid = tagInfo.uid ?? generateRowId();
|
|
6621
6621
|
if (parents?.length > 0) {
|
|
6622
6622
|
parents.forEach(parent => {
|
|
6623
6623
|
parentChildMap.get(parent).push(uid);
|
|
@@ -6647,13 +6647,31 @@ function getFormattedRowsFromTags({
|
|
|
6647
6647
|
index: i + 1,
|
|
6648
6648
|
children
|
|
6649
6649
|
});
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6650
|
+
for (let j = tagInfo.values.length - 1, values = tagInfo.values[j]; j >= 0; values = tagInfo.values[--j]) {
|
|
6651
|
+
const itemUid = generateRowId();
|
|
6652
|
+
stack.push({
|
|
6653
|
+
tags: values,
|
|
6654
|
+
depth: depth + 2,
|
|
6655
|
+
parents: [...newParents, itemUid],
|
|
6656
|
+
index: 0,
|
|
6657
|
+
children: []
|
|
6658
|
+
});
|
|
6659
|
+
const itemTagInfo = {
|
|
6660
|
+
tags: [{
|
|
6661
|
+
tag: '(FFFE,E000)',
|
|
6662
|
+
vr: '',
|
|
6663
|
+
keyword: `Item #${j}`,
|
|
6664
|
+
value: '',
|
|
6665
|
+
uid: itemUid
|
|
6666
|
+
}],
|
|
6667
|
+
depth: depth + 1,
|
|
6668
|
+
parents: newParents,
|
|
6669
|
+
index: 0,
|
|
6670
|
+
children: []
|
|
6671
|
+
};
|
|
6672
|
+
stack.push(itemTagInfo);
|
|
6673
|
+
parentChildMap.set(itemUid, itemTagInfo.children);
|
|
6674
|
+
}
|
|
6657
6675
|
break;
|
|
6658
6676
|
}
|
|
6659
6677
|
} else {
|
|
@@ -6677,6 +6695,10 @@ function getFormattedRowsFromTags({
|
|
|
6677
6695
|
parents
|
|
6678
6696
|
};
|
|
6679
6697
|
rows.push(row);
|
|
6698
|
+
if (row.tag === '(FFFE,E000)') {
|
|
6699
|
+
row.areChildrenVisible = true;
|
|
6700
|
+
row.children = [];
|
|
6701
|
+
}
|
|
6680
6702
|
}
|
|
6681
6703
|
}
|
|
6682
6704
|
}
|
|
@@ -9778,8 +9800,8 @@ function AboutModalDefault() {
|
|
|
9778
9800
|
name
|
|
9779
9801
|
} = (0,browser_detect_es5/* default */.A)();
|
|
9780
9802
|
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
|
|
9781
|
-
const versionNumber = "3.10.0-beta.
|
|
9782
|
-
const commitHash = "
|
|
9803
|
+
const versionNumber = "3.10.0-beta.128";
|
|
9804
|
+
const commitHash = "fb93ef921999010cbabe4bc7d8bef9b90c8efc71";
|
|
9783
9805
|
const [main, beta] = versionNumber.split('-');
|
|
9784
9806
|
return /*#__PURE__*/react.createElement(ui_next_src/* AboutModal */.VT, {
|
|
9785
9807
|
className: "w-[400px]"
|
|
@@ -722,13 +722,14 @@ var react = __webpack_require__(86326);
|
|
|
722
722
|
// EXTERNAL MODULE: ../../../node_modules/prop-types/index.js
|
|
723
723
|
var prop_types = __webpack_require__(97598);
|
|
724
724
|
var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
|
|
725
|
-
// EXTERNAL MODULE: ../../ui/src/index.js + 693 modules
|
|
726
|
-
var src = __webpack_require__(61533);
|
|
727
725
|
// EXTERNAL MODULE: ../../core/src/index.ts + 73 modules
|
|
728
|
-
var
|
|
726
|
+
var src = __webpack_require__(25619);
|
|
729
727
|
// EXTERNAL MODULE: ../../../node_modules/react-i18next/dist/es/index.js + 15 modules
|
|
730
728
|
var es = __webpack_require__(99993);
|
|
729
|
+
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 997 modules
|
|
730
|
+
var ui_next_src = __webpack_require__(56602);
|
|
731
731
|
;// CONCATENATED MODULE: ../../../extensions/tmtv/src/Panels/PanelPetSUV.tsx
|
|
732
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
732
733
|
|
|
733
734
|
|
|
734
735
|
|
|
@@ -752,6 +753,39 @@ const DEFAULT_MEATADATA = {
|
|
|
752
753
|
* @param param0
|
|
753
754
|
* @returns
|
|
754
755
|
*/
|
|
756
|
+
|
|
757
|
+
// InputRow compound component
|
|
758
|
+
const InputRow = ({
|
|
759
|
+
children,
|
|
760
|
+
className,
|
|
761
|
+
...props
|
|
762
|
+
}) => {
|
|
763
|
+
return /*#__PURE__*/react.createElement("div", _extends({
|
|
764
|
+
className: `flex flex-row items-center space-x-4 ${className || ''}`
|
|
765
|
+
}, props), children);
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
// InputRow sub-components
|
|
769
|
+
InputRow.Label = ({
|
|
770
|
+
children,
|
|
771
|
+
unit,
|
|
772
|
+
className,
|
|
773
|
+
...props
|
|
774
|
+
}) => /*#__PURE__*/react.createElement(ui_next_src/* Label */.JU, _extends({
|
|
775
|
+
className: `min-w-32 flex-shrink-0 ${className || ''}`
|
|
776
|
+
}, props), children, unit && /*#__PURE__*/react.createElement("span", {
|
|
777
|
+
className: "text-muted-foreground"
|
|
778
|
+
}, " ", unit));
|
|
779
|
+
InputRow.Input = ({
|
|
780
|
+
className,
|
|
781
|
+
...props
|
|
782
|
+
}) => /*#__PURE__*/react.createElement(ui_next_src/* Input */.pd, _extends({
|
|
783
|
+
className: `h-7 flex-1 ${className || ''}`
|
|
784
|
+
}, props));
|
|
785
|
+
|
|
786
|
+
// Set display names for better debugging
|
|
787
|
+
InputRow.Label.displayName = 'InputRow.Label';
|
|
788
|
+
InputRow.Input.displayName = 'InputRow.Input';
|
|
755
789
|
function PanelPetSUV({
|
|
756
790
|
servicesManager,
|
|
757
791
|
commandsManager
|
|
@@ -848,7 +882,7 @@ function PanelPetSUV({
|
|
|
848
882
|
}
|
|
849
883
|
|
|
850
884
|
// metadata should be dcmjs naturalized
|
|
851
|
-
|
|
885
|
+
src/* DicomMetadataStore */.H8.updateMetadataForSeries(ptDisplaySet.StudyInstanceUID, ptDisplaySet.SeriesInstanceUID, metadata);
|
|
852
886
|
|
|
853
887
|
// update the displaySets
|
|
854
888
|
displaySetService.setDisplaySetMetadataInvalidated(ptDisplaySet.displaySetInstanceUID);
|
|
@@ -862,32 +896,21 @@ function PanelPetSUV({
|
|
|
862
896
|
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
863
897
|
className: "ohif-scrollbar flex min-h-0 flex-auto select-none flex-col justify-between overflow-auto"
|
|
864
898
|
}, /*#__PURE__*/react.createElement("div", {
|
|
865
|
-
className: "flex min-h-0 flex-1 flex-col bg-black text-
|
|
866
|
-
}, /*#__PURE__*/react.createElement(
|
|
867
|
-
|
|
868
|
-
}, /*#__PURE__*/react.createElement("div", {
|
|
869
|
-
className: "flex flex-col"
|
|
870
|
-
}, /*#__PURE__*/react.createElement(
|
|
871
|
-
className: "bg-primary-dark flex flex-col gap-4 p-2"
|
|
872
|
-
}, /*#__PURE__*/react.createElement(src/* Input */.pd, {
|
|
873
|
-
containerClassName: '!flex-row !justify-between items-center',
|
|
874
|
-
label: t('Patient Sex'),
|
|
875
|
-
labelClassName: "text-[13px] font-inter text-white",
|
|
876
|
-
className: "!m-0 !h-[26px] !w-[117px]",
|
|
899
|
+
className: "flex min-h-0 flex-1 flex-col bg-black text-base"
|
|
900
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aU, {
|
|
901
|
+
defaultOpen: true
|
|
902
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aU.Header, null, t('Patient Information')), /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aU.Content, null, /*#__PURE__*/react.createElement("div", {
|
|
903
|
+
className: "bg-primary-dark flex flex-col gap-3 p-2"
|
|
904
|
+
}, /*#__PURE__*/react.createElement(InputRow, null, /*#__PURE__*/react.createElement(InputRow.Label, null, t('Patient Sex')), /*#__PURE__*/react.createElement(InputRow.Input, {
|
|
877
905
|
value: metadata.PatientSex || '',
|
|
878
906
|
onChange: e => {
|
|
879
907
|
handleMetadataChange({
|
|
880
908
|
PatientSex: e.target.value
|
|
881
909
|
});
|
|
882
910
|
}
|
|
883
|
-
}), /*#__PURE__*/react.createElement(
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
labelChildren: /*#__PURE__*/react.createElement("span", {
|
|
887
|
-
className: "text-aqua-pale"
|
|
888
|
-
}, " kg"),
|
|
889
|
-
labelClassName: "text-[13px] font-inter text-white",
|
|
890
|
-
className: "!m-0 !h-[26px] !w-[117px]",
|
|
911
|
+
})), /*#__PURE__*/react.createElement(InputRow, null, /*#__PURE__*/react.createElement(InputRow.Label, {
|
|
912
|
+
unit: "kg"
|
|
913
|
+
}, t('Weight')), /*#__PURE__*/react.createElement(InputRow.Input, {
|
|
891
914
|
value: metadata.PatientWeight || '',
|
|
892
915
|
onChange: e => {
|
|
893
916
|
handleMetadataChange({
|
|
@@ -895,14 +918,9 @@ function PanelPetSUV({
|
|
|
895
918
|
});
|
|
896
919
|
},
|
|
897
920
|
id: "weight-input"
|
|
898
|
-
}), /*#__PURE__*/react.createElement(
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
labelChildren: /*#__PURE__*/react.createElement("span", {
|
|
902
|
-
className: "text-aqua-pale"
|
|
903
|
-
}, " bq"),
|
|
904
|
-
labelClassName: "text-[13px] font-inter text-white",
|
|
905
|
-
className: "!m-0 !h-[26px] !w-[117px]",
|
|
921
|
+
})), /*#__PURE__*/react.createElement(InputRow, null, /*#__PURE__*/react.createElement(InputRow.Label, {
|
|
922
|
+
unit: "bq"
|
|
923
|
+
}, t('Total Dose')), /*#__PURE__*/react.createElement(InputRow.Input, {
|
|
906
924
|
value: metadata.RadiopharmaceuticalInformationSequence.RadionuclideTotalDose || '',
|
|
907
925
|
onChange: e => {
|
|
908
926
|
handleMetadataChange({
|
|
@@ -911,14 +929,9 @@ function PanelPetSUV({
|
|
|
911
929
|
}
|
|
912
930
|
});
|
|
913
931
|
}
|
|
914
|
-
}), /*#__PURE__*/react.createElement(
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
labelChildren: /*#__PURE__*/react.createElement("span", {
|
|
918
|
-
className: "text-aqua-pale"
|
|
919
|
-
}, " s"),
|
|
920
|
-
labelClassName: "text-[13px] font-inter text-white",
|
|
921
|
-
className: "!m-0 !h-[26px] !w-[117px]",
|
|
932
|
+
})), /*#__PURE__*/react.createElement(InputRow, null, /*#__PURE__*/react.createElement(InputRow.Label, {
|
|
933
|
+
unit: "s"
|
|
934
|
+
}, t('Half Life')), /*#__PURE__*/react.createElement(InputRow.Input, {
|
|
922
935
|
value: metadata.RadiopharmaceuticalInformationSequence.RadionuclideHalfLife || '',
|
|
923
936
|
onChange: e => {
|
|
924
937
|
handleMetadataChange({
|
|
@@ -927,14 +940,9 @@ function PanelPetSUV({
|
|
|
927
940
|
}
|
|
928
941
|
});
|
|
929
942
|
}
|
|
930
|
-
}), /*#__PURE__*/react.createElement(
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
labelChildren: /*#__PURE__*/react.createElement("span", {
|
|
934
|
-
className: "text-aqua-pale"
|
|
935
|
-
}, " s"),
|
|
936
|
-
labelClassName: "text-[13px] font-inter text-white",
|
|
937
|
-
className: "!m-0 !h-[26px] !w-[117px]",
|
|
943
|
+
})), /*#__PURE__*/react.createElement(InputRow, null, /*#__PURE__*/react.createElement(InputRow.Label, {
|
|
944
|
+
unit: "s"
|
|
945
|
+
}, t('Injection Time')), /*#__PURE__*/react.createElement(InputRow.Input, {
|
|
938
946
|
value: metadata.RadiopharmaceuticalInformationSequence.RadiopharmaceuticalStartTime || '',
|
|
939
947
|
onChange: e => {
|
|
940
948
|
handleMetadataChange({
|
|
@@ -943,18 +951,15 @@ function PanelPetSUV({
|
|
|
943
951
|
}
|
|
944
952
|
});
|
|
945
953
|
}
|
|
946
|
-
}), /*#__PURE__*/react.createElement(
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
labelChildren: /*#__PURE__*/react.createElement("span", {
|
|
950
|
-
className: "text-aqua-pale"
|
|
951
|
-
}, " s"),
|
|
952
|
-
labelClassName: "text-[13px] font-inter text-white",
|
|
953
|
-
className: "!m-0 !h-[26px] !w-[117px]",
|
|
954
|
+
})), /*#__PURE__*/react.createElement(InputRow, null, /*#__PURE__*/react.createElement(InputRow.Label, {
|
|
955
|
+
unit: "s"
|
|
956
|
+
}, t('Acquisition Time')), /*#__PURE__*/react.createElement(InputRow.Input, {
|
|
954
957
|
value: metadata.SeriesTime || '',
|
|
955
958
|
onChange: () => {}
|
|
956
|
-
}), /*#__PURE__*/react.createElement(
|
|
957
|
-
|
|
959
|
+
})), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$n, {
|
|
960
|
+
variant: "default",
|
|
961
|
+
size: "sm",
|
|
962
|
+
className: "w-28 self-end",
|
|
958
963
|
onClick: updateMetadata
|
|
959
964
|
}, "Reload Data")))))));
|
|
960
965
|
}
|
|
@@ -1072,8 +1077,6 @@ function PanelRoiThresholdSegmentation({
|
|
|
1072
1077
|
|
|
1073
1078
|
// EXTERNAL MODULE: ../../../extensions/default/src/index.ts + 149 modules
|
|
1074
1079
|
var default_src = __webpack_require__(84209);
|
|
1075
|
-
// EXTERNAL MODULE: ../../ui-next/src/index.ts + 997 modules
|
|
1076
|
-
var ui_next_src = __webpack_require__(56602);
|
|
1077
1080
|
;// CONCATENATED MODULE: ../../../extensions/tmtv/src/Panels/PanelTMTV.tsx
|
|
1078
1081
|
|
|
1079
1082
|
|
|
@@ -1506,9 +1509,9 @@ var adapters_dist_esm = __webpack_require__(7527);
|
|
|
1506
1509
|
const {
|
|
1507
1510
|
datasetToBlob
|
|
1508
1511
|
} = dcmjs_es/* default.data */.Ay.data;
|
|
1509
|
-
const metadataProvider =
|
|
1512
|
+
const metadataProvider = src/* classes */.Ly.MetadataProvider;
|
|
1510
1513
|
function dicomRTAnnotationExport(annotations) {
|
|
1511
|
-
const dataset = adapters_dist_esm/* adaptersRT */.f_.Cornerstone3D.RTSS.generateRTSSFromAnnotations(annotations, metadataProvider,
|
|
1514
|
+
const dataset = adapters_dist_esm/* adaptersRT */.f_.Cornerstone3D.RTSS.generateRTSSFromAnnotations(annotations, metadataProvider, src/* DicomMetadataStore */.H8);
|
|
1512
1515
|
const reportBlob = datasetToBlob(dataset);
|
|
1513
1516
|
|
|
1514
1517
|
//Create a URL for the binary.
|
|
@@ -1535,8 +1538,8 @@ const {
|
|
|
1535
1538
|
} = esm.Enums;
|
|
1536
1539
|
const {
|
|
1537
1540
|
formatPN
|
|
1538
|
-
} =
|
|
1539
|
-
const commandsModule_metadataProvider =
|
|
1541
|
+
} = src/* utils */.Wp;
|
|
1542
|
+
const commandsModule_metadataProvider = src/* classes */.Ly.MetadataProvider;
|
|
1540
1543
|
const ROI_THRESHOLD_MANUAL_TOOL_IDS = ['RectangleROIStartEndThreshold', 'RectangleROIThreshold', 'CircleROIStartEndThreshold'];
|
|
1541
1544
|
const workerManager = (0,dist_esm.getWebWorkerManager)();
|
|
1542
1545
|
|
|
@@ -1904,7 +1907,7 @@ const commandsModule = ({
|
|
|
1904
1907
|
continue;
|
|
1905
1908
|
}
|
|
1906
1909
|
const firstImageId = referencedVolume.imageIds[0];
|
|
1907
|
-
const instance =
|
|
1910
|
+
const instance = src/* default.classes */.Ay.classes.MetadataProvider.get('instance', firstImageId);
|
|
1908
1911
|
if (!instance) {
|
|
1909
1912
|
report[id] = segReport;
|
|
1910
1913
|
continue;
|
|
@@ -2007,6 +2010,8 @@ const commandsModule = ({
|
|
|
2007
2010
|
};
|
|
2008
2011
|
};
|
|
2009
2012
|
/* harmony default export */ const src_commandsModule = (commandsModule);
|
|
2013
|
+
// EXTERNAL MODULE: ../../ui/src/index.js + 693 modules
|
|
2014
|
+
var ui_src = __webpack_require__(61533);
|
|
2010
2015
|
;// CONCATENATED MODULE: ../../../extensions/tmtv/src/Panels/PanelROIThresholdSegmentation/ROIThresholdConfiguration.tsx
|
|
2011
2016
|
|
|
2012
2017
|
|
|
@@ -2036,7 +2041,7 @@ function ROIThresholdConfiguration({
|
|
|
2036
2041
|
className: "flex items-end space-x-2"
|
|
2037
2042
|
}, /*#__PURE__*/react.createElement("div", {
|
|
2038
2043
|
className: "flex w-1/2 flex-col"
|
|
2039
|
-
}, /*#__PURE__*/react.createElement(
|
|
2044
|
+
}, /*#__PURE__*/react.createElement(ui_src/* Select */.l6, {
|
|
2040
2045
|
label: t('Strategy'),
|
|
2041
2046
|
closeMenuOnSelect: true,
|
|
2042
2047
|
className: "border-primary-main mr-2 bg-black text-white ",
|
|
@@ -2055,19 +2060,19 @@ function ROIThresholdConfiguration({
|
|
|
2055
2060
|
}
|
|
2056
2061
|
})), /*#__PURE__*/react.createElement("div", {
|
|
2057
2062
|
className: "w-1/2"
|
|
2058
|
-
}, /*#__PURE__*/react.createElement(
|
|
2063
|
+
}, /*#__PURE__*/react.createElement(ui_src/* LegacyButtonGroup */.xA, null, /*#__PURE__*/react.createElement(ui_src/* LegacyButton */._H, {
|
|
2059
2064
|
size: "initial",
|
|
2060
2065
|
className: "px-2 py-2 text-base text-white",
|
|
2061
2066
|
color: "primaryLight",
|
|
2062
2067
|
variant: "outlined",
|
|
2063
2068
|
onClick: () => runCommand('setStartSliceForROIThresholdTool')
|
|
2064
|
-
}, t('Start')), /*#__PURE__*/react.createElement(
|
|
2069
|
+
}, t('Start')), /*#__PURE__*/react.createElement(ui_src/* LegacyButton */._H, {
|
|
2065
2070
|
size: "initial",
|
|
2066
2071
|
color: "primaryLight",
|
|
2067
2072
|
variant: "outlined",
|
|
2068
2073
|
className: "px-2 py-2 text-base text-white",
|
|
2069
2074
|
onClick: () => runCommand('setEndSliceForROIThresholdTool')
|
|
2070
|
-
}, t('End'))))), config.strategy === ROI_STAT && /*#__PURE__*/react.createElement(
|
|
2075
|
+
}, t('End'))))), config.strategy === ROI_STAT && /*#__PURE__*/react.createElement(ui_src/* Input */.pd, {
|
|
2071
2076
|
label: t('Percentage of Max SUV'),
|
|
2072
2077
|
labelClassName: "text-[13px] font-inter text-white",
|
|
2073
2078
|
className: "border-primary-main bg-black",
|
|
@@ -2089,19 +2094,19 @@ function ROIThresholdConfiguration({
|
|
|
2089
2094
|
}, /*#__PURE__*/react.createElement("td", {
|
|
2090
2095
|
className: "pr-4",
|
|
2091
2096
|
colSpan: "3"
|
|
2092
|
-
}, /*#__PURE__*/react.createElement(
|
|
2097
|
+
}, /*#__PURE__*/react.createElement(ui_src/* Label */.JU, {
|
|
2093
2098
|
className: "font-inter text-[13px] text-white",
|
|
2094
2099
|
text: "Lower & Upper Ranges"
|
|
2095
2100
|
}))), /*#__PURE__*/react.createElement("tr", {
|
|
2096
2101
|
className: "mt-2"
|
|
2097
2102
|
}, /*#__PURE__*/react.createElement("td", {
|
|
2098
2103
|
className: "pr-4 pt-2 text-center"
|
|
2099
|
-
}, /*#__PURE__*/react.createElement(
|
|
2104
|
+
}, /*#__PURE__*/react.createElement(ui_src/* Label */.JU, {
|
|
2100
2105
|
className: "text-white",
|
|
2101
2106
|
text: "CT"
|
|
2102
2107
|
})), /*#__PURE__*/react.createElement("td", null, /*#__PURE__*/react.createElement("div", {
|
|
2103
2108
|
className: "flex justify-between"
|
|
2104
|
-
}, /*#__PURE__*/react.createElement(
|
|
2109
|
+
}, /*#__PURE__*/react.createElement(ui_src/* Input */.pd, {
|
|
2105
2110
|
label: t(''),
|
|
2106
2111
|
labelClassName: "text-white",
|
|
2107
2112
|
className: "border-primary-main mt-2 bg-black",
|
|
@@ -2116,7 +2121,7 @@ function ROIThresholdConfiguration({
|
|
|
2116
2121
|
}
|
|
2117
2122
|
});
|
|
2118
2123
|
}
|
|
2119
|
-
}), /*#__PURE__*/react.createElement(
|
|
2124
|
+
}), /*#__PURE__*/react.createElement(ui_src/* Input */.pd, {
|
|
2120
2125
|
label: t(''),
|
|
2121
2126
|
labelClassName: "text-white",
|
|
2122
2127
|
className: "border-primary-main mt-2 bg-black",
|
|
@@ -2133,12 +2138,12 @@ function ROIThresholdConfiguration({
|
|
|
2133
2138
|
}
|
|
2134
2139
|
})))), /*#__PURE__*/react.createElement("tr", null, /*#__PURE__*/react.createElement("td", {
|
|
2135
2140
|
className: "pr-4 pt-2 text-center"
|
|
2136
|
-
}, /*#__PURE__*/react.createElement(
|
|
2141
|
+
}, /*#__PURE__*/react.createElement(ui_src/* Label */.JU, {
|
|
2137
2142
|
className: "text-white",
|
|
2138
2143
|
text: "PT"
|
|
2139
2144
|
})), /*#__PURE__*/react.createElement("td", null, /*#__PURE__*/react.createElement("div", {
|
|
2140
2145
|
className: "flex justify-between"
|
|
2141
|
-
}, /*#__PURE__*/react.createElement(
|
|
2146
|
+
}, /*#__PURE__*/react.createElement(ui_src/* Input */.pd, {
|
|
2142
2147
|
label: t(''),
|
|
2143
2148
|
labelClassName: "text-white",
|
|
2144
2149
|
className: "border-primary-main mt-2 bg-black",
|
|
@@ -2153,7 +2158,7 @@ function ROIThresholdConfiguration({
|
|
|
2153
2158
|
}
|
|
2154
2159
|
});
|
|
2155
2160
|
}
|
|
2156
|
-
}), /*#__PURE__*/react.createElement(
|
|
2161
|
+
}), /*#__PURE__*/react.createElement(ui_src/* Input */.pd, {
|
|
2157
2162
|
label: t(''),
|
|
2158
2163
|
labelClassName: "text-white",
|
|
2159
2164
|
className: "border-primary-main mt-2 bg-black",
|
|
@@ -2222,7 +2227,7 @@ function reducer(state, action) {
|
|
|
2222
2227
|
function RectangleROIOptions() {
|
|
2223
2228
|
const {
|
|
2224
2229
|
commandsManager
|
|
2225
|
-
} = (0,
|
|
2230
|
+
} = (0,src/* useSystem */.Jg)();
|
|
2226
2231
|
const segmentations = (0,cornerstone_src.useSegmentations)();
|
|
2227
2232
|
const activeSegmentation = segmentations[0];
|
|
2228
2233
|
const runCommand = (0,react.useCallback)((commandName, commandOptions = {}) => {
|
|
@@ -2254,7 +2259,7 @@ function RectangleROIOptions() {
|
|
|
2254
2259
|
config: config,
|
|
2255
2260
|
dispatch: dispatch,
|
|
2256
2261
|
runCommand: runCommand
|
|
2257
|
-
}), activeSegmentation && /*#__PURE__*/react.createElement(
|
|
2262
|
+
}), activeSegmentation && /*#__PURE__*/react.createElement(ui_src/* Button */.$n, {
|
|
2258
2263
|
className: "mt-2 !h-[26px] !w-[75px]",
|
|
2259
2264
|
onClick: handleROIThresholding
|
|
2260
2265
|
}, "Run"));
|
|
@@ -122598,7 +122598,7 @@ const detectionOptions = {
|
|
|
122598
122598
|
}
|
|
122599
122599
|
});
|
|
122600
122600
|
;// CONCATENATED MODULE: ../../i18n/package.json
|
|
122601
|
-
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.10.0-beta.
|
|
122601
|
+
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.10.0-beta.127"}');
|
|
122602
122602
|
;// CONCATENATED MODULE: ../../i18n/src/utils.js
|
|
122603
122603
|
const languagesMap = {
|
|
122604
122604
|
ar: 'Arabic',
|
|
@@ -131736,8 +131736,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
131736
131736
|
Y9: () => (/* reexport */ components_Header_Header),
|
|
131737
131737
|
FI: () => (/* reexport */ Icons/* Icons */.F),
|
|
131738
131738
|
ji: () => (/* reexport */ ImageModal),
|
|
131739
|
+
pd: () => (/* reexport */ Input),
|
|
131739
131740
|
f: () => (/* reexport */ InputDialog),
|
|
131740
131741
|
zb: () => (/* reexport */ InputFilter),
|
|
131742
|
+
JU: () => (/* reexport */ Label_Label),
|
|
131741
131743
|
QC: () => (/* reexport */ contextProviders_ManagedDialog),
|
|
131742
131744
|
V: () => (/* reexport */ MeasurementTable_MeasurementTable),
|
|
131743
131745
|
aF: () => (/* reexport */ Modal_Modal),
|
|
@@ -131790,7 +131792,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
131790
131792
|
Wp: () => (/* reexport */ src_utils_namespaceObject)
|
|
131791
131793
|
});
|
|
131792
131794
|
|
|
131793
|
-
// UNUSED EXPORTS: Accordion, AccordionContent, AccordionItem, AccordionTrigger, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, Command, Dialog, DisplaySetMessageListTooltip, DoubleSlider, DropdownMenuCheckboxItem, DropdownMenuGroup, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuShortcut,
|
|
131795
|
+
// UNUSED EXPORTS: Accordion, AccordionContent, AccordionItem, AccordionTrigger, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, Command, Dialog, DisplaySetMessageListTooltip, DoubleSlider, DropdownMenuCheckboxItem, DropdownMenuGroup, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuShortcut, PatientInfo, PopoverAnchor, StudyBrowserSort, StudyBrowserViewOptions, StudyItem, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Thumbnail, ThumbnailList, Toggle, ToolboxUI, ViewportActionArrows, ViewportActionBar, ViewportActionButton, ViewportActionCorners, ViewportActionCornersLocations, ViewportGridContext, ViewportOverlay, buttonVariants, toggleVariants, useDialog, useNotification, useSegmentStatistics
|
|
131794
131796
|
|
|
131795
131797
|
// NAMESPACE OBJECT: ../../ui-next/src/utils/index.ts
|
|
131796
131798
|
var src_utils_namespaceObject = {};
|
|
@@ -417195,7 +417197,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
417195
417197
|
/******/ // This function allow to reference async chunks
|
|
417196
417198
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
417197
417199
|
/******/ // return url for filenames based on template
|
|
417198
|
-
/******/ return "" + ({"572":"polySeg","2007":"interpolation","3054":"histogram-worker","3694":"compute"}[chunkId] || chunkId) + ".bundle." + {"85":"
|
|
417200
|
+
/******/ return "" + ({"572":"polySeg","2007":"interpolation","3054":"histogram-worker","3694":"compute"}[chunkId] || chunkId) + ".bundle." + {"85":"4d9985acd2a74fb1c4e0","213":"48d44efab2fac3cc385d","572":"1697d32dfe63d2dbd239","732":"6978ac30a1e36abf06db","810":"d7dfe1a0fe987f4edcbe","963":"76e4a388ddb042dae863","1459":"3aaedd1006085c96cf98","1807":"68b5e513526e82ce2d76","1919":"a4a3d577ee6c4f6ea38e","1927":"83810560c4d3a90eb7cf","2007":"0289cfbf7ff6cb6c3a8d","2091":"f2e68c8154132a41cb61","2308":"cf42972951ec72c640fc","2424":"2ab39293a3a7b44e4ae0","2585":"859ff1fe866f191e6b30","2701":"0482b36284bc72d9e35b","2825":"9ba506f3266a9dc76667","3054":"154b7171031abc476994","3694":"d32ec7b51d531a2a2242","4113":"46b3cdc6137ef7578e8f","4202":"b49b2d404d130fb6aa57","4209":"4a85411484dd9b7d0f48","4339":"27533bb2a1d2fd6f6bd6","4526":"645693e992b6bf3cf693","4759":"ef32f165d8a0703bea80","4991":"3344c0aeaed91bd1574c","5261":"5454fb98c87e3e21b419","5674":"0b6021e15c4177a010ce","6027":"1c4cc26233fa7cead9bd","6029":"d5aa7fa015a047fd7b5e","6201":"dd8afd756052db9fa682","6341":"713ae26f6cddfe9d3494","6939":"35a07bed912bc04c9d75","7159":"1761513105b61524f649","7197":"dbdac7e96fa7ec1d83a3","7639":"5ffd082cef367f083d55","8094":"5c44190a325ac23e3e5c","8228":"c025abc11fc78d3ff26e","8402":"edb924cd47cd168f621c","8558":"fb4a5887d67af30fe841","8815":"c6e2a507a91a768c3efa","9026":"6b779d381a07421cc854","9093":"89eee5f67d2abe745b6c","9473":"cc8d3d9789b8f6c68b73","9862":"3a0d0f61bb6d2efbdbe8","9890":"f783f6e10206ea572e34","9977":"ee2723fe7cb1fceea71b"}[chunkId] + ".js";
|
|
417199
417201
|
/******/ };
|
|
417200
417202
|
/******/ })();
|
|
417201
417203
|
/******/
|