Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddLabelModal ¶
type AddLabelModal struct { *cptype.SDK Ctx context.Context base.DefaultProvider Type string `json:"type,omitempty"` Props Props `json:"props,omitempty"` State State `json:"state,omitempty"` Operations map[string]Operations `json:"operations,omitempty"` }
func (*AddLabelModal) GetState ¶
func (alm *AddLabelModal) GetState()
func (*AddLabelModal) Init ¶
func (alm *AddLabelModal) Init(ctx servicehub.Context) error
func (*AddLabelModal) Render ¶
func (alm *AddLabelModal) Render(ctx context.Context, c *cptype.Component, s cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) error
func (*AddLabelModal) SetComponentValue ¶
func (alm *AddLabelModal) SetComponentValue(c *cptype.Component) error
SetComponentValue mapping properties to Component
type ComponentProps ¶
type ComponentProps struct {
Options []Option `json:"options,omitempty"`
}
type Fields ¶
type Fields struct { Key string `json:"key,omitempty"` ComponentProps ComponentProps `json:"componentProps,omitempty"` Label string `json:"label,omitempty"` Component string `json:"component,omitempty"` Rules Rules `json:"rules,omitempty"` Required bool `json:"required,omitempty"` RemoveWhen [][]RemoveWhen `json:"removeWhen,omitempty"` }
type Operations ¶
type RemoveWhen ¶
Click to show internal directories.
Click to hide internal directories.