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

2 lines
51 KiB
JavaScript
Raw Normal View History

(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[5],{496:function(e,t,s){var n=s(515);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(121).default)("2808c78e",n,!0,{})},497:function(e,t,s){var n=s(517);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(121).default)("8e8377f4",n,!0,{})},498:function(e,t,s){var n=s(520);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(121).default)("04ea124e",n,!0,{})},499:function(e,t,s){var n=s(522);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(121).default)("d1f513c6",n,!0,{})},514:function(e,t,s){"use strict";var n=s(496);s.n(n).a},515:function(e,t,s){(t=s(120)(!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},516:function(e,t,s){"use strict";var n=s(497);s.n(n).a},517:function(e,t,s){(t=s(120)(!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},519:function(e,t,s){"use strict";var n=s(498);s.n(n).a},520:function(e,t,s){(t=s(120)(!1)).push([e.i,"\n.row[data-v-5e079042] .multiselect__single {\n\tz-index: auto !important;\n}\n",""]),e.exports=t},521:function(e,t,s){"use strict";var n=s(499);s.n(n).a},522:function(e,t,s){(t=s(120)(!1)).push([e.i,".app-navigation__list #addgroup[data-v-90cdadc6] .app-navigation-entry__utils{display:none}\n",""]),e.exports=t},536:function(e,s,n){"use strict";n.r(s);var a=n(293),i=n.n(a),r=n(503),o=n.n(r),u=n(504),l=n.n(u),d=n(510),c=n.n(d),g=n(505),p=n.n(g),h=n(506),m=n.n(h),f=n(511),v=n.n(f),w=n(512),b=n.n(w),_=n(29),y=n.n(_),C=n(507),A=n.n(C),U=n(10),k=n(513),L=n.n(k),x=n(14),S=n(508),G=n.n(S),M=n(509),N=n.n(M),O=n(113),$=n(138),q=n(114);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=53c74c2b7f0ad6aa59ee