import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { BcacButtonModule } from 'bcac-lib/base-component/currency/bcac-button';

/**
 * @fileoverview added by tsickle
 * Generated from: modal-description-list/modal-description-list.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
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;
}

/**
 * @fileoverview added by tsickle
 * Generated from: modal-form/modal-form.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
class ModalFormComponent {
    constructor() { }
    /**
     * @return {?}
     */
    ngOnInit() {
    }
}
ModalFormComponent.decorators = [
    { type: Component, args: [{
                selector: 'bcac-modal-form',
                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> -->\r\n",
                styles: [""]
            }] }
];
/** @nocollapse */
ModalFormComponent.ctorParameters = () => [];

/**
 * @fileoverview added by tsickle
 * Generated from: bcac-modal.module.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
class BcacModalModule {
}
BcacModalModule.decorators = [
    { type: NgModule, args: [{
                declarations: [ModalDescriptionListComponent, ModalFormComponent],
                imports: [
                    CommonModule,
                    NgZorroAntdModule,
                    BcacButtonModule
                ],
                exports: [
                    ModalDescriptionListComponent,
                    ModalFormComponent
                ]
            },] }
];

/**
 * @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: index.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */

/**
 * @fileoverview added by tsickle
 * Generated from: bcac-lib-base-component-currency-bcac-modal.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */

export { BcacModalModule, ModalDescriptionListComponent as ɵa, ModalFormComponent as ɵb };
//# sourceMappingURL=bcac-lib-base-component-currency-bcac-modal.js.map
