cronapp-framework-mobile-js
Version:
Javascript library for CronApp's projects
199 lines (197 loc) • 4.3 kB
JSON
{
"name": "crn-input-inline",
"text_pt_BR": "Entrada de texto em linha",
"text_en_US": "Inline Input",
"image": "/node_modules/cronapp-framework-mobile-js/img/cron-icon/crn-input-inline.svg",
"description": "Campo para inserir texto com título, alinhados verticalmente",
"description_en_US": "Field for entering text with title, vertically aligned",
"category": [
"INPUTS", "FORMS"
],
"wrapper": false,
"templateURL": "src/main/mobileapp/www/node_modules/cronapp-framework-mobile-js/dist/components/templates/inlinetextinput.template.html",
"properties": {
"id": {
"order": 1
},
"class": {
"order": 9999
}
},
"childrenProperties": [
{
"name": "content",
"selector": "span",
"type": "content",
"displayName_pt_BR": "Título",
"displayName_en_US": "Title",
"order": 1
},
{
"name": "placeholder",
"selector": "input[placeholder]",
"type": "text",
"order": 4
},
{
"name": "ng-model",
"selector": "input[ng-model]",
"type": "text",
"order": 2,
"mandatory": true
},
{
"name": "type",
"selector": "input[type]",
"type": "inputType",
"order": 3
},
{
"name": "keyboard",
"selector": "input",
"type": "text",
"displayName_pt_BR": "Tipo de Teclado",
"displayName_en_US": "Keyboard Type",
"order": 6
},
{
"name": "ng-minlength",
"selector": "input",
"type": "text",
"displayName_pt_BR": "Tamanho mínimo",
"displayName_en_US": "Minimum size",
"order": 7
},
{
"name": "ng-maxlength",
"selector": "input",
"type": "text",
"displayName_pt_BR": "Máximo de caracteres",
"displayName_en_US": "Maximum characters",
"order": 8
},
{
"name": "mask",
"selector": "input",
"type": "mask",
"order": 4
},
{
"name": "mask-placeholder",
"selector": "input",
"type": "text",
"order": 5
},
{
"name": "ng-keydown",
"selector": "input",
"type": "event"
},
{
"name": "ng-keydown",
"selector": "input",
"type": "event"
},
{
"name": "ng-keyup",
"selector": "input",
"type": "event"
},
{
"name": "ng-click",
"selector": "input",
"type": "event"
},
{
"name": "on-double-tap",
"selector": "input",
"type": "event"
},
{
"name": "ng-focus",
"selector": "input",
"type": "event"
},
{
"name": "ng-blur",
"selector": "input",
"type": "event"
},
{
"name": "on-hold",
"selector": "input",
"type": "event"
},
{
"name": "on-swipe",
"selector": "input",
"type": "event"
},
{
"name": "on-drag",
"selector": "input",
"type": "event"
}
],
"attributesForPreview": [
{
"name": "keyboard",
"type": "options",
"target": "keyboard",
"values": [
{
"key": "",
"value_pt_BR": "Padrão",
"value_en_US": "Default"
},
{
"key": "integer",
"value_pt_BR": "Numérico",
"value_en_US": "Numeric"
},
{
"key": "number",
"value_pt_BR": "Decimal",
"value_en_US": "Decimal"
},
{
"key": "tel",
"value_pt_BR": "Telefone",
"value_en_US": "Telephone"
},
{
"key": "email",
"value_pt_BR": "E-mail",
"value_en_US": "Email"
},
{
"key": "password",
"value_pt_BR": "Senha",
"value_en_US": "Password"
},
{
"key": "search",
"value_pt_BR": "Pesquisa",
"value_en_US": "Search"
}
]
}
],
"styles": [
{
"selector": "div#{id} span",
"text_pt_BR": "Título",
"text_en_US": "Title"
},
{
"selector": "div#{id} input",
"text_pt_BR": "Entrada de texto",
"text_en_US": "Input"
},
{
"selector": "div#{id} input::placeholder",
"text_pt_BR": "Sugestão",
"text_en_US": "Placeholder"
}
]
}