openc3-tool-admin 5.0.9 → 5.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/admin/js/113.js +1 -1
- data/tools/admin/js/113.js.map +1 -1
- data/tools/admin/js/388.js +1 -1
- data/tools/admin/js/388.js.map +1 -1
- data/tools/admin/js/426.js +2 -0
- data/tools/admin/js/426.js.map +1 -0
- data/tools/admin/js/561.js +1 -1
- data/tools/admin/js/561.js.map +1 -1
- data/tools/admin/js/780.js +1 -1
- data/tools/admin/js/780.js.map +1 -1
- data/tools/admin/js/851.js +1 -1
- data/tools/admin/js/851.js.map +1 -1
- data/tools/admin/js/app.js +1 -1
- data/tools/admin/js/app.js.map +1 -1
- metadata +4 -4
- data/tools/admin/js/372.js +0 -2
- data/tools/admin/js/372.js.map +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34208be8693790536a00d640d3a913a0267ffa5e7cd1dab33dd8339cb87f1c7c
|
4
|
+
data.tar.gz: 5f4efed9b2829bc4c47934c0da3951a69b3e834ef41d3ba4221b8a0dda9d5dac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e40c1b47349ecabd63e76779ad0352da0f4f7baf94022f411cb5cc41eae61edfe49516839a4d241113676374c32a79676514c38b6124c4bd6911048e93799f5f
|
7
|
+
data.tar.gz: a575311b0d85bfbb558e26a527b49392d64530e44f5b3a1c457e34b3cfcff661a0fbddbbb0468da6d7c160ef8e6b74d652e9f61384c28910bafc3b1cd9b16ac3
|
data/tools/admin/js/113.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";(self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[113],{6905:function(t,e,i){i.d(e,{Z:function(){return u}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:t.width},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" "+t._s(t.title)+" ")]),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(i){var n=i.on,a=i.attrs;return[e("div",t._g(t._b({},"div",a,!1),n),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.text))])])]),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},a=[],l=(i(8188),i(8673),i(6886),i(4121),i(523),{props:{value:Boolean,text:String,title:String,width:800},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,".txt")),e.click()}}}),o=l,s=i(3483),r=(0,s.Z)(o,n,a,!1,null,null,null),u=r.exports},5126:function(t,e,i){i.d(e,{Z:function(){return d}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Download Gems ")]),e("v-spacer")],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),e("v-row",[e("v-col",[e("div",{staticClass:"px-2"},[e("v-btn",{attrs:{block:"","data-test":"searchGithub",color:"primary",disabled:t.disableSearch},on:{click:t.searchGithub}},[t._v(" Github "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t.listData.length<1?e("div",{staticClass:"mt-4"},[e("v-row",{staticClass:"mx-2"},[e("span",[t._v(" I’m sorry, Dave. No gems available.... ")])])],1):e("div",{staticClass:"mt-4"},t._l(t.listData,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))])],1),e("v-list-item-icon",[t.activeDownload?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("div",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(i)}}},"v-icon",l,!1),a),[t._v(" mdi-cloud-download ")])]}}],null,!0)},[e("span",[t._v("Download Gem")])])],1)])],1),n<t.listData.length-1?e("v-divider",{key:n}):t._e()],1)})),0)],1)])],1)],1)},a=[],l=(i(3450),i(5342),i(8188),i(7950),i(9644)),o=i.n(l),s={props:{value:Boolean},data:function(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){var t=/\w+.gem/;return this.response.tree.filter((function(e){return t.exec(e.path)})).map((function(t){return{name:t.path,url:"https://raw.github.com/OpenC3/openc3-tools/main/".concat(t.path)}}))},getResponse:function(){var t=this;this.disableSearch=!0,o().get(this.url).then((function(e){t.response=e.data})),setTimeout((function(){t.disableSearch=!1}),1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){var e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},r=s,u=i(3483),c=(0,u.Z)(r,n,a,!1,null,null,null),d=c.exports},1113:function(t,e,i){i.r(e),i.d(e,{default:function(){return Z}});i(4769),i(8178);var n=function(){var t=this,e=t._self._c;return e("div",[e("v-row",{staticClass:"px-2",attrs:{"no-gutters":"",align:"center"}},[e("v-col",[e("v-file-input",{ref:"fileInput",staticClass:"mx-2",attrs:{"show-size":"",accept:".gem",label:"Click to select plugin .gem file to install"},on:{change:function(e){return t.fileChange()},mousedown:function(e){return t.fileMousedown()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1),e("v-col",{attrs:{align:"right"}},[e("v-btn",{staticClass:"mx-2",attrs:{"data-test":"download-plugin",disabled:null!==t.file},on:{click:function(e){t.showDownloadDialog=!0}}},[e("v-icon",{attrs:{left:""}},[t._v("mdi-cloud-download")]),e("span",[t._v(" Download ")])],1)],1)],1),e("v-row",{staticClass:"px-2 pb-2",staticStyle:{"margin-top":"10px"},attrs:{"no-gutters":""}},[e("v-col",[e("v-checkbox",{staticClass:"mt-0",attrs:{label:"Show Default Tools","data-test":"show-default-tools"},model:{value:t.showDefaultTools,callback:function(e){t.showDefaultTools=e},expression:"showDefaultTools"}})],1),e("v-col",{attrs:{align:"right"}},[e("div",[t._v("* indicates a modified plugin")]),e("div",[t._v("Click target link to download modifications")])])],1),e("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:t.alertType,"data-test":"plugin-alert"},model:{value:t.showAlert,callback:function(e){t.showAlert=e},expression:"showAlert"}},[t._v(t._s(t.alert))]),Object.keys(t.processes).length>0?e("v-list",{attrs:{"data-test":"process-list"}},t._l(t.processes,(function(i){return e("div",{key:i.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{domProps:{textContent:t._s("Processing ".concat(i.process_type,": ").concat(i.detail," - ").concat(i.state))}})]),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(i.updated_at))}})])],1),e("v-list-item-icon",["Running"===i.state?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"show-output"},on:{click:function(e){return t.showOutput(i)}}},"v-icon",l,!1),a),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Output")])])],1)],1),e("v-divider")],1)})),0):t._e(),e("v-list",{attrs:{"data-test":"plugin-list"}},t._l(t.shownPlugins,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t.isModified(i)?e("span",[t._v("* ")]):t._e(),t._v(t._s(i))]),0!==t.pluginTargets(i).length?e("v-list-item-subtitle",t._l(t.pluginTargets(i),(function(i,n){return e("span",{key:n},[i.modified?e("a",{on:{click:function(e){return e.preventDefault(),t.downloadTarget(i.name)}}},[t._v(t._s(i.name)+" ")]):e("span",[t._v(t._s(i.name)+" ")])])})),0):t._e()],1),e("v-list-item-icon",[e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"edit-plugin"},on:{click:function(e){return t.editPlugin(i)}}},"v-icon",l,!1),a),[t._v(" mdi-pencil ")])]}}],null,!0)},[e("span",[t._v("Edit Plugin Details")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"upgrade-plugin"},on:{click:function(e){return t.upgradePlugin(i)}}},"v-icon",l,!1),a),[t._v(" mdi-update ")])]}}],null,!0)},[e("span",[t._v("Upgrade Plugin")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"delete-plugin"},on:{click:function(e){return t.deletePrompt(i)}}},"v-icon",l,!1),a),[t._v(" mdi-delete ")])]}}],null,!0)},[e("span",[t._v("Delete Plugin")])])],1)])],1),n<t.plugins.length-1?e("v-divider",{key:n}):t._e()],1)})),0),e("plugin-dialog",{attrs:{pluginName:t.pluginName,variables:t.variables,pluginTxt:t.pluginTxt,existingPluginTxt:t.existingPluginTxt},on:{submit:t.pluginCallback},model:{value:t.showPluginDialog,callback:function(e){t.showPluginDialog=e},expression:"showPluginDialog"}}),t.showModifiedPluginDialog?e("modified-plugin-dialog",{attrs:{pluginName:t.currentPlugin,targets:t.pluginTargets(t.currentPlugin),pluginDelete:t.pluginDelete},on:{submit:t.modifiedSubmit},model:{value:t.showModifiedPluginDialog,callback:function(e){t.showModifiedPluginDialog=e},expression:"showModifiedPluginDialog"}}):t._e(),e("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},a=[],l=i(21),o=i(6706),s=i(4282),r=(i(7950),i(8319),i(2501),i(9529),i(1235),i(8995),i(6710),i(4707),i(1497),i(5640),i(1871),i(8188),i(3675),i(4898),i(5825),i(7170),i(8857),i(8329),i(6279),i(427),i(1159),i(2516),i(4349),i(5273),i(6729),i(1801),i(574),i(5787),i(9271),i(3160),i(5688),i(3157),i(3333),i(315),i(556),i(9224),i(6297),i(8882),i(8673),i(6886),i(4121),i(523),i(7388)),u=i(6700),c=i(6291),d=i(5126),p=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{persistent:"",width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-card-text",[e("v-row",{staticClass:"mt-3"},[e("v-col",{attrs:{cols:"12"}},[e("h3",[t._v(t._s(t.pluginName))])]),null!==t.existingPluginTxt?e("v-radio-group",{attrs:{mandatory:""},model:{value:t.radioGroup,callback:function(e){t.radioGroup=e},expression:"radioGroup"}},[e("v-radio",{attrs:{label:"Use existing plugin.txt",value:1}}),e("v-radio",{attrs:{label:"Use new plugin.txt",value:0}})],1):t._e()],1),e("v-tabs",{attrs:{"background-color":"primary",dark:""},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab",{key:0},[t._v(" Variables ")]),e("v-tab",{key:1},[t._v(" plugin.txt ")]),null!==t.existingPluginTxt?e("v-tab",{key:2},[t._v(" Existing plugin.txt ")]):t._e()],1),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("v-tabs-items",{model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab-item",{key:0},[e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"mt-3"},t._l(t.localVariables,(function(i,n){return e("div",{key:n},[e("v-col",[e("v-text-field",{attrs:{clearable:"",type:"text",label:n},model:{value:t.localVariables[n],callback:function(e){t.$set(t.localVariables,n,e)},expression:"localVariables[name]"}})],1)],1)})),0)],1)])],1),e("v-tab-item",{key:1},[e("v-textarea",{attrs:{rows:"15","data-test":"edit-plugin-txt"},model:{value:t.localPluginTxt,callback:function(e){t.localPluginTxt=e},expression:"localPluginTxt"}})],1),null!==t.existingPluginTxt?e("v-tab-item",{key:2},[e("v-textarea",{attrs:{rows:"15","data-test":"edit-existing-plugin-txt"},model:{value:t.localExistingPluginTxt,callback:function(e){t.localExistingPluginTxt=e},expression:"localExistingPluginTxt"}})],1):t._e()],1),e("v-row",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"edit-cancel"},on:{click:function(e){return e.preventDefault(),t.close.apply(null,arguments)}}},[t._v(" Cancel ")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"edit-submit"}},[t._v(" Install ")])],1)],1)],1)],1)],1)},g=[],v={props:{pluginName:{type:String,required:!0},variables:{type:Object,required:!0},pluginTxt:{type:String,required:!0},existingPluginTxt:{type:String,required:!1},value:Boolean},data:function(){return{tab:0,localVariables:[],localPluginTxt:"",localExistingPluginTxt:null,radioGroup:1}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},watch:{value:{immediate:!0,handler:function(){this.localVariables=JSON.parse(JSON.stringify(this.variables)),this.localPluginTxt=this.pluginTxt.slice(),null!==this.existingPluginTxt&&(this.localExistingPluginTxt=this.existingPluginTxt.slice(),this.radioGroup=1)}}},methods:{submit:function(){var t="";t=null!==this.existingPluginTxt&&1===this.radioGroup?this.localExistingPluginTxt.split("\n"):this.localPluginTxt.split("\n");var e={name:this.pluginName,variables:this.localVariables,plugin_txt_lines:t};this.$emit("submit",e)},close:function(){this.show=!this.show}}},h=v,f=i(3483),m=(0,f.Z)(h,p,g,!1,null,null,null),b=m.exports,w=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Modified Plugin ")]),e("v-spacer")],1),e("v-card-text",{staticClass:"pa-3"},[e("div",[t._v(" Plugin "+t._s(t.plugin)+" was modified. Would you like to delete the existing modified files? ")]),t._l(t.modifiedTargets,(function(i,n){return e("v-list-item",{key:n,attrs:{"two-line":""}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))]),t._l(i.files,(function(i,n){return e("v-list-item-subtitle",{key:n},[t._v(t._s(i))])}))],2)],1)})),e("v-checkbox",{attrs:{label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},model:{value:t.deleteModified,callback:function(e){t.deleteModified=e},expression:"deleteModified"}})],2),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"modified-plugin-cancel"},on:{click:function(e){t.show=!1,t.$emit("cancel")}}},[t._v("Cancel")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"modified-plugin-submit"},on:{click:function(e){t.show=!1,t.$emit("submit",t.deleteModified)}}},[t._v(t._s(t.submitButton))])],1)],1)],1)},x=[],_={props:{value:Boolean,plugin:String,targets:Array,pluginDelete:Boolean},data:function(){return{modifiedTargets:[],deleteModified:!1}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},submitButton:function(){return this.pluginDelete?"Delete":"Install"}},created:function(){var t,e=this,i=(0,s.Z)(this.targets);try{var n=function(){var i=t.value;c.Z.get("/openc3-api/targets/".concat(i.name,"/modified_files")).then((function(t){0!==t.data.length&&e.modifiedTargets.push({name:i.name,files:t.data})}))};for(i.s();!(t=i.n()).done;)n()}catch(a){i.e(a)}finally{i.f()}}},y=_,P=(0,f.Z)(y,w,x,!1,null,"23e615ac",null),k=P.exports,D=i(6905),T={components:{DownloadDialog:d.Z,PluginDialog:b,ModifiedPluginDialog:k,SimpleTextDialog:D.Z},data:function(){return{file:null,currentPlugin:null,plugins:[],targets:[],processes:{},alert:"",alertType:"success",showAlert:!1,pluginName:null,variables:{},pluginTxt:"",pluginHashTmp:null,existingPluginTxt:null,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,pluginDelete:!1,defaultPlugins:["openc3-tool-admin","openc3-tool-autonomic","openc3-tool-base","openc3-tool-calendar","openc3-tool-cmdsender","openc3-tool-cmdtlmserver","openc3-tool-dataextractor","openc3-tool-dataviewer","openc3-tool-handbooks","openc3-tool-limitsmonitor","openc3-tool-packetviewer","openc3-tool-scriptrunner","openc3-tool-tablemanager","openc3-tool-tlmgrapher","openc3-tool-tlmviewer","openc3-enterprise-tool-base","openc3-enterprise-tool-admin"]}},computed:{shownPlugins:function(){var t,e=[],i=(0,s.Z)(this.plugins);try{for(i.s();!(t=i.n()).done;){var n=t.value,a=n.split("__")[0],l=a.split("-");l=l.slice(0,-1);var o=l.join("-");this.defaultPlugins.includes(o)&&!this.showDefaultTools||e.push(n)}}catch(r){i.e(r)}finally{i.f()}return e},pluginTargets:function(){var t=this;return function(e){var i=[];for(var n in t.targets)t.targets[n]["plugin"]===e&&i.push(t.targets[n]);return i}},isModified:function(){var t=this;return function(e){var i=!1;for(var n in t.targets)if(t.targets[n]["plugin"]===e&&!0===t.targets[n]["modified"]){i=!0;break}return i}}},mounted:function(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){var t=this;c.Z.get("/openc3-api/plugins").then((function(e){t.plugins=e.data})),c.Z.get("/openc3-api/targets_modified").then((function(e){t.targets=e.data}))},updateProcesses:function(){var t=this;c.Z.get("openc3-api/process_status/plugin_?use_regex=true").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),1e4)}))},formatDate:function(t){return(0,r.Z)((0,u.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=e?"put":"post",n=e?"/openc3-api/plugins/".concat(e):"/openc3-api/plugins",a=new FormData;a.append("plugin",this.file,this.file.name);var l=c.Z[i](n,{data:a});l.then((function(e){t.alert="Uploaded file",t.alertType="success",t.showAlert=!0,setTimeout((function(){t.showAlert=!1}),5e3),t.update();var i=null;void 0!==e.data.existing_plugin_txt_lines&&(i=e.data.existing_plugin_txt_lines.join("\n"));var n=e.data.plugin_txt_lines.join("\n");t.pluginName=e.data.name,t.variables=e.data.variables,t.pluginTxt=n,t.existingPluginTxt=i,t.showPluginDialog=!0,t.file=void 0})).catch((function(e){t.currentPlugin=null,t.file=void 0}))},pluginCallback:function(t){this.showPluginDialog=!1,null!==this.currentPlugin&&(t["name"]=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:function(){var t=(0,o.Z)((0,l.Z)().mark((function t(e){var i,n,a;return(0,l.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!0!==e){t.next=19;break}i=(0,s.Z)(this.pluginTargets(this.currentPlugin)),t.prev=2,i.s();case 4:if((n=i.n()).done){t.next=11;break}if(a=n.value,1!=a.modified){t.next=9;break}return t.next=9,c.Z.post("/openc3-api/targets/".concat(a.name,"/delete_modified"));case 9:t.next=4;break;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](2),i.e(t.t0);case 16:return t.prev=16,i.f(),t.finish(16);case 19:this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall();case 20:case"end":return t.stop()}}),t,this,[[2,13,16,19]])})));function e(e){return t.apply(this,arguments)}return e}(),pluginInstall:function(){var t=this;c.Z.post("/openc3-api/plugins/install/".concat(this.pluginName),{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then((function(e){t.alert="Started installing plugin ".concat(t.pluginName," ..."),t.alertType="success",t.showAlert=!0,t.currentPlugin=null,t.file=void 0,t.variables={},t.pluginTxt="",t.existingPluginTxt=null,setTimeout((function(){t.showAlert=!1,t.updateProcesses()}),5e3),t.update()}))},downloadTarget:function(t){c.Z.post("/openc3-api/targets/".concat(t,"/download")).then((function(t){for(var e=window.atob(t.data.contents),i=new Uint8Array(e.length),n=0;n<e.length;++n)i[n]=e.charCodeAt(n);var a=new Blob([i],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(a),l.setAttribute("download",t.data.filename),l.click()}))},editPlugin:function(t){var e=this;c.Z.get("/openc3-api/plugins/".concat(t)).then((function(t){var i=null;void 0!==t.data.existing_plugin_txt_lines&&(i=t.data.existing_plugin_txt_lines.join("\n"));var n=t.data.plugin_txt_lines.join("\n");e.pluginName=t.data.name,e.variables=t.data.variables,e.pluginTxt=n,e.existingPluginTxt=i,e.showPluginDialog=!0}))},deletePrompt:function(t){var e=this;this.$dialog.confirm("Are you sure you want to remove: ".concat(t),{okText:"Delete",cancelText:"Cancel"}).then((function(i){e.isModified(t)?(e.currentPlugin=t,e.pluginDelete=!0,e.showModifiedPluginDialog=!0):e.deletePlugin(t)}))},deletePlugin:function(t){var e=this;this.alert="Removing plugin ".concat(t," ..."),this.alertType="success",this.showAlert=!0,c.Z["delete"]("/openc3-api/plugins/".concat(t)).then((function(t){setTimeout((function(){e.showAlert=!1,e.updateProcesses()}),5e3)})),this.update()},upgradePlugin:function(t){this.file=void 0,this.currentPlugin=t,this.$refs.fileInput.$refs.input.click()},fileMousedown:function(){this.currentPlugin=null},fileChange:function(){void 0!==this.file&&(null!==this.currentPlugin?this.upload(this.currentPlugin):this.upload())}}},C=T,S=(0,f.Z)(C,n,a,!1,null,null,null),Z=S.exports},4282:function(t,e,i){i.d(e,{Z:function(){return a}});i(4115),i(634),i(8188),i(796),i(8673),i(6886),i(1372);var n=i(1644);function a(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=(0,n.Z)(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var a=0,l=function(){};return{s:l,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,r=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){r=!0,o=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(r)throw o}}}}}}]);
|
1
|
+
"use strict";(self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[113],{6905:function(t,e,i){i.d(e,{Z:function(){return u}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:t.width},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" "+t._s(t.title)+" ")]),e("v-spacer"),e("div",{staticClass:"mx-2"},[e("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(i){var n=i.on,a=i.attrs;return[e("div",t._g(t._b({},"div",a,!1),n),[e("v-icon",{attrs:{"data-test":"downloadIcon"},on:{click:t.download}},[t._v(" mdi-download ")])],1)]}}])},[e("span",[t._v(" Download ")])])],1)],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("span",{staticStyle:{"white-space":"pre-wrap"}},[t._v(t._s(t.text))])])]),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary"},on:{click:function(e){t.show=!t.show}}},[t._v(" Ok ")])],1)],1)],1)},a=[],l=(i(8188),i(8673),i(6886),i(4121),i(523),{props:{value:Boolean,text:String,title:String,width:800},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{download:function(){var t=new Blob([this.text],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download","".concat(this.title,".txt")),e.click()}}}),o=l,s=i(3483),r=(0,s.Z)(o,n,a,!1,null,null,null),u=r.exports},5126:function(t,e,i){i.d(e,{Z:function(){return d}});var n=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Download Gems ")]),e("v-spacer")],1),e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"my-2"},[t._v(" Select a download option ")]),e("v-row",[e("v-col",[e("div",{staticClass:"px-2"},[e("v-btn",{attrs:{block:"","data-test":"searchGithub",color:"primary",disabled:t.disableSearch},on:{click:t.searchGithub}},[t._v(" Github "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-github ")])],1)],1)])],1),e("v-row",{staticClass:"mt-5"},[t._v(" Community Gems ")]),t.listData.length<1?e("div",{staticClass:"mt-4"},[e("v-row",{staticClass:"mx-2"},[e("span",[t._v(" I’m sorry, Dave. No gems available.... ")])])],1):e("div",{staticClass:"mt-4"},t._l(t.listData,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))])],1),e("v-list-item-icon",[t.activeDownload?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("div",[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{disabled:t.activeDownload},on:{click:function(e){return t.downloadGem(i)}}},"v-icon",l,!1),a),[t._v(" mdi-cloud-download ")])]}}],null,!0)},[e("span",[t._v("Download Gem")])])],1)])],1),n<t.listData.length-1?e("v-divider",{key:n}):t._e()],1)})),0)],1)])],1)],1)},a=[],l=(i(3450),i(5342),i(8188),i(7950),i(9644)),o=i.n(l),s={props:{value:Boolean},data:function(){return{url:"",type:null,response:null,activeDownload:!1,disableSearch:!1,expanded:[]}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},listData:function(){return this.response?"github"===this.type?this.parseGithub():this.parseRuby():[]}},methods:{parseGithub:function(){var t=/\w+.gem/;return this.response.tree.filter((function(e){return t.exec(e.path)})).map((function(t){return{name:t.path,url:"https://raw.github.com/OpenC3/openc3-tools/main/".concat(t.path)}}))},getResponse:function(){var t=this;this.disableSearch=!0,o().get(this.url).then((function(e){t.response=e.data})),setTimeout((function(){t.disableSearch=!1}),1e4)},searchGithub:function(){this.type="github",this.url="https://api.github.com/repos/OpenC3/openc3-tools/git/trees/main?recursive=1",this.getResponse()},downloadGem:function(t){var e=document.createElement("a");e.href=t.url,e.setAttribute("download",t.name),e.click(),e.remove()}}},r=s,u=i(3483),c=(0,u.Z)(r,n,a,!1,null,null,null),d=c.exports},1113:function(t,e,i){i.r(e),i.d(e,{default:function(){return Z}});i(4769),i(8178);var n=function(){var t=this,e=t._self._c;return e("div",[e("v-row",{staticClass:"px-2",attrs:{"no-gutters":"",align:"center"}},[e("v-col",[e("v-file-input",{ref:"fileInput",staticClass:"mx-2",attrs:{"show-size":"",accept:".gem",label:"Click to select plugin .gem file to install"},on:{change:function(e){return t.fileChange()},mousedown:function(e){return t.fileMousedown()}},model:{value:t.file,callback:function(e){t.file=e},expression:"file"}})],1),e("v-col",{attrs:{align:"right"}},[e("v-btn",{staticClass:"mx-2",attrs:{"data-test":"download-plugin",disabled:null!==t.file},on:{click:function(e){t.showDownloadDialog=!0}}},[e("v-icon",{attrs:{left:""}},[t._v("mdi-cloud-download")]),e("span",[t._v(" Download ")])],1)],1)],1),e("v-row",{staticClass:"px-2 pb-2",staticStyle:{"margin-top":"10px"},attrs:{"no-gutters":""}},[e("v-col",[e("v-checkbox",{staticClass:"mt-0",attrs:{label:"Show Default Tools","data-test":"show-default-tools"},model:{value:t.showDefaultTools,callback:function(e){t.showDefaultTools=e},expression:"showDefaultTools"}})],1),e("v-col",{attrs:{align:"right"}},[e("div",[t._v("* indicates a modified plugin")]),e("div",[t._v("Click target link to download modifications")])])],1),e("v-alert",{attrs:{dismissible:"",transition:"scale-transition",type:t.alertType,"data-test":"plugin-alert"},model:{value:t.showAlert,callback:function(e){t.showAlert=e},expression:"showAlert"}},[t._v(t._s(t.alert))]),Object.keys(t.processes).length>0?e("v-list",{attrs:{"data-test":"process-list"}},t._l(t.processes,(function(i){return e("div",{key:i.name},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[e("span",{domProps:{textContent:t._s("Processing ".concat(i.process_type,": ").concat(i.detail," - ").concat(i.state))}})]),e("v-list-item-subtitle",[e("span",{domProps:{textContent:t._s(" Updated At: "+t.formatDate(i.updated_at))}})])],1),e("v-list-item-icon",["Running"===i.state?e("div",[e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}})],1):e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"show-output"},on:{click:function(e){return t.showOutput(i)}}},"v-icon",l,!1),a),[t._v(" mdi-eye ")])]}}],null,!0)},[e("span",[t._v("Show Output")])])],1)],1),e("v-divider")],1)})),0):t._e(),e("v-list",{attrs:{"data-test":"plugin-list"}},t._l(t.shownPlugins,(function(i,n){return e("div",{key:n},[e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",[t.isModified(i)?e("span",[t._v("* ")]):t._e(),t._v(t._s(i))]),0!==t.pluginTargets(i).length?e("v-list-item-subtitle",t._l(t.pluginTargets(i),(function(i,n){return e("span",{key:n},[i.modified?e("a",{on:{click:function(e){return e.preventDefault(),t.downloadTarget(i.name)}}},[t._v(t._s(i.name)+" ")]):e("span",[t._v(t._s(i.name)+" ")])])})),0):t._e()],1),e("v-list-item-icon",[e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"edit-plugin"},on:{click:function(e){return t.editPlugin(i)}}},"v-icon",l,!1),a),[t._v(" mdi-pencil ")])]}}],null,!0)},[e("span",[t._v("Edit Plugin Details")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"upgrade-plugin"},on:{click:function(e){return t.upgradePlugin(i)}}},"v-icon",l,!1),a),[t._v(" mdi-update ")])]}}],null,!0)},[e("span",[t._v("Upgrade Plugin")])])],1),e("div",{staticClass:"mx-3"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[e("v-icon",t._g(t._b({attrs:{"data-test":"delete-plugin"},on:{click:function(e){return t.deletePrompt(i)}}},"v-icon",l,!1),a),[t._v(" mdi-delete ")])]}}],null,!0)},[e("span",[t._v("Delete Plugin")])])],1)])],1),n<t.plugins.length-1?e("v-divider",{key:n}):t._e()],1)})),0),e("plugin-dialog",{attrs:{pluginName:t.pluginName,variables:t.variables,pluginTxt:t.pluginTxt,existingPluginTxt:t.existingPluginTxt},on:{submit:t.pluginCallback},model:{value:t.showPluginDialog,callback:function(e){t.showPluginDialog=e},expression:"showPluginDialog"}}),t.showModifiedPluginDialog?e("modified-plugin-dialog",{attrs:{pluginName:t.currentPlugin,targets:t.pluginTargets(t.currentPlugin),pluginDelete:t.pluginDelete},on:{submit:t.modifiedSubmit},model:{value:t.showModifiedPluginDialog,callback:function(e){t.showModifiedPluginDialog=e},expression:"showModifiedPluginDialog"}}):t._e(),e("download-dialog",{model:{value:t.showDownloadDialog,callback:function(e){t.showDownloadDialog=e},expression:"showDownloadDialog"}}),e("simple-text-dialog",{attrs:{title:"Process Output",text:t.processOutput},model:{value:t.showProcessOutput,callback:function(e){t.showProcessOutput=e},expression:"showProcessOutput"}})],1)},a=[],l=i(21),o=i(6706),s=i(4282),r=(i(2501),i(9529),i(1235),i(6728),i(8995),i(6710),i(4707),i(1497),i(5640),i(1871),i(8188),i(3675),i(4898),i(5825),i(7170),i(8857),i(8329),i(6279),i(427),i(171),i(7093),i(1159),i(2516),i(4349),i(5273),i(6729),i(1801),i(574),i(5787),i(9271),i(3160),i(5688),i(3157),i(3333),i(315),i(556),i(9224),i(8673),i(6886),i(4121),i(523),i(7388)),u=i(6700),c=i(6291),d=i(5126),p=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{persistent:"",width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-card-text",[e("v-row",{staticClass:"mt-3"},[e("v-col",{attrs:{cols:"12"}},[e("h3",[t._v(t._s(t.pluginName))])]),null!==t.existingPluginTxt?e("v-radio-group",{attrs:{mandatory:""},model:{value:t.radioGroup,callback:function(e){t.radioGroup=e},expression:"radioGroup"}},[e("v-radio",{attrs:{label:"Use existing plugin.txt",value:1}}),e("v-radio",{attrs:{label:"Use new plugin.txt",value:0}})],1):t._e()],1),e("v-tabs",{attrs:{"background-color":"primary",dark:""},model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab",{key:0},[t._v(" Variables ")]),e("v-tab",{key:1},[t._v(" plugin.txt ")]),null!==t.existingPluginTxt?e("v-tab",{key:2},[t._v(" Existing plugin.txt ")]):t._e()],1),e("form",{on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("v-tabs-items",{model:{value:t.tab,callback:function(e){t.tab=e},expression:"tab"}},[e("v-tab-item",{key:0},[e("v-card-text",[e("div",{staticClass:"pa-3"},[e("v-row",{staticClass:"mt-3"},t._l(t.localVariables,(function(i,n){return e("div",{key:n},[e("v-col",[e("v-text-field",{attrs:{clearable:"",type:"text",label:n},model:{value:t.localVariables[n],callback:function(e){t.$set(t.localVariables,n,e)},expression:"localVariables[name]"}})],1)],1)})),0)],1)])],1),e("v-tab-item",{key:1},[e("v-textarea",{attrs:{rows:"15","data-test":"edit-plugin-txt"},model:{value:t.localPluginTxt,callback:function(e){t.localPluginTxt=e},expression:"localPluginTxt"}})],1),null!==t.existingPluginTxt?e("v-tab-item",{key:2},[e("v-textarea",{attrs:{rows:"15","data-test":"edit-existing-plugin-txt"},model:{value:t.localExistingPluginTxt,callback:function(e){t.localExistingPluginTxt=e},expression:"localExistingPluginTxt"}})],1):t._e()],1),e("v-row",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"edit-cancel"},on:{click:function(e){return e.preventDefault(),t.close.apply(null,arguments)}}},[t._v(" Cancel ")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary",type:"submit","data-test":"edit-submit"}},[t._v(" Install ")])],1)],1)],1)],1)],1)},g=[],v={props:{pluginName:{type:String,required:!0},variables:{type:Object,required:!0},pluginTxt:{type:String,required:!0},existingPluginTxt:{type:String,required:!1},value:Boolean},data:function(){return{tab:0,localVariables:[],localPluginTxt:"",localExistingPluginTxt:null,radioGroup:1}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},watch:{value:{immediate:!0,handler:function(){this.localVariables=JSON.parse(JSON.stringify(this.variables)),this.localPluginTxt=this.pluginTxt.slice(),null!==this.existingPluginTxt&&(this.localExistingPluginTxt=this.existingPluginTxt.slice(),this.radioGroup=1)}}},methods:{submit:function(){var t="";t=null!==this.existingPluginTxt&&1===this.radioGroup?this.localExistingPluginTxt.split("\n"):this.localPluginTxt.split("\n");var e={name:this.pluginName,variables:this.localVariables,plugin_txt_lines:t};this.$emit("submit",e)},close:function(){this.show=!this.show}}},h=v,f=i(3483),m=(0,f.Z)(h,p,g,!1,null,null,null),b=m.exports,w=function(){var t=this,e=t._self._c;return e("v-dialog",{attrs:{width:"600"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("v-card",[e("v-system-bar",[e("v-spacer"),e("span",[t._v(" Modified Plugin ")]),e("v-spacer")],1),e("v-card-text",{staticClass:"pa-3"},[e("div",[t._v(" Plugin "+t._s(t.plugin)+" was modified. Would you like to delete the existing modified files? ")]),t._l(t.modifiedTargets,(function(i,n){return e("v-list-item",{key:n,attrs:{"two-line":""}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.name))]),t._l(i.files,(function(i,n){return e("v-list-item-subtitle",{key:n},[t._v(t._s(i))])}))],2)],1)})),e("v-checkbox",{attrs:{label:"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",color:"error","data-test":"modified-plugin-delete-checkbox"},model:{value:t.deleteModified,callback:function(e){t.deleteModified=e},expression:"deleteModified"}})],2),e("v-card-actions",[e("v-spacer"),e("v-btn",{staticClass:"mx-2",attrs:{outlined:"","data-test":"modified-plugin-cancel"},on:{click:function(e){t.show=!1,t.$emit("cancel")}}},[t._v("Cancel")]),e("v-btn",{staticClass:"mx-2",attrs:{color:"primary","data-test":"modified-plugin-submit"},on:{click:function(e){t.show=!1,t.$emit("submit",t.deleteModified)}}},[t._v(t._s(t.submitButton))])],1)],1)],1)},x=[],_={props:{value:Boolean,plugin:String,targets:Array,pluginDelete:Boolean},data:function(){return{modifiedTargets:[],deleteModified:!1}},computed:{show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},submitButton:function(){return this.pluginDelete?"Delete":"Install"}},created:function(){var t,e=this,i=(0,s.Z)(this.targets);try{var n=function(){var i=t.value;c.Z.get("/openc3-api/targets/".concat(i.name,"/modified_files")).then((function(t){0!==t.data.length&&e.modifiedTargets.push({name:i.name,files:t.data})}))};for(i.s();!(t=i.n()).done;)n()}catch(a){i.e(a)}finally{i.f()}}},y=_,P=(0,f.Z)(y,w,x,!1,null,"23e615ac",null),k=P.exports,D=i(6905),T={components:{DownloadDialog:d.Z,PluginDialog:b,ModifiedPluginDialog:k,SimpleTextDialog:D.Z},data:function(){return{file:null,currentPlugin:null,plugins:[],targets:[],processes:{},alert:"",alertType:"success",showAlert:!1,pluginName:null,variables:{},pluginTxt:"",pluginHashTmp:null,existingPluginTxt:null,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,pluginDelete:!1,defaultPlugins:["openc3-tool-admin","openc3-tool-autonomic","openc3-tool-base","openc3-tool-calendar","openc3-tool-cmdsender","openc3-tool-cmdtlmserver","openc3-tool-dataextractor","openc3-tool-dataviewer","openc3-tool-handbooks","openc3-tool-limitsmonitor","openc3-tool-packetviewer","openc3-tool-scriptrunner","openc3-tool-tablemanager","openc3-tool-tlmgrapher","openc3-tool-tlmviewer","openc3-enterprise-tool-base","openc3-enterprise-tool-admin"]}},computed:{shownPlugins:function(){var t,e=[],i=(0,s.Z)(this.plugins);try{for(i.s();!(t=i.n()).done;){var n=t.value,a=n.split("__")[0],l=a.split("-");l=l.slice(0,-1);var o=l.join("-");this.defaultPlugins.includes(o)&&!this.showDefaultTools||e.push(n)}}catch(r){i.e(r)}finally{i.f()}return e},pluginTargets:function(){var t=this;return function(e){var i=[];for(var n in t.targets)t.targets[n]["plugin"]===e&&i.push(t.targets[n]);return i}},isModified:function(){var t=this;return function(e){var i=!1;for(var n in t.targets)if(t.targets[n]["plugin"]===e&&!0===t.targets[n]["modified"]){i=!0;break}return i}}},mounted:function(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){var t=this;c.Z.get("/openc3-api/plugins").then((function(e){t.plugins=e.data})),c.Z.get("/openc3-api/targets_modified").then((function(e){t.targets=e.data}))},updateProcesses:function(){var t=this;c.Z.get("openc3-api/process_status/plugin_?use_regex=true").then((function(e){t.processes=e.data,Object.keys(t.processes).length>0&&setTimeout((function(){t.updateProcesses(),t.update()}),1e4)}))},formatDate:function(t){return(0,r.Z)((0,u.Z)(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=e?"put":"post",n=e?"/openc3-api/plugins/".concat(e):"/openc3-api/plugins",a=new FormData;a.append("plugin",this.file,this.file.name);var l=c.Z[i](n,{data:a});l.then((function(e){t.alert="Uploaded file",t.alertType="success",t.showAlert=!0,setTimeout((function(){t.showAlert=!1}),5e3),t.update();var i=null;void 0!==e.data.existing_plugin_txt_lines&&(i=e.data.existing_plugin_txt_lines.join("\n"));var n=e.data.plugin_txt_lines.join("\n");t.pluginName=e.data.name,t.variables=e.data.variables,t.pluginTxt=n,t.existingPluginTxt=i,t.showPluginDialog=!0,t.file=void 0})).catch((function(e){t.currentPlugin=null,t.file=void 0}))},pluginCallback:function(t){this.showPluginDialog=!1,null!==this.currentPlugin&&(t["name"]=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:function(){var t=(0,o.Z)((0,l.Z)().mark((function t(e){var i,n,a;return(0,l.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!0!==e){t.next=19;break}i=(0,s.Z)(this.pluginTargets(this.currentPlugin)),t.prev=2,i.s();case 4:if((n=i.n()).done){t.next=11;break}if(a=n.value,1!=a.modified){t.next=9;break}return t.next=9,c.Z.post("/openc3-api/targets/".concat(a.name,"/delete_modified"));case 9:t.next=4;break;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](2),i.e(t.t0);case 16:return t.prev=16,i.f(),t.finish(16);case 19:this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall();case 20:case"end":return t.stop()}}),t,this,[[2,13,16,19]])})));function e(e){return t.apply(this,arguments)}return e}(),pluginInstall:function(){var t=this;c.Z.post("/openc3-api/plugins/install/".concat(this.pluginName),{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then((function(e){t.alert="Started installing plugin ".concat(t.pluginName," ..."),t.alertType="success",t.showAlert=!0,t.currentPlugin=null,t.file=void 0,t.variables={},t.pluginTxt="",t.existingPluginTxt=null,setTimeout((function(){t.showAlert=!1,t.updateProcesses()}),5e3),t.update()}))},downloadTarget:function(t){c.Z.post("/openc3-api/targets/".concat(t,"/download")).then((function(t){for(var e=window.atob(t.data.contents),i=new Uint8Array(e.length),n=0;n<e.length;++n)i[n]=e.charCodeAt(n);var a=new Blob([i],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(a),l.setAttribute("download",t.data.filename),l.click()}))},editPlugin:function(t){var e=this;c.Z.get("/openc3-api/plugins/".concat(t)).then((function(t){var i=null;void 0!==t.data.existing_plugin_txt_lines&&(i=t.data.existing_plugin_txt_lines.join("\n"));var n=t.data.plugin_txt_lines.join("\n");e.pluginName=t.data.name,e.variables=t.data.variables,e.pluginTxt=n,e.existingPluginTxt=i,e.showPluginDialog=!0}))},deletePrompt:function(t){var e=this;this.$dialog.confirm("Are you sure you want to remove: ".concat(t),{okText:"Delete",cancelText:"Cancel"}).then((function(i){e.isModified(t)?(e.currentPlugin=t,e.pluginDelete=!0,e.showModifiedPluginDialog=!0):e.deletePlugin(t)}))},deletePlugin:function(t){var e=this;this.alert="Removing plugin ".concat(t," ..."),this.alertType="success",this.showAlert=!0,c.Z["delete"]("/openc3-api/plugins/".concat(t)).then((function(t){setTimeout((function(){e.showAlert=!1,e.updateProcesses()}),5e3)})),this.update()},upgradePlugin:function(t){this.file=void 0,this.currentPlugin=t,this.$refs.fileInput.$refs.input.click()},fileMousedown:function(){this.currentPlugin=null},fileChange:function(){void 0!==this.file&&(null!==this.currentPlugin?this.upload(this.currentPlugin):this.upload())}}},C=T,S=(0,f.Z)(C,n,a,!1,null,null,null),Z=S.exports},4282:function(t,e,i){i.d(e,{Z:function(){return a}});i(4115),i(634),i(8188),i(796),i(8673),i(6886),i(1372);var n=i(1644);function a(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=(0,n.Z)(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var a=0,l=function(){};return{s:l,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,r=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){r=!0,o=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(r)throw o}}}}}}]);
|
2
2
|
//# sourceMappingURL=113.js.map
|
data/tools/admin/js/113.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"js/113.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,WAAW,CAACE,MAAM,CAAC,MAAQJ,EAAIK,OAAOC,MAAM,CAACC,MAAOP,EAAIQ,KAAMC,SAAS,SAAUC,GAAMV,EAAIQ,KAAKE,CAAI,EAACC,WAAW,SAAS,CAACT,EAAG,SAAS,CAACA,EAAG,eAAe,CAACA,EAAG,YAAYA,EAAG,OAAO,CAACF,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIc,OAAO,OAAOZ,EA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ACA,wBACA,2BACA,4BACA,yBACA,wBACA,4BACA,2BACA,2BACA,2BACA,yBACA,wBACA,8BACA,gCAGA,EACAtG,SAAAA,CACA+C,aADA,WAEA,IADA,EACA,KADA,UAEA,cAFA,IAEA,0CACA,mBACA,eACAwD,EAAAA,EAAAA,MAAAA,GAAAA,GACA,kBAEA,kCACA,uBAEAC,EAAAA,KAAAA,EAEA,CAbA,+BAcA,QACA,EACAtD,cAjBA,WAiBA,WACA,mBACA,SACA,uBACA,4BACAsD,EAAAA,KAAAA,EAAAA,QAAAA,IAGA,QACA,CACA,EACAvD,WA5BA,WA4BA,WACA,mBACA,SACA,uBACA,GACA,6BACA,6BACA,CACAuD,GAAAA,EACA,KACA,CAEA,QACA,CACA,GAEAC,QA9FA,WA+FA,cACA,sBACA,EACAtG,QAAAA,CACA2C,WAAAA,SAAAA,GACA,4BACA,yBACA,EACA4D,OAAAA,WAAA,WACAX,EAAAA,EAAAA,IAAAA,uBAAAA,MAAAA,SAAAA,GACA,gBACA,IACAA,EAAAA,EAAAA,IAAAA,gCAAAA,MAAAA,SAAAA,GACA,gBACA,GACA,EACAY,gBAAAA,WAAA,WACAZ,EAAAA,EAAAA,IAAAA,oDAAAA,MACA,YACA,mBACA,mCACArE,YAAAA,WACA,oBACA,UACA,OAEA,GAEA,EACAkB,WA1BA,SA0BAgE,GACA,eACAC,EAAAA,EAAAA,GAAAA,SAAAA,GAAAA,KACA,0BAEA,EACAC,OAAAA,WAAA,yEACA,iBACA,kCACAC,GACA,sBACA,eACAC,EAAAA,OAAAA,SAAAA,KAAAA,KAAAA,KAAAA,KAAAA,MACA,gBAAApG,KAAAA,IACAqG,EACAC,MAAA,YACA,wBACA,sBACA,eACAxF,YAAAA,WACA,cACA,QACA,WACA,gBACA,uCACAoC,EACA3C,EAAAA,KAAAA,0BAAAA,KAAAA,OAEA,yCACA,yBACA,6BACA,cACA,sBACA,sBACA,aACA,IACAgG,OAAA,YACA,qBACA,aACA,GACA,EACApD,eAAAA,SA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OAAAA,IAAAA,MAAAA,SAAAA,GACArE,YAAAA,WACA,eACA,mBACA,OACA,IACA,aACA,EACA8B,cA9KA,SA8KAR,GACA,iBACA,qBACA,wCACA,EACAnB,cAnLA,WAoLA,uBACA,EACAD,WAtLA,gBAuLA,gBACA,0BACA,gCAEA,cAGA,IOpf8R,ICO1R,GAAY,OACd,EACA1D,EACA4B,GACA,EACA,KACA,KACA,MAIF,EAAe,EAAiB,O,2HCjBjB,SAAS8H,EAA2BC,EAAGC,GACpD,IAAIC,EAAuB,qBAAXC,QAA0BH,EAAEG,OAAOC,WAAaJ,EAAE,cAElE,IAAKE,EAAI,CACP,GAAIG,MAAMC,QAAQN,KAAOE,GAAKK,EAAAA,EAAAA,GAA2BP,KAAOC,GAAkBD,GAAyB,kBAAbA,EAAEnH,OAAqB,CAC/GqH,IAAIF,EAAIE,GACZ,IAAIM,EAAI,EAEJC,EAAI,WAAe,EAEvB,MAAO,CACLC,EAAGD,EACHE,EAAG,WACD,OAAIH,GAAKR,EAAEnH,OAAe,CACxB+H,MAAM,GAED,CACLA,MAAM,EACN/J,MAAOmJ,EAAEQ,KAEZ,EACDK,EAAG,SAAWzH,GACZ,MAAMA,CACP,EACD0H,EAAGL,EAEN,CAED,MAAM,IAAIM,UAAU,wIACrB,CAED,IAEIC,EAFAC,GAAmB,EACnBC,GAAS,EAEb,MAAO,CACLR,EAAG,WACDR,EAAKA,EAAGiB,KAAKnB,EACd,EACDW,EAAG,WACD,IAAIS,EAAOlB,EAAGmB,OAEd,OADAJ,EAAmBG,EAAKR,KACjBQ,CACR,EACDP,EAAG,SAAWS,GACZJ,GAAS,EACTF,EAAMM,CACP,EACDR,EAAG,WACD,IACOG,GAAoC,MAAhBf,EAAG,WAAmBA,EAAG,WAGnD,CAJD,QAGE,GAAIgB,EAAQ,MAAMF,CACnB,CACF,EAEJ,C","sources":["webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?fdb7","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?32f1","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?83fa","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?38c5","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?5c63","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?7b71","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?f78d","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?62de","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?9030","webpack://@openc3/tool-admin/../../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":_vm.width},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=ae5a22c8&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Download Gems \")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"px-2\"},[_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"searchGithub\",\"color\":\"primary\",\"disabled\":_vm.disableSearch},on:{\"click\":_vm.searchGithub}},[_vm._v(\" Github \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),(_vm.listData.length < 1)?_c('div',{staticClass:\"mt-4\"},[_c('v-row',{staticClass:\"mx-2\"},[_c('span',[_vm._v(\" I’m sorry, Dave. No gems available.... \")])])],1):_c('div',{staticClass:\"mt-4\"},_vm._l((_vm.listData),function(data,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(data.name))])],1),_c('v-list-item-icon',[(_vm.activeDownload)?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"disabled\":_vm.activeDownload},on:{\"click\":function($event){return _vm.downloadGem(data)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-cloud-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),(index < _vm.listData.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DownloadDialog.vue?vue&type=template&id=e4c242e6&\"\nimport script from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{staticClass:\"px-2\",attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"show-size\":\"\",\"accept\":\".gem\",\"label\":\"Click to select plugin .gem file to install\"},on:{\"change\":function($event){return _vm.fileChange()},\"mousedown\":function($event){return _vm.fileMousedown()}},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"data-test\":\"download-plugin\",\"disabled\":_vm.file !== null},on:{\"click\":function($event){_vm.showDownloadDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-cloud-download\")]),_c('span',[_vm._v(\" Download \")])],1)],1)],1),_c('v-row',{staticClass:\"px-2 pb-2\",staticStyle:{\"margin-top\":\"10px\"},attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Show Default Tools\",\"data-test\":\"show-default-tools\"},model:{value:(_vm.showDefaultTools),callback:function ($$v) {_vm.showDefaultTools=$$v},expression:\"showDefaultTools\"}})],1),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('div',[_vm._v(\"* indicates a modified plugin\")]),_c('div',[_vm._v(\"Click target link to download modifications\")])])],1),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType,\"data-test\":\"plugin-alert\"},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),(Object.keys(_vm.processes).length > 0)?_c('v-list',{attrs:{\"data-test\":\"process-list\"}},_vm._l((_vm.processes),function(process){return _c('div',{key:process.name},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('span',{domProps:{\"textContent\":_vm._s(\n `Processing ${process.process_type}: ${process.detail} - ${process.state}`\n )}})]),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),_c('v-list-item-icon',[(process.state === 'Running')?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"show-output\"},on:{\"click\":function($event){return _vm.showOutput(process)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Output\")])])],1)],1),_c('v-divider')],1)}),0):_vm._e(),_c('v-list',{attrs:{\"data-test\":\"plugin-list\"}},_vm._l((_vm.shownPlugins),function(plugin,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[(_vm.isModified(plugin))?_c('span',[_vm._v(\"* \")]):_vm._e(),_vm._v(_vm._s(plugin))]),(_vm.pluginTargets(plugin).length !== 0)?_c('v-list-item-subtitle',_vm._l((_vm.pluginTargets(plugin)),function(target,index){return _c('span',{key:index},[(target.modified)?_c('a',{on:{\"click\":function($event){$event.preventDefault();return _vm.downloadTarget(target.name)}}},[_vm._v(_vm._s(target.name)+\" \")]):_c('span',[_vm._v(_vm._s(target.name)+\" \")])])}),0):_vm._e()],1),_c('v-list-item-icon',[_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"edit-plugin\"},on:{\"click\":function($event){return _vm.editPlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-pencil \")])]}}],null,true)},[_c('span',[_vm._v(\"Edit Plugin Details\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"upgrade-plugin\"},on:{\"click\":function($event){return _vm.upgradePlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-update \")])]}}],null,true)},[_c('span',[_vm._v(\"Upgrade Plugin\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"delete-plugin\"},on:{\"click\":function($event){return _vm.deletePrompt(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Plugin\")])])],1)])],1),(index < _vm.plugins.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_c('plugin-dialog',{attrs:{\"pluginName\":_vm.pluginName,\"variables\":_vm.variables,\"pluginTxt\":_vm.pluginTxt,\"existingPluginTxt\":_vm.existingPluginTxt},on:{\"submit\":_vm.pluginCallback},model:{value:(_vm.showPluginDialog),callback:function ($$v) {_vm.showPluginDialog=$$v},expression:\"showPluginDialog\"}}),(_vm.showModifiedPluginDialog)?_c('modified-plugin-dialog',{attrs:{\"pluginName\":_vm.currentPlugin,\"targets\":_vm.pluginTargets(_vm.currentPlugin),\"pluginDelete\":_vm.pluginDelete},on:{\"submit\":_vm.modifiedSubmit},model:{value:(_vm.showModifiedPluginDialog),callback:function ($$v) {_vm.showModifiedPluginDialog=$$v},expression:\"showModifiedPluginDialog\"}}):_vm._e(),_c('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-card-text',[_c('v-row',{staticClass:\"mt-3\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h3',[_vm._v(_vm._s(_vm.pluginName))])]),(_vm.existingPluginTxt !== null)?_c('v-radio-group',{attrs:{\"mandatory\":\"\"},model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},[_c('v-radio',{attrs:{\"label\":\"Use existing plugin.txt\",\"value\":1}}),_c('v-radio',{attrs:{\"label\":\"Use new plugin.txt\",\"value\":0}})],1):_vm._e()],1),_c('v-tabs',{attrs:{\"background-color\":\"primary\",\"dark\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab',{key:0},[_vm._v(\" Variables \")]),_c('v-tab',{key:1},[_vm._v(\" plugin.txt \")]),(_vm.existingPluginTxt !== null)?_c('v-tab',{key:2},[_vm._v(\" Existing plugin.txt \")]):_vm._e()],1),_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',{key:0},[_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"mt-3\"},_vm._l((_vm.localVariables),function(value,name){return _c('div',{key:name},[_c('v-col',[_c('v-text-field',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"label\":name},model:{value:(_vm.localVariables[name]),callback:function ($$v) {_vm.$set(_vm.localVariables, name, $$v)},expression:\"localVariables[name]\"}})],1)],1)}),0)],1)])],1),_c('v-tab-item',{key:1},[_c('v-textarea',{attrs:{\"rows\":\"15\",\"data-test\":\"edit-plugin-txt\"},model:{value:(_vm.localPluginTxt),callback:function ($$v) {_vm.localPluginTxt=$$v},expression:\"localPluginTxt\"}})],1),(_vm.existingPluginTxt !== null)?_c('v-tab-item',{key:2},[_c('v-textarea',{attrs:{\"rows\":\"15\",\"data-test\":\"edit-existing-plugin-txt\"},model:{value:(_vm.localExistingPluginTxt),callback:function ($$v) {_vm.localExistingPluginTxt=$$v},expression:\"localExistingPluginTxt\"}})],1):_vm._e()],1),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"edit-cancel\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"edit-submit\"}},[_vm._v(\" Install \")])],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginDialog.vue?vue&type=template&id=280eb7fe&\"\nimport script from \"./PluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Modified Plugin \")]),_c('v-spacer')],1),_c('v-card-text',{staticClass:\"pa-3\"},[_c('div',[_vm._v(\" Plugin \"+_vm._s(_vm.plugin)+\" was modified. Would you like to delete the existing modified files? \")]),_vm._l((_vm.modifiedTargets),function(target,index){return _c('v-list-item',{key:index,attrs:{\"two-line\":\"\"}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(target.name))]),_vm._l((target.files),function(file,itemIndex){return _c('v-list-item-subtitle',{key:itemIndex},[_vm._v(_vm._s(file))])})],2)],1)}),_c('v-checkbox',{attrs:{\"label\":\"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!\",\"color\":\"error\",\"data-test\":\"modified-plugin-delete-checkbox\"},model:{value:(_vm.deleteModified),callback:function ($$v) {_vm.deleteModified=$$v},expression:\"deleteModified\"}})],2),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"modified-plugin-cancel\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"modified-plugin-submit\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('submit', _vm.deleteModified)}}},[_vm._v(_vm._s(_vm.submitButton))])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModifiedPluginDialog.vue?vue&type=template&id=23e615ac&scoped=true&\"\nimport script from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23e615ac\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginsTab.vue?vue&type=template&id=27250e42&\"\nimport script from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginsTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}"],"names":["render","_vm","this","_c","_self","attrs","width","model","value","show","callback","$$v","expression","_v","_s","title","staticClass","scopedSlots","_u","key","fn","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","computed","get","set","methods","type","link","component","disableSearch","searchGithub","listData","length","_l","data","index","name","activeDownload","downloadGem","_e","url","response","expanded","parseGithub","filter","map","getResponse","axios","setTimeout","ref","fileChange","fileMousedown","file","showDownloadDialog","showDefaultTools","alertType","showAlert","alert","Object","keys","processes","process","domProps","process_type","detail","state","formatDate","updated_at","showOutput","shownPlugins","plugin","isModified","pluginTargets","target","modified","preventDefault","downloadTarget","editPlugin","upgradePlugin","deletePrompt","plugins","pluginName","variables","pluginTxt","existingPluginTxt","pluginCallback","showPluginDialog","showModifiedPluginDialog","currentPlugin","pluginDelete","modifiedSubmit","processOutput","showProcessOutput","radioGroup","tab","submit","apply","arguments","localVariables","$set","localPluginTxt","localExistingPluginTxt","close","required","watch","immediate","handler","lines","plugin_txt_lines","modifiedTargets","files","itemIndex","deleteModified","$emit","submitButton","targets","created","Api","components","DownloadDialog","PluginDialog","ModifiedPluginDialog","SimpleTextDialog","pluginHashTmp","defaultPlugins","pluginNameSplit","result","mounted","update","updateProcesses","nanoSecs","toDate","upload","existing","formData","promise","then","catch","pluginHash","pluginInstall","plugin_hash","uInt8Array","confirm","okText","cancelText","deletePlugin","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","unsupportedIterableToArray","i","F","s","n","done","e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2"],"sourceRoot":""}
|
1
|
+
{"version":3,"file":"js/113.js","mappings":"mKAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,WAAW,CAACE,MAAM,CAAC,MAAQJ,EAAIK,OAAOC,MAAM,CAACC,MAAOP,EAAIQ,KAAMC,SAAS,SAAUC,GAAMV,EAAIQ,KAAKE,CAAI,EAACC,WAAW,SAAS,CAACT,EAAG,SAAS,CAACA,EAAG,eAAe,CAACA,EAAG,YAAYA,EAAG,OAAO,CAACF,EAAIY,GAAG,IAAIZ,EAAIa,GAAGb,EAAIc,OAAO,OAAOZ,EAAG,YAAYA,EAAG,MAAM,CAACa,YAAY,QAAQ,CAACb,EAAG,YAAY,CAACE,MAAM,CAAC,IAAM,IAAIY,YAAYh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CACA+C,aADA,WAEA,IADA,EACA,KADA,UAEA,cAFA,IAEA,0CACA,mBACA,eACAwD,EAAAA,EAAAA,MAAAA,GAAAA,GACA,kBAEA,kCACA,uBAEAC,EAAAA,KAAAA,EAEA,CAbA,+BAcA,QACA,EACAtD,cAjBA,WAiBA,WACA,mBACA,SACA,uBACA,4BACAsD,EAAAA,KAAAA,EAAAA,QAAAA,IAGA,QACA,CACA,EACAvD,WA5BA,WA4BA,WACA,mBACA,SACA,uBACA,GACA,6BACA,6BACA,CACAuD,GAAAA,EACA,KACA,CAEA,QACA,CACA,GAEAC,QA9FA,WA+FA,cACA,sBACA,EACAtG,QAAAA,CACA2C,WAAAA,SAAAA,GACA,4BACA,yBACA,EACA4D,OAAAA,WAAA,WACAX,EAAAA,EAAAA,IAAAA,uBAAAA,MAAAA,SAAAA,GACA,gBACA,IACAA,EAAAA,EAAAA,IAAAA,gCAAAA,MAAAA,SAAAA,GACA,gBACA,GACA,EACAY,gBAAAA,WAAA,WACAZ,EAAAA,EAAAA,IAAAA,oDAAAA,MACA,YACA,mBACA,mCACArE,YAAAA,WACA,oBACA,UACA,OAEA,GAEA,EACAkB,WA1BA,SA0BAgE,GACA,eACAC,EAAAA,EAAAA,GAAAA,SAAAA,GAAAA,KACA,0BAEA,EACAC,OAAAA,WAAA,yEACA,iBACA,kCACAC,GACA,sBACA,eACAC,EAAAA,OAAAA,SAAAA,KAAAA,KAAAA,KAAAA,KAAAA,MACA,gBAAApG,KAAAA,IACAqG,EACAC,MAAA,YACA,wBACA,sBACA,eACAxF,YAAAA,WACA,cACA,QACA,WACA,gBACA,uCACAoC,EACA3C,EAAAA,KAAAA,0BAAAA,KAAAA,OAEA,yCACA,yBACA,6BACA,cACA,sBACA,sBACA,aACA,IACAgG,OAAA,YACA,qBACA,aACA,GACA,EACApD,eAAAA,SAAAA,GACA,yBACA,4BACAqD,EAAAA,QAAAA,KAAAA,eAEA,qBACA,qCACA,qBACA,kCAEA,oBAEA,EACAhD,eAAAA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A,iBACA,qBACA,wCACA,EACAnB,cAnLA,WAoLA,uBACA,EACAD,WAtLA,gBAuLA,gBACA,0BACA,gCAEA,cAGA,IOpf8R,ICO1R,GAAY,OACd,EACA1D,EACA4B,GACA,EACA,KACA,KACA,MAIF,EAAe,EAAiB,O,2HCjBjB,SAAS8H,EAA2BC,EAAGC,GACpD,IAAIC,EAAuB,qBAAXC,QAA0BH,EAAEG,OAAOC,WAAaJ,EAAE,cAElE,IAAKE,EAAI,CACP,GAAIG,MAAMC,QAAQN,KAAOE,GAAKK,EAAAA,EAAAA,GAA2BP,KAAOC,GAAkBD,GAAyB,kBAAbA,EAAEnH,OAAqB,CAC/GqH,IAAIF,EAAIE,GACZ,IAAIM,EAAI,EAEJC,EAAI,WAAe,EAEvB,MAAO,CACLC,EAAGD,EACHE,EAAG,WACD,OAAIH,GAAKR,EAAEnH,OAAe,CACxB+H,MAAM,GAED,CACLA,MAAM,EACN/J,MAAOmJ,EAAEQ,KAEZ,EACDK,EAAG,SAAWzH,GACZ,MAAMA,CACP,EACD0H,EAAGL,EAEN,CAED,MAAM,IAAIM,UAAU,wIACrB,CAED,IAEIC,EAFAC,GAAmB,EACnBC,GAAS,EAEb,MAAO,CACLR,EAAG,WACDR,EAAKA,EAAGiB,KAAKnB,EACd,EACDW,EAAG,WACD,IAAIS,EAAOlB,EAAGmB,OAEd,OADAJ,EAAmBG,EAAKR,KACjBQ,CACR,EACDP,EAAG,SAAWS,GACZJ,GAAS,EACTF,EAAMM,CACP,EACDR,EAAG,WACD,IACOG,GAAoC,MAAhBf,EAAG,WAAmBA,EAAG,WAGnD,CAJD,QAGE,GAAIgB,EAAQ,MAAMF,CACnB,CACF,EAEJ,C","sources":["webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?fdb7","webpack://@openc3/tool-admin/../openc3-tool-common/src/components/SimpleTextDialog.vue?5fff","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?32f1","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/DownloadDialog.vue?83fa","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?38c5","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/PluginDialog.vue?5c63","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?7b71","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/ModifiedPluginDialog.vue?f78d","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?62de","webpack://@openc3/tool-admin/../openc3-tool-common/src/tools/admin/tabs/PluginsTab.vue?9030","webpack://@openc3/tool-admin/../../node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":_vm.width},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('v-spacer'),_c('div',{staticClass:\"mx-2\"},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"downloadIcon\"},on:{\"click\":_vm.download}},[_vm._v(\" mdi-download \")])],1)]}}])},[_c('span',[_vm._v(\" Download \")])])],1)],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('span',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.text))])])]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\"},on:{\"click\":function($event){_vm.show = !_vm.show}}},[_vm._v(\" Ok \")])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SimpleTextDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SimpleTextDialog.vue?vue&type=template&id=ae5a22c8&\"\nimport script from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SimpleTextDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Download Gems \")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"my-2\"},[_vm._v(\" Select a download option \")]),_c('v-row',[_c('v-col',[_c('div',{staticClass:\"px-2\"},[_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"searchGithub\",\"color\":\"primary\",\"disabled\":_vm.disableSearch},on:{\"click\":_vm.searchGithub}},[_vm._v(\" Github \"),_c('v-icon',{attrs:{\"right\":\"\",\"dark\":\"\"}},[_vm._v(\" mdi-github \")])],1)],1)])],1),_c('v-row',{staticClass:\"mt-5\"},[_vm._v(\" Community Gems \")]),(_vm.listData.length < 1)?_c('div',{staticClass:\"mt-4\"},[_c('v-row',{staticClass:\"mx-2\"},[_c('span',[_vm._v(\" I’m sorry, Dave. No gems available.... \")])])],1):_c('div',{staticClass:\"mt-4\"},_vm._l((_vm.listData),function(data,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(data.name))])],1),_c('v-list-item-icon',[(_vm.activeDownload)?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"disabled\":_vm.activeDownload},on:{\"click\":function($event){return _vm.downloadGem(data)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-cloud-download \")])]}}],null,true)},[_c('span',[_vm._v(\"Download Gem\")])])],1)])],1),(index < _vm.listData.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0)],1)])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DownloadDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DownloadDialog.vue?vue&type=template&id=e4c242e6&\"\nimport script from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DownloadDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-row',{staticClass:\"px-2\",attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-col',[_c('v-file-input',{ref:\"fileInput\",staticClass:\"mx-2\",attrs:{\"show-size\":\"\",\"accept\":\".gem\",\"label\":\"Click to select plugin .gem file to install\"},on:{\"change\":function($event){return _vm.fileChange()},\"mousedown\":function($event){return _vm.fileMousedown()}},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"data-test\":\"download-plugin\",\"disabled\":_vm.file !== null},on:{\"click\":function($event){_vm.showDownloadDialog = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-cloud-download\")]),_c('span',[_vm._v(\" Download \")])],1)],1)],1),_c('v-row',{staticClass:\"px-2 pb-2\",staticStyle:{\"margin-top\":\"10px\"},attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":\"Show Default Tools\",\"data-test\":\"show-default-tools\"},model:{value:(_vm.showDefaultTools),callback:function ($$v) {_vm.showDefaultTools=$$v},expression:\"showDefaultTools\"}})],1),_c('v-col',{attrs:{\"align\":\"right\"}},[_c('div',[_vm._v(\"* indicates a modified plugin\")]),_c('div',[_vm._v(\"Click target link to download modifications\")])])],1),_c('v-alert',{attrs:{\"dismissible\":\"\",\"transition\":\"scale-transition\",\"type\":_vm.alertType,\"data-test\":\"plugin-alert\"},model:{value:(_vm.showAlert),callback:function ($$v) {_vm.showAlert=$$v},expression:\"showAlert\"}},[_vm._v(_vm._s(_vm.alert))]),(Object.keys(_vm.processes).length > 0)?_c('v-list',{attrs:{\"data-test\":\"process-list\"}},_vm._l((_vm.processes),function(process){return _c('div',{key:process.name},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('span',{domProps:{\"textContent\":_vm._s(\n `Processing ${process.process_type}: ${process.detail} - ${process.state}`\n )}})]),_c('v-list-item-subtitle',[_c('span',{domProps:{\"textContent\":_vm._s(' Updated At: ' + _vm.formatDate(process.updated_at))}})])],1),_c('v-list-item-icon',[(process.state === 'Running')?_c('div',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"show-output\"},on:{\"click\":function($event){return _vm.showOutput(process)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-eye \")])]}}],null,true)},[_c('span',[_vm._v(\"Show Output\")])])],1)],1),_c('v-divider')],1)}),0):_vm._e(),_c('v-list',{attrs:{\"data-test\":\"plugin-list\"}},_vm._l((_vm.shownPlugins),function(plugin,index){return _c('div',{key:index},[_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[(_vm.isModified(plugin))?_c('span',[_vm._v(\"* \")]):_vm._e(),_vm._v(_vm._s(plugin))]),(_vm.pluginTargets(plugin).length !== 0)?_c('v-list-item-subtitle',_vm._l((_vm.pluginTargets(plugin)),function(target,index){return _c('span',{key:index},[(target.modified)?_c('a',{on:{\"click\":function($event){$event.preventDefault();return _vm.downloadTarget(target.name)}}},[_vm._v(_vm._s(target.name)+\" \")]):_c('span',[_vm._v(_vm._s(target.name)+\" \")])])}),0):_vm._e()],1),_c('v-list-item-icon',[_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"edit-plugin\"},on:{\"click\":function($event){return _vm.editPlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-pencil \")])]}}],null,true)},[_c('span',[_vm._v(\"Edit Plugin Details\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"upgrade-plugin\"},on:{\"click\":function($event){return _vm.upgradePlugin(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-update \")])]}}],null,true)},[_c('span',[_vm._v(\"Upgrade Plugin\")])])],1),_c('div',{staticClass:\"mx-3\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({attrs:{\"data-test\":\"delete-plugin\"},on:{\"click\":function($event){return _vm.deletePrompt(plugin)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Plugin\")])])],1)])],1),(index < _vm.plugins.length - 1)?_c('v-divider',{key:index}):_vm._e()],1)}),0),_c('plugin-dialog',{attrs:{\"pluginName\":_vm.pluginName,\"variables\":_vm.variables,\"pluginTxt\":_vm.pluginTxt,\"existingPluginTxt\":_vm.existingPluginTxt},on:{\"submit\":_vm.pluginCallback},model:{value:(_vm.showPluginDialog),callback:function ($$v) {_vm.showPluginDialog=$$v},expression:\"showPluginDialog\"}}),(_vm.showModifiedPluginDialog)?_c('modified-plugin-dialog',{attrs:{\"pluginName\":_vm.currentPlugin,\"targets\":_vm.pluginTargets(_vm.currentPlugin),\"pluginDelete\":_vm.pluginDelete},on:{\"submit\":_vm.modifiedSubmit},model:{value:(_vm.showModifiedPluginDialog),callback:function ($$v) {_vm.showModifiedPluginDialog=$$v},expression:\"showModifiedPluginDialog\"}}):_vm._e(),_c('download-dialog',{model:{value:(_vm.showDownloadDialog),callback:function ($$v) {_vm.showDownloadDialog=$$v},expression:\"showDownloadDialog\"}}),_c('simple-text-dialog',{attrs:{\"title\":\"Process Output\",\"text\":_vm.processOutput},model:{value:(_vm.showProcessOutput),callback:function ($$v) {_vm.showProcessOutput=$$v},expression:\"showProcessOutput\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-card-text',[_c('v-row',{staticClass:\"mt-3\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h3',[_vm._v(_vm._s(_vm.pluginName))])]),(_vm.existingPluginTxt !== null)?_c('v-radio-group',{attrs:{\"mandatory\":\"\"},model:{value:(_vm.radioGroup),callback:function ($$v) {_vm.radioGroup=$$v},expression:\"radioGroup\"}},[_c('v-radio',{attrs:{\"label\":\"Use existing plugin.txt\",\"value\":1}}),_c('v-radio',{attrs:{\"label\":\"Use new plugin.txt\",\"value\":0}})],1):_vm._e()],1),_c('v-tabs',{attrs:{\"background-color\":\"primary\",\"dark\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab',{key:0},[_vm._v(\" Variables \")]),_c('v-tab',{key:1},[_vm._v(\" plugin.txt \")]),(_vm.existingPluginTxt !== null)?_c('v-tab',{key:2},[_vm._v(\" Existing plugin.txt \")]):_vm._e()],1),_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submit.apply(null, arguments)}}},[_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',{key:0},[_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{staticClass:\"mt-3\"},_vm._l((_vm.localVariables),function(value,name){return _c('div',{key:name},[_c('v-col',[_c('v-text-field',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"label\":name},model:{value:(_vm.localVariables[name]),callback:function ($$v) {_vm.$set(_vm.localVariables, name, $$v)},expression:\"localVariables[name]\"}})],1)],1)}),0)],1)])],1),_c('v-tab-item',{key:1},[_c('v-textarea',{attrs:{\"rows\":\"15\",\"data-test\":\"edit-plugin-txt\"},model:{value:(_vm.localPluginTxt),callback:function ($$v) {_vm.localPluginTxt=$$v},expression:\"localPluginTxt\"}})],1),(_vm.existingPluginTxt !== null)?_c('v-tab-item',{key:2},[_c('v-textarea',{attrs:{\"rows\":\"15\",\"data-test\":\"edit-existing-plugin-txt\"},model:{value:(_vm.localExistingPluginTxt),callback:function ($$v) {_vm.localExistingPluginTxt=$$v},expression:\"localExistingPluginTxt\"}})],1):_vm._e()],1),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"edit-cancel\"},on:{\"click\":function($event){$event.preventDefault();return _vm.close.apply(null, arguments)}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"data-test\":\"edit-submit\"}},[_vm._v(\" Install \")])],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginDialog.vue?vue&type=template&id=280eb7fe&\"\nimport script from \"./PluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" Modified Plugin \")]),_c('v-spacer')],1),_c('v-card-text',{staticClass:\"pa-3\"},[_c('div',[_vm._v(\" Plugin \"+_vm._s(_vm.plugin)+\" was modified. Would you like to delete the existing modified files? \")]),_vm._l((_vm.modifiedTargets),function(target,index){return _c('v-list-item',{key:index,attrs:{\"two-line\":\"\"}},[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(target.name))]),_vm._l((target.files),function(file,itemIndex){return _c('v-list-item-subtitle',{key:itemIndex},[_vm._v(_vm._s(file))])})],2)],1)}),_c('v-checkbox',{attrs:{\"label\":\"DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!\",\"color\":\"error\",\"data-test\":\"modified-plugin-delete-checkbox\"},model:{value:(_vm.deleteModified),callback:function ($$v) {_vm.deleteModified=$$v},expression:\"deleteModified\"}})],2),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"modified-plugin-cancel\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('cancel')}}},[_vm._v(\"Cancel\")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"modified-plugin-submit\"},on:{\"click\":function($event){_vm.show = false\n _vm.$emit('submit', _vm.deleteModified)}}},[_vm._v(_vm._s(_vm.submitButton))])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ModifiedPluginDialog.vue?vue&type=template&id=23e615ac&scoped=true&\"\nimport script from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ModifiedPluginDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23e615ac\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PluginsTab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PluginsTab.vue?vue&type=template&id=27250e42&\"\nimport script from \"./PluginsTab.vue?vue&type=script&lang=js&\"\nexport * from \"./PluginsTab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function F() {};\n\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}"],"names":["render","_vm","this","_c","_self","attrs","width","model","value","show","callback","$$v","expression","_v","_s","title","staticClass","scopedSlots","_u","key","fn","on","_g","_b","download","staticStyle","text","$event","staticRenderFns","props","computed","get","set","methods","type","link","component","disableSearch","searchGithub","listData","length","_l","data","index","name","activeDownload","downloadGem","_e","url","response","expanded","parseGithub","filter","map","getResponse","axios","setTimeout","ref","fileChange","fileMousedown","file","showDownloadDialog","showDefaultTools","alertType","showAlert","alert","Object","keys","processes","process","domProps","process_type","detail","state","formatDate","updated_at","showOutput","shownPlugins","plugin","isModified","pluginTargets","target","modified","preventDefault","downloadTarget","editPlugin","upgradePlugin","deletePrompt","plugins","pluginName","variables","pluginTxt","existingPluginTxt","pluginCallback","showPluginDialog","showModifiedPluginDialog","currentPlugin","pluginDelete","modifiedSubmit","processOutput","showProcessOutput","radioGroup","tab","submit","apply","arguments","localVariables","$set","localPluginTxt","localExistingPluginTxt","close","required","watch","immediate","handler","lines","plugin_txt_lines","modifiedTargets","files","itemIndex","deleteModified","$emit","submitButton","targets","created","Api","components","DownloadDialog","PluginDialog","ModifiedPluginDialog","SimpleTextDialog","pluginHashTmp","defaultPlugins","pluginNameSplit","result","mounted","update","updateProcesses","nanoSecs","toDate","upload","existing","formData","promise","then","catch","pluginHash","pluginInstall","plugin_hash","uInt8Array","confirm","okText","cancelText","deletePlugin","_createForOfIteratorHelper","o","allowArrayLike","it","Symbol","iterator","Array","isArray","unsupportedIterableToArray","i","F","s","n","done","e","f","TypeError","err","normalCompletion","didErr","call","step","next","_e2"],"sourceRoot":""}
|
data/tools/admin/js/388.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";(self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[388],{9785:function(t,e,n){function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,{Z:function(){return r}})},7388:function(t,e,n){n.d(e,{Z:function(){return zt}});var r=n(9785);function a(t){return(0,r.Z)(1,arguments),t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}var i=n(6700);function o(t){if((0,r.Z)(1,arguments),!a(t)&&"number"!==typeof t)return!1;var e=(0,i.Z)(t);return!isNaN(Number(e))}function u(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function s(t,e){(0,r.Z)(2,arguments);var n=(0,i.Z)(t).getTime(),a=u(e);return new Date(n+a)}function d(t,e){(0,r.Z)(2,arguments);var n=u(e);return s(t,-n)}var c=864e5;function l(t){(0,r.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var a=e.getTime(),o=n-a;return Math.floor(o/c)+1}function h(t){(0,r.Z)(1,arguments);var e=1,n=(0,i.Z)(t),a=n.getUTCDay(),o=(a<e?7:0)+a-e;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function f(t){(0,r.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var o=h(a),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var s=h(u);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function m(t){(0,r.Z)(1,arguments);var e=f(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var a=h(n);return a}var g=6048e5;function v(t){(0,r.Z)(1,arguments);var e=(0,i.Z)(t),n=h(e).getTime()-m(e).getTime();return Math.round(n/g)+1}var w={};function b(){return w}function y(t,e){var n,a,o,s,d,c,l,h;(0,r.Z)(1,arguments);var f=b(),m=u(null!==(n=null!==(a=null!==(o=null!==(s=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==s?s:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==o?o:f.weekStartsOn)&&void 0!==a?a:null===(l=f.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,i.Z)(t),v=g.getUTCDay(),w=(v<m?7:0)+v-m;return g.setUTCDate(g.getUTCDate()-w),g.setUTCHours(0,0,0,0),g}function p(t,e){var n,a,o,s,d,c,l,h;(0,r.Z)(1,arguments);var f=(0,i.Z)(t),m=f.getUTCFullYear(),g=b(),v=u(null!==(n=null!==(a=null!==(o=null!==(s=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==s?s:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==o?o:g.firstWeekContainsDate)&&void 0!==a?a:null===(l=g.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(m+1,0,v),w.setUTCHours(0,0,0,0);var p=y(w,e),T=new Date(0);T.setUTCFullYear(m,0,v),T.setUTCHours(0,0,0,0);var C=y(T,e);return f.getTime()>=p.getTime()?m+1:f.getTime()>=C.getTime()?m:m-1}function T(t,e){var n,a,i,o,s,d,c,l;(0,r.Z)(1,arguments);var h=b(),f=u(null!==(n=null!==(a=null!==(i=null!==(o=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==o?o:null===e||void 0===e||null===(s=e.locale)||void 0===s||null===(d=s.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==i?i:h.firstWeekContainsDate)&&void 0!==a?a:null===(c=h.locale)||void 0===c||null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1),m=p(t,e),g=new Date(0);g.setUTCFullYear(m,0,f),g.setUTCHours(0,0,0,0);var v=y(g,e);return v}var C=6048e5;function M(t,e){(0,r.Z)(1,arguments);var n=(0,i.Z)(t),a=y(n,e).getTime()-T(n,e).getTime();return Math.round(a/C)+1}function k(t,e){var n=t<0?"-":"",r=Math.abs(t).toString();while(r.length<e)r="0"+r;return n+r}var D={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return k("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):k(n+1,2)},d:function(t,e){return k(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return k(t.getUTCHours()%12||12,e.length)},H:function(t,e){return k(t.getUTCHours(),e.length)},m:function(t,e){return k(t.getUTCMinutes(),e.length)},s:function(t,e){return k(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),a=Math.floor(r*Math.pow(10,n-3));return k(a,e.length)}},x=D,P={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},U={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return x.y(t,e)},Y:function(t,e,n,r){var a=p(t,r),i=a>0?a:1-a;if("YY"===e){var o=i%100;return k(o,2)}return"Yo"===e?n.ordinalNumber(i,{unit:"year"}):k(i,e.length)},R:function(t,e){var n=f(t);return k(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return k(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return k(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return k(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return x.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return k(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var a=M(t,r);return"wo"===e?n.ordinalNumber(a,{unit:"week"}):k(a,e.length)},I:function(t,e,n){var r=v(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):k(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):x.d(t,e)},D:function(t,e,n){var r=l(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):k(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return k(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return k(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return k(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours(),a=r/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,a=t.getUTCHours();switch(r=12===a?P.noon:0===a?P.midnight:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,a=t.getUTCHours();switch(r=a>=17?P.evening:a>=12?P.afternoon:a>=4?P.morning:P.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return x.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):x.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):k(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):k(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):x.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):x.s(t,e)},S:function(t,e){return x.S(t,e)},X:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return W(i);case"XXXX":case"XX":return Y(i);case"XXXXX":case"XXX":default:return Y(i,":")}},x:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"x":return W(i);case"xxxx":case"xx":return Y(i);case"xxxxx":case"xxx":default:return Y(i,":")}},O:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+S(i,":");case"OOOO":default:return"GMT"+Y(i,":")}},z:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+S(i,":");case"zzzz":default:return"GMT"+Y(i,":")}},t:function(t,e,n,r){var a=r._originalDate||t,i=Math.floor(a.getTime()/1e3);return k(i,e.length)},T:function(t,e,n,r){var a=r._originalDate||t,i=a.getTime();return k(i,e.length)}};function S(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;if(0===i)return n+String(a);var o=e||"";return n+String(a)+o+k(i,2)}function W(t,e){if(t%60===0){var n=t>0?"-":"+";return n+k(Math.abs(t)/60,2)}return Y(t,e)}function Y(t,e){var n=e||"",r=t>0?"-":"+",a=Math.abs(t),i=k(Math.floor(a/60),2),o=k(a%60,2);return r+i+n+o}var E=U,O=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},N=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},q=function(t,e){var n,r=t.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return O(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"});break}return n.replace("{{date}}",O(a,e)).replace("{{time}}",N(i,e))},Z={p:N,P:q},H=Z;function z(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var F=["D","DD"],L=["YY","YYYY"];function X(t){return-1!==F.indexOf(t)}function j(t){return-1!==L.indexOf(t)}function Q(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var G={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},B=function(t,e,n){var r,a=G[t];return r="string"===typeof a?a:1===e?a.one:a.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},A=B;function R(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var _={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},J={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},I={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},V={date:R({formats:_,defaultWidth:"full"}),time:R({formats:J,defaultWidth:"full"}),dateTime:R({formats:I,defaultWidth:"full"})},K=V,$={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tt=function(t,e,n,r){return $[t]},et=tt;function nt(t){return function(e,n){var r,a=null!==n&&void 0!==n&&n.context?String(n.context):"standalone";if("formatting"===a&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):i;r=t.formattingValues[o]||t.formattingValues[i]}else{var u=t.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;r=t.values[s]||t.values[u]}var d=t.argumentCallback?t.argumentCallback(e):e;return r[d]}}var rt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},at={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},it={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ot={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ut={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},st={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},dt=function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},ct={ordinalNumber:dt,era:nt({values:rt,defaultWidth:"wide"}),quarter:nt({values:at,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:nt({values:it,defaultWidth:"wide"}),day:nt({values:ot,defaultWidth:"wide"}),dayPeriod:nt({values:ut,defaultWidth:"wide",formattingValues:st,defaultFormattingWidth:"wide"})},lt=ct;function ht(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o,u=i[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?mt(s,(function(t){return t.test(u)})):ft(s,(function(t){return t.test(u)}));o=t.valueCallback?t.valueCallback(d):d,o=n.valueCallback?n.valueCallback(o):o;var c=e.slice(u.length);return{value:o,rest:c}}}function ft(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function mt(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function gt(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var a=r[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var u=e.slice(a.length);return{value:o,rest:u}}}var vt=/^(\d+)(th|st|nd|rd)?/i,wt=/\d+/i,bt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},yt={any:[/^b/i,/^(a|c)/i]},pt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Tt={any:[/1/i,/2/i,/3/i,/4/i]},Ct={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Mt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},kt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Dt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},xt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Pt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ut={ordinalNumber:gt({matchPattern:vt,parsePattern:wt,valueCallback:function(t){return parseInt(t,10)}}),era:ht({matchPatterns:bt,defaultMatchWidth:"wide",parsePatterns:yt,defaultParseWidth:"any"}),quarter:ht({matchPatterns:pt,defaultMatchWidth:"wide",parsePatterns:Tt,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ht({matchPatterns:Ct,defaultMatchWidth:"wide",parsePatterns:Mt,defaultParseWidth:"any"}),day:ht({matchPatterns:kt,defaultMatchWidth:"wide",parsePatterns:Dt,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:xt,defaultMatchWidth:"any",parsePatterns:Pt,defaultParseWidth:"any"})},St=Ut,Wt={code:"en-US",formatDistance:A,formatLong:K,formatRelative:et,localize:lt,match:St,options:{weekStartsOn:0,firstWeekContainsDate:1}},Yt=Wt,Et=Yt,Ot=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Nt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qt=/^'([^]*?)'?$/,Zt=/''/g,Ht=/[a-zA-Z]/;function zt(t,e,n){var a,s,c,l,h,f,m,g,v,w,y,p,T,C,M,k,D,x;(0,r.Z)(2,arguments);var P=String(e),U=b(),S=null!==(a=null!==(s=null===n||void 0===n?void 0:n.locale)&&void 0!==s?s:U.locale)&&void 0!==a?a:Et,W=u(null!==(c=null!==(l=null!==(h=null!==(f=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==f?f:null===n||void 0===n||null===(m=n.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==h?h:U.firstWeekContainsDate)&&void 0!==l?l:null===(v=U.locale)||void 0===v||null===(w=v.options)||void 0===w?void 0:w.firstWeekContainsDate)&&void 0!==c?c:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Y=u(null!==(y=null!==(p=null!==(T=null!==(C=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==C?C:null===n||void 0===n||null===(M=n.locale)||void 0===M||null===(k=M.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==T?T:U.weekStartsOn)&&void 0!==p?p:null===(D=U.locale)||void 0===D||null===(x=D.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==y?y:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var O=(0,i.Z)(t);if(!o(O))throw new RangeError("Invalid time value");var N=z(O),q=d(O,N),Z={firstWeekContainsDate:W,weekStartsOn:Y,locale:S,_originalDate:O},F=P.match(Nt).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=H[e];return n(t,S.formatLong)}return t})).join("").match(Ot).map((function(r){if("''"===r)return"'";var a=r[0];if("'"===a)return Ft(r);var i=E[a];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!j(r)||Q(r,e,String(t)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!X(r)||Q(r,e,String(t)),i(q,r,S.localize,Z);if(a.match(Ht))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return r})).join("");return F}function Ft(t){var e=t.match(qt);return e?e[1].replace(Zt,"'"):t}},6700:function(t,e,n){n.d(e,{Z:function(){return a}});var r=n(9785);function a(t){(0,r.Z)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}}}]);
|
1
|
+
"use strict";(self["webpackChunk_openc3_tool_admin"]=self["webpackChunk_openc3_tool_admin"]||[]).push([[388],{9785:function(t,e,n){function r(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}n.d(e,{Z:function(){return r}})},7388:function(t,e,n){n.d(e,{Z:function(){return Ft}});var r=n(9785);function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function i(t){return(0,r.Z)(1,arguments),t instanceof Date||"object"===a(t)&&"[object Date]"===Object.prototype.toString.call(t)}var o=n(6700);function u(t){if((0,r.Z)(1,arguments),!i(t)&&"number"!==typeof t)return!1;var e=(0,o.Z)(t);return!isNaN(Number(e))}function s(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function d(t,e){(0,r.Z)(2,arguments);var n=(0,o.Z)(t).getTime(),a=s(e);return new Date(n+a)}function c(t,e){(0,r.Z)(2,arguments);var n=s(e);return d(t,-n)}var l=864e5;function f(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var a=e.getTime(),i=n-a;return Math.floor(i/l)+1}function h(t){(0,r.Z)(1,arguments);var e=1,n=(0,o.Z)(t),a=n.getUTCDay(),i=(a<e?7:0)+a-e;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function m(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var i=h(a),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var s=h(u);return e.getTime()>=i.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function g(t){(0,r.Z)(1,arguments);var e=m(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var a=h(n);return a}var v=6048e5;function w(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=h(e).getTime()-g(e).getTime();return Math.round(n/v)+1}var b={};function y(){return b}function p(t,e){var n,a,i,u,d,c,l,f;(0,r.Z)(1,arguments);var h=y(),m=s(null!==(n=null!==(a=null!==(i=null!==(u=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==u?u:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:h.weekStartsOn)&&void 0!==a?a:null===(l=h.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,o.Z)(t),v=g.getUTCDay(),w=(v<m?7:0)+v-m;return g.setUTCDate(g.getUTCDate()-w),g.setUTCHours(0,0,0,0),g}function T(t,e){var n,a,i,u,d,c,l,f;(0,r.Z)(1,arguments);var h=(0,o.Z)(t),m=h.getUTCFullYear(),g=y(),v=s(null!==(n=null!==(a=null!==(i=null!==(u=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==u?u:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==i?i:g.firstWeekContainsDate)&&void 0!==a?a:null===(l=g.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(m+1,0,v),w.setUTCHours(0,0,0,0);var b=p(w,e),T=new Date(0);T.setUTCFullYear(m,0,v),T.setUTCHours(0,0,0,0);var C=p(T,e);return h.getTime()>=b.getTime()?m+1:h.getTime()>=C.getTime()?m:m-1}function C(t,e){var n,a,i,o,u,d,c,l;(0,r.Z)(1,arguments);var f=y(),h=s(null!==(n=null!==(a=null!==(i=null!==(o=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==o?o:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==i?i:f.firstWeekContainsDate)&&void 0!==a?a:null===(c=f.locale)||void 0===c||null===(l=c.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1),m=T(t,e),g=new Date(0);g.setUTCFullYear(m,0,h),g.setUTCHours(0,0,0,0);var v=p(g,e);return v}var M=6048e5;function k(t,e){(0,r.Z)(1,arguments);var n=(0,o.Z)(t),a=p(n,e).getTime()-C(n,e).getTime();return Math.round(a/M)+1}function D(t,e){var n=t<0?"-":"",r=Math.abs(t).toString();while(r.length<e)r="0"+r;return n+r}var S={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return D("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):D(n+1,2)},d:function(t,e){return D(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return D(t.getUTCHours()%12||12,e.length)},H:function(t,e){return D(t.getUTCHours(),e.length)},m:function(t,e){return D(t.getUTCMinutes(),e.length)},s:function(t,e){return D(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds(),a=Math.floor(r*Math.pow(10,n-3));return D(a,e.length)}},x=S,P={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},U={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return x.y(t,e)},Y:function(t,e,n,r){var a=T(t,r),i=a>0?a:1-a;if("YY"===e){var o=i%100;return D(o,2)}return"Yo"===e?n.ordinalNumber(i,{unit:"year"}):D(i,e.length)},R:function(t,e){var n=m(t);return D(n,e.length)},u:function(t,e){var n=t.getUTCFullYear();return D(n,e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return D(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return D(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return x.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return D(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var a=k(t,r);return"wo"===e?n.ordinalNumber(a,{unit:"week"}):D(a,e.length)},I:function(t,e,n){var r=w(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):D(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):x.d(t,e)},D:function(t,e,n){var r=f(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):D(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return D(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return D(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return D(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours(),a=r/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,a=t.getUTCHours();switch(r=12===a?P.noon:0===a?P.midnight:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,a=t.getUTCHours();switch(r=a>=17?P.evening:a>=12?P.afternoon:a>=4?P.morning:P.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return x.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):x.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):D(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):D(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):x.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):x.s(t,e)},S:function(t,e){return x.S(t,e)},X:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return Y(i);case"XXXX":case"XX":return E(i);case"XXXXX":case"XXX":default:return E(i,":")}},x:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"x":return Y(i);case"xxxx":case"xx":return E(i);case"xxxxx":case"xxx":default:return E(i,":")}},O:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+W(i,":");case"OOOO":default:return"GMT"+E(i,":")}},z:function(t,e,n,r){var a=r._originalDate||t,i=a.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+W(i,":");case"zzzz":default:return"GMT"+E(i,":")}},t:function(t,e,n,r){var a=r._originalDate||t,i=Math.floor(a.getTime()/1e3);return D(i,e.length)},T:function(t,e,n,r){var a=r._originalDate||t,i=a.getTime();return D(i,e.length)}};function W(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;if(0===i)return n+String(a);var o=e||"";return n+String(a)+o+D(i,2)}function Y(t,e){if(t%60===0){var n=t>0?"-":"+";return n+D(Math.abs(t)/60,2)}return E(t,e)}function E(t,e){var n=e||"",r=t>0?"-":"+",a=Math.abs(t),i=D(Math.floor(a/60),2),o=D(a%60,2);return r+i+n+o}var O=U,N=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},q=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Z=function(t,e){var n,r=t.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return N(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;case"PPPP":default:n=e.dateTime({width:"full"});break}return n.replace("{{date}}",N(a,e)).replace("{{time}}",q(i,e))},H={p:q,P:Z},z=H;function F(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var L=["D","DD"],X=["YY","YYYY"];function j(t){return-1!==L.indexOf(t)}function Q(t){return-1!==X.indexOf(t)}function G(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var B={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},A=function(t,e,n){var r,a=B[t];return r="string"===typeof a?a:1===e?a.one:a.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},R=A;function _(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var J={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},I={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},V={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},K={date:_({formats:J,defaultWidth:"full"}),time:_({formats:I,defaultWidth:"full"}),dateTime:_({formats:V,defaultWidth:"full"})},$=K,tt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},et=function(t,e,n,r){return tt[t]},nt=et;function rt(t){return function(e,n){var r,a=null!==n&&void 0!==n&&n.context?String(n.context):"standalone";if("formatting"===a&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):i;r=t.formattingValues[o]||t.formattingValues[i]}else{var u=t.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;r=t.values[s]||t.values[u]}var d=t.argumentCallback?t.argumentCallback(e):e;return r[d]}}var at={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},it={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ot={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ut={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},st={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},dt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ct=function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},lt={ordinalNumber:ct,era:rt({values:at,defaultWidth:"wide"}),quarter:rt({values:it,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:rt({values:ot,defaultWidth:"wide"}),day:rt({values:ut,defaultWidth:"wide"}),dayPeriod:rt({values:st,defaultWidth:"wide",formattingValues:dt,defaultFormattingWidth:"wide"})},ft=lt;function ht(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o,u=i[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?gt(s,(function(t){return t.test(u)})):mt(s,(function(t){return t.test(u)}));o=t.valueCallback?t.valueCallback(d):d,o=n.valueCallback?n.valueCallback(o):o;var c=e.slice(u.length);return{value:o,rest:c}}}function mt(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function gt(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}function vt(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var a=r[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;var u=e.slice(a.length);return{value:o,rest:u}}}var wt=/^(\d+)(th|st|nd|rd)?/i,bt=/\d+/i,yt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},pt={any:[/^b/i,/^(a|c)/i]},Tt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ct={any:[/1/i,/2/i,/3/i,/4/i]},Mt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},kt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Dt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},St={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},xt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Pt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ut={ordinalNumber:vt({matchPattern:wt,parsePattern:bt,valueCallback:function(t){return parseInt(t,10)}}),era:ht({matchPatterns:yt,defaultMatchWidth:"wide",parsePatterns:pt,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Tt,defaultMatchWidth:"wide",parsePatterns:Ct,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ht({matchPatterns:Mt,defaultMatchWidth:"wide",parsePatterns:kt,defaultParseWidth:"any"}),day:ht({matchPatterns:Dt,defaultMatchWidth:"wide",parsePatterns:St,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:xt,defaultMatchWidth:"any",parsePatterns:Pt,defaultParseWidth:"any"})},Wt=Ut,Yt={code:"en-US",formatDistance:R,formatLong:$,formatRelative:nt,localize:ft,match:Wt,options:{weekStartsOn:0,firstWeekContainsDate:1}},Et=Yt,Ot=Et,Nt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Zt=/^'([^]*?)'?$/,Ht=/''/g,zt=/[a-zA-Z]/;function Ft(t,e,n){var a,i,d,l,f,h,m,g,v,w,b,p,T,C,M,k,D,S;(0,r.Z)(2,arguments);var x=String(e),P=y(),U=null!==(a=null!==(i=null===n||void 0===n?void 0:n.locale)&&void 0!==i?i:P.locale)&&void 0!==a?a:Ot,W=s(null!==(d=null!==(l=null!==(f=null!==(h=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null===n||void 0===n||null===(m=n.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==f?f:P.firstWeekContainsDate)&&void 0!==l?l:null===(v=P.locale)||void 0===v||null===(w=v.options)||void 0===w?void 0:w.firstWeekContainsDate)&&void 0!==d?d:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Y=s(null!==(b=null!==(p=null!==(T=null!==(C=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==C?C:null===n||void 0===n||null===(M=n.locale)||void 0===M||null===(k=M.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==T?T:P.weekStartsOn)&&void 0!==p?p:null===(D=P.locale)||void 0===D||null===(S=D.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==b?b:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!U.localize)throw new RangeError("locale must contain localize property");if(!U.formatLong)throw new RangeError("locale must contain formatLong property");var E=(0,o.Z)(t);if(!u(E))throw new RangeError("Invalid time value");var N=F(E),q=c(E,N),Z={firstWeekContainsDate:W,weekStartsOn:Y,locale:U,_originalDate:E},H=x.match(qt).map((function(t){var e=t[0];if("p"===e||"P"===e){var n=z[e];return n(t,U.formatLong)}return t})).join("").match(Nt).map((function(r){if("''"===r)return"'";var a=r[0];if("'"===a)return Lt(r);var i=O[a];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!Q(r)||G(r,e,String(t)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!j(r)||G(r,e,String(t)),i(q,r,U.localize,Z);if(a.match(zt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return r})).join("");return H}function Lt(t){var e=t.match(Zt);return e?e[1].replace(Ht,"'"):t}},6700:function(t,e,n){n.d(e,{Z:function(){return i}});var r=n(9785);function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function i(t){(0,r.Z)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===a(t)&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}}}]);
|
2
2
|
//# sourceMappingURL=388.js.map
|