/**
 * @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';
export class ModalDescriptionListComponent {
    constructor() {
        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 {?}
     */
    ngOnInit() {
    }
    /**
     * @return {?}
     */
    modalClose() {
        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 = () => [];
ModalDescriptionListComponent.propDecorators = {
    bcacColumn: [{ type: Input }],
    bcacWidth: [{ type: Input }],
    bcacVisibleEmit: [{ type: Output }],
    bcacVisible: [{ type: Input }],
    bcacTitle: [{ type: Input }],
    bcacData: [{ type: Input }],
    bcacFields: [{ type: Input }]
};
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtZGVzY3JpcHRpb24tbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9iY2FjLWxpYi8iLCJzb3VyY2VzIjpbImJhc2UtY29tcG9uZW50L2N1cnJlbmN5L2JjYWMtbW9kYWwvbW9kYWwtZGVzY3JpcHRpb24tbGlzdC9tb2RhbC1kZXNjcmlwdGlvbi1saXN0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFPL0UsTUFBTSxPQUFPLDZCQUE2QjtJQUV4QztRQVNBLGNBQVMsR0FBVyxPQUFPLENBQUM7UUFHNUIsb0JBQWUsR0FBMEIsSUFBSSxZQUFZLEVBQUUsQ0FBQztRQUc1RCxnQkFBVyxHQUFZLEtBQUssQ0FBQztRQUc3QixjQUFTLEdBQVcsRUFBRSxDQUFDO1FBR3ZCLGFBQVEsR0FBUSxFQUFFLENBQUM7UUFHbkIsZUFBVSxHQUFVO1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