(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-cargill-consultas-requisicao-outras-descarga-requisicao-outras-descarga-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component.html":
/*!*********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component.html ***!
  \*********************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal fade\" id=\"requisicao-outras-descarga-altera-dados-dialog\" tabindex=\"-1\" role=\"dialog\"\r\n    data-backdrop=\"static\">\r\n    <div class=\"modal-dialog\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.requisicaoOutrasDescarga' | translate }} ( {{\r\n                    'buttons.alterarDadosNota'\r\n                    | translate\r\n                    }} )</h6>\r\n            </div>\r\n            <form class=\"form\" #form=\"ngForm\">\r\n                <div class=\"modal-body\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <app-validacoes></app-validacoes>\r\n                            <ng-container *ngIf=\"showTable else dataNota\">\r\n                                <div class=\"table-overflow\">\r\n                                    <table class=\"table table-striped table-hover form-control-sm\">\r\n                                        <thead>\r\n                                            <tr>\r\n                                                <th>{{ 'labels.chave' | translate }}</th>\r\n                                                <th>{{ 'labels.nota' | translate }}</th>\r\n                                                <th>{{ 'labels.emissao' | translate }}</th>\r\n                                                <th></th>\r\n                                            </tr>\r\n                                        </thead>\r\n                                        <tbody>\r\n                                            <tr *ngFor=\"let c of data?.requisicaoOutrasDescargaItems\">\r\n                                                <td>{{c.chaveNfe}}</td>\r\n                                                <td>{{c.docto}} / {{c.serie}}</td>\r\n                                                <td>{{c.dataDocumento | date:'dd/MM/yyyy' }}</td>\r\n                                                <td>\r\n                                                    <a class=\"btn btn-sm\" (click)=\"editItem(c)\">\r\n                                                        <i class=\"fa fa-pencil\"></i>\r\n                                                    </a>\r\n                                                </td>\r\n                                            </tr>\r\n                                            <tr\r\n                                                *ngIf=\"!data?.requisicaoOutrasDescargaItems || data?.requisicaoOutrasDescargaItems?.length === 0\">\r\n                                                <th colspan=\"9\">\r\n                                                    {{'messages.nenhumRegistroEncontrado' | translate }}\r\n                                                </th>\r\n                                            </tr>\r\n                                        </tbody>\r\n                                    </table>\r\n                                </div>\r\n                            </ng-container>\r\n                            <ng-template #dataNota>\r\n                                <div class=\"modal-body\" *ngIf=\"!!nota\">\r\n                                    <div class=\"row\">\r\n                                        <div class=\"col-12\">\r\n                                            <div class=\"form-group form-group-sm\">\r\n                                                <label for=\"modeloNota\" class=\"required\">{{ \"labels.modeloNota\" |\r\n                                                    translate\r\n                                                    }}</label>\r\n                                                <select class=\"form-control form-control-sm\" id=\"modeloNota\"\r\n                                                    name=\"modeloNota\" [(ngModel)]=\"nota.modNota\"\r\n                                                    (change)=\"selectedModeloNota($event)\" required=\"true\">\r\n                                                    <option *ngFor=\"let item of modNotas\"\r\n                                                        value=\"{{ item.modeloNotaId }}\">{{\r\n                                                        item.descrModNota }}</option>\r\n                                                </select>\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                                                <label for=\"chaveNFe\"\r\n                                                    [class.required]=\"isRequiredDadosNfe && service.configUni.obrChaveNFeEnt && (nota.modNota && nota.modNota === '55')\">{{'labels.chaveNFE'\r\n                                                    | translate}}</label>\r\n                                                <div class=\"input-group\">\r\n                                                    <input type=\"text\" id=\"chaveNFe\" name=\"chaveNfe\"\r\n                                                        class=\"form-control form-control-sm\" [(ngModel)]=\"nota.chaveNfe\"\r\n                                                        [disabled]=\"nota.modNota && nota.modNota !== '55'\"\r\n                                                        [required]=\"isRequiredDadosNfe && service.configUni.obrChaveNFeEnt && (nota.modNota && nota.modNota === '55')\"\r\n                                                        data-title=\"{{'labels.chaveNFE' | translate}}\"\r\n                                                        mask=\"0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000\"\r\n                                                        (blur)=\"validaChaveNfe()\">\r\n                                                    <span class=\"input-group-btn\">\r\n                                                        <button type=\"button\" class=\"btn btn-success btn-sm\"\r\n                                                            (click)=\"importarDanfe(nota.chaveNFE)\"\r\n                                                            title=\"Importa DANFE\"> <i class=\"fa fa-search\"></i>\r\n                                                        </button>\r\n                                                    </span>\r\n                                                </div>\r\n                                            </div>\r\n                                        </div>\r\n                                    </div>\r\n                                    <div class=\"row\">\r\n                                        <div class=\"col-lg-4 col-sm-12\">\r\n                                            <div class=\"form-group form-group-sm\">\r\n                                                <label\r\n                                                    [class.required]=\"isRequiredDadosNfe && service.configUni.obrigaSerieNf\">{{'labels.serie'\r\n                                                    | translate}}</label>\r\n                                                <app-combo-serie-nota id=\"serie\" name=\"serie\" [(ngModel)]=\"nota.serie\"\r\n                                                    [disabled]=\"isDisabledDanfeImportada\"\r\n                                                    [required]=\"isRequiredDadosNfe && service.configUni.obrigaSerieNf\">\r\n                                                </app-combo-serie-nota>\r\n                                            </div>\r\n                                        </div>\r\n                                        <div class=\"col-lg-4 col-sm-12\">\r\n                                            <div class=\"form-group form-group-sm\">\r\n                                                <label for=\"nota\" class=\"required\">{{'labels.notaFiscal' |\r\n                                                    translate}}</label>\r\n                                                <input type=\"text\" id=\"nota\" name=\"nota\"\r\n                                                    class=\"form-control form-control-sm\" [(ngModel)]=\"nota.docto\"\r\n                                                    [disabled]=\"isDisabledDanfeImportada\" required\r\n                                                    data-title=\"{{'labels.nota' | translate}}\" (blur)=\"validaNota()\">\r\n                                            </div>\r\n                                        </div>\r\n                                        <div class=\"col-lg-4 col-sm-12\">\r\n                                            <div class=\"form-group form-group-sm\">\r\n                                                <label for=\"emissao\" class=\"required\">{{'labels.emissao' |\r\n                                                    translate}}</label>\r\n                                                <app-data id=\"emissao\" name=\"emissao\" [(ngModel)]=\"nota.dataDocumento\"\r\n                                                    required [disabled]=\"isDisabledDanfeImportada\" class=\"dataHora\"\r\n                                                    [formatDateTime]=\"mascara.getFormatData\"\r\n                                                    (executa)=\"validaDtEmissao({'dtEmissao': $event})\"></app-data>\r\n                                            </div>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                            </ng-template>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <ng-container *ngIf=\"showTable else btnDataNota\">\r\n                    <div class=\"modal-footer\">\r\n                        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">\r\n                            {{ 'buttons.cancelar' | translate }}\r\n                        </button>\r\n                    </div>\r\n                </ng-container>\r\n                <ng-template #btnDataNota>\r\n                    <div class=\"modal-footer\">\r\n                        <button class=\"btn btn-success mr-1\" type=\"button\" (click)=\"onSubmit(form)\">{{\r\n                            'buttons.salvar' | translate }}\r\n                        </button>\r\n                        <button type=\"button\" class=\"btn btn-default\" (click)=\"canItem()\">\r\n                            {{ 'buttons.cancelar' | translate }}\r\n                        </button>\r\n                    </div>\r\n                </ng-template>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.html":
/*!***********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.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=\"row mt-2\">\r\n    <div class=\"col-lg-12\">\r\n        <div class=\"table-overflow\">\r\n            <table class=\"table table-striped table-bordered table-hover rownowrap form-control-sm\">\r\n                <thead>\r\n                    <tr>\r\n                        <th class=\"text-center\">{{ 'labels.material' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.descricao' | translate }}</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n                    <tr *ngFor=\"let c of dados\" class=\"clickable\"\r\n                        [ngClass]=\"{ 'info' : c === data }\" (click)=\"(data = c)\">\r\n                        <td class=\"text-center\">{{c.materialId}}</td>\r\n                        <td class=\"text-center\">{{c.descrMater}}</td>\r\n                    </tr>\r\n                    <tr *ngIf=\"!dados || dados.length === 0\">\r\n                        <th colspan=\"2\">\r\n                            {{'messages.nenhumRegistroEncontrado' | translate }}\r\n                        </th>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n<div class=\"mt-2\">\r\n    <div class=\"col-sm-12\">\r\n        <div class=\"row\">\r\n            <div *ngFor=\"let cpd of data.analises; let i = index\"\r\n                class=\"col-md-4\">\r\n                <app-analise-campos-dinamicos name=\"cpd{{i}}\" [campoDinamico]=\"cpd\"\r\n                    [(ngModel)]=\"cpd.valor\" [disabled]=\"true\"\r\n                    [required]=\"true\" [exibeLegenda]=\"true\">\r\n                </app-analise-campos-dinamicos>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.component.html":
/*!*********************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.component.html ***!
  \*********************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal fade\" id=\"requisicao-outras-descarga-filter-dialog\" tabindex=\"-1\" role=\"dialog\"\n    data-backdrop=\"static\">\n    <div class=\"uni-modal-dialog-md-50\">\n        <div class=\"modal-content\">\n            <div class=\"modal-header\">\n                <h5 class=\"modal-title\">{{ 'titles.pesquisaDeRequisicaoOutrasDescarga' | translate }}</h5>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                <div class=\"modal-body\">\n                    <app-validacoes></app-validacoes>\n                    <ng-container>\n                        <div class=\"row\">\n                            <div class=\"col-md-6 col-lg-6\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"emissaoDe\" class=\"required\">{{'labels.emissaoDe' | translate}}</label>\n                                    <app-data id=\"emissaoDe\" name=\"emissaoDe\" [(ngModel)]=\"service.filtro.dataI\"\n                                        required autofocus></app-data>\n                                </div>\n                            </div>\n                            <div class=\"col-md-6 col-lg-6\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"ate\" class=\"required\">{{'labels.ate' | translate}}</label>\n                                    <app-data id=\"ate\" name=\"ate\" [(ngModel)]=\"service.filtro.dataF\" required>\n                                    </app-data>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-md-6 col-lg-6\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"ficha\">{{ 'labels.ficha' | translate}}</label>\n                                    <input id=\"ficha\" name=\"ficha\" [(ngModel)]=\"service.filtro.ticketOrigem\"\n                                        class=\"form-control form-control-sm\">\n                                </div>\n                            </div>\n                            <div class=\"col-md-6 col-lg-6\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"tipoDeTransporte\">\n                                        {{ 'labels.tipoDeTransporte' | translate }}\n                                    </label>\n                                    <app-combo-tipos-de-transporte id=\"tipoDeTransporte\" name=\"tipoDeTransporte\"\n                                        ativos=\"true\" ordenarPorDescricao=\"true\"\n                                        [(ngModel)]=\"service.filtro.tipoTransp\">\n                                    </app-combo-tipos-de-transporte>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-destinatario id=\"transportador\" name=\"transportador\"\n                                        label=\"transportador\" modalTitle=\"pesquisaDeTransportadora\"\n                                        [(ngModel)]=\"service.filtro.destinatarioIdTransportadora\" tipoDestinatario=\"T\"\n                                        showCgcCpf=\"false\" showInscricao=\"false\">\n                                    </app-pesquisa-destinatario>\n                                </div>\n                            </div>\n                        </div>\n                    </ng-container>\n                </div>\n                <div class=\"modal-footer\">\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">\n                        {{ 'buttons.pesquisar' | translate }}\n                    </button>\n                    <button class=\"btn btn-default\" type=\"button\" data-dismiss=\"modal\">\n                        {{ 'buttons.sair' | translate }}\n                    </button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-form/requisicao-outras-descarga-form.component.html":
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-form/requisicao-outras-descarga-form.component.html ***!
  \*****************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaForm\" [sisFormularioId]=\"constantes.sisFormularioId\"\n  [itemData]=\"data.requisicaoOutrasDescargaId\">\n</app-menu-command-bar>\n\n<div class=\"row\">\n  <div class=\"col-md-12 col-lg-12\">\n    <div class=\"section-comand-bar\">\n      <div class=\"clearfix\">\n        <ul class=\"nav nav-tabs\">\n          <li class=\"nav-item\">\n            <a class=\"nav-link active show\" data-toggle=\"tab\" href=\"#ta\">{{ \"labels.dados\" | translate }}</a>\n          </li>\n          <li class=\"nav-item\">\n            <a class=\"nav-link\" data-toggle=\"tab\" href=\"#tb\">{{ \"labels.itens\" | translate }}</a>\n          </li>\n          <li class=\"nav-item\">\n            <a class=\"nav-link\" data-toggle=\"tab\" href=\"#tc\">{{ \"labels.dadosAnalise\" | translate }}</a>\n          </li>\n        </ul>\n      </div>\n      <div class=\"tab-content top\">\n        <div class=\"tab-pane active show\" id=\"ta\">\n          <form id=\"frmRequisicaoOutrasDescarga\" class=\"form\" #frmRequisicaoOutrasDescarga=\"ngForm\">\n            <div class=\"row\">\n              <div class=\"col-md-2 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"requisicao\">{{'labels.requisicao' | translate}}</label>\n                  <input id=\"requisicao\" name=\"requisicao\" value=\"{{data?.requisicaoOutrasDescargaId}}\"\n                    class=\"form-control form-control-sm\" type=\"text\" disabled>\n                </div>\n              </div>\n              <div class=\"col-lg-2 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"ficha\">{{\"labels.ficha\" | translate}}</label>\n                  <input id=\"ficha\" name=\"ficha\" value=\"{{ data.ticketOrigem }}\" class=\"form-control form-control-sm\"\n                    type=\"text\" disabled />\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-3 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"dtRequisicao\">{{ 'labels.data' | translate }}</label>\n                  <input id=\"dtRequisicao\" name=\"dtRequisicao\"\n                    value=\"{{data?.dtRequisicao | date:'dd/MM/yyyy HH:mm:ss'}}\" class=\"form-control form-control-sm\"\n                    type=\"text\" disabled>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"tipoOperacao\">{{'labels.tipoOperacao' | translate}}</label>\n                  <app-combo-tipo-operacao id=\"tipoOperacao\" name=\"tipoOperacao\" [(ngModel)]=\"data.tipoOperacaoId\"\n                    [disabled]=\"true\">\n                  </app-combo-tipo-operacao>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"tipoDeTransporte\">{{ 'labels.tipoDeTransporte' | translate }}</label>\n                  <app-combo-tipos-de-transporte id=\"tipoDeTransporte\" name=\"tipoDeTransporte\" ativos=\"true\"\n                    [(ngModel)]=\"data.tipoTransp\" [disabled]=\"true\">\n                  </app-combo-tipos-de-transporte>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-3 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"chegada\">\n                    {{ 'labels.chegada' | translate }}\n                  </label>\n                  <input id=\"chegada\" name=\"chegada\" value=\"{{data?.dtChegada | date:'dd/MM/yyyy HH:mm:ss'}}\"\n                    class=\"form-control form-control-sm\" type=\"text\" disabled>\n                </div>\n              </div>\n              <div class=\"col-md-3 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"saida\">{{\"labels.saida\" | translate}}</label>\n                  <input id=\"saida\" name=\"saida\" class=\"dataHora\" value=\"{{data?.dtSaida | date:'dd/MM/yyyy HH:mm:ss'}}\"\n                    class=\"form-control form-control-sm\" type=\"text\" disabled>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-3 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"inicioDaOperacao\">{{\"labels.inicioDaOperacao\" | translate }}</label>\n                  <input id=\"inicioDaOperacao\" name=\"inicioDaOperacao\" class=\"dataHora\"\n                    value=\"{{data?.dtIniOper | date:'dd/MM/yyyy HH:mm:ss'}}\" class=\"form-control form-control-sm\"\n                    type=\"text\" disabled>\n                </div>\n              </div>\n              <div class=\"col-md-3 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"finalDaOperacao\">{{\"labels.finalDaOperacao\" | translate}}</label>\n                  <input id=\"finalDaOperacao\" name=\"finalDaOperacao\" class=\"dataHora\"\n                    value=\"{{data?.dtFimOper | date:'dd/MM/yyyy HH:mm:ss'}}\" class=\"form-control form-control-sm\"\n                    type=\"text\" disabled>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"localEmbarque\">{{'labels.localEmbarque' | translate}}</label>\n                  <select id=\"localEmbarque\" name=\"localEmbarque\" class=\"form-control form-control-sm\" disabled\n                    [(ngModel)]=\"data.localTransbordoId\">\n                    <option [value]=\"t.localTransbordoId\" *ngFor=\"let t of locaisTransbordo\">\n                      {{t.descrLocalTransb}}</option>\n                  </select>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-7 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <app-input-description id=\"transportador\" name=\"transportador\" label=\"transportador\"\n                    [valueDescription]=\"data?.transportadora?.fantasia\" [valueID]=\"data?.destinatarioIdTransportadora\"\n                    [valueDoc]=\"data?.transportadora?.cgcCpf\">\n                  </app-input-description>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"tipoDeVeiculo\">{{'labels.tipoDeVeiculo' | translate }}</label>\n                  <app-combo-tipo-veiculo id=\"tipoDeVeiculo\" name=\"tipoDeVeiculo\" [(ngModel)]=\"data.tipoVeiculoId\"\n                    [disabled]=\"true\" [inativos]=\"true\" [excluidos]=\"true\">\n                  </app-combo-tipo-veiculo>\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-md-2 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"placa\">{{'labels.placa' | translate}}</label>\n                  <input id=\"placa\" name=\"placa\" class=\"form-control form-control-sm text-uppercase\" type=\"text\"\n                    maxlength=\"18\" disabled value=\"{{data?.placa}}\" />\n                </div>\n              </div>\n              <div class=\"col-md-2 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"carreta1\">{{'labels.carreta1' | translate}}</label>\n                  <input id=\"carreta1\" name=\"carreta1\" class=\"form-control form-control-sm text-uppercase\" type=\"text\"\n                    maxlength=\"8\" disabled value=\"{{data?.placaCarreta}}\" />\n                </div>\n              </div>\n              <div class=\"col-md-2 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"carreta2\">{{'labels.carreta2' | translate}}</label>\n                  <input id=\"carreta2\" name=\"carreta2\" class=\"form-control form-control-sm text-uppercase\" type=\"text\"\n                    maxlength=\"18\" disabled value=\"{{data?.placaCarreta1}}\" />\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-lg-4 col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"comboio\">{{'labels.comboio' | translate}}</label>\n                  <input id=\"comboio\" name=\"comboio\" class=\"form-control form-control-sm text-uppercase\" type=\"text\"\n                    maxlength=\"30\" disabled value=\"{{data?.comboio}}\" />\n                </div>\n              </div>\n              <div class=\"col-lg-2 col-md-3 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label>{{ \"labels.anoComboio\" | translate }}</label>\n                  <input id=\"anoComboio\" name=\"anoComboio\" class=\"form-control form-control-sm\" type=\"text\"\n                    maxlength=\"4\" disabled value=\"{{data?.anoComboio}}\" />\n                </div>\n              </div>\n            </div>\n            <div class=\"row\">\n              <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label for=\"viagem\">{{'labels.viagem' | translate}}</label>\n                  <input id=\"viagem\" name=\"viagem\" class=\"form-control form-control-sm text-uppercase\" type=\"text\"\n                    maxlength=\"20\" disabled value=\"{{data?.viagem}}\" />\n                </div>\n              </div>\n              <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                  <label>{{ \"labels.operacaoTerminal\" | translate }}</label>\n                  <input id=\"tipoOperacaoTerminal\" name=\"tipoOperacaoTerminal\" class=\"form-control form-control-sm\"\n                    type=\"text\" maxlength=\"20\" disabled value=\"{{data?.tipoOperacaoTerminal}}\" />\n                </div>\n              </div>\n            </div>\n          </form>\n        </div>\n        <div class=\"tab-pane\" id=\"tb\">\n          <app-requisicao-outras-descarga-item [requisicaoOutrasDescarga]=\"data\"\n            [dados]=\"data.requisicaoOutrasDescargaItems\">\n          </app-requisicao-outras-descarga-item>\n        </div>\n        <div class=\"tab-pane\" id=\"tc\">\n          <app-requisicao-outras-descarga-dados-analise [dados]=\"data.analisesMaterial\">\n          </app-requisicao-outras-descarga-dados-analise>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>");

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\" [sisFormularioId]=\"constantes.sisFormularioId\"\n    [itemData]=\"requisicaoOutrasDescarga.requisicaoOutrasDescargaId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <table id=\"dtRequisicaoOutrasDescarga\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n    </table>\n</div>\n\n<app-requisicao-outras-descarga-filter (outFilter)=\"executarFiltrar($event)\"></app-requisicao-outras-descarga-filter>\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-requisicao-outras-descarga-altera-dados (out)=\"refresh()\"></app-requisicao-outras-descarga-altera-dados>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.html":
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.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=\"uni-botoes\">\r\n    <div class=\"\" *ngIf=\"!showAdd\">\r\n        <button title=\"{{ 'buttons.visualizar' | translate }}\" (click)=\"detail()\" class=\"btn uni-btn btn-sm\"\r\n            [disabled]=\"funcoesService.showButtons.detail(actionForm,  dataAux.requisicaoOutrasDescargaItemId)\">\r\n            <i class=\"icon-eye\"></i>\r\n        </button>\r\n    </div>\r\n</div>\r\n\r\n<div class=\"mt-2\" *ngIf=\"showAdd\">\r\n    <div class=\"\">\r\n        <div class=\"\">\r\n            <button title=\"{{ 'buttons.voltar' | translate }}\" (click)=\"back()\" type=\"button\"\r\n                class=\"btn uni-btn btn-sm\">\r\n                <i class=\"icon-arrow-left\"></i>\r\n            </button>\r\n        </div>\r\n    </div>\r\n    <form class=\"form\" #formRequisicaoOutrasDescargaItem=\"ngForm\">\r\n        <div class=\"row\">\r\n            <div class=\"col-md-3 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"autDeOperacao\">{{'labels.autDeOperacao' | translate}}</label>\r\n                    <input id=\"autDeOperacao\" name=\"autDeOperacao\" value=\"{{data?.autorizacao}}\"\r\n                        class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-3 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"dataHoraAutorizacao\">{{ 'labels.dataHoraAutorizacao' | translate }}</label>\r\n                    <input id=\"dataHoraAutorizacao\" name=\"dataHoraAutorizacao\"\r\n                        value=\"{{data?.dtAutorizacao | date:'dd/MM/yyyy HH:mm:ss'}}\"\r\n                        class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-2 col-sm-12 mt-4\">\r\n                <div class=\"custom-control custom-checkbox\">\r\n                    <input id=\"complementar\" name=\"complementar\" [ngModel]=\"data.complementar === 'S'\"\r\n                        class=\"custom-control-input checkbox-success\" type=\"checkbox\" disabled>\r\n                    <label class=\"custom-control-label\" for=\"complementar\">{{'labels.complementar' | translate}}</label>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-3 col-sm-12 mt-4\">\r\n                <div class=\"custom-control custom-checkbox\">\r\n                    <input id=\"transferenciaLote\" name=\"transferenciaLote\" [ngModel]=\"data.transferencia === 'S'\"\r\n                        class=\"custom-control-input checkbox-success\" type=\"checkbox\" disabled>\r\n                    <label class=\"custom-control-label\" for=\"transferenciaLote\">{{'labels.transferenciaLote' |\r\n                        translate}}</label>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-7 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <app-input-description id=\"cliente\" name=\"cliente\" label=\"cliente\"\r\n                        [valueDescription]=\"data?.cliente?.fantasia\" [valueID]=\"data?.destinatarioIdCliente\"\r\n                        [valueDoc]=\"data?.cliente?.cgcCpf\">\r\n                    </app-input-description>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-3 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"ucr\">{{'labels.ucr' | translate}}</label>\r\n                    <input id=\"ucr\" name=\"ucr\" value=\"{{data.numUcr}}\" class=\"form-control form-control-sm\" disabled\r\n                        maxlength=\"15\" type=\"text\" />\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-7 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <app-input-description id=\"emitente\" name=\"emitente\" label=\"emitente\"\r\n                        [valueDescription]=\"data?.emitente?.fantasia\" [valueID]=\"data?.destinatarioIdEmitente\"\r\n                        [valueDoc]=\"data?.emitente?.cgcCpf\">\r\n                    </app-input-description>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-3 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"regTerno\">{{'labels.regTerno' | translate}}</label>\r\n                    <app-combo-terno id=\"regTerno\" name=\"regTerno\" ordenarPorDescricao=\"true\" [(ngModel)]=\"data.ternoId\"\r\n                        [disabled]=\"true\">\r\n                    </app-combo-terno>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-7 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <app-input-description id=\"produto\" name=\"produto\" label=\"produto\"\r\n                        [valueDescription]=\"data?.material?.fantasia\" [valueID]=\"data?.materialId\">\r\n                    </app-input-description>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-3 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"ordemServico\">{{'labels.ordemServico' | translate}}</label>\r\n                    <input id=\"ordemServico\" name=\"ordemServico\" value=\"{{data?.osg?.numeroOsg}}\"\r\n                        class=\"form-control form-control-sm\" disabled type=\"text\" />\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-3 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label>{{ \"labels.lote\" | translate }}</label>\r\n                    <input id=\"lote\" name=\"lote\" class=\"form-control form-control-sm\" value=\"{{data?.loteId}}\" disabled>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-2 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label>{{ \"labels.valorUnitario\" | translate }}</label>\r\n                    <input id=\"valorUnitario\" name=\"valorUnitario\" class=\"form-control form-control-sm linha\"\r\n                        type=\"text\" value=\"{{ data?.lote?.precoArmazenado | formatCurrency: 9 }}\" disabled />\r\n                    <span><strong>{{ data?.lote?.unidadeId }}</strong></span>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-3\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"tipoDocTransporte\">{{'labels.tipoDocTransporte' | translate}}</label>\r\n                    <app-combo-tipo-documento-transp id=\"tipoDocTransporte\" name=\"tipoDocTransporte\"\r\n                        [(ngModel)]=\"data.tipoDocumentoTranspId\" [disabled]=\"true\">\r\n                    </app-combo-tipo-documento-transp>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"docTranspNumero\">{{'labels.numero' | translate}}</label>\r\n                    <input id=\"docTranspNumero\" name=\"docTranspNumero\" data-title=\"{{'labels.numero' | translate}}\"\r\n                        type=\"text\" class=\"form-control form-control-sm\"\r\n                        value=\"{{ data.docTranspNumero | mask: maskDocTransNumero }}\" disabled />\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-4\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"chaveDocTransp\">{{'labels.chaveDocTransp' | translate}}</label>\r\n                    <input id=\"chaveDocTransp\" name=\"chaveDocTransp\"\r\n                        data-title=\"{{'labels.chaveDocTransp' | translate}}\" type=\"text\"\r\n                        class=\"form-control form-control-sm\" value=\"{{ data.chaveDocTransp }}\" disabled />\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"docTranspEmissao\">{{'labels.emissao' | translate}}</label>\r\n                    <input id=\"docTranspEmissao\" name=\"docTranspEmissao\"\r\n                        value=\"{{data?.docTranspEmissao | date:'dd/MM/yyyy'}}\" disabled\r\n                        class=\"form-control form-control-sm\">\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-3\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"tpFrete\">{{'labels.tpFrete' | translate}}</label>\r\n                    <app-combo-padrao id=\"tpFrete\" name=\"tpFrete\" tabela=\"TipoFrete\" descricao=\"DescrTipoFrete\"\r\n                        chave=\"TipoFrete\" ativos=\"true\" [(ngModel)]=\"data.tipoFrete\" [disabled]=\"true\">\r\n                    </app-combo-padrao>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-6\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"modeloDocumento\">{{'labels.modeloDocumento' | translate}}</label>\r\n                    <app-combo-modelo-nota id=\"modeloDocumento\" name=\"modeloDocumento\" flagAtivo=\"S\"\r\n                        [(ngModel)]=\"data.modNota\" [disabled]=\"true\">\r\n                    </app-combo-modelo-nota>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-6\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"chaveDaNFE\">{{'labels.chaveDaNFE' | translate}}</label>\r\n                    <div class=\"input-group\">\r\n                        <input id=\"chaveDaNFE\" name=\"chaveDaNFE\" type=\"text\" class=\"form-control form-control-sm\"\r\n                            [(ngModel)]=\"data.chaveNfe\" disabled data-title=\"{{'labels.chaveDaNFE' | translate}}\"\r\n                            maxlength=\"54\" mask=\"0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000\">\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"numeroDocto\">{{'labels.numeroDocto' | translate}}</label>\r\n                    <input id=\"numeroDocto\" name=\"numeroDocto\" class=\"form-control form-control-sm\" type=\"text\"\r\n                        [(ngModel)]=\"data.docto\" disabled data-title=\"{{'labels.numeroDocto' | translate}}\">\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"serie\">{{'labels.serie' | translate}}</label>\r\n                    <app-combo-serie-nota id=\"serie\" name=\"serie\" flagAtivo=\"S\" [(ngModel)]=\"data.serie\"\r\n                        [disabled]=\"true\">\r\n                    </app-combo-serie-nota>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"data\">{{'labels.data' | translate}}</label>\r\n                    <input id=\"data\" name=\"data\" value=\"{{data?.dataDocumento | date:'dd/MM/yyyy'}}\"\r\n                        class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"pesoDoDocumento\">{{'labels.pesoDoDocumento' | translate}}</label>\r\n                    <input id=\"pesoDoDocumento\" name=\"pesoDoDocumento\" class=\"form-control form-control-sm\" type=\"text\"\r\n                        disabled value=\"{{data?.pesoDoc | formatCurrency:0}}\">\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"quantidDoc\">{{'labels.quantidDoc' | translate}}</label>\r\n                    <input id=\"quantidDoc\" name=\"quantidDoc\" class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                        value=\"{{data?.quantidDoc | formatCurrency:0}}\">\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"valorDocto\">{{ \"labels.valorDocto\" | translate }}</label>\r\n                    <input id=\"valorDocto\" name=\"valorDocto\" class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                        value=\"{{data?.totItem | formatCurrency:2}}\" />\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-2\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"pesoRateio\">{{'labels.pesoRateio' | translate}}</label>\r\n                    <input id=\"pesoRateio\" name=\"pesoRateio\" class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                        value=\"{{data?.pesoRateio | formatCurrency:0}}\" />\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-6\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"complNf\">{{'labels.complDocumento' | translate}}</label>\r\n                    <input id=\"complNf\" name=\"complNf\" class=\"form-control form-control-sm\" type=\"text\"\r\n                        value=\"{{data?.complNf}}\" disabled>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row groupFields\">\r\n            <div class=\"col-md-6\">\r\n                <div class=\"row\">\r\n                    <div class=\"col-md-4\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"notaOrigem\">{{ \"labels.notaOrigem\" | translate }}</label>\r\n                            <input id=\"notaOrigem\" name=\"notaOrigem\" class=\"form-control form-control-sm\" type=\"text\"\r\n                                disabled value=\"{{data?.notaOrigem}}\" />\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-md-4\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"densidadeDestino\">{{ \"labels.densidadeDestino\" | translate }}</label>\r\n                            <input id=\"densidadeDestino\" name=\"densidadeDestino\" class=\"form-control form-control-sm\"\r\n                                type=\"text\" disabled value=\"{{data?.densidadeOri | formatCurrency:8}}\" />\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-md-4\">\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\" id=\"deposito\" class=\"form-control form-control-sm\"\r\n                                type=\"text\" disabled value=\"{{data?.tanqueId}}\">\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-md-4\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"qtdeDepositos\">{{ \"labels.qtdeDepositos\" | translate }}</label>\r\n                            <input id=\"qtdeDepositos\" name=\"qtdeDepositos\" class=\"form-control form-control-sm\"\r\n                                type=\"text\" disabled value=\"{{data?.quantid | formatCurrency:0}}\" />\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-md-6\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"plataforma\">{{ 'labels.plataforma' | translate}}</label>\r\n                            <app-combo-padrao id=\"plataforma\" name=\"plataforma\" tabela=\"Plataforma\"\r\n                                descricao=\"DescrPlataforma\" chave=\"CodPlataforma\" ativos=\"true\"\r\n                                [(ngModel)]=\"data.plataformaId\" [disabled]=\"true\">\r\n                            </app-combo-padrao>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-md-4\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label>{{ \"labels.pesoLiquido\" | translate }}</label>\r\n                            <input id=\"pesoLiquido\" name=\"pesoLiquido\" class=\"form-control form-control-sm\" type=\"text\"\r\n                                disabled value=\"{{data?.pesoLiq | formatCurrency:0}}\" />\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-md-4\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label>{{ \"labels.pesoOrigem\" | translate }}</label>\r\n                            <input id=\"pesoOrigem\" name=\"pesoOrigem\" class=\"form-control form-control-sm\" type=\"text\"\r\n                                currencyMask maxlength=\"15\" disabled [options]=\"funcoesService.optionCurrency(0)\"\r\n                                [(ngModel)]=\"data.kilos\" />\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-md-6\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"inicioDaOperacao\">{{\"labels.inicioDaOperacao\" | translate }}</label>\r\n                            <input id=\"inicioDaOperacao\" name=\"inicioDaOperacao\" class=\"dataHora\"\r\n                                value=\"{{data?.dtIniOper | date:'dd/MM/yyyy HH:mm:ss'}}\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-md-6\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"finalDaOperacao\">{{\"labels.finalDaOperacao\" | translate}}</label>\r\n                            <input id=\"finalDaOperacao\" name=\"finalDaOperacao\" class=\"dataHora\"\r\n                                value=\"{{data?.dtFimOper | date:'dd/MM/yyyy HH:mm:ss'}}\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class=\"col-md-6\" *ngIf=\"isControle20\">\r\n                <app-card-container tituloCard=\"movimentacaoA20\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-6\">\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"volume\">{{ \"labels.volume\" | translate }}</label>\r\n                                        <input id=\"volume\" name=\"volume\" class=\"form-control form-control-sm\"\r\n                                            type=\"text\" disabled value=\"{{data?.volume | formatCurrency:0}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"densidadeAmostra\">{{ \"labels.densidadeAmostra\" | translate\r\n                                            }}</label>\r\n                                        <input id=\"densidadeAmostra\" name=\"densidadeAmostra\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                            value=\"{{data?.densidadeAmostra | formatCurrency:0}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"temperaturaAmostra\">{{ \"labels.temperaturaAmostra\" | translate\r\n                                            }}</label>\r\n                                        <input id=\"temperaturaAmostra\" name=\"temperaturaAmostra\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                            value=\"{{data?.temperaturaAmostra | formatCurrency:1}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"temperaturaCarroTanque\">{{ \"labels.temperaturaCarroTanque\" |\r\n                                            translate }}</label>\r\n                                        <input id=\"temperaturaCarroTanque\" name=\"temperaturaCarroTanque\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                            value=\"{{data?.temperaturaCarroTanque | formatCurrency:1}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-md-6\">\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"densidadeCorrigida\">{{ \"labels.densidadeCorrigida\" | translate\r\n                                            }}</label>\r\n                                        <input id=\"densidadeCorrigida\" name=\"densidadeCorrigida\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                            value=\"{{data?.densidadeCorrigida | formatCurrency:5}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"fatorCorrecao\">{{ \"labels.fatorCorrecao\" | translate }}</label>\r\n                                        <input id=\"fatorCorrecao\" name=\"fatorCorrecao\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                            value=\"{{data?.fatorCorrecao | formatCurrency:5}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"volumeCorrigido\">{{ \"labels.volumeCorrigido\" | translate }}</label>\r\n                                        <input id=\"volumeCorrigido\" name=\"volumeCorrigido\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                            value=\"{{data?.volumeCorrigido | formatCurrency:0}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"pesoCorrigido\">{{ \"labels.pesoCorrigido\" | translate }}</label>\r\n                                        <input id=\"pesoCorrigido\" name=\"pesoCorrigido\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                            value=\"{{data?.pesoCorrigido | formatCurrency:0}}\" />\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </app-card-container>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-6 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"lacreAmostra\">{{ \"labels.lacreAmostra\" | translate }}</label>\r\n                    <input id=\"lacreAmostra\" name=\"lacreAmostra\" value=\"{{data.lacreAmostra}}\"\r\n                        class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"row\">\r\n            <div class=\"col-md-6 col-sm-12\">\r\n                <div class=\"form-group form-group-sm\">\r\n                    <label for=\"observacoes\">{{ \"labels.observacoes\" | translate }}</label>\r\n                    <input id=\"observacoes\" name=\"observacoes\" class=\"form-control form-control-sm\" type=\"text\"\r\n                        maxlength=\"70\" disabled [(ngModel)]=\"data.observacoes\" />\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </form>\r\n</div>\r\n<div class=\"row mt-2\" *ngIf=\"!showAdd\">\r\n    <div class=\"col-lg-12\">\r\n        <div class=\"table-overflow\">\r\n            <table class=\"table table-striped table-hover form-control-sm\">\r\n                <thead>\r\n                    <tr>\r\n                        <th>{{ 'labels.autorizacao' | translate }}</th>\r\n                        <th>{{ 'labels.data' | translate }}</th>\r\n                        <th>{{ 'labels.cliente' | translate }}</th>\r\n                        <th>{{ 'labels.emitente' | translate }}</th>\r\n                        <th>{{ 'labels.produto' | translate }}</th>\r\n                        <th>{{ 'labels.lote' | translate }}</th>\r\n                        <th>{{ 'labels.deposito' | translate }}</th>\r\n                        <th>{{ 'labels.numeroDocto' | translate }}</th>\r\n                        <th class=\"text-right\">{{ 'labels.pesoDoc' | translate }}</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n                    <tr *ngFor=\"let c of dados | removeExcluidos\" class=\"clickable\"\r\n                        [ngClass]=\"{ 'info' : c === dataAux }\" (click)=\"(dataAux = c)\">\r\n                        <td>{{c.autorizacao}}</td>\r\n                        <td>{{c.dtAutorizacao | date:'dd/MM/yyyy HH:mm' }}</td>\r\n                        <td>{{c.cliente?.fantasia}} ( {{c.destinatarioIdCliente}} )</td>\r\n                        <td>{{c.emitente?.fantasia}} ( {{c.destinatarioIdEmitente}} )</td>\r\n                        <td>{{c.material?.descrMater}} ( {{c.materialId}} )</td>\r\n                        <td>{{c.loteId}}</td>\r\n                        <td>{{c.tanqueId}}</td>\r\n                        <td>{{c.docto}} / {{c.serie}}</td>\r\n                        <td class=\"text-right\">{{c.pesoDoc| formatCurrency:0}}</td>\r\n                    </tr>\r\n                    <tr *ngIf=\"!dados || dados.length === 0\">\r\n                        <th colspan=\"9\">\r\n                            {{'messages.nenhumRegistroEncontrado' | translate }}\r\n                        </th>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component.ts":
/*!*****************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component.ts ***!
  \*****************************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaAlteraDadosComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaAlteraDadosComponent", function() { return RequisicaoOutrasDescargaAlteraDadosComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../requisicao-outras-descarga.service */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.service.ts");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _pages_cadastro_modelo_nota_modelo_nota_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../../../../../../pages/cadastro/modelo-nota/modelo-nota.service */ "./src/app/pages/cadastro/modelo-nota/modelo-nota.service.ts");
/* harmony import */ var _pages_controle_nota_entrada_nota_entrada_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../../../../../../pages/controle/nota-entrada/nota-entrada.service */ "./src/app/pages/controle/nota-entrada/nota-entrada.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/boolean-utils/boolean-utils.static.service */ "./src/app/shared/services/funcoes/boolean-utils/boolean-utils.static.service.ts");
/* harmony import */ var _shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};











var RequisicaoOutrasDescargaAlteraDadosComponent = /** @class */ (function () {
    function RequisicaoOutrasDescargaAlteraDadosComponent(service, messageService, funcoesService, modeloNotaService, notaFiscalService) {
        this.service = service;
        this.messageService = messageService;
        this.funcoesService = funcoesService;
        this.modeloNotaService = modeloNotaService;
        this.notaFiscalService = notaFiscalService;
        this.out = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.modNotas = [];
        this.mensagens = [];
        this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        this.showTable = true;
    }
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.open = function (requisicaoOutrasDescargaId) {
        var _this = this;
        this.showTable = true;
        this.modNotas = [];
        this.modeloNotaService.get().subscribe(function (resp) {
            if (resp) {
                _this.modNotas = resp.filter(function (val) {
                    if (val.flagAtivo === "S" && val.sitReg !== 'E') {
                        return val;
                    }
                });
            }
        });
        this.preLoad(requisicaoOutrasDescargaId, function () {
            _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_9__["ModalUtilsStaticService"].openModal("requisicao-outras-descarga-altera-dados-dialog");
        });
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.preLoad = function (requisicaoOutrasDescargaId, callBack) {
        var _this = this;
        this.service._getById(requisicaoOutrasDescargaId).subscribe(function (r) { return __awaiter(_this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                this.data = r;
                if (callBack) {
                    callBack();
                }
                return [2 /*return*/];
            });
        }); });
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.onSubmit = function (form) {
        var _this = this;
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        if (!this.validaChaveNfe()) {
            return;
        }
        this.messageService.confirm("titles.requisicaoOutrasDescarga", "messages.confirmaAlteracaoDeDados", null, function () {
            _this.service.alteraDadosNota({
                requisicaoOutrasDescargaId: _this.nota.requisicaoOutrasDescargaId,
                item: _this.nota.requisicaoOutrasDescargaItemId,
                modNota: _this.nota.modNota,
                chaveNFE: _this.nota.chaveNfe,
                dtEmissao: _this.nota.dataDocumento,
                nota: _this.nota.docto,
                serieNF: _this.nota.serie
            }).subscribe(function (resp) {
                if (!resp.isValid) {
                    _this.mensagens = _this.messageService.validationResult(resp);
                    _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__["EventEmitterService"].get("backError").emit(_this.mensagens);
                    return;
                }
                _this.messageService.saveSuccess("titles.requisicaoOutrasDescarga");
                _this.preLoad(_this.nota.requisicaoOutrasDescargaId, function () {
                    _this.canItem();
                    _this.out.emit();
                });
            });
        });
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.validaDtEmissao = function (params) {
        if (_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["DateTimeUtilsStaticService"].maiorAHoje(params.dtEmissao)) {
            this.messageService.warning("titles.requisicaoOutrasDescarga", "messages.dataNaoPodeSerMaiorQueAtual");
            return;
        }
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.selectedModeloNota = function (e) {
        if (!e || (e && (e.target.value === "0" || e.target.value === ""))) {
            return;
        }
        this.data.chaveNFE = null;
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.validaChaveNfe = function () {
        if (this.funcoesService.isNotUndefinedOrNull(this.nota) && this.funcoesService.isNotUndefinedOrNull(this.nota.chaveNfe)) {
            if (this.funcoesService.stringUtils.isEmpty(this.nota.docto)) {
                this.nota.docto = +this.funcoesService.getNumeroNota(this.nota.chaveNfe);
            }
            if (this.funcoesService.stringUtils.isEmpty(this.nota.serie)) {
                this.nota.serie = this.funcoesService.getSerieNota(this.nota.chaveNfe);
            }
            var result = this.funcoesService.validaChaveNFe(this.nota.chaveNfe, this.nota.cliente, this.nota.docto, this.nota.serie);
            if (!result) {
                this.messageService.warning("titles.validacao", "messages.chaveNfeInvalida");
                return false;
            }
            return true;
        }
        return false;
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.importarDanfe = function (chave) {
        var _this = this;
        if (this.funcoesService.isUndefinedOrNull(chave) || (!this.funcoesService.isUndefinedOrNull(chave) && chave.trim() === '')) {
            this.messageService.info('labels.chaveNFE', 'messages.chaveNfeDeveSerInformada');
            return;
        }
        if (!this.validaChaveNfe())
            return;
        this.funcoesService.nfeHelper.importaDanfe({
            "chave": chave,
            "destinatarioIdCliente": this.data.destinatarioIdCliente
        })
            .subscribe(function (result) {
            if (!result.validationResult.isValid) {
                _this.mensagens = _this.messageService.validationResult(result.validationResult);
                _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__["EventEmitterService"].get("backError").emit(_this.mensagens);
                return;
            }
            _this.nota.nfeAuto = "S";
            _this.nota.serie = result.serie;
            _this.nota.docto = result.numero;
            _this.nota.dataDocumento = result.dtEmissao;
        });
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.validaNota = function () {
        var _this = this;
        if (this.funcoesService.isNotUndefinedOrNull(this.nota)) {
            if (this.nota.docto !== this.docto) {
                this.messageService.confirm("titles.requisicaoOutrasDescarga", "messages.numeroNotaDifAutDescargaDesejaContinuar", null, function () {
                    if (_this.funcoesService.isNotUndefinedOrNull(_this.nota.nota)) {
                        _this.notaFiscalService.verificaNotaLiberada({
                            nota: _this.nota.docto,
                            destinatarioIdCliente: _this.data.destinatarioIdCliente,
                            destinatarioIdEmitente: 0,
                            serieNf: _this.nota.serie,
                            modNota: _this.nota.modNotaverificaNotaLiberada
                        }).subscribe(function (resp) {
                            if (_this.funcoesService.isPositive(resp)) {
                                _this.messageService.confirm("titles.requisicaoOutrasDescarga", "messages.notaFiscalJaLancadaDesejaContinuar", null, function () { }, false, function () { _this.nota.nota = _this.nota; });
                            }
                        });
                    }
                }, false, function () { return _this.data.nota = _this.nota; });
            }
        }
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.editItem = function (nota) {
        this.showTable = false;
        this.nota = nota;
        this.docto = nota.docto;
    };
    RequisicaoOutrasDescargaAlteraDadosComponent.prototype.canItem = function () {
        this.nota = undefined;
        this.showTable = true;
    };
    Object.defineProperty(RequisicaoOutrasDescargaAlteraDadosComponent.prototype, "isRequiredDadosNfe", {
        get: function () {
            if (!this.data)
                return false;
            return this.data.modNota === "55";
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(RequisicaoOutrasDescargaAlteraDadosComponent.prototype, "isDisabledDanfeImportada", {
        get: function () {
            if (!this.data)
                return true;
            if (_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_6__["BooleanUtilsStaticService"].toBoolean(this.data.nfeAuto))
                return true;
            if (this.isRequiredDadosNfe && _shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_6__["BooleanUtilsStaticService"].toBoolean(this.importaDanfeTmp))
                return true;
            return false;
        },
        enumerable: true,
        configurable: true
    });
    RequisicaoOutrasDescargaAlteraDadosComponent.ctorParameters = function () { return [
        { type: _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_1__["RequisicaoOutrasDescargaService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"] },
        { type: _pages_cadastro_modelo_nota_modelo_nota_service__WEBPACK_IMPORTED_MODULE_3__["ModeloNotaService"] },
        { type: _pages_controle_nota_entrada_nota_entrada_service__WEBPACK_IMPORTED_MODULE_4__["NotaEntradaService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], RequisicaoOutrasDescargaAlteraDadosComponent.prototype, "out", void 0);
    RequisicaoOutrasDescargaAlteraDadosComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-requisicao-outras-descarga-altera-dados",
            template: __importDefault(__webpack_require__(/*! raw-loader!./requisicao-outras-descarga-altera-dados.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_1__["RequisicaoOutrasDescargaService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"],
            _pages_cadastro_modelo_nota_modelo_nota_service__WEBPACK_IMPORTED_MODULE_3__["ModeloNotaService"],
            _pages_controle_nota_entrada_nota_entrada_service__WEBPACK_IMPORTED_MODULE_4__["NotaEntradaService"]])
    ], RequisicaoOutrasDescargaAlteraDadosComponent);
    return RequisicaoOutrasDescargaAlteraDadosComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.scss":
/*!*********************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.scss ***!
  \*********************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".linha {\n  display: inline-block;\n  width: 75%;\n  margin-right: 5px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2FyZ2lsbC9jb25zdWx0YXMvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EtZGFkb3MtYW5hbGlzZS9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxccGFnZXNcXGVzcGVjaWZpY29zXFxjYXJnaWxsXFxjb25zdWx0YXNcXHJlcXVpc2ljYW8tb3V0cmFzLWRlc2NhcmdhXFxyZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1kYWRvcy1hbmFsaXNlXFxyZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1kYWRvcy1hbmFsaXNlLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9lc3BlY2lmaWNvcy9jYXJnaWxsL2NvbnN1bHRhcy9yZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS9yZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1kYWRvcy1hbmFsaXNlL3JlcXVpc2ljYW8tb3V0cmFzLWRlc2NhcmdhLWRhZG9zLWFuYWxpc2UuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxxQkFBQTtFQUNBLFVBQUE7RUFDQSxpQkFBQTtBQ0NGIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2FyZ2lsbC9jb25zdWx0YXMvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EtZGFkb3MtYW5hbGlzZS9yZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1kYWRvcy1hbmFsaXNlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmxpbmhhIHtcclxuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgd2lkdGg6IDc1JTtcclxuICBtYXJnaW4tcmlnaHQ6IDVweDtcclxufSIsIi5saW5oYSB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgd2lkdGg6IDc1JTtcbiAgbWFyZ2luLXJpZ2h0OiA1cHg7XG59Il19 */");

/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.ts":
/*!*******************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.ts ***!
  \*******************************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaDadosAnaliseComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaDadosAnaliseComponent", function() { return RequisicaoOutrasDescargaDadosAnaliseComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _requisicao_outras_descarga_dados_analise_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./requisicao-outras-descarga-dados-analise.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.model.ts");
/* harmony import */ var _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../requisicao-outras-descarga.service */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.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 RequisicaoOutrasDescargaDadosAnaliseComponent = /** @class */ (function () {
    function RequisicaoOutrasDescargaDadosAnaliseComponent(service) {
        this.service = service;
        this.data = new _requisicao_outras_descarga_dados_analise_model__WEBPACK_IMPORTED_MODULE_1__["RequisicaoOutrasDescargaDadosAnalise"]();
    }
    RequisicaoOutrasDescargaDadosAnaliseComponent.ctorParameters = function () { return [
        { type: _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_2__["RequisicaoOutrasDescargaService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Array)
    ], RequisicaoOutrasDescargaDadosAnaliseComponent.prototype, "dados", void 0);
    RequisicaoOutrasDescargaDadosAnaliseComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-requisicao-outras-descarga-dados-analise",
            template: __importDefault(__webpack_require__(/*! raw-loader!./requisicao-outras-descarga-dados-analise.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./requisicao-outras-descarga-dados-analise.component.scss */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_2__["RequisicaoOutrasDescargaService"]])
    ], RequisicaoOutrasDescargaDadosAnaliseComponent);
    return RequisicaoOutrasDescargaDadosAnaliseComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.model.ts":
/*!***************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.model.ts ***!
  \***************************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaDadosAnalise, RequisicaoOutrasDescargaAnalise */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaDadosAnalise", function() { return RequisicaoOutrasDescargaDadosAnalise; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaAnalise", function() { return RequisicaoOutrasDescargaAnalise; });
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var app_pages_cadastro_caract_tipica_caract_tipica_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/pages/cadastro/caract-tipica/caract-tipica.model */ "./src/app/pages/cadastro/caract-tipica/caract-tipica.model.ts");
/* harmony import */ var app_pages_cadastro_caract_tipica_refer_caract_tipica_refer_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/caract-tipica-refer/caract-tipica-refer.model */ "./src/app/pages/cadastro/caract-tipica-refer/caract-tipica-refer.model.ts");
/* harmony import */ var _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../requisicao-outras-descarga.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.model.ts");
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var RequisicaoOutrasDescargaDadosAnalise = /** @class */ (function () {
    function RequisicaoOutrasDescargaDadosAnalise() {
        this.analises = [];
    }
    return RequisicaoOutrasDescargaDadosAnalise;
}());

var RequisicaoOutrasDescargaAnalise = /** @class */ (function () {
    function RequisicaoOutrasDescargaAnalise() {
        this.material = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__["Material"]();
        this.caractTipica = new app_pages_cadastro_caract_tipica_caract_tipica_model__WEBPACK_IMPORTED_MODULE_1__["CaractTipica"]();
        this.caractTipicaRefer = new app_pages_cadastro_caract_tipica_refer_caract_tipica_refer_model__WEBPACK_IMPORTED_MODULE_2__["CaractTipicaRefer"]();
        this.requisicaoOutrasDescarga = new _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_3__["RequisicaoOutrasDescarga"]();
    }
    return RequisicaoOutrasDescargaAnalise;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.component.ts":
/*!*****************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.component.ts ***!
  \*****************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaFilterComponent", function() { return RequisicaoOutrasDescargaFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../requisicao-outras-descarga.service */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
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 RequisicaoOutrasDescargaFilterComponent = /** @class */ (function () {
    function RequisicaoOutrasDescargaFilterComponent(service) {
        this.service = service;
        this.outFilter = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    RequisicaoOutrasDescargaFilterComponent.prototype.onSubmit = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(null);
        if (form.invalid) {
            return;
        }
        jQuery("#requisicao-outras-descarga-filter-dialog").modal("hide");
        this.outFilter.emit(true);
    };
    RequisicaoOutrasDescargaFilterComponent.ctorParameters = function () { return [
        { type: _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_1__["RequisicaoOutrasDescargaService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], RequisicaoOutrasDescargaFilterComponent.prototype, "outFilter", void 0);
    RequisicaoOutrasDescargaFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-requisicao-outras-descarga-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./requisicao-outras-descarga-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_1__["RequisicaoOutrasDescargaService"]])
    ], RequisicaoOutrasDescargaFilterComponent);
    return RequisicaoOutrasDescargaFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.model.ts":
/*!*************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.model.ts ***!
  \*************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaFilter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaFilter", function() { return RequisicaoOutrasDescargaFilter; });
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __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 RequisicaoOutrasDescargaFilter = /** @class */ (function () {
    function RequisicaoOutrasDescargaFilter() {
        this.dataI = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["DateTimeUtilsStaticService"].addDays(new Date(), -30);
        this.dataF = new Date();
        this.tipoTransp = "";
    }
    return RequisicaoOutrasDescargaFilter;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-form/requisicao-outras-descarga-form.component.ts":
/*!*************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-form/requisicao-outras-descarga-form.component.ts ***!
  \*************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaFormComponent", function() { return RequisicaoOutrasDescargaFormComponent; });
/* 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 app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var app_shared_services_funcoes_object_utils_object_utils_static_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/funcoes/object-utils/object-utils.static.service */ "./src/app/shared/services/funcoes/object-utils/object-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _requisicao_outras_descarga_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../requisicao-outras-descarga.constants */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.constants.ts");
/* harmony import */ var _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./../requisicao-outras-descarga.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.model.ts");
/* harmony import */ var _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./../requisicao-outras-descarga.service */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.service.ts");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_pages_cadastro_local_de_transbordo_local_de_transbordo_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/pages/cadastro/local-de-transbordo/local-de-transbordo.service */ "./src/app/pages/cadastro/local-de-transbordo/local-de-transbordo.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};













var RequisicaoOutrasDescargaFormComponent = /** @class */ (function (_super) {
    __extends(RequisicaoOutrasDescargaFormComponent, _super);
    function RequisicaoOutrasDescargaFormComponent(router, message, activatedRoute, service, localTransbordoService, permissoesUtils, configuracao, funcoesService) {
        var _this = _super.call(this, new _requisicao_outras_descarga_constants__WEBPACK_IMPORTED_MODULE_8__["RequisicaoOutrasDescargaConstants"](), funcoesService) || this;
        _this.router = router;
        _this.message = message;
        _this.activatedRoute = activatedRoute;
        _this.service = service;
        _this.localTransbordoService = localTransbordoService;
        _this.permissoesUtils = permissoesUtils;
        _this.configuracao = configuracao;
        _this.funcoesService = funcoesService;
        _this.data = new _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_9__["RequisicaoOutrasDescarga"]();
        _this.constantes = new _requisicao_outras_descarga_constants__WEBPACK_IMPORTED_MODULE_8__["RequisicaoOutrasDescargaConstants"]();
        _this.locaisTransbordo = [];
        _this.mascaras = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/cargill/consultas/requisicaoOutrasDescarga";
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    RequisicaoOutrasDescargaFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.configuracao.getConfig(this.constantes.listaParam, function () { return _this.loadConfig(); });
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { return __awaiter(_this, void 0, void 0, function () {
            var id;
            var _this = this;
            return __generator(this, function (_a) {
                id = this.activatedRoute.snapshot.paramMap.get("id");
                this.service._getById(id).subscribe(function (resp) {
                    _this.trataData(resp);
                });
                return [2 /*return*/];
            });
        }); }, function () { return _this.permissoesUtils.back(); });
    };
    RequisicaoOutrasDescargaFormComponent.prototype.loadConfig = function () {
        this.service.configBal.osgNaOCD = this.configuracao.boolean("BAL", "OsgNaOCD");
    };
    RequisicaoOutrasDescargaFormComponent.prototype.trataData = function (data) {
        return __awaiter(this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                if (!data) {
                    this.message.warning("titles.requisicaoOutrasDescarga", "messages.idInformadoNaoExiste");
                    this.back();
                }
                this.data = app_shared_services_funcoes_object_utils_object_utils_static_service__WEBPACK_IMPORTED_MODULE_4__["ObjectUtilsStaticService"].clone(data);
                this.data.requisicaoOutrasDescargaItems.map(function (s, idx) { return (s.requisicaoOutrasDescargaItemId = idx + 1); });
                this.getLocalTransbordo();
                return [2 /*return*/];
            });
        });
    };
    RequisicaoOutrasDescargaFormComponent.prototype.getLocalTransbordo = function () {
        var _this = this;
        this.localTransbordoService.get().subscribe(function (resp) {
            _this.locaisTransbordo = resp;
        });
    };
    RequisicaoOutrasDescargaFormComponent.prototype.back = function () {
        this.funcoesService.desabilitarFiltro();
        this.router.navigate(["" + this.target + this.pageRoute]);
    };
    RequisicaoOutrasDescargaFormComponent.prototype.refreshItens = function (itens) {
        this.data.requisicaoOutrasDescargaItems = itens;
    };
    RequisicaoOutrasDescargaFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_10__["RequisicaoOutrasDescargaService"] },
        { type: app_pages_cadastro_local_de_transbordo_local_de_transbordo_service__WEBPACK_IMPORTED_MODULE_12__["LocalTransbordoService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"] }
    ]; };
    RequisicaoOutrasDescargaFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-requisicao-outras-descarga-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./requisicao-outras-descarga-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-form/requisicao-outras-descarga-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_10__["RequisicaoOutrasDescargaService"],
            app_pages_cadastro_local_de_transbordo_local_de_transbordo_service__WEBPACK_IMPORTED_MODULE_12__["LocalTransbordoService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"]])
    ], RequisicaoOutrasDescargaFormComponent);
    return RequisicaoOutrasDescargaFormComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_11__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-index.component.ts":
/*!***************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-index.component.ts ***!
  \***************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaIndexComponent", function() { return RequisicaoOutrasDescargaIndexComponent; });
/* 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_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_pages_veiculo_entrada_veiculo_entrada_veiculo_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/veiculo/entrada-veiculo/entrada-veiculo.service */ "./src/app/pages/veiculo/entrada-veiculo/entrada-veiculo.service.ts");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.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_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _requisicao_outras_descarga_filter_requisicao_outras_descarga_filter_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.model.ts");
/* harmony import */ var _requisicao_outras_descarga_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../requisicao-outras-descarga.constants */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.constants.ts");
/* harmony import */ var _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../requisicao-outras-descarga.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.model.ts");
/* harmony import */ var _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../requisicao-outras-descarga.service */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.service.ts");
/* harmony import */ var _requisicao_outras_descarga_index_model__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./requisicao-outras-descarga-index.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-index.model.ts");
/* harmony import */ var _requisicao_outras_descarga_altera_dados_requisicao_outras_descarga_altera_dados_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

















var RequisicaoOutrasDescargaIndexComponent = /** @class */ (function (_super) {
    __extends(RequisicaoOutrasDescargaIndexComponent, _super);
    function RequisicaoOutrasDescargaIndexComponent(router, service, configuracao, datatables, message, permissoesUtils, funcoes, loginService, entradaVeiculoService) {
        var _this = _super.call(this, new _requisicao_outras_descarga_constants__WEBPACK_IMPORTED_MODULE_12__["RequisicaoOutrasDescargaConstants"](), funcoes) || this;
        _this.router = router;
        _this.service = service;
        _this.configuracao = configuracao;
        _this.datatables = datatables;
        _this.message = message;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoes = funcoes;
        _this.loginService = loginService;
        _this.entradaVeiculoService = entradaVeiculoService;
        _this.requisicaoOutrasDescarga = new _requisicao_outras_descarga_index_model__WEBPACK_IMPORTED_MODULE_15__["RequisicaoOutrasDescargaIndex"]();
        _this.filtroReport = new _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_13__["RequisicaoOutrasDescargaFilterReport"]();
        _this.constantes = new _requisicao_outras_descarga_constants__WEBPACK_IMPORTED_MODULE_12__["RequisicaoOutrasDescargaConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/cargill/consultas/requisicaoOutrasDescarga";
        _this.alteraDadosNota = function () {
            _this.permissoesUtils.validRotina(_this.constantes.sisFormularioId, 8, function () { return _this.modalAlteraDadosNota.open(_this.requisicaoOutrasDescarga.requisicaoOutrasDescargaId); }, function () { });
        };
        return _this;
    }
    RequisicaoOutrasDescargaIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.configuracao.getConfig(this.constantes.listaParam, function () { return _this.loadConfig(); });
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { return __awaiter(_this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        if (!!this.loginService.isTokenExpired()) return [3 /*break*/, 3];
                        if (!this.funcoes.abrirFiltro) return [3 /*break*/, 1];
                        this.service.filtro = new _requisicao_outras_descarga_filter_requisicao_outras_descarga_filter_model__WEBPACK_IMPORTED_MODULE_11__["RequisicaoOutrasDescargaFilter"]();
                        this.funcoes.openModal("requisicao-outras-descarga-filter-dialog");
                        return [3 /*break*/, 3];
                    case 1: return [4 /*yield*/, this.refresh()];
                    case 2:
                        _a.sent();
                        _a.label = 3;
                    case 3: return [2 /*return*/];
                }
            });
        }); }, function () { return _this.permissoesUtils.back(); });
        _super.prototype.addFuncoes.call(this, [
            { action: 'alteraDadosNota', func: function () { return _this.alteraDadosNota; } },
        ]);
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.loadConfig = function () {
        this.service.configUni.obrChaveNFeEnt = this.configuracao.boolean("UNI", "ObrChaveNFeEnt");
        this.service.configUni.obrigaSerieNf = this.configuracao.boolean("STO", "ObrigaSerieNf");
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.executarFiltrar = function (event) {
        if (event)
            this.refresh();
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.filtrar = function () {
        jQuery("#requisicao-outras-descarga-filter-dialog").modal("show");
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.refresh = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _this = this;
            return __generator(this, function (_a) {
                this.service.getByFiltro(this.service.filtro).subscribe(function (resp) {
                    var columns = [
                        _this.datatables.getDataString("requisicaoOutrasDescargaId", "requisicao", "10%"),
                        _this.datatables.getDataString("ticketOrigem", "ficha", "10%"),
                        _this.datatables.getDataDateTime("dtRequisicao", "data", "DD/MM/YYYY HH:mm", "10%"),
                        _this.datatables.getDataString("tipoTranspDescricao", "tipoDeTransporte"),
                        _this.datatables.getDataString("placa", "placa", "10%"),
                        _this.datatables.getDataString("comboio", "comboio", "10%"),
                        _this.datatables.getDataString("anoComboio", "anoComboio", "10%"),
                        _this.datatables.getDataString("transportadoraFantasia", "transportador"),
                        _this.datatables.getDataDateTime("dtChegada", "dataChegada", "DD/MM/YYYY HH:mm", "10%"),
                        _this.datatables.getDataDateTime("dtSaida", "dataSaida", "DD/MM/YYYY HH:mm", "10%"),
                        _this.datatables.getDataDouble("pesoLiq", "pesoLiq", 0, false, "10%"),
                        _this.datatables.getDataString("produtos"),
                    ];
                    _this.datatables.toDataTable({ tableId: "dtRequisicaoOutrasDescarga", columns: columns, data: resp }, function (aData) { return (_this.requisicaoOutrasDescarga = aData); });
                });
                return [2 /*return*/];
            });
        });
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.outConsulta = function (event) {
        if (event) {
            this.refresh();
        }
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _this.constantes.paramRelatorio = {
                dataI: _this.service.filtro.dataI,
                dataF: _this.service.filtro.dataF,
                tipoTransp: _this.funcoes.getValue(_this.service.filtro.tipoTransp, "S"),
                ticketOrigem: _this.funcoes.getValue(_this.service.filtro.ticketOrigem, "S"),
                destinatarioIdTransportadora: _this.funcoes.getValue(_this.service.filtro.destinatarioIdTransportadora, "I")
            };
            _super.prototype.print.call(_this, null, true);
        });
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.itemSelecionado = function () {
        if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_8__["NumberUtilsStaticService"].isNotPositive(this.requisicaoOutrasDescarga.requisicaoOutrasDescargaId)) {
            this.message.warning("titles.requisicaoOutrasDescarga", "messages.selecioneUmRegistro");
            return false;
        }
        return true;
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.detail = function () {
        if (!this.itemSelecionado())
            return;
        this.router.navigate(["" + this.target + this.pageRoute, "detail", this.requisicaoOutrasDescarga.requisicaoOutrasDescargaId,]);
    };
    RequisicaoOutrasDescargaIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    RequisicaoOutrasDescargaIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_14__["RequisicaoOutrasDescargaService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_6__["ConfiguracaoFacade"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__["DatatablesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"] },
        { type: app_pages_veiculo_entrada_veiculo_entrada_veiculo_service__WEBPACK_IMPORTED_MODULE_3__["EntradaVeiculoService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])(_requisicao_outras_descarga_altera_dados_requisicao_outras_descarga_altera_dados_component__WEBPACK_IMPORTED_MODULE_16__["RequisicaoOutrasDescargaAlteraDadosComponent"], { static: true }),
        __metadata("design:type", _requisicao_outras_descarga_altera_dados_requisicao_outras_descarga_altera_dados_component__WEBPACK_IMPORTED_MODULE_16__["RequisicaoOutrasDescargaAlteraDadosComponent"])
    ], RequisicaoOutrasDescargaIndexComponent.prototype, "modalAlteraDadosNota", void 0);
    RequisicaoOutrasDescargaIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-requisicao-outras-descarga-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./requisicao-outras-descarga-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_14__["RequisicaoOutrasDescargaService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_6__["ConfiguracaoFacade"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_5__["DatatablesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_7__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"],
            app_pages_veiculo_entrada_veiculo_entrada_veiculo_service__WEBPACK_IMPORTED_MODULE_3__["EntradaVeiculoService"]])
    ], RequisicaoOutrasDescargaIndexComponent);
    return RequisicaoOutrasDescargaIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-index.model.ts":
/*!***********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-index.model.ts ***!
  \***********************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaIndex */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaIndex", function() { return RequisicaoOutrasDescargaIndex; });
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

var RequisicaoOutrasDescargaIndex = /** @class */ (function (_super) {
    __extends(RequisicaoOutrasDescargaIndex, _super);
    function RequisicaoOutrasDescargaIndex() {
        return _super.call(this) || this;
    }
    return RequisicaoOutrasDescargaIndex;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.scss":
/*!***************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.scss ***!
  \***************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".linha {\n  display: inline-block;\n  width: 75%;\n  margin-right: 5px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2FyZ2lsbC9jb25zdWx0YXMvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EtaXRlbS9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxccGFnZXNcXGVzcGVjaWZpY29zXFxjYXJnaWxsXFxjb25zdWx0YXNcXHJlcXVpc2ljYW8tb3V0cmFzLWRlc2NhcmdhXFxyZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1pdGVtXFxyZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1pdGVtLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9lc3BlY2lmaWNvcy9jYXJnaWxsL2NvbnN1bHRhcy9yZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS9yZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1pdGVtL3JlcXVpc2ljYW8tb3V0cmFzLWRlc2NhcmdhLWl0ZW0uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxxQkFBQTtFQUNBLFVBQUE7RUFDQSxpQkFBQTtBQ0NGIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2FyZ2lsbC9jb25zdWx0YXMvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EvcmVxdWlzaWNhby1vdXRyYXMtZGVzY2FyZ2EtaXRlbS9yZXF1aXNpY2FvLW91dHJhcy1kZXNjYXJnYS1pdGVtLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmxpbmhhIHtcclxuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgd2lkdGg6IDc1JTtcclxuICBtYXJnaW4tcmlnaHQ6IDVweDtcclxufSIsIi5saW5oYSB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgd2lkdGg6IDc1JTtcbiAgbWFyZ2luLXJpZ2h0OiA1cHg7XG59Il19 */");

/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.ts":
/*!*************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.ts ***!
  \*************************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaItemComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaItemComponent", function() { return RequisicaoOutrasDescargaItemComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/lote/lote.service */ "./src/app/pages/cadastro/lote/lote.service.ts");
/* harmony import */ var app_pages_cadastro_tanque_tanque_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/cadastro/tanque/tanque.service */ "./src/app/pages/cadastro/tanque/tanque.service.ts");
/* harmony import */ var app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/cadastro/tipo-documento-transp/tipo-documento-transp.service */ "./src/app/pages/cadastro/tipo-documento-transp/tipo-documento-transp.service.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_components_modais_lacre_lacre_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/components/modais/lacre/lacre.model */ "./src/app/shared/components/modais/lacre/lacre.model.ts");
/* harmony import */ var app_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/funcoes/boolean-utils/boolean-utils.static.service */ "./src/app/shared/services/funcoes/boolean-utils/boolean-utils.static.service.ts");
/* harmony import */ var app_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");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../requisicao-outras-descarga.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.model.ts");
/* harmony import */ var _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../requisicao-outras-descarga.service */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.service.ts");
/* harmony import */ var _requisicao_outras_descarga_item_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./requisicao-outras-descarga-item.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.model.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 RequisicaoOutrasDescargaItemComponent = /** @class */ (function () {
    function RequisicaoOutrasDescargaItemComponent(funcoesService, messageService, service, loteService, loginService, permissoesUtils, tanqueService, tipoDocumentoTranspService) {
        this.funcoesService = funcoesService;
        this.messageService = messageService;
        this.service = service;
        this.loteService = loteService;
        this.loginService = loginService;
        this.permissoesUtils = permissoesUtils;
        this.tanqueService = tanqueService;
        this.tipoDocumentoTranspService = tipoDocumentoTranspService;
        this.data = new _requisicao_outras_descarga_item_model__WEBPACK_IMPORTED_MODULE_13__["RequisicaoOutrasDescargaItem"]();
        this.dataAux = new _requisicao_outras_descarga_item_model__WEBPACK_IMPORTED_MODULE_13__["RequisicaoOutrasDescargaItem"]();
        this.mascaras = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__["Mascaras"]();
        this.showAdd = false;
        this.actionForm = 0;
        this.mensagens = [];
        this.paramsLacre = new app_shared_components_modais_lacre_lacre_model__WEBPACK_IMPORTED_MODULE_6__["ParamsLacre"]();
        this.lbUnidade = "";
        this.maskDocTransNumero = "";
    }
    RequisicaoOutrasDescargaItemComponent.prototype.detail = function () {
        this.showAdd = true;
        this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__["ActionForm"].detail;
        this.data = this.dataAux;
        this.trataData();
    };
    RequisicaoOutrasDescargaItemComponent.prototype.trataData = function () {
        this.maskDocTransNumero = this.data.tipoDocumentoTransp === null ? "" : this.data.tipoDocumentoTransp.mascara;
    };
    Object.defineProperty(RequisicaoOutrasDescargaItemComponent.prototype, "isControle20", {
        get: function () {
            if (!this.data || !this.data.material)
                return false;
            return app_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["BooleanUtilsStaticService"].toBoolean(this.data.material.controle20);
        },
        enumerable: true,
        configurable: true
    });
    RequisicaoOutrasDescargaItemComponent.prototype.back = function () {
        this.showAdd = false;
        this.data = new _requisicao_outras_descarga_item_model__WEBPACK_IMPORTED_MODULE_13__["RequisicaoOutrasDescargaItem"]();
        this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__["ActionForm"].index;
    };
    RequisicaoOutrasDescargaItemComponent.ctorParameters = function () { return [
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"] },
        { type: _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_12__["RequisicaoOutrasDescargaService"] },
        { type: app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_2__["LoteService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: app_pages_cadastro_tanque_tanque_service__WEBPACK_IMPORTED_MODULE_3__["TanqueService"] },
        { type: app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_service__WEBPACK_IMPORTED_MODULE_4__["TipoDocumentoTranspService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", _requisicao_outras_descarga_model__WEBPACK_IMPORTED_MODULE_11__["RequisicaoOutrasDescarga"])
    ], RequisicaoOutrasDescargaItemComponent.prototype, "requisicaoOutrasDescarga", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", Array)
    ], RequisicaoOutrasDescargaItemComponent.prototype, "dados", void 0);
    RequisicaoOutrasDescargaItemComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-requisicao-outras-descarga-item",
            template: __importDefault(__webpack_require__(/*! raw-loader!./requisicao-outras-descarga-item.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./requisicao-outras-descarga-item.component.scss */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.scss")).default]
        }),
        __metadata("design:paramtypes", [app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"],
            _requisicao_outras_descarga_service__WEBPACK_IMPORTED_MODULE_12__["RequisicaoOutrasDescargaService"],
            app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_2__["LoteService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            app_pages_cadastro_tanque_tanque_service__WEBPACK_IMPORTED_MODULE_3__["TanqueService"],
            app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_service__WEBPACK_IMPORTED_MODULE_4__["TipoDocumentoTranspService"]])
    ], RequisicaoOutrasDescargaItemComponent);
    return RequisicaoOutrasDescargaItemComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.model.ts":
/*!*********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.model.ts ***!
  \*********************************************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaItem */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaItem", function() { return RequisicaoOutrasDescargaItem; });
/* 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_lote_lote_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/pages/cadastro/lote/lote.model */ "./src/app/pages/cadastro/lote/lote.model.ts");
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var app_pages_cadastro_tanque_tanque_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/cadastro/tanque/tanque.model */ "./src/app/pages/cadastro/tanque/tanque.model.ts");
/* harmony import */ var app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/cadastro/tipo-documento-transp/tipo-documento-transp.model */ "./src/app/pages/cadastro/tipo-documento-transp/tipo-documento-transp.model.ts");
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var RequisicaoOutrasDescargaItem = /** @class */ (function (_super) {
    __extends(RequisicaoOutrasDescargaItem, _super);
    function RequisicaoOutrasDescargaItem() {
        var _this = _super.call(this) || this;
        _this.lote = new app_pages_cadastro_lote_lote_model__WEBPACK_IMPORTED_MODULE_1__["Lote"]();
        _this.tanque = new app_pages_cadastro_tanque_tanque_model__WEBPACK_IMPORTED_MODULE_3__["Tanque"]();
        _this.cliente = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__["Destinatario"]();
        _this.emitente = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__["Destinatario"]();
        _this.material = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_2__["Material"]();
        _this.tipoDocumentoTransp = new app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_model__WEBPACK_IMPORTED_MODULE_4__["TipoDocumentoTransp"]();
        return _this;
    }
    return RequisicaoOutrasDescargaItem;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_5__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.constants.ts":
/*!************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.constants.ts ***!
  \************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaConstants", function() { return RequisicaoOutrasDescargaConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var RequisicaoOutrasDescargaConstants = /** @class */ (function () {
    function RequisicaoOutrasDescargaConstants() {
        this.sisFormularioId = 375013;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.alteraDadosNota" }
        ];
        this.sisSistemaId = "BAL";
        this.nomeForm = "titles.requisicaoOutrasDescarga";
        this.reportId = "CAR0021";
        this.reportTitulo = { "titulo": "Requisição de Outras Descargas", "subTitulo": "" };
        this.listaParam = [
            { 'sistema': 'BAL', 'parametros': ["OsgNaOCD"] },
            { 'sistema': 'UNI', 'parametros': ["ObrChaveNFeEnt"] },
        ];
        this.listaIndex = [
            { title: 'Visualizar', action: 'detail', icon: "icon-eye", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: false, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'AlterarDadosNota', action: 'alteraDadosNota', icon: "icon-server", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.listaForm = [
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
    }
    return RequisicaoOutrasDescargaConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.model.ts":
/*!********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.model.ts ***!
  \********************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescarga, RequisicaoOutrasDescargaFilterReport */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescarga", function() { return RequisicaoOutrasDescarga; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaFilterReport", function() { return RequisicaoOutrasDescargaFilterReport; });
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/tipo-documento-transp/tipo-documento-transp.model */ "./src/app/pages/cadastro/tipo-documento-transp/tipo-documento-transp.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};



var RequisicaoOutrasDescarga = /** @class */ (function (_super) {
    __extends(RequisicaoOutrasDescarga, _super);
    function RequisicaoOutrasDescarga() {
        var _this = _super.call(this) || this;
        _this.dtRequisicao = new Date();
        _this.transportadora = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_1__["Destinatario"]();
        _this.tipoDocumentoTransp = new app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_model__WEBPACK_IMPORTED_MODULE_2__["TipoDocumentoTransp"]();
        _this.requisicaoOutrasDescargaItems = [];
        _this.requisicaoOutrasDescargaAnalises = [];
        return _this;
    }
    return RequisicaoOutrasDescarga;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var RequisicaoOutrasDescargaFilterReport = /** @class */ (function () {
    function RequisicaoOutrasDescargaFilterReport() {
        this.requisicaoDescargaId = 0;
        this.tipoRel = "0";
    }
    return RequisicaoOutrasDescargaFilterReport;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.module.ts":
/*!*********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.module.ts ***!
  \*********************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaModule", function() { return RequisicaoOutrasDescargaModule; });
/* 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 _requisicao_outras_descarga_filter_requisicao_outras_descarga_filter_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.component.ts");
/* harmony import */ var _requisicao_outras_descarga_form_requisicao_outras_descarga_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./requisicao-outras-descarga-form/requisicao-outras-descarga-form.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-form/requisicao-outras-descarga-form.component.ts");
/* harmony import */ var _requisicao_outras_descarga_index_requisicao_outras_descarga_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./requisicao-outras-descarga-index/requisicao-outras-descarga-index.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-index.component.ts");
/* harmony import */ var _requisicao_outras_descarga_item_requisicao_outras_descarga_item_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./requisicao-outras-descarga-item/requisicao-outras-descarga-item.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-item/requisicao-outras-descarga-item.component.ts");
/* harmony import */ var _requisicao_outras_descarga_routing_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./requisicao-outras-descarga.routing.module */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.routing.module.ts");
/* harmony import */ var _requisicao_outras_descarga_dados_analise_requisicao_outras_descarga_dados_analise_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-dados-analise/requisicao-outras-descarga-dados-analise.component.ts");
/* harmony import */ var _requisicao_outras_descarga_altera_dados_requisicao_outras_descarga_altera_dados_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-altera-dados/requisicao-outras-descarga-altera-dados.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 RequisicaoOutrasDescargaModule = /** @class */ (function () {
    function RequisicaoOutrasDescargaModule() {
    }
    RequisicaoOutrasDescargaModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [
                app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"],
                _requisicao_outras_descarga_routing_module__WEBPACK_IMPORTED_MODULE_6__["RequisicaoOutrasDescargaRoutingModule"]
            ],
            declarations: [
                _requisicao_outras_descarga_index_requisicao_outras_descarga_index_component__WEBPACK_IMPORTED_MODULE_4__["RequisicaoOutrasDescargaIndexComponent"],
                _requisicao_outras_descarga_form_requisicao_outras_descarga_form_component__WEBPACK_IMPORTED_MODULE_3__["RequisicaoOutrasDescargaFormComponent"],
                _requisicao_outras_descarga_filter_requisicao_outras_descarga_filter_component__WEBPACK_IMPORTED_MODULE_2__["RequisicaoOutrasDescargaFilterComponent"],
                _requisicao_outras_descarga_item_requisicao_outras_descarga_item_component__WEBPACK_IMPORTED_MODULE_5__["RequisicaoOutrasDescargaItemComponent"],
                _requisicao_outras_descarga_dados_analise_requisicao_outras_descarga_dados_analise_component__WEBPACK_IMPORTED_MODULE_7__["RequisicaoOutrasDescargaDadosAnaliseComponent"],
                _requisicao_outras_descarga_altera_dados_requisicao_outras_descarga_altera_dados_component__WEBPACK_IMPORTED_MODULE_8__["RequisicaoOutrasDescargaAlteraDadosComponent"]
            ],
            exports: [
                _requisicao_outras_descarga_index_requisicao_outras_descarga_index_component__WEBPACK_IMPORTED_MODULE_4__["RequisicaoOutrasDescargaIndexComponent"],
                _requisicao_outras_descarga_form_requisicao_outras_descarga_form_component__WEBPACK_IMPORTED_MODULE_3__["RequisicaoOutrasDescargaFormComponent"],
                _requisicao_outras_descarga_filter_requisicao_outras_descarga_filter_component__WEBPACK_IMPORTED_MODULE_2__["RequisicaoOutrasDescargaFilterComponent"],
                _requisicao_outras_descarga_item_requisicao_outras_descarga_item_component__WEBPACK_IMPORTED_MODULE_5__["RequisicaoOutrasDescargaItemComponent"],
                _requisicao_outras_descarga_dados_analise_requisicao_outras_descarga_dados_analise_component__WEBPACK_IMPORTED_MODULE_7__["RequisicaoOutrasDescargaDadosAnaliseComponent"],
                _requisicao_outras_descarga_altera_dados_requisicao_outras_descarga_altera_dados_component__WEBPACK_IMPORTED_MODULE_8__["RequisicaoOutrasDescargaAlteraDadosComponent"]
            ],
            providers: []
        })
    ], RequisicaoOutrasDescargaModule);
    return RequisicaoOutrasDescargaModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.routing.module.ts":
/*!*****************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.routing.module.ts ***!
  \*****************************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaRoutingModule", function() { return RequisicaoOutrasDescargaRoutingModule; });
/* 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 _requisicao_outras_descarga_form_requisicao_outras_descarga_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./requisicao-outras-descarga-form/requisicao-outras-descarga-form.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-form/requisicao-outras-descarga-form.component.ts");
/* harmony import */ var _requisicao_outras_descarga_index_requisicao_outras_descarga_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./requisicao-outras-descarga-index/requisicao-outras-descarga-index.component */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-index/requisicao-outras-descarga-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 MRoutes = [
    {
        path: "",
        component: _requisicao_outras_descarga_index_requisicao_outras_descarga_index_component__WEBPACK_IMPORTED_MODULE_4__["RequisicaoOutrasDescargaIndexComponent"],
        data: {
            breadcrumb: "requisicaoOutrasDescarga",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index }
        }
    },
    {
        path: "detail/:id",
        component: _requisicao_outras_descarga_form_requisicao_outras_descarga_form_component__WEBPACK_IMPORTED_MODULE_3__["RequisicaoOutrasDescargaFormComponent"],
        data: {
            breadcrumb: "requisicaoOutrasDescarga",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var RequisicaoOutrasDescargaRoutingModule = /** @class */ (function () {
    function RequisicaoOutrasDescargaRoutingModule() {
    }
    RequisicaoOutrasDescargaRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], RequisicaoOutrasDescargaRoutingModule);
    return RequisicaoOutrasDescargaRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.service.ts":
/*!**********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga.service.ts ***!
  \**********************************************************************************************************************/
/*! exports provided: RequisicaoOutrasDescargaService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoOutrasDescargaService", function() { return RequisicaoOutrasDescargaService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _requisicao_outras_descarga_filter_requisicao_outras_descarga_filter_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.model */ "./src/app/pages/especificos/cargill/consultas/requisicao-outras-descarga/requisicao-outras-descarga-filter/requisicao-outras-descarga-filter.model.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js");
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 RequisicaoOutrasDescargaService = /** @class */ (function (_super) {
    __extends(RequisicaoOutrasDescargaService, _super);
    function RequisicaoOutrasDescargaService(http) {
        var _this = _super.call(this, http, "cargill/requisicaoOutrasDescarga") || this;
        _this.http = http;
        _this.filtro = new _requisicao_outras_descarga_filter_requisicao_outras_descarga_filter_model__WEBPACK_IMPORTED_MODULE_6__["RequisicaoOutrasDescargaFilter"]();
        _this.dados = [];
        _this.configBal = {
            osgNaOCD: false
        };
        _this.configUni = {
            obrChaveNFeEnt: false,
            obrigaSerieNf: false
        };
        return _this;
    }
    RequisicaoOutrasDescargaService.prototype.getByFiltro = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/cargill/requisicaoOutrasDescarga/getByFiltro", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoOutrasDescargaService.prototype._getById = function (id) {
        if (!id)
            return Object(rxjs__WEBPACK_IMPORTED_MODULE_7__["of"])(undefined);
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/cargill/requisicaoOutrasDescarga/" + id)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoOutrasDescargaService.prototype.alteraDadosNota = function (data) {
        return this.http
            .put(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/cargill/requisicaoOutrasDescarga/alteraDadosNota", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoOutrasDescargaService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    RequisicaoOutrasDescargaService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root",
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], RequisicaoOutrasDescargaService);
    return RequisicaoOutrasDescargaService;
}(app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-cargill-consultas-requisicao-outras-descarga-requisicao-outras-descarga-module.js.map