Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Transforms = map[string]*Transform{}
Transforms opend transform
Functions ¶
Types ¶
type ColumnDSL ¶
type ColumnDSL struct {
Key string `json:"key,omitempty"`
Bind string `json:"bind,omitempty"`
Link string `json:"link,omitempty"`
View *component.DSL `json:"view,omitempty"`
Edit *component.DSL `json:"edit,omitempty"`
}
ColumnDSL the field column dsl
type FilterDSL ¶
type FilterDSL struct {
Key string `json:"key,omitempty"`
Bind string `json:"bind,omitempty"`
Edit *component.DSL `json:"edit,omitempty"`
}
FilterDSL the field filter dsl
func (FilterDSL) FilterBind ¶
FilterBind get the bind field name of filter
type Filters ¶
Filters the filters DSL
func (Filters) CPropsMerge ¶
func (filters Filters) CPropsMerge(cloudProps map[string]component.CloudPropsDSL, getXpath func(name string, filter FilterDSL) (xpath string)) error
CPropsMerge merge the Filters cloud props
type Transform ¶
type Transform struct {
Variables map[string]interface{} `json:"variables,omitempty"`
Aliases map[string]string `json:"aliases,omitempty"`
Fields map[string]TransformField `json:"fields,omitempty"`
}
Transform the field transform
func ModelTransform ¶
ModelTransform select model transform via name
func OpenTransform ¶
OpenTransform open the transform from source
func SelectTransform ¶
SelectTransform select a transform via name
type TransformField ¶
type TransformField struct {
Filter *FilterDSL `json:"filter,omitempty"`
Form *ColumnDSL `json:"form,omitempty"`
Table *ColumnDSL `json:"table,omitempty"`
}
TransformField the transform.types[*]
Click to show internal directories.
Click to hide internal directories.