openc3-cosmos-tool-admin 5.6.0 → 5.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/admin/index.html +4 -1
- data/tools/admin/js/13.js +2 -0
- data/tools/admin/js/13.js.map +1 -0
- data/tools/admin/js/19.js +1 -1
- data/tools/admin/js/19.js.map +1 -1
- data/tools/admin/js/222.js +2 -0
- data/tools/admin/js/222.js.map +1 -0
- data/tools/admin/js/253.js +2 -0
- data/tools/admin/js/253.js.map +1 -0
- data/tools/admin/js/309.js +2 -0
- data/tools/admin/js/309.js.map +1 -0
- data/tools/admin/js/324.js +2 -0
- data/tools/admin/js/324.js.map +1 -0
- data/tools/admin/js/{999.js → 355.js} +2 -2
- data/tools/admin/js/{999.js.map → 355.js.map} +1 -1
- data/tools/admin/js/374.js +2 -0
- data/tools/admin/js/374.js.map +1 -0
- data/tools/admin/js/388.js +1 -1
- data/tools/admin/js/388.js.map +1 -1
- data/tools/admin/js/497.js +2 -0
- data/tools/admin/js/497.js.map +1 -0
- data/tools/admin/js/{224.js → 511.js} +2 -2
- data/tools/admin/js/{224.js.map → 511.js.map} +1 -1
- data/tools/admin/js/659.js +2 -0
- data/tools/admin/js/659.js.map +1 -0
- data/tools/admin/js/{133.js → 731.js} +2 -2
- data/tools/admin/js/{133.js.map → 731.js.map} +1 -1
- data/tools/admin/js/812.js +2 -0
- data/tools/admin/js/812.js.map +1 -0
- data/tools/admin/js/876.js +3 -3
- data/tools/admin/js/876.js.map +1 -1
- data/tools/admin/js/app.js +1 -1
- data/tools/admin/js/app.js.map +1 -1
- metadata +26 -24
- data/tools/admin/js/126.js +0 -2
- data/tools/admin/js/126.js.map +0 -1
- data/tools/admin/js/303.js +0 -2
- data/tools/admin/js/303.js.map +0 -1
- data/tools/admin/js/317.js +0 -2
- data/tools/admin/js/317.js.map +0 -1
- data/tools/admin/js/398.js +0 -2
- data/tools/admin/js/398.js.map +0 -1
- data/tools/admin/js/446.js +0 -2
- data/tools/admin/js/446.js.map +0 -1
- data/tools/admin/js/566.js +0 -2
- data/tools/admin/js/566.js.map +0 -1
- data/tools/admin/js/635.js +0 -2
- data/tools/admin/js/635.js.map +0 -1
- data/tools/admin/js/661.js +0 -2
- data/tools/admin/js/661.js.map +0 -1
@@ -0,0 +1,2 @@
|
|
1
|
+
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[497],{3812:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var o=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{attrs:{"data-test":"interfaceList"}},e._l(e.interfaces,(function(n,o){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),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.showInterface(n)}}},"v-icon",r,!1),i),[e._v(" mdi-eye ")])]}}],null,!0)},[t("span",[e._v("Show Interface Details")])])],1)],1),o<e.interfaces.length-1?t("v-divider",{key:o}):e._e()],1)})),0),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)},i=[],r=(n(6710),n(6129)),a=n(5524),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(3287),g=(0,l.Z)(c,o,i,!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 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 g=this.getFoldWidgetRange(e,"all",t);if(g){if(g.start.row<=r)break;if(g.isMultiLine())t=g.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 g=n;if(g>a)return new i(a,o,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/behaviour/cstyle","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("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,g=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=new s,this.foldingRules=new c};o.inherits(g,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 l(["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(g.prototype),t.Mode=g})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()}}]);
|
2
|
+
//# sourceMappingURL=497.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js/497.js","mappings":"8LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC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GAAG,IAAIC,EAAE,IAAIqD,EAAE,CAAC,OAAO,uBAAuB,cAAc,OAAOrD,EAAEmE,iBAAiBpE,EAAEqE,eAAepE,EAAErC,GAAG,YAAW,SAASqC,GAAGD,EAAEsE,eAAerE,EAAElB,KAAK,IAAGkB,EAAErC,GAAG,aAAY,WAAWoC,EAAEuE,kBAAkB,IAAGtE,CAAC,EAAEpD,KAAK2H,IAAI,eAAe,EAAE1C,KAAKyB,EAAExB,WAAW9B,EAAEwD,KAAKF,CAAC,IAAmB,WACtqKzD,IAAI2E,QAAQ,CAAC,kBAAkB,SAASC,GAC2BC,IAC3DA,EAAOC,QAAUF,EAEzB,GACH,CANyqK,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?464b","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue?b5de","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),_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(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Interface Details\")])])],1)],1),(index < _vm.interfaces.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_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/@vue/cli-plugin-babel/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/cli-service/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/@vue/cli-plugin-babel/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/cli-service/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/cli-service/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/behaviour/cstyle\",\"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(\"./behaviour/cstyle\").CstyleBehaviour,a=e(\"./folding/cstyle\").FoldMode,f=e(\"../worker/worker_client\").WorkerClient,l=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=new u,this.foldingRules=new a};r.inherits(l,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 f([\"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() {\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","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","CstyleBehaviour","WorkerClient","HighlightRules","$outdent","$behaviour","foldingRules","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","$id","require","m","module","exports"],"sourceRoot":""}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[
|
2
|
-
//# sourceMappingURL=
|
1
|
+
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[511],{6129:function(e,t,s){"use strict";var n=s(6964),a=s(5789),o=s(9502),r=s(9373),i=function(){var e=(0,o.Z)((0,a.Z)().mark((function e(t,s){var n,o,i,d,c,p,l,u,m,h,v=arguments;return(0,a.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=v.length>2&&void 0!==v[2]?v[2]:{},o=n.data,i=n.params,d=void 0===i?{}:i,c=n.headers,p=n.noAuth,l=void 0!==p&&p,u=n.noScope,m=void 0!==u&&u,l){e.next=13;break}return e.prev=2,e.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:h=e.sent,h&&OpenC3Auth.setTokens(),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](2),OpenC3Auth.login();case 12:c["Authorization"]=localStorage.openc3Token;case 13:return m||d["scope"]||(d["scope"]=window.openc3Scope),e.abrupt("return",(0,r.Z)({method:t,url:s,data:o,params:d,headers:c}));case 15:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t,s){return e.apply(this,arguments)}}(),d={Accept:"application/json"},c=(0,n.Z)((0,n.Z)({},d),{},{"Content-Type":"application/json"});t["Z"]={get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=t.params,n=t.headers,a=void 0===n?d:n,o=t.noScope,r=t.noAuth;return i("get",e,{params:s,headers:a,noScope:o,noAuth:r})},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=t.data,n=t.params,a=t.headers,o=void 0===a?c:a,r=t.noScope,d=t.noAuth;return i("put",e,{data:s,params:n,headers:o,noScope:r,noAuth:d})},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=t.data,n=t.params,a=t.headers,o=void 0===a?c:a,r=t.noScope,d=t.noAuth;return i("post",e,{data:s,params:n,headers:o,noScope:r,noAuth:d})},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=t.params,n=t.headers,a=void 0===n?d:n,o=t.noScope,r=t.noAuth;return i("delete",e,{params:s,headers:a,noScope:o,noAuth:r})}}},9373:function(e,t,s){"use strict";s(9529),s(1235),s(8188),s(8233);var n=s(9644),a=s.n(n),o=s(4091),r=new o["default"],i=a().create({baseURL:location.origin,timeout:6e4,params:{}});i.interceptors.response.use((function(e){return e}),(function(e){if(e.response){var t,s,n,a,o,i,d,c,p,l;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.headers["ignore-errors"]&&e.response.headers["ignore-errors"].includes(e.response.status.toString()))return Promise.reject(e);var u="HTTP ".concat(e.response.status," - ");if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(u+="".concat(e.response.statusText," ")),null!==(s=e.response)&&void 0!==s&&null!==(n=s.config)&&void 0!==n&&n.data&&(u+="".concat(e.response.config.data," ")),null!==(a=e.response)&&void 0!==a&&null!==(o=a.data)&&void 0!==o&&o.message)u+="".concat(e.response.data.message);else if(null!==(i=e.response)&&void 0!==i&&null!==(d=i.data)&&void 0!==d&&d.exception)u+="".concat(e.response.data.exception);else if(null!==(c=e.response)&&void 0!==c&&null!==(p=c.data)&&void 0!==p&&null!==(l=p.error)&&void 0!==l&&l.message)e.response.data.error.class&&(u+="".concat(e.response.data.error.class," ")),u+="".concat(e.response.data.error.message);else{var m;u+="".concat(null===(m=e.response)||void 0===m?void 0:m.data)}throw r.$notify&&r.$notify.serious({title:"Network error",body:u}),e}throw e})),t["Z"]=i},7511:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return p}});var n=function(){var e=this,t=e._self._c;return t("div",[t("v-card",[t("v-card-title",[e._v(" Send Raw Redis Commands ")]),t("v-card-subtitle",[e._v(" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. "),t("br"),t("br"),e._v(" Enter commands like you would at the Redis cli prompt: "),t("code",[e._v("ping")]),e._v(" or "),t("code",[e._v("hget openc3__settings version")])]),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{staticClass:"monospace",attrs:{label:"Redis command"},on:{keydown:e.commandKeydown},model:{value:e.redisCommandText,callback:function(t){e.redisCommandText=t},expression:"redisCommandText"}}),e.redisResponse?t("span",{staticClass:"monospace"},[e._v(" Response: "+e._s(e.redisResponse)+" ")]):e._e()],1),t("v-card-actions",[t("v-btn",{staticClass:"ml-2",attrs:{disabled:!e.redisCommandText.length,color:"success",text:""},on:{click:e.executeRaw}},[e._v(" Execute ")]),t("v-radio-group",{staticClass:"mt-0",attrs:{row:"","hide-details":""},model:{value:e.redisEndpoint,callback:function(t){e.redisEndpoint=t},expression:"redisEndpoint"}},[t("v-radio",{attrs:{label:"Persistent",value:"/openc3-api/redis/exec","data-test":"persistent-radio"}}),t("v-radio",{attrs:{label:"Ephemeral",value:"/openc3-api/redis/exec?ephemeral=1","data-test":"ephemeral-radio"}})],1)],1),t("v-data-table",{staticClass:"monospace",attrs:{headers:e.headers,items:e.commands,"item-class":"monospace","calculate-widths":"","disable-pagination":"","hide-default-footer":"",dense:"",height:"45vh"}})],1)],1)},a=[],o=(s(1951),s(6129)),r={data:function(){return{redisCommandText:"",redisResponse:null,redisEndpoint:"/openc3-api/redis/exec",headers:[{text:"Redis",value:"redis",width:150},{text:"Command",value:"command"},{text:"Response",value:"response"}],commands:[]}},methods:{commandKeydown:function(e){"Enter"===e.key&&this.executeRaw()},executeRaw:function(){var e=this;this.redisResponse=null,o.Z.post(this.redisEndpoint,{data:this.redisCommandText,headers:{Accept:"application/json","Content-Type":"plain/text"}}).then((function(t){e.redisResponse=t.data.result;var s="Ephemeral";"/openc3-api/redis/exec"===e.redisEndpoint&&(s="Persistent"),e.commands.unshift({redis:s,command:e.redisCommandText,response:e.redisResponse})}))}}},i=r,d=(s(9669),s(3287)),c=(0,d.Z)(i,n,a,!1,null,"79cc266e",null),p=c.exports},8019:function(e,t,s){"use strict";s.r(t);var n=s(3467),a=s.n(n),o=s(8715),r=s.n(o),i=r()(a());i.push([e.id,".monospace[data-v-79cc266e]{font-family:monospace;font-size:20px}",""]),t["default"]=i},9669:function(e,t,s){var n=s(8019);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var a=s(3514).Z;a("874a439a",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
+
//# sourceMappingURL=511.js.map
|
@@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,CACAhB,eAAA,SAAAiB,GACA,UAAAA,EAAAC,KAAA,KAAAR,YACA,EACAA,WAAA,eAAAS,EAAA,KACA,KAAAZ,cAAA,KACAa,EAAAA,EAAAA,KAAA,KAAAT,cAAA,CACA7G,KAAA,KAAAqG,iBACAlG,QAAA,CACAgC,OAAA,mBACA,+BAEAsC,MAAA,SAAAd,GACA0D,EAAAZ,cAAA9C,EAAA3D,KAAAuH,OACA,IAAAC,EAAA,YACA,2BAAAH,EAAAR,gBACAW,EAAA,cAEAH,EAAAP,SAAAW,QAAA,CACAD,MAAAA,EACAE,QAAAL,EAAAhB,iBACA1C,SAAA0D,EAAAZ,eAEA,GACA,IC9H+T,I,oBCQ3TkB,GAAY,OACd,EACAlC,EACAsB,GACA,EACA,KACA,WACA,MAIF,EAAeY,EAAiB,O,oFChB5BC,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,oEAAqE,KAE9G,c,uBCJA,IAAIC,EAAU,EAAQ,KACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACF,EAAOC,GAAIC,EAAS,MAC7DA,EAAQG,SAAQL,EAAOM,QAAUJ,EAAQG,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYL,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","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/tools/admin/tabs/RedisTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?34a1","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?5bcd","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?5051","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?420a"],"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('div',[_c('v-card',[_c('v-card-title',[_vm._v(\" Send Raw Redis Commands \")]),_c('v-card-subtitle',[_vm._v(\" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. \"),_c('br'),_c('br'),_vm._v(\" Enter commands like you would at the Redis cli prompt: \"),_c('code',[_vm._v(\"ping\")]),_vm._v(\" or \"),_c('code',[_vm._v(\"hget openc3__settings version\")])]),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{staticClass:\"monospace\",attrs:{\"label\":\"Redis command\"},on:{\"keydown\":_vm.commandKeydown},model:{value:(_vm.redisCommandText),callback:function ($$v) {_vm.redisCommandText=$$v},expression:\"redisCommandText\"}}),(_vm.redisResponse)?_c('span',{staticClass:\"monospace\"},[_vm._v(\" Response: \"+_vm._s(_vm.redisResponse)+\" \")]):_vm._e()],1),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2\",attrs:{\"disabled\":!_vm.redisCommandText.length,\"color\":\"success\",\"text\":\"\"},on:{\"click\":_vm.executeRaw}},[_vm._v(\" Execute \")]),_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.redisEndpoint),callback:function ($$v) {_vm.redisEndpoint=$$v},expression:\"redisEndpoint\"}},[_c('v-radio',{attrs:{\"label\":\"Persistent\",\"value\":\"/openc3-api/redis/exec\",\"data-test\":\"persistent-radio\"}}),_c('v-radio',{attrs:{\"label\":\"Ephemeral\",\"value\":\"/openc3-api/redis/exec?ephemeral=1\",\"data-test\":\"ephemeral-radio\"}})],1)],1),_c('v-data-table',{staticClass:\"monospace\",attrs:{\"headers\":_vm.headers,\"items\":_vm.commands,\"item-class\":\"monospace\",\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"dense\":\"\",\"height\":\"45vh\"}})],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!./RedisTab.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!./RedisTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RedisTab.vue?vue&type=template&id=79cc266e&scoped=true&\"\nimport script from \"./RedisTab.vue?vue&type=script&lang=js&\"\nexport * from \"./RedisTab.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RedisTab.vue?vue&type=style&index=0&id=79cc266e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79cc266e\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".monospace[data-v-79cc266e]{font-family:monospace;font-size:20px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedisTab.vue?vue&type=style&index=0&id=79cc266e&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"1d95d028\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"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$response2$conf","_error$response3","_error$response3$data","_error$response4","_error$response4$data","_error$response5","_error$response5$data","_error$response5$data2","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","_v","staticClass","attrs","on","commandKeydown","model","value","redisCommandText","callback","$$v","expression","redisResponse","_s","_e","executeRaw","redisEndpoint","commands","staticRenderFns","text","width","methods","$event","key","_this","Api","result","redis","unshift","command","component","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","default","locals","exports","add"],"sourceRoot":""}
|
1
|
+
{"version":3,"file":"js/511.js","mappings":"6LAwBMA,EAAO,eAAAC,GAAAC,EAAAA,EAAAA,IAAAC,EAAAA,EAAAA,KAAAC,MAAG,SAAAC,EACdC,EACAC,GAAG,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAhB,EAAAA,EAAAA,KAAAiB,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,OAC0D,GAD1Df,EAAAU,EAAAM,OAAA,QAAAC,IAAAP,EAAA,GAAAA,EAAA,GAC+D,CAAC,EAAjET,EAAID,EAAJC,KAAIC,EAAAF,EAAEG,OAAAA,OAAM,IAAAD,EAAG,CAAC,EAACA,EAAEE,EAAOJ,EAAPI,QAAOC,EAAAL,EAAEM,OAAAA,OAAM,IAAAD,GAAQA,EAAAE,EAAAP,EAAEQ,QAAAA,OAAO,IAAAD,GAAQA,EAExDD,EAAQ,CAAFO,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEeG,WAAWC,YAC/BD,WAAWE,oBACZ,OAFGX,EAASI,EAAAQ,KAGTZ,GACFS,WAAWI,YACZT,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAAU,GAAAV,EAAA,YAEDK,WAAWM,QAAO,QAEpBpB,EAAQ,iBAAmBqB,aAAaC,YAAW,QAIpD,OAFIlB,GAAYL,EAAO,WACtBA,EAAO,SAAWwB,OAAOC,aAC1Bf,EAAAgB,OAAA,UACMC,EAAAA,EAAAA,GAAM,CACXhC,OAAAA,EACAC,IAAAA,EACAE,KAAAA,EACAE,OAAAA,EACAC,QAAAA,KACA,yBAAAS,EAAAkB,OAAA,GAAAlC,EAAA,kBACH,gBA5BY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KACA,CAAAD,KAAA,UAAAZ,MAAA,WACA,CAAAY,KAAA,WAAAZ,MAAA,aAEAU,SAAA,GAEA,EACAI,QAAA,CACAhB,eAAA,SAAAiB,GACA,UAAAA,EAAAC,KAAA,KAAAR,YACA,EACAA,WAAA,eAAAS,EAAA,KACA,KAAAZ,cAAA,KACAa,EAAAA,EAAAA,KAAA,KAAAT,cAAA,CACA7G,KAAA,KAAAqG,iBACAlG,QAAA,CACAgC,OAAA,mBACA,+BAEAsC,MAAA,SAAAd,GACA0D,EAAAZ,cAAA9C,EAAA3D,KAAAuH,OACA,IAAAC,EAAA,YACA,2BAAAH,EAAAR,gBACAW,EAAA,cAEAH,EAAAP,SAAAW,QAAA,CACAD,MAAAA,EACAE,QAAAL,EAAAhB,iBACA1C,SAAA0D,EAAAZ,eAEA,GACA,IC9HgY,I,oBCQ5XkB,GAAY,OACd,EACAlC,EACAsB,GACA,EACA,KACA,WACA,MAIF,EAAeY,EAAiB,O,qFChB5BC,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,oEAAqE,KAE9G,c,uBCJA,IAAIC,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACF,EAAOC,GAAIC,EAAS,MAC7DA,EAAQG,SAAQL,EAAOM,QAAUJ,EAAQG,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYL,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","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/tools/admin/tabs/RedisTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?dad0","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?4571","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?6051","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RedisTab.vue?0255"],"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('div',[_c('v-card',[_c('v-card-title',[_vm._v(\" Send Raw Redis Commands \")]),_c('v-card-subtitle',[_vm._v(\" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. \"),_c('br'),_c('br'),_vm._v(\" Enter commands like you would at the Redis cli prompt: \"),_c('code',[_vm._v(\"ping\")]),_vm._v(\" or \"),_c('code',[_vm._v(\"hget openc3__settings version\")])]),_c('v-card-text',{staticClass:\"pb-0 ml-2\"},[_c('v-text-field',{staticClass:\"monospace\",attrs:{\"label\":\"Redis command\"},on:{\"keydown\":_vm.commandKeydown},model:{value:(_vm.redisCommandText),callback:function ($$v) {_vm.redisCommandText=$$v},expression:\"redisCommandText\"}}),(_vm.redisResponse)?_c('span',{staticClass:\"monospace\"},[_vm._v(\" Response: \"+_vm._s(_vm.redisResponse)+\" \")]):_vm._e()],1),_c('v-card-actions',[_c('v-btn',{staticClass:\"ml-2\",attrs:{\"disabled\":!_vm.redisCommandText.length,\"color\":\"success\",\"text\":\"\"},on:{\"click\":_vm.executeRaw}},[_vm._v(\" Execute \")]),_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.redisEndpoint),callback:function ($$v) {_vm.redisEndpoint=$$v},expression:\"redisEndpoint\"}},[_c('v-radio',{attrs:{\"label\":\"Persistent\",\"value\":\"/openc3-api/redis/exec\",\"data-test\":\"persistent-radio\"}}),_c('v-radio',{attrs:{\"label\":\"Ephemeral\",\"value\":\"/openc3-api/redis/exec?ephemeral=1\",\"data-test\":\"ephemeral-radio\"}})],1)],1),_c('v-data-table',{staticClass:\"monospace\",attrs:{\"headers\":_vm.headers,\"items\":_vm.commands,\"item-class\":\"monospace\",\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"dense\":\"\",\"height\":\"45vh\"}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedisTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedisTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RedisTab.vue?vue&type=template&id=79cc266e&scoped=true&\"\nimport script from \"./RedisTab.vue?vue&type=script&lang=js&\"\nexport * from \"./RedisTab.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RedisTab.vue?vue&type=style&index=0&id=79cc266e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79cc266e\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".monospace[data-v-79cc266e]{font-family:monospace;font-size:20px}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedisTab.vue?vue&type=style&index=0&id=79cc266e&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"874a439a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"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$response2$conf","_error$response3","_error$response3$data","_error$response4","_error$response4$data","_error$response5","_error$response5$data","_error$response5$data2","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","_v","staticClass","attrs","on","commandKeydown","model","value","redisCommandText","callback","$$v","expression","redisResponse","_s","_e","executeRaw","redisEndpoint","commands","staticRenderFns","text","width","methods","$event","key","_this","Api","result","redis","unshift","command","component","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","default","locals","exports","add"],"sourceRoot":""}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[659],{6129:function(t,e,i){"use strict";var n=i(6964),s=i(5789),o=i(9502),a=i(9373),l=function(){var t=(0,o.Z)((0,s.Z)().mark((function t(e,i){var n,o,l,r,u,c,d,p,f,g,h=arguments;return(0,s.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=h.length>2&&void 0!==h[2]?h[2]:{},o=n.data,l=n.params,r=void 0===l?{}:l,u=n.headers,c=n.noAuth,d=void 0!==c&&c,p=n.noScope,f=void 0!==p&&p,d){t.next=13;break}return t.prev=2,t.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:g=t.sent,g&&OpenC3Auth.setTokens(),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](2),OpenC3Auth.login();case 12:u["Authorization"]=localStorage.openc3Token;case 13:return f||r["scope"]||(r["scope"]=window.openc3Scope),t.abrupt("return",(0,a.Z)({method:e,url:i,data:o,params:r,headers:u}));case 15:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(e,i){return t.apply(this,arguments)}}(),r={Accept:"application/json"},u=(0,n.Z)((0,n.Z)({},r),{},{"Content-Type":"application/json"});e["Z"]={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.params,n=e.headers,s=void 0===n?r:n,o=e.noScope,a=e.noAuth;return l("get",t,{params:i,headers:s,noScope:o,noAuth:a})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.data,n=e.params,s=e.headers,o=void 0===s?u:s,a=e.noScope,r=e.noAuth;return l("put",t,{data:i,params:n,headers:o,noScope:a,noAuth:r})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.data,n=e.params,s=e.headers,o=void 0===s?u:s,a=e.noScope,r=e.noAuth;return l("post",t,{data:i,params:n,headers:o,noScope:a,noAuth:r})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.params,n=e.headers,s=void 0===n?r:n,o=e.noScope,a=e.noAuth;return l("delete",t,{params:i,headers:s,noScope:o,noAuth:a})}}},9373:function(t,e,i){"use strict";i(9529),i(1235),i(8188),i(8233);var n=i(9644),s=i.n(n),o=i(4091),a=new o["default"],l=s().create({baseURL:location.origin,timeout:6e4,params:{}});l.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,i,n,s,o,l,r,u,c,d;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 p="HTTP ".concat(t.response.status," - ");if(null!==(e=t.response)&&void 0!==e&&e.statusText&&(p+="".concat(t.response.statusText," ")),null!==(i=t.response)&&void 0!==i&&null!==(n=i.config)&&void 0!==n&&n.data&&(p+="".concat(t.response.config.data," ")),null!==(s=t.response)&&void 0!==s&&null!==(o=s.data)&&void 0!==o&&o.message)p+="".concat(t.response.data.message);else if(null!==(l=t.response)&&void 0!==l&&null!==(r=l.data)&&void 0!==r&&r.exception)p+="".concat(t.response.data.exception);else if(null!==(u=t.response)&&void 0!==u&&null!==(c=u.data)&&void 0!==c&&null!==(d=c.error)&&void 0!==d&&d.message)t.response.data.error.class&&(p+="".concat(t.response.data.error.class," ")),p+="".concat(t.response.data.error.message);else{var f;p+="".concat(null===(f=t.response)||void 0===f?void 0:f.data)}throw a.$notify&&a.$notify.serious({title:"Network error",body:p}),t}throw t})),e["Z"]=l},3340:function(t,e,i){"use strict";i.d(e,{Z:function(){return u}});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"),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(i){var n=i.on,s=i.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(" 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)},s=[],o=(i(8188),i(8673),i(6886),i(4121),i(523),{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()}}}),a=o,l=i(3287),r=(0,l.Z)(a,n,s,!1,null,null,null),u=r.exports},3659:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return O}});i(4769),i(8178);var n=function(){var t=this,e=t._self._c;return e("div",[e("v-row",{staticClass:"px-2",attrs:{"no-gutters":"",align:"center"}},[e("v-col",[e("v-file-input",{ref:"fileInput",staticClass:"mx-2",attrs:{"show-size":"",accept:".gem",label:"Click to select plugin .gem file to install"},on:{change:function(e){return t.fileChange()},mousedown:function(e){return t.fileMousedown()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1)],1),e("v-row",{staticClass:"px-2 pb-2",staticStyle:{"margin-top":"10px"},attrs:{"no-gutters":""}},[e("v-col",[e("v-checkbox",{staticClass:"mt-0",attrs:{label:"Show Default Tools","data-test":"show-default-tools"},model:{value:t.showDefaultTools,callback:function(e){t.showDefaultTools=e},expression:"showDefaultTools"}})],1),e("v-col",{attrs:{align:"right"}},[e("div",[t._v("* indicates a modified plugin")]),e("div",[t._v("Click target link to download modifications")])])],1),e("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:t.alertType,"data-test":"plugin-alert"},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":"process-list"}},t._l(t.processes,(function(i){return e("div",{key:i.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{class:i.state.toLowerCase(),domProps:{textContent:t._s("Processing ".concat(i.process_type,": ").concat(i.detail," - ").concat(i.state))}})]),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(i.updated_at))}})])],1),e("v-list-item-icon",["Running"===i.state?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,o=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"show-output"},on:{click:function(e){return t.showOutput(i)}}},"v-icon",o,!1),s),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Output")])])],1)],1),e("v-divider")],1)})),0):t._e(),e("v-list",{attrs:{"data-test":"plugin-list"}},t._l(t.shownPlugins,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t.isModified(i)?e("span",[t._v("* ")]):t._e(),t._v(t._s(i))]),0!==t.pluginTargets(i).length?e("v-list-item-subtitle",t._l(t.pluginTargets(i),(function(i,n){return e("span",{key:n},[i.modified?e("a",{on:{click:function(e){return e.preventDefault(),t.downloadTarget(i.name)}}},[t._v(t._s(i.name)+" ")]):e("span",[t._v(t._s(i.name)+" ")])])})),0):t._e()],1),e("v-list-item-icon",[e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,o=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"download-plugin"},on:{click:function(e){return t.downloadPlugin(i)}}},"v-icon",o,!1),s),[t._v(" mdi-download ")])]}}],null,!0)},[e("span",[t._v("Download Plugin")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,o=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"edit-plugin"},on:{click:function(e){return t.editPlugin(i)}}},"v-icon",o,!1),s),[t._v(" mdi-pencil ")])]}}],null,!0)},[e("span",[t._v("Edit Plugin Details")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,o=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"upgrade-plugin"},on:{click:function(e){return t.upgradePlugin(i)}}},"v-icon",o,!1),s),[t._v(" mdi-update ")])]}}],null,!0)},[e("span",[t._v("Upgrade Plugin")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,o=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"delete-plugin"},on:{click:function(e){return t.deletePrompt(i)}}},"v-icon",o,!1),s),[t._v(" mdi-delete ")])]}}],null,!0)},[e("span",[t._v("Delete Plugin")])])],1)])],1),n<t.plugins.length-1?e("v-divider",{key:n}):t._e()],1)})),0),t.showPluginDialog?e("plugin-dialog",{attrs:{pluginName:t.pluginName,variables:t.variables,pluginTxt:t.pluginTxt,existingPluginTxt:t.existingPluginTxt},on:{submit:t.pluginCallback},model:{value:t.showPluginDialog,callback:function(e){t.showPluginDialog=e},expression:"showPluginDialog"}}):t._e(),t.showModifiedPluginDialog?e("modified-plugin-dialog",{attrs:{pluginName:t.currentPlugin,targets:t.pluginTargets(t.currentPlugin),pluginDelete:t.pluginDelete},on:{submit:t.modifiedSubmit},model:{value:t.showModifiedPluginDialog,callback:function(e){t.showModifiedPluginDialog=e},expression:"showModifiedPluginDialog"}}):t._e(),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=[],o=i(5789),a=i(9502),l=i(8081),r=(i(2501),i(9529),i(1235),i(6728),i(8995),i(6710),i(4707),i(1497),i(5640),i(1871),i(8188),i(3675),i(4898),i(5825),i(7170),i(8857),i(8329),i(6279),i(427),i(171),i(7093),i(1159),i(2516),i(4349),i(5273),i(6729),i(1801),i(574),i(5787),i(9271),i(3160),i(5688),i(3157),i(3333),i(315),i(556),i(9224),i(2649),i(14),i(1996),i(8673),i(6886),i(4121),i(523),i(9949),i(7388)),u=i(6700),c=i(6129),d=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{persistent:"",width:"80vw"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-card-text",[e("v-card-title",[t._v(t._s(t.pluginName)+" ")]),null!==t.existingPluginTxt?e("v-row",{staticClass:"notice d-flex flex-row"},[e("v-icon",{attrs:{"x-large":"",left:"",color:"yellow"}},[t._v("mdi-alert-box")]),e("div",{staticStyle:{flex:"1"}},[t._v(" The existing plugin.txt is different from the "+t._s(t.pluginName)+"'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update "+t._s(t.pluginName)+"'s plugin.txt going forward. ")])],1):t._e(),e("v-row",{staticClass:"pb-3"},[e("v-tabs",{staticClass:"ml-3",model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab",{key:0},[t._v(" Variables ")]),(t.existingPluginTxt,e("v-tab",{key:1},[t._v(" plugin.txt ")]))],1)],1),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("v-tabs-items",{model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab-item",{key:0,staticClass:"tab",attrs:{eager:"true"}},[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"mt-3"},t._l(t.localVariables,(function(i,n){return e("div",{key:n},[e("v-col",{staticStyle:{width:"220px"}},[e("v-text-field",{attrs:{clearable:"",type:"text",label:n},model:{value:t.localVariables[n],callback:function(e){t.$set(t.localVariables,n,e)},expression:"localVariables[name]"}})],1)],1)})),0)],1)]),null===t.existingPluginTxt?e("v-tab-item",{key:1,staticClass:"tab",attrs:{eager:"true"}},[e("v-row",{staticClass:"pa-3"},[e("v-col",[t._v("This can be edited before installation.")])],1),e("pre",{ref:"editor",staticClass:"editor"})],1):e("v-tab-item",{key:1,staticClass:"tab",attrs:{eager:"true"}},[e("v-row",{staticClass:"pa-3"},[e("v-col",[t._v("Existing plugin.txt. This can be edited before installation.")]),e("v-col",{staticClass:"ml-6"},[t._v("Uneditable plugin.txt from the new plugin.")])],1),e("pre",{ref:"editor",staticClass:"editor"})],1)],1),e("v-card-actions",{staticClass:"mt-2"},[null!==t.existingPluginTxt?e("div",[e("v-btn",{staticClass:"mr-2",attrs:{color:"primary"},on:{click:t.nextDiff}},[t._v("Next Diff")]),e("v-btn",{attrs:{color:"primary"},on:{click:t.previousDiff}},[t._v("Previous Diff")])],1):t._e(),e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"edit-cancel"},on:{click:function(e){return e.preventDefault(),t.close.apply(null,arguments)}}},[t._v(" Cancel ")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"edit-submit"}},[t._v(" Install ")])],1)],1)],1)],1)],1)},p=[],f=(i(7368),i(4471),i(7950),i(1172),i(8233),i(1951),i(5095)),g=(i(1411),i(419),i(3923),i(2375),i(2243)),h=i.n(g),v=(i(8093),i(2992),{props:{pluginName:{type:String,required:!0},variables:{type:Object,required:!0},pluginTxt:{type:String,required:!0},existingPluginTxt:{type:String,required:!1},value:Boolean},data:function(){return{tab:0,localVariables:[],localPluginTxt:"",localExistingPluginTxt:null,editor:null,differ:null}},mounted:function(){var t=this.buildPluginMode();null===this.existingPluginTxt?(this.editor=f.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new t),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.localPluginTxt),this.editor.clearSelection(),this.editor.focus()):(this.tab=1,this.differ=new(h())({element:this.$refs.editor,mode:new t,theme:"ace/theme/twilight",left:{content:this.localExistingPluginTxt,copyLinkEnabled:!1},right:{content:this.localPluginTxt,editable:!1}}),this.differ.getEditors().left.setFontSize(16),this.differ.getEditors().right.setFontSize(16),this.curDiff=-1)},beforeDestroy:function(){this.editor&&this.editor.destroy(),this.differ&&this.differ.destroy()},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},watch:{value:{immediate:!0,handler:function(){this.localVariables=JSON.parse(JSON.stringify(this.variables)),this.localPluginTxt=this.pluginTxt.slice(),null!==this.existingPluginTxt&&(this.localExistingPluginTxt=this.existingPluginTxt.slice())}}},methods:{previousDiff:function(){this.curDiff--,this.curDiff<0&&(this.curDiff=this.differ.diffs.length-1),this.scrollToCurDiff()},nextDiff:function(){this.curDiff++,this.curDiff>=this.differ.diffs.length&&(this.curDiff=0),this.scrollToCurDiff()},scrollToCurDiff:function(){var t=this.differ.diffs[this.curDiff].leftStartLine,e=this.differ.diffs[this.curDiff].rightStartLine;t>5&&(t-=5),e>5&&(e-=5),this.differ.getEditors().left.scrollToLine(t),this.differ.getEditors().right.scrollToLine(e)},buildPluginMode:function(){var t=f.require("ace/lib/oop"),e=f.require("ace/mode/ruby_highlight_rules").RubyHighlightRules,i=["VARIABLE"],n=new RegExp("(\\b".concat(i.join("\\b|\\b"),"\\b)")),s=function(){for(var t in e.call(this),this.$rules)this.$rules[t].unshift({regex:n,token:"support.function"})};t.inherits(s,e);var o=f.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,a=f.require("ace/mode/behaviour/cstyle").CstyleBehaviour,l=f.require("ace/mode/folding/ruby").FoldMode,r=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=new a,this.foldingRules=new l,this.indentKeywords=this.foldingRules.indentKeywords},u=f.require("ace/mode/ruby").Mode;return t.inherits(r,u),function(){this.$id="ace/mode/openc3"}.call(r.prototype),r},submit:function(){var t="";t=null===this.existingPluginTxt?this.editor.getValue().split("\n"):this.differ.getEditors().left.getValue().split("\n");var e={name:this.pluginName,variables:this.localVariables,plugin_txt_lines:t};this.$emit("submit",e)},close:function(){this.show=!this.show}}}),m=v,b=(i(9272),i(3287)),x=(0,b.Z)(m,d,p,!1,null,"4c410b64",null),w=x.exports,_=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(" Modified Plugin ")]),e("v-spacer")],1),e("v-card-text",{staticClass:"pa-3"},[e("div",[t._v(" Plugin "+t._s(t.plugin)+" was modified. Would you like to delete the existing modified files? ")]),t._l(t.modifiedTargets,(function(i,n){return e("v-list-item",{key:n,attrs:{"two-line":""}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))]),t._l(i.files,(function(i,n){return e("v-list-item-subtitle",{key:n},[t._v(t._s(i))])}))],2)],1)})),e("v-checkbox",{attrs:{label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},model:{value:t.deleteModified,callback:function(e){t.deleteModified=e},expression:"deleteModified"}})],2),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"modified-plugin-cancel"},on:{click:function(e){t.show=!1,t.$emit("cancel")}}},[t._v("Cancel")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"modified-plugin-submit"},on:{click:function(e){t.show=!1,t.$emit("submit",t.deleteModified)}}},[t._v(t._s(t.submitButton))])],1)],1)],1)},P=[],k={props:{value:Boolean,plugin:String,targets:Array,pluginDelete:Boolean},data:function(){return{modifiedTargets:[],deleteModified:!1}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},submitButton:function(){return this.pluginDelete?"Delete":"Install"}},created:function(){var t,e=this,i=(0,l.Z)(this.targets);try{var n=function(){var i=t.value;c.Z.get("/openc3-api/targets/".concat(i.name,"/modified_files")).then((function(t){0!==t.data.length&&e.modifiedTargets.push({name:i.name,files:t.data})}))};for(i.s();!(t=i.n()).done;)n()}catch(s){i.e(s)}finally{i.f()}}},y=k,T=(0,b.Z)(y,_,P,!1,null,"6ca30064",null),D=T.exports,C=i(3340),S={components:{PluginDialog:w,ModifiedPluginDialog:D,SimpleTextDialog:C.Z},data:function(){return{file:null,currentPlugin:null,plugins:[],targets:[],processes:{},alert:"",alertType:"success",showAlert:!1,pluginName:null,variables:{},pluginTxt:"",pluginHashTmp:null,existingPluginTxt:null,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,pluginDelete:!1,defaultPlugins:["openc3-cosmos-tool-admin","openc3-cosmos-tool-autonomic","openc3-cosmos-tool-bucketexplorer","openc3-cosmos-tool-calendar","openc3-cosmos-tool-cmdsender","openc3-cosmos-tool-cmdtlmserver","openc3-cosmos-tool-dataextractor","openc3-cosmos-tool-dataviewer","openc3-cosmos-tool-handbooks","openc3-cosmos-tool-limitsmonitor","openc3-cosmos-tool-packetviewer","openc3-cosmos-tool-scriptrunner","openc3-cosmos-tool-tablemanager","openc3-cosmos-tool-tlmgrapher","openc3-cosmos-tool-tlmviewer","openc3-cosmos-enterprise-tool-admin","openc3-enterprise-tool-base","openc3-tool-base"]}},computed:{shownPlugins:function(){var t,e=[],i=(0,l.Z)(this.plugins);try{for(i.s();!(t=i.n()).done;){var n=t.value,s=n.split("__")[0],o=s.split("-");o=o.slice(0,-1);var a=o.join("-");this.defaultPlugins.includes(a)&&!this.showDefaultTools||e.push(n)}}catch(r){i.e(r)}finally{i.f()}return e},pluginTargets:function(){var t=this;return function(e){var i=[];for(var n in t.targets)t.targets[n]["plugin"]===e&&i.push(t.targets[n]);return i}},isModified:function(){var t=this;return function(e){var i=!1;for(var n in t.targets)if(t.targets[n]["plugin"]===e&&!0===t.targets[n]["modified"]){i=!0;break}return i}}},mounted:function(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){var t=this;c.Z.get("/openc3-api/plugins").then((function(e){t.plugins=e.data})),c.Z.get("/openc3-api/targets_modified").then((function(e){t.targets=e.data}))},updateProcesses:function(){var t=this;c.Z.get("openc3-api/process_status/plugin_?substr=true").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),5e3)}))},formatDate:function(t){return(0,r.Z)((0,u.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=e?"put":"post",n=e?"/openc3-api/plugins/".concat(e):"/openc3-api/plugins",s=new FormData;s.append("plugin",this.file,this.file.name);var o=c.Z[i](n,{data:s});o.then((function(e){t.alert="Uploaded file",t.alertType="success",t.showAlert=!0,setTimeout((function(){t.showAlert=!1}),5e3),t.update();var i=null;void 0!==e.data.existing_plugin_txt_lines&&(i=e.data.existing_plugin_txt_lines.join("\n"));var n=e.data.plugin_txt_lines.join("\n");t.pluginName=e.data.name,t.variables=e.data.variables,t.pluginTxt=n,t.existingPluginTxt=i,t.showPluginDialog=!0,t.file=void 0})).catch((function(e){t.currentPlugin=null,t.file=void 0}))},pluginCallback:function(t){this.showPluginDialog=!1,null!==this.currentPlugin&&(t["name"]=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:function(){var t=(0,a.Z)((0,o.Z)().mark((function t(e){var i,n,s;return(0,o.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!0!==e){t.next=19;break}i=(0,l.Z)(this.pluginTargets(this.currentPlugin)),t.prev=2,i.s();case 4:if((n=i.n()).done){t.next=11;break}if(s=n.value,1!=s.modified){t.next=9;break}return t.next=9,c.Z.post("/openc3-api/targets/".concat(s.name,"/delete_modified"));case 9:t.next=4;break;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](2),i.e(t.t0);case 16:return t.prev=16,i.f(),t.finish(16);case 19:this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall();case 20:case"end":return t.stop()}}),t,this,[[2,13,16,19]])})));function e(e){return t.apply(this,arguments)}return e}(),pluginInstall:function(){var t=this;c.Z.post("/openc3-api/plugins/install/".concat(this.pluginName),{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then((function(e){t.alert="Started installing plugin ".concat(t.pluginName," ..."),t.alertType="success",t.showAlert=!0,t.currentPlugin=null,t.file=void 0,t.variables={},t.pluginTxt="",t.existingPluginTxt=null,setTimeout((function(){t.showAlert=!1,t.updateProcesses()}),5e3),t.update()}))},downloadTarget:function(t){c.Z.post("/openc3-api/targets/".concat(t,"/download")).then((function(t){for(var e=window.atob(t.data.contents),i=new Uint8Array(e.length),n=0;n<e.length;++n)i[n]=e.charCodeAt(n);var s=new Blob([i],{type:"application/zip"}),o=document.createElement("a");o.href=URL.createObjectURL(s),o.setAttribute("download",t.data.filename),o.click()}))},downloadPlugin:function(t){c.Z.post("/openc3-api/gems/".concat(t,"/download")).then((function(t){for(var e=window.atob(t.data.contents),i=new Uint8Array(e.length),n=0;n<e.length;++n)i[n]=e.charCodeAt(n);var s=new Blob([i],{type:"application/zip"}),o=document.createElement("a");o.href=URL.createObjectURL(s),o.setAttribute("download",t.data.filename),o.click()}))},editPlugin:function(t){var e=this;c.Z.get("/openc3-api/plugins/".concat(t)).then((function(t){var i=null;void 0!==t.data.existing_plugin_txt_lines&&(i=t.data.existing_plugin_txt_lines.join("\n"));var n=t.data.plugin_txt_lines.join("\n");e.pluginName=t.data.name,e.variables=t.data.variables,e.pluginTxt=n,e.existingPluginTxt=i,e.showPluginDialog=!0}))},deletePrompt:function(t){var e=this;this.$dialog.confirm("Are you sure you want to remove: ".concat(t),{okText:"Delete",cancelText:"Cancel"}).then((function(i){e.isModified(t)?(e.currentPlugin=t,e.pluginDelete=!0,e.showModifiedPluginDialog=!0):e.deletePlugin(t)}))},deletePlugin:function(t){var e=this;this.alert="Removing plugin ".concat(t," ..."),this.alertType="success",this.showAlert=!0,c.Z["delete"]("/openc3-api/plugins/".concat(t)).then((function(t){setTimeout((function(){e.showAlert=!1,e.updateProcesses()}),5e3)})),this.update()},upgradePlugin:function(t){this.file=void 0,this.currentPlugin=t,this.$refs.fileInput.$refs.input.click()},fileMousedown:function(){this.currentPlugin=null},fileChange:function(){var t=this;if(void 0!==this.file)if(null!==this.currentPlugin)if(this.file.name.split(".gem")[0]==this.currentPlugin.split(".gem")[0])this.$dialog.confirm("The new gem ".concat(this.file.name," appears to be identical to the existing ").concat(this.currentPlugin,". Install?"),{okText:"Ok",cancelText:"Cancel"}).then((function(){t.upload(t.currentPlugin)}));else{var e=this.file.name.split("-"),i=e.findIndex((function(t){return t.includes(".")})),n=e.slice(0,i).join("-");e=this.currentPlugin.split("-"),i=e.findIndex((function(t){return t.includes(".")}));var s=e.slice(0,i).join("-");n!==s?this.$dialog.confirm("The new gem base name ".concat(n," doesn't match the existing ").concat(s,". Install?"),{okText:"Ok",cancelText:"Cancel"}).then((function(){t.upload(t.currentPlugin)})):this.upload(this.currentPlugin)}else this.upload()}}},A=S,M=(i(4681),(0,b.Z)(A,n,s,!1,null,"321bb9a0",null)),O=M.exports},2705:function(t,e,i){"use strict";i.r(e);var n=i(3467),s=i.n(n),o=i(8715),a=i.n(o),l=a()(s());l.push([t.id,".editor[data-v-4c410b64]{height:50vh;position:relative;font-size:16px}.notice[data-v-4c410b64]{font-size:20px;margin:10px}.tab[data-v-4c410b64]{background-color:var(--v-primary-darken2)}.v-card[data-v-4c410b64]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-4c410b64] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),e["default"]=l},2544:function(t,e,i){"use strict";i.r(e);var n=i(3467),s=i.n(n),o=i(8715),a=i.n(o),l=a()(s());l.push([t.id,".crashed[data-v-321bb9a0]{color:red}",""]),e["default"]=l},9272:function(t,e,i){var n=i(2705);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var s=i(3514).Z;s("0ebacd1a",n,!0,{sourceMap:!1,shadowMode:!1})},4681:function(t,e,i){var n=i(2544);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var s=i(3514).Z;s("29d4a448",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
+
//# sourceMappingURL=659.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js/659.js","mappings":"6LAwBMA,EAAO,eAAAC,GAAAC,EAAAA,EAAAA,IAAAC,EAAAA,EAAAA,KAAAC,MAAG,SAAAC,EACdC,EACAC,GAAG,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAhB,E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,MACnBA,EAAQ2I,aAAY3I,EAAUA,EAAQ4I,SACnB,kBAAZ5I,IAAsBA,EAAU,CAAC,CAACyI,EAAOC,GAAI1I,EAAS,MAC7DA,EAAQ6I,SAAQJ,EAAOK,QAAU9I,EAAQ6I,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAY/I,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","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?7e9d","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?d470","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?3218","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?c4a8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?c6c7","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?3f90","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?dde4","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?6f23","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?e857","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?819c","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?55ef","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?6ce8"],"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/@vue/cli-plugin-babel/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/cli-service/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/@vue/cli-plugin-babel/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/cli-service/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/cli-service/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',{staticClass:\"px-2\",attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"show-size\":\"\",\"accept\":\".gem\",\"label\":\"Click to select plugin .gem file to install\"},on:{\"change\":function($event){return _vm.fileChange()},\"mousedown\":function($event){return _vm.fileMousedown()}},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1),_c('v-row',{staticClass:\"px-2 pb-2\",staticStyle:{\"margin-top\":\"10px\"},attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Show Default Tools\",\"data-test\":\"show-default-tools\"},model:{value:(_vm.showDefaultTools),callback:function ($$v) {_vm.showDefaultTools=$$v},expression:\"showDefaultTools\"}})],1),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('div',[_vm._v(\"* indicates a modified plugin\")]),_c('div',[_vm._v(\"Click target link to download modifications\")])])],1),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType,\"data-test\":\"plugin-alert\"},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\":\"process-list\"}},_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',{class:process.state.toLowerCase(),domProps:{\"textContent\":_vm._s(\n `Processing ${process.process_type}: ${process.detail} - ${process.state}`\n )}})]),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),_c('v-list-item-icon',[(process.state === 'Running')?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"show-output\"},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)],1),_c('v-divider')],1)}),0):_vm._e(),_c('v-list',{attrs:{\"data-test\":\"plugin-list\"}},_vm._l((_vm.shownPlugins),function(plugin,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[(_vm.isModified(plugin))?_c('span',[_vm._v(\"* \")]):_vm._e(),_vm._v(_vm._s(plugin))]),(_vm.pluginTargets(plugin).length !== 0)?_c('v-list-item-subtitle',_vm._l((_vm.pluginTargets(plugin)),function(target,index){return _c('span',{key:index},[(target.modified)?_c('a',{on:{\"click\":function($event){$event.preventDefault();return _vm.downloadTarget(target.name)}}},[_vm._v(_vm._s(target.name)+\" \")]):_c('span',[_vm._v(_vm._s(target.name)+\" \")])])}),0):_vm._e()],1),_c('v-list-item-icon',[_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"download-plugin\"},on:{\"click\":function($event){return _vm.downloadPlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Plugin\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"edit-plugin\"},on:{\"click\":function($event){return _vm.editPlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-pencil \")])]}}],null,true)},[_c('span',[_vm._v(\"Edit Plugin Details\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"upgrade-plugin\"},on:{\"click\":function($event){return _vm.upgradePlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-update \")])]}}],null,true)},[_c('span',[_vm._v(\"Upgrade Plugin\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"delete-plugin\"},on:{\"click\":function($event){return _vm.deletePrompt(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Plugin\")])])],1)])],1),(index < _vm.plugins.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showPluginDialog)?_c('plugin-dialog',{attrs:{\"pluginName\":_vm.pluginName,\"variables\":_vm.variables,\"pluginTxt\":_vm.pluginTxt,\"existingPluginTxt\":_vm.existingPluginTxt},on:{\"submit\":_vm.pluginCallback},model:{value:(_vm.showPluginDialog),callback:function ($$v) {_vm.showPluginDialog=$$v},expression:\"showPluginDialog\"}}):_vm._e(),(_vm.showModifiedPluginDialog)?_c('modified-plugin-dialog',{attrs:{\"pluginName\":_vm.currentPlugin,\"targets\":_vm.pluginTargets(_vm.currentPlugin),\"pluginDelete\":_vm.pluginDelete},on:{\"submit\":_vm.modifiedSubmit},model:{value:(_vm.showModifiedPluginDialog),callback:function ($$v) {_vm.showModifiedPluginDialog=$$v},expression:\"showModifiedPluginDialog\"}}):_vm._e(),_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:{\"persistent\":\"\",\"width\":\"80vw\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-card-text',[_c('v-card-title',[_vm._v(_vm._s(_vm.pluginName)+\" \")]),(_vm.existingPluginTxt !== null)?_c('v-row',{staticClass:\"notice d-flex flex-row\"},[_c('v-icon',{attrs:{\"x-large\":\"\",\"left\":\"\",\"color\":\"yellow\"}},[_vm._v(\"mdi-alert-box\")]),_c('div',{staticStyle:{\"flex\":\"1\"}},[_vm._v(\" The existing plugin.txt is different from the \"+_vm._s(_vm.pluginName)+\"'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update \"+_vm._s(_vm.pluginName)+\"'s plugin.txt going forward. \")])],1):_vm._e(),_c('v-row',{staticClass:\"pb-3\"},[_c('v-tabs',{staticClass:\"ml-3\",model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab',{key:0},[_vm._v(\" Variables \")]),(_vm.existingPluginTxt === null)?_c('v-tab',{key:1},[_vm._v(\" plugin.txt \")]):_c('v-tab',{key:1},[_vm._v(\" plugin.txt \")])],1)],1),_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',{key:0,staticClass:\"tab\",attrs:{\"eager\":\"true\"}},[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"mt-3\"},_vm._l((_vm.localVariables),function(value,name){return _c('div',{key:name},[_c('v-col',{staticStyle:{\"width\":\"220px\"}},[_c('v-text-field',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"label\":name},model:{value:(_vm.localVariables[name]),callback:function ($$v) {_vm.$set(_vm.localVariables, name, $$v)},expression:\"localVariables[name]\"}})],1)],1)}),0)],1)]),(_vm.existingPluginTxt === null)?_c('v-tab-item',{key:1,staticClass:\"tab\",attrs:{\"eager\":\"true\"}},[_c('v-row',{staticClass:\"pa-3\"},[_c('v-col',[_vm._v(\"This can be edited before installation.\")])],1),_c('pre',{ref:\"editor\",staticClass:\"editor\"})],1):_c('v-tab-item',{key:1,staticClass:\"tab\",attrs:{\"eager\":\"true\"}},[_c('v-row',{staticClass:\"pa-3\"},[_c('v-col',[_vm._v(\"Existing plugin.txt. This can be edited before installation.\")]),_c('v-col',{staticClass:\"ml-6\"},[_vm._v(\"Uneditable plugin.txt from the new plugin.\")])],1),_c('pre',{ref:\"editor\",staticClass:\"editor\"})],1)],1),_c('v-card-actions',{staticClass:\"mt-2\"},[(_vm.existingPluginTxt !== null)?_c('div',[_c('v-btn',{staticClass:\"mr-2\",attrs:{\"color\":\"primary\"},on:{\"click\":_vm.nextDiff}},[_vm._v(\"Next Diff\")]),_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":_vm.previousDiff}},[_vm._v(\"Previous Diff\")])],1):_vm._e(),_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"edit-cancel\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"edit-submit\"}},[_vm._v(\" Install \")])],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginDialog.vue?vue&type=template&id=4c410b64&scoped=true&\"\nimport script from \"./PluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PluginDialog.vue?vue&type=style&index=0&id=4c410b64&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4c410b64\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Modified Plugin \")]),_c('v-spacer')],1),_c('v-card-text',{staticClass:\"pa-3\"},[_c('div',[_vm._v(\" Plugin \"+_vm._s(_vm.plugin)+\" was modified. Would you like to delete the existing modified files? \")]),_vm._l((_vm.modifiedTargets),function(target,index){return _c('v-list-item',{key:index,attrs:{\"two-line\":\"\"}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(target.name))]),_vm._l((target.files),function(file,itemIndex){return _c('v-list-item-subtitle',{key:itemIndex},[_vm._v(_vm._s(file))])})],2)],1)}),_c('v-checkbox',{attrs:{\"label\":\"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!\",\"color\":\"error\",\"data-test\":\"modified-plugin-delete-checkbox\"},model:{value:(_vm.deleteModified),callback:function ($$v) {_vm.deleteModified=$$v},expression:\"deleteModified\"}})],2),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"modified-plugin-cancel\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"modified-plugin-submit\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('submit', _vm.deleteModified)}}},[_vm._v(_vm._s(_vm.submitButton))])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModifiedPluginDialog.vue?vue&type=template&id=6ca30064&scoped=true&\"\nimport script from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ca30064\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginsTab.vue?vue&type=template&id=321bb9a0&scoped=true&\"\nimport script from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PluginsTab.vue?vue&type=style&index=0&id=321bb9a0&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"321bb9a0\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".editor[data-v-4c410b64]{height:50vh;position:relative;font-size:16px}.notice[data-v-4c410b64]{font-size:20px;margin:10px}.tab[data-v-4c410b64]{background-color:var(--v-primary-darken2)}.v-card[data-v-4c410b64]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-4c410b64] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".crashed[data-v-321bb9a0]{color:red}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=style&index=0&id=4c410b64&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"0ebacd1a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=style&index=0&id=321bb9a0&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"29d4a448\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"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$response2$conf","_error$response3","_error$response3$data","_error$response4","_error$response4$data","_error$response5","_error$response5$data","_error$response5$data2","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","fileChange","fileMousedown","file","showDefaultTools","alertType","showAlert","alert","Object","keys","processes","_l","process","name","state","toLowerCase","domProps","process_type","detail","formatDate","updated_at","showOutput","_e","shownPlugins","plugin","index","isModified","pluginTargets","target","modified","preventDefault","downloadTarget","downloadPlugin","editPlugin","upgradePlugin","deletePrompt","plugins","showPluginDialog","pluginName","variables","pluginTxt","existingPluginTxt","pluginCallback","showModifiedPluginDialog","currentPlugin","pluginDelete","modifiedSubmit","processOutput","showProcessOutput","tab","submit","localVariables","$set","nextDiff","previousDiff","close","required","localPluginTxt","localExistingPluginTxt","editor","differ","mounted","pluginMode","buildPluginMode","ace","$refs","setTheme","session","setMode","setTabSize","setUseWrapMode","$blockScrolling","Infinity","setHighlightActiveLine","setValue","clearSelection","focus","AceDiff","element","mode","theme","left","content","copyLinkEnabled","right","editable","getEditors","setFontSize","curDiff","beforeDestroy","destroy","watch","immediate","handler","JSON","parse","stringify","slice","diffs","scrollToCurDiff","lrow","leftStartLine","rrow","rightStartLine","scrollToLine","oop","RubyHighlightRules","keywords","regex","RegExp","join","PluginHighlightRules","rule","call","$rules","unshift","token","inherits","MatchingBraceOutdent","CstyleBehaviour","FoldMode","Mode","HighlightRules","$outdent","$behaviour","foldingRules","indentKeywords","RubyMode","$id","prototype","lines","getValue","split","pluginHash","plugin_txt_lines","modifiedTargets","files","itemIndex","deleteModified","submitButton","targets","Array","created","_step","_this","_iterator","_createForOfIteratorHelper","_loop","Api","push","s","n","done","err","e","f","components","PluginDialog","ModifiedPluginDialog","SimpleTextDialog","pluginHashTmp","showDownloadDialog","defaultPlugins","result","pluginNameFirst","pluginNameSplit","_this2","update","updateProcesses","output","_this3","_this4","setTimeout","nanoSecs","format","toDate","parseInt","upload","_this5","existing","formData","FormData","append","promise","existing_plugin_txt_lines","catch","pluginInstall","_modifiedSubmit","_iterator2","_step2","finish","deletePlugin","_this6","plugin_hash","decodedData","atob","contents","uInt8Array","Uint8Array","i","charCodeAt","filename","_this7","_this8","$dialog","confirm","okText","cancelText","dialog","_this9","fileInput","input","_this10","parts","findIndex","x","newName","existingName","___CSS_LOADER_EXPORT___","module","id","__esModule","default","locals","exports","add"],"sourceRoot":""}
|