Function
Static Public Summary | ||
public |
anchor(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Anchor rendering with given state, produce a rendering result. |
|
public |
button(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Button rendering with given state, produce a rendering result. |
|
public |
canvas(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Canvas rendering with given state, produce a rendering result. |
|
public |
component(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Component rendering with given state, produce a rendering result. |
|
public |
container(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult container rendering with given state, produce a rendering result. |
|
public |
diff(config_1: *, config_2: *): * |
|
public |
diff(): {"VALUE_CREATED": string, "VALUE_UPDATED": string, "VALUE_DELETED": string, "VALUE_UNCHANGED": string, "map": *, "compareValues": *, "isFunction": *, "isArray": *, "isObject": *, "isValue": *} Source : http://jsfiddle.net/sbgoran/kySNu/ |
|
public |
dock(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Dock rendering with given state, produce a rendering result. |
|
public |
Function to extract avalue from an object. |
|
public |
flat(arg_array_name: string, arg_fields: array, arg_flat_fields: array, arg_results_type: string): function Function to transform an object with an array attribute to a flat array. |
|
public |
get_absolute_path(arg_relative_path: *): * |
|
public |
get_base_dir(): * |
|
public |
get_runtime(): Runtime Get singleton runtime instance. |
|
public |
hbox(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult HBox rendering with given state, produce a rendering result. |
|
public |
image(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Image rendering with given state, produce a rendering result. |
|
public |
input_field(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Input field rendering with given state, produce a rendering result. |
|
public |
is_browser(): * |
|
public |
is_locale(arg_host: *, arg_port: *): * |
|
public |
is_remote(arg_host: *, arg_port: *): * |
|
public |
is_server(): * |
|
public |
iterator_fn(arg_value: *, arg_fn: *): * |
|
public |
label(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Label rendering with given state, produce a rendering result. |
|
public |
list(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult List rendering with given state, produce a rendering result. |
|
public |
load_application(logs: *, arg_app_name: *, arg_app_config: *, arg_config_packages: *, arg_config_plugins: *, arg_config_services: *, arg_base_dir: *): * Load the 'config.applications.*' keys of the final state Pure function: (Plain Object) => (mutated Plain Object) |
|
public |
load_applications(logs: *, arg_config: *, arg_config_packages: *, arg_config_plugins: *, arg_config_services: *, arg_base_dir: *): * Load the 'config.applications' key of the final state Pure function: (Plain Object) => (mutated Plain Object) |
|
public |
load_config(arg_state: *, arg_initial_config: *, arg_base_dir: *, arg_world_dir: *, arg_trace: *): * Load the 'config' key of the final state Pure function: (Plain Object) => (new Plain Object) |
|
public |
load_deployments(logs: *, arg_deploy_config: *, arg_base_dir: *): * |
|
public |
load_nodes(logs: *, arg_nodes_config: *, arg_base_dir: *): * |
|
public |
load_packages(logs: *, arg_packages_config: *, arg_base_dir: *): * |
|
public |
load_plugins(logs: *, arg_plugins_config: *): * |
|
public |
load_security(logs: *, arg_security_config: *, arg_base_dir: *): * |
|
public |
load_security_authentication(logs: *, arg_auth_config: *): * |
|
public |
load_security_authorization(logs: *, arg_auth_config: *): * |
|
public |
load_tenants(logs: *, arg_tenants_config: *, arg_plugins: *, arg_base_dir: *): * |
|
public |
menubar(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult HBox rendering with given state, produce a rendering result. |
|
public |
Output |
|
public |
page(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Page rendering with given state, produce a rendering result. |
|
public |
page_body(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Page rendering with given state, produce a rendering result. |
|
public |
page_content(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Page rendering with given state, produce a rendering result. |
|
public |
register_runtime(arg_runtime: Runtime): nothing Register singleton runtime instance. |
|
public |
rendering_factory(arg_item: any, arg_rendering_context: object, arg_children: object): RenderingResult Create a RenderingResult with an item: string, function, view instance as object... |
|
public |
rendering_function(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Rendering process with given state, produce a rendering result. |
|
public |
rendering_normalize(arg_default_settings: object, arg_default_state: object, arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult, arg_log_context: string): RenderingResult Normalize settings and state, helper function. |
|
public |
script(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Script rendering with given state, produce a rendering result. |
|
public |
table(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Table rendering with given state, produce a rendering result. |
|
public |
tabs(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Tabs rendering with given state, produce a rendering result. |
|
public |
textarea(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult Textarea rendering with given state, produce a rendering result. |
|
public |
to_boolean(arg_value: *, arg_default: *): * |
|
public |
Function to transform a structured data to an other data regarding a transformation configuration. |
|
public |
uid(): * |
|
public |
vbox(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult VBox rendering with given state, produce a rendering result. |
Static Public
public anchor(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import anchor from 'devapt-core-common/js/rendering/anchor.js'
Anchor rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public button(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import button from 'devapt-core-common/js/rendering/button.js'
Button rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public canvas(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import canvas from 'devapt-core-common/js/rendering/canvas.js'
Canvas rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public component(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import component from 'devapt-core-common/js/rendering/component.js'
Component rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public container(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import container from 'devapt-core-common/js/rendering/container.js'
container rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public diff(config_1: *, config_2: *): * source
import diff from 'devapt-core-common/js/utils/obj_diff.js'
Params:
Name | Type | Attribute | Description |
config_1 | * | ||
config_2 | * |
Return:
* |
public diff(): {"VALUE_CREATED": string, "VALUE_UPDATED": string, "VALUE_DELETED": string, "VALUE_UNCHANGED": string, "map": *, "compareValues": *, "isFunction": *, "isArray": *, "isObject": *, "isValue": *} source
import {diff} from 'devapt-core-common/js/utils/diff.js'
Source : http://jsfiddle.net/sbgoran/kySNu/
public dock(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import dock from 'devapt-core-common/js/rendering/dock.js'
Dock rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public extract(arg_field_config: object): function source
import {extract} from 'devapt-core-common/js/utils/transform.js'
Function to extract avalue from an object.
Params:
Name | Type | Attribute | Description |
arg_field_config | object | field configuration. |
public flat(arg_array_name: string, arg_fields: array, arg_flat_fields: array, arg_results_type: string): function source
import {flat} from 'devapt-core-common/js/utils/transform.js'
Function to transform an object with an array attribute to a flat array.
public get_absolute_path(arg_relative_path: *): * source
import {get_absolute_path} from 'devapt-core-common/js/utils/paths.js'
Params:
Name | Type | Attribute | Description |
arg_relative_path | * |
Return:
* |
public get_base_dir(): * source
import {get_base_dir} from 'devapt-core-common/js/utils/paths.js'
Return:
* |
public get_runtime(): Runtime source
import {get_runtime} from 'devapt-core-common/js/base/runtime.js'
Get singleton runtime instance.
Return:
Runtime | Runtime singleton. |
public hbox(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import hbox from 'devapt-core-common/js/rendering/hbox.js'
HBox rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public image(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import image from 'devapt-core-common/js/rendering/image.js'
Image rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public input_field(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import input_field from 'devapt-core-common/js/rendering/input_field.js'
Input field rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public is_browser(): * source
import {is_browser} from 'devapt-core-common/js/utils/is_browser.js'
Return:
* |
public is_locale(arg_host: *, arg_port: *): * source
import {is_locale} from 'devapt-core-common/js/utils/is_remote.js'
Params:
Name | Type | Attribute | Description |
arg_host | * | ||
arg_port | * |
Return:
* |
public is_remote(arg_host: *, arg_port: *): * source
import {is_remote} from 'devapt-core-common/js/utils/is_remote.js'
Params:
Name | Type | Attribute | Description |
arg_host | * | ||
arg_port | * |
Return:
* |
public is_server(): * source
import {is_server} from 'devapt-core-common/js/utils/is_browser.js'
Return:
* |
public iterator_fn(arg_value: *, arg_fn: *): * source
import iterator_fn from 'devapt-core-common/js/utils/attributes_iterator.js'
Params:
Name | Type | Attribute | Description |
arg_value | * | ||
arg_fn | * |
Return:
* |
public label(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import label from 'devapt-core-common/js/rendering/label.js'
Label rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public list(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import list from 'devapt-core-common/js/rendering/list.js'
List rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public load_application(logs: *, arg_app_name: *, arg_app_config: *, arg_config_packages: *, arg_config_plugins: *, arg_config_services: *, arg_base_dir: *): * source
import load_application from 'devapt-core-common/js/topology/registry/loaders/load_application.js'
Load the 'config.applications.*' keys of the final state Pure function: (Plain Object) => (mutated Plain Object)
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_app_name | * | ||
arg_app_config | * | ||
arg_config_packages | * | ||
arg_config_plugins | * | ||
arg_config_services | * | ||
arg_base_dir | * |
Return:
* |
public load_applications(logs: *, arg_config: *, arg_config_packages: *, arg_config_plugins: *, arg_config_services: *, arg_base_dir: *): * source
import load_applications from 'devapt-core-common/js/topology/registry/loaders/load_applications.js'
Load the 'config.applications' key of the final state Pure function: (Plain Object) => (mutated Plain Object)
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_config | * | ||
arg_config_packages | * | ||
arg_config_plugins | * | ||
arg_config_services | * | ||
arg_base_dir | * |
Return:
* |
public load_config(arg_state: *, arg_initial_config: *, arg_base_dir: *, arg_world_dir: *, arg_trace: *): * source
import load_config from 'devapt-core-common/js/topology/registry/loaders/load_config.js'
Load the 'config' key of the final state Pure function: (Plain Object) => (new Plain Object)
Params:
Name | Type | Attribute | Description |
arg_state | * | ||
arg_initial_config | * | ||
arg_base_dir | * | ||
arg_world_dir | * | ||
arg_trace | * |
Return:
* |
public load_deployments(logs: *, arg_deploy_config: *, arg_base_dir: *): * source
import load_deployments from 'devapt-core-common/js/topology/registry/loaders/load_deployments.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_deploy_config | * | ||
arg_base_dir | * |
Return:
* |
public load_nodes(logs: *, arg_nodes_config: *, arg_base_dir: *): * source
import load_nodes from 'devapt-core-common/js/topology/registry/loaders/load_nodes.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_nodes_config | * | ||
arg_base_dir | * |
Return:
* |
public load_packages(logs: *, arg_packages_config: *, arg_base_dir: *): * source
import load_packages from 'devapt-core-common/js/topology/registry/loaders/load_packages.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_packages_config | * | ||
arg_base_dir | * |
Return:
* |
public load_plugins(logs: *, arg_plugins_config: *): * source
import load_plugins from 'devapt-core-common/js/topology/registry/loaders/load_plugins.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_plugins_config | * |
Return:
* |
public load_security(logs: *, arg_security_config: *, arg_base_dir: *): * source
import load_security from 'devapt-core-common/js/topology/registry/loaders/load_security.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_security_config | * | ||
arg_base_dir | * |
Return:
* |
public load_security_authentication(logs: *, arg_auth_config: *): * source
import load_security_authentication from 'devapt-core-common/js/topology/registry/loaders/load_security_authentication.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_auth_config | * |
Return:
* |
public load_security_authorization(logs: *, arg_auth_config: *): * source
import load_security_authorization from 'devapt-core-common/js/topology/registry/loaders/load_security_authorization.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_auth_config | * |
Return:
* |
public load_tenants(logs: *, arg_tenants_config: *, arg_plugins: *, arg_base_dir: *): * source
import load_tenants from 'devapt-core-common/js/topology/registry/loaders/load_tenants.js'
Params:
Name | Type | Attribute | Description |
logs | * | ||
arg_tenants_config | * | ||
arg_plugins | * | ||
arg_base_dir | * |
Return:
* |
public menubar(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import menubar from 'devapt-core-common/js/rendering/menubar.js'
HBox rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public out(arg_extractors: array, arg_results_type: string): function source
import {out} from 'devapt-core-common/js/utils/transform.js'
Output
Params:
Name | Type | Attribute | Description |
arg_extractors | array | fields extractors objects array with extractor:{ name:'...', extract:(any)=>(any) }). |
|
arg_results_type | string | output record type ('array' or 'object'). |
public page(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import page from 'devapt-core-common/js/rendering/page.js'
Page rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public page_body(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import page_body from 'devapt-core-common/js/rendering/page_body.js'
Page rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public page_content(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import page_content from 'devapt-core-common/js/rendering/page_content.js'
Page rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public register_runtime(arg_runtime: Runtime): nothing source
import {register_runtime} from 'devapt-core-common/js/base/runtime.js'
Register singleton runtime instance.
Params:
Name | Type | Attribute | Description |
arg_runtime | Runtime | Runtime singleton. |
Return:
nothing |
public rendering_factory(arg_item: any, arg_rendering_context: object, arg_children: object): RenderingResult source
import rendering_factory from 'devapt-core-common/js/rendering/rendering_factory.js'
Create a RenderingResult with an item: string, function, view instance as object...
public rendering_function(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import rendering_function from 'devapt-core-common/js/rendering/rendering_function.js'
Rendering process with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public rendering_normalize(arg_default_settings: object, arg_default_state: object, arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult, arg_log_context: string): RenderingResult source
import rendering_normalize from 'devapt-core-common/js/rendering/rendering_normalize.js'
Normalize settings and state, helper function.
Params:
Name | Type | Attribute | Description |
arg_default_settings | object | rendering default settings. |
|
arg_default_state | object | component default state. |
|
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
|
arg_log_context | string | trace context. |
public script(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import script from 'devapt-core-common/js/rendering/script.js'
Script rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public table(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import table from 'devapt-core-common/js/rendering/table.js'
Table rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public tabs(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import tabs from 'devapt-core-common/js/rendering/tabs.js'
Tabs rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public textarea(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import textarea from 'devapt-core-common/js/rendering/textarea.js'
Textarea rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |
public to_boolean(arg_value: *, arg_default: *): * source
import to_boolean from 'devapt-core-common/js/utils/to_boolean.js'
Params:
Name | Type | Attribute | Description |
arg_value | * | ||
arg_default | * |
Return:
* |
public transform(arg_xform: object): function source
import {transform} from 'devapt-core-common/js/utils/transform.js'
Function to transform a structured data to an other data regarding a transformation configuration.
Params:
Name | Type | Attribute | Description |
arg_xform | object | transformation definition. |
public vbox(arg_settings: object, arg_state: object, arg_rendering_context: object, arg_rendering_result: RenderingResult): RenderingResult source
import vbox from 'devapt-core-common/js/rendering/vbox.js'
VBox rendering with given state, produce a rendering result.
Params:
Name | Type | Attribute | Description |
arg_settings | object | rendering item settings. |
|
arg_state | object | component state. |
|
arg_rendering_context | object | rendering context: { trace_fn:..., resolver:..., credentials:..., rendering_factory:... }. |
|
arg_rendering_result | RenderingResult | rendering result to update. |