Add Input type to sitemap model (#3398)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>pull/3402/head
parent
ccef3d24ff
commit
ea20371e21
|
@ -15,7 +15,7 @@ Widget:
|
|||
(LinkableWidget | NonLinkableWidget);
|
||||
|
||||
NonLinkableWidget:
|
||||
Switch | Selection | Slider | List | Setpoint | Video | Chart | Webview | Colorpicker | Mapview | Default;
|
||||
Switch | Selection | Slider | List | Setpoint | Video | Chart | Webview | Colorpicker | Mapview | Input | Default;
|
||||
|
||||
LinkableWidget:
|
||||
(Text | Group | Image | Frame)
|
||||
|
@ -122,6 +122,12 @@ Colorpicker:
|
|||
('valuecolor=[' (ValueColor+=ColorArray (',' ValueColor+=ColorArray)* ']'))? &
|
||||
('visibility=[' (Visibility+=VisibilityRule (',' Visibility+=VisibilityRule)* ']'))?);
|
||||
|
||||
Input:
|
||||
'Input' (('item=' item=ItemRef) & ('label=' label=(ID | STRING))? & ('icon=' icon=Icon)? &
|
||||
('labelcolor=[' (LabelColor+=ColorArray (',' LabelColor+=ColorArray)* ']'))? &
|
||||
('valuecolor=[' (ValueColor+=ColorArray (',' ValueColor+=ColorArray)* ']'))? &
|
||||
('visibility=[' (Visibility+=VisibilityRule (',' Visibility+=VisibilityRule)* ']'))?);
|
||||
|
||||
Default:
|
||||
'Default' (('item=' item=ItemRef) & ('label=' label=(ID | STRING))? & ('icon=' icon=Icon)? &
|
||||
('height=' height=INT)? &
|
||||
|
|
Loading…
Reference in New Issue