openc3-cosmos-tool-admin 5.11.0 → 5.11.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[782],{8566:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{attrs:{"data-test":"interfaceList"}},e._l(e.interfaces,(function(n,i){return t("div",{key:n},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(n))])],1),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(i){var o=i.on,r=i.attrs;return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showInterface(n)}}},"v-icon",r,!1),o),[e._v("\n mdi-eye\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("Show Interface Details")])])],1)],1),e._v(" "),i<e.interfaces.length-1?t("v-divider",{key:i}):e._e()],1)})),0),e._v(" "),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Interface",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e()],1)},o=[],r=(n(6710),n(6129)),a=n(9564),s={components:{EditDialog:a.Z},data:function(){return{interfaces:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var e=this;r.Z.get("/openc3-api/interfaces").then((function(t){e.interfaces=t.data}))},showInterface:function(e){var t=this;r.Z.get("/openc3-api/interfaces/".concat(e)).then((function(n){t.jsonContent=JSON.stringify(n.data,null,"\t"),t.dialogTitle=e,t.showDialog=!0}))},dialogCallback:function(e){this.showDialog=!1}}},c=s,l=n(3483),g=(0,l.Z)(c,i,o,!1,null,null,null),u=g.exports},8367:function(e,t,n){e=n.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var i=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};i.inherits(r,o),t.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var i=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t),o=n.match(/^(\s*\})/);if(!o)return 0;var r=o[1].length,a=e.findMatchingBracket({row:t,column:r});if(!a||a.row==t)return 0;var s=this.$getIndent(e.getLine(a.row));e.replace(new i(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var i=e("../../lib/oop"),o=e("../../range").Range,r=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};i.inherits(a,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var i=e.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(i)?"start":o},this.getFoldWidgetRange=function(e,t,n,i){var o=e.getLine(n);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,n);var r=o.match(this.foldingStartMarker);if(r){var a=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,a);var s=e.getCommentFoldRange(n,a+r[0].length,1);return s&&!s.isMultiLine()&&(i?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}if("markbegin"!==t){r=o.match(this.foldingStopMarker);if(r){a=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],n,a):e.getCommentFoldRange(n,a,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),i=n.search(/\S/),r=t,a=n.length;t+=1;var s=t,c=e.getLength();while(++t<c){n=e.getLine(t);var l=n.search(/\S/);if(-1!==l){if(i>l)break;var g=this.getFoldWidgetRange(e,"all",t);if(g){if(g.start.row<=r)break;if(g.isMultiLine())t=g.end.row;else if(i==l)break}s=t}}return new o(r,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){var i=t.search(/\s*$/),r=e.getLength(),a=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;while(++n<r){t=e.getLine(n);var l=s.exec(t);if(l&&(l[1]?c--:c++,!c))break}var g=n;if(g>a)return new o(a,i,g,t.length)}}.call(a.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var i=e("../lib/oop"),o=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/cstyle").FoldMode,c=e("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new s};i.inherits(l,o),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var i=this.$getIndent(t);if("start"==e){var o=t.match(/^.*[\{\(\[]\s*$/);o&&(i+=n)}return i},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new c(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(l.prototype),t.Mode=l})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()}}]);
2
+ //# sourceMappingURL=782.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/782.js","mappings":"8LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,YAAY,kBAAkBJ,EAA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nD,EAAEmE,iBAAiBpE,EAAEqE,eAAepE,EAAEtC,GAAG,YAAW,SAASsC,GAAGD,EAAEsE,eAAerE,EAAEnB,KAAK,IAAGmB,EAAEtC,GAAG,aAAY,WAAWqC,EAAEuE,kBAAkB,IAAGtE,CAAC,EAAErD,KAAK4H,IAAI,eAAe,EAAE1C,KAAKwB,EAAEvB,WAAW9B,EAAEwD,KAAKH,CAAC,IAAmB,WACjnKxD,IAAI2E,QAAQ,CAAC,kBAAkB,SAASC,GAC2BC,IAC3DA,EAAOC,QAAUF,EAEzB,GACH,CANonK,E","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue?59b7","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue?289f","webpack://@openc3/cosmos-tool-admin/../../node_modules/ace-builds/src-min-noconflict/mode-json.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-list',{attrs:{\"data-test\":\"interfaceList\"}},_vm._l((_vm.interfaces),function(openc3_interface,index){return _c('div',{key:openc3_interface},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(openc3_interface))])],1),_vm._v(\" \"),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showInterface(openc3_interface)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-eye\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Show Interface Details\")])])],1)],1),_vm._v(\" \"),(index < _vm.interfaces.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_vm._v(\" \"),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"type\":\"Interface\",\"name\":_vm.dialogTitle,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InterfacesTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InterfacesTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InterfacesTab.vue?vue&type=template&id=e825dd58&\"\nimport script from \"./InterfacesTab.vue?vue&type=script&lang=js&\"\nexport * from \"./InterfacesTab.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","ace.define(\"ace/mode/json_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text_highlight_rules\").TextHighlightRules,s=function(){this.$rules={start:[{token:\"variable\",regex:'[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]\\\\s*(?=:)'},{token:\"string\",regex:'\"',next:\"string\"},{token:\"constant.numeric\",regex:\"0[xX][0-9a-fA-F]+\\\\b\"},{token:\"constant.numeric\",regex:\"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"},{token:\"constant.language.boolean\",regex:\"(?:true|false)\\\\b\"},{token:\"text\",regex:\"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"},{token:\"comment\",regex:\"\\\\/\\\\/.*$\"},{token:\"comment.start\",regex:\"\\\\/\\\\*\",next:\"comment\"},{token:\"paren.lparen\",regex:\"[[({]\"},{token:\"paren.rparen\",regex:\"[\\\\])}]\"},{token:\"punctuation.operator\",regex:/[,]/},{token:\"text\",regex:\"\\\\s+\"}],string:[{token:\"constant.language.escape\",regex:/\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[\"\\\\\\/bfnrt])/},{token:\"string\",regex:'\"|$',next:\"start\"},{defaultToken:\"string\"}],comment:[{token:\"comment.end\",regex:\"\\\\*\\\\/\",next:\"start\"},{defaultToken:\"comment\"}]}};r.inherits(s,i),t.JsonHighlightRules=s}),ace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\\s+$/.test(e)?/^\\s*\\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\\s*\\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"],function(e,t,n){\"use strict\";var r=e(\"../../lib/oop\"),i=e(\"../../range\").Range,s=e(\"./fold_mode\").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/,this.foldingStopMarker=/^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/,this.singleLineBlockCommentRe=/^\\s*(\\/\\*).*\\*\\/\\s*$/,this.tripleStarBlockCommentRe=/^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/,this.startRegionRe=/^\\s*(\\/\\*|\\/\\/)#?region\\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return\"\";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?\"start\":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!=\"all\"&&(u=null)),u}if(t===\"markbegin\")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,\"all\",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\\s*$/),s=e.getLength(),o=n,u=/^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define(\"ace/mode/json\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/json_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/folding/cstyle\",\"ace/worker/worker_client\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text\").Mode,s=e(\"./json_highlight_rules\").JsonHighlightRules,o=e(\"./matching_brace_outdent\").MatchingBraceOutdent,u=e(\"./folding/cstyle\").FoldMode,a=e(\"../worker/worker_client\").WorkerClient,f=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new u};r.inherits(f,i),function(){this.lineCommentStart=\"//\",this.blockComment={start:\"/*\",end:\"*/\"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if(e==\"start\"){var i=t.match(/^.*[\\{\\(\\[]\\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a([\"ace\"],\"ace/mode/json_worker\",\"JsonWorker\");return t.attachToDocument(e.getDocument()),t.on(\"annotate\",function(t){e.setAnnotations(t.data)}),t.on(\"terminate\",function(){e.clearAnnotations()}),t},this.$id=\"ace/mode/json\"}.call(f.prototype),t.Mode=f}); (function() {\n ace.require([\"ace/mode/json\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"names":["render","_vm","this","_c","_self","attrs","_l","interfaces","openc3_interface","index","key","_v","_s","scopedSlots","_u","fn","_ref","on","_g","_b","$event","showInterface","length","_e","showDialog","jsonContent","dialogTitle","dialogCallback","model","value","callback","$$v","expression","staticRenderFns","components","EditDialog","data","mounted","update","methods","_this","Api","get","then","response","name","_this2","concat","JSON","stringify","content","component","ace","define","e","t","n","r","i","TextHighlightRules","s","$rules","start","token","regex","next","string","defaultToken","comment","inherits","JsonHighlightRules","Range","checkOutdent","test","autoOutdent","getLine","match","o","findMatchingBracket","row","column","u","$getIndent","replace","call","prototype","MatchingBraceOutdent","FoldMode","foldingStartMarker","RegExp","source","foldingStopMarker","end","singleLineBlockCommentRe","tripleStarBlockCommentRe","startRegionRe","_getFoldWidgetBase","getFoldWidget","getFoldWidgetRange","getCommentRegionBlock","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","Mode","WorkerClient","HighlightRules","$outdent","$behaviour","$defaultBehaviour","foldingRules","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","$id","require","m","module","exports"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[895],{8303:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var o=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{attrs:{"data-test":"routerList"}},e._l(e.routers,(function(n,o){return t("div",{key:o},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(n))])],1),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(o){var i=o.on,r=o.attrs;return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showRouter(n)}}},"v-icon",r,!1),i),[e._v("\n mdi-eye\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("Show Router Details")])])],1)],1),e._v(" "),o<e.routers.length-1?t("v-divider",{key:o}):e._e()],1)})),0),e._v(" "),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Router",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e()],1)},i=[],r=(n(6710),n(6129)),a=n(9564),s={components:{EditDialog:a.Z},data:function(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var e=this;r.Z.get("/openc3-api/routers").then((function(t){e.routers=t.data}))},add:function(){},showRouter:function(e){var t=this;r.Z.get("/openc3-api/routers/".concat(e)).then((function(n){t.jsonContent=JSON.stringify(n.data,null,"\t"),t.dialogTitle=e,t.showDialog=!0}))},dialogCallback:function(e){this.showDialog=!1}}},c=s,l=n(3483),u=(0,l.Z)(c,o,i,!1,null,null,null),g=u.exports},8367:function(e,t,n){e=n.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};o.inherits(r,i),t.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var r=i[1].length,a=e.findMatchingBracket({row:t,column:r});if(!a||a.row==t)return 0;var s=this.$getIndent(e.getLine(a.row));e.replace(new o(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(a,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var r=i.match(this.foldingStartMarker);if(r){var a=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,a);var s=e.getCommentFoldRange(n,a+r[0].length,1);return s&&!s.isMultiLine()&&(o?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}if("markbegin"!==t){r=i.match(this.foldingStopMarker);if(r){a=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],n,a):e.getCommentFoldRange(n,a,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),r=t,a=n.length;t+=1;var s=t,c=e.getLength();while(++t<c){n=e.getLine(t);var l=n.search(/\S/);if(-1!==l){if(o>l)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=r)break;if(u.isMultiLine())t=u.end.row;else if(o==l)break}s=t}}return new i(r,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,n){var o=t.search(/\s*$/),r=e.getLength(),a=n,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;while(++n<r){t=e.getLine(n);var l=s.exec(t);if(l&&(l[1]?c--:c++,!c))break}var u=n;if(u>a)return new i(a,o,u,t.length)}}.call(a.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/cstyle").FoldMode,c=e("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new s};o.inherits(l,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(o+=n)}return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new c(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(l.prototype),t.Mode=l})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()}}]);
2
+ //# sourceMappingURL=895.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/895.js","mappings":"8LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,YAAY,eAAeJ,EAAIK,GAAIL,EAAIM,SAAS,SAASC,EAAOC,GAAO,OAAON,EAAG,MAAM,CAACO,IAAID,GAAO,CAACN,EAAG,cAAc,CAACA,EAAG,sBAAsB,CAACA,EAAG,oBAAoB,CAACF,EAAIU,GAAGV,EAAIW,GAAGJ,OAAY,GAAGP,EAAIU,GAAG,KAAKR,EAAG,mBAAmB,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,OAAS,IAAIQ,YAAYZ,EAAIa,GAAG,CAAC,CAACJ,IAAI,YAAYK,GAAG,SAAAC,GAAuB,IAAZC,EAAED,EAAFC,GAAIZ,EAAKW,EAALX,MAAS,MAAO,CAACF,EAAG,SAASF,EAAIiB,GAAGjB,EAAIkB,GAAG,CAACF,GAAG,CAAC,MAAQ,SAASG,GAAQ,OAAOnB,EAAIoB,WAAWb,EAAO,IAAI,SAASH,GAAM,GAAOY,GAAI,CAAChB,EAAIU,GAAG,+CAA+C,IAAI,MAAK,IAAO,CAACV,EAAIU,GAAG,KAAKR,EAAG,OAAO,CAACF,EAAIU,GAAG,4BAA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EAAExB,EAAEY,SAASuC,EAAElD,GAAG,WAAWzD,KAAKqH,iBAAiB,KAAKrH,KAAKsH,aAAa,CAACzD,MAAM,KAAK8B,IAAI,MAAM3F,KAAKuH,kBAAkB,SAASlE,EAAEC,EAAEC,GAAG,IAAIC,EAAExD,KAAKiF,WAAW3B,GAAG,GAAM,SAAHD,EAAW,CAAC,IAAII,EAAEH,EAAEqB,MAAM,mBAAmBlB,IAAID,GAAGD,EAAE,CAAC,OAAOC,CAAC,EAAExD,KAAKuE,aAAa,SAASlB,EAAEC,EAAEC,GAAG,OAAOvD,KAAKiH,SAAS1C,aAAajB,EAAEC,EAAE,EAAEvD,KAAKyE,YAAY,SAASpB,EAAEC,EAAEC,GAAGvD,KAAKiH,SAASxC,YAAYnB,EAAEC,EAAE,EAAEvD,KAAKwH,aAAa,SAASnE,GAAG,IAAIC,EAAE,IAAImD,EAAE,CAAC,OAAO,uBAAuB,cAAc,OAAOnD,EAAEmE,iBAAiBpE,EAAEqE,eAAepE,EAAEvC,GAAG,YAAW,SAASuC,GAAGD,EAAEsE,eAAerE,EAAEpB,KAAK,IAAGoB,EAAEvC,GAAG,aAAY,WAAWsC,EAAEuE,kBAAkB,IAAGtE,CAAC,EAAEtD,KAAK6H,IAAI,eAAe,EAAE1C,KAAKwB,EAAEvB,WAAW9B,EAAEwD,KAAKH,CAAC,IAAmB,WACjnKxD,IAAI2E,QAAQ,CAAC,kBAAkB,SAASC,GAC2BC,IAC3DA,EAAOC,QAAUF,EAEzB,GACH,CANonK,E","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?650e","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?6175","webpack://@openc3/cosmos-tool-admin/../../node_modules/ace-builds/src-min-noconflict/mode-json.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-list',{attrs:{\"data-test\":\"routerList\"}},_vm._l((_vm.routers),function(router,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(router))])],1),_vm._v(\" \"),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showRouter(router)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-eye\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Show Router Details\")])])],1)],1),_vm._v(\" \"),(index < _vm.routers.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_vm._v(\" \"),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"type\":\"Router\",\"name\":_vm.dialogTitle,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RoutersTab.vue?vue&type=template&id=946d1b1a&\"\nimport script from \"./RoutersTab.vue?vue&type=script&lang=js&\"\nexport * from \"./RoutersTab.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","ace.define(\"ace/mode/json_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text_highlight_rules\").TextHighlightRules,s=function(){this.$rules={start:[{token:\"variable\",regex:'[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]\\\\s*(?=:)'},{token:\"string\",regex:'\"',next:\"string\"},{token:\"constant.numeric\",regex:\"0[xX][0-9a-fA-F]+\\\\b\"},{token:\"constant.numeric\",regex:\"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"},{token:\"constant.language.boolean\",regex:\"(?:true|false)\\\\b\"},{token:\"text\",regex:\"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"},{token:\"comment\",regex:\"\\\\/\\\\/.*$\"},{token:\"comment.start\",regex:\"\\\\/\\\\*\",next:\"comment\"},{token:\"paren.lparen\",regex:\"[[({]\"},{token:\"paren.rparen\",regex:\"[\\\\])}]\"},{token:\"punctuation.operator\",regex:/[,]/},{token:\"text\",regex:\"\\\\s+\"}],string:[{token:\"constant.language.escape\",regex:/\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[\"\\\\\\/bfnrt])/},{token:\"string\",regex:'\"|$',next:\"start\"},{defaultToken:\"string\"}],comment:[{token:\"comment.end\",regex:\"\\\\*\\\\/\",next:\"start\"},{defaultToken:\"comment\"}]}};r.inherits(s,i),t.JsonHighlightRules=s}),ace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\\s+$/.test(e)?/^\\s*\\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\\s*\\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"],function(e,t,n){\"use strict\";var r=e(\"../../lib/oop\"),i=e(\"../../range\").Range,s=e(\"./fold_mode\").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/,this.foldingStopMarker=/^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/,this.singleLineBlockCommentRe=/^\\s*(\\/\\*).*\\*\\/\\s*$/,this.tripleStarBlockCommentRe=/^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/,this.startRegionRe=/^\\s*(\\/\\*|\\/\\/)#?region\\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return\"\";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?\"start\":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!=\"all\"&&(u=null)),u}if(t===\"markbegin\")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,\"all\",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\\s*$/),s=e.getLength(),o=n,u=/^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define(\"ace/mode/json\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/json_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/folding/cstyle\",\"ace/worker/worker_client\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text\").Mode,s=e(\"./json_highlight_rules\").JsonHighlightRules,o=e(\"./matching_brace_outdent\").MatchingBraceOutdent,u=e(\"./folding/cstyle\").FoldMode,a=e(\"../worker/worker_client\").WorkerClient,f=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new u};r.inherits(f,i),function(){this.lineCommentStart=\"//\",this.blockComment={start:\"/*\",end:\"*/\"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if(e==\"start\"){var i=t.match(/^.*[\\{\\(\\[]\\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a([\"ace\"],\"ace/mode/json_worker\",\"JsonWorker\");return t.attachToDocument(e.getDocument()),t.on(\"annotate\",function(t){e.setAnnotations(t.data)}),t.on(\"terminate\",function(){e.clearAnnotations()}),t},this.$id=\"ace/mode/json\"}.call(f.prototype),t.Mode=f}); (function() {\n ace.require([\"ace/mode/json\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"names":["render","_vm","this","_c","_self","attrs","_l","routers","router","index","key","_v","_s","scopedSlots","_u","fn","_ref","on","_g","_b","$event","showRouter","length","_e","showDialog","jsonContent","dialogTitle","dialogCallback","model","value","callback","$$v","expression","staticRenderFns","components","EditDialog","data","mounted","update","methods","_this","Api","get","then","response","add","name","_this2","concat","JSON","stringify","content","component","ace","define","e","t","n","r","i","TextHighlightRules","s","$rules","start","token","regex","next","string","defaultToken","comment","inherits","JsonHighlightRules","Range","checkOutdent","test","autoOutdent","getLine","match","o","findMatchingBracket","row","column","u","$getIndent","replace","call","prototype","MatchingBraceOutdent","FoldMode","foldingStartMarker","RegExp","source","foldingStopMarker","end","singleLineBlockCommentRe","tripleStarBlockCommentRe","startRegionRe","_getFoldWidgetBase","getFoldWidget","getFoldWidgetRange","getCommentRegionBlock","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","Mode","WorkerClient","HighlightRules","$outdent","$behaviour","$defaultBehaviour","foldingRules","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","$id","require","m","module","exports"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[994],{9780:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return k}});var o=function(){var t=this,e=t._self._c;return e("div",[e("v-list",{attrs:{"data-test":"microserviceList"}},t._l(t.microservices,(function(n,o){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(n))]),t._v(" "),t.microservice_status[n]?e("v-list-item-subtitle",[t._v("\n Updated:\n "+t._s(t.formatDate(t.microservice_status[n].updated_at))+",\n State: "+t._s(t.microservice_status[n].state)+", Count:\n "+t._s(t.microservice_status[n].count)+"\n ")]):t._e()],1),t._v(" "),t.microservice_status[n]?e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:!!t.microservice_status[n].error,expression:"!!microservice_status[microservice].error"}]},[e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(o){var i=o.on,r=o.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showMicroserviceError(n)}}},"v-icon",r,!1),i),[t._v("\n mdi-alert\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("View Error")])])],1)],1)]):t._e(),t._v(" "),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(o){var i=o.on,r=o.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showMicroservice(n)}}},"v-icon",r,!1),i),[t._v("\n mdi-eye\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("View Microservice")])])],1)],1),t._v(" "),o<t.microservices.length-1?e("v-divider",{key:o}):t._e()],1)})),0),t._v(" "),t.showDialog?e("edit-dialog",{attrs:{content:t.jsonContent,type:"Microservice",name:t.dialogTitle,readonly:""},on:{submit:t.dialogCallback},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}}):t._e(),t._v(" "),t.showError?e("text-box-dialog",{attrs:{text:t.jsonContent,title:t.dialogTitle},model:{value:t.showError,callback:function(e){t.showError=e},expression:"showError"}}):t._e()],1)},i=[],r=(n(6710),n(8995),n(4769),n(7388)),s=n(6700),a=n(6129),c=n(9564),l=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),t._v(" "),e("span",[t._v(" "+t._s(t.title)+" ")]),t._v(" "),e("v-spacer"),t._v(" "),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(n){var o=n.on,i=n.attrs;return[e("div",t._g(t._b({},"div",i,!1),o),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v("\n mdi-download\n ")])],1)]}}])},[t._v(" "),e("span",[t._v(" Download ")])])],1)],1),t._v(" "),e("div",{staticClass:"pa-2"},[e("v-card-text",[e("v-textarea",{attrs:{readonly:"",rows:"15","data-test":"dialogText"},model:{value:t.dialogText,callback:function(e){t.dialogText=e},expression:"dialogText"}})],1)],1),t._v(" "),e("v-card-actions",[e("v-spacer"),t._v(" "),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},u=[],d=(n(8188),n(8673),n(6886),n(4121),n(523),n(3673),n(753),n(8399),{props:{value:Boolean,text:String,title:String},computed:{dialogText:function(){return this.text},show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.dialogText],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,"__error.txt")),e.click()}}}),g=d,h=n(3483),v=(0,h.Z)(g,l,u,!1,null,null,null),m=v.exports,f={components:{EditDialog:c.Z,TextBoxDialog:m},data:function(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1}},mounted:function(){this.update()},methods:{update:function(){var t=this;a.Z.get("/openc3-api/microservice_status/all").then((function(e){t.microservice_status=e.data})),a.Z.get("/openc3-api/microservices").then((function(e){t.microservices=e.data}))},showMicroservice:function(t){var e=this;a.Z.get("/openc3-api/microservices/".concat(t)).then((function(n){e.microservice_id=t,e.dialogTitle=t,e.jsonContent=JSON.stringify(n.data,null,"\t"),e.showDialog=!0}))},showMicroserviceError:function(t){this.dialogTitle=t;var e=this.microservice_status[t].error;this.jsonContent=JSON.stringify(e,null,"\t"),this.showError=!0},formatDate:function(t){return(0,r.Z)((0,s.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(t){var e=this;if(this.showDialog=!1,null!==t){var n=JSON.parse(t),o="put",i="/openc3-api/microservices/".concat(this.microservice_id);n["name"]!==this.microservice_id&&(o="post",i="/openc3-api/microservices"),a.Z[o](i,{data:{json:t}}).then((function(t){e.alert="Modified Microservice",e.alertType="success",e.showAlert=!0,setTimeout((function(){e.showAlert=!1}),5e3),e.update()}))}}}},_=f,p=(0,h.Z)(_,o,i,!1,null,null,null),k=p.exports},8367:function(t,e,n){t=n.nmd(t),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(t,e,n){"use strict";var o=t("../lib/oop"),i=t("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};o.inherits(r,i),e.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(t,e,n){"use strict";var o=t("../range").Range,i=function(){};(function(){this.checkOutdent=function(t,e){return!!/^\s+$/.test(t)&&/^\s*\}/.test(e)},this.autoOutdent=function(t,e){var n=t.getLine(e),i=n.match(/^(\s*\})/);if(!i)return 0;var r=i[1].length,s=t.findMatchingBracket({row:e,column:r});if(!s||s.row==e)return 0;var a=this.$getIndent(t.getLine(s.row));t.replace(new o(e,0,e,r-1),a)},this.$getIndent=function(t){return t.match(/^\s*/)[0]}}).call(i.prototype),e.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(t,e,n){"use strict";var o=t("../../lib/oop"),i=t("../../range").Range,r=t("./fold_mode").FoldMode,s=e.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};o.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(t,e,n){var o=t.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(t,e,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(t,e,n,o){var i=t.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(t,i,n);var r=i.match(this.foldingStartMarker);if(r){var s=r.index;if(r[1])return this.openingBracketBlock(t,r[1],n,s);var a=t.getCommentFoldRange(n,s+r[0].length,1);return a&&!a.isMultiLine()&&(o?a=this.getSectionRange(t,n):"all"!=e&&(a=null)),a}if("markbegin"!==e){r=i.match(this.foldingStopMarker);if(r){s=r.index+r[0].length;return r[1]?this.closingBracketBlock(t,r[1],n,s):t.getCommentFoldRange(n,s,-1)}}},this.getSectionRange=function(t,e){var n=t.getLine(e),o=n.search(/\S/),r=e,s=n.length;e+=1;var a=e,c=t.getLength();while(++e<c){n=t.getLine(e);var l=n.search(/\S/);if(-1!==l){if(o>l)break;var u=this.getFoldWidgetRange(t,"all",e);if(u){if(u.start.row<=r)break;if(u.isMultiLine())e=u.end.row;else if(o==l)break}a=e}}return new i(r,s,a,t.getLine(a).length)},this.getCommentRegionBlock=function(t,e,n){var o=e.search(/\s*$/),r=t.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;while(++n<r){e=t.getLine(n);var l=a.exec(e);if(l&&(l[1]?c--:c++,!c))break}var u=n;if(u>s)return new i(s,o,u,e.length)}}.call(s.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(t,e,n){"use strict";var o=t("../lib/oop"),i=t("./text").Mode,r=t("./json_highlight_rules").JsonHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,a=t("./folding/cstyle").FoldMode,c=t("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};o.inherits(l,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(t,e,n){var o=this.$getIndent(e);if("start"==t){var i=e.match(/^.*[\{\(\[]\s*$/);i&&(o+=n)}return o},this.checkOutdent=function(t,e,n){return this.$outdent.checkOutdent(e,n)},this.autoOutdent=function(t,e,n){this.$outdent.autoOutdent(e,n)},this.createWorker=function(t){var e=new c(["ace"],"ace/mode/json_worker","JsonWorker");return e.attachToDocument(t.getDocument()),e.on("annotate",(function(e){t.setAnnotations(e.data)})),e.on("terminate",(function(){t.clearAnnotations()})),e},this.$id="ace/mode/json"}.call(l.prototype),e.Mode=l})),function(){ace.require(["ace/mode/json"],(function(e){t&&(t.exports=e)}))}()}}]);
2
+ //# sourceMappingURL=994.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/994.js","mappings":"8LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,YAAY,qBAAqBJ,EAAIK,GAAIL,EAAIM,eAAe,SAASC,EAAaC,GAAO,OAAON,EAAG,MAAM,CAACO,IAAIF,GAAc,CAACL,EAAG,cAAc,CAACA,EAAG,sBAAsB,CAACA,EAAG,oBAAoB,CAACF,EAAIU,GAAGV,EAAIW,GAAGJ,MAAiBP,EAAIU,GAAG,KAAMV,EAAIY,oBAAoBL,GAAeL,EAAG,uBAAuB,CAACF,EAAIU,GAAG,uCAAuCV,EAAIW,GAAGX,EAAIa,WAAWb,EAAIY,oBAAoBL,GAAcO,aAAa,yBAAyBd,EAAIW,GAAGX,EAAIY,oBAAoBL,GAAcQ,OAAO,yBAAyBf,EAAIW,GAAGX,EAAIY,oBAAoBL,GAAcS,OAAO,kBAAkBhB,EAAIiB,MAAM,GAAGjB,EAAIU,GAAG,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E5E,GAAG,aAAY,WAAW0D,EAAEwF,kBAAkB,IAAGtE,CAAC,EAAEvG,KAAK8K,IAAI,eAAe,EAAE1C,KAAKwB,EAAEvB,WAAW9B,EAAEwD,KAAKH,CAAC,IAAmB,WACjnKvD,IAAI0E,QAAQ,CAAC,kBAAkB,SAASC,GAC2BC,IAC3DA,EAAOC,QAAUF,EAEzB,GACH,CANonK,E","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TextBoxDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TextBoxDialog.vue?02d1","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TextBoxDialog.vue?31b4","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue?7473","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue?6af3","webpack://@openc3/cosmos-tool-admin/../../node_modules/ace-builds/src-min-noconflict/mode-json.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-list',{attrs:{\"data-test\":\"microserviceList\"}},_vm._l((_vm.microservices),function(microservice,index){return _c('div',{key:microservice},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(microservice))]),_vm._v(\" \"),(_vm.microservice_status[microservice])?_c('v-list-item-subtitle',[_vm._v(\"\\n Updated:\\n \"+_vm._s(_vm.formatDate(_vm.microservice_status[microservice].updated_at))+\",\\n State: \"+_vm._s(_vm.microservice_status[microservice].state)+\", Count:\\n \"+_vm._s(_vm.microservice_status[microservice].count)+\"\\n \")]):_vm._e()],1),_vm._v(\" \"),(_vm.microservice_status[microservice])?_c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!!_vm.microservice_status[microservice].error),expression:\"!!microservice_status[microservice].error\"}]},[_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showMicroserviceError(microservice)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-alert\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"View Error\")])])],1)],1)]):_vm._e(),_vm._v(\" \"),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showMicroservice(microservice)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-eye\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"View Microservice\")])])],1)],1),_vm._v(\" \"),(index < _vm.microservices.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_vm._v(\" \"),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"type\":\"Microservice\",\"name\":_vm.dialogTitle,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e(),_vm._v(\" \"),(_vm.showError)?_c('text-box-dialog',{attrs:{\"text\":_vm.jsonContent,\"title\":_vm.dialogTitle},model:{value:(_vm.showError),callback:function ($$v) {_vm.showError=$$v},expression:\"showError\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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'),_vm._v(\" \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_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(\"\\n mdi-download\\n \")])],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Download \")])])],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('v-textarea',{attrs:{\"readonly\":\"\",\"rows\":\"15\",\"data-test\":\"dialogText\"},model:{value:(_vm.dialogText),callback:function ($$v) {_vm.dialogText=$$v},expression:\"dialogText\"}})],1)],1),_vm._v(\" \"),_c('v-card-actions',[_c('v-spacer'),_vm._v(\" \"),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TextBoxDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TextBoxDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TextBoxDialog.vue?vue&type=template&id=0c8e9db0&\"\nimport script from \"./TextBoxDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./TextBoxDialog.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","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MicroservicesTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MicroservicesTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MicroservicesTab.vue?vue&type=template&id=8319f3ea&\"\nimport script from \"./MicroservicesTab.vue?vue&type=script&lang=js&\"\nexport * from \"./MicroservicesTab.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","ace.define(\"ace/mode/json_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text_highlight_rules\").TextHighlightRules,s=function(){this.$rules={start:[{token:\"variable\",regex:'[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]\\\\s*(?=:)'},{token:\"string\",regex:'\"',next:\"string\"},{token:\"constant.numeric\",regex:\"0[xX][0-9a-fA-F]+\\\\b\"},{token:\"constant.numeric\",regex:\"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"},{token:\"constant.language.boolean\",regex:\"(?:true|false)\\\\b\"},{token:\"text\",regex:\"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"},{token:\"comment\",regex:\"\\\\/\\\\/.*$\"},{token:\"comment.start\",regex:\"\\\\/\\\\*\",next:\"comment\"},{token:\"paren.lparen\",regex:\"[[({]\"},{token:\"paren.rparen\",regex:\"[\\\\])}]\"},{token:\"punctuation.operator\",regex:/[,]/},{token:\"text\",regex:\"\\\\s+\"}],string:[{token:\"constant.language.escape\",regex:/\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[\"\\\\\\/bfnrt])/},{token:\"string\",regex:'\"|$',next:\"start\"},{defaultToken:\"string\"}],comment:[{token:\"comment.end\",regex:\"\\\\*\\\\/\",next:\"start\"},{defaultToken:\"comment\"}]}};r.inherits(s,i),t.JsonHighlightRules=s}),ace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\\s+$/.test(e)?/^\\s*\\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\\s*\\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"],function(e,t,n){\"use strict\";var r=e(\"../../lib/oop\"),i=e(\"../../range\").Range,s=e(\"./fold_mode\").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/,this.foldingStopMarker=/^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/,this.singleLineBlockCommentRe=/^\\s*(\\/\\*).*\\*\\/\\s*$/,this.tripleStarBlockCommentRe=/^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/,this.startRegionRe=/^\\s*(\\/\\*|\\/\\/)#?region\\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return\"\";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?\"start\":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!=\"all\"&&(u=null)),u}if(t===\"markbegin\")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,\"all\",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\\s*$/),s=e.getLength(),o=n,u=/^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define(\"ace/mode/json\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/json_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/folding/cstyle\",\"ace/worker/worker_client\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text\").Mode,s=e(\"./json_highlight_rules\").JsonHighlightRules,o=e(\"./matching_brace_outdent\").MatchingBraceOutdent,u=e(\"./folding/cstyle\").FoldMode,a=e(\"../worker/worker_client\").WorkerClient,f=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new u};r.inherits(f,i),function(){this.lineCommentStart=\"//\",this.blockComment={start:\"/*\",end:\"*/\"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if(e==\"start\"){var i=t.match(/^.*[\\{\\(\\[]\\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a([\"ace\"],\"ace/mode/json_worker\",\"JsonWorker\");return t.attachToDocument(e.getDocument()),t.on(\"annotate\",function(t){e.setAnnotations(t.data)}),t.on(\"terminate\",function(){e.clearAnnotations()}),t},this.$id=\"ace/mode/json\"}.call(f.prototype),t.Mode=f}); (function() {\n ace.require([\"ace/mode/json\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"names":["render","_vm","this","_c","_self","attrs","_l","microservices","microservice","index","key","_v","_s","microservice_status","formatDate","updated_at","state","count","_e","directives","name","rawName","value","error","expression","scopedSlots","_u","fn","_ref","on","_g","_b","$event","showMicroserviceError","_ref2","showMicroservice","length","showDialog","jsonContent","dialogTitle","dialogCallback","model","callback","$$v","showError","staticRenderFns","show","title","staticClass","download","dialogText","props","Boolean","text","String","computed","get","set","$emit","methods","blob","Blob","type","link","document","createElement","href","URL","createObjectURL","setAttribute","concat","click","component","components","EditDialog","TextBoxDialog","data","microservice_id","mounted","update","_this","Api","then","response","_this2","JSON","stringify","e","nanoSecs","format","toDate","parseInt","content","_this3","parsed","parse","method","url","json","alert","alertType","showAlert","setTimeout","ace","define","t","n","r","i","TextHighlightRules","s","$rules","start","token","regex","next","string","defaultToken","comment","inherits","JsonHighlightRules","Range","checkOutdent","test","autoOutdent","getLine","match","o","findMatchingBracket","row","column","u","$getIndent","replace","call","prototype","MatchingBraceOutdent","FoldMode","foldingStartMarker","RegExp","source","foldingStopMarker","end","singleLineBlockCommentRe","tripleStarBlockCommentRe","startRegionRe","_getFoldWidgetBase","getFoldWidget","getFoldWidgetRange","getCommentRegionBlock","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","Mode","WorkerClient","HighlightRules","$outdent","$behaviour","$defaultBehaviour","foldingRules","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","$id","require","m","module","exports"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- "use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[999],{6129:function(t,e,o){var s=o(6964),n=o(5789),a=o(9502),i=o(9373),r=function(){var t=(0,a.Z)((0,n.Z)().mark((function t(e,o){var s,a,r,l,c,u,d,p,v,h,m=arguments;return(0,n.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s=m.length>2&&void 0!==m[2]?m[2]:{},a=s.data,r=s.params,l=void 0===r?{}:r,c=s.headers,u=s.noAuth,d=void 0!==u&&u,p=s.noScope,v=void 0!==p&&p,d){t.next=13;break}return t.prev=2,t.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:h=t.sent,h&&OpenC3Auth.setTokens(),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](2),OpenC3Auth.login();case 12:c["Authorization"]=localStorage.openc3Token;case 13:return v||l["scope"]||(l["scope"]=window.openc3Scope),t.abrupt("return",(0,i.Z)({method:e,url:o,data:a,params:l,headers:c}));case 15:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(e,o){return t.apply(this,arguments)}}(),l={Accept:"application/json"},c=(0,s.Z)((0,s.Z)({},l),{},{"Content-Type":"application/json"});e.Z={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,s=e.headers,n=void 0===s?l:s,a=e.noScope,i=e.noAuth;return r("get",t,{params:o,headers:n,noScope:a,noAuth:i})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,s=e.params,n=e.headers,a=void 0===n?c:n,i=e.noScope,l=e.noAuth;return r("put",t,{data:o,params:s,headers:a,noScope:i,noAuth:l})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,s=e.params,n=e.headers,a=void 0===n?c:n,i=e.noScope,l=e.noAuth;return r("post",t,{data:o,params:s,headers:a,noScope:i,noAuth:l})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,s=e.headers,n=void 0===s?l:s,a=e.noScope,i=e.noAuth;return r("delete",t,{params:o,headers:n,noScope:a,noAuth:i})}}},9373:function(t,e,o){o(9529),o(1235),o(8188),o(8233);var s=o(9644),n=o.n(s),a=o(4091),i=new a["default"],r=n().create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,o,s,n,a;if(401===t.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(t){t&&OpenC3Auth.setTokens()})),t.response.headers["ignore-errors"]&&t.response.headers["ignore-errors"].includes(t.response.status.toString()))return Promise.reject(t);var r="HTTP ".concat(t.response.status," - ");if(null!==(e=t.response)&&void 0!==e&&e.statusText&&(r+="".concat(t.response.statusText," ")),null!==(o=t.response)&&void 0!==o&&null!==(o=o.config)&&void 0!==o&&o.data&&(r+="".concat(t.response.config.data," ")),null!==(s=t.response)&&void 0!==s&&null!==(s=s.data)&&void 0!==s&&s.message)r+="".concat(t.response.data.message);else if(null!==(n=t.response)&&void 0!==n&&null!==(n=n.data)&&void 0!==n&&n.exception)r+="".concat(t.response.data.exception);else if(null!==(a=t.response)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&null!==(a=a.error)&&void 0!==a&&a.message)t.response.data.error.class&&(r+="".concat(t.response.data.error.class," ")),r+="".concat(t.response.data.error.message);else{var l;r+="".concat(null===(l=t.response)||void 0===l?void 0:l.data)}throw i.$notify&&i.$notify.serious({title:"Network error",body:r}),t}throw t})),e.Z=r},6415:function(t,e,o){o.d(e,{Z:function(){return c}});var s=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:t.width},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" "+t._s(t.title)+" ")]),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(o){var s=o.on,n=o.attrs;return[e("div",t._g(t._b({},"div",n,!1),s),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.text))])])]),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},n=[],a=(o(8188),o(8673),o(6886),o(4121),o(523),o(3673),o(753),o(8399),{props:{value:Boolean,text:String,title:String,width:800},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,".txt")),e.click()}}}),i=a,r=o(3483),l=(0,r.Z)(i,s,n,!1,null,null,null),c=l.exports},2999:function(t,e,o){o.r(e),o.d(e,{default:function(){return y}});o(4769);var s=function(){var t=this,e=t._self._c;return e("div",[e("v-row",{attrs:{"no-gutters":""}},[e("v-col",[e("v-file-input",{ref:"fileInput",staticClass:"mx-2",attrs:{multiple:"","show-size":"",accept:".gem",label:"Click to select .gem file(s) to add to internal gem server"},model:{value:t.files,callback:function(e){t.files=e},expression:"files"}})],1)],1),e("v-row",{staticClass:"px-2 pb-2",attrs:{"no-gutters":""}},[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"gemUpload",disabled:t.files.length<1,loading:t.loadingGem},on:{click:function(e){return t.upload()}},scopedSlots:t._u([{key:"loader",fn:function(){return[e("span",[t._v("Loading...")])]},proxy:!0}])},[e("v-icon",{attrs:{left:"",dark:""}},[t._v("mdi-cloud-upload")]),e("span",[t._v(" Upload ")])],1)],1),e("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:t.alertType},model:{value:t.showAlert,callback:function(e){t.showAlert=e},expression:"showAlert"}},[t._v(t._s(t.alert))]),Object.keys(t.processes).length>0?e("v-list",{attrs:{"data-test":"processList"}},t._l(t.processes,(function(o){return e("div",{key:o.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{domProps:{textContent:t._s("Installing: "+o.detail+" - "+o.state)}})]),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(o.updated_at))}})])],1),"Running"!==o.state?e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(s){var n=s.on,a=s.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showOutput(o)}}},"v-icon",a,!1),n),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Output")])])],1):t._e()],1),e("v-divider")],1)})),0):t._e(),e("v-list",{attrs:{"data-test":"gemList"}},t._l(t.gems,(function(o,s){return e("div",{key:s},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o))])],1),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(s){var n=s.on,a=s.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.deleteGem(o)}}},"v-icon",a,!1),n),[t._v(" mdi-delete ")])]}}],null,!0)},[e("span",[t._v("Delete Gem")])])],1)],1),s<t.gems.length-1?e("v-divider",{key:s}):t._e()],1)})),0),e("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},n=[],a=(o(8995),o(3450),o(8188),o(8673),o(6886),o(8178),o(7388)),i=o(6700),r=o(6129),l=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Download Gems ")]),e("v-spacer")],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),e("v-row",[e("v-col",[e("div",{staticClass:"px-2"},[e("v-btn",{attrs:{block:"","data-test":"searchGithub",color:"primary",disabled:t.disableSearch},on:{click:t.searchGithub}},[t._v(" Github "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t.listData.length<1?e("div",{staticClass:"mt-4"},[e("v-row",{staticClass:"mx-2"},[e("span",[t._v(" I’m sorry, Dave. No gems available.... ")])])],1):e("div",{staticClass:"mt-4"},t._l(t.listData,(function(o,s){return e("div",{key:s},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o.name))])],1),e("v-list-item-icon",[t.activeDownload?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("div",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(s){var n=s.on,a=s.attrs;return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(o)}}},"v-icon",a,!1),n),[t._v(" mdi-cloud-download ")])]}}],null,!0)},[e("span",[t._v("Download Gem")])])],1)])],1),s<t.listData.length-1?e("v-divider",{key:s}):t._e()],1)})),0)],1)])],1)],1)},c=[],u=(o(5342),o(7950),o(9644)),d=o.n(u),p={props:{value:Boolean},data:function(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){var t=/\w+.gem/;return this.response.tree.filter((function(e){return t.exec(e.path)})).map((function(t){return{name:t.path,url:"https://raw.github.com/OpenC3/openc3-tools/main/".concat(t.path)}}))},getResponse:function(){var t=this;this.disableSearch=!0,d().get(this.url).then((function(e){t.response=e.data})),setTimeout((function(){t.disableSearch=!1}),1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){var e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},v=p,h=o(3483),m=(0,h.Z)(v,l,c,!1,null,null,null),f=m.exports,g=o(6415),w={components:{DownloadDialog:f,SimpleTextDialog:g.Z},data:function(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingGem:!1,gems:[],processes:{},alert:"",alertType:"success",showAlert:!1}},mounted:function(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){var t=this;r.Z.get("/openc3-api/gems").then((function(e){t.gems=e.data}))},updateProcesses:function(){var t=this;r.Z.get("/openc3-api/process_status/gem_install").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),1e4)}))},formatDate:function(t){return(0,a.Z)((0,i.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){var t=this;this.loadingGem=!0;var e=this.files.map((function(t){var e=new FormData;return e.append("gem",t,t.name),r.Z.post("/openc3-api/gems",{data:e})}));Promise.all(e).then((function(e){t.alert="Uploaded ".concat(e.length," gem").concat(e.length>1?"s":""),t.alertType="success",t.showAlert=!0,t.loadingGem=!1,t.files=[],setTimeout((function(){t.showAlert=!1,t.updateProcesses()}),5e3),t.update()})).catch((function(e){t.loadingGem=!1}))},deleteGem:function(t){var e=this;this.$dialog.confirm("Are you sure you want to remove: ".concat(t),{okText:"Delete",cancelText:"Cancel"}).then((function(e){return r.Z.delete("/openc3-api/gems/".concat(t))})).then((function(o){e.alert="Removed gem ".concat(t),e.alertType="success",e.showAlert=!0,setTimeout((function(){e.showAlert=!1}),5e3),e.update()}))}}},_=w,b=(0,h.Z)(_,s,n,!1,null,null,null),y=b.exports}}]);
1
+ "use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[999],{6129:function(t,e,o){var n=o(6964),s=o(5789),a=o(9502),i=o(9373),r=function(){var t=(0,a.Z)((0,s.Z)().mark((function t(e,o){var n,a,r,l,c,u,d,p,v,h,m=arguments;return(0,s.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=m.length>2&&void 0!==m[2]?m[2]:{},a=n.data,r=n.params,l=void 0===r?{}:r,c=n.headers,u=n.noAuth,d=void 0!==u&&u,p=n.noScope,v=void 0!==p&&p,d){t.next=13;break}return t.prev=2,t.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:h=t.sent,h&&OpenC3Auth.setTokens(),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](2),OpenC3Auth.login();case 12:c["Authorization"]=localStorage.openc3Token;case 13:return v||l["scope"]||(l["scope"]=window.openc3Scope),t.abrupt("return",(0,i.Z)({method:e,url:o,data:a,params:l,headers:c}));case 15:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(e,o){return t.apply(this,arguments)}}(),l={Accept:"application/json"},c=(0,n.Z)((0,n.Z)({},l),{},{"Content-Type":"application/json"});e.Z={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,s=void 0===n?l:n,a=e.noScope,i=e.noAuth;return r("get",t,{params:o,headers:s,noScope:a,noAuth:i})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,s=e.headers,a=void 0===s?c:s,i=e.noScope,l=e.noAuth;return r("put",t,{data:o,params:n,headers:a,noScope:i,noAuth:l})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,s=e.headers,a=void 0===s?c:s,i=e.noScope,l=e.noAuth;return r("post",t,{data:o,params:n,headers:a,noScope:i,noAuth:l})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,s=void 0===n?l:n,a=e.noScope,i=e.noAuth;return r("delete",t,{params:o,headers:s,noScope:a,noAuth:i})}}},9373:function(t,e,o){o(9529),o(1235),o(8188),o(8233);var n=o(9644),s=o.n(n),a=o(4091),i=new a["default"],r=s().create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,o,n,s,a;if(401===t.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(t){t&&OpenC3Auth.setTokens()})),t.response.headers["ignore-errors"]&&t.response.headers["ignore-errors"].includes(t.response.status.toString()))return Promise.reject(t);var r="HTTP ".concat(t.response.status," - ");if(null!==(e=t.response)&&void 0!==e&&e.statusText&&(r+="".concat(t.response.statusText," ")),null!==(o=t.response)&&void 0!==o&&null!==(o=o.config)&&void 0!==o&&o.data&&(r+="".concat(t.response.config.data," ")),null!==(n=t.response)&&void 0!==n&&null!==(n=n.data)&&void 0!==n&&n.message)r+="".concat(t.response.data.message);else if(null!==(s=t.response)&&void 0!==s&&null!==(s=s.data)&&void 0!==s&&s.exception)r+="".concat(t.response.data.exception);else if(null!==(a=t.response)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&null!==(a=a.error)&&void 0!==a&&a.message)t.response.data.error.class&&(r+="".concat(t.response.data.error.class," ")),r+="".concat(t.response.data.error.message);else{var l;r+="".concat(null===(l=t.response)||void 0===l?void 0:l.data)}throw i.$notify&&i.$notify.serious({title:"Network error",body:r}),t}throw t})),e.Z=r},6415:function(t,e,o){o.d(e,{Z:function(){return c}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:t.width},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),t._v(" "),e("span",[t._v(" "+t._s(t.title)+" ")]),t._v(" "),e("v-spacer"),t._v(" "),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(o){var n=o.on,s=o.attrs;return[e("div",t._g(t._b({},"div",s,!1),n),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v("\n mdi-download\n ")])],1)]}}])},[t._v(" "),e("span",[t._v(" Download ")])])],1)],1),t._v(" "),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.text))])])]),t._v(" "),e("v-card-actions",[e("v-spacer"),t._v(" "),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},s=[],a=(o(8188),o(8673),o(6886),o(4121),o(523),o(3673),o(753),o(8399),{props:{value:Boolean,text:String,title:String,width:800},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,".txt")),e.click()}}}),i=a,r=o(3483),l=(0,r.Z)(i,n,s,!1,null,null,null),c=l.exports},2999:function(t,e,o){o.r(e),o.d(e,{default:function(){return y}});o(4769);var n=function(){var t=this,e=t._self._c;return e("div",[e("v-row",{attrs:{"no-gutters":""}},[e("v-col",[e("v-file-input",{ref:"fileInput",staticClass:"mx-2",attrs:{multiple:"","show-size":"",accept:".gem",label:"Click to select .gem file(s) to add to internal gem server"},model:{value:t.files,callback:function(e){t.files=e},expression:"files"}})],1)],1),t._v(" "),e("v-row",{staticClass:"px-2 pb-2",attrs:{"no-gutters":""}},[e("v-spacer"),t._v(" "),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"gemUpload",disabled:t.files.length<1,loading:t.loadingGem},on:{click:function(e){return t.upload()}},scopedSlots:t._u([{key:"loader",fn:function(){return[e("span",[t._v("Loading...")])]},proxy:!0}])},[e("v-icon",{attrs:{left:"",dark:""}},[t._v("mdi-cloud-upload")]),t._v(" "),e("span",[t._v(" Upload ")])],1)],1),t._v(" "),e("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:t.alertType},model:{value:t.showAlert,callback:function(e){t.showAlert=e},expression:"showAlert"}},[t._v(t._s(t.alert))]),t._v(" "),Object.keys(t.processes).length>0?e("v-list",{attrs:{"data-test":"processList"}},t._l(t.processes,(function(o){return e("div",{key:o.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{domProps:{textContent:t._s("Installing: "+o.detail+" - "+o.state)}})]),t._v(" "),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(o.updated_at))}})])],1),t._v(" "),"Running"!==o.state?e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,a=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showOutput(o)}}},"v-icon",a,!1),s),[t._v("\n mdi-eye\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("Show Output")])])],1):t._e()],1),t._v(" "),e("v-divider")],1)})),0):t._e(),t._v(" "),e("v-list",{attrs:{"data-test":"gemList"}},t._l(t.gems,(function(o,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o))])],1),t._v(" "),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,a=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.deleteGem(o)}}},"v-icon",a,!1),s),[t._v("\n mdi-delete\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("Delete Gem")])])],1)],1),t._v(" "),n<t.gems.length-1?e("v-divider",{key:n}):t._e()],1)})),0),t._v(" "),e("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),t._v(" "),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},s=[],a=(o(8995),o(3450),o(8188),o(8673),o(6886),o(8178),o(7388)),i=o(6700),r=o(6129),l=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),t._v(" "),e("span",[t._v(" Download Gems ")]),t._v(" "),e("v-spacer")],1),t._v(" "),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),t._v(" "),e("v-row",[e("v-col",[e("div",{staticClass:"px-2"},[e("v-btn",{attrs:{block:"","data-test":"searchGithub",color:"primary",disabled:t.disableSearch},on:{click:t.searchGithub}},[t._v("\n Github\n "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),t._v(" "),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t._v(" "),t.listData.length<1?e("div",{staticClass:"mt-4"},[e("v-row",{staticClass:"mx-2"},[e("span",[t._v(" I’m sorry, Dave. No gems available.... ")])])],1):e("div",{staticClass:"mt-4"},t._l(t.listData,(function(o,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o.name))])],1),t._v(" "),e("v-list-item-icon",[t.activeDownload?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("div",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,a=n.attrs;return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(o)}}},"v-icon",a,!1),s),[t._v("\n mdi-cloud-download\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("Download Gem")])])],1)])],1),t._v(" "),n<t.listData.length-1?e("v-divider",{key:n}):t._e()],1)})),0)],1)])],1)],1)},c=[],u=(o(5342),o(7950),o(9644)),d=o.n(u),p={props:{value:Boolean},data:function(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){var t=/\w+.gem/;return this.response.tree.filter((function(e){return t.exec(e.path)})).map((function(t){return{name:t.path,url:"https://raw.github.com/OpenC3/openc3-tools/main/".concat(t.path)}}))},getResponse:function(){var t=this;this.disableSearch=!0,d().get(this.url).then((function(e){t.response=e.data})),setTimeout((function(){t.disableSearch=!1}),1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){var e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},v=p,h=o(3483),m=(0,h.Z)(v,l,c,!1,null,null,null),f=m.exports,_=o(6415),g={components:{DownloadDialog:f,SimpleTextDialog:_.Z},data:function(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingGem:!1,gems:[],processes:{},alert:"",alertType:"success",showAlert:!1}},mounted:function(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){var t=this;r.Z.get("/openc3-api/gems").then((function(e){t.gems=e.data}))},updateProcesses:function(){var t=this;r.Z.get("/openc3-api/process_status/gem_install").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),1e4)}))},formatDate:function(t){return(0,a.Z)((0,i.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){var t=this;this.loadingGem=!0;var e=this.files.map((function(t){var e=new FormData;return e.append("gem",t,t.name),r.Z.post("/openc3-api/gems",{data:e})}));Promise.all(e).then((function(e){t.alert="Uploaded ".concat(e.length," gem").concat(e.length>1?"s":""),t.alertType="success",t.showAlert=!0,t.loadingGem=!1,t.files=[],setTimeout((function(){t.showAlert=!1,t.updateProcesses()}),5e3),t.update()})).catch((function(e){t.loadingGem=!1}))},deleteGem:function(t){var e=this;this.$dialog.confirm("Are you sure you want to remove: ".concat(t),{okText:"Delete",cancelText:"Cancel"}).then((function(e){return r.Z.delete("/openc3-api/gems/".concat(t))})).then((function(o){e.alert="Removed gem ".concat(t),e.alertType="success",e.showAlert=!0,setTimeout((function(){e.showAlert=!1}),5e3),e.update()}))}}},w=g,b=(0,h.Z)(w,n,s,!1,null,null,null),y=b.exports}}]);
2
2
  //# sour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7C,KAAAiM,GACA,IACA1H,QAAA6H,IAAAL,GACA3H,MAAA,SAAAiI,GACAP,EAAApD,MAAA,YAAAhE,OAAA2H,EAAAtL,OAAA,QAAA2D,OACA2H,EAAAtL,OAAA,UAEA+K,EAAAtD,UAAA,UACAsD,EAAArD,WAAA,EACAqD,EAAAzD,YAAA,EACAyD,EAAA1D,MAAA,GACA2C,YAAA,WACAe,EAAArD,WAAA,EACAqD,EAAAR,iBACA,QACAQ,EAAAT,QACA,IACAiB,OAAA,SAAAzI,GACAiI,EAAAzD,YAAA,CACA,GACA,EACAsB,UAAA,SAAAF,GAAA,IAAA8C,EAAA,KACA,KAAAC,QACAC,QAAA,oCAAA/H,OAAA+E,GAAA,CACAiD,OAAA,SACAC,WAAA,WAEAvI,MAAA,SAAAwI,GACA,OAAApB,EAAAA,EAAAxI,OAAA,oBAAA0B,OAAA+E,GACA,IACArF,MAAA,SAAAT,GACA4I,EAAA7D,MAAA,eAAAhE,OAAA+E,GACA8C,EAAA/D,UAAA,UACA+D,EAAA9D,WAAA,EACAsC,YAAA,WACAwB,EAAA9D,WAAA,CACA,QACA8D,EAAAlB,QACA,GACA,IIlO8T,ICO1T,GAAY,OACd,EACAjG,EACA2B,GACA,EACA,KACA,KACA,MAIF,EAAe,EAAiB,O","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?e067","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?a211","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?83fa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue?8190","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue?c5db"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\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","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":_vm.width},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=4cd697cc&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"multiple\":\"\",\"show-size\":\"\",\"accept\":\".gem\",\"label\":\"Click to select .gem file(s) to add to internal gem server\"},model:{value:(_vm.files),callback:function ($$v) {_vm.files=$$v},expression:\"files\"}})],1)],1),_c('v-row',{staticClass:\"px-2 pb-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"gemUpload\",\"disabled\":_vm.files.length < 1,\"loading\":_vm.loadingGem},on:{\"click\":function($event){return _vm.upload()}},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}])},[_c('v-icon',{attrs:{\"left\":\"\",\"dark\":\"\"}},[_vm._v(\"mdi-cloud-upload\")]),_c('span',[_vm._v(\" Upload \")])],1)],1),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),(Object.keys(_vm.processes).length > 0)?_c('v-list',{attrs:{\"data-test\":\"processList\"}},_vm._l((_vm.processes),function(process){return _c('div',{key:process.name},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('span',{domProps:{\"textContent\":_vm._s('Installing: ' + process.detail + ' - ' + process.state)}})]),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),(process.state !== 'Running')?_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showOutput(process)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Output\")])])],1):_vm._e()],1),_c('v-divider')],1)}),0):_vm._e(),_c('v-list',{attrs:{\"data-test\":\"gemList\"}},_vm._l((_vm.gems),function(gem,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(gem))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.deleteGem(gem)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Gem\")])])],1)],1),(index < _vm.gems.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_c('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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(\" Download Gems \")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"px-2\"},[_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"searchGithub\",\"color\":\"primary\",\"disabled\":_vm.disableSearch},on:{\"click\":_vm.searchGithub}},[_vm._v(\" Github \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),(_vm.listData.length < 1)?_c('div',{staticClass:\"mt-4\"},[_c('v-row',{staticClass:\"mx-2\"},[_c('span',[_vm._v(\" I’m sorry, Dave. No gems available.... \")])])],1):_c('div',{staticClass:\"mt-4\"},_vm._l((_vm.listData),function(data,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(data.name))])],1),_c('v-list-item-icon',[(_vm.activeDownload)?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"disabled\":_vm.activeDownload},on:{\"click\":function($event){return _vm.downloadGem(data)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-cloud-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),(index < _vm.listData.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DownloadDialog.vue?vue&type=template&id=5f1d58fe&\"\nimport script from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DownloadDialog.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","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GemsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GemsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GemsTab.vue?vue&type=template&id=244ac371&\"\nimport script from \"./GemsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./GemsTab.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"],"names":["request","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","method","url","_ref2","data","_ref2$params","params","headers","_ref2$noAuth","noAuth","_ref2$noScope","noScope","refreshed","_args","arguments","wrap","_context","prev","next","length","undefined","OpenC3Auth","updateToken","defaultMinValidity","sent","setTokens","t0","login","localStorage","openc3Token","window","openc3Scope","abrupt","axios","stop","_x","_x2","apply","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","_objectSpread","get","path","_ref3","_ref3$headers","put","_ref4","_ref4$headers","post","_ref5","_ref5$headers","delete","_ref6","_ref6$headers","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","error","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","width","model","value","show","callback","$$v","expression","_v","_s","staticClass","scopedSlots","_u","key","fn","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","Boolean","String","computed","set","$emit","methods","blob","Blob","type","link","document","createElement","href","URL","createObjectURL","setAttribute","click","component","ref","files","loadingGem","upload","proxy","alertType","showAlert","alert","Object","keys","processes","_l","process","name","domProps","detail","state","formatDate","updated_at","showOutput","_e","gems","gem","index","deleteGem","showDownloadDialog","processOutput","showProcessOutput","disableSearch","searchGithub","listData","activeDownload","downloadGem","expanded","parseGithub","parseRuby","gemRegEx","tree","filter","f","exec","map","getResponse","_this","setTimeout","remove","components","DownloadDialog","SimpleTextDialog","mounted","update","updateProcesses","output","Api","_this2","nanoSecs","format","toDate","parseInt","_this3","promises","file","formData","FormData","append","all","responses","catch","_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A,SAAAT,GACA4I,EAAA7D,MAAA,eAAAhE,OAAA+E,GACA8C,EAAA/D,UAAA,UACA+D,EAAA9D,WAAA,EACAsC,YAAA,WACAwB,EAAA9D,WAAA,CACA,QACA8D,EAAAlB,QACA,GACA,IIlO8T,ICO1T,GAAY,OACd,EACAjG,EACA2B,GACA,EACA,KACA,KACA,MAIF,EAAe,EAAiB,O","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?e067","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?a211","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?83fa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue?8190","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue?c5db"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\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","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","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'),_vm._v(\" \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_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(\"\\n mdi-download\\n \")])],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Download \")])])],1)],1),_vm._v(\" \"),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_vm._v(\" \"),_c('v-card-actions',[_c('v-spacer'),_vm._v(\" \"),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=4cd697cc&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"multiple\":\"\",\"show-size\":\"\",\"accept\":\".gem\",\"label\":\"Click to select .gem file(s) to add to internal gem server\"},model:{value:(_vm.files),callback:function ($$v) {_vm.files=$$v},expression:\"files\"}})],1)],1),_vm._v(\" \"),_c('v-row',{staticClass:\"px-2 pb-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-spacer'),_vm._v(\" \"),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"gemUpload\",\"disabled\":_vm.files.length < 1,\"loading\":_vm.loadingGem},on:{\"click\":function($event){return _vm.upload()}},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}])},[_c('v-icon',{attrs:{\"left\":\"\",\"dark\":\"\"}},[_vm._v(\"mdi-cloud-upload\")]),_vm._v(\" \"),_c('span',[_vm._v(\" Upload \")])],1)],1),_vm._v(\" \"),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),_vm._v(\" \"),(Object.keys(_vm.processes).length > 0)?_c('v-list',{attrs:{\"data-test\":\"processList\"}},_vm._l((_vm.processes),function(process){return _c('div',{key:process.name},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('span',{domProps:{\"textContent\":_vm._s('Installing: ' + process.detail + ' - ' + process.state)}})]),_vm._v(\" \"),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),_vm._v(\" \"),(process.state !== 'Running')?_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showOutput(process)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-eye\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Show Output\")])])],1):_vm._e()],1),_vm._v(\" \"),_c('v-divider')],1)}),0):_vm._e(),_vm._v(\" \"),_c('v-list',{attrs:{\"data-test\":\"gemList\"}},_vm._l((_vm.gems),function(gem,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(gem))])],1),_vm._v(\" \"),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.deleteGem(gem)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-delete\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Delete Gem\")])])],1)],1),_vm._v(\" \"),(index < _vm.gems.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_vm._v(\" \"),_c('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_vm._v(\" \"),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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'),_vm._v(\" \"),_c('span',[_vm._v(\" Download Gems \")]),_vm._v(\" \"),_c('v-spacer')],1),_vm._v(\" \"),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_vm._v(\" \"),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"px-2\"},[_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"searchGithub\",\"color\":\"primary\",\"disabled\":_vm.disableSearch},on:{\"click\":_vm.searchGithub}},[_vm._v(\"\\n Github\\n \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_vm._v(\" \"),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),_vm._v(\" \"),(_vm.listData.length < 1)?_c('div',{staticClass:\"mt-4\"},[_c('v-row',{staticClass:\"mx-2\"},[_c('span',[_vm._v(\" I’m sorry, Dave. No gems available.... \")])])],1):_c('div',{staticClass:\"mt-4\"},_vm._l((_vm.listData),function(data,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(data.name))])],1),_vm._v(\" \"),_c('v-list-item-icon',[(_vm.activeDownload)?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"disabled\":_vm.activeDownload},on:{\"click\":function($event){return _vm.downloadGem(data)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-cloud-download\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),_vm._v(\" \"),(index < _vm.listData.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DownloadDialog.vue?vue&type=template&id=5f1d58fe&\"\nimport script from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DownloadDialog.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","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GemsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GemsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GemsTab.vue?vue&type=template&id=244ac371&\"\nimport script from \"./GemsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./GemsTab.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"],"names":["request","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","method","url","_ref2","data","_ref2$params","params","headers","_ref2$noAuth","noAuth","_ref2$noScope","noScope","refreshed","_args","arguments","wrap","_context","prev","next","length","undefined","OpenC3Auth","updateToken","defaultMinValidity","sent","setTokens","t0","login","localStorage","openc3Token","window","openc3Scope","abrupt","axios","stop","_x","_x2","apply","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","_objectSpread","get","path","_ref3","_ref3$headers","put","_ref4","_ref4$headers","post","_ref5","_ref5$headers","delete","_ref6","_ref6$headers","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","error","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","width","model","value","show","callback","$$v","expression","_v","_s","staticClass","scopedSlots","_u","key","fn","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","Boolean","String","computed","set","$emit","methods","blob","Blob","type","link","document","createElement","href","URL","createObjectURL","setAttribute","click","component","ref","files","loadingGem","upload","proxy","alertType","showAlert","alert","Object","keys","processes","_l","process","name","domProps","detail","state","formatDate","updated_at","showOutput","_e","gems","gem","index","deleteGem","showDownloadDialog","processOutput","showProcessOutput","disableSearch","searchGithub","listData","activeDownload","downloadGem","expanded","parseGithub","parseRuby","gemRegEx","tree","filter","f","exec","map","getResponse","_this","setTimeout","remove","components","DownloadDialog","SimpleTextDialog","mounted","update","updateProcesses","output","Api","_this2","nanoSecs","format","toDate","parseInt","_this3","promises","file","formData","FormData","append","all","responses","catch","_this4","$dialog","confirm","okText","cancelText","dialog"],"sourceRoot":""}