(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-vopak-integracoes-nfe-entrada-nfe-entrada-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada-form/nfe-entrada-form.component.html":
/*!********************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada-form/nfe-entrada-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\" [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-8 col-md-8 col-sm-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"processarRegistrosNaoIntegrados\" name=\"processarRegistrosNaoIntegrados\"\n                                        [ngModel]=\"data.processarRegistrosNaoIntegrados === 'S'\"\n                                        (ngModelChange)=\"data.processarRegistrosNaoIntegrados = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        (change)=\"checaProcessar(data)\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                                    <label class=\"custom-control-label\"\n                                        for=\"processarRegistrosNaoIntegrados\">{{\"labels.processarRegistrosNaoIntegrados\" |\n                                        translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"clearfix\">&nbsp;</div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-8 col-md-8 col-sm-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"reprocessarRegistrosPorPeriodo\" name=\"reprocessarRegistrosPorPeriodo\"\n                                        [ngModel]=\"data.reprocessarRegistrosPorPeriodo === 'S'\"\n                                        (ngModelChange)=\"data.reprocessarRegistrosPorPeriodo = $event ? 'S' : 'N'\"\n                                        (change)=\"checaReprocessar(data)\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                                    <label class=\"custom-control-label\"\n                                        for=\"reprocessarRegistrosPorPeriodo\">{{\"labels.reprocessarRegistrosPorPeriodo\" |\n                                        translate}}</label>\n                                </div>\n                            </div>\n                            <div class=\"col-lg-8 col-md-10 col-sm-12 mt-2\">\n                                <div class=\"row mt-2\">\n                                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"periodoDe\" class=\"required\">{{\"labels.periodoDe\" | translate\n                                                }}</label>\n                                            <app-data id=\"periodoDe\" name=\"periodoDe\" [(ngModel)]=\"data.dtInicio\" autofocus\n                                                class=\"dataHora\" [formatDateTime]=\"mascara.getFormatData\"\n                                                [required]=\"data.reprocessarRegistrosPorPeriodo == 'S'\" [disabled]=\"data.reprocessarRegistrosPorPeriodo == 'N'\">\n                                            </app-data>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"ate\" class=\"required\">{{\"labels.ate\" | translate}}</label>\n                                            <app-data id=\"ate\" name=\"ate\" maxlength=\"1\" [(ngModel)]=\"data.dtFinal\"\n                                                class=\"dataHora\" [formatDateTime]=\"mascara.getFormatData\"\n                                                [required]=\"data.reprocessarRegistrosPorPeriodo == 'S'\" [disabled]=\"data.reprocessarRegistrosPorPeriodo == 'N'\">\n                                            </app-data>\n                                        </div>\n                                    </div>\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\" [disabled]=\"!verificaCheckbox\">\n                                {{ 'buttons.processar' | translate }}\n                            </button>\n                            <button class=\"btn btn-default\" type=\"button\" (click)=\"onCancelar()\">\n                                {{ 'buttons.cancelar' | 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>");

/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada-form/nfe-entrada-form.component.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada-form/nfe-entrada-form.component.ts ***!
  \****************************************************************************************************************/
/*! exports provided: NfeEntradaFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NfeEntradaFormComponent", function() { return NfeEntradaFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../..//shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _nfe_entrada_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../nfe-entrada.model */ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.model.ts");
/* harmony import */ var _nfe_entrada_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../nfe-entrada.constants */ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.constants.ts");
/* harmony import */ var _nfe_entrada_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../nfe-entrada.service */ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.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 NfeEntradaFormComponent = /** @class */ (function (_super) {
    __extends(NfeEntradaFormComponent, _super);
    function NfeEntradaFormComponent(loginService, router, messageService, service, permissoesUtils, funcoesService) {
        var _this = _super.call(this, new _nfe_entrada_constants__WEBPACK_IMPORTED_MODULE_9__["NfeEntradaConstants"](), funcoesService) || this;
        _this.loginService = loginService;
        _this.router = router;
        _this.messageService = messageService;
        _this.service = service;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.data = new _nfe_entrada_model__WEBPACK_IMPORTED_MODULE_8__["NfeEntrada"]();
        _this.mensagens = [];
        _this.constantes = new _nfe_entrada_constants__WEBPACK_IMPORTED_MODULE_9__["NfeEntradaConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_4__["Mascaras"]();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    NfeEntradaFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    NfeEntradaFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    NfeEntradaFormComponent.prototype.onSubmit = function (form) {
        var _this = this;
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_11__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        if (!this.verificaCheckbox) {
            this.messageService.warning("titles.nfeEntrada", "Selecione uma das duas Opções!");
            return;
        }
        this.service.processarOuReprocessar(this.data).subscribe(function (result) {
            _this.mensagens = _this.messageService.validationResult(result);
            if (!result.isValid) {
                _this.messageService.warning("titles.nfeEntrada", _this.mensagens[0]);
            }
            else {
                _this.messageService.success("Sucesso", "messages.operacaoRealizadaComSucesso");
                _this.onCancelar();
            }
        });
    };
    NfeEntradaFormComponent.prototype.onCancelar = function () {
        this.data = new _nfe_entrada_model__WEBPACK_IMPORTED_MODULE_8__["NfeEntrada"]();
    };
    NfeEntradaFormComponent.prototype.checaProcessar = function (dados) {
        if (dados.processarRegistrosNaoIntegrados == 'S') {
            this.data.reprocessarRegistrosPorPeriodo = 'N';
            this.data.dtInicio = null;
            this.data.dtFinal = null;
        }
    };
    NfeEntradaFormComponent.prototype.checaReprocessar = function (dados) {
        if (dados.reprocessarRegistrosPorPeriodo == 'S') {
            this.data.processarRegistrosNaoIntegrados = 'N';
            var currentDate = new Date();
            currentDate.setDate(currentDate.getDate() - 1);
            this.data.dtInicio = currentDate;
            this.data.dtFinal = new Date();
            ;
        }
        else {
            this.data.dtInicio = null;
            this.data.dtFinal = null;
        }
    };
    Object.defineProperty(NfeEntradaFormComponent.prototype, "verificaCheckbox", {
        get: function () {
            return (this.data.processarRegistrosNaoIntegrados == 'S' || this.data.reprocessarRegistrosPorPeriodo == 'S');
        },
        enumerable: true,
        configurable: true
    });
    NfeEntradaFormComponent.ctorParameters = function () { return [
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_6__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__["MessageService"] },
        { type: _nfe_entrada_service__WEBPACK_IMPORTED_MODULE_10__["NfeEntradaService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"] }
    ]; };
    NfeEntradaFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-nfe-entrada-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./nfe-entrada-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada-form/nfe-entrada-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_6__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__["MessageService"],
            _nfe_entrada_service__WEBPACK_IMPORTED_MODULE_10__["NfeEntradaService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"]])
    ], NfeEntradaFormComponent);
    return NfeEntradaFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.constants.ts":
/*!******************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.constants.ts ***!
  \******************************************************************************************/
/*! exports provided: NfeEntradaConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NfeEntradaConstants", function() { return NfeEntradaConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var NfeEntradaConstants = /** @class */ (function () {
    function NfeEntradaConstants() {
        this.sisFormularioId = 65328;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "ESP";
        this.nomeForm = "titles.nfeEntrada";
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
    }
    return NfeEntradaConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.model.ts":
/*!**************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.model.ts ***!
  \**************************************************************************************/
/*! exports provided: NfeEntrada */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NfeEntrada", function() { return NfeEntrada; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var NfeEntrada = /** @class */ (function () {
    function NfeEntrada() {
        this.processarRegistrosNaoIntegrados = "S";
        this.reprocessarRegistrosPorPeriodo = 'N';
    }
    return NfeEntrada;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.module.ts":
/*!***************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.module.ts ***!
  \***************************************************************************************/
/*! exports provided: NfeEntradaModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NfeEntradaModule", function() { return NfeEntradaModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _nfe_entrada_form_nfe_entrada_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./nfe-entrada-form/nfe-entrada-form.component */ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada-form/nfe-entrada-form.component.ts");
/* harmony import */ var _nfe_entrada_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nfe-entrada.routing.module */ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.routing.module.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 NfeEntradaModule = /** @class */ (function () {
    function NfeEntradaModule() {
    }
    NfeEntradaModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _nfe_entrada_routing_module__WEBPACK_IMPORTED_MODULE_3__["NfeEntradaRoutingModule"]],
            declarations: [_nfe_entrada_form_nfe_entrada_form_component__WEBPACK_IMPORTED_MODULE_2__["NfeEntradaFormComponent"]]
        })
    ], NfeEntradaModule);
    return NfeEntradaModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.routing.module.ts":
/*!***********************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.routing.module.ts ***!
  \***********************************************************************************************/
/*! exports provided: NfeEntradaRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NfeEntradaRoutingModule", function() { return NfeEntradaRoutingModule; });
/* 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 _nfe_entrada_form_nfe_entrada_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nfe-entrada-form/nfe-entrada-form.component */ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada-form/nfe-entrada-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: _nfe_entrada_form_nfe_entrada_form_component__WEBPACK_IMPORTED_MODULE_3__["NfeEntradaFormComponent"],
        data: { breadcrumb: "nfeEntrada", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var NfeEntradaRoutingModule = /** @class */ (function () {
    function NfeEntradaRoutingModule() {
    }
    NfeEntradaRoutingModule = __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"]],
        })
    ], NfeEntradaRoutingModule);
    return NfeEntradaRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.service.ts":
/*!****************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/nfe-entrada/nfe-entrada.service.ts ***!
  \****************************************************************************************/
/*! exports provided: NfeEntradaService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NfeEntradaService", function() { return NfeEntradaService; });
/* 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 rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.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 NfeEntradaService = /** @class */ (function (_super) {
    __extends(NfeEntradaService, _super);
    function NfeEntradaService(http) {
        var _this = _super.call(this, http, "vopak/cliVopWebIntegraNfeEntrada") || this;
        _this.http = http;
        return _this;
    }
    NfeEntradaService.prototype.processarOuReprocessar = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/vopak/cliVopWebIntegraNfeEntrada/processarOuReprocessar", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    NfeEntradaService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    NfeEntradaService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], NfeEntradaService);
    return NfeEntradaService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_5__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-vopak-integracoes-nfe-entrada-nfe-entrada-module.js.map