"use strict";const e=require("../../../common/vendor.js"),o=require("../method.js"),n=require("../../../gen/Enums.js"),r=require("../model.js");if(require("../../../common/libraries/apiLoading.js"),require("../../../gen/Apis.js"),require("../../../common/libraries/request.js"),require("../../../common/store/useWeAppAuthStore.js"),require("../../../common/libraries/setTabBar.js"),require("../../../common/store/useWorkStore.js"),require("../../../common/libraries/naviHelper.js"),require("../../../common/libraries/userUserLogin.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-enum-tag"))()}Math||((()=>"../../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../../components/hs-enum-tag/hs-enum-tag.js")+s)();const s=()=>"./CreateHousehold.js",u=e.defineComponent({__name:"MeHouseItem",setup:s=>(s,u)=>{var i,l;return{a:e.f(null==(l=null==(i=e.unref(r.useModel))?void 0:i.dataList)?void 0:l.value,((s,u,i)=>{var l,t,a;return e.e({a:e.t(null==(l=null==s?void 0:s.asset_house)?void 0:l.full_name),b:(null==s?void 0:s.asset_houses_id)===(null==(t=e.unref(r.useModel).selectedHouseEd.value)?void 0:t.id)},(null==s?void 0:s.asset_houses_id)===(null==(a=e.unref(r.useModel).selectedHouseEd.value)?void 0:a.id)?{c:"0aee8f33-0-"+i,d:e.p({type:"checkbox-filled",size:"20",color:"#2A7EFB"})}:{e:"0aee8f33-1-"+i,f:e.p({type:"circle",size:"20",color:"#999"})},{g:"0aee8f33-2-"+i,h:e.p({value:null==s?void 0:s.house_relation,Enums:e.unref(n.HouseOccupantsHouseRelationEnum)}),i:e.t((null==s?void 0:s.people_num)||0),j:e.o((n=>{var r;return null==(r=e.unref(o.method))?void 0:r.handleSelectedHouse(s)}),`item_${u}`),k:"Owner"===(null==s?void 0:s.house_relation)},"Owner"===(null==s?void 0:s.house_relation)?{l:"0aee8f33-3-"+i}:{},{m:e.o((n=>{var r;return null==(r=e.unref(o.method))?void 0:r.handleQueryHouseArchives(s)}),`item_${u}`),n:`item_${u}`})}))}}});wx.createComponent(u);
