ui(components): migrates to new toolbar ui components and Numeric for Input InputRange and InputDoubleRange (#4728)

Co-authored-by: sedghi <ar.sedghi@gmail.com>
This commit is contained in:
Dan Rukasandsedghi authored and GitHub committed 2025-01-29 13:36:52 -05:00
1 parent ac5ae4a29e
commit a8d84443a9
116 files changed
+2930 -1038

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ const ReferenceLinesListeners: RunCommand = [
const moreTools = [
{
id: 'MoreTools',
uiType: 'ohif.splitButton',
uiType: 'ohif.toolButtonList',
props: {
groupId: 'MoreTools',
evaluate: 'evaluate.group.promoteToPrimaryIfCornerstoneToolNotActiveInTheList',
+9 -9
View File
@@ -43,7 +43,7 @@ export const setToolActiveToolbar = {
const toolbarButtons: Button[] = [
{
id: 'MeasurementTools',
uiType: 'ohif.splitButton',
uiType: 'ohif.toolButtonList',
props: {
groupId: 'MeasurementTools',
// group evaluate to determine which item should move to the top
@@ -130,7 +130,7 @@ const toolbarButtons: Button[] = [
},
{
id: 'Zoom',
uiType: 'ohif.radioGroup',
uiType: 'ohif.toolButton',
props: {
icon: 'tool-zoom',
label: 'Zoom',
@@ -141,7 +141,7 @@ const toolbarButtons: Button[] = [
// Window Level
{
id: 'WindowLevel',
uiType: 'ohif.splitButton',
uiType: 'ohif.toolButtonList',
props: {
groupId: 'WindowLevel',
primary: createButton({
@@ -170,7 +170,7 @@ const toolbarButtons: Button[] = [
// Pan...
{
id: 'Pan',
uiType: 'ohif.radioGroup',
uiType: 'ohif.toolButton',
props: {
type: 'tool',
icon: 'tool-move',
@@ -181,7 +181,7 @@ const toolbarButtons: Button[] = [
},
{
id: 'MPR',
uiType: 'ohif.radioGroup',
uiType: 'ohif.toolButton',
props: {
icon: 'icon-mpr',
label: 'MPR',
@@ -198,7 +198,7 @@ const toolbarButtons: Button[] = [
},
{
id: 'TrackBallRotate',
type: 'ohif.radioGroup',
type: 'ohif.toolButton',
props: {
type: 'tool',
icon: 'tool-3d-rotate',
@@ -208,7 +208,7 @@ const toolbarButtons: Button[] = [
},
{
id: 'Capture',
uiType: 'ohif.radioGroup',
uiType: 'ohif.toolButton',
props: {
icon: 'tool-capture',
label: 'Capture',
@@ -234,7 +234,7 @@ const toolbarButtons: Button[] = [
},
{
id: 'Crosshairs',
uiType: 'ohif.radioGroup',
uiType: 'ohif.toolButton',
props: {
type: 'tool',
icon: 'tool-crosshair',
@@ -250,4 +250,4 @@ const toolbarButtons: Button[] = [
},
];
export default toolbarButtons;
export default toolbarButtons;