"use strict";const uni_modules_uviewPlus_components_uCheckboxGroup_props=require("./props.js");const uni_modules_uviewPlus_libs_mixin_mpMixin=require("../../libs/mixin/mpMixin.js");const uni_modules_uviewPlus_libs_mixin_mixin=require("../../libs/mixin/mixin.js");const common_vendor=require("../../../../common/vendor.js");const _sfc_main={name:"u-checkbox-group",mixins:[uni_modules_uviewPlus_libs_mixin_mpMixin.mpMixin,uni_modules_uviewPlus_libs_mixin_mixin.mixin,uni_modules_uviewPlus_components_uCheckboxGroup_props.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(){if(this.children.length){this.children.map((child=>{typeof child.init==="function"&&child.init()}))}},deep:true}},data(){return{}},created(){this.children=[]},emits:["update:modelValue","change"],methods:{unCheckedOther(childInstance){const values=[];this.children.map((child=>{if(child.isChecked){values.push(child.name)}}));this.$emit("change",values);this.$emit("update:modelValue",values)}}};function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:common_vendor.n($options.bemClass)}}const Component=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render],["__scopeId","data-v-b3496b3a"]]);my.createComponent(Component);
