(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-consultas-consulta-situacao-veiculo-consulta-situacao-veiculo-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component.html":
/*!**********************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-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=\"situacao-veiculo-filter\" 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.situacaoDeVeiculo' | translate }}</h6>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                <div class=\"modal-body\">\n                    <div class=\"row\">\n                        <div class=\"col-lg-12 col-md-12\">\n                            <div class=\"row\">\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"periodoDe\" class=\"required\">{{\"labels.periodoDe\" | translate\n                                            }}</label>\n                                        <app-data id=\"periodoDe\" name=\"periodoDe\" [(ngModel)]=\"service.filtro.dataI\"\n                                            autofocus class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMinSeg\"\n                                            required=\"true\">\n                                        </app-data>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"ate\" class=\"required\">{{\"labels.ate\" | translate}}</label>\n                                        <app-data id=\"ate\" name=\"ate\" [(ngModel)]=\"service.filtro.dataF\"\n                                            class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMinSeg\"\n                                            required=\"true\">\n                                        </app-data>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-6\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"grupo\">{{'labels.grupo' | translate}}</label>\n                                        <app-combo-padrao name=\"grupo\" id=\"grupo\" chave=\"CodGrupo\"\n                                            descricao=\"DescrGrupo\" ativo=\"true\" tabela=\"GrupoCliente\"\n                                            [(ngModel)]=\"service.filtro.codGrupo\">\n                                        </app-combo-padrao>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-12 col-md-12 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" tipoDestinatario=\"C\"\n                                            modalTitle=\"pesquisaDeCliente\" label=\"cliente\"\n                                            [(ngModel)]=\"service.filtro.codDest\" showInscricao=\"false\"\n                                            showCgcCpf=\"false\">\n                                        </app-pesquisa-destinatario>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-12 col-md-12 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <app-pesquisa-material id=\"materialId\" name=\"materialId\" label=\"produto\"\n                                            modalTitle=\"pesquisaDeProduto\" [(ngModel)]=\"service.filtro.material\">\n                                        </app-pesquisa-material>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-12 col-md-12 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <app-pesquisa-destinatario id=\"destinatarioIdTransportadora\"\n                                            name=\"destinatarioIdTransportadora\" label=\"transportadora\"\n                                            modalTitle=\"pesquisaDeTransportadora\"\n                                            [(ngModel)]=\"service.filtro.transportadora\" tipoDestinatario=\"NT\"\n                                            showCgcCpf=\"false\" showInscricao=\"false\">\n                                        </app-pesquisa-destinatario>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"grupo\">{{'labels.localOperacao' | translate}}</label>\n                                        <app-combo-padrao name=\"localOperacao\" id=\"localOperacao\" chave=\"CodLocalOper\"\n                                            descricao=\"DescrLocalOper\" ativo=\"true\" tabela=\"LocalOperacao\"\n                                            [(ngModel)]=\"service.filtro.codLocalOper\">\n                                        </app-combo-padrao>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"situacao\">{{ 'labels.situacao' | translate }}</label>\n                                        <app-combo-multi-padrao id=\"situacao\" name=\"situacao\" tabela=\"SituacaoVeiculo\"\n                                            chave=\"CodSitVeiculo\" descricao=\"DescrSitVeiculo\" ativos=\"true\"\n                                            [selected]=\"items\" (outObjeto)=\"trataSit($event)\">\n                                        </app-combo-multi-padrao>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"tipoMov\" class=\"required\">{{ \"labels.tipoOperacao\" | translate\n                                            }}</label>\n                                        <select class=\"form-control form-control-sm\"\n                                            [(ngModel)]=\"service.filtro.tipoMov\" id=\"tipoMov\" name=\"tipoMov\">\n                                            <option value=\"C\">{{ 'labels.carga' | translate }}</option>\n                                            <option value=\"D\">{{ 'labels.descarga' | translate }}</option>\n                                            <option value=\"T\">{{ 'labels.todos' | translate }}</option>\n                                        </select>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"modal\" class=\"required\">{{ \"labels.modal\" | translate }}</label>\n                                        <select class=\"form-control form-control-sm\" required=\"true\"\n                                            [(ngModel)]=\"service.filtro.modal\" id=\"modal\" name=\"modal\">\n                                            <option value=\"R\">{{ 'labels.rodoviario' | translate }}</option>\n                                            <option value=\"F\">{{ 'labels.ferroviario' | translate }}</option>\n                                            <option value=\"T\">{{ 'labels.todos' | translate }}</option>\n                                        </select>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"ordem\">{{'labels.ordem' | translate}}</label>\n                                        <app-ordem id=\"ordem\" name=\"ordem\" [list]=\"constantes.orderBy\"\n                                            (outOrdem)=\"service.filtro.ordem = $event\"></app-ordem>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-12\">\n                                    <label for=\"timer\"> {{ 'labels.intervaloDeVerificacao' | translate }}: <strong> {{\n                                            service.filtro.intervaloVerificacao }} {{ 'labels.segundos' | translate\n                                            }}</strong> </label>\n                                    <div class=\"custom-slider\">\n                                        <ng5-slider id=\"timer\" [(value)]=\"service.filtro.intervaloVerificacao\"\n                                            [options]=\"options\"\n                                            (valueChange)=\"trataConsulta(service.filtro.intervaloVerificacao)\"></ng5-slider>\n                                    </div>\n                                </div>\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 }}\n                    </button>\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\" (click)=\"sair()\">Sair</button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component.html":
/*!******************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-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.listaIndex\" [sisFormularioId]=\"constantes.sisFormularioId\"\n    [itemData]=\"data?.regControle\">\n</app-menu-command-bar>\n\n<div class=\"timerbar timerbar-moved\">\n    <div class=\"timerbar-bar\">\n    </div>\n</div>\n\n<div class=\"section-comand-bar\">\n    <div class=\"row\" *ngIf=\"hasSituacoes\">\n        <div class=\"col-lg-6\">\n            <div class=\"table-responsive\" style=\"max-height: 230px; overflow: auto;\">\n                <table class=\"table table-striped table-bordered table-hover rownowrap table-sm table-header-fixed\">\n                    <thead>\n                        <tr style=\"font-size: 12px;\">\n                            <th>{{ \"labels.situacao\" | translate }}</th>\n                            <th>{{ \"labels.veiculos\" | translate }}</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr style=\"font-size: 12px;\" *ngFor=\"let situacao of situacoes\" class=\"clickable\">\n                            <td>{{ situacao.descricao }}</td>\n                            <td>{{ situacao.quantidade }}</td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\n        </div>\n    </div>\n\n    <div class=\"row\">\n        <div class=\"col-12\">\n            <app-table>\n                <div class=\"table-responsive\">\n                    <table class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n                        <thead>\n                            <tr>\n                                <th *ngFor=\"let h of columnsVisible\">\n                                    {{h.title | translate}}\n                                </th>\n                            </tr>\n                        </thead>\n                        <tbody>\n                            <tr *ngFor=\"let d of resultSet\" (click)=\"data = d\"\n                                [ngClass]=\"{'info': data?.regControle === d?.regControle}\">\n                                <ng-container *ngFor=\"let h of columnsVisible\">\n                                    <td [ngStyle]=\"{'background-color': perInspecaoVeiculos ? corLinha(d.flagInspecao) : ''}\"  *ngIf=\"h.type === 'string'\"> {{ d[h.data] }} </td>\n                                    <td [ngStyle]=\"{'background-color': perInspecaoVeiculos ? corLinha(d.flagInspecao) : ''}\" *ngIf=\"h.type === 'datetime'\"> {{ d[h.data] | date: h.format }} </td>\n                                </ng-container>\n                            </tr>\n                            <tr *ngIf=\"!hasResultSet\">\n                                <th colspan=\"18\">\n                                    {{'messages.nenhumRegistroEncontrado' | translate }}\n                                </th>\n                            </tr>\n                        </tbody>\n                    </table>\n                </div>\n            </app-table>\n        </div>\n    </div>\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-consulta-situacao-veiculo-filter (filtrar)=\"onRefresh()\"\n    (outSair)=\"retomarExecucaoIntervalo()\"></app-consulta-situacao-veiculo-filter>\n<app-preferencias-usuario-rotina [sisFormularioId]=\"constantes.sisFormularioId\" [filtroPesquisaInicial]=\"service.filtro\"\n    [colunasPesquisaInicial]=\"colunasPesquisaInicial\" tableId=\"dtSituacaoVeiculo\" (execute)=\"carregarFiltro($event)\"\n    (outLimpar)=\"clearControlProgress()\" (outCancelar)=\"retomarExecucaoIntervalo()\">\n</app-preferencias-usuario-rotina>");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component.scss":
/*!********************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component.scss ***!
  \********************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("div.container-tree {\n  /*height: 100px;\n  overflow-y: auto;\n  overflow-x: hidden*/\n}\n\ndiv.treeview-container.ng-star-inserted {\n  /*overflow-y: hidden;*/\n}\n\n.custom-slider .ng5-slider .ng5-slider-bar {\n  background: #7874af;\n  height: 2px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-selection {\n  background: #bd7d05;\n}\n\n.custom-slider .ng5-slider .ng5-slider-pointer {\n  width: 8px;\n  height: 16px;\n  top: auto;\n  /* to remove the default positioning */\n  bottom: 0;\n  background-color: #333;\n  border-top-left-radius: 3px;\n  border-top-right-radius: 3px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-pointer:after {\n  display: none;\n}\n\n.custom-slider .ng5-slider .ng5-slider-bubble {\n  bottom: 14px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-limit {\n  font-weight: bold;\n  color: #827eb5;\n}\n\n.custom-slider .ng5-slider .ng5-slider-tick {\n  width: 1px;\n  height: 10px;\n  margin-left: 4px;\n  border-radius: 0;\n  background: #827eb5;\n  top: -1px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-tick.ng5-slider-selected {\n  background: #e49607;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component.ts":
/*!******************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component.ts ***!
  \******************************************************************************************************************************************/
/*! exports provided: ConsultaSituacaoVeiculoFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaSituacaoVeiculoFilterComponent", function() { return ConsultaSituacaoVeiculoFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _admin_corporate_sis_mensagem_sis_mensagem_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../admin/corporate/sis-mensagem/sis-mensagem.service */ "./src/app/pages/admin/corporate/sis-mensagem/sis-mensagem.service.ts");
/* harmony import */ var _cadastro_situacao_veiculo_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../cadastro/situacao-veiculo/situacao-veiculo.service */ "./src/app/pages/cadastro/situacao-veiculo/situacao-veiculo.service.ts");
/* harmony import */ var _consulta_situacao_veiculo_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../consulta-situacao-veiculo.constants */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.constants.ts");
/* harmony import */ var _consulta_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../consulta-situacao-veiculo.service */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.service.ts");
/* harmony import */ var _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../../../../shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.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 __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 ConsultaSituacaoVeiculoFilterComponent = /** @class */ (function () {
    function ConsultaSituacaoVeiculoFilterComponent(service, serviceSituacaoVeiculo, message, sisMensagemService) {
        this.service = service;
        this.serviceSituacaoVeiculo = serviceSituacaoVeiculo;
        this.message = message;
        this.sisMensagemService = sisMensagemService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.outSair = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_1__["Mascaras"]();
        this.triggerFocus = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.options = { floor: 0, ceil: 60, showTicks: true, step: 10 };
        this.items = [];
        this.constantes = new _consulta_situacao_veiculo_constants__WEBPACK_IMPORTED_MODULE_6__["ConsultaSituacaoVeiculoConstants"]();
    }
    ConsultaSituacaoVeiculoFilterComponent.prototype.ngOnInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _array, i, item;
            return __generator(this, function (_a) {
                this.triggerFocus.emit(0);
                _array = this.service.filtro.codSitVeiculo.split(",");
                for (i = 0; i < _array.length; i++) {
                    item = void 0;
                    item = _array[i];
                    this.items.push(item);
                }
                return [2 /*return*/];
            });
        });
    };
    ConsultaSituacaoVeiculoFilterComponent.prototype.onSubmit = function (form) {
        if (_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["DateTimeUtilsStaticService"].menorA(this.service.filtro.dataF, this.service.filtro.dataI)) {
            this.message.warning('titles.situacaoVeiculo', 'messages.dataDeMaiordataAte');
            return;
        }
        if (!form.invalid) {
            _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_8__["ModalUtilsStaticService"].closeModal("situacao-veiculo-filter");
            this.filtrar.emit();
        }
    };
    ConsultaSituacaoVeiculoFilterComponent.prototype.trataConsulta = function (value) {
        this.service.filtro.intervaloVerificacao = value;
    };
    ConsultaSituacaoVeiculoFilterComponent.prototype.trataSit = function (selectedItems) {
        this.service.filtro.codSitVeiculo = selectedItems;
    };
    ConsultaSituacaoVeiculoFilterComponent.prototype.sair = function () {
        this.outSair.emit();
    };
    ConsultaSituacaoVeiculoFilterComponent.ctorParameters = function () { return [
        { type: _consulta_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_7__["ConsultaSituacaoVeiculoService"] },
        { type: _cadastro_situacao_veiculo_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_5__["SituacaoVeiculoService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: _admin_corporate_sis_mensagem_sis_mensagem_service__WEBPACK_IMPORTED_MODULE_4__["SisMensagemService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], ConsultaSituacaoVeiculoFilterComponent.prototype, "filtrar", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], ConsultaSituacaoVeiculoFilterComponent.prototype, "outSair", void 0);
    ConsultaSituacaoVeiculoFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-consulta-situacao-veiculo-filter',
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-situacao-veiculo-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./consulta-situacao-veiculo-filter.component.scss */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_consulta_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_7__["ConsultaSituacaoVeiculoService"],
            _cadastro_situacao_veiculo_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_5__["SituacaoVeiculoService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            _admin_corporate_sis_mensagem_sis_mensagem_service__WEBPACK_IMPORTED_MODULE_4__["SisMensagemService"]])
    ], ConsultaSituacaoVeiculoFilterComponent);
    return ConsultaSituacaoVeiculoFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component.scss":
/*!****************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-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"] = ("section#box {\n  --width-container: 80;\n}\nsection#box div.contain-box {\n  width: calc(var(--width-container) * 1%);\n}\n.timerbar {\n  background: rgba(0, 0, 0, 0.25);\n  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);\n  --progress: 0;\n}\n.timerbar-bar {\n  height: 5px;\n  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));\n  transition: 0.4s linear;\n  transition-property: width, background-color;\n}\n.timerbar-moved .timerbar-bar {\n  width: calc(var(--progress) * 1%);\n  background-color: #EF476F;\n  -webkit-animation: timerbarAnimation 6s;\n          animation: timerbarAnimation 6s;\n}\n@-webkit-keyframes timerbarAnimation {\n  0% {\n    width: 5%;\n    background-color: #F9BCCA;\n  }\n  50% {\n    width: 50%;\n    background-color: #e3533a;\n  }\n  100% {\n    width: 100%;\n    background-color: #EF476F;\n  }\n}\n@keyframes timerbarAnimation {\n  0% {\n    width: 5%;\n    background-color: #F9BCCA;\n  }\n  50% {\n    width: 50%;\n    background-color: #e3533a;\n  }\n  100% {\n    width: 100%;\n    background-color: #EF476F;\n  }\n}\nth,\ntd {\n  text-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvY29uc3VsdGFzL2NvbnN1bHRhLXNpdHVhY2FvLXZlaWN1bG8vY29uc3VsdGEtc2l0dWFjYW8tdmVpY3Vsby1mb3JtL0M6XFxDb3Jwb3JhdGVcXENvcnBvcmF0ZVdlYkRlc2VudlxcX3VuaXNvbHV0aW9uL3NyY1xcYXBwXFxwYWdlc1xcY29uc3VsdGFzXFxjb25zdWx0YS1zaXR1YWNhby12ZWljdWxvXFxjb25zdWx0YS1zaXR1YWNhby12ZWljdWxvLWZvcm1cXGNvbnN1bHRhLXNpdHVhY2FvLXZlaWN1bG8tZm9ybS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvcGFnZXMvY29uc3VsdGFzL2NvbnN1bHRhLXNpdHVhY2FvLXZlaWN1bG8vY29uc3VsdGEtc2l0dWFjYW8tdmVpY3Vsby1mb3JtL2NvbnN1bHRhLXNpdHVhY2FvLXZlaWN1bG8tZm9ybS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLHFCQUFBO0FDQ0o7QURDSTtFQUNJLHdDQUFBO0FDQ1I7QURHQTtFQUNJLCtCQUFBO0VBQ0EsZ0ZBQUE7RUFDQSxhQUFBO0FDQUo7QURHQTtFQUNJLFdBQUE7RUFDQSxpR0FBQTtFQUNBLHVCQUFBO0VBQ0EsNENBQUE7QUNBSjtBREdBO0VBQ0ksaUNBQUE7RUFDQSx5QkFBQTtFQUNBLHVDQUFBO1VBQUEsK0JBQUE7QUNBSjtBREdBO0VBQ0k7SUFDSSxTQUFBO0lBQ0EseUJBQUE7RUNBTjtFREdFO0lBQ0ksVUFBQTtJQUNBLHlCQUFBO0VDRE47RURJRTtJQUNJLFdBQUE7SUFDQSx5QkFBQTtFQ0ZOO0FBQ0Y7QURaQTtFQUNJO0lBQ0ksU0FBQTtJQUNBLHlCQUFBO0VDQU47RURHRTtJQUNJLFVBQUE7SUFDQSx5QkFBQTtFQ0ROO0VESUU7SUFDSSxXQUFBO0lBQ0EseUJBQUE7RUNGTjtBQUNGO0FES0E7O0VBRUksaUJBQUE7QUNISiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2NvbnN1bHRhcy9jb25zdWx0YS1zaXR1YWNhby12ZWljdWxvL2NvbnN1bHRhLXNpdHVhY2FvLXZlaWN1bG8tZm9ybS9jb25zdWx0YS1zaXR1YWNhby12ZWljdWxvLWZvcm0uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJzZWN0aW9uI2JveCB7XHJcbiAgICAtLXdpZHRoLWNvbnRhaW5lcjogODA7XHJcblxyXG4gICAgZGl2LmNvbnRhaW4tYm94IHtcclxuICAgICAgICB3aWR0aDogY2FsYyh2YXIoLS13aWR0aC1jb250YWluZXIpICogMSUpO1xyXG4gICAgfVxyXG59XHJcblxyXG4udGltZXJiYXIge1xyXG4gICAgYmFja2dyb3VuZDogcmdiYSgwLCAwLCAwLCAwLjI1KTtcclxuICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMXB4IDJweCByZ2JhKDAsIDAsIDAsIDAuMjUpLCAwIDFweCByZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMDgpO1xyXG4gICAgLS1wcm9ncmVzczogMDtcclxufVxyXG5cclxuLnRpbWVyYmFyLWJhciB7XHJcbiAgICBoZWlnaHQ6IDVweDtcclxuICAgIGJhY2tncm91bmQtaW1hZ2U6IGxpbmVhci1ncmFkaWVudCh0byBib3R0b20sIHJnYmEoMjU1LCAyNTUsIDI1NSwgMC4zKSwgcmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA1KSk7XHJcbiAgICB0cmFuc2l0aW9uOiAwLjRzIGxpbmVhcjtcclxuICAgIHRyYW5zaXRpb24tcHJvcGVydHk6IHdpZHRoLCBiYWNrZ3JvdW5kLWNvbG9yO1xyXG59XHJcblxyXG4udGltZXJiYXItbW92ZWQgLnRpbWVyYmFyLWJhciB7XHJcbiAgICB3aWR0aDogY2FsYyh2YXIoLS1wcm9ncmVzcykgKiAxJSk7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjRUY0NzZGO1xyXG4gICAgYW5pbWF0aW9uOiB0aW1lcmJhckFuaW1hdGlvbiA2cztcclxufVxyXG5cclxuQGtleWZyYW1lcyB0aW1lcmJhckFuaW1hdGlvbiB7XHJcbiAgICAwJSB7XHJcbiAgICAgICAgd2lkdGg6IDUlO1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNGOUJDQ0E7XHJcbiAgICB9XHJcblxyXG4gICAgNTAlIHtcclxuICAgICAgICB3aWR0aDogNTAlO1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlMzUzM2E7XHJcbiAgICB9XHJcblxyXG4gICAgMTAwJSB7XHJcbiAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI0VGNDc2RjtcclxuICAgIH1cclxufVxyXG5cclxudGgsXHJcbnRkIHtcclxuICAgIHRleHQtd3JhcDogbm93cmFwO1xyXG59Iiwic2VjdGlvbiNib3gge1xuICAtLXdpZHRoLWNvbnRhaW5lcjogODA7XG59XG5zZWN0aW9uI2JveCBkaXYuY29udGFpbi1ib3gge1xuICB3aWR0aDogY2FsYyh2YXIoLS13aWR0aC1jb250YWluZXIpICogMSUpO1xufVxuXG4udGltZXJiYXIge1xuICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIDAuMjUpO1xuICBib3gtc2hhZG93OiBpbnNldCAwIDFweCAycHggcmdiYSgwLCAwLCAwLCAwLjI1KSwgMCAxcHggcmdiYSgyNTUsIDI1NSwgMjU1LCAwLjA4KTtcbiAgLS1wcm9ncmVzczogMDtcbn1cblxuLnRpbWVyYmFyLWJhciB7XG4gIGhlaWdodDogNXB4O1xuICBiYWNrZ3JvdW5kLWltYWdlOiBsaW5lYXItZ3JhZGllbnQodG8gYm90dG9tLCByZ2JhKDI1NSwgMjU1LCAyNTUsIDAuMyksIHJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wNSkpO1xuICB0cmFuc2l0aW9uOiAwLjRzIGxpbmVhcjtcbiAgdHJhbnNpdGlvbi1wcm9wZXJ0eTogd2lkdGgsIGJhY2tncm91bmQtY29sb3I7XG59XG5cbi50aW1lcmJhci1tb3ZlZCAudGltZXJiYXItYmFyIHtcbiAgd2lkdGg6IGNhbGModmFyKC0tcHJvZ3Jlc3MpICogMSUpO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjRUY0NzZGO1xuICBhbmltYXRpb246IHRpbWVyYmFyQW5pbWF0aW9uIDZzO1xufVxuXG5Aa2V5ZnJhbWVzIHRpbWVyYmFyQW5pbWF0aW9uIHtcbiAgMCUge1xuICAgIHdpZHRoOiA1JTtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjRjlCQ0NBO1xuICB9XG4gIDUwJSB7XG4gICAgd2lkdGg6IDUwJTtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZTM1MzNhO1xuICB9XG4gIDEwMCUge1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICNFRjQ3NkY7XG4gIH1cbn1cbnRoLFxudGQge1xuICB0ZXh0LXdyYXA6IG5vd3JhcDtcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component.ts":
/*!**************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component.ts ***!
  \**************************************************************************************************************************************/
/*! exports provided: ConsultaSituacaoVeiculoFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaSituacaoVeiculoFormComponent", function() { return ConsultaSituacaoVeiculoFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_components_modais_preferencias_usuario_rotina_preferencias_usuario_rotina_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/components/modais/preferencias-usuario-rotina/preferencias-usuario-rotina.service */ "./src/app/shared/components/modais/preferencias-usuario-rotina/preferencias-usuario-rotina.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__ = __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_8__ = __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_9__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _consulta_situacao_veiculo_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../consulta-situacao-veiculo.constants */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.constants.ts");
/* harmony import */ var _consulta_situacao_veiculo_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../consulta-situacao-veiculo.model */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.model.ts");
/* harmony import */ var _consulta_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../consulta-situacao-veiculo.service */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.service.ts");
/* harmony import */ var _shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./../../../../shared/components/commons/table/table.component */ "./src/app/shared/components/commons/table/table.component.ts");
/* harmony import */ var _shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./../../../../shared/services/funcoes/array-utils/array-utils.static.service */ "./src/app/shared/services/funcoes/array-utils/array-utils.static.service.ts");
/* harmony import */ var _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./../../../../shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




















var ConsultaSituacaoVeiculoFormComponent = /** @class */ (function (_super) {
    __extends(ConsultaSituacaoVeiculoFormComponent, _super);
    function ConsultaSituacaoVeiculoFormComponent(service, router, message, funcoes, loginService, datatablesService, preferenciasUsuarioService, permissoesUtils, excelService, configuracao) {
        var _this = _super.call(this, new _consulta_situacao_veiculo_constants__WEBPACK_IMPORTED_MODULE_11__["ConsultaSituacaoVeiculoConstants"](), funcoes) || this;
        _this.service = service;
        _this.router = router;
        _this.message = message;
        _this.funcoes = funcoes;
        _this.loginService = loginService;
        _this.datatablesService = datatablesService;
        _this.preferenciasUsuarioService = preferenciasUsuarioService;
        _this.permissoesUtils = permissoesUtils;
        _this.excelService = excelService;
        _this.configuracao = configuracao;
        _this.data = new _consulta_situacao_veiculo_model__WEBPACK_IMPORTED_MODULE_12__["ConsultaSituacaoVeiculo"]();
        _this.colunasPesquisaInicial = [];
        _this.constantes = new _consulta_situacao_veiculo_constants__WEBPACK_IMPORTED_MODULE_11__["ConsultaSituacaoVeiculoConstants"]();
        _this.mensagens = [];
        _this.situacoes = [];
        _this.expand = false;
        _this.seconds = 0;
        _this.isPaused = false;
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.service.corInspecVeic = _this.configuracao.string("CTV", "CorInspecVeic");
            }
        };
        _this.fullscreen = function () {
            if (_this.expand) {
                _this.exitFullscreen();
                _this.expand = false;
            }
            else {
                _this.requestFullscreen();
            }
        };
        _this.refresh = function () {
            _this.onRefresh();
        };
        _this.onRefresh = function () {
            _this.clearControlProgress();
            _this.getDados();
            if (!!_this.service.filtro.intervaloVerificacao && +_this.service.filtro.intervaloVerificacao > 0) {
                _this.seconds = 0;
                _this._intervalFilter = setInterval(function () {
                    if (!_this.isPaused) {
                        _this.seconds++;
                        _this.timerbar.style.setProperty('--progress', ((_this.seconds * 100) / +_this.service.filtro.intervaloVerificacao));
                        if (_this.seconds >= +_this.service.filtro.intervaloVerificacao) {
                            _this.seconds = 0;
                            _this.getDados();
                        }
                    }
                }, 1000);
            }
        };
        _this.export = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 3, function () {
                var headerDictionary = {
                    "tipoPlaneja": "tipo",
                    "regPlaneja": "planejamento",
                    "dtEmissao": "emissao",
                    "cliente": "cliente",
                    "clienteVenda": "clienteVenda",
                    "razaoTransp": "transportadora",
                    "placaCavalo": "placaCavalo",
                    "placaCarreta1": "placaCarreta1",
                    "placaCarreta2": "placaCarreta2",
                    "cpfMotorista": "cpfMotorista",
                    "nomeMotorista": "motorista",
                    "observ": "observacao",
                    "descrTipoVeiculo": "tipoVeiculo",
                    "dtOperInc": "inclusaoPortal",
                    "dtChegada": "chegada",
                    "tipoMov": "operacao",
                    "modal": "modal",
                    "requisicao": "requisicao",
                    "sequencia": "sequencia",
                    "flagStatus": "status",
                    "quantid": "quantidade",
                    "produtos": "produtos",
                    "codCheckList": "CheckList",
                    "dtDescarga": "dataDescarga",
                    "descrMov": "descricao",
                    "placaCarreta": "placaCarreta1",
                    "codDest": "codigo",
                    "nomeTransp": "nomeTransportadora",
                    "nomeMoto": "nomeMotorista",
                    "operExc": "operador",
                    "dtOperExc": "dtExcluida",
                    "dataDocumento": "dtDocto",
                    "codVenda": "codigo",
                    "dtPrevChegada": "dtPrevisaoChegada",
                    "codSitVeiculo": "codigo",
                    "pedido15": "pedido",
                    "descrSitVeiculo": "situacao"
                };
                var options = {
                    headerJsonKeys: true,
                    headerDictionary: headerDictionary
                };
                var ds = _shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["ArrayUtilsStaticService"].clone(_this.dados);
                _this.excelService.exportAsExcelFile(ds, _this.message.getTranslates("titles", 'situacaoDeVeiculo'), options);
            });
        };
        _this.free = function () {
            _this.service.liberacao().subscribe(function (resp) {
                _this.message.success('titles.situacaoDeVeiculo', 'messages.liberadoComSucesso');
            });
        };
        _this.preferenciasUsuario = function () {
            _this.pausarExecucaoIntervalo();
            _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_16__["ModalUtilsStaticService"].openModal("prefer-usuario-rotina-dialog");
        };
        _this.chamar = function () {
            var speechSynthesis = window.speechSynthesis;
            if (speechSynthesis.speaking) {
                console.error("speechSynthesis.speaking");
                return;
            }
            var speechSynthesisVoice = speechSynthesis.getVoices().find(function (c) { return c.name === "Google português do Brasil"; });
            var placas = _this.data.placaCavalo.split(' ');
            var placa = placas[0].split('');
            var utterThis = new SpeechSynthesisUtterance("Aten\u00E7\u00E3o placa! " + placa.join('...!'));
            utterThis.onend = function () { return _this.service.setChamada(_this.data.regControle); };
            utterThis.onerror = function () { return console.error("SpeechSynthesisUtterance.onerror"); };
            utterThis.voice = speechSynthesisVoice;
            utterThis.pitch = 0;
            utterThis.rate = 0.9;
            speechSynthesis.speak(utterThis);
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoes.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
            _this.carregarColunasPesquisa();
        });
        return _this;
    }
    ConsultaSituacaoVeiculoFormComponent.prototype.ngAfterViewInit = function () {
        if (!this.loginService.isTokenExpired()) {
            this.carregarFiltro();
        }
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.timerbar = document.querySelector('.timerbar');
        this.container = document.querySelector('section#box');
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.configuracao.getConfig({
                configs: _this.constantes.configuracoes
            }, _this.loadConfig);
        }, function () { return _this.permissoesUtils.back(); }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'export', func: function () { return _this.export; } },
            { action: 'free', func: function () { return _this.free; } },
            { action: 'chamar', func: function () { return _this.chamar; } },
            { action: 'preferenciasUsuario', func: function () { return _this.preferenciasUsuario; } },
            { action: 'fullscreen', func: function () { return _this.fullscreen; } },
        ]);
        this.clearControlProgress();
        if (this.router.url.indexOf("popup") < 0) {
            this.buttonVisible('listaIndex', 'fullscreen', false);
        }
        this.inspecaoVeiculos();
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.inspecaoVeiculos = function () {
        var _this = this;
        this.permissoesUtils.validRotina(this.constantes.sisFormularioId, 4, function () { return _this.perInspecaoVeiculos = true; }, function () { return _this.perInspecaoVeiculos = false; });
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.corLinha = function (status) {
        if (status == "S") {
            return this.service.corInsp;
        }
        return "";
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.ngOnDestroy = function () {
        this.clearControlProgress();
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.clearControlProgress = function () {
        if (!!this.timerbar) {
            this.timerbar.style.setProperty('--progress', 0);
        }
        if (this._intervalFilter) {
            clearInterval(this._intervalFilter);
        }
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.requestFullscreen = function () {
        this.expand = true;
        this.container.style.setProperty('--width-container', 95);
        var elem = document.documentElement;
        if (elem.requestFullscreen) {
            elem.requestFullscreen();
        }
        else if (elem.webkitRequestFullscreen) {
            elem.webkitRequestFullscreen();
        }
        else if (elem.mozRequestFullScreen) {
            elem.mozRequestFullScreen();
        }
        else if (elem.msRequestFullscreen) {
            elem.msRequestFullscreen();
        }
        else {
            this.expand = false;
            console.log('Fullscreen API is not supported.');
        }
    };
    ;
    ConsultaSituacaoVeiculoFormComponent.prototype.exitFullscreen = function () {
        this.container.style.setProperty('--width-container', 80);
        if (document.exitFullscreen) {
            document.exitFullscreen();
        }
        else if (document.mozCancelFullScreen) {
            document.mozCancelFullScreen();
        }
        else if (document.msExitFullscreen) {
            document.msExitFullscreen();
        }
        else {
            console.log('Fullscreen API is not supported.');
        }
    };
    ;
    ConsultaSituacaoVeiculoFormComponent.prototype.carregarFiltro = function (executarPesquisa) {
        var _this = this;
        if (executarPesquisa === void 0) { executarPesquisa = false; }
        this.dados = [];
        this.preferenciasUsuarioService.getDadosPreferenciaUsuario(this.constantes.sisFormularioId, this.service.filtro, this.colunasPesquisaInicial).subscribe(function (dados) {
            if (dados) {
                _this.service.filtro = _consulta_situacao_veiculo_model__WEBPACK_IMPORTED_MODULE_12__["ConsultaSituacaoVeiculoFilter"].fromJS(dados.dadosFiltro);
                _this.service.preferenciasUsuarios.ordemColunasPesquisa = dados.ordemColunasPesquisa;
                _this.service.preferenciasUsuarios.pageLength = dados.pageLength;
                _this.service.preferenciasUsuarios.stateSaveTabela = dados.stateSaveTabela;
                app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_3__["EventEmitterService"].get('appOrderChangeConfig').emit({ ordem: _this.service.filtro.ordem });
                app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_3__["EventEmitterService"].get('appTableChangeConfig').emit({ pageSize: dados.pageLength });
            }
            if (!executarPesquisa) {
                _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_16__["ModalUtilsStaticService"].openModal("situacao-veiculo-filter");
            }
            else {
                _this.onRefresh();
            }
        });
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.carregarColunasPesquisa = function () {
        this.colunasPesquisaInicial = [
            { data: "tipoMov", title: "labels.tipo", type: "string", format: "", width: "", visible: true },
            { data: "modal", title: "labels.modal", type: "string", format: "", width: "", visible: true },
            { data: "descrTipoCarga", title: "labels.tipoCarga", type: "string", format: "", width: "", visible: true },
            { data: "descrTipoVeiculo", title: "labels.tipoVeiculo", type: "string", format: "", width: "", visible: true },
            { data: "bp", title: "labels.bp", type: "string", format: "", width: "", visible: true },
            { data: "regPlaneja", title: "labels.regPlaneja", type: "string", format: "", width: "", visible: true },
            { data: "dtPrevChegada", title: "labels.dtPrevisaoChegada", type: "datetime", format: "dd/MM/yyyy HH:mm:ss", width: "", visible: true },
            { data: "pedido15", title: "labels.pedidoCliente", type: "string", format: "", width: "", visible: true },
            { data: "dtPregate", title: "labels.recepcaoPreGate", type: "datetime", format: "dd/MM/yyyy HH:mm:ss", width: "", visible: true },
            { data: "dtChegada", title: "labels.dtChegada", type: "datetime", format: "dd/MM/yyyy HH:mm:ss", width: "", visible: true },
            { data: "dtTriagem", title: "labels.dtTriagem", type: "datetime", format: "dd/MM/yyyy HH:mm:ss", width: "", visible: true },
            { data: "flagAmostra", title: "labels.amostra", type: "string", format: "", width: "", visible: true },
            { data: "dtAutorizacao", title: "labels.entrada", type: "datetime", format: "dd/MM/yyyy HH:mm:ss", width: "", visible: true },
            { data: "dtSaida", title: "labels.saida", type: "datetime", format: "dd/MM/yyyy HH:mm:ss", width: "", visible: true },
            { data: "codCheckList", title: "labels.checklist", type: "string", format: "", width: "", visible: true },
            { data: "autorizacoes", title: "labels.autorizacoes", type: "string", format: "", width: "", visible: true },
            { data: "nomeTransp", title: "labels.transportadora", type: "string", format: "", width: "", visible: true },
            { data: "placaCavalo", title: "labels.placaCavalo", type: "string", format: "", width: "", visible: true },
            { data: "placaCarreta1", title: "labels.placaCarreta1", type: "string", format: "", width: "", visible: true },
            { data: "placaCarreta2", title: "labels.placaCarreta2", type: "string", format: "", width: "", visible: true },
            { data: "nomeMoto", title: "labels.motorista", type: "string", format: "", width: "", visible: true },
            { data: "descrSitVeiculo", title: "labels.situacao", type: "string", format: "", width: "", visible: true },
            { data: "clientes", title: "labels.clientes", type: "string", format: "", width: "", visible: true },
            { data: "produtos", title: "labels.produtos", type: "string", format: "", width: "", visible: true },
            { data: "requisicao", title: "labels.requisicao", type: "string", format: "", width: "", visible: true },
            { data: "clientesVenda", title: "labels.clienteVenda", type: "string", format: "", width: "", visible: true },
            { data: "dtEmissao", title: "labels.emissao", type: "datetime", format: "dd/MM/yyyy HH:mm:ss", width: "", visible: true },
            { data: "descrLocalOper", title: "labels.descrLocalOper", type: "string", format: "", width: "", visible: true },
            { data: "depositos", title: "labels.depositos", type: "string", format: "", width: "", visible: true },
            { data: "idCartao", title: "labels.idCartao", type: "string", format: "", width: "", visible: true },
        ];
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.filtrar = function () {
        this.pausarExecucaoIntervalo();
        _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_16__["ModalUtilsStaticService"].openModal("situacao-veiculo-filter");
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.pausarExecucaoIntervalo = function () {
        this.isPaused = true;
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.retomarExecucaoIntervalo = function () {
        this.isPaused = false;
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    ConsultaSituacaoVeiculoFormComponent.prototype.getDados = function () {
        var _this = this;
        this.pausarExecucaoIntervalo();
        this.situacoes = [];
        this.dados = [];
        if (!this.service.filtro.dataI || !this.service.filtro.dataF) {
            return;
        }
        this.service.getDados(this.service.filtro).subscribe(function (resp) {
            _this.dados = resp.dados;
            var codSitFiltro = _this.service.filtro.codSitVeiculo
                .split(",")
                .map(function (c) { return Number(c); });
            if (codSitFiltro[0] > 0) {
                _this.dados = _this.dados.filter(function (x) { return codSitFiltro.includes(x.codSitVeiculo); });
            }
            if (!_this.dados) {
                _this.dados = [];
            }
            else {
                var situacoes = resp.situacoes.filter(function (x) { return codSitFiltro.includes(x.codSitVeiculo); });
                if (_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["ArrayUtilsStaticService"].any(situacoes)) {
                    situacoes.forEach(function (_item) {
                        _this.situacoes.push({ descricao: _item.descrSitVeiculo, quantidade: _item.quantidade });
                    });
                }
            }
            _this.retomarExecucaoIntervalo();
        });
    };
    Object.defineProperty(ConsultaSituacaoVeiculoFormComponent.prototype, "hasSituacoes", {
        get: function () {
            return _shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["ArrayUtilsStaticService"].any(this.situacoes);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(ConsultaSituacaoVeiculoFormComponent.prototype, "hasResultSet", {
        get: function () {
            return _shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["ArrayUtilsStaticService"].any(this.dados);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(ConsultaSituacaoVeiculoFormComponent.prototype, "columnsVisible", {
        get: function () {
            return this.service.preferenciasUsuarios.ordemColunasPesquisa.filter(function (c) { return c.visible; });
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(ConsultaSituacaoVeiculoFormComponent.prototype, "resultSet", {
        get: function () {
            var _this = this;
            if (!this.table)
                return [];
            if (!this.hasResultSet || !this.table.filtro) {
                return this.table.getPage(this.dados);
            }
            var dados = this.dados.filter(function (v) {
                return app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.tipoMov, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.modal, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.descrTipoCarga, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.descrTipoVeiculo, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.bp, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.regPlaneja, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtPrevChegada), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.pedido15, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtPregate), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtChegada), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtTriagem), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.flagAmostra, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtAutorizacao), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtSaida), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.codCheckList, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.autorizacoes, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.nomeTransp, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.placaCavalo, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.placaCarreta1, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.placaCarreta2, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.nomeMoto, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.descrSitVeiculo, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.clientes, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.produtos, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.requisicao, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.clientesVenda, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_18__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtEmissao), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.descrLocalOper, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.depositos, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_17__["StringUtilsStaticService"].exist(v.idCartao, _this.table.filtro);
            });
            return this.table.getPage(dados);
        },
        enumerable: true,
        configurable: true
    });
    ConsultaSituacaoVeiculoFormComponent.ctorParameters = function () { return [
        { type: _consulta_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_13__["ConsultaSituacaoVeiculoService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__["DatatablesService"] },
        { type: app_shared_components_modais_preferencias_usuario_rotina_preferencias_usuario_rotina_service__WEBPACK_IMPORTED_MODULE_2__["PreferenciasUsuarioRotinaService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_6__["ExcelService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_19__["ConfiguracaoFacade"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])(_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"], { static: false }),
        __metadata("design:type", _shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"])
    ], ConsultaSituacaoVeiculoFormComponent.prototype, "table", void 0);
    ConsultaSituacaoVeiculoFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-consulta-situacao-veiculo-form',
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-situacao-veiculo-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./consulta-situacao-veiculo-form.component.scss */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_consulta_situacao_veiculo_service__WEBPACK_IMPORTED_MODULE_13__["ConsultaSituacaoVeiculoService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__["DatatablesService"],
            app_shared_components_modais_preferencias_usuario_rotina_preferencias_usuario_rotina_service__WEBPACK_IMPORTED_MODULE_2__["PreferenciasUsuarioRotinaService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_6__["ExcelService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_19__["ConfiguracaoFacade"]])
    ], ConsultaSituacaoVeiculoFormComponent);
    return ConsultaSituacaoVeiculoFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.constants.ts":
/*!**************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.constants.ts ***!
  \**************************************************************************************************/
/*! exports provided: ConsultaSituacaoVeiculoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaSituacaoVeiculoConstants", function() { return ConsultaSituacaoVeiculoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaSituacaoVeiculoConstants = /** @class */ (function () {
    function ConsultaSituacaoVeiculoConstants() {
        this.sisFormularioId = 230019;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.exportExcel" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.inspecaoVeiculos" }
        ];
        this.sisSistemaId = "CON";
        this.nomeForm = "titles.situacaoDeVeiculo";
        this.reportId = "";
        this.reportTitulo = { "titulo": "Situação de Veículos", "subTitulo": "" };
        this.configuracoes = [];
        this.listaIndex = [
            { title: 'Liberar', action: 'free', icon: "fa fa-check", exibeButton: true, eximeMenu: true, menuName: 'Arquivo', depitem: false },
            { title: 'exportExcel', action: 'export', icon: "fa fa-file-excel-o", exibeButton: true, eximeMenu: true, menuName: 'Arquivo', depitem: false },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'PreferenciasUsuario', action: 'preferenciasUsuario', icon: "icon-lock", exibeButton: false, eximeMenu: true, menuName: 'Movimento', depitem: false },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Chamar', action: 'chamar', icon: "fa fa-microphone", exibeButton: true, eximeMenu: true, menuName: 'Movimento', depitem: true },
            { title: 'Fullscreen', action: 'fullscreen', icon: "fa fa-expand", exibeButton: true, eximeMenu: true, menuName: 'Movimento', depitem: false }
        ];
        this.listaForm = [
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
        this.orderBy = [
            { field: "Clientes", description: "Cliente", direction: "asc", default: false, sequence: 0 },
            { field: "Produtos", description: "Produto", direction: "asc", default: false, sequence: 1 },
            { field: "NomeTransp", description: "Transportadora", direction: "asc", default: false, sequence: 2 },
            { field: "DtChegada", description: "Chegada", direction: "asc", default: true, sequence: 3 },
            { field: "TipoMov", description: "Tipo", direction: "asc", default: true, sequence: 4 },
            { field: "DescrLocalOper", description: "Local Operação", direction: "asc", default: false, sequence: 5 }
        ];
        this.configuracoes = [
            {
                sistema: "CTV",
                parametros: [
                    "CorInspecVeic"
                ]
            }
        ];
    }
    return ConsultaSituacaoVeiculoConstants;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.model.ts":
/*!**********************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.model.ts ***!
  \**********************************************************************************************/
/*! exports provided: ConsultaSituacaoVeiculoGrupo, ConsultaSituacaoVeiculo, ConsultaSituacaoVeiculoFilter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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

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

var ConsultaSituacaoVeiculoFilter = /** @class */ (function () {
    function ConsultaSituacaoVeiculoFilter() {
        var yesterday = new Date(Date.now() - 86400000);
        this.dataI = yesterday;
        this.dataF = new Date();
        this.tipoMov = "T";
        this.modal = "T";
        this.tipoRetorno = 0;
        this.codSitVeiculo = '';
        this.intervaloVerificacao = 0;
        this.ordem = "";
    }
    ConsultaSituacaoVeiculoFilter.fromJS = function (data) {
        data = typeof data === 'object' ? data : {};
        var result = new ConsultaSituacaoVeiculoFilter();
        result.init(data);
        return result;
    };
    ConsultaSituacaoVeiculoFilter.prototype.init = function (data) {
        var _this = this;
        if (data) {
            Object.getOwnPropertyNames(data).forEach(function (d) { return _this[d] = data[d]; });
            this.dataI = new Date(data.dataI);
            this.dataF = new Date(data.dataF);
        }
    };
    return ConsultaSituacaoVeiculoFilter;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.module.ts":
/*!***********************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.module.ts ***!
  \***********************************************************************************************/
/*! exports provided: ConsultaSituacaoVeiculoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaSituacaoVeiculoModule", function() { return ConsultaSituacaoVeiculoModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js");
/* harmony import */ var _consulta_situacao_veiculo_form_consulta_situacao_veiculo_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component.ts");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _consulta_situacao_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consulta-situacao-veiculo.routing.module */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.routing.module.ts");
/* harmony import */ var _consulta_situacao_veiculo_filter_consulta_situacao_veiculo_filter_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.component */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-filter/consulta-situacao-veiculo-filter.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 ConsultaSituacaoVeiculoModule = /** @class */ (function () {
    function ConsultaSituacaoVeiculoModule() {
    }
    ConsultaSituacaoVeiculoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [_consulta_situacao_veiculo_form_consulta_situacao_veiculo_form_component__WEBPACK_IMPORTED_MODULE_2__["ConsultaSituacaoVeiculoFormComponent"], _consulta_situacao_veiculo_filter_consulta_situacao_veiculo_filter_component__WEBPACK_IMPORTED_MODULE_5__["ConsultaSituacaoVeiculoFilterComponent"]],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _consulta_situacao_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_4__["ConsultaSituacaoVeiculoRoutingModule"],
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_3__["SharedModule"]
            ]
        })
    ], ConsultaSituacaoVeiculoModule);
    return ConsultaSituacaoVeiculoModule;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.routing.module.ts":
/*!*******************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.routing.module.ts ***!
  \*******************************************************************************************************/
/*! exports provided: ConsultaSituacaoVeiculoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaSituacaoVeiculoRoutingModule", function() { return ConsultaSituacaoVeiculoRoutingModule; });
/* 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 _consulta_situacao_veiculo_form_consulta_situacao_veiculo_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./consulta-situacao-veiculo-form/consulta-situacao-veiculo-form.component */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo-form/consulta-situacao-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: _consulta_situacao_veiculo_form_consulta_situacao_veiculo_form_component__WEBPACK_IMPORTED_MODULE_2__["ConsultaSituacaoVeiculoFormComponent"],
        data: { breadcrumb: "situacaoDeVeiculo" }
    }
];
var ConsultaSituacaoVeiculoRoutingModule = /** @class */ (function () {
    function ConsultaSituacaoVeiculoRoutingModule() {
    }
    ConsultaSituacaoVeiculoRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], ConsultaSituacaoVeiculoRoutingModule);
    return ConsultaSituacaoVeiculoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.service.ts":
/*!************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.service.ts ***!
  \************************************************************************************************/
/*! exports provided: ConsultaSituacaoVeiculoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaSituacaoVeiculoService", function() { return ConsultaSituacaoVeiculoService; });
/* harmony import */ var _shared_components_modais_preferencias_usuario_rotina_preferencias_usuario_rotina_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../shared/components/modais/preferencias-usuario-rotina/preferencias-usuario-rotina.model */ "./src/app/shared/components/modais/preferencias-usuario-rotina/preferencias-usuario-rotina.model.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 _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _app_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _consulta_situacao_veiculo_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./consulta-situacao-veiculo.model */ "./src/app/pages/consultas/consulta-situacao-veiculo/consulta-situacao-veiculo.model.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-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 __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};










var ConsultaSituacaoVeiculoService = /** @class */ (function (_super) {
    __extends(ConsultaSituacaoVeiculoService, _super);
    function ConsultaSituacaoVeiculoService(http, loginService) {
        var _this = _super.call(this, http, "consultas/consultaSituacaoDeVeiculo/getDados") || this;
        _this.http = http;
        _this.loginService = loginService;
        _this.filtro = new _consulta_situacao_veiculo_model__WEBPACK_IMPORTED_MODULE_8__["ConsultaSituacaoVeiculoFilter"]();
        _this.preferenciasUsuarios = new _shared_components_modais_preferencias_usuario_rotina_preferencias_usuario_rotina_model__WEBPACK_IMPORTED_MODULE_0__["PreferenciasUsuarioRotinaDados"]();
        if (localStorage.getItem("consultaSituacionVehiculos") && localStorage.getItem("consultaSituacionVehiculos") !== "") {
            var filter = JSON.parse(localStorage.getItem("consultaSituacionVehiculos"));
            _this.filtro = filter;
            _this.filtro.dataI = new Date(filter.dataI);
            _this.filtro.dataF = new Date(filter.dataF);
        }
        return _this;
    }
    ConsultaSituacaoVeiculoService.prototype.getDados = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].service_url + "/api/v1/consultas/consultaSituacaoDeVeiculo/getDados", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaSituacaoVeiculoService.prototype.getSituacoes = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].service_url + "/api/v1/consultas/consultaSituacaoDeVeiculo/getSituacoes", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaSituacaoVeiculoService.prototype.liberacao = function () {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].service_url + "/api/v1/consultas/consultaSituacaoDeVeiculo/liberacao", {})
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaSituacaoVeiculoService.prototype.setChamada = function (regControle) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].service_url + "/api/v1/consultas/consultaSituacaoDeVeiculo/setChamada/" + regControle)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    Object.defineProperty(ConsultaSituacaoVeiculoService.prototype, "corInsp", {
        get: function () {
            if (app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_9__["StringUtilsStaticService"].isEmpty(this.corInspecVeic)) {
                return '#ff000083';
            }
            else {
                return this.corInspecVeic;
            }
        },
        enumerable: true,
        configurable: true
    });
    ConsultaSituacaoVeiculoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"] }
    ]; };
    ConsultaSituacaoVeiculoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"]])
    ], ConsultaSituacaoVeiculoService);
    return ConsultaSituacaoVeiculoService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-consultas-consulta-situacao-veiculo-consulta-situacao-veiculo-module.js.map