(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-cattalini-movimentos-cancela-oper-com-automacao-cancela-oper-com-automacao-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao-form/cancela-oper-com-automacao-form.component.html":
/*!********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao-form/cancela-oper-com-automacao-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\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                        <app-validacoes></app-validacoes>\n                        <div class=\"row\">\n                            <div class=\"col-md-3 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"checklist\" class=\"required\">{{\"labels.checklist\" | translate}}</label>\n                                    <div class=\"input-group input-group-sm\">\n                                        <input type=\"text\" id=\"checklist\" name=\"checklist\" required=\"true\"\n                                            class=\"form-control form-control-sm\" [(ngModel)]=\"codCheckList\">\n                                        <span class=\"input-group-text\" style=\"cursor:pointer\" (click)=\"getByCodCheckList()\">\n                                            <i class=\"fa fa-search\"></i>\n                                        </span>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-destinatario id=\"destinatarioIdCliente\" name=\"destinatarioIdCliente\"\n                                        label=\"cliente\" modalTitle=\"pesquisaDeCliente\"\n                                        [(ngModel)]=\"data.destinatarioIdCliente\" tipoDestinatario=\"C\" showCgcCpf=\"false\"\n                                        showInscricao=\"false\" [inSelected]=\"data.cliente\" [disabled]=\"true\">\n                                    </app-pesquisa-destinatario>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-5 col-md-5 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-destinatario id=\"destinatarioIdEmitente\" name=\"emitente\"\n                                        label=\"emitente\" modalTitle=\"pesquisaDeExportador\"\n                                        [(ngModel)]=\"data.destinatarioIdEmitente\" tipoDestinatario=\"C\"\n                                        showCgcCpf=\"false\" showInscricao=\"false\" [inSelected]=\"data.emitente\"\n                                        [disabled]=\"true\">\n                                    </app-pesquisa-destinatario>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-destinatario id=\"transportador\" name=\"transportador\"\n                                        label=\"transportador\" modalTitle=\"pesquisaDeTransportadora\"\n                                        [(ngModel)]=\"data.destinatarioIdTransportadora\"\n                                        [inSelected]=\"data.transportadora\" tipoDestinatario=\"T\" showCgcCpf=\"false\"\n                                        showInscricao=\"false\" [disabled]=\"true\">\n                                    </app-pesquisa-destinatario>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-motorista id=\"motorista\" name=\"motorista\" label=\"motorista\"\n                                        modalTitle=\"pesquisaMotorista\" [showCpf]=\"false\" [(ngModel)]=\"data.motoristaId\"\n                                        [inputMotorista]=\"data.motorista\" [disabled]=\"true\">\n                                    </app-pesquisa-motorista>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3\">\n                                <label for=\"placaCavalo\">{{ 'labels.placaCavalo' | translate }}</label>\n                                <input type=\"text\" class=\"form-control-sm form-control\" name=\"placaCavalo\"\n                                    id=\"placaCavalo\" [(ngModel)]=\"data.placaCavalo\" readonly>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3\">\n                                <label for=\"placaCarreta1\">{{ 'labels.placaCarreta' | translate }}</label>\n                                <input type=\"text\" class=\"form-control-sm form-control\" name=\"placaCarreta1\"\n                                    id=\"placaCarreta1\" [(ngModel)]=\"data.placaCarreta1\" readonly>\n                            </div>\n                            <div class=\"col-lg-3\">\n                                <label>&nbsp;</label>\n                                <input type=\"text\" class=\"form-control-sm form-control\" name=\"placaCarreta2\"\n                                    id=\"placaCarreta2\" [(ngModel)]=\"data.placaCarreta2\" readonly>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6\">\n                                <label for=\"motivo\" class=\"required\">{{ 'labels.motivo' | translate }}</label>\n                                <input type=\"text\" class=\"form-control-sm form-control\" name=\"motivo\" id=\"motivo\"\n                                    [(ngModel)]=\"filtro.motivoCanc\" required=\"true\">\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-sm-12\">\n                            </div>\n                        </div>\n                        <div class=\"form-group mt-4\">\n                            <button class=\"btn btn-success mr-2\" type=\"submit\">\n                                {{ 'buttons.cancelaOperacao' | 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/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao-form/cancela-oper-com-automacao-form.component.ts":
/*!****************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao-form/cancela-oper-com-automacao-form.component.ts ***!
  \****************************************************************************************************************************************************************/
/*! exports provided: CancelaOperComAutomacaoFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CancelaOperComAutomacaoFormComponent", function() { return CancelaOperComAutomacaoFormComponent; });
/* 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 app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_6__ = __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_7__ = __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 _cancela_oper_com_automacao_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../cancela-oper-com-automacao.constants */ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.constants.ts");
/* harmony import */ var _cancela_oper_com_automacao_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../cancela-oper-com-automacao.service */ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.service.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.service */ "./src/app/pages/cadastro/destinatario/destinatario.service.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var app_pages_cadastro_motorista_motorista_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/pages/cadastro/motorista/motorista.service */ "./src/app/pages/cadastro/motorista/motorista.service.ts");
/* harmony import */ var app_pages_cadastro_motorista_motorista_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/pages/cadastro/motorista/motorista.model */ "./src/app/pages/cadastro/motorista/motorista.model.ts");
/* harmony import */ var _cancela_oper_com_automacao_model__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../cancela-oper-com-automacao.model */ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.model.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 CancelaOperComAutomacaoFormComponent = /** @class */ (function (_super) {
    __extends(CancelaOperComAutomacaoFormComponent, _super);
    function CancelaOperComAutomacaoFormComponent(router, messageService, permissoesUtils, funcoesService, service, destinatarioService, motoristaService) {
        var _this = _super.call(this, new _cancela_oper_com_automacao_constants__WEBPACK_IMPORTED_MODULE_8__["CancelaOperComAutomacaoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.service = service;
        _this.destinatarioService = destinatarioService;
        _this.motoristaService = motoristaService;
        _this.data = new _cancela_oper_com_automacao_model__WEBPACK_IMPORTED_MODULE_15__["CancelaOperComAutomacao"]();
        _this.filtro = new _cancela_oper_com_automacao_model__WEBPACK_IMPORTED_MODULE_15__["CancelaOperComAutomacaoVo"]();
        _this.mensagens = [];
        _this.constantes = new _cancela_oper_com_automacao_constants__WEBPACK_IMPORTED_MODULE_8__["CancelaOperComAutomacaoConstants"]();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_6__["Mascaras"]();
        _this.cancelaOperacao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 2, function () {
                _this.filtro.regControle = _this.data.regControle;
                _this.messageService.confirm("titles.cancelaOperComAutomacao", "messages.desejaCancelarAedicao", null, function () { return _this.service.cancelaOperacao(_this.filtro).subscribe(function (resp) {
                    if (!resp.isValid) {
                        _this.mensagens = _this.messageService.validationResult(resp);
                        _this.mensagens.forEach(function (m) { return _this.messageService.warning("titles.cancelaOperComAutomacao", m); });
                    }
                    else {
                        _this.data = new _cancela_oper_com_automacao_model__WEBPACK_IMPORTED_MODULE_15__["CancelaOperComAutomacao"]();
                        _this.data.cliente = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_12__["Destinatario"]();
                        _this.data.emitente = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_12__["Destinatario"]();
                        _this.data.transportadora = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_12__["Destinatario"]();
                        _this.data.motorista = new app_pages_cadastro_motorista_motorista_model__WEBPACK_IMPORTED_MODULE_14__["Motorista"]();
                        _this.filtro.motivoCanc = null;
                        _this.codCheckList = null;
                        _this.messageService.success("titles.cancelaOperComAutomacao", "messages.pedidoFaturamentoCanceladoSucesso");
                    }
                }); });
            });
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    CancelaOperComAutomacaoFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { }, function () { return _this.permissoesUtils.back(); }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'cancelaOperacao', func: function () { return _this.cancelaOperacao; } }
        ]);
    };
    CancelaOperComAutomacaoFormComponent.prototype.onSubmit = function (form) {
        if (form.invalid) {
            app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
            this.funcoesService.backToTop();
            return;
        }
        this.cancelaOperacao();
    };
    CancelaOperComAutomacaoFormComponent.prototype.getByCodCheckList = function () {
        var _this = this;
        if (!this.codCheckList) {
            return this.messageService.warning("titles.cancelaOperComAutomacao", "messages.informeCheckList");
        }
        this.service.getByCodCheckList(this.codCheckList).subscribe(function (result) {
            if (!result) {
                _this.codCheckList = null;
                return _this.messageService.warning("titles.cancelaOperComAutomacao", "messages.checkListNaoLocalizado");
            }
            else {
                _this.data = result;
                Object(rxjs__WEBPACK_IMPORTED_MODULE_11__["forkJoin"])([
                    _this.destinatarioService.getById(result.destinatarioIdCliente),
                    _this.destinatarioService.getById(result.destinatarioIdEmitente),
                    _this.destinatarioService.getById(result.destinatarioIdTransportadora),
                    _this.motoristaService.getById(result.motoristaId)
                ]).subscribe(function (resp) {
                    _this.data.cliente = !!resp[0] ? resp[0] : new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_12__["Destinatario"]();
                    _this.data.emitente = !!resp[1] ? resp[1] : new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_12__["Destinatario"]();
                    _this.data.transportadora = !!resp[2] ? resp[2] : new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_12__["Destinatario"]();
                    _this.data.motorista = !!resp[3] ? resp[3] : new app_pages_cadastro_motorista_motorista_model__WEBPACK_IMPORTED_MODULE_14__["Motorista"]();
                });
            }
        });
    };
    CancelaOperComAutomacaoFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    CancelaOperComAutomacaoFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _cancela_oper_com_automacao_service__WEBPACK_IMPORTED_MODULE_9__["CancelaOperComAutomacaoService"] },
        { type: app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_10__["DestinatarioService"] },
        { type: app_pages_cadastro_motorista_motorista_service__WEBPACK_IMPORTED_MODULE_13__["MotoristaService"] }
    ]; };
    CancelaOperComAutomacaoFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-cancela-oper-com-automacao-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./cancela-oper-com-automacao-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao-form/cancela-oper-com-automacao-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _cancela_oper_com_automacao_service__WEBPACK_IMPORTED_MODULE_9__["CancelaOperComAutomacaoService"],
            app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_10__["DestinatarioService"],
            app_pages_cadastro_motorista_motorista_service__WEBPACK_IMPORTED_MODULE_13__["MotoristaService"]])
    ], CancelaOperComAutomacaoFormComponent);
    return CancelaOperComAutomacaoFormComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.constants.ts":
/*!***************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.constants.ts ***!
  \***************************************************************************************************************************/
/*! exports provided: CancelaOperComAutomacaoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CancelaOperComAutomacaoConstants", function() { return CancelaOperComAutomacaoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var CancelaOperComAutomacaoConstants = /** @class */ (function () {
    function CancelaOperComAutomacaoConstants() {
        this.sisFormularioId = 375431;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.cancelaOperComAutomacao";
        this.reportId = "";
        this.reportTitulo = { "titulo": "Cancelar Operação com Automação", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'cancelaOperacao', action: "cancelaOperacao", icon: "icon-alert", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
    }
    return CancelaOperComAutomacaoConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.model.ts":
/*!***********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.model.ts ***!
  \***********************************************************************************************************************/
/*! exports provided: CancelaOperComAutomacaoVo, CancelaOperComAutomacao */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CancelaOperComAutomacaoVo", function() { return CancelaOperComAutomacaoVo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CancelaOperComAutomacao", function() { return CancelaOperComAutomacao; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var CancelaOperComAutomacaoVo = /** @class */ (function () {
    function CancelaOperComAutomacaoVo() {
    }
    return CancelaOperComAutomacaoVo;
}());

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



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.module.ts":
/*!************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.module.ts ***!
  \************************************************************************************************************************/
/*! exports provided: CancelaOperComAutomacaoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CancelaOperComAutomacaoModule", function() { return CancelaOperComAutomacaoModule; });
/* 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 _cancela_oper_com_automacao_form_cancela_oper_com_automacao_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cancela-oper-com-automacao-form/cancela-oper-com-automacao-form.component */ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao-form/cancela-oper-com-automacao-form.component.ts");
/* harmony import */ var _cancela_oper_com_automacao_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cancela-oper-com-automacao.routing.module */ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.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 CancelaOperComAutomacaoModule = /** @class */ (function () {
    function CancelaOperComAutomacaoModule() {
    }
    CancelaOperComAutomacaoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _cancela_oper_com_automacao_routing_module__WEBPACK_IMPORTED_MODULE_3__["CancelaOperComAutomacaoRoutingModule"]],
            declarations: [_cancela_oper_com_automacao_form_cancela_oper_com_automacao_form_component__WEBPACK_IMPORTED_MODULE_2__["CancelaOperComAutomacaoFormComponent"]]
        })
    ], CancelaOperComAutomacaoModule);
    return CancelaOperComAutomacaoModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.routing.module.ts":
/*!********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.routing.module.ts ***!
  \********************************************************************************************************************************/
/*! exports provided: CancelaOperComAutomacaoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CancelaOperComAutomacaoRoutingModule", function() { return CancelaOperComAutomacaoRoutingModule; });
/* 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 _cancela_oper_com_automacao_form_cancela_oper_com_automacao_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cancela-oper-com-automacao-form/cancela-oper-com-automacao-form.component */ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao-form/cancela-oper-com-automacao-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: _cancela_oper_com_automacao_form_cancela_oper_com_automacao_form_component__WEBPACK_IMPORTED_MODULE_3__["CancelaOperComAutomacaoFormComponent"],
        data: {
            breadcrumb: "cancelaOperComAutomacao",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index }
        }
    },
];
var CancelaOperComAutomacaoRoutingModule = /** @class */ (function () {
    function CancelaOperComAutomacaoRoutingModule() {
    }
    CancelaOperComAutomacaoRoutingModule = __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"]],
        })
    ], CancelaOperComAutomacaoRoutingModule);
    return CancelaOperComAutomacaoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.service.ts":
/*!*************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/movimentos/cancela-oper-com-automacao/cancela-oper-com-automacao.service.ts ***!
  \*************************************************************************************************************************/
/*! exports provided: CancelaOperComAutomacaoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CancelaOperComAutomacaoService", function() { return CancelaOperComAutomacaoService; });
/* 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 environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/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 CancelaOperComAutomacaoService = /** @class */ (function (_super) {
    __extends(CancelaOperComAutomacaoService, _super);
    function CancelaOperComAutomacaoService(http) {
        return _super.call(this, http, "cattalini/cancelaOperComAutomacao") || this;
    }
    CancelaOperComAutomacaoService.prototype.getByCodCheckList = function (data) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/cattalini/cancelaOperComAutomacao/codCheckList/" + data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    CancelaOperComAutomacaoService.prototype.cancelaOperacao = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/cattalini/cancelaOperComAutomacao/CancelaOperacao", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    CancelaOperComAutomacaoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    CancelaOperComAutomacaoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], CancelaOperComAutomacaoService);
    return CancelaOperComAutomacaoService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_5__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-cattalini-movimentos-cancela-oper-com-automacao-cancela-oper-com-automacao-module.js.map