(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-ageo-movimentos-alterar-placa-foto-ocr-digifort-alterar-placa-foto-ocr-digifort-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component.html":
/*!******************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component.html ***!
  \******************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [sisFormularioId]=\"constantes.sisFormularioId\" [botoesComando]=\"constantes.listaForm\">\n</app-menu-command-bar>\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <div class=\"\">\n                <app-form-legenda></app-form-legenda>\n                <div class=\"card-body widget-body\">\n                    <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\" autocomplete=\"off\" novalidate>\n                        <app-validacoes></app-validacoes>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6\">\n                                <fieldset>\n                                    <legend>{{ \"labels.tipoMovimento\" | translate }}</legend>\n                                    <div class=\"row\">\n                                        <div class=\"col-12\">\n                                            <div class=\"form-check-inline\">\n                                                <input id=\"carga\" name=\"carga\" class=\"form-check-input\" type=\"radio\"\n                                                    value=\"C\" [(ngModel)]=\"tipoMovimento\">\n                                                <label class=\"form-check-label\" for=\"carga\">{{ 'labels.carga' |\n                                                    translate }}</label>\n                                            </div>\n                                            <div class=\"form-check-inline\">\n                                                <input id=\"descarga\" name=\"descarga\" class=\"form-check-input\"\n                                                    type=\"radio\" value=\"D\" [(ngModel)]=\"tipoMovimento\">\n                                                <label class=\"form-check-label\" for=\"descarga\">{{ 'labels.descarga' |\n                                                    translate }}</label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </fieldset>\n                            </div>\n                            <div class=\"col-lg-6 col-md-6\">\n                                <fieldset>\n                                    <legend>{{ \"labels.senditoOperacao\" | translate }}</legend>\n                                    <div class=\"row\">\n                                        <div class=\"col-12\">\n                                            <div class=\"form-check-inline\">\n                                                <input id=\"entrada\" name=\"entrada\" class=\"form-check-input\" type=\"radio\"\n                                                    [value]=\"0\" [(ngModel)]=\"tipoOperacao\">\n                                                <label class=\"form-check-label\" for=\"entrada\">{{ 'labels.entrada' |\n                                                    translate }}</label>\n                                            </div>\n                                            <div class=\"form-check-inline\">\n                                                <input id=\"saida\" name=\"saida\" class=\"form-check-input\" type=\"radio\"\n                                                    [value]=\"1\" [(ngModel)]=\"tipoOperacao\">\n                                                <label class=\"form-check-label\" for=\"saida\">{{ 'labels.saida' |\n                                                    translate }}</label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </fieldset>\n                            </div>\n                        </div>\n                        <div class=\"row mt-2\">\n                            <div class=\"col-lg-12\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-3\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"requisicao\">{{ 'labels.nRequisicao' | translate }}</label>\n                                            <div class=\"input-group input-group-sm\">\n                                                <input id=\"requisicao\" name=\"requisicao\"\n                                                    [(ngModel)]=\"data.regRequisicao\" class=\"form-control\"\n                                                    mask=\"999999999\">\n                                                <div class=\"input-group-append\">\n                                                    <button type=\"button\" class=\"btn btn-outline-secondary\"\n                                                        (click)=\"filtrar()\">\n                                                        <i class=\"fa fa-search\"></i>\n                                                    </button>\n                                                </div>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-3\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"regControle\">{{ 'labels.registro' | translate}}</label>\n                                            <input id=\"regControle\" name=\"regControle\" [(ngModel)]=\"data.regControle\"\n                                                class=\"form-control form-control-sm\" disabled=\"true\" mask=\"999999999\">\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-md-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-destinatario id=\"destinatarioIdCliente\"\n                                                name=\"destinatarioIdCliente\" label=\"cliente\"\n                                                modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"data.destinatarioIdCliente\"\n                                                tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\"\n                                                (outModel)=\"trataDest($event)\" [disabled]=\"true\"\n                                                [inSelected]=\"data.clienteModel\">\n                                            </app-pesquisa-destinatario>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-2\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"placaCavalo\">{{ 'labels.placaCavalo' | translate}}</label>\n                                            <input id=\"placaCavalo\" name=\"placaCavalo\" [(ngModel)]=\"data.placa\"\n                                                class=\"form-control form-control-sm\" disabled=\"true\">\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-4\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"placa1\">{{'labels.caminhoImagem' | translate}}</label>\n                                            <div class=\"custom-file\">\n                                                <input type=\"file\" class=\"custom-file-input campo\"\n                                                    style=\"height: calc(1.8125rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem;\"\n                                                    id=\"placa1\" name=\"placa1\" (change)=\"fileChange($event, 1)\"\n                                                    [accept]=\"acceptedTypes\">\n                                                <label class=\"custom-file-label\" for=\"placa1\"\n                                                    style=\"height: calc(1.8125rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem;\">\n                                                    <span\n                                                        *ngIf=\"fileName.hasOwnProperty('placa1')\">{{fileName['placa1']}}</span>\n                                                </label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-2\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"placaIntermadiario\">{{ 'labels.placaIntermadiario' | translate}}</label>\n                                            <input id=\"placaIntermadiario\" name=\"placaIntermadiario\" [(ngModel)]=\"data.placaCarreta\"\n                                                class=\"form-control form-control-sm\" disabled=\"true\">\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-4\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"placa2\">{{'labels.caminhoImagem' | translate}}</label>\n                                            <div class=\"custom-file\">\n                                                <input type=\"file\" class=\"custom-file-input campo\"\n                                                    style=\"height: calc(1.8125rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem;\"\n                                                    id=\"placa2\" name=\"placaCavalo2\" (change)=\"fileChange($event, 2)\"\n                                                    [accept]=\"acceptedTypes\">\n                                                <label class=\"custom-file-label\" for=\"placa2\"\n                                                    style=\"height: calc(1.8125rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem;\">\n                                                    <span\n                                                        *ngIf=\"fileName.hasOwnProperty('placa2')\">{{fileName['placa2']}}</span>\n                                                </label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-2\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"placaTraseira\">{{ 'labels.placaTraseira' | translate}}</label>\n                                            <input id=\"placaTraseira\" name=\"placaTraseira\" [(ngModel)]=\"data.placaCarreta2\"\n                                                class=\"form-control form-control-sm\" disabled=\"true\">\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-4\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"placa3\">{{'labels.caminhoImagem' | translate}}</label>\n                                            <div class=\"custom-file\">\n                                                <input type=\"file\" class=\"custom-file-input campo\"\n                                                    style=\"height: calc(1.8125rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem;\"\n                                                    id=\"placa3\" name=\"placaCavalo3\" (change)=\"fileChange($event, 3)\"\n                                                    [accept]=\"acceptedTypes\">\n                                                <label class=\"custom-file-label\" for=\"placa3\"\n                                                    style=\"height: calc(1.8125rem + 2px); padding: 0.25rem 0.5rem; font-size: 0.875rem;\">\n                                                    <span\n                                                        *ngIf=\"fileName.hasOwnProperty('placa3')\">{{fileName['placa3']}}</span>\n                                                </label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row mt-4\">\n                            <div class=\"col-12\">\n                                <div class=\"form-group\">\n                                    <button class=\"btn btn-success mr-2\" type=\"submit\">\n                                        {{ 'buttons.salvar' | translate }}\n                                    </button>\n                                </div>\n                            </div>\n                        </div>\n                    </form>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-alterar-cliente-de-venda-requisicao [data]=\"service.filtro\"\n    (filtrar)=\"executaFiltro($event)\"></app-alterar-cliente-de-venda-requisicao>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-requisicao/alterar-cliente-de-venda-requisicao.component.html":
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-requisicao/alterar-cliente-de-venda-requisicao.component.html ***!
  \***********************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal fade\" id=\"alterar-placa-foto-ocr-digifort-requisicao-dialog\" tabindex=\"-1\" role=\"dialog\"\r\n    data-backdrop=\"static\">\r\n    <div class=\"uni-modal-dialog-md-45\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.pesquisaRequisicao' | translate }}</h6>\r\n            </div>\r\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\r\n                <app-validacoes></app-validacoes>\r\n                <div class=\"modal-body\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"periodoDe\" class=\"required\">{{ 'labels.de' | translate }}</label>\r\n                                <app-data id=\"periodoDe\" name=\"periodoDe\" required=\"true\" [(ngModel)]=\"filtro.dataI\">\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"ate\" class=\"required\">{{ 'labels.ate' | translate }}</label>\r\n                                <app-data id=\"ate\" name=\"ate\" required=\"true\" [(ngModel)]=\"filtro.dataF\">\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12 col-md-12 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" tipoDestinatario=\"C\"\r\n                                    modalTitle=\"pesquisaDeCliente\" label=\"cliente\"\r\n                                    [(ngModel)]=\"filtro.destinatarioIdCliente\" showInscricao=\"false\" showCgcCpf=\"false\">\r\n                                </app-pesquisa-destinatario>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12 form-group form-group-sm\">\r\n                            <table id=\"dtRequisicao\"\r\n                                class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button class=\"btn btn-success mr-1\" type=\"button\" (click)=\"_refresh()\">{{ 'buttons.pesquisar' |\r\n                        translate }} </button>\r\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.ok' | translate }} </button>\r\n                    <button type=\"button\" class=\"btn btn-danger\" data-dismiss=\"modal\">Sair</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component.ts":
/*!**************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component.ts ***!
  \**************************************************************************************************************************************************************************/
/*! exports provided: AlterarPlacaFotoOcrDigifortFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifortFormComponent", function() { return AlterarPlacaFotoOcrDigifortFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../../../../../../pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./../../../../../../shared/components/report/report.service */ "./src/app/shared/components/report/report.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.service */ "./src/app/pages/cadastro/destinatario/destinatario.service.ts");
/* harmony import */ var app_pages_cadastro_motorista_motorista_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/pages/cadastro/motorista/motorista.service */ "./src/app/pages/cadastro/motorista/motorista.service.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../alterar-placa-foto-ocr-digifort.constants */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.constants.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../alterar-placa-foto-ocr-digifort.model */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.model.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../alterar-placa-foto-ocr-digifort.service */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

















var AlterarPlacaFotoOcrDigifortFormComponent = /** @class */ (function (_super) {
    __extends(AlterarPlacaFotoOcrDigifortFormComponent, _super);
    function AlterarPlacaFotoOcrDigifortFormComponent(loginService, permissoesUtils, funcoesService, reportService, messageService, service, destinatarioService, matoristaService) {
        var _this = _super.call(this, new _alterar_placa_foto_ocr_digifort_constants__WEBPACK_IMPORTED_MODULE_14__["AlterarPlacaFotoOcrDigifortConstants"](), funcoesService) || this;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.reportService = reportService;
        _this.messageService = messageService;
        _this.service = service;
        _this.destinatarioService = destinatarioService;
        _this.matoristaService = matoristaService;
        _this.mensagens = [];
        _this.constantes = new _alterar_placa_foto_ocr_digifort_constants__WEBPACK_IMPORTED_MODULE_14__["AlterarPlacaFotoOcrDigifortConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.data = new _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_15__["AlterarPlacaFotoOcrDigifort"];
        _this.disabledGrupo = false;
        _this.disabledCliente = false;
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_5__["Mascaras"]();
        _this.imagemBase64 = null;
        _this.fileName = {};
        _this.acceptedTypes = ".png, .jpg, .jpeg, .bmp";
        return _this;
    }
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { }, function () { return _this.permissoesUtils.back(); }, true);
        this.tipoOperacao = 0;
        this.tipoMovimento = "C";
        this.acceptedTypes = ".png, .jpg, .jpeg, .bmp";
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.onSubmit = function (form) {
        var _this = this;
        this.data.tipoOperacao = this.tipoOperacao;
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _this.messageService.confirm('titles.confirmaAlteracaoDasImagensDoOcr', 'messages.updateConfigConfirm', null, function () { return _this.service.updateFoto(_this.data).subscribe(function (result) {
                _this.mensagens = _this.messageService.validationResult(result);
                if (!result.isValid) {
                    _this.messageService.warning(_this.service.titles, _this.mensagens);
                }
                else {
                    _this.messageService.confirm('titles.confirmaAlteracaoDasPlacasDoOcr', 'messages.updateConfigConfirm', null, function () { return _this.service.updatePlaca(_this.data.regRequisicao, _this.tipoMovimento).subscribe(function (result) {
                        _this.mensagens = _this.messageService.validationResult(result);
                        if (!result.isValid) {
                            _this.messageService.warning(_this.service.titles, _this.mensagens);
                        }
                        _this.data = new _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_15__["AlterarPlacaFotoOcrDigifort"]();
                        _this.limpaCampo();
                    }); }, false, function () {
                        _this.messageService.saveSuccess(_this.service.titles);
                        _this.data = new _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_15__["AlterarPlacaFotoOcrDigifort"]();
                        _this.limpaCampo();
                    });
                }
            }); });
        });
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.fileChange = function ($event, instrucao) {
        this.readThis($event.target, instrucao);
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.readThis = function (inputValue, instrucao) {
        var _this = this;
        var file = inputValue.files[0];
        var myReader = new FileReader();
        myReader.onloadend = function (e) {
            _this.data["placa" + instrucao + "B64"] = myReader.result;
            _this.data["placa" + instrucao] = file.name;
            _this.fileName["placa" + instrucao] = "C:\\fakepath\\" + file.name;
            switch (instrucao) {
                case 1:
                    _this.data.imagemCavalo = _this.data["placa" + instrucao + "B64"];
                    break;
                case 2:
                    _this.data.imagemCarreta1 = _this.data["placa" + instrucao + "B64"];
                    break;
                case 3:
                    _this.data.imagemCarreta2 = _this.data["placa" + instrucao + "B64"];
                    break;
                default:
                    break;
            }
        };
        myReader.readAsDataURL(file);
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.limpaCampo = function () {
        this.data["placa1B64"] = null;
        this.data["placa2B64"] = null;
        this.data["placa3B64"] = null;
        this.data["placa1"] = null;
        this.data["placa2"] = null;
        this.data["placa3"] = null;
        this.fileName['placa1'] = null;
        this.fileName['placa2'] = null;
        this.fileName['placa3'] = null;
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.trataDest = function (destinatario) {
        this.data.clienteModel = destinatario;
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.executaFiltro = function (event) {
        this.data = event;
        this.getById();
        this.fechaAba();
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.getById = function () {
        var _this = this;
        this.service.getById(this.data.regRequisicao, this.tipoOperacao).subscribe(function (result) {
            _this.data = result;
            _this.trataDados();
        });
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.trataDados = function () {
        var _this = this;
        Object(rxjs__WEBPACK_IMPORTED_MODULE_11__["forkJoin"])([
            this.destinatarioService.getById(this.data.destinatarioIdCliente)
        ]).subscribe(function (resp) {
            _this.data.clienteModel = !!resp[0] ? resp[0] : new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_9__["Destinatario"]();
        });
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.filtrar = function () {
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["ModalUtilsStaticService"].openModal("alterar-placa-foto-ocr-digifort-requisicao-dialog");
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.fechaAba = function () {
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["ModalUtilsStaticService"].closeModal("alterar-placa-foto-ocr-digifort-requisicao-dialog");
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.printParams = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return false;
        }
        this.constantes.paramRelatorio = {};
        return true;
    };
    AlterarPlacaFotoOcrDigifortFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    AlterarPlacaFotoOcrDigifortFormComponent.ctorParameters = function () { return [
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__["FuncoesService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_7__["ReportService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"] },
        { type: _alterar_placa_foto_ocr_digifort_service__WEBPACK_IMPORTED_MODULE_16__["AlterarPlacaFotoOcrDigifortService"] },
        { type: app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_12__["DestinatarioService"] },
        { type: app_pages_cadastro_motorista_motorista_service__WEBPACK_IMPORTED_MODULE_13__["MotoristaService"] }
    ]; };
    AlterarPlacaFotoOcrDigifortFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-alterar-placa-foto-ocr-digifort-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./alterar-placa-foto-ocr-digifort-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__["FuncoesService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_7__["ReportService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"],
            _alterar_placa_foto_ocr_digifort_service__WEBPACK_IMPORTED_MODULE_16__["AlterarPlacaFotoOcrDigifortService"],
            app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_12__["DestinatarioService"],
            app_pages_cadastro_motorista_motorista_service__WEBPACK_IMPORTED_MODULE_13__["MotoristaService"]])
    ], AlterarPlacaFotoOcrDigifortFormComponent);
    return AlterarPlacaFotoOcrDigifortFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-requisicao/alterar-cliente-de-venda-requisicao.component.ts":
/*!*******************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-requisicao/alterar-cliente-de-venda-requisicao.component.ts ***!
  \*******************************************************************************************************************************************************************************/
/*! exports provided: AlterarPlacaFotoOcrDigifortRequisicaoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifortRequisicaoComponent", function() { return AlterarPlacaFotoOcrDigifortRequisicaoComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../alterar-placa-foto-ocr-digifort.model */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.model.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../alterar-placa-foto-ocr-digifort.service */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.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 AlterarPlacaFotoOcrDigifortRequisicaoComponent = /** @class */ (function () {
    function AlterarPlacaFotoOcrDigifortRequisicaoComponent(service, funcoesService, messageService, datatablesService) {
        this.service = service;
        this.funcoesService = funcoesService;
        this.messageService = messageService;
        this.datatablesService = datatablesService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.result = new _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_6__["AlterarPlacaFotoOcrDigifort"]();
    }
    AlterarPlacaFotoOcrDigifortRequisicaoComponent.prototype.ngOnInit = function () {
        this.filtro = new _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_6__["AlterarPlacaFotoOcrDigifortFiltro"]();
    };
    AlterarPlacaFotoOcrDigifortRequisicaoComponent.prototype.onSubmit = function (form) {
        if (!this.validatePeriodoAte())
            return;
        if (form.invalid) {
            app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_1__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.filtrar.emit(this.data);
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["ModalUtilsStaticService"].closeModal("alterar-placa-foto-ocr-digifort-requisicao-dialog");
    };
    AlterarPlacaFotoOcrDigifortRequisicaoComponent.prototype._refresh = function () {
        var _this = this;
        this.service.getByFiltro(this.filtro).subscribe(function (resp) {
            var columns = [
                _this.datatablesService.getDataString('regRequisicao', 'requisicao'),
                _this.datatablesService.getDataString('requisicao', 'reqCliente'),
                _this.datatablesService.getDataString('placa', 'placa'),
                _this.datatablesService.getDataDateTime('dtRequisicao', 'data', "DD/MM/YYYY HH:mm", "15%"),
                _this.datatablesService.getDataString('fantasiaDest', 'cliente'),
                _this.datatablesService.getDataString('fantasiaTransp', 'transportadora')
            ];
            _this.datatablesService.toDataTable({ tableId: 'dtRequisicao', columns: columns, data: resp }, function (aData) {
                _this.data = aData;
            });
        });
    };
    AlterarPlacaFotoOcrDigifortRequisicaoComponent.prototype.fechaAba = function () {
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["ModalUtilsStaticService"].closeModal("alterar-placa-foto-ocr-digifort-requisicao-dialog");
    };
    AlterarPlacaFotoOcrDigifortRequisicaoComponent.prototype.validatePeriodoAte = function () {
        if (!this.filtro.dataI)
            return;
        if (!this.filtro.dataF)
            return;
        if (this.funcoesService.dateTimeUtils.maiorA(this.filtro.dataI, this.filtro.dataF)) {
            this.messageService.warning("titles.conferenciaDeEmbarque", "messages.ateMenorPeriodoDe");
            return false;
        }
        return true;
    };
    AlterarPlacaFotoOcrDigifortRequisicaoComponent.ctorParameters = function () { return [
        { type: _alterar_placa_foto_ocr_digifort_service__WEBPACK_IMPORTED_MODULE_7__["AlterarPlacaFotoOcrDigifortService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__["DatatablesService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_6__["AlterarPlacaFotoOcrDigifort"])
    ], AlterarPlacaFotoOcrDigifortRequisicaoComponent.prototype, "data", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], AlterarPlacaFotoOcrDigifortRequisicaoComponent.prototype, "filtrar", void 0);
    AlterarPlacaFotoOcrDigifortRequisicaoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-alterar-cliente-de-venda-requisicao",
            template: __importDefault(__webpack_require__(/*! raw-loader!./alterar-cliente-de-venda-requisicao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-requisicao/alterar-cliente-de-venda-requisicao.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_alterar_placa_foto_ocr_digifort_service__WEBPACK_IMPORTED_MODULE_7__["AlterarPlacaFotoOcrDigifortService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__["DatatablesService"]])
    ], AlterarPlacaFotoOcrDigifortRequisicaoComponent);
    return AlterarPlacaFotoOcrDigifortRequisicaoComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.constants.ts":
/*!********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.constants.ts ***!
  \********************************************************************************************************************************/
/*! exports provided: AlterarPlacaFotoOcrDigifortConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifortConstants", function() { return AlterarPlacaFotoOcrDigifortConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var AlterarPlacaFotoOcrDigifortConstants = /** @class */ (function () {
    function AlterarPlacaFotoOcrDigifortConstants() {
        this.sisFormularioId = 375390;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.alteracao" },
        ];
        this.nomeForm = "titles.alterarPlacaFotoOcrDigifort";
        this.reportId = "AGE0015";
        this.reportTitulo = { "titulo": "", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
    }
    return AlterarPlacaFotoOcrDigifortConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.model.ts":
/*!****************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.model.ts ***!
  \****************************************************************************************************************************/
/*! exports provided: AlterarPlacaFotoOcrDigifort, AlterarPlacaFotoOcrDigifortFiltro */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifort", function() { return AlterarPlacaFotoOcrDigifort; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifortFiltro", function() { return AlterarPlacaFotoOcrDigifortFiltro; });
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

var AlterarPlacaFotoOcrDigifort = /** @class */ (function () {
    function AlterarPlacaFotoOcrDigifort() {
        this.regRequisicao = 0;
        this.requisicao = 0;
        this.cliente = "";
        this.placa = "";
        this.placaCarreta = "";
        this.placaCarreta2 = "";
        this.placaOcr1 = "";
        this.placaOcr2 = "";
        this.placaOcr3 = "";
        this.placaOcrS1 = "";
        this.placaOcrS2 = "";
        this.placaOcrS3 = "";
        this.regControle = 0;
        this.regRequisicao = 0;
        this.fantasiaDest = "";
        this.fantasiaTransp = "";
        this.destinatarioIdCliente = 0;
        this.clienteModel = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__["Destinatario"]();
    }
    return AlterarPlacaFotoOcrDigifort;
}());

var AlterarPlacaFotoOcrDigifortFiltro = /** @class */ (function () {
    function AlterarPlacaFotoOcrDigifortFiltro() {
        this.destinatarioIdCliente = 0;
        var currentDate = new Date();
        currentDate.setDate(1);
        var a = new Date();
        a.setHours(23);
        a.setMinutes(59);
        a.setSeconds(59);
        this.dataI = currentDate;
        this.dataF = a;
    }
    return AlterarPlacaFotoOcrDigifortFiltro;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.module.ts":
/*!*****************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.module.ts ***!
  \*****************************************************************************************************************************/
/*! exports provided: AlterarPlacaFotoOcrDigifortModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifortModule", function() { return AlterarPlacaFotoOcrDigifortModule; });
/* 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 _alterar_placa_foto_ocr_digifort_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./alterar-placa-foto-ocr-digifort.routing.module */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.routing.module.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_requisicao_alterar_cliente_de_venda_requisicao_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./alterar-placa-foto-ocr-digifort-requisicao/alterar-cliente-de-venda-requisicao.component */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-requisicao/alterar-cliente-de-venda-requisicao.component.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_form_alterar_placa_foto_ocr_digifort_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};





var AlterarPlacaFotoOcrDigifortModule = /** @class */ (function () {
    function AlterarPlacaFotoOcrDigifortModule() {
    }
    AlterarPlacaFotoOcrDigifortModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _alterar_placa_foto_ocr_digifort_routing_module__WEBPACK_IMPORTED_MODULE_2__["AlterarPlacaFotoOcrDigifortRoutingModule"]],
            declarations: [_alterar_placa_foto_ocr_digifort_form_alterar_placa_foto_ocr_digifort_form_component__WEBPACK_IMPORTED_MODULE_4__["AlterarPlacaFotoOcrDigifortFormComponent"],
                _alterar_placa_foto_ocr_digifort_requisicao_alterar_cliente_de_venda_requisicao_component__WEBPACK_IMPORTED_MODULE_3__["AlterarPlacaFotoOcrDigifortRequisicaoComponent"]],
        })
    ], AlterarPlacaFotoOcrDigifortModule);
    return AlterarPlacaFotoOcrDigifortModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.routing.module.ts":
/*!*************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.routing.module.ts ***!
  \*************************************************************************************************************************************/
/*! exports provided: AlterarPlacaFotoOcrDigifortRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifortRoutingModule", function() { return AlterarPlacaFotoOcrDigifortRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_form_alterar_placa_foto_ocr_digifort_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort-form/alterar-placa-foto-ocr-digifort-form.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var MRoutes = [
    {
        path: "",
        component: _alterar_placa_foto_ocr_digifort_form_alterar_placa_foto_ocr_digifort_form_component__WEBPACK_IMPORTED_MODULE_3__["AlterarPlacaFotoOcrDigifortFormComponent"],
        data: { breadcrumb: "alterarPlacaFotoOcrDigifort", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var AlterarPlacaFotoOcrDigifortRoutingModule = /** @class */ (function () {
    function AlterarPlacaFotoOcrDigifortRoutingModule() {
    }
    AlterarPlacaFotoOcrDigifortRoutingModule = __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"]],
        })
    ], AlterarPlacaFotoOcrDigifortRoutingModule);
    return AlterarPlacaFotoOcrDigifortRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.service.ts":
/*!******************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.service.ts ***!
  \******************************************************************************************************************************/
/*! exports provided: AlterarPlacaFotoOcrDigifortService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlterarPlacaFotoOcrDigifortService", function() { return AlterarPlacaFotoOcrDigifortService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./alterar-placa-foto-ocr-digifort.model */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.model.ts");
/* harmony import */ var _alterar_placa_foto_ocr_digifort_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./alterar-placa-foto-ocr-digifort.constants */ "./src/app/pages/especificos/ageo/movimentos/alterar-placa-foto-ocr-digifort/alterar-placa-foto-ocr-digifort.constants.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 AlterarPlacaFotoOcrDigifortService = /** @class */ (function () {
    function AlterarPlacaFotoOcrDigifortService(http) {
        this.http = http;
        this.constantes = new _alterar_placa_foto_ocr_digifort_constants__WEBPACK_IMPORTED_MODULE_6__["AlterarPlacaFotoOcrDigifortConstants"]();
        this.filtro = new _alterar_placa_foto_ocr_digifort_model__WEBPACK_IMPORTED_MODULE_5__["AlterarPlacaFotoOcrDigifortFiltro"]();
        this.titles = "titles.alterarPlacaFotoOcrDigifort";
    }
    AlterarPlacaFotoOcrDigifortService.prototype.getByFiltro = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].specifics_service_url + "/api/v1/ageo/alterarPlacaFotoOcrDigifort/getByFiltro", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    AlterarPlacaFotoOcrDigifortService.prototype.getById = function (regRequisicao, tipoOperacao) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].specifics_service_url + "/api/v1/ageo/alterarPlacaFotoOcrDigifort/getById/" + regRequisicao + "/" + tipoOperacao, null)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    AlterarPlacaFotoOcrDigifortService.prototype.updateFoto = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].specifics_service_url + "/api/v1/ageo/alterarPlacaFotoOcrDigifort/updateFoto", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    AlterarPlacaFotoOcrDigifortService.prototype.updatePlaca = function (requisicao, tipoOperacao) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].specifics_service_url + "/api/v1/ageo/alterarPlacaFotoOcrDigifort/updatePlaca/" + requisicao + "/" + tipoOperacao, null)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    AlterarPlacaFotoOcrDigifortService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    AlterarPlacaFotoOcrDigifortService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], AlterarPlacaFotoOcrDigifortService);
    return AlterarPlacaFotoOcrDigifortService;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-ageo-movimentos-alterar-placa-foto-ocr-digifort-alterar-placa-foto-ocr-digifort-module.js.map