/** * @license * Copyright 厦门乾元盛世科技有限公司 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file. */ import { EventEmitter, ElementRef, Renderer } from '@angular/core'; import { OnInit, QueryList } from '@angular/core'; import { FormControl } from '../input/form.control'; import { Checkbox } from './checkbox'; export declare class CheckboxGroup extends FormControl implements OnInit { private renderer; private elementRef; private compositionMode; /** 样式前缀 */ prefixCls: string; /** 用户CSS样式 */ class: string; /** 值变更事件 */ change: EventEmitter; /** 子列表 */ children: QueryList; constructor(renderer: Renderer, elementRef: ElementRef, compositionMode: boolean); onClick(): void; ngOnInit(): void; writeValue(value: any): void; hasValue(value: any): boolean; /** 当子选项发生变更时,也变更Group自身的值 */ toggle(value: any, checked: boolean): void; /** 更新子列表的checked状态 */ toggleChildren(): void; }