UNPKG

cronapp-framework-js

Version:
161 lines (159 loc) 3.41 kB
{ "name": "crn-datetimepicker", "text_pt_BR": "Data e hora", "text_en_US": "DateTime", "image": "/node_modules/cronapp-framework-js/img/cron-icon/crn-datetimepicker.svg", "description": "Campo para inserir data e hora", "description_en_US": "Field to enter date and time", "category": [ "INPUTS", "FORMS" ], "templateURL": "src/main/webapp/node_modules/cronapp-framework-js/dist/components/templates/datetime.template.html", "properties": { "ng-model": { "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 }, "class": { "order": 9999 }, "crn-tooltip": { "displayName_pt_BR": "Tooltip", "displayName_en_US": "Tooltip", "order": 2 }, "id": { "order": 1 } }, "childrenProperties": [ { "name": "content", "selector": "label", "type": "text", "displayName_pt_BR": "Título", "displayName_en_US": "Title" }, { "name": "ng-model", "selector": "input", "type": "text", "displayName_pt_BR": "Valor", "displayName_en_US": "Value", "mandatory": true }, { "name": "type", "selector": "input", "type": "type", "order": 1 }, { "name": "placeholder", "selector": "input", "type": "text", "order": 2 }, { "name": "mask", "selector": "input", "type": "mask", "order": 3 }, { "name": "mask-placeholder", "selector": "input", "type": "text" }, { "name": "ng-required", "selector": "input", "type": "logic", "order": 4 }, { "name": "exibir-icone", "selector": "input", "type": "logic", "order": 5 }, { "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" } ], "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 Style" } ] }