widgets.pbText.pbText.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
This module is a generator on AngularJS for Artifact Builder
{
"id" : "pbText",
"name" : "Text",
"type" : "widget",
"custom" : false,
"modelVersion" : "2.6",
"description" : "Short string or paragraph of text to be displayed. Can include HTML tags",
"template" : "@pbText.tpl.html",
"properties" : [
{
"label" : "Interpret HTML",
"name" : "allowHTML",
"help" : "If you choose 'no', HTML code will be escaped instead of being interpreted. If you choose ‘Yes’, this could potentially lead to HTML injections attacks. Please take into account these risks.",
"type" : "boolean",
"defaultValue" : false,
"bond" : "constant"
},
{
"label" : "Label hidden",
"name" : "labelHidden",
"type" : "boolean",
"defaultValue" : true,
"bond" : "constant"
},
{
"label" : "Label",
"name" : "label",
"showFor" : "properties.labelHidden.value === false",
"type" : "text",
"defaultValue" : "Default label",
"bond" : "interpolation"
},
{
"label" : "Label position",
"name" : "labelPosition",
"showFor" : "properties.labelHidden.value === false",
"type" : "choice",
"defaultValue" : "top",
"choiceValues" : [
"left",
"top"
],
"bond" : "constant"
},
{
"label" : "Label width",
"name" : "labelWidth",
"showFor" : "properties.labelHidden.value === false",
"type" : "integer",
"defaultValue" : 4,
"bond" : "constant",
"constraints" : {
"min" : "1",
"max" : "12"
}
},
{
"label" : "Text",
"name" : "text",
"caption" : "Use basic html tags (if allowed), {{dataVariable}} to access data, and filters to format it (e.g. {{dateVariable|uiDate}})",
"type" : "html",
"defaultValue" : "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet,
consectetur,
adipisci velit...",
"bond" : "interpolation"
},
{
"label" : "Alignment",
"name" : "alignment",
"showFor" : "properties.labelHidden.value === true",
"type" : "choice",
"defaultValue" : "left",
"choiceValues" : [
"left",
"center",
"right"
],
"bond" : "constant"
}
],
"assets" : [ ],
"requiredModules" : [ ],
"webResources" : [ ],
"icon" : "",
"order" : 19,
"hasHelp" : false
}