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
 */
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;
}());
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
 */
var BcacSelectModule = /** @class */ (function () {
    function BcacSelectModule() {
    }
    BcacSelectModule.decorators = [
        { type: NgModule, args: [{
                    declarations: [BcacSelectComponent],
                    imports: [
                        CommonModule,
                        NzSelectModule,
                        FormsModule,
                        NzToolTipModule
                    ],
                    exports: [BcacSelectComponent]
                },] }
    ];
    return BcacSelectModule;
}());

/**
 * @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
