cronapp-framework-js
Version:
Javascript library for CronApp's projects
158 lines (157 loc) • 3.29 kB
JSON
{
"name": "crn-datepicker",
"text_pt_BR": "Data",
"text_en_US": "Date",
"image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-datepicker.svg",
"description": "Campo para inserir data",
"description_en_US": "Field to insert date",
"category": [
"INPUTS", "FORMS"
],
"templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/date.template.html",
"properties": {
"class": {
"order": 9999
},
"crn-tooltip": {
"displayName_pt_BR": "Tooltip",
"displayName_en_US": "Tooltip",
"order": 2
},
"id": {
"order": 1
}
},
"childrenProperties": [
{
"name": "content",
"selector": "label",
"displayName_pt_BR": "Título",
"displayName_en_US": "Title",
"type": "content",
"order": 1
},
{
"name": "ng-model",
"selector": "input",
"type": "text",
"onSave": "javascript:function() { var result = arguments[0]; if (result.indexOf('.') == -1 && result.trim().length > 0 ) { result = 'vars.'+result; } return result; }",
"onDisplay": "javascript:function() { return arguments[0].replace('vars.',''); }",
"mandatory": true,
"order": 3
},
{
"name": "type",
"selector": "input",
"type": "type",
"order": 2
},
{
"name": "placeholder",
"selector": "input",
"type": "text",
"order": 4
},
{
"name": "exibir-icone",
"selector": "input",
"type": "logic",
"order": 5
},
{
"name": "mask",
"selector": "input",
"type": "mask"
},
{
"name": "mask-placeholder",
"selector": "input",
"type": "text"
},
{
"name": "ng-required",
"selector": "input",
"type": "logic"
},
{
"name": "ng-init",
"selector": "input",
"type": "event"
},
{
"name": "ng-click",
"selector": "input",
"type": "event"
},
{
"name": "ng-dblclick",
"selector": "input",
"type": "event"
},
{
"name": "ng-change",
"selector": "input",
"type": "event"
},
{
"name": "ng-keydown",
"selector": "input",
"type": "event"
},
{
"name": "ng-keyup",
"selector": "input",
"type": "event"
},
{
"name": "ng-focus",
"selector": "input",
"type": "event"
},
{
"name": "ng-blur",
"selector": "input",
"type": "event"
},
{
"name": "ng-mouseenter",
"selector": "input",
"type": "event"
},
{
"name": "ng-mouseleave",
"selector": "input",
"type": "event"
},
{
"name": "ng-mousemove",
"selector": "input",
"type": "event"
},
{
"name": "ng-copy",
"selector": "input",
"type": "event"
},
{
"name": "ng-paste",
"selector": "input",
"type": "event"
}
],
"type": {
"displayName": "Type"
},
"styles": [
{
"selector": "div#{id} label",
"text_pt_BR": "Título",
"text_en_US": "Title"
},
{
"selector": "div#{id} input.form-control",
"text_pt_BR": "Entrada de Dados",
"text_en_US": "Input"
}
]
}