export let toolbox = {
"kind": "categoryToolbox",
"contents": [
{
"kind": "category",
"name": "Control",
"categorystyle": "logic_category",
"contents": [
{
"kind": "block",
"type": "controls_if",
"name":"if"
},
{
"kind": "block",
"type": "lists_isEmpty"
},
{
"kind": "block",
"type":"logic_operation"
},
{
"kind" : "block",
"type" : "math_number",
},
{
'kind': 'block',
'type': 'play_sound'
},
{
"kind": "block",
"type": "controls_for",
"inputs": {
"FROM": {
"block": {
"type": "math_number",
"fields": {
"NUM": 1
}
}
},
"TO": {
"block": {
"type": "math_number",
"fields": {
"NUM": 10
}
}
},
"BY": {
"block": {
"type": "math_number",
"fields": {
"NUM": 1
}
}
},
}
},
],
"toolboxitemid": "logic",
"family": "Georgia, serif",
"weight": "bold"
},
{
"kind": "category",
"name": "Logic",
"contents": [
{
"kind": "block",
"type": "logic_compare",
"name": "Equal"
},
{
"kind": "block",
"type": "logic_operation",
"name" : "BOOL!"
},
{
"kind": "block",
"type": "logic_boolean"
},
{
"kind":"block",
"type":"math_number",
"name":"texts"
}
]},
{
"kind": "category",
"name" : "values",
"custom" : "PROCEDURE",
"contents" : [
{
"kind" : "button",
"text" : "math_number"
// "callbackkey": "myFirstButtonPressed"
}
]},
{
"kind": "flyoutToolbox",
"name": "nice",
"contents": [
{
"kind": "block",
"type":"logic_operation"
},
{
"kind": "label",
"text": "A label",
"web-class": "myLabelStyle"
},
{
"kind": "label",
"text": "Another label"
},
{
"kind": "block",
"type": "logic_negate"
},
{
"kind": "button",
"text": "A button",
"callbackKey": "myFirstButtonPressed"
},
{
"kind": "block",
"type": "logic_boolean"
}
]
},
]
};