panel

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Data map[string]interface{} `json:"data"`
}

type Field

type Field struct {
	Label      string      `json:"label"`
	ValueKey   interface{} `json:"valueKey"`
	RenderType string      `json:"renderType"` // ellipsis
}

type Props

type Props struct {
	Visible        bool                   `json:"visible"`
	Fields         []Field                `json:"fields"`
	Column         int                    `json:"column"`
	Colon          bool                   `json:"colon"`
	ColumnNum      int                    `json:"columnNum"`
	IsMultiColumn  bool                   `json:"isMultiColumn"`
	Layout         PropsLayout            `json:"layout"` // 'vertical' | 'horizontal'
	Data           map[string]interface{} `json:"data"`
	Type           PropsType              `json:"type"` // 'Z' | 'N'
	NumOfRowsLimit int                    `json:"numOfRowsLimit"`
}

type PropsLayout

type PropsLayout string
const (
	PropsLayoutVertical   PropsLayout = "vertical"
	PropsLayoutHorizontal PropsLayout = "horizontal"
)

type PropsType

type PropsType string
const (
	PropsTypeZ PropsType = "Z"
	PropsTypeN PropsType = "N"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL