openc3-tool-admin 5.0.9 → 5.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc6dde89c023bbbe5c8cb9bd50d734c4d4ae2306c13551bea96d230b5ca5767f
4
- data.tar.gz: d3544b531f2f814230fb03a61f1b55e18b694b936f137445a2c04e84540bbb81
3
+ metadata.gz: f7207c2f81476ac6f90045e7ced04cf0177a40789dcfb5216b31566e9329f6b4
4
+ data.tar.gz: 6b0952a3d11cac8101b96894b20757c4a3669e2ccf420104bc97941274e45318
5
5
  SHA512:
6
- metadata.gz: bb171341d48ceb3e366966794aa55af922cc3db620e643b4a47c6f4289477f2c1d1e47e2afce20854778cebd55bc79e14694b582d7e3a54c862cb50ab134bd0e
7
- data.tar.gz: 130473997e82b0d1ce0d5d936e9396c9f845a8415a91b02f9404d7bcb6c94a162d3d2213144b29cadcccc3943e02478f3bd45c878070530917e1be0c52f01ac3
6
+ metadata.gz: 9bf800f0fb0003e9e76d645d13d3b946b4398352737b7b487ab259d082f85b9f2cbe32c62aee9a44d0f8ab344d3883987e826e854c9e7a490ff1db94f434d677
7
+ data.tar.gz: 81110d71acc15f6927b5361a667d3b8010a5f3198a60d5bc34486ef86777b0125380cd41efa0abd5909679c806934a54a7d2873aa009201e3f7e0180dfbb901e
@@ -1,2 +1,2 @@
1
- (self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[107],{9210:function(t,e,o){"use strict";o.d(e,{Z:function(){return c}});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,a=o.attrs;return[e("div",t._g(t._b({},"div",a,!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)},a=[],s=(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(){$emit("submit",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()}}}),r=s,i=(o(4161),o(3483)),l=(0,i.Z)(r,n,a,!1,null,"75003ef7",null),c=l.exports},4107:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return d}});var n=function(){var t=this,e=t._self._c;return e("div",[e("v-list",{attrs:{"data-test":"routerList"}},t._l(t.routers,(function(o,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o))])],1),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,s=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showRouter(o)}}},"v-icon",s,!1),a),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Router Details")])])],1)],1),n<t.routers.length-1?e("v-divider",{key:n}):t._e()],1)})),0),t.showDialog?e("edit-dialog",{attrs:{content:t.jsonContent,title:"Router: ".concat(t.dialogTitle),readonly:""},on:{submit:t.dialogCallback},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}}):t._e()],1)},a=[],s=(o(6710),o(6291)),r=o(9210),i={components:{EditDialog:r.Z},data:function(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var t=this;s.Z.get("/openc3-api/routers").then((function(e){t.routers=e.data}))},add:function(){},showRouter:function(t){var e=this;s.Z.get("/openc3-api/routers/".concat(t)).then((function(o){e.jsonContent=JSON.stringify(o.data,null,"\t"),e.dialogTitle=t,e.showDialog=!0}))},dialogCallback:function(t){this.showDialog=!1}}},l=i,c=o(3483),u=(0,c.Z)(l,n,a,!1,null,null,null),d=u.exports},6894:function(t,e,o){"use strict";o.r(e);var n=o(9601),a=o.n(n),s=o(2609),r=o.n(s),i=r()(a());i.push([t.id,".v-card[data-v-75003ef7]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-75003ef7] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),e["default"]=i},6291:function(t,e,o){"use strict";var n=o(4948),a=o(21),s=o(6706),r=o(2256),i=function(){var t=(0,s.Z)((0,a.Z)().mark((function t(e,o){var n,s,i,l,c,u,d,p,v,h=arguments;return(0,a.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=h.length>2&&void 0!==h[2]?h[2]:{},s=n.data,i=n.params,l=void 0===i?{}:i,c=n.headers,u=n.noAuth,d=void 0!==u&&u,p=n.noScope,v=void 0!==p&&p,d){t.next=11;break}return t.prev=2,t.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](2),OpenC3Auth.login();case 10:c["Authorization"]=localStorage.openc3Token;case 11:return v||l["scope"]||(l["scope"]=window.openc3Scope),t.abrupt("return",(0,r.Z)({method:e,url:o,data:s,params:l,headers:c}));case 13:case"end":return t.stop()}}),t,null,[[2,7]])})));return function(e,o){return t.apply(this,arguments)}}(),l={Accept:"application/json"},c=(0,n.Z)((0,n.Z)({},l),{},{"Content-Type":"application/json"});e["Z"]={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,a=void 0===n?l:n,s=e.noScope,r=e.noAuth;return i("get",t,{params:o,headers:a,noScope:s,noAuth:r})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,a=e.headers,s=void 0===a?c:a,r=e.noScope,l=e.noAuth;return i("put",t,{data:o,params:n,headers:s,noScope:r,noAuth:l})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,a=e.headers,s=void 0===a?c:a,r=e.noScope,l=e.noAuth;return i("post",t,{data:o,params:n,headers:s,noScope:r,noAuth:l})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,a=void 0===n?l:n,s=e.noScope,r=e.noAuth;return i("delete",t,{params:o,headers:a,noScope:s,noAuth:r})}}},2256:function(t,e,o){"use strict";o(9529),o(1235),o(8188),o(8233);var n=o(9644),a=o.n(n),s=o(4091),r=new s["default"],i=a().create({baseURL:location.origin,timeout:6e4,params:{}});i.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,o,n,a,s,i,l,c,u,d;if(401===t.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0),t.response.headers["ignore-errors"]&&t.response.headers["ignore-errors"].includes(t.response.status.toString()))return Promise.reject(t);var p="HTTP ".concat(t.response.status," - ");if(null!==(e=t.response)&&void 0!==e&&e.statusText&&(p+="".concat(t.response.statusText," ")),null!==(o=t.response)&&void 0!==o&&null!==(n=o.config)&&void 0!==n&&n.data&&(p+="".concat(t.response.config.data," ")),null!==(a=t.response)&&void 0!==a&&null!==(s=a.data)&&void 0!==s&&s.message)p+="".concat(t.response.data.message);else if(null!==(i=t.response)&&void 0!==i&&null!==(l=i.data)&&void 0!==l&&l.exception)p+="".concat(t.response.data.exception);else if(null!==(c=t.response)&&void 0!==c&&null!==(u=c.data)&&void 0!==u&&null!==(d=u.error)&&void 0!==d&&d.message)t.response.data.error.class&&(p+="".concat(t.response.data.error.class," ")),p+="".concat(t.response.data.error.message);else{var v;p+="".concat(null===(v=t.response)||void 0===v?void 0:v.data)}throw r.$notify.serious({title:"Network error",body:p}),t}throw t})),e["Z"]=i},4161:function(t,e,o){var n=o(6894);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=o(3514).Z;a("4c9a35ca",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
1
+ (self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[107],{9210:function(t,e,o){"use strict";o.d(e,{Z:function(){return c}});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,a=o.attrs;return[e("div",t._g(t._b({},"div",a,!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)},a=[],s=(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(){$emit("submit",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()}}}),r=s,i=(o(4161),o(3483)),l=(0,i.Z)(r,n,a,!1,null,"75003ef7",null),c=l.exports},4107:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return d}});var n=function(){var t=this,e=t._self._c;return e("div",[e("v-list",{attrs:{"data-test":"routerList"}},t._l(t.routers,(function(o,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o))])],1),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,s=n.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showRouter(o)}}},"v-icon",s,!1),a),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Router Details")])])],1)],1),n<t.routers.length-1?e("v-divider",{key:n}):t._e()],1)})),0),t.showDialog?e("edit-dialog",{attrs:{content:t.jsonContent,title:"Router: ".concat(t.dialogTitle),readonly:""},on:{submit:t.dialogCallback},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}}):t._e()],1)},a=[],s=(o(6710),o(6291)),r=o(9210),i={components:{EditDialog:r.Z},data:function(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted:function(){this.update()},methods:{update:function(){var t=this;s.Z.get("/openc3-api/routers").then((function(e){t.routers=e.data}))},add:function(){},showRouter:function(t){var e=this;s.Z.get("/openc3-api/routers/".concat(t)).then((function(o){e.jsonContent=JSON.stringify(o.data,null,"\t"),e.dialogTitle=t,e.showDialog=!0}))},dialogCallback:function(t){this.showDialog=!1}}},l=i,c=o(3483),u=(0,c.Z)(l,n,a,!1,null,null,null),d=u.exports},6894:function(t,e,o){"use strict";o.r(e);var n=o(9601),a=o.n(n),s=o(2609),r=o.n(s),i=r()(a());i.push([t.id,".v-card[data-v-75003ef7]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-75003ef7] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}",""]),e["default"]=i},6291:function(t,e,o){"use strict";var n=o(4948),a=o(21),s=o(6706),r=o(2256),i=function(){var t=(0,s.Z)((0,a.Z)().mark((function t(e,o){var n,s,i,l,c,u,d,p,v,h=arguments;return(0,a.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=h.length>2&&void 0!==h[2]?h[2]:{},s=n.data,i=n.params,l=void 0===i?{}:i,c=n.headers,u=n.noAuth,d=void 0!==u&&u,p=n.noScope,v=void 0!==p&&p,d){t.next=11;break}return t.prev=2,t.next=5,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 5:t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](2),OpenC3Auth.login();case 10:c["Authorization"]=localStorage.openc3Token;case 11:return v||l["scope"]||(l["scope"]=window.openc3Scope),t.abrupt("return",(0,r.Z)({method:e,url:o,data:s,params:l,headers:c}));case 13:case"end":return t.stop()}}),t,null,[[2,7]])})));return function(e,o){return t.apply(this,arguments)}}(),l={Accept:"application/json"},c=(0,n.Z)((0,n.Z)({},l),{},{"Content-Type":"application/json"});e["Z"]={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,a=void 0===n?l:n,s=e.noScope,r=e.noAuth;return i("get",t,{params:o,headers:a,noScope:s,noAuth:r})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,a=e.headers,s=void 0===a?c:a,r=e.noScope,l=e.noAuth;return i("put",t,{data:o,params:n,headers:s,noScope:r,noAuth:l})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,n=e.params,a=e.headers,s=void 0===a?c:a,r=e.noScope,l=e.noAuth;return i("post",t,{data:o,params:n,headers:s,noScope:r,noAuth:l})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,n=e.headers,a=void 0===n?l:n,s=e.noScope,r=e.noAuth;return i("delete",t,{params:o,headers:a,noScope:s,noAuth:r})}}},2256:function(t,e,o){"use strict";o(9529),o(1235),o(8188),o(8233);var n=o(9644),a=o.n(n),s=o(4091),r=new s["default"],i=a().create({baseURL:location.origin,timeout:6e4,params:{}});i.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,o,n,a,s,i,l,c,u,d;if(401===t.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0),t.response.headers["ignore-errors"]&&t.response.headers["ignore-errors"].includes(t.response.status.toString()))return Promise.reject(t);var p="HTTP ".concat(t.response.status," - ");if(null!==(e=t.response)&&void 0!==e&&e.statusText&&(p+="".concat(t.response.statusText," ")),null!==(o=t.response)&&void 0!==o&&null!==(n=o.config)&&void 0!==n&&n.data&&(p+="".concat(t.response.config.data," ")),null!==(a=t.response)&&void 0!==a&&null!==(s=a.data)&&void 0!==s&&s.message)p+="".concat(t.response.data.message);else if(null!==(i=t.response)&&void 0!==i&&null!==(l=i.data)&&void 0!==l&&l.exception)p+="".concat(t.response.data.exception);else if(null!==(c=t.response)&&void 0!==c&&null!==(u=c.data)&&void 0!==u&&null!==(d=u.error)&&void 0!==d&&d.message)t.response.data.error.class&&(p+="".concat(t.response.data.error.class," ")),p+="".concat(t.response.data.error.message);else{var v;p+="".concat(null===(v=t.response)||void 0===v?void 0:v.data)}throw r.$notify&&r.$notify.serious({title:"Network error",body:p}),t}throw t})),e["Z"]=i},4161:function(t,e,o){var n=o(6894);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);var a=o(3514).Z;a("4c9a35ca",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
2
  //# sourceMappingURL=107.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"js/107.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,WAAW,CAACE,MAAM,CAAC,YAAcJ,EAAIK,SAAS,MAAQ,OAAOC,MAAM,CAACC,MAAOP,EAAIQ,KAAMC,SAAS,SAAUC,GAAMV,EAAIQ,KAAKE,CAAI,EAACC,WAAW,SAAS,CAACT,EAAG,SAAS,CAACA,EAAG,OAAO,CAACU,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBd,EAAIe,OAAOC,MAAM,KAAMC,UAAW,IAAG,CAACf,EAAG,eAAe,CAACA,EAAG,YAAYA,EAAG,OAAO,CAACgB,SAAS,CAAC,YAAclB,EAAImB,GAAGnB,EAAIoB,UAAUlB,EAAG,YAAYA,EAAG,MAAM,CAACmB,YAAY,QAAQ,CAACnB,EAAG,YAAY,CAACE,MAAM,CAAC,IAAM,IAAIkB,YAAYtB,EAAIuB,GAAG,CAAC,CAACC,IAAI,YAAYC,GAAG,YAAuB,IAAZb,EAAY,EAAZA,GAAIR,EAAQ,EAARA,MAAS,MAAO,CAACF,EAAG,MAAMF,EAAI0B,GAAG1B,EAAI2B,GAAG,CAAC,EAAE,MAAMv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F,KAAAA,IAEIzE,CACP,CACC,MAAMA,CAET,IAGH,Q,uBC9EA,IAAII,EAAU,EAAQ,MACnBA,EAAQ6E,aAAY7E,EAAUA,EAAQ8E,SACnB,kBAAZ9E,IAAsBA,EAAU,CAAC,CAAC6B,EAAOC,GAAI9B,EAAS,MAC7DA,EAAQ+E,SAAQlD,EAAOmD,QAAUhF,EAAQ+E,QAE5C,IAAIrD,EAAM,UACGA,EAAI,WAAY1B,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?6578","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?d86d","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?6175","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?40ee","webpack://@openc3/tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?6cb0"],"sourcesContent":["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/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=75003ef7&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=75003ef7&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"75003ef7\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-list',{attrs:{\"data-test\":\"routerList\"}},_vm._l((_vm.routers),function(router,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(router))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showRouter(router)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Router Details\")])])],1)],1),(index < _vm.routers.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"title\":`Router: ${_vm.dialogTitle}`,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RoutersTab.vue?vue&type=template&id=f8956afe&\"\nimport script from \"./RoutersTab.vue?vue&type=script&lang=js&\"\nexport * from \"./RoutersTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-card[data-v-75003ef7]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-75003ef7] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n if (!noScope && !params['scope']) {\n params['scope'] = window.openc3Scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true)\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=style&index=0&id=75003ef7&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(\"4c9a35ca\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_c","_self","attrs","readonly","model","value","show","callback","$$v","expression","on","$event","preventDefault","submit","apply","arguments","domProps","_s","title","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_v","_e","file","loadingFile","loadFile","proxy","json_content","directives","name","rawName","error","close","staticRenderFns","props","content","type","required","data","computed","get","set","methods","$emit","link","component","_l","routers","router","index","showRouter","length","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","mounted","update","Api","add","___CSS_LOADER_EXPORT___","push","module","id","request","method","url","params","headers","noAuth","noScope","OpenC3Auth","updateToken","defaultMinValidity","login","localStorage","openc3Token","window","openc3Scope","axios","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","path","put","post","delete","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","status","includes","toString","Promise","reject","body","statusText","config","message","exception","class","$notify","serious","__esModule","default","locals","exports"],"sourceRoot":""}
1
+ {"version":3,"file":"js/107.js","mappings":"mKAAA,IAAIA,EAAS,WA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BAAI,EAAgBS,cAApB,OAAI,EAAwBpE,OAC1BkE,GAAQ,GAAJ,OAAOzE,EAAMkE,SAASS,OAAOpE,KAA7B,MAEN,UAAIP,EAAMkE,gBAAV,iBAAI,EAAgB3D,YAApB,OAAI,EAAsBqE,QACxBH,GAAQ,GAAJ,OAAOzE,EAAMkE,SAAS3D,KAAKqE,cAC1B,aAAI5E,EAAMkE,gBAAV,iBAAI,EAAgB3D,YAApB,OAAI,EAAsBsE,UAC/BJ,GAAQ,GAAJ,OAAOzE,EAAMkE,SAAS3D,KAAKsE,gBAC1B,aAAI7E,EAAMkE,gBAAV,iBAAI,EAAgB3D,YAApB,iBAAI,EAAsBP,aAA1B,OAAI,EAA6B4E,QAClC5E,EAAMkE,SAAS3D,KAAKP,MAAM8E,QAC5BL,GAAQ,GAAJ,OAAOzE,EAAMkE,SAAS3D,KAAKP,MAAM8E,MAAjC,MAENL,GAAQ,GAAJ,OAAOzE,EAAMkE,SAAS3D,KAAKP,MAAM4E,aAChC,OACLH,GAAQ,GAAJ,iBAAOzE,EAAMkE,gBAAb,aAAO,EAAgB3D,KAC5B,CAOD,MANImD,EAAYqB,SACdrB,EAAYqB,QAAQC,QAAQ,CAC1BnG,MAAO,gBACP4F,KAAAA,IAGEzE,CACP,CACC,MAAMA,CAET,IAGH,Q,uBChFA,IAAII,EAAU,EAAQ,MACnBA,EAAQ6E,aAAY7E,EAAUA,EAAQ8E,SACnB,kBAAZ9E,IAAsBA,EAAU,CAAC,CAAC6B,EAAOC,GAAI9B,EAAS,MAC7DA,EAAQ+E,SAAQlD,EAAOmD,QAAUhF,EAAQ+E,QAE5C,IAAIrD,EAAM,UACGA,EAAI,WAAY1B,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?6578","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?d86d","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/RoutersTab.vue?6175","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?40ee","webpack://@openc3/tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?6cb0"],"sourcesContent":["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/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=75003ef7&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=75003ef7&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"75003ef7\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-list',{attrs:{\"data-test\":\"routerList\"}},_vm._l((_vm.routers),function(router,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(router))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showRouter(router)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Router Details\")])])],1)],1),(index < _vm.routers.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"title\":`Router: ${_vm.dialogTitle}`,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RoutersTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RoutersTab.vue?vue&type=template&id=f8956afe&\"\nimport script from \"./RoutersTab.vue?vue&type=script&lang=js&\"\nexport * from \"./RoutersTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-card[data-v-75003ef7]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-75003ef7] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n if (!noScope && !params['scope']) {\n params['scope'] = window.openc3Scope\n }\n return axios({\n method,\n url,\n data,\n params,\n headers,\n })\n}\n\nconst acceptOnlyDefaultHeaders = {\n Accept: 'application/json',\n}\n\nconst fullDefaultHeaders = {\n ...acceptOnlyDefaultHeaders,\n 'Content-Type': 'application/json',\n}\n\nexport default {\n get: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('get', path, { params, headers, noScope, noAuth })\n },\n\n put: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('put', path, { data, params, headers, noScope, noAuth })\n },\n\n post: function (\n path,\n { data, params, headers = fullDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('post', path, { data, params, headers, noScope, noAuth })\n },\n\n delete: function (\n path,\n { params, headers = acceptOnlyDefaultHeaders, noScope, noAuth } = {}\n ) {\n return request('delete', path, { params, headers, noScope, noAuth })\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true)\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n 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","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=style&index=0&id=75003ef7&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(\"4c9a35ca\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_c","_self","attrs","readonly","model","value","show","callback","$$v","expression","on","$event","preventDefault","submit","apply","arguments","domProps","_s","title","staticClass","scopedSlots","_u","key","fn","_g","_b","download","_v","_e","file","loadingFile","loadFile","proxy","json_content","directives","name","rawName","error","close","staticRenderFns","props","content","type","required","data","computed","get","set","methods","$emit","link","component","_l","routers","router","index","showRouter","length","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","mounted","update","Api","add","___CSS_LOADER_EXPORT___","push","module","id","request","method","url","params","headers","noAuth","noScope","OpenC3Auth","updateToken","defaultMinValidity","login","localStorage","openc3Token","window","openc3Scope","axios","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","path","put","post","delete","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","status","includes","toString","Promise","reject","body","statusText","config","message","exception","class","$notify","serious","__esModule","default","locals","exports"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- "use strict";(self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[113],{6905:function(t,e,i){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,a=i.attrs;return[e("div",t._g(t._b({},"div",a,!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)},a=[],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()}}}),o=l,s=i(3483),r=(0,s.Z)(o,n,a,!1,null,null,null),u=r.exports},5126:function(t,e,i){i.d(e,{Z:function(){return d}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Download Gems ")]),e("v-spacer")],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),e("v-row",[e("v-col",[e("div",{staticClass:"px-2"},[e("v-btn",{attrs:{block:"","data-test":"searchGithub",color:"primary",disabled:t.disableSearch},on:{click:t.searchGithub}},[t._v(" Github "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t.listData.length<1?e("div",{staticClass:"mt-4"},[e("v-row",{staticClass:"mx-2"},[e("span",[t._v(" I’m sorry, Dave. No gems available.... ")])])],1):e("div",{staticClass:"mt-4"},t._l(t.listData,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))])],1),e("v-list-item-icon",[t.activeDownload?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("div",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(i)}}},"v-icon",l,!1),a),[t._v(" mdi-cloud-download ")])]}}],null,!0)},[e("span",[t._v("Download Gem")])])],1)])],1),n<t.listData.length-1?e("v-divider",{key:n}):t._e()],1)})),0)],1)])],1)],1)},a=[],l=(i(3450),i(5342),i(8188),i(7950),i(9644)),o=i.n(l),s={props:{value:Boolean},data:function(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){var t=/\w+.gem/;return this.response.tree.filter((function(e){return t.exec(e.path)})).map((function(t){return{name:t.path,url:"https://raw.github.com/OpenC3/openc3-tools/main/".concat(t.path)}}))},getResponse:function(){var t=this;this.disableSearch=!0,o().get(this.url).then((function(e){t.response=e.data})),setTimeout((function(){t.disableSearch=!1}),1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){var e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},r=s,u=i(3483),c=(0,u.Z)(r,n,a,!1,null,null,null),d=c.exports},1113:function(t,e,i){i.r(e),i.d(e,{default:function(){return Z}});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),e("v-col",{attrs:{align:"right"}},[e("v-btn",{staticClass:"mx-2",attrs:{"data-test":"download-plugin",disabled:null!==t.file},on:{click:function(e){t.showDownloadDialog=!0}}},[e("v-icon",{attrs:{left:""}},[t._v("mdi-cloud-download")]),e("span",[t._v(" Download ")])],1)],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",{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 a=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),a),[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 a=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),a),[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 a=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),a),[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 a=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),a),[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("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},a=[],l=i(21),o=i(6706),s=i(4282),r=(i(7950),i(8319),i(2501),i(9529),i(1235),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(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(6297),i(8882),i(8673),i(6886),i(4121),i(523),i(7388)),u=i(6700),c=i(6291),d=i(5126),p=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))])]),null!==t.existingPluginTxt?e("v-radio-group",{attrs:{mandatory:""},model:{value:t.radioGroup,callback:function(e){t.radioGroup=e},expression:"radioGroup"}},[e("v-radio",{attrs:{label:"Use existing plugin.txt",value:1}}),e("v-radio",{attrs:{label:"Use new plugin.txt",value:0}})],1):t._e()],1),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},[t._v(" plugin.txt ")]),null!==t.existingPluginTxt?e("v-tab",{key:2},[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)},g=[],v={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:{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}}},h=v,f=i(3483),m=(0,f.Z)(h,p,g,!1,null,null,null),b=m.exports,w=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)},x=[],_={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(a){i.e(a)}finally{i.f()}}},y=_,P=(0,f.Z)(y,w,x,!1,null,"23e615ac",null),k=P.exports,D=i(6905),T={components:{DownloadDialog:d.Z,PluginDialog:b,ModifiedPluginDialog:k,SimpleTextDialog:D.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-tool-admin","openc3-tool-autonomic","openc3-tool-base","openc3-tool-calendar","openc3-tool-cmdsender","openc3-tool-cmdtlmserver","openc3-tool-dataextractor","openc3-tool-dataviewer","openc3-tool-handbooks","openc3-tool-limitsmonitor","openc3-tool-packetviewer","openc3-tool-scriptrunner","openc3-tool-tablemanager","openc3-tool-tlmgrapher","openc3-tool-tlmviewer","openc3-enterprise-tool-base","openc3-enterprise-tool-admin"]}},computed:{shownPlugins:function(){var t,e=[],i=(0,s.Z)(this.plugins);try{for(i.s();!(t=i.n()).done;){var n=t.value,a=n.split("__")[0],l=a.split("-");l=l.slice(0,-1);var o=l.join("-");this.defaultPlugins.includes(o)&&!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_?use_regex=true").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),1e4)}))},formatDate:function(t){return(0,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",a=new FormData;a.append("plugin",this.file,this.file.name);var l=c.Z[i](n,{data:a});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,o.Z)((0,l.Z)().mark((function t(e){var i,n,a;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(a=n.value,1!=a.modified){t.next=9;break}return t.next=9,c.Z.post("/openc3-api/targets/".concat(a.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 a=new Blob([i],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(a),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(){void 0!==this.file&&(null!==this.currentPlugin?this.upload(this.currentPlugin):this.upload())}}},C=T,S=(0,f.Z)(C,n,a,!1,null,null,null),Z=S.exports},4282:function(t,e,i){i.d(e,{Z:function(){return a}});i(4115),i(634),i(8188),i(796),i(8673),i(6886),i(1372);var n=i(1644);function a(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 a=0,l=function(){};return{s:l,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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 o,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,o=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(r)throw o}}}}}}]);
1
+ "use strict";(self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[113],{6905:function(t,e,i){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,a=i.attrs;return[e("div",t._g(t._b({},"div",a,!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)},a=[],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()}}}),o=l,s=i(3483),r=(0,s.Z)(o,n,a,!1,null,null,null),u=r.exports},5126:function(t,e,i){i.d(e,{Z:function(){return d}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Download Gems ")]),e("v-spacer")],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),e("v-row",[e("v-col",[e("div",{staticClass:"px-2"},[e("v-btn",{attrs:{block:"","data-test":"searchGithub",color:"primary",disabled:t.disableSearch},on:{click:t.searchGithub}},[t._v(" Github "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t.listData.length<1?e("div",{staticClass:"mt-4"},[e("v-row",{staticClass:"mx-2"},[e("span",[t._v(" I’m sorry, Dave. No gems available.... ")])])],1):e("div",{staticClass:"mt-4"},t._l(t.listData,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))])],1),e("v-list-item-icon",[t.activeDownload?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("div",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(i)}}},"v-icon",l,!1),a),[t._v(" mdi-cloud-download ")])]}}],null,!0)},[e("span",[t._v("Download Gem")])])],1)])],1),n<t.listData.length-1?e("v-divider",{key:n}):t._e()],1)})),0)],1)])],1)],1)},a=[],l=(i(3450),i(5342),i(8188),i(7950),i(9644)),o=i.n(l),s={props:{value:Boolean},data:function(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){var t=/\w+.gem/;return this.response.tree.filter((function(e){return t.exec(e.path)})).map((function(t){return{name:t.path,url:"https://raw.github.com/OpenC3/openc3-tools/main/".concat(t.path)}}))},getResponse:function(){var t=this;this.disableSearch=!0,o().get(this.url).then((function(e){t.response=e.data})),setTimeout((function(){t.disableSearch=!1}),1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){var e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},r=s,u=i(3483),c=(0,u.Z)(r,n,a,!1,null,null,null),d=c.exports},1113:function(t,e,i){i.r(e),i.d(e,{default:function(){return Z}});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),e("v-col",{attrs:{align:"right"}},[e("v-btn",{staticClass:"mx-2",attrs:{"data-test":"download-plugin",disabled:null!==t.file},on:{click:function(e){t.showDownloadDialog=!0}}},[e("v-icon",{attrs:{left:""}},[t._v("mdi-cloud-download")]),e("span",[t._v(" Download ")])],1)],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",{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 a=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),a),[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 a=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),a),[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 a=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),a),[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 a=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),a),[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("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},a=[],l=i(21),o=i(6706),s=i(4282),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(8673),i(6886),i(4121),i(523),i(7388)),u=i(6700),c=i(6291),d=i(5126),p=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))])]),null!==t.existingPluginTxt?e("v-radio-group",{attrs:{mandatory:""},model:{value:t.radioGroup,callback:function(e){t.radioGroup=e},expression:"radioGroup"}},[e("v-radio",{attrs:{label:"Use existing plugin.txt",value:1}}),e("v-radio",{attrs:{label:"Use new plugin.txt",value:0}})],1):t._e()],1),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},[t._v(" plugin.txt ")]),null!==t.existingPluginTxt?e("v-tab",{key:2},[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)},g=[],v={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:{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}}},h=v,f=i(3483),m=(0,f.Z)(h,p,g,!1,null,null,null),b=m.exports,w=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)},x=[],_={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(a){i.e(a)}finally{i.f()}}},y=_,P=(0,f.Z)(y,w,x,!1,null,"23e615ac",null),k=P.exports,D=i(6905),T={components:{DownloadDialog:d.Z,PluginDialog:b,ModifiedPluginDialog:k,SimpleTextDialog:D.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-tool-admin","openc3-tool-autonomic","openc3-tool-base","openc3-tool-calendar","openc3-tool-cmdsender","openc3-tool-cmdtlmserver","openc3-tool-dataextractor","openc3-tool-dataviewer","openc3-tool-handbooks","openc3-tool-limitsmonitor","openc3-tool-packetviewer","openc3-tool-scriptrunner","openc3-tool-tablemanager","openc3-tool-tlmgrapher","openc3-tool-tlmviewer","openc3-enterprise-tool-base","openc3-enterprise-tool-admin"]}},computed:{shownPlugins:function(){var t,e=[],i=(0,s.Z)(this.plugins);try{for(i.s();!(t=i.n()).done;){var n=t.value,a=n.split("__")[0],l=a.split("-");l=l.slice(0,-1);var o=l.join("-");this.defaultPlugins.includes(o)&&!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_?use_regex=true").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),1e4)}))},formatDate:function(t){return(0,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",a=new FormData;a.append("plugin",this.file,this.file.name);var l=c.Z[i](n,{data:a});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,o.Z)((0,l.Z)().mark((function t(e){var i,n,a;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(a=n.value,1!=a.modified){t.next=9;break}return t.next=9,c.Z.post("/openc3-api/targets/".concat(a.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 a=new Blob([i],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(a),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(){void 0!==this.file&&(null!==this.currentPlugin?this.upload(this.currentPlugin):this.upload())}}},C=T,S=(0,f.Z)(C,n,a,!1,null,null,null),Z=S.exports},4282:function(t,e,i){i.d(e,{Z:function(){return a}});i(4115),i(634),i(8188),i(796),i(8673),i(6886),i(1372);var n=i(1644);function a(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 a=0,l=function(){};return{s:l,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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 o,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,o=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(r)throw o}}}}}}]);
2
2
  //# sourceMappingURL=113.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"js/113.js","mappings":"mKAAA,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,CAAI,EAACC,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,YAAuB,IAAZC,EAAY,EAAZA,GAAIhB,EAAQ,EAARA,MAAS,MAAO,CAACF,EAAG,MAAMF,EAAIqB,GAAGrB,EAAIsB,GAAG,CAAC,EAAE,MAAMlB,GAAM,GAAOgB,GAAI,CAAClB,EAAG,SAAS,CAACE,MAAM,CAAC,YAAY,gBAAgBgB,GAAG,CAAC,MAAQpB,EAAIuB,WAAW,CA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AI,CACP,GAAIG,MAAMC,QAAQN,KAAOE,GAAKK,EAAAA,EAAAA,GAA2BP,KAAOC,GAAkBD,GAAyB,kBAAbA,EAAEnH,OAAqB,CAC/GqH,IAAIF,EAAIE,GACZ,IAAIM,EAAI,EAEJC,EAAI,WAAe,EAEvB,MAAO,CACLC,EAAGD,EACHE,EAAG,WACD,OAAIH,GAAKR,EAAEnH,OAAe,CACxB+H,MAAM,GAED,CACLA,MAAM,EACN/J,MAAOmJ,EAAEQ,KAEZ,EACDK,EAAG,SAAWzH,GACZ,MAAMA,CACP,EACD0H,EAAGL,EAEN,CAED,MAAM,IAAIM,UAAU,wIACrB,CAED,IAEIC,EAFAC,GAAmB,EACnBC,GAAS,EAEb,MAAO,CACLR,EAAG,WACDR,EAAKA,EAAGiB,KAAKnB,EACd,EACDW,EAAG,WACD,IAAIS,EAAOlB,EAAGmB,OAEd,OADAJ,EAAmBG,EAAKR,KACjBQ,CACR,EACDP,EAAG,SAAWS,GACZJ,GAAS,EACTF,EAAMM,CACP,EACDR,EAAG,WACD,IACOG,GAAoC,MAAhBf,EAAG,WAAmBA,EAAG,WAGnD,CAJD,QAGE,GAAIgB,EAAQ,MAAMF,CACnB,CACF,EAEJ,C","sources":["webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?fdb7","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?32f1","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?83fa","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?38c5","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?5c63","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?7b71","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?f78d","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?62de","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?9030","webpack://@openc3/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/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=ae5a22c8&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Download Gems \")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"px-2\"},[_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"searchGithub\",\"color\":\"primary\",\"disabled\":_vm.disableSearch},on:{\"click\":_vm.searchGithub}},[_vm._v(\" Github \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),(_vm.listData.length < 1)?_c('div',{staticClass:\"mt-4\"},[_c('v-row',{staticClass:\"mx-2\"},[_c('span',[_vm._v(\" I’m sorry, Dave. No gems available.... \")])])],1):_c('div',{staticClass:\"mt-4\"},_vm._l((_vm.listData),function(data,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(data.name))])],1),_c('v-list-item-icon',[(_vm.activeDownload)?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"disabled\":_vm.activeDownload},on:{\"click\":function($event){return _vm.downloadGem(data)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-cloud-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),(index < _vm.listData.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DownloadDialog.vue?vue&type=template&id=e4c242e6&\"\nimport script from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","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),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"data-test\":\"download-plugin\",\"disabled\":_vm.file !== null},on:{\"click\":function($event){_vm.showDownloadDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-cloud-download\")]),_c('span',[_vm._v(\" Download \")])],1)],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',{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\":\"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('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"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))])]),(_vm.existingPluginTxt !== null)?_c('v-radio-group',{attrs:{\"mandatory\":\"\"},model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},[_c('v-radio',{attrs:{\"label\":\"Use existing plugin.txt\",\"value\":1}}),_c('v-radio',{attrs:{\"label\":\"Use new plugin.txt\",\"value\":0}})],1):_vm._e()],1),_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._v(\" plugin.txt \")]),(_vm.existingPluginTxt !== null)?_c('v-tab',{key:2},[_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/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginDialog.vue?vue&type=template&id=280eb7fe&\"\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/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/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModifiedPluginDialog.vue?vue&type=template&id=23e615ac&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/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23e615ac\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginsTab.vue?vue&type=template&id=27250e42&\"\nimport script from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginsTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\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\n var F = function F() {};\n\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\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\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","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","computed","get","set","methods","type","link","component","disableSearch","searchGithub","listData","length","_l","data","index","name","activeDownload","downloadGem","_e","url","response","expanded","parseGithub","filter","map","getResponse","axios","setTimeout","ref","fileChange","fileMousedown","file","showDownloadDialog","showDefaultTools","alertType","showAlert","alert","Object","keys","processes","process","domProps","process_type","detail","state","formatDate","updated_at","showOutput","shownPlugins","plugin","isModified","pluginTargets","target","modified","preventDefault","downloadTarget","editPlugin","upgradePlugin","deletePrompt","plugins","pluginName","variables","pluginTxt","existingPluginTxt","pluginCallback","showPluginDialog","showModifiedPluginDialog","currentPlugin","pluginDelete","modifiedSubmit","processOutput","showProcessOutput","radioGroup","tab","submit","apply","arguments","localVariables","$set","localPluginTxt","localExistingPluginTxt","close","required","watch","immediate","handler","lines","plugin_txt_lines","modifiedTargets","files","itemIndex","deleteModified","$emit","submitButton","targets","created","Api","components","DownloadDialog","PluginDialog","ModifiedPluginDialog","SimpleTextDialog","pluginHashTmp","defaultPlugins","pluginNameSplit","result","mounted","update","updateProcesses","nanoSecs","toDate","upload","existing","formData","promise","then","catch","pluginHash","pluginInstall","plugin_hash","uInt8Array","confirm","okText","cancelText","deletePlugin","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","unsupportedIterableToArray","i","F","s","n","done","e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2"],"sourceRoot":""}
1
+ {"version":3,"file":"js/113.js","mappings":"mKAAA,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,CAAI,EAACC,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,YAAuB,IAAZC,EAAY,EAAZA,GAAIhB,EAAQ,EAARA,MAAS,MAAO,CAACF,EAAG,MAAMF,EAAIqB,GAAGrB,EAAIsB,GAAG,CAAC,EAAE,MAAMlB,GAAM,GAAOgB,GAAI,CAAClB,EAAG,SAAS,CAACE,MAAM,CAAC,YAAY,gBAAgBgB,GAAG,CAAC,MAAQpB,EAAIuB,WAAW,CAACvB,EAAIY,GAAG,qBAAqB,GAAI,MAAK,CAACV,EAAG,OAAO,CAACF,EAAIY,GAAG,mBAAmB,IAAI,GAAGV,EAAG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EnH,OAAqB,CAC/GqH,IAAIF,EAAIE,GACZ,IAAIM,EAAI,EAEJC,EAAI,WAAe,EAEvB,MAAO,CACLC,EAAGD,EACHE,EAAG,WACD,OAAIH,GAAKR,EAAEnH,OAAe,CACxB+H,MAAM,GAED,CACLA,MAAM,EACN/J,MAAOmJ,EAAEQ,KAEZ,EACDK,EAAG,SAAWzH,GACZ,MAAMA,CACP,EACD0H,EAAGL,EAEN,CAED,MAAM,IAAIM,UAAU,wIACrB,CAED,IAEIC,EAFAC,GAAmB,EACnBC,GAAS,EAEb,MAAO,CACLR,EAAG,WACDR,EAAKA,EAAGiB,KAAKnB,EACd,EACDW,EAAG,WACD,IAAIS,EAAOlB,EAAGmB,OAEd,OADAJ,EAAmBG,EAAKR,KACjBQ,CACR,EACDP,EAAG,SAAWS,GACZJ,GAAS,EACTF,EAAMM,CACP,EACDR,EAAG,WACD,IACOG,GAAoC,MAAhBf,EAAG,WAAmBA,EAAG,WAGnD,CAJD,QAGE,GAAIgB,EAAQ,MAAMF,CACnB,CACF,EAEJ,C","sources":["webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?fdb7","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?32f1","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?83fa","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?38c5","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?5c63","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?7b71","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?f78d","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?62de","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?9030","webpack://@openc3/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/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=ae5a22c8&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Download Gems \")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"px-2\"},[_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"searchGithub\",\"color\":\"primary\",\"disabled\":_vm.disableSearch},on:{\"click\":_vm.searchGithub}},[_vm._v(\" Github \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),(_vm.listData.length < 1)?_c('div',{staticClass:\"mt-4\"},[_c('v-row',{staticClass:\"mx-2\"},[_c('span',[_vm._v(\" I’m sorry, Dave. No gems available.... \")])])],1):_c('div',{staticClass:\"mt-4\"},_vm._l((_vm.listData),function(data,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(data.name))])],1),_c('v-list-item-icon',[(_vm.activeDownload)?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"disabled\":_vm.activeDownload},on:{\"click\":function($event){return _vm.downloadGem(data)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-cloud-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),(index < _vm.listData.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DownloadDialog.vue?vue&type=template&id=e4c242e6&\"\nimport script from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","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),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"data-test\":\"download-plugin\",\"disabled\":_vm.file !== null},on:{\"click\":function($event){_vm.showDownloadDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-cloud-download\")]),_c('span',[_vm._v(\" Download \")])],1)],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',{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\":\"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('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"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))])]),(_vm.existingPluginTxt !== null)?_c('v-radio-group',{attrs:{\"mandatory\":\"\"},model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},[_c('v-radio',{attrs:{\"label\":\"Use existing plugin.txt\",\"value\":1}}),_c('v-radio',{attrs:{\"label\":\"Use new plugin.txt\",\"value\":0}})],1):_vm._e()],1),_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._v(\" plugin.txt \")]),(_vm.existingPluginTxt !== null)?_c('v-tab',{key:2},[_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/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginDialog.vue?vue&type=template&id=280eb7fe&\"\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/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/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModifiedPluginDialog.vue?vue&type=template&id=23e615ac&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/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23e615ac\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginsTab.vue?vue&type=template&id=27250e42&\"\nimport script from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginsTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\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\n var F = function F() {};\n\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\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\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","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","computed","get","set","methods","type","link","component","disableSearch","searchGithub","listData","length","_l","data","index","name","activeDownload","downloadGem","_e","url","response","expanded","parseGithub","filter","map","getResponse","axios","setTimeout","ref","fileChange","fileMousedown","file","showDownloadDialog","showDefaultTools","alertType","showAlert","alert","Object","keys","processes","process","domProps","process_type","detail","state","formatDate","updated_at","showOutput","shownPlugins","plugin","isModified","pluginTargets","target","modified","preventDefault","downloadTarget","editPlugin","upgradePlugin","deletePrompt","plugins","pluginName","variables","pluginTxt","existingPluginTxt","pluginCallback","showPluginDialog","showModifiedPluginDialog","currentPlugin","pluginDelete","modifiedSubmit","processOutput","showProcessOutput","radioGroup","tab","submit","apply","arguments","localVariables","$set","localPluginTxt","localExistingPluginTxt","close","required","watch","immediate","handler","lines","plugin_txt_lines","modifiedTargets","files","itemIndex","deleteModified","$emit","submitButton","targets","created","Api","components","DownloadDialog","PluginDialog","ModifiedPluginDialog","SimpleTextDialog","pluginHashTmp","defaultPlugins","pluginNameSplit","result","mounted","update","updateProcesses","nanoSecs","toDate","upload","existing","formData","promise","then","catch","pluginHash","pluginInstall","plugin_hash","uInt8Array","confirm","okText","cancelText","deletePlugin","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","unsupportedIterableToArray","i","F","s","n","done","e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2"],"sourceRoot":""}