UNPKG

cronapp-framework-js

Version:
129 lines 2.78 kB
{ "name": "crn-timepicker", "text_pt_BR": "Hora", "text_en_US": "Time", "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-timepicker.svg", "description": "Campo para inserir hora", "description_en_US": "Hour input field", "category": [ "INPUTS", "FORMS" ], "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/time.template.html", "properties": { "class": { "order": 9999 }, "id": { "order": 1 } }, "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" }, { "selector": "div#{id} input::placeholder", "text_pt_BR": "Sugestão", "text_en_US": "Placeholder" } ], "childrenProperties": [ { "name": "content", "selector": "label", "displayName_pt_BR": "Título", "displayName_en_US": "Title", "type": "text", "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 }, { "name": "type", "selector": "input", "type": "type", "order": 2 }, { "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-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" } }