commit
73bee76ab7
1 changed files with 11 additions and 9 deletions
|
|
@ -32,15 +32,17 @@ type aliasActionDSL ActionDSL
|
||||||
|
|
||||||
// ActionDSL the component action DSL
|
// ActionDSL the component action DSL
|
||||||
type ActionDSL struct {
|
type ActionDSL struct {
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
Title string `json:"title,omitempty"`
|
Title string `json:"title,omitempty"`
|
||||||
Width int `json:"width,omitempty"`
|
Width int `json:"width,omitempty"`
|
||||||
Icon string `json:"icon,omitempty"`
|
Icon string `json:"icon,omitempty"`
|
||||||
Style string `json:"style,omitempty"`
|
Style string `json:"style,omitempty"`
|
||||||
Xpath string `json:"xpath,omitempty"`
|
Xpath string `json:"xpath,omitempty"`
|
||||||
Props PropsDSL `json:"props,omitempty"`
|
DivideLine bool `json:"divideLine,omitempty"`
|
||||||
Confirm *ConfirmActionDSL `json:"confirm,omitempty"`
|
ShowWhenAddAndView bool `json:"showWhenAddAndView,omitempty"`
|
||||||
Action ActionNodes `json:"action,omitempty"`
|
Props PropsDSL `json:"props,omitempty"`
|
||||||
|
Confirm *ConfirmActionDSL `json:"confirm,omitempty"`
|
||||||
|
Action ActionNodes `json:"action,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type aliasActionNodes []ActionNode
|
type aliasActionNodes []ActionNode
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue