openc3-cosmos-tool-admin 5.17.1 → 5.18.0

Sign up to get free protection for your applications and to get access to all the features.
data/tools/admin/js/55.js CHANGED
@@ -1,2 +1,2 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[55],{3055:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>f});var a=function(){var t=this,e=t._self._c;return e("div",[e("top-bar",{attrs:{title:t.title}}),t._v(" "),e("v-card",[e("v-tabs",{attrs:{"fixed-tabs":""},model:{value:t.curTab,callback:function(e){t.curTab=e},expression:"curTab"}},t._l(t.tabs,(function(o,a){return e("v-tab",{key:a,attrs:{to:o.path}},[t._v("\n "+t._s(o.displayName)+"\n ")])})),1),t._v(" "),e("router-view")],1)],1)},r=[],n=function(){var t=this,e=t._self._c;return e("mounting-portal",{attrs:{"mount-to":"#openc3-menu",append:""}},[e("v-row",{attrs:{"no-gutters":""}},[e("v-col",{attrs:{"align-self":"end"}},[e("span",{staticClass:"app-title mr-2"},[t._v(t._s(t.title))])])],1),t._v(" "),e("v-row",{staticClass:"flex-nowrap",attrs:{dense:""}},t._l(t.menus,(function(o,a){return e("v-menu",{key:a,ref:"topmenu",refInFor:!0,attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function({on:a,attrs:r}){return[e("v-btn",t._g(t._b({staticClass:"mx-1 menu-button",attrs:{outlined:"","data-test":t.formatDT(`${t.title} ${o.label}`)}},"v-btn",r,!1),a),[e("span",{domProps:{textContent:t._s(o.label)}}),t._v(" "),e("v-icon",{staticClass:"myicon",attrs:{right:""}},[t._v(" mdi-menu-down ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",[e("v-radio-group",{staticClass:"ma-0 pa-0",attrs:{value:o.radioGroup,"hide-details":"",dense:""}},[t._l(o.items,(function(a,r){return[a.divider?e("v-divider",{key:r}):a.subMenu&&a.subMenu.length>0?e("div",{key:r},[e("v-menu",{key:t.k,attrs:{"open-on-hover":"","offset-x":"",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:o,attrs:n}){return[e("v-list-item",t._g(t._b({key:r,attrs:{disabled:a.disabled}},"v-list-item",n,!1),o),[a.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:a.disabled}},[t._v(t._s(a.icon))])],1):t._e(),t._v(" "),a.radio||a.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[t._v(t._s(a.label)+"\n ")]),t._v(" "),e("v-icon",[t._v(" mdi-chevron-right ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",t._l(a.subMenu,(function(o,a){return e("v-list-item",{key:a,on:{click:function(e){return t.subMenuClick(o)}}},[o.icon?e("v-list-item-icon",[e("v-icon",[t._v(t._s(o.icon))])],1):t._e(),t._v(" "),e("v-list-item-title",[t._v(t._s(o.label))])],1)})),1)],1)],1):e("v-list-item",{key:r,attrs:{disabled:a.disabled,"data-test":t.formatDT(`${t.title} ${o.label} ${a.label}`)},on:{click:function(t){return a.command(a)}}},[a.radio?e("v-list-item-action",[e("v-radio",{attrs:{color:"secondary",label:a.label,value:a.label}})],1):t._e(),t._v(" "),a.checkbox?e("v-list-item-action",[e("v-checkbox",{attrs:{color:"secondary",label:a.label},model:{value:a.checked,callback:function(e){t.$set(a,"checked",e)},expression:"option.checked"}})],1):t._e(),t._v(" "),a.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:a.disabled}},[t._v(t._s(a.icon))])],1):t._e(),t._v(" "),a.radio||a.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[t._v(t._s(a.label))])],1)]}))],2)],1)],1)})),1)],1)},i=[];o(4293),o(8715);const s={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(t){return t.replaceAll(" ","-").toLowerCase()},subMenuClick(t){t.command(t),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},l=s;o(1e3);var c=o(2401),d=(0,c.A)(l,n,i,!1,null,"57d4fdd2",null);const u=d.exports;var v=o(6659);const p={components:{TopBar:u},data(){return{title:"Administrator Console",curTab:null,tabs:v.j}},methods:{}},m=p;var _=(0,c.A)(m,a,r,!1,null,null,null);const f=_.exports},9808:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>l});var a=o(6758),r=o.n(a),n=o(935),i=o.n(n),s=i()(r());s.push([t.id,".app-title[data-v-57d4fdd2]{font-size:2rem}.menu-button[data-v-57d4fdd2]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-57d4fdd2]{padding-right:5px}.myicon[data-v-57d4fdd2]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-57d4fdd2] .v-label{margin-left:5px}.v-list-item__icon[data-v-57d4fdd2]{margin-right:15px!important}.v-list-item__title[data-v-57d4fdd2]{color:#fff}",""]);const l=s},1e3:(t,e,o)=>{var a=o(9808);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=o(4825).A;r("7de62207",a,!0,{sourceMap:!1,shadowMode:!1})},473:(t,e,o)=>{"use strict";var a=o(831),r=o(8689),n=o(4282),i=n("match");t.exports=function(t){var e;return a(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===r(t))}},3113:(t,e,o)=>{"use strict";var a=o(9944),r=o(4418),n=o(4578),i=o(4932),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||r(t,"flags")||!n(s,t)?e:a(i,t)}},8715:(t,e,o)=>{"use strict";var a=o(5613),r=o(9944),n=o(6881),i=o(9509),s=o(4188),l=o(4318),c=o(473),d=o(2618),u=o(2913),v=o(3113),p=o(1113),m=o(4282),_=o(1942),f=m("replace"),b=TypeError,h=n("".indexOf),g=n("".replace),k=n("".slice),x=Math.max;a({target:"String",proto:!0},{replaceAll:function(t,e){var o,a,n,m,y,w,C,A,M,T=i(this),$=0,S=0,D="";if(!l(t)){if(o=c(t),o&&(a=d(i(v(t))),!~h(a,"g")))throw new b("`.replaceAll` does not allow non-global regexes");if(n=u(t,f),n)return r(n,t,T,e);if(_&&o)return g(d(T),t,e)}m=d(T),y=d(t),w=s(e),w||(e=d(e)),C=y.length,A=x(1,C),$=h(m,y);while(-1!==$)M=w?d(e(y,$,m)):p(y,m,$,[],void 0,e),D+=k(m,S,$)+M,S=$+C,$=$+A>m.length?-1:h(m,y,$+A);return S<m.length&&(D+=k(m,S)),D}})}}]);
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[55],{3055:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>f});var a=function(){var t=this,e=t._self._c;return e("div",[e("top-bar",{attrs:{title:t.title}}),t._v(" "),e("v-card",[e("v-tabs",{attrs:{"fixed-tabs":""},model:{value:t.curTab,callback:function(e){t.curTab=e},expression:"curTab"}},t._l(t.tabs,(function(o,a){return e("v-tab",{key:a,attrs:{to:o.path}},[t._v("\n "+t._s(o.displayName)+"\n ")])})),1),t._v(" "),e("router-view")],1)],1)},r=[],n=function(){var t=this,e=t._self._c;return e("mounting-portal",{attrs:{"mount-to":"#openc3-menu",append:""}},[e("v-row",{attrs:{"no-gutters":""}},[e("v-col",{attrs:{"align-self":"end"}},[e("span",{staticClass:"app-title mr-2"},[t._v(t._s(t.title))])])],1),t._v(" "),e("v-row",{staticClass:"flex-nowrap",attrs:{dense:""}},t._l(t.menus,(function(o,a){return e("v-menu",{key:a,ref:"topmenu",refInFor:!0,attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function({on:a,attrs:r}){return[e("v-btn",t._g(t._b({staticClass:"mx-1 menu-button",attrs:{outlined:"","data-test":t.formatDT(`${t.title} ${o.label}`)}},"v-btn",r,!1),a),[e("span",{domProps:{textContent:t._s(o.label)}}),t._v(" "),e("v-icon",{staticClass:"myicon",attrs:{right:""}},[t._v(" mdi-menu-down ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",[e("v-radio-group",{staticClass:"ma-0 pa-0",attrs:{value:o.radioGroup,"hide-details":"",dense:""}},[t._l(o.items,(function(a,r){return[a.divider?e("v-divider",{key:r}):a.subMenu&&a.subMenu.length>0?e("div",{key:r},[e("v-menu",{key:t.k,attrs:{"open-on-hover":"","offset-x":"",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:o,attrs:n}){return[e("v-list-item",t._g(t._b({key:r,attrs:{disabled:a.disabled}},"v-list-item",n,!1),o),[a.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:a.disabled}},[t._v(t._s(a.icon))])],1):t._e(),t._v(" "),a.radio||a.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[t._v(t._s(a.label)+"\n ")]),t._v(" "),e("v-icon",[t._v(" mdi-chevron-right ")])],1)]}}],null,!0)},[t._v(" "),e("v-list",t._l(a.subMenu,(function(o,a){return e("v-list-item",{key:a,on:{click:function(e){return t.subMenuClick(o)}}},[o.icon?e("v-list-item-icon",[e("v-icon",[t._v(t._s(o.icon))])],1):t._e(),t._v(" "),e("v-list-item-title",[t._v(t._s(o.label))])],1)})),1)],1)],1):e("v-list-item",{key:r,attrs:{disabled:a.disabled,"data-test":t.formatDT(`${t.title} ${o.label} ${a.label}`)},on:{click:function(t){return a.command(a)}}},[a.radio?e("v-list-item-action",[e("v-radio",{attrs:{color:"secondary",label:a.label,value:a.label}})],1):t._e(),t._v(" "),a.checkbox?e("v-list-item-action",[e("v-checkbox",{attrs:{color:"secondary",label:a.label},model:{value:a.checked,callback:function(e){t.$set(a,"checked",e)},expression:"option.checked"}})],1):t._e(),t._v(" "),a.icon?e("v-list-item-icon",[e("v-icon",{attrs:{disabled:a.disabled}},[t._v(t._s(a.icon))])],1):t._e(),t._v(" "),a.radio||a.checkbox?t._e():e("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[t._v(t._s(a.label))])],1)]}))],2)],1)],1)})),1)],1)},i=[];o(4293),o(8715);const s={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(t){return t.replaceAll(" ","-").toLowerCase()},subMenuClick(t){t.command(t),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},l=s;o(1e3);var c=o(2401),d=(0,c.A)(l,n,i,!1,null,"57d4fdd2",null);const u=d.exports;var v=o(6659);const p={components:{TopBar:u},data(){return{title:"Administrator Console",curTab:null,tabs:v.j}},methods:{}},m=p;var _=(0,c.A)(m,a,r,!1,null,null,null);const f=_.exports},9808:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>l});var a=o(6758),r=o.n(a),n=o(935),i=o.n(n),s=i()(r());s.push([t.id,".app-title[data-v-57d4fdd2]{font-size:2rem}.menu-button[data-v-57d4fdd2]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-57d4fdd2]{padding-right:5px}.myicon[data-v-57d4fdd2]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-57d4fdd2] .v-label{margin-left:5px}.v-list-item__icon[data-v-57d4fdd2]{margin-right:15px!important}.v-list-item__title[data-v-57d4fdd2]{color:#fff}",""]);const l=s},1e3:(t,e,o)=>{var a=o(9808);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.id,a,""]]),a.locals&&(t.exports=a.locals);var r=o(4825).A;r("7de62207",a,!0,{sourceMap:!1,shadowMode:!1})},473:(t,e,o)=>{"use strict";var a=o(831),r=o(8689),n=o(4282),i=n("match");t.exports=function(t){var e;return a(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===r(t))}},3113:(t,e,o)=>{"use strict";var a=o(9944),r=o(4418),n=o(4578),i=o(4932),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||r(t,"flags")||!n(s,t)?e:a(i,t)}},8715:(t,e,o)=>{"use strict";var a=o(5613),r=o(9944),n=o(6881),i=o(9509),s=o(4188),l=o(4318),c=o(473),d=o(2618),u=o(2913),v=o(3113),p=o(1113),m=o(4282),_=o(1942),f=m("replace"),b=TypeError,h=n("".indexOf),g=n("".replace),k=n("".slice),x=Math.max;a({target:"String",proto:!0},{replaceAll:function(t,e){var o,a,n,m,y,w,C,A,M,T,$=i(this),S=0,D="";if(!l(t)){if(o=c(t),o&&(a=d(i(v(t))),!~h(a,"g")))throw new b("`.replaceAll` does not allow non-global regexes");if(n=u(t,f),n)return r(n,t,$,e);if(_&&o)return g(d($),t,e)}m=d($),y=d(t),w=s(e),w||(e=d(e)),C=y.length,A=x(1,C),M=h(m,y);while(-1!==M)T=w?d(e(y,M,m)):p(y,m,M,[],void 0,e),D+=k(m,S,M)+T,S=M+C,M=M+A>m.length?-1:h(m,y,M+A);return S<m.length&&(D+=k(m,S)),D}})}}]);
2
2
  //# sourceMappingURL=55.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"js/55.js","mappings":"wKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,SAASL,EAAIM,GAAG,KAAKJ,EAAG,SAAS,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,aAAa,IAAIG,MAAM,CAACC,MAAOR,EAAIS,OAAQC,SAAS,SAAUC,GAAMX,EAAIS,OAAOE,CAAG,EAAEC,WAAW,WAAWZ,EAAIa,GAAIb,EAAIc,MAAM,SAASC,EAAIC,GAAO,OAAOd,EAAG,QAAQ,CAACe,IAAID,EAAMZ,MAAM,CAAC,GAAKW,EAAIG,OAAO,CAAClB,EAAIM,GAAG,aAAaN,EAAImB,GAAGJ,EAAIK,aAAa,aAAa,IAAG,GAAGpB,EAAIM,GAAG,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AAIT,EAAaC,EAE7C,CACA5D,EAAS2C,EAASyB,GAClBL,EAAepB,EAASgB,GACxBK,EAAoBvB,EAAWmB,GAC1BI,IAAmBJ,EAAejB,EAASiB,IAChDK,EAAeF,EAAanF,OAC5BsF,EAAYX,EAAI,EAAGU,GACnBI,EAAWlB,EAAQnD,EAAQ+D,GAC3B,OAAqB,IAAdM,EACLF,EAAcH,EACVrB,EAASiB,EAAaG,EAAcM,EAAUrE,IAC9C8C,EAAgBiB,EAAc/D,EAAQqE,EAAU,QAAIzC,EAAWgC,GACnEW,GAAUlB,EAAYrD,EAAQsE,EAAgBD,GAAYF,EAC1DG,EAAiBD,EAAWJ,EAC5BI,EAAWA,EAAWH,EAAYlE,EAAOpB,QAAU,EAAIuE,EAAQnD,EAAQ+D,EAAcM,EAAWH,GAKlG,OAHII,EAAiBtE,EAAOpB,SAC1B2F,GAAUlB,EAAYrD,EAAQsE,IAEzBC,CACT,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?c4b5","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?3571","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?41aa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?92ac","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?9d44","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/is-regexp.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/regexp-get-flags.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/es.string.replace-all.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"title\":_vm.title}}),_vm._v(\" \"),_c('v-card',[_c('v-tabs',{attrs:{\"fixed-tabs\":\"\"},model:{value:(_vm.curTab),callback:function ($$v) {_vm.curTab=$$v},expression:\"curTab\"}},_vm._l((_vm.tabs),function(tab,index){return _c('v-tab',{key:index,attrs:{\"to\":tab.path}},[_vm._v(\"\\n \"+_vm._s(tab.displayName)+\"\\n \")])}),1),_vm._v(\" \"),_c('router-view')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"align-self\":\"end\"}},[_c('span',{staticClass:\"app-title mr-2\"},[_vm._v(_vm._s(_vm.title))])])],1),_vm._v(\" \"),_c('v-row',{staticClass:\"flex-nowrap\",attrs:{\"dense\":\"\"}},_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,ref:\"topmenu\",refInFor:true,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1 menu-button\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label}`)}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_vm._v(\" \"),_c('v-icon',{staticClass:\"myicon\",attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider',{key:j}):(option.subMenu && option.subMenu.length > 0)?_c('div',{key:j},[_c('v-menu',{key:_vm.k,attrs:{\"open-on-hover\":\"\",\"offset-x\":\"\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-list-item',_vm._g(_vm._b({key:j,attrs:{\"disabled\":option.disabled}},'v-list-item',attrs,false),on),[(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' +\n (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('v-icon',[_vm._v(\" mdi-chevron-right \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',_vm._l((option.subMenu),function(submenu,k){return _c('v-list-item',{key:k,on:{\"click\":function($event){return _vm.subMenuClick(submenu)}}},[(submenu.icon)?_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(submenu.icon))])],1):_vm._e(),_vm._v(\" \"),_c('v-list-item-title',[_vm._v(_vm._s(submenu.label))])],1)}),1)],1)],1):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label} ${option.label}`)},on:{\"click\":function($event){return option.command(option)}}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),_vm._v(\" \"),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label},model:{value:(option.checked),callback:function ($$v) {_vm.$set(option, \"checked\", $$v)},expression:\"option.checked\"}})],1):_vm._e(),_vm._v(\" \"),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label))]):_vm._e()],1)]})],2)],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!./TopBar.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!./TopBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=57d4fdd2&scoped=true\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=57d4fdd2&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 \"57d4fdd2\",\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!./OpenC3Admin.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!./OpenC3Admin.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OpenC3Admin.vue?vue&type=template&id=71575e4e\"\nimport script from \"./OpenC3Admin.vue?vue&type=script&lang=js\"\nexport * from \"./OpenC3Admin.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, `.app-title[data-v-57d4fdd2]{font-size:2rem}.menu-button[data-v-57d4fdd2]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-57d4fdd2]{padding-right:5px}.myicon[data-v-57d4fdd2]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-57d4fdd2] .v-label{margin-left:5px}.v-list-item__icon[data-v-57d4fdd2]{margin-right:15px!important}.v-list-item__title[data-v-57d4fdd2]{color:#fff}`, \"\"]);\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!./TopBar.vue?vue&type=style&index=0&id=57d4fdd2&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(\"7de62207\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (!isNullOrUndefined(searchValue)) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = indexOf(string, searchString);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = position + advanceBy > string.length ? -1 : indexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n"],"names":["render","_vm","this","_c","_self","attrs","title","_v","model","value","curTab","callback","$$v","expression","_l","tabs","tab","index","key","path","_s","displayName","staticRenderFns","staticClass","menus","menu","i","ref","refInFor","scopedSlots","_u","fn","on","_g","_b","formatDT","label","domProps","radioGroup","items","option","j","divider","subMenu","length","k","disabled","icon","_e","radio","checkbox","style","submenu","$event","subMenuClick","command","checked","$set","props","type","Array","default","String","methods","string","replaceAll","toLowerCase","$refs","topmenu","isActive","mounted","document","component","components","TopBar","data","TabsList","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","locals","exports","add","isObject","classof","wellKnownSymbol","MATCH","it","isRegExp","undefined","call","hasOwn","isPrototypeOf","regExpFlags","RegExpPrototype","RegExp","prototype","R","flags","$","uncurryThis","requireObjectCoercible","isCallable","isNullOrUndefined","toString","getMethod","getRegExpFlags","getSubstitution","IS_PURE","REPLACE","$TypeError","TypeError","indexOf","replace","stringSlice","slice","max","Math","target","proto","searchValue","replaceValue","IS_REG_EXP","replacer","searchString","functionalReplace","searchLength","advanceBy","replacement","O","position","endOfLastMatch","result"],"sourceRoot":""}
1
+ {"version":3,"file":"js/55.js","mappings":"wKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,SAASL,EAAIM,GAAG,KAAKJ,EAAG,SAAS,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,aAAa,IAAIG,MAAM,CAACC,MAAOR,EAAIS,OAAQC,SAAS,SAAUC,GAAMX,EAAIS,OAAOE,CAAG,EAAEC,WAAW,WAAWZ,EAAIa,GAAIb,EAAIc,MAAM,SAASC,EAAIC,GAAO,OAAOd,EAAG,QAAQ,CAACe,IAAID,EAAMZ,MAAM,CAAC,GAAKW,EAAIG,OAAO,CAAClB,EAAIM,GAAG,aAAaN,EAAImB,GAAGJ,EAAIK,aAAa,aAAa,IAAG,GAAGpB,EAAIM,GAAG,KAAKJ,EAAG,gBAAgB,IAAI,EAC3c,EACImB,EAAkB,GCFlBtB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,kBAAkB,CAACE,MAAM,CAAC,WAAW,eAAe,OAAS,KAAK,CAACF,EAAG,QAAQ,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GAC3B,OAAqB,IAAdI,EACLC,EAAcJ,EACVrB,EAASiB,EAAaG,EAAcI,EAAUnE,IAC9C8C,EAAgBiB,EAAc/D,EAAQmE,EAAU,QAAIvC,EAAWgC,GACnEW,GAAUlB,EAAYrD,EAAQsE,EAAgBH,GAAYC,EAC1DE,EAAiBH,EAAWF,EAC5BE,EAAWA,EAAWD,EAAYlE,EAAOpB,QAAU,EAAIuE,EAAQnD,EAAQ+D,EAAcI,EAAWD,GAKlG,OAHII,EAAiBtE,EAAOpB,SAC1B2F,GAAUlB,EAAYrD,EAAQsE,IAEzBC,CACT,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?c4b5","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?3571","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/OpenC3Admin.vue?41aa","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?92ac","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/TopBar.vue?9d44","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/is-regexp.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/internals/regexp-get-flags.js","webpack://@openc3/cosmos-tool-admin/../../node_modules/core-js/modules/es.string.replace-all.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"title\":_vm.title}}),_vm._v(\" \"),_c('v-card',[_c('v-tabs',{attrs:{\"fixed-tabs\":\"\"},model:{value:(_vm.curTab),callback:function ($$v) {_vm.curTab=$$v},expression:\"curTab\"}},_vm._l((_vm.tabs),function(tab,index){return _c('v-tab',{key:index,attrs:{\"to\":tab.path}},[_vm._v(\"\\n \"+_vm._s(tab.displayName)+\"\\n \")])}),1),_vm._v(\" \"),_c('router-view')],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"align-self\":\"end\"}},[_c('span',{staticClass:\"app-title mr-2\"},[_vm._v(_vm._s(_vm.title))])])],1),_vm._v(\" \"),_c('v-row',{staticClass:\"flex-nowrap\",attrs:{\"dense\":\"\"}},_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,ref:\"topmenu\",refInFor:true,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1 menu-button\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label}`)}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_vm._v(\" \"),_c('v-icon',{staticClass:\"myicon\",attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider',{key:j}):(option.subMenu && option.subMenu.length > 0)?_c('div',{key:j},[_c('v-menu',{key:_vm.k,attrs:{\"open-on-hover\":\"\",\"offset-x\":\"\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-list-item',_vm._g(_vm._b({key:j,attrs:{\"disabled\":option.disabled}},'v-list-item',attrs,false),on),[(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' +\n (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('v-icon',[_vm._v(\" mdi-chevron-right \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',_vm._l((option.subMenu),function(submenu,k){return _c('v-list-item',{key:k,on:{\"click\":function($event){return _vm.subMenuClick(submenu)}}},[(submenu.icon)?_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(submenu.icon))])],1):_vm._e(),_vm._v(\" \"),_c('v-list-item-title',[_vm._v(_vm._s(submenu.label))])],1)}),1)],1)],1):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label} ${option.label}`)},on:{\"click\":function($event){return option.command(option)}}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),_vm._v(\" \"),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label},model:{value:(option.checked),callback:function ($$v) {_vm.$set(option, \"checked\", $$v)},expression:\"option.checked\"}})],1):_vm._e(),_vm._v(\" \"),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label))]):_vm._e()],1)]})],2)],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!./TopBar.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!./TopBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=57d4fdd2&scoped=true\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=57d4fdd2&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 \"57d4fdd2\",\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!./OpenC3Admin.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!./OpenC3Admin.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./OpenC3Admin.vue?vue&type=template&id=71575e4e\"\nimport script from \"./OpenC3Admin.vue?vue&type=script&lang=js\"\nexport * from \"./OpenC3Admin.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, `.app-title[data-v-57d4fdd2]{font-size:2rem}.menu-button[data-v-57d4fdd2]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-57d4fdd2]{padding-right:5px}.myicon[data-v-57d4fdd2]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-57d4fdd2] .v-label{margin-left:5px}.v-list-item__icon[data-v-57d4fdd2]{margin-right:15px!important}.v-list-item__title[data-v-57d4fdd2]{color:#fff}`, \"\"]);\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!./TopBar.vue?vue&type=style&index=0&id=57d4fdd2&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(\"7de62207\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","'use strict';\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, position, replacement;\n var endOfLastMatch = 0;\n var result = '';\n if (!isNullOrUndefined(searchValue)) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) return call(replacer, searchValue, O, replaceValue);\n if (IS_PURE && IS_REG_EXP) return replace(toString(O), searchValue, replaceValue);\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = indexOf(string, searchString);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = position + advanceBy > string.length ? -1 : indexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n"],"names":["render","_vm","this","_c","_self","attrs","title","_v","model","value","curTab","callback","$$v","expression","_l","tabs","tab","index","key","path","_s","displayName","staticRenderFns","staticClass","menus","menu","i","ref","refInFor","scopedSlots","_u","fn","on","_g","_b","formatDT","label","domProps","radioGroup","items","option","j","divider","subMenu","length","k","disabled","icon","_e","radio","checkbox","style","submenu","$event","subMenuClick","command","checked","$set","props","type","Array","default","String","methods","string","replaceAll","toLowerCase","$refs","topmenu","isActive","mounted","document","component","components","TopBar","data","TabsList","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","locals","exports","add","isObject","classof","wellKnownSymbol","MATCH","it","isRegExp","undefined","call","hasOwn","isPrototypeOf","regExpFlags","RegExpPrototype","RegExp","prototype","R","flags","$","uncurryThis","requireObjectCoercible","isCallable","isNullOrUndefined","toString","getMethod","getRegExpFlags","getSubstitution","IS_PURE","REPLACE","$TypeError","TypeError","indexOf","replace","stringSlice","slice","max","Math","target","proto","searchValue","replaceValue","IS_REG_EXP","replacer","searchString","functionalReplace","searchLength","advanceBy","position","replacement","O","endOfLastMatch","result"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[56],{2795:(t,e,s)=>{"use strict";s.d(e,{A:()=>i});var o=s(2673);const a=async function(t,e,{data:s,params:a={},headers:n,noAuth:r=!1,noScope:i=!1,onUploadProgress:l=!1}={}){if(!r){try{let t=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);t&&OpenC3Auth.setTokens()}catch(c){OpenC3Auth.login()}n["Authorization"]=localStorage.openc3Token}return n["manual"]=!0,i||a["scope"]||(a["scope"]=window.openc3Scope),(0,o.A)({method:t,url:e,data:s,params:a,headers:n,onUploadProgress:l})},n={Accept:"application/json"},r={...n,"Content-Type":"application/json"},i={get:function(t,{params:e,headers:s=n,noScope:o,noAuth:r,onUploadProgress:i}={}){return a("get",t,{params:e,headers:s,noScope:o,noAuth:r,onUploadProgress:i})},put:function(t,{data:e,params:s,headers:o=r,noScope:n,noAuth:i,onUploadProgress:l}={}){return a("put",t,{data:e,params:s,headers:o,noScope:n,noAuth:i,onUploadProgress:l})},post:function(t,{data:e,params:s,headers:o=r,noScope:n,noAuth:i,onUploadProgress:l}={}){return a("post",t,{data:e,params:s,headers:o,noScope:n,noAuth:i,onUploadProgress:l})},delete:function(t,{params:e,headers:s=n,noScope:o,noAuth:r,onUploadProgress:i}={}){return a("delete",t,{params:e,headers:s,noScope:o,noAuth:r,onUploadProgress:i})}}},2673:(t,e,s)=>{"use strict";s.d(e,{A:()=>i});var o=s(3816),a=s(1649);const n=new a["default"],r=o.A.create({baseURL:location.origin,timeout:6e4,params:{}});r.interceptors.response.use((t=>t),(t=>{if(t.response){if(401===t.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(t){t&&OpenC3Auth.setTokens()})),t.response.config.headers["Ignore-Errors"]&&t.response.config.headers["Ignore-Errors"].includes(t.response.status.toString()))return Promise.reject(t);let e=`HTTP ${t.response.status} - `;throw t.response?.statusText&&(e+=`${t.response.statusText} `),t.response?.config?.data&&(e+=`${t.response.config.data} `),t.response?.data?.message?e+=`${t.response.data.message}`:t.response?.data?.exception?e+=`${t.response.data.exception}`:t.response?.data?.error?.message?(t.response.data.error.class&&(e+=`${t.response.data.error.class} `),e+=`${t.response.data.error.message}`):e+=`${t.response?.data}`,n.$notify&&n.$notify.serious({title:"Network error",body:e}),t}throw t}));const i=r},3348:(t,e,s)=>{"use strict";s.d(e,{A:()=>c});var o=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"),t._v(" "),e("span",[t._v(" "+t._s(t.title)+" ")]),t._v(" "),e("v-spacer"),t._v(" "),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function({on:s,attrs:o}){return[e("div",t._g(t._b({},"div",o,!1),s),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v("\n mdi-download\n ")])],1)]}}])},[t._v(" "),e("span",[t._v(" Download ")])])],1)],1),t._v(" "),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.text))])])]),t._v(" "),e("v-card-actions",[e("v-spacer"),t._v(" "),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},a=[];s(3165),s(4541),s(4397),s(1412),s(1883),s(7905);const n={props:{value:Boolean,text:String,title:String,width:800},computed:{show:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{download:function(){const t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download",`${this.title}.txt`),e.click()}}},r=n;var i=s(2401),l=(0,i.A)(r,o,a,!1,null,null,null);const c=l.exports},3056:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>k});var o=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:{multiple:"","show-size":"",accept:".gem,.gz,.zip,.whl",label:"Click to select file(s) to add to COSMOS"},model:{value:t.files,callback:function(e){t.files=e},expression:"files"}})],1),t._v(" "),e("v-col",{staticClass:"ml-4 mr-2",attrs:{cols:"4"}},[e("rux-progress",{attrs:{value:t.progress}})],1),t._v(" "),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"packageUpload",disabled:t.files.length<1,loading:t.loadingPackage},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")]),t._v(" "),e("span",[t._v(" Upload ")])],1)],1),t._v(" "),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))]),t._v(" "),Object.keys(t.processes).length>0?e("v-list",{staticClass:"list",attrs:{"data-test":"process-list"}},[e("v-row",{staticClass:"px-4",attrs:{"no-gutters":""}},[e("v-col",{staticClass:"text-h6"},[t._v("Process List")]),t._v(" "),e("v-col",{attrs:{align:"right"}},[e("div",[t._v("Showing last 10 min of activity")])])],1),t._v(" "),t._l(t.processes,(function(s){return e("div",{key:s.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{class:s.state.toLowerCase(),domProps:{textContent:t._s(`Processing ${s.process_type}: ${s.detail} - ${s.state}`)}})]),t._v(" "),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(s.updated_at))}})])],1),t._v(" "),"Running"!==s.state?e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:o,attrs:a}){return[e("v-icon",t._g(t._b({on:{click:function(e){return t.showOutput(s)}}},"v-icon",a,!1),o),[t._v("\n mdi-eye\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("Show Output")])])],1):t._e()],1),t._v(" "),e("v-divider")],1)}))],2):t._e(),t._v(" "),e("v-list",{staticClass:"list",attrs:{"data-test":"packageList"}},[e("v-row",{staticClass:"px-4"},[e("v-col",{staticClass:"text-h6"},[t._v("Ruby Gems")])],1),t._v(" "),t._l(t.gems,(function(s,o){return e("div",{key:o},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(s))])],1),t._v(" "),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:o,attrs:a}){return[e("v-icon",t._g(t._b({on:{click:function(e){return t.deletePackage(s)}}},"v-icon",a,!1),o),[t._v("\n mdi-delete\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("Delete Package")])])],1)],1),t._v(" "),e("v-divider")],1)})),t._v(" "),e("v-row",{staticClass:"px-4"},[e("v-col",{staticClass:"text-h6"},[t._v("Python Packages")])],1),t._v(" "),t._l(t.python,(function(s,o){return e("div",{key:o},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(s))])],1),t._v(" "),e("v-list-item-icon",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:o,attrs:a}){return[e("v-icon",t._g(t._b({on:{click:function(e){return t.deletePackage(s)}}},"v-icon",a,!1),o),[t._v("\n mdi-delete\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("Delete Package")])])],1)],1),t._v(" "),e("v-divider")],1)}))],2),t._v(" "),e("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),t._v(" "),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=[],n=s(584),r=s(2509),i=s(2795),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"),t._v(" "),e("span",[t._v(" Download Gems ")]),t._v(" "),e("v-spacer")],1),t._v(" "),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),t._v(" "),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("\n Github\n "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),t._v(" "),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t._v(" "),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(s,o){return e("div",{key:o},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(s.name))])],1),t._v(" "),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({on:o,attrs:a}){return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(s)}}},"v-icon",a,!1),o),[t._v("\n mdi-cloud-download\n ")])]}}],null,!0)},[t._v(" "),e("span",[t._v("Download Gem")])])],1)])],1),t._v(" "),o<t.listData.length-1?e("v-divider",{key:o}):t._e()],1)})),0)],1)])],1)],1)},c=[],p=s(3816);const u={props:{value:Boolean},data(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get(){return this.value},set(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){const t=/\w+.gem/;return this.response.tree.filter((e=>t.exec(e.path))).map((t=>({name:t.path,url:`https://raw.github.com/OpenC3/openc3-tools/main/${t.path}`})))},getResponse:function(){this.disableSearch=!0,p.A.get(this.url).then((t=>{this.response=t.data})),setTimeout((()=>{this.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){const e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},d=u;var v=s(2401),h=(0,v.A)(d,l,c,!1,null,null,null);const m=h.exports;var _=s(3348);const g={components:{DownloadDialog:m,SimpleTextDialog:_.A},data(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingPackage:!1,progress:0,gems:[],python:[],processes:{},alert:"",alertType:"success",showAlert:!1}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update(){i.A.get("/openc3-api/packages").then((t=>{this.gems=t.data.ruby,this.python=t.data.python}))},updateProcesses:function(){i.A.get("/openc3-api/process_status/package_?substr=true").then((t=>{this.processes=t.data,Object.keys(this.processes).length>0&&setTimeout((()=>{this.updateProcesses(),this.update()}),1e4)}))},formatDate(t){return(0,n.GP)((0,r.a)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){this.loadingPackage=!0,this.progress=0;let t=this;const e=this.files.map((e=>{const s=new FormData;return s.append("package",e,e.name),i.A.post("/openc3-api/packages",{data:s,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(e){var s=Math.round(100*e.loaded/e.total);t.progress=s}})}));Promise.all(e).then((t=>{this.progress=100,this.alert=`Uploaded ${t.length} package${t.length>1?"s":""}`,this.alertType="success",this.showAlert=!0,this.loadingPackage=!1,this.files=[],setTimeout((()=>{this.showAlert=!1,this.updateProcesses()}),5e3),this.update()})).catch((t=>{this.loadingPackage=!1}))},deletePackage:function(t){this.$dialog.confirm(`Are you sure you want to remove: ${t}`,{okText:"Delete",cancelText:"Cancel"}).then((function(e){return i.A.delete(`/openc3-api/packages/${t}`)})).then((e=>{this.alert=`Removed package ${t}`,this.alertType="success",this.showAlert=!0,setTimeout((()=>{this.showAlert=!1}),5e3),this.update()}))}}},f=g;s(4758);var w=(0,v.A)(f,o,a,!1,null,"3fdf3675",null);const k=w.exports},5582:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var o=s(6758),a=s.n(o),n=s(935),r=s.n(n),i=r()(a());i.push([t.id,".v-subheader[data-v-3fdf3675]{font-size:1rem}.list[data-v-3fdf3675]{background-color:var(--color-background-surface-default)!important}",""]);const l=i},4758:(t,e,s)=>{var o=s(5582);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.id,o,""]]),o.locals&&(t.exports=o.locals);var a=s(4825).A;a("29507692",o,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
+ //# sourceMappingURL=56.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/56.js","mappings":"yKAwBA,MAAMA,EAAUC,eACdC,EACAC,GACA,KACEC,EAAI,OACJC,EAAS,CAAC,EAAC,QACXC,EAAO,OACPC,GAAS,EAAK,QACdC,GAAU,EAAK,iBACfC,GAAmB,GACjB,CAAC,GAEL,IAAKF,EAAQ,CACX,IACE,IAAIG,QAAkBC,WAAWC,YAC/BD,WAAWE,oBAETH,GACFC,WAAWG,WAEf,CAAE,MAAOC,GACPJ,WAAWK,OACb,CACAV,EAA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AA,SAAAE,GACA,KAAAiD,QACAC,QAAA,oCAAAlD,IAAA,CACAmD,OAAA,SACAC,WAAA,WAEA/I,MAAA,SAAAgJ,GACA,OAAAzB,EAAAA,EAAApI,OAAA,wBAAAwG,IACA,IACA3F,MAAAH,IACA,KAAAyE,MAAA,mBAAAqB,IACA,KAAAvB,UAAA,UACA,KAAAC,WAAA,EACAyC,YAAA,KACA,KAAAzC,WAAA,IACA,KACA,KAAA+C,QAAA,GAEA,II5QiU,I,YCQ7T,GAAY,OACd,EACAtG,EACA2B,GACA,EACA,KACA,WACA,MAIF,QAAe,EAAiB,O,qGChB5BwG,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,0IAA2I,KAEpL,S,iBCJA,IAAIC,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACF,EAAOC,GAAIC,EAAS,MAC7DA,EAAQG,SAAQL,EAAOM,QAAUJ,EAAQG,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYL,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/api.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?abaa","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/PackagesTab.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?bac1","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/PackagesTab.vue?1715","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PackagesTab.vue?cbd0","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PackagesTab.vue?7fac","webpack://@openc3/cosmos-tool-admin/../openc3-tool-common/src/tools/admin/tabs/PackagesTab.vue?5e0c"],"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 {\n data,\n params = {},\n headers,\n noAuth = false,\n noScope = false,\n onUploadProgress = false,\n } = {}\n) {\n if (!noAuth) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n } catch (error) {\n OpenC3Auth.login()\n }\n headers['Authorization'] = localStorage.openc3Token\n }\n // Everything from the front-end is manual by default\n // The various api methods decide whether to pass the manual\n // flag to the authorize routine\n headers['manual'] = true\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 onUploadProgress,\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 {\n params,\n headers = acceptOnlyDefaultHeaders,\n noScope,\n noAuth,\n onUploadProgress,\n } = {}\n ) {\n return request('get', path, {\n params,\n headers,\n noScope,\n noAuth,\n onUploadProgress,\n })\n },\n\n put: function (\n path,\n {\n data,\n params,\n headers = fullDefaultHeaders,\n noScope,\n noAuth,\n onUploadProgress,\n } = {}\n ) {\n return request('put', path, {\n data,\n params,\n headers,\n noScope,\n noAuth,\n onUploadProgress,\n })\n },\n\n post: function (\n path,\n {\n data,\n params,\n headers = fullDefaultHeaders,\n noScope,\n noAuth,\n onUploadProgress,\n } = {}\n ) {\n return request('post', path, {\n data,\n params,\n headers,\n noScope,\n noAuth,\n onUploadProgress,\n })\n },\n\n delete: function (\n path,\n {\n params,\n headers = acceptOnlyDefaultHeaders,\n noScope,\n noAuth,\n onUploadProgress,\n } = {}\n ) {\n return request('delete', path, {\n params,\n headers,\n noScope,\n noAuth,\n onUploadProgress,\n })\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n },\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // headers: {\n // 'Ignore-Errors': '404',\n // },\n // })\n if (\n error.response.config.headers['Ignore-Errors'] &&\n error.response.config.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'),_vm._v(\" \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_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(\"\\n mdi-download\\n \")])],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Download \")])])],1)],1),_vm._v(\" \"),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_vm._v(\" \"),_c('v-card-actions',[_c('v-spacer'),_vm._v(\" \"),_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',{staticClass:\"px-2\",attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"multiple\":\"\",\"show-size\":\"\",\"accept\":\".gem,.gz,.zip,.whl\",\"label\":\"Click to select file(s) to add to COSMOS\"},model:{value:(_vm.files),callback:function ($$v) {_vm.files=$$v},expression:\"files\"}})],1),_vm._v(\" \"),_c('v-col',{staticClass:\"ml-4 mr-2\",attrs:{\"cols\":\"4\"}},[_c('rux-progress',{attrs:{\"value\":_vm.progress}})],1),_vm._v(\" \"),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"packageUpload\",\"disabled\":_vm.files.length < 1,\"loading\":_vm.loadingPackage},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\")]),_vm._v(\" \"),_c('span',[_vm._v(\" Upload \")])],1)],1),_vm._v(\" \"),_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))]),_vm._v(\" \"),(Object.keys(_vm.processes).length > 0)?_c('v-list',{staticClass:\"list\",attrs:{\"data-test\":\"process-list\"}},[_c('v-row',{staticClass:\"px-4\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-h6\"},[_vm._v(\"Process List\")]),_vm._v(\" \"),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('div',[_vm._v(\"Showing last 10 min of activity\")])])],1),_vm._v(\" \"),_vm._l((_vm.processes),function(process){return _c('div',{key:process.name},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('span',{class:process.state.toLowerCase(),domProps:{\"textContent\":_vm._s(\n `Processing ${process.process_type}: ${process.detail} - ${process.state}`\n )}})]),_vm._v(\" \"),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),_vm._v(\" \"),(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(\"\\n mdi-eye\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Show Output\")])])],1):_vm._e()],1),_vm._v(\" \"),_c('v-divider')],1)})],2):_vm._e(),_vm._v(\" \"),_c('v-list',{staticClass:\"list\",attrs:{\"data-test\":\"packageList\"}},[_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"text-h6\"},[_vm._v(\"Ruby Gems\")])],1),_vm._v(\" \"),_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),_vm._v(\" \"),_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.deletePackage(gem)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-delete\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Delete Package\")])])],1)],1),_vm._v(\" \"),_c('v-divider')],1)}),_vm._v(\" \"),_c('v-row',{staticClass:\"px-4\"},[_c('v-col',{staticClass:\"text-h6\"},[_vm._v(\"Python Packages\")])],1),_vm._v(\" \"),_vm._l((_vm.python),function(pkg,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(pkg))])],1),_vm._v(\" \"),_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.deletePackage(pkg)}}},'v-icon',attrs,false),on),[_vm._v(\"\\n mdi-delete\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Delete Package\")])])],1)],1),_vm._v(\" \"),_c('v-divider')],1)})],2),_vm._v(\" \"),_c('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_vm._v(\" \"),_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'),_vm._v(\" \"),_c('span',[_vm._v(\" Download Gems \")]),_vm._v(\" \"),_c('v-spacer')],1),_vm._v(\" \"),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_vm._v(\" \"),_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(\"\\n Github\\n \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_vm._v(\" \"),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),_vm._v(\" \"),(_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),_vm._v(\" \"),_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(\"\\n mdi-cloud-download\\n \")])]}}],null,true)},[_vm._v(\" \"),_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),_vm._v(\" \"),(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!./PackagesTab.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!./PackagesTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PackagesTab.vue?vue&type=template&id=3fdf3675&scoped=true\"\nimport script from \"./PackagesTab.vue?vue&type=script&lang=js\"\nexport * from \"./PackagesTab.vue?vue&type=script&lang=js\"\nimport style0 from \"./PackagesTab.vue?vue&type=style&index=0&id=3fdf3675&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 \"3fdf3675\",\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-subheader[data-v-3fdf3675]{font-size:1rem}.list[data-v-3fdf3675]{background-color:var(--color-background-surface-default)!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!./PackagesTab.vue?vue&type=style&index=0&id=3fdf3675&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(\"29507692\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["request","async","method","url","data","params","headers","noAuth","noScope","onUploadProgress","refreshed","OpenC3Auth","updateToken","defaultMinValidity","setTokens","error","login","localStorage","openc3Token","window","openc3Scope","axios","acceptOnlyDefaultHeaders","Accept","fullDefaultHeaders","get","path","put","post","delete","vueInstance","Vue","axiosInstance","create","baseURL","location","origin","timeout","interceptors","response","use","status","then","config","includes","toString","Promise","reject","body","statusText","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","Boolean","String","computed","set","$emit","methods","blob","Blob","type","link","document","createElement","href","URL","createObjectURL","setAttribute","click","component","ref","files","progress","length","loadingPackage","upload","proxy","alertType","showAlert","alert","Object","keys","processes","_l","process","name","state","toLowerCase","domProps","process_type","detail","formatDate","updated_at","showOutput","_e","gems","gem","index","deletePackage","python","pkg","showDownloadDialog","processOutput","showProcessOutput","disableSearch","searchGithub","listData","activeDownload","downloadGem","expanded","parseGithub","parseRuby","gemRegEx","tree","filter","f","exec","map","getResponse","setTimeout","remove","components","DownloadDialog","SimpleTextDialog","mounted","update","updateProcesses","output","Api","ruby","nanoSecs","format","toDate","parseInt","self","promises","file","formData","FormData","append","progressEvent","percentCompleted","Math","round","loaded","total","all","responses","catch","$dialog","confirm","okText","cancelText","dialog","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","default","locals","exports","add"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[565],{2795:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(2673);const s=async function(e,t,{data:o,params:s={},headers:r,noAuth:i=!1,noScope:a=!1,onUploadProgress:l={}}={}){if(!i){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(d){OpenC3Auth.login()}r["Authorization"]=localStorage.openc3Token}return a||s["scope"]||(s["scope"]=window.openc3Scope),(0,n.A)({method:e,url:t,data:o,params:s,headers:r,onUploadProgress:l})},r={Accept:"application/json"},i={...r,"Content-Type":"application/json"},a={get:function(e,{params:t,headers:o=r,noScope:n,noAuth:i,onUploadProgress:a}={}){return s("get",e,{params:t,headers:o,noScope:n,noAuth:i,onUploadProgress:a})},put:function(e,{data:t,params:o,headers:n=i,noScope:r,noAuth:a,onUploadProgress:l}={}){return s("put",e,{data:t,params:o,headers:n,noScope:r,noAuth:a,onUploadProgress:l})},post:function(e,{data:t,params:o,headers:n=i,noScope:r,noAuth:a,onUploadProgress:l}={}){return s("post",e,{data:t,params:o,headers:n,noScope:r,noAuth:a,onUploadProgress:l})},delete:function(e,{params:t,headers:o=r,noScope:n,noAuth:i,onUploadProgress:a}={}){return s("delete",e,{params:t,headers:o,noScope:n,noAuth:i,onUploadProgress:a})}}},2673:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(3816),s=o(1649);const r=new s["default"],i=n.A.create({baseURL:location.origin,timeout:6e4,params:{}});i.interceptors.response.use((e=>e),(e=>{if(e.response){var t,o,n,s,i;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let l=`HTTP ${e.response.status} - `;if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(l+=`${e.response.statusText} `),null!==(o=e.response)&&void 0!==o&&null!==(o=o.config)&&void 0!==o&&o.data&&(l+=`${e.response.config.data} `),null!==(n=e.response)&&void 0!==n&&null!==(n=n.data)&&void 0!==n&&n.message)l+=`${e.response.data.message}`;else if(null!==(s=e.response)&&void 0!==s&&null!==(s=s.data)&&void 0!==s&&s.exception)l+=`${e.response.data.exception}`;else if(null!==(i=e.response)&&void 0!==i&&null!==(i=i.data)&&void 0!==i&&null!==(i=i.error)&&void 0!==i&&i.message)e.response.data.error.class&&(l+=`${e.response.data.error.class} `),l+=`${e.response.data.error.message}`;else{var a;l+=`${null===(a=e.response)||void 0===a?void 0:a.data}`}throw r.$notify&&r.$notify.serious({title:"Network error",body:l}),e}throw e}));const a=i},2204:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:!e.readonly,width:"80vw"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("v-system-bar",[t("v-spacer"),e._v(" "),t("span",{domProps:{textContent:e._s(e.title)}}),e._v(" "),t("v-spacer"),e._v(" "),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function({on:o,attrs:n}){return[t("div",e._g(e._b({},"div",n,!1),o),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v("\n mdi-download\n ")])],1)]}}])},[e._v(" "),t("span",[e._v(" Download ")])])],1)],1),e._v(" "),t("v-card-text",[t("div",{staticClass:"pa-3"},[e.readonly?e._e():t("div",[t("v-row",{staticClass:"mt-3"},[e._v(" Upload a file. ")]),e._v(" "),t("v-row",{attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-btn",{attrs:{block:"",color:"success",disabled:!e.file||e.loadingFile||e.readonly,loading:e.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:e.loadFile},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[e._v("\n Load\n ")])],1),e._v(" "),t("v-col",{attrs:{cols:"9"}},[t("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:e.readonly},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1)],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),e._v(" "),t("v-row",{staticClass:"my-3"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:e._s(e.error)}})]),e._v(" "),t("v-row",[t("v-spacer"),e._v(" "),t("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[e._v("\n Cancel\n ")]),e._v(" "),e.readonly?e._e():t("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!e.error||e.readonly}},[e._v("\n Save\n ")])],1)],1)])],1)])],1)},s=[],r=(o(7010),o(3165),o(4541),o(4397),o(1412),o(1883),o(7905),o(1841));o(2739),o(6049),o(5617),o(6717),o(9946);const i={props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data(){return{editor:null}},mounted(){const e=this.buildPluginMode();this.editor=r.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new e),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy(){this.editor&&this.editor.destroy()},computed:{show:{get(){return this.value},set(e){this.$emit("input",e)}},title:function(){return`${this.type}: ${this.name}`},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){const e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download",`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`),t.click()},buildPluginMode(){var e=r.require("ace/lib/oop"),t=r.require("ace/mode/json_highlight_rules").JsonHighlightRules,o=r.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,n=r.require("ace/mode/behaviour/cstyle").CstyleBehaviour,s=r.require("ace/mode/folding/ruby").FoldMode,i=function(){this.HighlightRules=t,this.$outdent=new o,this.$behaviour=new n,this.foldingRules=new s,this.indentKeywords=this.foldingRules.indentKeywords},a=r.require("ace/mode/ruby").Mode;return e.inherits(i,a),function(){this.$id="ace/mode/openc3"}.call(i.prototype),i}}},a=i;o(9153);var l=o(2401),d=(0,l.A)(a,n,s,!1,null,"1692580e",null);const c=d.exports},2565:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>u});var n=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{staticClass:"list",attrs:{"data-test":"routerList"}},e._l(e.routers,(function(o,n){return t("div",{key:n},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(o))])],1),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:s}){return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showRouter(o)}}},"v-icon",s,!1),n),[e._v("\n mdi-eye\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("Show Router Details")])])],1)],1),e._v(" "),t("v-divider")],1)})),0),e._v(" "),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Router",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e()],1)},s=[],r=o(2795),i=o(2204);const a={components:{EditDialog:i.A},data(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){r.A.get("/openc3-api/routers").then((e=>{this.routers=e.data}))},add(){},showRouter(e){r.A.get(`/openc3-api/routers/${e}`).then((t=>{this.jsonContent=JSON.stringify(t.data,null,"\t"),this.dialogTitle=e,this.showDialog=!0}))},dialogCallback(e){this.showDialog=!1}}},l=a;o(5538);var d=o(2401),c=(0,d.A)(l,n,s,!1,null,"acffef46",null);const u=c.exports},6049:(e,t,o)=>{e=o.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,o){"use strict";var n=e("../lib/oop"),s=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};n.inherits(r,s),t.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,o){"use strict";var n=e("../range").Range,s=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var o=e.getLine(t),s=o.match(/^(\s*\})/);if(!s)return 0;var r=s[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var a=this.$getIndent(e.getLine(i.row));e.replace(new n(t,0,t,r-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(s.prototype),t.MatchingBraceOutdent=s})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,o){"use strict";var n=e("../../lib/oop"),s=e("../../range").Range,r=e("./fold_mode").FoldMode,i=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};n.inherits(i,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,o){var n=e.getLine(o);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var s=this._getFoldWidgetBase(e,t,o);return!s&&this.startRegionRe.test(n)?"start":s},this.getFoldWidgetRange=function(e,t,o,n){var s=e.getLine(o);if(this.startRegionRe.test(s))return this.getCommentRegionBlock(e,s,o);var r=s.match(this.foldingStartMarker);if(r){var i=r.index;if(r[1])return this.openingBracketBlock(e,r[1],o,i);var a=e.getCommentFoldRange(o,i+r[0].length,1);return a&&!a.isMultiLine()&&(n?a=this.getSectionRange(e,o):"all"!=t&&(a=null)),a}if("markbegin"!==t){r=s.match(this.foldingStopMarker);if(r){i=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],o,i):e.getCommentFoldRange(o,i,-1)}}},this.getSectionRange=function(e,t){var o=e.getLine(t),n=o.search(/\S/),r=t,i=o.length;t+=1;var a=t,l=e.getLength();while(++t<l){o=e.getLine(t);var d=o.search(/\S/);if(-1!==d){if(n>d)break;var c=this.getFoldWidgetRange(e,"all",t);if(c){if(c.start.row<=r)break;if(c.isMultiLine())t=c.end.row;else if(n==d)break}a=t}}return new s(r,i,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,o){var n=t.search(/\s*$/),r=e.getLength(),i=o,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;while(++o<r){t=e.getLine(o);var d=a.exec(t);if(d&&(d[1]?l--:l++,!l))break}var c=o;if(c>i)return new s(i,n,c,t.length)}}.call(i.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,o){"use strict";var n=e("../lib/oop"),s=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,i=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,d=function(){this.HighlightRules=r,this.$outdent=new i,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};n.inherits(d,s),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,o){var n=this.$getIndent(t);if("start"==e){var s=t.match(/^.*[\{\(\[]\s*$/);s&&(n+=o)}return n},this.checkOutdent=function(e,t,o){return this.$outdent.checkOutdent(t,o)},this.autoOutdent=function(e,t,o){this.$outdent.autoOutdent(t,o)},this.createWorker=function(e){var t=new l(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(d.prototype),t.Mode=d})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},8889:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(6758),s=o.n(n),r=o(935),i=o.n(r),a=i()(s());a.push([e.id,".editor[data-v-1692580e]{height:50vh;width:75vw;position:relative;font-size:16px}.v-textarea[data-v-1692580e] textarea{padding:5px}",""]);const l=a},1866:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(6758),s=o.n(n),r=o(935),i=o.n(r),a=i()(s());a.push([e.id,".list[data-v-acffef46]{background-color:var(--color-background-surface-default)!important}",""]);const l=a},9153:(e,t,o)=>{var n=o(8889);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var s=o(4825).A;s("8d3edd5e",n,!0,{sourceMap:!1,shadowMode:!1})},5538:(e,t,o)=>{var n=o(1866);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var s=o(4825).A;s("68efe49c",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
1
+ (self["webpackChunk_openc3_cosmos_tool_admin"]=self["webpackChunk_openc3_cosmos_tool_admin"]||[]).push([[565],{2795:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(2673);const s=async function(e,t,{data:o,params:s={},headers:r,noAuth:i=!1,noScope:a=!1,onUploadProgress:l=!1}={}){if(!i){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(d){OpenC3Auth.login()}r["Authorization"]=localStorage.openc3Token}return r["manual"]=!0,a||s["scope"]||(s["scope"]=window.openc3Scope),(0,n.A)({method:e,url:t,data:o,params:s,headers:r,onUploadProgress:l})},r={Accept:"application/json"},i={...r,"Content-Type":"application/json"},a={get:function(e,{params:t,headers:o=r,noScope:n,noAuth:i,onUploadProgress:a}={}){return s("get",e,{params:t,headers:o,noScope:n,noAuth:i,onUploadProgress:a})},put:function(e,{data:t,params:o,headers:n=i,noScope:r,noAuth:a,onUploadProgress:l}={}){return s("put",e,{data:t,params:o,headers:n,noScope:r,noAuth:a,onUploadProgress:l})},post:function(e,{data:t,params:o,headers:n=i,noScope:r,noAuth:a,onUploadProgress:l}={}){return s("post",e,{data:t,params:o,headers:n,noScope:r,noAuth:a,onUploadProgress:l})},delete:function(e,{params:t,headers:o=r,noScope:n,noAuth:i,onUploadProgress:a}={}){return s("delete",e,{params:t,headers:o,noScope:n,noAuth:i,onUploadProgress:a})}}},2673:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var n=o(3816),s=o(1649);const r=new s["default"],i=n.A.create({baseURL:location.origin,timeout:6e4,params:{}});i.interceptors.response.use((e=>e),(e=>{if(e.response){if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let t=`HTTP ${e.response.status} - `;throw e.response?.statusText&&(t+=`${e.response.statusText} `),e.response?.config?.data&&(t+=`${e.response.config.data} `),e.response?.data?.message?t+=`${e.response.data.message}`:e.response?.data?.exception?t+=`${e.response.data.exception}`:e.response?.data?.error?.message?(e.response.data.error.class&&(t+=`${e.response.data.error.class} `),t+=`${e.response.data.error.message}`):t+=`${e.response?.data}`,r.$notify&&r.$notify.serious({title:"Network error",body:t}),e}throw e}));const a=i},2204:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{persistent:!e.readonly,width:"80vw"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("v-system-bar",[t("v-spacer"),e._v(" "),t("span",{domProps:{textContent:e._s(e.title)}}),e._v(" "),t("v-spacer"),e._v(" "),t("div",{staticClass:"mx-2"},[t("v-tooltip",{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function({on:o,attrs:n}){return[t("div",e._g(e._b({},"div",n,!1),o),[t("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:e.download}},[e._v("\n mdi-download\n ")])],1)]}}])},[e._v(" "),t("span",[e._v(" Download ")])])],1)],1),e._v(" "),t("v-card-text",[t("div",{staticClass:"pa-3"},[e.readonly?e._e():t("div",[t("v-row",{staticClass:"mt-3"},[e._v(" Upload a file. ")]),e._v(" "),t("v-row",{attrs:{"no-gutters":"",align:"center"}},[t("v-col",{attrs:{cols:"3"}},[t("v-btn",{attrs:{block:"",color:"success",disabled:!e.file||e.loadingFile||e.readonly,loading:e.loadingFile,"data-test":"editScreenLoadBtn"},on:{click:e.loadFile},scopedSlots:e._u([{key:"loader",fn:function(){return[t("span",[e._v("Loading...")])]},proxy:!0}],null,!1,2673048543)},[e._v("\n Load\n ")])],1),e._v(" "),t("v-col",{attrs:{cols:"9"}},[t("v-file-input",{attrs:{accept:".json",label:"Click to select .json file.",disabled:e.readonly},model:{value:e.file,callback:function(t){e.file=t},expression:"file"}})],1)],1)],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("pre",{ref:"editor",staticClass:"editor"})]),e._v(" "),t("v-row",{staticClass:"my-3"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"red--text",domProps:{textContent:e._s(e.error)}})]),e._v(" "),t("v-row",[t("v-spacer"),e._v(" "),t("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"editCancelBtn"},on:{click:function(t){return t.preventDefault(),e.close.apply(null,arguments)}}},[e._v("\n Cancel\n ")]),e._v(" "),e.readonly?e._e():t("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"editSubmitBtn",disabled:!!e.error||e.readonly}},[e._v("\n Save\n ")])],1)],1)])],1)])],1)},s=[],r=(o(3165),o(4541),o(4397),o(1412),o(1883),o(7905),o(1841));o(2739),o(6049),o(5617),o(6717),o(9946);const i={props:{content:{type:String,required:!0},type:String,name:String,value:Boolean,readonly:Boolean},data(){return{editor:null}},mounted(){const e=this.buildPluginMode();this.editor=r.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight"),this.editor.session.setMode(new e),this.editor.session.setTabSize(2),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.readonly&&this.editor.setReadOnly(!0)},beforeDestroy(){this.editor&&this.editor.destroy()},computed:{show:{get(){return this.value},set(e){this.$emit("input",e)}},title:function(){return`${this.type}: ${this.name}`},error:function(){return this.editor&&""===this.editor.getValue()&&!this.file?"Input can not be blank.":null}},methods:{submit:function(){this.$emit("submit",this.editor.getValue()),this.show=!this.show},close:function(){this.show=!this.show},download:function(){const e=new Blob([this.editor.getValue()],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.setAttribute("download",`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`),t.click()},buildPluginMode(){var e=r.require("ace/lib/oop"),t=r.require("ace/mode/json_highlight_rules").JsonHighlightRules,o=r.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,n=r.require("ace/mode/behaviour/cstyle").CstyleBehaviour,s=r.require("ace/mode/folding/ruby").FoldMode,i=function(){this.HighlightRules=t,this.$outdent=new o,this.$behaviour=new n,this.foldingRules=new s,this.indentKeywords=this.foldingRules.indentKeywords},a=r.require("ace/mode/ruby").Mode;return e.inherits(i,a),function(){this.$id="ace/mode/openc3"}.call(i.prototype),i}}},a=i;o(9153);var l=o(2401),d=(0,l.A)(a,n,s,!1,null,"1692580e",null);const c=d.exports},2565:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>u});var n=function(){var e=this,t=e._self._c;return t("div",[t("v-list",{staticClass:"list",attrs:{"data-test":"routerList"}},e._l(e.routers,(function(o,n){return t("div",{key:n},[t("v-list-item",[t("v-list-item-content",[t("v-list-item-title",[e._v(e._s(o))])],1),e._v(" "),t("v-list-item-icon",[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:s}){return[t("v-icon",e._g(e._b({on:{click:function(t){return e.showRouter(o)}}},"v-icon",s,!1),n),[e._v("\n mdi-eye\n ")])]}}],null,!0)},[e._v(" "),t("span",[e._v("Show Router Details")])])],1)],1),e._v(" "),t("v-divider")],1)})),0),e._v(" "),e.showDialog?t("edit-dialog",{attrs:{content:e.jsonContent,type:"Router",name:e.dialogTitle,readonly:""},on:{submit:e.dialogCallback},model:{value:e.showDialog,callback:function(t){e.showDialog=t},expression:"showDialog"}}):e._e()],1)},s=[],r=o(2795),i=o(2204);const a={components:{EditDialog:i.A},data(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){r.A.get("/openc3-api/routers").then((e=>{this.routers=e.data}))},add(){},showRouter(e){r.A.get(`/openc3-api/routers/${e}`).then((t=>{this.jsonContent=JSON.stringify(t.data,null,"\t"),this.dialogTitle=e,this.showDialog=!0}))},dialogCallback(e){this.showDialog=!1}}},l=a;o(5538);var d=o(2401),c=(0,d.A)(l,n,s,!1,null,"acffef46",null);const u=c.exports},6049:(e,t,o)=>{e=o.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,o){"use strict";var n=e("../lib/oop"),s=e("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};n.inherits(r,s),t.JsonHighlightRules=r})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,o){"use strict";var n=e("../range").Range,s=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var o=e.getLine(t),s=o.match(/^(\s*\})/);if(!s)return 0;var r=s[1].length,i=e.findMatchingBracket({row:t,column:r});if(!i||i.row==t)return 0;var a=this.$getIndent(e.getLine(i.row));e.replace(new n(t,0,t,r-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(s.prototype),t.MatchingBraceOutdent=s})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,o){"use strict";var n=e("../../lib/oop"),s=e("../../range").Range,r=e("./fold_mode").FoldMode,i=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};n.inherits(i,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,o){var n=e.getLine(o);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var s=this._getFoldWidgetBase(e,t,o);return!s&&this.startRegionRe.test(n)?"start":s},this.getFoldWidgetRange=function(e,t,o,n){var s=e.getLine(o);if(this.startRegionRe.test(s))return this.getCommentRegionBlock(e,s,o);var r=s.match(this.foldingStartMarker);if(r){var i=r.index;if(r[1])return this.openingBracketBlock(e,r[1],o,i);var a=e.getCommentFoldRange(o,i+r[0].length,1);return a&&!a.isMultiLine()&&(n?a=this.getSectionRange(e,o):"all"!=t&&(a=null)),a}if("markbegin"!==t){r=s.match(this.foldingStopMarker);if(r){i=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],o,i):e.getCommentFoldRange(o,i,-1)}}},this.getSectionRange=function(e,t){var o=e.getLine(t),n=o.search(/\S/),r=t,i=o.length;t+=1;var a=t,l=e.getLength();while(++t<l){o=e.getLine(t);var d=o.search(/\S/);if(-1!==d){if(n>d)break;var c=this.getFoldWidgetRange(e,"all",t);if(c){if(c.start.row<=r)break;if(c.isMultiLine())t=c.end.row;else if(n==d)break}a=t}}return new s(r,i,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,o){var n=t.search(/\s*$/),r=e.getLength(),i=o,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;while(++o<r){t=e.getLine(o);var d=a.exec(t);if(d&&(d[1]?l--:l++,!l))break}var c=o;if(c>i)return new s(i,n,c,t.length)}}.call(i.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,o){"use strict";var n=e("../lib/oop"),s=e("./text").Mode,r=e("./json_highlight_rules").JsonHighlightRules,i=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,d=function(){this.HighlightRules=r,this.$outdent=new i,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};n.inherits(d,s),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,o){var n=this.$getIndent(t);if("start"==e){var s=t.match(/^.*[\{\(\[]\s*$/);s&&(n+=o)}return n},this.checkOutdent=function(e,t,o){return this.$outdent.checkOutdent(t,o)},this.autoOutdent=function(e,t,o){this.$outdent.autoOutdent(t,o)},this.createWorker=function(e){var t=new l(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(d.prototype),t.Mode=d})),function(){ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))}()},8889:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(6758),s=o.n(n),r=o(935),i=o.n(r),a=i()(s());a.push([e.id,".editor[data-v-1692580e]{height:50vh;width:75vw;position:relative;font-size:16px}.v-textarea[data-v-1692580e] textarea{padding:5px}",""]);const l=a},1866:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>l});var n=o(6758),s=o.n(n),r=o(935),i=o.n(r),a=i()(s());a.push([e.id,".list[data-v-acffef46]{background-color:var(--color-background-surface-default)!important}",""]);const l=a},9153:(e,t,o)=>{var n=o(8889);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var s=o(4825).A;s("8d3edd5e",n,!0,{sourceMap:!1,shadowMode:!1})},5538:(e,t,o)=>{var n=o(1866);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var s=o(4825).A;s("68efe49c",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
2
  //# sourceMappingURL=565.js.map