Files
vuefilemanager/public/chunks/settings-storage.js
Čarodej 9d52da4e3a - paystack test
- FEB
2021-11-08 09:27:50 +01:00

1 line
16 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{"+Pqb":function(t,e,a){"use strict";var i={name:"ProgressBar",props:["progress"]},o=(a("NQIx"),a("KHd+")),s=Object(o.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress-bar"},[e("span",{staticClass:"bg-theme",style:{width:this.progress+"%"}})])}),[],!1,null,"39123ae4",null);e.a=s.exports},"0bTW":function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".page-tab-group[data-v-6f4d18e4]{margin-bottom:65px}",""])},"2Sb1":function(t,e,a){"use strict";var i={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:a("CjXH").h}},o=(a("xdXa"),a("KHd+")),s=Object(o.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page-header"},[t.canBack?a("div",{staticClass:"go-back",on:{click:function(e){return t.$router.back()}}},[a("chevron-left-icon",{attrs:{size:"17"}})],1):t._e(),t._v(" "),a("div",{staticClass:"content"},[a("h1",{staticClass:"title"},[t._v(t._s(t.title))])])])}),[],!1,null,"52888952",null);e.a=s.exports},"36qJ":function(t,e,a){var i=a("TnoB");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},"4X4q":function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,"",""])},D62o:function(t,e,a){"use strict";a("xCqy");var i=a("CjXH"),o={name:"MobileHeader",props:["title"],components:{ChevronLeftIcon:i.h,MenuIcon:i.P},methods:{goBack:function(){this.$router.back()}}},s=(a("lpU+"),a("KHd+")),r=Object(s.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{staticClass:"mobile-header"},[a("div",{staticClass:"go-back",on:{click:t.goBack}},[a("chevron-left-icon",{staticClass:"icon",attrs:{size:"17"}})],1),t._v(" "),a("div",{staticClass:"location-name"},[t._v(t._s(t.title))]),t._v(" "),a("div",{staticClass:"mobile-menu",on:{click:function(e){return t.$showMobileMenu("user-navigation")}}},[a("menu-icon",{staticClass:"icon",attrs:{size:"17"}})],1)])}),[],!1,null,"0da6bf54",null);e.a=r.exports},EeBR:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".page-header[data-v-52888952]{display:flex;align-items:center;background:#fff;z-index:9;width:100%;position:sticky;top:0;padding-top:20px;padding-bottom:20px}.page-header .title[data-v-52888952]{font-size:1.125em;font-weight:700;color:#1b2539}.page-header .go-back[data-v-52888952]{margin-right:10px;cursor:pointer}.page-header .go-back svg[data-v-52888952]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:960px){.page-header .title[data-v-52888952]{font-size:1.125em}}@media only screen and (max-width:690px){.page-header[data-v-52888952]{display:none}}.dark .page-header[data-v-52888952]{background:#151515}.dark .page-header .title[data-v-52888952]{color:#bec6cf}.dark .page-header .icon path[data-v-52888952]{fill:#00bc7e}",""])},HdjJ:function(t,e,a){"use strict";a("Z/nM")},IZWy:function(t,e,a){var i=a("aQc7");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},J58L:function(t,e,a){var i=a("0bTW");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},KJww:function(t,e,a){var i=a("c6IS");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},KutZ:function(t,e,a){var i=a("EeBR");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},NEz6:function(t,e,a){"use strict";a("KJww")},NQIx:function(t,e,a){"use strict";a("IZWy")},Otk1:function(t,e,a){"use strict";a("36qJ")},PXUO:function(t,e,a){"use strict";a("J58L")},Qak4:function(t,e,a){var i=a("qESJ");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},RW8C:function(t,e,a){"use strict";a.r(e);var i=a("eZ9V"),o=a("gahf"),s=a("qefO"),r=a("xnZf"),n=a("D62o"),d=a("THmQ"),c=a("2Sb1"),l=a("zTYo"),g=a("vDqi"),p=a.n(g),m={name:"Storage",components:{PageTabGroup:o.a,FormLabel:i.a,PageTab:s.a,StorageItemDetail:r.a,SectionTitle:d.a,MobileHeader:n.a,PageHeader:c.a,Spinner:l.a},data:function(){return{isLoading:!0,storage:void 0}},created:function(){var t=this;p.a.get("/api/user/storage").then((function(e){t.storage=e.data.data,t.isLoading=!1}))}},f=(a("HdjJ"),a("KHd+")),v=Object(f.a)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.storage?a("PageTab",[a("PageTabGroup",[a("FormLabel",[t._v(t._s(t.$t("storage.sec_capacity")))]),t._v(" "),a("StorageItemDetail",{attrs:{type:"disk",title:t.$t("storage.total_used",{used:t.storage.attributes.used}),percentage:t.storage.attributes.percentage,used:t.$t("storage.total_capacity",{capacity:t.storage.attributes.capacity})}})],1),t._v(" "),a("PageTabGroup",[a("FormLabel",[t._v(t._s(t.$t("storage.sec_details")))]),t._v(" "),a("StorageItemDetail",{attrs:{type:"images",title:t.$t("storage.images"),percentage:t.storage.meta.images.percentage,used:t.storage.meta.images.used}}),t._v(" "),a("StorageItemDetail",{attrs:{type:"videos",title:t.$t("storage.videos"),percentage:t.storage.meta.videos.percentage,used:t.storage.meta.videos.used}}),t._v(" "),a("StorageItemDetail",{attrs:{type:"audios",title:t.$t("storage.audios"),percentage:t.storage.meta.audios.percentage,used:t.storage.meta.audios.used}}),t._v(" "),a("StorageItemDetail",{attrs:{type:"documents",title:t.$t("storage.documents"),percentage:t.storage.meta.documents.percentage,used:t.storage.meta.documents.used}}),t._v(" "),a("StorageItemDetail",{attrs:{type:"others",title:t.$t("storage.others"),percentage:t.storage.meta.others.percentage,used:t.storage.meta.others.used}})],1)],1):t._e()}),[],!1,null,"18ead1fc",null);e.default=v.exports},S7o3:function(t,e,a){"use strict";a("hwI8")},THmQ:function(t,e,a){"use strict";var i={name:"SectionTitle"},o=(a("NEz6"),a("KHd+")),s=Object(o.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("b",{staticClass:"text-label"},[this._t("default")],2)}),[],!1,null,"9cac37aa",null);e.a=s.exports},TnoB:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".form-label[data-v-b034447c]{display:flex;align-items:center;margin-bottom:30px}.form-label .icon[data-v-b034447c]{margin-right:10px}.form-label .icon circle[data-v-b034447c],.form-label .icon line[data-v-b034447c],.form-label .icon path[data-v-b034447c],.form-label .icon rect[data-v-b034447c]{color:inherit}.form-label .label[data-v-b034447c]{font-size:1.125em;font-weight:700}.dark .form-label .label[data-v-b034447c]{color:#bec6cf}",""])},"Z/nM":function(t,e,a){var i=a("eySY");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},aQc7:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".progress-bar[data-v-39123ae4]{width:100%;height:5px;background:#f4f5f6;margin-top:6px;border-radius:10px}.progress-bar span[data-v-39123ae4]{display:block;height:100%;border-radius:10px;max-width:100%}.dark .progress-bar[data-v-39123ae4]{background:#1e2024}@media only screen and (min-width:680px){.dark .progress-bar[data-v-39123ae4]{background:#1e2024}}",""])},c6IS:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".text-label[data-v-9cac37aa]{font-size:.75em;color:#afafaf;font-weight:700;display:block;margin-bottom:20px}.dark .text-label[data-v-9cac37aa]{color:#00bc7e}",""])},cJdj:function(t,e,a){"use strict";a("kRqW")},eZ9V:function(t,e,a){"use strict";var i=a("CjXH"),o={name:"FormLabel",props:["icon"],components:{KeyIcon:i.J,Edit2Icon:i.u,SettingsIcon:i.cb,SmartphoneIcon:i.eb}},s=(a("Otk1"),a("KHd+")),r=Object(s.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-label"},[t.icon?t._e():a("edit-2-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}),t._v(" "),"settings"===t.icon?a("settings-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?a("smartphone-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?a("key-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}):t._e(),t._v(" "),a("b",{staticClass:"label"},[t._t("default")],2)],1)}),[],!1,null,"b034447c",null);e.a=r.exports},eySY:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,"#single-page[data-v-18ead1fc]{overflow:hidden;width:100%;height:100%;position:relative}#single-page .content-page[data-v-18ead1fc]{overflow-y:auto;height:100%;padding-bottom:100px;max-width:700px;width:100%;margin:0 auto}@media only screen and (max-width:960px){#single-page .content-page[data-v-18ead1fc]{padding-left:15px;padding-right:15px}}",""])},gahf:function(t,e,a){"use strict";var i={name:"PageTabGroup"},o=(a("PXUO"),a("KHd+")),s=Object(o.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"6f4d18e4",null);e.a=s.exports},hwI8:function(t,e,a){var i=a("n1yv");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},kRqW:function(t,e,a){var i=a("4X4q");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},"lpU+":function(t,e,a){"use strict";a("Qak4")},n1yv:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".detail-storage-item[data-v-038f9062]{margin-bottom:35px}.detail-storage-item.disk .icon circle[data-v-038f9062],.detail-storage-item.disk .icon line[data-v-038f9062],.detail-storage-item.disk .icon path[data-v-038f9062],.detail-storage-item.disk .icon polygon[data-v-038f9062],.detail-storage-item.disk .icon polyline[data-v-038f9062],.detail-storage-item.disk .icon rect[data-v-038f9062]{stroke:#1b2539}.detail-storage-item.disk .storage-progress[data-v-038f9062] span{background:#1b2539}.detail-storage-item.images .icon circle[data-v-038f9062],.detail-storage-item.images .icon line[data-v-038f9062],.detail-storage-item.images .icon path[data-v-038f9062],.detail-storage-item.images .icon polygon[data-v-038f9062],.detail-storage-item.images .icon polyline[data-v-038f9062],.detail-storage-item.images .icon rect[data-v-038f9062]{stroke:#9d66fe}.detail-storage-item.images .storage-progress[data-v-038f9062] span{background:#9d66fe}.detail-storage-item.videos .icon circle[data-v-038f9062],.detail-storage-item.videos .icon line[data-v-038f9062],.detail-storage-item.videos .icon path[data-v-038f9062],.detail-storage-item.videos .icon polygon[data-v-038f9062],.detail-storage-item.videos .icon polyline[data-v-038f9062],.detail-storage-item.videos .icon rect[data-v-038f9062]{stroke:#ffbd2d}.detail-storage-item.videos .storage-progress[data-v-038f9062] span{background:#ffbd2d}.detail-storage-item.audios .icon circle[data-v-038f9062],.detail-storage-item.audios .icon line[data-v-038f9062],.detail-storage-item.audios .icon path[data-v-038f9062],.detail-storage-item.audios .icon polygon[data-v-038f9062],.detail-storage-item.audios .icon polyline[data-v-038f9062],.detail-storage-item.audios .icon rect[data-v-038f9062]{stroke:#fe66a1}.detail-storage-item.audios .storage-progress[data-v-038f9062] span{background:#fe66a1}.detail-storage-item.documents .icon circle[data-v-038f9062],.detail-storage-item.documents .icon line[data-v-038f9062],.detail-storage-item.documents .icon path[data-v-038f9062],.detail-storage-item.documents .icon polygon[data-v-038f9062],.detail-storage-item.documents .icon polyline[data-v-038f9062],.detail-storage-item.documents .icon rect[data-v-038f9062]{stroke:#fe6057}.detail-storage-item.documents .storage-progress[data-v-038f9062] span{background:#fe6057}.detail-storage-item.others .icon circle[data-v-038f9062],.detail-storage-item.others .icon line[data-v-038f9062],.detail-storage-item.others .icon path[data-v-038f9062],.detail-storage-item.others .icon polygon[data-v-038f9062],.detail-storage-item.others .icon polyline[data-v-038f9062],.detail-storage-item.others .icon rect[data-v-038f9062]{stroke:#1b2539}.detail-storage-item.others .storage-progress[data-v-038f9062] span{background:#1b2539}.header-storage-item[data-v-038f9062]{display:flex;align-items:flex-start;margin-bottom:10px}.header-storage-item .icon[data-v-038f9062]{width:35px}.header-storage-item .type[data-v-038f9062]{font-size:.9375em;color:#1b2539}.header-storage-item .total-size[data-v-038f9062]{font-size:.625em;display:block;color:rgba(27,37,57,.7)}.dark .header-storage-item .type[data-v-038f9062]{color:#bec6cf}.dark .header-storage-item .total-size[data-v-038f9062]{color:#7d858c}.dark .detail-storage-item.disk .icon circle[data-v-038f9062],.dark .detail-storage-item.disk .icon line[data-v-038f9062],.dark .detail-storage-item.disk .icon path[data-v-038f9062],.dark .detail-storage-item.disk .icon polygon[data-v-038f9062],.dark .detail-storage-item.disk .icon polyline[data-v-038f9062],.dark .detail-storage-item.disk .icon rect[data-v-038f9062],.dark .detail-storage-item.others .icon circle[data-v-038f9062],.dark .detail-storage-item.others .icon line[data-v-038f9062],.dark .detail-storage-item.others .icon path[data-v-038f9062],.dark .detail-storage-item.others .icon polygon[data-v-038f9062],.dark .detail-storage-item.others .icon polyline[data-v-038f9062],.dark .detail-storage-item.others .icon rect[data-v-038f9062]{stroke:#41454e}.dark .detail-storage-item.disk .storage-progress[data-v-038f9062] span,.dark .detail-storage-item.others .storage-progress[data-v-038f9062] span{background:#41454e}",""])},qESJ:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".mobile-header[data-v-0da6bf54]{padding:10px 0;text-align:center;background:#fff;position:sticky;display:none;z-index:6;top:0}.mobile-header>div[data-v-0da6bf54]{flex-grow:1;align-self:center;white-space:nowrap}.mobile-header .go-back[data-v-0da6bf54]{text-align:left}.mobile-header .location-name[data-v-0da6bf54]{line-height:1;text-align:center;width:100%;vertical-align:middle;font-size:.9375em;color:#1b2539;font-weight:700;max-width:220px;overflow:hidden;text-overflow:ellipsis;display:inline-block}.mobile-header .mobile-menu[data-v-0da6bf54]{text-align:right}.mobile-header .icon[data-v-0da6bf54]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:690px){.mobile-header[data-v-0da6bf54]{display:flex;margin-bottom:15px}}.dark .mobile-header[data-v-0da6bf54]{background:#151515}.dark .mobile-header .location-name[data-v-0da6bf54]{color:#bec6cf}",""])},qefO:function(t,e,a){"use strict";var i={name:"PageTab",props:["isLoading"],components:{Spinner:a("zTYo").a}},o=(a("cJdj"),a("KHd+")),s=Object(o.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"page-tab"},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[e("Spinner")],1),this._v(" "),this._t("default")],2)}),[],!1,null,"3dead278",null);e.a=s.exports},xdXa:function(t,e,a){"use strict";a("KutZ")},xnZf:function(t,e,a){"use strict";var i=a("+Pqb"),o=a("CjXH"),s={name:"StorageItemDetail",props:["percentage","title","type","used"],components:{HardDriveIcon:o.F,FileTextIcon:o.z,ProgressBar:i.a,MusicIcon:o.U,VideoIcon:o.rb,ImageIcon:o.H,FileIcon:o.y}},r=(a("S7o3"),a("KHd+")),n=Object(r.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("article",{staticClass:"detail-storage-item",class:t.type},[a("div",{staticClass:"header-storage-item"},[a("div",{staticClass:"icon"},["images"==t.type?a("image-icon",{attrs:{size:"23"}}):t._e(),t._v(" "),"videos"==t.type?a("video-icon",{attrs:{size:"23"}}):t._e(),t._v(" "),"audios"==t.type?a("music-icon",{attrs:{size:"23"}}):t._e(),t._v(" "),"documents"==t.type?a("file-text-icon",{attrs:{size:"23"}}):t._e(),t._v(" "),"others"==t.type?a("file-icon",{attrs:{size:"23"}}):t._e(),t._v(" "),"disk"==t.type?a("hard-drive-icon",{attrs:{size:"23"}}):t._e()],1),t._v(" "),a("div",{staticClass:"title"},[a("b",{staticClass:"type"},[t._v(t._s(t.title))]),t._v(" "),a("span",{staticClass:"total-size"},[t._v(t._s(t.used))])])]),t._v(" "),a("ProgressBar",{staticClass:"storage-progress",attrs:{progress:t.percentage}})],1)}),[],!1,null,"038f9062",null);e.a=n.exports}}]);