(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0df6dbbd"],{"0759":function(t,e,a){"use strict";a.d(e,"a",(function(){return m}));var r=a("2b0e"),i=a("b42e"),n=a("c637"),c=a("a723"),s=a("992e"),o=a("d82f"),l=a("cf75"),u=a("fa73"),d=a("7386"),b=a("aa0d");function p(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function h(t){for(var e=1;e100?"container-numero-may":"container-numero"},[t._v(" "+t._s(t.totalDriver)+" ")])]):t._e()])],1)],1)},i=[],n=(a("a9e3"),a("e9c4"),a("205f")),c=a("6197"),s=a("e8a3"),o=a("1321"),l=a.n(o),u=a("1dff"),d={grid:{show:!1,padding:{left:0,right:0}},chart:{toolbar:{show:!1},sparkline:{enabled:!0}},dataLabels:{enabled:!1},stroke:{curve:"smooth",width:2.5},fill:{type:"gradient",gradient:{shadeIntensity:.9,opacityFrom:.5,opacityTo:.2,stops:[0,80,100]}},xaxis:{type:"numeric",lines:{show:!1},axisBorder:{show:!1},labels:{show:!1}},yaxis:[{y:0,offsetX:0,offsetY:0,padding:{left:0,right:0}}],tooltip:{x:{show:!1}},theme:{monochrome:{enabled:!0,color:u["b"].primary,shadeTo:"light",shadeIntensity:.65}}},b=(u["b"].primary,{components:{VueApexCharts:l.a,BCard:n["a"],BCardBody:c["a"],BAvatar:s["a"]},props:{icon:{type:String,required:!0},statistic:{type:[Number,String],required:!0},statisticTitle:{type:String,default:""},color:{type:String,default:"primary"},chartData:{type:Array,default:function(){return[]}},chartOptions:{type:Object,default:null},totalDriver:{type:Number,default:0},subAllDriver:{type:String,default:""}},computed:{chartOptionsComputed:function(){if(null===this.chartOptions){var t=JSON.parse(JSON.stringify(d));return t.theme.monochrome.color=u["b"][this.color],t}return this.chartOptions}}}),p=b,h=(a("b707"),a("2877")),f=Object(h["a"])(p,r,i,!1,null,"166fe905",null);e["a"]=f.exports},"653f":function(t,e,a){"use strict";a("4c3a")},"9d3a":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("b-row",{staticClass:"row-container"},[a("b-col",{attrs:{lg:"6",md:"12"}},[a("b-card",{staticClass:"cols-12 card card-congratulations",attrs:{"text-variant":"center"}},[a("b-avatar",{staticClass:"shadow mb-2",attrs:{variant:"primary",size:"70"}},[a("feather-icon",{attrs:{size:"28",icon:"AwardIcon"}})],1),a("h1",{staticClass:"mb-1 mt-50 text-white text-center"},[t._v(" Welcome, "+t._s(t.$store.getters["Users/userData"].user?t.$store.getters["Users/userData"].user.name:"")+" ")]),a("b-card-text",{staticClass:"m-auto w-75 text-center pb-2"},[t._v(" We are happy to have you! ")])],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"providers"}}},[a("StatisticCardWithAreaChart",{attrs:{statistic:"See providers drivers","chart-data":t.series,icon:"UsersIcon","total-driver":t.alldriver,"sub-all-driver":"Registered drivers"}})],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"reservation-to-accepted"}}},[a("StatisticCardWithAreaChart",{attrs:{icon:"CalendarIcon",statistic:"Reservations to accept",color:"warning","chart-data":t.ordersRecevied,"total-driver":t.allReservas,"sub-all-driver":"Reservations pending acceptance"}})],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"clients"}}},[a("StatisticCardWithAreaChart",{attrs:{icon:"HomeIcon",statistic:"See provider corporate accounts","chart-data":t.ordersRecevied,"total-driver":t.allca,"sub-all-driver":"Registered corporate accounts"}})],1)],1),a("b-col",{attrs:{lg:"3",sm:"6"}},[a("router-link",{staticStyle:{color:"#6e6b7b"},attrs:{to:{name:"all-selfpaids"}}},[a("StatisticCardWithAreaChart",{attrs:{icon:"UsersIcon",statistic:"See SelfPay accounts","chart-data":t.ordersRecevied,"total-driver":t.allSelfpaid,"sub-all-driver":"Registered SelfPay accounts"}})],1)],1)],1)],1)},i=[],n=a("205f"),c=a("d6e4"),s=a("1947"),o=a("b28b"),l=a("a15b7"),u=a("4918"),d=a("e8a3"),b=a("5b50"),p={components:{BCard:n["a"],BCardText:c["a"],BButton:s["a"],BCol:o["a"],BRow:l["a"],BImg:u["a"],BAvatar:d["a"],StatisticCardWithAreaChart:b["a"]},data:function(){return{driversList:[],alldriver:0,allca:0,allReservas:0,allSelfpaid:0,series:[{name:"",data:[28,40,36,52,38,60,55]}],ordersRecevied:[{name:"",data:[10,15,8,15,7,12,8]}]}},methods:{getDrivers:function(){var t=this;this.$http.get("admin/panel/driver/provider/list").then((function(e){t.driversList=e.data.data,t.alldriver=t.driversList.total})).catch((function(t){}))},getCA:function(){var t=this;this.$http.get("admin/panel/ca/list").then((function(e){t.listClients=e.data.data,t.allca=t.listClients.total})).catch((function(t){}))},getReservas:function(){var t=this;this.$http.get("admin/panel/booking/list?status=0").then((function(e){var a=e.data.data;t.allReservas=a.total})).catch((function(t){}))},getSelfpaids:function(){var t=this;this.$http.get("admin/panel/selfpay/list?type=all").then((function(e){t.allSelfpaid=e.data.data.total})).catch((function(t){}))}},mounted:function(){this.getDrivers(),this.getCA(),this.getReservas(),this.getSelfpaids()}},h=p,f=(a("653f"),a("2877")),v=Object(f["a"])(h,r,i,!1,null,null,null);e["default"]=v.exports},b707:function(t,e,a){"use strict";a("d26b")},d26b:function(t,e,a){},e8a3:function(t,e,a){"use strict";a.d(e,"a",(function(){return P}));var r=a("2b0e"),i=a("c637"),n=a("0056"),c=a("a723"),s=a("9b76"),o=a("7b1e"),l=a("3a58"),u=a("d82f"),d=a("cf75"),b=a("4a38"),p=a("8c18"),h=a("0759"),f=a("7386"),v=a("1947"),g=a("aa59");function m(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function O(t){for(var e=1;e