menu.web¶
Front-end menu definition¶
type |
object |
||
properties |
|||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
The ids of the modules that will have access to this menu. |
||
type |
array |
||
items |
type |
string |
|
|
The menu name |
||
type |
string |
||
|
|||
|
Menu configuration |
||
type |
array |
||
items |
|||
|
|||
additionalProperties |
False |
Menu item definition¶
type |
object |
|
properties |
||
|
Menu label shown to user |
|
type |
string |
|
|
Icon displayed in front of the menu label |
|
type |
string |
|
|
Menu context which allows to interact based on widget type |
|
type |
array |
|
items |
||
|
Sub-menu attached to menu item |
|
type |
array |
|
items |
||
additionalProperties |
False |
MenuContextConfiguration¶
type |
object |
|||||
properties |
||||||
|
Menu context type |
|||||
oneOf |
type |
string |
||||
enum |
AlarmTable, AlarmHistoryTable, AlarmSeverity, AnalyticsAggregate, BasicInputOutputValue, BasicText, BorderLayout, BoxLayout, Chart, CollectionTable, Form, FormList, Gauge, Geo, Icon, Limit, Journal, Maps, Markdown, MenuAction, Navigation, ObjectBrowser, PdfViewer, Range, Refresh, ReportsList, ReportsViewer, Schematic, Select, Text, Toolbar, Value, ValueSubscription, VideoPlayer, PtzController, WebView, * |
|||||
type |
array |
|||||
items |
type |
string |
||||
enum |
AlarmTable, AlarmHistoryTable, AlarmSeverity, AnalyticsAggregate, BasicInputOutputValue, BasicText, BorderLayout, BoxLayout, Chart, CollectionTable, Form, FormList, Gauge, Geo, Icon, Limit, Journal, Maps, Markdown, MenuAction, Navigation, ObjectBrowser, PdfViewer, Range, Refresh, ReportsList, ReportsViewer, Schematic, Select, Text, Toolbar, Value, ValueSubscription, VideoPlayer, PtzController, WebView |
|||||
uniqueItems |
True |
|||||
|
Menu action reference |
|||||
type |
string |
|||||
|
Menu action condition |
|||||
type |
string |
|||||
|
Menu action scope. If empty, menu is shown everywhere. |
|||||
type |
array |
|||||
items |
type |
string |
||||
enum |
Toolbar, Click |
|||||
|
Menu context input |
|||||
type |
object |
|||||
additionalProperties |
anyOf |
type |
string |
|||
type |
object |
|||||
properties |
||||||
|
type |
string |
||||
|
type |
string |
||||
|
type |
string |
||||
|
type |
object |
||||
properties |
||||||
|
type |
string |
||||
enum |
SEVERITY, INPUT, COMBO, DATE, DATE_TIME, TIME |
|||||
additionalProperties |
True |
|||||
additionalProperties |
False |
|||||
type |
boolean |
|||||
type |
number |
|||||
type |
integer |
|||||
|
Menu context output |
|||||
type |
array |
|||||
items |
||||||
|
Are menu context outputs executed in order (SYNC) or in parallel (ASYNC, default) |
|||||
type |
string |
|||||
enum |
Sequential, Concurrent |
|||||
default |
Concurrent |
|||||
|
Whether to close menu after interaction or not |
|||||
type |
boolean |
|||||
default |
True |
|||||
additionalProperties |
False |