"use strict";const e=require("./props.js"),i=require("../../libs/mixin/mpMixin.js"),t=require("../../libs/mixin/mixin.js"),s=require("../../../../common/vendor.js"),n={name:"u-checkbox-group",mixins:[i.mpMixin,t.mixin,e.props],computed:{parentData(){return[this.modelValue,this.disabled,this.inactiveColor,this.activeColor,this.size,this.labelDisabled,this.shape,this.iconSize,this.borderBottom,this.placement]},bemClass(){return this.bem("checkbox-group",["placement"])}},watch:{parentData:{handler(){this.children.length&&this.children.map((e=>{"function"==typeof e.init&&e.init()}))},deep:!0}},data:()=>({}),created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(e){const i=[];this.children.map((e=>{e.isChecked&&i.push(e.name)})),this.$emit("change",i),this.$emit("update:modelValue",i)}}};const a=s._export_sfc(n,[["render",function(e,i,t,n,a,r){return{a:s.n(r.bemClass)}}],["__scopeId","data-v-b3496b3a"]]);wx.createComponent(a);
