"use strict";const t=require("../../libs/config/props.js"),a=require("../../libs/function/test.js"),e={props:{src:{type:String,default:()=>t.defProps.avatar.src},shape:{type:String,default:()=>t.defProps.avatar.shape},size:{type:[String,Number],default:()=>t.defProps.avatar.size},mode:{type:String,default:()=>t.defProps.avatar.mode},text:{type:String,default:()=>t.defProps.avatar.text},bgColor:{type:String,default:()=>t.defProps.avatar.bgColor},color:{type:String,default:()=>t.defProps.avatar.color},fontSize:{type:[String,Number],default:()=>t.defProps.avatar.fontSize},icon:{type:String,default:()=>t.defProps.avatar.icon},mpAvatar:{type:Boolean,default:()=>t.defProps.avatar.mpAvatar},randomBgColor:{type:Boolean,default:()=>t.defProps.avatar.randomBgColor},defaultUrl:{type:String,default:()=>t.defProps.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:t=>a.test.range(t,[0,19])||""===t,default:()=>t.defProps.avatar.colorIndex},name:{type:String,default:()=>t.defProps.avatar.name}}};exports.props=e;
