(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-ageo-relatorios-monitor-de-acompanhamento-monitor-de-acompanhamento-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/emissao-nota-fiscal/emissao-nota-fiscal.component.html":
/*!**************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/emissao-nota-fiscal/emissao-nota-fiscal.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=\"emissao-nota-fiscal-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop='static'>\r\n    <div class=\"uni-modal-dialog-md-30\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.emissaoNotaFiscal' | 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-3\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-check\">\r\n                                    <input type=\"radio\" id=\"autorizacaoRadio\" name=\"autorizacaoRadio\" class=\"form-check-input\"\r\n                                        [(ngModel)]=\"dataResult.tipo\" value=\"A\">\r\n                                    <label for=\"autorizacaoRadio\">{{'labels.autorizacao' | translate}}</label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-3\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-check\">\r\n                                    <input type=\"radio\" id=\"requisicao\" name=\"requisicao\" class=\"form-check-input\"\r\n                                        [(ngModel)]=\"dataResult.tipo\" value=\"R\">\r\n                                    <label for=\"requisicao\">{{'labels.requisicao' | translate}}</label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-6\">\r\n                            <div class=\"custom-control custom-checkbox\">\r\n                                <input id=\"formControle\" name=\"formControle\" [ngModel]=\"dataResult.formControle === 'S'\"\r\n                                    (ngModelChange)=\"dataResult.formControle=$event?'S':'N'\"\r\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\r\n                                <label class=\"custom-control-label\"\r\n                                    for=\"formControle\">{{'labels.utilizarFormularioDeControle' | translate}}</label>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"autorizacao\">{{ labelSelecionada }}</label>\r\n                                <div class=\"input-group input-group-sm\">\r\n                                    <input id=\"autorizacao\" name=\"autorizacao\" [(ngModel)]=\"dataResult.autorizacao\" class=\"form-control\"\r\n                                        type=\"text\" />\r\n                                    <div class=\"input-group-append\">\r\n                                        <button type=\"button\" class=\"btn btn-outline-secondary\"\r\n                                            (click)=\"buscarAutorizacaoRequisicao()\">\r\n                                            <i class=\"fa fa-search\"></i>\r\n                                        </button>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <app-pesquisa-destinatario id=\"destinatarioIdCliente\" name=\"destinatarioIdCliente\"\r\n                                        label=\"cliente\" modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"dataResult.destinatarioIdCliente\"\r\n                                        tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\" disabled=\"true\"\r\n                                        [inSelected]=\"dataResult.clienteModel\" (outModel)=\"trataDest($event)\">\r\n                                    </app-pesquisa-destinatario>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-material id=\"produto\" name=\"produto\" label=\"produto\"\r\n                                    modalTitle=\"pesquisaDeProduto\" [(ngModel)]=\"dataResult.materialId\" disabled=\"true\"\r\n                                    (outModel)=\"outMaterial($event)\" [inSelected]=\"dataResult.materialModel\">\r\n                                </app-pesquisa-material>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"quantidade\">{{\"labels.quantidade\" | translate}}</label>\r\n                                <input id=\"quantidade\" name=\"quantidade\" [(ngModel)]=\"dataResult.itemCheckList\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" mask=\"000000000\" />\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"especie\">{{\"labels.especie\" | translate}}</label>\r\n                                <input id=\"especie\" name=\"especie\" [(ngModel)]=\"dataResult.especie\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" />\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button class=\"btn btn-success mr-1\" (click)=\"itemNotaFiscal()\" type=\"button\">{{ 'buttons.ok' | translate }}</button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<app-pesquisa-autorizacao-monitor></app-pesquisa-autorizacao-monitor>\r\n<app-pesquisa-requisicao-monitor></app-pesquisa-requisicao-monitor>\r\n<app-item-nota-fiscal [itemNotaResult]=\"dataResult\"></app-item-nota-fiscal>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/item-nota-fiscal/item-nota-fiscal.component.html":
/*!********************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/item-nota-fiscal/item-nota-fiscal.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=\"item-nota-fiscal-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop='static'>\r\n    <div class=\"uni-modal-dialog-md-30\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.itemNotaFiscal' | 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-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"autorizacao\">{{ \"labels.autDeOperacao\" | translate }}</label>\r\n                                <div class=\"input-group input-group-sm\">\r\n                                    <input id=\"autorizacao\" name=\"autorizacao\" [(ngModel)]=\"itemNotaResult.autorizacao\"\r\n                                        class=\"form-control\" type=\"text\" />\r\n                                    <div class=\"input-group-append\">\r\n                                        <button type=\"button\" class=\"btn btn-outline-secondary\"\r\n                                            (click)=\"buscarAutorizacao()\">\r\n                                            <i class=\"fa fa-search\"></i>\r\n                                        </button>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <app-pesquisa-destinatario id=\"destinatarioIdCliente\" name=\"destinatarioIdCliente\"\r\n                                        label=\"cliente\" modalTitle=\"pesquisaDeCliente\"\r\n                                        [(ngModel)]=\"itemNotaResult.destinatarioIdCliente\" tipoDestinatario=\"C\"\r\n                                        showCgcCpf=\"false\" showInscricao=\"false\" disabled=\"true\"\r\n                                        [inSelected]=\"itemNotaResult.clienteModel\" (outModel)=\"trataDest($event)\">\r\n                                    </app-pesquisa-destinatario>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-material id=\"produto\" name=\"produto\" label=\"produto\"\r\n                                    modalTitle=\"pesquisaDeProduto\" [(ngModel)]=\"itemNotaResult.materialId\"\r\n                                    disabled=\"true\" (outModel)=\"outMaterial($event)\"\r\n                                    [inSelected]=\"itemNotaResult.materialModel\">\r\n                                </app-pesquisa-material>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"deposito\">{{\"labels.deposito\" | translate}}</label>\r\n                                <input id=\"deposito\" name=\"deposito\" disabled=\"true\"\r\n                                    [(ngModel)]=\"itemNotaResult.deposito\" class=\"form-control form-control-sm\"\r\n                                    type=\"text\" />\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-lote id=\"lote\" label=\"lote\" name=\"lote\" modalTitle=\"lote\"\r\n                                    [(ngModel)]=\"itemNotaResult.loteId\"\r\n                                    [destinatarioIdCliente]=\"itemNotaResult.destinatarioIdCliente\"\r\n                                    [materialId]=\"itemNotaResult.materialId\" [loteId]=\"itemNotaResult.loteId\"\r\n                                    destinatarioIdEmitente=\"0\" destinatarioIdNavio=\"0\" osgId=\"0\" stoContratoId=\"\"\r\n                                    stoContratoItemId=\"0\">\r\n                                </app-pesquisa-lote>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"operacao\">{{ 'labels.operacao' | translate}}</label>\r\n                                <app-combo-padrao id=\"operacao\" name=\"operacao\" tabela=\"Operacao\"\r\n                                    descricao=\"Operacao, DescrOperacao\" chave=\"Operacao\" ativos=\"true\"\r\n                                    [(ngModel)]=\"itemNotaResult.operacaoId\" [condicionais]=\"condicionaisOptions\">\r\n                                </app-combo-padrao>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"kilos\">{{ \"labels.kilos\" | translate }}</label>\r\n                                <input id=\"kilos\" name=\"kilos\" currencyMask [options]=\"funcoes.optionCurrency(0)\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" [(ngModel)]=\"itemNotaResult.kilo\">\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"lblKilos\">{{ \"labels.kilos\" | translate }}</label>\r\n                                <input id=\"lblKilos\" name=\"lblKilos\" currencyMask [options]=\"funcoes.optionCurrency(0)\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" style=\"background-color: yellow;\"\r\n                                    readonly>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"litrosCc\">{{ \"labels.litrosCc\" | translate }}</label>\r\n                                <input id=\"litrosCc\" name=\"litrosCc\" currencyMask [options]=\"funcoes.optionCurrency(0)\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" [(ngModel)]=\"itemNotaResult.litro\">\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"litrosCc\">{{ \"labels.litrosCc\" | translate }}</label>\r\n                                <input id=\"litrosCc\" name=\"lblLitrosCc\" currencyMask\r\n                                    [options]=\"funcoes.optionCurrency(0)\" class=\"form-control form-control-sm\"\r\n                                    type=\"text\" [(ngModel)]=\"itemNotaResult.litro\" style=\"background-color: yellow;\"\r\n                                    readonly>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"quantidade\">{{ \"labels.quantidade\" | translate }}</label>\r\n                                <input id=\"quantidade\" name=\"quantidade\" currencyMask\r\n                                    [options]=\"funcoes.optionCurrency(0)\" class=\"form-control form-control-sm\"\r\n                                    type=\"text\" [(ngModel)]=\"itemNotaResult.quantid\">\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"lblQuantidade\">{{ \"labels.quantidade\" | translate }}</label>\r\n                                <input id=\"lblQuantidade\" name=\"lblQuantidade\" currencyMask\r\n                                    [options]=\"funcoes.optionCurrency(0)\" class=\"form-control form-control-sm\"\r\n                                    type=\"text\" style=\"background-color: yellow;\" readonly>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"valorTotal\">{{ \"labels.valorTotal\" | translate }}</label>\r\n                                <input id=\"valorTotal\" name=\"valorTotal\" currencyMask\r\n                                    [(ngModel)]=\"itemNotaResult.totItem\"\r\n                                    [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 2 }\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" readonly>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"lblValorTotal\">{{ \"labels.valorTotal\" | translate }}</label>\r\n                                <input id=\"lblValorTotal\" name=\"lblValorTotal\" currencyMask\r\n                                    [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 2 }\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" style=\"background-color: yellow;\"\r\n                                    readonly>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"valorDoICMS\">{{ \"labels.valorDoICMS\" | translate }}</label>\r\n                                <input id=\"valorDoICMS\" name=\"valorDoICMS\" currencyMask\r\n                                    [(ngModel)]=\"itemNotaResult.vlIcms\"\r\n                                    [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 2 }\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" readonly>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"lblValorDoICMS\">{{ \"labels.valorDoICMS\" | translate }}</label>\r\n                                <input id=\"lblValorDoICMS\" name=\"lblValorDoICMS\" currencyMask\r\n                                    [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 2 }\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" style=\"background-color: yellow;\"\r\n                                    readonly>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-5\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"notaVenda\">{{ \"labels.notaVenda\" | translate }}</label>\r\n                                <input id=\"notaVenda\" name=\"notaVenda\" class=\"form-control form-control-sm\" type=\"text\"\r\n                                    mask=\"999999999\" [(ngModel)]=\"itemNotaResult.notaCli\">\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <fieldset>\r\n                                <legend>{{ \"labels.notaDeRemessaAcompanhamento\" | translate }}</legend>\r\n                                <div class=\"row\">\r\n                                    <div class=\"col-5\">\r\n                                        <div class=\"form-group form-group-sm\">\r\n                                            <label for=\"notaRemessa\">{{ \"labels.notaRemessa\" | translate }}</label>\r\n                                            <div class=\"input-group input-group-sm\">\r\n                                                <input id=\"notaRemessa\" name=\"notaRemessa\"\r\n                                                    [(ngModel)]=\"itemNotaResult.nota\" class=\"form-control\"\r\n                                                    type=\"text\" />\r\n                                                <div class=\"input-group-append\">\r\n                                                    <button type=\"button\" class=\"btn btn-outline-secondary\">\r\n                                                        <i class=\"fa fa-search\"></i>\r\n                                                    </button>\r\n                                                </div>\r\n                                            </div>\r\n                                        </div>\r\n                                    </div>\r\n                                    <div class=\"col-lg-5\">\r\n                                        <div class=\"form-group form-group-sm\">\r\n                                            <label for=\"dtEmissao\">{{ \"labels.data\" | translate }}</label>\r\n                                            <input id=\"dtEmissao\" name=\"dtEmissao\" class=\"form-control form-control-sm\"\r\n                                                type=\"text\" [(ngModel)]=\"itemNotaResult.dtEmissao\" readonly>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"row\">\r\n                                    <div class=\"col-lg-12\">\r\n                                        <div class=\"form-group form-group-sm\">\r\n                                            <label for=\"razaoSocial\">{{ \"labels.destinatario\" | translate }}</label>\r\n                                            <input id=\"razaoSocial\" name=\"razaoSocial\"\r\n                                                class=\"form-control form-control-sm\" type=\"text\"\r\n                                                [(ngModel)]=\"itemNotaResult.razaoSocial\" readonly>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"row\">\r\n                                    <div class=\"col-lg-5\">\r\n                                        <div class=\"form-group form-group-sm\">\r\n                                            <label for=\"municipio\">{{ \"labels.municipio\" | translate }}</label>\r\n                                            <input id=\"municipio\" name=\"municipio\"\r\n                                                class=\"form-control form-control-sm\" type=\"text\"\r\n                                                [(ngModel)]=\"itemNotaResult.municipio\" readonly>\r\n                                        </div>\r\n                                    </div>\r\n                                    <div class=\"col-lg-3\">\r\n                                        <div class=\"form-group form-group-sm\">\r\n                                            <label for=\"estado\">{{ \"labels.uf\" | translate }}</label>\r\n                                            <input id=\"estado\" name=\"estado\"\r\n                                                class=\"form-control form-control-sm\" type=\"text\"\r\n                                                [(ngModel)]=\"itemNotaResult.estado\" readonly>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"row\">\r\n                                    <div class=\"col-lg-5\">\r\n                                        <div class=\"form-group form-group-sm\">\r\n                                            <label for=\"icms\">{{ \"labels.icms\" | translate }}</label>\r\n                                            <input id=\"icms\" name=\"icms\"\r\n                                                class=\"form-control form-control-sm\" type=\"text\"\r\n                                                [(ngModel)]=\"itemNotaResult.vlIcms\" readonly>\r\n                                        </div>\r\n                                    </div>\r\n                                    <div class=\"col-lg-5\">\r\n                                        <div class=\"form-group form-group-sm\">\r\n                                            <label for=\"valor\">{{ \"labels.valor\" | translate }}</label>\r\n                                            <input id=\"valor\" name=\"valor\"\r\n                                                class=\"form-control form-control-sm\" type=\"text\"\r\n                                                [(ngModel)]=\"itemNotaResult.vlNota\" readonly>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                            </fieldset>\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=\"submit\">{{ 'buttons.ok' | translate }}</button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>\r\n<app-pesquisa-autorizacao-monitor></app-pesquisa-autorizacao-monitor>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.html":
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-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=\"monitor-de-acompanhamento-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop='static'>\r\n    <div class=\"uni-modal-dialog-md-30\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.monitorDeAcompanhamento' | 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 mt-2\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"row\">\r\n                                <div class=\"col-md-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"timer\">\r\n                                            {{ 'labels.intervaloDeVerificacao' | translate }}:\r\n                                            <strong> {{ value }} {{ 'labels.segundos' | translate }}</strong>\r\n                                        </label>\r\n                                        <div class=\"custom-slider\">\r\n                                            <ng5-slider id=\"timer\" [(value)]=\"value\" [options]=\"options\" (valueChange)=\"trataConsulta(this.value)\">\r\n                                            </ng5-slider>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\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=\"submit\">{{ 'buttons.pesquisar' | translate }}</button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate\r\n                        }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component.html":
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component.html ***!
  \**************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\" [sisFormularioId]=\"constantes.sisFormularioId\"\r\n    [formAction]=\"actionForm\" [itemData]=\"data.autorizacao\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <div class=\"row mt-2\">\r\n        <div class=\"col-12\">\r\n            <table id=\"dtMonitorDeAcompanhamento\"\r\n                class=\"table table-striped table-bordered table-hover nowrap table-sm\">\r\n            </table>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<app-propriedades></app-propriedades>\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\r\n<app-monitor-de-acompanhamento-filter (filtrar)=\"executaFiltro()\"></app-monitor-de-acompanhamento-filter>\r\n<app-emissao-nota-fiscal [dataResult]=\"service.emissaoNotaFiscal\" (filtrar)=\"emitirNota()\"></app-emissao-nota-fiscal>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-autorizacao/pesquisa-autorizacao.component.html":
/*!****************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-autorizacao/pesquisa-autorizacao.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=\"pesquisa-autorizacao-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop='static'>\r\n    <div class=\"uni-modal-dialog-md-50\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.pesquisaAutorizacao' | 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\" >{{\"labels.periodoDe\" | translate }}</label>\r\n                                <app-data id=\"periodoDe\" name=\"periodoDe\" autofocus class=\"dataHora\" [(ngModel)]=\"service.pesquisaAutoReq.dataI\"\r\n                                    [formatDateTime]=\"mascara.getFormatData\">\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\" >{{\"labels.ate\" | translate}}</label>\r\n                                <app-data id=\"ate\" name=\"ate\" maxlength=\"1\" class=\"dataHora\" [(ngModel)]=\"service.pesquisaAutoReq.dataF\"\r\n                                    [formatDateTime]=\"mascara.getFormatData\">\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <app-pesquisa-destinatario id=\"destinatarioIdCliente\" name=\"destinatarioIdCliente\"\r\n                                        label=\"cliente\" modalTitle=\"pesquisaDeCliente\" tipoDestinatario=\"C\"\r\n                                        showCgcCpf=\"false\" showInscricao=\"false\" [(ngModel)]=\"service.pesquisaAutoReq.destinatarioIdCliente\"\r\n                                        [inSelected]=\"dataResult.clienteModel\" (outModel)=\"trataDest($event)\">\r\n                                    </app-pesquisa-destinatario>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"placa\">{{\"labels.placa\" | translate}}</label>\r\n                                <input id=\"placa\" name=\"placa\" [(ngModel)]=\"service.pesquisaAutoReq.placa\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" />\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <table id=\"dtAutorizacao\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button (click)=\"pesquisaAutorizacaoRequisicao()\" class=\"btn btn-success mr-1\" type=\"button\">{{ 'buttons.pesquisar' | translate }}</button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-requisicao/pesquisa-requisicao.component.html":
/*!**************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-requisicao/pesquisa-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\" id=\"pesquisa-requisicao-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop='static'>\r\n    <div class=\"uni-modal-dialog-md-50\">\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\" >{{\"labels.periodoDe\" | translate }}</label>\r\n                                <app-data id=\"periodoDe\" name=\"periodoDe\" autofocus class=\"dataHora\" [(ngModel)]=\"service.pesquisaAutoReq.dataI\"\r\n                                    [formatDateTime]=\"mascara.getFormatData\">\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\" >{{\"labels.ate\" | translate}}</label>\r\n                                <app-data id=\"ate\" name=\"ate\" maxlength=\"1\" class=\"dataHora\" [(ngModel)]=\"service.pesquisaAutoReq.dataF\"\r\n                                    [formatDateTime]=\"mascara.getFormatData\">\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <app-pesquisa-destinatario id=\"destinatarioIdCliente\" name=\"destinatarioIdCliente\"\r\n                                        label=\"cliente\" modalTitle=\"pesquisaDeCliente\" tipoDestinatario=\"C\"\r\n                                        showCgcCpf=\"false\" showInscricao=\"false\" [(ngModel)]=\"service.pesquisaAutoReq.destinatarioIdCliente\"\r\n                                        [inSelected]=\"dataResult.clienteModel\" (outModel)=\"trataDest($event)\">\r\n                                    </app-pesquisa-destinatario>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"placa\">{{\"labels.placa\" | translate}}</label>\r\n                                <input id=\"placa\" name=\"placa\" [(ngModel)]=\"service.pesquisaAutoReq.placa\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" />\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <table id=\"dtRequisicao\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button (click)=\"pesquisaAutorizacaoRequisicao()\" class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}</button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/emissao-nota-fiscal/emissao-nota-fiscal.component.ts":
/*!**********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/emissao-nota-fiscal/emissao-nota-fiscal.component.ts ***!
  \**********************************************************************************************************************************/
/*! exports provided: EmissaoNotaFiscalComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EmissaoNotaFiscalComponent", function() { return EmissaoNotaFiscalComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../monitor-de-acompanhamento.model */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitor-de-acompanhamento.service */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __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_5__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var EmissaoNotaFiscalComponent = /** @class */ (function () {
    function EmissaoNotaFiscalComponent(messageService, service) {
        this.messageService = messageService;
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dataResult = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoEmissaoNotaFiscal"]();
        this.filtro = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoFilter"]();
        this.selLabel = "";
        this.mensagens = [];
    }
    EmissaoNotaFiscalComponent.prototype.ngOnInit = function () { };
    EmissaoNotaFiscalComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.filtrar.emit();
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["ModalUtilsStaticService"].closeModal('emissao-nota-fiscal-dialog');
    };
    EmissaoNotaFiscalComponent.prototype.buscarAutorizacaoRequisicao = function () {
        if (this.dataResult.tipo === 'A') {
            return app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["ModalUtilsStaticService"].openModal("pesquisa-autorizacao-dialog");
        }
        else {
            return app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["ModalUtilsStaticService"].openModal("pesquisa-requisicao-dialog");
        }
    };
    EmissaoNotaFiscalComponent.prototype.itemNotaFiscal = function () {
        return app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["ModalUtilsStaticService"].openModal("item-nota-fiscal-dialog");
    };
    EmissaoNotaFiscalComponent.prototype.validaAutOperacao = function () {
        var _this = this;
        this.service.validaAutOperacao(this.dataResult).subscribe(function (result) {
            if (!result.isValid) {
                _this.mensagens = _this.messageService.validationResult(result.validationResult);
                _this.messageService.warning(_this.service.titles, _this.mensagens);
            }
        });
    };
    Object.defineProperty(EmissaoNotaFiscalComponent.prototype, "labelSelecionada", {
        get: function () {
            if (this.dataResult.tipo === 'A') {
                return this.messageService.translate('labels.autDeOperacao');
            }
            else {
                return this.messageService.translate('labels.requisicao');
            }
        },
        enumerable: true,
        configurable: true
    });
    EmissaoNotaFiscalComponent.prototype.trataDest = function (destinatario) {
        this.dataResult.clienteModel = destinatario;
    };
    EmissaoNotaFiscalComponent.prototype.outMaterial = function (material) {
        this.dataResult.materialModel = material;
    };
    EmissaoNotaFiscalComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], EmissaoNotaFiscalComponent.prototype, "filtrar", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Object)
    ], EmissaoNotaFiscalComponent.prototype, "dataResult", void 0);
    EmissaoNotaFiscalComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-emissao-nota-fiscal",
            template: __importDefault(__webpack_require__(/*! raw-loader!./emissao-nota-fiscal.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/emissao-nota-fiscal/emissao-nota-fiscal.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"]])
    ], EmissaoNotaFiscalComponent);
    return EmissaoNotaFiscalComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/item-nota-fiscal/item-nota-fiscal.component.ts":
/*!****************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/item-nota-fiscal/item-nota-fiscal.component.ts ***!
  \****************************************************************************************************************************/
/*! exports provided: ItemNotaFiscalComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ItemNotaFiscalComponent", function() { return ItemNotaFiscalComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../monitor-de-acompanhamento.model */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitor-de-acompanhamento.service */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_7__ = __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_8__ = __webpack_require__(/*! app/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 ItemNotaFiscalComponent = /** @class */ (function () {
    function ItemNotaFiscalComponent(messageService, datatablesService, funcoes, service) {
        this.messageService = messageService;
        this.datatablesService = datatablesService;
        this.funcoes = funcoes;
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.itemNotaResult = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoEmissaoNotaFiscal"]();
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_5__["Mascaras"]();
        this.filtro = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoFilter"]();
    }
    ItemNotaFiscalComponent.prototype.ngOnInit = function () { };
    ItemNotaFiscalComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
    };
    ItemNotaFiscalComponent.prototype.buscarAutorizacao = function () {
        return app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["ModalUtilsStaticService"].openModal("pesquisa-autorizacao-dialog");
    };
    ItemNotaFiscalComponent.prototype.trataDest = function (destinatario) {
        this.itemNotaResult.clienteModel = destinatario;
    };
    ItemNotaFiscalComponent.prototype.outMaterial = function (material) {
        this.itemNotaResult.materialModel = material;
    };
    Object.defineProperty(ItemNotaFiscalComponent.prototype, "condicionaisOptions", {
        get: function () {
            return [
                {
                    operadorLogico: "AND",
                    campo: "Operacao",
                    operador: "in",
                    valor: "[3, 93]"
                },
                {
                    operadorLogico: "AND",
                    campo: "Exibe",
                    operador: "<>",
                    valor: "N"
                }
            ];
        },
        enumerable: true,
        configurable: true
    });
    ItemNotaFiscalComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"] },
        { type: _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], ItemNotaFiscalComponent.prototype, "filtrar", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Object)
    ], ItemNotaFiscalComponent.prototype, "itemNotaResult", void 0);
    ItemNotaFiscalComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-item-nota-fiscal",
            template: __importDefault(__webpack_require__(/*! raw-loader!./item-nota-fiscal.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/item-nota-fiscal/item-nota-fiscal.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"],
            _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"]])
    ], ItemNotaFiscalComponent);
    return ItemNotaFiscalComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.scss":
/*!**************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.scss ***!
  \**************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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

/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.ts":
/*!************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.ts ***!
  \************************************************************************************************************************************************************/
/*! exports provided: MonitorDeAcompanhamentoFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoFilterComponent", function() { return MonitorDeAcompanhamentoFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../monitor-de-acompanhamento.model */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitor-de-acompanhamento.service */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __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_5__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var MonitorDeAcompanhamentoFilterComponent = /** @class */ (function () {
    function MonitorDeAcompanhamentoFilterComponent(messageService, service) {
        this.messageService = messageService;
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.filtro = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoFilter"]();
        this.options = {
            floor: 0,
            ceil: 60,
            showTicks: true,
            step: 10
        };
    }
    MonitorDeAcompanhamentoFilterComponent.prototype.ngOnInit = function () {
        this.value = 0;
        this.service.filtro.intervaloVerificacao = this.value;
    };
    MonitorDeAcompanhamentoFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.filtrar.emit();
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["ModalUtilsStaticService"].closeModal('monitor-de-acompanhamento-filter-dialog');
    };
    MonitorDeAcompanhamentoFilterComponent.prototype.trataConsulta = function (value) {
        this.service.filtro.intervaloVerificacao = value;
    };
    MonitorDeAcompanhamentoFilterComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], MonitorDeAcompanhamentoFilterComponent.prototype, "filtrar", void 0);
    MonitorDeAcompanhamentoFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-monitor-de-acompanhamento-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./monitor-de-acompanhamento-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./monitor-de-acompanhamento-filter.component.scss */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.scss")).default]
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"]])
    ], MonitorDeAcompanhamentoFilterComponent);
    return MonitorDeAcompanhamentoFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component.ts":
/*!**********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component.ts ***!
  \**********************************************************************************************************************************************************/
/*! exports provided: MonitorDeAcompanhamentoIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoIndexComponent", function() { return MonitorDeAcompanhamentoIndexComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _monitor_de_acompanhamento_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitor-de-acompanhamento.constants */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.constants.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 _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../monitor-de-acompanhamento.service */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_9__ = __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_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../monitor-de-acompanhamento.model */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.service */ "./src/app/pages/cadastro/destinatario/destinatario.service.ts");
/* harmony import */ var app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/pages/cadastro/material/material.service */ "./src/app/pages/cadastro/material/material.service.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};


















var MonitorDeAcompanhamentoIndexComponent = /** @class */ (function (_super) {
    __extends(MonitorDeAcompanhamentoIndexComponent, _super);
    function MonitorDeAcompanhamentoIndexComponent(messageService, service, datatablesService, funcoesService, permissoesUtils, router, configuracao, loginService, destinatarioService, materialService) {
        var _this = _super.call(this, new _monitor_de_acompanhamento_constants__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoConstants"](), funcoesService) || this;
        _this.messageService = messageService;
        _this.service = service;
        _this.datatablesService = datatablesService;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.router = router;
        _this.configuracao = configuracao;
        _this.loginService = loginService;
        _this.destinatarioService = destinatarioService;
        _this.materialService = materialService;
        _this.constantes = new _monitor_de_acompanhamento_constants__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoConstants"]();
        _this.data = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_12__["MonitorDeAcompanhamento"]();
        _this.options = {
            floor: 0,
            ceil: 60,
            showTicks: true,
            step: 5
        };
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.service.configParms.filialId = _this.loginService.getLogin().filialId;
                _this.service.configParms.nfeProxy = _this.configuracao.lerConfig("FAT", "NfeProxy");
                _this.service.configParms.nfeProxyUsu = _this.configuracao.lerConfig("FAT", "NfeProxyUsu");
                _this.service.configParms.nfeProxyPas = _this.configuracao.lerConfig("FAT", "NfeProxyPas");
                _this.service.configParms.nfeProxyHos = _this.configuracao.lerConfig("FAT", "NfeProxyHos");
                _this.service.configParms.nfeProxyPor = _this.configuracao.lerConfig("FAT", "NfeProxyPor");
                _this.service.configParms.nfePastaXml = _this.configuracao.lerConfig("FAT", "NfePastaXml");
                _this.service.configParms.nfeCertValido = _this.configuracao.lerConfig("FAT", "NfeCertValido");
                _this.service.configParms.operRetorno = _this.configuracao.lerConfig("BAL", "OperRetorno");
                _this.service.configParms.operRetDentro = _this.configuracao.lerConfig("BAL", "OperRetDentro");
                _this.service.configParms.operRetFora = _this.configuracao.lerConfig("BAL", "OperRetFora");
                _this.service.configParms.altDtNFRet = _this.configuracao.lerConfig("BAL", "AltDtNFRet");
            }
        };
        _this.emitirNota = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 3, function () {
                // this.time = this.service.filtro.intervaloVerificacao;
                // this.disabledEnabledTimer(1);
                // if (this.data.bloqueado === "S") {
                //     this.disabledEnabledTimer(2);
                //     return this.messageService.warning(this.service.titles, "messages.processoNaoAutorizadoParaEmissaoDeNotaFiscal");
                // } else if (this.data.codSitVeiculo !== 1016) {
                //     this.disabledEnabledTimer(2);
                //     return this.messageService.warning(this.service.titles, "messages.vecNaoEstaAguardNotaFiscal");
                // }
                _this.service.getByFiltroEmissaoNotaFiscal(_this.data.autorizacao).subscribe(function (result) {
                    _this.service.emissaoNotaFiscal = result;
                    _this.service.emissaoNotaFiscal.especie = "GRANEL";
                    _this.service.emissaoNotaFiscal.tipo = "A";
                    _this.trataDadosEmissaoNotaFiscal();
                });
                app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_9__["ModalUtilsStaticService"].openModal("emissao-nota-fiscal-dialog");
            });
        };
        router.events.subscribe(function (event) {
            var params = funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    MonitorDeAcompanhamentoIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.configuracao.getConfig({
                codRotina: _this.constantes.sisFormularioId,
                configs: _this.constantes.configuracoes
            }, _this.loadConfig);
            _this.filtrar();
            _this.refresh();
        }, function () {
            _this.permissoesUtils.back();
        });
        _super.prototype.addFuncoes.call(this, [
            { action: 'emitirNota', func: function () { return _this.emitirNota; } }
        ]);
    };
    MonitorDeAcompanhamentoIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.getByFiltro().subscribe(function (data) {
            var columns = [
                _this.datatablesService.getDataString("autorizacao", "autorizacao"),
                _this.datatablesService.getDataString("cliente", "cliente"),
                _this.datatablesService.getDataString("motorista", "motorista"),
                _this.datatablesService.getDataString("placa", "placa"),
                _this.datatablesService.getDataDateTime("tempoNFVenda", "nfVenda", "DD/MM/YYYY HH:mm"),
                _this.datatablesService.getDataString("notaVenda", "nnfVenda"),
                _this.datatablesService.getDataString("tempoNota", "nota", "DD/MM/YYYY HH:mm"),
                _this.datatablesService.getDataString("nfRetorno", "nnota"),
                _this.datatablesService.getDataString("tempoCTe", "cte", "DD/MM/YYYY HH:mm"),
                _this.datatablesService.getDataString("descrSitVeiculo", "situacao"),
                _this.datatablesService.getDataString("regRequisicao", "ticket"),
            ];
            _this.datatablesService.toDataTable({ tableId: "dtMonitorDeAcompanhamento", columns: columns, data: data, disableOrder: true }, function (aData) {
                _this.data = aData;
            });
        });
    };
    MonitorDeAcompanhamentoIndexComponent.prototype.filtrar = function () {
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_9__["ModalUtilsStaticService"].openModal("monitor-de-acompanhamento-filter-dialog");
    };
    MonitorDeAcompanhamentoIndexComponent.prototype.disabledEnabledTimer = function (tipo) {
        if (tipo == 1) {
            this.service.filtro.intervaloVerificacao = 0;
            this.updateTimer();
        }
        else {
            this.service.filtro.intervaloVerificacao = this.time;
            this.updateTimer();
        }
    };
    MonitorDeAcompanhamentoIndexComponent.prototype.trataDadosEmissaoNotaFiscal = function () {
        var _this = this;
        Object(rxjs__WEBPACK_IMPORTED_MODULE_13__["forkJoin"])([
            this.destinatarioService.getById(this.service.emissaoNotaFiscal.destinatarioIdCliente),
            this.materialService.getById(this.service.emissaoNotaFiscal.materialId)
        ]).subscribe(function (resp) {
            _this.service.emissaoNotaFiscal.clienteModel = !!resp[0] ? resp[0] : new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_16__["Destinatario"]();
            _this.service.emissaoNotaFiscal.materialModel = !!resp[1] ? resp[1] : new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_17__["Material"]();
        });
    };
    MonitorDeAcompanhamentoIndexComponent.prototype.executaFiltro = function () {
        this.updateTimer();
    };
    MonitorDeAcompanhamentoIndexComponent.prototype.updateTimer = function () {
        var _this = this;
        if (this.service.filtro.intervaloVerificacao === 0) {
            clearInterval(this._updateList);
            return;
        }
        clearInterval(this._updateList);
        var interval = this.service.filtro.intervaloVerificacao * 1000;
        this._updateList = setInterval(function () {
            _this.refresh();
        }, interval);
    };
    MonitorDeAcompanhamentoIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    MonitorDeAcompanhamentoIndexComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] },
        { type: _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_5__["MonitorDeAcompanhamentoService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_10__["ConfiguracaoFacade"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"] },
        { type: app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_14__["DestinatarioService"] },
        { type: app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_15__["MaterialService"] }
    ]; };
    MonitorDeAcompanhamentoIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-monitor-de-acompanhamento-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./monitor-de-acompanhamento-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"],
            _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_5__["MonitorDeAcompanhamentoService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_10__["ConfiguracaoFacade"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"],
            app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_14__["DestinatarioService"],
            app_pages_cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_15__["MaterialService"]])
    ], MonitorDeAcompanhamentoIndexComponent);
    return MonitorDeAcompanhamentoIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.constants.ts":
/*!********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.constants.ts ***!
  \********************************************************************************************************************/
/*! exports provided: MonitorDeAcompanhamentoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoConstants", function() { return MonitorDeAcompanhamentoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var MonitorDeAcompanhamentoConstants = /** @class */ (function () {
    function MonitorDeAcompanhamentoConstants() {
        this.sisFormularioId = 375407;
        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.emitirNota' },
        ];
        this.configuracoes = [];
        this.titles = "titles.monitorDeAcompanhamento";
        this.nomeForm = "titles.monitorDeAcompanhamento";
        this.listaIndex = [
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'EmitirNota', action: 'emitirNota', icon: 'fa fa-print', exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
        this.configuracoes = [
            {
                sistema: "FAT",
                parametros: [
                    "NfeProxy",
                    "NfeProxyUsu",
                    "NfeProxyPas",
                    "NfeProxyHos",
                    "NfeProxyPor",
                    "NfePastaXml",
                    "NfeCertValido"
                ]
            },
            {
                sistema: "BAL",
                parametros: [
                    "OperRetorno",
                    "OperRetDentro",
                    "OperRetFora",
                    "AltDtNFRet"
                ]
            }
        ];
    }
    return MonitorDeAcompanhamentoConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts ***!
  \****************************************************************************************************************/
/*! exports provided: MonitorDeAcompanhamentoFilter, MonitorDeAcompanhamentoRequisicaoAutorizacaoFilter, MonitorDeAcompanhamento, MonitorDeAcompanhamentoEmissaoNotaFiscal, MonitorDeAcompanhamentoPesquisaAutorizacaoRequisicao, MonitorDeAcompanhamentoConfig */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoFilter", function() { return MonitorDeAcompanhamentoFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoRequisicaoAutorizacaoFilter", function() { return MonitorDeAcompanhamentoRequisicaoAutorizacaoFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamento", function() { return MonitorDeAcompanhamento; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoEmissaoNotaFiscal", function() { return MonitorDeAcompanhamentoEmissaoNotaFiscal; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoPesquisaAutorizacaoRequisicao", function() { return MonitorDeAcompanhamentoPesquisaAutorizacaoRequisicao; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoConfig", function() { return MonitorDeAcompanhamentoConfig; });
/* 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");
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};



var MonitorDeAcompanhamentoFilter = /** @class */ (function () {
    function MonitorDeAcompanhamentoFilter() {
        this.intervaloVerificacao = 0;
    }
    return MonitorDeAcompanhamentoFilter;
}());

var MonitorDeAcompanhamentoRequisicaoAutorizacaoFilter = /** @class */ (function () {
    function MonitorDeAcompanhamentoRequisicaoAutorizacaoFilter() {
        this.dataI = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["DateTimeUtilsStaticService"].addDays(new Date(), -1);
        this.dataF = new Date();
        this.destinatarioIdCliente = 0;
        this.placa = "";
        this.tabela = "";
        this.liberado = "";
        this.tipoTransp = "";
        this.comSaldo = "";
        this.outras = "";
        this.regRequisicao = 0;
        this.tipo = "";
        this.clienteModel = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__["Destinatario"]();
    }
    return MonitorDeAcompanhamentoRequisicaoAutorizacaoFilter;
}());

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

var MonitorDeAcompanhamentoEmissaoNotaFiscal = /** @class */ (function () {
    function MonitorDeAcompanhamentoEmissaoNotaFiscal() {
        this.loteId = "";
        this.operacaoId = 0;
        this.kilo = 0;
        this.litro = 0;
        this.quantid = 0;
        this.totItem = 0;
        this.vlIcms = 0;
        this.notaCli = 0;
        this.nota = 0;
        this.razaoSocial = "";
        this.municipio = "";
        this.estado = "";
        this.vlNota = 0;
        this.tipo = "A";
        this.formControle = "";
        this.autorizacao = 0;
        this.destinatarioIdCliente = 0;
        this.materialId = "";
        this.itemCheckList = 0;
        this.especie = "GRANEL";
        this.dtEmissao = "";
        this.deposito = "";
        this.clienteModel = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__["Destinatario"]();
        this.materialModel = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_1__["Material"]();
    }
    return MonitorDeAcompanhamentoEmissaoNotaFiscal;
}());

var MonitorDeAcompanhamentoPesquisaAutorizacaoRequisicao = /** @class */ (function () {
    function MonitorDeAcompanhamentoPesquisaAutorizacaoRequisicao() {
        this.autorizacao = 0;
        this.placa = "";
        this.dtAutorizacao = "";
        this.cliente = "";
        this.descrMater = "";
        this.descrTipoTransp = "";
    }
    return MonitorDeAcompanhamentoPesquisaAutorizacaoRequisicao;
}());

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



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.module.ts":
/*!*****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.module.ts ***!
  \*****************************************************************************************************************/
/*! exports provided: MonitorDeAcompanhamentoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoModule", function() { return MonitorDeAcompanhamentoModule; });
/* 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_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _monitor_de_acompanhamento_index_monitor_de_acompanhamento_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component.ts");
/* harmony import */ var _monitor_de_acompanhamento_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./monitor-de-acompanhamento.routing.module */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.routing.module.ts");
/* harmony import */ var _monitor_de_acompanhamento_filter_monitor_de_acompanhamento_filter_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-filter/monitor-de-acompanhamento-filter.component.ts");
/* harmony import */ var _emissao_nota_fiscal_emissao_nota_fiscal_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./emissao-nota-fiscal/emissao-nota-fiscal.component */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/emissao-nota-fiscal/emissao-nota-fiscal.component.ts");
/* harmony import */ var _pesquisa_autorizacao_pesquisa_autorizacao_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./pesquisa-autorizacao/pesquisa-autorizacao.component */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-autorizacao/pesquisa-autorizacao.component.ts");
/* harmony import */ var _pesquisa_requisicao_pesquisa_requisicao_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./pesquisa-requisicao/pesquisa-requisicao.component */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-requisicao/pesquisa-requisicao.component.ts");
/* harmony import */ var _item_nota_fiscal_item_nota_fiscal_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./item-nota-fiscal/item-nota-fiscal.component */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/item-nota-fiscal/item-nota-fiscal.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 MonitorDeAcompanhamentoModule = /** @class */ (function () {
    function MonitorDeAcompanhamentoModule() {
    }
    MonitorDeAcompanhamentoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [
                _monitor_de_acompanhamento_index_monitor_de_acompanhamento_index_component__WEBPACK_IMPORTED_MODULE_2__["MonitorDeAcompanhamentoIndexComponent"],
                _monitor_de_acompanhamento_filter_monitor_de_acompanhamento_filter_component__WEBPACK_IMPORTED_MODULE_4__["MonitorDeAcompanhamentoFilterComponent"],
                _emissao_nota_fiscal_emissao_nota_fiscal_component__WEBPACK_IMPORTED_MODULE_5__["EmissaoNotaFiscalComponent"],
                _pesquisa_autorizacao_pesquisa_autorizacao_component__WEBPACK_IMPORTED_MODULE_6__["PequisaAutorizacaoComponent"],
                _pesquisa_requisicao_pesquisa_requisicao_component__WEBPACK_IMPORTED_MODULE_7__["PequisaRequisicaoComponent"],
                _item_nota_fiscal_item_nota_fiscal_component__WEBPACK_IMPORTED_MODULE_8__["ItemNotaFiscalComponent"]
            ],
            imports: [
                app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"],
                _monitor_de_acompanhamento_routing_module__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoRoutingModule"]
            ]
        })
    ], MonitorDeAcompanhamentoModule);
    return MonitorDeAcompanhamentoModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.routing.module.ts":
/*!*************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.routing.module.ts ***!
  \*************************************************************************************************************************/
/*! exports provided: MonitorDeAcompanhamentoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoRoutingModule", function() { return MonitorDeAcompanhamentoRoutingModule; });
/* 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 _monitor_de_acompanhamento_index_monitor_de_acompanhamento_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.component */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento-index/monitor-de-acompanhamento-index.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 MonitorDeAcompanhamentoRoutes = [
    {
        path: '',
        component: _monitor_de_acompanhamento_index_monitor_de_acompanhamento_index_component__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoIndexComponent"],
        data: {
            breadcrumb: 'monitorDeAcompanhamento',
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index }
        }
    }
];
var MonitorDeAcompanhamentoRoutingModule = /** @class */ (function () {
    function MonitorDeAcompanhamentoRoutingModule() {
    }
    MonitorDeAcompanhamentoRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(MonitorDeAcompanhamentoRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], MonitorDeAcompanhamentoRoutingModule);
    return MonitorDeAcompanhamentoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts":
/*!******************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts ***!
  \******************************************************************************************************************/
/*! exports provided: MonitorDeAcompanhamentoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitorDeAcompanhamentoService", function() { return MonitorDeAcompanhamentoService; });
/* 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 _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./monitor-de-acompanhamento.model */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.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_app_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.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 MonitorDeAcompanhamentoService = /** @class */ (function () {
    function MonitorDeAcompanhamentoService(http) {
        this.http = http;
        this.filtro = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_2__["MonitorDeAcompanhamentoFilter"]();
        this.titles = "titles.monitorDeAcompanhamento";
        this.configParms = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_2__["MonitorDeAcompanhamentoConfig"]();
        this.emissaoNotaFiscal = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_2__["MonitorDeAcompanhamentoEmissaoNotaFiscal"]();
        this.pesquisaAutoReq = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_2__["MonitorDeAcompanhamentoRequisicaoAutorizacaoFilter"]();
        this.dataAutoReq = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_2__["MonitorDeAcompanhamentoPesquisaAutorizacaoRequisicao"]();
    }
    MonitorDeAcompanhamentoService.prototype.getByFiltro = function () {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/ageo/monitorDeAcompanhamento/getByFiltro")
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    MonitorDeAcompanhamentoService.prototype.getByFiltroEmissaoNotaFiscal = function (autorizacao) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/ageo/monitorDeAcompanhamento/getByFiltroEmissaoNotaFiscal/" + autorizacao, null)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    MonitorDeAcompanhamentoService.prototype.pesquisaAutorizacaoRequisicao = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/ageo/monitorDeAcompanhamento/pesquisaAutorizacaoRequisicao", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    MonitorDeAcompanhamentoService.prototype.validaAutOperacao = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/ageo/monitorDeAcompanhamento/validaAutOperacao", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    MonitorDeAcompanhamentoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    MonitorDeAcompanhamentoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], MonitorDeAcompanhamentoService);
    return MonitorDeAcompanhamentoService;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-autorizacao/pesquisa-autorizacao.component.ts":
/*!************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-autorizacao/pesquisa-autorizacao.component.ts ***!
  \************************************************************************************************************************************/
/*! exports provided: PequisaAutorizacaoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PequisaAutorizacaoComponent", function() { return PequisaAutorizacaoComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../monitor-de-acompanhamento.model */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitor-de-acompanhamento.service */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.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 PequisaAutorizacaoComponent = /** @class */ (function () {
    function PequisaAutorizacaoComponent(messageService, datatablesService, service) {
        this.messageService = messageService;
        this.datatablesService = datatablesService;
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dataResult = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoEmissaoNotaFiscal"]();
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_5__["Mascaras"]();
        this.filtro = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoFilter"]();
        this.selLabel = "";
    }
    PequisaAutorizacaoComponent.prototype.ngOnInit = function () { };
    PequisaAutorizacaoComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
    };
    PequisaAutorizacaoComponent.prototype.pesquisaAutorizacaoRequisicao = function () {
        var _this = this;
        this.pesqAutorizacao();
        this.service.pesquisaAutorizacaoRequisicao(this.service.pesquisaAutoReq).subscribe(function (resp) {
            var columns = [
                _this.datatablesService.getDataString('autorizacao', 'autorizacao'),
                _this.datatablesService.getDataString('placa', 'placa'),
                _this.datatablesService.getDataString('requisicao', 'requisicao'),
                _this.datatablesService.getDataDateTime('dtAutorizacao', 'data'),
                _this.datatablesService.getDataString('cliente', 'cliente'),
                _this.datatablesService.getDataString('descrMater', 'produto'),
                _this.datatablesService.getDataString('descrTipoTransp', 'tipoTransp')
            ];
            _this.datatablesService.datatable('dtAutorizacao', columns, resp, function (aData) {
                _this.service.dataAutoReq = aData;
            });
        });
    };
    PequisaAutorizacaoComponent.prototype.pesqAutorizacao = function () {
        if (this.service.emissaoNotaFiscal.tipo == "A") {
            this.service.pesquisaAutoReq.tabela = "OpCarga";
            this.service.pesquisaAutoReq.liberado = "S";
            this.service.pesquisaAutoReq.tipoTransp = "*";
            this.service.pesquisaAutoReq.comSaldo = "S";
            this.service.pesquisaAutoReq.outras = "S";
            this.service.pesquisaAutoReq.regRequisicao = 0;
            this.service.pesquisaAutoReq.tipo = "A";
        }
    };
    PequisaAutorizacaoComponent.prototype.trataDest = function (destinatario) {
        this.service.pesquisaAutoReq.clienteModel = destinatario;
    };
    PequisaAutorizacaoComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"] },
        { type: _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], PequisaAutorizacaoComponent.prototype, "filtrar", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Object)
    ], PequisaAutorizacaoComponent.prototype, "dataResult", void 0);
    PequisaAutorizacaoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-pesquisa-autorizacao-monitor",
            template: __importDefault(__webpack_require__(/*! raw-loader!./pesquisa-autorizacao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-autorizacao/pesquisa-autorizacao.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"],
            _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"]])
    ], PequisaAutorizacaoComponent);
    return PequisaAutorizacaoComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-requisicao/pesquisa-requisicao.component.ts":
/*!**********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-requisicao/pesquisa-requisicao.component.ts ***!
  \**********************************************************************************************************************************/
/*! exports provided: PequisaRequisicaoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PequisaRequisicaoComponent", function() { return PequisaRequisicaoComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../monitor-de-acompanhamento.model */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.model.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitor-de-acompanhamento.service */ "./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/monitor-de-acompanhamento.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.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 PequisaRequisicaoComponent = /** @class */ (function () {
    function PequisaRequisicaoComponent(messageService, datatablesService, service) {
        this.messageService = messageService;
        this.datatablesService = datatablesService;
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dataResult = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoEmissaoNotaFiscal"]();
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_5__["Mascaras"]();
        this.filtro = new _monitor_de_acompanhamento_model__WEBPACK_IMPORTED_MODULE_1__["MonitorDeAcompanhamentoFilter"]();
        this.selLabel = "";
    }
    PequisaRequisicaoComponent.prototype.ngOnInit = function () { };
    PequisaRequisicaoComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
    };
    PequisaRequisicaoComponent.prototype.pesquisaAutorizacaoRequisicao = function () {
        var _this = this;
        this.pesqRequisicao();
        this.service.pesquisaAutorizacaoRequisicao(this.service.pesquisaAutoReq).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"),
                _this.datatablesService.getDataString('cliente', 'cliente'),
                _this.datatablesService.getDataString('descrTipoTransp', 'tipoTransp')
            ];
            _this.datatablesService.datatable('dtRequisicao', columns, resp, function (aData) {
                _this.service.dataAutoReq = aData;
            });
        });
    };
    PequisaRequisicaoComponent.prototype.pesqRequisicao = function () {
        this.service.pesquisaAutoReq.tabela = "BalRequisicaoCarga";
        this.service.pesquisaAutoReq.liberado = "*";
        this.service.pesquisaAutoReq.tipoTransp = "R";
        this.service.pesquisaAutoReq.comSaldo = null;
        this.service.pesquisaAutoReq.outras = null;
        this.service.pesquisaAutoReq.tipo = "R";
    };
    PequisaRequisicaoComponent.prototype.trataDest = function (destinatario) {
        this.service.pesquisaAutoReq.clienteModel = destinatario;
    };
    PequisaRequisicaoComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"] },
        { type: _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], PequisaRequisicaoComponent.prototype, "filtrar", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Object)
    ], PequisaRequisicaoComponent.prototype, "dataResult", void 0);
    PequisaRequisicaoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-pesquisa-requisicao-monitor",
            template: __importDefault(__webpack_require__(/*! raw-loader!./pesquisa-requisicao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/relatorios/monitor-de-acompanhamento/pesquisa-requisicao/pesquisa-requisicao.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"],
            _monitor_de_acompanhamento_service__WEBPACK_IMPORTED_MODULE_3__["MonitorDeAcompanhamentoService"]])
    ], PequisaRequisicaoComponent);
    return PequisaRequisicaoComponent;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-ageo-relatorios-monitor-de-acompanhamento-monitor-de-acompanhamento-module.js.map