openc3-cosmos-tool-scriptrunner 5.4.2 → 5.4.3.pre.beta0.20230214173011

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/323.js","mappings":"w1YAeY,+CAfZ,IAAIA,EAAS,WAAiB,WAAC,IAAIC,GAAG,WAACC,MAAKC,GAAE,WAACF,EAAIG,MAAMD,IAAG,kBAAOA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,MAAM,MAAQL,EAAIM,SAASJ,EAAG,aAAa,CAACE,MAAM,CAAC,IAAM,GAAG,MAAQJ,EAAIO,UAAU,QAAU,KAAMC,YAAYR,EAAIS,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,YAAmB,IAARP,EAAK,EAALA,MAAS,OAAJ,sBAAW,CAACF,EAAG,QAAQF,EAAIY,GAAG,CAACR,MAAM,CAAC,KAAO,IAAIS,GAAG,CAAC,MAAQ,SAASC,GAAO,sBAACd,EAAIe,WAAY,CAAK,IAAI,QAAQX,GAAM,GAAO,CAACJ,EAAIgB,GAAG,aAAa,KAAKC,MAAM,CAACC,MAAOlB,EAAIe,UAAWI,SAAS,SAAUC,GAAK,sBAACpB,EAAIe,UAAUK,CAAG,EAAEC,WAAW,cAAc,CAACnB,EAAG,SAAS,CAACF,EAAIgB,GAAG,QAAQhB,EAAIsB,GAAGtB,EAAIO,WAAW,OAAOP,EAAIgB,GAAG,IAAIhB,EAAIsB,GAAGtB,EAAIuB,WAAW,MAAM,GAAGrB,EAAG,aAAa,CAACE,MAAM,CAAC,IAAM,GAAG,SAAW,EAAE,MAAQ,UAAUI,YAAYR,EAAIS,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,YAAmB,IAARP,EAAK,EAALA,MAAS,OAAJ,sBAAW,CAACF,EAAG,QAAQF,EAAIY,GAAG,CAACR,MAAM,CAAC,KAAO,GAAG,MAAQ,SAAS,YAAY,iBAAiBS,GAAG,CAAC,MAAQb,EAAIwB,qBAAq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,WACA,OADA,yBACA,oDACA,gCACA,uBACA,EACAJ,qBAAAA,WACA,OADA,yBACA,kFACA,EACAwf,SAAAA,WACA,OADA,2BACA,aACA,EACA9f,aAAAA,WACA,OADA,0BACA,qGACA,cACA,EAGA2C,gBAAAA,WACA,OADA,0BACA,qEACA,EACAhF,MAAAA,WAAA,WACA,OADA,0BACA,CACA,CACAmE,MAAAA,OACAmH,MAAAA,CACA,CACAnH,MAAAA,WACAwL,KAAAA,gBACAvL,QAAAA,WAAA,0BACA,WACA,GAEA,CACAD,MAAAA,YACAwL,KAAAA,kBACAvL,QAAAA,WAAA,0BACA,YACA,GAEA,CACAkL,SAAAA,GAEA,CACAnL,MAAAA,YACAwL,KAAAA,mBACAvL,QAAAA,WAAA,0BACA,YACA,GAEA,CACAD,MAAAA,aACAwL,KAAAA,mBACAvL,QAAAA,WAAA,0BACA,UACA,GAEA,CACAkL,SAAAA,GAEA,CACAnL,MAAAA,WACAwL,KAAAA,qBACAvL,QAAAA,WAAA,0BACA,YACA,GAEA,CACAkL,SAAAA,GAEA,CACAnL,MAAAA,cACAwL,KAAAA,aACAvL,QAAAA,WAAA,0BACA,UACA,KAIA,CACAD,MAAAA,OACAmH,MAAAA,CACA,CACAnH,MAAAA,OACAwL,KAAAA,cACAvL,QAAAA,WAAA,0BACA,4BACA,GAEA,CACAD,MAAAA,UACAwL,KAAAA,mBACAvL,QAAAA,WAAA,0BACA,+BACA,KAIA,CACAD,MAAAA,SACAmH,MAAAA,CACA,CACAnH,MAAAA,uBACAwL,KAAAA,UACAvL,QAAAA,WAAA,0BACA,uBACA,GAEA,CACAkL,SAAAA,GAEA,CACAnL,MAAAA,mBACAwL,KAAAA,cACAvL,QAAAA,WAAA,0BACA,oCACA,GAEA,CACAD,MAAAA,gBACAwL,KAAAA,eACAvL,QAAAA,WAAA,aACA,+DACA,0CACA,GAEA,CACAD,MAAAA,iBACAwL,KAAAA,sBACAvL,QAAAA,WAAA,0BACA,kBACA,GAEA,CACAkL,SAA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AA,GAAA,aACA,wBACA,iBAEAhY,OAAAA,iBAAAA,UAAAA,KAAAA,SAAA,aACA,6DACA,sEACA,wEAGA,wDACAwF,YAAAA,SAAAA,kBACA,4BACA,oBACA,cACA,yDACA,qDArCAnB,GAsCA4T,cAAAA,WAAA,0BACA,mCACA,8BACA,EACAC,UAAAA,WAAA,0BACA,+BACA,yDACAC,cAAAA,KAAAA,mBACA,4BACA,gDACA,iCACA,6BACA,uBACA,EACAC,kBAAAA,SAAAA,EAAAA,EAAAA,GAAA,0BACA,0CACA,iDACA,6BACAC,IAEA,EACA3V,QAAAA,CACA4V,gBAAAA,WAAA,aACA,8CACA,0BACA,iCACA,oBAEA,yDACA/c,QAAAA,SAAAA,GAAA,sDACAA,QAAAA,SAAAA,GAAA,gDACA,kFACA,iBAGA,aAHA,0BACAgd,EAAAA,KAAAA,MACA,aACA,yBACA,wBACAtI,MAAAA,EACAvS,MAAAA,oBAGA,eACA8a,EAAAA,SAAAA,EAAAA,GAEA,8BACA,mCACA,sBACA,0BACA,6BACA,iBACA,0EACA,2CACA,oCACA,kCACA,oCACA,sCACA,oDACA,EACA,kDAKA,OALA,cACAA,EAAAA,SAAAA,EAAAA,GACA,oDACA,0BACA,kCACA,CACA,EACAzgB,gBAAAA,SAAAA,GAAA,2BACA,0DACA,yCACA,2CACA,sCACA,8BACA,eACA,uBACA,EACA,uBACA,GACA,UACA,qBACA,YACA,cACA,yDACA,eACA,EACA0gB,qBAAAA,SAAAA,GAAA,WACA,OADA,2BACA,mEACA,kCACA,iFACA,cACA,iCACA,gCACA,gCACA,sBACA,+DACA,mBACA7iB,MAAAA,gBACAuJ,KAAAA,qCAAAA,OAAAA,OAEA,8BACA,iDACA,oCACA,iFACA,gBACA,iBAEA,GACA,EACAuZ,cAAAA,WAAA,sCACAjW,EAAAA,IAAAA,uBAAAA,OAAAA,KAAAA,WAAAA,MAAAA,SAAAA,GAAA,2BACA,6CACA,qCACA,+BACA,sCACA,8BACA,4CACA,wCACA,qBACA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A,MACA,yCACA,+GACA,wBAsBA,8BACA,mEACA,kDACA,2CACA,kCA1BA,8BAGA,wBAAAD,QAAAA,GAAAC,OAAAA,GAEA,cACA5X,EAAAA,IAAAA,uBAAAA,OAAAA,EAAAA,WACAlF,MAAAA,SAAAA,GAAA,2BAGA,qBACA6c,QAAAA,EAAAA,KAAAA,SACAC,OAAAA,GACA,cACA,2DACA,+CACA,sBACA,IACAzX,OAAAA,SAAAA,GAAA,2BAEA,wBACA,MAOA,8BACA,mBACA,uDACA,OADA,cACA,YACA,4CACA,wCACA,2CACA,mCACA,yCAEA,sCACA,8BACA,4CACA,gBACA,YACA,cACA,8CACA,sDACA,MACA,0CACA,cAEA,0CACA,2BAEA,iCACA,8BACA,2CACA,mDACA,wCACA,+BACA,8BACA,wCACA,8BACA,cACA,qBACA,4CACA,2FAEA,GADA,cACA,4CACA,wBACA,gGACA,8BACA,sCACA,qBACA,YACA,cACA,wBACA,cACA,0CACA,iCACA,eACA,oCACA,MACA,sCACA,MACA,cACA,MACA,2CAEA,IACA,EADA,UACAtD,EAAAA,KAAAA,MAAAA,OAAA,4DACA,iCACA,uBAAAjE,QAAAA,KACA,eACA,8CACA,6DACA,oBACA,cACA,MACA,2CACA,mCACA,MACA,2CACA,yCACA,mCACA,MACA,6CAEA,WAGA,iBAHA,8BACA,sCACA,uBAEA,yCACA,gCACA,MACA,sCAGA,MAEA,EACAif,qBAAAA,SAAAA,GAAA,2BACA,kCACA7X,EAAAA,KAAAA,8BAAAA,OAAAA,KAAAA,SAAAA,WAAAA,CACAnD,KAAAA,CACAM,OAAAA,KAAAA,OAAAA,OACA2a,OAAAA,EACAC,UAAAA,KAAAA,iBAGA,EACAC,aAAAA,SAAAA,GAAA,WACA,GADA,4BACA,kBAIA,OAJA,8BACA,qCACA,kCACA,oCAUA,OARA,8BACA,8CACA,0CACA,8CACA,yCACA,sCACA,qCACA,qCACA,UACA,0BACA,+CAEA,oCACA,yCACA,mCACA,4BACA,cACA,6HACA,wCACA,4EAEA,4BACA,iBACA,eACA,6CACA,sBACA,8BACA,0DACA,4BACA,8CACAhY,EAAAA,KAAAA,8BAAAA,OAAAA,EAAAA,SAAAA,WAAAA,CACAnD,KAAAA,CACAM,OAAAA,EAAAA,OACA3E,SAAAA,EACAuf,UAAAA,EAAAA,oBAGA,8BACA/X,EAAAA,KAAAA,8BAAAA,OAAAA,EAAAA,SAAAA,WAAAA,CACAnD,KAAAA,CACAM,OAAAA,EAAAA,OACA2a,OAAAA,EACAC,UAAAA,EAAAA,kBAIA,gBACA,+BACA,MACA,yDACA,oDACA,gHACA,yCACA,oCACA,8BACA,2CACA,sBAAA9e,KAAAA,MAAAlF,MAAAA,QAAA,cACA,6DACA,kCACA,MACA,2CACA,gGACA,2CACA,8BACA,4FACA,sCACA,8BACA,4CACA,sBAAAkF,KAAAA,KAAAlF,MAAAA,OAAA,cACA,6DACA,kCACA,MACA,8CACA,gGACA,2CACA,8BACA,4FACA,sCACA,8BACA,4CACA8I,EAAAA,KAAAA,MAAAA,GAAAA,SAAAA,SAAAA,GAAA,4BACA,uBAAA5D,KAAAA,EAAAlF,MAAAA,GACA,kBACA,mCACA,yCACA,6DACA,kCACA,MACA,kCACA,yDACA,gGACA,2CACA,8BACA,4FACA,sCACA,8BACA,4CACA8I,EAAAA,KAAAA,MAAAA,GAAAA,SAAAA,SAAAA,GAAA,4BACA,uBAAA5D,KAAAA,EAAAlF,MAAAA,GACA,kBACA,6DACA,+BACA,8BACA,6DACA,kCACA,MACA,8CACA,kDACA,2CACA,uCACA,MACA,mDACA,kDACA,oEACA,sCACAiM,EAAAA,KAAAA,8BAAAA,OAAAA,EAAAA,SAAAA,WAAAA,CACAnD,KAAAA,CACAM,OAAAA,EAAAA,OACA2a,OAAAA,EACAC,UAAAA,EAAAA,iBAGA,gBACA,yCACA,MACA,uCACA,uDACA,wCACA,0CACA,2FACA,kCACA,8BACA,6DACA,uBACA,8BACA,gCACA,MACA,uCAIA,MAEA,EACAhf,mBAAAA,SAAAA,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oCACA,mDACA,WAAAA,KAAAA,EAAAkI,OAAAA,EAAAC,YAAAA,IAAA,EACA,IACAX,OAAAA,SAAAA,GAAA,4BACA,uFACA,SACA,GACA,EAEApI,QAAAA,SAAAA,GAAA,aAAA8I,EAAAA,EAAAA,OAAAC,EAAAA,EAAAA,YAAA,0GACA,6BACA,qCACA,gCACA,iBACA,gBACA,cACA,iDACA,wCACA,uDACA,2CACA,gDACA,mCACA,kCAEA,wCACA,kCACA,qCACA,4BACA,8BACA,qBACA,cACA,uCACA,sCACA,wBACA,gBACA,cACA,qCACA,EAGAuX,SAAAA,WAAA,2GACA,6DACA,kDACA,0CAEA,gBACA,8BACA,wDACA,kBACA/B,GACA,KACA1M,EAAAA,EAAAA,GAAAA,KAAAA,MAAAA,2BACA,YACA,8BACA,+BACA5J,EAAAA,KAAAA,uBAAAA,OAAAA,KAAAA,cAAAA,CACAnD,KAAAA,CACA5D,KAAAA,KAAAA,OAAAA,WACA6H,YAAAA,KAGAhG,MAAAA,SAAAA,GAAA,4BACA,gCACAwd,YAAAA,WAAA,4BACA,aACA,OACA,IACAnY,OAAAA,SAAAA,GAAA,4BACA,aACA,OAEA,8BAGA,+BACAH,EAAAA,KAAAA,uBAAAA,OAAAA,KAAAA,UAAAA,CACAnD,KAAAA,CACA5D,KAAAA,KAAAA,OAAAA,WACA6H,YAAAA,KAGAhG,MAAAA,SAAAA,GAAA,4BACA,6CACA,6CACA,qCACA,+BACA,uCACA,8BACA,qCACA,+BACA,eACA,cACA,4CACA,wCACA,qBACA,8BACA,gCACAwd,YAAAA,WAAA,4BACA,aACA,UACA,8BACA,4BACA,kCACA,sGACA,eAEA,IACAnY,OAAAA,SAAAA,GAAA,6CACA,cAEA,cACA,6CACA,kCACA,4BACA,8BACA,kCACA,yFACA,cACA,cACA,KAEA,cACA,eACA,EACAoY,OAAAA,WAAA,4BACA,kBACA,EACApgB,eAAAA,SAAAA,GAAA,4BACA,4CACA,wCACA,iDACA6H,EAAAA,KAAAA,uBAA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UA,EAAQpf,SACnB,kBAAZof,IAAsBA,EAAU,CAAC,CAACuB,EAAOxZ,GAAIiY,EAAS,MAC7DA,EAAQyB,SAAQF,EAAOG,QAAU1B,EAAQyB,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAY3B,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,uBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQwB,aAAYxB,EAAUA,EAAQpf,SACnB,kBAAZof,IAAsBA,EAAU,CAAC,CAACuB,EAAOxZ,GAAIiY,EAAS,MAC7DA,EAAQyB,SAAQF,EAAOG,QAAU1B,EAAQyB,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAY3B,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,uBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQwB,aAAYxB,EAAUA,EAAQpf,SACnB,kBAAZof,IAAsBA,EAAU,CAAC,CAACuB,EAAOxZ,GAAIiY,EAAS,MAC7DA,EAAQyB,SAAQF,EAAOG,QAAU1B,EAAQyB,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAY3B,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/services/cable.js","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/FileOpenSaveDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/FileOpenSaveDialog.vue?14dd","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/FileOpenSaveDialog.vue?07a6","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentDialog.vue?3be6","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentDialog.vue?e342","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/SimpleTextDialog.vue?e067","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?95da","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/AskDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/AskDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/AskDialog.vue?f655","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/AskDialog.vue?25c8","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/FileDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/FileDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/FileDialog.vue?4fc4","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/FileDialog.vue?4b4b","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InformationDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/InformationDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InformationDialog.vue?3f20","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InformationDialog.vue?5b59","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue?e6f7","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue?fb29","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/OverridesDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/OverridesDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/OverridesDialog.vue?94ac","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/OverridesDialog.vue?76e9","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/PromptDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/PromptDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/PromptDialog.vue?57e0","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/PromptDialog.vue?bed5","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ResultsDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/ResultsDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ResultsDialog.vue?3a18","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ResultsDialog.vue?c34d","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentChooser.vue","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentChooser.vue?9a7c","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentChooser.vue?4c43","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue?692a","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue?e122","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/SuiteRunner.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?c431","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?9149","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptLogMessages.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/ScriptLogMessages.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptLogMessages.vue?2f24","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptLogMessages.vue?040a","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/utilities.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/packetCompleter.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/cmdCompleter.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/tlmCompleter.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/mnemonicChecker.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/index.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/annotations/regexAnnotator.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/annotations/sleepAnnotator.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/annotations/index.js","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/RunningScripts.vue","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/RunningScripts.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/RunningScripts.vue?aa45","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/RunningScripts.vue?2fa8","webpack://@openc3/cosmos-tool-scriptrunner/src/tools/ScriptRunner/ScriptRunner.vue","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?3de0","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?e7a4","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?9b24","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?0e0c","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?386c","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?6a67","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?65e4","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?784e","webpack://@openc3/cosmos-tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?9efc","webpack://@openc3/cosmos-tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?8224"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"menus\":_vm.menus,\"title\":_vm.title}}),_c('v-snackbar',{attrs:{\"top\":\"\",\"color\":_vm.alertType,\"timeout\":3000},scopedSlots:_vm._u([{key:\"action\",fn:function({ attrs }){return [_c('v-btn',_vm._b({attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.showAlert = false}}},'v-btn',attrs,false),[_vm._v(\" Close \")])]}}]),model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_c('v-icon',[_vm._v(\" mdi-\"+_vm._s(_vm.alertType)+\" \")]),_vm._v(\" \"+_vm._s(_vm.alertText)+\" \")],1),_c('v-snackbar',{attrs:{\"top\":\"\",\"timeout\":-1,\"color\":\"orange\"},scopedSlots:_vm._u([{key:\"action\",fn:function({ attrs }){return [_c('v-btn',_vm._b({attrs:{\"text\":\"\",\"color\":\"danger\",\"data-test\":\"unlock-button\"},on:{\"click\":_vm.confirmLocalUnlock}},'v-btn',attrs,false),[_vm._v(\" Unlock \")]),_c('v-btn',_vm._b({attrs:{\"text\":\"\"},on:{\"click\":() => {\n _vm.showReadOnlyToast = false\n }}},'v-btn',attrs,false),[_vm._v(\" dismiss \")])]}}]),model:{value:(_vm.showReadOnlyToast),callback:function ($$v) {_vm.showReadOnlyToast=$$v},expression:\"showReadOnlyToast\"}},[_c('v-icon',[_vm._v(\" mdi-pencil-off \")]),_vm._v(\" \"+_vm._s(_vm.lockedBy)+\" is editing this script. Editor is in read-only mode \")],1),(_vm.suiteRunner)?_c('suite-runner',{attrs:{\"suite-map\":_vm.suiteMap,\"disable-buttons\":_vm.disableSuiteButtons},on:{\"button\":_vm.suiteRunnerButton}}):_vm._e(),_c('div',{attrs:{\"id\":\"sr-controls\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":\"space-between\"}},[(_vm.showDisconnect)?_c('v-icon',{staticClass:\"mr-2\",attrs:{\"color\":\"red\"}},[_vm._v(\" mdi-connection \")]):_vm._e(),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"disabled\":_vm.filename === _vm.NEW_FILENAME},on:{\"click\":_vm.reloadFile}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-cached\")])],1)]}}])},[_c('span',[_vm._v(\" Reload File \")])]),_c('v-select',{staticStyle:{\"width\":\"300px\"},attrs:{\"items\":_vm.fileList,\"disabled\":_vm.fileList.length <= 1,\"label\":\"Filename\",\"id\":\"filename\",\"data-test\":\"filename\",\"dense\":\"\",\"outlined\":\"\",\"readonly\":\"\",\"hide-details\":\"\"},on:{\"change\":_vm.fileNameChanged},model:{value:(_vm.fullFilename),callback:function ($$v) {_vm.fullFilename=$$v},expression:\"fullFilename\"}}),_c('v-text-field',{staticClass:\"shrink ml-2 script-state\",staticStyle:{\"width\":\"100px\"},attrs:{\"label\":\"Script ID\",\"data-test\":\"id\",\"dense\":\"\",\"outlined\":\"\",\"readonly\":\"\",\"hide-details\":\"\"},model:{value:(_vm.scriptId),callback:function ($$v) {_vm.scriptId=$$v},expression:\"scriptId\"}}),_c('v-text-field',{staticClass:\"shrink ml-2 script-state\",staticStyle:{\"width\":\"120px\"},attrs:{\"label\":\"Script State\",\"data-test\":\"state\",\"dense\":\"\",\"outlined\":\"\",\"readonly\":\"\",\"hide-details\":\"\"},model:{value:(_vm.state),callback:function ($$v) {_vm.state=$$v},expression:\"state\"}}),(_vm.state === 'Connecting...')?_c('v-progress-circular',{staticClass:\"ml-2 mr-2\",attrs:{\"size\":40,\"indeterminate\":\"\",\"color\":\"primary\"}}):_c('div',{staticClass:\"ml-2 mr-2\",staticStyle:{\"width\":\"40px\",\"height\":\"40px\"}}),_c('v-spacer'),(_vm.startOrGoButton === 'Start')?_c('div',[_c('v-btn',{staticClass:\"mx-1\",attrs:{\"color\":\"primary\",\"data-test\":\"start-button\",\"disabled\":_vm.startOrGoDisabled},on:{\"click\":_vm.startHandler}},[_c('span',[_vm._v(\" Start \")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1\",attrs:{\"data-test\":\"env-button\",\"color\":_vm.environmentIconColor,\"disabled\":_vm.envDisabled},on:{\"click\":function($event){_vm.scriptEnvironment.show = !_vm.scriptEnvironment.show}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\" \"+_vm._s(_vm.environmentIcon)+\" \")])],1)]}}],null,false,3991735395)},[_c('span',[_vm._v(\" Open Environment Dialog \")])])],1):_c('div',[_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"disabled\":_vm.startOrGoDisabled,\"data-test\":\"go-button\"},on:{\"click\":_vm.go}},[_vm._v(\" Go \")]),_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"disabled\":_vm.pauseOrRetryDisabled,\"data-test\":\"pause-retry-button\"},on:{\"click\":_vm.pauseOrRetry}},[_vm._v(\" \"+_vm._s(_vm.pauseOrRetryButton)+\" \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"data-test\":\"stop-button\",\"disabled\":_vm.stopDisabled},on:{\"click\":_vm.stop}},[_vm._v(\" Stop \")])],1)],1)],1),_c('multipane',{staticClass:\"horizontal-panes\",attrs:{\"layout\":\"horizontal\"},on:{\"paneResize\":function($event){return _vm.editor.resize()}}},[_c('div',{staticClass:\"pane\",attrs:{\"id\":\"editorbox\"}},[_c('v-snackbar',{staticClass:\"saving\",attrs:{\"absolute\":\"\",\"top\":\"\",\"right\":\"\",\"timeout\":-1},model:{value:(_vm.showSave),callback:function ($$v) {_vm.showSave=$$v},expression:\"showSave\"}},[_vm._v(\" Saving... \")]),_c('pre',{attrs:{\"id\":\"editor\"},on:{\"contextmenu\":function($event){$event.preventDefault();return _vm.showExecuteSelectionMenu.apply(null, arguments)}}}),_c('v-menu',{attrs:{\"position-x\":_vm.menuX,\"position-y\":_vm.menuY,\"absolute\":\"\",\"offset-y\":\"\"},model:{value:(_vm.executeSelectionMenu),callback:function ($$v) {_vm.executeSelectionMenu=$$v},expression:\"executeSelectionMenu\"}},[_c('v-list',_vm._l((_vm.executeSelectionMenuItems),function(item){return _c('v-list-item',{key:item.label},[_c('v-list-item-title',{on:{\"click\":item.command}},[_vm._v(\" \"+_vm._s(item.label)+\" \")])],1)}),1)],1)],1),_c('multipane-resizer',[_c('hr')]),_c('div',{ref:\"messagesDiv\",staticClass:\"mt-2 pane\",attrs:{\"id\":\"messages\"}},[(_vm.showDebug)?_c('div',{staticClass:\"pa-0\",attrs:{\"id\":\"debug\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-btn',{staticClass:\"mr-4\",staticStyle:{\"width\":\"100px\"},attrs:{\"color\":\"primary\",\"disabled\":_vm.stepDisabled,\"data-test\":\"step-button\"},on:{\"click\":_vm.step}},[_vm._v(\" Step \"),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-step-forward \")])],1),_c('v-text-field',{staticClass:\"mb-2\",attrs:{\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"label\":\"Debug\",\"data-test\":\"debug-text\"},on:{\"keydown\":_vm.debugKeydown},model:{value:(_vm.debug),callback:function ($$v) {_vm.debug=$$v},expression:\"debug\"}})],1)],1):_vm._e(),_c('script-log-messages',{model:{value:(_vm.messages),callback:function ($$v) {_vm.messages=$$v},expression:\"messages\"}})],1)],1),(_vm.fileOpen)?_c('file-open-save-dialog',{attrs:{\"type\":\"open\",\"api-url\":\"/script-api/scripts\"},on:{\"file\":function($event){return _vm.setFile($event)},\"error\":function($event){return _vm.setError($event)}},model:{value:(_vm.fileOpen),callback:function ($$v) {_vm.fileOpen=$$v},expression:\"fileOpen\"}}):_vm._e(),(_vm.showSaveAs)?_c('file-open-save-dialog',{attrs:{\"type\":\"save\",\"api-url\":\"/script-api/scripts\",\"require-target-parent-dir\":\"\",\"input-filename\":_vm.filenameOrBlank},on:{\"filename\":function($event){return _vm.saveAsFilename($event)},\"error\":function($event){return _vm.setError($event)}},model:{value:(_vm.showSaveAs),callback:function ($$v) {_vm.showSaveAs=$$v},expression:\"showSaveAs\"}}):_vm._e(),(_vm.showEnvironment)?_c('environment-dialog',{model:{value:(_vm.showEnvironment),callback:function ($$v) {_vm.showEnvironment=$$v},expression:\"showEnvironment\"}}):_vm._e(),(_vm.ask.show)?_c('ask-dialog',{attrs:{\"question\":_vm.ask.question,\"default\":_vm.ask.default,\"password\":_vm.ask.password,\"answer-required\":_vm.ask.answerRequired},on:{\"response\":_vm.ask.callback},model:{value:(_vm.ask.show),callback:function ($$v) {_vm.$set(_vm.ask, \"show\", $$v)},expression:\"ask.show\"}}):_vm._e(),(_vm.file.show)?_c('file-dialog',{attrs:{\"title\":_vm.file.title,\"message\":_vm.file.message,\"multiple\":_vm.file.multiple,\"filter\":_vm.file.filter},on:{\"response\":_vm.fileDialogCallback},model:{value:(_vm.file.show),callback:function ($$v) {_vm.$set(_vm.file, \"show\", $$v)},expression:\"file.show\"}}):_vm._e(),(_vm.information.show)?_c('information-dialog',{attrs:{\"title\":_vm.information.title,\"text\":_vm.information.text},model:{value:(_vm.information.show),callback:function ($$v) {_vm.$set(_vm.information, \"show\", $$v)},expression:\"information.show\"}}):_vm._e(),(_vm.inputMetadata.show)?_c('input-metadata-dialog',{attrs:{\"target\":_vm.inputMetadata.target},on:{\"response\":_vm.inputMetadata.callback},model:{value:(_vm.inputMetadata.show),callback:function ($$v) {_vm.$set(_vm.inputMetadata, \"show\", $$v)},expression:\"inputMetadata.show\"}}):_vm._e(),(_vm.showOverrides)?_c('overrides-dialog',{model:{value:(_vm.showOverrides),callback:function ($$v) {_vm.showOverrides=$$v},expression:\"showOverrides\"}}):_vm._e(),(_vm.prompt.show)?_c('prompt-dialog',{attrs:{\"title\":_vm.prompt.title,\"subtitle\":_vm.prompt.subtitle,\"message\":_vm.prompt.message,\"details\":_vm.prompt.details,\"buttons\":_vm.prompt.buttons,\"layout\":_vm.prompt.layout},on:{\"response\":_vm.prompt.callback},model:{value:(_vm.prompt.show),callback:function ($$v) {_vm.$set(_vm.prompt, \"show\", $$v)},expression:\"prompt.show\"}}):_vm._e(),(_vm.results.show)?_c('results-dialog',{attrs:{\"text\":_vm.results.text},model:{value:(_vm.results.show),callback:function ($$v) {_vm.$set(_vm.results, \"show\", $$v)},expression:\"results.show\"}}):_vm._e(),(_vm.scriptEnvironment.show)?_c('script-environment-dialog',{attrs:{\"input-environment\":_vm.scriptEnvironment.env},on:{\"environment\":_vm.environmentHandler},model:{value:(_vm.scriptEnvironment.show),callback:function ($$v) {_vm.$set(_vm.scriptEnvironment, \"show\", $$v)},expression:\"scriptEnvironment.show\"}}):_vm._e(),_c('simple-text-dialog',{attrs:{\"title\":\"Suite Analysis Error\",\"text\":_vm.suiteError,\"width\":1000},model:{value:(_vm.showSuiteError),callback:function ($$v) {_vm.showSuiteError=$$v},expression:\"showSuiteError\"}}),_c('v-bottom-sheet',{model:{value:(_vm.showStartedScripts),callback:function ($$v) {_vm.showStartedScripts=$$v},expression:\"showStartedScripts\"}},[_c('v-sheet',{staticClass:\"pb-11 pt-5 px-5\"},[_c('running-scripts',{attrs:{\"connect-in-new-tab\":!!_vm.fileModified},on:{\"close\":() => {\n _vm.showStartedScripts = false\n }}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport * as ActionCable from '@rails/actioncable'\n//ActionCable.logger.enabled = true\nActionCable.ConnectionMonitor.staleThreshold = 10\n\nexport default class Cable {\n constructor(url = '/openc3-api/cable') {\n this._cable = ActionCable.createConsumer(url)\n }\n disconnect() {\n this._cable.disconnect()\n }\n createSubscription(channel, scope, callbacks = {}, additionalOptions = {}) {\n return OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(() => {\n return this._cable.subscriptions.create(\n {\n channel,\n scope,\n token: localStorage.openc3Token,\n ...additionalOptions,\n },\n callbacks\n )\n })\n }\n recordPing() {\n this._cable.connection.monitor.recordPing()\n }\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true)\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n if (!noScope && !params['scope']) {\n params['scope'] = window.openc3Scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.success()}},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.success.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{attrs:{\"flat\":\"\",\"autofocus\":\"\",\"solo-inverted\":\"\",\"hide-details\":\"\",\"clearable\":\"\",\"label\":\"Search\",\"data-test\":\"file-open-save-search\"},on:{\"input\":_vm.handleSearch},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-row',{staticClass:\"mt-2\",attrs:{\"dense\":\"\"}},[_c('v-treeview',{ref:\"tree\",staticStyle:{\"width\":\"100%\"},attrs:{\"dense\":\"\",\"activatable\":\"\",\"return-object\":\"\",\"items\":_vm.items,\"search\":_vm.search,\"open-on-click\":_vm.type === 'open'},on:{\"update:active\":_vm.activeFile},scopedSlots:_vm._u([{key:\"prepend\",fn:function({ item, open }){return [(!item.file)?_c('v-icon',[_vm._v(\" \"+_vm._s(open ? 'mdi-folder-open' : 'mdi-folder')+\" \")]):_c('v-icon',[_vm._v(\" \"+_vm._s('mdi-language-ruby')+\" \")])]}},{key:\"append\",fn:function({ item }){return [(item.name === '__TEMP__')?_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":_vm.deleteTemp}},[_c('v-icon',[_vm._v(\" mdi-delete \")])],1):_vm._e()]}}]),model:{value:(_vm.tree),callback:function ($$v) {_vm.tree=$$v},expression:\"tree\"}})],1),_c('v-row',{staticClass:\"my-2\"},[_c('v-text-field',{attrs:{\"hide-details\":\"\",\"label\":\"Filename\",\"data-test\":\"file-open-save-filename\",\"disabled\":_vm.type === 'open'},model:{value:(_vm.selectedFile),callback:function ($$v) {_vm.selectedFile=$$v},expression:\"selectedFile\"}})],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"my-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',{staticClass:\"mt-2\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"file-open-save-cancel-btn\",\"disabled\":_vm.disableButtons},on:{\"click\":function($event){_vm.show = false}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"type\":\"submit\",\"color\":\"primary\",\"data-test\":\"file-open-save-submit-btn\",\"disabled\":_vm.disableButtons || !!_vm.error},on:{\"click\":function($event){$event.preventDefault();return _vm.success.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.submit)+\" \")])],1)],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FileOpenSaveDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FileOpenSaveDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileOpenSaveDialog.vue?vue&type=template&id=010c078b&\"\nimport script from \"./FileOpenSaveDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./FileOpenSaveDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.addEnvironment.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Environment Variables\")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"mb-2\",attrs:{\"dense\":\"\"}},[_c('v-text-field',{attrs:{\"label\":\"search\",\"type\":\"text\",\"data-test\":\"search\",\"prepend-icon\":\"mdi-magnify\",\"clear-icon\":\"mdi-close-circle-outline\",\"clearable\":\"\",\"autofocus\":\"\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{attrs:{\"item-key\":\"name\",\"hide-default-header\":\"\",\"data-test\":\"env-table\",\"search\":_vm.search,\"headers\":_vm.headers,\"items\":_vm.environment,\"items-per-page\":5,\"footer-props\":{ 'items-per-page-options': [5] }},scopedSlots:_vm._u([{key:\"item.actions\",fn:function({ item }){return [_c('v-btn',{staticClass:\"mt-1\",attrs:{\"icon\":\"\",\"data-test\":\"item-delete\"},on:{\"click\":function($event){return _vm.deleteEnvironment(item)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)]}}])}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Key\",\"data-test\":\"env-key\"},model:{value:(_vm.key),callback:function ($$v) {_vm.key=$$v},expression:\"key\"}})],1),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Value\",\"data-test\":\"env-value\"},model:{value:(_vm.keyValue),callback:function ($$v) {_vm.keyValue=$$v},expression:\"keyValue\"}})],1)],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"type\":\"submit\",\"color\":\"primary\",\"data-test\":\"add-env\",\"disabled\":!_vm.key || !_vm.keyValue},on:{\"click\":function($event){$event.preventDefault();return _vm.addEnvironment.apply(null, arguments)}}},[_vm._v(\" Add \")])],1)],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EnvironmentDialog.vue?vue&type=template&id=6e16c7a1&\"\nimport script from \"./EnvironmentDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EnvironmentDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":_vm.width},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=4cd697cc&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('div',{staticClass:\"v-toolbar__content\"},[_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label}`)}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider'):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label} ${option.label}`)},on:{\"click\":function($event){return option.command(option)}}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label},model:{value:(option.checked),callback:function ($$v) {_vm.$set(option, \"checked\", $$v)},expression:\"option.checked\"}})],1):_vm._e(),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label))]):_vm._e()],1)]})],2)],1)],1)}),_c('v-spacer'),_c('v-toolbar-title',[_vm._v(_vm._s(_vm.title))]),_c('v-spacer')],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=2eb37f67&scoped=true&\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=2eb37f67&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2eb37f67\",\n null\n \n)\n\nexport default component.exports","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nexport class OpenC3Api {\n id = 1\n\n constructor() {}\n\n // This is hacky Json-rpc for now. Should probably use a jsonrpc library.\n async exec(method, params, kwparams = {}, headerOptions = {}) {\n try {\n await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)\n } catch (error) {\n OpenC3Auth.login()\n }\n this.id = this.id + 1\n try {\n kwparams['scope'] = window.openc3Scope\n const response = await axios.post(\n '/openc3-api/api',\n {\n jsonrpc: '2.0',\n method: method,\n params: params,\n id: this.id,\n keyword_params: kwparams,\n },\n {\n headers: {\n Authorization: localStorage.openc3Token,\n 'Content-Type': 'application/json-rpc',\n ...headerOptions,\n },\n }\n )\n // var data = response.data\n // if (data.error) {\n // var err = new Error()\n // err.name = data.error.data.class\n // err.message = data.error.data.message\n // console.log(data.error.data.backtrace.join('\\n'))\n // throw err\n // }\n return response.data.result\n } catch (error) {\n var err = new Error()\n if (error.response) {\n // The request was made and the server responded with a\n // status code that falls out of the range of 2xx\n err.name = error.response.data.error.data.class\n err.message = error.response.data.error.data.message\n } else if (error.request) {\n // The request was made but no response was received, `error.request`\n // is an instance of XMLHttpRequest in the browser and an instance\n // of http.ClientRequest in Node.js\n err.name = 'Request error'\n err.message = 'Request error, no response received'\n } else {\n // Something happened in setting up the request and triggered an Error\n err.name = 'Unknown error'\n }\n // console.log(error)\n throw err\n }\n }\n\n decode_openc3_type(val) {\n if (val !== null && typeof val === 'object') {\n if (val.json_class == 'Float' && val.raw) {\n if (val.raw == 'NaN') {\n return NaN\n } else if (val.raw == 'Infinity') {\n return Infinity\n } else if (val.raw == '-Infinity') {\n return -Infinity\n }\n }\n }\n return null\n }\n\n encode_openc3_type(val) {\n if (Number.isNaN(val)) {\n return { json_class: 'Float', raw: 'NaN' }\n } else if (val == Number.POSITIVE_INFINITY) {\n return { json_class: 'Float', raw: 'Infinity' }\n } else if (val == Number.NEGATIVE_INFINITY) {\n return { json_class: 'Float', raw: '-Infinity' }\n }\n return null\n }\n\n ensure_offline_access() {\n this.offline_access_needed().then((needed) => {\n if (needed) {\n if (localStorage.openc3OfflineToken) {\n this.set_offline_access(localStorage.openc3OfflineToken).then(() => {\n delete localStorage.openc3OfflineToken\n })\n } else {\n OpenC3Auth.getOfflineAccess()\n }\n }\n })\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n\n offline_access_needed() {\n return this.exec('offline_access_needed', [])\n }\n\n set_offline_access(offline_access_token) {\n return this.exec('set_offline_access', [offline_access_token])\n }\n\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n map_target_to_interface(target_name, interface_name) {\n return this.exec('map_target_to_interface', [target_name, interface_name])\n }\n\n connect_interface(interface_name, ...interface_params) {\n if (interface_params.length > 0) {\n return this.exec('connect_interface', [interface_name, interface_params])\n } else {\n return this.exec('connect_interface', [interface_name])\n }\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_target_interfaces() {\n return this.exec('get_target_interfaces', [])\n }\n\n // DEPRECATED\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_tlm_cnts(target_commands) {\n return this.exec('get_tlm_cnts', [target_commands])\n }\n\n get_item(target, packet, item) {\n return this.exec('get_item', [target, packet, item])\n }\n\n get_parameter(target, packet, item) {\n return this.exec('get_parameter', [target, packet, item])\n }\n\n get_all_packet_logger_info() {\n return this.exec('get_all_packet_logger_info', [])\n }\n\n start_logging() {\n return this.exec('start_logging', [])\n }\n\n stop_logging() {\n return this.exec('stop_logging', [])\n }\n\n start_cmd_log(log_writer_name) {\n return this.exec('start_cmd_log', [log_writer_name])\n }\n\n start_tlm_log(log_writer_name) {\n return this.exec('start_tlm_log', [log_writer_name])\n }\n\n stop_cmd_log(log_writer_name) {\n return this.exec('stop_cmd_log', [log_writer_name])\n }\n\n stop_tlm_log(log_writer_name) {\n return this.exec('stop_tlm_log', [log_writer_name])\n }\n\n get_server_status() {\n return this.exec('get_server_status', [])\n }\n\n get_limits_sets() {\n return this.exec('get_limits_sets', [])\n }\n\n get_limits_set() {\n return this.exec('get_limits_set', [])\n }\n\n set_limits_set(limits_set) {\n return this.exec('set_limits_set', [limits_set])\n }\n\n get_background_tasks() {\n return this.exec('get_background_tasks', [])\n }\n\n start_background_task(name) {\n return this.exec('start_background_task', [name])\n }\n\n stop_background_task(name) {\n return this.exec('stop_background_task', [name])\n }\n\n // ***********************************************\n // End CmdTlmServer APIs\n // ***********************************************\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_telemetry_names(target_name) {\n return this.exec('get_all_telemetry_names', [target_name])\n }\n\n async get_tlm_packet(target_name, packet_name, value_type, stale_time = 30) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n stale_time: stale_time,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n async get_tlm_values(items, stale_time = 30) {\n const data = await this.exec('get_tlm_values', [items], {\n stale_time: stale_time,\n })\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n async tlm(target_name, packet_name, item_name, value_type = 'CONVERTED') {\n let data = null\n // Check for the single string syntax: tlm(\"TGT PKT ITEM\")\n if (packet_name === undefined) {\n data = await this.exec('tlm', [target_name])\n // Check for the single string syntax with type: tlm(\"TGT PKT ITEM\", \"RAW\")\n } else if (item_name === undefined) {\n if (\n ['RAW', 'CONVERTED', 'FORMATTED', 'WITH_UNITS'].includes(packet_name)\n ) {\n data = await this.exec('tlm', [target_name], { type: packet_name })\n } else {\n var err = new Error()\n err.name = 'TypeError'\n err.message = `Invalid data type ${packet_name}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`\n throw err\n }\n } else {\n data = await this.exec('tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n var converted = this.decode_openc3_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n async inject_tlm(\n target_name,\n packet_name,\n item_hash = null,\n value_type = 'CONVERTED'\n ) {\n data = await this.exec(\n 'inject_tlm',\n [target_name, packet_name, item_hash],\n {\n type: value_type,\n }\n )\n }\n\n set_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('set_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n override_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('override_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_overrides() {\n return this.exec('get_overrides')\n }\n\n normalize_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('normalize_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_command_names(target_name) {\n return this.exec('get_all_command_names', [target_name])\n }\n\n get_command(target_name, command_name) {\n return this.exec('get_command', [target_name, command_name])\n }\n\n get_cmd_cnts(target_commands) {\n return this.exec('get_cmd_cnts', [target_commands])\n }\n\n get_cmd_value(\n target_name,\n packet_name,\n parameter_name,\n value_type = 'CONVERTED'\n ) {\n return this.exec('get_cmd_value', [\n target_name,\n packet_name,\n parameter_name,\n value_type,\n ])\n }\n\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list, headerOptions) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_openc3_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(\n method,\n [target_name, command_name, param_list],\n {},\n headerOptions\n )\n }\n\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd(target_name, command_name, param_list, headerOptions = {}) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name, {}, headerOptions)\n } else {\n return this._cmd(\n 'cmd',\n target_name,\n command_name,\n param_list,\n headerOptions\n )\n }\n }\n\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n enable_limits(target, packet, item) {\n return this.exec('enable_limits', [target, packet, item])\n }\n\n disable_limits(target, packet, item) {\n return this.exec('disable_limits', [target, packet, item])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n\n get_metrics() {\n return this.exec('get_metrics', [])\n }\n\n // TODO: Currently unused but seemed like a useful function\n async hashString(string) {\n if (window.isSecureContext) {\n // Encode the string as an arrayBuffer which the subtle crypto API uses\n const arrayBuffer = new TextEncoder().encode(string)\n // Use the subtle crypto API to perform a SHA256 Sum of the array buffer\n // The resulting hash is stored in an array buffer\n const hashAsArrayBuffer = await crypto.subtle.digest(\n 'SHA-256',\n arrayBuffer\n )\n // To create a string we will get the hexadecimal value of each byte of the array buffer\n // This gets us an array where each byte of the array buffer becomes one item in the array\n const uint8ViewOfHash = new Uint8Array(hashAsArrayBuffer)\n // We then convert it to a regular array so we can convert each item to hexadecimal strings\n // Where to characters of 0-9 or a-f represent a number between 0 and 16, containing 4 bits of information, so 2 of them is 8 bits (1 byte).\n return Array.from(uint8ViewOfHash)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n // else ?\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submitHandler.apply(null, arguments)}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" User Input Required \")]),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('v-row',[_c('v-card-title',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(_vm._s(_vm.question))])],1),_c('v-row',{staticClass:\"my-1\"},[_c('v-text-field',{attrs:{\"autofocus\":\"\",\"data-test\":\"ask-value-input\",\"type\":_vm.password ? 'password' : 'text',\"rules\":_vm.rules},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}})],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-1\",attrs:{\"outlined\":\"\",\"data-test\":\"ask-cancel\"},on:{\"click\":_vm.cancelHandler}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-1\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"ask-ok\",\"disabled\":!_vm.valid},on:{\"click\":function($event){$event.preventDefault();return _vm.submitHandler.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <v-form v-model=\"valid\" v-on:submit.prevent=\"submitHandler\">\n <v-system-bar>\n <v-spacer />\n <span> User Input Required </span>\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-row>\n <v-card-title style=\"white-space: pre-line\">{{\n question\n }}</v-card-title>\n </v-row>\n <v-row class=\"my-1\">\n <v-text-field\n v-model=\"inputValue\"\n autofocus\n data-test=\"ask-value-input\"\n :type=\"password ? 'password' : 'text'\"\n :rules=\"rules\"\n />\n </v-row>\n </v-card-text>\n </div>\n <v-card-actions>\n <v-spacer />\n <v-btn\n @click=\"cancelHandler\"\n outlined\n class=\"mx-1\"\n data-test=\"ask-cancel\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"submitHandler\"\n class=\"mx-1\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"ask-ok\"\n :disabled=\"!valid\"\n >\n Ok\n </v-btn>\n </v-card-actions>\n </v-form>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n question: {\n type: String,\n required: true,\n },\n default: {\n type: String,\n default: null,\n },\n password: {\n type: Boolean,\n default: false,\n },\n answerRequired: {\n type: Boolean,\n default: true,\n },\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n inputValue: '',\n valid: false,\n rules: [(v) => !!v || 'Required'],\n }\n },\n created() {\n if (this.default) {\n this.valid = true\n this.inputValue = this.default\n }\n if (this.answerRequired === false) {\n this.valid = true\n this.rules = [(v) => true]\n }\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n submitHandler: function () {\n this.$emit('response', this.inputValue)\n },\n cancelHandler: function () {\n this.$emit('response', 'Cancel')\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AskDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AskDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AskDialog.vue?vue&type=template&id=47176c3e&\"\nimport script from \"./AskDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./AskDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submitHandler.apply(null, arguments)}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" File Dialog \")]),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('v-row',[_c('v-card-title',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(_vm._s(_vm.title))])],1),(_vm.message)?_c('v-row',[_c('span',{staticClass:\"ma-3\",staticStyle:{\"white-space\":\"pre-line\"},domProps:{\"textContent\":_vm._s(_vm.message)}})]):_vm._e(),_c('v-row',{staticClass:\"my-1\"},[_c('v-file-input',{attrs:{\"label\":\"Choose File\",\"autofocus\":\"\",\"data-test\":\"file-input\",\"accept\":_vm.filter,\"small-chips\":\"\",\"multiple\":_vm.multiple},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}})],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-1\",attrs:{\"outlined\":\"\",\"data-test\":\"file-cancel\"},on:{\"click\":_vm.cancelHandler}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-1\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"file-ok\",\"disabled\":!_vm.valid},on:{\"click\":function($event){$event.preventDefault();return _vm.submitHandler.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <v-form v-model=\"valid\" v-on:submit.prevent=\"submitHandler\">\n <v-system-bar>\n <v-spacer />\n <span> File Dialog </span>\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-row>\n <v-card-title style=\"white-space: pre-line\">{{\n title\n }}</v-card-title>\n </v-row>\n <v-row v-if=\"message\">\n <span\n class=\"ma-3\"\n style=\"white-space: pre-line\"\n v-text=\"message\"\n />\n </v-row>\n <v-row class=\"my-1\">\n <v-file-input\n label=\"Choose File\"\n v-model=\"inputValue\"\n autofocus\n data-test=\"file-input\"\n :accept=\"filter\"\n small-chips\n :multiple=\"multiple\"\n />\n </v-row>\n </v-card-text>\n </div>\n <v-card-actions>\n <v-spacer />\n <v-btn\n @click=\"cancelHandler\"\n outlined\n class=\"mx-1\"\n data-test=\"file-cancel\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click.prevent=\"submitHandler\"\n class=\"mx-1\"\n color=\"primary\"\n type=\"submit\"\n data-test=\"file-ok\"\n :disabled=\"!valid\"\n >\n Ok\n </v-btn>\n </v-card-actions>\n </v-form>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n title: {\n type: String,\n required: true,\n },\n message: {\n type: String,\n default: null,\n },\n filter: {\n type: String,\n default: '*',\n },\n multiple: {\n type: Boolean,\n default: false,\n },\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n inputValue: null,\n }\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n submitHandler: function () {\n // Ensure we send back an array of file names even in the single case\n // to make it easier to deal with a consistent result\n if (!Array.isArray(this.inputValue)) {\n this.inputValue = [this.inputValue]\n }\n this.$emit('response', this.inputValue)\n },\n cancelHandler: function () {\n this.$emit('response', 'Cancel')\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FileDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FileDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileDialog.vue?vue&type=template&id=6899b895&\"\nimport script from \"./FileDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./FileDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',{staticStyle:{\"white-space\":\"pre-line\"},domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',_vm._l((_vm.text),function(line,index){return _c('v-row',{key:index,attrs:{\"no-gutters\":\"\"}},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"},domProps:{\"textContent\":_vm._s(line)}})])}),1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <!-- INFO -->\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span style=\"white-space: pre-line\" v-text=\"title\" />\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-row no-gutters v-for=\"(line, index) in text\" :key=\"index\">\n <span style=\"white-space: pre-line\" v-text=\"line\" />\n </v-row>\n </v-card-text>\n </div>\n <v-card-actions>\n <v-spacer />\n <v-btn color=\"primary\" @click=\"show = !show\"> Ok </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n value: {\n type: Boolean,\n required: true,\n },\n title: {\n type: String,\n required: true,\n },\n text: {\n type: String,\n required: true,\n },\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {},\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InformationDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InformationDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InformationDialog.vue?vue&type=template&id=0839c550&\"\nimport script from \"./InformationDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./InformationDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Input Metadata\")]),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('v-simple-table',{attrs:{\"dense\":\"\"}},[_c('tbody',[_c('tr',[_c('th',{staticClass:\"text-left\"},[_vm._v(\"Key\")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"Value\")]),_c('th',{staticClass:\"text-right\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"new-metadata-icon\"},on:{\"click\":_vm.newMetadata}},[_vm._v(\" mdi-plus \")])],1)]}}])},[_c('span',[_vm._v(\"New Metadata\")])])],1)]),_vm._l((_vm.metadata),function(meta,i){return [_c('tr',{key:`tr-${i}`},[_c('td',[_c('v-text-field',{attrs:{\"type\":\"text\",\"dense\":\"\",\"data-test\":`key-${i}`},model:{value:(meta.key),callback:function ($$v) {_vm.$set(meta, \"key\", $$v)},expression:\"meta.key\"}})],1),_c('td',[_c('v-text-field',{attrs:{\"type\":\"text\",\"dense\":\"\",\"data-test\":`value-${i}`},model:{value:(meta.value),callback:function ($$v) {_vm.$set(meta, \"value\", $$v)},expression:\"meta.value\"}})],1),_c('td',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"delete-metadata-icon\"},on:{\"click\":function($event){return _vm.rm(i)}}},[_vm._v(\" mdi-delete \")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Delete Metadata\")])])],1)])]})],2)]),_c('v-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.lastUpdated),expression:\"lastUpdated\"}]},[_c('v-col',[_c('span',{staticClass:\"pt-3\"},[_vm._v(\"Last update: \"+_vm._s(_vm.lastUpdated))])])],1),_c('v-row',[_c('v-col',[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.inputError),expression:\"inputError\"}],staticClass:\"red--text\",domProps:{\"textContent\":_vm._s(_vm.inputError)}})])],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"metadata-dialog-cancel\"},on:{\"click\":_vm.cancel}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"metadata-dialog-save\",\"disabled\":!!_vm.inputError},on:{\"click\":_vm.updateMetadata}},[_vm._v(\" Update \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span>Input Metadata</span>\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-simple-table dense>\n <tbody>\n <tr>\n <th class=\"text-left\">Key</th>\n <th class=\"text-left\">Value</th>\n <th class=\"text-right\">\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon\n data-test=\"new-metadata-icon\"\n @click=\"newMetadata\"\n >\n mdi-plus\n </v-icon>\n </div>\n </template>\n <span>New Metadata</span>\n </v-tooltip>\n </th>\n </tr>\n <template v-for=\"(meta, i) in metadata\">\n <tr :key=\"`tr-${i}`\">\n <td>\n <v-text-field\n v-model=\"meta.key\"\n type=\"text\"\n dense\n :data-test=\"`key-${i}`\"\n />\n </td>\n <td>\n <v-text-field\n v-model=\"meta.value\"\n type=\"text\"\n dense\n :data-test=\"`value-${i}`\"\n />\n </td>\n <td>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon\n data-test=\"delete-metadata-icon\"\n @click=\"rm(i)\"\n >\n mdi-delete\n </v-icon>\n </div>\n </template>\n <span>Delete Metadata</span>\n </v-tooltip>\n </td>\n </tr>\n </template>\n </tbody>\n </v-simple-table>\n <v-row v-show=\"lastUpdated\">\n <v-col>\n <span class=\"pt-3\">Last update: {{ lastUpdated }}</span>\n </v-col>\n </v-row>\n <v-row>\n <v-col>\n <span class=\"red--text\" v-show=\"inputError\" v-text=\"inputError\" />\n </v-col>\n </v-row>\n </v-card-text>\n </div>\n <v-card-actions>\n <v-spacer />\n <v-btn\n @click=\"cancel\"\n class=\"mx-2\"\n outlined\n data-test=\"metadata-dialog-cancel\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click=\"updateMetadata\"\n class=\"mx-2\"\n color=\"primary\"\n data-test=\"metadata-dialog-save\"\n :disabled=\"!!inputError\"\n >\n Update\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport Api from '@openc3/tool-common/src/services/api'\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\n\nexport default {\n components: {},\n props: {\n value: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n lastUpdated: null,\n metadata: [],\n }\n },\n mounted: function () {\n this.getMetadata()\n },\n computed: {\n inputError: function () {\n // Don't check for this.metadata.length < 1 because we have to allow for deletes\n const emptyKeyValue = this.metadata.find(\n (meta) => meta.key === '' || meta.value === ''\n )\n if (emptyKeyValue) {\n return 'Missing or empty key, value in the metadata table.'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n updateMetadata: function () {\n const metadata = this.metadata.reduce((result, element) => {\n result[element.key] = element.value\n return result\n }, {})\n const color = '#003784'\n Api.post('/openc3-api/metadata', {\n data: { color: color, metadata: metadata },\n }).then((response) => {\n this.$notify.normal({\n title: 'Created Metadata',\n body: `Metadata created at ${response.data.start}`,\n })\n })\n this.$emit('response', metadata)\n this.show = !this.show\n },\n cancel: function () {\n this.$emit('response', 'Cancel')\n this.show = !this.show\n },\n getMetadata: function () {\n Api.get('/openc3-api/metadata/latest').then((response) => {\n if (response.status !== 200) {\n this.metadata = []\n this.lastUpdated = null\n } else {\n this.lastUpdated = new Date(response.data.updated_at / 1000000)\n this.updateValues(response.data.metadata)\n }\n })\n },\n updateValues: function (metaValues) {\n this.metadata = Object.keys(metaValues).map((k) => {\n return { key: k, value: metaValues[k] }\n })\n },\n newMetadata: function () {\n this.metadata.push({\n key: '',\n value: '',\n })\n },\n rm: function (index) {\n this.metadata.splice(index, 1)\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputMetadataDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InputMetadataDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InputMetadataDialog.vue?vue&type=template&id=2700905c&\"\nimport script from \"./InputMetadataDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./InputMetadataDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"700\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Overrides\")]),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('v-btn',{attrs:{\"color\":\"primary\",\"data-test\":\"overrides-dialog-clear-all\"},on:{\"click\":_vm.clearOverrides}},[_vm._v(\" Clear All Overrides \")]),_c('v-card-title',[_vm._v(\" Overrides \"),_c('v-spacer'),_c('v-text-field',{attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.overrides,\"search\":_vm.search,\"footer-props\":{\n itemsPerPageOptions: [100],\n showFirstLastPage: true,\n firstIcon: 'mdi-page-first',\n lastIcon: 'mdi-page-last',\n prevIcon: 'mdi-chevron-left',\n nextIcon: 'mdi-chevron-right',\n },\"calculate-widths\":\"\",\"multi-sort\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"item.delete\",fn:function({ item }){return [_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.deleteOverride(item)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Override\")])])]}}])})],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"data-test\":\"overrides-dialog-ok\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"700\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span>Overrides</span>\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-btn\n @click=\"clearOverrides\"\n color=\"primary\"\n data-test=\"overrides-dialog-clear-all\"\n >\n Clear All Overrides\n </v-btn>\n\n <v-card-title>\n Overrides\n <v-spacer />\n <v-text-field\n v-model=\"search\"\n append-icon=\"mdi-magnify\"\n label=\"Search\"\n single-line\n hide-details\n />\n </v-card-title>\n <v-data-table\n :headers=\"headers\"\n :items=\"overrides\"\n :search=\"search\"\n :footer-props=\"{\n itemsPerPageOptions: [100],\n showFirstLastPage: true,\n firstIcon: 'mdi-page-first',\n lastIcon: 'mdi-page-last',\n prevIcon: 'mdi-chevron-left',\n nextIcon: 'mdi-chevron-right',\n }\"\n calculate-widths\n multi-sort\n dense\n >\n <template v-slot:item.delete=\"{ item }\">\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on, attrs }\">\n <v-icon\n @click=\"deleteOverride(item)\"\n v-bind=\"attrs\"\n v-on=\"on\"\n >\n mdi-delete\n </v-icon>\n </template>\n <span>Delete Override</span>\n </v-tooltip>\n </template>\n </v-data-table>\n </v-card-text>\n </div>\n <v-card-actions>\n <v-spacer />\n <v-btn\n @click=\"show = !show\"\n color=\"primary\"\n data-test=\"overrides-dialog-ok\"\n >\n Ok\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\n\nexport default {\n components: {},\n props: {\n value: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n api: null,\n overrides: [],\n search: '',\n headers: [\n { text: 'Target', value: 'target_name' },\n { text: 'Packet', value: 'packet_name' },\n { text: 'Item', value: 'item_name' },\n { text: 'Type', value: 'value_type' },\n { text: 'Value', value: 'value' },\n { text: 'Delete', value: 'delete' },\n ],\n }\n },\n created: function () {\n this.api = new OpenC3Api()\n this.getOverrides()\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n getOverrides: function () {\n this.api.get_overrides().then((result) => {\n this.overrides = result\n })\n },\n clearOverrides: function () {\n const items = [\n ...new Map(\n this.overrides.map((item) => [\n // Create a key based on target, packet, item so we remove duplicates\n `${item.target_name}__${item.packet_name}__${item.item_name}`,\n item,\n ])\n ).values(),\n ]\n for (let item of items) {\n this.api\n .normalize_tlm(\n item.target_name,\n item.packet_name,\n item.item_name,\n 'ALL'\n )\n .then((result) => {\n this.overrides = []\n })\n }\n },\n deleteOverride: function (item) {\n this.api\n .normalize_tlm(\n item.target_name,\n item.packet_name,\n item.item_name,\n item.value_type\n )\n .then((result) => {\n var index = this.overrides.indexOf(item)\n this.overrides.splice(index, 1)\n })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OverridesDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OverridesDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OverridesDialog.vue?vue&type=template&id=cef70798&\"\nimport script from \"./OverridesDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./OverridesDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',{staticStyle:{\"white-space\":\"pre-line\"},domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[(_vm.subtitle)?_c('v-row',[_c('v-card-subtitle',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(_vm._s(_vm.subtitle))])],1):_vm._e(),_c('v-row',{staticClass:\"mt-1\"},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"},domProps:{\"textContent\":_vm._s(_vm.message)}})]),(_vm.details)?_c('v-row',{staticClass:\"mt-1\"},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"},domProps:{\"textContent\":_vm._s(_vm.details)}})]):_vm._e()],1)],1),(_vm.layout === 'combo')?_c('div',[_c('v-row',{staticClass:\"ma-2\"},[_c('v-select',{staticClass:\"ma-1\",attrs:{\"label\":\"Select\",\"color\":\"secondary\",\"data-test\":\"prompt-select\",\"items\":_vm.buttons},on:{\"change\":function($event){_vm.selectOkDisabled = false}},model:{value:(_vm.selectedItem),callback:function ($$v) {_vm.selectedItem=$$v},expression:\"selectedItem\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"ma-1\",attrs:{\"outlined\":\"\",\"data-test\":\"prompt-cancel\"},on:{\"click\":_vm.cancelHandler}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"ma-1\",attrs:{\"color\":\"primary\",\"data-test\":\"prompt-ok\",\"disabled\":_vm.selectOkDisabled},on:{\"click\":_vm.submitHandler}},[_vm._v(\" Ok \")])],1)],1):_c('div',[_c('v-card-actions',{class:_vm.layoutClass},[_c('v-spacer'),_c('v-btn',{staticClass:\"ma-1\",attrs:{\"outlined\":\"\",\"data-test\":\"prompt-cancel\"},on:{\"click\":_vm.cancelHandler}},[_vm._v(\" Cancel \")]),_vm._l((_vm.buttons),function(button,index){return _c('div',{key:index},[_c('v-btn',{staticClass:\"ma-1\",attrs:{\"data-test\":`prompt-${button.text}`,\"color\":button.value ? 'primary' : ''},on:{\"click\":function($event){return _vm.submitWrapper(button.value)}}},[_vm._v(\" \"+_vm._s(button.text)+\" \")])],1)})],2)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span style=\"white-space: pre-line\" v-text=\"title\" />\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-row v-if=\"subtitle\">\n <v-card-subtitle style=\"white-space: pre-line\">{{\n subtitle\n }}</v-card-subtitle>\n </v-row>\n <v-row class=\"mt-1\">\n <span style=\"white-space: pre-line\" v-text=\"message\" />\n </v-row>\n <v-row v-if=\"details\" class=\"mt-1\">\n <span style=\"white-space: pre-line\" v-text=\"details\" />\n </v-row>\n </v-card-text>\n </div>\n <div v-if=\"layout === 'combo'\">\n <v-row class=\"ma-2\">\n <v-select\n @change=\"selectOkDisabled = false\"\n v-model=\"selectedItem\"\n label=\"Select\"\n color=\"secondary\"\n class=\"ma-1\"\n data-test=\"prompt-select\"\n :items=\"buttons\"\n />\n </v-row>\n <v-card-actions>\n <v-spacer />\n <v-btn\n @click=\"cancelHandler\"\n outlined\n data-test=\"prompt-cancel\"\n class=\"ma-1\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click=\"submitHandler\"\n class=\"ma-1\"\n color=\"primary\"\n data-test=\"prompt-ok\"\n :disabled=\"selectOkDisabled\"\n >\n Ok\n </v-btn>\n </v-card-actions>\n </div>\n <div v-else>\n <v-card-actions :class=\"layoutClass\">\n <v-spacer />\n <v-btn\n @click=\"cancelHandler\"\n outlined\n data-test=\"prompt-cancel\"\n class=\"ma-1\"\n >\n Cancel\n </v-btn>\n <div v-for=\"(button, index) in buttons\" :key=\"index\">\n <v-btn\n @click=\"submitWrapper(button.value)\"\n class=\"ma-1\"\n :data-test=\"`prompt-${button.text}`\"\n :color=\"button.value ? 'primary' : ''\"\n >\n {{ button.text }}\n </v-btn>\n </div>\n </v-card-actions>\n </div>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nexport default {\n props: {\n title: {\n type: String,\n default: 'Prompt Dialog',\n },\n subtitle: {\n type: String,\n default: '',\n },\n message: {\n type: String,\n required: true,\n },\n details: {\n type: String,\n default: '',\n },\n buttons: {\n type: Array,\n default: () => [],\n },\n layout: {\n type: String,\n default: 'horizontal', // Also 'vertical' or 'combo' when means ComboBox\n },\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n selectOkDisabled: true,\n selectedItem: null,\n }\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n layoutClass() {\n let layout = 'd-flex align-start'\n if (this.layout === 'vertical') {\n return `${layout} flex-column`\n } else {\n return `${layout} flex-row`\n }\n },\n },\n methods: {\n submitWrapper: function (output) {\n this.selectedItem = output\n this.submitHandler()\n },\n submitHandler: function () {\n this.$emit('response', this.selectedItem)\n },\n cancelHandler: function () {\n this.$emit('response', 'Cancel')\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PromptDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PromptDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PromptDialog.vue?vue&type=template&id=2247956e&\"\nimport script from \"./PromptDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./PromptDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Script Results \")]),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('v-textarea',{attrs:{\"readonly\":\"\",\"hide-details\":\"\",\"dense\":\"\",\"auto-grow\":\"\",\"value\":_vm.text}})],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\"},on:{\"click\":_vm.downloadResults}},[_vm._v(\" Download \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span> Script Results </span>\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <v-textarea readonly hide-details dense auto-grow :value=\"text\" />\n </v-card-text>\n </div>\n <v-card-actions>\n <v-spacer />\n <v-btn class=\"mx-2\" outlined @click=\"downloadResults\"> Download </v-btn>\n <v-btn class=\"mx-2\" color=\"primary\" @click=\"show = !show\"> Ok </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { format } from 'date-fns'\n\nexport default {\n components: {},\n props: {\n value: {\n type: Boolean,\n required: true,\n },\n text: {\n type: String,\n required: true,\n },\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n downloadResults() {\n const blob = new Blob([this.text], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute(\n 'download',\n format(Date.now(), 'yyyy_MM_dd_HH_mm_ss') + '_suite_results.txt'\n )\n link.click()\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ResultsDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ResultsDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ResultsDialog.vue?vue&type=template&id=f77a9782&\"\nimport script from \"./ResultsDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ResultsDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Start Environment Configuration \")]),_c('v-spacer')],1),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('environment-chooser',{model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}})],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"environment-dialog-cancel\"},on:{\"click\":_vm.cancel}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"environment-dialog-save\",\"disabled\":!!_vm.inputError},on:{\"click\":_vm.updateEnvironment}},[_vm._v(\" Save \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('span',[_vm._v(\" Select from OpenC3 environment variables \")])]),_c('v-row',{staticClass:\"ma-0\"},[_c('v-select',{attrs:{\"persistent-hint\":\"\",\"return-object\":\"\",\"label\":\"Select Environment Options\",\"hint\":\"Inject Environment Variables\",\"items\":_vm.environmentItems},on:{\"change\":_vm.addEnvironmentItem},scopedSlots:_vm._u([{key:\"item\",fn:function({ item }){return [_c('div',[_c('span',{domProps:{\"textContent\":_vm._s(`${item.key}=${item.value}`)}})])]}}]),model:{value:(_vm.deadSelect),callback:function ($$v) {_vm.deadSelect=$$v},expression:\"deadSelect\"}},[[_c('div',[_c('span',[_vm._v(\" Select Environment Options \")])])]],2)],1),_c('div',{staticClass:\"mt-2\"}),_c('v-simple-table',{attrs:{\"dense\":\"\"}},[_c('tbody',[_c('tr',[_c('th',{staticClass:\"text-left\"},[_vm._v(\"Key\")]),_c('th',{staticClass:\"text-left\"},[_vm._v(\"Value\")]),_c('th',{staticClass:\"text-right\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"new-metadata-icon\"},on:{\"click\":_vm.newEnvironment}},[_vm._v(\" mdi-plus \")])],1)]}}])},[_c('span',[_vm._v(\" Add Environment \")])])],1)]),_vm._l((_vm.selected),function(env,i){return [_c('tr',{key:`tr-${i}`},[_c('td',[_c('v-text-field',{attrs:{\"dense\":\"\",\"type\":\"text\",\"readonly\":env.readonly,\"data-test\":`key-${i}`},model:{value:(env.key),callback:function ($$v) {_vm.$set(env, \"key\", $$v)},expression:\"env.key\"}})],1),_c('td',[_c('v-text-field',{attrs:{\"dense\":\"\",\"type\":\"text\",\"readonly\":env.readonly,\"data-test\":`value-${i}`},model:{value:(env.value),callback:function ($$v) {_vm.$set(env, \"value\", $$v)},expression:\"env.value\"}})],1),_c('td',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":`remove-env-icon-${i}`},on:{\"click\":function($event){return _vm.rm(i)}}},[_vm._v(\" mdi-delete \")])],1)]}}],null,true)},[_c('span',[_vm._v(\" Delete Environment \")])])],1)])]})],2)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentChooser.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EnvironmentChooser.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EnvironmentChooser.vue?vue&type=template&id=c0c55dc4&\"\nimport script from \"./EnvironmentChooser.vue?vue&type=script&lang=js&\"\nexport * from \"./EnvironmentChooser.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span> Start Environment Configuration </span>\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-2\">\n <v-card-text>\n <environment-chooser v-model=\"selected\" />\n </v-card-text>\n </div>\n <v-card-actions>\n <v-spacer />\n <v-btn\n @click=\"cancel\"\n class=\"mx-2\"\n outlined\n data-test=\"environment-dialog-cancel\"\n >\n Cancel\n </v-btn>\n <v-btn\n @click=\"updateEnvironment\"\n class=\"mx-2\"\n color=\"primary\"\n data-test=\"environment-dialog-save\"\n :disabled=\"!!inputError\"\n >\n Save\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport EnvironmentChooser from '@openc3/tool-common/src/components/EnvironmentChooser'\n\nexport default {\n components: {\n EnvironmentChooser,\n },\n props: {\n value: {\n type: Boolean,\n required: true,\n },\n inputEnvironment: {\n type: Array,\n required: true,\n },\n },\n data() {\n return {\n selected: [],\n }\n },\n mounted: function () {\n this.loadEnvironment()\n },\n computed: {\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n loadEnvironment: function () {\n this.selected = [...this.inputEnvironment]\n },\n updateEnvironment: function () {\n this.$emit('environment', this.selected)\n this.show = !this.show\n },\n cancel: function () {\n this.show = !this.show\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptEnvironmentDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptEnvironmentDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScriptEnvironmentDialog.vue?vue&type=template&id=2acbdbb2&\"\nimport script from \"./ScriptEnvironmentDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ScriptEnvironmentDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{attrs:{\"id\":\"tr-container\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{attrs:{\"label\":\"Pause on Error\",\"value\":\"pauseOnError\",\"hide-details\":\"\",\"data-test\":\"pause-on-error\"},model:{value:(_vm.options),callback:function ($$v) {_vm.options=$$v},expression:\"options\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{attrs:{\"label\":\"Manual\",\"value\":\"manual\",\"hide-details\":\"\",\"data-test\":\"manual\"},model:{value:(_vm.options),callback:function ($$v) {_vm.options=$$v},expression:\"options\"}})],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":\"end\"}},[_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-select',{staticClass:\"mr-2 mb-2\",attrs:{\"label\":\"Suite:\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.suites,\"data-test\":\"select-suite\"},on:{\"change\":_vm.suiteChanged},model:{value:(_vm.suite),callback:function ($$v) {_vm.suite=$$v},expression:\"suite\"}})],1),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"disabled\":_vm.disableButtons,\"data-test\":\"start-suite\"},on:{\"click\":function($event){return _vm.$emit('button', { method: 'start', suite: _vm.suite, options: _vm.options })}}},[_vm._v(\" Start \")]),_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"data-test\":\"setup-suite\",\"disabled\":_vm.disableButtons || !_vm.setupSuiteEnabled},on:{\"click\":function($event){return _vm.$emit('button', { method: 'setup', suite: _vm.suite, options: _vm.options })}}},[_vm._v(\" Setup \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"data-test\":\"teardown-suite\",\"disabled\":_vm.disableButtons || !_vm.teardownSuiteEnabled},on:{\"click\":function($event){return _vm.$emit('button', { method: 'teardown', suite: _vm.suite, options: _vm.options })}}},[_vm._v(\" Teardown \")])],1)],1)],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{attrs:{\"label\":\"Continue after Error\",\"value\":\"continueAfterError\",\"hide-details\":\"\",\"data-test\":\"continue-after-error\"},model:{value:(_vm.options),callback:function ($$v) {_vm.options=$$v},expression:\"options\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{attrs:{\"label\":\"Loop\",\"value\":\"loop\",\"hide-details\":\"\",\"data-test\":\"loop\"},model:{value:(_vm.options),callback:function ($$v) {_vm.options=$$v},expression:\"options\"}})],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":\"end\"}},[_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-select',{staticClass:\"mr-2 mb-2\",attrs:{\"label\":\"Group:\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.groups,\"data-test\":\"select-group\"},on:{\"change\":_vm.groupChanged},model:{value:(_vm.group),callback:function ($$v) {_vm.group=$$v},expression:\"group\"}})],1),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"disabled\":_vm.disableButtons,\"data-test\":\"start-group\"},on:{\"click\":function($event){return _vm.$emit('button', { method: 'start', suite: _vm.suite, group: _vm.group, options: _vm.options })}}},[_vm._v(\" Start \")]),_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\",\"data-test\":\"setup-group\",\"disabled\":_vm.disableButtons || !_vm.setupGroupEnabled},on:{\"click\":function($event){return _vm.$emit('button', { method: 'setup', suite: _vm.suite, group: _vm.group, options: _vm.options })}}},[_vm._v(\" Setup \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"data-test\":\"teardown-group\",\"disabled\":_vm.disableButtons || !_vm.teardownGroupEnabled},on:{\"click\":function($event){return _vm.$emit('button', { method: 'teardown', suite: _vm.suite, group: _vm.group, options: _vm.options })}}},[_vm._v(\" Teardown \")])],1)],1)],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{attrs:{\"label\":\"Abort after Error\",\"value\":\"abortAfterError\",\"hide-details\":\"\",\"data-test\":\"abort-after-error\"},model:{value:(_vm.options),callback:function ($$v) {_vm.options=$$v},expression:\"options\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{attrs:{\"disabled\":!_vm.options.includes('loop'),\"label\":\"Break Loop on Error\",\"value\":\"breakLoopOnError\",\"hide-details\":\"\",\"data-test\":\"break-loop-on-error\"},model:{value:(_vm.options),callback:function ($$v) {_vm.options=$$v},expression:\"options\"}})],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":\"end\"}},[_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-select',{staticClass:\"mr-2 mb-2\",attrs:{\"label\":\"Script:\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.scripts,\"data-test\":\"select-script\"},on:{\"change\":_vm.scriptChanged},model:{value:(_vm.script),callback:function ($$v) {_vm.script=$$v},expression:\"script\"}})],1),_c('v-col',{attrs:{\"cols\":\"auto\"}},[_c('v-btn',{attrs:{\"color\":\"primary\",\"disabled\":_vm.disableButtons,\"data-test\":\"start-script\"},on:{\"click\":function($event){return _vm.$emit('button', {\n method: 'start',\n suite: _vm.suite,\n group: _vm.group,\n script: _vm.script,\n options: _vm.options,\n })}}},[_vm._v(\" Start \")]),_c('div',{staticStyle:{\"width\":\"300px\"}})],1)],1)],1)],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <div id=\"tr-container\">\n <v-row no-gutters align=\"center\">\n <v-col cols=\"4\">\n <v-row no-gutters>\n <v-col cols=\"6\">\n <v-checkbox\n v-model=\"options\"\n label=\"Pause on Error\"\n value=\"pauseOnError\"\n hide-details\n data-test=\"pause-on-error\"\n />\n </v-col>\n <v-col cols=\"6\">\n <v-checkbox\n v-model=\"options\"\n label=\"Manual\"\n value=\"manual\"\n hide-details\n data-test=\"manual\"\n />\n </v-col>\n </v-row>\n </v-col>\n <v-col cols=\"8\">\n <v-row no-gutters justify=\"end\">\n <v-col cols=\"5\">\n <v-select\n label=\"Suite:\"\n class=\"mr-2 mb-2\"\n hide-details\n dense\n @change=\"suiteChanged\"\n :items=\"suites\"\n v-model=\"suite\"\n data-test=\"select-suite\"\n />\n </v-col>\n <v-col cols=\"auto\">\n <v-btn\n color=\"primary\"\n class=\"mr-2\"\n :disabled=\"disableButtons\"\n @click=\"$emit('button', { method: 'start', suite, options })\"\n data-test=\"start-suite\"\n >\n Start\n </v-btn>\n <v-btn\n color=\"primary\"\n class=\"mr-2\"\n @click=\"$emit('button', { method: 'setup', suite, options })\"\n data-test=\"setup-suite\"\n :disabled=\"disableButtons || !setupSuiteEnabled\"\n >\n Setup\n </v-btn>\n <v-btn\n color=\"primary\"\n @click=\"$emit('button', { method: 'teardown', suite, options })\"\n data-test=\"teardown-suite\"\n :disabled=\"disableButtons || !teardownSuiteEnabled\"\n >\n Teardown\n </v-btn>\n </v-col>\n </v-row>\n </v-col>\n </v-row>\n <v-row no-gutters align=\"center\">\n <v-col cols=\"4\">\n <v-row no-gutters>\n <v-col cols=\"6\">\n <v-checkbox\n v-model=\"options\"\n label=\"Continue after Error\"\n value=\"continueAfterError\"\n hide-details\n data-test=\"continue-after-error\"\n />\n </v-col>\n <v-col cols=\"6\">\n <v-checkbox\n v-model=\"options\"\n label=\"Loop\"\n value=\"loop\"\n hide-details\n data-test=\"loop\"\n />\n </v-col>\n </v-row>\n </v-col>\n <v-col cols=\"8\">\n <v-row no-gutters justify=\"end\">\n <v-col cols=\"5\">\n <v-select\n label=\"Group:\"\n class=\"mr-2 mb-2\"\n hide-details\n dense\n @change=\"groupChanged\"\n :items=\"groups\"\n v-model=\"group\"\n data-test=\"select-group\"\n />\n </v-col>\n <v-col cols=\"auto\">\n <v-btn\n color=\"primary\"\n class=\"mr-2\"\n :disabled=\"disableButtons\"\n @click=\"\n $emit('button', { method: 'start', suite, group, options })\n \"\n data-test=\"start-group\"\n >\n Start\n </v-btn>\n <v-btn\n color=\"primary\"\n class=\"mr-2\"\n @click=\"\n $emit('button', { method: 'setup', suite, group, options })\n \"\n data-test=\"setup-group\"\n :disabled=\"disableButtons || !setupGroupEnabled\"\n >\n Setup\n </v-btn>\n <v-btn\n color=\"primary\"\n @click=\"\n $emit('button', { method: 'teardown', suite, group, options })\n \"\n data-test=\"teardown-group\"\n :disabled=\"disableButtons || !teardownGroupEnabled\"\n >\n Teardown\n </v-btn>\n </v-col>\n </v-row>\n </v-col>\n </v-row>\n <v-row no-gutters align=\"center\">\n <v-col cols=\"4\">\n <v-row no-gutters>\n <v-col cols=\"6\">\n <v-checkbox\n v-model=\"options\"\n label=\"Abort after Error\"\n value=\"abortAfterError\"\n hide-details\n data-test=\"abort-after-error\"\n />\n </v-col>\n <v-col cols=\"6\">\n <v-checkbox\n :disabled=\"!options.includes('loop')\"\n v-model=\"options\"\n label=\"Break Loop on Error\"\n value=\"breakLoopOnError\"\n hide-details\n data-test=\"break-loop-on-error\"\n />\n </v-col>\n </v-row>\n </v-col>\n <v-col cols=\"8\">\n <v-row no-gutters justify=\"end\">\n <v-col cols=\"5\">\n <v-select\n label=\"Script:\"\n class=\"mr-2 mb-2\"\n hide-details\n dense\n @change=\"scriptChanged\"\n :items=\"scripts\"\n v-model=\"script\"\n data-test=\"select-script\"\n />\n </v-col>\n <v-col cols=\"auto\">\n <v-btn\n color=\"primary\"\n :disabled=\"disableButtons\"\n @click=\"\n $emit('button', {\n method: 'start',\n suite,\n group,\n script,\n options,\n })\n \"\n data-test=\"start-script\"\n >\n Start\n </v-btn>\n <!-- TODO: Don't like this hard coded spacer but not sure how else\n to push the Start button over to line up with the other Starts -->\n <div style=\"width: 300px\" />\n </v-col>\n </v-row>\n </v-col>\n </v-row>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n suiteMap: {\n type: Object,\n required: true,\n },\n disableButtons: {\n type: Boolean,\n required: true,\n },\n },\n data() {\n return {\n suites: [],\n groups: [],\n scripts: [],\n suite: '',\n group: '',\n script: '',\n options: ['pauseOnError', 'manual', 'continueAfterError'],\n }\n },\n computed: {\n setupSuiteEnabled() {\n if (this.suite && this.suiteMap[this.suite].setup) {\n return true\n } else {\n return false\n }\n },\n teardownSuiteEnabled() {\n if (this.suite && this.suiteMap[this.suite].teardown) {\n return true\n } else {\n return false\n }\n },\n setupGroupEnabled() {\n if (\n this.suite &&\n this.group &&\n this.suiteMap[this.suite].groups[this.group].setup\n ) {\n return true\n } else {\n return false\n }\n },\n teardownGroupEnabled() {\n if (\n this.suite &&\n this.group &&\n this.suiteMap[this.suite].groups[this.group].teardown\n ) {\n return true\n } else {\n return false\n }\n },\n },\n created() {\n this.initSuites()\n },\n // Watch the suiteMap so we can recreate the suites and set the initial value\n watch: {\n suiteMap: {\n handler: function (newVal, oldVal) {\n this.updateSuiteMap()\n },\n deep: true, // Deep watcher because suiteMap is a nested Object\n },\n },\n methods: {\n updateSuiteMap() {\n this.suites = Object.keys(this.suiteMap)\n if (\n this.suiteMap[this.suite] == undefined ||\n this.suiteMap[this.suite].groups[this.group] == undefined\n ) {\n this.initSuites()\n } else {\n this.groups = Object.keys(this.suiteMap[this.suite].groups)\n this.scripts = this.suiteMap[this.suite].groups[this.group].scripts\n }\n },\n initSuites() {\n this.suites = Object.keys(this.suiteMap)\n this.suiteChanged(this.suites[0])\n },\n suiteChanged(event) {\n this.suite = event\n this.group = ''\n this.script = ''\n this.groups = Object.keys(this.suiteMap[event].groups)\n // Make the group default be the first group\n this.groupChanged(this.groups[0])\n },\n groupChanged(event) {\n this.group = event\n this.script = ''\n this.scripts = this.suiteMap[this.suite].groups[event].scripts\n // Make the script default be the first\n this.scriptChanged(this.scripts[0])\n },\n scriptChanged(event) {\n this.script = event\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n#tr-container {\n padding-top: 0px;\n padding-bottom: 15px;\n padding-left: 0px;\n padding-right: 0px;\n}\n</style>\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SuiteRunner.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SuiteRunner.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SuiteRunner.vue?vue&type=template&id=3372ac08&scoped=true&\"\nimport script from \"./SuiteRunner.vue?vue&type=script&lang=js&\"\nexport * from \"./SuiteRunner.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SuiteRunner.vue?vue&type=style&index=0&id=3372ac08&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3372ac08\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-card',[_c('v-card-title',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"icon\":\"\",\"data-test\":\"download-log\"},on:{\"click\":_vm.downloadLog}},[_c('v-icon',[_vm._v(\" mdi-download \")])],1)],1)]}}])},[_c('span',[_vm._v(\" Download Log \")])]),_vm._v(\" Log Messages \"),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"icon\":\"\",\"data-test\":\"clear-log\"},on:{\"click\":_vm.clearLog}},[_c('v-icon',[_vm._v(\" mdi-delete \")])],1)],1)]}}])},[_c('span',[_vm._v(\" Clear Log \")])])],1),_c('v-card-subtitle',[_c('v-text-field',{attrs:{\"single-line\":\"\",\"hide-details\":\"\",\"autofocus\":\"\",\"label\":\"Search\",\"data-test\":\"search-output-messages\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.messages,\"search\":_vm.search,\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"multi-sort\":\"\",\"dense\":\"\",\"height\":\"45vh\",\"data-test\":\"output-messages\"}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <v-card>\n <v-card-title>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn\n icon\n class=\"mx-2\"\n data-test=\"download-log\"\n @click=\"downloadLog\"\n >\n <v-icon> mdi-download </v-icon>\n </v-btn>\n </div>\n </template>\n <span> Download Log </span>\n </v-tooltip>\n Log Messages\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon class=\"mx-2\" data-test=\"clear-log\" @click=\"clearLog\">\n <v-icon> mdi-delete </v-icon>\n </v-btn>\n </div>\n </template>\n <span> Clear Log </span>\n </v-tooltip>\n </v-card-title>\n <v-card-subtitle>\n <v-text-field\n v-model=\"search\"\n single-line\n hide-details\n autofocus\n label=\"Search\"\n data-test=\"search-output-messages\"\n />\n </v-card-subtitle>\n <v-data-table\n :headers=\"headers\"\n :items=\"messages\"\n :search=\"search\"\n calculate-widths\n disable-pagination\n hide-default-footer\n multi-sort\n dense\n height=\"45vh\"\n data-test=\"output-messages\"\n />\n </v-card>\n </div>\n</template>\n\n<script>\nimport { format } from 'date-fns'\n\nexport default {\n props: {\n value: {\n type: Array,\n required: true,\n },\n },\n data() {\n return {\n search: '',\n headers: [{ text: 'Message', value: 'message' }],\n }\n },\n computed: {\n messages: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n methods: {\n downloadLog() {\n const output = this.messages.map((message) => message.message).join('\\n')\n const blob = new Blob([output], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute(\n 'download',\n format(Date.now(), 'yyyy_MM_dd_HH_mm_ss') + '_sr_message_log.txt'\n )\n link.click()\n },\n clearLog: function () {\n this.$dialog\n .confirm('Are you sure you want to clear the logs?', {\n okText: 'Clear',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n this.messages = []\n })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptLogMessages.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptLogMessages.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScriptLogMessages.vue?vue&type=template&id=6889640d&\"\nimport script from \"./ScriptLogMessages.vue?vue&type=script&lang=js&\"\nexport * from \"./ScriptLogMessages.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\n# Copyright 2021 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport Api from '@openc3/tool-common/src/services/api'\n\nconst getKeywords = (type) => {\n return Api.get(`/openc3-api/autocomplete/keywords/${type}`)\n}\n\nconst getAutocompleteData = (type) => {\n return Api.get(`/openc3-api/autocomplete/data/${type}`)\n}\n\n// This should probably go in some higher up util library thing place\nconst groupBy = (array, lambda) => {\n return array.reduce((groups, item) => {\n const key = lambda(item)\n if (groups[key]) {\n groups[key].push(item)\n } else {\n groups[key] = [item]\n }\n return groups\n }, {})\n}\n\nexport { getKeywords, getAutocompleteData, groupBy }\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport { getKeywords, getAutocompleteData } from './utilities'\n\nconst toMethodCallSyntaxRegex = (word) => {\n // create regex to find the opening of a ruby method call\n const prefix = '(^|[{\\\\(\\\\s])' // Allowable characters before the method name: start of line or { or ( or a space\n const opening = '[\\\\s\\\\(][\\'\"]' // Opening sequence for a method call and a string argument: ( or a space, then ' or \"\n const params = '(\\\\S+\\\\s?){0,3}' // Only allow up to a few tokens after the keyword to avoid autocompleteception\n return new RegExp(`${prefix}${word}${opening}${params}$`) // ensure end of line because it's sliced to the current cursor position\n}\n\nexport default class PacketCompleter {\n constructor(\n type,\n dataReadyCallback = () => {},\n expressionsReadyCallback = () => {}\n ) {\n this.keywordExpressions = [] // Keywords that trigger the autocomplete feature\n this.autocompleteData = [] // Data to populate the autocomplete list\n\n getKeywords(type).then((response) => {\n this.keywordExpressions = response.data.map(toMethodCallSyntaxRegex)\n expressionsReadyCallback()\n })\n getAutocompleteData(type).then((response) => {\n this.autocompleteData = response.data\n dataReadyCallback()\n })\n }\n\n getCompletions = function (editor, session, position, prefix, callback) {\n let matches = []\n const lineBeforeCursor = session.doc.$lines[position.row].slice(\n 0,\n position.column\n )\n if (\n this.keywordExpressions.some((regex) => lineBeforeCursor.match(regex))\n ) {\n matches = this.autocompleteData\n }\n\n callback(null, [\n ...matches,\n\n // Uncomment to also return the built-in autocomplete words (but I found they're not very good and just get in the way when using live autocomplete)\n // ...session.$mode.$highlightRules.$keywordList.map((word) => ({\n // caption: word,\n // value: word,\n // meta: 'keyword',\n // })),\n ])\n }\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport PacketCompleter from './packetCompleter.js'\n\nexport default class CmdCompleter extends PacketCompleter {\n constructor() {\n super('cmd')\n }\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport PacketCompleter from './packetCompleter.js'\n\nexport default class TlmCompleter extends PacketCompleter {\n constructor() {\n super('tlm', () => {\n // The data returned by the API is usable as-is, but grouping it this way makes it easier\n // to search through all the packets first, and then for an item within that packet.\n this.groupedPacketData = this.autocompleteData.reduce((groups, item) => {\n const packetName = item.caption.match(/\\S+\\s\\S+/)[0] // First two tokens, e.g. \"INST ADCS\" OF \"INST ADCS POSX\"\n const itemName = item.snippet.replace(`${packetName} `, '')\n const amendedItem = {\n caption: itemName,\n snippet: itemName,\n meta: 'item',\n }\n\n if (groups[packetName]) {\n groups[packetName].push(amendedItem)\n } else {\n groups[packetName] = [amendedItem]\n }\n return groups\n }, {})\n this.packets = Object.keys(this.groupedPacketData).map((packetName) => {\n return {\n caption: packetName,\n snippet: packetName,\n meta: 'packet',\n }\n })\n })\n }\n\n // Override the parent's getCompletions to take advantage of the grouping by packet done in the constructor\n getCompletions = function (editor, session, position, prefix, callback) {\n let matches = []\n const lineBeforeCursor = session.doc.$lines[position.row].slice(\n 0,\n position.column\n )\n if (\n this.keywordExpressions.some((regex) => lineBeforeCursor.match(regex))\n ) {\n const foundPacket = Object.keys(this.groupedPacketData).find(\n (packetName) => lineBeforeCursor.includes(packetName)\n )\n if (foundPacket) {\n matches = this.groupedPacketData[foundPacket]\n } else {\n matches = this.packets\n }\n }\n\n callback(null, matches)\n }\n}\n","/*\n# Copyright 2021 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\nimport { getKeywords, groupBy } from './utilities'\n\nconst toKeywordRegex = (word) => {\n // create regex to find the opening of a ruby method call\n const prefix = '(^|[{\\\\(\\\\s])' // Allowable characters before the method name: start of line or { or ( or a space\n const call = '((\\\\s.+)|(\\\\(.+\\\\)))' // A method call and its arguments\n return new RegExp(`${prefix}${word}${call}`)\n}\nconst interpolatedStringRegex = /#\\{.+\\}/\nconst alternateSyntaxRegex = /['\"],\\s?['\"]/\n\nexport default class MnemonicChecker {\n constructor() {\n this.api = new OpenC3Api()\n\n this.targets = {}\n this.api.get_target_list().then((response) => {\n response.forEach((target) => {\n this.targets[target] = {\n cmd: null,\n tlm: null,\n }\n })\n })\n\n this.cmdKeywordExpressions = []\n getKeywords('cmd').then((response) => {\n this.cmdKeywordExpressions = response.data.map(toKeywordRegex)\n })\n\n this.tlmKeywordExpressions = []\n getKeywords('tlm').then((response) => {\n this.tlmKeywordExpressions = response.data.map(toKeywordRegex)\n })\n }\n\n checkText = async function (text) {\n const { linesToCheck, linesToSkip } = text.split('\\n').reduce(\n (result, line, index) => {\n line = line.trim()\n if (line.match(/^#/)) {\n return result\n }\n const cmdMatch = this.cmdKeywordExpressions.reduce((found, regex) => {\n return found || line.match(regex)\n }, null)\n const tlmMatch = this.tlmKeywordExpressions.reduce((found, regex) => {\n return found || line.match(regex)\n }, null)\n if (!cmdMatch && !tlmMatch) {\n return result\n }\n\n const matchStr = (cmdMatch || tlmMatch)[0]\n const mnemonicMatch = matchStr\n .substring(matchStr.match(/[\\(\\s)]/).index + 1) // Trim off leading `cmd(` or whatever\n .replace(/\\)\\s*$/, '') // and the closing ) if it's there\n\n if (mnemonicMatch.match(interpolatedStringRegex)) {\n result.linesToSkip.push(index + 1)\n return result\n }\n\n const usingAlternateSyntax = !!mnemonicMatch.match(alternateSyntaxRegex)\n const mnemonicParts = mnemonicMatch.split(\n usingAlternateSyntax ? ',' : ' '\n )\n if (mnemonicParts.length < 2) {\n return result // TODO: is this right? Maybe put an error on lineObj?\n }\n\n const mnemonic = {\n target: mnemonicParts[0],\n packet: mnemonicParts[1],\n }\n if (tlmMatch) {\n mnemonic.item = mnemonicParts[2]\n } else {\n const mnemonicParams = mnemonicParts.slice(2)\n if (usingAlternateSyntax) {\n mnemonic.params = mnemonicParams.map(\n (param) => param.split('=>')[0]\n )\n } else {\n mnemonic.params = mnemonicParams.filter((token, index) => index % 2)\n }\n }\n\n // Clean up the quotes and whitespace from the parts of the mnemonic\n for (const property in mnemonic) {\n if (typeof mnemonic[property] === 'string') {\n mnemonic[property] = mnemonic[property].replace(/['\"]/g, '').trim()\n } else {\n mnemonic[property] = mnemonic[property].map((item) =>\n item.replace(/['\"]/g, '').trim()\n )\n }\n }\n\n result.linesToCheck.push({\n line,\n mnemonic,\n lineNumber: index + 1,\n })\n return result\n },\n { linesToCheck: [], linesToSkip: [] }\n )\n\n const problems = await this._checkLines(linesToCheck)\n return {\n skipped: linesToSkip.sort(),\n problems: problems.sort((a, b) => a.lineNumber - b.lineNumber),\n }\n }\n\n _checkLines = async (linesToCheck) => {\n const problemLines = []\n const targetGroups = groupBy(\n linesToCheck,\n (lineObj) => lineObj.mnemonic.target\n )\n for (const target in targetGroups) {\n if (!this.targets[target]) {\n for (const lineObj of targetGroups[target]) {\n problemLines.push({\n ...lineObj,\n error: `Target \"${target}\" does not exist.`,\n })\n }\n continue\n }\n const packetGroups = groupBy(\n targetGroups[target],\n (lineObj) => lineObj.mnemonic.packet\n )\n for (const packet in packetGroups) {\n for (const lineObj of packetGroups[packet]) {\n const cmdOrTlm = lineObj.mnemonic.item ? 'tlm' : 'cmd'\n if (!this.targets[target][cmdOrTlm]) {\n const method = lineObj.mnemonic.item\n ? 'get_all_telemetry'\n : 'get_all_commands'\n const response = await this.api[method](target)\n this.targets[target][cmdOrTlm] = response.reduce(\n (result, packetInfo) => {\n result[packetInfo.packet_name] = packetInfo.items.map(\n (item) => item.name\n )\n return result\n },\n {}\n )\n }\n\n const items = this.targets[target][cmdOrTlm][packet]\n if (!items) {\n problemLines.push({\n ...lineObj,\n error: `${\n cmdOrTlm === 'tlm' ? 'Packet' : 'Command'\n } \"${target} ${packet}\" does not exist.`,\n })\n continue\n }\n if (lineObj.mnemonic.item) {\n if (!items.some((item) => item === lineObj.mnemonic.item)) {\n problemLines.push({\n ...lineObj,\n error: `Item \"${target} ${packet} ${lineObj.mnemonic.item}\" does not exist.`,\n })\n continue\n }\n } else {\n for (const param of lineObj.mnemonic.params) {\n if (!items.some((item) => item === param)) {\n problemLines.push({\n ...lineObj,\n error: `Command \"${target} ${packet}\" param \"${param}\" does not exist.`,\n })\n continue\n }\n }\n }\n }\n }\n }\n return problemLines\n }\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport CmdCompleter from './cmdCompleter.js'\nimport TlmCompleter from './tlmCompleter.js'\nimport MnemonicChecker from './mnemonicChecker.js'\n\nexport { CmdCompleter, TlmCompleter, MnemonicChecker }\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nexport default class RegexAnnotator {\n #id\n #editor\n #pattern\n #text\n #type\n\n constructor(editor, { pattern, text, type }) {\n this.#id = `regexAnnotator-${Math.floor(Math.random() * 10000000)}`\n this.#editor = editor\n this.#pattern = pattern\n this.#text = text\n this.#type = type\n }\n\n // Re-annotate the entire document\n refresh = () => {\n const session = this.#editor.session\n this.#removeAllAnnotations(session)\n const event = {\n lines: session.doc.$lines,\n action: 'insert',\n start: { row: 0 },\n end: { row: session.doc.$lines.length },\n }\n this.annotate(event, session)\n }\n\n // Update annotations for the changed lines\n annotate = ($event, session) => {\n if ($event.lines.length > 1) {\n // They created or deleted a line (or multiple lines), so first need to shift all the existing annotations\n switch ($event.action) {\n case 'insert':\n this.#shiftAnnotations(\n session,\n $event.start.row,\n $event.lines.length - 1\n )\n break\n case 'remove':\n this.#shiftAnnotations(\n session,\n $event.start.row + 1,\n -$event.lines.length + 1\n )\n break\n }\n }\n for (let row = $event.start.row; row <= $event.end.row; row++) {\n let column = session.doc.$lines[row]?.match(this.#pattern)?.index\n if (column !== undefined) {\n column !== 0 && (column += 1) // Account for a leading space that might've been included in the match\n this.#addAnnotation(session, {\n row,\n column, // I don't think our editor theme shows the column for annotations, but others do\n text: this.#text,\n type: this.#type,\n openc3Id: this.#id,\n })\n } else if ($event.action === 'remove') {\n this.#deleteAnnotationsForRow(session, row)\n }\n }\n }\n\n #addAnnotation = (session, newAnnotation) => {\n this.#deleteAnnotationsForRow(session, newAnnotation.row) // Reset this row first for the new annotation\n session.setAnnotations([...session.getAnnotations(), newAnnotation])\n }\n\n #deleteAnnotationsForRow = (session, row) => {\n session.setAnnotations(\n session\n .getAnnotations()\n .filter(\n (annotation) =>\n annotation.openc3Id !== this.#id || annotation.row !== row\n )\n )\n }\n\n #shiftAnnotations = (session, row, count) => {\n session.setAnnotations(\n session.getAnnotations().map((annotation) => {\n if (annotation.row > row) {\n annotation.row += count\n }\n return annotation\n })\n )\n }\n\n #removeAllAnnotations = (session) => {\n session.setAnnotations(\n session\n .getAnnotations()\n .filter((annotation) => annotation.openc3Id !== this.#id)\n )\n }\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport RegexAnnotator from './regexAnnotator.js'\n\nexport default class SleepAnnotator extends RegexAnnotator {\n constructor(editor) {\n const prefix = '(^|[{\\\\s])' // Allowable characters before the keyword: start of line or { or a space\n const keyword = 'sleep' // The keyword this annotation looks for\n const suffix = '[\\\\(\\\\s]' // Allowable characters after the keyword: ( or a space\n super(editor, {\n pattern: new RegExp(`${prefix}${keyword}${suffix}`),\n text: 'Use `wait` instead of `sleep` in OpenC3 scripts', // because we override wait to make it work better, but not sleep\n type: 'warning',\n })\n }\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport SleepAnnotator from './sleepAnnotator.js'\n\nexport { SleepAnnotator }\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-card',{attrs:{\"flat\":\"\"}},[_c('v-card-title',[_vm._v(\" Running Scripts \")]),_c('v-card-text',{staticClass:\"overflow-y-auto\",attrs:{\"max-height\":\"400\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-2\"},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.getRunningScripts}},[_vm._v(\"Refresh\")])],1),_c('div',{staticClass:\"col-10\"},[_c('v-text-field',{staticClass:\"pt-0\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\",\"data-test\":\"running-search\"},model:{value:(_vm.runningSearch),callback:function ($$v) {_vm.runningSearch=$$v},expression:\"runningSearch\"}})],1)])]),_c('v-data-table',{attrs:{\"headers\":_vm.runningHeaders,\"items\":_vm.runningScripts,\"search\":_vm.runningSearch,\"items-per-page\":\"-1\",\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"multi-sort\":\"\",\"sort-by\":\"start_time\",\"sort-desc\":\"\",\"data-test\":\"running-scripts\"},scopedSlots:_vm._u([{key:\"item.connect\",fn:function({ item }){return [_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.connectScript(item)}}},[_c('span',[_vm._v(\"Connect\")]),_c('v-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.connectInNewTab),expression:\"connectInNewTab\"}],attrs:{\"right\":\"\"}},[_vm._v(\" mdi-open-in-new \")])],1)]}},{key:\"item.stop\",fn:function({ item }){return [_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.stopScript(item)}}},[_c('span',[_vm._v(\"Stop\")]),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-close-circle-outline \")])],1)]}},{key:\"item.delete\",fn:function({ item }){return [_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.deleteScript(item)}}},[_c('span',[_vm._v(\"Delete\")]),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-alert-octagon-outline \")])],1)]}}])})],1),_c('v-card',{staticClass:\"mt-3\",attrs:{\"flat\":\"\"}},[_c('v-card-title',[_vm._v(\" Completed Scripts \")]),_c('v-card-text',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-2\"},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.getCompletedScripts}},[_vm._v(\"Refresh\")])],1),_c('div',{staticClass:\"col-10\"},[_c('v-text-field',{staticClass:\"pt-0\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.completedSearch),callback:function ($$v) {_vm.completedSearch=$$v},expression:\"completedSearch\"}})],1)])]),_c('v-container',{staticClass:\"overflow-y-auto\",staticStyle:{\"max-height\":\"400px\",\"padding\":\"0px\",\"margin\":\"0px\"}},[_c('v-data-table',{attrs:{\"headers\":_vm.completedHeaders,\"items\":_vm.completedScripts,\"search\":_vm.completedSearch,\"calculate-widths\":\"\",\"items-per-page\":\"-1\",\"hide-default-footer\":\"\",\"multi-sort\":\"\",\"sort-by\":\"start\",\"sort-desc\":\"\",\"data-test\":\"completed-scripts\"},scopedSlots:_vm._u([{key:\"item.download\",fn:function({ item }){return [_c('v-btn',{attrs:{\"color\":\"primary\",\"disabled\":_vm.downloadScript,\"loading\":_vm.downloadScript && _vm.downloadScript.name === item.name},on:{\"click\":function($event){return _vm.downloadScriptLog(item)}},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}],null,true)},[(item.name.includes('Test Report'))?_c('span',[_vm._v(\"Test Report\")]):_c('span',[_vm._v(\"Script Log\")]),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-file-download-outline \")])],1)]}}])})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <v-card flat>\n <v-card-title> Running Scripts </v-card-title>\n <v-card-text class=\"overflow-y-auto\" max-height=\"400\">\n <div class=\"row\">\n <div class=\"col-2\">\n <v-btn color=\"primary\" @click=\"getRunningScripts\">Refresh</v-btn>\n </div>\n <div class=\"col-10\">\n <v-text-field\n v-model=\"runningSearch\"\n class=\"pt-0\"\n append-icon=\"mdi-magnify\"\n label=\"Search\"\n single-line\n hide-details\n data-test=\"running-search\"\n />\n </div>\n </div>\n </v-card-text>\n <v-data-table\n :headers=\"runningHeaders\"\n :items=\"runningScripts\"\n :search=\"runningSearch\"\n items-per-page=\"-1\"\n calculate-widths\n disable-pagination\n hide-default-footer\n multi-sort\n sort-by=\"start_time\"\n sort-desc\n data-test=\"running-scripts\"\n >\n <template v-slot:item.connect=\"{ item }\">\n <v-btn color=\"primary\" @click=\"connectScript(item)\">\n <span>Connect</span>\n <v-icon right v-show=\"connectInNewTab\"> mdi-open-in-new </v-icon>\n </v-btn>\n </template>\n <template v-slot:item.stop=\"{ item }\">\n <v-btn color=\"primary\" @click=\"stopScript(item)\">\n <span>Stop</span>\n <v-icon right> mdi-close-circle-outline </v-icon>\n </v-btn>\n </template>\n <template v-slot:item.delete=\"{ item }\">\n <v-btn color=\"primary\" @click=\"deleteScript(item)\">\n <span>Delete</span>\n <v-icon right> mdi-alert-octagon-outline </v-icon>\n </v-btn>\n </template>\n </v-data-table>\n </v-card>\n <v-card class=\"mt-3\" flat>\n <v-card-title> Completed Scripts </v-card-title>\n <v-card-text>\n <div class=\"row\">\n <div class=\"col-2\">\n <v-btn color=\"primary\" @click=\"getCompletedScripts\">Refresh</v-btn>\n </div>\n <div class=\"col-10\">\n <v-text-field\n v-model=\"completedSearch\"\n class=\"pt-0\"\n append-icon=\"mdi-magnify\"\n label=\"Search\"\n single-line\n hide-details\n />\n </div>\n </div>\n </v-card-text>\n <v-container\n style=\"max-height: 400px; padding: 0px; margin: 0px\"\n class=\"overflow-y-auto\"\n >\n <!-- TODO: This probably needs to be paginated -->\n <v-data-table\n :headers=\"completedHeaders\"\n :items=\"completedScripts\"\n :search=\"completedSearch\"\n calculate-widths\n items-per-page=\"-1\"\n hide-default-footer\n multi-sort\n sort-by=\"start\"\n sort-desc\n data-test=\"completed-scripts\"\n >\n <template v-slot:item.download=\"{ item }\">\n <v-btn\n color=\"primary\"\n :disabled=\"downloadScript\"\n :loading=\"downloadScript && downloadScript.name === item.name\"\n @click=\"downloadScriptLog(item)\"\n >\n <span v-if=\"item.name.includes('Test Report')\">Test Report</span>\n <span v-else>Script Log</span>\n <v-icon right> mdi-file-download-outline </v-icon>\n <template v-slot:loader>\n <span>Loading...</span>\n </template>\n </v-btn>\n </template>\n </v-data-table>\n </v-container>\n </v-card>\n </div>\n</template>\n\n<script>\nimport Api from '@openc3/tool-common/src/services/api'\n\nexport default {\n props: {\n tabId: Number,\n curTab: Number,\n connectInNewTab: Boolean,\n },\n data() {\n return {\n downloadScript: null,\n runningSearch: '',\n runningScripts: [],\n runningHeaders: [\n {\n text: 'Connect',\n value: 'connect',\n sortable: false,\n filterable: false,\n },\n { text: 'Id', value: 'id' },\n { text: 'Name', value: 'name' },\n { text: 'Start Time', value: 'start_time' },\n {\n text: 'Stop',\n value: 'stop',\n sortable: false,\n filterable: false,\n },\n {\n text: 'Force Quit',\n value: 'delete',\n sortable: false,\n filterable: false,\n },\n ],\n completedSearch: '',\n completedScripts: [],\n completedHeaders: [\n { text: 'Name', value: 'name' },\n { text: 'Start Time', value: 'start' },\n {\n text: 'Download',\n value: 'download',\n sortable: false,\n filterable: false,\n },\n ],\n }\n },\n created() {\n this.getRunningScripts()\n this.getCompletedScripts()\n },\n methods: {\n getRunningScripts: function () {\n Api.get('/script-api/running-script').then((response) => {\n this.runningScripts = response.data\n })\n },\n getCompletedScripts: function () {\n // TODO: Support pagination because you could have a lot of completed scripts\n Api.get('/script-api/completed-scripts').then((response) => {\n this.completedScripts = response.data\n })\n },\n connectScript: function (script) {\n const destination = {\n name: 'ScriptRunner',\n params: { id: script.id },\n }\n if (this.connectInNewTab) {\n let { href } = this.$router.resolve(destination)\n window.open(href, '_blank')\n } else {\n this.$router.push(destination)\n this.$emit('close')\n }\n },\n stopScript: function (script) {\n this.$dialog\n .confirm(\n `Are you sure you want to stop script: ${script.id} ${script.name}?`,\n {\n okText: 'Stop',\n cancelText: 'Cancel',\n }\n )\n .then((dialog) => {\n return Api.post(`/script-api/running-script/${script.id}/stop`)\n })\n .then((response) => {\n this.$notify.normal({\n body: `Stopped script: ${script.id} ${script.name}`,\n })\n this.getRunningScripts()\n })\n .catch((error) => {\n if (error) {\n this.$notify.caution({\n body: `Failed to stop script: ${script.id} ${script.name}`,\n })\n }\n })\n },\n deleteScript: function (script) {\n this.$dialog\n .confirm(\n `Are you sure you want to force quit script: ${script.id} ${script.name}?\\n` +\n 'Did you try to stop the script first to allow the script to stop gracefully?',\n {\n okText: 'Force Quit',\n cancelText: 'Cancel',\n }\n )\n .then((dialog) => {\n return Api.post(`/script-api/running-script/${script.id}/delete`)\n })\n .then((response) => {\n this.$notify.normal({\n body: `Stopped script: ${script.id} ${script.name}`,\n })\n this.getRunningScripts()\n })\n .catch((error) => {\n if (error) {\n this.$notify.caution({\n body: `Failed to stop script: ${script.id} ${script.name}`,\n })\n }\n })\n },\n downloadScriptLog: function (script) {\n this.downloadScript = script\n Api.get(\n `/openc3-api/storage/download/${encodeURIComponent(\n script.log\n )}?bucket=OPENC3_LOGS_BUCKET`\n )\n .then((response) => {\n const filenameParts = script.log.split('/')\n const basename = filenameParts[filenameParts.length - 1]\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = response.data.url\n link.setAttribute('download', basename)\n link.click()\n this.downloadScript = null\n })\n .catch(() => {\n this.$notify.caution({\n title: `Unable to download log for ${script.name}`,\n body: `You may be able to download this log manually from the 'logs' bucket at ${script.log}`,\n })\n })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RunningScripts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RunningScripts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RunningScripts.vue?vue&type=template&id=2e8465be&\"\nimport script from \"./RunningScripts.vue?vue&type=script&lang=js&\"\nexport * from \"./RunningScripts.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <top-bar :menus=\"menus\" :title=\"title\" />\n <v-snackbar v-model=\"showAlert\" top :color=\"alertType\" :timeout=\"3000\">\n <v-icon> mdi-{{ alertType }} </v-icon>\n {{ alertText }}\n <template v-slot:action=\"{ attrs }\">\n <v-btn text v-bind=\"attrs\" @click=\"showAlert = false\"> Close </v-btn>\n </template>\n </v-snackbar>\n <v-snackbar v-model=\"showReadOnlyToast\" top :timeout=\"-1\" color=\"orange\">\n <v-icon> mdi-pencil-off </v-icon>\n {{ lockedBy }} is editing this script. Editor is in read-only mode\n <template v-slot:action=\"{ attrs }\">\n <v-btn\n text\n v-bind=\"attrs\"\n color=\"danger\"\n @click=\"confirmLocalUnlock\"\n data-test=\"unlock-button\"\n >\n Unlock\n </v-btn>\n <v-btn\n text\n v-bind=\"attrs\"\n @click=\"\n () => {\n showReadOnlyToast = false\n }\n \"\n >\n dismiss\n </v-btn>\n </template>\n </v-snackbar>\n\n <suite-runner\n v-if=\"suiteRunner\"\n :suite-map=\"suiteMap\"\n :disable-buttons=\"disableSuiteButtons\"\n @button=\"suiteRunnerButton\"\n />\n <div id=\"sr-controls\">\n <v-row no-gutters justify=\"space-between\">\n <v-icon v-if=\"showDisconnect\" class=\"mr-2\" color=\"red\">\n mdi-connection\n </v-icon>\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on, attrs }\">\n <v-btn\n v-on=\"on\"\n v-bind=\"attrs\"\n icon\n @click=\"reloadFile\"\n :disabled=\"filename === NEW_FILENAME\"\n >\n <v-icon>mdi-cached</v-icon>\n </v-btn>\n </template>\n <span> Reload File </span>\n </v-tooltip>\n <v-select\n v-model=\"fullFilename\"\n @change=\"fileNameChanged\"\n :items=\"fileList\"\n :disabled=\"fileList.length <= 1\"\n label=\"Filename\"\n id=\"filename\"\n data-test=\"filename\"\n style=\"width: 300px\"\n dense\n outlined\n readonly\n hide-details\n />\n <v-text-field\n v-model=\"scriptId\"\n label=\"Script ID\"\n data-test=\"id\"\n class=\"shrink ml-2 script-state\"\n style=\"width: 100px\"\n dense\n outlined\n readonly\n hide-details\n />\n <v-text-field\n v-model=\"state\"\n label=\"Script State\"\n data-test=\"state\"\n class=\"shrink ml-2 script-state\"\n style=\"width: 120px\"\n dense\n outlined\n readonly\n hide-details\n />\n <v-progress-circular\n v-if=\"state === 'Connecting...'\"\n :size=\"40\"\n class=\"ml-2 mr-2\"\n indeterminate\n color=\"primary\"\n />\n <div v-else style=\"width: 40px; height: 40px\" class=\"ml-2 mr-2\"></div>\n\n <!-- Disable the Start button when Suite Runner controls are showing -->\n <v-spacer />\n <div v-if=\"startOrGoButton === 'Start'\">\n <v-btn\n @click=\"startHandler\"\n class=\"mx-1\"\n color=\"primary\"\n data-test=\"start-button\"\n :disabled=\"startOrGoDisabled\"\n >\n <span> Start </span>\n </v-btn>\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on, attrs }\">\n <v-btn\n v-on=\"on\"\n v-bind=\"attrs\"\n @click=\"scriptEnvironment.show = !scriptEnvironment.show\"\n class=\"mx-1\"\n data-test=\"env-button\"\n :color=\"environmentIconColor\"\n :disabled=\"envDisabled\"\n >\n <v-icon> {{ environmentIcon }} </v-icon>\n </v-btn>\n </template>\n <span> Open Environment Dialog </span>\n </v-tooltip>\n </div>\n <div v-else>\n <v-btn\n @click=\"go\"\n color=\"primary\"\n class=\"mr-2\"\n :disabled=\"startOrGoDisabled\"\n data-test=\"go-button\"\n >\n Go\n </v-btn>\n <v-btn\n color=\"primary\"\n @click=\"pauseOrRetry\"\n class=\"mr-2\"\n :disabled=\"pauseOrRetryDisabled\"\n data-test=\"pause-retry-button\"\n >\n {{ pauseOrRetryButton }}\n </v-btn>\n\n <v-btn\n color=\"primary\"\n @click=\"stop\"\n data-test=\"stop-button\"\n :disabled=\"stopDisabled\"\n >\n Stop\n </v-btn>\n </div>\n </v-row>\n </div>\n <!-- Create Multipane container to support resizing.\n NOTE: We listen to paneResize event and call editor.resize() to prevent weird sizing issues,\n The event must be paneResize and not pane-resize -->\n <multipane\n class=\"horizontal-panes\"\n layout=\"horizontal\"\n @paneResize=\"editor.resize()\"\n >\n <div id=\"editorbox\" class=\"pane\">\n <v-snackbar\n v-model=\"showSave\"\n absolute\n top\n right\n :timeout=\"-1\"\n class=\"saving\"\n >\n Saving...\n </v-snackbar>\n <pre id=\"editor\" @contextmenu.prevent=\"showExecuteSelectionMenu\"></pre>\n <v-menu\n v-model=\"executeSelectionMenu\"\n :position-x=\"menuX\"\n :position-y=\"menuY\"\n absolute\n offset-y\n >\n <v-list>\n <v-list-item\n v-for=\"item in executeSelectionMenuItems\"\n :key=\"item.label\"\n >\n <v-list-item-title @click=\"item.command\">\n {{ item.label }}\n </v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n </div>\n <multipane-resizer><hr /></multipane-resizer>\n <div id=\"messages\" class=\"mt-2 pane\" ref=\"messagesDiv\">\n <div id=\"debug\" class=\"pa-0\" v-if=\"showDebug\">\n <v-row no-gutters>\n <v-btn\n color=\"primary\"\n @click=\"step\"\n style=\"width: 100px\"\n class=\"mr-4\"\n :disabled=\"stepDisabled\"\n data-test=\"step-button\"\n >\n Step\n <v-icon right> mdi-step-forward </v-icon>\n </v-btn>\n <v-text-field\n class=\"mb-2\"\n outlined\n dense\n hide-details\n label=\"Debug\"\n v-model=\"debug\"\n @keydown=\"debugKeydown\"\n data-test=\"debug-text\"\n />\n </v-row>\n </div>\n <script-log-messages v-model=\"messages\" />\n </div>\n </multipane>\n <!--- MENUS --->\n <file-open-save-dialog\n v-if=\"fileOpen\"\n v-model=\"fileOpen\"\n type=\"open\"\n api-url=\"/script-api/scripts\"\n @file=\"setFile($event)\"\n @error=\"setError($event)\"\n />\n <file-open-save-dialog\n v-if=\"showSaveAs\"\n v-model=\"showSaveAs\"\n type=\"save\"\n api-url=\"/script-api/scripts\"\n require-target-parent-dir\n :input-filename=\"filenameOrBlank\"\n @filename=\"saveAsFilename($event)\"\n @error=\"setError($event)\"\n />\n <environment-dialog v-if=\"showEnvironment\" v-model=\"showEnvironment\" />\n <ask-dialog\n v-if=\"ask.show\"\n v-model=\"ask.show\"\n :question=\"ask.question\"\n :default=\"ask.default\"\n :password=\"ask.password\"\n :answer-required=\"ask.answerRequired\"\n @response=\"ask.callback\"\n />\n <file-dialog\n v-if=\"file.show\"\n v-model=\"file.show\"\n :title=\"file.title\"\n :message=\"file.message\"\n :multiple=\"file.multiple\"\n :filter=\"file.filter\"\n @response=\"fileDialogCallback\"\n />\n <information-dialog\n v-if=\"information.show\"\n v-model=\"information.show\"\n :title=\"information.title\"\n :text=\"information.text\"\n />\n <input-metadata-dialog\n v-if=\"inputMetadata.show\"\n v-model=\"inputMetadata.show\"\n :target=\"inputMetadata.target\"\n @response=\"inputMetadata.callback\"\n />\n <overrides-dialog v-if=\"showOverrides\" v-model=\"showOverrides\" />\n <prompt-dialog\n v-if=\"prompt.show\"\n v-model=\"prompt.show\"\n :title=\"prompt.title\"\n :subtitle=\"prompt.subtitle\"\n :message=\"prompt.message\"\n :details=\"prompt.details\"\n :buttons=\"prompt.buttons\"\n :layout=\"prompt.layout\"\n @response=\"prompt.callback\"\n />\n <results-dialog\n v-if=\"results.show\"\n v-model=\"results.show\"\n :text=\"results.text\"\n />\n <script-environment-dialog\n v-if=\"scriptEnvironment.show\"\n v-model=\"scriptEnvironment.show\"\n :input-environment=\"scriptEnvironment.env\"\n @environment=\"environmentHandler\"\n />\n <simple-text-dialog\n v-model=\"showSuiteError\"\n title=\"Suite Analysis Error\"\n :text=\"suiteError\"\n :width=\"1000\"\n />\n <v-bottom-sheet v-model=\"showStartedScripts\">\n <v-sheet class=\"pb-11 pt-5 px-5\">\n <running-scripts\n :connect-in-new-tab=\"!!fileModified\"\n @close=\"\n () => {\n showStartedScripts = false\n }\n \"\n />\n </v-sheet>\n </v-bottom-sheet>\n </div>\n</template>\n\n<script>\nimport axios from 'axios'\nimport Cable from '@openc3/tool-common/src/services/cable.js'\nimport Api from '@openc3/tool-common/src/services/api'\nimport * as ace from 'ace-builds'\nimport 'ace-builds/src-min-noconflict/mode-ruby'\nimport 'ace-builds/src-min-noconflict/theme-twilight'\nimport 'ace-builds/src-min-noconflict/ext-language_tools'\nimport 'ace-builds/src-min-noconflict/ext-searchbox'\nimport { format } from 'date-fns'\nimport { Multipane, MultipaneResizer } from 'vue-multipane'\nimport FileOpenSaveDialog from '@openc3/tool-common/src/components/FileOpenSaveDialog'\nimport EnvironmentDialog from '@openc3/tool-common/src/components/EnvironmentDialog'\nimport SimpleTextDialog from '@openc3/tool-common/src/components/SimpleTextDialog'\nimport TopBar from '@openc3/tool-common/src/components/TopBar'\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\n\nimport AskDialog from '@/tools/ScriptRunner/Dialogs/AskDialog'\nimport FileDialog from '@/tools/ScriptRunner/Dialogs/FileDialog'\nimport InformationDialog from '@/tools/ScriptRunner/Dialogs/InformationDialog'\nimport InputMetadataDialog from '@/tools/ScriptRunner/Dialogs/InputMetadataDialog'\nimport OverridesDialog from '@/tools/ScriptRunner/Dialogs/OverridesDialog'\nimport PromptDialog from '@/tools/ScriptRunner/Dialogs/PromptDialog'\nimport ResultsDialog from '@/tools/ScriptRunner/Dialogs/ResultsDialog'\nimport ScriptEnvironmentDialog from '@/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog'\nimport SuiteRunner from '@/tools/ScriptRunner/SuiteRunner'\nimport ScriptLogMessages from '@/tools/ScriptRunner/ScriptLogMessages'\nimport {\n CmdCompleter,\n TlmCompleter,\n MnemonicChecker,\n} from '@/tools/ScriptRunner/autocomplete'\nimport { SleepAnnotator } from '@/tools/ScriptRunner/annotations'\nimport RunningScripts from './RunningScripts.vue'\n\n// Matches target_file.rb TEMP_FOLDER\nconst TEMP_FOLDER = '__TEMP__'\nconst NEW_FILENAME = '<Untitled>'\nconst START = 'Start'\nconst GO = 'Go'\nconst PAUSE = 'Pause'\nconst RETRY = 'Retry'\n\nexport default {\n components: {\n FileOpenSaveDialog,\n EnvironmentDialog,\n Multipane,\n MultipaneResizer,\n TopBar,\n AskDialog,\n FileDialog,\n InformationDialog,\n InputMetadataDialog,\n OverridesDialog,\n PromptDialog,\n ResultsDialog,\n ScriptEnvironmentDialog,\n SimpleTextDialog,\n SuiteRunner,\n RunningScripts,\n ScriptLogMessages,\n },\n data() {\n return {\n title: 'COSMOS Script Runner',\n suiteRunner: false, // Whether to display the SuiteRunner GUI\n disableSuiteButtons: false,\n suiteMap: {\n // Useful for testing the various options in the SuiteRunner GUI\n // Suite: {\n // teardown: true,\n // groups: {\n // Group: {\n // setup: true,\n // cases: ['case1', 'case2', 'really_long_test_case_name3'],\n // },\n // ReallyLongGroupName: {\n // cases: ['case1', 'case2', 'case3'],\n // },\n // },\n // },\n },\n currentFilename: null,\n showSave: false,\n showAlert: false,\n alertType: null,\n alertText: '',\n state: ' ',\n scriptId: ' ',\n startOrGoButton: START,\n startOrGoDisabled: false,\n envDisabled: false,\n pauseOrRetryButton: PAUSE,\n pauseOrRetryDisabled: false,\n stopDisabled: false,\n showEnvironment: false,\n showDebug: false,\n debug: '',\n debugHistory: [],\n debugHistoryIndex: 0,\n showDisconnect: false,\n files: {},\n breakpoints: {},\n filename: NEW_FILENAME,\n tempFilename: null,\n fileModified: '',\n fileOpen: false,\n lockedBy: null,\n showReadOnlyToast: false,\n showSaveAs: false,\n areYouSure: false,\n subscription: null,\n cable: null,\n fatal: false,\n messages: [],\n maxArrayLength: 200,\n Range: ace.require('ace/range').Range,\n ask: {\n show: false,\n question: '',\n default: null,\n password: false,\n answerRequired: true,\n callback: () => {},\n },\n file: {\n show: false,\n message: '',\n directory: null,\n filter: '*',\n multiple: false,\n callback: () => {},\n },\n prompt: {\n show: false,\n title: '',\n subtitle: '',\n message: '',\n details: '',\n buttons: null,\n layout: 'horizontal',\n callback: () => {},\n },\n information: {\n show: false,\n title: '',\n text: [],\n },\n inputMetadata: {\n show: false,\n target: null,\n callback: () => {},\n },\n results: {\n show: false,\n text: '',\n },\n scriptEnvironment: {\n show: false,\n env: [],\n },\n showSuiteError: false,\n suiteError: '',\n executeSelectionMenu: false,\n menuX: 0,\n menuY: 0,\n mnemonicChecker: new MnemonicChecker(),\n showStartedScripts: false,\n showOverrides: false,\n activePromptId: '',\n api: null,\n }\n },\n computed: {\n stepDisabled: function () {\n if (this.startOrGoButton == START) {\n return true\n } else {\n return false\n }\n },\n fileList: function () {\n const filenames = Object.keys(this.files)\n filenames.push(this.fullFilename)\n return [...new Set(filenames)] // ensure unique\n },\n environmentIcon: function () {\n return this.scriptEnvironment.env.length > 0\n ? 'mdi-bookmark'\n : 'mdi-bookmark-outline'\n },\n environmentIconColor: function () {\n return this.scriptEnvironment.env.length > 0 ? 'primary' : ''\n },\n readOnly: function () {\n return !!this.lockedBy\n },\n fullFilename: function () {\n if (this.currentFilename) return this.currentFilename\n return this.filename //`${this.filename} ${this.fileModified}`.trim()\n },\n // It's annoying for people (and tests) to clear the <Untitled>\n // when saving a new file so replace with blank\n filenameOrBlank: function () {\n return this.filename === NEW_FILENAME ? '' : this.filename\n },\n menus: function () {\n return [\n {\n label: 'File',\n items: [\n {\n label: 'New File',\n icon: 'mdi-file-plus',\n command: () => {\n this.newFile()\n },\n },\n {\n label: 'Open File',\n icon: 'mdi-folder-open',\n command: () => {\n this.openFile()\n },\n },\n {\n divider: true,\n },\n {\n label: 'Save File',\n icon: 'mdi-content-save',\n command: () => {\n this.saveFile()\n },\n },\n {\n label: 'Save As...',\n icon: 'mdi-content-save',\n command: () => {\n this.saveAs()\n },\n },\n {\n divider: true,\n },\n {\n label: 'Download',\n icon: 'mdi-cloud-download',\n command: () => {\n this.download()\n },\n },\n {\n divider: true,\n },\n {\n label: 'Delete File',\n icon: 'mdi-delete',\n command: () => {\n this.delete()\n },\n },\n ],\n },\n {\n label: 'Edit',\n items: [\n {\n label: 'Find',\n icon: 'mdi-magnify',\n command: () => {\n this.editor.execCommand('find')\n },\n },\n {\n label: 'Replace',\n icon: 'mdi-find-replace',\n command: () => {\n this.editor.execCommand('replace')\n },\n },\n ],\n },\n {\n label: 'Script',\n items: [\n {\n label: 'View Started Scripts',\n icon: 'mdi-run',\n command: () => {\n this.showStartedScripts = true\n },\n },\n {\n divider: true,\n },\n {\n label: 'Show Environment',\n icon: 'mdi-library',\n command: () => {\n this.showEnvironment = !this.showEnvironment\n },\n },\n {\n label: 'Show Metadata',\n icon: 'mdi-calendar',\n command: () => {\n ;(this.inputMetadata.callback = () => {}),\n (this.inputMetadata.show = !this.inputMetadata.show)\n },\n },\n {\n label: 'Show Overrides',\n icon: 'mdi-swap-horizontal',\n command: () => {\n this.showOverrides = true\n },\n },\n {\n divider: true,\n },\n {\n label: 'Ruby Syntax Check',\n icon: 'mdi-language-ruby',\n command: () => {\n this.rubySyntaxCheck()\n },\n },\n {\n label: 'Mnemonic Check',\n icon: 'mdi-spellcheck',\n command: () => {\n this.checkMnemonics()\n },\n },\n {\n label: 'View Instrumented Script',\n icon: 'mdi-code-braces-box',\n command: () => {\n this.showInstrumented()\n },\n },\n {\n label: 'Show Call Stack',\n icon: 'mdi-format-list-numbered',\n disabled: !this.scriptId || this.scriptId === ' ',\n command: () => {\n this.showCallStack()\n },\n },\n {\n divider: true,\n },\n {\n label: 'Toggle Debug',\n icon: 'mdi-bug',\n command: () => {\n this.toggleDebug()\n },\n },\n {\n label: 'Toggle Disconnect',\n icon: 'mdi-connection',\n command: () => {\n this.toggleDisconnect()\n },\n },\n {\n divider: true,\n },\n {\n label: 'Delete All Breakpoints',\n icon: 'mdi-delete-circle-outline',\n command: () => {\n this.deleteAllBreakpoints()\n },\n },\n ],\n },\n ]\n },\n executeSelectionMenuItems: function () {\n return [\n {\n label: 'Execute selection',\n command: this.executeSelection,\n },\n {\n label: 'Run from here',\n command: this.runFromCursor,\n },\n {\n label: 'Clear these breakpoints',\n command: this.clearBreakpoints,\n },\n ]\n },\n },\n watch: {\n readOnly: function (val) {\n this.showReadOnlyToast = val\n if (!this.suiteRunner) {\n this.startOrGoDisabled = val\n }\n this.editor.setReadOnly(val)\n },\n },\n created: function () {\n // Ensure Offline Access Is Setup For the Current User\n this.api = new OpenC3Api()\n this.api.ensure_offline_access()\n\n // Make NEW_FILENAME available to the template\n this.NEW_FILENAME = NEW_FILENAME\n window.onbeforeunload = this.unlockFile\n },\n mounted: async function () {\n this.editor = ace.edit('editor')\n this.editor.setTheme('ace/theme/twilight')\n const openC3Mode = this.buildOpenC3Mode()\n this.editor.session.setMode(new openC3Mode())\n this.editor.session.setTabSize(2)\n this.editor.session.setUseWrapMode(true)\n this.editor.$blockScrolling = Infinity\n this.editor.setOption('enableBasicAutocompletion', true)\n this.editor.setOption('enableLiveAutocompletion', true)\n this.editor.completers = [new CmdCompleter(), new TlmCompleter()]\n this.editor.setHighlightActiveLine(false)\n this.editor.focus()\n this.editor.on('guttermousedown', this.toggleBreakpoint)\n // We listen to tokenizerUpdate rather than change because this\n // is the background process that updates as changes are processed\n // while change fires immediately before the UndoManager is updated.\n this.editor.session.on('tokenizerUpdate', this.onChange)\n\n const sleepAnnotator = new SleepAnnotator(this.editor)\n this.editor.session.on('change', ($event, session) => {\n sleepAnnotator.annotate($event, session)\n this.updateBreakpoints($event, session)\n })\n\n window.addEventListener('keydown', this.keydown)\n this.cable = new Cable('/script-api/cable')\n await this.tryLoadRunningScript(this.$route.params.id)\n this.autoSaveInterval = setInterval(() => {\n // Only save if modified and visible (e.g. not open in another tab)\n if (\n this.fileModified.length > 0 &&\n document.visibilityState === 'visible'\n ) {\n this.saveFile('auto')\n }\n }, 60000) // Save every minute\n },\n beforeDestroy() {\n this.editor.destroy()\n this.editor.container.remove()\n },\n destroyed() {\n this.unlockFile()\n if (this.autoSaveInterval != null) {\n clearInterval(this.autoSaveInterval)\n }\n if (this.subscription) {\n this.subscription.unsubscribe()\n }\n this.cable.disconnect()\n },\n beforeRouteUpdate: function (to, from, next) {\n if (to.params.id) {\n this.tryLoadRunningScript(to.params.id).then(next)\n } else {\n next()\n }\n },\n methods: {\n buildOpenC3Mode() {\n var oop = ace.require('ace/lib/oop')\n var RubyHighlightRules = ace.require(\n 'ace/mode/ruby_highlight_rules'\n ).RubyHighlightRules\n\n let apis = Object.getOwnPropertyNames(OpenC3Api.prototype)\n .filter((a) => a !== 'constructor')\n .filter((a) => a !== 'exec')\n let regex = new RegExp(`(\\\\b${apis.join('\\\\b|\\\\b')}\\\\b)`)\n var OpenC3HighlightRules = function () {\n RubyHighlightRules.call(this)\n // add openc3 rules to the ruby rules\n for (var rule in this.$rules) {\n this.$rules[rule].unshift({\n regex: regex,\n token: 'support.function',\n })\n }\n }\n oop.inherits(OpenC3HighlightRules, RubyHighlightRules)\n\n var MatchingBraceOutdent = ace.require(\n 'ace/mode/matching_brace_outdent'\n ).MatchingBraceOutdent\n var CstyleBehaviour = ace.require(\n 'ace/mode/behaviour/cstyle'\n ).CstyleBehaviour\n var FoldMode = ace.require('ace/mode/folding/ruby').FoldMode\n var Mode = function () {\n this.HighlightRules = OpenC3HighlightRules\n this.$outdent = new MatchingBraceOutdent()\n this.$behaviour = new CstyleBehaviour()\n this.foldingRules = new FoldMode()\n this.indentKeywords = this.foldingRules.indentKeywords\n }\n var RubyMode = ace.require('ace/mode/ruby').Mode\n oop.inherits(Mode, RubyMode)\n ;(function () {\n this.$id = 'ace/mode/openc3'\n }.call(Mode.prototype))\n return Mode\n },\n fileNameChanged(filename) {\n this.editor.setValue(this.files[filename].content)\n this.restoreBreakpoints(filename)\n this.editor.clearSelection()\n this.removeAllMarkers()\n this.editor.session.addMarker(\n new this.Range(\n this.files[filename].lineNo - 1,\n 0,\n this.files[filename].lineNo - 1,\n 1\n ),\n `${this.state}Marker`,\n 'fullLine'\n )\n this.editor.gotoLine(this.files[filename].lineNo)\n this.filename = filename\n },\n tryLoadRunningScript: function (id) {\n return Api.get('/script-api/running-script').then((response) => {\n const loadRunningScript = response.data.find(\n (s) => `${s.id}` === `${id}`\n )\n if (loadRunningScript) {\n this.filename = loadRunningScript.name\n this.tryLoadSuites()\n this.scriptStart(loadRunningScript.id)\n } else if (id) {\n this.$notify.caution({\n title: '404 Not Found',\n body: `Failed to load running script id: ${id}`,\n })\n } else {\n if (response.data.length !== 0) {\n this.alertType = 'success'\n this.alertText = `Currently ${response.data.length} running scripts.`\n this.showAlert = true\n }\n }\n })\n },\n tryLoadSuites: function () {\n Api.get(`/script-api/scripts/${this.filename}`).then((response) => {\n if (response.data.suites) {\n this.startOrGoDisabled = true\n this.suiteRunner = true\n this.suiteMap = JSON.parse(response.data.suites)\n }\n if (response.data.error) {\n this.suiteError = response.data.error\n this.showSuiteError = true\n }\n // Disable suite buttons if we didn't successfully parse the suite\n this.disableSuiteButtons = response.data.success == false\n })\n },\n showExecuteSelectionMenu: function ($event) {\n this.menuX = $event.pageX\n this.menuY = $event.pageY\n this.executeSelectionMenu = true\n },\n runFromCursor: function () {\n const start = this.editor.getCursorPosition().row\n const text = this.editor.session.doc\n .getLines(start, this.editor.session.doc.getLength())\n .join('\\n')\n const breakpoints = this.getBreakpointRows()\n .filter((row) => row >= start)\n .map((row) => row - start)\n this.executeText(text, breakpoints)\n },\n executeSelection: function () {\n const text = this.editor.getSelectedText()\n const range = this.editor.getSelectionRange()\n const breakpoints = this.getBreakpointRows()\n .filter((row) => row <= range.end.row && row >= range.start.row)\n .map((row) => row - range.start.row)\n this.executeText(text, breakpoints)\n },\n executeText: function (text, breakpoints = []) {\n if (this.state === 'error') {\n // Execute via debugger\n const lines = text.split('\\n')\n for (const line of lines) {\n this.debug = line.trim()\n this.debugKeydown({ key: 'Enter' })\n }\n } else {\n // Create a new temp script and open in new tab\n const selectionTempFilename =\n TEMP_FOLDER +\n '/' +\n format(Date.now(), 'yyyy_MM_dd_HH_mm_ss_SSS') +\n '_temp.rb'\n Api.post(`/script-api/scripts/${selectionTempFilename}`, {\n data: {\n text,\n breakpoints,\n },\n })\n .then((response) => {\n return Api.post(\n `/script-api/scripts/${selectionTempFilename}/run`,\n {\n data: {\n environment: this.scriptEnvironment.env,\n },\n }\n )\n })\n .then((response) => {\n window.open(`/tools/scriptrunner/${response.data}`)\n })\n }\n },\n clearBreakpoints: function () {\n this.editor.session.clearBreakpoints()\n },\n toggleBreakpoint: function ($event) {\n const row = $event.getDocumentPosition().row\n if ($event.editor.session.getBreakpoints(row, 0)[row]) {\n $event.editor.session.clearBreakpoint(row)\n } else {\n $event.editor.session.setBreakpoint(row)\n }\n },\n updateBreakpoints: function ($event, session) {\n if ($event.lines.length <= 1) {\n return\n }\n const rowsToUpdate = this.getBreakpointRows(session).filter(\n (row) =>\n ($event.start.column === 0 && row === $event.start.row) ||\n row > $event.start.row\n )\n let rowsToDelete = []\n let offset = 0\n switch ($event.action) {\n case 'insert':\n offset = $event.lines.length - 1\n rowsToUpdate.reverse() // shift the lower ones down out of the way first\n break\n case 'remove':\n offset = -$event.lines.length + 1\n rowsToDelete = [...Array($event.lines.length).keys()].map(\n (row) => row + $event.start.row\n )\n break\n }\n rowsToUpdate.forEach((row) => {\n session.clearBreakpoint(row)\n if (!rowsToDelete.includes(row)) {\n session.setBreakpoint(row + offset)\n }\n })\n },\n getBreakpointRows: function (session = this.editor.session) {\n return session\n .getBreakpoints()\n .map((breakpoint, row) => breakpoint && row) // [empty, 'ace_breakpoint', 'ace_breakpoint', empty] -> [empty, 1, 2, empty]\n .filter(Number.isInteger) // [empty, 1, 2, empty] -> [1, 2]\n },\n restoreBreakpoints: function (filename) {\n this.clearBreakpoints()\n this.breakpoints[filename]?.forEach((breakpoint) => {\n this.editor.session.setBreakpoint(breakpoint)\n })\n },\n deleteAllBreakpoints: function () {\n this.$dialog\n .confirm('Permanently delete all breakpoints for ALL scripts?', {\n okText: 'Delete',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n return Api.delete('/script-api/breakpoints/delete/all')\n })\n .then((response) => {\n this.clearBreakpoints()\n })\n },\n suiteRunnerButton(event) {\n if (this.startOrGoButton === START) {\n this.start(event, 'suiteRunner')\n } else {\n this.go(event, 'suiteRunner')\n }\n },\n keydown(event) {\n // NOTE: Chrome does not allow overriding Ctrl-N, Ctrl-Shift-N, Ctrl-T, Ctrl-Shift-T, Ctrl-W\n // NOTE: metaKey == Command on Mac\n if (\n (event.metaKey || event.ctrlKey) &&\n event.keyCode === 'S'.charCodeAt(0)\n ) {\n event.preventDefault()\n this.saveFile()\n } else if (\n (event.metaKey || event.ctrlKey) &&\n event.shiftKey &&\n event.keyCode === 'S'.charCodeAt(0)\n ) {\n event.preventDefault()\n this.saveAs()\n }\n },\n onChange(event) {\n // Don't track changes when we're read-only (we're running)\n if (this.editor.getReadOnly() === true) {\n return\n }\n if (this.editor.session.getUndoManager().canUndo()) {\n this.fileModified = '*'\n } else {\n this.fileModified = ''\n }\n },\n checkMnemonics: function () {\n this.mnemonicChecker\n .checkText(this.editor.getValue())\n .then(({ skipped, problems }) => {\n let alertText = ''\n if (problems.length) {\n const problemText = problems\n .map((problem) => `${problem.lineNumber}: ${problem.error}`)\n .join('<br/>')\n alertText += `<strong>The following lines have problems:</strong><br/>${problemText}<br/><br/>`\n }\n if (skipped.length) {\n alertText +=\n '<strong>Mnemonics with string interpolation were not checked.</strong>'\n }\n if (alertText === '') {\n alertText = '<strong>Everything looks good!</strong>'\n }\n this.$dialog.alert(alertText.trim(), { html: true })\n })\n },\n scriptStart(id) {\n this.disableSuiteButtons = true\n this.startOrGoDisabled = true\n this.envDisabled = true\n this.pauseOrRetryDisabled = true\n this.stopDisabled = true\n this.state = 'Connecting...'\n this.startOrGoButton = GO\n this.scriptId = id\n this.editor.setReadOnly(true)\n this.cable\n .createSubscription(\n 'RunningScriptChannel',\n window.openc3Scope,\n {\n received: (data) => this.received(data),\n },\n {\n id: this.scriptId,\n }\n )\n .then((subscription) => {\n this.subscription = subscription\n })\n },\n scriptComplete() {\n this.disableSuiteButtons = false\n this.startOrGoButton = START\n this.pauseOrRetryButton = PAUSE\n // Disable start if suiteRunner\n this.startOrGoDisabled = this.suiteRunner\n this.envDisabled = false\n this.pauseOrRetryDisabled = true\n this.stopDisabled = true\n // Ensure stopped, if the script has an error we don't get the server stopped message\n this.state = 'stopped'\n this.fatal = false\n this.scriptId = null\n this.editor.setReadOnly(false)\n },\n environmentHandler: function (event) {\n this.scriptEnvironment.env = event\n },\n startHandler: function () {\n this.start()\n },\n start(event, suiteRunner = null) {\n this.saveFile('start')\n let filename = this.filename\n if (this.filename === NEW_FILENAME) {\n // NEW_FILENAME so use tempFilename created by saveFile()\n filename = this.tempFilename\n }\n let url = `/script-api/scripts/${filename}/run`\n if (this.showDisconnect) {\n url += '/disconnect'\n }\n let data = {\n environment: this.scriptEnvironment.env,\n }\n if (suiteRunner) {\n data['suiteRunner'] = event\n }\n Api.post(url, { data }).then((response) => {\n this.scriptStart(response.data)\n })\n },\n go(event, suiteRunner = null) {\n Api.post(`/script-api/running-script/${this.scriptId}/go`)\n },\n pauseOrRetry() {\n if (this.pauseOrRetryButton === PAUSE) {\n Api.post(`/script-api/running-script/${this.scriptId}/pause`)\n } else {\n this.pauseOrRetryButton = PAUSE\n Api.post(`/script-api/running-script/${this.scriptId}/retry`)\n }\n },\n stop() {\n // We previously encountered a fatal error so remove the marker\n // and cleanup by calling scriptComplete() because the script\n // is already stopped in the backend\n if (this.fatal) {\n this.removeAllMarkers()\n this.scriptComplete()\n } else {\n Api.post(`/script-api/running-script/${this.scriptId}/stop`)\n }\n },\n step() {\n Api.post(`/script-api/running-script/${this.scriptId}/step`)\n },\n received(data) {\n this.cable.recordPing()\n // console.log(data) // Uncomment for debugging\n switch (data.type) {\n case 'file':\n this.files[data.filename] = { content: data.text, lineNo: 0 }\n this.breakpoints[data.filename] = data.breakpoints\n if (this.currentFilename === data.filename) {\n this.restoreBreakpoints(data.filename)\n }\n break\n case 'line':\n if (data.filename && data.filename !== this.currentFilename) {\n if (!this.files[data.filename]) {\n // We don't have the contents of the running file (probably because connected to running script)\n // Set the contents initially to an empty string so we don't start slamming the API\n this.files[data.filename] = { content: '', lineNo: 0 }\n\n // Request the script we need\n Api.get(`/script-api/scripts/${data.filename}`)\n .then((response) => {\n // Success - Save the script text and mark the currentFilename as null\n // so it will get loaded in on the next line executed\n this.files[data.filename] = {\n content: response.data.contents,\n lineNo: 0,\n }\n this.breakpoints[data.filename] = response.data.breakpoints\n this.restoreBreakpoints(data.filename)\n this.currentFilename = null\n })\n .catch((err) => {\n // Error - Restore the file contents to null so we'll try the API again on the next line\n this.files[data.filename] = null\n })\n } else {\n this.editor.setValue(this.files[data.filename].content)\n this.restoreBreakpoints(data.filename)\n this.editor.clearSelection()\n this.currentFilename = data.filename\n }\n }\n this.state = data.state\n const markers = this.editor.session.getMarkers()\n switch (this.state) {\n case 'running':\n this.startOrGoDisabled = false\n this.pauseOrRetryDisabled = false\n this.stopDisabled = false\n this.pauseOrRetryButton = PAUSE\n\n this.removeAllMarkers()\n this.editor.session.addMarker(\n new this.Range(data.line_no - 1, 0, data.line_no - 1, 1),\n 'runningMarker',\n 'fullLine'\n )\n this.editor.gotoLine(data.line_no)\n this.files[data.filename].lineNo = data.line_no\n break\n case 'fatal':\n this.fatal = true\n // Deliberate fall through (no break)\n case 'error':\n this.pauseOrRetryButton = RETRY\n // Deliberate fall through (no break)\n case 'breakpoint':\n case 'waiting':\n case 'paused':\n if (this.state == 'fatal') {\n this.startOrGoDisabled = true\n this.pauseOrRetryDisabled = true\n } else {\n this.startOrGoDisabled = false\n this.pauseOrRetryDisabled = false\n }\n this.stopDisabled = false\n let existing = Object.keys(markers).filter(\n (key) => markers[key].clazz === `${this.state}Marker`\n )\n if (existing.length === 0) {\n this.removeAllMarkers()\n let line = data.line_no > 0 ? data.line_no : 1\n this.editor.session.addMarker(\n new this.Range(line - 1, 0, line - 1, 1),\n `${this.state}Marker`,\n 'fullLine'\n )\n this.editor.gotoLine(line)\n // Fatal errors don't always have a filename set\n if (data.filename) {\n this.files[data.filename].lineNo = line\n }\n }\n break\n default:\n break\n }\n break\n case 'output':\n // data.line can consist of multiple lines split by newlines\n // thus we split and only output if the content is not empty\n for (const line of data.line.split('\\n')) {\n if (line) {\n this.messages.unshift({ message: line })\n }\n }\n while (this.messages.length > this.maxArrayLength) {\n this.messages.pop()\n }\n break\n case 'script':\n this.handleScript(data)\n break\n case 'report':\n this.results.text = data.report\n this.results.show = true\n break\n case 'complete':\n // Don't complete on fatal because we just sit there on the fatal line\n if (!this.fatal) {\n this.removeAllMarkers()\n this.scriptComplete()\n }\n case 'step':\n this.showDebug = true\n break\n default:\n // console.log('Unexpected ActionCable message')\n // console.log(data)\n break\n }\n },\n promptDialogCallback(value) {\n this.prompt.show = false\n Api.post(`/script-api/running-script/${this.scriptId}/prompt`, {\n data: {\n method: this.prompt.method,\n answer: value,\n prompt_id: this.activePromptId,\n },\n })\n },\n handleScript(data) {\n if (data.prompt_complete) {\n this.activePromptId = ''\n this.prompt.show = false\n this.ask.show = false\n return\n }\n this.activePromptId = data.prompt_id\n this.prompt.method = data.method // Set it here since all prompts use this\n this.prompt.layout = 'horizontal' // Reset the layout since most are horizontal\n this.prompt.title = 'Prompt'\n this.prompt.subtitle = ''\n this.prompt.details = ''\n this.prompt.buttons = []\n switch (data.method) {\n case 'ask':\n case 'ask_string':\n // Reset values since this dialog can be re-used\n this.ask.default = null\n this.ask.answerRequired = true\n this.ask.password = false\n this.ask.question = data.args[0]\n // If the second parameter is not true or false it indicates a default value\n if (data.args[1] && data.args[1] !== true && data.args[1] !== false) {\n this.ask.default = data.args[1].toString()\n } else if (data.args[1] === true) {\n // If the second parameter is true it means no value is required to be entered\n this.ask.answerRequired = false\n }\n // The third parameter indicates a password textfield\n if (data.args[2] === true) {\n this.ask.password = true\n }\n this.ask.callback = (value) => {\n this.ask.show = false // Close the dialog\n if (this.ask.password) {\n Api.post(`/script-api/running-script/${this.scriptId}/prompt`, {\n data: {\n method: data.method,\n password: value, // Using password as a key automatically filters it from rails logs\n prompt_id: this.activePromptId,\n },\n })\n } else {\n Api.post(`/script-api/running-script/${this.scriptId}/prompt`, {\n data: {\n method: data.method,\n answer: value,\n prompt_id: this.activePromptId,\n },\n })\n }\n }\n this.ask.show = true // Display the dialog\n break\n case 'prompt_for_hazardous':\n this.prompt.title = 'Hazardous Command'\n this.prompt.message = `Warning: Command ${data.args[0]} ${data.args[1]} is Hazardous. `\n if (data.args[2]) {\n this.prompt.message += data.args[2] + ' '\n }\n this.prompt.message += 'Send?'\n this.prompt.buttons = [{ text: 'Yes', value: 'Yes' }]\n this.prompt.callback = this.promptDialogCallback\n this.prompt.show = true\n break\n case 'prompt':\n if (data.kwargs && data.kwargs.informative) {\n this.prompt.subtitle = data.kwargs.informative\n }\n if (data.kwargs && data.kwargs.details) {\n this.prompt.details = data.kwargs.details\n }\n this.prompt.message = data.args[0]\n this.prompt.buttons = [{ text: 'Ok', value: 'Ok' }]\n this.prompt.callback = this.promptDialogCallback\n this.prompt.show = true\n break\n case 'combo_box':\n if (data.kwargs && data.kwargs.informative) {\n this.prompt.subtitle = data.kwargs.informative\n }\n if (data.kwargs && data.kwargs.details) {\n this.prompt.details = data.kwargs.details\n }\n this.prompt.message = data.args[0]\n data.args.slice(1).forEach((v) => {\n this.prompt.buttons.push({ text: v, value: v })\n })\n this.prompt.combo = true\n this.prompt.layout = 'combo'\n this.prompt.callback = this.promptDialogCallback\n this.prompt.show = true\n break\n case 'message_box':\n case 'vertical_message_box':\n if (data.kwargs && data.kwargs.informative) {\n this.prompt.subtitle = data.kwargs.informative\n }\n if (data.kwargs && data.kwargs.details) {\n this.prompt.details = data.kwargs.details\n }\n this.prompt.message = data.args[0]\n data.args.slice(1).forEach((v) => {\n this.prompt.buttons.push({ text: v, value: v })\n })\n if (data.method.includes('vertical')) {\n this.prompt.layout = 'vertical'\n }\n this.prompt.callback = this.promptDialogCallback\n this.prompt.show = true\n break\n case 'backtrace':\n this.information.title = 'Call Stack'\n this.information.text = data.args\n this.information.show = true\n break\n case 'metadata_input':\n this.inputMetadata.target = data.args[0]\n this.inputMetadata.callback = (value) => {\n this.inputMetadata.show = false\n Api.post(`/script-api/running-script/${this.scriptId}/prompt`, {\n data: {\n method: data.method,\n answer: value,\n prompt_id: this.activePromptId,\n },\n })\n }\n this.inputMetadata.show = true\n break\n case 'open_file_dialog':\n case 'open_files_dialog':\n this.file.title = data.args[0]\n this.file.message = data.args[1]\n if (data.kwargs && data.kwargs.filter) {\n this.file.filter = data.kwargs.filter\n }\n if (data.method == 'open_files_dialog') {\n this.file.multiple = true\n }\n this.file.show = true\n break\n default:\n /* console.log(\n 'Unknown script method:' + data.method + ' with args:' + data.args\n ) */\n break\n }\n },\n async fileDialogCallback(files) {\n this.file.show = false // Close the dialog\n // Set fileNames to 'Cancel' in case they cancelled\n // otherwise we will populate it with the file names they selected\n let fileNames = 'Cancel'\n if (files != 'Cancel') {\n fileNames = []\n await files.forEach(async (file) => {\n fileNames.push(file.name)\n // Reassign data to presignedRequest for readability\n const { data: presignedRequest } = await Api.get(\n `/openc3-api/storage/upload/${encodeURIComponent(\n `${window.openc3Scope}/tmp/${file.name}`\n )}?bucket=OPENC3_CONFIG_BUCKET`\n )\n // This pushes the file into storage by using the fields in the presignedRequest\n // See storage_controller.rb get_presigned_request()\n const response = await axios({\n ...presignedRequest,\n data: file,\n })\n })\n }\n await Api.post(`/script-api/running-script/${this.scriptId}/prompt`, {\n data: {\n method: this.file.multiple ? 'open_files_dialog' : 'open_file_dialog',\n answer: fileNames,\n prompt_id: this.activePromptId,\n },\n })\n },\n setError(event) {\n this.alertType = 'error'\n this.alertText = `Error: ${event}`\n this.showAlert = true\n },\n // ScriptRunner File menu actions\n newFile() {\n this.filename = NEW_FILENAME\n this.currentFilename = null\n this.tempFilename = null\n this.files = {} // Clear the cached file list\n this.editor.session.setValue('')\n this.fileModified = ''\n this.suiteRunner = false\n this.startOrGoDisabled = false\n this.envDisabled = false\n },\n openFile() {\n this.fileOpen = true\n },\n reloadFile() {\n Api.get(`/script-api/scripts/${this.filename}`)\n .then((response) => {\n const file = {\n name: this.filename,\n contents: response.data.contents,\n }\n if (response.data.suites) {\n file['suites'] = JSON.parse(response.data.suites)\n }\n if (response.data.error) {\n file['error'] = response.data.error\n }\n if (response.data.success) {\n file['success'] = response.data.success\n }\n const locked = response.data.locked\n const breakpoints = response.data.breakpoints\n this.setFile({ file, locked, breakpoints }, true)\n })\n .catch((error) => {\n this.$emit('error', `Failed to open ${this.selectedFile}. ${error}`)\n this.clear()\n })\n },\n // Called by the FileOpenDialog to set the file contents\n setFile({ file, locked, breakpoints }, local = false) {\n this.files = {} // Clear the cached file list\n if (local === false) {\n this.unlockFile() // first unlock what was just being edited\n this.lockedBy = locked\n }\n // Split off the ' *' which indicates a file is modified on the server\n this.filename = file.name.split('*')[0]\n this.currentFilename = null\n this.editor.session.setValue(file.contents)\n this.breakpoints[filename] = breakpoints\n this.restoreBreakpoints(filename)\n this.fileModified = ''\n this.envDisabled = false\n\n if (file.suites) {\n this.suiteRunner = true\n this.suiteMap = file.suites\n this.startOrGoDisabled = true\n } else {\n this.suiteRunner = false\n }\n if (file.error) {\n this.suiteError = file.error\n this.showSuiteError = true\n }\n // Disable suite buttons if we didn't successfully parse the suite\n this.disableSuiteButtons = file.success == false\n },\n // saveFile takes a type to indicate if it was called by the Menu\n // or automatically by 'Start' (to ensure a consistent backend file) or autoSave\n saveFile(type = 'menu') {\n const breakpoints = this.getBreakpointRows()\n if (this.filename === NEW_FILENAME) {\n if (type === 'menu') {\n // Menu driven saves on a new file should prompt SaveAs\n this.saveAs()\n } else {\n if (this.tempFilename === null) {\n this.tempFilename =\n TEMP_FOLDER +\n '/' +\n format(Date.now(), 'yyyy_MM_dd_HH_mm_ss_SSS') +\n '_temp.rb'\n }\n this.showSave = true\n Api.post(`/script-api/scripts/${this.tempFilename}`, {\n data: {\n text: this.editor.getValue(), // Pass in the raw file text\n breakpoints,\n },\n })\n .then((response) => {\n this.fileModified = ''\n setTimeout(() => {\n this.showSave = false\n }, 2000)\n })\n .catch((error) => {\n this.showSave = false\n })\n }\n } else {\n // if (this.fileModified.length > 0 || type == 'menu') {\n // Save a file by posting the new contents\n this.showSave = true\n Api.post(`/script-api/scripts/${this.filename}`, {\n data: {\n text: this.editor.getValue(), // Pass in the raw file text\n breakpoints,\n },\n })\n .then((response) => {\n if (response.status == 200) {\n if (response.data.suites) {\n this.startOrGoDisabled = true\n this.suiteRunner = true\n this.suiteMap = JSON.parse(response.data.suites)\n } else {\n this.startOrGoDisabled = false\n this.suiteRunner = false\n this.suiteMap = {}\n }\n if (response.data.error) {\n this.suiteError = response.data.error\n this.showSuiteError = true\n }\n this.fileModified = ''\n setTimeout(() => {\n this.showSave = false\n }, 2000)\n } else {\n this.showSave = false\n this.alertType = 'error'\n this.alertText = `Error saving file. Code: ${response.status} Text: ${response.statusText}`\n this.showAlert = true\n }\n })\n .catch(({ response }) => {\n this.showSave = false\n // 422 error means we couldn't parse the script file into Suites\n // response.data.suites holds the parse result\n if (response.status == 422) {\n this.alertType = 'error'\n this.alertText = response.data.suites\n } else {\n this.alertType = 'error'\n this.alertText = `Error saving file. Code: ${response.status} Text: ${response.statusText}`\n }\n this.showAlert = true\n })\n // }\n }\n this.lockFile() // Ensure this file is locked for editing\n },\n saveAs() {\n this.showSaveAs = true\n },\n saveAsFilename(filename) {\n this.filename = filename.split('*')[0]\n this.currentFilename = null\n if (this.tempFilename) {\n Api.post(`/script-api/scripts/${this.tempFilename}/delete`)\n this.tempFilename = null\n }\n this.saveFile('menu')\n },\n delete() {\n let filename = this.filename\n if (this.tempFilename) {\n filename = this.tempFilename\n }\n this.$dialog\n .confirm(`Permanently delete file: ${filename}`, {\n okText: 'Delete',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n return Api.post(`/script-api/scripts/${filename}/delete`, {\n data: {},\n })\n })\n .then((response) => {\n this.newFile()\n })\n .catch((error) => {\n if (error) {\n const alertObject = {\n text: `Failed Multi-Delete. ${error}`,\n type: 'error',\n }\n this.$emit('alert', alertObject)\n }\n })\n },\n download() {\n const blob = new Blob([this.editor.getValue()], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute('download', this.filename)\n link.click()\n },\n // ScriptRunner Script menu actions\n rubySyntaxCheck() {\n Api.post('/script-api/scripts/syntax', {\n data: this.editor.getValue(),\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'plain/text',\n },\n }).then((response) => {\n this.information.title = response.data.title\n this.information.text = JSON.parse(response.data.description)\n this.information.show = true\n })\n },\n showInstrumented() {\n Api.post(`/script-api/scripts/${this.filename}/instrumented`, {\n data: this.editor.getValue(),\n headers: {\n Accept: 'application/json',\n 'Content-Type': 'plain/text',\n },\n }).then((response) => {\n this.information.title = response.data.title\n this.information.text = JSON.parse(response.data.description)\n this.information.show = true\n })\n },\n showCallStack() {\n Api.post(`/script-api/running-script/${this.scriptId}/backtrace`)\n },\n toggleDebug() {\n this.showDebug = !this.showDebug\n },\n toggleDisconnect() {\n this.showDisconnect = !this.showDisconnect\n },\n\n debugKeydown(event) {\n if (event.key === 'Escape') {\n this.debug = ''\n this.debugHistoryIndex = this.debugHistory.length\n } else if (event.key === 'Enter') {\n this.debugHistory.push(this.debug)\n this.debugHistoryIndex = this.debugHistory.length\n // Post the code to /debug, output is processed by receive()\n Api.post(`/script-api/running-script/${this.scriptId}/debug`, {\n data: {\n args: this.debug,\n },\n })\n this.debug = ''\n } else if (event.key === 'ArrowUp') {\n this.debugHistoryIndex -= 1\n if (this.debugHistoryIndex < 0) {\n this.debugHistoryIndex = this.debugHistory.length - 1\n }\n this.debug = this.debugHistory[this.debugHistoryIndex]\n // Prevent the cursor/caret from moving to the front\n event.preventDefault()\n } else if (event.key === 'ArrowDown') {\n this.debugHistoryIndex += 1\n if (this.debugHistoryIndex >= this.debugHistory.length) {\n this.debugHistoryIndex = 0\n }\n this.debug = this.debugHistory[this.debugHistoryIndex]\n }\n },\n removeAllMarkers: function () {\n const allMarkers = this.editor.session.getMarkers()\n Object.keys(allMarkers)\n .filter((key) => allMarkers[key].type === 'fullLine')\n .forEach((marker) => this.editor.session.removeMarker(marker))\n },\n confirmLocalUnlock: function () {\n this.$dialog\n .confirm(\n 'Are you sure you want to unlock this script for editing? If another user is editing this script, your changes might conflict with each other.',\n {\n okText: 'Force Unlock',\n cancelText: 'Cancel',\n }\n )\n .then(() => {\n this.lockedBy = null\n return this.lockFile() // Re-lock it as this user so it's locked for anyone else who opens it\n })\n },\n lockFile: function () {\n return Api.post(`/script-api/scripts/${this.filename}/lock`)\n },\n unlockFile: function () {\n if (this.filename !== NEW_FILENAME && !this.readOnly) {\n Api.post(`/script-api/scripts/${this.filename}/unlock`)\n }\n },\n },\n}\n</script>\n\n<style scoped>\n#sr-controls {\n padding-top: 0px;\n padding-bottom: 5px;\n padding-left: 0px;\n padding-right: 0px;\n}\n#editorbox {\n height: 50vh;\n}\n#editor {\n height: 100%;\n width: 100%;\n position: relative;\n font-size: 16px;\n}\nhr {\n pointer-events: none;\n position: relative;\n top: 7px;\n background-color: grey;\n height: 3px;\n width: 5%;\n margin: auto;\n}\n.script-state :deep(input) {\n text-transform: capitalize;\n}\n</style>\n<style>\n.runningMarker {\n position: absolute;\n background: rgba(0, 255, 0, 0.5);\n z-index: 20;\n}\n.waitingMarker {\n position: absolute;\n background: rgba(0, 155, 0, 1);\n z-index: 20;\n}\n.breakpointMarker {\n position: absolute;\n border-style: solid;\n border-color: red;\n background: rgba(0, 255, 0, 0.5);\n z-index: 20;\n}\n.pausedMarker {\n position: absolute;\n background: rgba(0, 140, 255, 0.5);\n z-index: 20;\n}\n.errorMarker {\n position: absolute;\n background: rgba(255, 0, 119, 0.5);\n z-index: 20;\n}\n.fatalMarker {\n position: absolute;\n background: rgba(255, 0, 0, 0.5);\n z-index: 20;\n}\n.saving {\n z-index: 20;\n opacity: 0.35;\n}\n.ace_gutter-cell.ace_breakpoint {\n border-radius: 20px 0px 0px 20px;\n box-shadow: 0px 0px 1px 1px red inset;\n}\n</style>\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptRunner.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptRunner.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScriptRunner.vue?vue&type=template&id=9f3f52f4&scoped=true&\"\nimport script from \"./ScriptRunner.vue?vue&type=script&lang=js&\"\nexport * from \"./ScriptRunner.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ScriptRunner.vue?vue&type=style&index=0&id=9f3f52f4&prod&scoped=true&lang=css&\"\nimport style1 from \"./ScriptRunner.vue?vue&type=style&index=1&id=9f3f52f4&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9f3f52f4\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"#sr-controls[data-v-9f3f52f4]{padding-top:0;padding-bottom:5px;padding-left:0;padding-right:0}#editorbox[data-v-9f3f52f4]{height:50vh}#editor[data-v-9f3f52f4]{height:100%;width:100%;font-size:16px}#editor[data-v-9f3f52f4],hr[data-v-9f3f52f4]{position:relative}hr[data-v-9f3f52f4]{pointer-events:none;top:7px;background-color:grey;height:3px;width:5%;margin:auto}.script-state[data-v-9f3f52f4] input{text-transform:capitalize}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".runningMarker{position:absolute;background:rgba(0,255,0,.5);z-index:20}.waitingMarker{position:absolute;background:#009b00;z-index:20}.breakpointMarker{position:absolute;border-style:solid;border-color:red;background:rgba(0,255,0,.5);z-index:20}.pausedMarker{background:rgba(0,140,255,.5)}.errorMarker,.pausedMarker{position:absolute;z-index:20}.errorMarker{background:rgba(255,0,119,.5)}.fatalMarker{position:absolute;background:rgba(255,0,0,.5);z-index:20}.saving{z-index:20;opacity:.35}.ace_gutter-cell.ace_breakpoint{border-radius:20px 0 0 20px;box-shadow:inset 0 0 1px 1px red}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-list[data-v-2eb37f67] .v-label{margin-left:5px}.v-list-item__icon[data-v-2eb37f67]{margin-right:15px!important}.v-list-item__title[data-v-2eb37f67]{color:#fff}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"#tr-container[data-v-3372ac08]{padding-top:0;padding-bottom:15px;padding-left:0;padding-right:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptRunner.vue?vue&type=style&index=0&id=9f3f52f4&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"eaed7f4e\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ScriptRunner.vue?vue&type=style&index=1&id=9f3f52f4&prod&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"076b61cf\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=2eb37f67&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"706a3f6d\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SuiteRunner.vue?vue&type=style&index=0&id=3372ac08&prod&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"0aed5680\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_c","_self","attrs","menus","title","alertType","scopedSlots","_u","key","fn","_b","on","$event","showAlert","_v","model","value","callback","$$v","expression","_s","alertText","confirmLocalUnlock","showReadOnlyToast","lockedBy","suiteRunner","suiteMap","disableSuiteButtons","suiteRunnerButton","_e","showDisconnect","staticClass","_g","filename","NEW_FILENAME","reloadFile","staticStyle","fileList","length","fileNameChanged","fullFilename","scriptId","state","startOrGoButton","startOrGoDisabled","startHandler","environmentIconColor","envDisabled","scriptEnvironment","show","environmentIcon","go","pauseOrRetryDisabled","pauseOrRetry","pauseOrRetryButton","stopDisabled","stop","editor","resize","showSave","preventDefault","showExecuteSelectionMenu","apply","arguments","menuX","menuY","executeSelectionMenu","_l","executeSelectionMenuItems","item","label","command","ref","showDebug","stepDisabled","step","debugKeydown","debug","messages","fileOpen","setFile","setError","showSaveAs","filenameOrBlank","saveAsFilename","showEnvironment","ask","question","default","password","answerRequired","$set","file","message","multiple","filter","fileDialogCallback","information","text","inputMetadata","target","showOverrides","prompt","subtitle","details","buttons","layout","results","env","environmentHandler","suiteError","showSuiteError","showStartedScripts","fileModified","staticRenderFns","ActionCable","Cable","url","_cable","disconnect","channel","scope","callbacks","additionalOptions","OpenC3Auth","updateToken","defaultMinValidity","then","subscriptions","create","token","localStorage","openc3Token","connection","monitor","recordPing","vueInstance","Vue","axiosInstance","axios","baseURL","location","origin","timeout","params","interceptors","response","use","error","status","headers","includes","toString","Promise","reject","body","statusText","config","data","exception","class","$notify","serious","request","method","noAuth","noScope","login","window","openc3Scope","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","get","path","put","post","delete","type","indexOf","_k","keyCode","success","handleSearch","search","items","activeFile","open","name","deleteTemp","tree","selectedFile","directives","rawName","domProps","disableButtons","submit","props","required","validator","apiUrl","requireTargetParentDir","inputFilename","id","targets","computed","set","validFilenameRegex","created","Api","methods","loadFiles","catch","clear","exists","root","found","confirm","okText","cancelText","openSuccess","contents","locked","breakpoints","saveSuccess","insertFile","children","level","parts","component","addEnvironment","environment","deleteEnvironment","keyValue","alert","align","sortable","mounted","alertHandler","update","width","download","link","menu","i","formatDT","radioGroup","option","j","divider","disabled","radio","checkbox","checked","icon","style","document","OpenC3Api","kwparams","headerOptions","jsonrpc","keyword_params","Authorization","result","err","Error","val","json_class","raw","NaN","Infinity","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","offline_access_needed","needed","openc3OfflineToken","set_offline_access","getOfflineAccess","exec","offline_access_token","target_name","interface_name","interface_params","router_name","target_commands","packet","log_writer_name","limits_set","packet_name","value_type","stale_time","len","converted","decode_openc3_type","item_name","undefined","item_hash","command_name","parameter_name","param_list","Object","prototype","hasOwnProperty","call","encode_openc3_type","_cmd","tool","ignored","array","string","isSecureContext","arrayBuffer","TextEncoder","encode","crypto","subtle","digest","hashAsArrayBuffer","uint8ViewOfHash","Uint8Array","Array","from","map","b","padStart","join","submitHandler","valid","rules","inputValue","cancelHandler","line","index","newMetadata","metadata","meta","rm","lastUpdated","inputError","cancel","updateMetadata","components","color","getMetadata","updateValues","clearOverrides","overrides","itemsPerPageOptions","showFirstLastPage","firstIcon","lastIcon","prevIcon","nextIcon","deleteOverride","api","getOverrides","normalize_tlm","selectOkDisabled","selectedItem","layoutClass","button","submitWrapper","downloadResults","format","selected","updateEnvironment","environmentItems","addEnvironmentItem","deadSelect","newEnvironment","readonly","environmentOptions","getEnvironment","EnvironmentChooser","inputEnvironment","loadEnvironment","options","suites","suiteChanged","suite","$emit","setupSuiteEnabled","teardownSuiteEnabled","groups","groupChanged","group","setupGroupEnabled","teardownGroupEnabled","scripts","scriptChanged","script","watch","handler","deep","updateSuiteMap","initSuites","downloadLog","clearLog","getKeywords","getAutocompleteData","groupBy","lambda","reduce","push","toMethodCallSyntaxRegex","word","prefix","opening","RegExp","PacketCompleter","dataReadyCallback","expressionsReadyCallback","session","position","matches","lineBeforeCursor","doc","$lines","row","slice","column","keywordExpressions","some","regex","match","autocompleteData","CmdCompleter","TlmCompleter","groupedPacketData","packetName","caption","itemName","snippet","replace","amendedItem","packets","keys","foundPacket","find","toKeywordRegex","interpolatedStringRegex","alternateSyntaxRegex","MnemonicChecker","split","trim","cmdMatch","cmdKeywordExpressions","tlmMatch","tlmKeywordExpressions","matchStr","mnemonicMatch","substring","linesToSkip","usingAlternateSyntax","mnemonicParts","mnemonic","mnemonicParams","param","property","linesToCheck","lineNumber","_checkLines","problems","skipped","sort","a","problemLines","targetGroups","lineObj","packetGroups","cmdOrTlm","packetInfo","get_target_list","forEach","cmd","tlm","RegexAnnotator","pattern","event","lines","action","start","end","annotate","openc3Id","newAnnotation","setAnnotations","getAnnotations","annotation","count","Math","floor","random","SleepAnnotator","keyword","suffix","getRunningScripts","runningSearch","runningHeaders","runningScripts","connectScript","connectInNewTab","stopScript","deleteScript","getCompletedScripts","completedSearch","completedHeaders","completedScripts","downloadScript","downloadScriptLog","proxy","tabId","curTab","filterable","href","encodeURIComponent","FileOpenSaveDialog","EnvironmentDialog","Multipane","MultipaneResizer","TopBar","AskDialog","FileDialog","InformationDialog","InputMetadataDialog","OverridesDialog","PromptDialog","ResultsDialog","ScriptEnvironmentDialog","SimpleTextDialog","SuiteRunner","RunningScripts","ScriptLogMessages","currentFilename","debugHistory","debugHistoryIndex","files","tempFilename","areYouSure","subscription","cable","fatal","maxArrayLength","Range","directory","mnemonicChecker","activePromptId","filenames","readOnly","openC3Mode","sleepAnnotator","beforeDestroy","destroyed","clearInterval","beforeRouteUpdate","next","buildOpenC3Mode","RubyHighlightRules","oop","tryLoadRunningScript","tryLoadSuites","runFromCursor","getLines","executeSelection","executeText","TEMP_FOLDER","selectionTempFilename","clearBreakpoints","toggleBreakpoint","updateBreakpoints","offset","rowsToUpdate","rowsToDelete","getBreakpointRows","getBreakpoints","restoreBreakpoints","deleteAllBreakpoints","keydown","onChange","checkMnemonics","checkText","html","scriptStart","createSubscription","received","scriptComplete","content","lineNo","promptDialogCallback","answer","prompt_id","handleScript","fileNames","presignedRequest","newFile","openFile","saveFile","setTimeout","saveAs","rubySyntaxCheck","showInstrumented","showCallStack","toggleDebug","toggleDisconnect","args","removeAllMarkers","lockFile","unlockFile","___CSS_LOADER_EXPORT___","module","__esModule","locals","exports","add"],"sourceRoot":""}