@ohif/ui-next 3.14.0-beta.10 → 3.14.0-beta.100
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/ohif-ui-next.css +6 -6
- package/dist/ohif-ui-next.umd.js +4 -1838
- package/package.json +31 -14
- package/src/__mocks__/fileMock.js +7 -0
- package/src/assets/fonts.css +50 -0
- package/src/assets/styles.css +55 -0
- package/src/assets/woff2/latin.woff2 +0 -0
- package/src/components/Accordion/Accordion.tsx +70 -0
- package/src/components/Accordion/index.ts +3 -0
- package/src/components/AllInOneMenu/BackItem.tsx +32 -0
- package/src/components/AllInOneMenu/DividerItem.tsx +11 -0
- package/src/components/AllInOneMenu/HeaderItem.tsx +15 -0
- package/src/components/AllInOneMenu/IconMenu.tsx +83 -0
- package/src/components/AllInOneMenu/Item.tsx +51 -0
- package/src/components/AllInOneMenu/ItemPanel.tsx +38 -0
- package/src/components/AllInOneMenu/Menu.tsx +231 -0
- package/src/components/AllInOneMenu/PanelSelector.tsx +32 -0
- package/src/components/AllInOneMenu/SubMenu.tsx +36 -0
- package/src/components/AllInOneMenu/index.ts +42 -0
- package/src/components/BackgroundColorSelect/BackgroundColorSelect.tsx +38 -0
- package/src/components/BackgroundColorSelect/index.tsx +1 -0
- package/src/components/Badge/Badge.tsx +38 -0
- package/src/components/Badge/index.ts +1 -0
- package/src/components/Button/Button.tsx +65 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/Calendar/Calendar.tsx +258 -0
- package/src/components/Calendar/index.tsx +3 -0
- package/src/components/Card/Card.tsx +83 -0
- package/src/components/Card/index.ts +2 -0
- package/src/components/Checkbox/Checkbox.tsx +27 -0
- package/src/components/Checkbox/index.tsx +3 -0
- package/src/components/CinePlayer/CinePlayer.tsx +187 -0
- package/src/components/CinePlayer/index.ts +5 -0
- package/src/components/Clipboard/Clipboard.tsx +58 -0
- package/src/components/Clipboard/index.tsx +3 -0
- package/src/components/ColorCircle.tsx +12 -0
- package/src/components/Combobox/Combobox.tsx +66 -0
- package/src/components/Combobox/index.ts +3 -0
- package/src/components/Command/Command.tsx +149 -0
- package/src/components/Command/index.ts +23 -0
- package/src/components/ContextMenu/ContextMenu.tsx +202 -0
- package/src/components/ContextMenu/index.ts +35 -0
- package/src/components/ContextMenuViewport/ContextMenuViewport.tsx +47 -0
- package/src/components/ContextMenuViewport/index.ts +1 -0
- package/src/components/DataRow/DataRow.tsx +532 -0
- package/src/components/DataRow/index.ts +1 -0
- package/src/components/DataRow/types.ts +31 -0
- package/src/components/DataTable/ActionOverlayCell.tsx +153 -0
- package/src/components/DataTable/ColumnHeader.tsx +70 -0
- package/src/components/DataTable/DataTable.tsx +532 -0
- package/src/components/DataTable/FilterRow.tsx +52 -0
- package/src/components/DataTable/Pagination.tsx +78 -0
- package/src/components/DataTable/Title.tsx +5 -0
- package/src/components/DataTable/Toolbar.tsx +5 -0
- package/src/components/DataTable/ViewOptions.tsx +86 -0
- package/src/components/DataTable/context.tsx +21 -0
- package/src/components/DataTable/index.ts +5 -0
- package/src/components/DataTable/types.ts +27 -0
- package/src/components/DataTable/useResponsiveColumns.tsx +346 -0
- package/src/components/DateRange/DateRange.tsx +163 -0
- package/src/components/DateRange/index.ts +3 -0
- package/src/components/Dialog/Dialog.tsx +201 -0
- package/src/components/Dialog/index.ts +25 -0
- package/src/components/Dialog/useDraggable.ts +108 -0
- package/src/components/DisplaySetMessageListTooltip/DisplaySetMessageListTooltip.tsx +64 -0
- package/src/components/DisplaySetMessageListTooltip/index.ts +3 -0
- package/src/components/DoubleSlider/DoubleSlider.test.ts +232 -0
- package/src/components/DoubleSlider/DoubleSlider.tsx +211 -0
- package/src/components/DoubleSlider/index.tsx +3 -0
- package/src/components/DropdownMenu/DropdownMenu.tsx +213 -0
- package/src/components/DropdownMenu/index.ts +35 -0
- package/src/components/Errorboundary/ErrorBoundary.tsx +345 -0
- package/src/components/Errorboundary/index.tsx +3 -0
- package/src/components/FooterAction/FooterAction.tsx +115 -0
- package/src/components/FooterAction/index.tsx +3 -0
- package/src/components/Header/Header.tsx +140 -0
- package/src/components/Header/index.js +2 -0
- package/src/components/HoverCard/HoverCard.tsx +30 -0
- package/src/components/HoverCard/index.ts +1 -0
- package/src/components/Icons/Icons.tsx +852 -0
- package/src/components/Icons/Sources/ActionNewDialog.tsx +64 -0
- package/src/components/Icons/Sources/Actions.tsx +47 -0
- package/src/components/Icons/Sources/Add.tsx +51 -0
- package/src/components/Icons/Sources/Alert.tsx +32 -0
- package/src/components/Icons/Sources/AlertOutline.tsx +30 -0
- package/src/components/Icons/Sources/ArrowLeftBold.tsx +49 -0
- package/src/components/Icons/Sources/ArrowRight.tsx +25 -0
- package/src/components/Icons/Sources/Cancel.tsx +37 -0
- package/src/components/Icons/Sources/CheckBoxChecked.tsx +39 -0
- package/src/components/Icons/Sources/CheckBoxUnChecked.tsx +25 -0
- package/src/components/Icons/Sources/Checked.tsx +23 -0
- package/src/components/Icons/Sources/ChevronClosed.tsx +40 -0
- package/src/components/Icons/Sources/ChevronLeft.tsx +28 -0
- package/src/components/Icons/Sources/ChevronOpen.tsx +38 -0
- package/src/components/Icons/Sources/Clear.tsx +34 -0
- package/src/components/Icons/Sources/Clipboard.tsx +15 -0
- package/src/components/Icons/Sources/Close.tsx +28 -0
- package/src/components/Icons/Sources/CloudSettings.tsx +34 -0
- package/src/components/Icons/Sources/Code.tsx +7 -0
- package/src/components/Icons/Sources/ColorChange.tsx +100 -0
- package/src/components/Icons/Sources/ContentNext.tsx +35 -0
- package/src/components/Icons/Sources/ContentPrev.tsx +35 -0
- package/src/components/Icons/Sources/Controls.tsx +99 -0
- package/src/components/Icons/Sources/Copy.tsx +44 -0
- package/src/components/Icons/Sources/Database.tsx +33 -0
- package/src/components/Icons/Sources/Delete.tsx +58 -0
- package/src/components/Icons/Sources/DicomTagBrowser.tsx +79 -0
- package/src/components/Icons/Sources/DisplayFillAndOutline.tsx +49 -0
- package/src/components/Icons/Sources/DisplayFillOnly.tsx +40 -0
- package/src/components/Icons/Sources/DisplayOutlineOnly.tsx +40 -0
- package/src/components/Icons/Sources/Download.tsx +75 -0
- package/src/components/Icons/Sources/Export.tsx +53 -0
- package/src/components/Icons/Sources/ExternalLink.tsx +26 -0
- package/src/components/Icons/Sources/EyeHidden.tsx +32 -0
- package/src/components/Icons/Sources/EyeVisible.tsx +28 -0
- package/src/components/Icons/Sources/FeedbackComplete.tsx +35 -0
- package/src/components/Icons/Sources/GearSettings.tsx +59 -0
- package/src/components/Icons/Sources/GroupLayers.tsx +33 -0
- package/src/components/Icons/Sources/Helpers.tsx +398 -0
- package/src/components/Icons/Sources/Hide.tsx +45 -0
- package/src/components/Icons/Sources/IconColorLUT.tsx +103 -0
- package/src/components/Icons/Sources/IconMPR.tsx +55 -0
- package/src/components/Icons/Sources/IconTransferring.tsx +25 -0
- package/src/components/Icons/Sources/IllustrationNotFound.tsx +102 -0
- package/src/components/Icons/Sources/Info.tsx +55 -0
- package/src/components/Icons/Sources/InfoLink.tsx +23 -0
- package/src/components/Icons/Sources/InfoSeries.tsx +52 -0
- package/src/components/Icons/Sources/InvestigationalUse.tsx +82 -0
- package/src/components/Icons/Sources/JumpToSlice.tsx +69 -0
- package/src/components/Icons/Sources/LaunchArrow.tsx +34 -0
- package/src/components/Icons/Sources/LaunchInfo.tsx +38 -0
- package/src/components/Icons/Sources/LayerBackground.tsx +28 -0
- package/src/components/Icons/Sources/LayerForeground.tsx +34 -0
- package/src/components/Icons/Sources/LayerSegmentation.tsx +20 -0
- package/src/components/Icons/Sources/Layout.tsx +433 -0
- package/src/components/Icons/Sources/Link.tsx +58 -0
- package/src/components/Icons/Sources/ListView.tsx +79 -0
- package/src/components/Icons/Sources/LoadingOHIFMark.tsx +21 -0
- package/src/components/Icons/Sources/LoadingSpinner.tsx +49 -0
- package/src/components/Icons/Sources/Lock.tsx +35 -0
- package/src/components/Icons/Sources/Magnifier.tsx +37 -0
- package/src/components/Icons/Sources/Minus.tsx +40 -0
- package/src/components/Icons/Sources/MissingIcon.tsx +6 -0
- package/src/components/Icons/Sources/More.tsx +53 -0
- package/src/components/Icons/Sources/MultiplePatients.tsx +76 -0
- package/src/components/Icons/Sources/NavigationPanelReveal.tsx +25 -0
- package/src/components/Icons/Sources/NotificationInfo.tsx +33 -0
- package/src/components/Icons/Sources/NotificationWarning.tsx +44 -0
- package/src/components/Icons/Sources/OHIFLogo.tsx +72 -0
- package/src/components/Icons/Sources/OHIFLogoColorDarkBackground.tsx +78 -0
- package/src/components/Icons/Sources/OHIFLogoHorizontal.tsx +139 -0
- package/src/components/Icons/Sources/Opacity.tsx +106 -0
- package/src/components/Icons/Sources/OrientationSwitch.tsx +41 -0
- package/src/components/Icons/Sources/OrientationSwitchA.tsx +41 -0
- package/src/components/Icons/Sources/OrientationSwitchC.tsx +41 -0
- package/src/components/Icons/Sources/OrientationSwitchR.tsx +41 -0
- package/src/components/Icons/Sources/OrientationSwitchS.tsx +41 -0
- package/src/components/Icons/Sources/PanelRight.tsx +29 -0
- package/src/components/Icons/Sources/Patient.tsx +58 -0
- package/src/components/Icons/Sources/PatientStudyList.tsx +62 -0
- package/src/components/Icons/Sources/Pause.tsx +26 -0
- package/src/components/Icons/Sources/Pencil.tsx +16 -0
- package/src/components/Icons/Sources/Pin.tsx +50 -0
- package/src/components/Icons/Sources/PinFill.tsx +51 -0
- package/src/components/Icons/Sources/Play.tsx +25 -0
- package/src/components/Icons/Sources/Plus.tsx +29 -0
- package/src/components/Icons/Sources/PowerOff.tsx +19 -0
- package/src/components/Icons/Sources/Redo.tsx +51 -0
- package/src/components/Icons/Sources/Refresh.tsx +42 -0
- package/src/components/Icons/Sources/Rename.tsx +50 -0
- package/src/components/Icons/Sources/Search.tsx +35 -0
- package/src/components/Icons/Sources/SegActions.tsx +594 -0
- package/src/components/Icons/Sources/Series.tsx +47 -0
- package/src/components/Icons/Sources/SeriesPlaceholder.tsx +40 -0
- package/src/components/Icons/Sources/Settings.tsx +105 -0
- package/src/components/Icons/Sources/SettingsStudyList.tsx +28 -0
- package/src/components/Icons/Sources/Show.tsx +67 -0
- package/src/components/Icons/Sources/SidePanelCloseLeft.tsx +75 -0
- package/src/components/Icons/Sources/SidePanelCloseRight.tsx +74 -0
- package/src/components/Icons/Sources/SocialGithub.tsx +39 -0
- package/src/components/Icons/Sources/Sorting.tsx +39 -0
- package/src/components/Icons/Sources/SortingAscending.tsx +28 -0
- package/src/components/Icons/Sources/SortingDescending.tsx +26 -0
- package/src/components/Icons/Sources/SortingNew.tsx +20 -0
- package/src/components/Icons/Sources/SortingNewAscending.tsx +35 -0
- package/src/components/Icons/Sources/SortingNewDescending.tsx +35 -0
- package/src/components/Icons/Sources/StatusAlert.tsx +36 -0
- package/src/components/Icons/Sources/StatusError.tsx +57 -0
- package/src/components/Icons/Sources/StatusLocked.tsx +35 -0
- package/src/components/Icons/Sources/StatusSuccess.tsx +45 -0
- package/src/components/Icons/Sources/StatusTracking.tsx +37 -0
- package/src/components/Icons/Sources/StatusUntracked.tsx +30 -0
- package/src/components/Icons/Sources/StatusWarning.tsx +58 -0
- package/src/components/Icons/Sources/Tab4D.tsx +54 -0
- package/src/components/Icons/Sources/TabContours.tsx +63 -0
- package/src/components/Icons/Sources/TabLinear.tsx +47 -0
- package/src/components/Icons/Sources/TabPatientInfo.tsx +33 -0
- package/src/components/Icons/Sources/TabRoiThreshold.tsx +38 -0
- package/src/components/Icons/Sources/TabSegmentation.tsx +38 -0
- package/src/components/Icons/Sources/TabStudies.tsx +62 -0
- package/src/components/Icons/Sources/Threshold.tsx +38 -0
- package/src/components/Icons/Sources/ThumbnailView.tsx +67 -0
- package/src/components/Icons/Sources/Tools.tsx +3659 -0
- package/src/components/Icons/Sources/Trash.tsx +17 -0
- package/src/components/Icons/Sources/Undo.tsx +51 -0
- package/src/components/Icons/Sources/Upload.tsx +29 -0
- package/src/components/Icons/Sources/ViewportViews.tsx +45 -0
- package/src/components/Icons/Sources/ViewportWindowLevel.tsx +58 -0
- package/src/components/Icons/Sources/WindowLevelAdvanced.tsx +30 -0
- package/src/components/Icons/index.ts +4 -0
- package/src/components/Icons/types.ts +3 -0
- package/src/components/Input/Input.tsx +25 -0
- package/src/components/Input/index.tsx +3 -0
- package/src/components/InputFilter/InputFilter.tsx +200 -0
- package/src/components/InputFilter/index.ts +2 -0
- package/src/components/InputMultiSelect/InputMultiSelect.tsx +370 -0
- package/src/components/InputMultiSelect/index.ts +1 -0
- package/src/components/InputNumber/InputNumber.tsx +439 -0
- package/src/components/InputNumber/index.ts +3 -0
- package/src/components/InvestigationalUseDialog/InvestigationalUseDialog.tsx +98 -0
- package/src/components/InvestigationalUseDialog/index.ts +3 -0
- package/src/components/Label/Label.tsx +24 -0
- package/src/components/Label/index.tsx +3 -0
- package/src/components/Labelling/LabellingFlow.tsx +92 -0
- package/src/components/Labelling/index.ts +2 -0
- package/src/components/LayoutSelector/LayoutSelector.tsx +345 -0
- package/src/components/LayoutSelector/index.ts +4 -0
- package/src/components/LineChart/LineChart.css +40 -0
- package/src/components/LineChart/LineChart.tsx +101 -0
- package/src/components/LineChart/d3LineChart/chart.ts +365 -0
- package/src/components/LineChart/d3LineChart/events.ts +149 -0
- package/src/components/LineChart/d3LineChart/index.ts +3 -0
- package/src/components/LineChart/d3LineChart/lineChart.ts +272 -0
- package/src/components/LineChart/index.ts +1 -0
- package/src/components/LoadingIndicatorProgress/LoadingIndicatorProgress.tsx +29 -0
- package/src/components/LoadingIndicatorProgress/index.ts +2 -0
- package/src/components/LoadingIndicatorTotalPercent/LoadingIndicatorTotalPercent.tsx +49 -0
- package/src/components/LoadingIndicatorTotalPercent/index.ts +2 -0
- package/src/components/MeasurementTable/MeasurementTable.tsx +144 -0
- package/src/components/MeasurementTable/index.js +3 -0
- package/src/components/Modal/Modal.tsx +44 -0
- package/src/components/NavBar/NavBar.tsx +32 -0
- package/src/components/NavBar/index.js +2 -0
- package/src/components/Numeric/Numeric.test.ts +124 -0
- package/src/components/Numeric/Numeric.tsx +576 -0
- package/src/components/Numeric/index.ts +3 -0
- package/src/components/OHIFDialogs/InputDialog.tsx +287 -0
- package/src/components/OHIFDialogs/PresetDialog.tsx +106 -0
- package/src/components/OHIFDialogs/index.ts +2 -0
- package/src/components/OHIFModals/AboutModal.tsx +114 -0
- package/src/components/OHIFModals/AppearanceModal.tsx +38 -0
- package/src/components/OHIFModals/ImageModal.tsx +251 -0
- package/src/components/OHIFModals/UserPreferencesModal.tsx +229 -0
- package/src/components/OHIFModals/index.ts +4 -0
- package/src/components/OHIFPanels/WindowLevel.tsx +162 -0
- package/src/components/OHIFPanels/WindowLevelHistogram.tsx +237 -0
- package/src/components/OHIFPanels/index.ts +3 -0
- package/src/components/OHIFPanels/types.ts +41 -0
- package/src/components/OHIFToolSettings/RowDoubleRange.tsx +67 -0
- package/src/components/OHIFToolSettings/RowInputRange.tsx +65 -0
- package/src/components/OHIFToolSettings/RowSegmentedControl.tsx +77 -0
- package/src/components/OHIFToolSettings/ToolSettings.tsx +253 -0
- package/src/components/OHIFToolSettings/index.ts +1 -0
- package/src/components/OHIFToolbox/ToolboxUI.tsx +104 -0
- package/src/components/OHIFToolbox/index.ts +1 -0
- package/src/components/Onboarding/Onboarding.css +48 -0
- package/src/components/Onboarding/Onboarding.tsx +58 -0
- package/src/components/Onboarding/index.ts +3 -0
- package/src/components/Onboarding/utilities.ts +91 -0
- package/src/components/PanelSection/PanelSection.tsx +70 -0
- package/src/components/PanelSection/index.ts +2 -0
- package/src/components/Popover/Popover.tsx +35 -0
- package/src/components/Popover/index.ts +3 -0
- package/src/components/ProgressDropdown/ProgressDiscreteBar.tsx +24 -0
- package/src/components/ProgressDropdown/ProgressDropdown.tsx +158 -0
- package/src/components/ProgressDropdown/ProgressItem.tsx +27 -0
- package/src/components/ProgressDropdown/ProgressItemDetail.tsx +89 -0
- package/src/components/ProgressDropdown/index.ts +1 -0
- package/src/components/ProgressDropdown/types.ts +9 -0
- package/src/components/ProgressLoadingBar/ProgressLoadingBar.css +26 -0
- package/src/components/ProgressLoadingBar/ProgressLoadingBar.tsx +32 -0
- package/src/components/ProgressLoadingBar/index.ts +2 -0
- package/src/components/Resizable/Resizable.tsx +43 -0
- package/src/components/Resizable/index.ts +3 -0
- package/src/components/ScrollArea/ScrollArea.tsx +127 -0
- package/src/components/ScrollArea/index.tsx +3 -0
- package/src/components/SegmentationTable/AddSegmentRow.tsx +78 -0
- package/src/components/SegmentationTable/AddSegmentationRow.tsx +56 -0
- package/src/components/SegmentationTable/SegmentStatistics.tsx +104 -0
- package/src/components/SegmentationTable/SegmentationCollapsed.tsx +211 -0
- package/src/components/SegmentationTable/SegmentationExpanded.tsx +173 -0
- package/src/components/SegmentationTable/SegmentationHeader.tsx +58 -0
- package/src/components/SegmentationTable/SegmentationLabel.tsx +27 -0
- package/src/components/SegmentationTable/SegmentationSegments.tsx +206 -0
- package/src/components/SegmentationTable/SegmentationTable.tsx +169 -0
- package/src/components/SegmentationTable/SegmentationTableConfig.tsx +194 -0
- package/src/components/SegmentationTable/contexts/SegmentStatisticsContext.tsx +45 -0
- package/src/components/SegmentationTable/contexts/SegmentationExpandedContext.tsx +45 -0
- package/src/components/SegmentationTable/contexts/SegmentationTableContext.tsx +148 -0
- package/src/components/SegmentationTable/contexts/index.ts +15 -0
- package/src/components/SegmentationTable/index.ts +24 -0
- package/src/components/Select/Select.tsx +167 -0
- package/src/components/Select/index.tsx +40 -0
- package/src/components/Separator/Separator.tsx +32 -0
- package/src/components/Separator/index.ts +3 -0
- package/src/components/Separator/index.tsx +3 -0
- package/src/components/SidePanel/SidePanel.tsx +479 -0
- package/src/components/SidePanel/index.ts +2 -0
- package/src/components/Slider/Slider.tsx +24 -0
- package/src/components/Slider/index.tsx +3 -0
- package/src/components/SmartScrollbar/SmartScrollbar.tsx +349 -0
- package/src/components/SmartScrollbar/SmartScrollbarEndpoints.tsx +82 -0
- package/src/components/SmartScrollbar/SmartScrollbarFill.tsx +54 -0
- package/src/components/SmartScrollbar/SmartScrollbarIndicator.tsx +59 -0
- package/src/components/SmartScrollbar/SmartScrollbarTrack.tsx +104 -0
- package/src/components/SmartScrollbar/defaultSmartScrollbarIndicatorConfig.tsx +48 -0
- package/src/components/SmartScrollbar/index.ts +11 -0
- package/src/components/SmartScrollbar/useByteArray.ts +146 -0
- package/src/components/SmartScrollbar/utils.test.ts +124 -0
- package/src/components/SmartScrollbar/utils.ts +168 -0
- package/src/components/Sonner/Sonner.tsx +31 -0
- package/src/components/Sonner/index.ts +4 -0
- package/src/components/StudyBrowser/StudyBrowser.tsx +89 -0
- package/src/components/StudyBrowser/index.ts +2 -0
- package/src/components/StudyBrowserSort/StudyBrowserSort.tsx +87 -0
- package/src/components/StudyBrowserSort/index.ts +3 -0
- package/src/components/StudyBrowserViewOptions/StudyBrowserViewOptions.tsx +50 -0
- package/src/components/StudyBrowserViewOptions/index.ts +3 -0
- package/src/components/StudyItem/StudyItem.tsx +100 -0
- package/src/components/StudyItem/index.ts +2 -0
- package/src/components/StudyList/columns/defaultColumns.tsx +258 -0
- package/src/components/StudyList/components/ActionCell.tsx +19 -0
- package/src/components/StudyList/components/Layout.tsx +206 -0
- package/src/components/StudyList/components/PreviewContainer.tsx +45 -0
- package/src/components/StudyList/components/PreviewContent.tsx +186 -0
- package/src/components/StudyList/components/PreviewHeader.tsx +5 -0
- package/src/components/StudyList/components/PreviewPatientSummary.tsx +224 -0
- package/src/components/StudyList/components/PreviewSeriesList.tsx +64 -0
- package/src/components/StudyList/components/PreviewToggleButton.tsx +69 -0
- package/src/components/StudyList/components/SettingsPopover.tsx +214 -0
- package/src/components/StudyList/components/Table.tsx +247 -0
- package/src/components/StudyList/components/WorkflowMenu.tsx +72 -0
- package/src/components/StudyList/components/WorkflowsProvider.tsx +169 -0
- package/src/components/StudyList/hooks/useDefaultWorkflow.ts +60 -0
- package/src/components/StudyList/index.ts +52 -0
- package/src/components/StudyList/types/types.ts +42 -0
- package/src/components/StudyList/utils/tokenizeModalities.ts +6 -0
- package/src/components/StudySummary/StudySummary.tsx +27 -0
- package/src/components/StudySummary/index.tsx +3 -0
- package/src/components/Switch/Switch.tsx +28 -0
- package/src/components/Switch/index.tsx +3 -0
- package/src/components/Table/Table.tsx +134 -0
- package/src/components/Table/index.ts +11 -0
- package/src/components/Tabs/Tabs.tsx +56 -0
- package/src/components/Tabs/index.ts +3 -0
- package/src/components/Tabs/index.tsx +3 -0
- package/src/components/ThemeWrapper/ThemeWrapper.tsx +5 -0
- package/src/components/ThemeWrapper/index.ts +1 -0
- package/src/components/Thumbnail/Thumbnail.test.ts +71 -0
- package/src/components/Thumbnail/Thumbnail.tsx +351 -0
- package/src/components/Thumbnail/index.ts +2 -0
- package/src/components/ThumbnailList/ThumbnailList.tsx +94 -0
- package/src/components/ThumbnailList/index.ts +2 -0
- package/src/components/Toggle/Toggle.tsx +45 -0
- package/src/components/Toggle/index.ts +3 -0
- package/src/components/Toggle/index.tsx +3 -0
- package/src/components/ToggleGroup/ToggleGroup.tsx +63 -0
- package/src/components/ToggleGroup/index.ts +3 -0
- package/src/components/ToolButton/ToolButton.tsx +134 -0
- package/src/components/ToolButton/ToolButtonList.tsx +243 -0
- package/src/components/ToolButton/index.ts +8 -0
- package/src/components/Tooltip/Tooltip.tsx +34 -0
- package/src/components/Tooltip/index.ts +3 -0
- package/src/components/Viewport/ImageScrollbar.module.css +89 -0
- package/src/components/Viewport/ImageScrollbar.tsx +71 -0
- package/src/components/Viewport/PatientInfo.tsx +126 -0
- package/src/components/Viewport/ViewportActionArrows.tsx +36 -0
- package/src/components/Viewport/ViewportActionBar.tsx +107 -0
- package/src/components/Viewport/ViewportActionButton.tsx +25 -0
- package/src/components/Viewport/ViewportActionCorners.tsx +171 -0
- package/src/components/Viewport/ViewportGrid.tsx +24 -0
- package/src/components/Viewport/ViewportOverlay.css +32 -0
- package/src/components/Viewport/ViewportOverlay.tsx +54 -0
- package/src/components/Viewport/ViewportPane.tsx +82 -0
- package/src/components/Viewport/index.ts +9 -0
- package/src/components/ViewportDialog/ViewportDialog.tsx +128 -0
- package/src/components/ViewportDialog/index.ts +2 -0
- package/src/components/index.ts +323 -0
- package/src/contextProviders/ActiveThemeProvider.tsx +204 -0
- package/src/contextProviders/CineProvider.tsx +98 -0
- package/src/contextProviders/DialogProvider.tsx +103 -0
- package/src/contextProviders/DragAndDropProvider.tsx +37 -0
- package/src/contextProviders/IconPresentationProvider.tsx +88 -0
- package/src/contextProviders/ImageViewerProvider.tsx +15 -0
- package/src/contextProviders/ManagedDialog.tsx +176 -0
- package/src/contextProviders/ModalProvider.tsx +102 -0
- package/src/contextProviders/NotificationProvider.tsx +246 -0
- package/src/contextProviders/UserAuthenticationProvider.tsx +118 -0
- package/src/contextProviders/ViewportDialogProvider.tsx +42 -0
- package/src/contextProviders/ViewportGridProvider.tsx +556 -0
- package/src/contextProviders/index.ts +26 -0
- package/src/hooks/index.ts +4 -0
- package/src/hooks/useDynamicMaxHeight.ts +105 -0
- package/src/hooks/useSessionStorage.test.js +103 -0
- package/src/hooks/useSessionStorage.tsx +71 -0
- package/src/index.ts +7 -0
- package/src/lib/utils.ts +6 -0
- package/src/tailwind.css +266 -0
- package/src/themes/arctic.json +31 -0
- package/src/themes/deep.json +31 -0
- package/src/themes/index.ts +16 -0
- package/src/themes/midnight.json +31 -0
- package/src/themes/orchid.json +31 -0
- package/src/themes/slate.json +31 -0
- package/src/themes/themes.css +206 -0
- package/src/themes/verdant.json +31 -0
- package/src/types/ActionCorners.ts +18 -0
- package/src/types/AppTypes.ts +24 -0
- package/src/types/ContextMenuItem.ts +9 -0
- package/src/types/Predicate.ts +1 -0
- package/src/types/ThumbnailType.ts +3 -0
- package/src/types/ViewportActionCornersTypes.ts +13 -0
- package/src/types/global.d.ts +4 -0
- package/src/types/index.ts +21 -0
- package/src/utils/formatDICOMDate.test.ts +61 -0
- package/src/utils/formatDICOMDate.ts +65 -0
- package/src/utils/formatDICOMTime.test.ts +62 -0
- package/src/utils/formatDICOMTime.ts +49 -0
- package/src/utils/getToggledClassName.tsx +5 -0
- package/src/utils/index.ts +15 -0
- package/src/utils/parseStudyDateTimestamp.test.ts +47 -0
- package/src/utils/parseStudyDateTimestamp.ts +27 -0
- package/src/utils/roundNumber.ts +43 -0
- package/tailwind.config.js +120 -0
|
@@ -0,0 +1,852 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Actions from './Sources/Actions';
|
|
3
|
+
import Add from './Sources/Add';
|
|
4
|
+
import Cancel from './Sources/Cancel';
|
|
5
|
+
import ChevronClosed from './Sources/ChevronClosed';
|
|
6
|
+
import ChevronOpen from './Sources/ChevronOpen';
|
|
7
|
+
import Code from './Sources/Code';
|
|
8
|
+
import ColorChange from './Sources/ColorChange';
|
|
9
|
+
import Controls from './Sources/Controls';
|
|
10
|
+
import Copy from './Sources/Copy';
|
|
11
|
+
import Delete from './Sources/Delete';
|
|
12
|
+
import DicomTagBrowser from './Sources/DicomTagBrowser';
|
|
13
|
+
import DisplayFillAndOutline from './Sources/DisplayFillAndOutline';
|
|
14
|
+
import DisplayFillOnly from './Sources/DisplayFillOnly';
|
|
15
|
+
import DisplayOutlineOnly from './Sources/DisplayOutlineOnly';
|
|
16
|
+
import Download from './Sources/Download';
|
|
17
|
+
import Export from './Sources/Export';
|
|
18
|
+
import EyeHidden from './Sources/EyeHidden';
|
|
19
|
+
import EyeVisible from './Sources/EyeVisible';
|
|
20
|
+
import FeedbackComplete from './Sources/FeedbackComplete';
|
|
21
|
+
import GearSettings from './Sources/GearSettings';
|
|
22
|
+
import Hide from './Sources/Hide';
|
|
23
|
+
import IconMPR from './Sources/IconMPR';
|
|
24
|
+
import Info from './Sources/Info';
|
|
25
|
+
import InfoLink from './Sources/InfoLink';
|
|
26
|
+
import InfoSeries from './Sources/InfoSeries';
|
|
27
|
+
import JumpToSlice from './Sources/JumpToSlice';
|
|
28
|
+
import ListView from './Sources/ListView';
|
|
29
|
+
import LoadingSpinner from './Sources/LoadingSpinner';
|
|
30
|
+
import Lock from './Sources/Lock';
|
|
31
|
+
import Minus from './Sources/Minus';
|
|
32
|
+
import MissingIcon from './Sources/MissingIcon';
|
|
33
|
+
import More from './Sources/More';
|
|
34
|
+
import MultiplePatients from './Sources/MultiplePatients';
|
|
35
|
+
import NavigationPanelReveal from './Sources/NavigationPanelReveal';
|
|
36
|
+
import OHIFLogo from './Sources/OHIFLogo';
|
|
37
|
+
import OHIFLogoHorizontal from './Sources/OHIFLogoHorizontal';
|
|
38
|
+
import Patient from './Sources/Patient';
|
|
39
|
+
import PatientStudyList from './Sources/PatientStudyList';
|
|
40
|
+
import Pin from './Sources/Pin';
|
|
41
|
+
import PinFill from './Sources/PinFill';
|
|
42
|
+
import Plus from './Sources/Plus';
|
|
43
|
+
import PowerOff from './Sources/PowerOff';
|
|
44
|
+
import Redo from './Sources/Redo';
|
|
45
|
+
import Refresh from './Sources/Refresh';
|
|
46
|
+
import Rename from './Sources/Rename';
|
|
47
|
+
import Series from './Sources/Series';
|
|
48
|
+
import SeriesPlaceholder from './Sources/SeriesPlaceholder';
|
|
49
|
+
import Settings from './Sources/Settings';
|
|
50
|
+
import Show from './Sources/Show';
|
|
51
|
+
import SidePanelCloseLeft from './Sources/SidePanelCloseLeft';
|
|
52
|
+
import SidePanelCloseRight from './Sources/SidePanelCloseRight';
|
|
53
|
+
import SortingAscending from './Sources/SortingAscending';
|
|
54
|
+
import SocialGithub from './Sources/SocialGithub';
|
|
55
|
+
import SortingDescending from './Sources/SortingDescending';
|
|
56
|
+
import SortingNew from './Sources/SortingNew';
|
|
57
|
+
import SortingNewAscending from './Sources/SortingNewAscending';
|
|
58
|
+
import SortingNewDescending from './Sources/SortingNewDescending';
|
|
59
|
+
import StatusError from './Sources/StatusError';
|
|
60
|
+
import StatusSuccess from './Sources/StatusSuccess';
|
|
61
|
+
import StatusTracking from './Sources/StatusTracking';
|
|
62
|
+
import StatusUntracked from './Sources/StatusUntracked';
|
|
63
|
+
import StatusWarning from './Sources/StatusWarning';
|
|
64
|
+
import Tab4D from './Sources/Tab4D';
|
|
65
|
+
import TabLinear from './Sources/TabLinear';
|
|
66
|
+
import TabPatientInfo from './Sources/TabPatientInfo';
|
|
67
|
+
import TabRoiThreshold from './Sources/TabRoiThreshold';
|
|
68
|
+
import TabSegmentation from './Sources/TabSegmentation';
|
|
69
|
+
import TabStudies from './Sources/TabStudies';
|
|
70
|
+
import ThumbnailView from './Sources/ThumbnailView';
|
|
71
|
+
import Trash from './Sources/Trash';
|
|
72
|
+
import ViewportViews from './Sources/ViewportViews';
|
|
73
|
+
import Sorting from './Sources/Sorting';
|
|
74
|
+
import Upload from './Sources/Upload';
|
|
75
|
+
import LaunchArrow from './Sources/LaunchArrow';
|
|
76
|
+
import LaunchInfo from './Sources/LaunchInfo';
|
|
77
|
+
import GroupLayers from './Sources/GroupLayers';
|
|
78
|
+
import Database from './Sources/Database';
|
|
79
|
+
import InvestigationalUse from './Sources/InvestigationalUse';
|
|
80
|
+
import IconTransferring from './Sources/IconTransferring';
|
|
81
|
+
import Alert from './Sources/Alert';
|
|
82
|
+
import AlertOutline from './Sources/AlertOutline';
|
|
83
|
+
import Clipboard from './Sources/Clipboard';
|
|
84
|
+
import Checked from './Sources/Checked';
|
|
85
|
+
import OrientationSwitch from './Sources/OrientationSwitch';
|
|
86
|
+
import OrientationSwitchA from './Sources/OrientationSwitchA';
|
|
87
|
+
import OrientationSwitchS from './Sources/OrientationSwitchS';
|
|
88
|
+
import OrientationSwitchC from './Sources/OrientationSwitchC';
|
|
89
|
+
import OrientationSwitchR from './Sources/OrientationSwitchR';
|
|
90
|
+
import LayerBackground from './Sources/LayerBackground';
|
|
91
|
+
import LayerForeground from './Sources/LayerForeground';
|
|
92
|
+
import LayerSegmentation from './Sources/LayerSegmentation';
|
|
93
|
+
import WindowLevelAdvanced from './Sources/WindowLevelAdvanced';
|
|
94
|
+
import Opacity from './Sources/Opacity';
|
|
95
|
+
import Threshold from './Sources/Threshold';
|
|
96
|
+
import {
|
|
97
|
+
Tool3DRotate,
|
|
98
|
+
ToolAngle,
|
|
99
|
+
ToolAnnotate,
|
|
100
|
+
ToolBidirectional,
|
|
101
|
+
ToolCalibrate,
|
|
102
|
+
ToolCapture,
|
|
103
|
+
ToolCine,
|
|
104
|
+
ToolCircle,
|
|
105
|
+
ToolCobbAngle,
|
|
106
|
+
ToolCreateThreshold,
|
|
107
|
+
ToolCrosshair,
|
|
108
|
+
ToolCrosshairChecked,
|
|
109
|
+
ToolDicomTagBrowser,
|
|
110
|
+
ToolFlipHorizontal,
|
|
111
|
+
ToolFreehandPolygon,
|
|
112
|
+
ToolFreehandRoi,
|
|
113
|
+
ToolFreehand,
|
|
114
|
+
ToolFusionColor,
|
|
115
|
+
ToolInvert,
|
|
116
|
+
ToolLayoutDefault,
|
|
117
|
+
ToolLength,
|
|
118
|
+
ToolMagneticRoi,
|
|
119
|
+
ToolMagnify,
|
|
120
|
+
ToolMeasureEllipse,
|
|
121
|
+
ToolMoreMenu,
|
|
122
|
+
ToolMove,
|
|
123
|
+
ToolPolygon,
|
|
124
|
+
ToolQuickMagnify,
|
|
125
|
+
ToolRectangle,
|
|
126
|
+
ToolReferenceLines,
|
|
127
|
+
ToolReset,
|
|
128
|
+
ToolRotateRight,
|
|
129
|
+
ToolSegBrush,
|
|
130
|
+
ToolSegEraser,
|
|
131
|
+
ToolSegShape,
|
|
132
|
+
ToolSegThreshold,
|
|
133
|
+
ToolSplineRoi,
|
|
134
|
+
ToolStackImageSync,
|
|
135
|
+
ToolStackScroll,
|
|
136
|
+
ToolToggleDicomOverlay,
|
|
137
|
+
ToolUltrasoundBidirectional,
|
|
138
|
+
ToolWindowLevel,
|
|
139
|
+
ToolWindowRegion,
|
|
140
|
+
ToolZoom,
|
|
141
|
+
ToolLayout,
|
|
142
|
+
ToolProbe,
|
|
143
|
+
ToolEraser,
|
|
144
|
+
ToolBrush,
|
|
145
|
+
ToolThreshold,
|
|
146
|
+
ToolShape,
|
|
147
|
+
ToolLabelmapAssist,
|
|
148
|
+
ToolPETSegment,
|
|
149
|
+
ToolInterpolation,
|
|
150
|
+
ToolBidirectionalSegment,
|
|
151
|
+
ToolSegmentAnything,
|
|
152
|
+
ToolContract,
|
|
153
|
+
ToolExpand,
|
|
154
|
+
ToolClickSegment,
|
|
155
|
+
ToolSegmentLabel,
|
|
156
|
+
ToolSculptor,
|
|
157
|
+
ToolLabelmapEditWithContour,
|
|
158
|
+
} from './Sources/Tools';
|
|
159
|
+
import ActionNewDialog from './Sources/ActionNewDialog';
|
|
160
|
+
import NotificationInfo from './Sources/NotificationInfo';
|
|
161
|
+
import StatusLocked from './Sources/StatusLocked';
|
|
162
|
+
import ContentPrev from './Sources/ContentPrev';
|
|
163
|
+
import ContentNext from './Sources/ContentNext';
|
|
164
|
+
import CheckBoxChecked from './Sources/CheckBoxChecked';
|
|
165
|
+
import CheckBoxUnchecked from './Sources/CheckBoxUnChecked';
|
|
166
|
+
import CloudSettings from './Sources/CloudSettings';
|
|
167
|
+
import Close from './Sources/Close';
|
|
168
|
+
import Pause from './Sources/Pause';
|
|
169
|
+
import Play from './Sources/Play';
|
|
170
|
+
import PanelRight from './Sources/PanelRight';
|
|
171
|
+
import ViewportWindowLevel from './Sources/ViewportWindowLevel';
|
|
172
|
+
import Search from './Sources/Search';
|
|
173
|
+
import Clear from './Sources/Clear';
|
|
174
|
+
import {
|
|
175
|
+
LayoutAdvanced3DOnly,
|
|
176
|
+
LayoutAdvanced3DPrimary,
|
|
177
|
+
LayoutAdvancedAxialPrimary,
|
|
178
|
+
LayoutAdvancedMPR,
|
|
179
|
+
LayoutCommon2x2,
|
|
180
|
+
LayoutCommon1x1,
|
|
181
|
+
LayoutCommon1x2,
|
|
182
|
+
LayoutCommon2x3,
|
|
183
|
+
LayoutAdvanced3DFourUp,
|
|
184
|
+
LayoutAdvanced3DMain,
|
|
185
|
+
} from './Sources/Layout';
|
|
186
|
+
import {
|
|
187
|
+
ActionsSmooth,
|
|
188
|
+
ActionsSimplify,
|
|
189
|
+
ActionsCombine,
|
|
190
|
+
ActionsCombineMerge,
|
|
191
|
+
ActionsCombineSubtract,
|
|
192
|
+
ActionsCombineIntersect,
|
|
193
|
+
ActionsSetting,
|
|
194
|
+
ActionsBidirectional,
|
|
195
|
+
ActionsInterpolate,
|
|
196
|
+
} from './Sources/SegActions';
|
|
197
|
+
import {
|
|
198
|
+
HelperCombineSubtract,
|
|
199
|
+
HelperCombineIntersect,
|
|
200
|
+
HelperCombineMerge,
|
|
201
|
+
} from './Sources/Helpers';
|
|
202
|
+
import Link from './Sources/Link';
|
|
203
|
+
import IconColorLUT from './Sources/IconColorLUT';
|
|
204
|
+
import CTAAA from '../../../assets/images/CT-AAA.png';
|
|
205
|
+
import CTAAA2 from '../../../assets/images/CT-AAA2.png';
|
|
206
|
+
import CTAir from '../../../assets/images/CT-Air.png';
|
|
207
|
+
import CTBone from '../../../assets/images/CT-Bone.png';
|
|
208
|
+
import CTBones from '../../../assets/images/CT-Bones.png';
|
|
209
|
+
import CTCardiac from '../../../assets/images/CT-Cardiac.png';
|
|
210
|
+
import CTCardiac2 from '../../../assets/images/CT-Cardiac2.png';
|
|
211
|
+
import CTCardiac3 from '../../../assets/images/CT-Cardiac3.png';
|
|
212
|
+
import CTChestContrastEnhanced from '../../../assets/images/CT-Chest-Contrast-Enhanced.png';
|
|
213
|
+
import CTChestVessels from '../../../assets/images/CT-Chest-Vessels.png';
|
|
214
|
+
import CTCoronaryArteries from '../../../assets/images/CT-Coronary-Arteries.png';
|
|
215
|
+
import CTCoronaryArteries2 from '../../../assets/images/CT-Coronary-Arteries-2.png';
|
|
216
|
+
import CTCoronaryArteries3 from '../../../assets/images/CT-Coronary-Arteries-3.png';
|
|
217
|
+
import CTCroppedVolumeBone from '../../../assets/images/CT-Cropped-Volume-Bone.png';
|
|
218
|
+
import CTFat from '../../../assets/images/CT-Fat.png';
|
|
219
|
+
import CTLiverVasculature from '../../../assets/images/CT-Liver-Vasculature.png';
|
|
220
|
+
import CTLung from '../../../assets/images/CT-Lung.png';
|
|
221
|
+
import CTMIP from '../../../assets/images/CT-MIP.png';
|
|
222
|
+
import CTMuscle from '../../../assets/images/CT-Muscle.png';
|
|
223
|
+
import CTPulmonaryArteries from '../../../assets/images/CT-Pulmonary-Arteries.png';
|
|
224
|
+
import CTSoftTissue from '../../../assets/images/CT-Soft-Tissue.png';
|
|
225
|
+
import DTIFABrain from '../../../assets/images/DTI-FA-Brain.png';
|
|
226
|
+
import MRAngio from '../../../assets/images/MR-Angio.png';
|
|
227
|
+
import MRDefault from '../../../assets/images/MR-Default.png';
|
|
228
|
+
import MRMIP from '../../../assets/images/MR-MIP.png';
|
|
229
|
+
import MRT2Brain from '../../../assets/images/MR-T2-Brain.png';
|
|
230
|
+
import VolumeRendering from '../../../assets/images/VolumeRendering.png';
|
|
231
|
+
import ExternalLink from './Sources/ExternalLink';
|
|
232
|
+
import OHIFLogoColorDarkBackground from './Sources/OHIFLogoColorDarkBackground';
|
|
233
|
+
import Magnifier from './Sources/Magnifier';
|
|
234
|
+
import LoadingOHIFMark from './Sources/LoadingOHIFMark';
|
|
235
|
+
import ArrowLeftBold from './Sources/ArrowLeftBold';
|
|
236
|
+
import Pencil from './Sources/Pencil';
|
|
237
|
+
import NotificationWarning from './Sources/NotificationWarning';
|
|
238
|
+
import ArrowRight from './Sources/ArrowRight';
|
|
239
|
+
import ChevronLeft from './Sources/ChevronLeft';
|
|
240
|
+
import StatusAlert from './Sources/StatusAlert';
|
|
241
|
+
import Undo from './Sources/Undo';
|
|
242
|
+
import TabContours from './Sources/TabContours';
|
|
243
|
+
import IllustrationNotFound from './Sources/IllustrationNotFound';
|
|
244
|
+
import SettingsStudyList from './Sources/SettingsStudyList';
|
|
245
|
+
//
|
|
246
|
+
//
|
|
247
|
+
type IconProps = React.HTMLAttributes<SVGElement>;
|
|
248
|
+
type ImageIconProps = React.ImgHTMLAttributes<HTMLImageElement>;
|
|
249
|
+
|
|
250
|
+
const ImageWrapper = ({ src, ...props }: { src: string } & ImageIconProps) => {
|
|
251
|
+
return (
|
|
252
|
+
<img
|
|
253
|
+
src={src}
|
|
254
|
+
{...props}
|
|
255
|
+
alt=""
|
|
256
|
+
/>
|
|
257
|
+
);
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
export const Icons = {
|
|
261
|
+
'CT-AAA': (props: ImageIconProps) => (
|
|
262
|
+
<ImageWrapper
|
|
263
|
+
src={CTAAA}
|
|
264
|
+
{...props}
|
|
265
|
+
/>
|
|
266
|
+
),
|
|
267
|
+
'CT-AAA2': (props: ImageIconProps) => (
|
|
268
|
+
<ImageWrapper
|
|
269
|
+
src={CTAAA2}
|
|
270
|
+
{...props}
|
|
271
|
+
/>
|
|
272
|
+
),
|
|
273
|
+
'CT-Air': (props: ImageIconProps) => (
|
|
274
|
+
<ImageWrapper
|
|
275
|
+
src={CTAir}
|
|
276
|
+
{...props}
|
|
277
|
+
/>
|
|
278
|
+
),
|
|
279
|
+
'CT-Bone': (props: ImageIconProps) => (
|
|
280
|
+
<ImageWrapper
|
|
281
|
+
src={CTBone}
|
|
282
|
+
{...props}
|
|
283
|
+
/>
|
|
284
|
+
),
|
|
285
|
+
'CT-Bones': (props: ImageIconProps) => (
|
|
286
|
+
<ImageWrapper
|
|
287
|
+
src={CTBones}
|
|
288
|
+
{...props}
|
|
289
|
+
/>
|
|
290
|
+
),
|
|
291
|
+
'CT-Cardiac': (props: ImageIconProps) => (
|
|
292
|
+
<ImageWrapper
|
|
293
|
+
src={CTCardiac}
|
|
294
|
+
{...props}
|
|
295
|
+
/>
|
|
296
|
+
),
|
|
297
|
+
'CT-Cardiac2': (props: ImageIconProps) => (
|
|
298
|
+
<ImageWrapper
|
|
299
|
+
src={CTCardiac2}
|
|
300
|
+
{...props}
|
|
301
|
+
/>
|
|
302
|
+
),
|
|
303
|
+
'CT-Cardiac3': (props: ImageIconProps) => (
|
|
304
|
+
<ImageWrapper
|
|
305
|
+
src={CTCardiac3}
|
|
306
|
+
{...props}
|
|
307
|
+
/>
|
|
308
|
+
),
|
|
309
|
+
'CT-Chest-Contrast-Enhanced': (props: ImageIconProps) => (
|
|
310
|
+
<ImageWrapper
|
|
311
|
+
src={CTChestContrastEnhanced}
|
|
312
|
+
{...props}
|
|
313
|
+
/>
|
|
314
|
+
),
|
|
315
|
+
'CT-Chest-Vessels': (props: ImageIconProps) => (
|
|
316
|
+
<ImageWrapper
|
|
317
|
+
src={CTChestVessels}
|
|
318
|
+
{...props}
|
|
319
|
+
/>
|
|
320
|
+
),
|
|
321
|
+
'CT-Coronary-Arteries': (props: ImageIconProps) => (
|
|
322
|
+
<ImageWrapper
|
|
323
|
+
src={CTCoronaryArteries}
|
|
324
|
+
{...props}
|
|
325
|
+
/>
|
|
326
|
+
),
|
|
327
|
+
'CT-Coronary-Arteries-2': (props: ImageIconProps) => (
|
|
328
|
+
<ImageWrapper
|
|
329
|
+
src={CTCoronaryArteries2}
|
|
330
|
+
{...props}
|
|
331
|
+
/>
|
|
332
|
+
),
|
|
333
|
+
'CT-Coronary-Arteries-3': (props: ImageIconProps) => (
|
|
334
|
+
<ImageWrapper
|
|
335
|
+
src={CTCoronaryArteries3}
|
|
336
|
+
{...props}
|
|
337
|
+
/>
|
|
338
|
+
),
|
|
339
|
+
'CT-Cropped-Volume-Bone': (props: ImageIconProps) => (
|
|
340
|
+
<ImageWrapper
|
|
341
|
+
src={CTCroppedVolumeBone}
|
|
342
|
+
{...props}
|
|
343
|
+
/>
|
|
344
|
+
),
|
|
345
|
+
'CT-Fat': (props: ImageIconProps) => (
|
|
346
|
+
<ImageWrapper
|
|
347
|
+
src={CTFat}
|
|
348
|
+
{...props}
|
|
349
|
+
/>
|
|
350
|
+
),
|
|
351
|
+
'CT-Liver-Vasculature': (props: ImageIconProps) => (
|
|
352
|
+
<ImageWrapper
|
|
353
|
+
src={CTLiverVasculature}
|
|
354
|
+
{...props}
|
|
355
|
+
/>
|
|
356
|
+
),
|
|
357
|
+
'CT-Lung': (props: ImageIconProps) => (
|
|
358
|
+
<ImageWrapper
|
|
359
|
+
src={CTLung}
|
|
360
|
+
{...props}
|
|
361
|
+
/>
|
|
362
|
+
),
|
|
363
|
+
'CT-MIP': (props: ImageIconProps) => (
|
|
364
|
+
<ImageWrapper
|
|
365
|
+
src={CTMIP}
|
|
366
|
+
{...props}
|
|
367
|
+
/>
|
|
368
|
+
),
|
|
369
|
+
'CT-Muscle': (props: ImageIconProps) => (
|
|
370
|
+
<ImageWrapper
|
|
371
|
+
src={CTMuscle}
|
|
372
|
+
{...props}
|
|
373
|
+
/>
|
|
374
|
+
),
|
|
375
|
+
'CT-Pulmonary-Arteries': (props: ImageIconProps) => (
|
|
376
|
+
<ImageWrapper
|
|
377
|
+
src={CTPulmonaryArteries}
|
|
378
|
+
{...props}
|
|
379
|
+
/>
|
|
380
|
+
),
|
|
381
|
+
'CT-Soft-Tissue': (props: ImageIconProps) => (
|
|
382
|
+
<ImageWrapper
|
|
383
|
+
src={CTSoftTissue}
|
|
384
|
+
{...props}
|
|
385
|
+
/>
|
|
386
|
+
),
|
|
387
|
+
'DTI-FA-Brain': (props: ImageIconProps) => (
|
|
388
|
+
<ImageWrapper
|
|
389
|
+
src={DTIFABrain}
|
|
390
|
+
{...props}
|
|
391
|
+
/>
|
|
392
|
+
),
|
|
393
|
+
'MR-Angio': (props: ImageIconProps) => (
|
|
394
|
+
<ImageWrapper
|
|
395
|
+
src={MRAngio}
|
|
396
|
+
{...props}
|
|
397
|
+
/>
|
|
398
|
+
),
|
|
399
|
+
'MR-Default': (props: ImageIconProps) => (
|
|
400
|
+
<ImageWrapper
|
|
401
|
+
src={MRDefault}
|
|
402
|
+
{...props}
|
|
403
|
+
/>
|
|
404
|
+
),
|
|
405
|
+
'MR-MIP': (props: ImageIconProps) => (
|
|
406
|
+
<ImageWrapper
|
|
407
|
+
src={MRMIP}
|
|
408
|
+
{...props}
|
|
409
|
+
/>
|
|
410
|
+
),
|
|
411
|
+
'MR-T2-Brain': (props: ImageIconProps) => (
|
|
412
|
+
<ImageWrapper
|
|
413
|
+
src={MRT2Brain}
|
|
414
|
+
{...props}
|
|
415
|
+
/>
|
|
416
|
+
),
|
|
417
|
+
VolumeRendering: (props: ImageIconProps) => (
|
|
418
|
+
<ImageWrapper
|
|
419
|
+
src={VolumeRendering}
|
|
420
|
+
{...props}
|
|
421
|
+
/>
|
|
422
|
+
),
|
|
423
|
+
// Icons
|
|
424
|
+
LayerBackground,
|
|
425
|
+
LayerForeground,
|
|
426
|
+
LayerSegmentation,
|
|
427
|
+
OrientationSwitch,
|
|
428
|
+
OrientationSwitchA,
|
|
429
|
+
OrientationSwitchS,
|
|
430
|
+
OrientationSwitchC,
|
|
431
|
+
OrientationSwitchR,
|
|
432
|
+
Checked,
|
|
433
|
+
Clipboard,
|
|
434
|
+
CloudSettings,
|
|
435
|
+
ActionNewDialog,
|
|
436
|
+
GroupLayers,
|
|
437
|
+
Database,
|
|
438
|
+
InvestigationalUse,
|
|
439
|
+
Tool3DRotate,
|
|
440
|
+
ToolAngle,
|
|
441
|
+
ToolAnnotate,
|
|
442
|
+
ToolBidirectional,
|
|
443
|
+
ToolCalibrate,
|
|
444
|
+
ToolCapture,
|
|
445
|
+
ToolCine,
|
|
446
|
+
ToolCircle,
|
|
447
|
+
ToolCobbAngle,
|
|
448
|
+
ToolCreateThreshold,
|
|
449
|
+
ToolCrosshair,
|
|
450
|
+
ToolCrosshairChecked,
|
|
451
|
+
ToolDicomTagBrowser,
|
|
452
|
+
ToolFlipHorizontal,
|
|
453
|
+
ToolFreehandPolygon,
|
|
454
|
+
ToolFreehandRoi,
|
|
455
|
+
ToolFreehand,
|
|
456
|
+
ToolFusionColor,
|
|
457
|
+
ToolInvert,
|
|
458
|
+
ToolLayoutDefault,
|
|
459
|
+
ToolLength,
|
|
460
|
+
ToolMagneticRoi,
|
|
461
|
+
ToolMagnify,
|
|
462
|
+
ToolMeasureEllipse,
|
|
463
|
+
ToolMoreMenu,
|
|
464
|
+
ToolMove,
|
|
465
|
+
ToolPolygon,
|
|
466
|
+
ToolQuickMagnify,
|
|
467
|
+
ToolRectangle,
|
|
468
|
+
ToolReferenceLines,
|
|
469
|
+
ToolReset,
|
|
470
|
+
ToolRotateRight,
|
|
471
|
+
ToolSegBrush,
|
|
472
|
+
ToolSegEraser,
|
|
473
|
+
ToolSegShape,
|
|
474
|
+
ToolSegThreshold,
|
|
475
|
+
ToolSplineRoi,
|
|
476
|
+
ToolStackImageSync,
|
|
477
|
+
ToolStackScroll,
|
|
478
|
+
ToolToggleDicomOverlay,
|
|
479
|
+
ToolUltrasoundBidirectional,
|
|
480
|
+
ToolWindowLevel,
|
|
481
|
+
ToolWindowRegion,
|
|
482
|
+
ToolZoom,
|
|
483
|
+
LaunchArrow,
|
|
484
|
+
LaunchInfo,
|
|
485
|
+
Upload,
|
|
486
|
+
Actions,
|
|
487
|
+
Add,
|
|
488
|
+
Cancel,
|
|
489
|
+
Code,
|
|
490
|
+
ColorChange,
|
|
491
|
+
Controls,
|
|
492
|
+
Copy,
|
|
493
|
+
Delete,
|
|
494
|
+
DicomTagBrowser,
|
|
495
|
+
DisplayFillAndOutline,
|
|
496
|
+
DisplayFillOnly,
|
|
497
|
+
DisplayOutlineOnly,
|
|
498
|
+
FillAndOutline: DisplayFillAndOutline,
|
|
499
|
+
FillOnly: DisplayFillOnly,
|
|
500
|
+
OutlineOnly: DisplayOutlineOnly,
|
|
501
|
+
Download,
|
|
502
|
+
Export,
|
|
503
|
+
EyeHidden,
|
|
504
|
+
EyeVisible,
|
|
505
|
+
FeedbackComplete,
|
|
506
|
+
GearSettings,
|
|
507
|
+
Hide,
|
|
508
|
+
IconMPR,
|
|
509
|
+
Info,
|
|
510
|
+
InfoLink,
|
|
511
|
+
InfoSeries,
|
|
512
|
+
ListView,
|
|
513
|
+
LoadingSpinner,
|
|
514
|
+
Lock,
|
|
515
|
+
Minus,
|
|
516
|
+
MissingIcon,
|
|
517
|
+
More,
|
|
518
|
+
MultiplePatients,
|
|
519
|
+
NavigationPanelReveal,
|
|
520
|
+
OHIFLogo,
|
|
521
|
+
OHIFLogoHorizontal,
|
|
522
|
+
Patient,
|
|
523
|
+
PatientStudyList,
|
|
524
|
+
Pin,
|
|
525
|
+
PinFill,
|
|
526
|
+
Plus,
|
|
527
|
+
PowerOff,
|
|
528
|
+
Refresh,
|
|
529
|
+
Rename,
|
|
530
|
+
Series,
|
|
531
|
+
SeriesPlaceholder,
|
|
532
|
+
Settings,
|
|
533
|
+
SettingsStudyList,
|
|
534
|
+
Show,
|
|
535
|
+
SidePanelCloseLeft,
|
|
536
|
+
SidePanelCloseRight,
|
|
537
|
+
PanelRight,
|
|
538
|
+
SocialGithub,
|
|
539
|
+
SortingAscending,
|
|
540
|
+
SortingDescending,
|
|
541
|
+
Sorting,
|
|
542
|
+
SortingNew,
|
|
543
|
+
SortingNewAscending,
|
|
544
|
+
SortingNewDescending,
|
|
545
|
+
StatusError,
|
|
546
|
+
StatusSuccess,
|
|
547
|
+
StatusTracking,
|
|
548
|
+
StatusWarning,
|
|
549
|
+
StatusUntracked,
|
|
550
|
+
Tab4D,
|
|
551
|
+
TabLinear,
|
|
552
|
+
TabPatientInfo,
|
|
553
|
+
TabRoiThreshold,
|
|
554
|
+
TabSegmentation,
|
|
555
|
+
TabStudies,
|
|
556
|
+
ThumbnailView,
|
|
557
|
+
Trash,
|
|
558
|
+
ViewportViews,
|
|
559
|
+
ChevronClosed,
|
|
560
|
+
ChevronOpen,
|
|
561
|
+
ChevronRight: (props: IconProps) => {
|
|
562
|
+
return (
|
|
563
|
+
<ChevronLeft
|
|
564
|
+
{...props}
|
|
565
|
+
className={`${props.className || ''} rotate-180`.trim()}
|
|
566
|
+
/>
|
|
567
|
+
);
|
|
568
|
+
},
|
|
569
|
+
ChevronLeft,
|
|
570
|
+
ChevronDown: (props: IconProps) => {
|
|
571
|
+
return (
|
|
572
|
+
<ChevronLeft
|
|
573
|
+
{...props}
|
|
574
|
+
className={`${props.className || ''} -rotate-90`.trim()}
|
|
575
|
+
/>
|
|
576
|
+
);
|
|
577
|
+
},
|
|
578
|
+
Alert,
|
|
579
|
+
AlertOutline,
|
|
580
|
+
NotificationInfo,
|
|
581
|
+
StatusLocked,
|
|
582
|
+
ContentPrev,
|
|
583
|
+
ContentNext,
|
|
584
|
+
CheckBoxChecked,
|
|
585
|
+
CheckBoxUnchecked,
|
|
586
|
+
Close,
|
|
587
|
+
Pause,
|
|
588
|
+
Play,
|
|
589
|
+
Link,
|
|
590
|
+
LoadingOHIFMark,
|
|
591
|
+
ArrowLeft: ChevronClosed,
|
|
592
|
+
ArrowRight,
|
|
593
|
+
ArrowLeftBold,
|
|
594
|
+
ArrowRightBold: (props: IconProps) => {
|
|
595
|
+
return (
|
|
596
|
+
<ArrowLeftBold
|
|
597
|
+
{...props}
|
|
598
|
+
className={`${props.className || ''} rotate-180`.trim()}
|
|
599
|
+
/>
|
|
600
|
+
);
|
|
601
|
+
},
|
|
602
|
+
ArrowDown: (props: IconProps) => {
|
|
603
|
+
return (
|
|
604
|
+
<ChevronOpen
|
|
605
|
+
{...props}
|
|
606
|
+
className={`${props.className || ''} -rotate-90`.trim()}
|
|
607
|
+
/>
|
|
608
|
+
);
|
|
609
|
+
},
|
|
610
|
+
ViewportWindowLevel,
|
|
611
|
+
Search,
|
|
612
|
+
Clear,
|
|
613
|
+
LayoutCommon2x3,
|
|
614
|
+
LayoutCommon2x2,
|
|
615
|
+
LayoutCommon1x1,
|
|
616
|
+
LayoutCommon1x2,
|
|
617
|
+
LayoutAdvanced3DFourUp,
|
|
618
|
+
LayoutAdvanced3DMain,
|
|
619
|
+
LayoutAdvanced3DOnly,
|
|
620
|
+
LayoutAdvanced3DPrimary,
|
|
621
|
+
LayoutAdvancedAxialPrimary,
|
|
622
|
+
LayoutAdvancedMPR,
|
|
623
|
+
ToolLayout,
|
|
624
|
+
IconColorLUT,
|
|
625
|
+
ToolEraser,
|
|
626
|
+
ToolBrush,
|
|
627
|
+
ToolThreshold,
|
|
628
|
+
ToolShape,
|
|
629
|
+
ToolLabelmapAssist,
|
|
630
|
+
ToolSegmentAnything,
|
|
631
|
+
ToolPETSegment,
|
|
632
|
+
ToolInterpolation,
|
|
633
|
+
ToolBidirectionalSegment,
|
|
634
|
+
ToolContract,
|
|
635
|
+
ToolExpand,
|
|
636
|
+
ExternalLink,
|
|
637
|
+
OHIFLogoColorDarkBackground,
|
|
638
|
+
Magnifier,
|
|
639
|
+
Pencil,
|
|
640
|
+
WindowLevelAdvanced,
|
|
641
|
+
Opacity,
|
|
642
|
+
Threshold,
|
|
643
|
+
ActionsSmooth,
|
|
644
|
+
ActionsSimplify,
|
|
645
|
+
ActionsCombine,
|
|
646
|
+
ActionsCombineMerge,
|
|
647
|
+
ActionsCombineSubtract,
|
|
648
|
+
ActionsCombineIntersect,
|
|
649
|
+
ActionsSetting,
|
|
650
|
+
ActionsBidirectional,
|
|
651
|
+
ActionsInterpolate,
|
|
652
|
+
HelperCombineSubtract,
|
|
653
|
+
HelperCombineIntersect,
|
|
654
|
+
HelperCombineMerge,
|
|
655
|
+
//
|
|
656
|
+
//
|
|
657
|
+
//
|
|
658
|
+
//
|
|
659
|
+
//
|
|
660
|
+
//
|
|
661
|
+
//
|
|
662
|
+
//
|
|
663
|
+
//
|
|
664
|
+
// Aliases
|
|
665
|
+
'prev-arrow': (props: IconProps) => Icons.ArrowLeftBold(props),
|
|
666
|
+
'next-arrow': (props: IconProps) => Icons.ArrowRightBold(props),
|
|
667
|
+
'loading-ohif-mark': (props: IconProps) => LoadingOHIFMark(props),
|
|
668
|
+
magnifier: (props: IconProps) => Magnifier(props),
|
|
669
|
+
'status-alert-warning': (props: IconProps) => StatusWarning(props),
|
|
670
|
+
'logo-dark-background': (props: IconProps) => OHIFLogoColorDarkBackground(props),
|
|
671
|
+
'ohif-logo-horizontal': (props: IconProps) => OHIFLogoHorizontal(props),
|
|
672
|
+
'external-link': (props: IconProps) => ExternalLink(props),
|
|
673
|
+
'checkbox-checked': (props: IconProps) => CheckBoxChecked(props),
|
|
674
|
+
'checkbox-unchecked': (props: IconProps) => CheckBoxUnchecked(props),
|
|
675
|
+
'checkbox-default': (props: IconProps) => CheckBoxUnchecked(props),
|
|
676
|
+
'checkbox-active': (props: IconProps) => CheckBoxChecked(props),
|
|
677
|
+
'icon-tool-eraser': (props: IconProps) => ToolEraser(props),
|
|
678
|
+
'icon-tool-brush': (props: IconProps) => ToolBrush(props),
|
|
679
|
+
'icon-labelmap-slice-propagation': (props: IconProps) => ToolLabelmapAssist(props),
|
|
680
|
+
'icon-marker-labelmap': (props: IconProps) => ToolSegmentAnything(props),
|
|
681
|
+
'icon-tool-threshold': (props: IconProps) => ToolThreshold(props),
|
|
682
|
+
'icon-tool-click-segment': (props: IconProps) => ToolClickSegment(props),
|
|
683
|
+
'icon-tool-pet-segment': (props: IconProps) => ToolPETSegment(props),
|
|
684
|
+
'icon-tool-interpolation': (props: IconProps) => ToolInterpolation(props),
|
|
685
|
+
'icon-tool-bidirectional-segment': (props: IconProps) => ToolBidirectionalSegment(props),
|
|
686
|
+
'icon-tool-expand': (props: IconProps) => ToolExpand(props),
|
|
687
|
+
'icon-tool-contract': (props: IconProps) => ToolContract(props),
|
|
688
|
+
'icon-tool-shape': (props: IconProps) => ToolShape(props),
|
|
689
|
+
link: (props: IconProps) => Link(props),
|
|
690
|
+
'icon-color-lut': (props: IconProps) => IconColorLUT(props),
|
|
691
|
+
'icon-link': (props: IconProps) => Link(props),
|
|
692
|
+
'icon-clear': (props: IconProps) => Clear(props),
|
|
693
|
+
'icon-search': (props: IconProps) => Search(props),
|
|
694
|
+
'viewport-window-level': (props: IconProps) => ViewportWindowLevel(props),
|
|
695
|
+
'action-new-dialog': (props: IconProps) => ActionNewDialog(props),
|
|
696
|
+
'arrow-left': (props: IconProps) => Icons.ArrowLeft(props),
|
|
697
|
+
'arrow-right': (props: IconProps) => Icons.ArrowRight(props),
|
|
698
|
+
'arrow-down': (props: IconProps) => Icons.ArrowDown(props),
|
|
699
|
+
'status-tracked': (props: IconProps) => StatusTracking(props),
|
|
700
|
+
'status-untracked': (props: IconProps) => StatusUntracked(props),
|
|
701
|
+
'status-locked': (props: IconProps) => StatusLocked(props),
|
|
702
|
+
'tab-contours': (props: IconProps) => TabContours(props),
|
|
703
|
+
TabContours: (props: IconProps) => TabContours(props),
|
|
704
|
+
'tab-segmentation': (props: IconProps) => TabSegmentation(props),
|
|
705
|
+
'tab-studies': (props: IconProps) => TabStudies(props),
|
|
706
|
+
'tab-linear': (props: IconProps) => TabLinear(props),
|
|
707
|
+
'tab-4d': (props: IconProps) => Tab4D(props),
|
|
708
|
+
'tab-patient-info': (props: IconProps) => TabPatientInfo(props),
|
|
709
|
+
'tab-roi-threshold': (props: IconProps) => TabRoiThreshold(props),
|
|
710
|
+
'icon-mpr': (props: IconProps) => IconMPR(props),
|
|
711
|
+
'power-off': (props: IconProps) => PowerOff(props),
|
|
712
|
+
'icon-multiple-patients': (props: IconProps) => MultiplePatients(props),
|
|
713
|
+
'icon-patient': (props: IconProps) => Patient(props),
|
|
714
|
+
'panel-right': (props: IconProps) => PanelRight(props),
|
|
715
|
+
'chevron-down': (props: IconProps) => ChevronOpen(props),
|
|
716
|
+
'tool-length': (props: IconProps) => ToolLength(props),
|
|
717
|
+
'tool-3d-rotate': (props: IconProps) => Tool3DRotate(props),
|
|
718
|
+
'tool-angle': (props: IconProps) => ToolAngle(props),
|
|
719
|
+
'tool-annotate': (props: IconProps) => ToolAnnotate(props),
|
|
720
|
+
'tool-bidirectional': (props: IconProps) => ToolBidirectional(props),
|
|
721
|
+
'tool-calibration': (props: IconProps) => ToolCalibrate(props),
|
|
722
|
+
'tool-capture': (props: IconProps) => ToolCapture(props),
|
|
723
|
+
'tool-cine': (props: IconProps) => ToolCine(props),
|
|
724
|
+
'tool-circle': (props: IconProps) => ToolCircle(props),
|
|
725
|
+
'tool-cobb-angle': (props: IconProps) => ToolCobbAngle(props),
|
|
726
|
+
'tool-create-threshold': (props: IconProps) => ToolCreateThreshold(props),
|
|
727
|
+
'tool-crosshair': (props: IconProps) => ToolCrosshair(props),
|
|
728
|
+
'tool-crosshair-checked': (props: IconProps) => ToolCrosshairChecked(props),
|
|
729
|
+
'dicom-tag-browser': (props: IconProps) => ToolDicomTagBrowser(props),
|
|
730
|
+
'tool-flip-horizontal': (props: IconProps) => ToolFlipHorizontal(props),
|
|
731
|
+
'tool-freehand-polygon': (props: IconProps) => ToolFreehandPolygon(props),
|
|
732
|
+
'tool-freehand-roi': (props: IconProps) => ToolFreehandRoi(props),
|
|
733
|
+
'icon-tool-freehand-roi': (props: IconProps) => ToolFreehandRoi(props),
|
|
734
|
+
'icon-tool-spline-roi': (props: IconProps) => ToolSplineRoi(props),
|
|
735
|
+
'tool-freehand': (props: IconProps) => ToolFreehand(props),
|
|
736
|
+
'tool-fusion-color': (props: IconProps) => ToolFusionColor(props),
|
|
737
|
+
'tool-invert': (props: IconProps) => ToolInvert(props),
|
|
738
|
+
'tool-layout-default': (props: IconProps) => ToolLayoutDefault(props),
|
|
739
|
+
'tool-magnetic-roi': (props: IconProps) => ToolMagneticRoi(props),
|
|
740
|
+
'icon-tool-livewire': (props: IconProps) => ToolMagneticRoi(props),
|
|
741
|
+
'tool-magnify': (props: IconProps) => ToolMagnify(props),
|
|
742
|
+
'tool-measure-ellipse': (props: IconProps) => ToolMeasureEllipse(props),
|
|
743
|
+
'tool-more-menu': (props: IconProps) => ToolMoreMenu(props),
|
|
744
|
+
'tool-move': (props: IconProps) => ToolMove(props),
|
|
745
|
+
'tool-polygon': (props: IconProps) => ToolPolygon(props),
|
|
746
|
+
'tool-ellipse': (props: IconProps) => ToolMeasureEllipse(props),
|
|
747
|
+
'tool-quick-magnify': (props: IconProps) => ToolQuickMagnify(props),
|
|
748
|
+
'tool-rectangle': (props: IconProps) => ToolRectangle(props),
|
|
749
|
+
'tool-referenceLines': (props: IconProps) => ToolReferenceLines(props),
|
|
750
|
+
'tool-reset': (props: IconProps) => ToolReset(props),
|
|
751
|
+
'tool-rotate-right': (props: IconProps) => ToolRotateRight(props),
|
|
752
|
+
'icon-tool-sculptor': (props: IconProps) => ToolSculptor(props),
|
|
753
|
+
'tool-seg-brush': (props: IconProps) => ToolSegBrush(props),
|
|
754
|
+
'tool-seg-eraser': (props: IconProps) => ToolSegEraser(props),
|
|
755
|
+
'tool-seg-shape': (props: IconProps) => ToolSegShape(props),
|
|
756
|
+
'tool-seg-threshold': (props: IconProps) => ToolSegThreshold(props),
|
|
757
|
+
'tool-spline-roi': (props: IconProps) => ToolSplineRoi(props),
|
|
758
|
+
'tool-stack-image-sync': (props: IconProps) => ToolStackImageSync(props),
|
|
759
|
+
'tool-stack-scroll': (props: IconProps) => ToolStackScroll(props),
|
|
760
|
+
'toggle-dicom-overlay': (props: IconProps) => ToolToggleDicomOverlay(props),
|
|
761
|
+
'tool-ultrasound-bidirectional': (props: IconProps) => ToolUltrasoundBidirectional(props),
|
|
762
|
+
'tool-window-level': (props: IconProps) => ToolWindowLevel(props),
|
|
763
|
+
'tool-window-region': (props: IconProps) => ToolWindowRegion(props),
|
|
764
|
+
'tool-segment-label': (props: IconProps) => ToolSegmentLabel(props),
|
|
765
|
+
'icon-tool-window-region': (props: IconProps) => ToolWindowRegion(props),
|
|
766
|
+
'icon-tool-ultrasound-bidirectional': (props: IconProps) => ToolUltrasoundBidirectional(props),
|
|
767
|
+
'icon-tool-cobb-angle': (props: IconProps) => ToolCobbAngle(props),
|
|
768
|
+
'icon-tool-loupe': (props: IconProps) => ToolMagnify(props),
|
|
769
|
+
'tool-probe': (props: IconProps) => ToolProbe(props),
|
|
770
|
+
'icon-tool-probe': (props: IconProps) => ToolProbe(props),
|
|
771
|
+
'tool-zoom': (props: IconProps) => ToolZoom(props),
|
|
772
|
+
'tool-layout': (props: IconProps) => ToolLayout(props),
|
|
773
|
+
'icon-transferring': (props: IconProps) => IconTransferring(props),
|
|
774
|
+
'icon-alert-small': (props: IconProps) => Alert(props),
|
|
775
|
+
'icon-alert-outline': (props: IconProps) => AlertOutline(props),
|
|
776
|
+
'status-alert': (props: IconProps) => StatusAlert(props),
|
|
777
|
+
info: (props: IconProps) => Info(props),
|
|
778
|
+
'notifications-info': (props: IconProps) => NotificationInfo(props),
|
|
779
|
+
'notificationwarning-diamond': (props: IconProps) => NotificationWarning(props),
|
|
780
|
+
'content-prev': (props: IconProps) => ContentPrev(props),
|
|
781
|
+
'content-next': (props: IconProps) => ContentNext(props),
|
|
782
|
+
'icon-settings': (props: IconProps) => Settings(props),
|
|
783
|
+
'settings-study-list': (props: IconProps) => SettingsStudyList(props),
|
|
784
|
+
'cloud-settings': (props: IconProps) => CloudSettings(props),
|
|
785
|
+
close: (props: IconProps) => Close(props),
|
|
786
|
+
pause: (props: IconProps) => Pause(props),
|
|
787
|
+
'icon-pause': (props: IconProps) => Pause(props),
|
|
788
|
+
settings: (props: IconProps) => Settings(props),
|
|
789
|
+
play: (props: IconProps) => Play(props),
|
|
790
|
+
'icon-play': (props: IconProps) => Play(props),
|
|
791
|
+
'layout-advanced-3d-four-up': (props: IconProps) => LayoutAdvanced3DFourUp(props),
|
|
792
|
+
'layout-advanced-3d-main': (props: IconProps) => LayoutAdvanced3DMain(props),
|
|
793
|
+
'layout-advanced-3d-only': (props: IconProps) => LayoutAdvanced3DOnly(props),
|
|
794
|
+
'layout-advanced-3d-primary': (props: IconProps) => LayoutAdvanced3DPrimary(props),
|
|
795
|
+
'layout-advanced-axial-primary': (props: IconProps) => LayoutAdvancedAxialPrimary(props),
|
|
796
|
+
'layout-advanced-mpr': (props: IconProps) => LayoutAdvancedMPR(props),
|
|
797
|
+
'layout-common-1x1': (props: IconProps) => LayoutCommon1x1(props),
|
|
798
|
+
'layout-common-1x2': (props: IconProps) => LayoutCommon1x2(props),
|
|
799
|
+
'layout-common-2x2': (props: IconProps) => LayoutCommon2x2(props),
|
|
800
|
+
'layout-common-2x3': (props: IconProps) => LayoutCommon2x3(props),
|
|
801
|
+
pencil: (props: IconProps) => Pencil(props),
|
|
802
|
+
'icon-list-view': (props: IconProps) => ListView(props),
|
|
803
|
+
'chevron-menu': 'chevron-down',
|
|
804
|
+
'icon-status-alert': (props: IconProps) => Alert(props),
|
|
805
|
+
'info-link': (props: IconProps) => InfoLink(props),
|
|
806
|
+
'launch-info': (props: IconProps) => LaunchInfo(props),
|
|
807
|
+
'old-trash': (props: IconProps) => Trash(props),
|
|
808
|
+
'tool-point': (props: IconProps) => ToolCircle(props),
|
|
809
|
+
'tool-freehand-line': (props: IconProps) => ToolFreehand(props),
|
|
810
|
+
'tool-labelmap-edit-with-contour': (props: IconProps) => ToolLabelmapEditWithContour(props),
|
|
811
|
+
'actions-smooth': (props: IconProps) => ActionsSmooth(props),
|
|
812
|
+
'actions-simplify': (props: IconProps) => ActionsSimplify(props),
|
|
813
|
+
'actions-combine': (props: IconProps) => ActionsCombine(props),
|
|
814
|
+
'actions-combine-merge': (props: IconProps) => ActionsCombineMerge(props),
|
|
815
|
+
'actions-combine-subtract': (props: IconProps) => ActionsCombineSubtract(props),
|
|
816
|
+
'actions-combine-intersect': (props: IconProps) => ActionsCombineIntersect(props),
|
|
817
|
+
'actions-bidirectional': (props: IconProps) => ActionsBidirectional(props),
|
|
818
|
+
'actions-interpolate': (props: IconProps) => ActionsInterpolate(props),
|
|
819
|
+
'actions-setting': (props: IconProps) => ActionsSetting(props),
|
|
820
|
+
'helper-combine-subtract': (props: IconProps) => HelperCombineSubtract(props),
|
|
821
|
+
'helper-combine-intersect': (props: IconProps) => HelperCombineIntersect(props),
|
|
822
|
+
'helper-combine-merge': (props: IconProps) => HelperCombineMerge(props),
|
|
823
|
+
clipboard: (props: IconProps) => Clipboard(props),
|
|
824
|
+
Undo,
|
|
825
|
+
Redo,
|
|
826
|
+
JumpToSlice,
|
|
827
|
+
IllustrationNotFound,
|
|
828
|
+
|
|
829
|
+
/** Adds an icon to the set of icons */
|
|
830
|
+
addIcon: (name: string, icon) => {
|
|
831
|
+
if (Icons[name]) {
|
|
832
|
+
console.warn('Replacing icon', name);
|
|
833
|
+
}
|
|
834
|
+
Icons[name] = icon;
|
|
835
|
+
},
|
|
836
|
+
|
|
837
|
+
ByName: ({ name, className, ...props }: { name: string; className?: string }) => {
|
|
838
|
+
const IconComponent = Icons[name];
|
|
839
|
+
|
|
840
|
+
if (!IconComponent) {
|
|
841
|
+
console.debug(`Icon "${name}" not found.`);
|
|
842
|
+
return <div>Missing Icon</div>;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
return (
|
|
846
|
+
<IconComponent
|
|
847
|
+
{...props}
|
|
848
|
+
className={className}
|
|
849
|
+
/>
|
|
850
|
+
);
|
|
851
|
+
},
|
|
852
|
+
};
|