Documentation ¶
Index ¶
- Constants
- func RenderCreator() protocol.CompRender
- type ChangePageNoOperation
- type ClickOperation
- type ExtraInfo
- type ExtraProps
- type IssueData
- type IssueItem
- type IssueName
- type Meta
- type OperationData
- type PageNo
- type ProData
- type ProItem
- type State
- type TableGroup
- type TitleProps
- type ToSpecificProjectOperation
- type Value
- type ValueText
Constants ¶
View Source
const ( DefaultPageNo = 1 DefaultPageSize = 3 DefaultIssueSize = 5 )
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ChangePageNoOperation ¶
type ClickOperation ¶
type ExtraInfo ¶
type ExtraInfo struct { Props ExtraProps `json:"props"` Operations map[string]interface{} `json:"operations"` }
type ExtraProps ¶
type OperationData ¶
type ProItem ¶
type ProItem struct { Title struct { //IsPureTitle bool `json:"isPureTitle"` //PrefixImage string `json:"prefixImage"` //Title string `json:"title"` //Level int `json:"level"` Props TitleProps `json:"props"` Operations map[string]interface{} `json:"operations"` } `json:"title"` SubTitle struct { Title string `json:"title"` Level int `json:"level"` Size string `json:"size"` } `json:"subtitle"` Description struct { RenderType string `json:"renderType"` Visible bool `json:"visible"` Value map[string]interface{} `json:"value"` TextStyleName map[string]interface{} `json:"textStyleName"` } `json:"description"` Table struct { Props map[string]interface{} `json:"props"` Data IssueData `json:"data"` Operations map[string]interface{} `json:"operations"` } `json:"table"` ExtraInfo ExtraInfo `json:"extraInfo"` }
type TableGroup ¶
type TableGroup struct { Type string `json:"type"` Props struct { IsLoadMore bool `json:"isLoadMore"` Visible bool `json:"visible"` } `json:"props"` Operations map[string]interface{} `json:"operations"` Data ProData `json:"data"` State State `json:"state"` // contains filtered or unexported fields }
func (*TableGroup) GenComponentState ¶
func (this *TableGroup) GenComponentState(c *apistructs.Component) error
func (*TableGroup) GetProsByPage ¶
func (t *TableGroup) GetProsByPage() (*apistructs.PagingProjectDTO, error)
func (*TableGroup) Render ¶
func (t *TableGroup) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*TableGroup) SetCtxBundle ¶
func (this *TableGroup) SetCtxBundle(ctx context.Context) error
type TitleProps ¶
type ToSpecificProjectOperation ¶
type ToSpecificProjectOperation struct { Key string `json:"key"` Reload bool `json:"reload"` Show bool `json:"show"` Command struct { Key string `json:"key"` Target string `json:"target"` JumpOut bool `json:"jumpOut"` State struct { Query struct { IssueViewGroupUrlQuery string `json:"issueViewGroup__urlQuery"` IssueFilterUrlQuery string `json:"issueFilter__urlQuery"` IssueTableUrlQuery string `json:"issueTable__urlQuery"` } `json:"query"` Params struct { ProjectId string `json:"projectId"` OrgName string `json:"orgName"` } `json:"params"` } `json:"state"` Visible bool `json:"visible"` } `json:"command"` }
Click to show internal directories.
Click to hide internal directories.