2022-01-03 14:02:41 +00:00
|
|
|
{"version":3,"sources":["blocks/variables_dynamic.js","blocks/variables.js","blocks/text.js","blocks/procedures.js","blocks/math.js","blocks/loops.js","blocks/logic.js","blocks/lists.js","blocks/colour.js","blocks/all.js"],"names":["defineBlocksWithJsonArray","CUSTOM_CONTEXT_MENU_VARIABLE_GETTER_SETTER_MIXIN","customContextMenu","options","isInFlyout","id","getFieldValue","varType","workspace","getVariableById","variableModel","type","oppositeType","contextMenuMsg","Msg","option","enabled","remainingCapacity","name","getField","getText","text","replace","xmlField","xml","createElement","setAttribute","appendChild","createTextNode","xmlBlock","callback","ContextMenu","callbackFactory","push","renameOption","renameOptionCallbackFactory","deleteOption","deleteOptionCallbackFactory","unshift","onchange","_e","Variables","getVariable","outputConnection","setCheck","getInput","connection","block","variable","renameVariable","deleteVariableById","getId","refreshToolboxSelection","Extensions","registerMixin","xmlUtils","Blocks","init","setHelpUrl","setStyle","appendValueInput","appendField","appendDummyInput","setInputsInline","setOutput","updateAt_","setTooltip","mutationToDom","container","isAt1","ConnectionType","INPUT_VALUE","isAt2","domToMutation","xmlElement","getAttribute","n","isAt","removeInput","menu","FieldDropdown","value","newAt","getSourceBlock","setFieldValue","moveInputBefore","OPERATORS","jsonInit","TEXT_PROMPT_COMMON","updateType_","newOp","TYPES","thisBlock","dropdown","mixin","QUOTE_IMAGE_MIXIN","newQuote_","FieldTextInput","QUOTE_IMAGE_LEFT_DATAURI","QUOTE_IMAGE_RIGHT_DATAURI","QUOTE_IMAGE_WIDTH","QUOTE_IMAGE_HEIGHT","quoteField_","fieldName","i","input","inputList","j","field","fieldRow","insertFieldAt","console","warn","toDevString","open","isLeft","RTL","FieldImage","dataUri","TEXT_QUOTES_EXTENSION","TEXT_JOIN_MUTATOR_MIXIN","itemCount_","parseInt","updateShape_","saveExtraState","loadExtraState","state","decompose","containerBlock","newBlock","initSvg","itemBlock","connect","previousConnection","nextConnection","compose","getInputTargetBlock","connections","isInsertionMarker","valueConnection_","targetBlock","targetConnection","indexOf","disconnect","length","Mutator","reconnect","saveConnections","setAlign","Align","RIGHT","TEXT_JOIN_EXTENSION","setMutator","register","buildTooltipWithFieldText","TEXT_INDEXOF_TOOLTIP_EXTENSION","oneBasedIndex","TEXT_CHARAT_MUTATOR_MIXIN","isAt_","TEXT_CHARAT_EXTENSION","setValidator","where","tooltip","msg","registerMutator","PROCEDURE_DEF_COMMON","setStatements_","hasStatements","hasStatements_","appendStatementInput","updateParams_","paramString","arguments_","join","Events","disable","enable","opt_paramIds","argumentVarModels_","parameter","argModel","paramIds_","childNode","childNodes","nodeName","toLowerCase","varName","varId","getOrCreateVariablePackage","log","Procedures","mutateCallers","Object","create","param","containerBlockNode","statementNode","argBlockNode","fieldNode","argumentName","nextNode","node","Xml","domToBlock","paramBlock","statementConnection_","stackConnection","stackBlock","unplug","bumpNeighbours","getVars","getVarModels","renameVarById","oldId","newId","oldVariable","oldName","newVar","change","displayRenamedVar_","updateVarName","newName","mutator","isVisible","blocks","workspace_","getAllBlocks","Names","equals","xmlMutation","xmlArg","callType_","isCollapsed","argOption","argVar","argXmlField","generateVariableFieldDom","argXmlBlock","initName","findLegalName","nameField","rename","setSpellcheck","comments","parentWorkspace","setCommentText","getProcedureDef","FieldCheckbox","contextMenu","DEFAULT_ARG","validator_","oldShowEditorFn_","showEditor_","newShowEditorFn","createdVariables_","setPreviousStatement","setNextStatement","onFinishEditing_","deleteIntermediateVars_","sourceBlock","outerWs","findParentWs","targetWorkspace","caselessName","otherVar","model","renameVariableById","createVariable","newText","PROCEDURE_CALL_COMMON","getProcedureCall","renameProcedure","baseMsg","setProcedureParameters_","paramNames","paramIds","defBlock","
|