blockly 13.0.0-beta.9 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blockly.min.js +209 -193
- package/blockly_compressed.js +191 -189
- package/blockly_compressed.js.map +1 -1
- package/core/dragging/block_drag_strategy.d.ts +7 -0
- package/dart_compressed.js +6 -6
- package/javascript_compressed.js +4 -4
- package/lua_compressed.js +6 -6
- package/msg/ab.js +14 -0
- package/msg/ab.mjs +14 -0
- package/msg/ace.js +14 -0
- package/msg/ace.mjs +14 -0
- package/msg/af.js +14 -0
- package/msg/af.mjs +14 -0
- package/msg/am.js +14 -0
- package/msg/am.mjs +14 -0
- package/msg/ar.js +15 -1
- package/msg/ar.mjs +14 -0
- package/msg/ast.js +14 -0
- package/msg/ast.mjs +14 -0
- package/msg/az.js +14 -0
- package/msg/az.mjs +14 -0
- package/msg/ba.js +14 -0
- package/msg/ba.mjs +14 -0
- package/msg/bcc.js +14 -0
- package/msg/bcc.mjs +14 -0
- package/msg/be-tarask.js +14 -0
- package/msg/be-tarask.mjs +14 -0
- package/msg/be.js +14 -0
- package/msg/be.mjs +14 -0
- package/msg/bg.js +14 -0
- package/msg/bg.mjs +14 -0
- package/msg/bn.js +14 -0
- package/msg/bn.mjs +14 -0
- package/msg/br.js +14 -0
- package/msg/br.mjs +14 -0
- package/msg/bs.js +14 -0
- package/msg/bs.mjs +14 -0
- package/msg/ca.js +14 -0
- package/msg/ca.mjs +14 -0
- package/msg/ce.js +14 -0
- package/msg/ce.mjs +14 -0
- package/msg/cs.js +14 -0
- package/msg/cs.mjs +14 -0
- package/msg/{hak.js → csb.js} +151 -137
- package/msg/csb.mjs +656 -0
- package/msg/da.js +14 -0
- package/msg/da.mjs +14 -0
- package/msg/de.js +14 -0
- package/msg/de.mjs +14 -0
- package/msg/diq.js +14 -0
- package/msg/diq.mjs +14 -0
- package/msg/dtp.js +14 -0
- package/msg/dtp.mjs +14 -0
- package/msg/dty.js +14 -0
- package/msg/dty.mjs +14 -0
- package/msg/ee.js +14 -0
- package/msg/ee.mjs +14 -0
- package/msg/el.js +15 -1
- package/msg/el.mjs +14 -0
- package/msg/en-gb.js +14 -0
- package/msg/en-gb.mjs +14 -0
- package/msg/en.js +14 -0
- package/msg/en.mjs +14 -0
- package/msg/eo.js +14 -0
- package/msg/eo.mjs +14 -0
- package/msg/es.js +27 -13
- package/msg/es.mjs +14 -0
- package/msg/et.js +14 -0
- package/msg/et.mjs +14 -0
- package/msg/eu.js +14 -0
- package/msg/eu.mjs +14 -0
- package/msg/fa.js +14 -0
- package/msg/fa.mjs +14 -0
- package/msg/fi.js +14 -0
- package/msg/fi.mjs +14 -0
- package/msg/fo.js +14 -0
- package/msg/fo.mjs +14 -0
- package/msg/fr.js +15 -1
- package/msg/fr.mjs +14 -0
- package/msg/frr.js +14 -0
- package/msg/frr.mjs +14 -0
- package/msg/ga.js +14 -0
- package/msg/ga.mjs +14 -0
- package/msg/gl.js +73 -59
- package/msg/gl.mjs +14 -0
- package/msg/gn.js +14 -0
- package/msg/gn.mjs +14 -0
- package/msg/gor.js +14 -0
- package/msg/gor.mjs +14 -0
- package/msg/ha.js +14 -0
- package/msg/ha.mjs +14 -0
- package/msg/he.js +104 -90
- package/msg/he.mjs +14 -0
- package/msg/hi.js +14 -0
- package/msg/hi.mjs +14 -0
- package/msg/hr.js +14 -0
- package/msg/hr.mjs +14 -0
- package/msg/hrx.js +14 -0
- package/msg/hrx.mjs +14 -0
- package/msg/hsb.js +14 -0
- package/msg/hsb.mjs +14 -0
- package/msg/hu.js +14 -0
- package/msg/hu.mjs +14 -0
- package/msg/hy.js +14 -0
- package/msg/hy.mjs +14 -0
- package/msg/ia.js +113 -99
- package/msg/ia.mjs +14 -0
- package/msg/id.js +14 -0
- package/msg/id.mjs +14 -0
- package/msg/ig.js +14 -0
- package/msg/ig.mjs +14 -0
- package/msg/inh.js +14 -0
- package/msg/inh.mjs +14 -0
- package/msg/is.js +14 -0
- package/msg/is.mjs +14 -0
- package/msg/it.js +29 -15
- package/msg/it.mjs +14 -0
- package/msg/ja.js +17 -3
- package/msg/ja.mjs +14 -0
- package/msg/ka.js +14 -0
- package/msg/ka.mjs +14 -0
- package/msg/kab.js +14 -0
- package/msg/kab.mjs +14 -0
- package/msg/kbd-cyrl.js +14 -0
- package/msg/kbd-cyrl.mjs +14 -0
- package/msg/km.js +14 -0
- package/msg/km.mjs +14 -0
- package/msg/kn.js +14 -0
- package/msg/kn.mjs +14 -0
- package/msg/ko.js +312 -298
- package/msg/ko.mjs +14 -0
- package/msg/krc.js +14 -0
- package/msg/krc.mjs +14 -0
- package/msg/ksh.js +14 -0
- package/msg/ksh.mjs +14 -0
- package/msg/ku-latn.js +14 -0
- package/msg/ku-latn.mjs +14 -0
- package/msg/ky.js +14 -0
- package/msg/ky.mjs +14 -0
- package/msg/la.js +14 -0
- package/msg/la.mjs +14 -0
- package/msg/lb.js +14 -0
- package/msg/lb.mjs +14 -0
- package/msg/lki.js +14 -0
- package/msg/lki.mjs +14 -0
- package/msg/lo.js +14 -0
- package/msg/lo.mjs +14 -0
- package/msg/lrc.js +14 -0
- package/msg/lrc.mjs +14 -0
- package/msg/lt.js +14 -0
- package/msg/lt.mjs +14 -0
- package/msg/lv.js +14 -0
- package/msg/lv.mjs +14 -0
- package/msg/mg.js +14 -0
- package/msg/mg.mjs +14 -0
- package/msg/mk.js +14 -0
- package/msg/mk.mjs +14 -0
- package/msg/ml.js +14 -0
- package/msg/ml.mjs +14 -0
- package/msg/mnw.js +14 -0
- package/msg/mnw.mjs +14 -0
- package/msg/ms.js +14 -0
- package/msg/ms.mjs +14 -0
- package/msg/mt.js +675 -0
- package/msg/{hak.mjs → mt.mjs} +16 -2
- package/msg/my.js +14 -0
- package/msg/my.mjs +14 -0
- package/msg/mzn.js +14 -0
- package/msg/mzn.mjs +14 -0
- package/msg/nb.js +14 -0
- package/msg/nb.mjs +14 -0
- package/msg/ne.js +14 -0
- package/msg/ne.mjs +14 -0
- package/msg/nl.js +103 -89
- package/msg/nl.mjs +14 -0
- package/msg/oc.js +14 -0
- package/msg/oc.mjs +14 -0
- package/msg/olo.js +14 -0
- package/msg/olo.mjs +14 -0
- package/msg/pa.js +15 -1
- package/msg/pa.mjs +14 -0
- package/msg/pl.js +14 -0
- package/msg/pl.mjs +14 -0
- package/msg/pms.js +71 -57
- package/msg/pms.mjs +14 -0
- package/msg/ps.js +23 -9
- package/msg/ps.mjs +14 -0
- package/msg/pt-br.js +14 -0
- package/msg/pt-br.mjs +14 -0
- package/msg/pt.js +14 -0
- package/msg/pt.mjs +14 -0
- package/msg/ro.js +14 -0
- package/msg/ro.mjs +14 -0
- package/msg/ru.js +15 -1
- package/msg/ru.mjs +14 -0
- package/msg/sc.js +14 -0
- package/msg/sc.mjs +14 -0
- package/msg/sco.js +14 -0
- package/msg/sco.mjs +14 -0
- package/msg/sd.js +14 -0
- package/msg/sd.mjs +14 -0
- package/msg/shn.js +14 -0
- package/msg/shn.mjs +14 -0
- package/msg/si.js +14 -0
- package/msg/si.mjs +14 -0
- package/msg/sk.js +36 -22
- package/msg/sk.mjs +14 -0
- package/msg/skr-arab.js +14 -0
- package/msg/skr-arab.mjs +14 -0
- package/msg/sl.js +14 -0
- package/msg/sl.mjs +14 -0
- package/msg/smn.js +14 -0
- package/msg/smn.mjs +14 -0
- package/msg/sq.js +14 -0
- package/msg/sq.mjs +14 -0
- package/msg/sr-latn.js +14 -0
- package/msg/sr-latn.mjs +14 -0
- package/msg/sr.js +15 -1
- package/msg/sr.mjs +14 -0
- package/msg/sv.js +14 -0
- package/msg/sv.mjs +14 -0
- package/msg/sw.js +14 -0
- package/msg/sw.mjs +14 -0
- package/msg/ta.js +14 -0
- package/msg/ta.mjs +14 -0
- package/msg/tcy.js +14 -0
- package/msg/tcy.mjs +14 -0
- package/msg/tdd.js +14 -0
- package/msg/tdd.mjs +14 -0
- package/msg/te.js +14 -0
- package/msg/te.mjs +14 -0
- package/msg/th.js +14 -0
- package/msg/th.mjs +14 -0
- package/msg/ti.js +14 -0
- package/msg/ti.mjs +14 -0
- package/msg/tl.js +14 -0
- package/msg/tl.mjs +14 -0
- package/msg/tlh.js +14 -0
- package/msg/tlh.mjs +14 -0
- package/msg/tr.js +14 -0
- package/msg/tr.mjs +14 -0
- package/msg/ug-arab.js +14 -0
- package/msg/ug-arab.mjs +14 -0
- package/msg/uk.js +37 -23
- package/msg/uk.mjs +14 -0
- package/msg/ur.js +14 -0
- package/msg/ur.mjs +14 -0
- package/msg/uz.js +14 -0
- package/msg/uz.mjs +14 -0
- package/msg/vi.js +15 -1
- package/msg/vi.mjs +14 -0
- package/msg/xmf.js +14 -0
- package/msg/xmf.mjs +14 -0
- package/msg/yo.js +14 -0
- package/msg/yo.mjs +14 -0
- package/msg/zgh.js +14 -0
- package/msg/zgh.mjs +14 -0
- package/msg/zh-hans.js +14 -0
- package/msg/zh-hans.mjs +14 -0
- package/msg/zh-hant.js +14 -0
- package/msg/zh-hant.mjs +14 -0
- package/package.json +1 -1
- package/php_compressed.js +5 -5
- package/python_compressed.js +3 -3
|
@@ -136,6 +136,13 @@ export declare class BlockDragStrategy implements IDragStrategy {
|
|
|
136
136
|
private fireMoveEvent;
|
|
137
137
|
/** Moves the block and updates any connection previews. */
|
|
138
138
|
drag(newLoc: Coordinate, e?: PointerEvent | KeyboardEvent): void;
|
|
139
|
+
/**
|
|
140
|
+
* Determines the offset to apply to the dragged block's position
|
|
141
|
+
* based on the current connection candidate.
|
|
142
|
+
*
|
|
143
|
+
* @returns coordinates representing the offset
|
|
144
|
+
*/
|
|
145
|
+
private determineConnectionOffset;
|
|
139
146
|
/**
|
|
140
147
|
* Renders the connection preview indicator.
|
|
141
148
|
*
|
package/dart_compressed.js
CHANGED
|
@@ -17,7 +17,7 @@ f),d+=" else {\n"+f+"}";return d+"\n"},Ds=function(a,b){var c=a.getField("TIMES"
|
|
|
17
17
|
if(c==="NEG")return a=b.valueToCode(a,"NUM",Z.UNARY_PREFIX)||"0",a[0]==="-"&&(a=" "+a),["-"+a,Z.UNARY_PREFIX];b.definitions_.import_dart_math="import 'dart:math' as Math;";a=c==="ABS"||c.substring(0,5)==="ROUND"?b.valueToCode(a,"NUM",Z.UNARY_POSTFIX)||"0":c==="SIN"||c==="COS"||c==="TAN"?b.valueToCode(a,"NUM",Z.MULTIPLICATIVE)||"0":b.valueToCode(a,"NUM",Z.NONE)||"0";switch(c){case "ABS":var d=a+".abs()";break;case "ROOT":d="Math.sqrt("+a+")";break;case "LN":d="Math.log("+a+")";break;case "EXP":d="Math.exp("+
|
|
18
18
|
a+")";break;case "POW10":d="Math.pow(10,"+a+")";break;case "ROUND":d=a+".round()";break;case "ROUNDUP":d=a+".ceil()";break;case "ROUNDDOWN":d=a+".floor()";break;case "SIN":d="Math.sin("+a+" / 180 * Math.pi)";break;case "COS":d="Math.cos("+a+" / 180 * Math.pi)";break;case "TAN":d="Math.tan("+a+" / 180 * Math.pi)"}if(d)return[d,Z.UNARY_POSTFIX];switch(c){case "LOG10":d="Math.log("+a+") / Math.log(10)";break;case "ASIN":d="Math.asin("+a+") / Math.pi * 180";break;case "ACOS":d="Math.acos("+a+") / Math.pi * 180";
|
|
19
19
|
break;case "ATAN":d="Math.atan("+a+") / Math.pi * 180";break;default:throw Error("Unknown math operator: "+c);}return[d,Z.MULTIPLICATIVE]},Fs=function(a,b){var c=b.getProcedureName(a.getFieldValue("NAME")),d="";b.STATEMENT_PREFIX&&(d+=b.injectId(b.STATEMENT_PREFIX,a));b.STATEMENT_SUFFIX&&(d+=b.injectId(b.STATEMENT_SUFFIX,a));d&&(d=b.prefixLines(d,b.INDENT));var e="";b.INFINITE_LOOP_TRAP&&(e=b.prefixLines(b.injectId(b.INFINITE_LOOP_TRAP,a),b.INDENT));var f="";a.getInput("STACK")&&(f=b.statementToCode(a,
|
|
20
|
-
"STACK"));var g="";a.getInput("RETURN")&&(g=b.valueToCode(a,"RETURN",Z.NONE)||"");var
|
|
20
|
+
"STACK"));var g="";a.getInput("RETURN")&&(g=b.valueToCode(a,"RETURN",Z.NONE)||"");var h="";f&&g&&(h=d);g&&(g=b.INDENT+"return "+g+";\n");var m=g?"dynamic":"void",z=[],E=a.getVarModels();for(let G=0;G<E.length;G++)z[G]=b.getVariableName(E[G].getId());d=m+" "+c+"("+z.join(", ")+") {\n"+d+e+f+h+g+"}";d=b.scrub_(a,d);b.definitions_["%"+c]=d;return null},Gs=function(a,b){b.definitions_.import_dart_html="import 'dart:html' as Html;";var c="Html.window.prompt("+(a.getField("TEXT")?b.quote_(a.getFieldValue("TEXT")):
|
|
21
21
|
b.valueToCode(a,"TEXT",Z.NONE)||"''")+", '')";a.getFieldValue("TYPE")==="NUMBER"&&(b.definitions_.import_dart_math="import 'dart:math' as Math;",c="Math.parseDouble("+c+")");return[c,Z.UNARY_POSTFIX]},Hs=function(a,b){return[b.getVariableName(a.getFieldValue("VAR")),Z.ATOMIC]},Is=function(a,b){var c=b.valueToCode(a,"VALUE",Z.ASSIGNMENT)||"0";return b.getVariableName(a.getFieldValue("VAR"))+" = "+c+";\n"},Z,Js=Z||(Z={});Js[Js.ATOMIC=0]="ATOMIC";Js[Js.UNARY_POSTFIX=1]="UNARY_POSTFIX";
|
|
22
22
|
Js[Js.UNARY_PREFIX=2]="UNARY_PREFIX";Js[Js.MULTIPLICATIVE=3]="MULTIPLICATIVE";Js[Js.ADDITIVE=4]="ADDITIVE";Js[Js.SHIFT=5]="SHIFT";Js[Js.BITWISE_AND=6]="BITWISE_AND";Js[Js.BITWISE_XOR=7]="BITWISE_XOR";Js[Js.BITWISE_OR=8]="BITWISE_OR";Js[Js.RELATIONAL=9]="RELATIONAL";Js[Js.EQUALITY=10]="EQUALITY";Js[Js.LOGICAL_AND=11]="LOGICAL_AND";Js[Js.LOGICAL_OR=12]="LOGICAL_OR";Js[Js.IF_NULL=13]="IF_NULL";Js[Js.CONDITIONAL=14]="CONDITIONAL";Js[Js.CASCADE=15]="CASCADE";Js[Js.ASSIGNMENT=16]="ASSIGNMENT";
|
|
23
23
|
Js[Js.NONE=99]="NONE";
|
|
@@ -28,8 +28,8 @@ b,c=!1){var d="";if(!a.outputConnection||!a.outputConnection.targetConnection){v
|
|
|
28
28
|
b,c=0,d=!1,e=Z.NONE){a.workspace.options.oneBasedIndex&&c--;var f=a.workspace.options.oneBasedIndex?"1":"0",g=e;c?g=Z.ADDITIVE:d&&(g=Z.UNARY_PREFIX);a=this.valueToCode(a,b,g)||f;if(c===0&&!d)return a;if($.df(a))return a=String(Number(a)+c),d&&(a=String(-Number(a))),a;c>0?a=`${a} + ${c}`:c<0&&(a=`${a} - ${-c}`);d&&(a=c?`-(${a})`:`-${a}`);Math.floor(e)>=Math.floor(g)&&(a=`(${a})`);return a}};var Ls={};Ls.controls_if=Cs;Ls.controls_ifelse=Cs;Ls.logic_boolean=function(a){return[a.getFieldValue("BOOL")==="TRUE"?"true":"false",Z.ATOMIC]};Ls.logic_compare=function(a,b){var c={EQ:"==",NEQ:"!=",LT:"<",LTE:"<=",GT:">",GTE:">="}[a.getFieldValue("OP")],d=c==="=="||c==="!="?Z.EQUALITY:Z.RELATIONAL,e=b.valueToCode(a,"A",d)||"0";a=b.valueToCode(a,"B",d)||"0";return[e+" "+c+" "+a,d]};Ls.logic_negate=function(a,b){var c=Z.UNARY_PREFIX;return["!"+(b.valueToCode(a,"BOOL",c)||"true"),c]};
|
|
29
29
|
Ls.logic_null=function(){return["null",Z.ATOMIC]};Ls.logic_operation=function(a,b){var c=a.getFieldValue("OP")==="AND"?"&&":"||",d=c==="&&"?Z.LOGICAL_AND:Z.LOGICAL_OR,e=b.valueToCode(a,"A",d);a=b.valueToCode(a,"B",d);e||a?(b=c==="&&"?"true":"false",e||(e=b),a||(a=b)):a=e="false";return[e+" "+c+" "+a,d]};
|
|
30
30
|
Ls.logic_ternary=function(a,b){var c=b.valueToCode(a,"IF",Z.CONDITIONAL)||"false",d=b.valueToCode(a,"THEN",Z.CONDITIONAL)||"null";a=b.valueToCode(a,"ELSE",Z.CONDITIONAL)||"null";return[c+" ? "+d+" : "+a,Z.CONDITIONAL]};var Ms={controls_flow_statements:function(a,b){var c="";b.STATEMENT_PREFIX&&(c+=b.injectId(b.STATEMENT_PREFIX,a));b.STATEMENT_SUFFIX&&(c+=b.injectId(b.STATEMENT_SUFFIX,a));if(b.STATEMENT_PREFIX){let d=a.getSurroundLoop();d&&!d.suppressPrefixSuffix&&(c+=b.injectId(b.STATEMENT_PREFIX,d))}switch(a.getFieldValue("FLOW")){case "BREAK":return c+"break;\n";case "CONTINUE":return c+"continue;\n"}throw Error("Unknown flow statement.");},controls_for:function(a,b){var c=b.getVariableName(a.getFieldValue("VAR")),
|
|
31
|
-
d=b.valueToCode(a,"FROM",Z.ASSIGNMENT)||"0",e=b.valueToCode(a,"TO",Z.ASSIGNMENT)||"0",f=b.valueToCode(a,"BY",Z.ASSIGNMENT)||"1",g=b.statementToCode(a,"DO");g=b.addLoopTrap(g,a);if($.df(d)&&$.df(e)&&$.df(f))b=Number(d)<=Number(e),a="for ("+c+" = "+d+"; "+c+(b?" <= ":" >= ")+e+"; "+c,c=Math.abs(Number(f)),a=c===1?a+(b?"++":"--"):a+((b?" += ":" -= ")+c),a+=") {\n"+g+"}\n";else{a="";let
|
|
32
|
-
e.match(/^\w+$/)||$.df(e)||(d=b.nameDB_.getDistinctName(c+"_end",$.P.VARIABLE),a+="var "+d+" = "+e+";\n");e=b.nameDB_.getDistinctName(c+"_inc",$.P.VARIABLE);a+="num "+e+" = ";a=$.df(f)?a+(Math.abs(Number(f))+";\n"):a+("("+f+").abs();\n");a+="if ("+
|
|
31
|
+
d=b.valueToCode(a,"FROM",Z.ASSIGNMENT)||"0",e=b.valueToCode(a,"TO",Z.ASSIGNMENT)||"0",f=b.valueToCode(a,"BY",Z.ASSIGNMENT)||"1",g=b.statementToCode(a,"DO");g=b.addLoopTrap(g,a);if($.df(d)&&$.df(e)&&$.df(f))b=Number(d)<=Number(e),a="for ("+c+" = "+d+"; "+c+(b?" <= ":" >= ")+e+"; "+c,c=Math.abs(Number(f)),a=c===1?a+(b?"++":"--"):a+((b?" += ":" -= ")+c),a+=") {\n"+g+"}\n";else{a="";let h=d;d.match(/^\w+$/)||$.df(d)||(h=b.nameDB_.getDistinctName(c+"_start",$.P.VARIABLE),a+="var "+h+" = "+d+";\n");d=e;
|
|
32
|
+
e.match(/^\w+$/)||$.df(e)||(d=b.nameDB_.getDistinctName(c+"_end",$.P.VARIABLE),a+="var "+d+" = "+e+";\n");e=b.nameDB_.getDistinctName(c+"_inc",$.P.VARIABLE);a+="num "+e+" = ";a=$.df(f)?a+(Math.abs(Number(f))+";\n"):a+("("+f+").abs();\n");a+="if ("+h+" > "+d+") {\n";a+=b.INDENT+e+" = -"+e+";\n";a=a+"}\nfor ("+(c+" = "+h+"; "+e+" >= 0 ? "+c+" <= "+d+" : "+c+" >= "+d+"; "+c+" += "+e+") {\n"+g+"}\n")}return a},controls_forEach:function(a,b){var c=b.getVariableName(a.getFieldValue("VAR")),d=b.valueToCode(a,
|
|
33
33
|
"LIST",Z.ASSIGNMENT)||"[]",e=b.statementToCode(a,"DO");e=b.addLoopTrap(e,a);return"for (var "+c+" in "+d+") {\n"+e+"}\n"}};Ms.controls_repeat=Ds;Ms.controls_repeat_ext=Ds;Ms.controls_whileUntil=function(a,b){var c=a.getFieldValue("MODE")==="UNTIL",d=b.valueToCode(a,"BOOL",c?Z.UNARY_PREFIX:Z.NONE)||"false",e=b.statementToCode(a,"DO");e=b.addLoopTrap(e,a);c&&(d="!"+d);return"while ("+d+") {\n"+e+"}\n"};var Ns={math_arithmetic:function(a,b){var c={ADD:[" + ",Z.ADDITIVE],MINUS:[" - ",Z.ADDITIVE],MULTIPLY:[" * ",Z.MULTIPLICATIVE],DIVIDE:[" / ",Z.MULTIPLICATIVE],POWER:[null,Z.NONE]}[a.getFieldValue("OP")],d=c[0];c=c[1];var e=b.valueToCode(a,"A",c)||"0";a=b.valueToCode(a,"B",c)||"0";return d?[e+d+a,c]:(b.definitions_.import_dart_math="import 'dart:math' as Math;",["Math.pow("+e+", "+a+")",Z.UNARY_POSTFIX])},math_atan2:function(a,b){b.definitions_.import_dart_math="import 'dart:math' as Math;";var c=
|
|
34
34
|
b.valueToCode(a,"X",Z.NONE)||"0";return["Math.atan2("+(b.valueToCode(a,"Y",Z.NONE)||"0")+", "+c+") / Math.pi * 180",Z.MULTIPLICATIVE]},math_change:function(a,b){var c=b.valueToCode(a,"DELTA",Z.ADDITIVE)||"0";a=b.getVariableName(a.getFieldValue("VAR"));return a+" = ("+a+" is num ? "+a+" : 0) + "+c+";\n"},math_constant:function(a,b){var c={PI:["Math.pi",Z.UNARY_POSTFIX],E:["Math.e",Z.UNARY_POSTFIX],GOLDEN_RATIO:["(1 + Math.sqrt(5)) / 2",Z.MULTIPLICATIVE],SQRT2:["Math.sqrt2",Z.UNARY_POSTFIX],SQRT1_2:["Math.sqrt1_2",
|
|
35
35
|
Z.UNARY_POSTFIX],INFINITY:["double.infinity",Z.ATOMIC]};a=a.getFieldValue("CONSTANT");a!=="INFINITY"&&(b.definitions_.import_dart_math="import 'dart:math' as Math;");return c[a]},math_constrain:function(a,b){b.definitions_.import_dart_math="import 'dart:math' as Math;";var c=b.valueToCode(a,"VALUE",Z.NONE)||"0",d=b.valueToCode(a,"LOW",Z.NONE)||"0";a=b.valueToCode(a,"HIGH",Z.NONE)||"double.infinity";return["Math.min(Math.max("+c+", "+d+"), "+a+")",Z.UNARY_POSTFIX]},math_modulo:function(a,b){var c=
|
|
@@ -220,7 +220,7 @@ String ${b.FUNCTION_NAME_PLACEHOLDER_}(String text, String where1, num at1, Stri
|
|
|
220
220
|
Z.ATOMIC];case 1:return[(b.valueToCode(a,"ADD0",Z.UNARY_POSTFIX)||"''")+".toString()",Z.UNARY_POSTFIX];default:let c=Array(a.itemCount_);for(let d=0;d<a.itemCount_;d++)c[d]=b.valueToCode(a,"ADD"+d,Z.NONE)||"''";return["["+c.join(",")+"].join()",Z.UNARY_POSTFIX]}},text_length:function(a,b){return[(b.valueToCode(a,"VALUE",Z.UNARY_POSTFIX)||"''")+".length",Z.UNARY_POSTFIX]},text_print:function(a,b){return"print("+(b.valueToCode(a,"TEXT",Z.NONE)||"''")+");\n"}};Ps.text_prompt=Gs;Ps.text_prompt_ext=Gs;
|
|
221
221
|
Ps.text_replace=function(a,b){var c=b.valueToCode(a,"TEXT",Z.UNARY_POSTFIX)||"''",d=b.valueToCode(a,"FROM",Z.NONE)||"''";a=b.valueToCode(a,"TO",Z.NONE)||"''";return[c+".replaceAll("+d+", "+a+")",Z.UNARY_POSTFIX]};Ps.text_reverse=function(a,b){return["new String.fromCharCodes("+(b.valueToCode(a,"TEXT",Z.UNARY_POSTFIX)||"''")+".runes.toList().reversed)",Z.UNARY_PREFIX]};
|
|
222
222
|
Ps.text_trim=function(a,b){var c={LEFT:".replaceFirst(new RegExp(r'^\\s+'), '')",RIGHT:".replaceFirst(new RegExp(r'\\s+$'), '')",BOTH:".trim()"}[a.getFieldValue("MODE")];return[(b.valueToCode(a,"TEXT",Z.UNARY_POSTFIX)||"''")+c,Z.UNARY_POSTFIX]};var Qs={};Qs.variables_get=Hs;Qs.variables_set=Is;var Rs={};Rs.variables_get_dynamic=Hs;Rs.variables_set_dynamic=Is;var Ss=new Ks;Ss.addReservedWords("Html,Math");
|
|
223
|
-
var Ts=Object.assign({},{lists_create_empty:function(){return["[]",Z.ATOMIC]},lists_create_with:function(a,b){var c=Array(a.itemCount_);for(let d=0;d<a.itemCount_;d++)c[d]=b.valueToCode(a,"ADD"+d,Z.NONE)||"null";return["["+c.join(", ")+"]",Z.ATOMIC]},lists_getIndex:function(a,b){function c(){var g=b.nameDB_.getDistinctName("tmp_list",$.P.VARIABLE),
|
|
223
|
+
var Ts=Object.assign({},{lists_create_empty:function(){return["[]",Z.ATOMIC]},lists_create_with:function(a,b){var c=Array(a.itemCount_);for(let d=0;d<a.itemCount_;d++)c[d]=b.valueToCode(a,"ADD"+d,Z.NONE)||"null";return["["+c.join(", ")+"]",Z.ATOMIC]},lists_getIndex:function(a,b){function c(){var g=b.nameDB_.getDistinctName("tmp_list",$.P.VARIABLE),h="List "+g+" = "+f+";\n";f=g;return h}var d=a.getFieldValue("MODE")||"GET",e=a.getFieldValue("WHERE")||"FROM_START",f=b.valueToCode(a,"VALUE",e==="RANDOM"||
|
|
224
224
|
e==="FROM_END"?Z.NONE:Z.UNARY_POSTFIX)||"[]";if((e!=="RANDOM"||d!=="REMOVE")&&e!=="FROM_END"||f.match(/^\w+$/))switch(e){case "FIRST":if(d==="GET")return[f+".first",Z.UNARY_POSTFIX];if(d==="GET_REMOVE")return[f+".removeAt(0)",Z.UNARY_POSTFIX];if(d==="REMOVE")return f+".removeAt(0);\n";break;case "LAST":if(d==="GET")return[f+".last",Z.UNARY_POSTFIX];if(d==="GET_REMOVE")return[f+".removeLast()",Z.UNARY_POSTFIX];if(d==="REMOVE")return f+".removeLast();\n";break;case "FROM_START":a=b.getAdjusted(a,"AT");
|
|
225
225
|
if(d==="GET")return[f+"["+a+"]",Z.UNARY_POSTFIX];if(d==="GET_REMOVE")return[f+".removeAt("+a+")",Z.UNARY_POSTFIX];if(d==="REMOVE")return f+".removeAt("+a+");\n";break;case "FROM_END":a=b.getAdjusted(a,"AT",1,!1,Z.ADDITIVE);if(d==="GET")return[f+"["+f+".length - "+a+"]",Z.UNARY_POSTFIX];if(d==="GET_REMOVE"||d==="REMOVE"){a=f+".removeAt("+f+".length - "+a+")";if(d==="GET_REMOVE")return[a,Z.UNARY_POSTFIX];if(d==="REMOVE")return a+";\n"}break;case "RANDOM":b.definitions_.import_dart_math="import 'dart:math' as Math;";
|
|
226
226
|
if(d==="REMOVE")return d=b.nameDB_.getDistinctName("tmp_x",$.P.VARIABLE),"int "+d+" = new Math.Random().nextInt("+f+".length);\n"+(f+".removeAt("+d+");\n");if(d==="GET")return[b.provideFunction_("lists_get_random_item",`
|
|
@@ -263,8 +263,8 @@ List ${b.FUNCTION_NAME_PLACEHOLDER_}(List list, String where1, num at1, String w
|
|
|
263
263
|
return list.sublist(at1, at2);
|
|
264
264
|
}
|
|
265
265
|
`)+"("+c+", '"+d+"', "+f+", '"+e+"', "+a+")";return[b,Z.UNARY_POSTFIX]},lists_indexOf:function(a,b){var c=a.getFieldValue("END")==="FIRST"?"indexOf":"lastIndexOf",d=b.valueToCode(a,"FIND",Z.NONE)||"''";b=(b.valueToCode(a,"VALUE",Z.UNARY_POSTFIX)||"[]")+"."+c+"("+d+")";return a.workspace.options.oneBasedIndex?[b+" + 1",Z.ADDITIVE]:[b,Z.UNARY_POSTFIX]},lists_isEmpty:function(a,b){return[(b.valueToCode(a,"VALUE",Z.UNARY_POSTFIX)||"[]")+".isEmpty",Z.UNARY_POSTFIX]},lists_length:function(a,b){return[(b.valueToCode(a,
|
|
266
|
-
"VALUE",Z.UNARY_POSTFIX)||"[]")+".length",Z.UNARY_POSTFIX]},lists_repeat:function(a,b){var c=b.valueToCode(a,"ITEM",Z.NONE)||"null";return["new List.filled("+(b.valueToCode(a,"NUM",Z.NONE)||"0")+", "+c+")",Z.UNARY_POSTFIX]},lists_reverse:function(a,b){return["new List.from("+(b.valueToCode(a,"LIST",Z.NONE)||"[]")+".reversed)",Z.UNARY_POSTFIX]},lists_setIndex:function(a,b){function c(){if(f.match(/^\w+$/))return"";var
|
|
267
|
-
|
|
266
|
+
"VALUE",Z.UNARY_POSTFIX)||"[]")+".length",Z.UNARY_POSTFIX]},lists_repeat:function(a,b){var c=b.valueToCode(a,"ITEM",Z.NONE)||"null";return["new List.filled("+(b.valueToCode(a,"NUM",Z.NONE)||"0")+", "+c+")",Z.UNARY_POSTFIX]},lists_reverse:function(a,b){return["new List.from("+(b.valueToCode(a,"LIST",Z.NONE)||"[]")+".reversed)",Z.UNARY_POSTFIX]},lists_setIndex:function(a,b){function c(){if(f.match(/^\w+$/))return"";var h=b.nameDB_.getDistinctName("tmp_list",$.P.VARIABLE),m="List "+h+" = "+f+";\n";f=
|
|
267
|
+
h;return m}var d=a.getFieldValue("MODE")||"GET",e=a.getFieldValue("WHERE")||"FROM_START",f=b.valueToCode(a,"LIST",Z.UNARY_POSTFIX)||"[]",g=b.valueToCode(a,"TO",Z.ASSIGNMENT)||"null";switch(e){case "FIRST":if(d==="SET")return f+"[0] = "+g+";\n";if(d==="INSERT")return f+".insert(0, "+g+");\n";break;case "LAST":if(d==="SET")return c()+(f+"["+f+".length - 1] = "+g+";\n");if(d==="INSERT")return f+".add("+g+");\n";break;case "FROM_START":a=b.getAdjusted(a,"AT");if(d==="SET")return f+"["+a+"] = "+g+";\n";
|
|
268
268
|
if(d==="INSERT")return f+".insert("+a+", "+g+");\n";break;case "FROM_END":a=b.getAdjusted(a,"AT",1,!1,Z.ADDITIVE);e=c();if(d==="SET")return e+(f+"["+f+".length - "+a+"] = "+g+";\n");if(d==="INSERT")return e+(f+".insert("+f+".length - "+a+", "+g+");\n");break;case "RANDOM":b.definitions_.import_dart_math="import 'dart:math' as Math;";a=c();e=b.nameDB_.getDistinctName("tmp_x",$.P.VARIABLE);a+="int "+e+" = new Math.Random().nextInt("+f+".length);\n";if(d==="SET")return a+(f+"["+e+"] = "+g+";\n");if(d===
|
|
269
269
|
"INSERT")return a+(f+".insert("+e+", "+g+");\n")}throw Error("Unhandled combination (lists_setIndex).");},lists_sort:function(a,b){var c=b.valueToCode(a,"LIST",Z.NONE)||"[]",d=a.getFieldValue("DIRECTION")==="1"?1:-1;a=a.getFieldValue("TYPE");return[b.provideFunction_("lists_sort",`
|
|
270
270
|
List ${b.FUNCTION_NAME_PLACEHOLDER_}(List list, String type, int direction) {
|
package/javascript_compressed.js
CHANGED
|
@@ -17,7 +17,7 @@ var Zq=function(a,b,c){return b==="FIRST"?"0":b==="FROM_END"?a+".length - 1 - "+
|
|
|
17
17
|
e+" = 0; "+e+" < "+f+"; "+e+"++) {\n"+d+"}\n")},br=function(a,b){var c=a.getFieldValue("OP");if(c==="NEG")return a=b.valueToCode(a,"NUM",S.UNARY_NEGATION)||"0",a[0]==="-"&&(a=" "+a),["-"+a,S.UNARY_NEGATION];a=c==="SIN"||c==="COS"||c==="TAN"?b.valueToCode(a,"NUM",S.DIVISION)||"0":b.valueToCode(a,"NUM",S.NONE)||"0";switch(c){case "ABS":var d="Math.abs("+a+")";break;case "ROOT":d="Math.sqrt("+a+")";break;case "LN":d="Math.log("+a+")";break;case "EXP":d="Math.exp("+a+")";break;case "POW10":d="Math.pow(10,"+
|
|
18
18
|
a+")";break;case "ROUND":d="Math.round("+a+")";break;case "ROUNDUP":d="Math.ceil("+a+")";break;case "ROUNDDOWN":d="Math.floor("+a+")";break;case "SIN":d="Math.sin("+a+" / 180 * Math.PI)";break;case "COS":d="Math.cos("+a+" / 180 * Math.PI)";break;case "TAN":d="Math.tan("+a+" / 180 * Math.PI)"}if(d)return[d,S.FUNCTION_CALL];switch(c){case "LOG10":d="Math.log("+a+") / Math.log(10)";break;case "ASIN":d="Math.asin("+a+") / Math.PI * 180";break;case "ACOS":d="Math.acos("+a+") / Math.PI * 180";break;case "ATAN":d=
|
|
19
19
|
"Math.atan("+a+") / Math.PI * 180";break;default:throw Error("Unknown math operator: "+c);}return[d,S.DIVISION]},cr=function(a,b){var c=b.getProcedureName(a.getFieldValue("NAME")),d="";b.STATEMENT_PREFIX&&(d+=b.injectId(b.STATEMENT_PREFIX,a));b.STATEMENT_SUFFIX&&(d+=b.injectId(b.STATEMENT_SUFFIX,a));d&&(d=b.prefixLines(d,b.INDENT));var e="";b.INFINITE_LOOP_TRAP&&(e=b.prefixLines(b.injectId(b.INFINITE_LOOP_TRAP,a),b.INDENT));var f="";a.getInput("STACK")&&(f=b.statementToCode(a,"STACK"));var g="";a.getInput("RETURN")&&
|
|
20
|
-
(g=b.valueToCode(a,"RETURN",S.NONE)||"");var
|
|
20
|
+
(g=b.valueToCode(a,"RETURN",S.NONE)||"");var h="";f&&g&&(h=d);g&&(g=b.INDENT+"return "+g+";\n");var m=[],z=a.getVarModels();for(let E=0;E<z.length;E++)m[E]=b.getVariableName(z[E].getId());d="function "+c+"("+m.join(", ")+") {\n"+d+e+f+h+g+"}";d=b.scrub_(a,d);b.definitions_["%"+c]=d;return null},er=function(a){return dr.test(a)?[a,S.ATOMIC]:["String("+a+")",S.FUNCTION_CALL]},fr=function(a,b,c){return b==="FIRST"?"0":b==="FROM_END"?a+".length - 1 - "+c:b==="LAST"?a+".length - 1":c},gr=function(a,b){b=
|
|
21
21
|
"window.prompt("+(a.getField("TEXT")?b.quote_(a.getFieldValue("TEXT")):b.valueToCode(a,"TEXT",S.NONE)||"''")+")";a.getFieldValue("TYPE")==="NUMBER"&&(b="Number("+b+")");return[b,S.FUNCTION_CALL]},hr=function(a,b){return[b.getVariableName(a.getFieldValue("VAR")),S.ATOMIC]},ir=function(a,b){var c=b.valueToCode(a,"VALUE",S.ASSIGNMENT)||"0";return b.getVariableName(a.getFieldValue("VAR"))+" = "+c+";\n"},S,T=S||(S={});T[T.ATOMIC=0]="ATOMIC";T[T.NEW=1.1]="NEW";T[T.MEMBER=1.2]="MEMBER";
|
|
22
22
|
T[T.FUNCTION_CALL=2]="FUNCTION_CALL";T[T.INCREMENT=3]="INCREMENT";T[T.DECREMENT=3]="DECREMENT";T[T.BITWISE_NOT=4.1]="BITWISE_NOT";T[T.UNARY_PLUS=4.2]="UNARY_PLUS";T[T.UNARY_NEGATION=4.3]="UNARY_NEGATION";T[T.LOGICAL_NOT=4.4]="LOGICAL_NOT";T[T.TYPEOF=4.5]="TYPEOF";T[T.VOID=4.6]="VOID";T[T.DELETE=4.7]="DELETE";T[T.AWAIT=4.8]="AWAIT";T[T.EXPONENTIATION=5]="EXPONENTIATION";T[T.MULTIPLICATION=5.1]="MULTIPLICATION";T[T.DIVISION=5.2]="DIVISION";T[T.MODULUS=5.3]="MODULUS";T[T.SUBTRACTION=6.1]="SUBTRACTION";
|
|
23
23
|
T[T.ADDITION=6.2]="ADDITION";T[T.BITWISE_SHIFT=7]="BITWISE_SHIFT";T[T.RELATIONAL=8]="RELATIONAL";T[T.IN=8]="IN";T[T.INSTANCEOF=8]="INSTANCEOF";T[T.EQUALITY=9]="EQUALITY";T[T.BITWISE_AND=10]="BITWISE_AND";T[T.BITWISE_XOR=11]="BITWISE_XOR";T[T.BITWISE_OR=12]="BITWISE_OR";T[T.LOGICAL_AND=13]="LOGICAL_AND";T[T.LOGICAL_OR=14]="LOGICAL_OR";T[T.CONDITIONAL=15]="CONDITIONAL";T[T.ASSIGNMENT=16]="ASSIGNMENT";T[T.YIELD=17]="YIELD";T[T.COMMA=18]="COMMA";T[T.NONE=99]="NONE";
|
|
@@ -28,8 +28,8 @@ e&&(e=$.cf(e,this.COMMENT_WRAP-3),d+=this.prefixLines(e+"\n","// "));for(let f=0
|
|
|
28
28
|
d&&(g=S.UNARY_NEGATION);a=this.valueToCode(a,b,g)||f;if(c===0&&!d)return a;if($.df(a))return a=String(Number(a)+c),d&&(a=String(-Number(a))),a;c>0?a=`${a} + ${c}`:c<0&&(a=`${a} - ${-c}`);d&&(a=c?`-(${a})`:`-${a}`);Math.floor(e)>=Math.floor(g)&&(a=`(${a})`);return a}};var kr={};kr.controls_if=$q;kr.controls_ifelse=$q;kr.logic_boolean=function(a){return[a.getFieldValue("BOOL")==="TRUE"?"true":"false",S.ATOMIC]};kr.logic_compare=function(a,b){var c={EQ:"==",NEQ:"!=",LT:"<",LTE:"<=",GT:">",GTE:">="}[a.getFieldValue("OP")],d=c==="=="||c==="!="?S.EQUALITY:S.RELATIONAL,e=b.valueToCode(a,"A",d)||"0";a=b.valueToCode(a,"B",d)||"0";return[e+" "+c+" "+a,d]};kr.logic_negate=function(a,b){var c=S.LOGICAL_NOT;return["!"+(b.valueToCode(a,"BOOL",c)||"true"),c]};
|
|
29
29
|
kr.logic_null=function(){return["null",S.ATOMIC]};kr.logic_operation=function(a,b){var c=a.getFieldValue("OP")==="AND"?"&&":"||",d=c==="&&"?S.LOGICAL_AND:S.LOGICAL_OR,e=b.valueToCode(a,"A",d);a=b.valueToCode(a,"B",d);e||a?(b=c==="&&"?"true":"false",e||(e=b),a||(a=b)):a=e="false";return[e+" "+c+" "+a,d]};
|
|
30
30
|
kr.logic_ternary=function(a,b){var c=b.valueToCode(a,"IF",S.CONDITIONAL)||"false",d=b.valueToCode(a,"THEN",S.CONDITIONAL)||"null";a=b.valueToCode(a,"ELSE",S.CONDITIONAL)||"null";return[c+" ? "+d+" : "+a,S.CONDITIONAL]};var lr={controls_flow_statements:function(a,b){var c="";b.STATEMENT_PREFIX&&(c+=b.injectId(b.STATEMENT_PREFIX,a));b.STATEMENT_SUFFIX&&(c+=b.injectId(b.STATEMENT_SUFFIX,a));if(b.STATEMENT_PREFIX){let d=a.getSurroundLoop();d&&!d.suppressPrefixSuffix&&(c+=b.injectId(b.STATEMENT_PREFIX,d))}switch(a.getFieldValue("FLOW")){case "BREAK":return c+"break;\n";case "CONTINUE":return c+"continue;\n"}throw Error("Unknown flow statement.");},controls_for:function(a,b){var c=b.getVariableName(a.getFieldValue("VAR")),
|
|
31
|
-
d=b.valueToCode(a,"FROM",S.ASSIGNMENT)||"0",e=b.valueToCode(a,"TO",S.ASSIGNMENT)||"0",f=b.valueToCode(a,"BY",S.ASSIGNMENT)||"1",g=b.statementToCode(a,"DO");g=b.addLoopTrap(g,a);if($.df(d)&&$.df(e)&&$.df(f))b=Number(d)<=Number(e),a="for ("+c+" = "+d+"; "+c+(b?" <= ":" >= ")+e+"; "+c,c=Math.abs(Number(f)),a=c===1?a+(b?"++":"--"):a+((b?" += ":" -= ")+c),a+=") {\n"+g+"}\n";else{a="";let
|
|
32
|
-
e.match(/^\w+$/)||$.df(e)||(d=b.nameDB_.getDistinctName(c+"_end",$.P.VARIABLE),a+="var "+d+" = "+e+";\n");e=b.nameDB_.getDistinctName(c+"_inc",$.P.VARIABLE);a+="var "+e+" = ";a=$.df(f)?a+(Math.abs(Number(f))+";\n"):a+("Math.abs("+f+");\n");a+="if ("+
|
|
31
|
+
d=b.valueToCode(a,"FROM",S.ASSIGNMENT)||"0",e=b.valueToCode(a,"TO",S.ASSIGNMENT)||"0",f=b.valueToCode(a,"BY",S.ASSIGNMENT)||"1",g=b.statementToCode(a,"DO");g=b.addLoopTrap(g,a);if($.df(d)&&$.df(e)&&$.df(f))b=Number(d)<=Number(e),a="for ("+c+" = "+d+"; "+c+(b?" <= ":" >= ")+e+"; "+c,c=Math.abs(Number(f)),a=c===1?a+(b?"++":"--"):a+((b?" += ":" -= ")+c),a+=") {\n"+g+"}\n";else{a="";let h=d;d.match(/^\w+$/)||$.df(d)||(h=b.nameDB_.getDistinctName(c+"_start",$.P.VARIABLE),a+="var "+h+" = "+d+";\n");d=e;
|
|
32
|
+
e.match(/^\w+$/)||$.df(e)||(d=b.nameDB_.getDistinctName(c+"_end",$.P.VARIABLE),a+="var "+d+" = "+e+";\n");e=b.nameDB_.getDistinctName(c+"_inc",$.P.VARIABLE);a+="var "+e+" = ";a=$.df(f)?a+(Math.abs(Number(f))+";\n"):a+("Math.abs("+f+");\n");a+="if ("+h+" > "+d+") {\n";a+=b.INDENT+e+" = -"+e+";\n";a=a+"}\nfor ("+(c+" = "+h+"; "+e+" >= 0 ? "+c+" <= "+d+" : "+c+" >= "+d+"; "+c+" += "+e+") {\n"+g+"}\n")}return a},controls_forEach:function(a,b){var c=b.getVariableName(a.getFieldValue("VAR")),d=b.valueToCode(a,
|
|
33
33
|
"LIST",S.ASSIGNMENT)||"[]",e=b.statementToCode(a,"DO");e=b.addLoopTrap(e,a);a="";var f=d;d.match(/^\w+$/)||(f=b.nameDB_.getDistinctName(c+"_list",$.P.VARIABLE),a+="var "+f+" = "+d+";\n");d=b.nameDB_.getDistinctName(c+"_index",$.P.VARIABLE);e=b.INDENT+c+" = "+f+"["+d+"];\n"+e;return a+("for (var "+d+" in "+f+") {\n"+e+"}\n")}};lr.controls_repeat=ar;lr.controls_repeat_ext=ar;
|
|
34
34
|
lr.controls_whileUntil=function(a,b){var c=a.getFieldValue("MODE")==="UNTIL",d=b.valueToCode(a,"BOOL",c?S.LOGICAL_NOT:S.NONE)||"false",e=b.statementToCode(a,"DO");e=b.addLoopTrap(e,a);c&&(d="!"+d);return"while ("+d+") {\n"+e+"}\n"};var mr={math_arithmetic:function(a,b){var c={ADD:[" + ",S.ADDITION],MINUS:[" - ",S.SUBTRACTION],MULTIPLY:[" * ",S.MULTIPLICATION],DIVIDE:[" / ",S.DIVISION],POWER:[null,S.NONE]}[a.getFieldValue("OP")],d=c[0];c=c[1];var e=b.valueToCode(a,"A",c)||"0";a=b.valueToCode(a,"B",c)||"0";return d?[e+d+a,c]:["Math.pow("+e+", "+a+")",S.FUNCTION_CALL]},math_atan2:function(a,b){var c=b.valueToCode(a,"X",S.NONE)||"0";return["Math.atan2("+(b.valueToCode(a,"Y",S.NONE)||"0")+", "+c+") / Math.PI * 180",S.DIVISION]},
|
|
35
35
|
math_change:function(a,b){var c=b.valueToCode(a,"DELTA",S.ADDITION)||"0";a=b.getVariableName(a.getFieldValue("VAR"));return a+" = (typeof "+a+" === 'number' ? "+a+" : 0) + "+c+";\n"},math_constant:function(a){return{PI:["Math.PI",S.MEMBER],E:["Math.E",S.MEMBER],GOLDEN_RATIO:["(1 + Math.sqrt(5)) / 2",S.DIVISION],SQRT2:["Math.SQRT2",S.MEMBER],SQRT1_2:["Math.SQRT1_2",S.MEMBER],INFINITY:["Infinity",S.ATOMIC]}[a.getFieldValue("CONSTANT")]},math_constrain:function(a,b){var c=b.valueToCode(a,"VALUE",S.NONE)||
|
|
@@ -188,7 +188,7 @@ function ${b.FUNCTION_NAME_PLACEHOLDER_}(value, n) {
|
|
|
188
188
|
}
|
|
189
189
|
return array;
|
|
190
190
|
}
|
|
191
|
-
`),d=b.valueToCode(a,"ITEM",S.NONE)||"null";a=b.valueToCode(a,"NUM",S.NONE)||"0";return[c+"("+d+", "+a+")",S.FUNCTION_CALL]},lists_reverse:function(a,b){return[(b.valueToCode(a,"LIST",S.FUNCTION_CALL)||"[]")+".slice().reverse()",S.FUNCTION_CALL]},lists_setIndex:function(a,b){function c(){if(d.match(/^\w+$/))return"";var
|
|
191
|
+
`),d=b.valueToCode(a,"ITEM",S.NONE)||"null";a=b.valueToCode(a,"NUM",S.NONE)||"0";return[c+"("+d+", "+a+")",S.FUNCTION_CALL]},lists_reverse:function(a,b){return[(b.valueToCode(a,"LIST",S.FUNCTION_CALL)||"[]")+".slice().reverse()",S.FUNCTION_CALL]},lists_setIndex:function(a,b){function c(){if(d.match(/^\w+$/))return"";var h=b.nameDB_.getDistinctName("tmpList",$.P.VARIABLE),m="var "+h+" = "+d+";\n";d=h;return m}var d=b.valueToCode(a,"LIST",S.MEMBER)||"[]",e=a.getFieldValue("MODE")||"GET",f=a.getFieldValue("WHERE")||
|
|
192
192
|
"FROM_START",g=b.valueToCode(a,"TO",S.ASSIGNMENT)||"null";switch(f){case "FIRST":if(e==="SET")return d+"[0] = "+g+";\n";if(e==="INSERT")return d+".unshift("+g+");\n";break;case "LAST":if(e==="SET")return c()+(d+"["+d+".length - 1] = "+g+";\n");if(e==="INSERT")return d+".push("+g+");\n";break;case "FROM_START":a=b.getAdjusted(a,"AT");if(e==="SET")return d+"["+a+"] = "+g+";\n";if(e==="INSERT")return d+".splice("+a+", 0, "+g+");\n";break;case "FROM_END":a=b.getAdjusted(a,"AT",1,!1,S.SUBTRACTION);f=c();
|
|
193
193
|
if(e==="SET")return f+(d+"["+d+".length - "+a+"] = "+g+";\n");if(e==="INSERT")return f+(d+".splice("+d+".length - "+a+", 0, "+g+");\n");break;case "RANDOM":a=c();f=b.nameDB_.getDistinctName("tmpX",$.P.VARIABLE);a+="var "+f+" = Math.floor(Math.random() * "+d+".length);\n";if(e==="SET")return a+(d+"["+f+"] = "+g+";\n");if(e==="INSERT")return a+(d+".splice("+f+", 0, "+g+");\n")}throw Error("Unhandled combination (lists_setIndex).");},lists_sort:function(a,b){var c=b.valueToCode(a,"LIST",S.FUNCTION_CALL)||
|
|
194
194
|
"[]",d=a.getFieldValue("DIRECTION")==="1"?1:-1;a=a.getFieldValue("TYPE");b=b.provideFunction_("listsGetSortCompare",`
|
package/lua_compressed.js
CHANGED
|
@@ -16,8 +16,8 @@ var gs=function(a,b,c){return b==="FIRST"?"1":b==="FROM_END"?"#"+a+" + 1 - "+c:b
|
|
|
16
16
|
b.statementToCode(a,"ELSE"):"",b.STATEMENT_SUFFIX&&(c=b.prefixLines(b.injectId(b.STATEMENT_SUFFIX,a),b.INDENT)+c),d+="else\n"+c;return d+"end\n"},is=function(a,b){return a.includes("goto continue\n")?a+b+"::continue::\n":a},js=function(a,b){var c=a.getField("TIMES")?String(Number(a.getFieldValue("TIMES"))):b.valueToCode(a,"TIMES",Y.NONE)||"0";c=$.df(c)?parseInt(c,10):"math.floor("+c+")";var d=b.statementToCode(a,"DO");d=b.addLoopTrap(d,a);d=is(d,b.INDENT);return"for "+b.nameDB_.getDistinctName("count",
|
|
17
17
|
$.P.VARIABLE)+" = 1, "+c+" do\n"+d+"end\n"},ks=function(a,b){var c=a.getFieldValue("OP");if(c==="NEG")return a=b.valueToCode(a,"NUM",Y.UNARY)||"0",["-"+a,Y.UNARY];if(c==="POW10")return a=b.valueToCode(a,"NUM",Y.EXPONENTIATION)||"0",["10 ^ "+a,Y.EXPONENTIATION];a=c==="ROUND"?b.valueToCode(a,"NUM",Y.ADDITIVE)||"0":b.valueToCode(a,"NUM",Y.NONE)||"0";switch(c){case "ABS":c="math.abs("+a+")";break;case "ROOT":c="math.sqrt("+a+")";break;case "LN":c="math.log("+a+")";break;case "LOG10":c="math.log("+a+", 10)";
|
|
18
18
|
break;case "EXP":c="math.exp("+a+")";break;case "ROUND":c="math.floor("+a+" + .5)";break;case "ROUNDUP":c="math.ceil("+a+")";break;case "ROUNDDOWN":c="math.floor("+a+")";break;case "SIN":c="math.sin(math.rad("+a+"))";break;case "COS":c="math.cos(math.rad("+a+"))";break;case "TAN":c="math.tan(math.rad("+a+"))";break;case "ASIN":c="math.deg(math.asin("+a+"))";break;case "ACOS":c="math.deg(math.acos("+a+"))";break;case "ATAN":c="math.deg(math.atan("+a+"))";break;default:throw Error("Unknown math operator: "+
|
|
19
|
-
c);}return[c,Y.HIGH]},ls=function(a,b){var c=b.getProcedureName(a.getFieldValue("NAME")),d="";b.STATEMENT_PREFIX&&(d+=b.injectId(b.STATEMENT_PREFIX,a));b.STATEMENT_SUFFIX&&(d+=b.injectId(b.STATEMENT_SUFFIX,a));d&&(d=b.prefixLines(d,b.INDENT));var e="";b.INFINITE_LOOP_TRAP&&(e=b.prefixLines(b.injectId(b.INFINITE_LOOP_TRAP,a),b.INDENT));var f="";a.getInput("STACK")&&(f=b.statementToCode(a,"STACK"));var g="";a.getInput("RETURN")&&(g=b.valueToCode(a,"RETURN",Y.NONE)||"");var
|
|
20
|
-
"return "+g+"\n":f||(f="");var m=[],z=a.getVarModels();for(let E=0;E<z.length;E++)m[E]=b.getVariableName(z[E].getId());d="function "+c+"("+m.join(", ")+")\n"+d+e+f+
|
|
19
|
+
c);}return[c,Y.HIGH]},ls=function(a,b){var c=b.getProcedureName(a.getFieldValue("NAME")),d="";b.STATEMENT_PREFIX&&(d+=b.injectId(b.STATEMENT_PREFIX,a));b.STATEMENT_SUFFIX&&(d+=b.injectId(b.STATEMENT_SUFFIX,a));d&&(d=b.prefixLines(d,b.INDENT));var e="";b.INFINITE_LOOP_TRAP&&(e=b.prefixLines(b.injectId(b.INFINITE_LOOP_TRAP,a),b.INDENT));var f="";a.getInput("STACK")&&(f=b.statementToCode(a,"STACK"));var g="";a.getInput("RETURN")&&(g=b.valueToCode(a,"RETURN",Y.NONE)||"");var h="";f&&g&&(h=d);g?g=b.INDENT+
|
|
20
|
+
"return "+g+"\n":f||(f="");var m=[],z=a.getVarModels();for(let E=0;E<z.length;E++)m[E]=b.getVariableName(z[E].getId());d="function "+c+"("+m.join(", ")+")\n"+d+e+f+h+g+"end\n";d=b.scrub_(a,d);b.definitions_["%"+c]=d;return null},ms=function(a,b){var c=a.getField("TEXT")?b.quote_(a.getFieldValue("TEXT")):b.valueToCode(a,"TEXT",Y.NONE)||"''";b=b.provideFunction_("text_prompt",`
|
|
21
21
|
function ${b.FUNCTION_NAME_PLACEHOLDER_}(msg)
|
|
22
22
|
io.write(msg)
|
|
23
23
|
io.flush()
|
|
@@ -29,8 +29,8 @@ var rs=class extends $.Ip{constructor(a="Lua"){super(a);this.isInitialized=!1;fo
|
|
|
29
29
|
this.nameDB_.reset():this.nameDB_=new $.aj(this.RESERVED_WORDS_);this.nameDB_.setVariableMap(a.getVariableMap());this.nameDB_.populateVariables(a);this.nameDB_.populateProcedures(a);this.isInitialized=!0}finish(a){var b=Object.values(this.definitions_);a=super.finish(a);this.isInitialized=!1;this.nameDB_.reset();return b.join("\n\n")+"\n\n\n"+a}scrubNakedValue(a){return"local _ = "+a+"\n"}quote_(a){a=a.replace(/\\/g,"\\\\").replace(/\n/g,"\\\n").replace(/'/g,"\\'");return"'"+a+"'"}multiline_quote_(a){return a.split(/\n/g).map(this.quote_).join(" .. '\\n' ..\n")}scrub_(a,
|
|
30
30
|
b,c=!1){var d="";if(!a.outputConnection||!a.outputConnection.targetConnection){var e=a.getCommentText();e&&(e=$.cf(e,this.COMMENT_WRAP-3),d+=this.prefixLines(e,"-- ")+"\n");for(let f=0;f<a.inputList.length;f++)a.inputList[f].type===$.he.VALUE&&(e=a.inputList[f].connection.targetBlock())&&(e=this.allNestedComments(e))&&(d+=this.prefixLines(e,"-- "))}a=a.nextConnection&&a.nextConnection.targetBlock();c=c?"":this.blockToCode(a);return d+b+c}};var ss={};ss.controls_if=hs;ss.controls_ifelse=hs;ss.logic_boolean=function(a){return[a.getFieldValue("BOOL")==="TRUE"?"true":"false",Y.ATOMIC]};ss.logic_compare=function(a,b){var c={EQ:"==",NEQ:"~=",LT:"<",LTE:"<=",GT:">",GTE:">="}[a.getFieldValue("OP")],d=b.valueToCode(a,"A",Y.RELATIONAL)||"0";a=b.valueToCode(a,"B",Y.RELATIONAL)||"0";return[d+" "+c+" "+a,Y.RELATIONAL]};ss.logic_negate=function(a,b){return["not "+(b.valueToCode(a,"BOOL",Y.UNARY)||"true"),Y.UNARY]};
|
|
31
31
|
ss.logic_null=function(){return["nil",Y.ATOMIC]};ss.logic_operation=function(a,b){var c=a.getFieldValue("OP")==="AND"?"and":"or",d=c==="and"?Y.AND:Y.OR,e=b.valueToCode(a,"A",d);a=b.valueToCode(a,"B",d);e||a?(b=c==="and"?"true":"false",e||(e=b),a||(a=b)):a=e="false";return[e+" "+c+" "+a,d]};ss.logic_ternary=function(a,b){var c=b.valueToCode(a,"IF",Y.AND)||"false",d=b.valueToCode(a,"THEN",Y.AND)||"nil";a=b.valueToCode(a,"ELSE",Y.OR)||"nil";return[c+" and "+d+" or "+a,Y.OR]};var ts={controls_flow_statements:function(a,b){var c="";b.STATEMENT_PREFIX&&(c+=b.injectId(b.STATEMENT_PREFIX,a));b.STATEMENT_SUFFIX&&(c+=b.injectId(b.STATEMENT_SUFFIX,a));if(b.STATEMENT_PREFIX){let d=a.getSurroundLoop();d&&!d.suppressPrefixSuffix&&(c+=b.injectId(b.STATEMENT_PREFIX,d))}switch(a.getFieldValue("FLOW")){case "BREAK":return c+"break\n";case "CONTINUE":return c+"goto continue\n"}throw Error("Unknown flow statement.");},controls_for:function(a,b){var c=b.getVariableName(a.getFieldValue("VAR")),
|
|
32
|
-
d=b.valueToCode(a,"FROM",Y.NONE)||"0",e=b.valueToCode(a,"TO",Y.NONE)||"0",f=b.valueToCode(a,"BY",Y.NONE)||"1",g=b.statementToCode(a,"DO");g=b.addLoopTrap(g,a);g=is(g,b.INDENT);a="";if($.df(d)&&$.df(e)&&$.df(f))var
|
|
33
|
-
", "+
|
|
32
|
+
d=b.valueToCode(a,"FROM",Y.NONE)||"0",e=b.valueToCode(a,"TO",Y.NONE)||"0",f=b.valueToCode(a,"BY",Y.NONE)||"1",g=b.statementToCode(a,"DO");g=b.addLoopTrap(g,a);g=is(g,b.INDENT);a="";if($.df(d)&&$.df(e)&&$.df(f))var h=(Number(d)<=Number(e)?"":"-")+Math.abs(Number(f));else a="",h=b.nameDB_.getDistinctName(c+"_inc",$.P.VARIABLE),a+=h+" = ",a=$.df(f)?a+(Math.abs(f)+"\n"):a+("math.abs("+f+")\n"),a=a+("if ("+d+") > ("+e+") then\n")+(b.INDENT+h+" = -"+h+"\n"),a+="end\n";return a+("for "+c+" = "+d+", "+e+
|
|
33
|
+
", "+h)+(" do\n"+g+"end\n")},controls_forEach:function(a,b){var c=b.getVariableName(a.getFieldValue("VAR")),d=b.valueToCode(a,"LIST",Y.NONE)||"{}",e=b.statementToCode(a,"DO");e=b.addLoopTrap(e,a);e=is(e,b.INDENT);return"for _, "+c+" in ipairs("+d+") do \n"+e+"end\n"}};ts.controls_repeat=js;ts.controls_repeat_ext=js;
|
|
34
34
|
ts.controls_whileUntil=function(a,b){var c=a.getFieldValue("MODE")==="UNTIL",d=b.valueToCode(a,"BOOL",c?Y.UNARY:Y.NONE)||"false",e=b.statementToCode(a,"DO");e=b.addLoopTrap(e,a);e=is(e,b.INDENT);c&&(d="not "+d);return"while "+d+" do\n"+e+"end\n"};var us={math_arithmetic:function(a,b){var c={ADD:[" + ",Y.ADDITIVE],MINUS:[" - ",Y.ADDITIVE],MULTIPLY:[" * ",Y.MULTIPLICATIVE],DIVIDE:[" / ",Y.MULTIPLICATIVE],POWER:[" ^ ",Y.EXPONENTIATION]}[a.getFieldValue("OP")],d=c[0];c=c[1];var e=b.valueToCode(a,"A",c)||"0";a=b.valueToCode(a,"B",c)||"0";return[e+d+a,c]},math_atan2:function(a,b){var c=b.valueToCode(a,"X",Y.NONE)||"0";return["math.deg(math.atan2("+(b.valueToCode(a,"Y",Y.NONE)||"0")+", "+c+"))",Y.HIGH]},math_change:function(a,b){var c=b.valueToCode(a,
|
|
35
35
|
"DELTA",Y.ADDITIVE)||"0";a=b.getVariableName(a.getFieldValue("VAR"));return a+" = "+a+" + "+c+"\n"},math_constant:function(a){return{PI:["math.pi",Y.HIGH],E:["math.exp(1)",Y.HIGH],GOLDEN_RATIO:["(1 + math.sqrt(5)) / 2",Y.MULTIPLICATIVE],SQRT2:["math.sqrt(2)",Y.HIGH],SQRT1_2:["math.sqrt(1 / 2)",Y.HIGH],INFINITY:["math.huge",Y.HIGH]}[a.getFieldValue("CONSTANT")]},math_constrain:function(a,b){var c=b.valueToCode(a,"VALUE",Y.NONE)||"0",d=b.valueToCode(a,"LOW",Y.NONE)||"-math.huge";a=b.valueToCode(a,"HIGH",
|
|
36
36
|
Y.NONE)||"math.huge";return["math.min(math.max("+c+", "+d+"), "+a+")",Y.HIGH]},math_modulo:function(a,b){var c=b.valueToCode(a,"DIVIDEND",Y.MULTIPLICATIVE)||"0";a=b.valueToCode(a,"DIVISOR",Y.MULTIPLICATIVE)||"0";return[c+" % "+a,Y.MULTIPLICATIVE]},math_number:function(a){a=Number(a.getFieldValue("NUM"));return[String(a),a<0?Y.UNARY:Y.ATOMIC]},math_number_property:function(a,b){var c={EVEN:[" % 2 == 0",Y.MULTIPLICATIVE,Y.RELATIONAL],ODD:[" % 2 == 1",Y.MULTIPLICATIVE,Y.RELATIONAL],WHOLE:[" % 1 == 0",
|
|
@@ -246,8 +246,8 @@ end
|
|
|
246
246
|
`)+"("+c+", "+d+", "+a+")",Y.HIGH]};ws.text_reverse=function(a,b){return["string.reverse("+(b.valueToCode(a,"TEXT",Y.NONE)||"''")+")",Y.HIGH]};ws.text_trim=function(a,b){var c={LEFT:"^%s*(,-)",RIGHT:"(.-)%s*$",BOTH:"^%s*(.-)%s*$"}[a.getFieldValue("MODE")];return["string.gsub("+(b.valueToCode(a,"TEXT",Y.NONE)||"''")+', "'+c+'", "%1")',Y.HIGH]};var xs={};xs.variables_get=ns;xs.variables_set=ps;var ys={};ys.variables_get_dynamic=ns;ys.variables_set_dynamic=ps;var zs=new rs,As=Object.assign({},{lists_create_empty:function(){return["{}",Y.HIGH]},lists_create_with:function(a,b){var c=Array(a.itemCount_);for(let d=0;d<a.itemCount_;d++)c[d]=b.valueToCode(a,"ADD"+d,Y.NONE)||"nil";return["{"+c.join(", ")+"}",Y.HIGH]},lists_getIndex:function(a,b){var c=a.getFieldValue("MODE")||"GET",d=a.getFieldValue("WHERE")||"FROM_START",e=b.valueToCode(a,"VALUE",Y.HIGH)||"({})";if(d!=="LAST"&&d!=="FROM_END"&&d!=="RANDOM"||e.match(/^\w+$/)){b=b.valueToCode(a,"AT",c==="GET"&&
|
|
247
247
|
d==="FROM_END"?Y.ADDITIVE:Y.NONE)||"1";b=gs(e,d,b);if(c==="GET")return[e+"["+b+"]",Y.HIGH];d="table.remove("+e+", "+b+")";return c==="GET_REMOVE"?[d,Y.HIGH]:d+"\n"}if(c==="REMOVE")return c=b.valueToCode(a,"AT",d==="FROM_END"?Y.ADDITIVE:Y.NONE)||"1",b=b.nameDB_.getDistinctName("tmp_list",$.P.VARIABLE),c=gs(b,d,c),b+" = "+e+"\ntable.remove("+b+", "+c+")\n";a=b.valueToCode(a,"AT",Y.NONE)||"1";return[(c==="GET"?b.provideFunction_("list_get_"+d.toLowerCase(),["function "+b.FUNCTION_NAME_PLACEHOLDER_+"(t"+
|
|
248
248
|
(d==="FROM_END"||d==="FROM_START"?", at)":")")," return t["+gs("t",d,"at")+"]","end"]):b.provideFunction_("list_remove_"+d.toLowerCase(),["function "+b.FUNCTION_NAME_PLACEHOLDER_+"(t"+(d==="FROM_END"||d==="FROM_START"?", at)":")")," return table.remove(t, "+gs("t",d,"at")+")","end"]))+"("+e+(d==="FROM_END"||d==="FROM_START"?", "+a:"")+")",Y.HIGH]},lists_getSublist:function(a,b){var c=b.valueToCode(a,"LIST",Y.NONE)||"{}",d=a.getFieldValue("WHERE1"),e=a.getFieldValue("WHERE2"),f=b.valueToCode(a,"AT1",
|
|
249
|
-
Y.NONE)||"1";a=b.valueToCode(a,"AT2",Y.NONE)||"1";var g=d==="FROM_END"||d==="FROM_START"?", at1":"",
|
|
250
|
-
function ${b.FUNCTION_NAME_PLACEHOLDER_}(source${g}${
|
|
249
|
+
Y.NONE)||"1";a=b.valueToCode(a,"AT2",Y.NONE)||"1";var g=d==="FROM_END"||d==="FROM_START"?", at1":"",h=e==="FROM_END"||e==="FROM_START"?", at2":"";return[b.provideFunction_("list_sublist_"+d.toLowerCase()+"_"+e.toLowerCase(),`
|
|
250
|
+
function ${b.FUNCTION_NAME_PLACEHOLDER_}(source${g}${h})
|
|
251
251
|
local t = {}
|
|
252
252
|
local start = ${gs("source",d,"at1")}
|
|
253
253
|
local finish = ${gs("source",e,"at2")}
|
package/msg/ab.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
package/msg/ab.mjs
CHANGED
|
@@ -639,4 +639,18 @@ export const {
|
|
|
639
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
640
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
641
|
SCREENREADER_HINT,
|
|
642
|
+
ARIA_LABEL_ADD_ELSE_IF,
|
|
643
|
+
ARIA_LABEL_REMOVE_ELSE_IF,
|
|
644
|
+
ARIA_LABEL_ADD_LIST_ITEM,
|
|
645
|
+
ARIA_LABEL_REMOVE_LIST_ITEM,
|
|
646
|
+
ARIA_LABEL_ADD_TEXT,
|
|
647
|
+
ARIA_LABEL_REMOVE_TEXT,
|
|
648
|
+
ARIA_LABEL_ADD_INPUT,
|
|
649
|
+
ARIA_LABEL_REMOVE_INPUT,
|
|
650
|
+
ARIA_TYPE_FIELD_ANGLE,
|
|
651
|
+
ARIA_LABEL_FIELD_ANGLE,
|
|
652
|
+
ARIA_TYPE_FIELD_DATE,
|
|
653
|
+
ARIA_TYPE_FIELD_COLOUR,
|
|
654
|
+
ARIA_TYPE_FIELD_BITMAP,
|
|
655
|
+
ARIA_TYPE_FIELD_GRID,
|
|
642
656
|
} = ab;
|
package/msg/ace.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
package/msg/ace.mjs
CHANGED
|
@@ -639,4 +639,18 @@ export const {
|
|
|
639
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
640
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
641
|
SCREENREADER_HINT,
|
|
642
|
+
ARIA_LABEL_ADD_ELSE_IF,
|
|
643
|
+
ARIA_LABEL_REMOVE_ELSE_IF,
|
|
644
|
+
ARIA_LABEL_ADD_LIST_ITEM,
|
|
645
|
+
ARIA_LABEL_REMOVE_LIST_ITEM,
|
|
646
|
+
ARIA_LABEL_ADD_TEXT,
|
|
647
|
+
ARIA_LABEL_REMOVE_TEXT,
|
|
648
|
+
ARIA_LABEL_ADD_INPUT,
|
|
649
|
+
ARIA_LABEL_REMOVE_INPUT,
|
|
650
|
+
ARIA_TYPE_FIELD_ANGLE,
|
|
651
|
+
ARIA_LABEL_FIELD_ANGLE,
|
|
652
|
+
ARIA_TYPE_FIELD_DATE,
|
|
653
|
+
ARIA_TYPE_FIELD_COLOUR,
|
|
654
|
+
ARIA_TYPE_FIELD_BITMAP,
|
|
655
|
+
ARIA_TYPE_FIELD_GRID,
|
|
642
656
|
} = ace;
|
package/msg/af.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
package/msg/af.mjs
CHANGED
|
@@ -639,4 +639,18 @@ export const {
|
|
|
639
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
640
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
641
|
SCREENREADER_HINT,
|
|
642
|
+
ARIA_LABEL_ADD_ELSE_IF,
|
|
643
|
+
ARIA_LABEL_REMOVE_ELSE_IF,
|
|
644
|
+
ARIA_LABEL_ADD_LIST_ITEM,
|
|
645
|
+
ARIA_LABEL_REMOVE_LIST_ITEM,
|
|
646
|
+
ARIA_LABEL_ADD_TEXT,
|
|
647
|
+
ARIA_LABEL_REMOVE_TEXT,
|
|
648
|
+
ARIA_LABEL_ADD_INPUT,
|
|
649
|
+
ARIA_LABEL_REMOVE_INPUT,
|
|
650
|
+
ARIA_TYPE_FIELD_ANGLE,
|
|
651
|
+
ARIA_LABEL_FIELD_ANGLE,
|
|
652
|
+
ARIA_TYPE_FIELD_DATE,
|
|
653
|
+
ARIA_TYPE_FIELD_COLOUR,
|
|
654
|
+
ARIA_TYPE_FIELD_BITMAP,
|
|
655
|
+
ARIA_TYPE_FIELD_GRID,
|
|
642
656
|
} = af;
|
package/msg/am.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
package/msg/am.mjs
CHANGED
|
@@ -639,4 +639,18 @@ export const {
|
|
|
639
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
640
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
641
|
SCREENREADER_HINT,
|
|
642
|
+
ARIA_LABEL_ADD_ELSE_IF,
|
|
643
|
+
ARIA_LABEL_REMOVE_ELSE_IF,
|
|
644
|
+
ARIA_LABEL_ADD_LIST_ITEM,
|
|
645
|
+
ARIA_LABEL_REMOVE_LIST_ITEM,
|
|
646
|
+
ARIA_LABEL_ADD_TEXT,
|
|
647
|
+
ARIA_LABEL_REMOVE_TEXT,
|
|
648
|
+
ARIA_LABEL_ADD_INPUT,
|
|
649
|
+
ARIA_LABEL_REMOVE_INPUT,
|
|
650
|
+
ARIA_TYPE_FIELD_ANGLE,
|
|
651
|
+
ARIA_LABEL_FIELD_ANGLE,
|
|
652
|
+
ARIA_TYPE_FIELD_DATE,
|
|
653
|
+
ARIA_TYPE_FIELD_COLOUR,
|
|
654
|
+
ARIA_TYPE_FIELD_BITMAP,
|
|
655
|
+
ARIA_TYPE_FIELD_GRID,
|
|
642
656
|
} = am;
|
package/msg/ar.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
|
@@ -123,7 +137,7 @@ Blockly.Msg["CURRENT_BLOCK_ANNOUNCEMENT"] = "Current block: %1"; // untranslate
|
|
|
123
137
|
Blockly.Msg["CUT_SHORTCUT"] = "قطع";
|
|
124
138
|
Blockly.Msg["DELETE_ALL_BLOCKS"] = "حذف %1 كتلة؟";
|
|
125
139
|
Blockly.Msg["DELETE_BLOCK"] = "حذف كتلة";
|
|
126
|
-
Blockly.Msg["DELETE_KEY"] = "
|
|
140
|
+
Blockly.Msg["DELETE_KEY"] = "ديل";
|
|
127
141
|
Blockly.Msg["DELETE_VARIABLE"] = "حذف المتغير %1";
|
|
128
142
|
Blockly.Msg["DELETE_VARIABLE_CONFIRMATION"] = "حذف%1 1 استخدامات المتغير '%2'؟";
|
|
129
143
|
Blockly.Msg["DELETE_X_BLOCKS"] = "احذف %1 كتلة";
|
package/msg/ar.mjs
CHANGED
|
@@ -639,4 +639,18 @@ export const {
|
|
|
639
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
640
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
641
|
SCREENREADER_HINT,
|
|
642
|
+
ARIA_LABEL_ADD_ELSE_IF,
|
|
643
|
+
ARIA_LABEL_REMOVE_ELSE_IF,
|
|
644
|
+
ARIA_LABEL_ADD_LIST_ITEM,
|
|
645
|
+
ARIA_LABEL_REMOVE_LIST_ITEM,
|
|
646
|
+
ARIA_LABEL_ADD_TEXT,
|
|
647
|
+
ARIA_LABEL_REMOVE_TEXT,
|
|
648
|
+
ARIA_LABEL_ADD_INPUT,
|
|
649
|
+
ARIA_LABEL_REMOVE_INPUT,
|
|
650
|
+
ARIA_TYPE_FIELD_ANGLE,
|
|
651
|
+
ARIA_LABEL_FIELD_ANGLE,
|
|
652
|
+
ARIA_TYPE_FIELD_DATE,
|
|
653
|
+
ARIA_TYPE_FIELD_COLOUR,
|
|
654
|
+
ARIA_TYPE_FIELD_BITMAP,
|
|
655
|
+
ARIA_TYPE_FIELD_GRID,
|
|
642
656
|
} = ar;
|
package/msg/ast.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
package/msg/ast.mjs
CHANGED
|
@@ -639,4 +639,18 @@ export const {
|
|
|
639
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
640
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
641
|
SCREENREADER_HINT,
|
|
642
|
+
ARIA_LABEL_ADD_ELSE_IF,
|
|
643
|
+
ARIA_LABEL_REMOVE_ELSE_IF,
|
|
644
|
+
ARIA_LABEL_ADD_LIST_ITEM,
|
|
645
|
+
ARIA_LABEL_REMOVE_LIST_ITEM,
|
|
646
|
+
ARIA_LABEL_ADD_TEXT,
|
|
647
|
+
ARIA_LABEL_REMOVE_TEXT,
|
|
648
|
+
ARIA_LABEL_ADD_INPUT,
|
|
649
|
+
ARIA_LABEL_REMOVE_INPUT,
|
|
650
|
+
ARIA_TYPE_FIELD_ANGLE,
|
|
651
|
+
ARIA_LABEL_FIELD_ANGLE,
|
|
652
|
+
ARIA_TYPE_FIELD_DATE,
|
|
653
|
+
ARIA_TYPE_FIELD_COLOUR,
|
|
654
|
+
ARIA_TYPE_FIELD_BITMAP,
|
|
655
|
+
ARIA_TYPE_FIELD_GRID,
|
|
642
656
|
} = ast;
|
package/msg/az.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|
package/msg/az.mjs
CHANGED
|
@@ -639,4 +639,18 @@ export const {
|
|
|
639
639
|
PARENT_BLOCKS_ANNOUNCEMENT,
|
|
640
640
|
NO_PARENT_ANNOUNCEMENT,
|
|
641
641
|
SCREENREADER_HINT,
|
|
642
|
+
ARIA_LABEL_ADD_ELSE_IF,
|
|
643
|
+
ARIA_LABEL_REMOVE_ELSE_IF,
|
|
644
|
+
ARIA_LABEL_ADD_LIST_ITEM,
|
|
645
|
+
ARIA_LABEL_REMOVE_LIST_ITEM,
|
|
646
|
+
ARIA_LABEL_ADD_TEXT,
|
|
647
|
+
ARIA_LABEL_REMOVE_TEXT,
|
|
648
|
+
ARIA_LABEL_ADD_INPUT,
|
|
649
|
+
ARIA_LABEL_REMOVE_INPUT,
|
|
650
|
+
ARIA_TYPE_FIELD_ANGLE,
|
|
651
|
+
ARIA_LABEL_FIELD_ANGLE,
|
|
652
|
+
ARIA_TYPE_FIELD_DATE,
|
|
653
|
+
ARIA_TYPE_FIELD_COLOUR,
|
|
654
|
+
ARIA_TYPE_FIELD_BITMAP,
|
|
655
|
+
ARIA_TYPE_FIELD_GRID,
|
|
642
656
|
} = az;
|
package/msg/ba.js
CHANGED
|
@@ -27,13 +27,27 @@ Blockly.Msg["ANNOUNCE_MOVE_INSIDE"] = "Moving %1 inside %2."; // untranslated
|
|
|
27
27
|
Blockly.Msg["ANNOUNCE_MOVE_OF"] = "%1 of %2"; // untranslated
|
|
28
28
|
Blockly.Msg["ANNOUNCE_MOVE_TO"] = "Moving %1 to %2."; // untranslated
|
|
29
29
|
Blockly.Msg["ANNOUNCE_MOVE_WORKSPACE"] = "Moving %1 on workspace."; // untranslated
|
|
30
|
+
Blockly.Msg["ARIA_LABEL_ADD_ELSE_IF"] = "Add else if"; // untranslated
|
|
31
|
+
Blockly.Msg["ARIA_LABEL_ADD_INPUT"] = "Add input"; // untranslated
|
|
32
|
+
Blockly.Msg["ARIA_LABEL_ADD_LIST_ITEM"] = "Add list item"; // untranslated
|
|
33
|
+
Blockly.Msg["ARIA_LABEL_ADD_TEXT"] = "Add text"; // untranslated
|
|
30
34
|
Blockly.Msg["ARIA_LABEL_BUTTON"] = "button"; // untranslated
|
|
31
35
|
Blockly.Msg["ARIA_LABEL_COMMENT"] = "Comment"; // untranslated
|
|
32
36
|
Blockly.Msg["ARIA_LABEL_COMMENT_COLLAPSE"] = "Collapse Comment"; // untranslated
|
|
33
37
|
Blockly.Msg["ARIA_LABEL_COMMENT_EXPAND"] = "Expand Comment"; // untranslated
|
|
38
|
+
Blockly.Msg["ARIA_LABEL_FIELD_ANGLE"] = "%1 degrees"; // untranslated
|
|
34
39
|
Blockly.Msg["ARIA_LABEL_HEADING"] = "heading"; // untranslated
|
|
40
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_ELSE_IF"] = "Remove else if"; // untranslated
|
|
41
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_INPUT"] = "Remove input"; // untranslated
|
|
42
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_LIST_ITEM"] = "Remove list item"; // untranslated
|
|
43
|
+
Blockly.Msg["ARIA_LABEL_REMOVE_TEXT"] = "Remove text"; // untranslated
|
|
44
|
+
Blockly.Msg["ARIA_TYPE_FIELD_ANGLE"] = "angle"; // untranslated
|
|
45
|
+
Blockly.Msg["ARIA_TYPE_FIELD_BITMAP"] = "pixel image"; // untranslated
|
|
35
46
|
Blockly.Msg["ARIA_TYPE_FIELD_CHECKBOX"] = "checkbox"; // untranslated
|
|
47
|
+
Blockly.Msg["ARIA_TYPE_FIELD_COLOUR"] = "color"; // untranslated
|
|
48
|
+
Blockly.Msg["ARIA_TYPE_FIELD_DATE"] = "date"; // untranslated
|
|
36
49
|
Blockly.Msg["ARIA_TYPE_FIELD_DROPDOWN"] = "dropdown"; // untranslated
|
|
50
|
+
Blockly.Msg["ARIA_TYPE_FIELD_GRID"] = "grid dropdown"; // untranslated
|
|
37
51
|
Blockly.Msg["ARIA_TYPE_FIELD_IMAGE"] = "image"; // untranslated
|
|
38
52
|
Blockly.Msg["ARIA_TYPE_FIELD_INPUT"] = "input"; // untranslated
|
|
39
53
|
Blockly.Msg["ARIA_TYPE_FIELD_NUMBER"] = "number"; // untranslated
|