docs(ui): add base for ui component showcase in docs (#4414)
This commit is contained in:
1 parent
9125cec333
commit
465df5c573
48 files changed
+5160
-4740
No files matched your search
@@ -0,0 +1,210 @@
|
||||
const actionOptionsMap: { [key: string]: string[] } = {
|
||||
Measurement: ['Rename', 'Lock', 'Delete'],
|
||||
Segmentation: ['Rename', 'Lock', 'Export', 'Delete'],
|
||||
'ROI Tools': ['Rename', 'Lock', 'Delete'],
|
||||
'Organ Segmentation': ['Rename', 'Lock', 'Export', 'Delete'],
|
||||
// Add more types and their corresponding actions as needed
|
||||
};
|
||||
|
||||
const dataList = [
|
||||
{
|
||||
type: 'Measurement',
|
||||
items: [
|
||||
{
|
||||
id: 1,
|
||||
title: 'Measurement Label',
|
||||
description: 'Description for Measurement One.',
|
||||
optionalField: 'Optional Info 1',
|
||||
details: 'Data',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: 'Measurement Label',
|
||||
description: 'Description for Measurement Two.',
|
||||
details: 'Data',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'Segmentation',
|
||||
items: [
|
||||
{
|
||||
id: 3,
|
||||
title: 'Segmentation One',
|
||||
colorHex: '#FF5733',
|
||||
description: 'Description for Segmentation One.',
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: 'Segmentation Two',
|
||||
colorHex: '#FF5733',
|
||||
description: 'Description for Segmentation Two.',
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
title: 'Segmentation Three',
|
||||
colorHex: '#FF5733',
|
||||
description: 'Description for Segmentation Three.',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'ROI Tools',
|
||||
items: [
|
||||
{
|
||||
id: 6,
|
||||
title: 'Linear',
|
||||
description: 'Description for Linear.',
|
||||
details: '49.2 mm',
|
||||
series: 'S:2 I:1',
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
title: 'Bidirectional',
|
||||
description: 'Description for Bidirectional.',
|
||||
details: 'L: 34.5 mm\nW: 23.0 mm',
|
||||
series: 'S:2 I:2',
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
title: 'Ellipse',
|
||||
description: 'Description for Ellipse.',
|
||||
details: '2641 mm²\nMax: 1087 HU',
|
||||
series: 'S:2 I:4',
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
title: 'Rectangle',
|
||||
description: 'Description for Rectangle.',
|
||||
details: '1426 mm²\nMax: 718 HU',
|
||||
series: 'S:2 I:5',
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
title: 'Circle',
|
||||
description: 'Description for Circle.',
|
||||
details: '7339 mm²\nMax: 871 HU',
|
||||
series: 'S:2 I:6',
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
title: 'Freehand ROI',
|
||||
description: 'Description for Freehand ROI.',
|
||||
details: 'Mean: 215 HU\nMax: 947 HU\nArea: 839 mm²',
|
||||
series: 'S:2 I:7',
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
title: 'Spline Tool',
|
||||
description: 'Description for Spline Tool.',
|
||||
details: 'Area: 203 mm²',
|
||||
series: 'S:2 I:8',
|
||||
},
|
||||
{
|
||||
id: 13,
|
||||
title: 'Livewire Tool',
|
||||
description: 'Description for Livewire Tool.',
|
||||
details: '',
|
||||
series: 'S:2 I:3',
|
||||
},
|
||||
{
|
||||
id: 14,
|
||||
title: 'Annotation Lorem ipsum dolor sit amet long measurement name continues here',
|
||||
description: 'Description for Annotation.',
|
||||
details: '',
|
||||
series: 'S:2 I:3',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: 'Organ Segmentation',
|
||||
items: [
|
||||
{
|
||||
id: 15,
|
||||
title: 'Spleen',
|
||||
description: 'Description for Spleen.',
|
||||
colorHex: '#6B8E23',
|
||||
},
|
||||
{
|
||||
id: 16,
|
||||
title: 'Kidney',
|
||||
description: 'Description for Kidney.',
|
||||
colorHex: '#4682B4',
|
||||
},
|
||||
{
|
||||
id: 17,
|
||||
title: 'Kidney very long title name lorem ipsum dolor sit amet segmentation',
|
||||
description: 'Description for Kidney.',
|
||||
colorHex: '#9ACD32',
|
||||
},
|
||||
{
|
||||
id: 18,
|
||||
title: 'Gallbladder',
|
||||
description: 'Description for Gallbladder.',
|
||||
colorHex: '#20B2AA',
|
||||
},
|
||||
{
|
||||
id: 19,
|
||||
title: 'Esophagus',
|
||||
description: 'Description for Esophagus.',
|
||||
colorHex: '#DAA520',
|
||||
},
|
||||
{
|
||||
id: 20,
|
||||
title: 'Liver',
|
||||
description: 'Description for Liver.',
|
||||
colorHex: '#CD5C5C',
|
||||
},
|
||||
{
|
||||
id: 21,
|
||||
title: 'Stomach',
|
||||
description: 'Description for Stomach.',
|
||||
colorHex: '#778899',
|
||||
},
|
||||
{
|
||||
id: 22,
|
||||
title: 'Abdominal aorta',
|
||||
description: 'Description for Abdominal Aorta.',
|
||||
colorHex: '#B8860B',
|
||||
},
|
||||
{
|
||||
id: 23,
|
||||
title: 'Inferior vena cava',
|
||||
description: 'Description for Inferior Vena Cava.',
|
||||
colorHex: '#556B2F',
|
||||
},
|
||||
{
|
||||
id: 24,
|
||||
title: 'Portal vein',
|
||||
description: 'Description for Portal Vein.',
|
||||
colorHex: '#8B4513',
|
||||
},
|
||||
{
|
||||
id: 25,
|
||||
title: 'Pancreas',
|
||||
description: 'Description for Pancreas.',
|
||||
colorHex: '#2F4F4F',
|
||||
},
|
||||
{
|
||||
id: 26,
|
||||
title: 'Adrenal gland',
|
||||
description: 'Description for Adrenal Gland.',
|
||||
colorHex: '#708090',
|
||||
},
|
||||
{
|
||||
id: 27,
|
||||
title: 'Adrenal gland',
|
||||
description: 'Description for Adrenal Gland.',
|
||||
colorHex: '#6A5ACD',
|
||||
},
|
||||
{
|
||||
id: 28,
|
||||
title: 'New Seg Test New Seg Test New Seg Test New Seg Test New Seg Test New Seg Test ',
|
||||
description: 'Description for New Seg Test.',
|
||||
colorHex: '#4682B4',
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export { actionOptionsMap, dataList };
|
||||
Reference in new issue
Block a user