nextcloud/apps/settings/js/vue-5.js

2 lines
51 KiB
JavaScript
Raw Normal View History

(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[5],{509:function(e,t,s){var n=s(528);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(126).default)("2808c78e",n,!0,{})},510:function(e,t,s){var n=s(530);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(126).default)("8e8377f4",n,!0,{})},511:function(e,t,s){var n=s(533);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(126).default)("04ea124e",n,!0,{})},512:function(e,t,s){var n=s(535);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(126).default)("d1f513c6",n,!0,{})},527:function(e,t,s){"use strict";var n=s(509);s.n(n).a},528:function(e,t,s){(t=s(125)(!1)).push([e.i,".cellText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-more{background-color:var(--color-main-background);border:0}\n",""]),e.exports=t},529:function(e,t,s){"use strict";var n=s(510);s.n(n).a},530:function(e,t,s){(t=s(125)(!1)).push([e.i,".row--menu-opened[data-v-172121d3]{z-index:1 !important}.row[data-v-172121d3] .multiselect__single{z-index:auto !important}\n",""]),e.exports=t},532:function(e,t,s){"use strict";var n=s(511);s.n(n).a},533:function(e,t,s){(t=s(125)(!1)).push([e.i,"\n.row[data-v-5e079042] .multiselect__single {\n\tz-index: auto !important;\n}\n",""]),e.exports=t},534:function(e,t,s){"use strict";var n=s(512);s.n(n).a},535:function(e,t,s){(t=s(125)(!1)).push([e.i,".app-navigation__list #addgroup[data-v-90cdadc6] .app-navigation-entry__utils{display:none}\n",""]),e.exports=t},549:function(e,s,n){"use strict";n.r(s);var a=n(306),i=n.n(a),r=n(516),o=n.n(r),u=n(517),l=n.n(u),d=n(523),c=n.n(d),g=n(518),p=n.n(g),h=n(519),m=n.n(h),f=n(524),v=n.n(f),w=n(525),b=n.n(w),_=n(30),y=n.n(_),C=n(520),A=n.n(C),U=n(10),k=n(526),L=n.n(k),x=n(15),S=n(521),G=n.n(S),M=n(522),N=n.n(M),O=n(115),$=n(143),q=n(116);function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var D={props:{user:{type:Object,required:!0},settings:{type:Object,default:function(){return{}}},groups:{type:Array,default:function(){return[]}},subAdminsGroups:{type:Array,default:function(){return[]}},quotaOptions:{type:Array,default:function(){return[]}},showConfig:{type:Object,default:function(){return{}}},languages:{type:Array,required:!0},externalActions:{type:Array,default:function(){return[]}}},computed:{userGroups:function(){var e=this,t=this.groups.filter((function(t){return e.user.groups.includes(t.id)}));return t},userSubAdminsGroups:function(){var e=this,t=this.subAdminsGroups.filter((function(t){return e.user.subadmin.includes(t.id)}));return t},availableGroups:function(){var e=this;return this.groups.map((function(t){var s=Object.assign({},t);return s.$isDisabled=!1===t.canAdd&&!e.user.groups.includes(t.id)||!1===t.canRemove&&e.user.groups.includes(t.id),s}))},usedSpace:function(){return this.user.quota.used?t("settings","{size} used",{size:OC.Util.humanFileSize(this.user.quota.used)}):t("settings","{size} used",{size:OC.Util.humanFileSize(0)})},usedQuota:function(){var e=this.user.quota.quota;e>0?e=Math.min(100,Math.round(this.user.quota.used/e*100)):e=95*(1-1/(this.user.quota.used/(10*Math.pow(2,30))+1));return isNaN(e)?0:e},userQuota:function(){if(this.user.quota.quota>=0){var e=OC.Util.humanFileSize(this.user.quota.quota),t=this.quotaOptions.find((function(t){return t.id===e}));return t||{id:e,label:e}}return"default"===this.user.quota.quota?this.quotaOptions[0]:this.quotaOptions[1]},minPasswordLength:function(){return this.$store.getters.getPasswordPolicyMinLength},userLanguage:function(){var e=this,t=this.languages[0].languages.concat(this.languages[1].languages).find((function(t){return t.code===e.user.language}));return"object"!==P(t)&&""!==this.user.language?{code:this.user.language,name:this.user.language}:""!==this.user.language&&t},userLastLoginTooltip:function(){return this.user.lastLogin>0?OC.Util.formatDate(this.user.lastL
//# sourceMappingURL=vue-5.js.map?v=a263ea3f9c92e442a231