openc3-cosmos-tool-admin 5.5.2.pre.beta0.20230315040419 → 5.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/tools/admin/index.html +1 -4
  3. data/tools/admin/js/126.js +2 -0
  4. data/tools/admin/js/126.js.map +1 -0
  5. data/tools/admin/js/133.js +2 -0
  6. data/tools/admin/js/133.js.map +1 -0
  7. data/tools/admin/js/19.js +2 -0
  8. data/tools/admin/js/19.js.map +1 -0
  9. data/tools/admin/js/224.js +2 -0
  10. data/tools/admin/js/224.js.map +1 -0
  11. data/tools/admin/js/303.js +1 -1
  12. data/tools/admin/js/303.js.map +1 -1
  13. data/tools/admin/js/317.js +2 -0
  14. data/tools/admin/js/317.js.map +1 -0
  15. data/tools/admin/js/398.js +2 -0
  16. data/tools/admin/js/398.js.map +1 -0
  17. data/tools/admin/js/446.js +2 -0
  18. data/tools/admin/js/446.js.map +1 -0
  19. data/tools/admin/js/559.js +2 -0
  20. data/tools/admin/js/559.js.map +1 -0
  21. data/tools/admin/js/566.js +2 -0
  22. data/tools/admin/js/566.js.map +1 -0
  23. data/tools/admin/js/635.js +2 -0
  24. data/tools/admin/js/635.js.map +1 -0
  25. data/tools/admin/js/661.js +2 -0
  26. data/tools/admin/js/661.js.map +1 -0
  27. data/tools/admin/js/837.js +8 -0
  28. data/tools/admin/js/837.js.map +1 -0
  29. data/tools/admin/js/876.js +41 -0
  30. data/tools/admin/js/876.js.map +1 -0
  31. data/tools/admin/js/{355.js → 999.js} +2 -2
  32. data/tools/admin/js/{355.js.map → 999.js.map} +1 -1
  33. data/tools/admin/js/app.js +1 -1
  34. data/tools/admin/js/app.js.map +1 -1
  35. metadata +32 -28
  36. data/tools/admin/js/13.js +0 -2
  37. data/tools/admin/js/13.js.map +0 -1
  38. data/tools/admin/js/193.js +0 -2
  39. data/tools/admin/js/193.js.map +0 -1
  40. data/tools/admin/js/374.js +0 -2
  41. data/tools/admin/js/374.js.map +0 -1
  42. data/tools/admin/js/461.js +0 -2
  43. data/tools/admin/js/461.js.map +0 -1
  44. data/tools/admin/js/519.js +0 -2
  45. data/tools/admin/js/519.js.map +0 -1
  46. data/tools/admin/js/549.js +0 -2
  47. data/tools/admin/js/549.js.map +0 -1
  48. data/tools/admin/js/558.js +0 -2
  49. data/tools/admin/js/558.js.map +0 -1
  50. data/tools/admin/js/664.js +0 -2
  51. data/tools/admin/js/664.js.map +0 -1
  52. data/tools/admin/js/731.js +0 -2
  53. data/tools/admin/js/731.js.map +0 -1
  54. data/tools/admin/js/734.js +0 -2
  55. data/tools/admin/js/734.js.map +0 -1
  56. data/tools/admin/js/921.js +0 -9
  57. data/tools/admin/js/921.js.map +0 -1
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[558],{6129:function(t,e,o){"use strict";var n=o(6964),s=o(5789),r=o(9502),a=o(9373),i=function(){var t=(0,r.Z)((0,s.Z)().mark((function t(e,o){var n,r,i,c,l,u,d,v,p,h,f=arguments;return(0,s.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=f.length>2&&void 0!==f[2]?f[2]:{},r=n.data,i=n.params,c=void 0===i?{}:i,l=n.headers,u=n.noAuth,d=void 0!==u&&u,v=n.noScope,p=void 0!==v&&v,d){t.next=13;break}return t.prev=2,t.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:h=t.sent,h&&OpenC3Auth.setTokens(),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](2),OpenC3Auth.login();case 12:l["Authorization"]=localStorage.openc3Token;case 13:return p||c["scope"]||(c["scope"]=window.openc3Scope),t.abrupt("return",(0,a.Z)({method:e,url:o,data:r,params:c,headers:l}));case 15:case"end":return t.stop()}}),t,null,[[2,9]])})));return function(e,o){return t.apply(this,arguments)}}(),c={Accept:"application/json"},l=(0,n.Z)((0,n.Z)({},c),{},{"Content-Type":"application/json"});e["Z"]={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,s=void 0===n?c:n,r=e.noScope,a=e.noAuth;return i("get",t,{params:o,headers:s,noScope:r,noAuth:a})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,s=e.headers,r=void 0===s?l:s,a=e.noScope,c=e.noAuth;return i("put",t,{data:o,params:n,headers:r,noScope:a,noAuth:c})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,s=e.headers,r=void 0===s?l:s,a=e.noScope,c=e.noAuth;return i("post",t,{data:o,params:n,headers:r,noScope:a,noAuth:c})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,s=void 0===n?c:n,r=e.noScope,a=e.noAuth;return i("delete",t,{params:o,headers:s,noScope:r,noAuth:a})}}},9373:function(t,e,o){"use strict";o(9529),o(1235),o(8188),o(8233);var n=o(9644),s=o.n(n),r=o(4091),a=new r["default"],i=s().create({baseURL:location.origin,timeout:6e4,params:{}});i.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,o,n,s,r,i,c,l,u,d;if(401===t.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(t){t&&OpenC3Auth.setTokens()})),t.response.headers["ignore-errors"]&&t.response.headers["ignore-errors"].includes(t.response.status.toString()))return Promise.reject(t);var v="HTTP ".concat(t.response.status," - ");if(null!==(e=t.response)&&void 0!==e&&e.statusText&&(v+="".concat(t.response.statusText," ")),null!==(o=t.response)&&void 0!==o&&null!==(n=o.config)&&void 0!==n&&n.data&&(v+="".concat(t.response.config.data," ")),null!==(s=t.response)&&void 0!==s&&null!==(r=s.data)&&void 0!==r&&r.message)v+="".concat(t.response.data.message);else if(null!==(i=t.response)&&void 0!==i&&null!==(c=i.data)&&void 0!==c&&c.exception)v+="".concat(t.response.data.exception);else if(null!==(l=t.response)&&void 0!==l&&null!==(u=l.data)&&void 0!==u&&null!==(d=u.error)&&void 0!==d&&d.message)t.response.data.error.class&&(v+="".concat(t.response.data.error.class," ")),v+="".concat(t.response.data.error.message);else{var p;v+="".concat(null===(p=t.response)||void 0===p?void 0:p.data)}throw a.$notify&&a.$notify.serious({title:"Network error",body:v}),t}throw t})),e["Z"]=i},4150:function(t,e,o){"use strict";o.d(e,{Z:function(){return l}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{persistent:!t.readonly,width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("v-system-bar",[e("v-spacer"),e("span",{domProps:{textContent:t._s(t.title)}}),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(o){var n=o.on,s=o.attrs;return[e("div",t._g(t._b({},"div",s,!1),n),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[t.readonly?t._e():e("div",[e("v-row",{staticClass:"mt-3"},[t._v(" Upload a file. ")]),e("v-row",{attrs:{"no-gutters":"",align:"center"}},[e("v-col",{attrs:{cols:"3"}},[e("v-btn",{attrs:{block:"",color:"success",disabled:!t.file||t.loadingFile||t.readonly,loading:t.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:t.loadFile},scopedSlots:t._u([{key:"loader",fn:function(){return[e("span",[t._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[t._v(" Load ")])],1),e("v-col",{attrs:{cols:"9"}},[e("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:t.readonly},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1)],1)],1),e("v-row",{attrs:{"no-gutters":""}},[e("v-textarea",{attrs:{rows:"15",readonly:t.readonly,"data-test":"editTextInput"},model:{value:t.json_content,callback:function(e){t.json_content=e},expression:"json_content"}})],1),e("v-row",{staticClass:"my-3"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:t._s(t.error)}})]),e("v-row",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(e){return e.preventDefault(),t.close.apply(null,arguments)}}},[t._v(" Cancel ")]),t.readonly?t._e():e("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!t.error||t.readonly}},[t._v(" Save ")])],1)],1)])],1)])],1)},s=[],r=(o(8188),o(8673),o(6886),o(4121),o(523),{props:{content:{type:String,required:!0},title:String,value:Boolean,readonly:Boolean},data:function(){return{json_content:this.content}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},error:function(){return""!==this.json_content||this.file?null:"Input can not be blank."}},methods:{submit:function(){this.$emit("submit",this.json_content),this.json_content=null,this.show=!this.show},close:function(){this.json_content=null,this.show=!this.show},download:function(){var t=new Blob([this.json_content],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,".json")),e.click()}}}),a=r,i=(o(8837),o(3287)),c=(0,i.Z)(a,n,s,!1,null,"5f5542bd",null),l=c.exports},5558:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return g}});var n=function(){var t=this,e=t._self._c;return e("div",[e("v-list",{attrs:{"data-test":"microserviceList"}},t._l(t.microservices,(function(o,n){return e("div",{key:o},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o))]),t.microservice_status[o]?e("v-list-item-subtitle",[t._v(" Updated: "+t._s(t.formatDate(t.microservice_status[o].updated_at))+", State: "+t._s(t.microservice_status[o].state)+", Count: "+t._s(t.microservice_status[o].count)+" ")]):t._e()],1),t.microservice_status[o]?e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:!!t.microservice_status[o].error,expression:"!!microservice_status[microservice].error"}]},[e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,r=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showMicroserviceError(o)}}},"v-icon",r,!1),s),[t._v(" mdi-alert ")])]}}],null,!0)},[e("span",[t._v("View Error")])])],1)],1)]):t._e(),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var s=n.on,r=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showMicroservice(o)}}},"v-icon",r,!1),s),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Edit Microservice")])])],1)],1),n<t.microservices.length-1?e("v-divider",{key:n}):t._e()],1)})),0),t.showDialog?e("edit-dialog",{attrs:{content:t.jsonContent,title:"Microservice: ".concat(t.dialogTitle),readonly:""},on:{submit:t.dialogCallback},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}}):t._e(),t.showError?e("text-box-dialog",{attrs:{text:t.jsonContent,title:t.dialogTitle},model:{value:t.showError,callback:function(e){t.showError=e},expression:"showError"}}):t._e()],1)},s=[],r=(o(6710),o(8995),o(7388)),a=o(6700),i=o(6129),c=o(4150),l=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" "+t._s(t.title)+" ")]),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(o){var n=o.on,s=o.attrs;return[e("div",t._g(t._b({},"div",s,!1),n),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("div",{staticClass:"pa-2"},[e("v-card-text",[e("v-textarea",{attrs:{readonly:"",rows:"15","data-test":"dialogText"},model:{value:t.dialogText,callback:function(e){t.dialogText=e},expression:"dialogText"}})],1)],1),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},u=[],d=(o(8188),o(8673),o(6886),o(4121),o(523),{props:{value:Boolean,text:String,title:String},computed:{dialogText:function(){return this.text},show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.dialogText],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,"__error.txt")),e.click()}}}),v=d,p=o(3287),h=(0,p.Z)(v,l,u,!1,null,null,null),f=h.exports,m={components:{EditDialog:c.Z,TextBoxDialog:f},data:function(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1}},mounted:function(){this.update()},methods:{update:function(){var t=this;i.Z.get("/openc3-api/microservice_status/all").then((function(e){t.microservice_status=e.data})),i.Z.get("/openc3-api/microservices").then((function(e){t.microservices=e.data}))},showMicroservice:function(t){var e=this;i.Z.get("/openc3-api/microservices/".concat(t)).then((function(o){e.microservice_id=t,e.dialogTitle=t,e.jsonContent=JSON.stringify(o.data,null,"\t"),e.showDialog=!0}))},showMicroserviceError:function(t){this.dialogTitle=t;var e=this.microservice_status[t].error;this.jsonContent=JSON.stringify(e,null,"\t"),this.showError=!0},formatDate:function(t){return(0,r.Z)((0,a.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(t){var e=this;if(this.showDialog=!1,null!==t){var o=JSON.parse(t),n="put",s="/openc3-api/microservices/".concat(this.microservice_id);o["name"]!==this.microservice_id&&(n="post",s="/openc3-api/microservices"),i.Z[n](s,{data:{json:t}}).then((function(t){e.alert="Modified Microservice",e.alertType="success",e.showAlert=!0,setTimeout((function(){e.showAlert=!1}),5e3),e.update()}))}}}},_=m,w=(0,p.Z)(_,n,s,!1,null,null,null),g=w.exports},9580:function(t,e,o){"use strict";o.r(e);var n=o(3467),s=o.n(n),r=o(8715),a=o.n(r),i=a()(s());i.push([t.id,".v-card[data-v-5f5542bd]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-5f5542bd] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),e["default"]=i},8837:function(t,e,o){var n=o(9580);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var s=o(3514).Z;s("18c3bb4f",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
- //# sourceMappingURL=558.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/558.js","mappings":"6LAwBMA,EAAO,eAAAC,GAAAC,EAAAA,EAAAA,IAAAC,EAAAA,EAAAA,KAAAC,MAAG,SAAAC,EACdC,EACAC,GAAG,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,UAAA,OAAAhB,EAAAA,EAAAA,KAAAiB,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,OAC0D,GAD1Df,EAAAU,EAAAM,OAAA,QAAAC,IAAAP,EAAA,GAAAA,EAAA,GAC+D,CAAC,EAAjET,EAAID,EAAJC,KAAIC,EAAAF,EAAEG,OAAAA,OAAM,IAAAD,EAAG,CAAC,EAACA,EAAEE,EAAOJ,EAAPI,QAAOC,EAAAL,EAAEM,OAAAA,OAAM,IAAAD,GAAQA,EAAAE,EAAAP,EAAEQ,QAAAA,OAAO,IAAAD,GAAQA,EAExDD,EAAQ,CAAFO,EAAAE,KAAA,gBAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEeG,WAAWC,YAC/BD,WAAWE,oBACZ,OAFGX,EAASI,EAAAQ,KAGTZ,GACFS,WAAWI,YACZT,EAAAE,KA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AAAC,EAAA,WACA,KAAAd,WAAA,CACA,EACAV,WAAA,SAAAyB,GACA,OAAAC,EAAAA,EAAAA,IACAC,EAAAA,EAAAA,GAAAC,SAAAH,GAAA,KACA,0BAEA,EACAhB,eAAA,SAAAlC,GAAA,IAAAsD,EAAA,KAEA,GADA,KAAAvB,YAAA,EACA,OAAA/B,EAAA,CACA,IAAAuD,EAAAR,KAAAS,MAAAxD,GACApI,EAAA,MACAC,EAAA,6BAAAiF,OAAA,KAAA2F,iBACAc,EAAA,eAAAd,kBACA7K,EAAA,OACAC,EAAA,6BAGAgL,EAAAA,EAAAjL,GAAAC,EAAA,CACAE,KAAA,CACA0L,KAAAzD,KAEAxD,MAAA,SAAAd,GACA4H,EAAAI,MAAA,wBACAJ,EAAAK,UAAA,UACAL,EAAAM,WAAA,EACAC,YAAA,WACAP,EAAAM,WAAA,CACA,QACAN,EAAAX,QACA,GACA,CACA,IIxKwY,ICOpY,GAAY,OACd,EACAnF,EACAsC,GACA,EACA,KACA,KACA,MAIF,EAAe,EAAiB,O,qFCf5BgE,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,8KAA+K,KAExN,c,uBCJA,IAAIjE,EAAU,EAAQ,MACnBA,EAAQkE,aAAYlE,EAAUA,EAAQmE,SACnB,kBAAZnE,IAAsBA,EAAU,CAAC,CAACgE,EAAOC,GAAIjE,EAAS,MAC7DA,EAAQoE,SAAQJ,EAAOK,QAAUrE,EAAQoE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYtE,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?67e8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?28d1","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?cc45","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TextBoxDialog.vue?3d0e","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue?f7ec","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/MicroservicesTab.vue?d392","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?1a8c","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?3069"],"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\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.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('v-textarea',{attrs:{\"rows\":\"15\",\"readonly\":_vm.readonly,\"data-test\":\"editTextInput\"},model:{value:(_vm.json_content),callback:function ($$v) {_vm.json_content=$$v},expression:\"json_content\"}})],1),_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/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=5f5542bd&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=5f5542bd&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5f5542bd\",\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(\"Edit 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,\"title\":`Microservice: ${_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/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TextBoxDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./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/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MicroservicesTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MicroservicesTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MicroservicesTab.vue?vue&type=template&id=47b07894&\"\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/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-card[data-v-5f5542bd]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-5f5542bd] 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/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=style&index=0&id=5f5542bd&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(\"18c3bb4f\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["request","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee","method","url","_ref2","data","_ref2$params","params","headers","_ref2$noAuth","noAuth","_ref2$noScope","noScope","refreshed","_args","arguments","wrap","_context","prev","next","length","undefined","OpenC3Auth","updateToken","defaultMinValidity","sent","setTokens","t0","login","localStorage","openc3Token","window","openc3Scope","abrupt","axios","stop","_x","_x2","apply","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","_objectSpread","get","path","_ref3","_ref3$headers","put","_ref4","_ref4$headers","post","_ref5","_ref5$headers","delete","_ref6","_ref6$headers","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","error","_error$response","_error$response2","_error$response2$conf","_error$response3","_error$response3$data","_error$response4","_error$response4$data","_error$response5","_error$response5$data","_error$response5$data2","status","then","includes","toString","Promise","reject","body","concat","statusText","config","message","exception","class","_error$response6","$notify","serious","title","render","_vm","this","_c","_self","attrs","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","json_content","directives","name","rawName","close","staticRenderFns","props","content","type","String","required","Boolean","computed","set","$emit","methods","blob","Blob","link","document","createElement","href","URL","createObjectURL","setAttribute","click","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","mounted","update","_this","Api","_this2","JSON","stringify","e","nanoSecs","format","toDate","parseInt","_this3","parsed","parse","json","alert","alertType","showAlert","setTimeout","___CSS_LOADER_EXPORT___","push","module","id","__esModule","default","locals","exports","add"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[664],{3340:function(t,e,i){"use strict";i.d(e,{Z:function(){return u}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:t.width},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" "+t._s(t.title)+" ")]),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(i){var n=i.on,o=i.attrs;return[e("div",t._g(t._b({},"div",o,!1),n),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.text))])])]),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},o=[],l=(i(8188),i(8673),i(6886),i(4121),i(523),{props:{value:Boolean,text:String,title:String,width:800},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,".txt")),e.click()}}}),a=l,s=i(3287),r=(0,s.Z)(a,n,o,!1,null,null,null),u=r.exports},8664:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return S}});i(4769),i(8178);var n=function(){var t=this,e=t._self._c;return e("div",[e("v-row",{staticClass:"px-2",attrs:{"no-gutters":"",align:"center"}},[e("v-col",[e("v-file-input",{ref:"fileInput",staticClass:"mx-2",attrs:{"show-size":"",accept:".gem",label:"Click to select plugin .gem file to install"},on:{change:function(e){return t.fileChange()},mousedown:function(e){return t.fileMousedown()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1)],1),e("v-row",{staticClass:"px-2 pb-2",staticStyle:{"margin-top":"10px"},attrs:{"no-gutters":""}},[e("v-col",[e("v-checkbox",{staticClass:"mt-0",attrs:{label:"Show Default Tools","data-test":"show-default-tools"},model:{value:t.showDefaultTools,callback:function(e){t.showDefaultTools=e},expression:"showDefaultTools"}})],1),e("v-col",{attrs:{align:"right"}},[e("div",[t._v("* indicates a modified plugin")]),e("div",[t._v("Click target link to download modifications")])])],1),e("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:t.alertType,"data-test":"plugin-alert"},model:{value:t.showAlert,callback:function(e){t.showAlert=e},expression:"showAlert"}},[t._v(t._s(t.alert))]),Object.keys(t.processes).length>0?e("v-list",{attrs:{"data-test":"process-list"}},t._l(t.processes,(function(i){return e("div",{key:i.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{class:i.state.toLowerCase(),domProps:{textContent:t._s("Processing ".concat(i.process_type,": ").concat(i.detail," - ").concat(i.state))}})]),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(i.updated_at))}})])],1),e("v-list-item-icon",["Running"===i.state?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var o=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"show-output"},on:{click:function(e){return t.showOutput(i)}}},"v-icon",l,!1),o),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Output")])])],1)],1),e("v-divider")],1)})),0):t._e(),e("v-list",{attrs:{"data-test":"plugin-list"}},t._l(t.shownPlugins,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t.isModified(i)?e("span",[t._v("* ")]):t._e(),t._v(t._s(i))]),0!==t.pluginTargets(i).length?e("v-list-item-subtitle",t._l(t.pluginTargets(i),(function(i,n){return e("span",{key:n},[i.modified?e("a",{on:{click:function(e){return e.preventDefault(),t.downloadTarget(i.name)}}},[t._v(t._s(i.name)+" ")]):e("span",[t._v(t._s(i.name)+" ")])])})),0):t._e()],1),e("v-list-item-icon",[e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var o=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"download-plugin"},on:{click:function(e){return t.downloadPlugin(i)}}},"v-icon",l,!1),o),[t._v(" mdi-download ")])]}}],null,!0)},[e("span",[t._v("Download Plugin")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var o=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"edit-plugin"},on:{click:function(e){return t.editPlugin(i)}}},"v-icon",l,!1),o),[t._v(" mdi-pencil ")])]}}],null,!0)},[e("span",[t._v("Edit Plugin Details")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var o=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"upgrade-plugin"},on:{click:function(e){return t.upgradePlugin(i)}}},"v-icon",l,!1),o),[t._v(" mdi-update ")])]}}],null,!0)},[e("span",[t._v("Upgrade Plugin")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var o=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"delete-plugin"},on:{click:function(e){return t.deletePrompt(i)}}},"v-icon",l,!1),o),[t._v(" mdi-delete ")])]}}],null,!0)},[e("span",[t._v("Delete Plugin")])])],1)])],1),n<t.plugins.length-1?e("v-divider",{key:n}):t._e()],1)})),0),e("plugin-dialog",{attrs:{pluginName:t.pluginName,variables:t.variables,pluginTxt:t.pluginTxt,existingPluginTxt:t.existingPluginTxt},on:{submit:t.pluginCallback},model:{value:t.showPluginDialog,callback:function(e){t.showPluginDialog=e},expression:"showPluginDialog"}}),t.showModifiedPluginDialog?e("modified-plugin-dialog",{attrs:{pluginName:t.currentPlugin,targets:t.pluginTargets(t.currentPlugin),pluginDelete:t.pluginDelete},on:{submit:t.modifiedSubmit},model:{value:t.showModifiedPluginDialog,callback:function(e){t.showModifiedPluginDialog=e},expression:"showModifiedPluginDialog"}}):t._e(),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},o=[],l=i(5789),a=i(9502),s=i(8081),r=(i(2501),i(9529),i(1235),i(6728),i(8995),i(6710),i(4707),i(1497),i(5640),i(1871),i(8188),i(3675),i(4898),i(5825),i(7170),i(8857),i(8329),i(6279),i(427),i(171),i(7093),i(1159),i(2516),i(4349),i(5273),i(6729),i(1801),i(574),i(5787),i(9271),i(3160),i(5688),i(3157),i(3333),i(315),i(556),i(9224),i(2649),i(14),i(1996),i(8673),i(6886),i(4121),i(523),i(9949),i(7388)),u=i(6700),c=i(6129),d=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{persistent:"",width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-card-text",[e("v-row",{staticClass:"mt-3"},[e("v-col",{attrs:{cols:"12"}},[e("h3",[t._v(t._s(t.pluginName))])])],1),null!==t.existingPluginTxt?e("v-row",[e("v-col",[t._v("The plugin.txt of the current plugin was found to be modified. By default the plugin will be installed using the existing plugin.txt to preserve your changes. Select new plugin.txt to install using the new unmodified plugin.txt.")])],1):t._e(),null!==t.existingPluginTxt?e("v-row",[e("v-col",{staticClass:"pt-0"},[e("v-radio-group",{attrs:{mandatory:"",row:""},on:{change:t.changePluginTxt},model:{value:t.radioGroup,callback:function(e){t.radioGroup=e},expression:"radioGroup"}},[e("v-radio",{attrs:{label:"Use new plugin.txt",value:0}}),e("v-radio",{attrs:{label:"Use existing plugin.txt",value:1}})],1)],1)],1):t._e(),e("v-tabs",{attrs:{"background-color":"primary",dark:""},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab",{key:0},[t._v(" Variables ")]),e("v-tab",{key:1},[0===t.radioGroup?e("span",[t._v("*")]):t._e(),t._v(" plugin.txt ")]),null!==t.existingPluginTxt?e("v-tab",{key:2},[1===t.radioGroup?e("span",[t._v("*")]):t._e(),t._v("Existing plugin.txt ")]):t._e()],1),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("v-tabs-items",{model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab-item",{key:0},[e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"mt-3"},t._l(t.localVariables,(function(i,n){return e("div",{key:n},[e("v-col",[e("v-text-field",{attrs:{clearable:"",type:"text",label:n},model:{value:t.localVariables[n],callback:function(e){t.$set(t.localVariables,n,e)},expression:"localVariables[name]"}})],1)],1)})),0)],1)])],1),e("v-tab-item",{key:1},[e("v-textarea",{attrs:{rows:"15","data-test":"edit-plugin-txt"},model:{value:t.localPluginTxt,callback:function(e){t.localPluginTxt=e},expression:"localPluginTxt"}})],1),null!==t.existingPluginTxt?e("v-tab-item",{key:2},[e("v-textarea",{attrs:{rows:"15","data-test":"edit-existing-plugin-txt"},model:{value:t.localExistingPluginTxt,callback:function(e){t.localExistingPluginTxt=e},expression:"localExistingPluginTxt"}})],1):t._e()],1),e("v-row",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"edit-cancel"},on:{click:function(e){return e.preventDefault(),t.close.apply(null,arguments)}}},[t._v(" Cancel ")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"edit-submit"}},[t._v(" Install ")])],1)],1)],1)],1)],1)},p=[],g={props:{pluginName:{type:String,required:!0},variables:{type:Object,required:!0},pluginTxt:{type:String,required:!0},existingPluginTxt:{type:String,required:!1},value:Boolean},data:function(){return{tab:0,localVariables:[],localPluginTxt:"",localExistingPluginTxt:null,radioGroup:1}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},watch:{value:{immediate:!0,handler:function(){this.localVariables=JSON.parse(JSON.stringify(this.variables)),this.localPluginTxt=this.pluginTxt.slice(),null!==this.existingPluginTxt&&(this.localExistingPluginTxt=this.existingPluginTxt.slice(),this.radioGroup=1)}}},methods:{changePluginTxt:function(t){this.tab=this.radioGroup+1},submit:function(){var t="";t=null!==this.existingPluginTxt&&1===this.radioGroup?this.localExistingPluginTxt.split("\n"):this.localPluginTxt.split("\n");var e={name:this.pluginName,variables:this.localVariables,plugin_txt_lines:t};this.$emit("submit",e)},close:function(){this.show=!this.show}}},f=g,v=i(3287),h=(0,v.Z)(f,d,p,!1,null,null,null),m=h.exports,x=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Modified Plugin ")]),e("v-spacer")],1),e("v-card-text",{staticClass:"pa-3"},[e("div",[t._v(" Plugin "+t._s(t.plugin)+" was modified. Would you like to delete the existing modified files? ")]),t._l(t.modifiedTargets,(function(i,n){return e("v-list-item",{key:n,attrs:{"two-line":""}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))]),t._l(i.files,(function(i,n){return e("v-list-item-subtitle",{key:n},[t._v(t._s(i))])}))],2)],1)})),e("v-checkbox",{attrs:{label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},model:{value:t.deleteModified,callback:function(e){t.deleteModified=e},expression:"deleteModified"}})],2),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"modified-plugin-cancel"},on:{click:function(e){t.show=!1,t.$emit("cancel")}}},[t._v("Cancel")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"modified-plugin-submit"},on:{click:function(e){t.show=!1,t.$emit("submit",t.deleteModified)}}},[t._v(t._s(t.submitButton))])],1)],1)],1)},b=[],w={props:{value:Boolean,plugin:String,targets:Array,pluginDelete:Boolean},data:function(){return{modifiedTargets:[],deleteModified:!1}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},submitButton:function(){return this.pluginDelete?"Delete":"Install"}},created:function(){var t,e=this,i=(0,s.Z)(this.targets);try{var n=function(){var i=t.value;c.Z.get("/openc3-api/targets/".concat(i.name,"/modified_files")).then((function(t){0!==t.data.length&&e.modifiedTargets.push({name:i.name,files:t.data})}))};for(i.s();!(t=i.n()).done;)n()}catch(o){i.e(o)}finally{i.f()}}},_=w,P=(0,v.Z)(_,x,b,!1,null,"6ca30064",null),k=P.exports,y=i(3340),T={components:{PluginDialog:m,ModifiedPluginDialog:k,SimpleTextDialog:y.Z},data:function(){return{file:null,currentPlugin:null,plugins:[],targets:[],processes:{},alert:"",alertType:"success",showAlert:!1,pluginName:null,variables:{},pluginTxt:"",pluginHashTmp:null,existingPluginTxt:null,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,pluginDelete:!1,defaultPlugins:["openc3-cosmos-tool-admin","openc3-cosmos-tool-autonomic","openc3-cosmos-tool-bucketexplorer","openc3-cosmos-tool-calendar","openc3-cosmos-tool-cmdsender","openc3-cosmos-tool-cmdtlmserver","openc3-cosmos-tool-dataextractor","openc3-cosmos-tool-dataviewer","openc3-cosmos-tool-handbooks","openc3-cosmos-tool-limitsmonitor","openc3-cosmos-tool-packetviewer","openc3-cosmos-tool-scriptrunner","openc3-cosmos-tool-tablemanager","openc3-cosmos-tool-tlmgrapher","openc3-cosmos-tool-tlmviewer","openc3-cosmos-enterprise-tool-admin","openc3-enterprise-tool-base","openc3-tool-base"]}},computed:{shownPlugins:function(){var t,e=[],i=(0,s.Z)(this.plugins);try{for(i.s();!(t=i.n()).done;){var n=t.value,o=n.split("__")[0],l=o.split("-");l=l.slice(0,-1);var a=l.join("-");this.defaultPlugins.includes(a)&&!this.showDefaultTools||e.push(n)}}catch(r){i.e(r)}finally{i.f()}return e},pluginTargets:function(){var t=this;return function(e){var i=[];for(var n in t.targets)t.targets[n]["plugin"]===e&&i.push(t.targets[n]);return i}},isModified:function(){var t=this;return function(e){var i=!1;for(var n in t.targets)if(t.targets[n]["plugin"]===e&&!0===t.targets[n]["modified"]){i=!0;break}return i}}},mounted:function(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){var t=this;c.Z.get("/openc3-api/plugins").then((function(e){t.plugins=e.data})),c.Z.get("/openc3-api/targets_modified").then((function(e){t.targets=e.data}))},updateProcesses:function(){var t=this;c.Z.get("openc3-api/process_status/plugin_?substr=true").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),5e3)}))},formatDate:function(t){return(0,r.Z)((0,u.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=e?"put":"post",n=e?"/openc3-api/plugins/".concat(e):"/openc3-api/plugins",o=new FormData;o.append("plugin",this.file,this.file.name);var l=c.Z[i](n,{data:o});l.then((function(e){t.alert="Uploaded file",t.alertType="success",t.showAlert=!0,setTimeout((function(){t.showAlert=!1}),5e3),t.update();var i=null;void 0!==e.data.existing_plugin_txt_lines&&(i=e.data.existing_plugin_txt_lines.join("\n"));var n=e.data.plugin_txt_lines.join("\n");t.pluginName=e.data.name,t.variables=e.data.variables,t.pluginTxt=n,t.existingPluginTxt=i,t.showPluginDialog=!0,t.file=void 0})).catch((function(e){t.currentPlugin=null,t.file=void 0}))},pluginCallback:function(t){this.showPluginDialog=!1,null!==this.currentPlugin&&(t["name"]=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:function(){var t=(0,a.Z)((0,l.Z)().mark((function t(e){var i,n,o;return(0,l.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!0!==e){t.next=19;break}i=(0,s.Z)(this.pluginTargets(this.currentPlugin)),t.prev=2,i.s();case 4:if((n=i.n()).done){t.next=11;break}if(o=n.value,1!=o.modified){t.next=9;break}return t.next=9,c.Z.post("/openc3-api/targets/".concat(o.name,"/delete_modified"));case 9:t.next=4;break;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](2),i.e(t.t0);case 16:return t.prev=16,i.f(),t.finish(16);case 19:this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall();case 20:case"end":return t.stop()}}),t,this,[[2,13,16,19]])})));function e(e){return t.apply(this,arguments)}return e}(),pluginInstall:function(){var t=this;c.Z.post("/openc3-api/plugins/install/".concat(this.pluginName),{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then((function(e){t.alert="Started installing plugin ".concat(t.pluginName," ..."),t.alertType="success",t.showAlert=!0,t.currentPlugin=null,t.file=void 0,t.variables={},t.pluginTxt="",t.existingPluginTxt=null,setTimeout((function(){t.showAlert=!1,t.updateProcesses()}),5e3),t.update()}))},downloadTarget:function(t){c.Z.post("/openc3-api/targets/".concat(t,"/download")).then((function(t){for(var e=window.atob(t.data.contents),i=new Uint8Array(e.length),n=0;n<e.length;++n)i[n]=e.charCodeAt(n);var o=new Blob([i],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(o),l.setAttribute("download",t.data.filename),l.click()}))},downloadPlugin:function(t){c.Z.post("/openc3-api/gems/".concat(t,"/download")).then((function(t){for(var e=window.atob(t.data.contents),i=new Uint8Array(e.length),n=0;n<e.length;++n)i[n]=e.charCodeAt(n);var o=new Blob([i],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(o),l.setAttribute("download",t.data.filename),l.click()}))},editPlugin:function(t){var e=this;c.Z.get("/openc3-api/plugins/".concat(t)).then((function(t){var i=null;void 0!==t.data.existing_plugin_txt_lines&&(i=t.data.existing_plugin_txt_lines.join("\n"));var n=t.data.plugin_txt_lines.join("\n");e.pluginName=t.data.name,e.variables=t.data.variables,e.pluginTxt=n,e.existingPluginTxt=i,e.showPluginDialog=!0}))},deletePrompt:function(t){var e=this;this.$dialog.confirm("Are you sure you want to remove: ".concat(t),{okText:"Delete",cancelText:"Cancel"}).then((function(i){e.isModified(t)?(e.currentPlugin=t,e.pluginDelete=!0,e.showModifiedPluginDialog=!0):e.deletePlugin(t)}))},deletePlugin:function(t){var e=this;this.alert="Removing plugin ".concat(t," ..."),this.alertType="success",this.showAlert=!0,c.Z["delete"]("/openc3-api/plugins/".concat(t)).then((function(t){setTimeout((function(){e.showAlert=!1,e.updateProcesses()}),5e3)})),this.update()},upgradePlugin:function(t){this.file=void 0,this.currentPlugin=t,this.$refs.fileInput.$refs.input.click()},fileMousedown:function(){this.currentPlugin=null},fileChange:function(){var t=this;if(void 0!==this.file)if(null!==this.currentPlugin)if(this.file.name.split(".gem")[0]==this.currentPlugin.split(".gem")[0])this.$dialog.confirm("The new gem ".concat(this.file.name," appears to be identical to the existing ").concat(this.currentPlugin,". Install?"),{okText:"Ok",cancelText:"Cancel"}).then((function(){t.upload(t.currentPlugin)}));else{var e=this.file.name.split("-"),i=e.findIndex((function(t){return t.includes(".")})),n=e.slice(0,i).join("-");e=this.currentPlugin.split("-"),i=e.findIndex((function(t){return t.includes(".")}));var o=e.slice(0,i).join("-");n!==o?this.$dialog.confirm("The new gem base name ".concat(n," doesn't match the existing ").concat(o,". Install?"),{okText:"Ok",cancelText:"Cancel"}).then((function(){t.upload(t.currentPlugin)})):this.upload(this.currentPlugin)}else this.upload()}}},D=T,C=(i(5131),(0,v.Z)(D,n,o,!1,null,"fbbf548e",null)),S=C.exports},5476:function(t,e,i){"use strict";i.r(e);var n=i(3467),o=i.n(n),l=i(8715),a=i.n(l),s=a()(o());s.push([t.id,".crashed[data-v-fbbf548e]{color:red}",""]),e["default"]=s},9949:function(t,e,i){"use strict";var n=i(3103),o=i(9996).findIndex,l=i(9736),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),l(a)},5131:function(t,e,i){var n=i(5476);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var o=i(3514).Z;o("8edf1b9c",n,!0,{sourceMap:!1,shadowMode:!1})},8081:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});i(4115),i(634),i(8188),i(796),i(8673),i(6886),i(1372);var n=i(3511);function o(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=(0,n.Z)(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var o=0,l=function(){};return{s:l,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,r=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){r=!0,a=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(r)throw a}}}}}}]);
2
- //# sourceMappingURL=664.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/664.js","mappings":"iLAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,WAAW,CAACE,MAAM,CAAC,MAAQJ,EAAIK,OAAOC,MAAM,CAACC,MAAOP,EAAIQ,KAAMC,SAAS,SAAUC,GAAMV,EAAIQ,KAAKE,CAAG,EAAEC,WAAW,SAAS,CAACT,EAAG,SAAS,CAACA,EAAG,eAAe,CAACA,EAAG,YAAYA,EAAG,OAAO,CAACF,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIc,OAAO,OAAOZ,EAAG,YAAYA,EAAG,MAAM,CAACa,YAAY,QAAQ,CAACb,EAAG,YAAY,CAACE,MAAM,CAAC,IAAM,IAAIY,YAAYhB,EAAIiB,GAAG,CAAC,CAACC,IAAI,YAAYC,GAAG,SAAAC,GAAuB,IAAZC,EAAED,EAAFC,GAAIjB,EAAKgB,EAALhB,MAAS,MAAO,CAACF,EAAG,MAAMF,EAAIsB,GAAGtB,EAAIuB,GAAG,CAAC,EAAE,MAAMnB,GAAM,GAAOiB,GAAI,CAACnB,EAAG,SAAS,CAACE,MAAM,CAAC,YAAY,gBAAgBiB,GAAG,CAAC,MAAQrB,EAAIwB,WAAW,CAACxB,EAAIY,GAAG,qBAAqB,GAAG,MAAM,CAACV,EAAG,OAAO,CAACF,EAAIY,GAAG,mBAAmB,IAAI,GAAGV,E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WACD,IAAIoH,EAAOV,EAAGrD,OAEd,OADA4D,EAAmBG,EAAKnH,KACjBmH,CACT,EACAjH,EAAG,SAAWkH,GACZH,GAAS,EACThH,EAAMmH,CACR,EACAjH,EAAG,WACD,IACO6G,GAAoC,MAAhBP,EAAG,WAAmBA,EAAG,WACpD,CAAE,QACA,GAAIQ,EAAQ,MAAMhH,CACpB,CACF,EAEJ,C","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?7e9d","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?d470","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?3218","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?c4a8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?c6c7","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?3f90","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?dde4","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?6f23","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?4e7a","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/es.array.find-index.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?95ec","webpack://@openc3/cosmos-tool-admin/../../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":_vm.width},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=4cd697cc&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{staticClass:\"px-2\",attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"show-size\":\"\",\"accept\":\".gem\",\"label\":\"Click to select plugin .gem file to install\"},on:{\"change\":function($event){return _vm.fileChange()},\"mousedown\":function($event){return _vm.fileMousedown()}},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1),_c('v-row',{staticClass:\"px-2 pb-2\",staticStyle:{\"margin-top\":\"10px\"},attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Show Default Tools\",\"data-test\":\"show-default-tools\"},model:{value:(_vm.showDefaultTools),callback:function ($$v) {_vm.showDefaultTools=$$v},expression:\"showDefaultTools\"}})],1),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('div',[_vm._v(\"* indicates a modified plugin\")]),_c('div',[_vm._v(\"Click target link to download modifications\")])])],1),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType,\"data-test\":\"plugin-alert\"},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),(Object.keys(_vm.processes).length > 0)?_c('v-list',{attrs:{\"data-test\":\"process-list\"}},_vm._l((_vm.processes),function(process){return _c('div',{key:process.name},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('span',{class:process.state.toLowerCase(),domProps:{\"textContent\":_vm._s(\n `Processing ${process.process_type}: ${process.detail} - ${process.state}`\n )}})]),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),_c('v-list-item-icon',[(process.state === 'Running')?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"show-output\"},on:{\"click\":function($event){return _vm.showOutput(process)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Output\")])])],1)],1),_c('v-divider')],1)}),0):_vm._e(),_c('v-list',{attrs:{\"data-test\":\"plugin-list\"}},_vm._l((_vm.shownPlugins),function(plugin,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[(_vm.isModified(plugin))?_c('span',[_vm._v(\"* \")]):_vm._e(),_vm._v(_vm._s(plugin))]),(_vm.pluginTargets(plugin).length !== 0)?_c('v-list-item-subtitle',_vm._l((_vm.pluginTargets(plugin)),function(target,index){return _c('span',{key:index},[(target.modified)?_c('a',{on:{\"click\":function($event){$event.preventDefault();return _vm.downloadTarget(target.name)}}},[_vm._v(_vm._s(target.name)+\" \")]):_c('span',[_vm._v(_vm._s(target.name)+\" \")])])}),0):_vm._e()],1),_c('v-list-item-icon',[_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"download-plugin\"},on:{\"click\":function($event){return _vm.downloadPlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Plugin\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"edit-plugin\"},on:{\"click\":function($event){return _vm.editPlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-pencil \")])]}}],null,true)},[_c('span',[_vm._v(\"Edit Plugin Details\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"upgrade-plugin\"},on:{\"click\":function($event){return _vm.upgradePlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-update \")])]}}],null,true)},[_c('span',[_vm._v(\"Upgrade Plugin\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"delete-plugin\"},on:{\"click\":function($event){return _vm.deletePrompt(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Plugin\")])])],1)])],1),(index < _vm.plugins.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_c('plugin-dialog',{attrs:{\"pluginName\":_vm.pluginName,\"variables\":_vm.variables,\"pluginTxt\":_vm.pluginTxt,\"existingPluginTxt\":_vm.existingPluginTxt},on:{\"submit\":_vm.pluginCallback},model:{value:(_vm.showPluginDialog),callback:function ($$v) {_vm.showPluginDialog=$$v},expression:\"showPluginDialog\"}}),(_vm.showModifiedPluginDialog)?_c('modified-plugin-dialog',{attrs:{\"pluginName\":_vm.currentPlugin,\"targets\":_vm.pluginTargets(_vm.currentPlugin),\"pluginDelete\":_vm.pluginDelete},on:{\"submit\":_vm.modifiedSubmit},model:{value:(_vm.showModifiedPluginDialog),callback:function ($$v) {_vm.showModifiedPluginDialog=$$v},expression:\"showModifiedPluginDialog\"}}):_vm._e(),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-card-text',[_c('v-row',{staticClass:\"mt-3\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h3',[_vm._v(_vm._s(_vm.pluginName))])])],1),(_vm.existingPluginTxt !== null)?_c('v-row',[_c('v-col',[_vm._v(\"The plugin.txt of the current plugin was found to be modified. By default the plugin will be installed using the existing plugin.txt to preserve your changes. Select new plugin.txt to install using the new unmodified plugin.txt.\")])],1):_vm._e(),(_vm.existingPluginTxt !== null)?_c('v-row',[_c('v-col',{staticClass:\"pt-0\"},[_c('v-radio-group',{attrs:{\"mandatory\":\"\",\"row\":\"\"},on:{\"change\":_vm.changePluginTxt},model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},[_c('v-radio',{attrs:{\"label\":\"Use new plugin.txt\",\"value\":0}}),_c('v-radio',{attrs:{\"label\":\"Use existing plugin.txt\",\"value\":1}})],1)],1)],1):_vm._e(),_c('v-tabs',{attrs:{\"background-color\":\"primary\",\"dark\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab',{key:0},[_vm._v(\" Variables \")]),_c('v-tab',{key:1},[(_vm.radioGroup === 0)?_c('span',[_vm._v(\"*\")]):_vm._e(),_vm._v(\" plugin.txt \")]),(_vm.existingPluginTxt !== null)?_c('v-tab',{key:2},[(_vm.radioGroup === 1)?_c('span',[_vm._v(\"*\")]):_vm._e(),_vm._v(\"Existing plugin.txt \")]):_vm._e()],1),_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',{key:0},[_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"mt-3\"},_vm._l((_vm.localVariables),function(value,name){return _c('div',{key:name},[_c('v-col',[_c('v-text-field',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"label\":name},model:{value:(_vm.localVariables[name]),callback:function ($$v) {_vm.$set(_vm.localVariables, name, $$v)},expression:\"localVariables[name]\"}})],1)],1)}),0)],1)])],1),_c('v-tab-item',{key:1},[_c('v-textarea',{attrs:{\"rows\":\"15\",\"data-test\":\"edit-plugin-txt\"},model:{value:(_vm.localPluginTxt),callback:function ($$v) {_vm.localPluginTxt=$$v},expression:\"localPluginTxt\"}})],1),(_vm.existingPluginTxt !== null)?_c('v-tab-item',{key:2},[_c('v-textarea',{attrs:{\"rows\":\"15\",\"data-test\":\"edit-existing-plugin-txt\"},model:{value:(_vm.localExistingPluginTxt),callback:function ($$v) {_vm.localExistingPluginTxt=$$v},expression:\"localExistingPluginTxt\"}})],1):_vm._e()],1),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"edit-cancel\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"edit-submit\"}},[_vm._v(\" Install \")])],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginDialog.vue?vue&type=template&id=55d4a398&\"\nimport script from \"./PluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Modified Plugin \")]),_c('v-spacer')],1),_c('v-card-text',{staticClass:\"pa-3\"},[_c('div',[_vm._v(\" Plugin \"+_vm._s(_vm.plugin)+\" was modified. Would you like to delete the existing modified files? \")]),_vm._l((_vm.modifiedTargets),function(target,index){return _c('v-list-item',{key:index,attrs:{\"two-line\":\"\"}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(target.name))]),_vm._l((target.files),function(file,itemIndex){return _c('v-list-item-subtitle',{key:itemIndex},[_vm._v(_vm._s(file))])})],2)],1)}),_c('v-checkbox',{attrs:{\"label\":\"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!\",\"color\":\"error\",\"data-test\":\"modified-plugin-delete-checkbox\"},model:{value:(_vm.deleteModified),callback:function ($$v) {_vm.deleteModified=$$v},expression:\"deleteModified\"}})],2),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"modified-plugin-cancel\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"modified-plugin-submit\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('submit', _vm.deleteModified)}}},[_vm._v(_vm._s(_vm.submitButton))])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModifiedPluginDialog.vue?vue&type=template&id=6ca30064&scoped=true&\"\nimport script from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ca30064\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginsTab.vue?vue&type=template&id=fbbf548e&scoped=true&\"\nimport script from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PluginsTab.vue?vue&type=style&index=0&id=fbbf548e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fbbf548e\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".crashed[data-v-fbbf548e]{color:red}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=style&index=0&id=fbbf548e&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(\"8edf1b9c\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}"],"names":["render","_vm","this","_c","_self","attrs","width","model","value","show","callback","$$v","expression","_v","_s","title","staticClass","scopedSlots","_u","key","fn","_ref","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","Boolean","String","computed","get","set","$emit","methods","blob","Blob","type","link","document","createElement","href","URL","createObjectURL","setAttribute","concat","click","component","ref","fileChange","fileMousedown","file","showDefaultTools","alertType","showAlert","alert","Object","keys","processes","length","_l","process","name","class","state","toLowerCase","domProps","process_type","detail","formatDate","updated_at","showOutput","_e","shownPlugins","plugin","index","isModified","pluginTargets","target","modified","preventDefault","downloadTarget","_ref2","downloadPlugin","_ref3","editPlugin","_ref4","upgradePlugin","_ref5","deletePrompt","plugins","pluginName","variables","pluginTxt","existingPluginTxt","pluginCallback","showPluginDialog","showModifiedPluginDialog","currentPlugin","pluginDelete","modifiedSubmit","processOutput","showProcessOutput","changePluginTxt","radioGroup","tab","submit","apply","arguments","localVariables","$set","localPluginTxt","localExistingPluginTxt","close","required","data","watch","immediate","handler","JSON","parse","stringify","slice","event","lines","split","pluginHash","plugin_txt_lines","modifiedTargets","files","itemIndex","deleteModified","submitButton","targets","Array","created","_step","_this","_iterator","_createForOfIteratorHelper","_loop","Api","then","response","push","s","n","done","err","e","f","components","PluginDialog","ModifiedPluginDialog","SimpleTextDialog","pluginHashTmp","showDownloadDialog","defaultPlugins","result","pluginNameFirst","pluginNameSplit","join","includes","_this2","mounted","update","updateProcesses","output","_this3","_this4","setTimeout","nanoSecs","format","toDate","parseInt","upload","_this5","existing","undefined","method","path","formData","FormData","append","promise","existing_plugin_txt_lines","catch","error","pluginInstall","_modifiedSubmit","_asyncToGenerator","_regeneratorRuntime","mark","_callee","_iterator2","_step2","wrap","_context","prev","next","t0","finish","deletePlugin","stop","_x","_this6","plugin_hash","decodedData","window","atob","contents","uInt8Array","Uint8Array","i","charCodeAt","filename","_this7","_this8","$dialog","confirm","okText","cancelText","dialog","_this9","$refs","fileInput","input","_this10","parts","findIndex","x","newName","existingName","___CSS_LOADER_EXPORT___","module","id","$","$findIndex","addToUnscopables","FIND_INDEX","SKIPS_HOLES","proto","forced","callbackfn","content","__esModule","default","locals","exports","add","o","allowArrayLike","it","Symbol","iterator","isArray","unsupportedIterableToArray","F","TypeError","normalCompletion","didErr","call","step","_e2"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[731],{9373:function(e,t,n){"use strict";n(9529),n(1235),n(8188),n(8233);var r=n(9644),s=n.n(r),o=n(4091),a=new o["default"],i=s().create({baseURL:location.origin,timeout:6e4,params:{}});i.interceptors.response.use((function(e){return e}),(function(e){if(e.response){var t,n,r,s,o,i,c,l,u,d;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 v="HTTP ".concat(e.response.status," - ");if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(v+="".concat(e.response.statusText," ")),null!==(n=e.response)&&void 0!==n&&null!==(r=n.config)&&void 0!==r&&r.data&&(v+="".concat(e.response.config.data," ")),null!==(s=e.response)&&void 0!==s&&null!==(o=s.data)&&void 0!==o&&o.message)v+="".concat(e.response.data.message);else if(null!==(i=e.response)&&void 0!==i&&null!==(c=i.data)&&void 0!==c&&c.exception)v+="".concat(e.response.data.exception);else if(null!==(l=e.response)&&void 0!==l&&null!==(u=l.data)&&void 0!==u&&null!==(d=u.error)&&void 0!==d&&d.message)e.response.data.error.class&&(v+="".concat(e.response.data.error.class," ")),v+="".concat(e.response.data.error.message);else{var g;v+="".concat(null===(g=e.response)||void 0===g?void 0:g.data)}throw a.$notify&&a.$notify.serious({title:"Network error",body:v}),e}throw e})),t["Z"]=i},7384:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});n(8178);var r=function(){var e=this,t=e._self._c;return t("div",[t("v-card",[t("v-card-title",[e._v(" Reset suppressed warnings ")]),t("v-card-subtitle",[e._v(' This resets "don\'t show this again" dialogs on this browser ')]),t("v-card-text",{staticClass:"pb-0 ml-2"},[e.suppressedWarnings.length?[t("v-checkbox",{staticClass:"mt-0",attrs:{label:"Select all","data-test":"select-all-suppressed-warnings"},model:{value:e.selectAllSuppressedWarnings,callback:function(t){e.selectAllSuppressedWarnings=t},expression:"selectAllSuppressedWarnings"}}),e._l(e.suppressedWarnings,(function(n){return t("v-checkbox",{key:n.key,staticClass:"mt-0",attrs:{label:n.text,value:n.key,dense:""},model:{value:e.selectedSuppressedWarnings,callback:function(t){e.selectedSuppressedWarnings=t},expression:"selectedSuppressedWarnings"}})}))]:[e._v(" No warnings to reset ")]],2),t("v-card-actions",[t("v-btn",{staticClass:"ml-2",attrs:{disabled:!e.selectedSuppressedWarnings.length,color:"warning",text:"","data-test":"reset-suppressed-warnings"},on:{click:e.resetSuppressedWarnings}},[e._v(" Reset ")])],1)],1),t("v-divider"),t("v-card",[t("v-card-title",[e._v(" Clear recent configs ")]),t("v-card-subtitle",[e._v(" This clears the most recently saved/loaded tool configs on this browser ")]),t("v-card-text",{staticClass:"pb-0 ml-2"},[e.lastConfigs.length?[t("v-checkbox",{staticClass:"mt-0",attrs:{label:"Select all","data-test":"select-all-last-configs"},model:{value:e.selectAllLastConfigs,callback:function(t){e.selectAllLastConfigs=t},expression:"selectAllLastConfigs"}}),e._l(e.lastConfigs,(function(n){return t("v-checkbox",{key:n.key,staticClass:"mt-0",attrs:{label:"".concat(n.text," (").concat(n.value,")"),value:n.key,dense:""},model:{value:e.selectedLastConfigs,callback:function(t){e.selectedLastConfigs=t},expression:"selectedLastConfigs"}})}))]:[e._v(" No configs to clear ")]],2),t("v-card-actions",[t("v-btn",{staticClass:"ml-2",attrs:{disabled:!e.selectedLastConfigs.length,color:"warning",text:"","data-test":"clear-last-configs"},on:{click:e.clearLastConfigs}},[e._v(" Clear ")])],1)],1),t("v-divider"),t("classification-banner-settings"),t("v-divider"),t("v-card",[t("v-card-title",[e._v(" Source code URL ")]),t("v-card-subtitle",[e._v(' This sets the URL for the "Source" link in the footer. This is required under the AGPL license. ')]),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Source URL","data-test":"source-url"},model:{value:e.sourceUrl,callback:function(t){e.sourceUrl=t},expression:"sourceUrl"}})],1),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-source-url"},on:{click:e.saveSourceUrl}},[e._v(" Save ")])],1)],1),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorSaving,callback:function(t){e.errorSaving=t},expression:"errorSaving"}},[e._v(" Error saving ")]),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.successSaving,callback:function(t){e.successSaving=t},expression:"successSaving"}},[e._v(" Saved! (Refresh the page to see changes) ")])],1)],1)],1),t("v-divider"),t("v-card",[t("v-card-title",[e._v(" Rubygems URL ")]),t("v-card-subtitle",[e._v(" This sets the URL for installing dependency rubygems. Also used for rubygem discovery. ")]),t("v-card-text",{staticClass:"pb-0 ml-2"},[t("v-text-field",{attrs:{label:"Rubygems URL","data-test":"rubygems-url"},model:{value:e.rubygemsUrl,callback:function(t){e.rubygemsUrl=t},expression:"rubygemsUrl"}})],1),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{color:"success",text:"","data-test":"save-rubygems-url"},on:{click:e.saveRubygemsUrl}},[e._v(" Save ")])],1)],1),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorSaving,callback:function(t){e.errorSaving=t},expression:"errorSaving"}},[e._v(" Error saving ")]),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.successSaving,callback:function(t){e.successSaving=t},expression:"successSaving"}},[e._v(" Saved! (Refresh the page to see changes) ")])],1)],1)],1)],1)},s=[],o=n(8081),a=(n(3450),n(5342),n(8188),n(4769),n(4112),n(7950),n(5940),n(1639),n(2501),n(6259)),i=n(5789),c=n(6964),l=n(9502),u=n(426),d=n(7871),v=n(2261),g=(n(1372),n(1245),n(9529),n(3675),n(4898),n(5825),n(7170),n(8857),n(8329),n(6279),n(427),n(171),n(7093),n(1159),n(2516),n(4349),n(5273),n(6729),n(1801),n(574),n(5787),n(9271),n(3160),n(5688),n(3157),n(3333),n(315),n(556),n(9224),n(2649),n(14),n(1996),n(7233),n(8673),n(5734),n(8233),n(9373)),_=function(){function e(){(0,u.Z)(this,e),(0,v.Z)(this,"id",1)}return(0,d.Z)(e,[{key:"exec",value:function(){var e=(0,l.Z)((0,i.Z)().mark((function e(t,n){var r,s,o,a,l,u=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=u.length>2&&void 0!==u[2]?u[2]:{},s=u.length>3&&void 0!==u[3]?u[3]:{},e.prev=2,e.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:o=e.sent,o&&OpenC3Auth.setTokens(),e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](2),OpenC3Auth.login();case 12:return this.id=this.id+1,e.prev=13,r["scope"]=window.openc3Scope,e.next=17,g.Z.post("/openc3-api/api",{jsonrpc:"2.0",method:t,params:n,id:this.id,keyword_params:r},{headers:(0,c.Z)({Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc"},s)});case 17:return a=e.sent,e.abrupt("return",a.data.result);case 21:throw e.prev=21,e.t1=e["catch"](13),l=new Error,e.t1.response?(l.name=e.t1.response.data.error.data.class,l.message=e.t1.response.data.error.data.message):e.t1.request?(l.name="Request error",l.message="Request error, no response received"):l.name="Unknown error",l;case 26:case"end":return e.stop()}}),e,this,[[2,9],[13,21]])})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"decode_openc3_type",value:function(e){if(null!==e&&"object"===(0,a.Z)(e)&&"Float"==e.json_class&&e.raw){if("NaN"==e.raw)return NaN;if("Infinity"==e.raw)return 1/0;if("-Infinity"==e.raw)return-1/0}return null}},{key:"encode_openc3_type",value:function(e){return Number.isNaN(e)?{json_class:"Float",raw:"NaN"}:e==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:e==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}},{key:"ensure_offline_access",value:function(){var e=this;this.offline_access_needed().then((function(t){t&&(localStorage.openc3OfflineToken?e.set_offline_access(localStorage.openc3OfflineToken).then((function(){delete localStorage.openc3OfflineToken})):OpenC3Auth.getOfflineAccess())}))}},{key:"offline_access_needed",value:function(){return this.exec("offline_access_needed",[])}},{key:"set_offline_access",value:function(e){return this.exec("set_offline_access",[e])}},{key:"get_all_interface_info",value:function(){return this.exec("get_all_interface_info",[])}},{key:"map_target_to_interface",value:function(e,t){return this.exec("map_target_to_interface",[e,t])}},{key:"connect_interface",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.length>0?this.exec("connect_interface",[e,n]):this.exec("connect_interface",[e])}},{key:"disconnect_interface",value:function(e){return this.exec("disconnect_interface",[e])}},{key:"get_all_router_info",value:function(){return this.exec("get_all_router_info",[])}},{key:"connect_router",value:function(e){return this.exec("connect_router",[e])}},{key:"disconnect_router",value:function(e){return this.exec("disconnect_router",[e])}},{key:"get_target_interfaces",value:function(){return this.exec("get_target_interfaces",[])}},{key:"get_all_target_info",value:function(){return this.exec("get_all_target_info",[])}},{key:"get_tlm_cnts",value:function(e){return this.exec("get_tlm_cnts",[e])}},{key:"get_item",value:function(e,t,n){return this.exec("get_item",[e,t,n])}},{key:"get_parameter",value:function(e,t,n){return this.exec("get_parameter",[e,t,n])}},{key:"get_all_packet_logger_info",value:function(){return this.exec("get_all_packet_logger_info",[])}},{key:"start_logging",value:function(){return this.exec("start_logging",[])}},{key:"stop_logging",value:function(){return this.exec("stop_logging",[])}},{key:"start_cmd_log",value:function(e){return this.exec("start_cmd_log",[e])}},{key:"start_tlm_log",value:function(e){return this.exec("start_tlm_log",[e])}},{key:"stop_cmd_log",value:function(e){return this.exec("stop_cmd_log",[e])}},{key:"stop_tlm_log",value:function(e){return this.exec("stop_tlm_log",[e])}},{key:"get_server_status",value:function(){return this.exec("get_server_status",[])}},{key:"get_limits_sets",value:function(){return this.exec("get_limits_sets",[])}},{key:"get_limits_set",value:function(){return this.exec("get_limits_set",[])}},{key:"set_limits_set",value:function(e){return this.exec("set_limits_set",[e])}},{key:"get_background_tasks",value:function(){return this.exec("get_background_tasks",[])}},{key:"start_background_task",value:function(e){return this.exec("start_background_task",[e])}},{key:"stop_background_task",value:function(e){return this.exec("stop_background_task",[e])}},{key:"get_target",value:function(e){return this.exec("get_target",[e])}},{key:"get_target_list",value:function(){return this.exec("get_target_list",[])}},{key:"get_telemetry",value:function(e,t){return this.exec("get_telemetry",[e,t])}},{key:"get_all_telemetry",value:function(e){return this.exec("get_all_telemetry",[e])}},{key:"get_all_telemetry_names",value:function(e){return this.exec("get_all_telemetry_names",[e])}},{key:"get_tlm_packet",value:function(){var e=(0,l.Z)((0,i.Z)().mark((function e(t,n,r){var s,o,a,c,l,u=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return s=u.length>3&&void 0!==u[3]?u[3]:30,e.next=3,this.exec("get_tlm_packet",[t,n],{type:r,stale_time:s});case 3:if(o=e.sent,null!=o)for(a=o.length,c=null,l=0;l<a;l++)c=this.decode_openc3_type(o[l][1]),null!==c&&(o[l][1]=c);return e.abrupt("return",o);case 6:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"get_packet_derived_items",value:function(e,t){return this.exec("get_packet_derived_items",[e,t])}},{key:"get_tlm_buffer",value:function(e,t){return this.exec("get_tlm_buffer",[e,t])}},{key:"get_tlm_values",value:function(){var e=(0,l.Z)((0,i.Z)().mark((function e(t){var n,r,s,o,a,c=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=c.length>1&&void 0!==c[1]?c[1]:30,e.next=3,this.exec("get_tlm_values",[t],{stale_time:n});case 3:for(r=e.sent,s=r[0].length,o=null,a=0;a<s;a++)o=this.decode_openc3_type(r[0][a]),null!==o&&(r[0][a]=o);return e.abrupt("return",r);case 8:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"get_limits",value:function(e,t,n){return this.exec("get_limits",[e,t,n])}},{key:"tlm",value:function(){var e=(0,l.Z)((0,i.Z)().mark((function e(t,n,r){var s,o,a,c,l=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s=l.length>3&&void 0!==l[3]?l[3]:"CONVERTED",o=null,void 0!==n){e.next=8;break}return e.next=5,this.exec("tlm",[t]);case 5:o=e.sent,e.next=24;break;case 8:if(void 0!==r){e.next=21;break}if(!["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(n)){e.next=15;break}return e.next=12,this.exec("tlm",[t],{type:n});case 12:o=e.sent,e.next=19;break;case 15:throw a=new Error,a.name="TypeError",a.message="Invalid data type ".concat(n,". Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS."),a;case 19:e.next=24;break;case 21:return e.next=23,this.exec("tlm",[t,n,r],{type:s});case 23:o=e.sent;case 24:return c=this.decode_openc3_type(o),null!==c&&(o=c),e.abrupt("return",o);case 27:case"end":return e.stop()}}),e,this)})));function t(t,n,r){return e.apply(this,arguments)}return t}()},{key:"inject_tlm",value:function(){var e=(0,l.Z)((0,i.Z)().mark((function e(t,n){var r,s,o=arguments;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=o.length>2&&void 0!==o[2]?o[2]:null,s=o.length>3&&void 0!==o[3]?o[3]:"CONVERTED",e.next=4,this.exec("inject_tlm",[t,n,r],{type:s});case 4:data=e.sent;case 5:case"end":return e.stop()}}),e,this)})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"set_tlm",value:function(e,t,n,r){return this.exec("set_tlm",[e,t,n],{type:r})}},{key:"override_tlm",value:function(e,t,n,r){return this.exec("override_tlm",[e,t,n],{type:r})}},{key:"get_overrides",value:function(){return this.exec("get_overrides")}},{key:"normalize_tlm",value:function(e,t,n,r){return this.exec("normalize_tlm",[e,t,n],{type:r})}},{key:"get_all_commands",value:function(e){return this.exec("get_all_commands",[e])}},{key:"get_all_command_names",value:function(e){return this.exec("get_all_command_names",[e])}},{key:"get_command",value:function(e,t){return this.exec("get_command",[e,t])}},{key:"get_cmd_cnts",value:function(e){return this.exec("get_cmd_cnts",[e])}},{key:"get_cmd_value",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"CONVERTED";return this.exec("get_cmd_value",[e,t,n,r])}},{key:"get_cmd_buffer",value:function(e,t){return this.exec("get_cmd_buffer",[e,t])}},{key:"_cmd",value:function(e,t,n,r,s){var o=null;for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(o=this.encode_openc3_type(r[a]),null!==o&&(r[a]=o));return this.exec(e,[t,n,r],{},s)}},{key:"get_cmd_hazardous",value:function(e,t,n){return void 0===t?this.exec("get_cmd_hazardous",e):this._cmd("get_cmd_hazardous",e,t,n)}},{key:"cmd",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return void 0===t?this.exec("cmd",e,{},r):this._cmd("cmd",e,t,n,r)}},{key:"cmd_no_range_check",value:function(e,t,n){return void 0===t?this.exec("cmd_no_range_check",e):this._cmd("cmd_no_range_check",e,t,n)}},{key:"cmd_raw",value:function(e,t,n){return void 0===t?this.exec("cmd_raw",e):this._cmd("cmd_raw",e,t,n)}},{key:"cmd_raw_no_range_check",value:function(e,t,n){return void 0===t?this.exec("cmd_raw_no_range_check",e):this._cmd("cmd_raw_no_range_check",e,t,n)}},{key:"cmd_no_hazardous_check",value:function(e,t,n){return void 0===t?this.exec("cmd_no_hazardous_check",e):this._cmd("cmd_no_hazardous_check",e,t,n)}},{key:"cmd_no_checks",value:function(e,t,n){return void 0===t?this.exec("cmd_no_checks",e):this._cmd("cmd_no_checks",e,t,n)}},{key:"cmd_raw_no_hazardous_check",value:function(e,t,n){return void 0===t?this.exec("cmd_raw_no_hazardous_check",e):this._cmd("cmd_raw_no_hazardous_check",e,t,n)}},{key:"cmd_raw_no_checks",value:function(e,t,n){return void 0===t?this.exec("cmd_raw_no_checks",e):this._cmd("cmd_raw_no_checks",e,t,n)}},{key:"get_interface_names",value:function(){return this.exec("get_interface_names",[])}},{key:"send_raw",value:function(e,t){return this.exec("send_raw",[e,t])}},{key:"list_configs",value:function(e){return this.exec("list_configs",[e])}},{key:"load_config",value:function(e,t){return this.exec("load_config",[e,t])}},{key:"save_config",value:function(e,t,n){return this.exec("save_config",[e,t,n])}},{key:"delete_config",value:function(e,t){return this.exec("delete_config",[e,t])}},{key:"enable_limits",value:function(e,t,n){return this.exec("enable_limits",[e,t,n])}},{key:"disable_limits",value:function(e,t,n){return this.exec("disable_limits",[e,t,n])}},{key:"get_out_of_limits",value:function(){return this.exec("get_out_of_limits",[])}},{key:"get_overall_limits_state",value:function(e){return this.exec("get_overall_limits_state",[e])}},{key:"list_settings",value:function(){return this.exec("list_settings",[])}},{key:"get_all_settings",value:function(){return this.exec("get_all_settings",[])}},{key:"get_setting",value:function(e){return this.exec("get_setting",[e])}},{key:"get_settings",value:function(e){return this.exec("get_settings",e)}},{key:"save_setting",value:function(e,t){return this.exec("save_setting",[e,t])}},{key:"get_metrics",value:function(){return this.exec("get_metrics",[])}},{key:"hashString",value:function(){var e=(0,l.Z)((0,i.Z)().mark((function e(t){var n,r,s;return(0,i.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!window.isSecureContext){e.next=7;break}return n=(new TextEncoder).encode(t),e.next=4,crypto.subtle.digest("SHA-256",n);case 4:return r=e.sent,s=new Uint8Array(r),e.abrupt("return",Array.from(s).map((function(e){return e.toString(16).padStart(2,"0")})).join(""));case 7:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),e}(),f=function(){var e=this,t=e._self._c;return t("v-card",[t("v-card-title",[e._v("Classification Banner Settings")]),t("v-card-text",{staticClass:"pb-0"},[t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorLoading,callback:function(t){e.errorLoading=t},expression:"errorLoading"}},[e._v(" Error loading previous configuration due to "+e._s(e.errorText)+" ")]),t("v-container",{staticClass:"pb-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-text-field",{attrs:{label:"Text","data-test":"classification-banner-text"},model:{value:e.text,callback:function(t){e.text=t},expression:"text"}})],1)],1),t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-select",{attrs:{label:"Background color",items:e.colors,"data-test":"classification-banner-background-color"},scopedSlots:e._u([e.selectedBackgroundColor?{key:"prepend-inner",fn:function(){return[t("v-icon",{attrs:{color:e.selectedBackgroundColor}},[e._v(" mdi-square ")])]},proxy:!0}:null,{key:"item",fn:function(n){return[n.item.value?t("v-icon",{staticClass:"pr-1",attrs:{color:n.item.value}},[e._v(" mdi-square ")]):e._e(),e._v(" "+e._s(n.item.text)+" ")]}}],null,!0),model:{value:e.selectedBackgroundColor,callback:function(t){e.selectedBackgroundColor=t},expression:"selectedBackgroundColor"}})],1),t("v-col",[t("v-text-field",{attrs:{label:"Custom background color",hint:e.customColorHint,disabled:!1!==e.selectedBackgroundColor,rules:[e.rules.customColor],"data-test":"classification-banner-custom-background-color"},scopedSlots:e._u([{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:!e.selectedBackgroundColor,expression:"!selectedBackgroundColor"}],attrs:{color:e.customBackgroundColor}},[e._v(" mdi-square ")])]},proxy:!0}]),model:{value:e.customBackgroundColor,callback:function(t){e.customBackgroundColor=t},expression:"customBackgroundColor"}})],1),t("v-col",[t("v-select",{attrs:{label:"Font color",items:e.colors,"data-test":"classification-banner-font-color"},scopedSlots:e._u([e.selectedFontColor?{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:e.selectedFontColor,expression:"selectedFontColor"}],attrs:{color:e.selectedFontColor}},[e._v(" mdi-square ")])]},proxy:!0}:null,{key:"item",fn:function(n){return[n.item.value?t("v-icon",{staticClass:"pr-1",attrs:{color:n.item.value}},[e._v(" mdi-square ")]):e._e(),e._v(" "+e._s(n.item.text)+" ")]}}],null,!0),model:{value:e.selectedFontColor,callback:function(t){e.selectedFontColor=t},expression:"selectedFontColor"}})],1),t("v-col",[t("v-text-field",{attrs:{label:"Custom font color",hint:e.customColorHint,disabled:!1!==e.selectedFontColor,rules:[e.rules.customColor],"data-test":"classification-banner-custom-font-color"},scopedSlots:e._u([{key:"prepend-inner",fn:function(){return[t("v-icon",{directives:[{name:"show",rawName:"v-show",value:!e.selectedFontColor,expression:"!selectedFontColor"}],attrs:{color:e.customFontColor}},[e._v(" mdi-square ")])]},proxy:!0}]),model:{value:e.customFontColor,callback:function(t){e.customFontColor=t},expression:"customFontColor"}})],1)],1),t("v-row",{attrs:{dense:""}},[t("v-col",[t("v-switch",{attrs:{label:"Display top banner","data-test":"display-top-banner"},model:{value:e.displayTopBanner,callback:function(t){e.displayTopBanner=t},expression:"displayTopBanner"}})],1),t("v-col",[t("v-text-field",{attrs:{label:"Top height",disabled:!e.displayTopBanner,type:"number",suffix:"px","data-test":"classification-banner-top-height"},model:{value:e.topHeight,callback:function(t){e.topHeight=t},expression:"topHeight"}})],1),t("v-col",[t("v-switch",{attrs:{label:"Display bottom banner","data-test":"display-bottom-banner"},model:{value:e.displayBottomBanner,callback:function(t){e.displayBottomBanner=t},expression:"displayBottomBanner"}})],1),t("v-col",[t("v-text-field",{attrs:{label:"Bottom height",disabled:!e.displayBottomBanner,type:"number",suffix:"px","data-test":"classification-banner-bottom-height"},model:{value:e.bottomHeight,callback:function(t){e.bottomHeight=t},expression:"bottomHeight"}})],1)],1)],1)],1),t("v-card-actions",[t("v-container",{staticClass:"pt-0"},[t("v-row",{attrs:{dense:""}},[t("v-col",{staticClass:"pl-0"},[t("v-btn",{attrs:{disabled:!e.formValid,color:"success",text:"","data-test":"save-classification-banner"},on:{click:e.save}},[e._v(" Save ")])],1)],1),t("v-alert",{attrs:{type:"error",dismissible:"",dense:""},model:{value:e.errorSaving,callback:function(t){e.errorSaving=t},expression:"errorSaving"}},[e._v(" Error saving due to "+e._s(e.errorText)+" ")]),t("v-alert",{attrs:{type:"success",dismissible:"",dense:""},model:{value:e.successSaving,callback:function(t){e.successSaving=t},expression:"successSaving"}},[e._v(" Saved! (Refresh the page to see changes) ")])],1)],1)],1)},h=[],p=(n(1850),n(6710),"classification_banner"),m={data:function(){var e=this;return{api:null,errorLoading:!1,errorSaving:!1,errorText:"",successSaving:!1,text:"",displayTopBanner:!1,displayBottomBanner:!1,topHeight:0,bottomHeight:0,selectedBackgroundColor:"red",customBackgroundColor:"",selectedFontColor:"white",customFontColor:"",customColorHint:"Enter a 3 or 6-digit hex color code",colors:[{text:"Yellow",value:"yellow"},{text:"Orange",value:"orange"},{text:"Red",value:"red"},{text:"Purple",value:"purple"},{text:"Blue",value:"blue"},{text:"Green",value:"green"},{text:"Black",value:"black"},{text:"White",value:"white"},{text:"Custom",value:!1}],rules:{customColor:function(t){return/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t)||e.customColorHint}}}},computed:{saveObj:function(){return JSON.stringify({text:this.text,fontColor:this.selectedFontColor||this.customFontColor,backgroundColor:this.selectedBackgroundColor||this.customBackgroundColor,topHeight:this.displayTopBanner?this.topHeight:0,bottomHeight:this.displayBottomBanner?this.bottomHeight:0})},formValid:function(){return(this.selectedFontColor||!0===this.rules.customColor(this.customFontColor))&&(this.selectedBackgroundColor||!0===this.rules.customColor(this.customBackgroundColor))}},watch:{customFontColor:function(e){e&&e.length&&!e.startsWith("#")&&(this.customFontColor="#".concat(e))},customBackgroundColor:function(e){e&&e.length&&!e.startsWith("#")&&(this.customBackgroundColor="#".concat(e))}},created:function(){this.api=new _,this.load()},methods:{load:function(){var e=this;this.api.get_setting(p).then((function(t){if(e.errorLoading=!1,t){var n=JSON.parse(t);e.text=n.text,e.topHeight=n.topHeight,e.bottomHeight=n.bottomHeight,e.displayTopBanner=0!==n.topHeight,e.displayBottomBanner=0!==n.bottomHeight,n.backgroundColor&&n.backgroundColor.startsWith("#")?(e.customBackgroundColor=n.backgroundColor,e.selectedBackgroundColor=!1):e.selectedBackgroundColor=n.backgroundColor,n.fontColor&&n.fontColor.startsWith("#")?(e.customFontColor=n.fontColor,e.selectedFontColor=!1):e.selectedFontColor=n.fontColor}})).catch((function(t){e.errorText=t,e.errorLoading=!0}))},save:function(){var e=this;this.api.save_setting(p,this.saveObj).then((function(){e.errorSaving=!1,e.successSaving=!0})).catch((function(t){e.errorText=t,e.errorSaving=!0}))}}},k=m,y=n(3287),x=(0,y.Z)(k,f,h,!1,null,null,null),b=x.exports,C={components:{ClassificationBannerSettings:b},data:function(){return{api:new _,suppressedWarnings:[],selectedSuppressedWarnings:[],selectAllSuppressedWarnings:!1,lastConfigs:[],selectedLastConfigs:[],selectAllLastConfigs:!1,sourceUrl:"",rubygemsUrl:"",errorSaving:!1,successSaving:!1}},watch:{selectAllSuppressedWarnings:function(e){this.selectedSuppressedWarnings=e?this.suppressedWarnings.map((function(e){return e.key})):[]},selectAllLastConfigs:function(e){this.selectedLastConfigs=e?this.lastConfigs.map((function(e){return e.key})):[]}},created:function(){this.loadSuppressedWarnings(),this.loadLastConfigs(),this.loadSourceUrl(),this.loadRubygemsUrl()},methods:{loadSuppressedWarnings:function(){this.suppressedWarnings=Object.keys(localStorage).filter((function(e){return e.startsWith("suppresswarning__")})).map(this.localStorageKeyToDisplayObject),this.selectedSuppressedWarnings=[]},resetSuppressedWarnings:function(){this.deleteLocalStorageKeys(this.selectedSuppressedWarnings),this.loadSuppressedWarnings()},loadLastConfigs:function(){this.lastConfigs=Object.keys(localStorage).filter((function(e){return e.startsWith("lastconfig__")})).map(this.localStorageKeyToDisplayObject),this.selectedLastConfigs=[]},clearLastConfigs:function(){this.deleteLocalStorageKeys(this.selectedLastConfigs),this.loadLastConfigs()},deleteLocalStorageKeys:function(e){var t,n=(0,o.Z)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;delete localStorage[r]}}catch(s){n.e(s)}finally{n.f()}},localStorageKeyToDisplayObject:function(e){var t=e.split("__")[1].replaceAll("_"," ");return{key:e,text:t.charAt(0).toUpperCase()+t.slice(1),value:localStorage[e]}},loadSourceUrl:function(){var e=this;this.api.get_setting("source_url").then((function(t){e.sourceUrl=t})).catch((function(){e.sourceUrl="https://github.com/OpenC3/openc3"}))},saveSourceUrl:function(){var e=this;this.api.save_setting("source_url",this.sourceUrl).then((function(){e.errorSaving=!1,e.successSaving=!0})).catch((function(){e.errorSaving=!0}))},loadRubygemsUrl:function(){var e=this;this.api.get_setting("rubygems_url").then((function(t){e.rubygemsUrl=t})).catch((function(){e.rubygemsUrl="https://rubygems.org"}))},saveRubygemsUrl:function(){var e=this;this.api.save_setting("rubygems_url",this.rubygemsUrl).then((function(){e.errorSaving=!1,e.successSaving=!0})).catch((function(){e.errorSaving=!0}))}}},w=C,S=(0,y.Z)(w,r,s,!1,null,null,null),T=S.exports},8312:function(e,t,n){var r=n(4768);e.exports=function(e,t,n){for(var s in t)r(e,s,t[s],n);return e}},7456:function(e,t,n){var r=n(598);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},6650:function(e,t,n){var r=n(5968),s=n(4237),o=n(3326),a=n(3124),i=n(8885),c=r(a),l=r("".slice),u=Math.ceil,d=function(e){return function(t,n,r){var a,d,v=o(i(t)),g=s(n),_=v.length,f=void 0===r?" ":o(r);return g<=_||""==f?v:(a=g-_,d=c(f,u(a/f.length)),d.length>a&&(d=l(d,0,a)),e?v+d:d+v)}};e.exports={start:d(!1),end:d(!0)}},5734:function(e,t,n){"use strict";var r=n(3103),s=n(6650).start,o=n(7456);r({target:"String",proto:!0,forced:o},{padStart:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}})},1639:function(e,t,n){"use strict";var r=n(3103),s=n(266),o=n(5968),a=n(8885),i=n(6733),c=n(9650),l=n(8311),u=n(3326),d=n(5300),v=n(3349),g=n(17),_=n(95),f=n(4231),h=_("replace"),p=TypeError,m=o("".indexOf),k=o("".replace),y=o("".slice),x=Math.max,b=function(e,t,n){return n>e.length?-1:""===t?n:m(e,t,n)};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,_,C,w,S,T,B,A=a(this),F=0,L=0,O="";if(!c(e)){if(n=l(e),n&&(r=u(a(v(e))),!~m(r,"g")))throw p("`.replaceAll` does not allow non-global regexes");if(o=d(e,h),o)return s(o,e,A,t);if(f&&n)return k(u(A),e,t)}_=u(A),C=u(e),w=i(t),w||(t=u(t)),S=C.length,T=x(1,S),F=b(_,C,0);while(-1!==F)B=w?u(t(C,F,_)):g(C,_,F,[],void 0,t),O+=y(_,L,F)+B,L=F+S,F=b(_,C,F+T);return L<_.length&&(O+=y(_,L)),O}})},8081:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});n(4115),n(634),n(8188),n(796),n(8673),n(6886),n(1372);var r=n(3511);function s(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var s=0,o=function(){};return{s:o,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==n["return"]||n["return"]()}finally{if(c)throw a}}}}}}]);
2
- //# sourceMappingURL=731.js.map