trendChartFilter

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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const OperationKeyFilter filter.OperationKey = "filter"

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentFilter

type ComponentFilter struct {
	filter.CommonFilter
	State State `json:"state,omitempty"`
	base.DefaultProvider
	// contains filtered or unexported fields
}

func (*ComponentFilter) InitDefaultOperation

func (f *ComponentFilter) InitDefaultOperation(ctx context.Context, state State) error

func (*ComponentFilter) InitFromProtocol

func (f *ComponentFilter) InitFromProtocol(ctx context.Context, c *cptype.Component) error

func (*ComponentFilter) Render

func (*ComponentFilter) SetToProtocolComponent

func (f *ComponentFilter) SetToProtocolComponent(c *cptype.Component) error

type State

type State struct {
	Conditions         []filter.PropCondition  `json:"conditions,omitempty"`
	Values             common.FilterConditions `json:"values,omitempty"`
	FrontendChangedKey string                  `json:"changedKey,omitempty"`
}

Jump to

Keyboard shortcuts

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