import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
import { NzSelectModule } from 'ng-zorro-antd/select';

/**
 * @fileoverview added by tsickle
 * Generated from: bcac-select.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
class BcacSelectComponent {
    constructor() {
        this.value = '';
        this.bcacModelChange = new EventEmitter();
        this.size = 'small';
    }
    /**
     * @return {?}
     */
    ngOnInit() {
    }
    // 当前选中的值
    /**
     * @param {?} model
     * @return {?}
     */
    set bcacModel(model) {
        this.value = model;
    }
    ;
    // 当前列表的值
    /**
     * @param {?} list
     * @return {?}
     */
    set bcacList(list) {
        this.dataList = list;
    }
    /**
     * @param {?} $event
     * @return {?}
     */
    ngModelChange($event) {
        this.bcacModelChange.emit($event);
    }
    /**
     * @param {?} size
     * @return {?}
     */
    set bcacSize(size) {
        this.size = size;
    }
}
BcacSelectComponent.decorators = [
    { type: Component, args: [{
                selector: 'bcac-select',
                template: "<nz-select [(ngModel)]=\"value\" name=\"value\" [nzDropdownClassName]=\"'bcac-lib-select'\" (ngModelChange)=\"ngModelChange($event)\" [nzSize]=\"size\">\r\n  <nz-option *ngFor=\"let item of dataList\" [nzLabel]=\"item.label\" [nzValue]=\"item.value\">\r\n  </nz-option>\r\n</nz-select>",
                styles: [":host ::ng-deep .ant-select-sm .ant-select-selection--single{width:7rem;height:18px}:host ::ng-deep .ant-select-sm .ant-select-selection__rendered{line-height:16px}"]
            }] }
];
/** @nocollapse */
BcacSelectComponent.ctorParameters = () => [];
BcacSelectComponent.propDecorators = {
    bcacModel: [{ type: Input }],
    bcacList: [{ type: Input }],
    bcacModelChange: [{ type: Output }],
    bcacSize: [{ type: Input }]
};
if (false) {
    /** @type {?} */
    BcacSelectComponent.prototype.value;
    /** @type {?} */
    BcacSelectComponent.prototype.dataList;
    /** @type {?} */
    BcacSelectComponent.prototype.bcacModelChange;
    /** @type {?} */
    BcacSelectComponent.prototype.size;
    /* Skipping unhandled member: ;*/
}

/**
 * @fileoverview added by tsickle
 * Generated from: bcac-select.module.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
class BcacSelectModule {
}
BcacSelectModule.decorators = [
    { type: NgModule, args: [{
                declarations: [BcacSelectComponent],
                imports: [
                    CommonModule,
                    NzSelectModule,
                    FormsModule,
                    NzToolTipModule
                ],
                exports: [BcacSelectComponent]
            },] }
];

/**
 * @fileoverview added by tsickle
 * Generated from: public-api.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */

/**
 * @fileoverview added by tsickle
 * Generated from: bcac-lib-base-component-currency-bcac-select.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */

export { BcacSelectComponent, BcacSelectModule };
//# sourceMappingURL=bcac-lib-base-component-currency-bcac-select.js.map
