2022-11-16 13:57:00 +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/blocks.js"],"names":["ContextMenu","Extensions","Variables","xml","BlockDefinition","Object","Msg","createBlockDefinitionsFromJsonArray","defineBlocks","blocks","CUSTOM_CONTEXT_MENU_VARIABLE_GETTER_SETTER_MIXIN","customContextMenu","options","isInFlyout","id","getFieldValue","varType","workspace","getVariableById","variableModel","type","oppositeType","contextMenuMsg","option","enabled","remainingCapacity","name","getField","getText","text","replace","xmlField","createElement","setAttribute","appendChild","createTextNode","xmlBlock","callback","callbackFactory","push","renameOption","renameOptionCallbackFactory","deleteOption","deleteOptionCallbackFactory","unshift","onchange","_e","getVariable","outputConnection","setCheck","getInput","connection","block","variable","renameVariable","deleteVariableById","getId","refreshToolboxSelection","registerMixin","xmlUtils","Align","ConnectionType","FieldDropdown","FieldImage","FieldTextInput","Mutator","init","setHelpUrl","setStyle","appendValueInput","appendField","appendDummyInput","setInputsInline","setOutput","updateAt_","setTooltip","mutationToDom","container","isAt1","INPUT_VALUE","isAt2","domToMutation","xmlElement","getAttribute","n","isAt","removeInput","menu","value","newAt","getSourceBlock","setFieldValue","moveInputBefore","OPERATORS","jsonInit","TEXT_PROMPT_COMMON","updateType_","newOp","TYPES","thisBlock","dropdown","mixin","QUOTE_IMAGE_MIXIN","newQuote_","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","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_","getNextBlock","targetConnection","indexOf","disconnect","length","reconnect","saveConnections","setAlign","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","Events","Procedures","Xml","config","FieldCheckbox","FieldLabel","Names","PROCEDURE_DEF_COMMON","setStatements_","hasStatements","hasStatements_","appendStatementInput","updateParams_","paramString","arguments_","join","disable","enable","opt_paramIds","argumentVarModels_","parameter","argModel","paramIds_","childNode","childNodes","nodeName","toLowerCase","varName","varId","getOrCreateVariablePackage","log","mutateCallers","create","param","containerBlockNode","statementNode","argBlockNode","fieldNode","argumentName","nextNode","node","domToBlock","paramBlock","targetBlock","statementConnection_","stackConnection","stackBlock","unplug","bumpNeighbours","getVars","getVarModels","renameVarById","oldId","newId","oldVariable","oldName","newVar","change","displayRenamedVar_","updateVarName","newName","mutator","isVisible","workspace_","getAllBlocks","equals","xmlMutation","xmlArg","callType_","isCollapsed","argOption","argVar","argXmlField","generateVariableFieldDom","argXmlBlock","initName","findLegalName","nameField","rename","setSpellcheck","comments","parentWorkspace","setCommentText","getProcedureDef","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
|