/**
 * @fileoverview added by tsickle
 * Generated from: bcac-select.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
var BcacSelectComponent = /** @class */ (function () {
    function BcacSelectComponent() {
        this.value = '';
        this.bcacModelChange = new EventEmitter();
        this.size = 'small';
    }
    /**
     * @return {?}
     */
    BcacSelectComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    Object.defineProperty(BcacSelectComponent.prototype, "bcacModel", {
        // 当前选中的值
        set: 
        // 当前选中的值
        /**
         * @param {?} model
         * @return {?}
         */
        function (model) {
            this.value = model;
        },
        enumerable: true,
        configurable: true
    });
    ;
    Object.defineProperty(BcacSelectComponent.prototype, "bcacList", {
        // 当前列表的值
        set: 
        // 当前列表的值
        /**
         * @param {?} list
         * @return {?}
         */
        function (list) {
            this.dataList = list;
        },
        enumerable: true,
        configurable: true
    });
    /**
     * @param {?} $event
     * @return {?}
     */
    BcacSelectComponent.prototype.ngModelChange = /**
     * @param {?} $event
     * @return {?}
     */
    function ($event) {
        this.bcacModelChange.emit($event);
    };
    Object.defineProperty(BcacSelectComponent.prototype, "bcacSize", {
        set: /**
         * @param {?} size
         * @return {?}
         */
        function (size) {
            this.size = size;
        },
        enumerable: true,
        configurable: true
    });
    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 = function () { return []; };
    BcacSelectComponent.propDecorators = {
        bcacModel: [{ type: Input }],
        bcacList: [{ type: Input }],
        bcacModelChange: [{ type: Output }],
        bcacSize: [{ type: Input }]
    };
    return BcacSelectComponent;
}());
export { BcacSelectComponent };
if (false) {
    /** @type {?} */
    BcacSelectComponent.prototype.value;
    /** @type {?} */
    BcacSelectComponent.prototype.dataList;
    /** @type {?} */
    BcacSelectComponent.prototype.bcacModelChange;
    /** @type {?} */
    BcacSelectComponent.prototype.size;
    /* Skipping unhandled member: ;*/
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmNhYy1zZWxlY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vYmNhYy1saWIvYmFzZS1jb21wb25lbnQvY3VycmVuY3kvYmNhYy1zZWxlY3QvIiwic291cmNlcyI6WyJiY2FjLXNlbGVjdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRS9FO0lBT0U7UUFFQSxVQUFLLEdBQW9CLEVBQUUsQ0FBQztRQWlCNUIsb0JBQWUsR0FBc0IsSUFBSSxZQUFZLEVBQUUsQ0FBQztRQUt4RCxTQUFJLEdBQWtDLE9BQU8sQ0FBQztJQXhCOUIsQ0FBQzs7OztJQUtqQixzQ0FBUTs7O0lBQVI7SUFDQSxDQUFDO0lBRUQsc0JBQ0ksMENBQVM7UUFGYixTQUFTOzs7Ozs7O1FBQ1QsVUFDYyxLQUFzQjtZQUNsQyxJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztRQUNyQixDQUFDOzs7T0FBQTtJQUFBLENBQUM7SUFFRixzQkFDSSx5Q0FBUTtRQUZaLFNBQVM7Ozs7Ozs7UUFDVCxVQU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