Add icons for typedInput

This commit is contained in:
Kazuhito Yokoi 2019-10-31 16:03:27 +09:00
parent d2755a8049
commit 7c21bf4555
1 changed files with 7 additions and 7 deletions

View File

@ -237,13 +237,13 @@
function createTypeValueField(){
return $('<input/>',{class:"node-input-rule-type-value",type:"text",style:"margin-left: 5px;"}).appendTo(row).typedInput({default:'string',types:[
{value:"string",label:RED._("node-red:switch.label.string"),hasValue:false},
{value:"number",label:RED._("node-red:switch.label.number"),hasValue:false},
{value:"boolean",label:RED._("node-red:switch.label.boolean"),hasValue:false},
{value:"array",label:RED._("node-red:switch.label.array"),hasValue:false},
{value:"buffer",label:RED._("node-red:switch.label.buffer"),hasValue:false},
{value:"object",label:RED._("node-red:switch.label.object"),hasValue:false},
{value:"json",label:RED._("node-red:switch.label.jsonString"),hasValue:false},
{value:"string",label:RED._("node-red:switch.label.string"),hasValue:false,icon:"red/images/typedInput/az.png"},
{value:"number",label:RED._("node-red:switch.label.number"),hasValue:false,icon:"red/images/typedInput/09.png"},
{value:"boolean",label:RED._("node-red:switch.label.boolean"),hasValue:false,icon:"red/images/typedInput/bool.png"},
{value:"array",label:RED._("node-red:switch.label.array"),hasValue:false,icon:"red/images/typedInput/json.png"},
{value:"buffer",label:RED._("node-red:switch.label.buffer"),hasValue:false,icon:"red/images/typedInput/bin.png"},
{value:"object",label:RED._("node-red:switch.label.object"),hasValue:false,icon:"red/images/typedInput/json.png"},
{value:"json",label:RED._("node-red:switch.label.jsonString"),hasValue:false,icon:"red/images/typedInput/json.png"},
{value:"undefined",label:RED._("node-red:switch.label.undefined"),hasValue:false},
{value:"null",label:RED._("node-red:switch.label.null"),hasValue:false}
]});