TreeComponent
Extends:
Static Member Summary
| Static Public Members | ||
| public static get |
builderInfo: {"title": string, "icon": string, "group": string, "weight": number, "schema": *} |
|
Static Method Summary
| Static Public Methods | ||
| public static |
schema(extend: ...*): * |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
componentOptions: {...undefined: Object, "parent": *, "root": *} |
|
| public |
components: *[] |
|
| public |
dataValue: * |
|
| public get |
emptyValue: {} |
|
| public |
treeRoot: * |
|
| public |
|
|
| public get |
|
|
| public |
|
|
| Private Members | ||
| private |
|
|
Method Summary
| Public Methods | ||
| public |
addChild(parent: *) |
|
| public |
attach(element: *): * |
|
| public |
attachActions(node: *) |
|
| public |
attachChildren(node: *): * |
|
| public |
attachComponents(node: *, args: ...*): * |
|
| public |
attachNode(element: *, node: *): * |
|
| public |
cancelNode(node: *) |
|
| public |
checkData(data: *, flags: *, row: *): * |
|
| public |
checkNode(data: *, node: *, flags: *, row: *): * |
|
| public |
createComponents(data: *, node: *): * |
|
| public |
destroy() |
|
| public |
editNode(node: *) |
|
| public |
getValue(): * |
|
| public |
init(): * |
|
| public |
removeComponents(components: *): * |
|
| public |
removeNode(node: *) |
|
| public |
|
|
| public |
render(): * |
|
| public |
renderChildNodes(nodes: *[], odd: *): * |
|
| public |
renderEdit(node: {}): * |
|
| public |
renderTree(node: {}, odd: boolean): * |
|
| public |
renderView(node: {}): * |
|
| public |
revertNode(node: *) |
|
| public |
saveNode(node: *) |
|
| public |
setRoot() |
|
| public |
setValue(value: *, flags: {}): * |
|
| public |
toggleNode(node: *) |
|
| public |
|
|
Inherited Summary
| From class Field | ||
| public |
render(element: *): * |
|
| From class NestedComponent | ||
| public static |
schema(extend: ...*): * |
|
| public get |
collapsed: * |
|
| public set |
|
|
| public get |
|
|
| public get |
currentForm: * |
|
| public set |
|
|
| public get |
data: * |
|
| public set |
|
|
| public get |
dataReady: * |
|
| public get |
|
|
| public get |
disabled: * |
|
| public set |
|
|
| public get |
errors: * |
|
| public get |
isDirty: * |
|
| public get |
isPristine: * |
|
| public get |
|
|
| public get |
|
|
| public set |
|
|
| public get |
|
|
| public set |
|
|
| public get |
ready: * |
|
| public get |
rowIndex: * |
|
| public set |
|
|
| public get |
schema: * |
|
| public get |
|
|
| public get |
visible: * |
|
| public set |
|
|
| public |
components: * |
|
| public |
dataValue: * |
|
| public |
|
|
| public |
|
|
| private |
_collapsed: * |
|
| private |
_data: * |
|
| private |
_rowIndex: * |
|
| private |
_visible: * |
|
| public |
addComponent(component: Object, data: Object, before: HTMLElement): Component Add a new component to the components array. |
|
| public |
addComponents(element: *, data: *) |
|
| public |
attach(element: *): * |
|
| public |
attachComponents(element: *, components: *, container: *): * |
|
| public |
|
|
| public |
beforePage(next: *): * Allow components to hook into the next page trigger to perform their own logic. |
|
| public |
beforeSubmit(): * Allow components to hook into the submission to provide their own async data. |
|
| public |
calculateComponentPath(component: Object): string Return a path of component's value. |
|
| public |
calculateValue(data: *, flags: *, row: *): * |
|
| public |
checkAsyncValidity(data: *, dirty: *, row: *, silentCheck: *): * |
|
| public |
checkConditions(data: *, flags: *, row: *): * |
|
| public |
checkData(data: *, flags: *, row: *, components: *): * |
|
| public |
checkModal(isValid: *, dirty: *) |
|
| public |
checkValidity(data: *, dirty: *, row: *, silentCheck: *): * |
|
| public |
clear() |
|
| public |
clearOnHide(show: *) |
|
| public |
componentContext(): * |
|
| public |
createComponent(component: *, data: *): * Create a new component and add it to the components array. |
|
| public |
destroy() |
|
| public |
|
|
| public |
detach() |
|
| public |
eachComponent(fn: function) Perform an iteration over each component within this container component. |
|
| public |
everyComponent(fn: function) Perform a deep iteration over every component, including those within other container based components. |
|
| public |
flattenComponents(): * |
|
| public |
getComponent(key: string, fn: function): Object Returns a component provided a key. |
|
| public |
getComponentById(id: string, fn: function): Object Return a component provided the Id of the component. |
|
| public |
getComponents(): * |
|
| public |
getContainer(): * |
|
| public |
getValue(): * |
|
| public |
hasComponent(component: *): * |
|
| public |
init(): * |
|
| public |
isLastPage(): * |
|
| public |
isValid(data: *, dirty: *): * |
|
| public |
removeComponent(component: Component, components: Array<Component>) Remove a component from the components array. |
|
| public |
removeComponentById(id: string, fn: function): null Removes a component provided the Id of the component. |
|
| public |
removeComponentByKey(key: string, fn: function): null Removes a component provided the API key of that component. |
|
| public |
render(children: *): * |
|
| public |
renderComponents(components: *): * |
|
| public |
|
|
| public |
|
|
| public |
setNestedValue(component: *, value: *, flags: {}): * |
|
| public |
setPristine(pristine: *) |
|
| public |
setValue(value: *, flags: {}): * |
|
| public |
shouldSkipValidation(data: *, dirty: *, row: *): * |
|
| public |
updateValue(value: *, flags: {}): * |
|
Static Public Members
Static Public Methods
public static schema(extend: ...*): * source
Override:
NestedComponent#schemaParams:
| Name | Type | Attribute | Description |
| extend | ...* |
Return:
| * |
Public Constructors
Public Members
public get emptyValue: {} source
public treeRoot: * source
public get viewComponents: * source
Private Members
private _viewComponents: * source
Public Methods
public addChild(parent: *) source
Params:
| Name | Type | Attribute | Description |
| parent | * |
public attach(element: *): * source
Override:
NestedComponent#attachParams:
| Name | Type | Attribute | Description |
| element | * |
Return:
| * |
public attachActions(node: *) source
Params:
| Name | Type | Attribute | Description |
| node | * |
public attachComponents(node: *, args: ...*): * source
Override:
NestedComponent#attachComponentsParams:
| Name | Type | Attribute | Description |
| node | * | ||
| args | ...* |
Return:
| * |
public attachNode(element: *, node: *): * source
Params:
| Name | Type | Attribute | Description |
| element | * | ||
| node | * |
Return:
| * |
public cancelNode(node: *) source
Params:
| Name | Type | Attribute | Description |
| node | * |
public checkData(data: *, flags: *, row: *): * source
Override:
NestedComponent#checkDataParams:
| Name | Type | Attribute | Description |
| data | * | ||
| flags | * | ||
| row | * |
Return:
| * |
public checkNode(data: *, node: *, flags: *, row: *): * source
Params:
| Name | Type | Attribute | Description |
| data | * | ||
| node | * | ||
| flags | * | ||
| row | * |
Return:
| * |
public createComponents(data: *, node: *): * source
Params:
| Name | Type | Attribute | Description |
| data | * | ||
| node | * |
Return:
| * |
public editNode(node: *) source
Params:
| Name | Type | Attribute | Description |
| node | * |
public removeComponents(components: *): * source
Params:
| Name | Type | Attribute | Description |
| components | * |
Return:
| * |
public removeNode(node: *) source
Params:
| Name | Type | Attribute | Description |
| node | * |
public removeRoot() source
public renderChildNodes(nodes: *[], odd: *): * source
Params:
| Name | Type | Attribute | Description |
| nodes | *[] |
|
|
| odd | * |
Return:
| * |
public renderEdit(node: {}): * source
Params:
| Name | Type | Attribute | Description |
| node | {} |
|
Return:
| * |
public renderTree(node: {}, odd: boolean): * source
Params:
| Name | Type | Attribute | Description |
| node | {} |
|
|
| odd | boolean |
|
Return:
| * |
public renderView(node: {}): * source
Params:
| Name | Type | Attribute | Description |
| node | {} |
|
Return:
| * |
public revertNode(node: *) source
Params:
| Name | Type | Attribute | Description |
| node | * |
public saveNode(node: *) source
Params:
| Name | Type | Attribute | Description |
| node | * |
public setRoot() source
public setValue(value: *, flags: {}): * source
Override:
NestedComponent#setValueParams:
| Name | Type | Attribute | Description |
| value | * | ||
| flags | {} |
|
Return:
| * |
public toggleNode(node: *) source
Params:
| Name | Type | Attribute | Description |
| node | * |
