(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-cattalini-relatorios-demonstrativo-segundo-giro-demonstrativo-segundo-giro-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component.html":
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component.html ***!
  \********************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [sisFormularioId]=\"constantes.sisFormularioId\"\n                      [botoesComando]=\"constantes.listaForm\">\n</app-menu-command-bar>\n\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <div class=\"\">\n                <app-form-legenda></app-form-legenda>\n                <div class=\"card-body widget-body\">\n                    <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\">\n                        <app-validacoes></app-validacoes>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"contrato\" class=\"required\">{{\n                                        \"labels.contrato\" | translate\n                                        }}</label>\n                                    <select class=\"form-control form-control-sm\" id=\"contrato\"\n                                            name=\"contrato\" (ngModelChange)=\"selectedContrato($event)\"\n                                            [(ngModel)]=\"data.regContrato\"\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\" required=\"true\">\n                                        <option value=\"\">{{ 'labels.selecione' | translate }}</option>\n                                        <option *ngFor=\"let item of contratos\"\n                                                value=\"{{ item.contratoId }}\">{{ item.descr }}</option>\n                                    </select>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-4 col-md-6 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"periodo\" class=\"required\">{{\n                                        \"labels.periodo\" | translate\n                                        }}</label>\n                                    <select class=\"form-control form-control-sm\" id=\"periodo\"\n                                            name=\"periodo\" (ngModelChange)=\"selectedPeriodo($event)\"\n                                            [(ngModel)]=\"data.stoContratoPeriodoId\"\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\" required=\"true\">\n                                        <option value=\"\">{{ 'labels.selecione' | translate }}</option>\n                                        <option *ngFor=\"let item of periodos\"\n                                                value=\"{{ item.stoContratoPeriodoId }}\">{{ item.periodo }}</option>\n                                    </select>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label>{{ 'labels.tipoMovimento' | translate }}</label>\n                                    <br/>\n                                    <div class=\"form-check-inline\">\n                                        <input id=\"fiscal\" name=\"fiscal\"\n                                               class=\"form-check-input\"\n                                               value=\"F\"\n                                               [(ngModel)]=\"data.tipoMovimento\"\n                                               type=\"radio\"/>\n                                        <label for=\"fiscal\">{{ 'labels.fiscal' | translate }}</label>\n                                    </div>\n                                    <div class=\"form-check-inline\">\n                                        <input id=\"contabil\" name=\"contabil\"\n                                               class=\"form-check-input\"\n                                               value=\"C\"\n                                               [(ngModel)]=\"data.tipoMovimento\"\n                                               type=\"radio\"/>\n                                        <label for=\"contabil\">{{ 'labels.contabil' | translate }}</label>\n                                    </div>\n                                    <div class=\"form-check-inline\">\n                                        <input id=\"contratoT\" name=\"contratoT\"\n                                               class=\"form-check-input\"\n                                               value=\"T\"\n                                               [(ngModel)]=\"data.tipoMovimento\"\n                                               type=\"radio\"/>\n                                        <label for=\"contratoT\">{{ 'labels.contrato' | translate }}</label>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"geraPedidoFaturamento\" name=\"geraPedidoFaturamento\"\n                                           [ngModel]=\"data.geraFat === 'S'\"\n                                           class=\"custom-control-input checkbox-success\"\n                                           (ngModelChange)=\"data.geraFat=$event?'S':'N'\"\n                                           type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                           for=\"geraPedidoFaturamento\">{{ 'labels.geraPedidoFaturamento' | translate }}</label>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"clearfix\">&nbsp;</div>\n                        <div class=\"form-group\">\n                            <button class=\"btn btn-success mr-2\" type=\"submit\">\n                                {{ 'buttons.gerarRelatorio' | translate }}\n                            </button>\n                            <button class=\"btn btn-success mr-2\" (click)=\"export(f)\" type=\"button\">{{\n                                'buttons.exportarExcel' | translate }}\n                            </button>\n                            <button class=\"btn btn-success mr-2\" (click)=\"sendMail(f)\" type=\"button\">{{\n                                'buttons.enviarEmail' | translate }}\n                            </button>\n                        </div>\n                    </form>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-email [reportId]=\"constantes.reportId\"\n           [titulo]=\"constantes.reportTitulo.titulo\"\n           [subTitulo]=\"constantes.reportTitulo.subTitulo\"\n           [data]=\"constantes.paramRelatorio\"></app-email>\n");

/***/ }),

/***/ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component.ts":
/*!****************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component.ts ***!
  \****************************************************************************************************************************************************************/
/*! exports provided: DemonstrativoSegundoGiroFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiroFormComponent", function() { return DemonstrativoSegundoGiroFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../shared/components/report/report.service */ "./src/app/shared/components/report/report.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _demonstrativo_segundo_giro_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../demonstrativo-segundo-giro.constants */ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.constants.ts");
/* harmony import */ var _demonstrativo_segundo_giro_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../demonstrativo-segundo-giro.model */ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.model.ts");
/* harmony import */ var _demonstrativo_segundo_giro_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../demonstrativo-segundo-giro.service */ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};













var DemonstrativoSegundoGiroFormComponent = /** @class */ (function (_super) {
    __extends(DemonstrativoSegundoGiroFormComponent, _super);
    function DemonstrativoSegundoGiroFormComponent(loginService, permissoesUtils, funcoes, messageService, excelService, reportService, service) {
        var _this = _super.call(this, new _demonstrativo_segundo_giro_constants__WEBPACK_IMPORTED_MODULE_10__["DemonstrativoSegundoGiroConstants"](), funcoes) || this;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoes = funcoes;
        _this.messageService = messageService;
        _this.excelService = excelService;
        _this.reportService = reportService;
        _this.service = service;
        _this.mensagens = [];
        _this.constantes = new _demonstrativo_segundo_giro_constants__WEBPACK_IMPORTED_MODULE_10__["DemonstrativoSegundoGiroConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.data = new _demonstrativo_segundo_giro_model__WEBPACK_IMPORTED_MODULE_11__["DemonstrativoSegundoGiro"]();
        _this.contrato = new _demonstrativo_segundo_giro_model__WEBPACK_IMPORTED_MODULE_11__["DemonstrativoSegundoGiroComboDto"]();
        _this.periodo = new _demonstrativo_segundo_giro_model__WEBPACK_IMPORTED_MODULE_11__["DemonstrativoSegundoGiroComboPeriodoDto"]();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        _this.export = function (form) {
            if (form.invalid) {
                _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__["EventEmitterService"].get("formError").emit(form);
                return;
            }
            _this.printParams();
            _this.reportService.exportEspecificos(_this.constantes.sisFormularioId, _this.constantes.paramRelatorio).subscribe(function (resp) {
                var headerDictionary = {
                    "pico": "pico",
                    "contratado": "contratado",
                    "giro2": "giro2",
                    "totalExc": "total",
                    "precoExc": "preco",
                    "moedaExc": "moeda",
                    "totalGir": "total",
                    "precoGir": "preco",
                    "moedaGir": "moeda"
                };
                var options = {
                    headerJsonKeys: true,
                    headerDictionary: headerDictionary
                };
                _this.excelService.exportAsExcelFile(resp, _this.messageService.getTranslates("titles", "demonstrativoSegundoGiro"), options);
            });
        };
        return _this;
    }
    DemonstrativoSegundoGiroFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.contratos = [];
        this.periodos = [];
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.service.montaComboContrato().subscribe(function (resp) {
                if (resp) {
                    _this.contratos = resp;
                }
            });
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    DemonstrativoSegundoGiroFormComponent.prototype.onSubmit = function (form) {
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.printParams();
        this.print(null, true);
    };
    DemonstrativoSegundoGiroFormComponent.prototype.onCancelar = function () {
        this.data = new _demonstrativo_segundo_giro_model__WEBPACK_IMPORTED_MODULE_11__["DemonstrativoSegundoGiro"]();
    };
    DemonstrativoSegundoGiroFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    DemonstrativoSegundoGiroFormComponent.prototype.printParams = function () {
        this.constantes.paramRelatorio = {
            filialId: this.loginService.getLogin().filialId,
            regContrato: this.funcoesService.getValue(this.data.regContrato, 'I'),
            item: this.funcoesService.getValue(this.data.itemId, 'I'),
            dataI: this.data.dataI,
            dataF: this.data.dataF,
            geraFat: this.funcoesService.getValue(this.data.geraFat, 'S'),
            tipoMovimento: this.funcoesService.getValue(this.data.tipoMovimento, 'S'),
            tipo: 1
        };
    };
    DemonstrativoSegundoGiroFormComponent.prototype.sendMail = function (form) {
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.printParams();
        _super.prototype.sendMail.call(this, this.constantes, true);
    };
    DemonstrativoSegundoGiroFormComponent.prototype.selectedContrato = function (event) {
        var _this = this;
        if (this.contratos) {
            this.contrato = this.contratos.find(function (c) { return +c.contratoId === +event; });
            if (!!this.contrato) {
                var obj = {
                    regContrato: this.contrato.contratoId,
                    item: this.contrato.itemId
                };
                this.service.montaComboPeriodo(obj).subscribe(function (resp) {
                    if (resp) {
                        _this.periodos = resp;
                    }
                });
            }
        }
    };
    DemonstrativoSegundoGiroFormComponent.prototype.selectedPeriodo = function (event) {
        if (this.periodos) {
            this.periodo = this.periodos.find(function (c) { return +c.stoContratoPeriodoId === +event; });
            if (!!this.periodo) {
                this.data.dataI = this.periodo.dtInicio;
                this.data.dataF = this.periodo.dtFim;
                this.data.regContrato = this.contrato.contratoId;
                this.data.itemId = this.contrato.itemId;
            }
        }
    };
    DemonstrativoSegundoGiroFormComponent.ctorParameters = function () { return [
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__["LoginService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_7__["ExcelService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_8__["ReportService"] },
        { type: _demonstrativo_segundo_giro_service__WEBPACK_IMPORTED_MODULE_12__["DemonstrativoSegundoGiroService"] }
    ]; };
    DemonstrativoSegundoGiroFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-demonstrativo-segundo-giro",
            template: __importDefault(__webpack_require__(/*! raw-loader!./demonstrativo-segundo-giro-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__["LoginService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_7__["ExcelService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_8__["ReportService"],
            _demonstrativo_segundo_giro_service__WEBPACK_IMPORTED_MODULE_12__["DemonstrativoSegundoGiroService"]])
    ], DemonstrativoSegundoGiroFormComponent);
    return DemonstrativoSegundoGiroFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.constants.ts":
/*!***************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.constants.ts ***!
  \***************************************************************************************************************************/
/*! exports provided: DemonstrativoSegundoGiroConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiroConstants", function() { return DemonstrativoSegundoGiroConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var DemonstrativoSegundoGiroConstants = /** @class */ (function () {
    function DemonstrativoSegundoGiroConstants() {
        this.sisFormularioId = 65291;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.demonstrativoSegundoGiro";
        this.reportId = "CAT0031";
        this.reportTitulo = { "titulo": "Demonstrativo de 2º Giro", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
    }
    return DemonstrativoSegundoGiroConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.model.ts":
/*!***********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.model.ts ***!
  \***********************************************************************************************************************/
/*! exports provided: DemonstrativoSegundoGiro, DemonstrativoSegundoGiroComboDto, DemonstrativoSegundoGiroComboPeriodoDto */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiro", function() { return DemonstrativoSegundoGiro; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiroComboDto", function() { return DemonstrativoSegundoGiroComboDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiroComboPeriodoDto", function() { return DemonstrativoSegundoGiroComboPeriodoDto; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var DemonstrativoSegundoGiro = /** @class */ (function () {
    function DemonstrativoSegundoGiro() {
        this.filialId = 0;
        this.dataI = new Date();
        this.dataF = new Date();
        this.periodo = "";
        this.tipoMovimento = "F";
        this.geraFat = "N";
        this.regContrato = "";
        this.itemId = 0;
    }
    return DemonstrativoSegundoGiro;
}());

var DemonstrativoSegundoGiroComboDto = /** @class */ (function () {
    function DemonstrativoSegundoGiroComboDto() {
    }
    return DemonstrativoSegundoGiroComboDto;
}());

var DemonstrativoSegundoGiroComboPeriodoDto = /** @class */ (function () {
    function DemonstrativoSegundoGiroComboPeriodoDto() {
    }
    return DemonstrativoSegundoGiroComboPeriodoDto;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.module.ts":
/*!************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.module.ts ***!
  \************************************************************************************************************************/
/*! exports provided: DemonstrativoSegundoGiroModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiroModule", function() { return DemonstrativoSegundoGiroModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _demonstrativo_segundo_giro_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./demonstrativo-segundo-giro.routing.module */ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.routing.module.ts");
/* harmony import */ var _demonstrativo_segundo_giro_form_demonstrativo_segundo_giro_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component */ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var DemonstrativoSegundoGiroModule = /** @class */ (function () {
    function DemonstrativoSegundoGiroModule() {
    }
    DemonstrativoSegundoGiroModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _demonstrativo_segundo_giro_routing_module__WEBPACK_IMPORTED_MODULE_2__["DemonstrativoSegundoGiroRoutingModule"]],
            declarations: [_demonstrativo_segundo_giro_form_demonstrativo_segundo_giro_form_component__WEBPACK_IMPORTED_MODULE_3__["DemonstrativoSegundoGiroFormComponent"]]
        })
    ], DemonstrativoSegundoGiroModule);
    return DemonstrativoSegundoGiroModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.routing.module.ts":
/*!********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.routing.module.ts ***!
  \********************************************************************************************************************************/
/*! exports provided: DemonstrativoSegundoGiroRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiroRoutingModule", function() { return DemonstrativoSegundoGiroRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _demonstrativo_segundo_giro_form_demonstrativo_segundo_giro_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component */ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro-form/demonstrativo-segundo-giro-form.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var MRoutes = [
    {
        path: "",
        component: _demonstrativo_segundo_giro_form_demonstrativo_segundo_giro_form_component__WEBPACK_IMPORTED_MODULE_3__["DemonstrativoSegundoGiroFormComponent"],
        data: { breadcrumb: "demonstrativoSegundoGiro", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var DemonstrativoSegundoGiroRoutingModule = /** @class */ (function () {
    function DemonstrativoSegundoGiroRoutingModule() {
    }
    DemonstrativoSegundoGiroRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]],
        })
    ], DemonstrativoSegundoGiroRoutingModule);
    return DemonstrativoSegundoGiroRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.service.ts":
/*!*************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/relatorios/demonstrativo-segundo-giro/demonstrativo-segundo-giro.service.ts ***!
  \*************************************************************************************************************************/
/*! exports provided: DemonstrativoSegundoGiroService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DemonstrativoSegundoGiroService", function() { return DemonstrativoSegundoGiroService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _app_error_handler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var DemonstrativoSegundoGiroService = /** @class */ (function (_super) {
    __extends(DemonstrativoSegundoGiroService, _super);
    function DemonstrativoSegundoGiroService(http) {
        var _this = _super.call(this, http, "cattalini/demonstrativoSegundoGiro") || this;
        _this.http = http;
        return _this;
    }
    DemonstrativoSegundoGiroService.prototype.montaComboContrato = function () {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].specifics_service_url + "/api/v1/cattalini/demonstrativoSegundoGiro/montaComboContrato")
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    DemonstrativoSegundoGiroService.prototype.montaComboPeriodo = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].specifics_service_url + "/api/v1/cattalini/demonstrativoSegundoGiro/montaComboPeriodo", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    DemonstrativoSegundoGiroService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    DemonstrativoSegundoGiroService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], DemonstrativoSegundoGiroService);
    return DemonstrativoSegundoGiroService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_5__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-cattalini-relatorios-demonstrativo-segundo-giro-demonstrativo-segundo-giro-module.js.map