import { ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { NzxOptions } from '@winkong/ng-zorro-antd-extension/types'; import * as i0 from "@angular/core"; /** * nzx-checkbox-group * 自定义选择框,选择时传出的值为数组形式如:[1,2] */ export declare class NzxCheckboxGroupComponent implements ControlValueAccessor { private cd; set checkOptions(value: Array>); _checkOptions: Array<{ label: string; value: number | string; disabled?: boolean; checked?: boolean; }>; /** * 自定义函数用来格式化输输入内容用来回显 */ customFormateInFn: (value: any) => Array; /** * 自定义函数用来格式化输出内容用来接口入参 */ customFormateOutFn: (value: any) => any; nzDisabled: boolean; private templateValue; private propagateChange; constructor(cd: ChangeDetectorRef); writeValue(v: (string | number)[] | any): void; /**更新视图 */ updateView(): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; valueChange(value: Array<{ label: string; value: number | string; checked?: boolean; }>): void; private _updateView; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }