openc3-cosmos-tool-admin 5.2.0 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3-cosmos-tool-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-12-13 00:00:00.000000000 Z
12
+ date: 2023-01-05 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: " This plugin adds the OpenC3 COSMOS Administrative interface tool\n"
15
15
  email:
@@ -38,24 +38,26 @@ files:
38
38
  - tools/admin/js/344.js.map
39
39
  - tools/admin/js/388.js
40
40
  - tools/admin/js/388.js.map
41
+ - tools/admin/js/398.js
42
+ - tools/admin/js/398.js.map
41
43
  - tools/admin/js/412.js
42
44
  - tools/admin/js/412.js.map
43
45
  - tools/admin/js/426.js
44
46
  - tools/admin/js/426.js.map
45
- - tools/admin/js/442.js
46
- - tools/admin/js/442.js.map
47
- - tools/admin/js/447.js
48
- - tools/admin/js/447.js.map
49
47
  - tools/admin/js/475.js
50
48
  - tools/admin/js/475.js.map
51
49
  - tools/admin/js/535.js
52
50
  - tools/admin/js/535.js.map
53
51
  - tools/admin/js/806.js
54
52
  - tools/admin/js/806.js.map
53
+ - tools/admin/js/896.js
54
+ - tools/admin/js/896.js.map
55
55
  - tools/admin/js/921.js
56
56
  - tools/admin/js/921.js.map
57
57
  - tools/admin/js/953.js
58
58
  - tools/admin/js/953.js.map
59
+ - tools/admin/js/999.js
60
+ - tools/admin/js/999.js.map
59
61
  - tools/admin/js/app.js
60
62
  - tools/admin/js/app.js.map
61
63
  homepage: https://github.com/OpenC3/openc3
@@ -1,2 +0,0 @@
1
- "use strict";(self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[442],{6129:function(t,e,o){var s=o(6964),n=o(5789),a=o(9502),i=o(9373),r=function(){var t=(0,a.Z)((0,n.Z)().mark((function t(e,o){var s,a,r,l,c,u,d,p,v,h=arguments;return(0,n.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s=h.length>2&&void 0!==h[2]?h[2]:{},a=s.data,r=s.params,l=void 0===r?{}:r,c=s.headers,u=s.noAuth,d=void 0!==u&&u,p=s.noScope,v=void 0!==p&&p,d){t.next=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,i.Z)({method:e,url:o,data:a,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,s.Z)((0,s.Z)({},l),{},{"Content-Type":"application/json"});e["Z"]={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,s=e.headers,n=void 0===s?l:s,a=e.noScope,i=e.noAuth;return r("get",t,{params:o,headers:n,noScope:a,noAuth:i})},put:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,s=e.params,n=e.headers,a=void 0===n?c:n,i=e.noScope,l=e.noAuth;return r("put",t,{data:o,params:s,headers:a,noScope:i,noAuth:l})},post:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.data,s=e.params,n=e.headers,a=void 0===n?c:n,i=e.noScope,l=e.noAuth;return r("post",t,{data:o,params:s,headers:a,noScope:i,noAuth:l})},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.params,s=e.headers,n=void 0===s?l:s,a=e.noScope,i=e.noAuth;return r("delete",t,{params:o,headers:n,noScope:a,noAuth:i})}}},9373:function(t,e,o){o(9529),o(1235),o(8188),o(8233);var s=o(9644),n=o.n(s),a=o(4091),i=new a["default"],r=n().create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((function(t){return t}),(function(t){if(t.response){var e,o,s,n,a,r,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!==(s=o.config)&&void 0!==s&&s.data&&(p+="".concat(t.response.config.data," ")),null!==(n=t.response)&&void 0!==n&&null!==(a=n.data)&&void 0!==a&&a.message)p+="".concat(t.response.data.message);else if(null!==(r=t.response)&&void 0!==r&&null!==(l=r.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 i.$notify&&i.$notify.serious({title:"Network error",body:p}),t}throw t})),e["Z"]=r},6415:function(t,e,o){o.d(e,{Z:function(){return c}});var s=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:t.width},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" "+t._s(t.title)+" ")]),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(o){var s=o.on,n=o.attrs;return[e("div",t._g(t._b({},"div",n,!1),s),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.text))])])]),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},n=[],a=(o(8188),o(8673),o(6886),o(4121),o(523),{props:{value:Boolean,text:String,title:String,width:800},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,".txt")),e.click()}}}),i=a,r=o(3483),l=(0,r.Z)(i,s,n,!1,null,null,null),c=l.exports},8442:function(t,e,o){o.r(e),o.d(e,{default:function(){return y}});o(4769);var s=function(){var t=this,e=t._self._c;return e("div",[e("v-row",{attrs:{"no-gutters":""}},[e("v-col",[e("v-file-input",{ref:"fileInput",staticClass:"mx-2",attrs:{multiple:"","show-size":"",accept:".gem",label:"Click to select .gem file(s) to add to internal gem server"},model:{value:t.files,callback:function(e){t.files=e},expression:"files"}})],1)],1),e("v-row",{staticClass:"px-2 pb-2",attrs:{"no-gutters":""}},[e("v-btn",{staticClass:"mx-2",attrs:{"data-test":"gemDownload",disabled:t.files.length>0},on:{click:function(e){t.showDownloadDialog=!0}}},[e("v-icon",{attrs:{left:"",dark:""}},[t._v("mdi-cloud-download")]),e("span",[t._v(" Download ")])],1),e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"gemUpload",disabled:t.files.length<1,loading:t.loadingGem},on:{click:function(e){return t.upload()}},scopedSlots:t._u([{key:"loader",fn:function(){return[e("span",[t._v("Loading...")])]},proxy:!0}])},[e("v-icon",{attrs:{left:"",dark:""}},[t._v("mdi-cloud-upload")]),e("span",[t._v(" Upload ")])],1)],1),e("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:t.alertType},model:{value:t.showAlert,callback:function(e){t.showAlert=e},expression:"showAlert"}},[t._v(t._s(t.alert))]),Object.keys(t.processes).length>0?e("v-list",{attrs:{"data-test":"processList"}},t._l(t.processes,(function(o){return e("div",{key:o.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{domProps:{textContent:t._s("Installing: "+o.detail+" - "+o.state)}})]),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(o.updated_at))}})])],1),"Running"!==o.state?e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(s){var n=s.on,a=s.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showOutput(o)}}},"v-icon",a,!1),n),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Output")])])],1):t._e()],1),e("v-divider")],1)})),0):t._e(),e("v-list",{attrs:{"data-test":"gemList"}},t._l(t.gems,(function(o,s){return e("div",{key:s},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o))])],1),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(s){var n=s.on,a=s.attrs;return[e("v-icon",t._g(t._b({on:{click:function(e){return t.deleteGem(o)}}},"v-icon",a,!1),n),[t._v(" mdi-delete ")])]}}],null,!0)},[e("span",[t._v("Delete Gem")])])],1)],1),s<t.gems.length-1?e("v-divider",{key:s}):t._e()],1)})),0),e("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},n=[],a=(o(8995),o(3450),o(8188),o(8673),o(6886),o(8178),o(7388)),i=o(6700),r=o(6129),l=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Download Gems ")]),e("v-spacer")],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),e("v-row",[e("v-col",[e("div",{staticClass:"px-2"},[e("v-btn",{attrs:{block:"","data-test":"searchGithub",color:"primary",disabled:t.disableSearch},on:{click:t.searchGithub}},[t._v(" Github "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t.listData.length<1?e("div",{staticClass:"mt-4"},[e("v-row",{staticClass:"mx-2"},[e("span",[t._v(" I’m sorry, Dave. No gems available.... ")])])],1):e("div",{staticClass:"mt-4"},t._l(t.listData,(function(o,s){return e("div",{key:s},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(o.name))])],1),e("v-list-item-icon",[t.activeDownload?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("div",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(s){var n=s.on,a=s.attrs;return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(o)}}},"v-icon",a,!1),n),[t._v(" mdi-cloud-download ")])]}}],null,!0)},[e("span",[t._v("Download Gem")])])],1)])],1),s<t.listData.length-1?e("v-divider",{key:s}):t._e()],1)})),0)],1)])],1)],1)},c=[],u=(o(5342),o(7950),o(9644)),d=o.n(u),p={props:{value:Boolean},data:function(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){var t=/\w+.gem/;return this.response.tree.filter((function(e){return t.exec(e.path)})).map((function(t){return{name:t.path,url:"https://raw.github.com/OpenC3/openc3-tools/main/".concat(t.path)}}))},getResponse:function(){var t=this;this.disableSearch=!0,d().get(this.url).then((function(e){t.response=e.data})),setTimeout((function(){t.disableSearch=!1}),1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){var e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},v=p,h=o(3483),m=(0,h.Z)(v,l,c,!1,null,null,null),f=m.exports,g=o(6415),w={components:{DownloadDialog:f,SimpleTextDialog:g.Z},data:function(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingGem:!1,gems:[],processes:{},alert:"",alertType:"success",showAlert:!1}},mounted:function(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){var t=this;r.Z.get("/openc3-api/gems").then((function(e){t.gems=e.data}))},updateProcesses:function(){var t=this;r.Z.get("/openc3-api/process_status/gem_install").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),1e4)}))},formatDate:function(t){return(0,a.Z)((0,i.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){var t=this;this.loadingGem=!0;var e=this.files.map((function(t){var e=new FormData;return e.append("gem",t,t.name),r.Z.post("/openc3-api/gems",{data:e})}));Promise.all(e).then((function(e){t.alert="Uploaded ".concat(e.length," gem").concat(e.length>1?"s":""),t.alertType="success",t.showAlert=!0,t.loadingGem=!1,t.files=[],setTimeout((function(){t.showAlert=!1,t.updateProcesses()}),5e3),t.update()})).catch((function(e){t.loadingPlugin=!1}))},deleteGem:function(t){var e=this;this.$dialog.confirm("Are you sure you want to remove: ".concat(t),{okText:"Delete",cancelText:"Cancel"}).then((function(e){return r.Z["delete"]("/openc3-api/gems/".concat(t))})).then((function(o){e.alert="Removed gem ".concat(t),e.alertType="success",e.showAlert=!0,setTimeout((function(){e.showAlert=!1}),5e3),e.update()}))}}},_=w,b=(0,h.Z)(_,s,n,!1,null,null,null),y=b.exports}}]);
2
- //# sourceMappingURL=442.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/442.js","mappings":"6LAwBMA,EAAO,yCAAG,WACdC,EACAC,GAAG,yGAC0D,GAD1D,iCAC+D,CAAC,EAAjEC,EAAI,EAAJA,KAAM,EAAF,EAAEC,OAAAA,OAAM,IAAG,GAAC,EAAC,EAAEC,EAAO,EAAPA,QAAS,EAAF,EAAEC,OAAAA,OAAM,IAAG,GAAK,MAAEC,QAAAA,OAAO,IAAG,GAAK,EAExDD,EAAQ,CAAF,yCAEDE,WAAWC,YAAYD,WAAWE,oBAAmB,0DAE3DF,WAAWG,QAAO,QAEpBN,EAAQ,iBAAmBO,aAAaC,YAAW,QAIpD,OAFIN,GAAYH,EAAO,WACtBA,EAAO,SAAWU,OAAOC,aAC1B,mBACMC,EAAAA,EAAAA,GAAM,CACXf,OAAAA,EACAC,IAAAA,EACAC,KAAAA,EACAC,OAAAA,EACAC,QAAAA,KACA,yDACH,gBAvBY,wCAyBPY,EAA2B,CAC/BC,OAAQ,oBAGJC,GAAqB,kBACtBF,GAAwB,IAC3B,eAAgB,qBAGlB,QACEG,IAAK,SACHC,GAEA,6DADkE,CAAC,EAAjEjB,EAAM,EAANA,OAAM,IAAEC,QAAAA,OAAO,IAAG,EAAAY,EAAwB,EAAEV,EAAO,EAAPA,QAASD,EAAM,EAANA,OAEvD,OAAON,EAAQ,MAAOqB,EAAM,CAAEjB,OAAAA,EAAQC,QAAAA,EAASE,QAAAA,EAASD,OAAAA,GAC1D,EAEAgB,IAAK,SACHD,GAEA,6DADkE,CAAC,EAAjElB,EAAI,EAAJA,KAAMC,EAAM,EAANA,OAAM,IAAEC,QAAAA,OAAO,IAAG,EAAAc,EAAkB,EAAEZ,EAAO,EAAPA,QAASD,EAAM,EAANA,OAEvD,OAAON,EAAQ,MAAOqB,EAAM,CAA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,OAAAA,GAAAA,CACAC,OAAAA,SACAC,WAAAA,WAEAL,MAAAA,SAAAA,GACA,mDACA,IACAA,MAAAA,SAAAA,GACA,iCACA,sBACA,eACAV,YAAAA,WACA,cACA,QACA,UACA,GACA,IIlO8T,ICO1T,GAAY,OACd,EACA1E,EACA2B,GACA,EACA,KACA,KACA,MAIF,EAAe,EAAiB,O","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?e067","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?a211","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?83fa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue?8190","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/GemsTab.vue?c5db"],"sourcesContent":["/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nconst request = async function (\n method,\n url,\n { data, params = {}, headers, noAuth = false, noScope = false } = {}\n) {\n if (!noAuth) {\n try {\n 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# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true)\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":_vm.width},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=4cd697cc&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"multiple\":\"\",\"show-size\":\"\",\"accept\":\".gem\",\"label\":\"Click to select .gem file(s) to add to internal gem server\"},model:{value:(_vm.files),callback:function ($$v) {_vm.files=$$v},expression:\"files\"}})],1)],1),_c('v-row',{staticClass:\"px-2 pb-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"data-test\":\"gemDownload\",\"disabled\":_vm.files.length > 0},on:{\"click\":function($event){_vm.showDownloadDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\",\"dark\":\"\"}},[_vm._v(\"mdi-cloud-download\")]),_c('span',[_vm._v(\" Download \")])],1),_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"gemUpload\",\"disabled\":_vm.files.length < 1,\"loading\":_vm.loadingGem},on:{\"click\":function($event){return _vm.upload()}},scopedSlots:_vm._u([{key:\"loader\",fn:function(){return [_c('span',[_vm._v(\"Loading...\")])]},proxy:true}])},[_c('v-icon',{attrs:{\"left\":\"\",\"dark\":\"\"}},[_vm._v(\"mdi-cloud-upload\")]),_c('span',[_vm._v(\" Upload \")])],1)],1),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),(Object.keys(_vm.processes).length > 0)?_c('v-list',{attrs:{\"data-test\":\"processList\"}},_vm._l((_vm.processes),function(process){return _c('div',{key:process.name},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('span',{domProps:{\"textContent\":_vm._s('Installing: ' + process.detail + ' - ' + process.state)}})]),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),(process.state !== 'Running')?_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.showOutput(process)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Output\")])])],1):_vm._e()],1),_c('v-divider')],1)}),0):_vm._e(),_c('v-list',{attrs:{\"data-test\":\"gemList\"}},_vm._l((_vm.gems),function(gem,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(gem))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.deleteGem(gem)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Gem\")])])],1)],1),(index < _vm.gems.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_c('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Download Gems \")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"px-2\"},[_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"searchGithub\",\"color\":\"primary\",\"disabled\":_vm.disableSearch},on:{\"click\":_vm.searchGithub}},[_vm._v(\" Github \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),(_vm.listData.length < 1)?_c('div',{staticClass:\"mt-4\"},[_c('v-row',{staticClass:\"mx-2\"},[_c('span',[_vm._v(\" I’m sorry, Dave. No gems available.... \")])])],1):_c('div',{staticClass:\"mt-4\"},_vm._l((_vm.listData),function(data,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(data.name))])],1),_c('v-list-item-icon',[(_vm.activeDownload)?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"disabled\":_vm.activeDownload},on:{\"click\":function($event){return _vm.downloadGem(data)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-cloud-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),(index < _vm.listData.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DownloadDialog.vue?vue&type=template&id=5f1d58fe&\"\nimport script from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GemsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GemsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GemsTab.vue?vue&type=template&id=4808e278&\"\nimport script from \"./GemsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./GemsTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"names":["request","method","url","data","params","headers","noAuth","noScope","OpenC3Auth","updateToken","defaultMinValidity","login","localStorage","openc3Token","window","openc3Scope","axios","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","get","path","put","post","delete","vueInstance","Vue","axiosInstance","baseURL","location","origin","timeout","interceptors","response","use","error","status","includes","toString","Promise","reject","body","statusText","config","message","exception","class","$notify","serious","title","render","_vm","this","_c","_self","attrs","width","model","value","show","callback","$$v","expression","_v","_s","staticClass","scopedSlots","_u","key","fn","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","computed","set","methods","type","link","component","ref","files","length","showDownloadDialog","loadingGem","upload","proxy","alertType","showAlert","alert","Object","keys","processes","_l","process","name","domProps","detail","state","formatDate","updated_at","showOutput","_e","gems","gem","index","deleteGem","processOutput","showProcessOutput","disableSearch","searchGithub","listData","activeDownload","downloadGem","expanded","parseGithub","filter","map","getResponse","setTimeout","components","DownloadDialog","SimpleTextDialog","mounted","update","Api","updateProcesses","toDate","formData","then","responses","catch","confirm","okText","cancelText"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/447.js","mappings":"iLAAA,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,CAAG,EAAEC,WAAW,SAAS,CAACT,EAAG,SAAS,CAACA,EAAG,OAAO,CAACU,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBd,EAAIe,OAAOC,MAAM,KAAMC,UAAU,IAAI,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,EAAE,EAAFA,GAAIR,EAAK,EAALA,MAAS,MAAO,CAACF,EAAG,MAAMF,EAAI0B,GAAG1B,EAAI2B,GAAG,CAAC,EAAE,MAAMvB,GAAM,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SAAAA,GAMA,IAJA,mCAEA,2BAEA,mBACAE,EAAAA,GAAAA,EAAAA,WAAAA,GAEA,oBAAA7B,KAAAA,oBACA,8BACAQ,EAAAA,KAAAA,IAAAA,gBAAAA,GACAA,EAAAA,aAAAA,WAAAA,EAAAA,KAAAA,UACAA,EAAAA,OACA,GACA,ICzHiU,I,UCO7TC,GAAY,OACd,EACAtD,EACA0C,GACA,EACA,KACA,KACA,MAIF,EAAeY,EAAiB,O,qFCf5BqB,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,8KAA+K,KAExN,c,uBCJA,IAAIlC,EAAU,EAAQ,MACnBA,EAAQmC,aAAYnC,EAAUA,EAAQoC,SACnB,kBAAZpC,IAAsBA,EAAU,CAAC,CAACiC,EAAOC,GAAIlC,EAAS,MAC7DA,EAAQqC,SAAQJ,EAAOK,QAAUtC,EAAQqC,QAE5C,IAAIR,EAAM,UACGA,EAAI,WAAY7B,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?1ea8","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?e087","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue?107b","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/TargetsTab.vue?e05f","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?f35b","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/EditDialog.vue?b2a9"],"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/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./EditDialog.vue?vue&type=template&id=159dc5bf&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=159dc5bf&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 \"159dc5bf\",\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\":\"targetList\"}},_vm._l((_vm.targets),function(target,index){return _c('div',{key:target},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(target.name))]),_c('v-list-item-subtitle',[_vm._v(\"Plugin: \"+_vm._s(target.plugin))])],1),_c('v-list-item-icon',[(target.modified)?_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({on:{\"click\":function($event){return _vm.downloadTarget(target.name)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Target Modified Files\")])])],1):_vm._e(),_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.showTarget(target)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Target Details\")])])],1)],1),(index < _vm.targets.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),(_vm.showDialog)?_c('edit-dialog',{attrs:{\"content\":_vm.jsonContent,\"title\":`Target: ${_vm.dialogTitle}`,\"readonly\":\"\"},on:{\"submit\":_vm.dialogCallback},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TargetsTab.vue?vue&type=template&id=3fe293a8&\"\nimport script from \"./TargetsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./TargetsTab.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-159dc5bf]{background-color:var(--v-tertiary-darken2)}.v-textarea[data-v-159dc5bf] textarea{padding:5px;background-color:var(--v-tertiary-darken1)!important}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./EditDialog.vue?vue&type=style&index=0&id=159dc5bf&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(\"21cc8bae\", 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","targets","target","index","plugin","modified","downloadTarget","showTarget","length","showDialog","jsonContent","dialogTitle","dialogCallback","components","EditDialog","mounted","update","Api","add","uInt8Array","___CSS_LOADER_EXPORT___","push","module","id","__esModule","default","locals","exports"],"sourceRoot":""}