(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ng-zorro-antd/tooltip'), require('ng-zorro-antd/select')) :
    typeof define === 'function' && define.amd ? define('bcac-lib/base-component/currency/bcac-select', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'ng-zorro-antd/tooltip', 'ng-zorro-antd/select'], factory) :
    (global = global || self, factory((global['bcac-lib'] = global['bcac-lib'] || {}, global['bcac-lib']['base-component'] = global['bcac-lib']['base-component'] || {}, global['bcac-lib']['base-component'].currency = global['bcac-lib']['base-component'].currency || {}, global['bcac-lib']['base-component'].currency['bcac-select'] = {}), global.ng.core, global.ng.common, global.ng.forms, global.tooltip, global.select));
}(this, (function (exports, core, common, forms, tooltip, select) { 'use strict';

    /**
     * @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 core.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: core.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: core.Input }],
            bcacList: [{ type: core.Input }],
            bcacModelChange: [{ type: core.Output }],
            bcacSize: [{ type: core.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: core.NgModule, args: [{
                        declarations: [BcacSelectComponent],
                        imports: [
                            common.CommonModule,
                            select.NzSelectModule,
                            forms.FormsModule,
                            tooltip.NzToolTipModule
                        ],
                        exports: [BcacSelectComponent]
                    },] }
        ];
        return BcacSelectModule;
    }());

    exports.BcacSelectComponent = BcacSelectComponent;
    exports.BcacSelectModule = BcacSelectModule;

    Object.defineProperty(exports, '__esModule', { value: true });

})));
//# sourceMappingURL=bcac-lib-base-component-currency-bcac-select.umd.js.map
