mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
1 line
15 KiB
JavaScript
Vendored
1 line
15 KiB
JavaScript
Vendored
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{"+Pqb":function(e,a,t){"use strict";var n={name:"ProgressBar",props:["progress"]},i=(t("woIv"),t("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement,a=this._self._c||e;return a("div",{staticClass:"progress-bar"},[a("span",{style:{width:this.progress+"%"}})])}),[],!1,null,"f372b280",null);a.a=o.exports},"+t0u":function(e,a,t){var n=t("QO4y");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)},"2Sb1":function(e,a,t){"use strict";var n={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:t("CjXH").g}},i=(t("qf9i"),t("KHd+")),o=Object(i.a)(n,(function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"page-header"},[e.canBack?t("div",{staticClass:"go-back",on:{click:function(a){return e.$router.back()}}},[t("chevron-left-icon",{attrs:{size:"17"}})],1):e._e(),e._v(" "),t("div",{staticClass:"content"},[t("h1",{staticClass:"title"},[e._v(e._s(e.title))])])])}),[],!1,null,"aafe7e24",null);a.a=o.exports},"3Idf":function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".page-header[data-v-aafe7e24] {\n display: flex;\n align-items: center;\n background: white;\n z-index: 9;\n width: 100%;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n padding-top: 20px;\n padding-bottom: 20px;\n}\n.page-header .title[data-v-aafe7e24] {\n font-size: 1.125em;\n font-weight: 700;\n color: #1B2539;\n}\n.page-header .go-back[data-v-aafe7e24] {\n margin-right: 10px;\n cursor: pointer;\n}\n.page-header .go-back svg[data-v-aafe7e24] {\n vertical-align: middle;\n margin-top: -4px;\n}\n@media only screen and (max-width: 960px) {\n.page-header .title[data-v-aafe7e24] {\n font-size: 1.125em;\n}\n}\n@media only screen and (max-width: 690px) {\n.page-header[data-v-aafe7e24] {\n display: none;\n}\n}\n@media (prefers-color-scheme: dark) {\n.page-header[data-v-aafe7e24] {\n background: #131414;\n}\n.page-header .title[data-v-aafe7e24] {\n color: #bec6cf;\n}\n.page-header .icon path[data-v-aafe7e24] {\n fill: #00BC7E;\n}\n}\n",""])},"5pbA":function(e,a,t){"use strict";var n=t("+t0u");t.n(n).a},"92Jy":function(e,a,t){"use strict";var n=t("qphJ");t.n(n).a},"9s9d":function(e,a,t){var n=t("pYjd");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)},"F12+":function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".progress-bar[data-v-f372b280] {\n width: 100%;\n height: 5px;\n background: #f4f5f6;\n margin-top: 6px;\n border-radius: 10px;\n}\n.progress-bar span[data-v-f372b280] {\n background: #00BC7E;\n display: block;\n height: 100%;\n border-radius: 10px;\n max-width: 100%;\n}\n@media (prefers-color-scheme: dark) {\n.progress-bar[data-v-f372b280] {\n background: #1e2024;\n}\n}\n@media only screen and (min-width: 680px) and (prefers-color-scheme: dark) {\n.progress-bar[data-v-f372b280] {\n background: #1e2024;\n}\n}\n",""])},GzHQ:function(e,a,t){"use strict";var n=t("9s9d");t.n(n).a},Idvm:function(e,a,t){var n=t("lig4");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)},KPNK:function(e,a,t){var n=t("3Idf");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)},LE5O:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".detail-storage-item[data-v-56af1b6e] {\n margin-bottom: 35px;\n}\n.detail-storage-item.disk .icon path[data-v-56af1b6e], .detail-storage-item.disk .icon line[data-v-56af1b6e], .detail-storage-item.disk .icon polyline[data-v-56af1b6e], .detail-storage-item.disk .icon rect[data-v-56af1b6e], .detail-storage-item.disk .icon circle[data-v-56af1b6e], .detail-storage-item.disk .icon polygon[data-v-56af1b6e] {\n stroke: #1B2539;\n}\n.detail-storage-item.disk .storage-progress[data-v-56af1b6e] span {\n background: #1B2539;\n}\n.detail-storage-item.images .icon path[data-v-56af1b6e], .detail-storage-item.images .icon line[data-v-56af1b6e], .detail-storage-item.images .icon polyline[data-v-56af1b6e], .detail-storage-item.images .icon rect[data-v-56af1b6e], .detail-storage-item.images .icon circle[data-v-56af1b6e], .detail-storage-item.images .icon polygon[data-v-56af1b6e] {\n stroke: #9D66FE;\n}\n.detail-storage-item.images .storage-progress[data-v-56af1b6e] span {\n background: #9D66FE;\n}\n.detail-storage-item.videos .icon path[data-v-56af1b6e], .detail-storage-item.videos .icon line[data-v-56af1b6e], .detail-storage-item.videos .icon polyline[data-v-56af1b6e], .detail-storage-item.videos .icon rect[data-v-56af1b6e], .detail-storage-item.videos .icon circle[data-v-56af1b6e], .detail-storage-item.videos .icon polygon[data-v-56af1b6e] {\n stroke: #FFBD2D;\n}\n.detail-storage-item.videos .storage-progress[data-v-56af1b6e] span {\n background: #FFBD2D;\n}\n.detail-storage-item.audios .icon path[data-v-56af1b6e], .detail-storage-item.audios .icon line[data-v-56af1b6e], .detail-storage-item.audios .icon polyline[data-v-56af1b6e], .detail-storage-item.audios .icon rect[data-v-56af1b6e], .detail-storage-item.audios .icon circle[data-v-56af1b6e], .detail-storage-item.audios .icon polygon[data-v-56af1b6e] {\n stroke: #FE66A1;\n}\n.detail-storage-item.audios .storage-progress[data-v-56af1b6e] span {\n background: #FE66A1;\n}\n.detail-storage-item.documents .icon path[data-v-56af1b6e], .detail-storage-item.documents .icon line[data-v-56af1b6e], .detail-storage-item.documents .icon polyline[data-v-56af1b6e], .detail-storage-item.documents .icon rect[data-v-56af1b6e], .detail-storage-item.documents .icon circle[data-v-56af1b6e], .detail-storage-item.documents .icon polygon[data-v-56af1b6e] {\n stroke: #FE6057;\n}\n.detail-storage-item.documents .storage-progress[data-v-56af1b6e] span {\n background: #FE6057;\n}\n.detail-storage-item.others .icon path[data-v-56af1b6e], .detail-storage-item.others .icon line[data-v-56af1b6e], .detail-storage-item.others .icon polyline[data-v-56af1b6e], .detail-storage-item.others .icon rect[data-v-56af1b6e], .detail-storage-item.others .icon circle[data-v-56af1b6e], .detail-storage-item.others .icon polygon[data-v-56af1b6e] {\n stroke: #1B2539;\n}\n.detail-storage-item.others .storage-progress[data-v-56af1b6e] span {\n background: #1B2539;\n}\n.header-storage-item[data-v-56af1b6e] {\n display: flex;\n align-items: flex-start;\n margin-bottom: 10px;\n}\n.header-storage-item .icon[data-v-56af1b6e] {\n width: 35px;\n}\n.header-storage-item .type[data-v-56af1b6e] {\n font-size: 0.9375em;\n color: #1B2539;\n}\n.header-storage-item .total-size[data-v-56af1b6e] {\n font-size: 0.625em;\n display: block;\n color: rgba(27, 37, 57, 0.7);\n}\n@media (prefers-color-scheme: dark) {\n.header-storage-item .type[data-v-56af1b6e] {\n color: #bec6cf;\n}\n.header-storage-item .total-size[data-v-56af1b6e] {\n color: #7d858c;\n}\n.detail-storage-item.others .icon path[data-v-56af1b6e], .detail-storage-item.others .icon line[data-v-56af1b6e], .detail-storage-item.others .icon polyline[data-v-56af1b6e], .detail-storage-item.others .icon rect[data-v-56af1b6e], .detail-storage-item.others .icon circle[data-v-56af1b6e], .detail-storage-item.others .icon polygon[data-v-56af1b6e], .detail-storage-item.disk .icon path[data-v-56af1b6e], .detail-storage-item.disk .icon line[data-v-56af1b6e], .detail-storage-item.disk .icon polyline[data-v-56af1b6e], .detail-storage-item.disk .icon rect[data-v-56af1b6e], .detail-storage-item.disk .icon circle[data-v-56af1b6e], .detail-storage-item.disk .icon polygon[data-v-56af1b6e] {\n stroke: #41454e;\n}\n.detail-storage-item.others .storage-progress[data-v-56af1b6e] span, .detail-storage-item.disk .storage-progress[data-v-56af1b6e] span {\n background: #41454e;\n}\n}\n",""])},QO4y:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,"",""])},RW8C:function(e,a,t){"use strict";t.r(a);var n=t("eZ9V"),i=t("gahf"),o=t("qefO"),s=t("xnZf"),r=t("D62o"),d=t("THmQ"),c=t("2Sb1"),l=t("zTYo"),g=t("vDqi"),p=t.n(g),m={name:"Profile",components:{PageTabGroup:i.a,FormLabel:n.a,PageTab:o.a,StorageItemDetail:s.a,SectionTitle:d.a,MobileHeader:r.a,PageHeader:c.a,Spinner:l.a},data:function(){return{isLoading:!0,storage:void 0}},created:function(){var e=this;p.a.get("/api/user/storage").then((function(a){e.storage=a.data.data,e.isLoading=!1}))}},v=(t("GzHQ"),t("KHd+")),f=Object(v.a)(m,(function(){var e=this,a=e.$createElement,t=e._self._c||a;return e.storage?t("PageTab",[t("PageTabGroup",[t("FormLabel",[e._v(e._s(e.$t("storage.sec_capacity")))]),e._v(" "),t("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(" "),t("PageTabGroup",[t("FormLabel",[e._v(e._s(e.$t("storage.sec_details")))]),e._v(" "),t("StorageItemDetail",{attrs:{type:"images",title:e.$t("storage.images"),percentage:e.storage.meta.images.percentage,used:e.storage.meta.images.used}}),e._v(" "),t("StorageItemDetail",{attrs:{type:"videos",title:e.$t("storage.videos"),percentage:e.storage.meta.videos.percentage,used:e.storage.meta.videos.used}}),e._v(" "),t("StorageItemDetail",{attrs:{type:"audios",title:e.$t("storage.audios"),percentage:e.storage.meta.audios.percentage,used:e.storage.meta.audios.used}}),e._v(" "),t("StorageItemDetail",{attrs:{type:"documents",title:e.$t("storage.documents"),percentage:e.storage.meta.documents.percentage,used:e.storage.meta.documents.used}}),e._v(" "),t("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,"20411c08",null);a.default=f.exports},THmQ:function(e,a,t){"use strict";var n={name:"SectionTitle"},i=(t("92Jy"),t("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement;return(this._self._c||e)("b",{staticClass:"text-label"},[this._t("default")],2)}),[],!1,null,"69d97df2",null);a.a=o.exports},VA79:function(e,a,t){var n=t("F12+");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)},Xk6H:function(e,a,t){"use strict";var n=t("Idvm");t.n(n).a},b0xl:function(e,a,t){"use strict";var n=t("oyp5");t.n(n).a},eZ9V:function(e,a,t){"use strict";var n={name:"FormLabel",components:{Edit2Icon:t("CjXH").q}},i=(t("Xk6H"),t("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement,a=this._self._c||e;return a("div",{staticClass:"form-label"},[a("edit-2-icon",{staticClass:"icon",attrs:{size:"22"}}),this._v(" "),a("b",{staticClass:"label"},[this._t("default")],2)],1)}),[],!1,null,"c1157a8e",null);a.a=o.exports},gahf:function(e,a,t){"use strict";var n={name:"PageTabGroup"},i=(t("yI2c"),t("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"1bb470e4",null);a.a=o.exports},lW02:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".text-label[data-v-69d97df2] {\n font-size: 0.75em;\n color: #AFAFAF;\n font-weight: 700;\n display: block;\n margin-bottom: 20px;\n}\n@media (prefers-color-scheme: dark) {\n.text-label[data-v-69d97df2] {\n color: #00BC7E;\n}\n}\n",""])},lig4:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".form-label[data-v-c1157a8e] {\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n}\n.form-label .icon[data-v-c1157a8e] {\n margin-right: 10px;\n}\n.form-label .icon path[data-v-c1157a8e] {\n stroke: #00BC7E;\n}\n.form-label .label[data-v-c1157a8e] {\n font-size: 1.125em;\n font-weight: 700;\n}\n@media (prefers-color-scheme: dark) {\n.form-label .label[data-v-c1157a8e] {\n color: #bec6cf;\n}\n}\n",""])},oDxr:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".page-tab-group[data-v-1bb470e4] {\n margin-bottom: 65px;\n}\n",""])},oyp5:function(e,a,t){var n=t("LE5O");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)},pYjd:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,"#single-page[data-v-20411c08] {\n overflow: hidden;\n width: 100%;\n height: 100%;\n position: relative;\n}\n#single-page .content-page[data-v-20411c08] {\n overflow-y: auto;\n height: 100%;\n padding-bottom: 100px;\n max-width: 700px;\n width: 100%;\n margin: 0 auto;\n}\n@media only screen and (max-width: 960px) {\n#single-page .content-page[data-v-20411c08] {\n padding-left: 15px;\n padding-right: 15px;\n}\n}\n",""])},qefO:function(e,a,t){"use strict";var n={name:"PageTab",props:["isLoading"],components:{Spinner:t("zTYo").a}},i=(t("5pbA"),t("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement,a=this._self._c||e;return a("div",{staticClass:"page-tab"},[a("div",{directives:[{name:"show",rawName:"v-show",value:this.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[a("Spinner")],1),this._v(" "),this._t("default")],2)}),[],!1,null,"4339da66",null);a.a=o.exports},qf9i:function(e,a,t){"use strict";var n=t("KPNK");t.n(n).a},qphJ:function(e,a,t){var n=t("lW02");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)},woIv:function(e,a,t){"use strict";var n=t("VA79");t.n(n).a},xnZf:function(e,a,t){"use strict";var n=t("+Pqb"),i=t("CjXH"),o={name:"StorageItemDetail",props:["percentage","title","type","used"],components:{HardDriveIcon:i.z,FileTextIcon:i.v,ProgressBar:n.a,MusicIcon:i.L,VideoIcon:i.eb,ImageIcon:i.B,FileIcon:i.u}},s=(t("b0xl"),t("KHd+")),r=Object(s.a)(o,(function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("article",{staticClass:"detail-storage-item",class:e.type},[t("div",{staticClass:"header-storage-item"},[t("div",{staticClass:"icon"},["images"==e.type?t("image-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"videos"==e.type?t("video-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"audios"==e.type?t("music-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"documents"==e.type?t("file-text-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"others"==e.type?t("file-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"disk"==e.type?t("hard-drive-icon",{attrs:{size:"23"}}):e._e()],1),e._v(" "),t("div",{staticClass:"title"},[t("b",{staticClass:"type"},[e._v(e._s(e.title))]),e._v(" "),t("span",{staticClass:"total-size"},[e._v(e._s(e.used))])])]),e._v(" "),t("ProgressBar",{staticClass:"storage-progress",attrs:{progress:e.percentage}})],1)}),[],!1,null,"56af1b6e",null);a.a=r.exports},yI2c:function(e,a,t){"use strict";var n=t("zlQ3");t.n(n).a},zlQ3:function(e,a,t){var n=t("oDxr");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(n,i);n.locals&&(e.exports=n.locals)}}]); |