openc3-cosmos-tool-admin 5.11.0 → 5.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/tools/admin/js/126.js +1 -1
  3. data/tools/admin/js/126.js.map +1 -1
  4. data/tools/admin/js/133.js +1 -1
  5. data/tools/admin/js/133.js.map +1 -1
  6. data/tools/admin/js/208.js +1 -1
  7. data/tools/admin/js/208.js.map +1 -1
  8. data/tools/admin/js/224.js +1 -1
  9. data/tools/admin/js/224.js.map +1 -1
  10. data/tools/admin/js/226.js +1 -1
  11. data/tools/admin/js/226.js.map +1 -1
  12. data/tools/admin/js/256.js +1 -1
  13. data/tools/admin/js/256.js.map +1 -1
  14. data/tools/admin/js/398.js +1 -1
  15. data/tools/admin/js/398.js.map +1 -1
  16. data/tools/admin/js/446.js +1 -1
  17. data/tools/admin/js/446.js.map +1 -1
  18. data/tools/admin/js/559.js +1 -1
  19. data/tools/admin/js/559.js.map +1 -1
  20. data/tools/admin/js/561.js +2 -0
  21. data/tools/admin/js/561.js.map +1 -0
  22. data/tools/admin/js/635.js +1 -1
  23. data/tools/admin/js/635.js.map +1 -1
  24. data/tools/admin/js/730.js +1 -1
  25. data/tools/admin/js/730.js.map +1 -1
  26. data/tools/admin/js/782.js +2 -0
  27. data/tools/admin/js/782.js.map +1 -0
  28. data/tools/admin/js/895.js +2 -0
  29. data/tools/admin/js/895.js.map +1 -0
  30. data/tools/admin/js/993.js +1 -1
  31. data/tools/admin/js/993.js.map +1 -1
  32. data/tools/admin/js/994.js +2 -0
  33. data/tools/admin/js/994.js.map +1 -0
  34. data/tools/admin/js/999.js +1 -1
  35. data/tools/admin/js/999.js.map +1 -1
  36. data/tools/admin/js/app.js +1 -1
  37. data/tools/admin/js/app.js.map +1 -1
  38. metadata +10 -8
  39. data/tools/admin/js/303.js +0 -2
  40. data/tools/admin/js/303.js.map +0 -1
  41. data/tools/admin/js/566.js +0 -2
  42. data/tools/admin/js/566.js.map +0 -1
  43. data/tools/admin/js/780.js +0 -2
  44. data/tools/admin/js/780.js.map +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3-cosmos-tool-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.11.0
4
+ version: 5.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-09-18 00:00:00.000000000 Z
12
+ date: 2023-10-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: " This plugin adds the OpenC3 COSMOS Administrative interface tool\n"
15
15
  email:
@@ -38,8 +38,6 @@ files:
38
38
  - tools/admin/js/226.js.map
39
39
  - tools/admin/js/256.js
40
40
  - tools/admin/js/256.js.map
41
- - tools/admin/js/303.js
42
- - tools/admin/js/303.js.map
43
41
  - tools/admin/js/388.js
44
42
  - tools/admin/js/388.js.map
45
43
  - tools/admin/js/398.js
@@ -48,20 +46,24 @@ files:
48
46
  - tools/admin/js/446.js.map
49
47
  - tools/admin/js/559.js
50
48
  - tools/admin/js/559.js.map
51
- - tools/admin/js/566.js
52
- - tools/admin/js/566.js.map
49
+ - tools/admin/js/561.js
50
+ - tools/admin/js/561.js.map
53
51
  - tools/admin/js/635.js
54
52
  - tools/admin/js/635.js.map
55
53
  - tools/admin/js/730.js
56
54
  - tools/admin/js/730.js.map
57
- - tools/admin/js/780.js
58
- - tools/admin/js/780.js.map
55
+ - tools/admin/js/782.js
56
+ - tools/admin/js/782.js.map
59
57
  - tools/admin/js/837.js
60
58
  - tools/admin/js/837.js.map
61
59
  - tools/admin/js/876.js
62
60
  - tools/admin/js/876.js.map
61
+ - tools/admin/js/895.js
62
+ - tools/admin/js/895.js.map
63
63
  - tools/admin/js/993.js
64
64
  - tools/admin/js/993.js.map
65
+ - tools/admin/js/994.js
66
+ - tools/admin/js/994.js.map
65
67
  - tools/admin/js/999.js
66
68
  - tools/admin/js/999.js.map
67
69
  - tools/admin/js/app.js
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[303],{6129:function(e,t,n){"use strict";var o=n(6964),i=n(5789),r=n(9502),a=n(9373),s=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t,n){var o,r,s,l,c,u,d,h,g,p,f=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=f.length>2&&void 0!==f[2]?f[2]:{},r=o.data,s=o.params,l=void 0===s?{}:s,c=o.headers,u=o.noAuth,d=void 0!==u&&u,h=o.noScope,g=void 0!==h&&h,d){e.next=13;break}return e.prev=2,e.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:p=e.sent,p&&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 g||l["scope"]||(l["scope"]=window.openc3Scope),e.abrupt("return",(0,a.Z)({method:t,url:n,data:r,params:l,headers:c}));case 15:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t,n){return e.apply(this,arguments)}}(),l={Accept:"application/json"},c=(0,o.Z)((0,o.Z)({},l),{},{"Content-Type":"application/json"});t.Z={get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.params,o=t.headers,i=void 0===o?l:o,r=t.noScope,a=t.noAuth;return s("get",e,{params:n,headers:i,noScope:r,noAuth:a})},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,o=t.params,i=t.headers,r=void 0===i?c:i,a=t.noScope,l=t.noAuth;return s("put",e,{data:n,params:o,headers:r,noScope:a,noAuth:l})},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,o=t.params,i=t.headers,r=void 0===i?c:i,a=t.noScope,l=t.noAuth;return s("post",e,{data:n,params:o,headers:r,noScope:a,noAuth:l})},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.params,o=t.headers,i=void 0===o?l:o,r=t.noScope,a=t.noAuth;return s("delete",e,{params:n,headers:i,noScope:r,noAuth:a})}}},9373:function(e,t,n){"use strict";n(9529),n(1235),n(8188),n(8233);var o=n(9644),i=n.n(o),r=n(4091),a=new r["default"],s=i().create({baseURL:location.origin,timeout:6e4,params:{}});s.interceptors.response.use((function(e){return e}),(function(e){if(e.response){var t,n,o,i,r;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 s="HTTP ".concat(e.response.status," - ");if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(s+="".concat(e.response.statusText," ")),null!==(n=e.response)&&void 0!==n&&null!==(n=n.config)&&void 0!==n&&n.data&&(s+="".concat(e.response.config.data," ")),null!==(o=e.response)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&o.message)s+="".concat(e.response.data.message);else if(null!==(i=e.response)&&void 0!==i&&null!==(i=i.data)&&void 0!==i&&i.exception)s+="".concat(e.response.data.exception);else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(s+="".concat(e.response.data.error.class," ")),s+="".concat(e.response.data.error.message);else{var l;s+="".concat(null===(l=e.response)||void 0===l?void 0:l.data)}throw a.$notify&&a.$notify.serious({title:"Network error",body:s}),e}throw e})),t.Z=s},9564:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var o=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:!e.readonly,width:"80vw"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("v-system-bar",[t("v-spacer"),t("span",{domProps:{textContent:e._s(e.title)}}),t("v-spacer"),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function(n){var o=n.on,i=n.attrs;return[t("div",e._g(e._b({},"div",i,!1),o),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v(" mdi-download ")])],1)]}}])},[t("span",[e._v(" Download ")])])],1)],1),t("v-card-text",[t("div",{staticClass:"pa-3"},[e.readonly?e._e():t("div",[t("v-row",{staticClass:"mt-3"},[e._v(" Upload a file. ")]),t("v-row",{attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-btn",{attrs:{block:"",color:"success",disabled:!e.file||e.loadingFile||e.readonly,loading:e.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:e.loadFile},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[e._v(" Load ")])],1),t("v-col",{attrs:{cols:"9"}},[t("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:e.readonly},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1)],1),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),t("v-row",{staticClass:"my-3"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:e._s(e.error)}})]),t("v-row",[t("v-spacer"),t("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[e._v(" Cancel ")]),e.readonly?e._e():t("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!e.error||e.readonly}},[e._v(" Save ")])],1)],1)])],1)])],1)},i=[],r=(n(8178),n(8188),n(8673),n(6886),n(4121),n(523),n(3673),n(753),n(8399),n(5095)),a=(n(1411),n(8367),n(419),n(3923),n(2375),{props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data:function(){return{editor:null}},mounted:function(){var e=this.buildPluginMode();this.editor=r.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new e),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy:function(){this.editor&&this.editor.destroy()},computed:{show:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},title:function(){return"".concat(this.type,": ").concat(this.name)},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){var e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download","".concat(this.type.toLowerCase(),"_").concat(this.name.toLowerCase(),".json")),t.click()},buildPluginMode:function(){var e=r.require("ace/lib/oop"),t=r.require("ace/mode/json_highlight_rules").JsonHighlightRules,n=r.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,o=r.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=r.require("ace/mode/folding/ruby").FoldMode,a=function(){this.HighlightRules=t,this.$outdent=new n,this.$behaviour=new o,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},s=r.require("ace/mode/ruby").Mode;return e.inherits(a,s),function(){this.$id="ace/mode/openc3"}.call(a.prototype),a}}}),s=a,l=(n(7067),n(3483)),c=(0,l.Z)(s,o,i,!1,null,"6ad8a8fe",null),u=c.exports},8303:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var o=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{attrs:{"data-test":"routerList"}},e._l(e.routers,(function(n,o){return t("div",{key:o},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(n))])],1),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(o){var i=o.on,r=o.attrs;return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showRouter(n)}}},"v-icon",r,!1),i),[e._v(" mdi-eye ")])]}}],null,!0)},[t("span",[e._v("Show Router Details")])])],1)],1),o<e.routers.length-1?t("v-divider",{key:o}):e._e()],1)})),0),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Router",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e()],1)},i=[],r=(n(6710),n(6129)),a=n(9564),s={components:{EditDialog:a.Z},data:function(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var e=this;r.Z.get("/openc3-api/routers").then((function(t){e.routers=t.data}))},add:function(){},showRouter:function(e){var t=this;r.Z.get("/openc3-api/routers/".concat(e)).then((function(n){t.jsonContent=JSON.stringify(n.data,null,"\t"),t.dialogTitle=e,t.showDialog=!0}))},dialogCallback:function(e){this.showDialog=!1}}},l=s,c=n(3483),u=(0,c.Z)(l,o,i,!1,null,null,null),d=u.exports},8367:function(e,t,n){e=n.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};o.inherits(r,i),t.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var o=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var r=i[1].length,a=e.findMatchingBracket({row:t,column:r});if(!a||a.row==t)return 0;var s=this.$getIndent(e.getLine(a.row));e.replace(new o(t,0,t,r-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var o=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};o.inherits(a,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(o)?"start":i},this.getFoldWidgetRange=function(e,t,n,o){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var r=i.match(this.foldingStartMarker);if(r){var a=r.index;if(r[1])return this.openingBracketBlock(e,r[1],n,a);var s=e.getCommentFoldRange(n,a+r[0].length,1);return s&&!s.isMultiLine()&&(o?s=this.getSectionRange(e,n):"all"!=t&&(s=null)),s}if("markbegin"!==t){r=i.match(this.foldingStopMarker);if(r){a=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],n,a):e.getCommentFoldRange(n,a,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),r=t,a=n.length;t+=1;var s=t,l=e.getLength();while(++t<l){n=e.getLine(t);var c=n.search(/\S/);if(-1!==c){if(o>c)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=r)break;if(u.isMultiLine())t=u.end.row;else if(o==c)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/,l=1;while(++n<r){t=e.getLine(n);var c=s.exec(t);if(c&&(c[1]?l--:l++,!l))break}var u=n;if(u>a)return new i(a,o,u,t.length)}}.call(a.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,c=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new s};o.inherits(c,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(c.prototype),t.Mode=c})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},193:function(e,t,n){"use strict";n.r(t);var o=n(9601),i=n.n(o),r=n(2609),a=n.n(r),s=a()(i());s.push([e.id,".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),t["default"]=s},7067:function(e,t,n){var o=n(193);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(3514).Z;i("57275ebe",o,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
- //# sourceMappingURL=303.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/303.js","mappings":"6LAwBMA,EAAO,eAAAC,GAAAC,EAAAA,EAAAA,IAAAC,EAAAA,EAAAA,KAAAC,MAAG,SAAAC,EACd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AAG,GAAM,SAAHD,EAAW,CAAC,IAAII,EAAEH,EAAEkB,MAAM,mBAAmBf,IAAID,GAAGD,EAAE,CAAC,OAAOC,CAAC,EAAEtH,KAAKkI,aAAa,SAASf,EAAEC,EAAEC,GAAG,OAAOrH,KAAKsF,SAAS4C,aAAad,EAAEC,EAAE,EAAErH,KAAKoI,YAAY,SAASjB,EAAEC,EAAEC,GAAGrH,KAAKsF,SAAS8C,YAAYhB,EAAEC,EAAE,EAAErH,KAAK0K,aAAa,SAASvD,GAAG,IAAIC,EAAE,IAAI4C,EAAE,CAAC,OAAO,uBAAuB,cAAc,OAAO5C,EAAEuD,iBAAiBxD,EAAEyD,eAAexD,EAAEzG,GAAG,YAAW,SAASyG,GAAGD,EAAE0D,eAAezD,EAAE1M,KAAK,IAAG0M,EAAEzG,GAAG,aAAY,WAAWwG,EAAE2D,kBAAkB,IAAG1D,CAAC,EAAEpH,KAAK4F,IAAI,eAAe,EAAEC,KAAKqE,EAAEpE,WAAWsB,EAAEhC,KAAK8E,CAAC,IAAmB,WACjnKnH,IAAIgI,QAAQ,CAAC,kBAAkB,SAASC,GAC2BC,IAC3DA,EAAOC,QAAUF,EAEzB,GACH,CANonK,E,oFCGjoKG,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACH,EAAOI,GAAI,+PAAgQ,KAEzS,c,uBCJA,IAAI/I,EAAU,EAAQ,KACnBA,EAAQgJ,aAAYhJ,EAAUA,EAAQiJ,SACnB,kBAAZjJ,IAAsBA,EAAU,CAAC,CAAC2I,EAAOI,GAAI/I,EAAS,MAC7DA,EAAQkJ,SAAQP,EAAOC,QAAU5I,EAAQkJ,QAE5C,IAAI1E,EAAM,UACGA,EAAI,WAAYxE,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/EditDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?1ea8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?650e","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?6175","webpack://@openc3/cosmos-tool-admin/../../node_modules/ace-builds/src-min-noconflict/mode-json.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?8dfa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?db85"],"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:{\"persistent\":!_vm.readonly,\"width\":\"80vw\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',{domProps:{\"textContent\":_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\"},[(!_vm.readonly)?_c('div',[_c('v-row',{staticClass:\"mt-3\"},[_vm._v(\" Upload a file. \")]),_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"success\",\"disabled\":!_vm.file || _vm.loadingFile || _vm.readonly,\"loading\":_vm.loadingFile,\"data-test\":\"editScreenLoadBtn\"},on:{\"click\":_vm.loadFile},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}],null,false,2673048543)},[_vm._v(\" Load \")])],1),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-file-input',{attrs:{\"accept\":\".json\",\"label\":\"Click to select .json file.\",\"disabled\":_vm.readonly},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1)],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('pre',{ref:\"editor\",staticClass:\"editor\"})]),_c('v-row',{staticClass:\"my-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"editCancelBtn\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),(!_vm.readonly)?_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"editSubmitBtn\",\"disabled\":!!_vm.error || _vm.readonly}},[_vm._v(\" Save \")]):_vm._e()],1)],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.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!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=6ad8a8fe&scoped=true&\"\nimport script from \"./EditDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EditDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&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 \"6ad8a8fe\",\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-list',{attrs:{\"data-test\":\"routerList\"}},_vm._l((_vm.routers),function(router,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(router))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showRouter(router)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Router Details\")])])],1)],1),(index < _vm.routers.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"type\":\"Router\",\"name\":_vm.dialogTitle,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RoutersTab.vue?vue&type=template&id=946d1b1a&\"\nimport script from \"./RoutersTab.vue?vue&type=script&lang=js&\"\nexport * from \"./RoutersTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","ace.define(\"ace/mode/json_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text_highlight_rules\").TextHighlightRules,s=function(){this.$rules={start:[{token:\"variable\",regex:'[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]\\\\s*(?=:)'},{token:\"string\",regex:'\"',next:\"string\"},{token:\"constant.numeric\",regex:\"0[xX][0-9a-fA-F]+\\\\b\"},{token:\"constant.numeric\",regex:\"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"},{token:\"constant.language.boolean\",regex:\"(?:true|false)\\\\b\"},{token:\"text\",regex:\"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"},{token:\"comment\",regex:\"\\\\/\\\\/.*$\"},{token:\"comment.start\",regex:\"\\\\/\\\\*\",next:\"comment\"},{token:\"paren.lparen\",regex:\"[[({]\"},{token:\"paren.rparen\",regex:\"[\\\\])}]\"},{token:\"punctuation.operator\",regex:/[,]/},{token:\"text\",regex:\"\\\\s+\"}],string:[{token:\"constant.language.escape\",regex:/\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[\"\\\\\\/bfnrt])/},{token:\"string\",regex:'\"|$',next:\"start\"},{defaultToken:\"string\"}],comment:[{token:\"comment.end\",regex:\"\\\\*\\\\/\",next:\"start\"},{defaultToken:\"comment\"}]}};r.inherits(s,i),t.JsonHighlightRules=s}),ace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\\s+$/.test(e)?/^\\s*\\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\\s*\\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"],function(e,t,n){\"use strict\";var r=e(\"../../lib/oop\"),i=e(\"../../range\").Range,s=e(\"./fold_mode\").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/,this.foldingStopMarker=/^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/,this.singleLineBlockCommentRe=/^\\s*(\\/\\*).*\\*\\/\\s*$/,this.tripleStarBlockCommentRe=/^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/,this.startRegionRe=/^\\s*(\\/\\*|\\/\\/)#?region\\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return\"\";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?\"start\":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!=\"all\"&&(u=null)),u}if(t===\"markbegin\")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,\"all\",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\\s*$/),s=e.getLength(),o=n,u=/^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define(\"ace/mode/json\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/json_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/folding/cstyle\",\"ace/worker/worker_client\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text\").Mode,s=e(\"./json_highlight_rules\").JsonHighlightRules,o=e(\"./matching_brace_outdent\").MatchingBraceOutdent,u=e(\"./folding/cstyle\").FoldMode,a=e(\"../worker/worker_client\").WorkerClient,f=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new u};r.inherits(f,i),function(){this.lineCommentStart=\"//\",this.blockComment={start:\"/*\",end:\"*/\"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if(e==\"start\"){var i=t.match(/^.*[\\{\\(\\[]\\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a([\"ace\"],\"ace/mode/json_worker\",\"JsonWorker\");return t.attachToDocument(e.getDocument()),t.on(\"annotate\",function(t){e.setAnnotations(t.data)}),t.on(\"terminate\",function(){e.clearAnnotations()}),t},this.$id=\"ace/mode/json\"}.call(f.prototype),t.Mode=f}); (function() {\n ace.require([\"ace/mode/json\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n ","// 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, \".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\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!./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&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(\"57275ebe\", 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$response3","_error$response4","_error$response5","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","readonly","model","value","show","callback","$$v","expression","on","$event","preventDefault","submit","domProps","_s","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_v","_e","file","loadingFile","loadFile","proxy","ref","directives","name","rawName","close","staticRenderFns","props","content","type","String","required","Boolean","editor","mounted","openPluginMode","buildPluginMode","ace","$refs","setTheme","session","setMode","setTabSize","setUseWrapMode","$blockScrolling","Infinity","setHighlightActiveLine","setValue","clearSelection","focus","setReadOnly","beforeDestroy","destroy","computed","set","$emit","getValue","methods","blob","Blob","link","document","createElement","href","URL","createObjectURL","setAttribute","toLowerCase","click","oop","JsonHighlightRules","MatchingBraceOutdent","CstyleBehaviour","FoldMode","Mode","HighlightRules","$outdent","$behaviour","foldingRules","indentKeywords","RubyMode","inherits","$id","call","prototype","component","_l","routers","router","index","showRouter","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","update","_this","Api","add","_this2","JSON","stringify","define","e","t","n","r","i","TextHighlightRules","s","$rules","start","token","regex","string","defaultToken","comment","Range","checkOutdent","test","autoOutdent","getLine","match","o","findMatchingBracket","row","column","u","$getIndent","replace","foldingStartMarker","RegExp","source","foldingStopMarker","end","singleLineBlockCommentRe","tripleStarBlockCommentRe","startRegionRe","_getFoldWidgetBase","getFoldWidget","getFoldWidgetRange","getCommentRegionBlock","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","WorkerClient","$defaultBehaviour","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","require","m","module","exports","___CSS_LOADER_EXPORT___","push","id","__esModule","default","locals"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[566],{6129:function(e,t,n){"use strict";var o=n(6964),i=n(5789),r=n(9502),a=n(9373),s=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t,n){var o,r,s,c,l,d,u,h,g,p,f=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o=f.length>2&&void 0!==f[2]?f[2]:{},r=o.data,s=o.params,c=void 0===s?{}:s,l=o.headers,d=o.noAuth,u=void 0!==d&&d,h=o.noScope,g=void 0!==h&&h,u){e.next=13;break}return e.prev=2,e.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:p=e.sent,p&&OpenC3Auth.setTokens(),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](2),OpenC3Auth.login();case 12:l["Authorization"]=localStorage.openc3Token;case 13:return g||c["scope"]||(c["scope"]=window.openc3Scope),e.abrupt("return",(0,a.Z)({method:t,url:n,data:r,params:c,headers:l}));case 15:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t,n){return e.apply(this,arguments)}}(),c={Accept:"application/json"},l=(0,o.Z)((0,o.Z)({},c),{},{"Content-Type":"application/json"});t.Z={get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.params,o=t.headers,i=void 0===o?c:o,r=t.noScope,a=t.noAuth;return s("get",e,{params:n,headers:i,noScope:r,noAuth:a})},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,o=t.params,i=t.headers,r=void 0===i?l:i,a=t.noScope,c=t.noAuth;return s("put",e,{data:n,params:o,headers:r,noScope:a,noAuth:c})},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,o=t.params,i=t.headers,r=void 0===i?l:i,a=t.noScope,c=t.noAuth;return s("post",e,{data:n,params:o,headers:r,noScope:a,noAuth:c})},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.params,o=t.headers,i=void 0===o?c:o,r=t.noScope,a=t.noAuth;return s("delete",e,{params:n,headers:i,noScope:r,noAuth:a})}}},9373:function(e,t,n){"use strict";n(9529),n(1235),n(8188),n(8233);var o=n(9644),i=n.n(o),r=n(4091),a=new r["default"],s=i().create({baseURL:location.origin,timeout:6e4,params:{}});s.interceptors.response.use((function(e){return e}),(function(e){if(e.response){var t,n,o,i,r;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 s="HTTP ".concat(e.response.status," - ");if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(s+="".concat(e.response.statusText," ")),null!==(n=e.response)&&void 0!==n&&null!==(n=n.config)&&void 0!==n&&n.data&&(s+="".concat(e.response.config.data," ")),null!==(o=e.response)&&void 0!==o&&null!==(o=o.data)&&void 0!==o&&o.message)s+="".concat(e.response.data.message);else if(null!==(i=e.response)&&void 0!==i&&null!==(i=i.data)&&void 0!==i&&i.exception)s+="".concat(e.response.data.exception);else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(s+="".concat(e.response.data.error.class," ")),s+="".concat(e.response.data.error.message);else{var c;s+="".concat(null===(c=e.response)||void 0===c?void 0:c.data)}throw a.$notify&&a.$notify.serious({title:"Network error",body:s}),e}throw e})),t.Z=s},9564:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var o=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:!e.readonly,width:"80vw"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("v-system-bar",[t("v-spacer"),t("span",{domProps:{textContent:e._s(e.title)}}),t("v-spacer"),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function(n){var o=n.on,i=n.attrs;return[t("div",e._g(e._b({},"div",i,!1),o),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v(" mdi-download ")])],1)]}}])},[t("span",[e._v(" Download ")])])],1)],1),t("v-card-text",[t("div",{staticClass:"pa-3"},[e.readonly?e._e():t("div",[t("v-row",{staticClass:"mt-3"},[e._v(" Upload a file. ")]),t("v-row",{attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-btn",{attrs:{block:"",color:"success",disabled:!e.file||e.loadingFile||e.readonly,loading:e.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:e.loadFile},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[e._v(" Load ")])],1),t("v-col",{attrs:{cols:"9"}},[t("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:e.readonly},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1)],1),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),t("v-row",{staticClass:"my-3"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:e._s(e.error)}})]),t("v-row",[t("v-spacer"),t("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[e._v(" Cancel ")]),e.readonly?e._e():t("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!e.error||e.readonly}},[e._v(" Save ")])],1)],1)])],1)])],1)},i=[],r=(n(8178),n(8188),n(8673),n(6886),n(4121),n(523),n(3673),n(753),n(8399),n(5095)),a=(n(1411),n(8367),n(419),n(3923),n(2375),{props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data:function(){return{editor:null}},mounted:function(){var e=this.buildPluginMode();this.editor=r.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new e),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy:function(){this.editor&&this.editor.destroy()},computed:{show:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},title:function(){return"".concat(this.type,": ").concat(this.name)},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){var e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download","".concat(this.type.toLowerCase(),"_").concat(this.name.toLowerCase(),".json")),t.click()},buildPluginMode:function(){var e=r.require("ace/lib/oop"),t=r.require("ace/mode/json_highlight_rules").JsonHighlightRules,n=r.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,o=r.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=r.require("ace/mode/folding/ruby").FoldMode,a=function(){this.HighlightRules=t,this.$outdent=new n,this.$behaviour=new o,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},s=r.require("ace/mode/ruby").Mode;return e.inherits(a,s),function(){this.$id="ace/mode/openc3"}.call(a.prototype),a}}}),s=a,c=(n(7067),n(3483)),l=(0,c.Z)(s,o,i,!1,null,"6ad8a8fe",null),d=l.exports},8566: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(9564),s={components:{EditDialog:a.Z},data:function(){return{interfaces:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var e=this;r.Z.get("/openc3-api/interfaces").then((function(t){e.interfaces=t.data}))},showInterface:function(e){var t=this;r.Z.get("/openc3-api/interfaces/".concat(e)).then((function(n){t.jsonContent=JSON.stringify(n.data,null,"\t"),t.dialogTitle=e,t.showDialog=!0}))},dialogCallback:function(e){this.showDialog=!1}}},c=s,l=n(3483),d=(0,l.Z)(c,o,i,!1,null,null,null),u=d.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 d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=r)break;if(d.isMultiLine())t=d.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 d=n;if(d>a)return new i(a,o,d,t.length)}}.call(a.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,n){"use strict";var o=e("../lib/oop"),i=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/cstyle").FoldMode,c=e("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=r,this.$outdent=new a,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new s};o.inherits(l,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var o=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(o+=n)}return o},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new c(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(l.prototype),t.Mode=l})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},193:function(e,t,n){"use strict";n.r(t);var o=n(9601),i=n.n(o),r=n(2609),a=n.n(r),s=a()(i());s.push([e.id,".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),t["default"]=s},7067:function(e,t,n){var o=n(193);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(3514).Z;i("57275ebe",o,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
- //# sourceMappingURL=566.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/566.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,EA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C,OAAOC,CAAC,EAAErH,KAAKiI,aAAa,SAASf,EAAEC,EAAEC,GAAG,OAAOpH,KAAKsF,SAAS2C,aAAad,EAAEC,EAAE,EAAEpH,KAAKmI,YAAY,SAASjB,EAAEC,EAAEC,GAAGpH,KAAKsF,SAAS6C,YAAYhB,EAAEC,EAAE,EAAEpH,KAAKyK,aAAa,SAASvD,GAAG,IAAIC,EAAE,IAAI4C,EAAE,CAAC,OAAO,uBAAuB,cAAc,OAAO5C,EAAEuD,iBAAiBxD,EAAEyD,eAAexD,EAAExG,GAAG,YAAW,SAASwG,GAAGD,EAAE0D,eAAezD,EAAEzM,KAAK,IAAGyM,EAAExG,GAAG,aAAY,WAAWuG,EAAE2D,kBAAkB,IAAG1D,CAAC,EAAEnH,KAAK4F,IAAI,eAAe,EAAEC,KAAKoE,EAAEnE,WAAWqB,EAAE/B,KAAK6E,CAAC,IAAmB,WACjnKlH,IAAI+H,QAAQ,CAAC,kBAAkB,SAASC,GAC2BC,IAC3DA,EAAOC,QAAUF,EAEzB,GACH,CANonK,E,oFCGjoKG,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACH,EAAOI,GAAI,+PAAgQ,KAEzS,c,uBCJA,IAAI9I,EAAU,EAAQ,KACnBA,EAAQ+I,aAAY/I,EAAUA,EAAQgJ,SACnB,kBAAZhJ,IAAsBA,EAAU,CAAC,CAAC0I,EAAOI,GAAI9I,EAAS,MAC7DA,EAAQiJ,SAAQP,EAAOC,QAAU3I,EAAQiJ,QAE5C,IAAIC,EAAM,UACGA,EAAI,WAAYlJ,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/EditDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?1ea8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue?59b7","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/InterfacesTab.vue?289f","webpack://@openc3/cosmos-tool-admin/../../node_modules/ace-builds/src-min-noconflict/mode-json.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?8dfa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?db85"],"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:{\"persistent\":!_vm.readonly,\"width\":\"80vw\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',{domProps:{\"textContent\":_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\"},[(!_vm.readonly)?_c('div',[_c('v-row',{staticClass:\"mt-3\"},[_vm._v(\" Upload a file. \")]),_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"success\",\"disabled\":!_vm.file || _vm.loadingFile || _vm.readonly,\"loading\":_vm.loadingFile,\"data-test\":\"editScreenLoadBtn\"},on:{\"click\":_vm.loadFile},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}],null,false,2673048543)},[_vm._v(\" Load \")])],1),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-file-input',{attrs:{\"accept\":\".json\",\"label\":\"Click to select .json file.\",\"disabled\":_vm.readonly},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1)],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('pre',{ref:\"editor\",staticClass:\"editor\"})]),_c('v-row',{staticClass:\"my-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"editCancelBtn\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),(!_vm.readonly)?_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"editSubmitBtn\",\"disabled\":!!_vm.error || _vm.readonly}},[_vm._v(\" Save \")]):_vm._e()],1)],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.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!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=6ad8a8fe&scoped=true&\"\nimport script from \"./EditDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EditDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&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 \"6ad8a8fe\",\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-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/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InterfacesTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./InterfacesTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InterfacesTab.vue?vue&type=template&id=e825dd58&\"\nimport script from \"./InterfacesTab.vue?vue&type=script&lang=js&\"\nexport * from \"./InterfacesTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","ace.define(\"ace/mode/json_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text_highlight_rules\").TextHighlightRules,s=function(){this.$rules={start:[{token:\"variable\",regex:'[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]\\\\s*(?=:)'},{token:\"string\",regex:'\"',next:\"string\"},{token:\"constant.numeric\",regex:\"0[xX][0-9a-fA-F]+\\\\b\"},{token:\"constant.numeric\",regex:\"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"},{token:\"constant.language.boolean\",regex:\"(?:true|false)\\\\b\"},{token:\"text\",regex:\"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"},{token:\"comment\",regex:\"\\\\/\\\\/.*$\"},{token:\"comment.start\",regex:\"\\\\/\\\\*\",next:\"comment\"},{token:\"paren.lparen\",regex:\"[[({]\"},{token:\"paren.rparen\",regex:\"[\\\\])}]\"},{token:\"punctuation.operator\",regex:/[,]/},{token:\"text\",regex:\"\\\\s+\"}],string:[{token:\"constant.language.escape\",regex:/\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[\"\\\\\\/bfnrt])/},{token:\"string\",regex:'\"|$',next:\"start\"},{defaultToken:\"string\"}],comment:[{token:\"comment.end\",regex:\"\\\\*\\\\/\",next:\"start\"},{defaultToken:\"comment\"}]}};r.inherits(s,i),t.JsonHighlightRules=s}),ace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\\s+$/.test(e)?/^\\s*\\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\\s*\\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"],function(e,t,n){\"use strict\";var r=e(\"../../lib/oop\"),i=e(\"../../range\").Range,s=e(\"./fold_mode\").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/,this.foldingStopMarker=/^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/,this.singleLineBlockCommentRe=/^\\s*(\\/\\*).*\\*\\/\\s*$/,this.tripleStarBlockCommentRe=/^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/,this.startRegionRe=/^\\s*(\\/\\*|\\/\\/)#?region\\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return\"\";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?\"start\":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!=\"all\"&&(u=null)),u}if(t===\"markbegin\")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,\"all\",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\\s*$/),s=e.getLength(),o=n,u=/^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define(\"ace/mode/json\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/json_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/folding/cstyle\",\"ace/worker/worker_client\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text\").Mode,s=e(\"./json_highlight_rules\").JsonHighlightRules,o=e(\"./matching_brace_outdent\").MatchingBraceOutdent,u=e(\"./folding/cstyle\").FoldMode,a=e(\"../worker/worker_client\").WorkerClient,f=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new u};r.inherits(f,i),function(){this.lineCommentStart=\"//\",this.blockComment={start:\"/*\",end:\"*/\"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if(e==\"start\"){var i=t.match(/^.*[\\{\\(\\[]\\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a([\"ace\"],\"ace/mode/json_worker\",\"JsonWorker\");return t.attachToDocument(e.getDocument()),t.on(\"annotate\",function(t){e.setAnnotations(t.data)}),t.on(\"terminate\",function(){e.clearAnnotations()}),t},this.$id=\"ace/mode/json\"}.call(f.prototype),t.Mode=f}); (function() {\n ace.require([\"ace/mode/json\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n ","// 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, \".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\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!./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&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(\"57275ebe\", 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$response3","_error$response4","_error$response5","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","readonly","model","value","show","callback","$$v","expression","on","$event","preventDefault","submit","domProps","_s","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_v","_e","file","loadingFile","loadFile","proxy","ref","directives","name","rawName","close","staticRenderFns","props","content","type","String","required","Boolean","editor","mounted","openPluginMode","buildPluginMode","ace","$refs","setTheme","session","setMode","setTabSize","setUseWrapMode","$blockScrolling","Infinity","setHighlightActiveLine","setValue","clearSelection","focus","setReadOnly","beforeDestroy","destroy","computed","set","$emit","getValue","methods","blob","Blob","link","document","createElement","href","URL","createObjectURL","setAttribute","toLowerCase","click","oop","JsonHighlightRules","MatchingBraceOutdent","CstyleBehaviour","FoldMode","Mode","HighlightRules","$outdent","$behaviour","foldingRules","indentKeywords","RubyMode","inherits","$id","call","prototype","component","_l","interfaces","openc3_interface","index","showInterface","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","update","_this","Api","_this2","JSON","stringify","define","e","t","n","r","i","TextHighlightRules","s","$rules","start","token","regex","string","defaultToken","comment","Range","checkOutdent","test","autoOutdent","getLine","match","o","findMatchingBracket","row","column","u","$getIndent","replace","foldingStartMarker","RegExp","source","foldingStopMarker","end","singleLineBlockCommentRe","tripleStarBlockCommentRe","startRegionRe","_getFoldWidgetBase","getFoldWidget","getFoldWidgetRange","getCommentRegionBlock","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","WorkerClient","$defaultBehaviour","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","require","m","module","exports","___CSS_LOADER_EXPORT___","push","id","__esModule","default","locals","add"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[780],{6129:function(e,t,o){"use strict";var n=o(6964),i=o(5789),r=o(9502),s=o(9373),a=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t,o){var n,r,a,c,l,d,u,h,v,p,g=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=g.length>2&&void 0!==g[2]?g[2]:{},r=n.data,a=n.params,c=void 0===a?{}:a,l=n.headers,d=n.noAuth,u=void 0!==d&&d,h=n.noScope,v=void 0!==h&&h,u){e.next=13;break}return e.prev=2,e.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:p=e.sent,p&&OpenC3Auth.setTokens(),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](2),OpenC3Auth.login();case 12:l["Authorization"]=localStorage.openc3Token;case 13:return v||c["scope"]||(c["scope"]=window.openc3Scope),e.abrupt("return",(0,s.Z)({method:t,url:o,data:r,params:c,headers:l}));case 15:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t,o){return e.apply(this,arguments)}}(),c={Accept:"application/json"},l=(0,n.Z)((0,n.Z)({},c),{},{"Content-Type":"application/json"});t.Z={get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.params,n=t.headers,i=void 0===n?c:n,r=t.noScope,s=t.noAuth;return a("get",e,{params:o,headers:i,noScope:r,noAuth:s})},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.data,n=t.params,i=t.headers,r=void 0===i?l:i,s=t.noScope,c=t.noAuth;return a("put",e,{data:o,params:n,headers:r,noScope:s,noAuth:c})},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.data,n=t.params,i=t.headers,r=void 0===i?l:i,s=t.noScope,c=t.noAuth;return a("post",e,{data:o,params:n,headers:r,noScope:s,noAuth:c})},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.params,n=t.headers,i=void 0===n?c:n,r=t.noScope,s=t.noAuth;return a("delete",e,{params:o,headers:i,noScope:r,noAuth:s})}}},9373:function(e,t,o){"use strict";o(9529),o(1235),o(8188),o(8233);var n=o(9644),i=o.n(n),r=o(4091),s=new r["default"],a=i().create({baseURL:location.origin,timeout:6e4,params:{}});a.interceptors.response.use((function(e){return e}),(function(e){if(e.response){var t,o,n,i,r;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 a="HTTP ".concat(e.response.status," - ");if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(a+="".concat(e.response.statusText," ")),null!==(o=e.response)&&void 0!==o&&null!==(o=o.config)&&void 0!==o&&o.data&&(a+="".concat(e.response.config.data," ")),null!==(n=e.response)&&void 0!==n&&null!==(n=n.data)&&void 0!==n&&n.message)a+="".concat(e.response.data.message);else if(null!==(i=e.response)&&void 0!==i&&null!==(i=i.data)&&void 0!==i&&i.exception)a+="".concat(e.response.data.exception);else if(null!==(r=e.response)&&void 0!==r&&null!==(r=r.data)&&void 0!==r&&null!==(r=r.error)&&void 0!==r&&r.message)e.response.data.error.class&&(a+="".concat(e.response.data.error.class," ")),a+="".concat(e.response.data.error.message);else{var c;a+="".concat(null===(c=e.response)||void 0===c?void 0:c.data)}throw s.$notify&&s.$notify.serious({title:"Network error",body:a}),e}throw e})),t.Z=a},9564:function(e,t,o){"use strict";o.d(t,{Z:function(){return d}});var n=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:!e.readonly,width:"80vw"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("v-system-bar",[t("v-spacer"),t("span",{domProps:{textContent:e._s(e.title)}}),t("v-spacer"),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function(o){var n=o.on,i=o.attrs;return[t("div",e._g(e._b({},"div",i,!1),n),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v(" mdi-download ")])],1)]}}])},[t("span",[e._v(" Download ")])])],1)],1),t("v-card-text",[t("div",{staticClass:"pa-3"},[e.readonly?e._e():t("div",[t("v-row",{staticClass:"mt-3"},[e._v(" Upload a file. ")]),t("v-row",{attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-btn",{attrs:{block:"",color:"success",disabled:!e.file||e.loadingFile||e.readonly,loading:e.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:e.loadFile},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[e._v(" Load ")])],1),t("v-col",{attrs:{cols:"9"}},[t("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:e.readonly},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1)],1),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),t("v-row",{staticClass:"my-3"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:e._s(e.error)}})]),t("v-row",[t("v-spacer"),t("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[e._v(" Cancel ")]),e.readonly?e._e():t("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!e.error||e.readonly}},[e._v(" Save ")])],1)],1)])],1)])],1)},i=[],r=(o(8178),o(8188),o(8673),o(6886),o(4121),o(523),o(3673),o(753),o(8399),o(5095)),s=(o(1411),o(8367),o(419),o(3923),o(2375),{props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data:function(){return{editor:null}},mounted:function(){var e=this.buildPluginMode();this.editor=r.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new e),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy:function(){this.editor&&this.editor.destroy()},computed:{show:{get:function(){return this.value},set:function(e){this.$emit("input",e)}},title:function(){return"".concat(this.type,": ").concat(this.name)},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){var e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download","".concat(this.type.toLowerCase(),"_").concat(this.name.toLowerCase(),".json")),t.click()},buildPluginMode:function(){var e=r.require("ace/lib/oop"),t=r.require("ace/mode/json_highlight_rules").JsonHighlightRules,o=r.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,n=r.require("ace/mode/behaviour/cstyle").CstyleBehaviour,i=r.require("ace/mode/folding/ruby").FoldMode,s=function(){this.HighlightRules=t,this.$outdent=new o,this.$behaviour=new n,this.foldingRules=new i,this.indentKeywords=this.foldingRules.indentKeywords},a=r.require("ace/mode/ruby").Mode;return e.inherits(s,a),function(){this.$id="ace/mode/openc3"}.call(s.prototype),s}}}),a=s,c=(o(7067),o(3483)),l=(0,c.Z)(a,n,i,!1,null,"6ad8a8fe",null),d=l.exports},9780:function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return _}});var n=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{attrs:{"data-test":"microserviceList"}},e._l(e.microservices,(function(o,n){return t("div",{key:o},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(o))]),e.microservice_status[o]?t("v-list-item-subtitle",[e._v(" Updated: "+e._s(e.formatDate(e.microservice_status[o].updated_at))+", State: "+e._s(e.microservice_status[o].state)+", Count: "+e._s(e.microservice_status[o].count)+" ")]):e._e()],1),e.microservice_status[o]?t("div",[t("div",{directives:[{name:"show",rawName:"v-show",value:!!e.microservice_status[o].error,expression:"!!microservice_status[microservice].error"}]},[t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showMicroserviceError(o)}}},"v-icon",r,!1),i),[e._v(" mdi-alert ")])]}}],null,!0)},[t("span",[e._v("View Error")])])],1)],1)]):e._e(),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,r=n.attrs;return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showMicroservice(o)}}},"v-icon",r,!1),i),[e._v(" mdi-eye ")])]}}],null,!0)},[t("span",[e._v("View Microservice")])])],1)],1),n<e.microservices.length-1?t("v-divider",{key:n}):e._e()],1)})),0),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Microservice",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e(),e.showError?t("text-box-dialog",{attrs:{text:e.jsonContent,title:e.dialogTitle},model:{value:e.showError,callback:function(t){e.showError=t},expression:"showError"}}):e._e()],1)},i=[],r=(o(6710),o(8995),o(4769),o(7388)),s=o(6700),a=o(6129),c=o(9564),l=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{width:"600"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("v-system-bar",[t("v-spacer"),t("span",[e._v(" "+e._s(e.title)+" ")]),t("v-spacer"),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function(o){var n=o.on,i=o.attrs;return[t("div",e._g(e._b({},"div",i,!1),n),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v(" mdi-download ")])],1)]}}])},[t("span",[e._v(" Download ")])])],1)],1),t("div",{staticClass:"pa-2"},[t("v-card-text",[t("v-textarea",{attrs:{readonly:"",rows:"15","data-test":"dialogText"},model:{value:e.dialogText,callback:function(t){e.dialogText=t},expression:"dialogText"}})],1)],1),t("v-card-actions",[t("v-spacer"),t("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(t){e.show=!e.show}}},[e._v(" Ok ")])],1)],1)],1)},d=[],u=(o(8188),o(8673),o(6886),o(4121),o(523),o(3673),o(753),o(8399),{props:{value:Boolean,text:String,title:String},computed:{dialogText:function(){return this.text},show:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},methods:{download:function(){var e=new Blob([this.dialogText],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download","".concat(this.title,"__error.txt")),t.click()}}}),h=u,v=o(3483),p=(0,v.Z)(h,l,d,!1,null,null,null),g=p.exports,f={components:{EditDialog:c.Z,TextBoxDialog:g},data:function(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1}},mounted:function(){this.update()},methods:{update:function(){var e=this;a.Z.get("/openc3-api/microservice_status/all").then((function(t){e.microservice_status=t.data})),a.Z.get("/openc3-api/microservices").then((function(t){e.microservices=t.data}))},showMicroservice:function(e){var t=this;a.Z.get("/openc3-api/microservices/".concat(e)).then((function(o){t.microservice_id=e,t.dialogTitle=e,t.jsonContent=JSON.stringify(o.data,null,"\t"),t.showDialog=!0}))},showMicroserviceError:function(e){this.dialogTitle=e;var t=this.microservice_status[e].error;this.jsonContent=JSON.stringify(t,null,"\t"),this.showError=!0},formatDate:function(e){return(0,r.Z)((0,s.Z)(parseInt(e)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(e){var t=this;if(this.showDialog=!1,null!==e){var o=JSON.parse(e),n="put",i="/openc3-api/microservices/".concat(this.microservice_id);o["name"]!==this.microservice_id&&(n="post",i="/openc3-api/microservices"),a.Z[n](i,{data:{json:e}}).then((function(e){t.alert="Modified Microservice",t.alertType="success",t.showAlert=!0,setTimeout((function(){t.showAlert=!1}),5e3),t.update()}))}}}},m=f,w=(0,v.Z)(m,n,i,!1,null,null,null),_=w.exports},8367:function(e,t,o){e=o.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,o){"use strict";var n=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"}]}};n.inherits(r,i),t.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,o){"use strict";var n=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var o=e.getLine(t),i=o.match(/^(\s*\})/);if(!i)return 0;var r=i[1].length,s=e.findMatchingBracket({row:t,column:r});if(!s||s.row==t)return 0;var a=this.$getIndent(e.getLine(s.row));e.replace(new n(t,0,t,r-1),a)},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,o){"use strict";var n=e("../../lib/oop"),i=e("../../range").Range,r=e("./fold_mode").FoldMode,s=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)))};n.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,o){var n=e.getLine(o);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var i=this._getFoldWidgetBase(e,t,o);return!i&&this.startRegionRe.test(n)?"start":i},this.getFoldWidgetRange=function(e,t,o,n){var i=e.getLine(o);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,o);var r=i.match(this.foldingStartMarker);if(r){var s=r.index;if(r[1])return this.openingBracketBlock(e,r[1],o,s);var a=e.getCommentFoldRange(o,s+r[0].length,1);return a&&!a.isMultiLine()&&(n?a=this.getSectionRange(e,o):"all"!=t&&(a=null)),a}if("markbegin"!==t){r=i.match(this.foldingStopMarker);if(r){s=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],o,s):e.getCommentFoldRange(o,s,-1)}}},this.getSectionRange=function(e,t){var o=e.getLine(t),n=o.search(/\S/),r=t,s=o.length;t+=1;var a=t,c=e.getLength();while(++t<c){o=e.getLine(t);var l=o.search(/\S/);if(-1!==l){if(n>l)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=r)break;if(d.isMultiLine())t=d.end.row;else if(n==l)break}a=t}}return new i(r,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,o){var n=t.search(/\s*$/),r=e.getLength(),s=o,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;while(++o<r){t=e.getLine(o);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}var d=o;if(d>s)return new i(s,n,d,t.length)}}.call(s.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,o){"use strict";var n=e("../lib/oop"),i=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,c=e("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=r,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};n.inherits(l,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,o){var n=this.$getIndent(t);if("start"==e){var i=t.match(/^.*[\{\(\[]\s*$/);i&&(n+=o)}return n},this.checkOutdent=function(e,t,o){return this.$outdent.checkOutdent(t,o)},this.autoOutdent=function(e,t,o){this.$outdent.autoOutdent(t,o)},this.createWorker=function(e){var t=new c(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(l.prototype),t.Mode=l})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},193:function(e,t,o){"use strict";o.r(t);var n=o(9601),i=o.n(n),r=o(2609),s=o.n(r),a=s()(i());a.push([e.id,".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),t["default"]=a},7067:function(e,t,o){var n=o(193);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=o(3514).Z;i("57275ebe",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
- //# sourceMappingURL=780.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/780.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,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AAY,WAAWiH,EAAEwE,kBAAkB,IAAG1D,CAAC,EAAE1I,KAAK4F,IAAI,eAAe,EAAEC,KAAK2F,EAAE1F,WAAW4C,EAAEtD,KAAKoG,CAAC,IAAmB,WACjnKzI,IAAIsJ,QAAQ,CAAC,kBAAkB,SAASC,GAC2BC,IAC3DA,EAAOC,QAAUF,EAEzB,GACH,CANonK,E,oFCGjoKG,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACH,EAAOI,GAAI,+PAAgQ,KAEzS,c,uBCJA,IAAIrK,EAAU,EAAQ,KACnBA,EAAQsK,aAAYtK,EAAUA,EAAQuK,SACnB,kBAAZvK,IAAsBA,EAAU,CAAC,CAACiK,EAAOI,GAAIrK,EAAS,MAC7DA,EAAQwK,SAAQP,EAAOC,QAAUlK,EAAQwK,QAE5C,IAAIC,EAAM,UACGA,EAAI,WAAYzK,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/EditDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?1ea8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TextBoxDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TextBoxDialog.vue?02d1","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TextBoxDialog.vue?31b4","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue?7473","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue?6af3","webpack://@openc3/cosmos-tool-admin/../../node_modules/ace-builds/src-min-noconflict/mode-json.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?8dfa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?db85"],"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:{\"persistent\":!_vm.readonly,\"width\":\"80vw\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',{domProps:{\"textContent\":_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\"},[(!_vm.readonly)?_c('div',[_c('v-row',{staticClass:\"mt-3\"},[_vm._v(\" Upload a file. \")]),_c('v-row',{attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"success\",\"disabled\":!_vm.file || _vm.loadingFile || _vm.readonly,\"loading\":_vm.loadingFile,\"data-test\":\"editScreenLoadBtn\"},on:{\"click\":_vm.loadFile},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}],null,false,2673048543)},[_vm._v(\" Load \")])],1),_c('v-col',{attrs:{\"cols\":\"9\"}},[_c('v-file-input',{attrs:{\"accept\":\".json\",\"label\":\"Click to select .json file.\",\"disabled\":_vm.readonly},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1)],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('pre',{ref:\"editor\",staticClass:\"editor\"})]),_c('v-row',{staticClass:\"my-3\"},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"editCancelBtn\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),(!_vm.readonly)?_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"editSubmitBtn\",\"disabled\":!!_vm.error || _vm.readonly}},[_vm._v(\" Save \")]):_vm._e()],1)],1)])],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.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!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=6ad8a8fe&scoped=true&\"\nimport script from \"./EditDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./EditDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&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 \"6ad8a8fe\",\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-list',{attrs:{\"data-test\":\"microserviceList\"}},_vm._l((_vm.microservices),function(microservice,index){return _c('div',{key:microservice},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(microservice))]),(_vm.microservice_status[microservice])?_c('v-list-item-subtitle',[_vm._v(\" Updated: \"+_vm._s(_vm.formatDate(_vm.microservice_status[microservice].updated_at))+\", State: \"+_vm._s(_vm.microservice_status[microservice].state)+\", Count: \"+_vm._s(_vm.microservice_status[microservice].count)+\" \")]):_vm._e()],1),(_vm.microservice_status[microservice])?_c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!!_vm.microservice_status[microservice].error),expression:\"!!microservice_status[microservice].error\"}]},[_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showMicroserviceError(microservice)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-alert \")])]}}],null,true)},[_c('span',[_vm._v(\"View Error\")])])],1)],1)]):_vm._e(),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showMicroservice(microservice)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"View Microservice\")])])],1)],1),(index < _vm.microservices.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"type\":\"Microservice\",\"name\":_vm.dialogTitle,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e(),(_vm.showError)?_c('text-box-dialog',{attrs:{\"text\":_vm.jsonContent,\"title\":_vm.dialogTitle},model:{value:(_vm.showError),callback:function ($$v) {_vm.showError=$$v},expression:\"showError\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_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('div',{staticClass:\"pa-2\"},[_c('v-card-text',[_c('v-textarea',{attrs:{\"readonly\":\"\",\"rows\":\"15\",\"data-test\":\"dialogText\"},model:{value:(_vm.dialogText),callback:function ($$v) {_vm.dialogText=$$v},expression:\"dialogText\"}})],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TextBoxDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TextBoxDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TextBoxDialog.vue?vue&type=template&id=0c8e9db0&\"\nimport script from \"./TextBoxDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./TextBoxDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MicroservicesTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MicroservicesTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MicroservicesTab.vue?vue&type=template&id=8319f3ea&\"\nimport script from \"./MicroservicesTab.vue?vue&type=script&lang=js&\"\nexport * from \"./MicroservicesTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","ace.define(\"ace/mode/json_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text_highlight_rules\").TextHighlightRules,s=function(){this.$rules={start:[{token:\"variable\",regex:'[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]\\\\s*(?=:)'},{token:\"string\",regex:'\"',next:\"string\"},{token:\"constant.numeric\",regex:\"0[xX][0-9a-fA-F]+\\\\b\"},{token:\"constant.numeric\",regex:\"[+-]?\\\\d+(?:(?:\\\\.\\\\d*)?(?:[eE][+-]?\\\\d+)?)?\\\\b\"},{token:\"constant.language.boolean\",regex:\"(?:true|false)\\\\b\"},{token:\"text\",regex:\"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"},{token:\"comment\",regex:\"\\\\/\\\\/.*$\"},{token:\"comment.start\",regex:\"\\\\/\\\\*\",next:\"comment\"},{token:\"paren.lparen\",regex:\"[[({]\"},{token:\"paren.rparen\",regex:\"[\\\\])}]\"},{token:\"punctuation.operator\",regex:/[,]/},{token:\"text\",regex:\"\\\\s+\"}],string:[{token:\"constant.language.escape\",regex:/\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[\"\\\\\\/bfnrt])/},{token:\"string\",regex:'\"|$',next:\"start\"},{defaultToken:\"string\"}],comment:[{token:\"comment.end\",regex:\"\\\\*\\\\/\",next:\"start\"},{defaultToken:\"comment\"}]}};r.inherits(s,i),t.JsonHighlightRules=s}),ace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"],function(e,t,n){\"use strict\";var r=e(\"../range\").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\\s+$/.test(e)?/^\\s*\\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\\s*\\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),ace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"],function(e,t,n){\"use strict\";var r=e(\"../../lib/oop\"),i=e(\"../../range\").Range,s=e(\"./fold_mode\").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/,\"|\"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/,this.foldingStopMarker=/^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/,this.singleLineBlockCommentRe=/^\\s*(\\/\\*).*\\*\\/\\s*$/,this.tripleStarBlockCommentRe=/^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/,this.startRegionRe=/^\\s*(\\/\\*|\\/\\/)#?region\\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return\"\";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?\"start\":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!=\"all\"&&(u=null)),u}if(t===\"markbegin\")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,\"all\",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\\s*$/),s=e.getLength(),o=n,u=/^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define(\"ace/mode/json\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/json_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/folding/cstyle\",\"ace/worker/worker_client\"],function(e,t,n){\"use strict\";var r=e(\"../lib/oop\"),i=e(\"./text\").Mode,s=e(\"./json_highlight_rules\").JsonHighlightRules,o=e(\"./matching_brace_outdent\").MatchingBraceOutdent,u=e(\"./folding/cstyle\").FoldMode,a=e(\"../worker/worker_client\").WorkerClient,f=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new u};r.inherits(f,i),function(){this.lineCommentStart=\"//\",this.blockComment={start:\"/*\",end:\"*/\"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);if(e==\"start\"){var i=t.match(/^.*[\\{\\(\\[]\\s*$/);i&&(r+=n)}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a([\"ace\"],\"ace/mode/json_worker\",\"JsonWorker\");return t.attachToDocument(e.getDocument()),t.on(\"annotate\",function(t){e.setAnnotations(t.data)}),t.on(\"terminate\",function(){e.clearAnnotations()}),t},this.$id=\"ace/mode/json\"}.call(f.prototype),t.Mode=f}); (function() {\n ace.require([\"ace/mode/json\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n ","// 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, \".editor[data-v-6ad8a8fe]{height:50vh;width:75vw;position:relative;font-size:16px}.v-card[data-v-6ad8a8fe]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-6ad8a8fe] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\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!./EditDialog.vue?vue&type=style&index=0&id=6ad8a8fe&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(\"57275ebe\", 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$response3","_error$response4","_error$response5","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","readonly","model","value","show","callback","$$v","expression","on","$event","preventDefault","submit","domProps","_s","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_v","_e","file","loadingFile","loadFile","proxy","ref","directives","name","rawName","close","staticRenderFns","props","content","type","String","required","Boolean","editor","mounted","openPluginMode","buildPluginMode","ace","$refs","setTheme","session","setMode","setTabSize","setUseWrapMode","$blockScrolling","Infinity","setHighlightActiveLine","setValue","clearSelection","focus","setReadOnly","beforeDestroy","destroy","computed","set","$emit","getValue","methods","blob","Blob","link","document","createElement","href","URL","createObjectURL","setAttribute","toLowerCase","click","oop","JsonHighlightRules","MatchingBraceOutdent","CstyleBehaviour","FoldMode","Mode","HighlightRules","$outdent","$behaviour","foldingRules","indentKeywords","RubyMode","inherits","$id","call","prototype","component","_l","microservices","microservice","index","microservice_status","formatDate","updated_at","state","count","showMicroserviceError","showMicroservice","showDialog","jsonContent","dialogTitle","dialogCallback","showError","dialogText","text","components","EditDialog","TextBoxDialog","microservice_id","update","_this","Api","_this2","JSON","stringify","e","nanoSecs","format","toDate","parseInt","_this3","parsed","parse","json","alert","alertType","showAlert","setTimeout","define","t","n","r","i","TextHighlightRules","s","$rules","start","token","regex","string","defaultToken","comment","Range","checkOutdent","test","autoOutdent","getLine","match","o","findMatchingBracket","row","column","u","$getIndent","replace","foldingStartMarker","RegExp","source","foldingStopMarker","end","singleLineBlockCommentRe","tripleStarBlockCommentRe","startRegionRe","_getFoldWidgetBase","getFoldWidget","getFoldWidgetRange","getCommentRegionBlock","openingBracketBlock","getCommentFoldRange","isMultiLine","getSectionRange","closingBracketBlock","search","a","getLength","f","l","exec","WorkerClient","$defaultBehaviour","lineCommentStart","blockComment","getNextLineIndent","createWorker","attachToDocument","getDocument","setAnnotations","clearAnnotations","require","m","module","exports","___CSS_LOADER_EXPORT___","push","id","__esModule","default","locals","add"],"sourceRoot":""}