(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-vopak-integracoes-xml-nota-fiscal-de-saida-xml-nota-fiscal-de-saida-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-form.component.html":
/*!***********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-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\">\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>\n");

/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-form.component.ts":
/*!*******************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-form.component.ts ***!
  \*******************************************************************************************************************************************************/
/*! exports provided: XmlNotaFiscalDeSaidaFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "XmlNotaFiscalDeSaidaFormComponent", function() { return XmlNotaFiscalDeSaidaFormComponent; });
/* 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 app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _xml_nota_fiscal_de_saida_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../xml-nota-fiscal-de-saida.model */ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.model.ts");
/* harmony import */ var _xml_nota_fiscal_de_saida_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../xml-nota-fiscal-de-saida.service */ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.service.ts");
/* harmony import */ var _xml_nota_fiscal_de_saida_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../xml-nota-fiscal-de-saida.constants */ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.constants.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 __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};












var XmlNotaFiscalDeSaidaFormComponent = /** @class */ (function (_super) {
    __extends(XmlNotaFiscalDeSaidaFormComponent, _super);
    function XmlNotaFiscalDeSaidaFormComponent(loginService, router, messageService, service, permissoesUtils, funcoesService) {
        var _this = _super.call(this, new _xml_nota_fiscal_de_saida_constants__WEBPACK_IMPORTED_MODULE_11__["XmlNotaFiscalDeSaidaConstants"](), funcoesService) || this;
        _this.loginService = loginService;
        _this.router = router;
        _this.messageService = messageService;
        _this.service = service;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.data = new _xml_nota_fiscal_de_saida_model__WEBPACK_IMPORTED_MODULE_9__["XmlNotaFiscalDeSaida"]();
        _this.mensagens = [];
        _this.constantes = new _xml_nota_fiscal_de_saida_constants__WEBPACK_IMPORTED_MODULE_11__["XmlNotaFiscalDeSaidaConstants"]();
        _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;
    }
    XmlNotaFiscalDeSaidaFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    XmlNotaFiscalDeSaidaFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    XmlNotaFiscalDeSaidaFormComponent.prototype.onSubmit = function (form) {
        return __awaiter(this, void 0, void 0, function () {
            var showFim, ret;
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_8__["EventEmitterService"].get("formError").emit(form);
                        if (form.invalid) {
                            return [2 /*return*/];
                        }
                        if (!this.verificaCheckbox) {
                            this.messageService.warning("titles.xmlNotaFiscalDeSaida", "Selecione uma das duas Opções!");
                            return [2 /*return*/];
                        }
                        showFim = "N";
                        return [4 /*yield*/, this.service.processarOuReprocessar(this.data)];
                    case 1:
                        ret = _a.sent();
                        if (ret.length > 1) {
                            ret.forEach(function (item) {
                                if (!item.validationResult.isValid) {
                                    showFim = "S";
                                    var mesLabel = JSON.parse(item.validationResult.erros[0].message).Values;
                                    var message = _this.messageService.translate(mesLabel[0]);
                                    _this.messageService.warning("titles.entradaVeiculo", JSON.parse(item.validationResult.erros[0].message).Key, { name: message });
                                }
                            });
                            if (showFim !== "S") {
                                this.messageService.success("Sucesso", "messages.fimProcessamento");
                                this.onCancelar();
                            }
                        }
                        else {
                            if (!ret[0].validationResult.isValid) {
                                this.messageService.warning("titles.entradaVeiculo", ret[0].validationResult.erros[0].message);
                            }
                            else {
                                this.messageService.success("Sucesso", "messages.fimProcessamento");
                                this.onCancelar();
                            }
                        }
                        return [2 /*return*/];
                }
            });
        });
    };
    XmlNotaFiscalDeSaidaFormComponent.prototype.onCancelar = function () {
        this.data = new _xml_nota_fiscal_de_saida_model__WEBPACK_IMPORTED_MODULE_9__["XmlNotaFiscalDeSaida"]();
    };
    XmlNotaFiscalDeSaidaFormComponent.prototype.checaProcessar = function (dados) {
        if (dados.processarRegistrosNaoIntegrados === 'S') {
            this.data.reprocessarRegistrosPorPeriodo = 'N';
        }
    };
    XmlNotaFiscalDeSaidaFormComponent.prototype.checaReprocessar = function (dados) {
        if (dados.reprocessarRegistrosPorPeriodo === 'S') {
            this.data.processarRegistrosNaoIntegrados = 'N';
        }
    };
    Object.defineProperty(XmlNotaFiscalDeSaidaFormComponent.prototype, "verificaCheckbox", {
        get: function () {
            return (this.data.processarRegistrosNaoIntegrados === 'S' || this.data.reprocessarRegistrosPorPeriodo === 'S');
        },
        enumerable: true,
        configurable: true
    });
    XmlNotaFiscalDeSaidaFormComponent.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: _xml_nota_fiscal_de_saida_service__WEBPACK_IMPORTED_MODULE_10__["XmlNotaFiscalDeSaidaService"] },
        { 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"] }
    ]; };
    XmlNotaFiscalDeSaidaFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-xml-nota-fiscal-de-saida-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./xml-nota-fiscal-de-saida-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-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"],
            _xml_nota_fiscal_de_saida_service__WEBPACK_IMPORTED_MODULE_10__["XmlNotaFiscalDeSaidaService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"]])
    ], XmlNotaFiscalDeSaidaFormComponent);
    return XmlNotaFiscalDeSaidaFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.constants.ts":
/*!********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.constants.ts ***!
  \********************************************************************************************************************/
/*! exports provided: XmlNotaFiscalDeSaidaConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.model.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.model.ts ***!
  \****************************************************************************************************************/
/*! exports provided: XmlNotaFiscalDeSaida, XmlNotaFiscalDeSaidaDto */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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

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



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.module.ts":
/*!*****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.module.ts ***!
  \*****************************************************************************************************************/
/*! exports provided: XmlNotaFiscalDeSaidaModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "XmlNotaFiscalDeSaidaModule", function() { return XmlNotaFiscalDeSaidaModule; });
/* 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 _xml_nota_fiscal_de_saida_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./xml-nota-fiscal-de-saida.routing.module */ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.routing.module.ts");
/* harmony import */ var _xml_nota_fiscal_de_saida_form_xml_nota_fiscal_de_saida_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-form.component */ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-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 XmlNotaFiscalDeSaidaModule = /** @class */ (function () {
    function XmlNotaFiscalDeSaidaModule() {
    }
    XmlNotaFiscalDeSaidaModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _xml_nota_fiscal_de_saida_routing_module__WEBPACK_IMPORTED_MODULE_2__["XmlNotaFiscalDeSaidaRoutingModule"]],
            declarations: [_xml_nota_fiscal_de_saida_form_xml_nota_fiscal_de_saida_form_component__WEBPACK_IMPORTED_MODULE_3__["XmlNotaFiscalDeSaidaFormComponent"]]
        })
    ], XmlNotaFiscalDeSaidaModule);
    return XmlNotaFiscalDeSaidaModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.routing.module.ts":
/*!*************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.routing.module.ts ***!
  \*************************************************************************************************************************/
/*! exports provided: XmlNotaFiscalDeSaidaRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "XmlNotaFiscalDeSaidaRoutingModule", function() { return XmlNotaFiscalDeSaidaRoutingModule; });
/* 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 _xml_nota_fiscal_de_saida_form_xml_nota_fiscal_de_saida_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-form.component */ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida-form/xml-nota-fiscal-de-saida-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: _xml_nota_fiscal_de_saida_form_xml_nota_fiscal_de_saida_form_component__WEBPACK_IMPORTED_MODULE_3__["XmlNotaFiscalDeSaidaFormComponent"],
        data: { breadcrumb: "xmlNotaFiscalDeSaida", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var XmlNotaFiscalDeSaidaRoutingModule = /** @class */ (function () {
    function XmlNotaFiscalDeSaidaRoutingModule() {
    }
    XmlNotaFiscalDeSaidaRoutingModule = __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"]],
        })
    ], XmlNotaFiscalDeSaidaRoutingModule);
    return XmlNotaFiscalDeSaidaRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.service.ts":
/*!******************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/xml-nota-fiscal-de-saida/xml-nota-fiscal-de-saida.service.ts ***!
  \******************************************************************************************************************/
/*! exports provided: XmlNotaFiscalDeSaidaService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "XmlNotaFiscalDeSaidaService", function() { return XmlNotaFiscalDeSaidaService; });
/* 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 XmlNotaFiscalDeSaidaService = /** @class */ (function (_super) {
    __extends(XmlNotaFiscalDeSaidaService, _super);
    function XmlNotaFiscalDeSaidaService(http) {
        var _this = _super.call(this, http, "vopak/cliVopWebIntegraNotaServico") || this;
        _this.http = http;
        return _this;
    }
    XmlNotaFiscalDeSaidaService.prototype.processarOuReprocessar = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/vopak/cliVopWebIntegraXmlNotaSaida/processarOuReprocessar", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError)).toPromise();
    };
    XmlNotaFiscalDeSaidaService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    XmlNotaFiscalDeSaidaService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], XmlNotaFiscalDeSaidaService);
    return XmlNotaFiscalDeSaidaService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_5__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-vopak-integracoes-xml-nota-fiscal-de-saida-xml-nota-fiscal-de-saida-module.js.map