mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
1 line
16 KiB
JavaScript
Vendored
1 line
16 KiB
JavaScript
Vendored
(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{"+Pqb":function(e,t,a){"use strict";var i={name:"ProgressBar",props:["progress"]},o=(a("7Vv5"),a("KHd+")),s=Object(o.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"progress-bar"},[t("span",{staticClass:"bg-theme",style:{width:this.progress+"%"}})])}),[],!1,null,"3c785a84",null);t.a=s.exports},"/M7z":function(e,t,a){"use strict";a("ZbQM")},"0bTW":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-tab-group[data-v-6f4d18e4]{margin-bottom:65px}",""])},"1wHr":function(e,t,a){"use strict";a("aKcM")},"2Sb1":function(e,t,a){"use strict";var i={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:a("CjXH").h}},o=(a("1wHr"),a("KHd+")),s=Object(o.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-header"},[e.canBack?a("div",{staticClass:"go-back",on:{click:function(t){return e.$router.back()}}},[a("chevron-left-icon",{attrs:{size:"17"}})],1):e._e(),e._v(" "),a("div",{staticClass:"content"},[a("h1",{staticClass:"title"},[e._v(e._s(e.title))])])])}),[],!1,null,"8bbfeb00",null);t.a=s.exports},"2ojD":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".text-label[data-v-acb23b3a]{font-size:.75em;color:#afafaf;font-weight:700;display:block;margin-bottom:20px}.dark-mode .text-label[data-v-acb23b3a]{color:#00bc7e}",""])},"2vU4":function(e,t,a){"use strict";a("rKvk")},"4X4q":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,"",""])},"55Le":function(e,t,a){"use strict";a("Yg8N")},"7Vv5":function(e,t,a){"use strict";a("9Xxg")},"9Xxg":function(e,t,a){var i=a("n9ek");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},"D4g/":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-header[data-v-8bbfeb00]{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-8bbfeb00]{font-size:1.125em;font-weight:700;color:#1b2539}.page-header .go-back[data-v-8bbfeb00]{margin-right:10px;cursor:pointer}.page-header .go-back svg[data-v-8bbfeb00]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:960px){.page-header .title[data-v-8bbfeb00]{font-size:1.125em}}@media only screen and (max-width:690px){.page-header[data-v-8bbfeb00]{display:none}}.dark-mode .page-header[data-v-8bbfeb00]{background:#151515}.dark-mode .page-header .title[data-v-8bbfeb00]{color:#bec6cf}.dark-mode .page-header .icon path[data-v-8bbfeb00]{fill:#00bc7e}",""])},D62o:function(e,t,a){"use strict";var i=a("xCqy"),o=a("CjXH"),s={name:"MobileHeader",props:["title"],components:{ChevronLeftIcon:o.h,MenuIcon:o.P},methods:{showMobileNavigation:function(){i.a.$emit("mobile-menu:show","user-navigation")},goBack:function(){this.$router.back()}}},r=(a("ayom"),a("KHd+")),n=Object(r.a)(s,(function(){var e=this.$createElement,t=this._self._c||e;return t("header",{staticClass:"mobile-header"},[t("div",{staticClass:"go-back",on:{click:this.goBack}},[t("chevron-left-icon",{staticClass:"icon",attrs:{size:"17"}})],1),this._v(" "),t("div",{staticClass:"location-name"},[this._v(this._s(this.title))]),this._v(" "),t("div",{staticClass:"mobile-menu",on:{click:this.showMobileNavigation}},[t("menu-icon",{staticClass:"icon",attrs:{size:"17"}})],1)])}),[],!1,null,"39c25ac0",null);t.a=n.exports},J58L:function(e,t,a){var i=a("0bTW");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},LcTr:function(e,t,a){var i=a("2ojD");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},PXUO:function(e,t,a){"use strict";a("J58L")},Pb6s:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".mobile-header[data-v-39c25ac0]{padding:10px 0;text-align:center;background:#fff;position:sticky;display:none;z-index:6;top:0}.mobile-header>div[data-v-39c25ac0]{flex-grow:1;align-self:center;white-space:nowrap}.mobile-header .go-back[data-v-39c25ac0]{text-align:left}.mobile-header .location-name[data-v-39c25ac0]{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-39c25ac0]{text-align:right}.mobile-header .icon[data-v-39c25ac0]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:690px){.mobile-header[data-v-39c25ac0]{display:flex;margin-bottom:15px}}.dark-mode .mobile-header[data-v-39c25ac0]{background:#151515}.dark-mode .mobile-header .location-name[data-v-39c25ac0]{color:#bec6cf}",""])},RW8C:function(e,t,a){"use strict";a.r(t);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"),m=a.n(g),p={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 e=this;m.a.get("/api/user/storage").then((function(t){e.storage=t.data.data,e.isLoading=!1}))}},v=(a("2vU4"),a("KHd+")),u=Object(v.a)(p,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.storage?a("PageTab",[a("PageTabGroup",[a("FormLabel",[e._v(e._s(e.$t("storage.sec_capacity")))]),e._v(" "),a("StorageItemDetail",{attrs:{type:"disk",title:e.$t("storage.total_used",{used:e.storage.attributes.used}),percentage:e.storage.attributes.percentage,used:e.$t("storage.total_capacity",{capacity:e.storage.attributes.capacity})}})],1),e._v(" "),a("PageTabGroup",[a("FormLabel",[e._v(e._s(e.$t("storage.sec_details")))]),e._v(" "),a("StorageItemDetail",{attrs:{type:"images",title:e.$t("storage.images"),percentage:e.storage.meta.images.percentage,used:e.storage.meta.images.used}}),e._v(" "),a("StorageItemDetail",{attrs:{type:"videos",title:e.$t("storage.videos"),percentage:e.storage.meta.videos.percentage,used:e.storage.meta.videos.used}}),e._v(" "),a("StorageItemDetail",{attrs:{type:"audios",title:e.$t("storage.audios"),percentage:e.storage.meta.audios.percentage,used:e.storage.meta.audios.used}}),e._v(" "),a("StorageItemDetail",{attrs:{type:"documents",title:e.$t("storage.documents"),percentage:e.storage.meta.documents.percentage,used:e.storage.meta.documents.used}}),e._v(" "),a("StorageItemDetail",{attrs:{type:"others",title:e.$t("storage.others"),percentage:e.storage.meta.others.percentage,used:e.storage.meta.others.used}})],1)],1):e._e()}),[],!1,null,"3cda4526",null);t.default=u.exports},THmQ:function(e,t,a){"use strict";var i={name:"SectionTitle"},o=(a("pL59"),a("KHd+")),s=Object(o.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("b",{staticClass:"text-label"},[this._t("default")],2)}),[],!1,null,"acb23b3a",null);t.a=s.exports},Tmk1:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".form-label[data-v-78e6a51e]{display:flex;align-items:center;margin-bottom:30px}.form-label .icon[data-v-78e6a51e]{margin-right:10px}.form-label .icon circle[data-v-78e6a51e],.form-label .icon line[data-v-78e6a51e],.form-label .icon path[data-v-78e6a51e],.form-label .icon rect[data-v-78e6a51e]{color:inherit}.form-label .label[data-v-78e6a51e]{font-size:1.125em;font-weight:700}.dark-mode .form-label .label[data-v-78e6a51e]{color:#bec6cf}",""])},VPUT:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".detail-storage-item[data-v-39e09627]{margin-bottom:35px}.detail-storage-item.disk .icon circle[data-v-39e09627],.detail-storage-item.disk .icon line[data-v-39e09627],.detail-storage-item.disk .icon path[data-v-39e09627],.detail-storage-item.disk .icon polygon[data-v-39e09627],.detail-storage-item.disk .icon polyline[data-v-39e09627],.detail-storage-item.disk .icon rect[data-v-39e09627]{stroke:#1b2539}.detail-storage-item.disk .storage-progress[data-v-39e09627] span{background:#1b2539}.detail-storage-item.images .icon circle[data-v-39e09627],.detail-storage-item.images .icon line[data-v-39e09627],.detail-storage-item.images .icon path[data-v-39e09627],.detail-storage-item.images .icon polygon[data-v-39e09627],.detail-storage-item.images .icon polyline[data-v-39e09627],.detail-storage-item.images .icon rect[data-v-39e09627]{stroke:#9d66fe}.detail-storage-item.images .storage-progress[data-v-39e09627] span{background:#9d66fe}.detail-storage-item.videos .icon circle[data-v-39e09627],.detail-storage-item.videos .icon line[data-v-39e09627],.detail-storage-item.videos .icon path[data-v-39e09627],.detail-storage-item.videos .icon polygon[data-v-39e09627],.detail-storage-item.videos .icon polyline[data-v-39e09627],.detail-storage-item.videos .icon rect[data-v-39e09627]{stroke:#ffbd2d}.detail-storage-item.videos .storage-progress[data-v-39e09627] span{background:#ffbd2d}.detail-storage-item.audios .icon circle[data-v-39e09627],.detail-storage-item.audios .icon line[data-v-39e09627],.detail-storage-item.audios .icon path[data-v-39e09627],.detail-storage-item.audios .icon polygon[data-v-39e09627],.detail-storage-item.audios .icon polyline[data-v-39e09627],.detail-storage-item.audios .icon rect[data-v-39e09627]{stroke:#fe66a1}.detail-storage-item.audios .storage-progress[data-v-39e09627] span{background:#fe66a1}.detail-storage-item.documents .icon circle[data-v-39e09627],.detail-storage-item.documents .icon line[data-v-39e09627],.detail-storage-item.documents .icon path[data-v-39e09627],.detail-storage-item.documents .icon polygon[data-v-39e09627],.detail-storage-item.documents .icon polyline[data-v-39e09627],.detail-storage-item.documents .icon rect[data-v-39e09627]{stroke:#fe6057}.detail-storage-item.documents .storage-progress[data-v-39e09627] span{background:#fe6057}.detail-storage-item.others .icon circle[data-v-39e09627],.detail-storage-item.others .icon line[data-v-39e09627],.detail-storage-item.others .icon path[data-v-39e09627],.detail-storage-item.others .icon polygon[data-v-39e09627],.detail-storage-item.others .icon polyline[data-v-39e09627],.detail-storage-item.others .icon rect[data-v-39e09627]{stroke:#1b2539}.detail-storage-item.others .storage-progress[data-v-39e09627] span{background:#1b2539}.header-storage-item[data-v-39e09627]{display:flex;align-items:flex-start;margin-bottom:10px}.header-storage-item .icon[data-v-39e09627]{width:35px}.header-storage-item .type[data-v-39e09627]{font-size:.9375em;color:#1b2539}.header-storage-item .total-size[data-v-39e09627]{font-size:.625em;display:block;color:rgba(27,37,57,.7)}.dark-mode .header-storage-item .type[data-v-39e09627]{color:#bec6cf}.dark-mode .header-storage-item .total-size[data-v-39e09627]{color:#7d858c}.dark-mode .detail-storage-item.disk .icon circle[data-v-39e09627],.dark-mode .detail-storage-item.disk .icon line[data-v-39e09627],.dark-mode .detail-storage-item.disk .icon path[data-v-39e09627],.dark-mode .detail-storage-item.disk .icon polygon[data-v-39e09627],.dark-mode .detail-storage-item.disk .icon polyline[data-v-39e09627],.dark-mode .detail-storage-item.disk .icon rect[data-v-39e09627],.dark-mode .detail-storage-item.others .icon circle[data-v-39e09627],.dark-mode .detail-storage-item.others .icon line[data-v-39e09627],.dark-mode .detail-storage-item.others .icon path[data-v-39e09627],.dark-mode .detail-storage-item.others .icon polygon[data-v-39e09627],.dark-mode .detail-storage-item.others .icon polyline[data-v-39e09627],.dark-mode .detail-storage-item.others .icon rect[data-v-39e09627]{stroke:#41454e}.dark-mode .detail-storage-item.disk .storage-progress[data-v-39e09627] span,.dark-mode .detail-storage-item.others .storage-progress[data-v-39e09627] span{background:#41454e}",""])},Yg8N:function(e,t,a){var i=a("Tmk1");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},ZbQM:function(e,t,a){var i=a("VPUT");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},aKcM:function(e,t,a){var i=a("D4g/");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},ayom:function(e,t,a){"use strict";a("uXZy")},c1BD:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,"#single-page[data-v-3cda4526]{overflow:hidden;width:100%;height:100%;position:relative}#single-page .content-page[data-v-3cda4526]{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-3cda4526]{padding-left:15px;padding-right:15px}}",""])},cJdj:function(e,t,a){"use strict";a("kRqW")},eZ9V:function(e,t,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("55Le"),a("KHd+")),r=Object(s.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"form-label"},[e.icon?e._e():a("edit-2-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}),e._v(" "),"settings"===e.icon?a("settings-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?a("smartphone-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?a("key-icon",{staticClass:"icon text-theme dark-text-theme",attrs:{size:"22"}}):e._e(),e._v(" "),a("b",{staticClass:"label"},[e._t("default")],2)],1)}),[],!1,null,"78e6a51e",null);t.a=r.exports},gahf:function(e,t,a){"use strict";var i={name:"PageTabGroup"},o=(a("PXUO"),a("KHd+")),s=Object(o.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"6f4d18e4",null);t.a=s.exports},kRqW:function(e,t,a){var i=a("4X4q");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},n9ek:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".progress-bar[data-v-3c785a84]{width:100%;height:5px;background:#f4f5f6;margin-top:6px;border-radius:10px}.progress-bar span[data-v-3c785a84]{display:block;height:100%;border-radius:10px;max-width:100%}.dark-mode .progress-bar[data-v-3c785a84]{background:#1e2024}@media only screen and (min-width:680px){.dark-mode .progress-bar[data-v-3c785a84]{background:#1e2024}}",""])},pL59:function(e,t,a){"use strict";a("LcTr")},qefO:function(e,t,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 e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-tab"},[t("div",{directives:[{name:"show",rawName:"v-show",value:this.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[t("Spinner")],1),this._v(" "),this._t("default")],2)}),[],!1,null,"3dead278",null);t.a=s.exports},rKvk:function(e,t,a){var i=a("c1BD");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},uXZy:function(e,t,a){var i=a("Pb6s");"string"==typeof i&&(i=[[e.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(e.exports=i.locals)},xnZf:function(e,t,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.qb,ImageIcon:o.H,FileIcon:o.y}},r=(a("/M7z"),a("KHd+")),n=Object(r.a)(s,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("article",{staticClass:"detail-storage-item",class:e.type},[a("div",{staticClass:"header-storage-item"},[a("div",{staticClass:"icon"},["images"==e.type?a("image-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"videos"==e.type?a("video-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"audios"==e.type?a("music-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"documents"==e.type?a("file-text-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"others"==e.type?a("file-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"disk"==e.type?a("hard-drive-icon",{attrs:{size:"23"}}):e._e()],1),e._v(" "),a("div",{staticClass:"title"},[a("b",{staticClass:"type"},[e._v(e._s(e.title))]),e._v(" "),a("span",{staticClass:"total-size"},[e._v(e._s(e.used))])])]),e._v(" "),a("ProgressBar",{staticClass:"storage-progress",attrs:{progress:e.percentage}})],1)}),[],!1,null,"39e09627",null);t.a=n.exports}}]); |