openc3-tool-scriptrunner 5.0.10 → 5.0.11

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/651.js","mappings":"y7XAAA,IAAIA,EAAS,WAAiB,WAAC,IAAIC,GAAG,WAACC,MAAKC,GAAE,WAACF,EAAIG,MAAMD,IAAG,OAA9B,WAAqCA,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,EAAQ,EAARA,MAAS,OAAD,sBAAQ,CAACF,EAAG,QAAQF,EAAIY,GAAG,CAACR,MAAM,CAAC,KAAO,IAAIS,GAAG,CAAC,MAAQ,SAASC,GAAO,sBAACd,EAAIe,WAAY,CAAM,IAAG,QAAQX,GAAM,GAAO,CAACJ,EAAIgB,GAAG,aAAc,KAAIC,MAAM,CAACC,MAAOlB,EAAIe,UAAWI,SAAS,SAAUC,GAAK,sBAACpB,EAAIe,UAAUK,CAAI,EAACC,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,EAAQ,EAARA,MAAS,OAAD,sBAAQ,CAACF,EAAG,QAAQF,EAAIY,GAAG,CAACR,MAAM,CAAC,KAAO,GAAG,MAAQ,SAAS,YAAY,iBAAiBS,GAAG,CAAC,MAAQb,EAAIwB,qBAAqB,QAAQpB,GAAM,GAAO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I6W,EAAS,MAC7DA,EAAQyB,SAAQF,EAAOG,QAAU1B,EAAQyB,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAY3B,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/services/cable.js","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/services/axios.js","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/services/api.js","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/FileOpenSaveDialog.vue","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/FileOpenSaveDialog.vue?cfc6","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/FileOpenSaveDialog.vue?07a6","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentDialog.vue","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentDialog.vue?cd29","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentDialog.vue?e342","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/SimpleTextDialog.vue?fdb7","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?d3cb","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/AskDialog.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/Dialogs/AskDialog.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/AskDialog.vue?4104","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/AskDialog.vue?25c8","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/FileDialog.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/Dialogs/FileDialog.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/FileDialog.vue?a185","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/FileDialog.vue?4b4b","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InformationDialog.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/Dialogs/InformationDialog.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InformationDialog.vue?24db","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InformationDialog.vue?5b59","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue?3e40","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/InputMetadataDialog.vue?fb29","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/PromptDialog.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/Dialogs/PromptDialog.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/PromptDialog.vue?2065","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/PromptDialog.vue?bed5","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ResultsDialog.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/Dialogs/ResultsDialog.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ResultsDialog.vue?ea3e","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ResultsDialog.vue?c34d","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentChooser.vue","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentChooser.vue?d412","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/EnvironmentChooser.vue?4c43","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue?cac1","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/Dialogs/ScriptEnvironmentDialog.vue?e122","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/SuiteRunner.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?dc7e","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?9149","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptLogMessages.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/ScriptLogMessages.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptLogMessages.vue?8c33","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptLogMessages.vue?040a","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/utilities.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/packetCompleter.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/cmdCompleter.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/tlmCompleter.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/autocomplete/mnemonicChecker.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/annotations/regexAnnotator.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/annotations/sleepAnnotator.js","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/RunningScripts.vue","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/RunningScripts.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/RunningScripts.vue?f826","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/RunningScripts.vue?2fa8","webpack://@openc3/tool-scriptrunner/src/tools/ScriptRunner/ScriptRunner.vue","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?913e","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?e7a4","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?ce29","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?9623","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?0ec3","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?ac85","webpack://@openc3/tool-scriptrunner/../openc3-tool-common/src/components/TopBar.vue?37f7","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?045a","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/ScriptRunner.vue?e6f2","webpack://@openc3/tool-scriptrunner/./src/tools/ScriptRunner/SuiteRunner.vue?b29a"],"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',{attrs:{\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"items\":_vm.fileList,\"disabled\":_vm.fileList.length <= 1,\"label\":\"Filename\",\"id\":\"filename\",\"data-test\":\"filename\"},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\",\"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.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\nimport * as ActionCable from '@rails/actioncable'\n//ActionCable.logger.enabled = true\nActionCable.ConnectionMonitor.staleThreshold = 60\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}\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\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 vueInstance.$notify.serious({\n title: 'Network error',\n body,\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\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')+\" \")])]}}]),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/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/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=51e4f5be&\"\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/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/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=07496eb1&\"\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/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/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=ae5a22c8&\"\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\":option.command}},[(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,\"value\":option.label},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:\"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/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/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=5fb8d7fb&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=5fb8d7fb&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 \"5fb8d7fb\",\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\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 // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n connect_interface(interface_name) {\n return this.exec('connect_interface', [interface_name])\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_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_oldest_logfile() {\n return this.exec('get_oldest_logfile', [])\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) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\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) {\n const data = await this.exec('get_tlm_values', [items])\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, data_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: data_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 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 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 // 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',[_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\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>{{ question }}</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/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/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=a08991fa&\"\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',[_vm._v(_vm._s(_vm.title))])],1),(_vm.message)?_c('v-row',[_c('span',{staticClass:\"ma-3\",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\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>{{ title }}</v-card-title>\n </v-row>\n <v-row v-if=\"message\">\n <span class=\"ma-3\" v-text=\"message\" />\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/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/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=3fe80151&\"\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',{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',{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\n<template>\n <!-- INFO -->\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span 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 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/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/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=f02fbe90&\"\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\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/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/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=107928ec&\"\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:{\"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',{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',[_vm._v(_vm._s(_vm.subtitle))])],1):_vm._e(),_c('v-row',{staticClass:\"mt-1\"},[_c('span',{domProps:{\"textContent\":_vm._s(_vm.message)}})]),(_vm.details)?_c('v-row',{staticClass:\"mt-1\"},[_c('span',{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\n<template>\n <v-dialog persistent v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span 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>{{ subtitle }}</v-card-subtitle>\n </v-row>\n <v-row class=\"mt-1\">\n <span v-text=\"message\" />\n </v-row>\n <v-row v-if=\"details\" class=\"mt-1\">\n <span 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/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/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=b6041f86&\"\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\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/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/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=4970398b&\"\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/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/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=3f74d360&\"\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\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/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/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=0b65deca&\"\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\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/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/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=3677302c&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=3677302c&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 \"3677302c\",\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\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/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/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=2c4db24e&\"\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\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\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\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\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\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\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\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","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',[_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,\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"multi-sort\":\"\",\"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-data-table',{attrs:{\"headers\":_vm.completedHeaders,\"items\":_vm.completedScripts,\"search\":_vm.completedSearch,\"calculate-widths\":\"\",\"hide-default-footer\":\"\",\"multi-sort\":\"\",\"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)\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\n<template>\n <div>\n <v-card flat>\n <v-card-title> Running Scripts </v-card-title>\n <v-card-text>\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 calculate-widths\n disable-pagination\n hide-default-footer\n multi-sort\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-data-table\n :headers=\"completedHeaders\"\n :items=\"completedScripts\"\n :search=\"completedSearch\"\n calculate-widths\n hide-default-footer\n multi-sort\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-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 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=logs`\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 Minio '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/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/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=1dd36d72&\"\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\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 outlined\n dense\n hide-details\n :items=\"fileList\"\n :disabled=\"fileList.length <= 1\"\n label=\"Filename\"\n v-model=\"fullFilename\"\n @change=\"fileNameChanged\"\n id=\"filename\"\n data-test=\"filename\"\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 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 <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 { toDate, 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 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\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 PromptDialog,\n ResultsDialog,\n ScriptEnvironmentDialog,\n SimpleTextDialog,\n SuiteRunner,\n RunningScripts,\n ScriptLogMessages,\n },\n data() {\n return {\n title: '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 activePromptId: '',\n }\n },\n computed: {\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 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 // 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.tempFilename) {\n Api.post(`/script-api/scripts/${this.tempFilename}/delete`)\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 this.alertType = 'success'\n this.alertText = `Currently ${response.data.length} running scripts.`\n this.showAlert = true\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 format(Date.now(), 'yyyy_MM_dd_HH_mm_ss_SSS') + '_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 if (\n $event.domEvent.which === 1 && // left click\n $event.domEvent.path[0].classList.contains('ace_gutter-cell') // on a line number\n ) {\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 },\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 // 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 this.messages.unshift({ message: data.line })\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 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 'input_metadata':\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=config`\n )\n // This pushes the file into S3 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.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 format(Date.now(), 'yyyy_MM_dd_HH_mm_ss_SSS') + '_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\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 // TODO: Delete instead of post\n this.$dialog\n .confirm(`Permanently delete file: ${this.filename}`, {\n okText: 'Delete',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n return Api.post(`/script-api/scripts/${this.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/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/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=700cab85&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=700cab85&prod&scoped=true&lang=css&\"\nimport style1 from \"./ScriptRunner.vue?vue&type=style&index=1&id=700cab85&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 \"700cab85\",\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, \".v-list[data-v-5fb8d7fb] .v-label{margin-left:5px}.v-list-item__icon[data-v-5fb8d7fb]{margin-right:15px!important}.v-list-item__title[data-v-5fb8d7fb]{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, \"#sr-controls[data-v-700cab85]{padding-top:0;padding-bottom:5px;padding-left:0;padding-right:0}#editorbox[data-v-700cab85]{height:50vh}#editor[data-v-700cab85]{height:100%;width:100%;font-size:16px}#editor[data-v-700cab85],hr[data-v-700cab85]{position:relative}hr[data-v-700cab85]{pointer-events:none;top:7px;background-color:grey;height:3px;width:5%;margin:auto}.script-state[data-v-700cab85] 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, \"#tr-container[data-v-3677302c]{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!./TopBar.vue?vue&type=style&index=0&id=5fb8d7fb&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(\"7bc1978b\", 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=0&id=700cab85&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(\"52120bb7\", 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=700cab85&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(\"4eee7c81\", 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=3677302c&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(\"44bd3cea\", 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","fileList","length","fileNameChanged","fullFilename","staticStyle","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","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","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","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","tree","selectedFile","directives","name","rawName","domProps","disableButtons","submit","props","required","validator","apiUrl","requireTargetParentDir","inputFilename","id","targets","computed","set","validFilenameRegex","created","Api","catch","methods","clear","exists","root","found","openSuccess","contents","locked","breakpoints","saveSuccess","confirm","okText","cancelText","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","exec","interface_name","router_name","target_commands","packet","log_writer_name","limits_set","target_name","packet_name","value_type","len","converted","decode_openc3_type","item_name","data_type","undefined","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","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","event","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","api","packetInfo","get_target_list","forEach","cmd","tlm","RegexAnnotator","pattern","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","encodeURIComponent","FileOpenSaveDialog","EnvironmentDialog","Multipane","MultipaneResizer","TopBar","AskDialog","FileDialog","InformationDialog","InputMetadataDialog","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","MatchingBraceOutdent","CstyleBehaviour","Mode","tryLoadRunningScript","tryLoadSuites","runFromCursor","getLines","executeSelection","executeText","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":""}