/**
 * @fileoverview added by tsickle
 * Generated from: base-component/currency/bcac-modal/modal-description-list/modal-description-list.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
var ModalDescriptionListComponent = /** @class */ (function () {
    function ModalDescriptionListComponent() {
        this.bcacWidth = "40rem";
        this.bcacVisibleEmit = new EventEmitter();
        this.bcacVisible = false;
        this.bcacTitle = "";
        this.bcacData = {};
        this.bcacFields = [
            {
                value: "mn",
                label: "站点编号"
            },
            {
                value: "mnName",
                label: "站点名称"
            },
            {
                value: "addr",
                label: "地址"
            }
        ];
    }
    /**
     * @return {?}
     */
    ModalDescriptionListComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    /**
     * @return {?}
     */
    ModalDescriptionListComponent.prototype.modalClose = /**
     * @return {?}
     */
    function () {
        this.bcacVisible = false;
        this.bcacVisibleEmit.emit(false);
    };
    ModalDescriptionListComponent.decorators = [
        { type: Component, args: [{
                    selector: 'bcac-modal-description-list',
                    template: "<nz-modal [(nzVisible)]=\"bcacVisible\" [nzTitle]=\"bcacTitle\" (nzOnCancel)=\"modalClose()\" [nzMask]=\"true\" [nzWidth]=\"bcacWidth\">\r\n    <nz-descriptions [nzColumn]=\"bcacColumn\">\r\n        <ng-container *ngFor=\"let item of bcacFields; let i=index;\">\r\n            <nz-descriptions-item [nzTitle]=\"item.label\">{{bcacData[item.value]? bcacData[item.value]: '--'}}\r\n            </nz-descriptions-item>\r\n        </ng-container>\r\n    </nz-descriptions>\r\n    <div *nzModalFooter>\r\n        <bcac-button bcacContent=\"\u53D6\u6D88\" bcacType=\"default\" bcacSize=\"small\" (click)=\"modalClose()\"></bcac-button>\r\n        <bcac-button class=\"bcac-button\" bcacContent=\"\u786E\u5B9A\" bcacType=\"primary\" bcacSize=\"small\" (click)=\"modalClose()\"></bcac-button>\r\n    </div>\r\n</nz-modal>",
                    styles: [".bcac-button{margin-left:.6rem}"]
                }] }
    ];
    /** @nocollapse */
    ModalDescriptionListComponent.ctorParameters = function () { return []; };
    ModalDescriptionListComponent.propDecorators = {
        bcacColumn: [{ type: Input }],
        bcacWidth: [{ type: Input }],
        bcacVisibleEmit: [{ type: Output }],
        bcacVisible: [{ type: Input }],
        bcacTitle: [{ type: Input }],
        bcacData: [{ type: Input }],
        bcacFields: [{ type: Input }]
    };
    return ModalDescriptionListComponent;
}());
export { ModalDescriptionListComponent };
if (false) {
    /** @type {?} */
    ModalDescriptionListComponent.prototype.bcacColumn;
    /** @type {?} */
    ModalDescriptionListComponent.prototype.bcacWidth;
    /** @type {?} */
    ModalDescriptionListComponent.prototype.bcacVisibleEmit;
    /** @type {?} */
    ModalDescriptionListComponent.prototype.bcacVisible;
    /** @type {?} */
    ModalDescriptionListComponent.prototype.bcacTitle;
    /** @type {?} */
    ModalDescriptionListComponent.prototype.bcacData;
    /** @type {?} */
    ModalDescriptionListComponent.prototype.bcacFields;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtZGVzY3JpcHRpb24tbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9iY2FjLWxpYi8iLCJzb3VyY2VzIjpbImJhc2UtY29tcG9uZW50L2N1cnJlbmN5L2JjYWMtbW9kYWwvbW9kYWwtZGVzY3JpcHRpb24tbGlzdC9tb2RhbC1kZXNjcmlwdGlvbi1saXN0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFL0U7SUFPRTtRQVNBLGNBQVMsR0FBVyxPQUFPLENBQUM7UUFHNUIsb0JBQWUsR0FBMEIsSUFBSSxZQUFZLEVBQUUsQ0FBQztRQUc1RCxnQkFBVy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