chunk-5cca133a.414db525.js 25 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5cca133a","chunk-140ff0e2"],{"09e0":function(t,e,r){},1513:function(t,e,r){"use strict";r("4004")},1619:function(t,e,r){"use strict";function n(t,e){var r="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=o(t))||e&&t&&"number"===typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}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 s,i=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){l=!0,s=t},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw s}}}}function o(t,e){if(t){if("string"===typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function s(t){var e,r=[],o=n(t);try{for(o.s();!(e=o.n()).done;){var a=e.value,s=a.create_time.split("T")[0],i=a.create_time.split("T")[1].slice(0,8);a.create_time=s+" "+i;var l=a.update_time.split("T")[0],c=a.update_time.split("T")[1].slice(0,8);a.update_time=l+" "+c,r.push(a)}}catch(d){o.e(d)}finally{o.f()}return r}function i(t){var e=t.split("T")[0],r=(t.split("T")[1]+" ").slice(0,8);return e+" "+r}function l(t){switch(t){case 0:return"执行中";case 1:return"已归档";default:return"无"}}function c(t){switch(t){case 0:return"未执行";case 1:return"执行中";case 2:return"已完成";default:return"无"}}r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return l})),r.d(e,"d",(function(){return c}))},1684:function(t,e,r){"use strict";r.d(e,"e",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return l}));var n=r("b775");function o(t,e,r){return Object(n["a"])({url:"/v1/software",method:"GET",params:{name:t,type:e,sort:r}})}function a(t){return Object(n["a"])({url:"/v1/software/".concat(t),method:"GET"})}function s(t,e){return Object(n["a"])({url:"/v1/software/".concat(t),method:"PUT",data:e})}function i(t){return Object(n["a"])({url:"/v1/software/".concat(t),method:"DELETE"})}function l(t){return Object(n["a"])({url:"/v1/software/",method:"POST",data:t})}},"2b56":function(t,e,r){"use strict";r("09e0")},4004:function(t,e,r){},5812:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("CCard",[r("CCardHeader",[t._v("测试项目管理")]),t.checkPerm("CREATE")?r("CCardBody",[r("CButton",{staticStyle:{width:"100px"},attrs:{block:"",color:"primary"},on:{click:function(e){t.darkModal=!0}}},[t._v("+新建")])],1):t._e()],1),r("CModal",{attrs:{show:t.darkModal,"no-close-on-backdrop":!0,centered:!0,title:"Modal title 2",size:"lg",color:"primary"},on:{"update:show":function(e){t.darkModal=e}},scopedSlots:t._u([{key:"header",fn:function(){return[r("h6",{staticClass:"modal-title"},[t._v("新建测试项目")]),r("CButtonClose",{staticClass:"text-white",on:{click:function(e){t.darkModal=!1}}})]},proxy:!0},{key:"footer",fn:function(){return[r("CButton",{attrs:{color:"danger"},on:{click:function(e){t.darkModal=!1}}},[t._v("取消")]),r("CButton",{staticStyle:{backgroundColor:"rgb(50,31,219)",color:"white"},on:{click:t.createNewTarget}},[t._v("新建")])]},proxy:!0}])},[r("CInput",{attrs:{label:"名称",placeholder:"请输入测试项目名称"},model:{value:t.newTarget.name,callback:function(e){t.$set(t.newTarget,"name",e)},expression:"newTarget.name"}}),r("CInput",{attrs:{label:"类型",placeholder:"请输入测试项目的类型"},model:{value:t.newTarget.type,callback:function(e){t.$set(t.newTarget,"type",e)},expression:"newTarget.type"}}),r("CInput",{attrs:{label:"版本",placeholder:"请输入测试项目的版本"},model:{value:t.newTarget.version,callback:function(e){t.$set(t.newTarget,"version",e)},expression:"newTarget.version"}}),r("p",{staticStyle:{marginBottom:"6px"}},[t._v("请上传软件")]),r("el-upload",{ref:"newTargetUploader",staticClass:"upload-demo",attrs:{action:"","auto-upload":!1,"on-preview":t.handlePreview,"on-remove":t.handleRemove,"before-remove":t.beforeRemove,limit:1,"on-exceed":t.handleExceed,"file-list":t.fileList}},[r("el-button",{staticStyle:{backgroundColor:"rgb(50,31,219)",color:"white"},attrs:{size:"small"}},[t._v("点击上传")]),r("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("文件大小限制不超过20M")])],1)],1),r("CCard",[r("CCardBody",[r("CDataTable",{attrs:{items:t.softwareList,fields:t.fields,sorter:!0,tableFilter:{label:"搜索",placeholder:"输入任意信息检索"},noItemsView:{noResults:"无结果",noItems:"无测试项目"},cleaner:"","items-per-page":5,hover:"",pagination:{doubleArrows:!0,align:"center"}},scopedSlots:t._u([{key:"opt_details",fn:function(e){var n=e.item,o=e.index;return[t.checkPerm("CHECK")?r("td",{staticClass:"py-2"},[r("CButton",{staticStyle:{width:"50px"},attrs:{color:"success",variant:"outline",square:"",size:"sm"},on:{click:function(e){return t.gotoSoftware(n,o)}}},[t._v(" 查看 ")])],1):t._e()]}},{key:"opt_copy",fn:function(e){var n=e.item,o=e.index;return[t.checkPerm("COPY")?r("td",{staticClass:"py-2"},[r("CButton",{staticStyle:{width:"50px"},attrs:{color:"primary",variant:"outline",square:"",size:"sm"},on:{click:function(e){return t.copySoftware(n,o)}}},[t._v(" 复制 ")])],1):t._e()]}},{key:"opt_delete",fn:function(e){var n=e.item,o=e.index;return[t.checkPerm("DELETE")?r("td",{staticClass:"py-2"},[r("CButton",{staticStyle:{width:"50px"},attrs:{color:"danger",variant:"outline",square:"",size:"sm"},on:{click:function(e){return t.deleteFirstStep(n,o)}}},[t._v(" 删除 ")])],1):t._e()]}}])})],1)],1),r("CModal",{attrs:{show:t.deleteModal,"no-close-on-backdrop":!0,centered:!0,title:"Modal title 2",size:"lg",color:"danger"},on:{"update:show":function(e){t.deleteModal=e}},scopedSlots:t._u([{key:"header",fn:function(){return[r("h6",{staticClass:"modal-title"},[t._v("删除测试项目")]),r("CButtonClose",{staticClass:"text-white",on:{click:function(e){t.deleteModal=!1}}})]},proxy:!0},{key:"footer",fn:function(){return[r("CButton",{attrs:{color:"danger"},on:{click:function(e){t.deleteModal=!1}}},[t._v("取消")]),r("CButton",{staticStyle:{backgroundColor:"rgb(50,31,219)",color:"white"},on:{click:function(e){return t.deleteTarget()}}},[t._v("删除")])]},proxy:!0}])},[r("h5",[t._v("你确定删除该项目吗?删除后将无法查看任何与该项目的相关信息!")])])],1)},o=[],a=r("8229"),s=r("1684"),i=r("1619"),l=r("e350"),c={name:"software",components:{CTableWrapper:a["a"]},data:function(){return{softwareList:[],fields:[{key:"name",label:"名称",_style:"min-width:200px;"},{key:"type",label:"类型",_style:"min-width:200px;"},{key:"create_time",label:"创建时间",_style:"min-width:100px;"},{key:"update_time",label:"更新时间",_style:"min-width:100px;"},{key:"opt_details",label:"",_style:"width:1%",sorter:!1,filter:!1},{key:"opt_copy",label:"",_style:"width:1%",sorter:!1,filter:!1},{key:"opt_delete",label:"",_style:"width:1%;",sorter:!1,filter:!1}],darkModal:!1,fileList:[],deleteModal:!1,deleteItem:{},newTarget:{},dd:!1}},computed:{},mounted:function(){this.getSList()},watch:{},methods:{shuffleArray:function(t){for(var e=t.length-1;e>0;e--){var r=Math.floor(Math.random()*(e+1)),n=t[e];t[e]=t[r],t[r]=n}return t},getShuffledSoftwareData:function(){return this.softwareList.slice(0)},gotoSoftware:function(t,e){localStorage.setItem("softwareId",t.id),this.$router.push("/softwareInside/"+t.id)},deleteTarget:function(){var t=this;Object(s["c"])(this.deleteItem.id).then((function(e){t.deleteModal=!1,t.getSList()}))},copySoftware:function(t,e){},clickRow:function(t,e,r,n){this.$router.push("/softwareInside/"+t.id)},handleRemove:function(t,e){},handlePreview:function(t){},handleExceed:function(t,e){this.$message.warning("当前限制选择 1 个文件")},beforeRemove:function(t,e){return this.$confirm("确定移除 ".concat(t.name,"?"))},getSList:function(){var t=this;1==localStorage.getItem("identity")||0==localStorage.getItem("identity")?Object(s["e"])("","","").then((function(e){t.softwareList=Object(i["c"])(e),console.log(t.softwareList)})):Object(s["e"])(localStorage.getItem("userName"),"","").then((function(e){console.log("普通",e,localStorage.getItem("userName"),localStorage.getItem("identity")),t.softwareList=Object(i["c"])(e),console.log(t.softwareList)}))},deleteFirstStep:function(t,e){this.deleteModal=!0,this.deleteItem=t},createNewTarget:function(){var t=this;if(""!=this.newTarget.name&&""!=this.newTarget.type&&""!=this.newTarget.version)if(this.$refs["newTargetUploader"].uploadFiles.length<1)this.$message.warning("请上传文件!");else{var e,r;if(this.$refs["newTargetUploader"].uploadFiles.length>=1&&(e=this.$refs["newTargetUploader"].uploadFiles.pop(),r=e.size/1024/1024<20,!r))return this.$message.info("测试用例集文件大小不能超过20M"),this.$refs["newTargetUploader"].uploadFiles.pop(),!1;var n=new FormData;e&&n.append("file",e.raw),n.append("version",this.newTarget.version),n.append("name",this.newTarget.name),n.append("type",this.newTarget.type),Object(s["b"])(n).then((function(e){t.$message.success("新建成功"),t.darkModal=!1,t.getSList()}))}else this.$message.warning("请完整填写任务信息!")},checkPerm:function(t){return Object(l["a"])(localStorage.getItem("identity"),t)}}},d=c,u=r("2877"),f=Object(u["a"])(d,n,o,!1,null,"7f84d5b0",null);e["default"]=f.exports},7277:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mainArea"},[r("CCard",{staticClass:"text-center welcome",attrs:{color:"","text-color":"black"}},[r("blockquote",{staticClass:"card-blockquote"},[r("h2",[t._v("欢迎使用实验室管理系统")]),r("footer",[t._v("welcome to "),r("cite",{attrs:{title:"Source Title"}},[t._v("LIMS")])])])]),r("CCard",[r("CButton",{staticClass:"text-left shadow-none card-header",attrs:{tag:"button",block:""},on:{click:function(e){t.quickPath=!t.quickPath}}},[r("CIcon",{attrs:{name:"cil-justify-center"}}),r("strong",{staticClass:"m-0"},[t._v("快捷入口")])],1),r("CCollapse",{attrs:{show:t.quickPath}},[r("CCardBody",{staticClass:"quickPathBox"},t._l(t.quickPathList,(function(e){return r("CCard",{key:e.ch,staticClass:"text-center welcome entrance",attrs:{color:e.color,"body-wrapper":"","text-color":"white"},on:{click:function(r){return t.jumpTo(e.to)}}},[r("blockquote",{staticClass:"card-blockquote"},[r("h5",[t._v(t._s(e.ch))]),r("footer",[r("cite",{attrs:{title:"Source Title"}},[t._v(t._s(e.en))]),t._v(" Management ")])])])})),1)],1)],1),r("CCard",[r("CButton",{staticClass:"text-left shadow-none card-header",attrs:{tag:"button",block:""},on:{click:function(e){t.recentTarget=!t.recentTarget}}},[r("CIcon",{attrs:{name:"cil-justify-center"}}),r("strong",{staticClass:"m-0"},[t._v("最近访问")])],1),r("CCollapse",{attrs:{show:t.recentTarget}},[r("CCardBody",[r("CListGroup",t._l(t.recentView,(function(e){return r("CListGroupItem",{staticClass:"d-flex justify-content-between align-items-center"},[t._v(" "+t._s(e.name)+" "),r("CBadge",{attrs:{color:"",shape:"pill"}},[t._v(t._s(e.time)+" ")])],1)})),1)],1)],1)],1),r("CCard",[r("CButton",{staticClass:"text-left shadow-none card-header",attrs:{tag:"button",block:""},on:{click:function(e){t.relatedNotification=!t.relatedNotification}}},[r("CIcon",{attrs:{name:"cil-justify-center"}}),r("strong",{staticClass:"m-0"},[t._v("最新动态")])],1),r("CCollapse",{attrs:{show:t.relatedNotification}},[r("CCardBody",[r("CListGroup",t._l(t.logs,(function(e){return r("CListGroupItem",{staticClass:"d-flex justify-content-between align-items-center"},[t._v(" "+t._s(e.content)+" "),r("CBadge",{attrs:{color:"",shape:"pill"}},[t._v(t._s(e.time))])],1)})),1)],1)],1)],1)],1)},o=[],a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("CChartLine",{attrs:{datasets:t.defaultDatasets,options:t.defaultOptions,labels:["Mo","Tu","We","Th","Fr","Sa","Su","Mo","Tu","We","Th","Fr","Sa","Su","Mo","Tu","We","Th","Fr","Sa","Su","Mo","Tu","We","Th","Fr","Sa","Su"]}})},s=[],i=r("f485"),l=r("52d7"),c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;if("undefined"===typeof t)throw new TypeError("Hex color is not defined");var r,n,o,a=t.match(/^#(?:[0-9a-f]{3}){1,2}$/i);if(!a)throw new Error("".concat(t," is not a valid hex color"));return 7===t.length?(r=parseInt(t.slice(1,3),16),n=parseInt(t.slice(3,5),16),o=parseInt(t.slice(5,7),16)):(r=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),o=parseInt(t.slice(3,5),16)),"rgba(".concat(r,", ").concat(n,", ").concat(o,", ").concat(e/100,")")},d=c;function u(t,e){return Math.floor(Math.random()*(e-t+1)+t)}var f={name:"MainChartExample",components:{CChartLine:i["CChartLine"]},computed:{defaultDatasets:function(){for(var t=Object(l["a"])("success2")||"#4dbd74",e=Object(l["a"])("info")||"#20a8d8",r=Object(l["a"])("danger")||"#f86c6b",n=27,o=[],a=[],s=[],i=0;i<=n;i++)o.push(u(50,200)),a.push(u(80,100)),s.push(65);return[{label:"My First dataset",backgroundColor:d(e,10),borderColor:e,pointHoverBackgroundColor:e,borderWidth:2,data:o},{label:"My Second dataset",backgroundColor:"transparent",borderColor:t,pointHoverBackgroundColor:t,borderWidth:2,data:a},{label:"My Third dataset",backgroundColor:"transparent",borderColor:r,pointHoverBackgroundColor:r,borderWidth:1,borderDash:[8,5],data:s}]},defaultOptions:function(){return{maintainAspectRatio:!1,legend:{display:!1},scales:{xAxes:[{gridLines:{drawOnChartArea:!1}}],yAxes:[{ticks:{beginAtZero:!0,maxTicksLimit:5,stepSize:Math.ceil(50),max:250},gridLines:{display:!0}}]},elements:{point:{radius:0,hitRadius:10,hoverRadius:4,hoverBorderWidth:3}}}}}},h=f,p=r("2877"),m=Object(p["a"])(h,a,s,!1,null,null,null),C=m.exports,g=r("f236"),b=r("ed3a"),w=(r("5812"),r("b775"));function y(t,e,r,n,o,a){return Object(w["a"])({url:"/v1/log-info/",method:"GET",params:{entity_class:t,action:e,executor_username:r,executor_identify:n,sort:o,dontGet:a}})}var v=r("1619");function k(t,e){var r="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=_(t))||e&&t&&"number"===typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,i=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){i=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(i)throw a}}}}function _(t,e){if(t){if("string"===typeof t)return S(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(t,e):void 0}}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var T={name:"Dashboard",components:{MainChartExample:C,WidgetsDropdown:g["a"],WidgetsBrand:b["a"]},data:function(){return{quickPath:!0,relatedNotification:!0,recentTarget:!0,quickPathList:[{ch:"测试项目",en:"Software",color:"primary",to:"/softwares"},{ch:"测试计划",en:"Test-plans",color:"info",to:"testPlans"},{ch:"测试任务",en:"Test-tasks",color:"warning",to:"testTasks"},{ch:"不合格项",en:"Unqualified-items",color:"danger",to:"testNoPass"}],logs:[],recentView:[],userName:""}},filters:{singleDateFilter:v["b"]},mounted:function(){this.userName=localStorage.getItem("userName"),this.getRecentViewTarget(),this.getLatestLogs()},methods:{color:function(t){var e;return t<=25?e="info":t>25&&t<=50?e="success":t>50&&t<=75?e="warning":t>75&&t<=100&&(e="danger"),e},jumpTo:function(t){this.$router.push(t)},checkSoftwareDetail:function(t){this.$router.push("softwareInside/"+t)},getRecentViewTarget:function(){var t=this;y("测试项目","GET",this.userName,"","","0").then((function(e){var r,n=k(e);try{for(n.s();!(r=n.n()).done;){var o=r.value,a={},s=o.entity_name;a.name=s,a.time=Object(v["b"])(o.execute_time),t.recentView.push(a)}}catch(i){n.e(i)}finally{n.f()}t.recentView=t.recentView.slice(0,5)}))},getLatestLogs:function(){var t=this;y("","","","","","1").then((function(e){var r,n=k(e);try{for(n.s();!(r=n.n()).done;){var o=r.value,a={};a.content=o.executor_username+" "+o.action+o.entity_name,a.time=Object(v["b"])(o.execute_time),t.logs.push(a)}}catch(s){n.e(s)}finally{n.f()}t.logs=t.logs.slice(0,5)}))}}},x=T,I=(r("2b56"),Object(p["a"])(x,n,o,!1,null,null,null));e["default"]=I.exports},8229:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("CCard",[r("CCardHeader",[t._t("header",(function(){return[r("CIcon",{attrs:{name:"cil-grid"}}),t._v(" "+t._s(t.caption)+" ")]}))],2),r("CCardBody",[r("CDataTable",{attrs:{hover:t.hover,striped:t.striped,border:t.border,small:t.small,fixed:t.fixed,items:t.items,fields:t.fields,"items-per-page":t.small?10:5,dark:t.dark,pagination:""},scopedSlots:t._u([{key:"status",fn:function(e){var n=e.item;return[r("td",[r("CBadge",{attrs:{color:t.getBadge(n.status)}},[t._v(t._s(n.status))])],1)]}}])})],1)],1)},o=[],a={name:"Table",props:{items:Array,fields:{type:Array,default:function(){return["username","registered","role","status"]}},caption:{type:String,default:"Table"},hover:Boolean,striped:Boolean,border:Boolean,small:Boolean,fixed:Boolean,dark:Boolean},methods:{getBadge:function(t){return"Active"===t?"success":"Inactive"===t?"secondary":"Pending"===t?"warning":"Banned"===t?"danger":"primary"}}},s=a,i=r("2877"),l=Object(i["a"])(s,n,o,!1,null,null,null);e["a"]=l.exports},b775:function(t,e,r){"use strict";var n=r("bc3a"),o=r.n(n),a=r("5c96");r("c0d6");o.a.defaults.withCredentials=!0;var s=o.a.create({baseURL:"/api",withCredentials:!0,timeout:1e5});s.interceptors.response.use((function(t){var e=t.data;return e}),(function(t){return console.log("err"+t),t.response.data.length>1e3?Object(a["Message"])({message:"服务器出错",type:"error",duration:3e3}):Object(a["Message"])({message:t.response.data,type:"error",duration:2e4}),Promise.reject(t)})),s.interceptors.request.use((function(t){var e=window.localStorage.getItem("accessToken");return e?(t.headers.accessToken=e,t):t})),e["a"]=s},e350:function(t,e,r){"use strict";function n(t,e){var r=o[t];return r.includes(e)}r.d(e,"a",(function(){return n}));var o=[["CHECK","EDIT","DELETE","CREATE","EXECUTE","DELETE","CONFIRM","EXPORT"],["CHECK","EDIT","DELETE","CREATE","EXECUTE","DELETE","CONFIRM","EXPORT"],["CHECK","EXECUTE"]]},ed3a:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("CRow",[t.noCharts?[r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{color:"facebook","right-header":"89k","right-footer":"friends","left-header":"459","left-footer":"feeds"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cib-facebook",height:"56"}})],1)],1),r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{color:"twitter","right-header":"973k","right-footer":"followers","left-header":"1.792","left-footer":"tweets"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cib-twitter",height:"56"}})],1)],1),r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{color:"linkedin","right-header":"500+","right-footer":"contracts","left-header":"292","left-footer":"feeds"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cib-linkedin",height:"56"}})],1)],1),r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{"right-header":"12","right-footer":"events","left-header":"4","left-footer":"meetings",color:"warning"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cil-calendar",height:"56"}})],1)],1)]:[r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{color:"facebook","right-header":"89k","right-footer":"friends","left-header":"459","left-footer":"feeds"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cib-facebook",height:"52"}}),r("CChartLineSimple",{staticClass:"c-chart-brand",attrs:{"background-color":"rgba(255,255,255,.1)","data-points":[65,59,84,84,51,55,40],label:"Friends",labels:"months"}})],1)],1),r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{color:"twitter","right-header":"973k","right-footer":"followers","left-header":"1.792","left-footer":"tweets"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cib-twitter",height:"52"}}),r("CChartLineSimple",{staticClass:"c-chart-brand",attrs:{"background-color":"rgba(255,255,255,.1)","data-points":[1,13,9,17,34,41,38],label:"Followers",labels:"months"}})],1)],1),r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{color:"linkedin","right-header":"500+","right-footer":"contracts","left-header":"292","left-footer":"feeds"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cib-linkedin",height:"52"}}),r("CChartLineSimple",{staticClass:"c-chart-brand",attrs:{"background-color":"rgba(255,255,255,.1)","data-points":[78,81,80,45,34,12,40],label:"Contracts",labels:"months"}})],1)],1),r("CCol",{attrs:{md:"3",sm:"6"}},[r("CWidgetBrand",{attrs:{"right-header":"12","right-footer":"events","left-header":"4","left-footer":"meetings",color:"warning"}},[r("CIcon",{staticClass:"my-4",attrs:{name:"cil-calendar",height:"52"}}),r("CChartLineSimple",{staticClass:"c-chart-brand",attrs:{"background-color":"rgba(255,255,255,.1)","data-points":[35,23,56,22,97,23,64],label:"Followers",labels:"months"}})],1)],1)]],2)},o=[],a=r("4c27"),s={name:"WidgetsBrand",components:{CChartLineSimple:a["CChartLineSimple"]},props:{noCharts:Boolean}},i=s,l=(r("1513"),r("2877")),c=Object(l["a"])(i,n,o,!1,null,"319234b8",null);e["a"]=c.exports},f236:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("CRow",[r("CCol",{attrs:{sm:"6",lg:"3"}},[r("CWidgetDropdown",{attrs:{color:"primary",header:"9.823",text:"Members online"},scopedSlots:t._u([{key:"default",fn:function(){return[r("CDropdown",{attrs:{color:"transparent p-0",placement:"bottom-end"},scopedSlots:t._u([{key:"toggler-content",fn:function(){return[r("CIcon",{attrs:{name:"cil-settings"}})]},proxy:!0}])},[r("CDropdownItem",[t._v("Action")]),r("CDropdownItem",[t._v("Another action")]),r("CDropdownItem",[t._v("Something else here...")]),r("CDropdownItem",{attrs:{disabled:""}},[t._v("Disabled action")])],1)]},proxy:!0},{key:"footer",fn:function(){return[r("CChartLineSimple",{staticClass:"mt-3 mx-3",staticStyle:{height:"70px"},attrs:{pointed:"","data-points":[65,59,84,84,51,55,40],"point-hover-background-color":"primary",label:"Members",labels:"months"}})]},proxy:!0}])})],1),r("CCol",{attrs:{sm:"6",lg:"3"}},[r("CWidgetDropdown",{attrs:{color:"info",header:"9.823",text:"Members online"},scopedSlots:t._u([{key:"default",fn:function(){return[r("CDropdown",{attrs:{color:"transparent p-0",placement:"bottom-end",caret:!1},scopedSlots:t._u([{key:"toggler-content",fn:function(){return[r("CIcon",{attrs:{name:"cil-location-pin"}})]},proxy:!0}])},[r("CDropdownItem",[t._v("Action")]),r("CDropdownItem",[t._v("Another action")]),r("CDropdownItem",[t._v("Something else here...")]),r("CDropdownItem",{attrs:{disabled:""}},[t._v("Disabled action")])],1)]},proxy:!0},{key:"footer",fn:function(){return[r("CChartLineSimple",{staticClass:"mt-3 mx-3",staticStyle:{height:"70px"},attrs:{pointed:"","data-points":[1,18,9,17,34,22,11],"point-hover-background-color":"info",options:{elements:{line:{tension:1e-5}}},label:"Members",labels:"months"}})]},proxy:!0}])})],1),r("CCol",{attrs:{sm:"6",lg:"3"}},[r("CWidgetDropdown",{attrs:{color:"warning",header:"9.823",text:"Members online"},scopedSlots:t._u([{key:"default",fn:function(){return[r("CDropdown",{attrs:{color:"transparent p-0",placement:"bottom-end"},scopedSlots:t._u([{key:"toggler-content",fn:function(){return[r("CIcon",{attrs:{name:"cil-settings"}})]},proxy:!0}])},[r("CDropdownItem",[t._v("Action")]),r("CDropdownItem",[t._v("Another action")]),r("CDropdownItem",[t._v("Something else here...")]),r("CDropdownItem",{attrs:{disabled:""}},[t._v("Disabled action")])],1)]},proxy:!0},{key:"footer",fn:function(){return[r("CChartLineSimple",{staticClass:"mt-3",staticStyle:{height:"70px"},attrs:{"background-color":"rgba(255,255,255,.2)","data-points":[78,81,80,45,34,12,40],options:{elements:{line:{borderWidth:2.5}}},"point-hover-background-color":"warning",label:"Members",labels:"months"}})]},proxy:!0}])})],1),r("CCol",{attrs:{sm:"6",lg:"3"}},[r("CWidgetDropdown",{attrs:{color:"danger",header:"9.823",text:"Members online"},scopedSlots:t._u([{key:"default",fn:function(){return[r("CDropdown",{attrs:{color:"transparent p-0",placement:"bottom-end"},scopedSlots:t._u([{key:"toggler-content",fn:function(){return[r("CIcon",{attrs:{name:"cil-settings"}})]},proxy:!0}])},[r("CDropdownItem",[t._v("Action")]),r("CDropdownItem",[t._v("Another action")]),r("CDropdownItem",[t._v("Something else here...")]),r("CDropdownItem",{attrs:{disabled:""}},[t._v("Disabled action")])],1)]},proxy:!0},{key:"footer",fn:function(){return[r("CChartBarSimple",{staticClass:"mt-3 mx-3",staticStyle:{height:"70px"},attrs:{"background-color":"rgb(250, 152, 152)",label:"Members",labels:"months"}})]},proxy:!0}])})],1)],1)},o=[],a=r("4c27"),s={name:"WidgetsDropdown",components:{CChartLineSimple:a["CChartLineSimple"],CChartBarSimple:a["CChartBarSimple"]}},i=s,l=r("2877"),c=Object(l["a"])(i,n,o,!1,null,null,null);e["a"]=c.exports}}]);
  2. //# sourceMappingURL=chunk-5cca133a.414db525.js.map