Files
vuefilemanager/public/js/chunks/dashboard.js
2022-02-01 11:36:25 +01:00

1 line
39 KiB
JavaScript
Vendored

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9052],{4949:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".color-label.purple[data-v-532740dd]{background:rgba(157,102,254,.1);color:#9d66fe}.color-label.yellow[data-v-532740dd]{background:rgba(255,189,45,.1);color:#ffbd2d}.color-label.green[data-v-532740dd]{background:rgba(0,188,126,.1);color:#00bc7e}.color-label.red[data-v-532740dd]{background:rgba(253,57,122,.1);color:#fd397a}",""]);const i=r},822:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".info-box[data-v-27e18e08]{background:#f4f5f6;border-radius:10px;margin-bottom:32px;padding:20px;text-align:left}.info-box.error[data-v-27e18e08]{background:rgba(253,57,122,.1)}.info-box.error a[data-v-27e18e08],.info-box.error p[data-v-27e18e08]{color:#fd397a}.info-box.error a[data-v-27e18e08]{text-decoration:underline}.info-box p[data-v-27e18e08]{font-weight:600;line-height:1.6;word-break:break-word}.info-box p[data-v-27e18e08],.info-box p[data-v-27e18e08] a{font-size:15px}.info-box p[data-v-27e18e08] b{font-size:15px;font-weight:700}.info-box a[data-v-27e18e08],.info-box b[data-v-27e18e08]{font-weight:700}.info-box a[data-v-27e18e08]{font-size:.9375em;line-height:1.6}.info-box ul[data-v-27e18e08]{margin-top:15px}.info-box ul[data-v-27e18e08],.info-box ul li[data-v-27e18e08],.info-box ul li a[data-v-27e18e08]{display:block}@media only screen and (max-width:690px){.info-box[data-v-27e18e08]{padding:15px}}.dark .info-box[data-v-27e18e08]{background:#1e2024}.dark .info-box.error[data-v-27e18e08]{background:rgba(253,57,122,.1)}.dark .info-box.error a[data-v-27e18e08],.dark .info-box.error p[data-v-27e18e08]{color:#fd397a}.dark .info-box.error a[data-v-27e18e08]{text-decoration:underline}.dark .info-box p[data-v-27e18e08],.dark .info-box ul li[data-v-27e18e08]{color:#bec6cf}",""]);const i=r},2449:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".table-row[data-v-5683add0]{border-radius:8px}.table-row[data-v-5683add0]:hover{background:#f4f5f6}.table-row .table-cell[data-v-5683add0]{padding-bottom:15px;padding-top:15px}.table-row .table-cell[data-v-5683add0]:first-child{padding-left:15px}.table-row .table-cell[data-v-5683add0]:last-child{padding-right:15px;text-align:right}.table-row .table-cell span[data-v-5683add0]{font-size:1em;font-weight:700}",""]);const i=r},2852:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".info .description[data-v-acf37596],.info .name[data-v-acf37596]{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info .name[data-v-acf37596]{color:#1b2539;font-size:.9375em;line-height:1}.info .description[data-v-acf37596]{color:rgba(27,37,57,.7);font-size:.75em}.dark .cell-image-thumbnail .image img.blurred[data-v-acf37596]{display:none}.dark .cell-image-thumbnail .info .name[data-v-acf37596]{color:#bec6cf}.dark .cell-image-thumbnail .info .description[data-v-acf37596]{color:#7d858c}",""]);const i=r},340:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".page-link[data-v-0ed4edbe]{@apply w-8 h-8 flex justify-center items-center block rounded-lg font-bold text-sm cursor-pointer hover:bg-light-background transition duration-200}",""]);const i=r},631:(t,a,e)=>{e.d(a,{Z:()=>r});const s={name:"MemberAvatar",props:["isBorder","member","size"],computed:{letter:function(){return(this.member.data.attributes.name?this.member.data.attributes.name:this.member.data.attributes.email).substr(0,1)},borderRadius:function(){return this.size>32?"rounded-xl":"rounded-lg"},fontSize:function(){return this.size>42?"text-lg":this.size>32?"text-base":"text-sm"},avatar:function(){return this.size>=52?this.member.data.attributes.avatar.md:this.size>32?this.member.data.attributes.avatar.sm:this.member.data.attributes.avatar.xs}}};const r=(0,e(1900).Z)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"shrink-0 grow-0"},[t.member.data.attributes.avatar?e("img",{class:[t.borderRadius,{"border-3 border-white dark:border-dark-background":t.isBorder}],style:{width:t.size+"px",height:t.size+"px"},attrs:{src:t.avatar}}):e("div",{staticClass:"flex items-center justify-center",class:[t.borderRadius,{"border-3 border-white dark:border-dark-background":t.isBorder}],style:{width:t.size+"px",height:t.size+"px",background:t.member.data.attributes.color?t.member.data.attributes.color:"#f4f5f6"}},[e("span",{staticClass:"uppercase font-extrabold text-gray-900",class:t.fontSize},[t._v("\n\t\t\t"+t._s(t.letter)+"\n\t\t")])])])}),[],!1,null,null,null).exports},9480:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"ColorLabel",props:["color"]};var r=e(3379),i=e.n(r),n=e(4949),o={insert:"head",singleton:!1};i()(n.Z,o);n.Z.locals;const l=(0,e(1900).Z)(s,(function(){var t=this,a=t.$createElement;return(t._self._c||a)("b",{staticClass:"color-label capitalize inline-block text-xs font-bold rounded-lg py-1 px-2",class:t.color},[t._t("default")],2)}),[],!1,null,"532740dd",null).exports},6589:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(9101);const r={name:"FormLabel",props:["icon"],components:{UsersIcon:s.oyc,CreditCardIcon:s.ciH,DollarSignIcon:s.bkH,SmartphoneIcon:s.BEV,HardDriveIcon:s.zvn,BarChartIcon:s.eJP,SettingsIcon:s.ewm,FileTextIcon:s.zPP,ShieldIcon:s.b7C,FrownIcon:s.eFi,Edit2Icon:s.me4,BellIcon:s.Dkj,KeyIcon:s._m8}};const i=(0,e(1900).Z)(r,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex items-center mb-8"},[t.icon?t._e():e("edit-2-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}),t._v(" "),"frown"===t.icon?e("frown-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"file-text"===t.icon?e("file-text-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"dollar"===t.icon?e("dollar-sign-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"credit-card"===t.icon?e("credit-card-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"bar-chart"===t.icon?e("bar-chart-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"settings"===t.icon?e("settings-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"hard-drive"===t.icon?e("hard-drive-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?e("smartphone-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"shield"===t.icon?e("shield-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"bell"===t.icon?e("bell-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?e("key-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"users"===t.icon?e("users-icon",{staticClass:"mr-3 vue-feather text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),e("b",{staticClass:"font-bold dark:text-gray-200 sm:text-lg text-md"},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},9696:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"InfoBox",props:["type"]};var r=e(3379),i=e.n(r),n=e(822),o={insert:"head",singleton:!1};i()(n.Z,o);n.Z.locals;const l=(0,e(1900).Z)(s,(function(){var t=this,a=t.$createElement;return(t._self._c||a)("div",{staticClass:"info-box",class:t.type},[t._t("default")],2)}),[],!1,null,"27e18e08",null).exports},8784:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"DatatableCellImage",props:["member","title","description","image-size"],components:{MemberAvatar:e(631).Z}};var r=e(3379),i=e.n(r),n=e(2852),o={insert:"head",singleton:!1};i()(n.Z,o);n.Z.locals;const l=(0,e(1900).Z)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex items-center shrink-0 grow-0"},[e("MemberAvatar",{staticClass:"mr-3 shrink-0",attrs:{"is-border":!1,size:52,member:t.member}}),t._v(" "),e("div",{staticClass:"info"},[t.title?e("b",{staticClass:"name"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t.description?e("span",{staticClass:"description"},[t._v(t._s(t.description))]):t._e()])],1)}),[],!1,null,"acf37596",null).exports},9569:(t,a,e)=>{e.d(a,{Z:()=>f});var s=e(9101);const r={props:["data"],computed:{normalizedColumns:function(){return this.data.id&&delete this.data.id,Object.values(this.data)}}};var i=e(3379),n=e.n(i),o=e(2449),l={insert:"head",singleton:!1};n()(o.Z,l);o.Z.locals;var d=e(1900);const c=(0,d.Z)(r,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",{staticClass:"table-row"},t._l(t.normalizedColumns,(function(a,s){return e("td",{key:s,staticClass:"table-cell"},[e("span",[t._v(t._s(a))])])})),0)}),[],!1,null,"5683add0",null).exports;var b=e(9669),p=e.n(b);const u={name:"DatatableWrapper",props:["paginator","tableData","columns","scope","api"],components:{ChevronRightIcon:s.XCv,ChevronLeftIcon:s.wyc,DatatableCell:c,ChevronUpIcon:s.g8U},computed:{hasData:function(){return this.data&&this.data.data&&this.data.data.length>0},floatPages:function(){return[this.pageIndex-1,this.pageIndex,this.pageIndex+1]}},data:function(){return{data:void 0,isLoading:!0,pageIndex:1,filter:{sort:"DESC",field:void 0}}},methods:{goToPage:function(t){t>this.data.meta.last_page||0===t||(this.pageIndex=t,this.getPage(t))},sort:function(t,a){a&&(this.filter.field=t,"DESC"===this.filter.sort?this.filter.sort="ASC":"ASC"===this.filter.sort&&(this.filter.sort="DESC"),this.getPage(this.pageIndex))},getPage:function(t){var a=this;this.URI=this.api,this.paginator&&(this.URI=this.URI+"?page="+t),this.filter.field&&(this.URI=this.URI+(this.paginator?"&":"?")+"sort="+this.filter.field+"&direction="+this.filter.sort),this.isLoading=!0,p().get(this.URI).then((function(t){a.data=t.data,a.$emit("data",t.data)})).catch((function(){return a.$isSomethingWrong()})).finally((function(){a.$emit("init",!0),a.isLoading=!1}))}},created:function(){this.api&&this.getPage(this.pageIndex),this.tableData&&(this.data=this.tableData,this.isLoading=!1)}};var m=e(340),g={insert:"head",singleton:!1};n()(m.Z,g);m.Z.locals;const f=(0,d.Z)(u,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"w-full"},[t.hasData?e("table",{staticClass:"w-full"},[e("thead",[e("tr",{staticClass:"whitespace-nowrap"},t._l(t.columns,(function(a,s){return a.hidden?t._e():e("th",{key:s,staticClass:"text-left",class:{"sortable cursor-pointer":a.sortable,"text-right":Object.values(t.columns).length-1===s},on:{click:function(e){return t.sort(a.field,a.sortable)}}},[e("span",{staticClass:"dark:text-gray-500 text-gray-400 text-xs"},[t._v("\n\t\t\t\t\t\t\t"+t._s(a.label)+"\n\t\t\t\t\t\t")]),t._v(" "),a.sortable?e("chevron-up-icon",{staticClass:"inline-block vue-feather dark:text-gray-500 text-gray-300",class:{"arrow-down":"ASC"===t.filter.sort},attrs:{size:"12"}}):t._e()],1)})),0)]),t._v(" "),e("tbody",{staticClass:"table-body"},[t._l(t.data.data,(function(a){return t._t("default",(function(){return[e("DatatableCell",{key:a.id,attrs:{data:a}})]}),{row:a})}))],2)]):t._e(),t._v(" "),t.isLoading||t.hasData?t._e():t._t("empty-page"),t._v(" "),t.paginator&&t.hasData?e("div",{staticClass:"mt-6 flex justify-between items-center"},[t.data.meta.total>15&&t.data.meta.last_page<=6?e("ul",{staticClass:"pagination flex items-center"},[e("li",{staticClass:"p-1 inline-block previous"},[e("a",{staticClass:"page-link",class:{"opacity-20 cursor-default":1===t.pageIndex},on:{click:function(a){return t.goToPage(t.pageIndex-1)}}},[e("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t._l(t.data.meta.last_page,(function(a,s){return e("li",{key:s,staticClass:"p-1 inline-block",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"dark:text-gray-300 dark:bg-4x-dark-foreground bg-light-background":t.pageIndex===a}},[t._v("\n "+t._s(a)+"\n ")])])})),t._v(" "),e("li",{staticClass:"p-1 inline-block next"},[e("a",{staticClass:"page-link",class:{"opacity-20 cursor-default":t.pageIndex===t.data.meta.last_page},on:{click:function(a){return t.goToPage(t.pageIndex+1)}}},[e("chevron-right-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)])],2):t._e(),t._v(" "),t.data.meta.total>15&&t.data.meta.last_page>6?e("ul",{staticClass:"pagination flex items-center"},[e("li",{staticClass:"p-1 inline-block previous"},[e("a",{staticClass:"page-link",class:{"opacity-20 cursor-default":1===t.pageIndex},on:{click:function(a){return t.goToPage(t.pageIndex-1)}}},[e("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t.pageIndex>=5?e("li",{staticClass:"p-1 inline-block",on:{click:function(a){return t.goToPage(1)}}},[e("a",{staticClass:"page-link"},[t._v("\n 1\n ")])]):t._e(),t._v(" "),t._l(5,(function(a,s){return t.pageIndex<5?e("li",{key:s,staticClass:"p-1 inline-block",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"dark:text-gray-300 dark:bg-4x-dark-foreground bg-light-background":t.pageIndex===a}},[t._v("\n "+t._s(a)+"\n ")])]):t._e()})),t._v(" "),t.pageIndex>=5?e("li",{staticClass:"p-1 inline-block"},[e("a",{staticClass:"page-link"},[t._v("...")])]):t._e(),t._v(" "),t._l(t.floatPages,(function(a,s){return t.pageIndex>=5&&t.pageIndex<t.data.meta.last_page-3?e("li",{key:s,staticClass:"p-1 inline-block",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"dark:text-gray-300 dark:bg-4x-dark-foreground bg-light-background":t.pageIndex===a}},[t._v("\n "+t._s(a)+"\n ")])]):t._e()})),t._v(" "),t.pageIndex<t.data.meta.last_page-3?e("li",{staticClass:"p-1 inline-block"},[e("a",{staticClass:"page-link"},[t._v("...")])]):t._e(),t._v(" "),t._l(5,(function(a,s){return t.pageIndex>t.data.meta.last_page-4?e("li",{key:s,staticClass:"p-1 inline-block",on:{click:function(a){t.goToPage(t.data.meta.last_page-(4-s))}}},[e("a",{staticClass:"page-link",class:{"dark:text-gray-300 dark:bg-4x-dark-foreground bg-light-background":t.pageIndex===t.data.meta.last_page-(4-s)}},[t._v("\n "+t._s(t.data.meta.last_page-(4-s))+"\n ")])]):t._e()})),t._v(" "),t.pageIndex<t.data.meta.last_page-3?e("li",{staticClass:"p-1 inline-block",on:{click:function(a){return t.goToPage(t.data.meta.last_page)}}},[e("a",{staticClass:"page-link"},[t._v("\n "+t._s(t.data.meta.last_page)+"\n ")])]):t._e(),t._v(" "),e("li",{staticClass:"p-1 inline-block next"},[e("a",{staticClass:"page-link",class:{"opacity-20 cursor-default":t.pageIndex===t.data.meta.last_page},on:{click:function(a){return t.goToPage(t.pageIndex+1)}}},[e("chevron-right-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)])],2):t._e(),t._v(" "),e("span",{staticClass:"dark:text-gray-500 text-xs text-gray-600"},[t._v("\n\t\t\t\tShowing "+t._s(t.data.meta.from)+" - "+t._s(t.data.meta.to)+" from "+t._s(t.data.meta.total)+" records\n\t\t\t")])]):t._e()],2)}),[],!1,null,"0ed4edbe",null).exports},7181:(t,a,e)=>{e.d(a,{Z:()=>n});const s={name:"Bar",props:["bar"],data:function(){return{isVisible:!1}}};var r=e(1900);const i={name:"BarChart",props:["color","data"],components:{Bar:(0,r.Z)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"2xl:w-3 lg:w-2 block lg:mr-2 relative cursor-pointer",style:{height:t.bar.percentage+"%"},on:{mouseover:function(a){t.isVisible=!0},mouseleave:function(a){t.isVisible=!1}}},[t.isVisible?e("div",{staticClass:"absolute transform -translate-y-full -translate-x-1/2 -top-4 ml-1.5 dark:bg-white bg-gray-800 rounded-lg shadow-lg py-2 px-3 z-10"},[e("b",{staticClass:"dark:text-gray-800 text-white text-xs whitespace-nowrap block mb-2"},[t._v("\n\t\t\t"+t._s(t.bar.created_at)+"\n\t\t")]),t._v(" "),e("div",{staticClass:"flex items-center pb-1"},[e("span",{staticClass:"w-3 h-3 block bg-theme mr-2 rounded"}),t._v(" "),e("b",{staticClass:"dark:text-gray-800 text-white text-xs whitespace-nowrap"},[t._v("\n\t\t\t\t"+t._s(t.bar.amount)+"\n\t\t\t")])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),e("span",{staticClass:"bg-theme w-full h-full block rounded-lg"})])}),[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"w-5 overflow-hidden inline-block absolute -bottom-2.5 left-0 right-0 mx-auto"},[a("div",{staticClass:"h-3 w-3 dark:bg-white bg-gray-800 -rotate-45 transform origin-top-left"})])}],!1,null,null,null).exports},computed:{ghostLength:function(){return 45-this.data.length}}};const n=(0,r.Z)(i,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"lg:flex lg:items-end lg:justify-between grid grid-flow-col lg:gap-0 sm:gap-2 gap-1 items-end sm:h-28 h-20"},[t._l(t.data,(function(t,a){return e("Bar",{key:a,attrs:{bar:t}})})),t._v(" "),t._l(t.ghostLength,(function(a,s){return t.ghostLength>0?e("span",{key:s,staticClass:"2xl:w-3 lg:w-2 block lg:mr-2 relative cursor-pointer dark:bg-gray-800 bg-gray-100",style:{height:"7%"}}):t._e()}))],2)}),[],!1,null,null,null).exports},3606:(t,a,e)=>{e.r(a),e.d(a,{default:()=>j});var s=e(8784),r=e(9569),i=e(9480),n=e(9101),o=e(631),l=e(629);function d(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function c(t){for(var a=1;a<arguments.length;a++){var e=null!=arguments[a]?arguments[a]:{};a%2?d(Object(e),!0).forEach((function(a){b(t,a,e[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(e,a))}))}return t}function b(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const p={name:"WidgetLatestRegistrations",props:["icon","title"],components:{DatatableCellImage:s.Z,DatatableWrapper:r.Z,MemberAvatar:o.Z,Trash2Icon:n.Bf1,ColorLabel:i.Z,Edit2Icon:n.me4},computed:c(c({},(0,l.Se)(["config"])),{},{columns:function(){return{metered:[{label:this.$t("admin_page_user.table.name"),field:"email",sortable:!0},{label:this.$t("admin_page_user.table.role"),field:"role",sortable:!0},{label:this.$t("admin_page_user.table.storage_used"),sortable:!1},{label:this.$t("Billing Est."),sortable:!1},{label:this.$t("admin_page_user.table.created_at"),field:"created_at",sortable:!0},{label:this.$t("admin_page_user.table.action"),sortable:!1}],fixed:[{label:this.$t("admin_page_user.table.name"),field:"email",sortable:!0},{label:this.$t("admin_page_user.table.role"),field:"role",sortable:!0},{label:this.$t("admin_page_user.table.plan"),sortable:!1},{label:this.$t("admin_page_user.table.storage_used"),sortable:!1},{label:this.$t("Max Storage"),sortable:!1,hidden:!this.config.storageLimit},{label:this.$t("admin_page_user.table.created_at"),field:"created_at",sortable:!0},{label:this.$t("admin_page_user.table.action"),sortable:!1}],none:[{label:this.$t("admin_page_user.table.name"),field:"email",sortable:!0},{label:this.$t("admin_page_user.table.role"),field:"role",sortable:!0},{label:this.$t("admin_page_user.table.storage_used"),sortable:!1},{label:this.$t("Max Storage"),sortable:!1,hidden:!this.config.storageLimit},{label:this.$t("admin_page_user.table.created_at"),field:"created_at",sortable:!0},{label:this.$t("admin_page_user.table.action"),sortable:!1}]}[this.config.subscriptionType]}}),data:function(){return{isLoading:!1}}};var u=e(1900);const m=(0,u.Z)(p,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("DatatableWrapper",{staticClass:"overflow-x-auto mt-6",attrs:{api:"/api/admin/dashboard/newbies",paginator:!1,columns:t.columns},on:{init:function(a){t.isLoading=!1}},scopedSlots:t._u([{key:"default",fn:function(a){var s=a.row;return["none"===t.config.subscriptionType?e("tr",{staticClass:"border-b dark:border-opacity-5 border-light border-dashed whitespace-nowrap"},[e("td",{staticClass:"py-3 md:pr-1 pr-3"},[e("router-link",{attrs:{to:{name:"UserDetail",params:{id:s.data.id}}}},[e("div",{staticClass:"flex items-center"},[e("MemberAvatar",{attrs:{"is-border":!1,size:44,member:s.data.relationships.settings}}),t._v(" "),e("div",{staticClass:"ml-3 pr-10"},[e("b",{staticClass:"text-sm font-bold block max-w-1 overflow-hidden text-ellipsis whitespace-nowrap",staticStyle:{"max-width":"155px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.data.relationships.settings.data.attributes.name)+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"block text-xs dark:text-gray-500 text-gray-600"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.data.attributes.email)+"\n\t\t\t\t\t\t\t")])])],1)])],1),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("ColorLabel",{attrs:{color:t.$getUserRoleColor(s.data.attributes.role)}},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.role)+"\n\t\t\t\t")])],1),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.storage.used_formatted)+"\n\t\t\t\t")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t-\n\t\t\t\t")]):t._e()]),t._v(" "),t.config.storageLimit?e("td",{staticClass:"md:px-1 px-3"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.storage.capacity_formatted)+"\n\t\t\t\t")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t-\n\t\t\t\t")]):t._e()]):t._e(),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.created_at)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:pl-1 pl-3 text-right"},[e("div",{staticClass:"flex space-x-2 w-full justify-end"},[e("router-link",{staticClass:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-green-100 dark:bg-2x-dark-foreground bg-light-background transition-colors",attrs:{to:{name:"UserDetail",params:{id:s.data.id}}}},[e("Edit2Icon",{staticClass:"opacity-75",attrs:{size:"15"}})],1),t._v(" "),e("router-link",{staticClass:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-red-100 dark:bg-2x-dark-foreground bg-light-background transition-colors",attrs:{to:{name:"UserDelete",params:{id:s.data.id}}}},[e("Trash2Icon",{staticClass:"opacity-75",attrs:{size:"15"}})],1)],1)])]):t._e(),t._v(" "),"fixed"===t.config.subscriptionType?e("tr",{staticClass:"border-b dark:border-opacity-5 border-light border-dashed whitespace-nowrap"},[e("td",{staticClass:"py-3 md:pr-1 pr-3"},[e("router-link",{attrs:{to:{name:"UserDetail",params:{id:s.data.id}}}},[e("div",{staticClass:"flex items-center"},[e("MemberAvatar",{attrs:{"is-border":!1,size:44,member:s.data.relationships.settings}}),t._v(" "),e("div",{staticClass:"ml-3 pr-10"},[e("b",{staticClass:"text-sm font-bold block max-w-1 overflow-hidden text-ellipsis whitespace-nowrap",staticStyle:{"max-width":"155px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.data.relationships.settings.data.attributes.name)+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"block text-xs dark:text-gray-500 text-gray-600"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.data.attributes.email)+"\n\t\t\t\t\t\t\t")])])],1)])],1),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("ColorLabel",{attrs:{color:t.$getUserRoleColor(s.data.attributes.role)}},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.role)+"\n\t\t\t\t")])],1),t._v(" "),t.config.isSaaS?e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.relationships.subscription?t.$t("global.premium"):t.$t("global.free"))+"\n\t\t\t\t")])]):t._e(),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.storage.used_formatted)+"\n\t\t\t\t")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t-\n\t\t\t\t")]):t._e()]),t._v(" "),t.config.storageLimit?e("td",{staticClass:"md:px-1 px-3"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.storage.capacity_formatted)+"\n\t\t\t\t")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t-\n\t\t\t\t")]):t._e()]):t._e(),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.created_at)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:pl-1 pl-3 text-right"},[e("div",{staticClass:"flex space-x-2 w-full justify-end"},[e("router-link",{staticClass:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-green-100 dark:bg-2x-dark-foreground bg-light-background transition-colors",attrs:{to:{name:"UserDetail",params:{id:s.data.id}}}},[e("Edit2Icon",{staticClass:"opacity-75",attrs:{size:"15"}})],1),t._v(" "),e("router-link",{staticClass:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-red-100 dark:bg-2x-dark-foreground bg-light-background transition-colors",attrs:{to:{name:"UserDelete",params:{id:s.data.id}}}},[e("Trash2Icon",{staticClass:"opacity-75",attrs:{size:"15"}})],1)],1)])]):t._e(),t._v(" "),"metered"===t.config.subscriptionType?e("tr",{staticClass:"border-b dark:border-opacity-5 border-light border-dashed whitespace-nowrap"},[e("td",{staticClass:"py-3 md:pr-1 pr-3"},[e("router-link",{attrs:{to:{name:"UserDetail",params:{id:s.data.id}}}},[e("div",{staticClass:"flex items-center"},[e("MemberAvatar",{attrs:{"is-border":!1,size:44,member:s.data.relationships.settings}}),t._v(" "),e("div",{staticClass:"ml-3 pr-10"},[e("b",{staticClass:"text-sm font-bold block max-w-1 overflow-hidden text-ellipsis whitespace-nowrap",staticStyle:{"max-width":"155px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.data.relationships.settings.data.attributes.name)+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"block text-xs dark:text-gray-500 text-gray-600"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.data.attributes.email)+"\n\t\t\t\t\t\t\t")])])],1)])],1),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("ColorLabel",{attrs:{color:t.$getUserRoleColor(s.data.attributes.role)}},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.role)+"\n\t\t\t\t")])],1),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.meta.usages.featureEstimates.storage.usage)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.meta.usages.costEstimate)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.created_at)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:pl-1 pl-3 text-right"},[e("div",{staticClass:"flex space-x-2 w-full justify-end"},[e("router-link",{staticClass:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-green-100 dark:bg-2x-dark-foreground bg-light-background transition-colors",attrs:{to:{name:"UserDetail",params:{id:s.data.id}}}},[e("Edit2Icon",{staticClass:"opacity-75",attrs:{size:"15"}})],1),t._v(" "),e("router-link",{staticClass:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-red-100 dark:bg-2x-dark-foreground bg-light-background transition-colors",attrs:{to:{name:"UserDelete",params:{id:s.data.id}}}},[e("Trash2Icon",{staticClass:"opacity-75",attrs:{size:"15"}})],1)],1)])]):t._e()]}}])})}),[],!1,null,null,null).exports;const g={name:"WidgetWrapper",props:["icon","title"],components:{ChevronRightIcon:n.XCv,HardDriveIcon:n.zvn,StarIcon:n.r7p,UsersIcon:n.oyc}};const f=(0,u.Z)(g,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"widget-card w-full"},[e("div",{staticClass:"widget-content dark:bg-dark-foreground bg-white"},[e("div",{staticClass:"flex items-center"},["users"===t.icon?e("users-icon",{staticClass:"vue-feather text-theme mr-3 ",attrs:{size:"16"}}):t._e(),t._v(" "),"star"===t.icon?e("star-icon",{staticClass:"vue-feather text-theme mr-3 ",attrs:{size:"16"}}):t._e(),t._v(" "),"hard-drive"===t.icon?e("hard-drive-icon",{staticClass:"vue-feather text-theme mr-3 ",attrs:{size:"16"}}):t._e(),t._v(" "),e("b",{staticClass:"font-bold text-base"},[t._v("\n\t\t\t\t\t"+t._s(t.title)+"\n\t\t\t\t")])],1),t._v(" "),t._t("default")],2)])}),[],!1,null,null,null).exports;var _=e(5462),v=e(6589),h=e(7181),x=e(9669),C=e.n(x),k=e(9696);function y(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function w(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const I={name:"WidgetLatestTransactions",props:["icon","title"],components:{DatatableCellImage:s.Z,DatatableWrapper:r.Z,MemberAvatar:o.Z,Trash2Icon:n.Bf1,ColorLabel:i.Z,Edit2Icon:n.me4,InfoBox:k.Z},computed:function(t){for(var a=1;a<arguments.length;a++){var e=null!=arguments[a]?arguments[a]:{};a%2?y(Object(e),!0).forEach((function(a){w(t,a,e[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):y(Object(e)).forEach((function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(e,a))}))}return t}({},(0,l.Se)(["config"])),data:function(){return{columns:[{label:this.$t("Note"),field:"note",sortable:!0},{label:this.$t("User"),field:"user_id",sortable:!0},{label:this.$t("Status"),field:"status",sortable:!0},{label:this.$t("admin_page_invoices.table.total"),field:"amount",sortable:!0},{label:this.$t("Payed At"),field:"created_at",sortable:!0},{label:this.$t("Service"),field:"driver",sortable:!0}]}}};function $(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function z(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const O={name:"Dashboard",components:{WidgetLatestTransactions:(0,u.Z)(I,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("DatatableWrapper",{staticClass:"overflow-x-auto",attrs:{api:"/api/admin/dashboard/transactions",columns:t.columns},scopedSlots:t._u([{key:"default",fn:function(a){var s=a.row;return[e("tr",{staticClass:"border-b dark:border-opacity-5 border-light border-dashed whitespace-nowrap"},[e("td",{staticClass:"py-5 md:pr-1 pr-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.note)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[s.data.relationships.user?e("div",{staticClass:"flex items-center"},[e("MemberAvatar",{attrs:{"is-border":!1,size:36,member:s.data.relationships.user}}),t._v(" "),e("div",{staticClass:"ml-3 pr-10"},[e("b",{staticClass:"text-sm font-bold block max-w-1 overflow-hidden text-ellipsis whitespace-nowrap",staticStyle:{"max-width":"155px"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(s.data.relationships.user.data.attributes.name)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"block text-xs dark:text-gray-500 text-gray-600"},[t._v("\n\t\t\t\t\t\t\t"+t._s(s.data.relationships.user.data.attributes.email)+"\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),s.data.relationships.user?t._e():e("span",{staticClass:"text-xs text-gray-500 font-bold"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("User was deleted"))+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},["fixed"===t.config.subscriptionType?e("ColorLabel",{attrs:{color:t.$getTransactionStatusColor(s.data.attributes.status)}},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.status)+"\n\t\t\t\t")]):t._e(),t._v(" "),"metered"===t.config.subscriptionType?e("ColorLabel",{attrs:{color:t.$getTransactionTypeColor(s.data.attributes.type)}},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.type)+"\n\t\t\t\t")]):t._e()],1),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold",class:t.$getTransactionTypeTextColor(s.data.attributes.type)},[t._v("\n\t\t\t\t\t"+t._s(t.$getTransactionMark(s.data.attributes.type)+s.data.attributes.price)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:px-1 px-3"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n\t\t\t\t\t"+t._s(s.data.attributes.created_at)+"\n\t\t\t\t")])]),t._v(" "),e("td",{staticClass:"md:pl-1 pl-3"},[e("div",{staticClass:"text-right md:w-full w-32"},[e("img",{staticClass:"w-32 md:inline-block",attrs:{src:t.$getPaymentLogo(s.data.attributes.driver),alt:s.data.attributes.driver}})])])])]}},{key:"empty-page",fn:function(){return[e("InfoBox",{staticStyle:{"margin-bottom":"0"}},[e("p",[t._v(t._s(t.$t("There aren't any transactions.")))])])]},proxy:!0}])})}),[],!1,null,null,null).exports,WidgetLatestRegistrations:m,ChevronRightIcon:n.XCv,WidgetWrapper:f,ThumbsUpIcon:n.lbB,ColorLabel:i.Z,FormLabel:v.Z,BarChart:h.Z,Spinner:_.Z},computed:function(t){for(var a=1;a<arguments.length;a++){var e=null!=arguments[a]?arguments[a]:{};a%2?$(Object(e),!0).forEach((function(a){z(t,a,e[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):$(Object(e)).forEach((function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(e,a))}))}return t}({},(0,l.Se)(["config"])),data:function(){return{isLoading:!1,data:void 0}},created:function(){var t=this;C().get("/api/admin/dashboard").then((function(a){t.data=a.data})).finally((function(){t.isLoading=!1}))}};const j=(0,u.Z)(O,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{attrs:{id:"single-page"}},[!t.isLoading&&t.data?e("div",{attrs:{id:"page-content"}},[t.config.isAdminVueFileManagerBar?e("div",{staticClass:"md:flex justify-between md:mb-6 mb-4 md:block hidden"},[t._m(0),t._v(" "),e("div",{staticClass:"flex items-center md:mt-0 mt-4"},[e("a",{staticClass:"inline-block mr-4",attrs:{href:"https://gist.github.com/MakingCG/9c07f8af392081ae5d5290d920a79b5d",target:"_blank"}},[e("span",{staticClass:"font-bold text-sm"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("admin_page_dashboard.version"))+":\n\t\t\t\t\t\t")]),t._v(" "),e("ColorLabel",{attrs:{color:"purple"}},[t._v("\n "+t._s(t.data.app.version)+"\n ")])],1),t._v(" "),e("a",{staticClass:"inline-block mr-4",attrs:{href:"https://codecanyon.net/item/vue-file-manager-with-laravel-backend/25815986",target:"_blank"}},[e("span",{staticClass:"font-bold text-sm"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("admin_page_dashboard.license"))+":\n\t\t\t\t\t\t")]),t._v(" "),e("ColorLabel",{attrs:{color:"purple"}},[t._v("\n "+t._s(t.data.app.license)+"\n ")])],1),t._v(" "),e("a",{staticClass:"items-center inline-block rounded-lg py-1.5 px-3 ml-8 bg-theme-100 md:flex hidden",attrs:{href:"https://bit.ly/VueFileManager-survey",target:"_blank"}},[e("thumbs-up-icon",{staticClass:"vue-feather text-theme mr-2.5",attrs:{size:"15"}}),t._v(" "),e("span",{staticClass:"font-bold text-sm text-theme"},[t._v("\n "+t._s(t.$t("Write a Feedback"))+"\n ")])],1)])]):t._e(),t._v(" "),e("div",{staticClass:"md:flex md:space-x-6 md:mb-6 mb-2"},[e("div",{staticClass:"w-full md:mb-0 mb-4 card shadow-card"},[e("FormLabel",{attrs:{icon:"users"}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("Total Users"))+"\n\t\t\t\t\t")]),t._v(" "),e("b",{staticClass:"sm:text-3xl text-2xl font-extrabold -mt-3 block mb-0.5"},[t._v("\n\t\t\t\t\t\t"+t._s(t.data.users.total)+"\n\t\t\t\t\t")]),t._v(" "),e("router-link",{staticClass:"flex items-center mt-6",attrs:{to:{name:"Users"}}},[e("span",{staticClass:"text-xs font-bold mr-2 whitespace-nowrap"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("admin_page_dashboard.w_total_space.link"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("chevron-right-icon",{staticClass:"text-theme vue-feather",attrs:{size:"16"}})],1)],1),t._v(" "),e("div",{staticClass:"w-full md:mb-0 mb-4 card shadow-card"},[e("FormLabel",{attrs:{icon:"hard-drive"}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("Total Storage"))+"\n\t\t\t\t\t")]),t._v(" "),e("b",{staticClass:"sm:text-3xl text-2xl font-extrabold -mt-3 block mb-0.5"},[t._v("\n\t\t\t\t\t\t"+t._s(t.data.disk.used)+"\n\t\t\t\t\t")]),t._v(" "),e("router-link",{staticClass:"flex items-center mt-6",attrs:{to:{name:"Users"}}},[e("span",{staticClass:"text-xs font-bold mr-2 whitespace-nowrap"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("admin_page_dashboard.w_total_space.link"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("chevron-right-icon",{staticClass:"text-theme vue-feather",attrs:{size:"16"}})],1)],1),t._v(" "),"none"!==t.config.subscriptionType?e("div",{staticClass:"w-full md:mb-0 mb-4 card shadow-card"},[e("FormLabel",{attrs:{icon:"dollar"}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("Earnings"))+"\n\t\t\t\t\t")]),t._v(" "),e("b",{staticClass:"sm:text-3xl text-2xl font-extrabold -mt-3 block mb-0.5"},[t._v("\n\t\t\t\t\t\t"+t._s(t.data.app.earnings)+"\n\t\t\t\t\t")]),t._v(" "),e("router-link",{staticClass:"flex items-center mt-6",attrs:{to:{name:"Invoices"}}},[e("span",{staticClass:"text-xs font-bold mr-2 whitespace-nowrap"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("Show all transactions"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("chevron-right-icon",{staticClass:"text-theme vue-feather",attrs:{size:"16"}})],1)],1):t._e()]),t._v(" "),e("div",{staticClass:"card shadow-card md:mb-6 mb-4"},[e("FormLabel",{attrs:{icon:"hard-drive"}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("Upload"))+"\n\t\t\t\t")]),t._v(" "),e("b",{staticClass:"sm:text-3xl text-2xl font-extrabold -mt-3 block mb-0.5"},[t._v("\n\t\t\t\t\t"+t._s(t.data.disk.upload.total)+"\n\t\t\t\t")]),t._v(" "),e("b",{staticClass:"mb-3 block text-sm text-gray-400 mb-2"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("In last 45 days"))+"\n\t\t\t\t")]),t._v(" "),e("BarChart",{attrs:{data:t.data.disk.upload.records}})],1),t._v(" "),e("div",{staticClass:"card shadow-card md:mb-6 mb-4"},[e("FormLabel",{attrs:{icon:"hard-drive"}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("Download"))+"\n\t\t\t\t")]),t._v(" "),e("b",{staticClass:"sm:text-3xl text-2xl font-extrabold -mt-3 block mb-0.5"},[t._v("\n\t\t\t\t\t"+t._s(t.data.disk.download.total)+"\n\t\t\t\t")]),t._v(" "),e("b",{staticClass:"mb-3 block text-sm text-gray-400 mb-5"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("In last 45 days"))+"\n\t\t\t\t")]),t._v(" "),e("BarChart",{attrs:{data:t.data.disk.download.records}})],1),t._v(" "),e("div",{staticClass:"card shadow-card md:mb-6 mb-4"},[e("FormLabel",{attrs:{icon:"users"}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("Latest Registrations"))+"\n\t\t\t\t")]),t._v(" "),e("WidgetLatestRegistrations")],1),t._v(" "),["fixed","metered"].includes(this.config.subscriptionType)?e("div",{staticClass:"card shadow-card md:mb-6 mb-4"},[e("FormLabel",{attrs:{icon:"dollar"}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("Latest Transactions"))+"\n\t\t\t\t")]),t._v(" "),e("WidgetLatestTransactions")],1):t._e()]):t._e(),t._v(" "),t.isLoading?e("div",{attrs:{id:"loader"}},[e("Spinner")],1):t._e()])}),[function(){var t=this.$createElement,a=this._self._c||t;return a("a",{attrs:{href:"https://vuefilemanager.com",target:"_blank"}},[a("img",{staticClass:"light-mode",attrs:{src:"/assets/images/vuefilemanager-horizontal-logo.svg",alt:"VueFileManager"}})])}],!1,null,null,null).exports}}]);