Home Reference Source

References

summary
public
public
public
public
public
public
public

C Ref

public

F parseRef(field: *): *

public

F parseTemplate(template: *, renderData: *, options: {}): *

public

F convertDate(value: *, toType: *, options: *): *

public

V Formatron: {"react": *, "refs": *, "renderers": *, "template": *, "types": *}

react/components

summary
public

renderers

summary
public

Collection of render functions of a specific type (eg.

public

Struct that contains all information required for rendering.

public

The renderer interface.

public

The renderers to use to render view types to js values.

types

summary
public

C Type

The base type that all view and data types inherit from.

public

F parseField(type: *, field: Immutable.Map): *

Parse an Immutable Map object and return the resulting field.

public

F registerType(type: *, Type: DataType | ViewType)

Registers a custom data or view type.

public

F registerDataTypes(register: *)

public

F registerViewTypes(register: *)

public

Constant that represents data types.

public

Constant that represents view types.

public

V data: {}

The pool of data types.

public

V view: {}

The pool of view types.

public

T oneOrManyParser(fields: Immutable.Map | Immutable.List<Immutable.Map>): Type | Immutable.List<Type>: function

types/data

summary
public

The DataType for boolean values.

public

The DataType for date values.

public

The DataType for dictionary values using Immutable.js.

public

DataType for enumerated values.

public

The base data type.

public
public

The data type for lists of data.

public

A data type that can handle a specified type of value, or a list of that same type of value.

public

The data type for maps of data.

public

The data type for numbers.

public

The DataType for text values.

public

The error class used for errors while validating values against data types.

public

V validationErrors: {"required": string, "undefinedValue": string, "invalidOption": string, "integer": string, "finite": string, "email": string, "url": string, "ssn": string, "tel": string, "zipCode": string, "singleline": string}

A set of standard validation errors that registered types can use.

types/view

summary
public
public

The base view type.

public

F compareAll(cmp: *): *

public

F numericalDisplay(value: *): *

public

F textDisplay(value: *): *

public

F truthyDisplay(value: *): *

types/view/data

summary
public
public
public
public
public

The base view type for displaying data from the model.

public
public
public
public
public

types/view/display

summary
public
public
public
public
public

types/view/value

summary
public
public
public
public
public
public
public
public
this class was deprecated.
public