"use strict";const t=require("../../../../common/vendor.js"),e=require("./uniicons_file.js"),n=t.defineComponent({name:"uni-icons",props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},fontFamily:{type:String,default:""}},data:()=>({}),computed:{unicode(){let t=UTS.arrayFind(e.fontData,(t=>t.font_class==this.type));return null!==t?t.unicode:""},iconSize(){const t=this.size;if("string"==typeof t){return/^[0-9]*$/g.test(t)?t+"px":""+t}return this.getFontSize(t)},styleObj(){return""!==this.fontFamily?new UTSJSONObject({color:this.color,fontSize:this.iconSize,fontFamily:this.fontFamily}):new UTSJSONObject({color:this.color,fontSize:this.iconSize})}},created(){},methods:{getFontSize:t=>t+"px"}});const i=t._export_sfc(n,[["render",function(e,n,i,o,r,s){return{a:t.t(s.unicode),b:t.sei(e.virtualHostId,"text"),c:t.s(s.styleObj)}}],["__scopeId","data-v-4068f0e9"]]);wx.createComponent(i);
