Documentation
¶
Index ¶
- type ComponentFileFormModal
- func (a *ComponentFileFormModal) AddRefSceneSet(inParams fileTree.InParams) error
- func (a *ComponentFileFormModal) AddScene(inParams fileTree.InParams) error
- func (a *ComponentFileFormModal) AddSceneSet(inParams fileTree.InParams) error
- func (a *ComponentFileFormModal) CopyTo(inParams fileTree.InParams) error
- func (a *ComponentFileFormModal) GetScene(inParams fileTree.InParams) error
- func (a *ComponentFileFormModal) GetSceneSet() error
- func (a *ComponentFileFormModal) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, ...) (err error)
- func (a *ComponentFileFormModal) UpdateScene(inParams fileTree.InParams) error
- func (a *ComponentFileFormModal) UpdateSceneSet(inParams fileTree.InParams) error
- type ComponentProps
- type Entry
- type FormData
- type Operation
- type PolicyOption
- type Props
- type Rule
- type State
- type SubmitOperations
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentFileFormModal ¶
type ComponentFileFormModal struct {
base.DefaultProvider
Props Props `json:"props"`
State State `json:"state"`
Operations map[string]interface{} `json:"operations"`
// contains filtered or unexported fields
}
func (*ComponentFileFormModal) AddRefSceneSet ¶
func (a *ComponentFileFormModal) AddRefSceneSet(inParams fileTree.InParams) error
func (*ComponentFileFormModal) AddScene ¶
func (a *ComponentFileFormModal) AddScene(inParams fileTree.InParams) error
func (*ComponentFileFormModal) AddSceneSet ¶
func (a *ComponentFileFormModal) AddSceneSet(inParams fileTree.InParams) error
func (*ComponentFileFormModal) CopyTo ¶
func (a *ComponentFileFormModal) CopyTo(inParams fileTree.InParams) error
func (*ComponentFileFormModal) GetScene ¶
func (a *ComponentFileFormModal) GetScene(inParams fileTree.InParams) error
func (*ComponentFileFormModal) GetSceneSet ¶
func (a *ComponentFileFormModal) GetSceneSet() error
func (*ComponentFileFormModal) Render ¶
func (a *ComponentFileFormModal) Render(ctx context.Context, c *cptype.Component, scenario cptype.Scenario, event cptype.ComponentEvent, gs *cptype.GlobalStateData) (err error)
func (*ComponentFileFormModal) UpdateScene ¶
func (a *ComponentFileFormModal) UpdateScene(inParams fileTree.InParams) error
func (*ComponentFileFormModal) UpdateSceneSet ¶
func (a *ComponentFileFormModal) UpdateSceneSet(inParams fileTree.InParams) error
type ComponentProps ¶
type FormData ¶
type FormData struct {
Name string `json:"name"`
Description string `json:"desc"`
// SetID uint64 `json:"setId"`
ScenesSet *uint64 `json:"scenesSet"`
Policy apistructs.PolicyType `json:"policy"`
SceneID uint64 `json:"sceneID"`
}
type PolicyOption ¶
type PolicyOption struct {
Name string `json:"name"`
Value apistructs.PolicyType `json:"value"`
}
type SubmitOperations ¶
Click to show internal directories.
Click to hide internal directories.