(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ng-zorro-antd'), require('bcac-lib/base-component/currency/bcac-button')) :
    typeof define === 'function' && define.amd ? define('bcac-lib/base-component/currency/bcac-modal', ['exports', '@angular/core', '@angular/common', 'ng-zorro-antd', 'bcac-lib/base-component/currency/bcac-button'], 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-modal'] = {}), global.ng.core, global.ng.common, global.ngZorroAntd, global['bcac-lib']['base-component'].currency['bcac-button']));
}(this, (function (exports, core, common, ngZorroAntd, bcacButton) { 'use strict';

    /**
     * @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
     */
    var ModalDescriptionListComponent = /** @class */ (function () {
        function ModalDescriptionListComponent() {
            this.bcacWidth = "40rem";
            this.bcacVisibleEmit = new core.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: core.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: core.Input }],
            bcacWidth: [{ type: core.Input }],
            bcacVisibleEmit: [{ type: core.Output }],
            bcacVisible: [{ type: core.Input }],
            bcacTitle: [{ type: core.Input }],
            bcacData: [{ type: core.Input }],
            bcacFields: [{ type: core.Input }]
        };
        return 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;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: modal-form/modal-form.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var ModalFormComponent = /** @class */ (function () {
        function ModalFormComponent() {
        }
        /**
         * @return {?}
         */
        ModalFormComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        ModalFormComponent.decorators = [
            { type: core.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 = function () { return []; };
        return ModalFormComponent;
    }());

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

    exports.BcacModalModule = BcacModalModule;
    exports.ɵa = ModalDescriptionListComponent;
    exports.ɵb = ModalFormComponent;

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

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