forked from drewbudd/openms-streamlit-vue-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout-interface.yaml
90 lines (90 loc) · 1.76 KB
/
layout-interface.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
grid-layout:
name: GridLayout
type: object
fields:
columns:
type: number
required: false
default: 1
rows:
type: number
required: false
default: 1
components:
type: array<FlashViewerComponent>
required: true
flash-viewer-component:
name: FlashViewerComponent
type: object
fields:
component-layout:
required: false
type: ComponentLayout
component-args:
required: true
type: ComponentArgs
component-layout:
name: ComponentLayout
type: object
fields:
width:
type: number
required: false
default: 1
height:
type: number
required: false
default: 1
component-args:
name: ComponentArgs
type: ref
options:
- PlotlyHeatmapArgs
interface:
fields:
componentName:
type: string
required: true
plotly-heatmap-args:
name: PlotlyHeatmapArgs
type: object
fields:
componentName:
value: 'PlotlyHeatmap'
title:
type: string
required: false
x:
type: array<number>
required: true
y:
type: array<number>
required: true
intensity:
type: array<number>
required: true
showLegend:
type: boolean
required: false
default: false
tabulator-table-args:
name: TabulatorTableArgs
type: object
fields:
componentName:
value: 'TabulatorTable'
data:
type: array<object>
required: true
fields:
customEntriesAllowed: true
keyType: string
valueType: any
id:
type: string
required: true
note: Tabulator requires a unique `id` per row
columns:
type: array<ColumnDefinition>
required: true
note: https://tabulator.info/docs/5.5/columns