Files
vuefilemanager/public/chunks/dashboard.js
Čarodej 5d15f3da51 build
2022-03-20 19:02:34 +01:00

1 line
40 KiB
JavaScript
Vendored

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9052],{6798:(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-d470f17c]{background:rgba(157,102,254,.1);color:#9d66fe}.color-label.yellow[data-v-d470f17c]{background:rgba(255,189,45,.1);color:#ffbd2d}.color-label.green[data-v-d470f17c]{background:rgba(0,188,126,.1);color:#00bc7e}.color-label.red[data-v-d470f17c]{background:rgba(253,57,122,.1);color:#fd397a}",""]);const i=r},9397:(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-4d9e9780]{background:#f4f5f6;border-radius:10px;margin-bottom:32px;padding:20px;text-align:left}.info-box.error[data-v-4d9e9780]{background:rgba(253,57,122,.1)}.info-box.error a[data-v-4d9e9780],.info-box.error p[data-v-4d9e9780]{color:#fd397a}.info-box.error a[data-v-4d9e9780]{text-decoration:underline}.info-box p[data-v-4d9e9780]{font-weight:600;line-height:1.6;word-break:break-word}.info-box p[data-v-4d9e9780],.info-box p[data-v-4d9e9780] a{font-size:15px}.info-box p[data-v-4d9e9780] b{font-size:15px;font-weight:700}.info-box a[data-v-4d9e9780],.info-box b[data-v-4d9e9780]{font-weight:700}.info-box a[data-v-4d9e9780]{font-size:.9375em;line-height:1.6}.info-box ul[data-v-4d9e9780]{margin-top:15px}.info-box ul[data-v-4d9e9780],.info-box ul li[data-v-4d9e9780],.info-box ul li a[data-v-4d9e9780]{display:block}@media only screen and (max-width:690px){.info-box[data-v-4d9e9780]{padding:15px}}.dark .info-box[data-v-4d9e9780]{background:#1e2024}.dark .info-box.error[data-v-4d9e9780]{background:rgba(253,57,122,.1)}.dark .info-box.error a[data-v-4d9e9780],.dark .info-box.error p[data-v-4d9e9780]{color:#fd397a}.dark .info-box.error a[data-v-4d9e9780]{text-decoration:underline}.dark .info-box p[data-v-4d9e9780],.dark .info-box ul li[data-v-4d9e9780]{color:#bec6cf}",""]);const i=r},9611:(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-4f806708]{border-radius:8px}.table-row[data-v-4f806708]:hover{background:#f4f5f6}.table-row .table-cell[data-v-4f806708]{padding-bottom:15px;padding-top:15px}.table-row .table-cell[data-v-4f806708]:first-child{padding-left:15px}.table-row .table-cell[data-v-4f806708]:last-child{padding-right:15px;text-align:right}.table-row .table-cell span[data-v-4f806708]{font-size:1em;font-weight:700}",""]);const i=r},1695:(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-61fa07ec],.info .name[data-v-61fa07ec]{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info .name[data-v-61fa07ec]{color:#1b2539;font-size:.9375em;line-height:1}.info .description[data-v-61fa07ec]{color:rgba(27,37,57,.7);font-size:.75em}.dark .cell-image-thumbnail .image img.blurred[data-v-61fa07ec]{display:none}.dark .cell-image-thumbnail .info .name[data-v-61fa07ec]{color:#bec6cf}.dark .cell-image-thumbnail .info .description[data-v-61fa07ec]{color:#7d858c}",""]);const i=r},3426:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"ColorLabel",props:["color"]};var r=e(3379),i=e.n(r),n=e(6798),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 inline-block rounded-lg py-1 px-2 text-xs font-bold capitalize",class:t.color},[t._t("default")],2)}),[],!1,null,"d470f17c",null).exports},5996:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(9101);const r={name:"FormLabel",props:["icon"],components:{WifiIcon:s.kVp,ListIcon:s.DE2,MailIcon:s.bV6,InfoIcon:s.szr,DatabaseIcon:s.VHe,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:"mb-8 flex items-center"},[t.icon?t._e():e("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),t._v(" "),"frown"===t.icon?e("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"list"===t.icon?e("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"info"===t.icon?e("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"database"===t.icon?e("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"file-text"===t.icon?e("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"dollar"===t.icon?e("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"credit-card"===t.icon?e("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bar-chart"===t.icon?e("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"settings"===t.icon?e("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"hard-drive"===t.icon?e("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"mail"===t.icon?e("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?e("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"shield"===t.icon?e("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bell"===t.icon?e("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?e("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"users"===t.icon?e("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"wifi"===t.icon?e("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),e("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"InfoBox",props:["type"]};var r=e(3379),i=e.n(r),n=e(9397),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,"4d9e9780",null).exports},8716:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"DatatableCellImage",props:["member","title","description","image-size"],components:{MemberAvatar:e(167).Z}};var r=e(3379),i=e.n(r),n=e(1695),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 shrink-0 grow-0 items-center"},[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,"61fa07ec",null).exports},3808:(t,a,e)=>{e.d(a,{Z:()=>m});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(9611),l={insert:"head",singleton:!1};n()(o.Z,l);o.Z.locals;var c=e(1900);const d=(0,c.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,"4f806708",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:d,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)}};const m=(0,c.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:"text-xs text-gray-400 dark:text-gray-500"},[t._v("\n "+t._s(t.$t(a.label))+"\n ")]),t._v(" "),a.sortable?e("chevron-up-icon",{staticClass:"vue-feather inline-block text-gray-300 dark:text-gray-500",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 items-center justify-between"},[t.data.meta.total>15&&t.data.meta.last_page<=6?e("ul",{staticClass:"pagination flex items-center"},[e("li",{staticClass:"previous inline-block p-1"},[e("a",{staticClass:"page-link",class:{"cursor-default opacity-20":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:"inline-block p-1",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===a}},[t._v("\n "+t._s(a)+"\n ")])])})),t._v(" "),e("li",{staticClass:"next inline-block p-1"},[e("a",{staticClass:"page-link",class:{"cursor-default opacity-20":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:"previous inline-block p-1"},[e("a",{staticClass:"page-link",class:{"cursor-default opacity-20":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:"inline-block p-1",on:{click:function(a){return t.goToPage(1)}}},[e("a",{staticClass:"page-link"},[t._v(" 1 ")])]):t._e(),t._v(" "),t._l(5,(function(a,s){return t.pageIndex<5?e("li",{key:s,staticClass:"inline-block p-1",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===a}},[t._v("\n "+t._s(a)+"\n ")])]):t._e()})),t._v(" "),t.pageIndex>=5?e("li",{staticClass:"inline-block p-1"},[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:"inline-block p-1",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":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:"inline-block p-1"},[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:"inline-block p-1",on:{click:function(a){t.goToPage(t.data.meta.last_page-(4-s))}}},[e("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":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:"inline-block p-1",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:"next inline-block p-1"},[e("a",{staticClass:"page-link",class:{"cursor-default opacity-20":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:"text-xs text-gray-600 dark:text-gray-500"},[t._v("\n\t\t\t\t"+t._s(t.$t("paginator",{from:t.data.meta.from,to:t.data.meta.to,total:t.data.meta.total}))+"\n ")])]):t._e()],2)}),[],!1,null,null,null).exports},3297:(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:"relative flex items-center justify-center block cursor-pointer lg:mx-1 lg:w-2 2xl:w-3",style:{height:t.bar.percentage>0?t.bar.percentage+"%":"8px"},on:{mouseover:function(a){t.isVisible=!0},mouseleave:function(a){t.isVisible=!1}}},[t.isVisible||85.5===t.bar.percentage?e("div",{staticClass:"absolute -top-4 z-10 -translate-y-full transform rounded-lg bg-gray-800 py-2 px-3 shadow-lg dark:bg-white"},[e("b",{staticClass:"mb-2 block whitespace-nowrap text-xs text-white dark:text-gray-800"},[t._v("\n "+t._s(t.bar.created_at)+"\n ")]),t._v(" "),e("div",{staticClass:"flex items-center pb-1"},[e("span",{staticClass:"bg-theme mr-2 block h-3 w-3 rounded"}),t._v(" "),e("b",{staticClass:"whitespace-nowrap text-xs text-white dark:text-gray-800"},[t._v("\n "+t._s(t.bar.amount)+"\n ")])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),e("span",{staticClass:"block h-full w-full rounded-lg",class:{"bg-theme":t.bar.percentage>0,"dark:bg-gray-700 bg-gray-200":0===t.bar.percentage}})])}),[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"absolute -bottom-2.5 left-0 right-0 mx-auto inline-block w-[17px] overflow-hidden"},[a("div",{staticClass:"h-3 w-3 origin-top-left -rotate-45 transform bg-gray-800 dark:bg-white"})])}],!1,null,null,null).exports}};const n=(0,r.Z)(i,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"grid h-20 grid-flow-col items-end gap-1 sm:h-28 sm:gap-2 lg:flex lg:items-end lg:justify-between lg:gap-0"},t._l(t.data,(function(t,a){return e("Bar",{key:a,attrs:{bar:t}})})),1)}),[],!1,null,null,null).exports},6414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>D});var s=e(8716),r=e(3808),i=e(3426),n=e(9101),o=e(167),l=e(629);function c(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 d(t){for(var a=1;a<arguments.length;a++){var e=null!=arguments[a]?arguments[a]:{};a%2?c(Object(e),!0).forEach((function(a){b(t,a,e[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(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:d(d({},(0,l.Se)(["config"])),{},{columns:function(){return{metered:[{label:this.$t("user"),field:"email",sortable:!0},{label:this.$t("role"),field:"role",sortable:!0},{label:this.$t("storage_used"),sortable:!1},{label:this.$t("billing_est."),sortable:!1},{label:this.$t("created_at"),field:"created_at",sortable:!0},{label:this.$t("action"),sortable:!1}],fixed:[{label:this.$t("user"),field:"email",sortable:!0},{label:this.$t("role"),field:"role",sortable:!0},{label:this.$t("storage_used"),sortable:!1},{label:this.$t("max_storage"),sortable:!1,hidden:!this.config.storageLimit},{label:this.$t("created_at"),field:"created_at",sortable:!0},{label:this.$t("action"),sortable:!1}],none:[{label:this.$t("user"),field:"email",sortable:!0},{label:this.$t("role"),field:"role",sortable:!0},{label:this.$t("storage_used"),sortable:!1},{label:this.$t("max_storage"),sortable:!1,hidden:!this.config.storageLimit},{label:this.$t("created_at"),field:"created_at",sortable:!0},{label:this.$t("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:"mt-6 overflow-x-auto",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:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[e("td",{staticClass:"py-3 pr-3 md:pr-1"},[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}}),t._v(" "),e("div",{staticClass:"ml-3 pr-10"},[e("b",{staticClass:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(s.data.relationships.settings.data.attributes.name)+"\n ")]),t._v(" "),e("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(s.data.attributes.email)+"\n ")])])],1)])],1),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("ColorLabel",{attrs:{color:t.$getUserRoleColor(s.data.attributes.role)}},[t._v("\n "+t._s(t.$t(s.data.attributes.role))+"\n ")])],1),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.storage.used_formatted)+"\n ")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v(" - ")]):t._e()]),t._v(" "),t.config.storageLimit?e("td",{staticClass:"px-3 md:px-1"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.storage.capacity_formatted)+"\n ")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v(" - ")]):t._e()]):t._e(),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.created_at)+"\n ")])]),t._v(" "),e("td",{staticClass:"pl-3 text-right md:pl-1"},[e("div",{staticClass:"flex w-full justify-end space-x-2"},[e("router-link",{staticClass:"flex h-8 w-8 items-center justify-center rounded-md bg-light-background transition-colors hover:bg-green-100 dark:bg-2x-dark-foreground",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 h-8 w-8 items-center justify-center rounded-md bg-light-background transition-colors hover:bg-red-100 dark:bg-2x-dark-foreground",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:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[e("td",{staticClass:"py-3 pr-3 md:pr-1"},[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}}),t._v(" "),e("div",{staticClass:"ml-3 pr-10"},[e("b",{staticClass:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(s.data.relationships.settings.data.attributes.name)+"\n ")]),t._v(" "),e("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(s.data.attributes.email)+"\n ")])])],1)])],1),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("ColorLabel",{attrs:{color:t.$getUserRoleColor(s.data.attributes.role)}},[t._v("\n "+t._s(t.$t(s.data.attributes.role))+"\n ")])],1),t._v(" "),t.config.isSaaS?e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.relationships.subscription?t.$t("premium"):t.$t("free"))+"\n ")])]):t._e(),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.storage.used_formatted)+"\n ")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v(" - ")]):t._e()]),t._v(" "),t.config.storageLimit?e("td",{staticClass:"px-3 md:px-1"},[0!==s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.storage.capacity_formatted)+"\n ")]):t._e(),t._v(" "),0===s.data.attributes.storage.capacity?e("span",{staticClass:"text-sm font-bold"},[t._v(" - ")]):t._e()]):t._e(),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.created_at)+"\n ")])]),t._v(" "),e("td",{staticClass:"pl-3 text-right md:pl-1"},[e("div",{staticClass:"flex w-full justify-end space-x-2"},[e("router-link",{staticClass:"flex h-8 w-8 items-center justify-center rounded-md bg-light-background transition-colors hover:bg-green-100 dark:bg-2x-dark-foreground",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 h-8 w-8 items-center justify-center rounded-md bg-light-background transition-colors hover:bg-red-100 dark:bg-2x-dark-foreground",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:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[e("td",{staticClass:"py-3 pr-3 md:pr-1"},[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}}),t._v(" "),e("div",{staticClass:"ml-3 pr-10"},[e("b",{staticClass:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(s.data.relationships.settings.data.attributes.name)+"\n ")]),t._v(" "),e("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(s.data.attributes.email)+"\n ")])])],1)])],1),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("ColorLabel",{attrs:{color:t.$getUserRoleColor(s.data.attributes.role)}},[t._v("\n "+t._s(t.$t(s.data.attributes.role))+"\n ")])],1),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.meta.usages?s.data.meta.usages.featureEstimates.storage.usage:"-")+"\n ")])]),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.meta.usages?s.data.meta.usages.costEstimate:"-")+"\n ")])]),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.created_at)+"\n ")])]),t._v(" "),e("td",{staticClass:"pl-3 text-right md:pl-1"},[e("div",{staticClass:"flex w-full justify-end space-x-2"},[e("router-link",{staticClass:"flex h-8 w-8 items-center justify-center rounded-md bg-light-background transition-colors hover:bg-green-100 dark:bg-2x-dark-foreground",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 h-8 w-8 items-center justify-center rounded-md bg-light-background transition-colors hover:bg-red-100 dark:bg-2x-dark-foreground",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 f={name:"WidgetWrapper",props:["icon","title"],components:{ChevronRightIcon:n.XCv,HardDriveIcon:n.zvn,StarIcon:n.r7p,UsersIcon:n.oyc}};const g=(0,u.Z)(f,(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 bg-white dark:bg-dark-foreground"},[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:"text-base font-bold"},[t._v("\n "+t._s(t.title)+"\n ")])],1),t._v(" "),t._t("default")],2)])}),[],!1,null,null,null).exports;var v=e(7318),_=e(5996),h=e(3297),x=e(9669),C=e.n(x),k=e(6291);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("total"),field:"amount",sortable:!0},{label:this.$t("payed_at"),field:"created_at",sortable:!0},{label:this.$t("service"),field:"driver",sortable:!0}]}}};const $=(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:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[e("td",{staticClass:"py-5 pr-3 md:pr-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.note)+"\n ")])]),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[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:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(s.data.relationships.user.data.attributes.name)+"\n ")]),t._v(" "),e("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(s.data.relationships.user.data.attributes.email)+"\n ")])])],1):t._e(),t._v(" "),s.data.relationships.user?t._e():e("span",{staticClass:"text-xs font-bold text-gray-500"},[t._v("\n "+t._s(t.$t("user_was_deleted"))+"\n ")])]),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},["fixed"===t.config.subscriptionType?e("ColorLabel",{attrs:{color:t.$getTransactionStatusColor(s.data.attributes.status)}},[t._v("\n "+t._s(t.$t(s.data.attributes.status))+"\n ")]):t._e(),t._v(" "),"metered"===t.config.subscriptionType?e("ColorLabel",{attrs:{color:t.$getTransactionTypeColor(s.data.attributes.type)}},[t._v("\n "+t._s(t.$t(s.data.attributes.type))+"\n ")]):t._e()],1),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold",class:t.$getTransactionTypeTextColor(s.data.attributes.type)},[t._v("\n "+t._s(t.$getTransactionMark(s.data.attributes.type)+s.data.attributes.price)+"\n ")])]),t._v(" "),e("td",{staticClass:"px-3 md:px-1"},[e("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(s.data.attributes.created_at)+"\n ")])]),t._v(" "),e("td",{staticClass:"pl-3 md:pl-1"},[e("div",{staticClass:"w-28"},[e("img",{staticClass:"inline-block max-h-5",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("not_any_transactions")))])])]},proxy:!0}])})}),[],!1,null,null,null).exports;function z(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 O(t,a,e){return a in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const j={name:"Dashboard",components:{InfoBox:k.Z,WidgetLatestTransactions:$,WidgetLatestRegistrations:m,ChevronRightIcon:n.XCv,AlertOctagonIcon:n.D3N,WidgetWrapper:g,ThumbsUpIcon:n.lbB,ColorLabel:i.Z,FormLabel:_.Z,BarChart:h.Z,Spinner:v.Z},computed:function(t){for(var a=1;a<arguments.length;a++){var e=null!=arguments[a]?arguments[a]:{};a%2?z(Object(e),!0).forEach((function(a){O(t,a,e[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):z(Object(e)).forEach((function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(e,a))}))}return t}({},(0,l.Se)(["config","isDarkMode"])),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 D=(0,u.Z)(j,(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:"mb-4 hidden justify-between items-center md:mb-6 md:block md:flex"},[e("a",{attrs:{href:"https://vuefilemanager.com",target:"_blank"}},[e("img",{staticClass:"light-mode",attrs:{src:t.isDarkMode?"/assets/images/vuefilemanager-horizontal-logo-dark.svg":"/assets/images/vuefilemanager-horizontal-logo.svg",alt:"VueFileManager"}})]),t._v(" "),e("div",{staticClass:"mt-4 flex items-center md:mt-0"},[e("a",{staticClass:"mr-4 inline-block",attrs:{href:"https://gist.github.com/MakingCG/9c07f8af392081ae5d5290d920a79b5d",target:"_blank"}},[e("span",{staticClass:"text-sm font-bold"},[t._v(" "+t._s(t.$t("version"))+": ")]),t._v(" "),e("ColorLabel",{attrs:{color:"purple"}},[t._v("\n "+t._s(t.data.app.version)+"\n ")])],1),t._v(" "),e("a",{staticClass:"mr-4 inline-block",attrs:{href:"https://codecanyon.net/item/vue-file-manager-with-laravel-backend/25815986",target:"_blank"}},[e("span",{staticClass:"text-sm font-bold"},[t._v(" "+t._s(t.$t("license"))+": ")]),t._v(" "),e("ColorLabel",{attrs:{color:"purple"}},[t._v("\n "+t._s(t.data.app.license)+"\n ")])],1),t._v(" "),"extended"===t.data.app.license?e("b",{staticClass:"mr-4 inline-block"},[e("span",{staticClass:"text-sm font-bold"},[t._v(" "+t._s(t.$t("subscription"))+": ")]),t._v(" "),e("ColorLabel",{attrs:{color:"purple"}},[t._v("\n "+t._s(t.config.subscriptionType)+"\n ")])],1):t._e(),t._v(" "),e("a",{staticClass:"bg-theme-100 ml-8 inline-block hidden items-center rounded-lg py-1.5 px-3 md:flex lg:ml-4",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:"text-theme text-sm font-bold"},[t._v("\n "+t._s(t.$t("write_feedback"))+"\n ")])],1)])]):t._e(),t._v(" "),"metered"===t.config.subscriptionType&&t.config.isEmptyPlans?e("div",{staticClass:"mb-6 flex items-center rounded-xl dark:bg-rose-700/30 bg-rose-200 p-5 shadow-card"},[e("alert-octagon-icon",{staticClass:"vue-feather mr-4 shrink-0 dark:text-rose-500 text-rose-700",attrs:{size:"18"}}),t._v(" "),e("p",{staticClass:"text-sm dark:text-rose-500 text-rose-700"},[t._v("\n As you installed app with metered subscription type, you have to\n "),e("router-link",{staticClass:"dark:text-rose-500 text-sm font-bold underline",attrs:{to:{name:"CreateMeteredPlan"}}},[t._v("create your plan")]),t._v("\n as soon as possible to prevent new user registration without automatically assigned subscription\n plan.\n ")],1)],1):t._e(),t._v(" "),t.data.app.isRunningCron||t.config.isDev?t._e():e("div",{staticClass:"mb-6 flex items-center rounded-xl dark:bg-rose-700/30 bg-rose-200 p-5 shadow-card"},[e("alert-octagon-icon",{staticClass:"vue-feather mr-4 shrink-0 dark:text-rose-500 text-rose-700",attrs:{size:"18"}}),t._v(" "),e("p",{staticClass:"text-sm dark:text-rose-500 text-rose-700"},[t._v("\n We detect your cron jobs probably doesn't work correctly, please check it, you need it for running\n app correctly. If you set your cron job, please get back one minute later.\n ")])],1),t._v(" "),e("div",{staticClass:"mb-2 md:mb-6 md:flex md:space-x-6"},[e("div",{staticClass:"card mb-4 w-full shadow-card md:mb-0"},[e("FormLabel",{attrs:{icon:"users"}},[t._v("\n "+t._s(t.$t("total_users"))+"\n ")]),t._v(" "),e("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.data.users.total)+"\n ")]),t._v(" "),e("router-link",{staticClass:"mt-6 flex items-center",attrs:{to:{name:"Users"}}},[e("span",{staticClass:"mr-2 whitespace-nowrap text-xs font-bold"},[t._v("\n "+t._s(t.$t("show_all_users"))+"\n ")]),t._v(" "),e("chevron-right-icon",{staticClass:"text-theme vue-feather",attrs:{size:"16"}})],1)],1),t._v(" "),e("div",{staticClass:"card mb-4 w-full shadow-card md:mb-0"},[e("FormLabel",{attrs:{icon:"hard-drive"}},[t._v("\n "+t._s(t.$t("total_storage"))+"\n ")]),t._v(" "),e("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.data.disk.used)+"\n ")]),t._v(" "),e("router-link",{staticClass:"mt-6 flex items-center",attrs:{to:{name:"Users"}}},[e("span",{staticClass:"mr-2 whitespace-nowrap text-xs font-bold"},[t._v("\n "+t._s(t.$t("show_all_users"))+"\n ")]),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:"card mb-4 w-full shadow-card md:mb-0"},[e("FormLabel",{attrs:{icon:"dollar"}},[t._v("\n "+t._s(t.$t("earnings"))+"\n ")]),t._v(" "),e("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.data.app.earnings)+"\n ")]),t._v(" "),e("router-link",{staticClass:"mt-6 flex items-center",attrs:{to:{name:"Invoices"}}},[e("span",{staticClass:"mr-2 whitespace-nowrap text-xs font-bold"},[t._v("\n "+t._s(t.$t("show_all_transactions"))+"\n ")]),t._v(" "),e("chevron-right-icon",{staticClass:"text-theme vue-feather",attrs:{size:"16"}})],1)],1):t._e()]),t._v(" "),e("div",{staticClass:"card mb-4 shadow-card md:mb-6"},[e("FormLabel",{attrs:{icon:"hard-drive"}},[t._v("\n "+t._s(t.$t("upload"))+"\n ")]),t._v(" "),e("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.data.disk.upload.total)+"\n ")]),t._v(" "),e("b",{staticClass:"mb-3 mb-2 block text-sm dark:text-gray-500 text-gray-400"},[t._v("\n "+t._s(t.$t("in_last_x_days"))+"\n ")]),t._v(" "),e("BarChart",{attrs:{data:t.data.disk.upload.records}})],1),t._v(" "),e("div",{staticClass:"card mb-4 shadow-card md:mb-6"},[e("FormLabel",{attrs:{icon:"hard-drive"}},[t._v("\n "+t._s(t.$t("download"))+"\n ")]),t._v(" "),e("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.data.disk.download.total)+"\n ")]),t._v(" "),e("b",{staticClass:"mb-3 mb-5 block text-sm dark:text-gray-500 text-gray-400"},[t._v("\n "+t._s(t.$t("in_last_x_days"))+"\n ")]),t._v(" "),e("BarChart",{attrs:{data:t.data.disk.download.records}})],1),t._v(" "),e("div",{staticClass:"card mb-4 shadow-card md:mb-6"},[e("FormLabel",{attrs:{icon:"users"}},[t._v("\n "+t._s(t.$t("latest_registrations"))+"\n ")]),t._v(" "),e("WidgetLatestRegistrations")],1),t._v(" "),["fixed","metered"].includes(this.config.subscriptionType)?e("div",{staticClass:"card mb-4 shadow-card md:mb-6"},[e("FormLabel",{attrs:{icon:"dollar"}},[t._v("\n "+t._s(t.$t("latest_transactions"))+"\n ")]),t._v(" "),e("WidgetLatestTransactions")],1):t._e()]):t._e(),t._v(" "),t.isLoading?e("div",{attrs:{id:"loader"}},[e("Spinner")],1):t._e()])}),[],!1,null,null,null).exports}}]);