@ohif/app 3.13.0-beta.2 → 3.13.0-beta.21
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.cd67aea5d65062345894.js → 1459.bundle.2f3d935de1ef66d49c9b.js} +5 -6
- package/dist/{147.bundle.37d627289453cb6c3937.js → 147.bundle.15c3dffbc73dab1085f5.js} +6 -5
- package/dist/{1608.bundle.0687c661f1c9edfb3b8a.js → 1608.bundle.7a4a3b49cae10f6ba2cf.js} +8 -8
- package/dist/{1927.bundle.3050588e95f43cf57cdd.js → 1927.bundle.be67b3aafe238ca9f191.js} +27 -38
- package/dist/{1933.bundle.03d69f1ec49e31942aa9.js → 1933.bundle.1b74cba28c11aaa349c1.js} +15 -16
- package/dist/{2018.bundle.0cc66d90549a02692f83.js → 2018.bundle.330c371c2152bc79a68e.js} +18 -19
- package/dist/{6347.bundle.784c48912700f281de1d.js → 2031.bundle.a17bc2d85cef3a9fea57.js} +13 -314
- package/dist/{2108.bundle.e84aa8d858d8c4f2413e.js → 2108.bundle.f1ef8e8746eb3936bb47.js} +567 -556
- package/dist/{213.bundle.c270b9cbfef1c3a6deeb.js → 213.bundle.83766bfd0ad91206ba20.js} +3 -5
- package/dist/{2424.bundle.9a15ea93fa8dfa6a6c29.js → 2424.bundle.8d41a94526449b9c27f2.js} +3 -5
- package/dist/{2516.bundle.1ea0988d309a757bb6da.js → 2516.bundle.f62228e9a800de8d4b31.js} +6 -6
- package/dist/{2701.bundle.12bd01a80a9f8ea4cd94.js → 2701.bundle.8abdc7f6578c00d4539f.js} +6 -6
- package/dist/{2842.bundle.860b9f10fcdd9656947a.js → 2816.bundle.838fa4d72921c026083c.js} +827 -2240
- package/dist/{3081.bundle.9c9d169bf2b4ac6e987f.js → 3081.bundle.69c2ed88c1fc66671e82.js} +237 -176
- package/dist/{1730.bundle.1a3a3ac5087af5ee5cf5.js → 3138.bundle.536017116b2a48fe8f59.js} +10 -304
- package/dist/{3461.bundle.375dd4b31216c8ef6b0c.js → 3461.bundle.b1c56af281517014477c.js} +19 -23
- package/dist/{4202.bundle.5a0f8e4004c5d8a68548.js → 4202.bundle.dd592e5575b8e302689a.js} +4 -4
- package/dist/{4019.bundle.83a604779f7da0101ced.js → 4287.bundle.571587a1d29d54203175.js} +237 -202
- package/dist/{5462.bundle.21beddaca145b7465c72.js → 4406.bundle.573d234b4641d23cf8db.js} +1083 -1308
- package/dist/{1403.bundle.3368c0f92547bc8b3148.js → 4507.bundle.2943a08dea2a96095e86.js} +10 -305
- package/dist/{4819.bundle.2ab7a41dbade682bcee9.js → 4819.bundle.b817d46688ec00d46826.js} +25 -26
- package/dist/{4775.bundle.cb49c11c62965c2807ef.js → 5015.bundle.ea7e3b295cd3ef134df2.js} +27 -331
- package/dist/{5028.bundle.82318fd632945aba4f27.js → 5028.bundle.b75c0bb0fa9a490055bd.js} +7 -9
- package/dist/{5261.bundle.6e1a017f8f1027557f5b.js → 5261.bundle.2655560097e9250eac44.js} +412 -345
- package/dist/{5457.bundle.e9733e0dc7c3ae46ea42.js → 5457.bundle.ea0a729d0bb45314d5ca.js} +16 -23
- package/dist/{5485.bundle.6603ea8ac3b639703e4d.js → 5485.bundle.8248a4caa4411103e190.js} +14 -29
- package/dist/{5491.bundle.2e01dd7ad29e4cc01bc1.js → 5491.bundle.4866d2ecb20dd089e071.js} +54 -51
- package/dist/{5802.bundle.3bf5e6b3ab330a594a47.js → 5802.bundle.70600f8f701ac920b932.js} +74 -16
- package/dist/5802.css +1 -1
- package/dist/{5830.bundle.b073c265c4fcea1afff3.js → 5830.bundle.791019deddd536980a11.js} +3 -3
- package/dist/{5858.bundle.ff6b340cf7457db76a1a.js → 5858.bundle.466e58128de344ab53f3.js} +90 -86
- package/dist/{6027.bundle.3e52391c5f4432911512.js → 6027.bundle.b9a666f05ac57e742979.js} +3 -5
- package/dist/{997.bundle.822b33e561263084e18c.js → 6280.bundle.6574101421b8a4ab6777.js} +1532 -952
- package/dist/{6354.bundle.c387737dc09c9cab4ff2.js → 6354.bundle.d8a592b03e9a5b7a66c2.js} +102 -96
- package/dist/{6376.bundle.9cb74d7bc08476e2f1a7.js → 6376.bundle.839c708f2fc41e76ee58.js} +6 -6
- package/dist/{6409.bundle.b36048896cb11c8571fb.js → 6409.bundle.24edbaa283b7c521b8f7.js} +73 -73
- package/dist/6939.bundle.41fbdef87597b5172ec6.js +3 -3
- package/dist/{7159.bundle.a5991a5d4f0dd8f1c95f.js → 7159.bundle.fb9df255868960f69765.js} +7 -5
- package/dist/{7190.bundle.e8f0193e0e06472f795c.js → 7190.bundle.6314b558746e394aeb0e.js} +40 -40
- package/dist/{732.bundle.6978ac30a1e36abf06db.js → 732.bundle.ea6f9d8504e37e01a208.js} +5 -13
- package/dist/{7431.bundle.b01791d10e6cf9f503b0.js → 7431.bundle.e6f5f5835a3c49e2309c.js} +28 -28
- package/dist/{7639.bundle.831b85eb99f966cefcb2.js → 7639.bundle.2e179ab85c66a6def98f.js} +3 -5
- package/dist/7758.bundle.c8d106364298e7d288f0.js +3 -3
- package/dist/{8094.bundle.5c44190a325ac23e3e5c.js → 8094.bundle.148a66619607e37cbf19.js} +3 -4
- package/dist/{8305.bundle.437d4dd008a2139dc96a.js → 8305.bundle.e621bc861f8c16092e7c.js} +9 -11
- package/dist/{6163.bundle.77ac55484671ce6159e6.js → 8499.bundle.59df69e1919739d6e444.js} +5 -300
- package/dist/8499.css +2 -0
- package/dist/{85.bundle.503f33be60625a46580d.js → 85.bundle.14430d53b13d7ff9f8a8.js} +3 -5
- package/dist/{8558.bundle.71c7bf070f41c6647704.js → 8558.bundle.288aabeb7473ee9d7312.js} +11 -309
- package/dist/{8583.bundle.4cb5dea918f010b8e56b.js → 8583.bundle.d0773ead34455cfa28d7.js} +16 -19
- package/dist/{4410.bundle.c5224cd7d6238a7d4660.js → 8665.bundle.056dcd3e86743de2526c.js} +3456 -1444
- package/dist/{9195.bundle.5c13bd1aef828d802142.js → 9195.bundle.902ab556e8909fa878a1.js} +95 -113
- package/dist/{7412.bundle.fab1742191b7fe937330.js → 9205.bundle.dca4f040999d069f1cc5.js} +3378 -1074
- package/dist/{3584.bundle.8cc0750425513433e9cc.js → 933.bundle.c8f45e1f380ad5a34e07.js} +264 -2219
- package/dist/{9845.bundle.255e7c7f7a88193b4e47.js → 9845.bundle.d52e8993eb5cde995219.js} +6 -6
- package/dist/{9862.bundle.3a8958a82c572015d25d.js → 9862.bundle.4704bce0c5b039dfdec3.js} +6 -4
- package/dist/{9927.bundle.9fdb8b442eb22aa97e73.js → 9927.bundle.006c8d2dda07109c4749.js} +3 -5
- package/dist/{app.bundle.7777a62215a4f90957f2.js → app.bundle.38dca800f336facdb28b.js} +65533 -64635
- package/dist/app.bundle.css +3 -3
- package/dist/{compute.bundle.64280c7af19ff567465f.js → compute.bundle.6bc9d64acadd16a85f59.js} +10 -22
- package/dist/{histogram-worker.bundle.d4e40a8018d2698b072e.js → histogram-worker.bundle.5b679ce4142c803c80a4.js} +11 -23
- package/dist/index.html +1 -1
- package/dist/{interpolation.bundle.c70cb95d164dc494e6dc.js → interpolation.bundle.072a28b303f2dbafe05c.js} +14 -26
- package/dist/{polySeg.bundle.a5aa9130b4191253c410.js → polySeg.bundle.41c40b57dd1b265fb425.js} +8 -20
- package/dist/sw.js +1 -1
- package/package.json +22 -21
- package/dist/3343.bundle.d7578ce8f75d158c0bab.js +0 -297
- /package/dist/{1730.css → 3138.css} +0 -0
- /package/dist/{3343.css → 4972.css} +0 -0
- /package/dist/{6163.css → 7829.css} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
(globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[9195],{
|
|
3
3
|
|
|
4
|
-
/***/ 52675
|
|
5
|
-
|
|
4
|
+
/***/ 52675
|
|
5
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
6
|
|
|
7
7
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8
8
|
/* harmony export */ A: () => (/* binding */ MoreDropdownMenu)
|
|
@@ -110,10 +110,10 @@ function MoreDropdownMenu(bindProps) {
|
|
|
110
110
|
return BoundMoreDropdownMenu;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
/***/ }
|
|
113
|
+
/***/ },
|
|
114
114
|
|
|
115
|
-
/***/ 40565
|
|
116
|
-
|
|
115
|
+
/***/ 40565
|
|
116
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
// EXPORTS
|
|
@@ -262,10 +262,6 @@ function PanelStudyBrowser({
|
|
|
262
262
|
const qidoForStudyUID = await dataSource.query.studies.search({
|
|
263
263
|
studyInstanceUid: StudyInstanceUID
|
|
264
264
|
});
|
|
265
|
-
if (!qidoForStudyUID?.length) {
|
|
266
|
-
navigate('/notfoundstudy', '_self');
|
|
267
|
-
throw new Error('Invalid study URL');
|
|
268
|
-
}
|
|
269
265
|
let qidoStudiesForPatient = qidoForStudyUID;
|
|
270
266
|
|
|
271
267
|
// try to fetch the prior studies based on the patientID if the
|
|
@@ -495,7 +491,7 @@ function PanelStudyBrowser({
|
|
|
495
491
|
updateActionIconValue: updateActionIconValue
|
|
496
492
|
}), /*#__PURE__*/react.createElement(src/* Separator */.wvv, {
|
|
497
493
|
orientation: "horizontal",
|
|
498
|
-
className: "bg-
|
|
494
|
+
className: "bg-background",
|
|
499
495
|
thickness: "2px"
|
|
500
496
|
})), /*#__PURE__*/react.createElement(src/* StudyBrowser */.M4o, {
|
|
501
497
|
tabs: tabs,
|
|
@@ -613,10 +609,10 @@ function _findTabAndStudyOfDisplaySet(displaySetInstanceUID, tabs, currentTabNam
|
|
|
613
609
|
}
|
|
614
610
|
}
|
|
615
611
|
|
|
616
|
-
/***/ }
|
|
612
|
+
/***/ },
|
|
617
613
|
|
|
618
|
-
/***/ 3329
|
|
619
|
-
|
|
614
|
+
/***/ 3329
|
|
615
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
620
616
|
|
|
621
617
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
622
618
|
/* harmony export */ T: () => (/* binding */ PanelStudyBrowserHeader)
|
|
@@ -660,15 +656,15 @@ function PanelStudyBrowserHeader({
|
|
|
660
656
|
key: index,
|
|
661
657
|
"aria-label": viewPreset.id,
|
|
662
658
|
value: viewPreset.id,
|
|
663
|
-
className: "text-
|
|
659
|
+
className: "text-primary"
|
|
664
660
|
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_ohif_ui_next__WEBPACK_IMPORTED_MODULE_1__/* .Icons */ .FI1[viewPreset.iconName] || _ohif_ui_next__WEBPACK_IMPORTED_MODULE_1__/* .Icons */ .FI1.MissingIcon)))))))));
|
|
665
661
|
}
|
|
666
662
|
|
|
667
663
|
|
|
668
|
-
/***/ }
|
|
664
|
+
/***/ },
|
|
669
665
|
|
|
670
|
-
/***/ 20528
|
|
671
|
-
|
|
666
|
+
/***/ 20528
|
|
667
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
672
668
|
|
|
673
669
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
674
670
|
/* harmony export */ M: () => (/* binding */ Toolbar)
|
|
@@ -747,66 +743,41 @@ function Toolbar({
|
|
|
747
743
|
}));
|
|
748
744
|
}
|
|
749
745
|
|
|
750
|
-
/***/ }
|
|
746
|
+
/***/ },
|
|
751
747
|
|
|
752
|
-
/***/ 39195
|
|
753
|
-
|
|
748
|
+
/***/ 39195
|
|
749
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
754
750
|
|
|
755
|
-
// ESM COMPAT FLAG
|
|
756
|
-
__webpack_require__.r(__webpack_exports__);
|
|
757
751
|
|
|
758
752
|
// EXPORTS
|
|
759
753
|
__webpack_require__.d(__webpack_exports__, {
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
cleanDenaturalizedDataset: () => (/* reexport */ cleanDenaturalizedDataset),
|
|
770
|
-
colorPickerDialog: () => (/* reexport */ colorPickerDialog),
|
|
771
|
-
createReportAsync: () => (/* reexport */ Actions_createReportAsync),
|
|
772
|
-
createReportDialogPrompt: () => (/* reexport */ CreateReportDialogPrompt),
|
|
754
|
+
tm: () => (/* reexport */ StaticWadoClient),
|
|
755
|
+
M7: () => (/* reexport */ Toolbar/* Toolbar */.M),
|
|
756
|
+
OO: () => (/* reexport */ Toolbox),
|
|
757
|
+
l5: () => (/* reexport */ callInputDialog),
|
|
758
|
+
fq: () => (/* reexport */ callInputDialogAutoComplete),
|
|
759
|
+
wZ: () => (/* reexport */ cleanDenaturalizedDataset),
|
|
760
|
+
wS: () => (/* reexport */ colorPickerDialog),
|
|
761
|
+
Vy: () => (/* reexport */ Actions_createReportAsync),
|
|
762
|
+
tc: () => (/* reexport */ CreateReportDialogPrompt),
|
|
773
763
|
"default": () => (/* binding */ default_src),
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
useHangingProtocolStageIndexStore: () => (/* reexport */ useHangingProtocolStageIndexStore),
|
|
781
|
-
usePatientInfo: () => (/* reexport */ hooks_usePatientInfo),
|
|
782
|
-
useToggleHangingProtocolStore: () => (/* reexport */ useToggleHangingProtocolStore),
|
|
783
|
-
useToggleOneUpViewportGridStore: () => (/* reexport */ useToggleOneUpViewportGridStore),
|
|
784
|
-
useUIStateStore: () => (/* reexport */ useUIStateStore),
|
|
785
|
-
useViewportGridStore: () => (/* reexport */ useViewportGridStore),
|
|
786
|
-
useViewportsByPositionStore: () => (/* reexport */ useViewportsByPositionStore),
|
|
787
|
-
utils: () => (/* reexport */ src_utils_namespaceObject)
|
|
764
|
+
CA: () => (/* reexport */ utils_namespaceObject),
|
|
765
|
+
uR: () => (/* reexport */ utils_promptLabelAnnotation),
|
|
766
|
+
MP: () => (/* reexport */ utils_promptSaveReport),
|
|
767
|
+
Z: () => (/* reexport */ Panels_requestDisplaySetCreationForStudy),
|
|
768
|
+
Yd: () => (/* reexport */ useToggleOneUpViewportGridStore),
|
|
769
|
+
FS: () => (/* reexport */ useUIStateStore)
|
|
788
770
|
});
|
|
789
771
|
|
|
790
|
-
//
|
|
791
|
-
var types_namespaceObject = {};
|
|
792
|
-
__webpack_require__.r(types_namespaceObject);
|
|
772
|
+
// UNUSED EXPORTS: ContextMenuController, CustomizableContextMenuTypes, MoreDropdownMenu, PanelStudyBrowserHeader, getStudiesForPatientByMRN, useDisplaySetSelectorStore, useHangingProtocolStageIndexStore, usePatientInfo, useToggleHangingProtocolStore, useViewportGridStore, useViewportsByPositionStore, utils
|
|
793
773
|
|
|
794
774
|
// NAMESPACE OBJECT: ../../../extensions/default/src/DicomWebDataSource/utils/index.ts
|
|
795
775
|
var utils_namespaceObject = {};
|
|
796
776
|
__webpack_require__.r(utils_namespaceObject);
|
|
797
777
|
__webpack_require__.d(utils_namespaceObject, {
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
transferDenaturalizedDataset: () => (transferDenaturalizedDataset)
|
|
802
|
-
});
|
|
803
|
-
|
|
804
|
-
// NAMESPACE OBJECT: ../../../extensions/default/src/utils/index.ts
|
|
805
|
-
var src_utils_namespaceObject = {};
|
|
806
|
-
__webpack_require__.r(src_utils_namespaceObject);
|
|
807
|
-
__webpack_require__.d(src_utils_namespaceObject, {
|
|
808
|
-
Toolbox: () => (Toolbox),
|
|
809
|
-
addIcon: () => (addIcon)
|
|
778
|
+
wZ: () => (cleanDenaturalizedDataset),
|
|
779
|
+
Uk: () => (fixMultiValueKeys),
|
|
780
|
+
If: () => (transferDenaturalizedDataset)
|
|
810
781
|
});
|
|
811
782
|
|
|
812
783
|
// EXTERNAL MODULE: ../../../node_modules/dicomweb-client/build/dicomweb-client.es.js
|
|
@@ -3815,7 +3786,7 @@ function HeaderPatientInfo({
|
|
|
3815
3786
|
const formattedPatientName = formatWithEllipsis(patientInfo.PatientName, 27);
|
|
3816
3787
|
const formattedPatientID = formatWithEllipsis(patientInfo.PatientID, 15);
|
|
3817
3788
|
return /*#__PURE__*/react.createElement("div", {
|
|
3818
|
-
className: "hover:bg-
|
|
3789
|
+
className: "hover:bg-muted flex cursor-pointer items-center justify-center gap-1 rounded-lg",
|
|
3819
3790
|
onClick: handleOnClick
|
|
3820
3791
|
}, isMixedPatients ? /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.MultiplePatients, {
|
|
3821
3792
|
className: "text-primary"
|
|
@@ -3824,9 +3795,9 @@ function HeaderPatientInfo({
|
|
|
3824
3795
|
}), /*#__PURE__*/react.createElement("div", {
|
|
3825
3796
|
className: "flex flex-col justify-center"
|
|
3826
3797
|
}, expanded ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
3827
|
-
className: "self-start text-[13px] font-bold
|
|
3798
|
+
className: "text-foreground self-start text-[13px] font-bold"
|
|
3828
3799
|
}, formattedPatientName), /*#__PURE__*/react.createElement("div", {
|
|
3829
|
-
className: "text-
|
|
3800
|
+
className: "text-muted-foreground flex gap-2 text-[11px]"
|
|
3830
3801
|
}, /*#__PURE__*/react.createElement("div", null, formattedPatientID), /*#__PURE__*/react.createElement("div", null, patientInfo.PatientSex), /*#__PURE__*/react.createElement("div", null, patientInfo.PatientDOB))) : /*#__PURE__*/react.createElement("div", {
|
|
3831
3802
|
className: "text-primary self-center text-[13px]"
|
|
3832
3803
|
}, isMixedPatients ? 'Multiple Patients' : 'Patient')), /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ArrowLeft, {
|
|
@@ -3929,7 +3900,7 @@ function ViewerHeader({
|
|
|
3929
3900
|
className: "text-primary flex cursor-pointer items-center"
|
|
3930
3901
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
3931
3902
|
variant: "ghost",
|
|
3932
|
-
className: "hover:bg-
|
|
3903
|
+
className: "hover:bg-muted",
|
|
3933
3904
|
onClick: () => {
|
|
3934
3905
|
commandsManager.run('undo');
|
|
3935
3906
|
}
|
|
@@ -3937,7 +3908,7 @@ function ViewerHeader({
|
|
|
3937
3908
|
className: ""
|
|
3938
3909
|
})), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
3939
3910
|
variant: "ghost",
|
|
3940
|
-
className: "hover:bg-
|
|
3911
|
+
className: "hover:bg-muted",
|
|
3941
3912
|
onClick: () => {
|
|
3942
3913
|
commandsManager.run('redo');
|
|
3943
3914
|
}
|
|
@@ -4359,7 +4330,7 @@ function ViewerLayout_extends() { return ViewerLayout_extends = Object.assign ?
|
|
|
4359
4330
|
|
|
4360
4331
|
|
|
4361
4332
|
|
|
4362
|
-
const resizableHandleClassName = 'mt-[1px] bg-
|
|
4333
|
+
const resizableHandleClassName = 'mt-[1px] bg-background';
|
|
4363
4334
|
function ViewerLayout({
|
|
4364
4335
|
// From Extension Module Params
|
|
4365
4336
|
extensionManager,
|
|
@@ -4402,10 +4373,10 @@ function ViewerLayout({
|
|
|
4402
4373
|
* is sized to our viewport.
|
|
4403
4374
|
*/
|
|
4404
4375
|
(0,react.useEffect)(() => {
|
|
4405
|
-
document.body.classList.add('bg-
|
|
4376
|
+
document.body.classList.add('bg-background');
|
|
4406
4377
|
document.body.classList.add('overflow-hidden');
|
|
4407
4378
|
return () => {
|
|
4408
|
-
document.body.classList.remove('bg-
|
|
4379
|
+
document.body.classList.remove('bg-background');
|
|
4409
4380
|
document.body.classList.remove('overflow-hidden');
|
|
4410
4381
|
};
|
|
4411
4382
|
}, []);
|
|
@@ -4468,12 +4439,12 @@ function ViewerLayout({
|
|
|
4468
4439
|
servicesManager: servicesManager,
|
|
4469
4440
|
appConfig: appConfig
|
|
4470
4441
|
}), /*#__PURE__*/react.createElement("div", {
|
|
4471
|
-
className: "relative flex w-full flex-row flex-nowrap items-stretch overflow-hidden bg-
|
|
4442
|
+
className: "relative flex w-full flex-row flex-nowrap items-stretch overflow-hidden bg-background",
|
|
4472
4443
|
style: {
|
|
4473
4444
|
height: 'calc(100vh - 52px'
|
|
4474
4445
|
}
|
|
4475
4446
|
}, /*#__PURE__*/react.createElement(react.Fragment, null, showLoadingIndicator && /*#__PURE__*/react.createElement(LoadingIndicatorProgress, {
|
|
4476
|
-
className: "h-full w-full bg-
|
|
4447
|
+
className: "h-full w-full bg-background"
|
|
4477
4448
|
}), /*#__PURE__*/react.createElement(ui_next_src/* ResizablePanelGroup */.HKS, resizablePanelGroupProps, hasLeftPanels ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ui_next_src/* ResizablePanel */.wVo, resizableLeftPanelProps, /*#__PURE__*/react.createElement(Components_SidePanelWithServices, ViewerLayout_extends({
|
|
4478
4449
|
side: "left",
|
|
4479
4450
|
isExpanded: !leftPanelClosedState,
|
|
@@ -4485,7 +4456,7 @@ function ViewerLayout({
|
|
|
4485
4456
|
})) : null, /*#__PURE__*/react.createElement(ui_next_src/* ResizablePanel */.wVo, resizableViewportGridPanelProps, /*#__PURE__*/react.createElement("div", {
|
|
4486
4457
|
className: "flex h-full flex-1 flex-col"
|
|
4487
4458
|
}, /*#__PURE__*/react.createElement("div", {
|
|
4488
|
-
className: "relative flex h-full flex-1 items-center justify-center overflow-hidden bg-
|
|
4459
|
+
className: "relative flex h-full flex-1 items-center justify-center overflow-hidden bg-background",
|
|
4489
4460
|
onMouseEnter: handleMouseEnter
|
|
4490
4461
|
}, /*#__PURE__*/react.createElement(ViewportGridComp, {
|
|
4491
4462
|
servicesManager: servicesManager,
|
|
@@ -5559,7 +5530,7 @@ function ToolbarLayoutSelectorWithServices({
|
|
|
5559
5530
|
disabled: preset.disabled,
|
|
5560
5531
|
isPreset: true
|
|
5561
5532
|
})))), /*#__PURE__*/react.createElement("div", {
|
|
5562
|
-
className: "bg-muted flex flex-col gap-2.5 border-l-2 border-solid border-
|
|
5533
|
+
className: "bg-muted flex flex-col gap-2.5 border-l-2 border-solid border-background p-2"
|
|
5563
5534
|
}, /*#__PURE__*/react.createElement("div", {
|
|
5564
5535
|
className: "text-muted-foreground text-xs"
|
|
5565
5536
|
}, t('Custom')), /*#__PURE__*/react.createElement(ui_next_src/* LayoutSelector */.sG4.GridSelector, {
|
|
@@ -5847,6 +5818,7 @@ function ToolButtonWrapper(props) {
|
|
|
5847
5818
|
}
|
|
5848
5819
|
|
|
5849
5820
|
;// ../../../extensions/default/src/Toolbar/ToolbarDivider.tsx
|
|
5821
|
+
/* unused harmony import specifier */ var React;
|
|
5850
5822
|
|
|
5851
5823
|
function ToolbarDivider() {
|
|
5852
5824
|
return /*#__PURE__*/React.createElement("span", {
|
|
@@ -6319,7 +6291,7 @@ const RowComponent = ({
|
|
|
6319
6291
|
...style,
|
|
6320
6292
|
...rowStyle
|
|
6321
6293
|
},
|
|
6322
|
-
className: classnames_default()('hover:bg-
|
|
6294
|
+
className: classnames_default()('hover:bg-primary/25 border-input text-foreground flex w-full flex-row items-center break-all bg-background text-base', lineHeightClassName),
|
|
6323
6295
|
key: keyPrefix
|
|
6324
6296
|
}, isChildOrParent && /*#__PURE__*/react.createElement("div", {
|
|
6325
6297
|
style: {
|
|
@@ -6349,34 +6321,34 @@ function ColumnHeaders({
|
|
|
6349
6321
|
valueRef
|
|
6350
6322
|
}) {
|
|
6351
6323
|
return /*#__PURE__*/react.createElement("div", {
|
|
6352
|
-
className: classnames_default()('bg-
|
|
6324
|
+
className: classnames_default()('bg-popover ohif-scrollbar flex w-full flex-row overflow-y-scroll'),
|
|
6353
6325
|
style: rowVerticalPaddingStyle
|
|
6354
6326
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6355
6327
|
className: "w-4/24 px-3"
|
|
6356
6328
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6357
6329
|
ref: tagRef,
|
|
6358
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6330
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6359
6331
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6360
6332
|
className: "flex flex-row items-center focus:outline-none"
|
|
6361
6333
|
}, "Tag"))), /*#__PURE__*/react.createElement("div", {
|
|
6362
6334
|
className: "w-2/24 px-3"
|
|
6363
6335
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6364
6336
|
ref: vrRef,
|
|
6365
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6337
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6366
6338
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6367
6339
|
className: "flex flex-row items-center focus:outline-none"
|
|
6368
6340
|
}, "VR"))), /*#__PURE__*/react.createElement("div", {
|
|
6369
6341
|
className: "w-6/24 px-3"
|
|
6370
6342
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6371
6343
|
ref: keywordRef,
|
|
6372
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6344
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6373
6345
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6374
6346
|
className: "flex flex-row items-center focus:outline-none"
|
|
6375
6347
|
}, "Keyword"))), /*#__PURE__*/react.createElement("div", {
|
|
6376
6348
|
className: "w-5/24 grow px-3"
|
|
6377
6349
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6378
6350
|
ref: valueRef,
|
|
6379
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6351
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6380
6352
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6381
6353
|
className: "flex flex-row items-center focus:outline-none"
|
|
6382
6354
|
}, "Value"))));
|
|
@@ -6524,7 +6496,7 @@ function DicomTagTable({
|
|
|
6524
6496
|
keywordRef: keywordRef,
|
|
6525
6497
|
valueRef: valueRef
|
|
6526
6498
|
}), /*#__PURE__*/react.createElement("div", {
|
|
6527
|
-
className: "relative m-auto border-2 border-
|
|
6499
|
+
className: "relative m-auto border-2 border-background bg-background",
|
|
6528
6500
|
style: {
|
|
6529
6501
|
height: '32rem'
|
|
6530
6502
|
}
|
|
@@ -6639,7 +6611,7 @@ const DicomTagBrowser = ({
|
|
|
6639
6611
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6640
6612
|
className: "mb-6 flex flex-row items-start pl-1"
|
|
6641
6613
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6642
|
-
className: "flex w-full flex-row items-start gap-
|
|
6614
|
+
className: "flex w-full flex-row items-start gap-6"
|
|
6643
6615
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6644
6616
|
className: "flex w-1/3 flex-col"
|
|
6645
6617
|
}, /*#__PURE__*/react.createElement("span", {
|
|
@@ -6649,7 +6621,11 @@ const DicomTagBrowser = ({
|
|
|
6649
6621
|
onValueChange: value => onSelectChange({
|
|
6650
6622
|
value
|
|
6651
6623
|
})
|
|
6652
|
-
}, /*#__PURE__*/react.createElement(ui_next_src/* SelectTrigger */.bqE,
|
|
6624
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* SelectTrigger */.bqE, {
|
|
6625
|
+
"data-cy": "dicom-tag-series-select-trigger"
|
|
6626
|
+
}, /*#__PURE__*/react.createElement(ui_next_src/* SelectValue */.yvm, {
|
|
6627
|
+
"data-cy": "dicom-tag-series-select-value"
|
|
6628
|
+
}, displaySetList.find(ds => ds.value === selectedDisplaySetInstanceUID)?.label || 'Select Series')), /*#__PURE__*/react.createElement(ui_next_src/* SelectContent */.gCo, null, displaySetList.map(item => {
|
|
6653
6629
|
return /*#__PURE__*/react.createElement(ui_next_src/* SelectItem */.ebT, {
|
|
6654
6630
|
key: item.value,
|
|
6655
6631
|
value: item.value
|
|
@@ -6668,7 +6644,7 @@ const DicomTagBrowser = ({
|
|
|
6668
6644
|
min: 1,
|
|
6669
6645
|
max: activeDisplaySet?.images?.length,
|
|
6670
6646
|
step: 1,
|
|
6671
|
-
className: "pt-
|
|
6647
|
+
className: "pt-3"
|
|
6672
6648
|
})), /*#__PURE__*/react.createElement("div", {
|
|
6673
6649
|
className: "ml-auto mr-1 flex w-1/3 flex-col"
|
|
6674
6650
|
}, /*#__PURE__*/react.createElement("span", {
|
|
@@ -7815,6 +7791,19 @@ const commandsModule = ({
|
|
|
7815
7791
|
return;
|
|
7816
7792
|
}
|
|
7817
7793
|
|
|
7794
|
+
// Check if it's a segmentation and handle accordingly.
|
|
7795
|
+
// Note that for the sake of hydrated segmentations, we remove the
|
|
7796
|
+
// segmentation before checking if the display set is indeed in the viewport.
|
|
7797
|
+
// This is because hydrated segmentations are not in the viewport per se
|
|
7798
|
+
// {i.e. they are not layered) but are simply referenced by the display
|
|
7799
|
+
// set in the viewport.
|
|
7800
|
+
const isSegmentation = DERIVED_OVERLAY_MODALITIES.includes(displaySet.Modality);
|
|
7801
|
+
if (isSegmentation) {
|
|
7802
|
+
segmentationService.removeRepresentationsFromViewport(viewportId, {
|
|
7803
|
+
segmentationId: displaySetInstanceUID
|
|
7804
|
+
});
|
|
7805
|
+
}
|
|
7806
|
+
|
|
7818
7807
|
// Get current display sets for the viewport
|
|
7819
7808
|
const currentDisplaySetUIDs = viewportGridService.getDisplaySetsUIDsForViewport(viewportId);
|
|
7820
7809
|
|
|
@@ -7822,14 +7811,6 @@ const commandsModule = ({
|
|
|
7822
7811
|
if (!currentDisplaySetUIDs.includes(displaySetInstanceUID)) {
|
|
7823
7812
|
return;
|
|
7824
7813
|
}
|
|
7825
|
-
|
|
7826
|
-
// Check if it's a segmentation and handle accordingly
|
|
7827
|
-
const isSegmentation = DERIVED_OVERLAY_MODALITIES.includes(displaySet.Modality);
|
|
7828
|
-
if (isSegmentation) {
|
|
7829
|
-
segmentationService.removeSegmentationRepresentations(viewportId, {
|
|
7830
|
-
segmentationId: displaySetInstanceUID
|
|
7831
|
-
});
|
|
7832
|
-
}
|
|
7833
7814
|
const updatedViewports = hangingProtocolService.getViewportsRequireUpdate(viewportId, displaySetInstanceUID);
|
|
7834
7815
|
|
|
7835
7816
|
// Configure each viewport for layer removal
|
|
@@ -9609,7 +9590,7 @@ function DataSourceSelector() {
|
|
|
9609
9590
|
}, /*#__PURE__*/react.createElement("div", {
|
|
9610
9591
|
className: "flex h-screen w-screen items-center justify-center"
|
|
9611
9592
|
}, /*#__PURE__*/react.createElement("div", {
|
|
9612
|
-
className: "bg-
|
|
9593
|
+
className: "bg-popover mx-auto space-y-2 rounded-lg py-8 px-8 drop-shadow-md"
|
|
9613
9594
|
}, /*#__PURE__*/react.createElement("img", {
|
|
9614
9595
|
className: "mx-auto block h-14",
|
|
9615
9596
|
src: "./ohif-logo.svg",
|
|
@@ -9619,7 +9600,7 @@ function DataSourceSelector() {
|
|
|
9619
9600
|
}, dsConfigs.filter(it => it.sourceName !== 'dicomjson' && it.sourceName !== 'dicomlocal').map(ds => /*#__PURE__*/react.createElement("div", {
|
|
9620
9601
|
key: ds.sourceName
|
|
9621
9602
|
}, /*#__PURE__*/react.createElement("h1", {
|
|
9622
|
-
className: "text-
|
|
9603
|
+
className: "text-foreground"
|
|
9623
9604
|
}, ds.configuration?.friendlyName || ds.friendlyName), /*#__PURE__*/react.createElement(ui_src/* Button */.$n, {
|
|
9624
9605
|
type: ui_src/* ButtonEnums.type */.Ny.NW.primary,
|
|
9625
9606
|
className: classnames_default()('ml-2'),
|
|
@@ -9927,7 +9908,7 @@ function ItemListComponent({
|
|
|
9927
9908
|
}), /*#__PURE__*/react.createElement(ui_next_src/* InputFilter */.zbB.ClearButton, {
|
|
9928
9909
|
className: "text-primary mr-0.5 p-0.5"
|
|
9929
9910
|
}))), /*#__PURE__*/react.createElement("div", {
|
|
9930
|
-
className: "relative flex min-h-[1px] grow flex-col bg-
|
|
9911
|
+
className: "relative flex min-h-[1px] grow flex-col bg-background text-[14px]"
|
|
9931
9912
|
}, itemList == null ? /*#__PURE__*/react.createElement(LoadingIndicatorProgress, {
|
|
9932
9913
|
className: 'h-full w-full'
|
|
9933
9914
|
}) : itemList.length === 0 ? /*#__PURE__*/react.createElement("div", {
|
|
@@ -10019,16 +10000,16 @@ function DataSourceConfigurationModalComponent({
|
|
|
10019
10000
|
};
|
|
10020
10001
|
}, [selectedItems, configurationAPI, onHide, itemLabels, showFullConfig, currentSelectedItemIndex]);
|
|
10021
10002
|
const getSelectedItemCursorClasses = itemIndex => itemIndex !== itemLabels.length - 1 && itemIndex < selectedItems.length ? 'cursor-pointer' : 'cursor-auto';
|
|
10022
|
-
const getSelectedItemBackgroundClasses = itemIndex => itemIndex < selectedItems.length ? classnames_default()('bg-
|
|
10023
|
-
const getSelectedItemBorderClasses = itemIndex => itemIndex === currentSelectedItemIndex + 1 ? classnames_default()('border-2', 'border-solid', 'border-
|
|
10024
|
-
const getSelectedItemTextClasses = itemIndex => itemIndex <= selectedItems.length ? 'text-
|
|
10003
|
+
const getSelectedItemBackgroundClasses = itemIndex => itemIndex < selectedItems.length ? classnames_default()('bg-background/[.4]', itemIndex !== itemLabels.length - 1 ? 'hover:bg-transparent active:bg-popover' : '') : 'bg-transparent';
|
|
10004
|
+
const getSelectedItemBorderClasses = itemIndex => itemIndex === currentSelectedItemIndex + 1 ? classnames_default()('border-2', 'border-solid', 'border-highlight') : itemIndex < selectedItems.length ? 'border border-solid border-primary hover:border-highlight active:border-white' : 'border border-dashed border-input';
|
|
10005
|
+
const getSelectedItemTextClasses = itemIndex => itemIndex <= selectedItems.length ? 'text-highlight' : 'text-primary';
|
|
10025
10006
|
const getErrorComponent = () => {
|
|
10026
10007
|
return /*#__PURE__*/react.createElement("div", {
|
|
10027
10008
|
className: "flex min-h-[1px] grow flex-col gap-4"
|
|
10028
10009
|
}, /*#__PURE__*/react.createElement("div", {
|
|
10029
|
-
className: "text-
|
|
10010
|
+
className: "text-highlight text-[20px]"
|
|
10030
10011
|
}, t(`Error fetching ${itemLabels[selectedItems.length]} list`)), /*#__PURE__*/react.createElement("div", {
|
|
10031
|
-
className: "grow bg-
|
|
10012
|
+
className: "grow bg-background p-4 text-[14px]"
|
|
10032
10013
|
}, errorMessage));
|
|
10033
10014
|
};
|
|
10034
10015
|
const getSelectedItemsComponent = () => {
|
|
@@ -10051,14 +10032,14 @@ function DataSourceConfigurationModalComponent({
|
|
|
10051
10032
|
}), /*#__PURE__*/react.createElement("div", {
|
|
10052
10033
|
className: classnames_default()(NO_WRAP_ELLIPSIS_CLASS_NAMES)
|
|
10053
10034
|
}, t(itemLabel))), itemLabelIndex < selectedItems.length ? /*#__PURE__*/react.createElement("div", {
|
|
10054
|
-
className: classnames_default()('text-[14px]
|
|
10035
|
+
className: classnames_default()('text-foreground text-[14px]', NO_WRAP_ELLIPSIS_CLASS_NAMES)
|
|
10055
10036
|
}, selectedItems[itemLabelIndex].name) : /*#__PURE__*/react.createElement("br", null));
|
|
10056
10037
|
}));
|
|
10057
10038
|
};
|
|
10058
10039
|
return /*#__PURE__*/react.createElement("div", {
|
|
10059
10040
|
className: "flex h-[calc(100vh-300px)] select-none flex-col gap-4 pt-0.5"
|
|
10060
10041
|
}, getSelectedItemsComponent(), /*#__PURE__*/react.createElement("div", {
|
|
10061
|
-
className: "h-0.5 w-full shrink-0 bg-
|
|
10042
|
+
className: "h-0.5 w-full shrink-0 bg-background"
|
|
10062
10043
|
}), errorMessage ? getErrorComponent() : /*#__PURE__*/react.createElement(Components_ItemListComponent, {
|
|
10063
10044
|
itemLabel: itemLabels[currentSelectedItemIndex + 1],
|
|
10064
10045
|
itemList: itemList,
|
|
@@ -10141,7 +10122,7 @@ function DataSourceConfigurationComponent({
|
|
|
10141
10122
|
}
|
|
10142
10123
|
}, [configurationAPI, configuredItems, showConfigurationModal]);
|
|
10143
10124
|
return configuredItems ? /*#__PURE__*/react.createElement("div", {
|
|
10144
|
-
className: "text-
|
|
10125
|
+
className: "text-muted-foreground flex items-center overflow-hidden"
|
|
10145
10126
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Settings, {
|
|
10146
10127
|
className: "mr-2.5 h-3.5 w-3.5 shrink-0 cursor-pointer",
|
|
10147
10128
|
onClick: showConfigurationModal
|
|
@@ -10422,8 +10403,8 @@ function AboutModalDefault() {
|
|
|
10422
10403
|
name
|
|
10423
10404
|
} = (0,browser_detect_es5/* default */.A)();
|
|
10424
10405
|
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
|
|
10425
|
-
const versionNumber = "3.13.0-beta.
|
|
10426
|
-
const commitHash = "
|
|
10406
|
+
const versionNumber = "3.13.0-beta.21";
|
|
10407
|
+
const commitHash = "b5573caaa65d0d7ff3e83df0ec70b4aa7ea898ca";
|
|
10427
10408
|
const [main, beta] = versionNumber.split('-');
|
|
10428
10409
|
return /*#__PURE__*/react.createElement(ui_next_src/* AboutModal */.VTU, {
|
|
10429
10410
|
className: "w-[400px]"
|
|
@@ -11615,11 +11596,12 @@ function promptLabelAnnotation({
|
|
|
11615
11596
|
// EXTERNAL MODULE: ../../../extensions/default/src/Panels/StudyBrowser/PanelStudyBrowserHeader.tsx
|
|
11616
11597
|
var PanelStudyBrowserHeader = __webpack_require__(3329);
|
|
11617
11598
|
;// ../../../extensions/default/src/utils/addIcon.ts
|
|
11599
|
+
/* unused harmony import specifier */ var Icons;
|
|
11618
11600
|
|
|
11619
11601
|
|
|
11620
11602
|
/** Adds the icon to both ui and ui-next */
|
|
11621
11603
|
function addIcon(name, icon) {
|
|
11622
|
-
|
|
11604
|
+
Icons.addIcon(name, icon);
|
|
11623
11605
|
}
|
|
11624
11606
|
;// ../../../extensions/default/src/utils/Toolbox.tsx
|
|
11625
11607
|
function Toolbox_extends() { return Toolbox_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; }, Toolbox_extends.apply(null, arguments); }
|
|
@@ -11727,7 +11709,7 @@ function Toolbox({
|
|
|
11727
11709
|
})));
|
|
11728
11710
|
}));
|
|
11729
11711
|
}), activeToolOptions && /*#__PURE__*/react.createElement("div", {
|
|
11730
|
-
className: "bg-
|
|
11712
|
+
className: "bg-muted mt-1 h-auto px-2"
|
|
11731
11713
|
}, /*#__PURE__*/react.createElement(ui_next_src/* ToolSettings */.k_3, {
|
|
11732
11714
|
options: activeToolOptions
|
|
11733
11715
|
}))));
|
|
@@ -11811,10 +11793,10 @@ const defaultExtension = {
|
|
|
11811
11793
|
/* harmony default export */ const default_src = (defaultExtension);
|
|
11812
11794
|
|
|
11813
11795
|
|
|
11814
|
-
/***/ }
|
|
11796
|
+
/***/ },
|
|
11815
11797
|
|
|
11816
|
-
/***/ 96357
|
|
11817
|
-
|
|
11798
|
+
/***/ 96357
|
|
11799
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
11818
11800
|
|
|
11819
11801
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
11820
11802
|
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
@@ -11829,6 +11811,6 @@ const RESPONSE = {
|
|
|
11829
11811
|
};
|
|
11830
11812
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RESPONSE);
|
|
11831
11813
|
|
|
11832
|
-
/***/ }
|
|
11814
|
+
/***/ }
|
|
11833
11815
|
|
|
11834
11816
|
}]);
|