(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-aldc-movimentos-reanalise-veiculo-reanalise-veiculo-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.component.html":
/*!******************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.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 [botoesComando]=\"constantes.listaForm\" [formAction]=\"actionForm\" [itemData]=\"data.regPlaneja\"\n    [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <app-card-container tituloCard=\"\">\n        <div class=\"row\">\n            <div class=\"col-lg-2 col-md-4 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                    <label>{{'labels.agendamento' | translate}}</label>\n                    <input type=\"text\" name=\"regPlaneja\" class=\"form-control form-control-sm\"\n                        value=\"{{data?.regPlaneja}}\" disabled>\n                </div>\n            </div>\n        </div>\n        <div class=\"row\">\n            <div class=\"col-lg-4 col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                    <app-input-description label=\"produto\" [valueID]=\"data?.materialId\"\n                        [valueDescription]=\"data?.materialFantasia\">\n                    </app-input-description>\n                </div>\n            </div>\n        </div>\n    </app-card-container>\n\n    <ng-container>\n        <form class=\"form\" #formItem=\"ngForm\" (ngSubmit)=\"onSubmit()\" autocomplete=\"off\">\n            <app-validacoes></app-validacoes>\n            <div class=\"row\">\n                <div *ngFor=\"let cpd of data.tesClassificacaoAnalise; let i = index\" class=\"col-lg-4 col-md-4 col-sm-12\">\n                    <app-analise-campos-dinamicos name=\"cpd{{i}}\" [campoDinamico]=\"cpd\" [(ngModel)]=\"cpd.valor\"\n                        [required]=\"true\" [exibeLegenda]=\"true\">\n                    </app-analise-campos-dinamicos>\n                </div>\n            </div>\n            <div class=\"row mt-4\">\n                <div class=\"col-12\">\n                    <div class=\"form-group\">\n                        <button class=\"btn btn-success mr-2\" type=\"submit\">\n                            {{ 'buttons.salvar' | translate }}\n                        </button>\n                        <button class=\"btn btn-default mr-2\" (click)=\"cancelar()\" type=\"button\"\n                                [disabled]=\"funcoesService.isDetail(actionForm)\">\n                            {{ 'buttons.cancelar' | translate }}\n                        </button>\n                    </div>\n                </div>\n            </div>\n        </form>\n    </ng-container>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.html":
/*!**************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.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 [botoesComando]=\"constantes.listaIndex\" [formAction]=\"actionForm\"\n    [itemData]=\"data.cliTesClassificacaoId\" [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <table id=\"dtReanaliseVeiculo\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>");

/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.component.ts":
/*!**************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.component.ts ***!
  \**************************************************************************************************************************************************/
/*! exports provided: ReanaliseVeiculoClassificacaoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculoClassificacaoComponent", function() { return ReanaliseVeiculoClassificacaoComponent; });
/* 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 _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __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_4__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.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 _login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/funcoes/array-utils/array-utils.static.service */ "./src/app/shared/services/funcoes/array-utils/array-utils.static.service.ts");
/* harmony import */ var app_pages_cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/pages/cadastro/material-caract/material-caract.service */ "./src/app/pages/cadastro/material-caract/material-caract.service.ts");
/* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/fesm5/ngx-toastr.js");
/* harmony import */ var _reanalise_veiculo_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../reanalise-veiculo.model */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.model.ts");
/* harmony import */ var _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../reanalise-veiculo.constants */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.constants.ts");
/* harmony import */ var _reanalise_veiculo_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../reanalise-veiculo.service */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.service.ts");
/* harmony import */ var _reanalise_veiculo_classificacao_validation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./reanalise-veiculo-classificacao.validation */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.validation.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.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 __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 ReanaliseVeiculoClassificacaoComponent = /** @class */ (function (_super) {
    __extends(ReanaliseVeiculoClassificacaoComponent, _super);
    function ReanaliseVeiculoClassificacaoComponent(router, service, datatablesService, funcoesService, messageService, permissoesUtils, loginService, materialCaractService, toastrService, route) {
        var _this = _super.call(this, new _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_13__["ReanaliseVeiculoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.service = service;
        _this.datatablesService = datatablesService;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.materialCaractService = materialCaractService;
        _this.toastrService = toastrService;
        _this.route = route;
        _this.data = new _reanalise_veiculo_model__WEBPACK_IMPORTED_MODULE_12__["AutomacaoClassificacao"]();
        _this.constantes = new _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_13__["ReanaliseVeiculoConstants"]();
        _this.mensagens = [];
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/aldc/movimentos/reanaliseVeiculo";
        _this.refresh = function () {
            _this.getDados();
        };
        _this.desativarAtivarIntegracao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 3, function () {
                _this.service.desativarIntegracao = !_this.service.desativarIntegracao;
                _this.trataTitleButton();
            });
        };
        _this.login = loginService.getLogin();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        _this.validation = new _reanalise_veiculo_classificacao_validation__WEBPACK_IMPORTED_MODULE_15__["ReanaliseVeiculoClassificacaoValidation"](messageService, materialCaractService);
        return _this;
    }
    ReanaliseVeiculoClassificacaoComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_8__["ActionForm"].index;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            if (!_this.loginService.isTokenExpired()) {
                _this.refresh();
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    ReanaliseVeiculoClassificacaoComponent.prototype.getDados = function () {
        var _this = this;
        this.cliTesClassificacaoId = Number(this.route.snapshot.paramMap.get('id'));
        console.log(this.cliTesClassificacaoId);
        this.service.getDadosClassificacao(this.cliTesClassificacaoId).subscribe(function (resp) {
            if (!!resp && resp.regPlaneja > 0) {
                _this.data = resp;
            }
            else {
                _this.messageService.warning("titles.reanaliseVeiculo", "messages.nenhumRegistroEncontrado");
                _this.data = new _reanalise_veiculo_model__WEBPACK_IMPORTED_MODULE_12__["AutomacaoClassificacao"]();
                return;
            }
        });
    };
    ReanaliseVeiculoClassificacaoComponent.prototype.edit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_8__["ActionForm"].edit;
        });
    };
    ReanaliseVeiculoClassificacaoComponent.prototype.onSubmit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _this = this;
            return __generator(this, function (_a) {
                this.data.flagManual = 'S';
                this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_8__["ActionForm"].index;
                if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_16__["NumberUtilsStaticService"].isNotPositive(this.data.regPlaneja) || !app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_9__["ArrayUtilsStaticService"].any(this.data.tesClassificacaoAnalise)) {
                    this.messageService.warning("titles.reanaliseVeiculo", "messages.naoExistemDados");
                    return [2 /*return*/];
                }
                this.service.aprovarClassificacao(this.data).subscribe(function (result) {
                    _this.mensagens = _this.messageService.validationResult(result);
                    if (result != null && !result.isValid) {
                        _this.toastrService.warning(_this.mensagens[0], _this.messageService.translate("titles.re"));
                    }
                    else {
                        _this.messageService.saveSuccess("titles.reanaliseVeiculo");
                        _this.getDados();
                    }
                });
                return [2 /*return*/];
            });
        });
    };
    Object.defineProperty(ReanaliseVeiculoClassificacaoComponent.prototype, "operacaoManual", {
        get: function () {
            return this.funcoesService.isEdit(this.actionForm) || this.service.desativarIntegracao;
        },
        enumerable: true,
        configurable: true
    });
    ReanaliseVeiculoClassificacaoComponent.prototype.trataTitleButton = function () {
        var idx = this.constantes.listaIndex.findIndex(function (c) { return c.action === 'desativarAtivarIntegracao'; });
        if (idx >= 0) {
            this.constantes.listaIndex[idx].title = this.service.desativarIntegracao ? "AtivarIntegracao" : "DesativarIntegracao";
        }
    };
    ReanaliseVeiculoClassificacaoComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    ReanaliseVeiculoClassificacaoComponent.prototype.back = function () {
        this.router.navigate([this.target + "/" + this.pageRoute]);
    };
    ReanaliseVeiculoClassificacaoComponent.prototype.cancelar = function () {
        var _this = this;
        this.messageService.confirm("titles.reanaliseVeiculo", "messages.confirmaCancelarReanalisaVeiculo", null, function () {
            _this.service.cancelarReanaliseVeiculo(_this.cliTesClassificacaoId).subscribe(function (result) {
                _this.mensagens = _this.messageService.validationResult(result);
                if (result != null && !result.isValid) {
                    _this.toastrService.warning(_this.mensagens[0], _this.messageService.translate("titles.reanaliseVeiculo"));
                }
                else {
                    _this.messageService.saveSuccess("messages.reanaliseVeiculoCanceladaComSucesso", "titles.reanaliseVeiculo");
                    _this.back();
                }
            });
        });
    };
    ReanaliseVeiculoClassificacaoComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _reanalise_veiculo_service__WEBPACK_IMPORTED_MODULE_14__["ReanaliseVeiculoService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] },
        { type: app_pages_cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_10__["MaterialCaractService"] },
        { type: ngx_toastr__WEBPACK_IMPORTED_MODULE_11__["ToastrService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] }
    ]; };
    ReanaliseVeiculoClassificacaoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-reanalise-veiculo-classificacao",
            template: __importDefault(__webpack_require__(/*! raw-loader!./reanalise-veiculo-classificacao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _reanalise_veiculo_service__WEBPACK_IMPORTED_MODULE_14__["ReanaliseVeiculoService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"],
            app_pages_cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_10__["MaterialCaractService"],
            ngx_toastr__WEBPACK_IMPORTED_MODULE_11__["ToastrService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"]])
    ], ReanaliseVeiculoClassificacaoComponent);
    return ReanaliseVeiculoClassificacaoComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.validation.ts":
/*!***************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.validation.ts ***!
  \***************************************************************************************************************************************************/
/*! exports provided: ReanaliseVeiculoClassificacaoValidation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculoClassificacaoValidation", function() { return ReanaliseVeiculoClassificacaoValidation; });
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_pages_cadastro_material_caract_material_caract_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/material-caract/material-caract.model */ "./src/app/pages/cadastro/material-caract/material-caract.model.ts");
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 ReanaliseVeiculoClassificacaoValidation = /** @class */ (function () {
    function ReanaliseVeiculoClassificacaoValidation(message, materialCaractService) {
        this.message = message;
        this.materialCaractService = materialCaractService;
        this.rs = [];
        this.materialCaract = new app_pages_cadastro_material_caract_material_caract_model__WEBPACK_IMPORTED_MODULE_2__["MaterialCaract"]();
    }
    ReanaliseVeiculoClassificacaoValidation.prototype.getValidations = function (data) {
        return __awaiter(this, void 0, void 0, function () {
            var validaAnalise;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        this.rs = [];
                        return [4 /*yield*/, this.validaAnalise(data)];
                    case 1:
                        validaAnalise = _a.sent();
                        if (!validaAnalise.isValid) {
                            this.rs.push(validaAnalise);
                        }
                        return [2 /*return*/, this.rs.filter(function (v) { return v["isValid"] === false; })];
                }
            });
        });
    };
    ReanaliseVeiculoClassificacaoValidation.prototype.test = function (f) {
        return __awaiter(this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                if (!!f)
                    this.rs.push(f);
                return [2 /*return*/];
            });
        });
    };
    ReanaliseVeiculoClassificacaoValidation.prototype.validaAnalise = function (data, showError) {
        if (showError === void 0) { showError = false; }
        return __awaiter(this, void 0, void 0, function () {
            var r, _a;
            return __generator(this, function (_b) {
                switch (_b.label) {
                    case 0:
                        r = { "isValid": true, "message": "" };
                        _a = this;
                        return [4 /*yield*/, this.materialCaractService.GetComplementoMaterial(data.materialId, app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["StringUtilsStaticService"].toString(data.caractTipica.caractTipicaId)).toPromise()];
                    case 1:
                        _a.materialCaract = _b.sent();
                        if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(data.valor) < app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(this.materialCaract.valorReferenciaInicio)
                            || app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(data.valor) > app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(this.materialCaract.valorReferenciaFim)) {
                            r.isValid = false;
                            r.message = this.message.translate("messages.foraDoIntervaloReferencia");
                        }
                        if (!r.isValid && showError) {
                            this.message.warning("titles.solicitacaoCartaCorrecao", r.message);
                        }
                        return [2 /*return*/, r];
                }
            });
        });
    };
    return ReanaliseVeiculoClassificacaoValidation;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.scss":
/*!************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.scss ***!
  \************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".chk input {\n  display: none;\n}\n\n.chk span {\n  width: 12px;\n  height: 12px;\n  display: block;\n  background-color: #fff;\n  border: 1px solid #DDD;\n  border-radius: 100%;\n}\n\nspan.red {\n  background-color: #c03;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWxkYy9tb3ZpbWVudG9zL3JlYW5hbGlzZS12ZWljdWxvL3JlYW5hbGlzZS12ZWljdWxvLWluZGV4L0M6XFxDb3Jwb3JhdGVcXENvcnBvcmF0ZVdlYkRlc2VudlxcX3VuaXNvbHV0aW9uL3NyY1xcYXBwXFxwYWdlc1xcZXNwZWNpZmljb3NcXGFsZGNcXG1vdmltZW50b3NcXHJlYW5hbGlzZS12ZWljdWxvXFxyZWFuYWxpc2UtdmVpY3Vsby1pbmRleFxccmVhbmFsaXNlLXZlaWN1bG8taW5kZXguY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL2FsZGMvbW92aW1lbnRvcy9yZWFuYWxpc2UtdmVpY3Vsby9yZWFuYWxpc2UtdmVpY3Vsby1pbmRleC9yZWFuYWxpc2UtdmVpY3Vsby1pbmRleC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGFBQUE7QUNDSjs7QURFQTtFQUNJLFdBQUE7RUFDQSxZQUFBO0VBQ0EsY0FBQTtFQUNBLHNCQUFBO0VBQ0Esc0JBQUE7RUFDQSxtQkFBQTtBQ0NKOztBREVBO0VBQ0ksc0JBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL2FsZGMvbW92aW1lbnRvcy9yZWFuYWxpc2UtdmVpY3Vsby9yZWFuYWxpc2UtdmVpY3Vsby1pbmRleC9yZWFuYWxpc2UtdmVpY3Vsby1pbmRleC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jaGsgaW5wdXQge1xyXG4gICAgZGlzcGxheTogbm9uZTtcclxufVxyXG5cclxuLmNoayBzcGFuIHtcclxuICAgIHdpZHRoOiAxMnB4O1xyXG4gICAgaGVpZ2h0OiAxMnB4O1xyXG4gICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmO1xyXG4gICAgYm9yZGVyOiAxcHggc29saWQgI0RERDtcclxuICAgIGJvcmRlci1yYWRpdXM6IDEwMCU7XHJcbn1cclxuXHJcbnNwYW4ucmVkIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICNjMDM7XHJcbn0iLCIuY2hrIGlucHV0IHtcbiAgZGlzcGxheTogbm9uZTtcbn1cblxuLmNoayBzcGFuIHtcbiAgd2lkdGg6IDEycHg7XG4gIGhlaWdodDogMTJweDtcbiAgZGlzcGxheTogYmxvY2s7XG4gIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNEREQ7XG4gIGJvcmRlci1yYWRpdXM6IDEwMCU7XG59XG5cbnNwYW4ucmVkIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2MwMztcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.ts":
/*!**********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.ts ***!
  \**********************************************************************************************************************************/
/*! exports provided: ReanaliseVeiculoIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculoIndexComponent", function() { return ReanaliseVeiculoIndexComponent; });
/* 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 _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 _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../reanalise-veiculo.constants */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.constants.ts");
/* harmony import */ var _reanalise_veiculo_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../reanalise-veiculo.model */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.model.ts");
/* harmony import */ var _reanalise_veiculo_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../reanalise-veiculo.service */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.service.ts");
/* harmony import */ var app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/components/commons/table/table.component */ "./src/app/shared/components/commons/table/table.component.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.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 ReanaliseVeiculoIndexComponent = /** @class */ (function (_super) {
    __extends(ReanaliseVeiculoIndexComponent, _super);
    function ReanaliseVeiculoIndexComponent(router, service, funcoesService, messageService, permissoesUtils, loginService, funcoes, datatables, configuracao) {
        var _this = _super.call(this, new _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["ReanaliseVeiculoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.service = service;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.funcoes = funcoes;
        _this.datatables = datatables;
        _this.configuracao = configuracao;
        _this.constantes = new _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["ReanaliseVeiculoConstants"]();
        _this.hasDados = false;
        _this.dadosI = [];
        _this.data = new _reanalise_veiculo_model__WEBPACK_IMPORTED_MODULE_8__["ReanaliseVeiculo"]();
        _this.mensagens = [];
        _this.registrosSelecionados = [];
        _this.pageRoute = "/especificos/aldc/movimentos/reanaliseVeiculo";
        _this.target = _this.funcoes.getTargetLocation();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    ReanaliseVeiculoIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.refresh();
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    ReanaliseVeiculoIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.data = new _reanalise_veiculo_model__WEBPACK_IMPORTED_MODULE_8__["ReanaliseVeiculo"]();
        this.registrosSelecionados = [];
        this.service.get().subscribe(function (data) {
            var columns = [
                _this.datatables.getDataString("cliTesClassificacaoId", "agendamento"),
                _this.datatables.getDataDateTime("dtPlataformaE", "chegada"),
                _this.datatables.getDataString("nomeMotorista", "motorista"),
                _this.datatables.getDataString("cadastroPlacaIdCavalo", "veiculo"),
                _this.datatables.getDataString("destinatarioIdCliente", "cliente"),
                _this.datatables.getDataString("razaoTransp", "transportadora"),
            ];
            _this.datatables.toDataTable({ tableId: "dtReanaliseVeiculo", columns: columns, data: data, columnOrder: 0, orientationOrder: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_14__["EOrientationOrder"].ASC }, function (aData) {
                _this.data = aData;
            });
        });
    };
    Object.defineProperty(ReanaliseVeiculoIndexComponent.prototype, "dados", {
        get: function () {
            var _this = this;
            if (!this.table)
                return [];
            if (!this.hasDados || !this.table.filtro) {
                return this.table.getPage(this.dadosI);
            }
            var dados = this.dadosI.filter(function (v) {
                return app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].exist(v.cliTesClassificacaoId, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_13__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtPlataformaE), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["StringUtilsStaticService"].exist(v.nomeMotorista, _this.table.filtro) ||
                    app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].exist(v.razaoTransp, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["StringUtilsStaticService"].exist(v.flagAnalise, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["StringUtilsStaticService"].exist(v.destinatarioIdCliente, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["StringUtilsStaticService"].exist(v.tag, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["StringUtilsStaticService"].exist(v.cadastroPlacaIdCavalo, _this.table.filtro);
            });
            return this.table.getPage(dados);
        },
        enumerable: true,
        configurable: true
    });
    ReanaliseVeiculoIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    ReanaliseVeiculoIndexComponent.prototype.filtrar = function () {
        var _this = this;
        this.service.get().subscribe(function (res) {
            _this.data = res;
        });
    };
    Object.defineProperty(ReanaliseVeiculoIndexComponent.prototype, "hasRegistrosSelecionados", {
        get: function () {
            return this.registrosSelecionados.length > 0;
        },
        enumerable: true,
        configurable: true
    });
    ReanaliseVeiculoIndexComponent.prototype.edit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _this.router.navigate(["" + _this.target + _this.pageRoute + "/edit/" + _this.data.cliTesClassificacaoId]);
        });
    };
    ReanaliseVeiculoIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _reanalise_veiculo_service__WEBPACK_IMPORTED_MODULE_9__["ReanaliseVeiculoService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_14__["DatatablesService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_15__["ConfiguracaoFacade"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])(app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_10__["TableComponent"], { static: false }),
        __metadata("design:type", app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_10__["TableComponent"])
    ], ReanaliseVeiculoIndexComponent.prototype, "table", void 0);
    ReanaliseVeiculoIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-reanalise-veiculo-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./reanalise-veiculo-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./reanalise-veiculo-index.component.scss */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _reanalise_veiculo_service__WEBPACK_IMPORTED_MODULE_9__["ReanaliseVeiculoService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_14__["DatatablesService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_15__["ConfiguracaoFacade"]])
    ], ReanaliseVeiculoIndexComponent);
    return ReanaliseVeiculoIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.constants.ts":
/*!****************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.constants.ts ***!
  \****************************************************************************************************/
/*! exports provided: ReanaliseVeiculoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculoConstants", function() { return ReanaliseVeiculoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ReanaliseVeiculoConstants = /** @class */ (function () {
    function ReanaliseVeiculoConstants() {
        this.sisFormularioId = 375535;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.propriedades" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.reanaliseVeiculo" },
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.reanaliseVeiculo";
        this.reportId = "ALD0000";
        this.reportTitulo = { "titulo": "Reanálise de Veículo", "subTitulo": "" };
        this.configs = [];
        this.listaIndex = [
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'ReanaliseVeiculo', action: "edit", icon: "icon-truck", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Propriedade', action: 'properties', icon: "icon-menu", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.listaForm = [
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
    }
    return ReanaliseVeiculoConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.model.ts":
/*!************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.model.ts ***!
  \************************************************************************************************/
/*! exports provided: ReanaliseVeiculo, TesClassificacaoAnalise, AutomacaoClassificacao */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculo", function() { return ReanaliseVeiculo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TesClassificacaoAnalise", function() { return TesClassificacaoAnalise; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacao", function() { return AutomacaoClassificacao; });
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var _shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
/* harmony import */ var app_pages_cadastro_caract_tipica_caract_tipica_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/caract-tipica/caract-tipica.model */ "./src/app/pages/cadastro/caract-tipica/caract-tipica.model.ts");
/* harmony import */ var app_pages_cadastro_caract_tipica_refer_caract_tipica_refer_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/cadastro/caract-tipica-refer/caract-tipica-refer.model */ "./src/app/pages/cadastro/caract-tipica-refer/caract-tipica-refer.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 __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var ReanaliseVeiculo = /** @class */ (function (_super) {
    __extends(ReanaliseVeiculo, _super);
    function ReanaliseVeiculo() {
        return _super.call(this) || this;
    }
    return ReanaliseVeiculo;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));

var TesClassificacaoAnalise = /** @class */ (function (_super) {
    __extends(TesClassificacaoAnalise, _super);
    function TesClassificacaoAnalise() {
        var _this = _super.call(this) || this;
        _this.material = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__["Material"]();
        _this.caractTipica = new app_pages_cadastro_caract_tipica_caract_tipica_model__WEBPACK_IMPORTED_MODULE_2__["CaractTipica"]();
        _this.caractTipicaRefer = new app_pages_cadastro_caract_tipica_refer_caract_tipica_refer_model__WEBPACK_IMPORTED_MODULE_3__["CaractTipicaRefer"]();
        return _this;
    }
    return TesClassificacaoAnalise;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));

var AutomacaoClassificacao = /** @class */ (function (_super) {
    __extends(AutomacaoClassificacao, _super);
    function AutomacaoClassificacao() {
        var _this = _super.call(this) || this;
        _this.execucaoAutomatica = true;
        _this.tesClassificacaoAnalise = [];
        return _this;
    }
    return AutomacaoClassificacao;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.module.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.module.ts ***!
  \*************************************************************************************************/
/*! exports provided: ReanaliseVeiculoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculoModule", function() { return ReanaliseVeiculoModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _reanalise_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reanalise-veiculo.routing.module */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.routing.module.ts");
/* harmony import */ var _reanalise_veiculo_index_reanalise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reanalise-veiculo-index/reanalise-veiculo-index.component */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.ts");
/* harmony import */ var _reanalise_veiculo_classificacao_reanalise_veiculo_classificacao_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.component */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.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 ReanaliseVeiculoModule = /** @class */ (function () {
    function ReanaliseVeiculoModule() {
    }
    ReanaliseVeiculoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _reanalise_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_2__["ReanaliseVeiculoRoutingModule"]],
            declarations: [
                _reanalise_veiculo_index_reanalise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_3__["ReanaliseVeiculoIndexComponent"],
                _reanalise_veiculo_classificacao_reanalise_veiculo_classificacao_component__WEBPACK_IMPORTED_MODULE_4__["ReanaliseVeiculoClassificacaoComponent"]
            ]
        })
    ], ReanaliseVeiculoModule);
    return ReanaliseVeiculoModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.routing.module.ts":
/*!*********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.routing.module.ts ***!
  \*********************************************************************************************************/
/*! exports provided: ReanaliseVeiculoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculoRoutingModule", function() { return ReanaliseVeiculoRoutingModule; });
/* 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 _reanalise_veiculo_index_reanalise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reanalise-veiculo-index/reanalise-veiculo-index.component */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-index/reanalise-veiculo-index.component.ts");
/* harmony import */ var _reanalise_veiculo_classificacao_reanalise_veiculo_classificacao_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.component */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo-classificacao/reanalise-veiculo-classificacao.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: _reanalise_veiculo_index_reanalise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_3__["ReanaliseVeiculoIndexComponent"],
        data: { breadcrumb: "reanaliseVeiculo", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: "edit/:id",
        component: _reanalise_veiculo_classificacao_reanalise_veiculo_classificacao_component__WEBPACK_IMPORTED_MODULE_4__["ReanaliseVeiculoClassificacaoComponent"],
        data: { breadcrumb: "reanaliseVeiculo", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].edit } }
    },
];
var ReanaliseVeiculoRoutingModule = /** @class */ (function () {
    function ReanaliseVeiculoRoutingModule() {
    }
    ReanaliseVeiculoRoutingModule = __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"]],
        })
    ], ReanaliseVeiculoRoutingModule);
    return ReanaliseVeiculoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.service.ts":
/*!**************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.service.ts ***!
  \**************************************************************************************************/
/*! exports provided: ReanaliseVeiculoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReanaliseVeiculoService", function() { return ReanaliseVeiculoService; });
/* 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 app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.service.ts");
/* harmony import */ var _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./reanalise-veiculo.constants */ "./src/app/pages/especificos/aldc/movimentos/reanalise-veiculo/reanalise-veiculo.constants.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.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 ReanaliseVeiculoService = /** @class */ (function (_super) {
    __extends(ReanaliseVeiculoService, _super);
    function ReanaliseVeiculoService(http) {
        var _this = _super.call(this, http, "aldc/reanaliseVeiculo") || this;
        _this.constantes = new _reanalise_veiculo_constants__WEBPACK_IMPORTED_MODULE_3__["ReanaliseVeiculoConstants"]();
        _this.desativarIntegracao = false;
        return _this;
    }
    ReanaliseVeiculoService.prototype.cancelarReanaliseVeiculo = function (cliTesClassificacaoId) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/aldc/reanaliseVeiculo/cancelarVeiculo/" + cliTesClassificacaoId, {})
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    ReanaliseVeiculoService.prototype.getDadosClassificacao = function (cliTesClassificacaoId) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/aldc/reanaliseVeiculo/classificacao/" + cliTesClassificacaoId)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    ReanaliseVeiculoService.prototype.aprovarClassificacao = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/aldc/reanaliseVeiculo/save", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    ReanaliseVeiculoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    ReanaliseVeiculoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], ReanaliseVeiculoService);
    return ReanaliseVeiculoService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_2__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-aldc-movimentos-reanalise-veiculo-reanalise-veiculo-module.js.map