Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonFilter ¶
type Operation ¶
type Operation struct { Key OperationKey `json:"key,omitempty"` Reload bool `json:"reload,omitempty"` Meta map[string]interface{} `json:"meta,omitempty"` FillMeta string `json:"fillMeta,omitempty"` }
type OperationKey ¶
type OperationKey string
func (OperationKey) String ¶
func (k OperationKey) String() string
type PropCondition ¶
type PropCondition struct { Key PropConditionKey `json:"key,omitempty"` Label string `json:"label,omitempty"` EmptyText string `json:"emptyText,omitempty"` Fixed bool `json:"fixed,omitempty"` ShowIndex int `json:"showIndex,omitempty"` HaveFilter bool `json:"haveFilter,omitempty"` Split bool `json:"split,omitempty"` Type PropConditionType `json:"type,omitempty"` QuickSelect QuickSelect `json:"quickSelect,omitempty"` QuickAdd QuickAdd `json:"quickAdd,omitempty"` QuickDelete QuickDelete `json:"quickDelete,omitempty"` Placeholder string `json:"placeholder,omitempty"` Options []PropConditionOption `json:"options,omitempty"` Required bool `json:"required,omitempty"` CustomProps map[string]interface{} `json:"customProps,omitempty"` }
type PropConditionKey ¶
type PropConditionKey string
func (PropConditionKey) String ¶
func (k PropConditionKey) String() string
type PropConditionOption ¶
type PropConditionOption struct { Label string `json:"label,omitempty"` Value interface{} `json:"value,omitempty"` Icon string `json:"icon,omitempty"` Children []PropConditionOption `json:"children,omitempty"` }
type PropConditionType ¶
type PropConditionType string
var ( PropConditionTypeSelect PropConditionType = "select" PropConditionTypeInput PropConditionType = "input" PropConditionTypeDateRange PropConditionType = "dateRange" PropConditionTypeRangePicker PropConditionType = "rangePicker" )
type QuickAdd ¶ added in v1.3.0
type QuickAdd struct { OperationKey OperationKey `json:"operationKey,omitempty"` Placeholder string `json:"placeholder,omitempty"` Show bool `json:"show"` }
type QuickDelete ¶ added in v1.3.0
type QuickDelete struct {
OperationKey OperationKey `json:"operationKey,omitempty"`
}
type QuickSelect ¶
type QuickSelect struct { Label string `json:"label,omitempty"` OperationKey OperationKey `json:"operationKey,omitempty"` }
Click to show internal directories.
Click to hide internal directories.