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

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-filter/consulta-acuracidade-filter.component.html":
/*!*******************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-filter/consulta-acuracidade-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\" id=\"consulta-acuracidade-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\n    <div class=\"uni-modal-dialog-md-45\">\n        <div class=\"modal-content\">\n            <div class=\"modal-header\">\n                <h6 class=\"modal-title\">{{ 'titles.consultaAcuracidade' | translate }}</h6>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                <app-validacoes></app-validacoes>\n                <div class=\"modal-body\">\n                    <div class=\"row\">\n                        <div class=\"col-lg-6\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"periodoDe\" class=\"required\">{{\"labels.periodoDe\" | translate }}</label>\n                                <app-data id=\"periodoDe\"\n                                          name=\"periodoDe\"\n                                          [(ngModel)]=\"filtro.dataI\"\n                                          autofocus\n                                          class=\"dataHora\"\n                                          [formatDateTime]=\"mascara.getFormatDataHorMinSeg\"\n                                          required=\"true\">\n                                </app-data>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"ate\" class=\"required\">{{\"labels.ate\" | translate}}</label>\n                                <app-data id=\"ate\"\n                                          name=\"ate\"\n                                          [(ngModel)]=\"filtro.dataF\"\n                                          class=\"dataHora\"\n                                          [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 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"tipo\" class=\"required\">{{\"labels.tipo\" | translate }}</label>\n                                <select id=\"tipo\"\n                                        name=\"tipo\"\n                                        [(ngModel)]=\"filtro.tipo\"\n                                        required=\"true\"\n                                        class=\"form-control form-control-sm\">\n                                    <option value=\"0\">{{ 'labels.todos' | translate }}</option>\n                                    <option value=\"1\">{{ 'labels.carga' | translate }}</option>\n                                    <option value=\"2\">{{ 'labels.descarga' | translate }}</option>\n                                    <option value=\"3\">{{ 'labels.terceiro' | translate }}</option>\n                                    <option value=\"4\">{{ 'labels.cargaDescarga' | translate }}</option>\n                                </select>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-12 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"codLocalOper\">{{'labels.localOperacao' | translate}}</label>\n                                <app-combo-padrao\n                                        id=\"codLocalOper\"\n                                        name=\"codLocalOper\"\n                                        [(ngModel)]=\"filtro.codLocalOper\"\n                                        tabela=\"LocalOperacao\"\n                                        chave=\"CodLocalOper\"\n                                        descricao=\"DescrLocalOper\"\n                                        ativos=\"true\">\n                                </app-combo-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=\"placa\">{{'labels.placa' | translate}}</label>\n                                <input id=\"placa\" name=\"placa\"\n                                       [(ngModel)]=\"filtro.placa\"\n                                       class=\"form-control form-control-sm\"\n                                       type=\"text\"\n                                       style=\"text-transform: uppercase;\">\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-8 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"modal\" class=\"required\">{{'labels.modal' | translate}}</label>\n                                <app-combo-multi-tipo-de-transporte\n                                        id=\"modal\"\n                                        name=\"modal\"\n                                        tipo=\"Minimo\"\n                                        selected=\" F, R,\"\n                                        (executa)=\"trataOperacao($event)\"\n                                        required=\"true\">\n                                </app-combo-multi-tipo-de-transporte>\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=\"tipoErro\" class=\"required\">{{\"labels.tipoErro\" | translate }}</label>\n                                <select id=\"tipoErro\"\n                                        name=\"tipoErro\"\n                                        [(ngModel)]=\"filtro.tipoErro\"\n                                        class=\"form-control form-control-sm\"\n                                        required>\n                                    <option value=\"T\">{{ 'labels.todos' | translate }}</option>\n                                    <option value=\"S\">{{ 'labels.sistema' | translate }}</option>\n                                    <option value=\"O\">{{ 'labels.erroOcr' | translate }}</option>\n                                    <option value=\"F\">{{ 'labels.erroFisico' | translate }}</option>\n                                    <option value=\"N\">{{ 'labels.semErro' | translate }}</option>\n                                </select>\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=\"movimento\" class=\"required\">{{\"labels.movimento\" | translate }}</label>\n                                <select id=\"movimento\"\n                                        name=\"movimento\"\n                                        [(ngModel)]=\"filtro.movimento\"\n                                        class=\"form-control form-control-sm\"\n                                        required>\n                                    <option value=\"A\">{{ 'labels.ambos' | translate }}</option>\n                                    <option value=\"E\">{{ 'labels.entrada' | translate }}</option>\n                                    <option value=\"S\">{{ 'labels.saida' | translate }}</option>\n                                </select>\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\">Sair</button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.component.html":
/*!***************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.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\" id=\"app-consulta-acuracidade-foto\" 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.visualizarFoto' | translate }}</h6>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                <app-validacoes></app-validacoes>\n                <div class=\"modal-body\">\n                    <div class=\"row\">\n                        <div class=\"col-lg-6\">\n                            <div class=\"row container-img-preview\">\n                                <div id=\"main-preview\" class=\"col-md-3\">\n                                    <img id=\"view\" [src]=\"dados.imagemUrl\" class=\"img-preview\" style=\"width:256px;height:256px;\" (click)=\"zoom()\">\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6\">\n                            <div class=\"row container-img-preview\">\n                                <div id=\"main-preview1\" class=\"col-md-3\">\n                                    <img id=\"view1\" [src]=\"dados.imagemUrl1\" class=\"img-preview\" style=\"width:256px;height:256px;\" (click)=\"zoom1()\">\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.ok' | translate }}\n                    </button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.html":
/*!*****************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.html ***!
  \*****************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\"\n                      [formAction]=\"actionForm\"\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <app-validacoes></app-validacoes>\n    <div class=\"clearfix\">\n        <ul class=\"nav nav-tabs\">\n            <li class=\"nav-item\">\n                <a class=\"nav-link active show\" data-toggle=\"tab\"\n                   href=\"#da\" (click)=\"seleciona(1)\">{{\"labels.dados\" | translate\n                    }}</a>\n            </li>\n            <li class=\"nav-item\">\n                <a class=\"nav-link\" data-toggle=\"tab\" href=\"#re\" (click)=\"seleciona(2)\">{{\n                    \"labels.resumo\" | translate\n                    }}</a>\n            </li>\n            <li class=\"nav-item\">\n                <a class=\"nav-link\" data-toggle=\"tab\" href=\"#gr\" (click)=\"seleciona(3)\">{{\n                    \"labels.grafico\" | translate\n                    }}</a>\n            </li>\n        </ul>\n    </div>\n    <div class=\"tab-content top\">\n        <!-- ABA DADOS -->\n        <div class=\"tab-pane active show\" id=\"da\">\n            <div class=\"row\">\n                <div class=\"clearfix\">&nbsp;</div>\n                <div class=\"col-md-12 col-lg-12\">\n                    <table id=\"dtConsultaAcuracidade\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\n                </div>\n            </div>\n        </div>\n\n        <!-- ABA RESUMO -->\n        <div class=\"tab-pane\" id=\"re\">\n            <div class=\"row\">\n                <div class=\"col\">\n                    <app-card-container tituloCard=\"semFiltro\">\n                        <div class=\"col-md-12 col-lg-12\">\n                            <table class=\"table\">\n                                <thead>\n                                <tr>\n                                    <th class=\"text-center\">{{ 'labels.descricao' | translate }}</th>\n                                    <th class=\"text-center\">{{ 'labels.dianteiro' | translate }}</th>\n                                    <th class=\"text-center\">{{ 'labels.traseiro' | translate }}</th>\n                                    <th class=\"text-center\">{{ 'labels.total' | translate }}</th>\n                                </tr>\n                                </thead>\n                                <tbody>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.acertos' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDsF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTsF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosSF }}</td>\n                                </tr>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.erros' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosDsF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosTsF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosSF }}</td>\n                                </tr>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos;let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : i === 2 && c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.totalOcr' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrDsF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrTsF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrSF }}</td>\n                                </tr>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos;let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : i === 3 && c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.percAcertos' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDPsF | formatCurrency: 2 }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTPsF | formatCurrency: 2 }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosPsF | formatCurrency: 2 }}</td>\n                                </tr>\n                                </tbody>\n                            </table>\n                        </div>\n                    </app-card-container>\n                    <app-card-container tituloCard=\"comFiltro\">\n                        <div class=\"col-md-12 col-lg-12\">\n                            <table class=\"table\">\n                                <thead>\n                                <tr>\n                                    <th class=\"text-center\">{{ 'labels.descricao' | translate }}</th>\n                                    <th class=\"text-center\">{{ 'labels.dianteiro' | translate }}</th>\n                                    <th class=\"text-center\">{{ 'labels.traseiro' | translate }}</th>\n                                    <th class=\"text-center\">{{ 'labels.total' | translate }}</th>\n                                </tr>\n                                </thead>\n                                <tbody>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.acertos' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDcF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTcF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosCF }}</td>\n                                </tr>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.erros' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosDcF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosTcF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosCF }}</td>\n                                </tr>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.totalOcr' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrDcF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrTcF }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrCF }}</td>\n                                </tr>\n                                <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                    [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                    <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.percAcertos' | translate }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDPcF | formatCurrency: 2 }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTPcF | formatCurrency: 2 }}</td>\n                                    <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosPcF | formatCurrency: 2 }}</td>\n                                </tr>\n                                </tbody>\n                            </table>\n                        </div>\n                    </app-card-container>\n                </div>\n                <div class=\"col\">\n                    <table class=\"table table-striped table-bordered table-hover rownowrap form-control-sm table-responsive\">\n                        <thead>\n                        <tr>\n                            <th class=\"text-center\" width=\"250px\">{{ 'labels.descrMotivoLN' | translate }}</th>\n                            <th class=\"text-center\">{{ 'labels.dianteiro' | translate }}</th>\n                            <th class=\"text-center\">{{ 'labels.traseiro' | translate }}</th>\n                            <th class=\"text-center\">{{ 'labels.total' | translate }}</th>\n                            <th class=\"text-center\">{{ 'labels.tipo' | translate }}</th>\n                        </tr>\n                        </thead>\n                        <tbody>\n                        <tr *ngFor=\"let c of abaResumo | removeExcluidos\" class=\"clickable\"\n                            [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                            <td class=\"text-center\" width=\"250px\">{{c.descrMotivoOcr}}</td>\n                            <td class=\"text-center\">{{c.dianteiro}}</td>\n                            <td class=\"text-center\">{{c.traseiro}}</td>\n                            <td class=\"text-center\">{{c.qtTotal}}</td>\n                            <td class=\"text-center\">{{c.tipoErro}}</td>\n                        </tr>\n                        <tr *ngIf=\"!hasDados\">\n                            <th colspan=\"9\">\n                                {{'messages.nenhumRegistroEncontrado' | translate }}\n                            </th>\n                        </tr>\n                        </tbody>\n                    </table>\n                </div>\n            </div>\n        </div>\n\n        <!-- ABA GRAFICO -->\n        <div class=\"tab-pane\" id=\"gr\">\n            <div class=\"row\">\n                <div class=\"col\">\n                    <app-card-container tituloCard=\"semFiltro\">\n                        <table class=\"table\">\n                            <thead>\n                            <tr>\n                                <th class=\"text-center\">{{ 'labels.descricao' | translate }}</th>\n                                <th class=\"text-center\">{{ 'labels.dianteiro' | translate }}</th>\n                                <th class=\"text-center\">{{ 'labels.traseiro' | translate }}</th>\n                                <th class=\"text-center\">{{ 'labels.total' | translate }}</th>\n                            </tr>\n                            </thead>\n                            <tbody>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.acertos' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDsF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTsF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosSF }}</td>\n                            </tr>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.erros' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosDsF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosTsF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosSF }}</td>\n                            </tr>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.totalOcr' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrDsF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrTsF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrSF }}</td>\n                            </tr>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.percAcertos' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDPsF | formatCurrency: 2 }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTPsF | formatCurrency: 2 }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosPsF | formatCurrency: 2 }}</td>\n                            </tr>\n                            </tbody>\n                        </table>\n                    </app-card-container>\n                    <app-card-container tituloCard=\"comFiltro\">\n                        <table class=\"table\">\n                            <thead>\n                            <tr>\n                                <th class=\"text-center\">{{ 'labels.descricao' | translate }}</th>\n                                <th class=\"text-center\">{{ 'labels.dianteiro' | translate }}</th>\n                                <th class=\"text-center\">{{ 'labels.traseiro' | translate }}</th>\n                                <th class=\"text-center\">{{ 'labels.total' | translate }}</th>\n                            </tr>\n                            </thead>\n                            <tbody>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.acertos' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDcF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTcF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosCF }}</td>\n                            </tr>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.erros' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosDcF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosTcF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.errosCF }}</td>\n                            </tr>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.totalOcr' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrDcF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrTcF }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.ocrCF }}</td>\n                            </tr>\n                            <tr *ngFor=\"let c of abaResumo | removeExcluidos; let i = index\" class=\"clickable\"\n                                [ngClass]=\"{ 'info' : c === abaResumo }\" (click)=\"(abaResumo = c)\">\n                                <td *ngIf=\"i === 0 \" class=\"text-left\">{{ 'labels.percAcertos' | translate }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosDPcF | formatCurrency: 2 }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosTPcF | formatCurrency: 2 }}</td>\n                                <td *ngIf=\"i === 0 \" class=\"text-center\">{{ c.acertosPcF | formatCurrency: 2 }}</td>\n                            </tr>\n                            </tbody>\n                        </table>\n                    </app-card-container>\n                </div>\n                <div class=\"col\" *ngIf=\"chartReady\">\n                    <canvas heigth=\"450\" baseChart id=\"canvas\"\n                            [datasets]=\"barChartData\"\n                            [labels]=\"barChartLabels\"\n                            [options]=\"barChartOptions\"\n                            [legend]=\"barChartLegend\"\n                            [chartType]=\"barChartType\"\n                            [plugins]=\"barChartPlugins\"\n                            [colors]=\"lineChartColors\">\n                    </canvas>\n\n                    <div class=\"col-lg 12\" *ngIf=\"hasDados\">\n                        <a href=\"#\" class=\"btn btn-info btn-block\"\n                           (click)=\"downloadCanvas($event)\"> {{ 'buttons.exportarDados' | translate }}</a>\n                    </div>\n                </div>\n\n\n            </div>\n        </div>\n    </div>\n\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-consulta-acuracidade-filter [data]=\"filtro\" (filtrar)=\"executaFiltro($event)\"></app-consulta-acuracidade-filter>\n<app-consulta-acuracidade-foto [dados]=\"abaFoto\"  (dataResult)=\"showModalPrintFoto($event)\"></app-consulta-acuracidade-foto>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n");

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeFilterComponent", function() { return ConsultaAcuracidadeFilterComponent; });
/* 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 _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../consulta-acuracidade.model */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade.model.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 _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};





var ConsultaAcuracidadeFilterComponent = /** @class */ (function () {
    function ConsultaAcuracidadeFilterComponent(messageService, funcoesService) {
        this.messageService = messageService;
        this.funcoesService = funcoesService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_1__["Mascaras"]();
    }
    ConsultaAcuracidadeFilterComponent.prototype.ngOnInit = function () {
        this.filtro = this.data;
    };
    ConsultaAcuracidadeFilterComponent.prototype.onSubmit = function (form) {
        if (((this.filtro.dataI === undefined) || (this.filtro.dataI === "")) ||
            ((this.filtro.dataF === undefined) || (this.filtro.dataF === "")) ||
            (this.filtro.dataF.toString() === "Invalid Date") || (this.filtro.dataI.toString() === "Invalid Date")) {
            this.messageService.warning("titles.consultaAcuracidade", "messages.periodoNaoPreenchidoOuInvalido");
        }
        else {
            var dataI = new Date(this.filtro.dataI);
            var dataF = new Date(this.filtro.dataF);
            var diferenca = (dataF.getTime() - dataI.getTime()) / 6000;
            if (diferenca > 115200) {
                this.messageService.warning("titles.consultaAcuracidade", "messages.periodoNaoDeveSerMaior");
            }
            else {
                if (this.filtro.dataI > this.filtro.dataF) {
                    this.messageService.warning("titles.consultaAcuracidade", "messages.periodoNaoPreenchidoOuInvalido");
                }
                else {
                    if (this.filtro.dataF < this.filtro.dataI) {
                        this.messageService.warning("titles.consultaAcuracidade", "messages.periodoNaoPreenchidoOuInvalido");
                    }
                    else {
                        if ((this.filtro.tipo === undefined) || (this.filtro.tipo === "")) {
                            this.messageService.warning("titles.consultaAcuracidade", "messages.tipoDeveSerPreenchido");
                        }
                        else {
                            if ((this.filtro.tipoTransp === undefined) || (this.filtro.tipoTransp === "")) {
                                this.messageService.warning("titles.consultaAcuracidade", "messages.modalDeveSerPreenchido");
                            }
                            else {
                                if ((this.filtro.tipoErro === undefined) || (this.filtro.tipoErro === "")) {
                                    this.messageService.warning("titles.consultaAcuracidade", "messages.tipoDeveSerPreenchido");
                                }
                                else {
                                    if ((this.filtro.movimento === undefined) || (this.filtro.movimento === "")) {
                                        this.messageService.warning("titles.consultaAcuracidade", "messages.movimentoDeveSerPreenchido");
                                    }
                                    else {
                                        if (!form.invalid) {
                                            this.filtrar.emit(this.filtro);
                                            jQuery("#consulta-acuracidade-filter-dialog").modal("hide");
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    };
    ConsultaAcuracidadeFilterComponent.prototype.trataOperacao = function (selectedItems) {
        this.filtro.tipoTransp = selectedItems;
    };
    ConsultaAcuracidadeFilterComponent.ctorParameters = function () { return [
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_2__["ConsultaAcuracidadeFilter"])
    ], ConsultaAcuracidadeFilterComponent.prototype, "data", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], ConsultaAcuracidadeFilterComponent.prototype, "filtrar", void 0);
    ConsultaAcuracidadeFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-consulta-acuracidade-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-acuracidade-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-filter/consulta-acuracidade-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"]])
    ], ConsultaAcuracidadeFilterComponent);
    return ConsultaAcuracidadeFilterComponent;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2NvbnN1bHRhcy9jb25zdWx0YS1hY3VyYWNpZGFkZS9jb25zdWx0YS1hY3VyYWNpZGFkZS1mb3RvL2NvbnN1bHRhLWFjdXJhY2lkYWRlLWZvdG8uY29tcG9uZW50LnNjc3MifQ== */");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.component.ts":
/*!***********************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.component.ts ***!
  \***********************************************************************************************************************/
/*! exports provided: ConsultaAcuracidadeFotoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeFotoComponent", function() { return ConsultaAcuracidadeFotoComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
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 ConsultaAcuracidadeFotoComponent = /** @class */ (function () {
    function ConsultaAcuracidadeFotoComponent() {
        this.dataResult = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.zoom = function () {
            var imageId = document.getElementById('view');
            if (imageId.style.width === "256px") {
                imageId.style.width = "512px";
                imageId.style.height = "512px";
            }
            else {
                imageId.style.width = "256px";
                imageId.style.height = "256px";
            }
            var imageId1 = document.getElementById('view1');
            if (imageId1.style.width === "256px") {
                imageId1.style.width = "1px";
                imageId1.style.height = "1px";
            }
            else {
                imageId1.style.width = "256px";
                imageId1.style.height = "256px";
            }
        };
        this.zoom1 = function () {
            var imageId = document.getElementById('view1');
            if (imageId.style.width === "256px") {
                imageId.style.width = "512px";
                imageId.style.height = "512px";
            }
            else {
                imageId.style.width = "256px";
                imageId.style.height = "256px";
            }
            var imageId1 = document.getElementById('view');
            var div1 = document.getElementById('main-preview1');
            if (imageId1.style.width === "256px") {
                imageId1.style.width = "1px";
                imageId1.style.height = "1px";
                div1.style.position = "relative";
                div1.style.left = "-270px";
            }
            else {
                imageId1.style.width = "256px";
                imageId1.style.height = "256px";
                div1.style.position = "relative";
                div1.style.left = "0";
            }
        };
    }
    ConsultaAcuracidadeFotoComponent.prototype.ngOnInit = function () {
    };
    ConsultaAcuracidadeFotoComponent.prototype.onSubmit = function (form) {
        if (!form.invalid) {
            this.dataResult.emit(this.dados);
        }
        jQuery("#app-consulta-acuracidade-foto").modal("hide");
    };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Object)
    ], ConsultaAcuracidadeFotoComponent.prototype, "dados", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], ConsultaAcuracidadeFotoComponent.prototype, "dataResult", void 0);
    ConsultaAcuracidadeFotoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-consulta-acuracidade-foto",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-acuracidade-foto.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./consulta-acuracidade-foto.component.scss */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.component.scss")).default]
        })
    ], ConsultaAcuracidadeFotoComponent);
    return ConsultaAcuracidadeFotoComponent;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("#graf {\n  height: 250px;\n}\n\ncanvas {\n  height: 450px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvY29uc3VsdGFzL2NvbnN1bHRhLWFjdXJhY2lkYWRlL2NvbnN1bHRhLWFjdXJhY2lkYWRlLWluZGV4L0M6XFxDb3Jwb3JhdGVcXENvcnBvcmF0ZVdlYkRlc2VudlxcX3VuaXNvbHV0aW9uL3NyY1xcYXBwXFxwYWdlc1xcY29uc3VsdGFzXFxjb25zdWx0YS1hY3VyYWNpZGFkZVxcY29uc3VsdGEtYWN1cmFjaWRhZGUtaW5kZXhcXGNvbnN1bHRhLWFjdXJhY2lkYWRlLWluZGV4LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9jb25zdWx0YXMvY29uc3VsdGEtYWN1cmFjaWRhZGUvY29uc3VsdGEtYWN1cmFjaWRhZGUtaW5kZXgvY29uc3VsdGEtYWN1cmFjaWRhZGUtaW5kZXguY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxhQUFBO0FDQ0Y7O0FERUE7RUFDRSxhQUFBO0FDQ0YiLCJmaWxlIjoic3JjL2FwcC9wYWdlcy9jb25zdWx0YXMvY29uc3VsdGEtYWN1cmFjaWRhZGUvY29uc3VsdGEtYWN1cmFjaWRhZGUtaW5kZXgvY29uc3VsdGEtYWN1cmFjaWRhZGUtaW5kZXguY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIjZ3JhZiB7XHJcbiAgaGVpZ2h0OiAyNTBweDtcclxufVxyXG5cclxuY2FudmFzIHtcclxuICBoZWlnaHQ6IDQ1MHB4O1xyXG59XHJcbiIsIiNncmFmIHtcbiAgaGVpZ2h0OiAyNTBweDtcbn1cblxuY2FudmFzIHtcbiAgaGVpZ2h0OiA0NTBweDtcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.ts":
/*!*************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.ts ***!
  \*************************************************************************************************************************/
/*! exports provided: ConsultaAcuracidadeIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeIndexComponent", function() { return ConsultaAcuracidadeIndexComponent; });
/* harmony import */ var _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _consulta_acuracidade_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../consulta-acuracidade.constants */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade.constants.ts");
/* harmony import */ var _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../consulta-acuracidade.model */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade.model.ts");
/* harmony import */ var _consulta_acuracidade_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../consulta-acuracidade.service */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! chartjs-plugin-annotation */ "./node_modules/chartjs-plugin-annotation/src/index.js");
/* harmony import */ var chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_11__);
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js");
/* harmony import */ var chart_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! chart.js */ "./node_modules/chart.js/dist/Chart.js");
/* harmony import */ var chart_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(chart_js__WEBPACK_IMPORTED_MODULE_14__);
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
















var ConsultaAcuracidadeIndexComponent = /** @class */ (function (_super) {
    __extends(ConsultaAcuracidadeIndexComponent, _super);
    function ConsultaAcuracidadeIndexComponent(router, activatedRoute, consultaAcuracidadeService, datatables, messageService, funcoesService, permissoesUtils, excelService, loginService) {
        var _this = _super.call(this, new _consulta_acuracidade_constants__WEBPACK_IMPORTED_MODULE_6__["ConsultaAcuracidadeConstants"](), funcoesService) || this;
        _this.router = router;
        _this.activatedRoute = activatedRoute;
        _this.consultaAcuracidadeService = consultaAcuracidadeService;
        _this.datatables = datatables;
        _this.messageService = messageService;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.excelService = excelService;
        _this.loginService = loginService;
        _this.data = new _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_7__["ConsultaAcuracidadeDados"]();
        _this.dados = new _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_7__["ConsultaAcuracidade"]();
        _this.abaDados = new _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_7__["ConsultaAcuracidadeDados"];
        _this.abaDadosAux = [];
        _this.abaResumo = [];
        _this.abaResumoAux = [];
        _this.abaResumoRel = [];
        _this.abaResumoRelAux = [];
        _this.abaGrafico = [];
        _this.abaFoto = new _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_7__["ConsultaAcuracidadeOCRDto"]();
        _this.hasDados = false;
        _this.constantes = new _consulta_acuracidade_constants__WEBPACK_IMPORTED_MODULE_6__["ConsultaAcuracidadeConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.filtroOCR = new _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_7__["ConsultaAcuracidadeOCRFilter"]();
        _this.barChartLegend = true;
        _this.barChartType = 'bar';
        _this.barChartPlugins = [chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_11__];
        _this.chartReady = false;
        _this.lineChartColors = [
            {
                backgroundColor: '#991207',
                borderColor: '#991207',
                pointBackgroundColor: 'rgba(77,83,96,1)',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: 'rgba(77,83,96,1)'
            },
            {
                backgroundColor: '#37CC5A',
                borderColor: '#37CC5A',
                pointBackgroundColor: 'rgba(148,159,177,1)',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: 'rgba(148,159,177,0.8)'
            },
            {
                backgroundColor: '#1F20FF',
                borderColor: '#1F20FF',
                pointBackgroundColor: 'rgba(148,159,177,1)',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: 'rgba(148,159,177,0.8)'
            },
            {
                backgroundColor: '#CC8915',
                borderColor: '#CC8915',
                pointBackgroundColor: 'rgba(148,159,176,1)',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: 'rgba(148,159,176,0.8)'
            }
        ];
        _this.export = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 5, function () {
                if (_this.abaSelecionada === 1) {
                    var headerDictionary = {
                        "regControle": "registro",
                        "dtAutorizacao": "data",
                        "hrAutorizacao": "horario",
                        "descrTipoMov": "tipoMov",
                        "ticket": "nrAut",
                        "placa1": "confirmada",
                        "ocrPlaca1": "reconhecida",
                        "digPlaca1": "digitada",
                        "erroLan1": "erroLanc",
                        "erroOcr1": "erroOcr",
                        "motivo1": "motivo",
                        "placa2": "confirmada",
                        "ocrPlaca2": "reconhecida",
                        "digPlaca2": "digitada",
                        "erroLan2": "erroLanc",
                        "erroOcr2": "erroOcr",
                        "motivo2": "motivo",
                        "operLib": "usuario",
                        "dtOperLib": "dtLib",
                        "hrLib": "hrLib",
                        "codBalanca": "balanca",
                        "foto1": "fotoVeiculo",
                        "foto2": "fotoReboque",
                        "tipoErro1": "tipoErro",
                        "tipoErro2": "tipoErro",
                    };
                    var options = {
                        headerJsonKeys: true,
                        headerDictionary: headerDictionary
                    };
                    _this.excelService.exportAsExcelFile(_this.abaDadosAux, 'Consulta Acuracidade Dados', options);
                }
                else {
                    if (_this.abaSelecionada === 2) {
                        var headerDictionary = {
                            "dianteiro": "Dianteiro",
                            "traseiro": "Traseiro",
                            "errosDcF": "Total",
                            "descrMotivoOcr": "DescrMotivo",
                        };
                        var options = {
                            headerJsonKeys: true,
                            headerDictionary: headerDictionary
                        };
                        _this.excelService.exportAsExcelFile(_this.abaResumoRelAux, 'Consulta Acuracidade Resumo', options);
                    }
                    _this.consultaAcuracidadeService.getByFiltroResumoRel(_this.filtro).subscribe(function (resp3) {
                        _this.abaResumoRelAux = resp3;
                    });
                }
            });
        };
        _this.printFoto = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 4, function () {
                _this.executaVisualizarFotos(_this.abaDados);
            });
        };
        _this.filtro = new _consulta_acuracidade_model__WEBPACK_IMPORTED_MODULE_7__["ConsultaAcuracidadeFilter"]();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    ConsultaAcuracidadeIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            jQuery("#consulta-acuracidade-filter-dialog").modal("show");
        }, function () {
            _this.permissoesUtils.back();
        }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'printFoto', func: function () { return _this.printFoto; } },
            { action: 'export', func: function () { return _this.export; } }
        ]);
        this.seleciona(1);
        this.regLog = this.loginService.getLogin().colaboradorId;
    };
    ConsultaAcuracidadeIndexComponent.prototype.onRefresh = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4 /*yield*/, Object(rxjs__WEBPACK_IMPORTED_MODULE_13__["forkJoin"])([
                            this.consultaAcuracidadeService.getByFiltroDados(this.filtro),
                            this.consultaAcuracidadeService.getByFiltroResumo(this.filtro),
                            this.consultaAcuracidadeService.getByFiltroResumoRel(this.filtro),
                            this.consultaAcuracidadeService.getByFiltroGrafico(this.filtro)
                        ]).subscribe(function (resp) {
                            var columns = [
                                _this.datatables.getDataDateTime("dtAutorizacao", "data", "DD/MM/YYYY", "10%"),
                                _this.datatables.getDataString("hrAutorizacao", "horario", "10%"),
                                _this.datatables.getDataString("descrTipoMov", "tipoMov", "10%"),
                                _this.datatables.getDataString("ticket", "nrAut", "10%"),
                                _this.datatables.getDataString("placa1", "confirmada", "10%"),
                                _this.datatables.getDataString("ocrPlaca1", "reconhecida", "10%"),
                                _this.datatables.getDataString("digPlaca1", "digitada", "10%"),
                                _this.datatables.getDataString("erroLan1", "erroLanc", "10%"),
                                _this.datatables.getDataString("erroOcr1", "erroOcr", "10%"),
                                _this.datatables.getDataString("motivo1", "motivo", "10%"),
                                _this.datatables.getDataString("placa2", "confirmada", "10%"),
                                _this.datatables.getDataString("ocrPlaca2", "reconhecida", "10%"),
                                _this.datatables.getDataString("digPlaca2", "digitada", "10%"),
                                _this.datatables.getDataString("erroLan2", "erroLanc", "10%"),
                                _this.datatables.getDataString("erroOcr2", "erroOcr", "10%"),
                                _this.datatables.getDataString("motivo2", "motivo", "10%"),
                                _this.datatables.getDataString("operLib", "usuario", "10%"),
                                _this.datatables.getDataDateTime("dtOperLib", "dtLib", "DD/MM/YYYY", "10%"),
                                _this.datatables.getDataString("hrLib", "hrLib", "10%"),
                                _this.datatables.getDataString("codBalanca", "balanca", "10%"),
                                _this.datatables.getDataString("foto1", "fotoVeiculo", "10%"),
                                _this.datatables.getDataString("foto2", "fotoReboque", "10%")
                            ];
                            _this.abaDadosAux = resp[0];
                            _this.abaResumo = resp[1];
                            _this.abaResumoAux = resp[1];
                            _this.abaResumoRel = resp[2];
                            _this.abaResumoRelAux = resp[2];
                            if (!resp[3]) {
                                resp[3] = [];
                            }
                            _this.abaGrafico = resp[3];
                            if (resp[3]) {
                                _this.hasDados = resp[3].length > 0;
                                _this.geraGrafico(resp[3]);
                            }
                            _this.datatables.toDataTable({ tableId: "dtConsultaAcuracidade", columns: columns, data: resp[0], columnOrder: 0, orientationOrder: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_0__["EOrientationOrder"].ASC }, function (aData) {
                                _this.abaDados = aData;
                            });
                        })];
                    case 1:
                        _a.sent();
                        return [2 /*return*/];
                }
            });
        });
    };
    ConsultaAcuracidadeIndexComponent.prototype.refresh = function () {
        this.onRefresh();
    };
    ConsultaAcuracidadeIndexComponent.prototype.detail = function () {
        if (this.funcoesService.isNotUndefinedOrNull(this.abaDados.regControle)) {
            this.router.navigate([this.target + "/consultas/consultaAcuracidade/detail/" + this.abaDados.regControle + "/" + this.abaDados.ticket]);
        }
    };
    ConsultaAcuracidadeIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    ConsultaAcuracidadeIndexComponent.prototype.filtrar = function () {
        jQuery("#consulta-acuracidade-filter-dialog").modal("show");
        this.hasDados = false;
    };
    ConsultaAcuracidadeIndexComponent.prototype.executaFiltro = function (event) {
        this.filtro = event;
        this.onRefresh();
    };
    ConsultaAcuracidadeIndexComponent.prototype.atualizaAba = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4 /*yield*/, this.consultaAcuracidadeService.getByFiltroResumo(this.filtro).subscribe(function (resp1) {
                            _this.abaResumo = resp1;
                            _this.abaResumoAux = resp1;
                        })];
                    case 1:
                        _a.sent();
                        return [4 /*yield*/, this.consultaAcuracidadeService.getByFiltroResumoRel(this.filtro).subscribe(function (resp3) {
                                _this.abaResumoRel = resp3;
                            })];
                    case 2:
                        _a.sent();
                        return [4 /*yield*/, this.consultaAcuracidadeService.getByFiltroGrafico(this.filtro).subscribe(function (resp2) {
                                if (!resp2) {
                                    resp2 = [];
                                }
                                _this.abaGrafico = resp2;
                                if (resp2) {
                                    _this.hasDados = resp2.length > 0;
                                    if (!resp2 || resp2.length === 0) {
                                        _this.messageService.warning("titles.consultaAcuracidade", "messages.naoExistemDados");
                                    }
                                    _this.geraGrafico(resp2);
                                }
                            })];
                    case 3:
                        _a.sent();
                        return [2 /*return*/];
                }
            });
        });
    };
    ConsultaAcuracidadeIndexComponent.prototype.seleciona = function (event) {
        this.abaSelecionada = event;
    };
    ConsultaAcuracidadeIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            var reportTitulo = {
                titulo: _this.messageService.getTranslates('titles', 'consultaAcuracidade'),
                subTitulo: ''
            };
            _this.filtro.filial = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.filial) ? _this.filtro.filial : 0;
            _this.filtro.dataI = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.dataI) ? _this.filtro.dataI : "";
            _this.filtro.dataF = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.dataF) ? _this.filtro.dataF : "";
            _this.filtro.placa = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.placa) ? _this.filtro.placa : "";
            _this.filtro.tipoData = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.tipoData) ? _this.filtro.tipoData : "T";
            _this.filtro.tipo = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.tipo) ? _this.filtro.tipo : 0;
            _this.filtro.tipoErro = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.tipoErro) ? _this.filtro.tipoErro : "I";
            _this.filtro.movimento = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.movimento) ? _this.filtro.movimento : "A";
            _this.filtro.codLocalOper = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.codLocalOper) ? _this.filtro.codLocalOper : 0;
            _this.filtro.tipoTransp = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.tipoTransp) ? _this.filtro.tipoTransp : "";
            _this.filtro.banda = _this.funcoesService.isNotUndefinedOrNull(_this.filtro.banda) ? _this.filtro.banda : "A";
            _this.filtro.bandaB = "B";
            _this.filtro.bandaC = "C";
            _this.filtro.regLog = _this.regLog;
            _this.funcoesService.reportInvoc.invocaRelatorio(_this.constantes.reportId, reportTitulo, _this.filtro);
        });
    };
    ConsultaAcuracidadeIndexComponent.prototype.geraGrafico = function (dados) {
        return __awaiter(this, void 0, void 0, function () {
            var displayLegend, titulo, promises, extrudePlugin;
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        this.chartReady = true;
                        displayLegend = true;
                        titulo = [
                            this.messageService.getTranslates("titles", "acuracidade")
                        ];
                        this.barChartData = [
                            { data: [], label: 'Dianteira' },
                            { data: [], label: 'Traseira' }
                        ];
                        if (!this.funcoesService.isNotUndefinedOrNull(this.dados)) return [3 /*break*/, 2];
                        promises = dados.map(function (m) { return __awaiter(_this, void 0, void 0, function () {
                            var bar, bar1;
                            return __generator(this, function (_a) {
                                bar = this.barChartData.find(function (l) { return l.label === 'Dianteira'; });
                                if (bar) {
                                    if (m.legenda === 'Dianteira') {
                                        bar.data.push(m.percentual);
                                    }
                                }
                                bar1 = this.barChartData.find(function (l) { return l.label === 'Traseira'; });
                                if (bar1) {
                                    if (m.legenda === 'Traseira') {
                                        bar1.data.push(m.percentual);
                                    }
                                }
                                return [2 /*return*/];
                            });
                        }); });
                        return [4 /*yield*/, Promise.all(promises)];
                    case 1:
                        _a.sent();
                        _a.label = 2;
                    case 2:
                        this.barChartLabels = ['Assertividade OCR - Sem Filtro'];
                        this.barChartOptions = {
                            responsive: true,
                            legend: { position: 'bottom', display: displayLegend },
                            scales: {
                                xAxes: [
                                    {
                                        scaleLabel: {
                                            display: false,
                                            labelString: '',
                                            fontColor: "#546372"
                                        }
                                    }
                                ],
                                yAxes: [
                                    {
                                        id: 'y-axis-0',
                                        position: 'left',
                                        ticks: {
                                            max: 100,
                                            min: 0,
                                            stepSize: 10
                                        },
                                        scaleLabel: {
                                            display: false,
                                            labelString: 'Porcentagens',
                                            fontColor: "#546372"
                                        }
                                    }
                                ]
                            },
                            annotation: {},
                            tooltips: {
                                enabled: true,
                                mode: 'single',
                                callbacks: {
                                    title: function (tooltipItems, data) {
                                        var title;
                                        var labels = data.labels;
                                        var labelCount = labels ? labels.length : 0;
                                        if (tooltipItems.length > 0) {
                                            var item = tooltipItems[0];
                                            if (item.label) {
                                                title = item.label;
                                            }
                                            else if (labelCount > 0 && item.index < labelCount) {
                                                title = labels[item.index];
                                            }
                                        }
                                        return title;
                                    },
                                    label: function (tooltipItem, data) {
                                        var label = data.datasets[tooltipItem.datasetIndex].label || '';
                                        return [label, tooltipItem.yLabel + ' '];
                                    }
                                }
                            },
                            title: {
                                display: true,
                                text: titulo
                            },
                            plugins: {
                                datalabels: {
                                    display: true,
                                    color: 'white',
                                    anchor: 'center',
                                    align: 'center',
                                    formatter: function (value, context) {
                                        return value;
                                    }
                                }
                            }
                        };
                        extrudePlugin = {
                            id: 'extrude',
                            beforeDatasetsDraw: function (chart) {
                                var _this = this;
                                var ctx = chart.ctx;
                                ctx.save();
                                chart.data.datasets.forEach(function (dataset, datasetIndex) {
                                    var meta = chart.getDatasetMeta(datasetIndex);
                                    if (!meta || !meta.data)
                                        return;
                                    meta.data.forEach(function (bar) {
                                        if (!bar._model)
                                            return;
                                        var _a = bar._model, x = _a.x, y = _a.y, base = _a.base, width = _a.width;
                                        var depth = 12; // Profundidade do efeito 3D
                                        // Não aplicar efeito em barras com valor zero
                                        if (Math.abs(y - base) < 1)
                                            return;
                                        var color = bar._model.backgroundColor || '#4CAF50';
                                        // Escurecer as cores para as partes 3D
                                        var rightColor = _this.darkenColor(color, 30);
                                        var topColor = _this.darkenColor(color, 15);
                                        var sideColor = _this.darkenColor(color, 20);
                                        // 1. FUNDO (parte traseira) - dá profundidade
                                        ctx.fillStyle = sideColor;
                                        ctx.beginPath();
                                        ctx.moveTo(x - width / 2, base);
                                        ctx.lineTo(x - width / 2, base - depth);
                                        ctx.lineTo(x + width / 2 + depth, base - depth);
                                        ctx.lineTo(x + width / 2 + depth, base);
                                        ctx.closePath();
                                        ctx.fill();
                                        // 2. LADO DIREITO (vertical)
                                        ctx.fillStyle = rightColor;
                                        ctx.beginPath();
                                        ctx.moveTo(x + width / 2, y);
                                        ctx.lineTo(x + width / 2 + depth, y);
                                        ctx.lineTo(x + width / 2 + depth, base);
                                        ctx.lineTo(x + width / 2, base);
                                        ctx.closePath();
                                        ctx.fill();
                                        // 3. TOPO (horizontal)
                                        ctx.fillStyle = topColor;
                                        ctx.beginPath();
                                        ctx.moveTo(x - width / 2, y);
                                        ctx.lineTo(x + width / 2, y);
                                        ctx.lineTo(x + width / 2 + depth, y);
                                        ctx.lineTo(x - width / 2, y);
                                        ctx.closePath();
                                        ctx.fill();
                                        // 4. BARRA PRINCIPAL por cima
                                        ctx.fillStyle = color;
                                        ctx.fillRect(x - width / 2, y, width, base - y);
                                        // 5. LATERAL ESQUERDA (profundidade)
                                        ctx.fillStyle = sideColor;
                                        ctx.beginPath();
                                        ctx.moveTo(x - width / 2, y);
                                        ctx.lineTo(x - width / 2, base);
                                        ctx.lineTo(x - width / 2, base - depth);
                                        ctx.lineTo(x - width / 2, y);
                                        ctx.closePath();
                                        ctx.fill();
                                    });
                                });
                                ctx.restore();
                            },
                            darkenColor: function (color, percent) {
                                var r, g, b;
                                if (color.startsWith('#')) {
                                    var hex = color.replace('#', '');
                                    r = parseInt(hex.substring(0, 2), 16);
                                    g = parseInt(hex.substring(2, 4), 16);
                                    b = parseInt(hex.substring(4, 6), 16);
                                }
                                else if (color.startsWith('rgb')) {
                                    var match = color.match(/(\d+),\s*(\d+),\s*(\d+)/);
                                    if (match) {
                                        r = parseInt(match[1]);
                                        g = parseInt(match[2]);
                                        b = parseInt(match[3]);
                                    }
                                }
                                if (r !== undefined && g !== undefined && b !== undefined) {
                                    r = Math.max(0, Math.floor(r * (1 - percent / 100)));
                                    g = Math.max(0, Math.floor(g * (1 - percent / 100)));
                                    b = Math.max(0, Math.floor(b * (1 - percent / 100)));
                                    return "rgb(" + r + ", " + g + ", " + b + ")";
                                }
                                return color;
                            }
                        };
                        chart_js__WEBPACK_IMPORTED_MODULE_14__["plugins"].register(extrudePlugin);
                        return [2 /*return*/];
                }
            });
        });
    };
    ConsultaAcuracidadeIndexComponent.prototype.showModalPrintFoto = function (event) {
        this.filtroOCR = event;
    };
    ConsultaAcuracidadeIndexComponent.prototype.downloadCanvas = function (event) {
        var title = new Date().getTime();
        // get the `<a>` element from click event
        var anchor = event.target;
        // get the canvas, I'm getting it by tag name, you can do by id
        // and set the href of the anchor to the canvas dataUrl
        anchor.href = document.getElementsByTagName('canvas')[0].toDataURL();
        // set the anchors 'download' attibute (name of the file to be downloaded)
        anchor.download = title + ".png";
    };
    ConsultaAcuracidadeIndexComponent.prototype.executaVisualizarFotos = function (event) {
        return __awaiter(this, void 0, void 0, function () {
            var regControle, ticket, obj, ret;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        regControle = this.abaDados.regControle;
                        ticket = this.abaDados.ticket;
                        this.filtroOCR.regControle = +regControle;
                        this.filtroOCR.tipo = 6;
                        this.filtroOCR.autorizacao = +ticket;
                        if (!(regControle && ticket)) return [3 /*break*/, 2];
                        obj = {
                            regControle: +regControle,
                            tipo: 6,
                            autorizacao: +ticket
                        };
                        return [4 /*yield*/, this.visualizarFotos(obj)];
                    case 1:
                        ret = _a.sent();
                        this.abaFoto.foto = this.funcoesService.isNotUndefinedOrNull(ret[0].foto) ? ret[0].foto : "";
                        this.abaFoto.arquivoFoto = this.funcoesService.isNotUndefinedOrNull(ret[0].arquivoFoto) ? ret[0].arquivoFoto : "";
                        this.abaFoto.imagemUrl = this.funcoesService.isNotUndefinedOrNull(ret[0].imagemUrl) ? ret[0].imagemUrl : "";
                        this.abaFoto.foto1 = this.funcoesService.isNotUndefinedOrNull(ret[1].foto) ? ret[1].foto : "";
                        this.abaFoto.arquivoFoto1 = this.funcoesService.isNotUndefinedOrNull(ret[1].arquivoFoto) ? ret[1].arquivoFoto : "";
                        this.abaFoto.imagemUrl1 = this.funcoesService.isNotUndefinedOrNull(ret[1].imagemUrl) ? ret[1].imagemUrl : "";
                        jQuery("#app-consulta-acuracidade-foto").modal("show");
                        _a.label = 2;
                    case 2: return [2 /*return*/];
                }
            });
        });
    };
    ConsultaAcuracidadeIndexComponent.prototype.visualizarFotos = function (data) {
        var request = this.consultaAcuracidadeService;
        var promise = new Promise(function (resolve, reject) {
            request.getOCRAcuracidade(data).subscribe(function (resp) {
                resolve(resp);
            });
        });
        return promise;
    };
    ConsultaAcuracidadeIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"] },
        { type: _consulta_acuracidade_service__WEBPACK_IMPORTED_MODULE_8__["ConsultaAcuracidadeService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_0__["DatatablesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__["ExcelService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"] }
    ]; };
    ConsultaAcuracidadeIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-consulta-acuracidade-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-acuracidade-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./consulta-acuracidade-index.component.scss */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"],
            _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"],
            _consulta_acuracidade_service__WEBPACK_IMPORTED_MODULE_8__["ConsultaAcuracidadeService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_0__["DatatablesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__["ExcelService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"]])
    ], ConsultaAcuracidadeIndexComponent);
    return ConsultaAcuracidadeIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeConstants", function() { return ConsultaAcuracidadeConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaAcuracidadeConstants = /** @class */ (function () {
    function ConsultaAcuracidadeConstants() {
        this.sisFormularioId = 95173;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.printFoto" },
            { sisFormularioId: this.sisFormularioId, libRotina: 5, acao: "labels.gerarExcel" }
        ];
        this.sisSistemaId = "BAL";
        this.nomeForm = "titles.consultaAcuracidade";
        this.reportTitulo = { "titulo": "Consulta Acuracidade", "subTitulo": "" };
        this.reportId = "BAL0001";
        this.listaIndex = [
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Foto', action: 'printFoto', icon: "icon-camera", exibeButton: true, eximeMenu: true, menuName: 'Movimento', depitem: false },
            { title: 'Export', action: 'export', icon: "icon-export", exibeButton: true, eximeMenu: true, menuName: 'Movimento', depitem: false }
        ];
        this.listaForm = [
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
    }
    return ConsultaAcuracidadeConstants;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade.model.ts":
/*!************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade.model.ts ***!
  \************************************************************************************/
/*! exports provided: ConsultaAcuracidade, ConsultaAcuracidadeDados, ConsultaAcuracidadeResumo, ConsultaAcuracidadeGrafico, ConsultaAcuracidadeFilter, ConsultaAcuracidadeOCRFilter, ConsultaAcuracidadeOCRDto, RelConsultaAcuracidadeResumo */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidade", function() { return ConsultaAcuracidade; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeDados", function() { return ConsultaAcuracidadeDados; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeResumo", function() { return ConsultaAcuracidadeResumo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeGrafico", function() { return ConsultaAcuracidadeGrafico; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeFilter", function() { return ConsultaAcuracidadeFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeOCRFilter", function() { return ConsultaAcuracidadeOCRFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeOCRDto", function() { return ConsultaAcuracidadeOCRDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RelConsultaAcuracidadeResumo", function() { return RelConsultaAcuracidadeResumo; });
/* harmony import */ var _shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};


var ConsultaAcuracidade = /** @class */ (function (_super) {
    __extends(ConsultaAcuracidade, _super);
    function ConsultaAcuracidade() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    return ConsultaAcuracidade;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var ConsultaAcuracidadeDados = /** @class */ (function (_super) {
    __extends(ConsultaAcuracidadeDados, _super);
    function ConsultaAcuracidadeDados() {
        var _this = _super.call(this) || this;
        _this.regControle = 0;
        _this.ticket = 0;
        _this.codBalanca = 0;
        return _this;
    }
    return ConsultaAcuracidadeDados;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var ConsultaAcuracidadeResumo = /** @class */ (function (_super) {
    __extends(ConsultaAcuracidadeResumo, _super);
    function ConsultaAcuracidadeResumo() {
        var _this = _super.call(this) || this;
        _this.dianteiro = 0;
        _this.traseiro = 0;
        _this.qtTotal = 0;
        _this.codMotivo = 0;
        _this.acertosDsF = 0;
        _this.acertosTsF = 0;
        _this.acertosSF = 0;
        _this.errosDsF = 0;
        _this.errosTsF = 0;
        _this.errosSF = 0;
        _this.ocrDsF = 0;
        _this.ocrTsF = 0;
        _this.ocrSF = 0;
        _this.acertosDPsF = 0;
        _this.acertosTPsF = 0;
        _this.acertosPsF = 0;
        _this.acertosDcF = 0;
        _this.acertosTcF = 0;
        _this.acertosCF = 0;
        _this.errosDcF = 0;
        _this.errosTcF = 0;
        _this.errosCF = 0;
        _this.ocrDcF = 0;
        _this.ocrTcF = 0;
        _this.ocrCF = 0;
        _this.acertosDPcF = 0;
        _this.acertosTPcF = 0;
        _this.acertosPcF = 0;
        return _this;
    }
    return ConsultaAcuracidadeResumo;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var ConsultaAcuracidadeGrafico = /** @class */ (function (_super) {
    __extends(ConsultaAcuracidadeGrafico, _super);
    function ConsultaAcuracidadeGrafico() {
        var _this = _super.call(this) || this;
        _this.percentual = 0;
        return _this;
    }
    return ConsultaAcuracidadeGrafico;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var ConsultaAcuracidadeFilter = /** @class */ (function () {
    function ConsultaAcuracidadeFilter() {
        var dataI = moment__WEBPACK_IMPORTED_MODULE_1__();
        var dataF = moment__WEBPACK_IMPORTED_MODULE_1__();
        this.dataI = dataI.add(-7, "days").format("YYYY-MM-DD") + ' 00:00:00';
        this.dataI = new Date(this.dataI);
        this.dataF = dataF.format("YYYY-MM-DD") + ' 23:59:59';
        this.dataF = new Date(this.dataF);
        this.filial = 0;
        this.placa = "";
        this.tipo = "0";
        this.tipoErro = "T";
        this.tipoData = "";
        this.movimento = "A";
        this.tipoTransp = "R, F";
    }
    return ConsultaAcuracidadeFilter;
}());

var ConsultaAcuracidadeOCRFilter = /** @class */ (function () {
    function ConsultaAcuracidadeOCRFilter() {
        this.tipo = 0;
        this.regControle = 0;
        this.autorizacao = 0;
        this.nrPesagem = 0;
        this.tpPesagem = "";
        this.codRotina = 0;
        this.regLog = 0;
    }
    return ConsultaAcuracidadeOCRFilter;
}());

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

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



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeModule", function() { return ConsultaAcuracidadeModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _consulta_acuracidade_index_consulta_acuracidade_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./consulta-acuracidade-index/consulta-acuracidade-index.component */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.ts");
/* harmony import */ var _consulta_acuracidade_foto_consulta_acuracidade_foto_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./consulta-acuracidade-foto/consulta-acuracidade-foto.component */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.component.ts");
/* harmony import */ var _consulta_acuracidade_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consulta-acuracidade.routing.module */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade.routing.module.ts");
/* harmony import */ var _consulta_acuracidade_filter_consulta_acuracidade_filter_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./consulta-acuracidade-filter/consulta-acuracidade-filter.component */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-filter/consulta-acuracidade-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 ConsultaAcuracidadeModule = /** @class */ (function () {
    function ConsultaAcuracidadeModule() {
    }
    ConsultaAcuracidadeModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _consulta_acuracidade_routing_module__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcuracidadeRoutingModule"]],
            declarations: [_consulta_acuracidade_index_consulta_acuracidade_index_component__WEBPACK_IMPORTED_MODULE_2__["ConsultaAcuracidadeIndexComponent"], _consulta_acuracidade_foto_consulta_acuracidade_foto_component__WEBPACK_IMPORTED_MODULE_3__["ConsultaAcuracidadeFotoComponent"], _consulta_acuracidade_filter_consulta_acuracidade_filter_component__WEBPACK_IMPORTED_MODULE_5__["ConsultaAcuracidadeFilterComponent"]],
            exports: [],
            providers: []
        })
    ], ConsultaAcuracidadeModule);
    return ConsultaAcuracidadeModule;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeRoutingModule", function() { return ConsultaAcuracidadeRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _consulta_acuracidade_index_consulta_acuracidade_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./consulta-acuracidade-index/consulta-acuracidade-index.component */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-index/consulta-acuracidade-index.component.ts");
/* harmony import */ var _consulta_acuracidade_foto_consulta_acuracidade_foto_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consulta-acuracidade-foto/consulta-acuracidade-foto.component */ "./src/app/pages/consultas/consulta-acuracidade/consulta-acuracidade-foto/consulta-acuracidade-foto.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_acuracidade_index_consulta_acuracidade_index_component__WEBPACK_IMPORTED_MODULE_3__["ConsultaAcuracidadeIndexComponent"],
        data: { breadcrumb: "ConsultaAcuracidade", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: "create",
        component: _consulta_acuracidade_foto_consulta_acuracidade_foto_component__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcuracidadeFotoComponent"],
        data: {
            breadcrumb: "ConsultaAcuracidade",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create }
        }
    },
    {
        path: "edit/:id",
        component: _consulta_acuracidade_foto_consulta_acuracidade_foto_component__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcuracidadeFotoComponent"],
        data: {
            breadcrumb: "ConsultaAcuracidade",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].edit }
        }
    },
    {
        path: "detail/:regControle/:ticket",
        component: _consulta_acuracidade_foto_consulta_acuracidade_foto_component__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcuracidadeFotoComponent"],
        data: {
            breadcrumb: "ConsultaAcuracidade",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var ConsultaAcuracidadeRoutingModule = /** @class */ (function () {
    function ConsultaAcuracidadeRoutingModule() {
    }
    ConsultaAcuracidadeRoutingModule = __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"]]
        })
    ], ConsultaAcuracidadeRoutingModule);
    return ConsultaAcuracidadeRoutingModule;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcuracidadeService", function() { return ConsultaAcuracidadeService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _app_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../app.error-handler */ "./src/app/app.error-handler.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var ConsultaAcuracidadeService = /** @class */ (function (_super) {
    __extends(ConsultaAcuracidadeService, _super);
    function ConsultaAcuracidadeService(http) {
        return _super.call(this, http, "consultas/consultaAcuracidade") || this;
    }
    ConsultaAcuracidadeService.prototype.getByFiltro = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/consultaAcuracidade/getByFiltro", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaAcuracidadeService.prototype.getOCRAcuracidade = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/consultaAcuracidade/getOCRAcuracidade", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaAcuracidadeService.prototype.getByFiltroDados = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/consultaAcuracidade/corpWebConsultaAcuracidade", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaAcuracidadeService.prototype.getByFiltroResumo = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/consultaAcuracidade/corpWebConsultaAcuracidadeResumo", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaAcuracidadeService.prototype.getByFiltroResumoRel = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/consultaAcuracidade/corpWebConsultaAcuracidadeResumoRel", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaAcuracidadeService.prototype.getByFiltroGrafico = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/consultaAcuracidade/corpWebConsultaAcuracidadeGrafico", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    ConsultaAcuracidadeService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    ConsultaAcuracidadeService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: 'root'
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], ConsultaAcuracidadeService);
    return ConsultaAcuracidadeService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__["BaseService"]));



/***/ })

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