@ohif/app 3.13.0-beta.10 → 3.13.0-beta.12
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/{147.bundle.37d627289453cb6c3937.js → 147.bundle.dca316a851f246b3add7.js} +2 -2
- package/dist/{1730.bundle.5517f6425625cdbe4295.js → 1730.bundle.12a17675b5aefbb2a870.js} +2 -2
- package/dist/{1933.bundle.b3c13990c2990085213b.js → 1933.bundle.13b80f38d9087f34f437.js} +1 -1
- package/dist/{2701.bundle.12bd01a80a9f8ea4cd94.js → 2701.bundle.ec41d99d12e54f550e17.js} +1 -1
- package/dist/{3081.bundle.4e5f2f76dc80e817b870.js → 3081.bundle.d72d24a8bc824a18f251.js} +8 -8
- package/dist/{4775.bundle.0657b2fc04ff02e864ee.js → 4775.bundle.000ac8bbba493dbb4c87.js} +17 -26
- package/dist/{5802.bundle.552c1f4320fadbfc9b00.js → 5802.bundle.783100f1bd99eab393c9.js} +4 -4
- package/dist/5802.css +1 -1
- package/dist/{7159.bundle.a5991a5d4f0dd8f1c95f.js → 7159.bundle.fb9df255868960f69765.js} +4 -2
- package/dist/{8305.bundle.b2e7cc8553f350b692eb.js → 8305.bundle.83d155a6e9af37e695b3.js} +1 -1
- package/dist/{8583.bundle.4930e7e2ee13e65c0a99.js → 8583.bundle.24f7fd99be47bd7d5fa0.js} +3 -4
- package/dist/{9195.bundle.613833eca6f4de0163c4.js → 9195.bundle.72b8ef180ca9dfa3667b.js} +25 -25
- package/dist/{app.bundle.391d20d3233afbea3a62.js → app.bundle.12c7f92262288947f525.js} +103 -104
- package/dist/app.bundle.css +3 -3
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +20 -20
- /package/dist/{1403.bundle.a27e93da0df0ac5e00ec.js → 1403.bundle.bc464f86fca613e720ee.js} +0 -0
- /package/dist/{1459.bundle.008d9ec6f9be156cc7eb.js → 1459.bundle.65f10b1a9d0ac23dfeea.js} +0 -0
- /package/dist/{2018.bundle.f803d6eed149702dbf96.js → 2018.bundle.17c0416435df3e831ff8.js} +0 -0
- /package/dist/{213.bundle.4da62ab9aad5bc5dfc8f.js → 213.bundle.b446c61ab428370ddc68.js} +0 -0
- /package/dist/{2424.bundle.3d8bbbb0d5b460421132.js → 2424.bundle.431b04eb2af0dc8ee505.js} +0 -0
- /package/dist/{3461.bundle.d4b3be1127c5409178b1.js → 3461.bundle.97f3e31822ab273971ec.js} +0 -0
- /package/dist/{4819.bundle.ed50b19e3201f03cd379.js → 4819.bundle.eaf9cb49a157d5e012ad.js} +0 -0
- /package/dist/{5028.bundle.f0f27922d615c64fcec6.js → 5028.bundle.ee5f793ab51a51602ee6.js} +0 -0
- /package/dist/{5457.bundle.f9939704daa9da5ffb8f.js → 5457.bundle.4cbb485ca479065eb217.js} +0 -0
- /package/dist/{5485.bundle.349cbcd05639e5a99635.js → 5485.bundle.73a2247ebbc9d95721e5.js} +0 -0
- /package/dist/{6027.bundle.018be92e12bfc4aebc26.js → 6027.bundle.da0a0aa13375efe8f7ce.js} +0 -0
- /package/dist/{6163.bundle.59d2aa5fcc846c9dc440.js → 6163.bundle.629b58f2de9d74fb25f6.js} +0 -0
- /package/dist/{7639.bundle.34966b47cb5e30e77f6a.js → 7639.bundle.15066a5fdf94f4c80517.js} +0 -0
- /package/dist/{85.bundle.cbadd8f432e9e83241af.js → 85.bundle.d52b16b74abdd156a542.js} +0 -0
- /package/dist/{8558.bundle.f0ca04e313d762510357.js → 8558.bundle.22404255f312b2a8fa94.js} +0 -0
- /package/dist/{9927.bundle.8dce9dab0a013bfa5c0b.js → 9927.bundle.154a9203072f76739dca.js} +0 -0
|
@@ -767,7 +767,7 @@ function ViewportImageSliceLoadingIndicator({
|
|
|
767
767
|
}, /*#__PURE__*/react.createElement("div", {
|
|
768
768
|
className: "transparent flex h-full w-full items-center justify-center"
|
|
769
769
|
}, /*#__PURE__*/react.createElement("p", {
|
|
770
|
-
className: "text-
|
|
770
|
+
className: "text-highlight text-xl font-light"
|
|
771
771
|
}, /*#__PURE__*/react.createElement("h4", null, "Error Loading Image"), /*#__PURE__*/react.createElement("p", null, "An error has occurred."), /*#__PURE__*/react.createElement("p", null, error)))));
|
|
772
772
|
}
|
|
773
773
|
if (loading) {
|
|
@@ -780,7 +780,7 @@ function ViewportImageSliceLoadingIndicator({
|
|
|
780
780
|
}, /*#__PURE__*/react.createElement("div", {
|
|
781
781
|
className: "transparent flex h-full w-full items-center justify-center"
|
|
782
782
|
}, /*#__PURE__*/react.createElement("p", {
|
|
783
|
-
className: "text-
|
|
783
|
+
className: "text-highlight text-xl font-light"
|
|
784
784
|
}, "Loading...")))
|
|
785
785
|
);
|
|
786
786
|
}
|
|
@@ -1384,7 +1384,7 @@ function DynamicDataPanel({
|
|
|
1384
1384
|
tab
|
|
1385
1385
|
}) {
|
|
1386
1386
|
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
1387
|
-
className: "flex flex-col
|
|
1387
|
+
className: "text-foreground flex flex-col",
|
|
1388
1388
|
"data-cy": 'dynamic-volume-panel'
|
|
1389
1389
|
}, /*#__PURE__*/react.createElement(PanelGenerateImage, {
|
|
1390
1390
|
commandsManager: commandsManager,
|
|
@@ -1400,7 +1400,7 @@ function WorkflowPanel({
|
|
|
1400
1400
|
const ProgressDropdownWithService = servicesManager.services.customizationService.getCustomization('progressDropdownWithServiceComponent');
|
|
1401
1401
|
return /*#__PURE__*/React.createElement("div", {
|
|
1402
1402
|
"data-cy": 'workflow-panel',
|
|
1403
|
-
className: "bg-
|
|
1403
|
+
className: "bg-popover mb-1 px-3 py-4"
|
|
1404
1404
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1405
1405
|
className: "mb-1"
|
|
1406
1406
|
}, "Workflow"), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ProgressDropdownWithService, {
|
|
@@ -2735,7 +2735,7 @@ const extension = {
|
|
|
2735
2735
|
});
|
|
2736
2736
|
return {
|
|
2737
2737
|
disabled: false,
|
|
2738
|
-
className: isPrimaryActive ? '!text-black bg-
|
|
2738
|
+
className: isPrimaryActive ? '!text-black bg-highlight' : '!text-foreground/80 hover:!bg-muted hover:!text-highlight',
|
|
2739
2739
|
// Todo: isActive right now is used for nested buttons where the primary
|
|
2740
2740
|
// button needs to be fully rounded (vs partial rounded) when active
|
|
2741
2741
|
// otherwise it does not have any other use
|
|
@@ -497,7 +497,7 @@ function OHIFCornerstoneSRTextViewport(props) {
|
|
|
497
497
|
const displaySet = displaySets[0];
|
|
498
498
|
const instance = displaySet.instances[0];
|
|
499
499
|
return /*#__PURE__*/react.createElement("div", {
|
|
500
|
-
className: "relative flex h-full w-full flex-col overflow-auto p-4
|
|
500
|
+
className: "text-foreground relative flex h-full w-full flex-col overflow-auto p-4"
|
|
501
501
|
}, /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(OHIFCornerstoneSRContainer, {
|
|
502
502
|
container: instance
|
|
503
503
|
})));
|
|
@@ -8624,7 +8624,7 @@ const DicomUploadProgressItem = /*#__PURE__*/(0,react.memo)(({
|
|
|
8624
8624
|
}, /*#__PURE__*/react.createElement("div", {
|
|
8625
8625
|
className: "flex w-6 shrink-0 items-center justify-center"
|
|
8626
8626
|
}, getStatusIcon()), /*#__PURE__*/react.createElement("div", {
|
|
8627
|
-
className: "overflow-hidden text-ellipsis whitespace-nowrap
|
|
8627
|
+
className: "text-foreground overflow-hidden text-ellipsis whitespace-nowrap"
|
|
8628
8628
|
}, dicomFileUploader.getFileName())), failedReason && /*#__PURE__*/react.createElement("div", {
|
|
8629
8629
|
className: "pl-10"
|
|
8630
8630
|
}, failedReason)), /*#__PURE__*/react.createElement("div", {
|
|
@@ -8866,7 +8866,7 @@ function DicomUploadProgress({
|
|
|
8866
8866
|
}, [numFilesCompleted]);
|
|
8867
8867
|
const getNumCompletedAndTimeRemainingComponent = () => {
|
|
8868
8868
|
return /*#__PURE__*/react.createElement("div", {
|
|
8869
|
-
className: "bg-muted flex h-14 items-center px-1 pb-4 text-lg
|
|
8869
|
+
className: "bg-muted text-foreground flex h-14 items-center px-1 pb-4 text-lg"
|
|
8870
8870
|
}, numFilesCompleted === dicomFileUploaderArr.length ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("span", {
|
|
8871
8871
|
className: NO_WRAP_ELLIPSIS_CLASS_NAMES
|
|
8872
8872
|
}, `${dicomFileUploaderArr.length} ${dicomFileUploaderArr.length > 1 ? 'files' : 'file'} completed.`), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
@@ -15923,7 +15923,7 @@ function ViewportOrientationMenu({
|
|
|
15923
15923
|
}) : null), /*#__PURE__*/react.createElement("div", {
|
|
15924
15924
|
className: "flex-1 text-left"
|
|
15925
15925
|
}, "Acquisition")), /*#__PURE__*/react.createElement("div", {
|
|
15926
|
-
className: "mx-1 my-2 border-t
|
|
15926
|
+
className: "border-input mx-1 my-2 border-t"
|
|
15927
15927
|
}), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
15928
15928
|
variant: "ghost",
|
|
15929
15929
|
className: "flex h-7 w-full flex-shrink-0 items-center justify-start self-stretch px-1 py-0",
|
|
@@ -17410,9 +17410,9 @@ function ModalityLoadBadge({
|
|
|
17410
17410
|
if (!statusInfo.isHydrated) {
|
|
17411
17411
|
return /*#__PURE__*/react.createElement("div", {
|
|
17412
17412
|
"data-cy": `ModalityLoadBadge-${viewportId}`,
|
|
17413
|
-
className: "flex h-6 cursor-default text-sm leading-6
|
|
17413
|
+
className: "text-foreground flex h-6 cursor-default text-sm leading-6"
|
|
17414
17414
|
}, /*#__PURE__*/react.createElement("div", {
|
|
17415
|
-
className: "bg-
|
|
17415
|
+
className: "bg-popover flex min-w-[45px] items-center rounded-l-xl rounded-r p-1"
|
|
17416
17416
|
}, /*#__PURE__*/react.createElement(StatusIcon, null), /*#__PURE__*/react.createElement("span", {
|
|
17417
17417
|
className: "ml-1"
|
|
17418
17418
|
}, statusInfo.type)), statusInfo.type !== 'SR' && /*#__PURE__*/react.createElement(ui_next_src/* ViewportActionButton */.N8H, {
|
|
@@ -24343,12 +24343,12 @@ function DefaultAccordion(props) {
|
|
|
24343
24343
|
if (!allChildren || !groups) {
|
|
24344
24344
|
return null;
|
|
24345
24345
|
}
|
|
24346
|
-
if (
|
|
24346
|
+
if (asChild) {
|
|
24347
24347
|
return /*#__PURE__*/react.cloneElement(props.children, props);
|
|
24348
24348
|
}
|
|
24349
24349
|
return /*#__PURE__*/react.createElement(ui_next_src/* Accordion */.nD3, {
|
|
24350
24350
|
type: grouping.type || 'multiple',
|
|
24351
|
-
className: "text-
|
|
24351
|
+
className: "text-foreground",
|
|
24352
24352
|
defaultValue: defaultValue
|
|
24353
24353
|
}, [...groups.entries()].map(([key, group]) => {
|
|
24354
24354
|
return /*#__PURE__*/react.createElement(ui_next_src/* AccordionItem */.AsP, {
|
|
@@ -24826,7 +24826,7 @@ function PanelMeasurement(props) {
|
|
|
24826
24826
|
return EmptyComponent ? /*#__PURE__*/react.createElement(EmptyComponent, {
|
|
24827
24827
|
items: displayMeasurements
|
|
24828
24828
|
}) : /*#__PURE__*/react.createElement("span", {
|
|
24829
|
-
className: "text-
|
|
24829
|
+
className: "text-foreground"
|
|
24830
24830
|
}, "No Measurements");
|
|
24831
24831
|
}
|
|
24832
24832
|
if (children) {
|
|
@@ -511,7 +511,7 @@ function USAnnotationPanel() {
|
|
|
511
511
|
/**
|
|
512
512
|
* Render helpers so the JSX doesn’t become spaghetti. */
|
|
513
513
|
const renderWorkflowToggles = () => /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Content, null, /*#__PURE__*/react.createElement("div", {
|
|
514
|
-
className: "space-y-3 p-2 text-sm
|
|
514
|
+
className: "text-foreground space-y-3 p-2 text-sm"
|
|
515
515
|
}, /*#__PURE__*/react.createElement("div", {
|
|
516
516
|
className: "flex items-center"
|
|
517
517
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Switch */.dOG, {
|
|
@@ -572,13 +572,12 @@ function USAnnotationPanel() {
|
|
|
572
572
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Switch */.dOG, {
|
|
573
573
|
id: "show-overlay-switch",
|
|
574
574
|
checked: showOverlay,
|
|
575
|
-
onCheckedChange: () => setShowOverlayCommand(!showOverlay)
|
|
576
|
-
className: "data-[state=checked]:bg-blue-500"
|
|
575
|
+
onCheckedChange: () => setShowOverlayCommand(!showOverlay)
|
|
577
576
|
}), /*#__PURE__*/react.createElement("label", {
|
|
578
577
|
htmlFor: "show-overlay-switch",
|
|
579
|
-
className: "cursor-pointer
|
|
578
|
+
className: "text-muted-foreground cursor-pointer"
|
|
580
579
|
}, t('Show Overlay'))), /*#__PURE__*/react.createElement("hr", {
|
|
581
|
-
className: "border-
|
|
580
|
+
className: "border-input/50 border-t"
|
|
582
581
|
})));
|
|
583
582
|
const renderAnnotatedFrames = () => /*#__PURE__*/react.createElement(ui_next_src/* ScrollArea */.FKN, {
|
|
584
583
|
className: "h-full"
|
|
@@ -601,40 +600,40 @@ function USAnnotationPanel() {
|
|
|
601
600
|
}, /*#__PURE__*/react.createElement("table", {
|
|
602
601
|
className: "w-full border-collapse text-sm"
|
|
603
602
|
}, /*#__PURE__*/react.createElement("thead", null, /*#__PURE__*/react.createElement("tr", {
|
|
604
|
-
className: "
|
|
603
|
+
className: "text-muted-foreground border-input/50 border-b"
|
|
605
604
|
}, /*#__PURE__*/react.createElement("th", null), /*#__PURE__*/react.createElement("th", {
|
|
606
|
-
className: "py-2 px-
|
|
605
|
+
className: "py-2 px-2 text-left font-normal"
|
|
607
606
|
}, t('Frame')), /*#__PURE__*/react.createElement("th", {
|
|
608
|
-
className: "py-2 px-
|
|
607
|
+
className: "py-2 px-2 text-center font-normal"
|
|
609
608
|
}, t('Pleura lines')), /*#__PURE__*/react.createElement("th", {
|
|
610
|
-
className: "py-2 px-
|
|
609
|
+
className: "py-2 px-2 text-center font-normal"
|
|
611
610
|
}, t('B-lines')), /*#__PURE__*/react.createElement("th", {
|
|
612
611
|
className: "w-10"
|
|
613
612
|
}))), /*#__PURE__*/react.createElement("tbody", null, annotatedFrames.map(item => /*#__PURE__*/react.createElement("tr", {
|
|
614
613
|
key: item.frame,
|
|
615
|
-
className: `border-
|
|
614
|
+
className: `border-input/50 border-b ${item.frame === 5 ? 'bg-cyan-800 bg-opacity-30' : ''}`,
|
|
616
615
|
onClick: () => handleRowClick(item),
|
|
617
616
|
style: {
|
|
618
617
|
cursor: 'pointer'
|
|
619
618
|
}
|
|
620
619
|
}, /*#__PURE__*/react.createElement("td", {
|
|
621
|
-
className: "py-
|
|
620
|
+
className: "py-2 px-2"
|
|
622
621
|
}, item.index), /*#__PURE__*/react.createElement("td", {
|
|
623
|
-
className: "py-
|
|
622
|
+
className: "py-2 px-2"
|
|
624
623
|
}, item.frame + 1), /*#__PURE__*/react.createElement("td", {
|
|
625
|
-
className: "py-
|
|
624
|
+
className: "py-2 px-2 text-center"
|
|
626
625
|
}, item.pleura), /*#__PURE__*/react.createElement("td", {
|
|
627
|
-
className: "py-
|
|
626
|
+
className: "py-2 px-2 text-center"
|
|
628
627
|
}, item.bLine), /*#__PURE__*/react.createElement("td", {
|
|
629
|
-
className: "py-
|
|
628
|
+
className: "py-2 px-2 text-right"
|
|
630
629
|
}, item.frame === 5 && /*#__PURE__*/react.createElement("div", {
|
|
631
630
|
className: "flex items-center justify-end"
|
|
632
631
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
633
632
|
variant: "ghost",
|
|
634
|
-
className: "p-0
|
|
633
|
+
className: "p-0"
|
|
635
634
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.EyeVisible, null)), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
636
635
|
variant: "ghost",
|
|
637
|
-
className: "ml-2 p-0
|
|
636
|
+
className: "ml-2 p-0"
|
|
638
637
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.More, null)))))))))));
|
|
639
638
|
const updateAnnotatedFrames = () => {
|
|
640
639
|
const activeViewportId = viewportGridService.getActiveViewportId();
|
|
@@ -699,7 +698,7 @@ function USAnnotationPanel() {
|
|
|
699
698
|
* ──────────────────────────────────────────────────────
|
|
700
699
|
* 🖼 Final Render */
|
|
701
700
|
return /*#__PURE__*/react.createElement("div", {
|
|
702
|
-
className: "h-full bg-black
|
|
701
|
+
className: "text-foreground h-full bg-black",
|
|
703
702
|
style: {
|
|
704
703
|
minWidth: 240,
|
|
705
704
|
maxWidth: 480,
|
|
@@ -1052,14 +1051,6 @@ function commandsModule({
|
|
|
1052
1051
|
downloadBlob(blob, {
|
|
1053
1052
|
filename: `ultrasound_annotations_${new Date().toISOString().slice(0, 10)}.json`
|
|
1054
1053
|
});
|
|
1055
|
-
|
|
1056
|
-
// Append to the document, click to download, and remove
|
|
1057
|
-
document.body.appendChild(a);
|
|
1058
|
-
a.click();
|
|
1059
|
-
document.body.removeChild(a);
|
|
1060
|
-
|
|
1061
|
-
// Clean up by revoking the URL
|
|
1062
|
-
URL.revokeObjectURL(url);
|
|
1063
1054
|
}
|
|
1064
1055
|
};
|
|
1065
1056
|
const definitions = {
|
|
@@ -153,10 +153,10 @@ const generateFromConfig = ({
|
|
|
153
153
|
bottomLeft = [],
|
|
154
154
|
bottomRight = []
|
|
155
155
|
} = overlayData ?? {};
|
|
156
|
-
const topLeftClass = 'top-viewport left-viewport text-
|
|
157
|
-
const topRightClass = 'top-viewport right-viewport-scrollbar text-
|
|
158
|
-
const bottomRightClass = 'bottom-viewport right-viewport-scrollbar text-
|
|
159
|
-
const bottomLeftClass = 'bottom-viewport left-viewport text-
|
|
156
|
+
const topLeftClass = 'top-viewport left-viewport text-highlight';
|
|
157
|
+
const topRightClass = 'top-viewport right-viewport-scrollbar text-highlight';
|
|
158
|
+
const bottomRightClass = 'bottom-viewport right-viewport-scrollbar text-highlight';
|
|
159
|
+
const bottomLeftClass = 'bottom-viewport left-viewport text-highlight';
|
|
160
160
|
const overlay = 'absolute pointer-events-none microscopy-viewport-overlay';
|
|
161
161
|
return /*#__PURE__*/react.createElement(react.Fragment, null, topLeft && topLeft.length > 0 && /*#__PURE__*/react.createElement("div", {
|
|
162
162
|
"data-cy": 'viewport-overlay-top-left',
|
package/dist/5802.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
.DicomMicroscopyViewer{--ol-partial-background-color:#7f7f7fb3;--ol-foreground-color:#000;--ol-subtle-foreground-color:#000;--ol-subtle-background-color:#4e4e4e80;-webkit-user-select:none;-moz-user-select:none; -ms-user-select:none; user-select:none}.DicomMicroscopyViewer .ol-box{background-color:var(--ol-partial-background-color);border:1.5px solid var(--ol-background-color);border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box}.DicomMicroscopyViewer .ol-mouse-position{position:absolute;right:8px;top:8px}.DicomMicroscopyViewer .ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.DicomMicroscopyViewer .ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;margin:1px;text-align:center;-webkit-transition:all .25s;transition:all .25s;will-change:contents,width}.DicomMicroscopyViewer .ol-scale-bar{bottom:8px;left:8px;position:absolute}.DicomMicroscopyViewer .ol-scale-bar-inner{display:-webkit-box;display:-ms-flexbox;display:flex}.DicomMicroscopyViewer .ol-scale-step-marker{background-color:var(--ol-foreground-color);float:right;height:15px;width:1px;z-index:10}.DicomMicroscopyViewer .ol-scale-step-text{bottom:-5px;font-size:10px;z-index:11}.DicomMicroscopyViewer .ol-scale-step-text,.DicomMicroscopyViewer .ol-scale-text{color:var(--ol-foreground-color);position:absolute;text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.DicomMicroscopyViewer .ol-scale-text{bottom:25px;font-size:12px;text-align:center}.DicomMicroscopyViewer .ol-scale-singlebar{border:1px solid var(--ol-foreground-color);-webkit-box-sizing:border-box;box-sizing:border-box;height:10px;position:relative;z-index:9}.DicomMicroscopyViewer .ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.DicomMicroscopyViewer .ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.DicomMicroscopyViewer .ol-unsupported{display:none}.DicomMicroscopyViewer .ol-unselectable,.DicomMicroscopyViewer .ol-viewport{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none; -ms-user-select:none; user-select:none}.DicomMicroscopyViewer .ol-viewport canvas{all:unset}.DicomMicroscopyViewer .ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text; -ms-user-select:text; user-select:text}.DicomMicroscopyViewer .ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.DicomMicroscopyViewer .ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.DicomMicroscopyViewer .ol-control{background-color:var(--ol-subtle-background-color);border-radius:4px;position:absolute}.DicomMicroscopyViewer .ol-zoom{left:.5em;top:.5em}.DicomMicroscopyViewer .ol-rotate{right:.5em;top:.5em;-webkit-transition:opacity .25s linear,visibility 0s linear;transition:opacity .25s linear,visibility 0s linear}.DicomMicroscopyViewer .ol-rotate.ol-hidden{opacity:0;-webkit-transition:opacity .25s linear,visibility 0s linear .25s;transition:opacity .25s linear,visibility 0s linear .25s;visibility:hidden}.DicomMicroscopyViewer .ol-zoom-extent{left:.5em;top:4.643em}.DicomMicroscopyViewer .ol-full-screen{right:.5em;top:.5em}.DicomMicroscopyViewer .ol-control button{background-color:var(--ol-background-color);border:none;border-radius:2px;color:var(--ol-subtle-foreground-color);display:block;font-size:inherit;font-weight:700;height:1.375em;line-height:.4em;margin:1px;padding:0;text-align:center;text-decoration:none;width:1.375em}.DicomMicroscopyViewer .ol-control button::-moz-focus-inner{border:none;padding:0}.DicomMicroscopyViewer .ol-zoom-extent button{line-height:1.4em}.DicomMicroscopyViewer .ol-compass{display:block;font-weight:400;will-change:transform}.DicomMicroscopyViewer .ol-touch .ol-control button{font-size:1.5em}.DicomMicroscopyViewer .ol-touch .ol-zoom-extent{top:5.5em}.DicomMicroscopyViewer .ol-control button:focus,.DicomMicroscopyViewer .ol-control button:hover{color:var(--ol-foreground-color);outline:1px solid var(--ol-subtle-foreground-color);text-decoration:none}.DicomMicroscopyViewer .ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.DicomMicroscopyViewer .ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.DicomMicroscopyViewer .ol-attribution{-webkit-box-align:center;-ms-flex-align:center;align-items:center;bottom:.5em;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-flow:row-reverse;flex-flow:row-reverse;max-width:calc(100% - 1.3em);right:.5em;text-align:right}.DicomMicroscopyViewer .ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.DicomMicroscopyViewer .ol-attribution ul{color:var(--ol-foreground-color);font-size:12px;margin:0;padding:1px .5em;text-shadow:0 0 2px var(--ol-background-color)}.DicomMicroscopyViewer .ol-attribution li{display:inline;list-style:none}.DicomMicroscopyViewer .ol-attribution li:not(:last-child):after{content:" "}.DicomMicroscopyViewer .ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.DicomMicroscopyViewer .ol-attribution button{-ms-flex-negative:0;flex-shrink:0}.DicomMicroscopyViewer .ol-attribution.ol-collapsed ul{display:none}.DicomMicroscopyViewer .ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.DicomMicroscopyViewer .ol-attribution.ol-uncollapsible{border-radius:4px 0 0;bottom:0;right:0}.DicomMicroscopyViewer .ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.DicomMicroscopyViewer .ol-attribution.ol-uncollapsible button{display:none}.DicomMicroscopyViewer .ol-zoomslider{height:200px;left:.5em;top:4.5em}.DicomMicroscopyViewer .ol-zoomslider button{height:10px;position:relative}.DicomMicroscopyViewer .ol-touch .ol-zoomslider{top:5.5em}.DicomMicroscopyViewer .ol-overviewmap{bottom:.5em;left:.5em}.DicomMicroscopyViewer .ol-overviewmap.ol-uncollapsible{border-radius:0 4px 0 0;bottom:0;left:0}.DicomMicroscopyViewer .ol-overviewmap .ol-overviewmap-map,.DicomMicroscopyViewer .ol-overviewmap button{display:block}.DicomMicroscopyViewer .ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.DicomMicroscopyViewer .ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.DicomMicroscopyViewer .ol-overviewmap.ol-collapsed .ol-overviewmap-map,.DicomMicroscopyViewer .ol-overviewmap.ol-uncollapsible button{display:none}.DicomMicroscopyViewer .ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.DicomMicroscopyViewer .ol-overviewmap-box{border:.5px dotted var(--ol-subtle-foreground-color)}.DicomMicroscopyViewer .ol-overviewmap .ol-overviewmap-box:hover{cursor:move}@layout-header-background: #007ea3;@primary-color: #007ea3;@processing-color: #8cb8c6;@success-color: #3f9c35;@warning-color: #eeaf30;@error-color: #96172e;@font-size-base: 14px;.DicomMicroscopyViewer .ol-tooltip{font-size:16px!important}
|
|
2
|
-
.DicomMicroscopyViewer .OpenLayersOverlay{display:block!important;height:100%;pointer-events:none!important;width:100%}.DicomMicroscopyViewer .text-
|
|
2
|
+
.DicomMicroscopyViewer .OpenLayersOverlay{display:block!important;height:100%;pointer-events:none!important;width:100%}.DicomMicroscopyViewer .text-highlight{color:#ff0;font-size:14px;font-weight:400}.DicomMicroscopyViewer .text-highlight span{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.DicomMicroscopyViewer .absolute{position:absolute}.DicomMicroscopyViewer .flex{display:-webkit-box;display:-ms-flexbox;display:flex}.DicomMicroscopyViewer .flex-row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.DicomMicroscopyViewer .flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.DicomMicroscopyViewer .pointer-events-none{pointer-events:none}.DicomMicroscopyViewer .left-viewport-scrollbar{left:.5rem}.DicomMicroscopyViewer .right-viewport-scrollbar{right:1.3rem}.DicomMicroscopyViewer .top-viewport{top:.5rem}.DicomMicroscopyViewer .bottom-viewport{bottom:.5rem}.DicomMicroscopyViewer .bottom-viewport.left-viewport{bottom:.5rem;left:calc(.5rem + 250px)}.DicomMicroscopyViewer .right-viewport-scrollbar .flex{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.DicomMicroscopyViewer .microscopy-viewport-overlay{background:#00000080;max-width:40%;padding:.5rem 1rem}.DicomMicroscopyViewer .microscopy-viewport-overlay .flex{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.DicomMicroscopyViewer .top-viewport .flex span:not(.font-light){-ms-flex-negative:0;flex-shrink:0}
|
|
@@ -61,11 +61,13 @@ function OHIFCornerstonePdfViewport({
|
|
|
61
61
|
load();
|
|
62
62
|
}, [renderedUrl]);
|
|
63
63
|
return /*#__PURE__*/react.createElement("div", {
|
|
64
|
-
className: "bg-primary-black h-full w-full
|
|
64
|
+
className: "bg-primary-black text-foreground h-full w-full",
|
|
65
65
|
onClick: makePdfScrollable,
|
|
66
66
|
ref: el => {
|
|
67
67
|
viewportElementRef.current = el;
|
|
68
|
-
if (el)
|
|
68
|
+
if (el) {
|
|
69
|
+
viewportRef.register(el);
|
|
70
|
+
}
|
|
69
71
|
},
|
|
70
72
|
"data-viewport-id": viewportId
|
|
71
73
|
}, /*#__PURE__*/react.createElement("object", {
|
|
@@ -850,7 +850,7 @@ function LogicalContourOperationOptions() {
|
|
|
850
850
|
name: icon
|
|
851
851
|
}));
|
|
852
852
|
}))), /*#__PURE__*/react.createElement("div", null, t(operation.label))), /*#__PURE__*/react.createElement("div", {
|
|
853
|
-
className: "bg-
|
|
853
|
+
className: "bg-muted flex h-[62px] w-[88px] items-center justify-center rounded-lg"
|
|
854
854
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ByName, {
|
|
855
855
|
name: operation.helperIcon
|
|
856
856
|
}))), /*#__PURE__*/react.createElement(SegmentSelector, {
|
|
@@ -900,7 +900,7 @@ function PanelPetSUV() {
|
|
|
900
900
|
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM, {
|
|
901
901
|
defaultOpen: true
|
|
902
902
|
}, /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Header, null, t('Patient Information')), /*#__PURE__*/react.createElement(ui_next_src/* PanelSection */.aUM.Content, null, /*#__PURE__*/react.createElement("div", {
|
|
903
|
-
className: "bg-
|
|
903
|
+
className: "bg-muted flex flex-col gap-3 p-2"
|
|
904
904
|
}, /*#__PURE__*/react.createElement(InputRow, null, /*#__PURE__*/react.createElement(InputRow.Label, null, t('Patient Sex')), /*#__PURE__*/react.createElement(InputRow.Input, {
|
|
905
905
|
value: metadata.PatientSex || '',
|
|
906
906
|
onChange: e => {
|
|
@@ -1070,7 +1070,7 @@ function PanelRoiThresholdSegmentation() {
|
|
|
1070
1070
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1071
1071
|
className: "invisible-scrollbar overflow-y-auto overflow-x-hidden"
|
|
1072
1072
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1073
|
-
className: "bg-
|
|
1073
|
+
className: "bg-popover flex items-baseline justify-between px-2 py-1"
|
|
1074
1074
|
}, /*#__PURE__*/react.createElement("div", {
|
|
1075
1075
|
className: "py-1"
|
|
1076
1076
|
}, /*#__PURE__*/react.createElement("span", {
|
|
@@ -1083,7 +1083,6 @@ function PanelRoiThresholdSegmentation() {
|
|
|
1083
1083
|
dataCY: "exportTmtvCsvReport",
|
|
1084
1084
|
size: "sm",
|
|
1085
1085
|
variant: "ghost",
|
|
1086
|
-
className: "text-blue-500",
|
|
1087
1086
|
onClick: handleExportCSV
|
|
1088
1087
|
}, /*#__PURE__*/react.createElement("span", {
|
|
1089
1088
|
className: "pl-1"
|
|
@@ -1997,7 +1996,7 @@ function ROIThresholdConfiguration({
|
|
|
1997
1996
|
});
|
|
1998
1997
|
};
|
|
1999
1998
|
return /*#__PURE__*/react.createElement("div", {
|
|
2000
|
-
className: "bg-
|
|
1999
|
+
className: "bg-muted flex flex-col space-y-4 p-px"
|
|
2001
2000
|
}, /*#__PURE__*/react.createElement("div", {
|
|
2002
2001
|
className: "flex items-end space-x-3"
|
|
2003
2002
|
}, /*#__PURE__*/react.createElement("div", {
|
|
@@ -656,7 +656,7 @@ function PanelStudyBrowserHeader({
|
|
|
656
656
|
key: index,
|
|
657
657
|
"aria-label": viewPreset.id,
|
|
658
658
|
value: viewPreset.id,
|
|
659
|
-
className: "text-
|
|
659
|
+
className: "text-primary"
|
|
660
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)))))))));
|
|
661
661
|
}
|
|
662
662
|
|
|
@@ -3811,7 +3811,7 @@ function HeaderPatientInfo({
|
|
|
3811
3811
|
const formattedPatientName = formatWithEllipsis(patientInfo.PatientName, 27);
|
|
3812
3812
|
const formattedPatientID = formatWithEllipsis(patientInfo.PatientID, 15);
|
|
3813
3813
|
return /*#__PURE__*/react.createElement("div", {
|
|
3814
|
-
className: "hover:bg-
|
|
3814
|
+
className: "hover:bg-muted flex cursor-pointer items-center justify-center gap-1 rounded-lg",
|
|
3815
3815
|
onClick: handleOnClick
|
|
3816
3816
|
}, isMixedPatients ? /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.MultiplePatients, {
|
|
3817
3817
|
className: "text-primary"
|
|
@@ -3820,9 +3820,9 @@ function HeaderPatientInfo({
|
|
|
3820
3820
|
}), /*#__PURE__*/react.createElement("div", {
|
|
3821
3821
|
className: "flex flex-col justify-center"
|
|
3822
3822
|
}, expanded ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
|
|
3823
|
-
className: "self-start text-[13px] font-bold
|
|
3823
|
+
className: "text-foreground self-start text-[13px] font-bold"
|
|
3824
3824
|
}, formattedPatientName), /*#__PURE__*/react.createElement("div", {
|
|
3825
|
-
className: "text-
|
|
3825
|
+
className: "text-muted-foreground flex gap-2 text-[11px]"
|
|
3826
3826
|
}, /*#__PURE__*/react.createElement("div", null, formattedPatientID), /*#__PURE__*/react.createElement("div", null, patientInfo.PatientSex), /*#__PURE__*/react.createElement("div", null, patientInfo.PatientDOB))) : /*#__PURE__*/react.createElement("div", {
|
|
3827
3827
|
className: "text-primary self-center text-[13px]"
|
|
3828
3828
|
}, isMixedPatients ? 'Multiple Patients' : 'Patient')), /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.ArrowLeft, {
|
|
@@ -3925,7 +3925,7 @@ function ViewerHeader({
|
|
|
3925
3925
|
className: "text-primary flex cursor-pointer items-center"
|
|
3926
3926
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
3927
3927
|
variant: "ghost",
|
|
3928
|
-
className: "hover:bg-
|
|
3928
|
+
className: "hover:bg-muted",
|
|
3929
3929
|
onClick: () => {
|
|
3930
3930
|
commandsManager.run('undo');
|
|
3931
3931
|
}
|
|
@@ -3933,7 +3933,7 @@ function ViewerHeader({
|
|
|
3933
3933
|
className: ""
|
|
3934
3934
|
})), /*#__PURE__*/react.createElement(ui_next_src/* Button */.$nd, {
|
|
3935
3935
|
variant: "ghost",
|
|
3936
|
-
className: "hover:bg-
|
|
3936
|
+
className: "hover:bg-muted",
|
|
3937
3937
|
onClick: () => {
|
|
3938
3938
|
commandsManager.run('redo');
|
|
3939
3939
|
}
|
|
@@ -6315,7 +6315,7 @@ const RowComponent = ({
|
|
|
6315
6315
|
...style,
|
|
6316
6316
|
...rowStyle
|
|
6317
6317
|
},
|
|
6318
|
-
className: classnames_default()('hover:bg-
|
|
6318
|
+
className: classnames_default()('hover:bg-primary/25 border-input text-foreground flex w-full flex-row items-center break-all bg-black text-base', lineHeightClassName),
|
|
6319
6319
|
key: keyPrefix
|
|
6320
6320
|
}, isChildOrParent && /*#__PURE__*/react.createElement("div", {
|
|
6321
6321
|
style: {
|
|
@@ -6345,34 +6345,34 @@ function ColumnHeaders({
|
|
|
6345
6345
|
valueRef
|
|
6346
6346
|
}) {
|
|
6347
6347
|
return /*#__PURE__*/react.createElement("div", {
|
|
6348
|
-
className: classnames_default()('bg-
|
|
6348
|
+
className: classnames_default()('bg-popover ohif-scrollbar flex w-full flex-row overflow-y-scroll'),
|
|
6349
6349
|
style: rowVerticalPaddingStyle
|
|
6350
6350
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6351
6351
|
className: "w-4/24 px-3"
|
|
6352
6352
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6353
6353
|
ref: tagRef,
|
|
6354
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6354
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6355
6355
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6356
6356
|
className: "flex flex-row items-center focus:outline-none"
|
|
6357
6357
|
}, "Tag"))), /*#__PURE__*/react.createElement("div", {
|
|
6358
6358
|
className: "w-2/24 px-3"
|
|
6359
6359
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6360
6360
|
ref: vrRef,
|
|
6361
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6361
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6362
6362
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6363
6363
|
className: "flex flex-row items-center focus:outline-none"
|
|
6364
6364
|
}, "VR"))), /*#__PURE__*/react.createElement("div", {
|
|
6365
6365
|
className: "w-6/24 px-3"
|
|
6366
6366
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6367
6367
|
ref: keywordRef,
|
|
6368
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6368
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6369
6369
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6370
6370
|
className: "flex flex-row items-center focus:outline-none"
|
|
6371
6371
|
}, "Keyword"))), /*#__PURE__*/react.createElement("div", {
|
|
6372
6372
|
className: "w-5/24 grow px-3"
|
|
6373
6373
|
}, /*#__PURE__*/react.createElement("label", {
|
|
6374
6374
|
ref: valueRef,
|
|
6375
|
-
className: "flex flex-1 select-none flex-col pl-1 text-lg
|
|
6375
|
+
className: "text-foreground flex flex-1 select-none flex-col pl-1 text-lg"
|
|
6376
6376
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6377
6377
|
className: "flex flex-row items-center focus:outline-none"
|
|
6378
6378
|
}, "Value"))));
|
|
@@ -6635,7 +6635,7 @@ const DicomTagBrowser = ({
|
|
|
6635
6635
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6636
6636
|
className: "mb-6 flex flex-row items-start pl-1"
|
|
6637
6637
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6638
|
-
className: "flex w-full flex-row items-start gap-
|
|
6638
|
+
className: "flex w-full flex-row items-start gap-6"
|
|
6639
6639
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6640
6640
|
className: "flex w-1/3 flex-col"
|
|
6641
6641
|
}, /*#__PURE__*/react.createElement("span", {
|
|
@@ -6664,7 +6664,7 @@ const DicomTagBrowser = ({
|
|
|
6664
6664
|
min: 1,
|
|
6665
6665
|
max: activeDisplaySet?.images?.length,
|
|
6666
6666
|
step: 1,
|
|
6667
|
-
className: "pt-
|
|
6667
|
+
className: "pt-3"
|
|
6668
6668
|
})), /*#__PURE__*/react.createElement("div", {
|
|
6669
6669
|
className: "ml-auto mr-1 flex w-1/3 flex-col"
|
|
6670
6670
|
}, /*#__PURE__*/react.createElement("span", {
|
|
@@ -9605,7 +9605,7 @@ function DataSourceSelector() {
|
|
|
9605
9605
|
}, /*#__PURE__*/react.createElement("div", {
|
|
9606
9606
|
className: "flex h-screen w-screen items-center justify-center"
|
|
9607
9607
|
}, /*#__PURE__*/react.createElement("div", {
|
|
9608
|
-
className: "bg-
|
|
9608
|
+
className: "bg-popover mx-auto space-y-2 rounded-lg py-8 px-8 drop-shadow-md"
|
|
9609
9609
|
}, /*#__PURE__*/react.createElement("img", {
|
|
9610
9610
|
className: "mx-auto block h-14",
|
|
9611
9611
|
src: "./ohif-logo.svg",
|
|
@@ -9615,7 +9615,7 @@ function DataSourceSelector() {
|
|
|
9615
9615
|
}, dsConfigs.filter(it => it.sourceName !== 'dicomjson' && it.sourceName !== 'dicomlocal').map(ds => /*#__PURE__*/react.createElement("div", {
|
|
9616
9616
|
key: ds.sourceName
|
|
9617
9617
|
}, /*#__PURE__*/react.createElement("h1", {
|
|
9618
|
-
className: "text-
|
|
9618
|
+
className: "text-foreground"
|
|
9619
9619
|
}, ds.configuration?.friendlyName || ds.friendlyName), /*#__PURE__*/react.createElement(ui_src/* Button */.$n, {
|
|
9620
9620
|
type: ui_src/* ButtonEnums.type */.Ny.NW.primary,
|
|
9621
9621
|
className: classnames_default()('ml-2'),
|
|
@@ -10015,14 +10015,14 @@ function DataSourceConfigurationModalComponent({
|
|
|
10015
10015
|
};
|
|
10016
10016
|
}, [selectedItems, configurationAPI, onHide, itemLabels, showFullConfig, currentSelectedItemIndex]);
|
|
10017
10017
|
const getSelectedItemCursorClasses = itemIndex => itemIndex !== itemLabels.length - 1 && itemIndex < selectedItems.length ? 'cursor-pointer' : 'cursor-auto';
|
|
10018
|
-
const getSelectedItemBackgroundClasses = itemIndex => itemIndex < selectedItems.length ? classnames_default()('bg-black/[.4]', itemIndex !== itemLabels.length - 1 ? 'hover:bg-transparent active:bg-
|
|
10019
|
-
const getSelectedItemBorderClasses = itemIndex => itemIndex === currentSelectedItemIndex + 1 ? classnames_default()('border-2', 'border-solid', 'border-
|
|
10020
|
-
const getSelectedItemTextClasses = itemIndex => itemIndex <= selectedItems.length ? 'text-
|
|
10018
|
+
const getSelectedItemBackgroundClasses = itemIndex => itemIndex < selectedItems.length ? classnames_default()('bg-black/[.4]', itemIndex !== itemLabels.length - 1 ? 'hover:bg-transparent active:bg-popover' : '') : 'bg-transparent';
|
|
10019
|
+
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';
|
|
10020
|
+
const getSelectedItemTextClasses = itemIndex => itemIndex <= selectedItems.length ? 'text-highlight' : 'text-primary';
|
|
10021
10021
|
const getErrorComponent = () => {
|
|
10022
10022
|
return /*#__PURE__*/react.createElement("div", {
|
|
10023
10023
|
className: "flex min-h-[1px] grow flex-col gap-4"
|
|
10024
10024
|
}, /*#__PURE__*/react.createElement("div", {
|
|
10025
|
-
className: "text-
|
|
10025
|
+
className: "text-highlight text-[20px]"
|
|
10026
10026
|
}, t(`Error fetching ${itemLabels[selectedItems.length]} list`)), /*#__PURE__*/react.createElement("div", {
|
|
10027
10027
|
className: "grow bg-black p-4 text-[14px]"
|
|
10028
10028
|
}, errorMessage));
|
|
@@ -10047,7 +10047,7 @@ function DataSourceConfigurationModalComponent({
|
|
|
10047
10047
|
}), /*#__PURE__*/react.createElement("div", {
|
|
10048
10048
|
className: classnames_default()(NO_WRAP_ELLIPSIS_CLASS_NAMES)
|
|
10049
10049
|
}, t(itemLabel))), itemLabelIndex < selectedItems.length ? /*#__PURE__*/react.createElement("div", {
|
|
10050
|
-
className: classnames_default()('text-[14px]
|
|
10050
|
+
className: classnames_default()('text-foreground text-[14px]', NO_WRAP_ELLIPSIS_CLASS_NAMES)
|
|
10051
10051
|
}, selectedItems[itemLabelIndex].name) : /*#__PURE__*/react.createElement("br", null));
|
|
10052
10052
|
}));
|
|
10053
10053
|
};
|
|
@@ -10137,7 +10137,7 @@ function DataSourceConfigurationComponent({
|
|
|
10137
10137
|
}
|
|
10138
10138
|
}, [configurationAPI, configuredItems, showConfigurationModal]);
|
|
10139
10139
|
return configuredItems ? /*#__PURE__*/react.createElement("div", {
|
|
10140
|
-
className: "text-
|
|
10140
|
+
className: "text-muted-foreground flex items-center overflow-hidden"
|
|
10141
10141
|
}, /*#__PURE__*/react.createElement(ui_next_src/* Icons */.FI1.Settings, {
|
|
10142
10142
|
className: "mr-2.5 h-3.5 w-3.5 shrink-0 cursor-pointer",
|
|
10143
10143
|
onClick: showConfigurationModal
|
|
@@ -10418,8 +10418,8 @@ function AboutModalDefault() {
|
|
|
10418
10418
|
name
|
|
10419
10419
|
} = (0,browser_detect_es5/* default */.A)();
|
|
10420
10420
|
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
|
|
10421
|
-
const versionNumber = "3.13.0-beta.
|
|
10422
|
-
const commitHash = "
|
|
10421
|
+
const versionNumber = "3.13.0-beta.12";
|
|
10422
|
+
const commitHash = "739e3239cf5765711050b673b373c0145747824f";
|
|
10423
10423
|
const [main, beta] = versionNumber.split('-');
|
|
10424
10424
|
return /*#__PURE__*/react.createElement(ui_next_src/* AboutModal */.VTU, {
|
|
10425
10425
|
className: "w-[400px]"
|
|
@@ -11723,7 +11723,7 @@ function Toolbox({
|
|
|
11723
11723
|
})));
|
|
11724
11724
|
}));
|
|
11725
11725
|
}), activeToolOptions && /*#__PURE__*/react.createElement("div", {
|
|
11726
|
-
className: "bg-
|
|
11726
|
+
className: "bg-muted mt-1 h-auto px-2"
|
|
11727
11727
|
}, /*#__PURE__*/react.createElement(ui_next_src/* ToolSettings */.k_3, {
|
|
11728
11728
|
options: activeToolOptions
|
|
11729
11729
|
}))));
|