(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-oiltanking-cadastros-analise-veiculo-analise-veiculo-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-filter/analise-veiculo-filter.component.html":
/*!***************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-filter/analise-veiculo-filter.component.html ***!
  \***************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal fade\" id=\"av-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\n    <div class=\"uni-modal-dialog-md-45\">\n        <div class=\"modal-content\">\n            <div class=\"modal-header\">\n                <h6 class=\"modal-title\">{{ 'titles.pesquisaDeAnaliseVeiculo' | translate }}</h6>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                <app-validacoes></app-validacoes>\n                <div class=\"modal-body\">\n                    <div class=\"row\">\n                        <div class=\"col-lg-6\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"periodoDe\" class=\"required\">{{\"labels.periodoDe\" | translate }}</label>\n                                <app-data id=\"periodoDe\" name=\"periodoDe\" [(ngModel)]=\"service.filtro.dataInicial\"\n                                    autofocus class=\"data\" [formatDateTime]=\"mascara.getFormatData\" required=\"true\">\n                                </app-data>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"ate\" class=\"required\">{{\"labels.ate\" | translate}}</label>\n                                <app-data id=\"ate\" name=\"ate\" maxlength=\"1\" [(ngModel)]=\"service.filtro.dataFinal\"\n                                    class=\"data\" [formatDateTime]=\"mascara.getFormatData\" required=\"true\">\n                                </app-data>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <app-pesquisa-destinatario id=\"destinatarioIdInspetora\" name=\"destinatarioIdInspetora\"\n                                    label=\"inspetora\" modalTitle=\"pesquisaDeInspetora\"\n                                    [(ngModel)]=\"service.filtro.destinatarioIdInspetora\" tipoDestinatario=\"B\"\n                                    showCgcCpf=\"false\" showInscricao=\"false\" [inSelected]=\"service.filtro.inspetora\">\n                                </app-pesquisa-destinatario>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"row\">\n                        <div class=\"col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"situacao\">{{'labels.situacao' | translate}}</label>\n                                <select id=\"situacao\" name=\"situacao\" class=\"form-control form-control-sm\"\n                                    [(ngModel)]=\"service.filtro.sitReg\">\n                                    <option value=\"\">{{ 'labels.selecione' | translate}}</option>\n                                    <option *ngFor=\"let situacao of listaSituacoes\" [value]=\"situacao.value\">{{\n                                        situacao.label | translate}}</option>\n                                </select>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"row\">\n                        <div class=\"col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"tipoTransp\">{{'labels.tipoTransp' | translate}}</label>\n                                <select id=\"tipoTransp\" name=\"tipoTransp\" class=\"form-control form-control-sm\"\n                                    [(ngModel)]=\"service.filtro.tipoTransporte\">\n                                    <option value=\"\">{{ 'labels.selecione' | translate}}</option>\n                                    <option *ngFor=\"let tipoTransp of listaTiposTransportes\" [value]=\"tipoTransp.value\">\n                                        {{ tipoTransp.label | translate}}</option>\n                                </select>\n                            </div>\n                        </div>\n                    </div>\n\n                    <div class=\"row\">\n                        <div class=\"col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"placa\" style=\"display:block;\">\n                                    {{ 'labels.placa' | translate }}\n                                </label>\n                                <input id=\"placa\" name=\"placa\" [(ngModel)]=\"service.filtro.placa\"\n                                    class=\"form-control form-control-sm\" type=\"text\" maxlength=\"18\">\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"modal-footer\">\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}</button>\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate\n                        }}</button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.html":
/*!***********************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-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 [botoesComando]=\"constantes.listaForm\" [sisFormularioId]=\"constantes.sisFormularioId\"\n  [formAction]=\"actionForm\" [itemData]=\"data.analiseVeiculoId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n  <div class=\"card-body\">\n    <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\">\n      <app-validacoes></app-validacoes>\n      <div class=\"row\">\n        <div class=\"col-md-12\">\n          <div class=\"tab-content top\">\n            <div class=\"tab-pane active\" id=\"ta\">\n              <div class=\"row\">\n                <div class=\"col-md-3\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"analiseVeiculoId\">{{'labels.codigo' | translate}}</label>\n                    <input id=\"analiseVeiculoId\" name=\"analiseVeiculoId\" value=\"{{data.analiseVeiculoId}}\"\n                      class=\"form-control form-control-sm\" type=\"text\" [disabled]=\"true\">\n                  </div>\n                </div>\n                <div class=\"col-md-3\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"dtAnalise\">{{'labels.analise' | translate}}</label>\n                    <input id=\"dtAnalise\" name=\"dtAnalise\" value=\"{{data.dtAnalise | date:'dd/MM/yyyy'}}\"\n                      class=\"form-control form-control-sm\" type=\"text\" [disabled]=\"true\"\n                      data-title=\"{{'labels.analiseVeiculo' | translate}}\">\n                  </div>\n                </div>\n                <div class=\"col-md-3\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"dtAprovacao\">{{'labels.aprovacao' | translate}}</label>\n                    <input id=\"dtAprovacao\" name=\"dtAprovacao\" value=\"{{data.dtAprovacao | date:'dd/MM/yyyy'}}\"\n                      class=\"form-control form-control-sm\" type=\"text\" [disabled]=\"true\"\n                      data-title=\"{{'labels.aprovacao' | translate}}\">\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-7\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"tipoMov\">{{'labels.local' | translate}}</label>\n                    <input id=\"tipoMov\" name=\"tipoMov\" value=\"{{data.tipoMov}}\" class=\"form-control form-control-sm\"\n                      type=\"text\" [disabled]=\"true\" data-title=\"{{'labels.tipoMov' | translate}}\">\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-7 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\" [required]=\"false\"\n                      [disabled]=\"true\" modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"data.destinatarioIdCliente\"\n                      [inSelected]=\"data.cliente\" tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\">\n                    </app-pesquisa-destinatario>\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-7 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <app-pesquisa-destinatario id=\"emitente\" name=\"emitente\" label=\"emitente\" [required]=\"false\"\n                      [disabled]=\"true\" modalTitle=\"pesquisaDeEmitente\" [(ngModel)]=\"data.destinatarioIdEmitente\"\n                      [inSelected]=\"data.emitente\" tipoDestinatario=\"E\" showCgcCpf=\"false\" showInscricao=\"false\">\n                    </app-pesquisa-destinatario>\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-7 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <app-pesquisa-destinatario id=\"transportadora\" name=\"transportadora\" label=\"transportadora\"\n                      [required]=\"false\" [disabled]=\"true\" modalTitle=\"pesquisaDeTransportadora\"\n                      [(ngModel)]=\"data.destinatarioIdTransportadora\" [inSelected]=\"data.transportadora\"\n                      tipoDestinatario=\"T\" showCgcCpf=\"false\" showInscricao=\"false\">\n                    </app-pesquisa-destinatario>\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-3\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cadastroPlacaIdCavalo\">{{'labels.cadPlacaVeiculo' | translate}}</label>\n                    <input id=\"cadastroPlacaIdCavalo\" name=\"cadastroPlacaIdCavalo\"\n                      value=\"{{data.cadastroPlacaIdCavalo}}\" class=\"form-control form-control-sm\" type=\"text\"\n                      [disabled]=\"true\" data-title=\"{{'labels.placaCavalo' | translate}}\">\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-3\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cadastroPlacaIdCarreta1\">{{'labels.placaCarreta1' | translate}}</label>\n                    <input id=\"cadastroPlacaIdCarreta1\" name=\"cadastroPlacaIdCarreta1\"\n                      value=\"{{data.cadastroPlacaIdCarreta1}}\" class=\"form-control form-control-sm\" type=\"text\"\n                      [disabled]=\"true\" data-title=\"{{'labels.placaCarreta1' | translate}}\">\n                  </div>\n                </div>\n                <div class=\"col-md-3\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cadastroPlacaIdCarreta2\">{{'labels.placaCarreta2' | translate}}</label>\n                    <input id=\"cadastroPlacaIdCarreta2\" name=\"cadastroPlacaIdCarreta2\"\n                      value=\"{{data.cadastroPlacaIdCarreta2}}\" class=\"form-control form-control-sm\" type=\"text\"\n                      [disabled]=\"true\" data-title=\"{{'labels.placaCarreta2' | translate}}\">\n                  </div>\n                </div>\n                <div class=\"col-md-3\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cadastroPlacaIdCarreta3\">{{'labels.placaCarreta3' | translate}}</label>\n                    <input id=\"cadastroPlacaIdCarreta3\" name=\"cadastroPlacaIdCarreta3\"\n                      value=\"{{data.cadastroPlacaIdCarreta3}}\" class=\"form-control form-control-sm\" type=\"text\"\n                      [disabled]=\"true\" data-title=\"{{'labels.placaCarreta3' | translate}}\">\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-7 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <app-pesquisa-destinatario id=\"inspetora\" name=\"inspetora\" label=\"inspetora\" [required]=\"false\"\n                      [disabled]=\"true\" modalTitle=\"pesquisaDeInspetora\" [(ngModel)]=\"data.destinatarioIdInspetora\"\n                      [inSelected]=\"data.inspetora\" tipoDestinatario=\"I\" showCgcCpf=\"false\" showInscricao=\"false\">\n                    </app-pesquisa-destinatario>\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-md-7 col-sem-margem\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"descrLocalOper\">{{'labels.descrLocalOper' | translate}}</label>\n                    <input id=\"descrLocalOper\" name=\"descrLocalOper\" value=\"{{data.descrLocalOper}}\"\n                      class=\"form-control form-control-sm\" type=\"text\" [disabled]=\"true\"\n                      data-title=\"{{'labels.descrLocalOper' | translate}}\">\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n          <app-card-container tituloCard=\"medicoes\" class=\"mt-2\">\n            <div class=\"row\">\n              <!-- Coluna Esquerda -->\n              <div class=\"col-md-6\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"densidadeAmostra\">\n                    {{ \"labels.densidadeAmostra\" | translate }}\n                  </label>\n                  <input id=\"densidadeAmostra\" name=\"densidadeAmostra\" class=\"form-control form-control-sm\" type=\"text\"\n                    currencyMask maxlength=\"6\" [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 4 }\"\n                    [disabled]=\"funcoesService.isDetail(actionForm)\" [(ngModel)]=\"data.densidadeAmostra\" />\n                </div>\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"temperaturaAmostra\">\n                    {{ \"labels.temperaturaAmostra\" | translate }}\n                  </label>\n                  <input id=\"temperaturaAmostra\" name=\"temperaturaAmostra\" class=\"form-control form-control-sm\"\n                    type=\"text\" currencyMask maxlength=\"5\"\n                    [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 2 }\"\n                    [disabled]=\"funcoesService.isDetail(actionForm)\" [(ngModel)]=\"data.temperaturaAmostra\"\n                    (blur)=\"calculaDados20()\" />\n                </div>\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"tempTQCT\">\n                    {{ \"labels.tempTQCT\" | translate }}\n                  </label>\n                  <input id=\"tempTQCT\" name=\"tempTQCT\" class=\"form-control form-control-sm\" type=\"text\" currencyMask\n                    maxlength=\"5\" [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 2 }\"\n                    [disabled]=\"funcoesService.isDetail(actionForm)\" [(ngModel)]=\"data.tempTQCT\"\n                    (blur)=\"calculaDados20()\" />\n                </div>\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"densidadeOrigem\">\n                    {{ \"labels.densidadeOrigem\" | translate }}\n                  </label>\n                  <input id=\"densidadeOrigem\" name=\"densidadeOrigem\" class=\"form-control form-control-sm\" type=\"text\"\n                    currencyMask maxlength=\"6\" [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 4 }\"\n                    [disabled]=\"funcoesService.isDetail(actionForm)\" [(ngModel)]=\"data.densidadeOrigem\"\n                    (blur)=\"calculaDados20()\" />\n                </div>\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"tempOrigem\">\n                    {{ \"labels.tempOrigem\" | translate }}\n                  </label>\n                  <input id=\"tempOrigem\" name=\"tempOrigem\" class=\"form-control form-control-sm\" type=\"text\" currencyMask\n                    maxlength=\"5\" [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 2 }\"\n                    [disabled]=\"funcoesService.isDetail(actionForm)\" [(ngModel)]=\"data.tempOrigem\"\n                    (blur)=\"calculaDados20()\" />\n                </div>\n              </div>\n              <!-- Coluna Direita -->\n              <div class=\"col-md-6\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"densidade20\">\n                    {{ \"labels.densidade20\" | translate }}\n                  </label>\n                  <input id=\"densidade20\" name=\"densidade20\" class=\"form-control form-control-sm\" type=\"text\"\n                    currencyMask maxlength=\"6\" [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 4 }\"\n                    disabled [(ngModel)]=\"data.densidade20\" />\n                </div>\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"fatorCorrecao\">\n                    {{ \"labels.fatorCorrecao\" | translate }}\n                  </label>\n                  <input id=\"fatorCorrecao\" name=\"fatorCorrecao\" class=\"form-control form-control-sm\" type=\"text\"\n                    currencyMask maxlength=\"5\" [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 4 }\"\n                    disabled [(ngModel)]=\"data.fatorCorrecao\" />\n                </div>\n              </div>\n            </div>\n          </app-card-container>\n          <div class=\"row mt-3\">\n            <div class=\"col-4\">\n              <div class=\"form-group\">\n                <button class=\"btn btn-success mr-2\" type=\"submit\" [disabled]=\"funcoesService.isDetail(actionForm)\">\n                  {{ 'buttons.salvar' | translate }}\n                </button>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n    </form>\n  </div>\n</div>\n\n<app-analise-modal-situacao [libRotina]=\"libRotinaModal\"\n  (outConfirma)=\"efetivaSituacao($event)\"></app-analise-modal-situacao>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-index/analise-veiculo-index.component.html":
/*!*************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-index/analise-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\" [sisFormularioId]=\"constantes.sisFormularioId\"\n  [formAction]=\"actionForm\" [itemData]=\"analiseVeiculo.analiseVeiculoId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n  <table id=\"dtAnaliseVeiculo\" 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>\n<app-analise-veiculo-filter (filtrar)=\"executaFiltro()\"></app-analise-veiculo-filter>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-modal-situacao/analise-veiculo-modal-situacao.component.html":
/*!*******************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-modal-situacao/analise-veiculo-modal-situacao.component.html ***!
  \*******************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal fade\" id=\"modalSituacao\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\r\n  <div [class]=\"classModalReprovando\">\r\n    <div class=\"modal-content\">\r\n      <form class=\"form\" #frmAprovarReprovar=\"ngForm\" (ngSubmit)=\"onSubmit()\">\r\n        <div class=\"modal-header\">\r\n          <h5 *ngIf=\"data.libRotina === sitAprovar\" class=\"modal-title\">{{ 'titles.aprovacaoAnaliseVeiculo' | translate\r\n            }}</h5>\r\n          <h5 *ngIf=\"data.libRotina === sitReprovar\" class=\"modal-title\">{{ 'titles.reprovacaoAnaliseVeiculo' |\r\n            translate }}</h5>\r\n          <h5 *ngIf=\"data.libRotina === sitCancelar\" class=\"modal-title\">{{ 'titles.cancelarConclusaoAnaliseVeiculo' |\r\n            translate }}</h5>\r\n        </div>\r\n        <div class=\"modal-body\">\r\n          <ng-container *ngIf=\"!isReprovando else reprovado\">\r\n            <div class=\"row\">\r\n              <div class=\"col-md-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                  <label for=\"usuario\">{{'labels.usuario' | translate}}</label>\r\n                  <input id=\"usuario\" name=\"usuario\" [(ngModel)]=\"data.usuario\" class=\"form-control form-control-sm\"\r\n                    type=\"text\" data-title=\"{{'labels.usuario' | translate}}\" required>\r\n                </div>\r\n              </div>\r\n            </div>\r\n            <div class=\"row\">\r\n              <div class=\"col-md-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                  <label for=\"senha\">{{'labels.senha' | translate}}</label>\r\n                  <input id=\"senha\" name=\"senha\" [(ngModel)]=\"data.senha\" class=\"form-control form-control-sm\"\r\n                    type=\"password\" data-title=\"{{'labels.senha' | translate}}\" required>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </ng-container>\r\n          <ng-template #reprovado>\r\n            <div class=\"row\">\r\n              <div class=\"col-md-6\">\r\n                <div class=\"form-group form-group-sm\">\r\n                  <label for=\"usuario\">{{'labels.usuario' | translate}}</label>\r\n                  <input id=\"usuario\" name=\"usuario\" [(ngModel)]=\"data.usuario\" class=\"form-control form-control-sm\"\r\n                    type=\"text\" data-title=\"{{'labels.usuario' | translate}}\" required>\r\n                </div>\r\n              </div>\r\n            </div>\r\n            <div class=\"row\">\r\n              <div class=\"col-md-6\">\r\n                <div class=\"form-group form-group-sm\">\r\n                  <label for=\"senha\">{{'labels.senha' | translate}}</label>\r\n                  <input id=\"senha\" name=\"senha\" [(ngModel)]=\"data.senha\" class=\"form-control form-control-sm\"\r\n                    type=\"password\" data-title=\"{{'labels.senha' | translate}}\" required>\r\n                </div>\r\n              </div>\r\n            </div>\r\n            <div class=\"row\">\r\n              <div class=\"col-md-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                  <label for=\"motivo\">{{'labels.motivoDaReprovacao' | translate}}</label>\r\n                  <input id=\"motivo\" name=\"motivo\" [(ngModel)]=\"data.motivo\" class=\"form-control form-control-sm\"\r\n                    type=\"text\" data-title=\"{{'labels.motivoReprovacao' | translate}}\" required>\r\n                </div>\r\n              </div>\r\n            </div>\r\n          </ng-template>\r\n        </div>\r\n        <div class=\"modal-footer\">\r\n          <button type=\"submit\" class=\"btn btn-small btn-success\">{{ 'buttons.ok' | translate }}</button>\r\n          <button type=\"button\" class=\"btn btn-small btn-default\" data-dismiss=\"modal\">{{ 'buttons.cancelar' | translate\r\n            }}</button>\r\n        </div>\r\n      </form>\r\n    </div>\r\n  </div>\r\n</div>");

/***/ }),

/***/ "./src/app/pages/cadastro/densidade-tanque/densidade-tanque.service.ts":
/*!*****************************************************************************!*\
  !*** ./src/app/pages/cadastro/densidade-tanque/densidade-tanque.service.ts ***!
  \*****************************************************************************/
/*! exports provided: DensidadeTanqueService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DensidadeTanqueService", function() { return DensidadeTanqueService; });
/* harmony import */ var app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _app_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../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 DensidadeTanqueService = /** @class */ (function (_super) {
    __extends(DensidadeTanqueService, _super);
    function DensidadeTanqueService(http) {
        return _super.call(this, http, "cadastros/densidadeTanque") || this;
    }
    DensidadeTanqueService.prototype.getByFiltro = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/cadastros/densidadeTanque/getByFiltro", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    DensidadeTanqueService.prototype.calculaDados20 = function (filtro) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/diversos/calculaDados20", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    DensidadeTanqueService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }
    ]; };
    DensidadeTanqueService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]])
    ], DensidadeTanqueService);
    return DensidadeTanqueService;
}(app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_0__["BaseService"]));



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-filter/analise-veiculo-filter.component.ts":
/*!***********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-filter/analise-veiculo-filter.component.ts ***!
  \***********************************************************************************************************************************/
/*! exports provided: AnaliseVeiculoFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoFilterComponent", function() { return AnaliseVeiculoFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../analise-veiculo.model */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.model.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../analise-veiculo.service */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.service.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 __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 AnaliseVeiculoFilterComponent = /** @class */ (function () {
    function AnaliseVeiculoFilterComponent(service) {
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__["Mascaras"]();
    }
    AnaliseVeiculoFilterComponent.prototype.ngOnInit = function () {
        this.initListaSituacoes();
        this.initListaTiposTransportes();
    };
    AnaliseVeiculoFilterComponent.prototype.initListaSituacoes = function () {
        this.listaSituacoes = [
            { value: "A", label: "labels.emAberto" },
            { value: "L", label: "labels.aprovado" },
            { value: "R", label: "labels.reprovado" },
            { value: "D", label: "labels.auditoria" },
            { value: "T", label: "labels.todos" }
        ];
    };
    AnaliseVeiculoFilterComponent.prototype.initListaTiposTransportes = function () {
        this.listaTiposTransportes = [
            { value: "T", label: "labels.todos" },
            { value: "R", label: "labels.rodoviario" },
            { value: "F", label: "labels.ferroviario" }
        ];
    };
    AnaliseVeiculoFilterComponent.prototype.onSubmit = function (form) {
        if (form.invalid) {
            app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.filtrar.emit();
        jQuery("#av-filter-dialog").modal("hide");
    };
    AnaliseVeiculoFilterComponent.ctorParameters = function () { return [
        { type: _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_4__["AnaliseVeiculoService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_1__["AnaliseVeiculoFilter"])
    ], AnaliseVeiculoFilterComponent.prototype, "data", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], AnaliseVeiculoFilterComponent.prototype, "filtrar", void 0);
    AnaliseVeiculoFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-analise-veiculo-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./analise-veiculo-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-filter/analise-veiculo-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_analise_veiculo_service__WEBPACK_IMPORTED_MODULE_4__["AnaliseVeiculoService"]])
    ], AnaliseVeiculoFilterComponent);
    return AnaliseVeiculoFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.scss":
/*!*********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.scss ***!
  \*********************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".col-sem-margem {\n  margin-right: -29px;\n}\n\n.row-so-input {\n  height: 35px;\n}\n\n.tooltip-static .tooltip {\n  position: relative;\n  display: block;\n  opacity: 1;\n  z-index: 1;\n}\n\n.tooltip-static .tooltip .tooltip-inner {\n  max-width: 100%;\n}\n\n.popover-static .popover {\n  position: relative;\n  display: block;\n  margin: 0;\n  max-width: 100%;\n  z-index: 1;\n}\n\n.table-overflow {\n  max-height: 340px;\n  overflow-y: auto;\n  max-width: 100%;\n  overflow-x: auto;\n}\n\n.table tbody tr:hover td,\n.table tbody tr:hover th {\n  cursor: pointer;\n  cursor: hand;\n}\n\n.modal-dialog {\n  z-index: 2200;\n}\n\n.panel-body {\n  padding-left: 0px;\n  padding-right: 0px;\n  padding-top: 5px;\n  padding-bottom: 15px;\n}\n\n.animated.modal.fade .modal-dialog {\n  transform: none;\n}\n\n.table {\n  border-collapse: collapse !important;\n  width: 100% !important;\n}\n\n.input-group-btn > .btn {\n  padding: 0.25rem 0.5rem;\n  font-size: 0.875rem;\n  line-height: 1.5;\n  border-radius: 0.2rem;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  margin-left: -1px;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.ts":
/*!*******************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.ts ***!
  \*******************************************************************************************************************************/
/*! exports provided: AnaliseVeiculoFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoFormComponent", function() { return AnaliseVeiculoFormComponent; });
/* 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_config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.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_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../cadastro/material-caract/material-caract.service */ "./src/app/pages/cadastro/material-caract/material-caract.service.ts");
/* harmony import */ var _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../analise-veiculo.constants */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.constants.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../.././../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../.././../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../.././../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../.././../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./../analise-veiculo.model */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.model.ts");
/* harmony import */ var _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./../analise-veiculo.service */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.service.ts");
/* harmony import */ var app_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/shared/services/funcoes/boolean-utils/boolean-utils.static.service */ "./src/app/shared/services/funcoes/boolean-utils/boolean-utils.static.service.ts");
/* harmony import */ var app_pages_cadastro_densidade_tanque_densidade_tanque_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/pages/cadastro/densidade-tanque/densidade-tanque.service */ "./src/app/pages/cadastro/densidade-tanque/densidade-tanque.service.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js");
/* harmony import */ var app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! app/pages/cadastro/material/material.service */ "./src/app/pages/cadastro/material/material.service.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.service */ "./src/app/pages/cadastro/destinatario/destinatario.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 AnaliseVeiculoFormComponent = /** @class */ (function (_super) {
    __extends(AnaliseVeiculoFormComponent, _super);
    function AnaliseVeiculoFormComponent(service, router, messageService, activatedRoute, analiseVeiculoService, permissoesUtils, materialCaractService, funcoesService, densidadeTanqueService, materialService, destinatarioService, configuracao) {
        var _this = _super.call(this, new _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_6__["AnaliseVeiculoConstants"](), funcoesService) || this;
        _this.service = service;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.analiseVeiculoService = analiseVeiculoService;
        _this.permissoesUtils = permissoesUtils;
        _this.materialCaractService = materialCaractService;
        _this.funcoesService = funcoesService;
        _this.densidadeTanqueService = densidadeTanqueService;
        _this.materialService = materialService;
        _this.destinatarioService = destinatarioService;
        _this.configuracao = configuracao;
        _this.data = new _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_11__["AnaliseVeiculo"]();
        _this.libRotinaModal = 0;
        _this.constantes = new _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_6__["AnaliseVeiculoConstants"]();
        _this.mascaras = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        _this.mensagens = [];
        _this.target = _this.funcoesService.getTargetLocation();
        _this.title = "titles.analiseVeiculo";
        _this.podeAlterarManualmente = false;
        _this.mov20 = false;
        _this.controle20 = '';
        _this.retorno = false;
        _this.rotinaAprovar = 5;
        _this.rotinaReprovar = 6;
        _this.rotinaCancelar = 7;
        _this.loadConfig = function () {
            if (!_this.configuracao.isLoadConfig())
                return;
            _this.constantes.configCtv.efetuaAnaliseOrigem = _this.configuracao.boolean("CTV", "EfetuaAnaliseOrigem");
        };
        _this.aprovarCaminhao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 5, function () {
                if (!_this.data || !_this.data.analiseVeiculoId) {
                    _this.messageService.warning(_this.title, "messages.tabelaVazia");
                    return;
                }
                _this.retorno = false;
                if (_this.controle20 === 'S') {
                    _this.retorno = (_this.data.densidadeAmostra > 0 &&
                        _this.data.temperaturaAmostra > 0 &&
                        _this.data.densidade20 > 0 &&
                        _this.data.fatorCorrecao > 0 &&
                        _this.data.densidadeOrigem > 0 &&
                        _this.data.tempTQCT > 0);
                }
                else {
                    _this.retorno = (_this.data.densidadeAmostra > 0 &&
                        _this.data.temperaturaAmostra > 0 &&
                        _this.data.densidadeOrigem > 0 &&
                        _this.data.tempTQCT > 0);
                }
                if (!_this.retorno) {
                    _this.messageService.warning(_this.title, "messages.medicaoNaoEfetuada");
                    return;
                }
                _this.operacao = 'Aprovação';
                _this.operVal = 'A';
                _this.mensagem = '';
                _this.validaAlteracao();
            });
        };
        _this.reprovarCaminhao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 6, function () {
                if (!_this.data || !_this.data.analiseVeiculoId) {
                    _this.messageService.warning(_this.title, "messages.tabelaVazia");
                    return;
                }
                _this.operacao = 'Reprovação';
                _this.operVal = 'A';
                _this.mensagem = '';
                _this.validaAlteracao();
            });
        };
        _super.prototype.addFuncoes.call(_this, [
            { action: 'aprovarCaminhao', func: function () { return _this.aprovarCaminhao; } },
            { action: 'reprovarCaminhao', func: function () { return _this.reprovarCaminhao; } }
        ]);
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    AnaliseVeiculoFormComponent.prototype.ngOnInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _this = this;
            return __generator(this, function (_a) {
                this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
                this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, this.permissoesUtils.getLibRotinaIdx([1, 2], this.actionForm), function () {
                    var id = _this.activatedRoute.snapshot.paramMap.get("id");
                    if (!id) {
                        _this.data = new _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_11__["AnaliseVeiculo"]();
                        return;
                    }
                    _this.analiseVeiculoService.getById(id).subscribe(function (resp) {
                        _this.data = resp;
                        if (!_this.data.analiseVeiculoMedicao || _this.data.analiseVeiculoMedicao === 0) {
                            _this.analiseVeiculoService.criarMedicao(_this.data.analiseVeiculoId).subscribe(function (respMedicao) {
                                _this.data.analiseVeiculoMedicao = respMedicao.analiseVeiculoMedicao;
                            });
                        }
                        var acao = _this.activatedRoute.snapshot.queryParamMap.get('acao');
                        if (acao === 'aprovar') {
                            _this.carregarDestinatarios(resp);
                            _this.carregarMaterial(resp.analiseVeiculoId);
                            setTimeout(function () { return _this.aprovarCaminhao(); }, 500);
                        }
                        else if (acao === 'reprovar') {
                            _this.carregarDestinatarios(resp);
                            _this.carregarMaterial(resp.analiseVeiculoId);
                            setTimeout(function () { return _this.reprovarCaminhao(); }, 500);
                        }
                        else if (_this.funcoesService.isEdit(_this.actionForm)) {
                            _this.operacao = 'Alteração';
                            _this.operVal = 'A';
                            _this.mensagem = '';
                            _this.validaAlteracao();
                            _this.carregarDestinatarios(resp);
                            _this.carregarMaterial(resp.analiseVeiculoId);
                        }
                        else {
                            _this.carregarDestinatarios(resp);
                            _this.carregarMaterial(resp.analiseVeiculoId);
                        }
                    });
                }, function () {
                    _this.permissoesUtils.back();
                });
                return [2 /*return*/];
            });
        });
    };
    AnaliseVeiculoFormComponent.prototype.carregarDestinatarios = function (resp) {
        var _this = this;
        if (resp.destinatarioIdCliente !== 0) {
            this.analiseVeiculoService.getControle20Graus(resp.destinatarioIdCliente).subscribe(function (resp) {
                if (resp.controle20Graus === 'S') {
                    _this.mov20 = false;
                }
            });
        }
        Object(rxjs__WEBPACK_IMPORTED_MODULE_15__["forkJoin"])({
            cliente: this.destinatarioService.getById(resp.destinatarioIdCliente),
            emitente: this.destinatarioService.getById(resp.destinatarioIdEmitente),
            transportadora: this.destinatarioService.getById(resp.destinatarioIdTransportadora),
            inspetora: this.destinatarioService.getById(resp.destinatarioIdInspetora),
        }).subscribe(function (results) {
            _this.data.cliente = results.cliente;
            _this.data.emitente = results.emitente;
            _this.data.transportadora = results.transportadora;
            _this.data.inspetora = results.inspetora;
        });
    };
    AnaliseVeiculoFormComponent.prototype.carregarMaterial = function (analiseVeiculoId) {
        var _this = this;
        this.analiseVeiculoService.getMaterial(analiseVeiculoId).subscribe(function (resp) {
            _this.data.materialId = resp.material;
            _this.controle20 = resp.controle20;
            if (resp.controle20 === 'S') {
                _this.mov20 = true;
            }
            _this.materialService.getById(resp.material).subscribe(function (material) {
                _this.data.material = material;
            });
        });
    };
    AnaliseVeiculoFormComponent.prototype.onSubmit = function (form) {
        return __awaiter(this, void 0, void 0, function () {
            var validationResult, mensagens;
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_7__["EventEmitterService"].get("formError").emit(form);
                        if (form.invalid) {
                            return [2 /*return*/];
                        }
                        this.data.logRotina = "Análise de Veículo";
                        this.data.regControle = this.data.analiseVeiculoId;
                        return [4 /*yield*/, this.analiseVeiculoService.medicoesGrava(this.data).toPromise()];
                    case 1:
                        validationResult = _a.sent();
                        if (!validationResult.isValid) {
                            mensagens = this.messageService.validationResult(validationResult);
                            mensagens.forEach(function (m) { return _this.messageService.warning("titles.analiseVeiculo", m); });
                            return [2 /*return*/];
                        }
                        else {
                            this.messageService.success("titles.analiseVeiculo", "messages.medicoesAlteradasComSucesso");
                            this.back();
                        }
                        return [2 /*return*/];
                }
            });
        });
    };
    AnaliseVeiculoFormComponent.prototype.edit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.router.navigate([
                _this.target + "/especificos/oiltanking/cadastros/analiseDeVeiculo/edit/" + _this.data.analiseVeiculoId
            ]);
        });
    };
    AnaliseVeiculoFormComponent.prototype.back = function () {
        this.funcoesService.desabilitarFiltro();
        this.router.navigate([this.target + "/especificos/oiltanking/cadastros/analiseDeVeiculo"]);
    };
    AnaliseVeiculoFormComponent.prototype.enableDados20 = function () {
        return (!this.funcoesService.isDetail(this.actionForm)
            && this.funcoesService.isNotUndefinedOrNull(this.data.material)
            && (this.isControle20 || this.data.material.flagDensidadeTanque === "S"));
    };
    Object.defineProperty(AnaliseVeiculoFormComponent.prototype, "isControle20", {
        get: function () {
            if (!this.data || !this.data.material)
                return false;
            return (app_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_13__["BooleanUtilsStaticService"].toBoolean(this.data.material.controle20) || app_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_13__["BooleanUtilsStaticService"].toBoolean(this.data.material.flagDensidadeTanque));
        },
        enumerable: true,
        configurable: true
    });
    AnaliseVeiculoFormComponent.prototype.calculaDados20 = function () {
        var _this = this;
        if (this.mov20) {
            var filtroCalculo = new _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_11__["CalculoDensidadeFilter"]();
            this.data.temperaturaCarroTanque = this.data.tempTQCT;
            filtroCalculo.materialId = this.data.materialId;
            filtroCalculo.densidadeAmostra = this.data.densidadeAmostra;
            filtroCalculo.temperaturaAmostra = this.data.temperaturaAmostra;
            filtroCalculo.temperaturaCarroTanque = this.data.temperaturaCarroTanque;
            filtroCalculo.volume = this.data.volume;
            filtroCalculo.mostraErro = 'S';
            this.densidadeTanqueService.calculaDados20(filtroCalculo).subscribe(function (resp) {
                if (_this.funcoesService.isNotUndefinedOrNull(resp.msgErro)) {
                    _this.messageService.error(_this.title, resp.msgErro);
                    _this.podeAlterarManualmente = false;
                }
                else {
                    _this.podeAlterarManualmente = false;
                    _this.data.densidadeCorrigida = resp.densidadeCorrigida;
                    _this.data.densidade20 = _this.data.densidadeCorrigida;
                    _this.data.fatorCorrecao = resp.fatorCorrecao;
                    _this.data.volumeCorrigido = resp.volumeCorrigido;
                    _this.data.pesoCorrigido = resp.pesoCorrigido;
                }
            });
        }
    };
    AnaliseVeiculoFormComponent.prototype.validaAlteracao = function () {
        var _this = this;
        var sitReg = this.data.sitReg;
        if (!this.operVal.includes(sitReg)) {
            if (sitReg === 'L') {
                this.mensagem = 'Aprovada';
            }
            else if (sitReg === 'R') {
                this.mensagem = 'Reprovada';
            }
            else if (sitReg === 'A') {
                this.mensagem = 'em Aberto';
            }
            if (this.mensagem !== '') {
                if (this.operacao === 'Cancelar Conclusão' && this.mensagem === 'em Aberto') {
                    this.messageService.warning(this.title, "messages.analiseVeiculoOperacaoNaoPermitida");
                    this.back();
                }
                else if (this.operacao !== 'Cancelar Conclusão') {
                    this.messageService.confirm(this.title, "messages.analiseVeiculoContinua", null, function () { _this.validaAnaliseOrigem(); }, null, function () { _this.back(); });
                }
                else {
                    this.messageService.warning(this.title, "messages.analiseVeiculoOperacaoNaoPermitida");
                    this.back();
                }
            }
            else {
                this.validaAnaliseOrigem();
            }
        }
        else {
            this.validaAnaliseOrigem();
        }
    };
    AnaliseVeiculoFormComponent.prototype.validaAnaliseOrigem = function () {
        var _this = this;
        if (this.constantes.configCtv.efetuaAnaliseOrigem) {
            this.analiseVeiculoService.getCheckListOrigem(this.data.analiseVeiculoId).subscribe(function (respCheckList) {
                if (!respCheckList || !respCheckList.codCheckList) {
                    _this.analiseVeiculoService.getAnaliseVeiculoOrigem(_this.data.analiseVeiculoId).subscribe(function (respOrigem) {
                        if (respOrigem && respOrigem.regControle) {
                            _this.messageService.warning(_this.title, "messages.analiseOrigemNaoInformadaDestinoNaoPermitida");
                            _this.back();
                        }
                        else {
                            _this.onValidacaoSucesso();
                        }
                    });
                }
                else {
                    _this.onValidacaoSucesso();
                }
            });
        }
        else {
            this.onValidacaoSucesso();
        }
    };
    AnaliseVeiculoFormComponent.prototype.onValidacaoSucesso = function () {
        if (this.operacao === 'Aprovação') {
            this.abrirModalAprovacao();
        }
        else if (this.operacao === 'Reprovação') {
            this.abrirModalReprovacao();
        }
    };
    AnaliseVeiculoFormComponent.prototype.abrirModalAprovacao = function () {
        this.libRotinaModal = this.rotinaAprovar;
        this.showSituacaoModal();
    };
    AnaliseVeiculoFormComponent.prototype.abrirModalReprovacao = function () {
        this.libRotinaModal = this.rotinaReprovar;
        this.showSituacaoModal();
    };
    AnaliseVeiculoFormComponent.prototype.showSituacaoModal = function () {
        jQuery("#modalSituacao").modal("show");
    };
    AnaliseVeiculoFormComponent.prototype.efetivaSituacao = function (dadosModal) {
        var _this = this;
        var dataSituacao = {
            analiseVeiculoId: this.data.analiseVeiculoId,
            libRotina: dadosModal.libRotina,
            usuario: dadosModal.usuario,
            senha: dadosModal.senha,
            motivo: dadosModal.motivo
        };
        switch (dadosModal.libRotina) {
            case this.rotinaAprovar:
                this.analiseVeiculoService
                    .aprovar(dataSituacao)
                    .subscribe(function (result) {
                    _this.onEfetivaSituacaoSuccess(result);
                }, function (error) {
                    _this.messageService.error(_this.title, error);
                });
                break;
            case this.rotinaReprovar:
                this.analiseVeiculoService
                    .reprovar(dataSituacao)
                    .subscribe(function (result) {
                    _this.onEfetivaSituacaoSuccess(result);
                }, function (error) {
                    _this.messageService.error(_this.title, error);
                });
                break;
            case this.rotinaCancelar:
                this.analiseVeiculoService
                    .cancelarConclusao(dataSituacao)
                    .subscribe(function (result) {
                    _this.onEfetivaSituacaoSuccess(result);
                }, function (error) {
                    _this.messageService.error(_this.title, error);
                });
                break;
            default:
                break;
        }
    };
    AnaliseVeiculoFormComponent.prototype.onEfetivaSituacaoSuccess = function (result) {
        var _this = this;
        if (result && result.validationResult && !result.validationResult.isValid) {
            this.mensagens = this.messageService.validationResult(result.validationResult);
            this.mensagens.forEach(function (m) { return _this.messageService.warning(_this.title, m); });
        }
        else {
            this.messageService.saveSuccess(this.title);
            this.back();
        }
    };
    AnaliseVeiculoFormComponent.ctorParameters = function () { return [
        { type: _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_12__["AnaliseVeiculoService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_12__["AnaliseVeiculoService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: _cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_5__["MaterialCaractService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"] },
        { type: app_pages_cadastro_densidade_tanque_densidade_tanque_service__WEBPACK_IMPORTED_MODULE_14__["DensidadeTanqueService"] },
        { type: app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_16__["MaterialService"] },
        { type: app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_17__["DestinatarioService"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_4__["ConfiguracaoFacade"] }
    ]; };
    AnaliseVeiculoFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-analise-veiculo-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./analise-veiculo-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./analise-veiculo-form.component.scss */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_analise_veiculo_service__WEBPACK_IMPORTED_MODULE_12__["AnaliseVeiculoService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_12__["AnaliseVeiculoService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            _cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_5__["MaterialCaractService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"],
            app_pages_cadastro_densidade_tanque_densidade_tanque_service__WEBPACK_IMPORTED_MODULE_14__["DensidadeTanqueService"],
            app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_16__["MaterialService"],
            app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_17__["DestinatarioService"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_4__["ConfiguracaoFacade"]])
    ], AnaliseVeiculoFormComponent);
    return AnaliseVeiculoFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-index/analise-veiculo-index.component.ts":
/*!*********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-index/analise-veiculo-index.component.ts ***!
  \*********************************************************************************************************************************/
/*! exports provided: AnaliseVeiculoIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoIndexComponent", function() { return AnaliseVeiculoIndexComponent; });
/* 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_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__ = __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_3__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__ = __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_5__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../analise-veiculo.service */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.service.ts");
/* harmony import */ var _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../analise-veiculo.constants */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.constants.ts");
/* harmony import */ var _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../analise-veiculo.model */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.model.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_10__ = __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 AnaliseVeiculoIndexComponent = /** @class */ (function (_super) {
    __extends(AnaliseVeiculoIndexComponent, _super);
    function AnaliseVeiculoIndexComponent(router, analiseVeiculoService, datatablesService, permissoesUtils, funcoesService, loginService) {
        var _this = _super.call(this, new _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["AnaliseVeiculoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.analiseVeiculoService = analiseVeiculoService;
        _this.datatablesService = datatablesService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.analiseVeiculo = new _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_8__["AnaliseVeiculo"]();
        _this.constantes = new _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["AnaliseVeiculoConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.aprovarCaminhao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 5, function () {
                if (!_this.analiseVeiculo || !_this.analiseVeiculo.analiseVeiculoId) {
                    return;
                }
                _this.router.navigate([_this.target + "/especificos/oiltanking/cadastros/analiseDeVeiculo/edit/" + _this.analiseVeiculo.analiseVeiculoId], { queryParams: { acao: 'aprovar' } });
            });
        };
        _this.reprovarCaminhao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 6, function () {
                if (!_this.analiseVeiculo || !_this.analiseVeiculo.analiseVeiculoId) {
                    return;
                }
                _this.router.navigate([_this.target + "/especificos/oiltanking/cadastros/analiseDeVeiculo/edit/" + _this.analiseVeiculo.analiseVeiculoId], { queryParams: { acao: 'reprovar' } });
            });
        };
        _super.prototype.addFuncoes.call(_this, [
            { action: 'aprovarCaminhao', func: function () { return _this.aprovarCaminhao; } },
            { action: 'reprovarCaminhao', func: function () { return _this.reprovarCaminhao; } }
        ]);
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    AnaliseVeiculoIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            if (!_this.loginService.isTokenExpired()) {
                if (_this.funcoesService.abrirFiltro) {
                    _this.analiseVeiculoService.filtro = new _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_8__["AnaliseVeiculoFilter"]();
                    _this.filtrar();
                }
                else {
                    _this.refresh();
                }
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    AnaliseVeiculoIndexComponent.prototype.edit = function () {
        var _this = this;
        if (this.analiseVeiculoService.analiseVeiculoBloqueada(this.analiseVeiculo.sitReg))
            return;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.router.navigate([_this.target + "/especificos/oiltanking/cadastros/analiseDeVeiculo/edit/" + _this.analiseVeiculo.analiseVeiculoId]);
        });
    };
    AnaliseVeiculoIndexComponent.prototype.detail = function () {
        this.router.navigate([this.target + "/especificos/oiltanking/cadastros/analiseDeVeiculo/detail/" + this.analiseVeiculo.analiseVeiculoId]);
    };
    AnaliseVeiculoIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.analiseVeiculoService.getByFiltro(this.analiseVeiculoService.filtro).subscribe(function (data) {
            var columns = [
                _this.datatablesService.getDataString("tipoMov", "tipo"),
                _this.datatablesService.getDataStringAlignRight("analiseVeiculoId", "registro"),
                _this.datatablesService.getDataString("placaCavalo", "placaCavalo"),
                _this.datatablesService.getDataString("placaCarreta1", "placaCarreta1"),
                _this.datatablesService.getDataString("placaCarreta2", "placaCarreta2"),
                _this.datatablesService.getDataString("nomeCliente", "cliente"),
                _this.datatablesService.getDataString("descrSituacao", "situacao"),
                _this.datatablesService.getDataString("nomeTransportadora", "transportadora")
            ];
            _this.datatablesService.toDataTable({ tableId: "dtAnaliseVeiculo", columns: columns, data: data, columnOrder: 0, orientationOrder: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["EOrientationOrder"].ASC }, function (aData) { return __awaiter(_this, void 0, void 0, function () {
                return __generator(this, function (_a) {
                    this.analiseVeiculo = aData;
                    this.trataBotao();
                    return [2 /*return*/];
                });
            }); });
        });
    };
    AnaliseVeiculoIndexComponent.prototype.trataBotao = function () {
        this.buttonDisabled("listaIndex", "print", app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["NumberUtilsStaticService"].isNotPositive(this.analiseVeiculo.analiseVeiculoId));
    };
    AnaliseVeiculoIndexComponent.prototype.properties = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _super.prototype.properties.call(_this, _this.analiseVeiculo);
        });
    };
    AnaliseVeiculoIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 9, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    AnaliseVeiculoIndexComponent.prototype.filtrar = function () {
        jQuery("#av-filter-dialog").modal("show");
    };
    AnaliseVeiculoIndexComponent.prototype.executaFiltro = function () {
        this.refresh();
    };
    AnaliseVeiculoIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _this.constantes.paramRelatorio = {
                id: _this.analiseVeiculo.analiseVeiculoId
            };
            _super.prototype.print.call(_this, null, true);
        });
    };
    AnaliseVeiculoIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_6__["AnaliseVeiculoService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"] }
    ]; };
    AnaliseVeiculoIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-analise-veiculo-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./analise-veiculo-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-index/analise-veiculo-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _analise_veiculo_service__WEBPACK_IMPORTED_MODULE_6__["AnaliseVeiculoService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"]])
    ], AnaliseVeiculoIndexComponent);
    return AnaliseVeiculoIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-modal-situacao/analise-veiculo-modal-situacao.component.ts":
/*!***************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-modal-situacao/analise-veiculo-modal-situacao.component.ts ***!
  \***************************************************************************************************************************************************/
/*! exports provided: AnaliseVeiculoModalSituacaoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoModalSituacaoComponent", function() { return AnaliseVeiculoModalSituacaoComponent; });
/* 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_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../analise-veiculo.constants */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.constants.ts");
/* harmony import */ var _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../analise-veiculo.model */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.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 AnaliseVeiculoModalSituacaoComponent = /** @class */ (function (_super) {
    __extends(AnaliseVeiculoModalSituacaoComponent, _super);
    function AnaliseVeiculoModalSituacaoComponent(permissoesUtils, funcoesService, messageService) {
        var _this = _super.call(this, new _analise_veiculo_constants__WEBPACK_IMPORTED_MODULE_5__["AnaliseVeiculoConstants"](), funcoesService) || this;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.outConfirma = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this.data = new _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_6__["AnaliseVeiculoSituacao"]();
        _this.sitAprovar = 5;
        _this.sitReprovar = 6;
        _this.sitCancelar = 7;
        return _this;
    }
    AnaliseVeiculoModalSituacaoComponent.prototype.ngOnChanges = function () {
        this.data.libRotina = this.libRotina;
    };
    AnaliseVeiculoModalSituacaoComponent.prototype.onSubmit = function () {
        var _this = this;
        this.permissoesUtils.usuarioPermitido(this.constantes.sisFormularioId, this.data.libRotina, this.data.usuario, this.data.senha, function () {
            _this.outConfirma.emit(_this.data);
            jQuery("#modalSituacao").modal("hide");
        }, function () {
            _this.messageService.error("titles.analiseVeiculo", "messages.usuarioNaoTemPermissao");
        });
    };
    Object.defineProperty(AnaliseVeiculoModalSituacaoComponent.prototype, "classModalReprovando", {
        get: function () {
            return this.isReprovando ? 'modal-dialog' : 'modal-dialog modal-sm';
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AnaliseVeiculoModalSituacaoComponent.prototype, "isReprovando", {
        get: function () {
            return this.data.libRotina === this.sitReprovar;
        },
        enumerable: true,
        configurable: true
    });
    AnaliseVeiculoModalSituacaoComponent.ctorParameters = function () { return [
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Number)
    ], AnaliseVeiculoModalSituacaoComponent.prototype, "libRotina", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], AnaliseVeiculoModalSituacaoComponent.prototype, "outConfirma", void 0);
    AnaliseVeiculoModalSituacaoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-analise-modal-situacao",
            template: __importDefault(__webpack_require__(/*! raw-loader!./analise-veiculo-modal-situacao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-modal-situacao/analise-veiculo-modal-situacao.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"]])
    ], AnaliseVeiculoModalSituacaoComponent);
    return AnaliseVeiculoModalSituacaoComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.constants.ts":
/*!*****************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.constants.ts ***!
  \*****************************************************************************************************/
/*! exports provided: AnaliseVeiculoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoConstants", function() { return AnaliseVeiculoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var AnaliseVeiculoConstants = /** @class */ (function () {
    function AnaliseVeiculoConstants() {
        this.sisFormularioId = 375493;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.propriedades" },
            { sisFormularioId: this.sisFormularioId, libRotina: 5, acao: "labels.aprovacao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 6, acao: "labels.reprovacao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 7, acao: "labels.cancelamento" },
            { sisFormularioId: this.sisFormularioId, libRotina: 8, acao: "labels.liberaAlteracaoCamposimportados" },
            { sisFormularioId: this.sisFormularioId, libRotina: 9, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "OIL";
        this.nomeForm = "titles.analiseVeiculo";
        this.reportId = "OIL0021";
        this.tabela = "AnaliseVeiculo";
        this.reportTitulo = { "titulo": "Análise de Veículo", "subTitulo": "" };
        this.listaIndex = [
            { title: 'Visualizar', action: 'detail', icon: "icon-eye", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, disabled: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Propriedade', action: 'properties', icon: "icon-menu", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'AprovarCaminhao', action: 'aprovarCaminhao', icon: "icon-check", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'ReprovarCaminhao', action: 'reprovarCaminhao', icon: "icon-close", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.listaForm = [
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'AprovarCaminhao', action: 'aprovarCaminhao', icon: "icon-check", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'ReprovarCaminhao', action: 'reprovarCaminhao', icon: "icon-close", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.listaParam = [
            { 'sistema': 'CTV', 'parametros': ["EfetuaAnaliseOrigem"] }
        ];
        this.configCtv = {
            efetuaAnaliseOrigem: false
        };
    }
    return AnaliseVeiculoConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.model.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.model.ts ***!
  \*************************************************************************************************/
/*! exports provided: AnaliseVeiculo, CalculoDensidadeFilter, AnaliseVeiculoFilter, AnaliseVeiculoSituacao */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculo", function() { return AnaliseVeiculo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CalculoDensidadeFilter", function() { return CalculoDensidadeFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoFilter", function() { return AnaliseVeiculoFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoSituacao", function() { return AnaliseVeiculoSituacao; });
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../.././../../cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/base/base.model */ "./src/app/shared/services/base/base.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 AnaliseVeiculo = /** @class */ (function (_super) {
    __extends(AnaliseVeiculo, _super);
    function AnaliseVeiculo() {
        var _this = _super.call(this) || this;
        // Inicialização das medições
        _this.densidadeAmostra = 0;
        _this.temperaturaAmostra = 0;
        _this.tempTQCT = 0;
        _this.densidadeOrigem = 0;
        _this.tempOrigem = 0;
        _this.densidade20 = 0;
        _this.fatorCorrecao = 0;
        _this.densidadeCorrigida = 0;
        _this.volumeCorrigido = 0;
        _this.pesoCorrigido = 0;
        _this.material = new _cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_1__["Material"]();
        return _this;
    }
    return AnaliseVeiculo;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_2__["BaseModel"]));

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

var AnaliseVeiculoFilter = /** @class */ (function () {
    function AnaliseVeiculoFilter() {
        this.dataInicial = moment__WEBPACK_IMPORTED_MODULE_0__().add(-30, "days").toDate();
        this.dataFinal = new Date();
        this.destinatarioIdInspetora = 0;
        this.sitReg = "";
        this.tipoTransporte = "T";
        this.placa = "";
    }
    return AnaliseVeiculoFilter;
}());

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



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.module.ts":
/*!**************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.module.ts ***!
  \**************************************************************************************************/
/*! exports provided: AnaliseVeiculoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoModule", function() { return AnaliseVeiculoModule; });
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../.././../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _analise_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./analise-veiculo.routing.module */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.routing.module.ts");
/* harmony import */ var _analise_veiculo_filter_analise_veiculo_filter_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./analise-veiculo-filter/analise-veiculo-filter.component */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-filter/analise-veiculo-filter.component.ts");
/* harmony import */ var _analise_veiculo_index_analise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./analise-veiculo-index/analise-veiculo-index.component */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-index/analise-veiculo-index.component.ts");
/* harmony import */ var _analise_veiculo_form_analise_veiculo_form_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./analise-veiculo-form/analise-veiculo-form.component */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-form.component.ts");
/* harmony import */ var _analise_veiculo_modal_situacao_analise_veiculo_modal_situacao_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./analise-veiculo-modal-situacao/analise-veiculo-modal-situacao.component */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-modal-situacao/analise-veiculo-modal-situacao.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 AnaliseVeiculoModule = /** @class */ (function () {
    function AnaliseVeiculoModule() {
    }
    AnaliseVeiculoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_0__["SharedModule"], _analise_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_2__["AnaliseVeiculoRoutingModule"]],
            declarations: [
                _analise_veiculo_index_analise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_4__["AnaliseVeiculoIndexComponent"],
                _analise_veiculo_form_analise_veiculo_form_component__WEBPACK_IMPORTED_MODULE_5__["AnaliseVeiculoFormComponent"],
                _analise_veiculo_filter_analise_veiculo_filter_component__WEBPACK_IMPORTED_MODULE_3__["AnaliseVeiculoFilterComponent"],
                _analise_veiculo_modal_situacao_analise_veiculo_modal_situacao_component__WEBPACK_IMPORTED_MODULE_6__["AnaliseVeiculoModalSituacaoComponent"]
            ],
            exports: []
        })
    ], AnaliseVeiculoModule);
    return AnaliseVeiculoModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.routing.module.ts":
/*!**********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.routing.module.ts ***!
  \**********************************************************************************************************/
/*! exports provided: AnaliseVeiculoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoRoutingModule", function() { return AnaliseVeiculoRoutingModule; });
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _analise_veiculo_index_analise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./analise-veiculo-index/analise-veiculo-index.component */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-index/analise-veiculo-index.component.ts");
/* harmony import */ var _analise_veiculo_form_analise_veiculo_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./analise-veiculo-form/analise-veiculo-form.component */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo-form/analise-veiculo-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: _analise_veiculo_index_analise_veiculo_index_component__WEBPACK_IMPORTED_MODULE_3__["AnaliseVeiculoIndexComponent"],
        data: { breadcrumb: "AnaliseVeiculo", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: "create",
        component: _analise_veiculo_form_analise_veiculo_form_component__WEBPACK_IMPORTED_MODULE_4__["AnaliseVeiculoFormComponent"],
        data: {
            breadcrumb: "AnaliseVeiculo",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create }
        }
    },
    {
        path: "edit/:id",
        component: _analise_veiculo_form_analise_veiculo_form_component__WEBPACK_IMPORTED_MODULE_4__["AnaliseVeiculoFormComponent"],
        data: {
            breadcrumb: "AnaliseVeiculo",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].edit }
        }
    },
    {
        path: "detail/:id",
        component: _analise_veiculo_form_analise_veiculo_form_component__WEBPACK_IMPORTED_MODULE_4__["AnaliseVeiculoFormComponent"],
        data: {
            breadcrumb: "AnaliseVeiculo",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var AnaliseVeiculoRoutingModule = /** @class */ (function () {
    function AnaliseVeiculoRoutingModule() {
    }
    AnaliseVeiculoRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"]]
        })
    ], AnaliseVeiculoRoutingModule);
    return AnaliseVeiculoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.service.ts":
/*!***************************************************************************************************!*\
  !*** ./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.service.ts ***!
  \***************************************************************************************************/
/*! exports provided: AnaliseVeiculoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AnaliseVeiculoService", function() { return AnaliseVeiculoService; });
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _app_error_handler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../environments/environment */ "./src/environments/environment.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 _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./analise-veiculo.model */ "./src/app/pages/especificos/oiltanking/cadastros/analise-veiculo/analise-veiculo.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 AnaliseVeiculoService = /** @class */ (function (_super) {
    __extends(AnaliseVeiculoService, _super);
    function AnaliseVeiculoService(http, message) {
        var _this = _super.call(this, http, "oiltanking/analiseVeiculo") || this;
        _this.message = message;
        _this.filtro = new _analise_veiculo_model__WEBPACK_IMPORTED_MODULE_7__["AnaliseVeiculoFilter"]();
        _this.permiteAlterarDadosComLaudo = false;
        return _this;
    }
    AnaliseVeiculoService.prototype.podeEditarComBaseNoLaudo = function (laudoId) {
        var temLaudo = laudoId > 0;
        var permiteAlterarComLaudo = this.permiteAlterarDadosComLaudo;
        if (!temLaudo) {
            return true;
        }
        return permiteAlterarComLaudo;
    };
    AnaliseVeiculoService.prototype.analiseVeiculoBloqueada = function (sitReg) {
        var mensagens = {
            L: "messages.analiseVeiculoAprovaAlteracaoNaoPermitida",
            R: "messages.analiseVeiculoReprovadaAlteracaoNaoPermitida"
        };
        if (mensagens[sitReg]) {
            this.message.warning("titles.analiseVeiculo", mensagens[sitReg]);
            return true;
        }
        return false;
    };
    AnaliseVeiculoService.prototype.getByFiltro = function (filtro) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/listar", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.getById = function (id) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/" + id)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.medicoesGrava = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/medicoesGrava", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.getMaterial = function (regControle) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/material/" + regControle)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.getControle20Graus = function (codDest) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/getControle20Graus/" + codDest)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.getCheckListOrigem = function (regControle) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/checkListOrigem/" + regControle)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.getAnaliseVeiculoOrigem = function (regControle) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/analiseVeiculoOrigem/" + regControle)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.aprovar = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/aprovar", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.reprovar = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/reprovar", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.cancelarConclusao = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/cancelarConclusao", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.prototype.criarMedicao = function (regControle) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/oiltanking/analiseVeiculo/criarMedicao/" + regControle, {})
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    AnaliseVeiculoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] }
    ]; };
    AnaliseVeiculoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"]])
    ], AnaliseVeiculoService);
    return AnaliseVeiculoService;
}(app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_4__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-oiltanking-cadastros-analise-veiculo-analise-veiculo-module.js.map