commit
e84d0988c9
1 changed files with 19 additions and 11 deletions
|
|
@ -40,10 +40,18 @@ type ActionDSL struct {
|
||||||
Style string `json:"style,omitempty"`
|
Style string `json:"style,omitempty"`
|
||||||
Xpath string `json:"xpath,omitempty"`
|
Xpath string `json:"xpath,omitempty"`
|
||||||
DivideLine bool `json:"divideLine,omitempty"`
|
DivideLine bool `json:"divideLine,omitempty"`
|
||||||
ShowWhenAddAndView bool `json:"showWhenAddAndView,omitempty"`
|
ShowWhenAdd bool `json:"showWhenAdd,omitempty"`
|
||||||
|
ShowWhenView bool `json:"showWhenView,omitempty"`
|
||||||
Props PropsDSL `json:"props,omitempty"`
|
Props PropsDSL `json:"props,omitempty"`
|
||||||
Confirm *ConfirmActionDSL `json:"confirm,omitempty"`
|
Confirm *ConfirmActionDSL `json:"confirm,omitempty"`
|
||||||
Action ActionNodes `json:"action,omitempty"`
|
Action ActionNodes `json:"action,omitempty"`
|
||||||
|
Disabled *DisabledDSL `json:"disabled,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// DisabledDSL the action disabled
|
||||||
|
type DisabledDSL struct {
|
||||||
|
Bind string `json:"bind,omitempty"`
|
||||||
|
Value interface{} `json:"value,omitempty"` // string | array<string>
|
||||||
}
|
}
|
||||||
|
|
||||||
type aliasActionNodes []ActionNode
|
type aliasActionNodes []ActionNode
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue