Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PropChangeOption ¶
type PropChangeOption struct { Label string `json:"label"` Value string `json:"value"` IsLeaf bool `json:"isLeaf"` Children []PropChangeOption `json:"children"` }
func (*PropChangeOption) FindValue ¶
func (pct *PropChangeOption) FindValue(v string) *PropChangeOption
type PropRenderProp ¶
type PropRenderProp struct { MaxLength int64 `json:"maxLength,omitempty"` Placeholder string `json:"placeholder,omitempty"` Options []PropChangeOption `json:"options,omitempty"` }
type PropRenderRule ¶
type Render ¶
type Render struct { Type string `json:"type,omitempty"` // 'input' | 'text' | 'select' | 'inputSelect' ValueConvertType string `json:"valueConvertType,omitempty"` Options []PropChangeOption `json:"options,omitempty"` Required bool `json:"required,omitempty"` UniqueValue bool `json:"uniqueValue,omitempty"` Operations map[string]interface{} `json:"operations,omitempty"` Rules []PropRenderRule `json:"rules,omitempty"` Props PropRenderProp `json:"props,omitempty"` DefaultValue interface{} `json:"defaultValue,omitempty"` }
Click to show internal directories.
Click to hide internal directories.