nextcloud/apps/settings/js/vue-settings-users-f21df1de...

2 lines
51 KiB
JavaScript
Raw Normal View History

(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[7],{510:function(e,t,s){var n=s(531);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(128).default)("2808c78e",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(128).default)("8e8377f4",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(128).default)("baf475f8",n,!0,{})},513:function(e,t,s){var n=s(537);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(128).default)("d1f513c6",n,!0,{})},530:function(e,t,s){"use strict";var n=s(510);s.n(n).a},531:function(e,t,s){(t=s(127)(!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},532:function(e,t,s){"use strict";var n=s(511);s.n(n).a},533:function(e,t,s){(t=s(127)(!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},534:function(e,t,s){"use strict";var n=s(512);s.n(n).a},535:function(e,t,s){(t=s(127)(!1)).push([e.i,"\n.row[data-v-c4fdcc08] .multiselect__single {\n\tz-index: auto !important;\n}\n",""]),e.exports=t},536:function(e,t,s){"use strict";var n=s(513);s.n(n).a},537:function(e,t,s){(t=s(127)(!1)).push([e.i,".app-navigation__list #addgroup[data-v-90cdadc6] .app-navigation-entry__utils{display:none}\n",""]),e.exports=t},554:function(e,s,n){"use strict";n.r(s);var a=n(306),i=n.n(a),r=n(518),o=n.n(r),u=n(519),l=n.n(u),d=n(526),c=n.n(d),g=n(520),p=n.n(g),h=n(521),m=n.n(h),f=n(527),v=n.n(f),w=n(528),b=n.n(w),_=n(26),y=n.n(_),C=n(522),A=n.n(C),U=n(10),k=n(523),x=n.n(k),L=n(16),S=n(524),G=n.n(S),O=n(129),M=n(529),N=n.n(M),$=n(307),q=n.n($),P=n(525),D=n.n(P),Q=n(120),j=n(179),B=n(121);function R(e){return(R="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 z={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"!==R(t)&&""!==this.user.language?{code:this.user.language,name:this.user.language}:""!==this.user.language&&t},userLastLoginTooltip:function(){return this.user.l
//# sourceMappingURL=vue-settings-users-f21df1de93ddcf45e13b.js.map?v=ab4545fa96a43d874f85