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

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal\" id=\"descargas-ferroviarias-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\r\n    <div class=\"uni-modal-dialog-md-40\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{title}}</h6>\r\n            </div>\r\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\" *ngIf=\"!!service.filter\">\r\n                <app-validacoes></app-validacoes>\r\n                <div class=\"modal-body\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"emissaoDe\" class=\"required\">\r\n                                    {{\"labels.emissaoDe\" | translate }}\r\n                                </label>\r\n                                <app-data id=\"emissaoDe\" name=\"emissaoDe\" required=\"true\" [disabled]=\"false\"\r\n                                    [(ngModel)]=\"service.filter.dataI\">\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-6\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"ate\" class=\"required\">\r\n                                    {{\"labels.ate\" | translate}}\r\n                                </label>\r\n                                <app-data id=\"ate\" name=\"ate\" required=\"true\" [disabled]=\"false\"\r\n                                    [(ngModel)]=\"service.filter.dataF\">\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-12 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\"\r\n                                    modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"service.filter.destinatarioIdCliente\"\r\n                                    [inSelected]=\"service.filter.cliente\" tipoDestinatario=\"C\"\r\n                                    (outModel)=\"trataCliente($event)\">\r\n                                </app-pesquisa-destinatario>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-12 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-material id=\"produto\" name=\"produto\" label=\"produto\"\r\n                                    modalTitle=\"pesquisaDeProduto\" [(ngModel)]=\"service.filter.materialId\"\r\n                                    [inSelected]=\"service.filter.material\" (outModel)=\"trataMaterial($event)\">\r\n                                </app-pesquisa-material>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n\r\n                    <label class=\"required\" for=\"situacao\">\r\n                        {{'labels.situacao' | translate}}\r\n                    </label>\r\n                    <app-card-container>\r\n                        <div class=\"custom-control custom-checkbox\">\r\n                            <input id=\"aguardandoPrimeiraPesagem\" name=\"aguardandoPrimeiraPesagem\"\r\n                                [ngModel]=\"service.filter.aguardandoPrimeiraPesagem === 'S'\"\r\n                                (ngModelChange)=\"service.filter.aguardandoPrimeiraPesagem = $event ? 'S' : 'N'\"\r\n                                class=\"custom-control-input checkbox-success\" type=\"checkbox\"\r\n                                (change)=\"changeSelecaoSituacao($event, 'A')\">\r\n                            <label class=\"custom-control-label\" for=\"aguardandoPrimeiraPesagem\">\r\n                                {{'labels.aguardandoPrimeiraPesagem' | translate}}\r\n                            </label>\r\n                        </div>\r\n\r\n                        <div class=\"custom-control custom-checkbox\">\r\n                            <input id=\"aguardandoSegundaPesagem\" name=\"aguardandoSegundaPesagem\"\r\n                                [ngModel]=\"service.filter.aguardandoSegundaPesagem === 'S'\"\r\n                                (ngModelChange)=\"service.filter.aguardandoSegundaPesagem = $event ? 'S' : 'N'\"\r\n                                class=\"custom-control-input checkbox-success\" type=\"checkbox\"\r\n                                (change)=\"changeSelecaoSituacao($event, 'P')\">\r\n                            <label class=\"custom-control-label\" for=\"aguardandoSegundaPesagem\">\r\n                                {{'labels.aguardandoSegundaPesagem' | translate}}\r\n                            </label>\r\n                        </div>\r\n\r\n                        <div class=\"custom-control custom-checkbox\">\r\n                            <input id=\"aguardandoRetorno\" name=\"aguardandoRetorno\"\r\n                                [ngModel]=\"service.filter.aguardandoRetorno === 'S'\"\r\n                                (ngModelChange)=\"service.filter.aguardandoRetorno = $event ? 'S' : 'N'\"\r\n                                class=\"custom-control-input checkbox-success\" type=\"checkbox\"\r\n                                (change)=\"changeSelecaoSituacao($event, 'R')\">\r\n                            <label class=\"custom-control-label\" for=\"aguardandoRetorno\">\r\n                                {{'labels.aguardandoRetorno' | translate}}\r\n                            </label>\r\n                        </div>\r\n\r\n                        <div class=\"custom-control custom-checkbox\">\r\n                            <input id=\"aguardandoAnalise\" name=\"aguardandoAnalise\"\r\n                                [ngModel]=\"service.filter.aguardandoAnalise === 'S'\"\r\n                                (ngModelChange)=\"service.filter.aguardandoAnalise = $event ? 'S' : 'N'\"\r\n                                class=\"custom-control-input checkbox-success\" type=\"checkbox\"\r\n                                (change)=\"changeSelecaoSituacao($event, 'S')\">\r\n                            <label class=\"custom-control-label\" for=\"aguardandoAnalise\">\r\n                                {{'labels.aguardandoAnalise' | translate}}\r\n                            </label>\r\n                        </div>\r\n\r\n                        <div class=\"custom-control custom-checkbox\">\r\n                            <input id=\"operacaoConcluida\" name=\"operacaoConcluida\"\r\n                                [ngModel]=\"service.filter.operacaoConcluida === 'S'\"\r\n                                (ngModelChange)=\"service.filter.operacaoConcluida = $event ? 'S' : 'N'\"\r\n                                class=\"custom-control-input checkbox-success\" type=\"checkbox\"\r\n                                (change)=\"changeSelecaoSituacao($event, 'C')\">\r\n                            <label class=\"custom-control-label\" for=\"operacaoConcluida\">\r\n                                {{'labels.operacaoConcluida' | translate}}\r\n                            </label>\r\n                        </div>\r\n\r\n                        <div class=\"custom-control custom-checkbox\">\r\n                            <input id=\"operacaoCancelada\" name=\"operacaoCancelada\"\r\n                                [ngModel]=\"service.filter.operacaoCancelada === 'S'\"\r\n                                (ngModelChange)=\"service.filter.operacaoCancelada = $event ? 'S' : 'N'\"\r\n                                class=\"custom-control-input checkbox-success\" type=\"checkbox\"\r\n                                (change)=\"changeSelecaoSituacao($event, 'E')\">\r\n                            <label class=\"custom-control-label\" for=\"operacaoCancelada\">\r\n                                {{'labels.operacaoCancelada' | translate}}\r\n                            </label>\r\n                        </div>\r\n                    </app-card-container>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"registro\">{{'labels.registro' | translate}}</label>\r\n                                <input id=\"registro\" name=\"registro\" [(ngModel)]=\"service.filter.registro\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\">\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"ficha\">{{'labels.ficha' | translate}}</label>\r\n                                <input id=\"ficha\" name=\"ficha\" [(ngModel)]=\"service.filter.ticketOrigem\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\">\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"placa\">{{'labels.placa' | translate}}</label>\r\n                                <input id=\"placa\" name=\"placa\" [(ngModel)]=\"service.filter.placa\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" maxlength=\"18\">\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}\r\n                    </button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate\r\n                        }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.html":
/*!*****************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-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\"\r\n    [formAction]=\"actionForm\" [itemData]=\"service.data.opDescargaTremId\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"col-lg-12 col-12 section-comand-bar\">\r\n    <div class=\"clearfix\">\r\n        <ul class=\"nav nav-tabs\">\r\n            <li class=\"nav-item\">\r\n                <a class=\"nav-link active\" data-toggle=\"tab\" href=\"#tDados\">{{\"labels.dados\" | translate }}</a>\r\n            </li>\r\n            <li class=\"nav-item\">\r\n                <a class=\"nav-link\" data-toggle=\"tab\" href=\"#tItem\">{{\"labels.item\" |\r\n                    translate }}</a>\r\n            </li>\r\n        </ul>\r\n    </div>\r\n    <div class=\"tab-content top\">\r\n        <div class=\"tab-pane active\" id=\"tDados\">\r\n            <app-form-legenda></app-form-legenda>\r\n            <form class=\"form\" #f=\"ngForm\">\r\n                <app-validacoes></app-validacoes>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"registro\">{{'labels.registro' | translate}}</label>\r\n                            <input id=\"registro\" name=\"registro\" [(ngModel)]=\"service.data.opDescargaTremId\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"situacao\">{{'labels.situacao' | translate}}</label>\r\n                            <input id=\"situacao\" name=\"situacao\" [(ngModel)]=\"service.data.situacao\" class=\"form-control form-control-sm\"\r\n                                type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"numeroVagao\">{{'labels.numeroVagao' | translate}}</label>\r\n                            <input id=\"numeroVagao\" name=\"numeroVagao\" [(ngModel)]=\"service.data.cadastroPlacaId\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"cadastramento\">{{'labels.cadastramento' | translate}}</label>\r\n                            <app-data id=\"cadastramento\" name=\"cadastramento\" [(ngModel)]=\"service.data.dtAutorizacao\"\r\n                                class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMinSeg\" disabled>\r\n                            </app-data>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"encoste\">{{'labels.encoste' | translate}}</label>\r\n                            <app-data id=\"encoste\" name=\"encoste\" [(ngModel)]=\"service.data.dtTriagem\" class=\"dataHora\"\r\n                                [formatDateTime]=\"mascara.getFormatDataHorMin\" disabled>\r\n                            </app-data>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"entregaNf\">{{'labels.entregaNf' | translate}}</label>\r\n                            <app-data id=\"entregaNf\" name=\"entregaNf\" [(ngModel)]=\"service.data.dtEntregaNF\"\r\n                                class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMin\" disabled>\r\n                            </app-data>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"pesoBru\">{{'labels.pesoBru' | translate}}</label>\r\n                            <input id=\"pesoBru\" name=\"pesoBru\" [(ngModel)]=\"service.data.pesoBru\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                [options]=\"funcoes.optionCurrency(0)\" style=\"background-color: yellow;\" disabled>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-8 col-md-8 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\"\r\n                                [(ngModel)]=\"service.data.destinatarioIdCliente\" [inSelected]=\"service.data.cliente\"\r\n                                tipoDestinatario=\"C\" showCgcCpf=\"true\" showInscricao=\"false\" disabled>\r\n                            </app-pesquisa-destinatario>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-1 col-md-1 col-sm-12\">\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"pesoTara\">{{'labels.pesoTara' | translate}}</label>\r\n                            <input id=\"pesoTara\" name=\"pesoTara\" [(ngModel)]=\"service.data.pesoTara\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                [options]=\"funcoes.optionCurrency(0)\" style=\"background-color: yellow;\" disabled>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-8 col-md-8 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <app-pesquisa-destinatario id=\"emitente\" name=\"emitente\" label=\"emitente\"\r\n                                [(ngModel)]=\"service.data.destinatarioIdEmitente\" [inSelected]=\"service.data.emitente\"\r\n                                tipoDestinatario=\"C\" showCgcCpf=\"true\" showInscricao=\"false\" disabled>\r\n                            </app-pesquisa-destinatario>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-1 col-md-1 col-sm-12\">\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"pesoLiq\">{{'labels.pesoLiq' | translate}}</label>\r\n                            <input id=\"pesoLiq\" name=\"pesoLiq\" [(ngModel)]=\"service.data.pesoLiq\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                [options]=\"funcoes.optionCurrency(0)\" style=\"background-color: yellow;\" disabled>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <app-input-description name=\"produto\" label=\"produto\" [valueID]=\"service.data.materialId\"\r\n                                [valueDescription]=\"service.data.material?.fantasia\">\r\n                            </app-input-description>\r\n                        </div>\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <app-input-description name=\"transportadora\" label=\"transportadora\"\r\n                                [valueID]=\"service.data.destinatarioIdTransportadora\"\r\n                                [valueDescription]=\"service.data.transportadora?.fantasia\">\r\n                            </app-input-description>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-6 col-md-6 col-sm-12\">\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\" [(ngModel)]=\"service.data.tanqueId\"\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-lg-2 col-md-6 col-sm-12\">\r\n                    </div>\r\n                    <div class=\"col-lg-4 col-md-6 col-sm-12\">\r\n                        <fieldset>\r\n                            <legend>{{ \"labels.pesoOrigem\" | translate }}</legend>\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"pesoLiquido\">{{'labels.pesoLiquido' | translate}}</label>\r\n                                <input id=\"pesoLiquido\" name=\"pesoLiquido\" [(ngModel)]=\"service.data.kilos\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                    [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                            </div>\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"pesoBruto\">{{'labels.pesoBruto' | translate}}</label>\r\n                                <input id=\"pesoBruto\" name=\"pesoBruto\"\r\n                                    [(ngModel)]=\"service.data.pesoBruOrigem\" class=\"form-control form-control-sm\"\r\n                                    type=\"text\" currencyMask [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                            </div>\r\n                        </fieldset>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"tipoOperacao\">{{'labels.tipoOperacao' | translate}}</label>\r\n                            <app-combo-tipo-operacao id=\"tipoOperacao\" name=\"tipoOperacao\"\r\n                                [(ngModel)]=\"service.data.tipoOperacaoId\" disabled>\r\n                            </app-combo-tipo-operacao>\r\n                        </div>\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"terno\">{{'labels.regTerno' | translate}}</label>\r\n                            <select id=\"terno\" name=\"terno\" class=\"form-control form-control-sm\" disabled\r\n                                [(ngModel)]=\"service.data.ternoId\">\r\n                                <option [value]=\"t.ternoId\" *ngFor=\"let t of ternos\">{{t.descricao}}</option>\r\n                            </select>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                    </div>\r\n                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\r\n                        <fieldset>\r\n                            <legend>{{ \"labels.dcl\" | translate }}</legend>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-lg-4 col-md-6 col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"numero\">{{'labels.numero' | translate}}</label>\r\n                                        <input id=\"numero\" name=\"numero\" [(ngModel)]=\"service.data.numeroCTE\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                            [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"col-lg-4 col-md-6 col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"serie\">{{ 'labels.serie' | translate}}</label>\r\n                                        <app-combo-serie name=\"serie\" id=\"serie\" disabled\r\n                                            [(ngModel)]=\"service.data.serieCTE\">\r\n                                        </app-combo-serie>\r\n                                    </div>\r\n                                </div>\r\n                                <div class=\"col-lg-4 col-md-6 col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"emissao\">{{\"labels.emissao\" | translate }}</label>\r\n                                        <app-data id=\"emissao\" name=\"emissao\" [(ngModel)]=\"service.data.dataCTE\"\r\n                                            class=\"dataHora\" disabled [formatDateTime]=\"mascara.getFormatData\">\r\n                                        </app-data>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </fieldset>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-4 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"localTransbordo\">{{'labels.localTransbordo' | translate}}</label>\r\n                            <select id=\"localTransbordo\" name=\"localTransbordo\" class=\"form-control form-control-sm\"\r\n                                disabled [(ngModel)]=\"service.data.localTransbordoId\">\r\n                                <option [value]=\"t.localTransbordoId\" *ngFor=\"let t of locaisTransbordo\">\r\n                                    {{t.descrLocalTransb}}</option>\r\n                            </select>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </form>\r\n        </div>\r\n        <div class=\"tab-pane\" id=\"tItem\">\r\n            <app-descargas-ferroviarias-item id=\"descargasFerroviariasItems\" name=\"descargasFerroviariasItems\">\r\n            </app-descargas-ferroviarias-item>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-index/descargas-ferroviarias-index.component.html":
/*!*******************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-index/descargas-ferroviarias-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    [formAction]=\"actionForm\" [itemData]=\"data.opDescargaTremId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <table id=\"dtDescargasFerroviarias\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n    </table>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-descargas-ferroviarias-filter (filtrar)=\"executarFiltro($event)\">\n</app-descargas-ferroviarias-filter>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-item/descargas-ferroviarias-item.component.html":
/*!*****************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-item/descargas-ferroviarias-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=\"row\">\r\n    <div class=\"col-md-12 col-lg-12\">\r\n        <button title=\"{{ 'buttons.voltar' | translate }}\" (click)=\"back()\" type=\"button\" class=\"btn uni-btn btn-sm\"\r\n            *ngIf=\"!showTable\">\r\n            <i class=\"icon-arrow-left\"></i>\r\n        </button>\r\n        <button title=\"{{ 'buttons.visualizar' | translate }}\" (click)=\"show()\" class=\"btn uni-btn btn-sm\"\r\n            [disabled]=\"!service.descargasFerroviariasNota?.opDescargaTremItemId\" *ngIf=\"showTable\">\r\n            <i class=\"icon-eye\"></i>\r\n        </button>\r\n    </div>\r\n</div>\r\n\r\n<ng-container *ngIf=\"showTable\">\r\n    <div class=\"row\">\r\n        <div class=\"col-md-12 col-lg-12\">\r\n            <table class=\"table table-striped table-hover\">\r\n                <thead>\r\n                    <tr>\r\n                        <th style=\"display: none\">{{ 'labels.registro' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.autorizacao' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.ficha' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.cliente' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.emitente' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.lote' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.docto' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.serie' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.emissao' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.peso' | translate }}</th>\r\n                        <th class=\"text-center\">{{ 'labels.pesoRateio' | translate }}</th>\r\n                    </tr>\r\n                </thead>\r\n                <tbody>\r\n                    <tr *ngFor=\"let c of service.data.opDescargaTremNotas | removeExcluidos; let i = index\"\r\n                        (click)=\"selected(c, i)\"\r\n                        [ngClass]=\"{ 'info': i === _index && service.descargasFerroviariasNota.opDescargaTremItemId === c.opDescargaTremItemId }\">\r\n                        <td style=\"display: none\">{{c.opDescargaTremItemId}}</td>\r\n                        <td class=\"text-center\">{{c.opDescargaId}}</td>\r\n                        <td class=\"text-center\">{{c?.ticketOrigem}}</td>\r\n                        <td class=\"text-center\">{{c.cliente?.fantasia}}</td>\r\n                        <td class=\"text-center\">{{c.emitente?.fantasia}}</td>\r\n                        <td class=\"text-center\">{{c.loteId}}</td>\r\n                        <td class=\"text-center\">{{c.docto}}</td>\r\n                        <td class=\"text-center\">{{c.serieNotaId}}</td>\r\n                        <td class=\"text-center\">{{c.dtDocto | date:'dd/MM/yyyy'}}</td>\r\n                        <td class=\"text-center\">{{c.pesoDoc | formatCurrency: 0}}</td>\r\n                        <td class=\"text-center\">{{c.pesoRateio | formatCurrency: 0}}</td>\r\n                    </tr>\r\n                    <tr *ngIf=\"!hasDados\">\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</ng-container>\r\n\r\n<ng-container *ngIf=\"!showTable\">\r\n    <form class=\"form\" #formOpDescargaTremNota=\"ngForm\">\r\n        <div class=\"row\">\r\n            <div class=\"col-lg-12\">\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-2 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"ficha\">{{\"labels.ficha\" | translate}}</label>\r\n                            <input id=\"ficha\" name=\"ficha\" value=\"{{ service.descargasFerroviariasNota.ticketOrigem }}\"\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-lg-8 col-md-8 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.destinatarioIdCliente\"\r\n                                [inSelected]=\"service.descargasFerroviariasNota.cliente\" tipoDestinatario=\"C\"\r\n                                showCgcCpf=\"true\" showInscricao=\"false\" disabled>\r\n                            </app-pesquisa-destinatario>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-8 col-md-8 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <app-pesquisa-destinatario id=\"emitente\" name=\"emitente\" label=\"emitente\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.destinatarioIdEmitente\"\r\n                                [inSelected]=\"service.descargasFerroviariasNota.emitente\" tipoDestinatario=\"C\"\r\n                                showCgcCpf=\"true\" showInscricao=\"false\" disabled>\r\n                            </app-pesquisa-destinatario>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"lote\">{{'labels.lote' | translate}}</label>\r\n                            <input id=\"lote\" name=\"lote\" [(ngModel)]=\"service.descargasFerroviariasNota.loteId\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"valorUnitario\">{{'labels.valorUnitario' | translate}}</label>\r\n                            <input id=\"valorUnitario\" name=\"valorUnitario\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.lote.precoArmazenado\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                [options]=\"funcoes.optionCurrency(9)\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"densidadeLote\">{{'labels.densidadeLote' | translate}}</label>\r\n                            <input id=\"densidadeLote\" name=\"densidadeLote\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.lote.densidade\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                [options]=\"funcoes.optionCurrency(9)\" disabled>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"quantid\">{{'labels.quantid' | translate}}</label>\r\n                            <input id=\"quantid\" name=\"quantid\" [(ngModel)]=\"service.descargasFerroviariasNota.quantid\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                [options]=\"funcoes.optionCurrency(3)\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"situacaoLote\">{{'labels.situacaoLote' | translate}}</label>\r\n                            <select id=\"situacaoLote\" name=\"situacaoLote\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.sitLaudo\" disabled\r\n                                class=\"form-control form-control-sm\">\r\n                                <option value=\"0\">{{ 'labels.devido' | translate}}</option>\r\n                                <option value=\"1\">{{ 'labels.indevido' | translate}}</option>\r\n                            </select>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"numeroLaudo\">{{'labels.numeroLaudo' | translate}}</label>\r\n                            <input id=\"numeroLaudo\" name=\"numeroLaudo\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.numLaudo\"\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-lg-2 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"tipoDocTransporte\">{{'labels.tipoDocTransporte' | translate}}</label>\r\n                            <select id=\"tipoDocTransporte\" name=\"tipoDocTransporte\" class=\"form-control form-control-sm\"\r\n                                disabled [(ngModel)]=\"service.descargasFerroviariasNota.tipoDocumentoTranspId\">\r\n                                <option [value]=\"t.tipoDocumentoTranspId\" *ngFor=\"let t of tipoDocumentoTransp\">\r\n                                    {{t.descrTipoDocto}}</option>\r\n                            </select>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-2 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"docTranspNumero\">{{'labels.docTranspNumero' | translate}}</label>\r\n                            <input id=\"docTranspNumero\" name=\"docTranspNumero\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.docTranspNumero\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-5 col-md-6 col-sm-12\">\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                                [(ngModel)]=\"service.descargasFerroviariasNota.chaveDocTransp\"\r\n                                class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"emissao\">{{'labels.emissao' | translate}}</label>\r\n                            <app-data id=\"emissao\" name=\"emissao\"\r\n                                [(ngModel)]=\"service.descargasFerroviariasNota.docTranspEmissao\" class=\"dataHora\"\r\n                                [formatDateTime]=\"mascara.getFormatData\" disabled>\r\n                            </app-data>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-8 col-md-8 col-sm-12\">\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-9 col-md-9 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"modeloNf\">{{'labels.modeloNf' | translate}}</label>\r\n                                    <app-combo-modelo-nota id=\"modeloNf\" name=\"modeloNf\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.modeloNotaId\" disabled>\r\n                                    </app-combo-modelo-nota>\r\n                                </div>\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"chaveNFE\">{{'labels.chaveNFE' | translate}}</label>\r\n                                    <input id=\"chaveNFE\" name=\"chaveNFE\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.chaveNfe\"\r\n                                        mask=\"0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000\"\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-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"numeroDoDocumento\">{{'labels.numeroDoDocumento' |\r\n                                        translate}}</label>\r\n                                    <input id=\"numeroDoDocumento\" name=\"numeroDoDocumento\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.docto\"\r\n                                        class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                        [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-lg-2 col-md-2 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"serie\">{{ 'labels.serie' | translate}}</label>\r\n                                    <input id=\"serie\" name=\"serie\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.serieNotaId\"\r\n                                        class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"dtEmissao\">{{'labels.dtEmissao' | translate}}</label>\r\n                                    <app-data id=\"dtEmissao\" name=\"dtEmissao\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.dtDocto\" class=\"dataHora\"\r\n                                        [formatDateTime]=\"mascara.getFormatData\" disabled>\r\n                                    </app-data>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"quantidDocKg\">{{'labels.quantidDocKg' |\r\n                                        translate}}</label>\r\n                                    <input id=\"quantidDocKg\" name=\"quantidDocKg\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.quantidDoc\"\r\n                                        class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                        [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"total\">{{ 'labels.total' | translate}}</label>\r\n                                    <input id=\"total\" name=\"total\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.vlNota\"\r\n                                        class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                        [options]=\"funcoes.optionCurrency(2)\" disabled>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"pesoDocto\">{{'labels.pesoDocto' | translate}}</label>\r\n                                    <input id=\"pesoDocto\" name=\"pesoDocto\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.pesoDoc\"\r\n                                        class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                        [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"pesoRateio\">{{'labels.pesoRateio' |\r\n                                        translate}}</label>\r\n                                    <input id=\"pesoRateio\" name=\"pesoRateio\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.pesoRateio\"\r\n                                        class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                        [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"frete\">{{'labels.frete' | translate}}</label>\r\n                                    <select id=\"frete\" name=\"frete\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.tipoFrete\" disabled\r\n                                        class=\"form-control form-control-sm\">\r\n                                        <option value=\"0\">{{ 'labels.semFrete' | translate}}</option>\r\n                                        <option value=\"1\">{{ 'labels.emitenteCif' | translate}}</option>\r\n                                        <option value=\"2\">{{ 'labels.destRemFob' | translate}}</option>\r\n                                        <option value=\"3\">{{ 'labels.terceiros' | translate}}</option>\r\n                                    </select>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"notaOrigem\">{{'labels.notaOrigem' |\r\n                                        translate}}</label>\r\n                                    <input id=\"notaOrigem\" name=\"notaOrigem\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.notaOrigem\"\r\n                                        class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                        [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-lg-3 col-md-3 col-sm-12 mt-4\" *ngIf=\"isNotaComplementar\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <input id=\"notaComplementar\" name=\"notaComplementar\" class=\"custom-control-input\">\r\n                                    <label for=\"notaComplementar\" style=\"color: red;\">{{'labels.notaComplementar' |\r\n                                        translate}}</label>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-lg-3 col-md-3 col-md-12 mt-4\">\r\n                                <div class=\"custom-control custom-checkbox\">\r\n                                    <input id=\"integraNfCompra\" name=\"integraNfCompra\"\r\n                                        [ngModel]=\"service.descargasFerroviariasNota.flagIntegra === 'S'\"\r\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\" disabled>\r\n                                    <label class=\"custom-control-label\" for=\"integraNfCompra\">{{'labels.integraNfCompra'\r\n                                        |\r\n                                        translate}}</label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-12 col-md-12 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"lacresAmostra\">{{'labels.lacresAmostra' |\r\n                                        translate}}</label>\r\n                                    <input id=\"lacresAmostra\" name=\"lacresAmostra\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.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-lg-12 col-md-12 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"observacoes\">{{'labels.observacoes' |\r\n                                        translate}}</label>\r\n                                    <input id=\"observacoes\" name=\"observacoes\"\r\n                                        [(ngModel)]=\"service.descargasFerroviariasNota.observ\"\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-lg-4 col-md-6 col-sm-12\">\r\n                        <fieldset>\r\n                            <legend>{{ \"labels.pesoFOB\" | translate }}</legend>\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"pesoBruFob\">{{'labels.pesoBruFob' | translate}}</label>\r\n                                <input id=\"pesoBruFob\" name=\"pesoBruFob\"\r\n                                    [(ngModel)]=\"service.descargasFerroviariasNota.pesoBruFob\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                    [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                            </div>\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"pesoTaraFob\">{{'labels.pesoTaraFob' | translate}}</label>\r\n                                <input id=\"pesoTaraFob\" name=\"pesoTaraFob\"\r\n                                    [(ngModel)]=\"service.descargasFerroviariasNota.pesoTaraFob\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                    [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                            </div>\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"pesoLiqFob\">{{'labels.pesoLiqFob' | translate}}</label>\r\n                                <input id=\"pesoLiqFob\" name=\"pesoLiqFob\"\r\n                                    [(ngModel)]=\"service.descargasFerroviariasNota.pesoLiqFob\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" currencyMask\r\n                                    [options]=\"funcoes.optionCurrency(0)\" disabled>\r\n                            </div>\r\n                            <div class=\"row\">\r\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\r\n                                    <div class=\"form-group form-group-sm\">\r\n                                        <label for=\"cfop\">{{'labels.cfop' | translate}}</label>\r\n                                        <input id=\"cfop\" name=\"cfop\"\r\n                                            [(ngModel)]=\"service.descargasFerroviariasNota.naturezaId\"\r\n                                            class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"metrofile\">{{'labels.metrofile' | translate}}</label>\r\n                                <input id=\"metrofile\" name=\"metrofile\"\r\n                                    [(ngModel)]=\"service.descargasFerroviariasNota.metrofile\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                            </div>\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"contrato\">{{'labels.contrato' | translate}}</label>\r\n                                <input id=\"contrato\" name=\"contrato\"\r\n                                    [(ngModel)]=\"service.descargasFerroviariasNota.contrato\"\r\n                                    class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                            </div>\r\n                        </fieldset>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </form>\r\n</ng-container>");

/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-filter/descargas-ferroviarias-filter.component.ts":
/*!*****************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-filter/descargas-ferroviarias-filter.component.ts ***!
  \*****************************************************************************************************************************************************/
/*! exports provided: DescargasFerroviariasFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasFilterComponent", function() { return DescargasFerroviariasFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../descargas-ferroviarias.constants */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.constants.ts");
/* harmony import */ var _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../descargas-ferroviarias.service */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.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 DescargasFerroviariasFilterComponent = /** @class */ (function () {
    function DescargasFerroviariasFilterComponent(service, message, funcoesService) {
        this.service = service;
        this.message = message;
        this.funcoesService = funcoesService;
        this.constantes = new _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_4__["DescargasFerroviariasConstants"]();
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    DescargasFerroviariasFilterComponent.prototype.ngOnInit = function () {
    };
    Object.defineProperty(DescargasFerroviariasFilterComponent.prototype, "title", {
        get: function () {
            return this.message.translate("titles.descargasFerroviarias");
        },
        enumerable: true,
        configurable: true
    });
    DescargasFerroviariasFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_1__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid)
            return;
        if (this.service.filter.situacoes.length < 1) {
            this.message.warning("titles.descargasFerroviarias", "messages.campoObrigatorio", { name: this.message.translate('labels.situacao') });
            return;
        }
        this.service.filter.situacao = this.service.filter.situacoes.join(',');
        this.filtrar.emit(this.service.filter);
        jQuery("#descargas-ferroviarias-filter-dialog").modal("hide");
    };
    DescargasFerroviariasFilterComponent.prototype.trataCliente = function (cliente) {
        if (!cliente)
            return;
        this.service.filter.cliente = cliente;
    };
    DescargasFerroviariasFilterComponent.prototype.trataMaterial = function (material) {
        if (!material)
            return;
        this.service.filter.material = material;
    };
    DescargasFerroviariasFilterComponent.prototype.changeSelecaoSituacao = function (event, valor) {
        if (event.target.checked) {
            this.service.filter.situacoes.push(valor);
        }
        else {
            this.service.filter.situacoes = this.service.filter.situacoes.filter(function (b) { return b !== valor; });
        }
    };
    DescargasFerroviariasFilterComponent.ctorParameters = function () { return [
        { type: _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_5__["DescargasFerroviariasService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], DescargasFerroviariasFilterComponent.prototype, "filtrar", void 0);
    DescargasFerroviariasFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-descargas-ferroviarias-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./descargas-ferroviarias-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-filter/descargas-ferroviarias-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_5__["DescargasFerroviariasService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_2__["FuncoesService"]])
    ], DescargasFerroviariasFilterComponent);
    return DescargasFerroviariasFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.scss":
/*!***************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.scss ***!
  \***************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("fieldset {\n  border: 1px solid #dfdbdb;\n  padding: 10px;\n  /* controla a distancia entre os elementos e a borda */\n  width: 100%;\n}\n\nlegend {\n  display: inline;\n  width: auto;\n  border: 0;\n  padding: 0px 10px 0px 10px;\n  margin: 0px;\n  font-weight: 600;\n  font-size: 13px;\n}\n\n.input-group-text {\n  display: none !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2FyZ2lsbC9jb25zdWx0YXMvZGVzY2FyZ2FzLWZlcnJvdmlhcmlhcy9kZXNjYXJnYXMtZmVycm92aWFyaWFzLWZvcm0vQzpcXENvcnBvcmF0ZVxcQ29ycG9yYXRlV2ViRGVzZW52XFxfdW5pc29sdXRpb24vc3JjXFxhcHBcXHBhZ2VzXFxlc3BlY2lmaWNvc1xcY2FyZ2lsbFxcY29uc3VsdGFzXFxkZXNjYXJnYXMtZmVycm92aWFyaWFzXFxkZXNjYXJnYXMtZmVycm92aWFyaWFzLWZvcm1cXGRlc2Nhcmdhcy1mZXJyb3ZpYXJpYXMtZm9ybS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2FyZ2lsbC9jb25zdWx0YXMvZGVzY2FyZ2FzLWZlcnJvdmlhcmlhcy9kZXNjYXJnYXMtZmVycm92aWFyaWFzLWZvcm0vZGVzY2FyZ2FzLWZlcnJvdmlhcmlhcy1mb3JtLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UseUJBQUE7RUFDQSxhQUFBO0VBQWdCLHNEQUFBO0VBQ2hCLFdBQUE7QUNFRjs7QURDQTtFQUNFLGVBQUE7RUFDQSxXQUFBO0VBQ0EsU0FBQTtFQUNBLDBCQUFBO0VBQ0EsV0FBQTtFQUNBLGdCQUFBO0VBQ0EsZUFBQTtBQ0VGOztBRENBO0VBQ0Usd0JBQUE7QUNFRiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL2NhcmdpbGwvY29uc3VsdGFzL2Rlc2Nhcmdhcy1mZXJyb3ZpYXJpYXMvZGVzY2FyZ2FzLWZlcnJvdmlhcmlhcy1mb3JtL2Rlc2Nhcmdhcy1mZXJyb3ZpYXJpYXMtZm9ybS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbImZpZWxkc2V0IHtcclxuICBib3JkZXI6IDFweCBzb2xpZCAjZGZkYmRiO1xyXG4gIHBhZGRpbmc6IDEwcHg7ICAvKiBjb250cm9sYSBhIGRpc3RhbmNpYSBlbnRyZSBvcyBlbGVtZW50b3MgZSBhIGJvcmRhICovXHJcbiAgd2lkdGg6IDEwMCU7ICBcclxufVxyXG5cclxubGVnZW5kIHtcclxuICBkaXNwbGF5OiBpbmxpbmU7XHJcbiAgd2lkdGg6IGF1dG87XHJcbiAgYm9yZGVyOiAwO1xyXG4gIHBhZGRpbmc6IDBweCAxMHB4IDBweCAxMHB4O1xyXG4gIG1hcmdpbjogMHB4O1xyXG4gIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgZm9udC1zaXplOiAxM3B4O1xyXG59XHJcblxyXG4uaW5wdXQtZ3JvdXAtdGV4dCB7XHJcbiAgZGlzcGxheTogbm9uZSAhaW1wb3J0YW50O1xyXG59XHJcbiIsImZpZWxkc2V0IHtcbiAgYm9yZGVyOiAxcHggc29saWQgI2RmZGJkYjtcbiAgcGFkZGluZzogMTBweDtcbiAgLyogY29udHJvbGEgYSBkaXN0YW5jaWEgZW50cmUgb3MgZWxlbWVudG9zIGUgYSBib3JkYSAqL1xuICB3aWR0aDogMTAwJTtcbn1cblxubGVnZW5kIHtcbiAgZGlzcGxheTogaW5saW5lO1xuICB3aWR0aDogYXV0bztcbiAgYm9yZGVyOiAwO1xuICBwYWRkaW5nOiAwcHggMTBweCAwcHggMTBweDtcbiAgbWFyZ2luOiAwcHg7XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG4gIGZvbnQtc2l6ZTogMTNweDtcbn1cblxuLmlucHV0LWdyb3VwLXRleHQge1xuICBkaXNwbGF5OiBub25lICFpbXBvcnRhbnQ7XG59Il19 */");

/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.ts":
/*!*************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.ts ***!
  \*************************************************************************************************************************************************/
/*! exports provided: DescargasFerroviariasFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasFormComponent", function() { return DescargasFerroviariasFormComponent; });
/* harmony import */ var _cadastro_terno_terno_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../../cadastro/terno/terno.service */ "./src/app/pages/cadastro/terno/terno.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__ = __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_7__ = __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_8__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../descargas-ferroviarias.constants */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.constants.ts");
/* harmony import */ var _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../descargas-ferroviarias.model */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.model.ts");
/* harmony import */ var _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../descargas-ferroviarias.service */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.service.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 DescargasFerroviariasFormComponent = /** @class */ (function (_super) {
    __extends(DescargasFerroviariasFormComponent, _super);
    function DescargasFerroviariasFormComponent(router, message, activatedRoute, service, funcoes, permissoesUtils, loginService, ternoService, localTransbordoService) {
        var _this = _super.call(this, new _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_9__["DescargasFerroviariasConstants"](), funcoes) || this;
        _this.router = router;
        _this.message = message;
        _this.activatedRoute = activatedRoute;
        _this.service = service;
        _this.funcoes = funcoes;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.ternoService = ternoService;
        _this.localTransbordoService = localTransbordoService;
        _this.mensagens = [];
        _this.constantes = new _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_9__["DescargasFerroviariasConstants"]();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__["Mascaras"]();
        _this.data = new _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_10__["DescargasFerroviarias"]();
        _this.ternos = [];
        _this.locaisTransbordo = [];
        _this.pageRoute = "/especificos/cargill/consultas/descargasFerroviarias";
        _this.target = _this.funcoes.getTargetLocation();
        router.events.subscribe(function (event) {
            var params = _this.funcoes.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    DescargasFerroviariasFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        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");
                if (id) {
                    this.service.getById(id).subscribe(function (resp) {
                        if (resp) {
                            _this.service.data = resp;
                            _this.getTernos();
                            _this.getLocalTransbordo();
                            _this.getSituacao();
                        }
                        else {
                            _this.message.warning("messages.descargasFerroviarias", "messages.nenhumRegistroEncontrado");
                            return;
                        }
                    });
                }
                else {
                    this.data = new _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_10__["DescargasFerroviarias"]();
                }
                return [2 /*return*/];
            });
        }); }, function () {
            _this.permissoesUtils.back();
        });
    };
    DescargasFerroviariasFormComponent.prototype.getSituacao = function () {
        switch (this.service.data.sitReg) {
            case "A":
                this.service.data.situacao = 'Aguardando 1a. Pesagem';
                break;
            case "P":
                this.service.data.situacao = 'Aguardando 2a. Pesagem';
                break;
            case "R":
                this.service.data.situacao = 'Aguardando Retorno';
                break;
            case "S":
                this.service.data.situacao = 'Aguardando Análise';
                break;
            case "C":
                this.service.data.situacao = 'Operação Concluída';
                break;
            case "E":
                this.service.data.situacao = 'Operação Cancelada';
                break;
            default:
                break;
        }
    };
    DescargasFerroviariasFormComponent.prototype.getTernos = function () {
        var _this = this;
        this.ternoService.get().subscribe(function (resp) {
            _this.ternos = resp;
        });
    };
    DescargasFerroviariasFormComponent.prototype.getLocalTransbordo = function () {
        var _this = this;
        this.localTransbordoService.get().subscribe(function (resp) {
            _this.locaisTransbordo = resp;
        });
    };
    DescargasFerroviariasFormComponent.prototype.back = function () {
        this.funcoesService.desabilitarFiltro();
        this.router.navigate(["" + this.target + this.pageRoute]);
    };
    DescargasFerroviariasFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"] },
        { type: _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_11__["DescargasFerroviariasService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"] },
        { type: _cadastro_terno_terno_service__WEBPACK_IMPORTED_MODULE_0__["TernoService"] },
        { type: app_pages_cadastro_local_de_transbordo_local_de_transbordo_service__WEBPACK_IMPORTED_MODULE_12__["LocalTransbordoService"] }
    ]; };
    DescargasFerroviariasFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-descargas-ferroviarias-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./descargas-ferroviarias-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./descargas-ferroviarias-form.component.scss */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"],
            _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_11__["DescargasFerroviariasService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"],
            _cadastro_terno_terno_service__WEBPACK_IMPORTED_MODULE_0__["TernoService"],
            app_pages_cadastro_local_de_transbordo_local_de_transbordo_service__WEBPACK_IMPORTED_MODULE_12__["LocalTransbordoService"]])
    ], DescargasFerroviariasFormComponent);
    return DescargasFerroviariasFormComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-index/descargas-ferroviarias-index.component.ts":
/*!***************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-index/descargas-ferroviarias-index.component.ts ***!
  \***************************************************************************************************************************************************/
/*! exports provided: DescargasFerroviariasIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasIndexComponent", function() { return DescargasFerroviariasIndexComponent; });
/* 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_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__ = __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_4__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __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_7__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../descargas-ferroviarias.constants */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.constants.ts");
/* harmony import */ var _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../descargas-ferroviarias.model */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.model.ts");
/* harmony import */ var _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../descargas-ferroviarias.service */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.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 DescargasFerroviariasIndexComponent = /** @class */ (function (_super) {
    __extends(DescargasFerroviariasIndexComponent, _super);
    function DescargasFerroviariasIndexComponent(router, service, datatables, permissoesUtils, message, loginService, funcoes) {
        var _this = _super.call(this, new _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_10__["DescargasFerroviariasConstants"](), funcoes) || this;
        _this.router = router;
        _this.service = service;
        _this.datatables = datatables;
        _this.permissoesUtils = permissoesUtils;
        _this.message = message;
        _this.loginService = loginService;
        _this.funcoes = funcoes;
        _this.data = new _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_11__["DescargasFerroviarias"]();
        _this.constantes = new _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_10__["DescargasFerroviariasConstants"]();
        _this.pageRoute = "/especificos/cargill/consultas/descargasFerroviarias";
        _this.target = _this.funcoesService.getTargetLocation();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    DescargasFerroviariasIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        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*/, 2];
                        if (this.funcoesService.abrirFiltro) {
                            this.service.filter = new _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_11__["DescargasFerroviariasFiltroVo"]();
                            this.funcoesService.openModal("descargas-ferroviarias-filter-dialog");
                        }
                        return [4 /*yield*/, this.refresh()];
                    case 1:
                        _a.sent();
                        _a.label = 2;
                    case 2: return [2 /*return*/];
                }
            });
        }); }, function () { return _this.permissoesUtils.back(); }, true);
    };
    DescargasFerroviariasIndexComponent.prototype.refresh = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _this = this;
            return __generator(this, function (_a) {
                if (!this.service.filter)
                    return [2 /*return*/];
                this.service.filter.situacao = this.service.filter.situacoes.join(',');
                this.service.getByFiltro(this.service.filter).subscribe(function (data) {
                    var columns = [
                        _this.datatables.getDataString("opDescargaTremId", "registro", "10%"),
                        _this.datatables.getDataString("placa", "placa"),
                        _this.datatables.getDataDateTime("dtAutorizacao", "data", "DD/MM/YYYY HH:mm", "15%"),
                        _this.datatables.getDataString("nomeCli", "cliente"),
                        _this.datatables.getDataString("nomeMat", "produto"),
                        _this.datatables.getDataDateTime("dtTriagem", "encoste", "DD/MM/YYYY HH:mm", "15%"),
                        _this.datatables.getDataString("situacao", "situacao")
                    ];
                    _this.datatables.toDataTable({ tableId: "dtDescargasFerroviarias", columns: columns, data: data, orientationOrder: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["EOrientationOrder"].ASC }, function (aData) {
                        _this.data = aData;
                    });
                });
                return [2 /*return*/];
            });
        });
    };
    DescargasFerroviariasIndexComponent.prototype.filtrar = function () {
        jQuery("#descargas-ferroviarias-filter-dialog").modal("show");
    };
    DescargasFerroviariasIndexComponent.prototype.executarFiltro = function (event) {
        this.service.filter = event;
        this.refresh();
    };
    DescargasFerroviariasIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    DescargasFerroviariasIndexComponent.prototype.itemSelecionado = function () {
        if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_6__["NumberUtilsStaticService"].isNotPositive(this.data.opDescargaTremId)) {
            this.message.warning("titles.descargasFerroviarias", "messages.selecioneUmRegistro");
            return false;
        }
        return true;
    };
    DescargasFerroviariasIndexComponent.prototype.detail = function () {
        if (!this.itemSelecionado())
            return;
        this.router.navigate(["" + this.target + this.pageRoute + "/detail/" + this.data.opDescargaTremId]);
    };
    DescargasFerroviariasIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _this.service.filter.situacao = _this.service.filter.situacoes.join(',');
            _this.constantes.paramRelatorio = {
                filialId: _this.loginService.getLogin().filialId,
                dataI: _this.service.filter.dataI,
                dataF: _this.service.filter.dataF,
                destinatarioIdCliente: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_6__["NumberUtilsStaticService"].toNumber(_this.service.filter.destinatarioIdCliente),
                materialId: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_8__["StringUtilsStaticService"].toString(_this.service.filter.materialId),
                situacao: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_8__["StringUtilsStaticService"].toString(_this.service.filter.situacao),
                registro: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_6__["NumberUtilsStaticService"].toNumber(_this.service.filter.registro),
                placa: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_8__["StringUtilsStaticService"].toString(_this.service.filter.placa)
            };
            _super.prototype.print.call(_this, null, true);
        });
    };
    DescargasFerroviariasIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_12__["DescargasFerroviariasService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] }
    ]; };
    DescargasFerroviariasIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-descargas-ferroviarias-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./descargas-ferroviarias-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-index/descargas-ferroviarias-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_12__["DescargasFerroviariasService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"]])
    ], DescargasFerroviariasIndexComponent);
    return DescargasFerroviariasIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-item/descargas-ferroviarias-item.component.ts":
/*!*************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-item/descargas-ferroviarias-item.component.ts ***!
  \*************************************************************************************************************************************************/
/*! exports provided: DescargasFerroviariasItemComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasItemComponent", function() { return DescargasFerroviariasItemComponent; });
/* harmony import */ var app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/lote/lote.service */ "./src/app/pages/cadastro/lote/lote.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var 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_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/array-utils/array-utils.static.service */ "./src/app/shared/services/funcoes/array-utils/array-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../descargas-ferroviarias.model */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.model.ts");
/* harmony import */ var _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../descargas-ferroviarias.service */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.service.ts");
/* harmony import */ var app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_service__WEBPACK_IMPORTED_MODULE_8__ = __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_config_enumerables__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.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 DescargasFerroviariasItemComponent = /** @class */ (function () {
    function DescargasFerroviariasItemComponent(message, service, funcoes, loginService, loteService, tipoDocumentoTranspService) {
        this.message = message;
        this.service = service;
        this.funcoes = funcoes;
        this.loginService = loginService;
        this.loteService = loteService;
        this.tipoDocumentoTranspService = tipoDocumentoTranspService;
        this.dataResult = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.isNotaComplementar = false;
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_9__["Mascaras"]();
        this.tipoDocumentoTransp = [];
    }
    DescargasFerroviariasItemComponent.prototype.ngOnInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                this.showTable = true;
                return [2 /*return*/];
            });
        });
    };
    DescargasFerroviariasItemComponent.prototype.selected = function (val, index) {
        this._index = index;
        this.service.descargasFerroviariasNota = val;
        this.getByLoteId(this.service.descargasFerroviariasNota.loteId);
        this.getTipoDocumentoTransp();
    };
    DescargasFerroviariasItemComponent.prototype.getByLoteId = function (loteId) {
        var _this = this;
        this.loteService.getByLoteId(loteId).subscribe(function (resp) {
            _this.service.descargasFerroviariasNota.lote = resp;
        });
    };
    DescargasFerroviariasItemComponent.prototype.getTipoDocumentoTransp = function () {
        var _this = this;
        this.tipoDocumentoTranspService.get().subscribe(function (resp) {
            _this.tipoDocumentoTransp = resp;
        });
    };
    Object.defineProperty(DescargasFerroviariasItemComponent.prototype, "hasDados", {
        get: function () {
            if (!app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_3__["ArrayUtilsStaticService"].any(this.service.data.opDescargaTremNotas))
                return;
            var result = this.service.data.opDescargaTremNotas.filter(function (r) { return r.sitReg !== 'E'; });
            return result.length > 0;
        },
        enumerable: true,
        configurable: true
    });
    DescargasFerroviariasItemComponent.prototype.back = function () {
        this.showTable = true;
        this.service.descargasFerroviariasNota = new _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_6__["DescargasFerroviariasNota"]();
        this.dataResult.emit(true);
        this._index = -1;
    };
    DescargasFerroviariasItemComponent.prototype.show = function () {
        this.showTable = false;
        this.dataResult.emit(false);
        this.checaSeNotaComplementar(this.service.descargasFerroviariasNota);
    };
    DescargasFerroviariasItemComponent.prototype.checaSeNotaComplementar = function (dados) {
        var _this = this;
        this.service.getNotaComplementar(dados).subscribe(function (resp) {
            if (resp.length > 0) {
                _this.isNotaComplementar = true;
            }
            else {
                _this.isNotaComplementar = false;
            }
        });
    };
    DescargasFerroviariasItemComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"] },
        { type: _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_7__["DescargasFerroviariasService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"] },
        { type: app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_0__["LoteService"] },
        { type: app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_service__WEBPACK_IMPORTED_MODULE_8__["TipoDocumentoTranspService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(),
        __metadata("design:type", Object)
    ], DescargasFerroviariasItemComponent.prototype, "isDetail", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(),
        __metadata("design:type", Object)
    ], DescargasFerroviariasItemComponent.prototype, "dataResult", void 0);
    DescargasFerroviariasItemComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-descargas-ferroviarias-item",
            template: __importDefault(__webpack_require__(/*! raw-loader!./descargas-ferroviarias-item.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-item/descargas-ferroviarias-item.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"],
            _descargas_ferroviarias_service__WEBPACK_IMPORTED_MODULE_7__["DescargasFerroviariasService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"],
            app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_0__["LoteService"],
            app_pages_cadastro_tipo_documento_transp_tipo_documento_transp_service__WEBPACK_IMPORTED_MODULE_8__["TipoDocumentoTranspService"]])
    ], DescargasFerroviariasItemComponent);
    return DescargasFerroviariasItemComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.constants.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.constants.ts ***!
  \****************************************************************************************************************/
/*! exports provided: DescargasFerroviariasConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasConstants", function() { return DescargasFerroviariasConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var DescargasFerroviariasConstants = /** @class */ (function () {
    function DescargasFerroviariasConstants() {
        this.sisFormularioId = 65686;
        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" }
        ];
        this.sisSistemaId = "BAL";
        this.nomeForm = "titles.descargasFerroviarias";
        this.reportId = "CAR0009";
        this.reportTitulo = { "titulo": "Descargas Ferroviárias", "subTitulo": "" };
        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: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
        this.listaForm = [
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
    }
    return DescargasFerroviariasConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.model.ts":
/*!************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.model.ts ***!
  \************************************************************************************************************/
/*! exports provided: DescargasFerroviarias, DescargasFerroviariasFiltroVo, DescargasFerroviariasNota */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviarias", function() { return DescargasFerroviarias; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasFiltroVo", function() { return DescargasFerroviariasFiltroVo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasNota", function() { return DescargasFerroviariasNota; });
/* 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 DescargasFerroviarias = /** @class */ (function (_super) {
    __extends(DescargasFerroviarias, _super);
    function DescargasFerroviarias() {
        var _this = _super.call(this) || this;
        _this.opDescargaTremNotas = [];
        return _this;
    }
    return DescargasFerroviarias;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var DescargasFerroviariasFiltroVo = /** @class */ (function () {
    function DescargasFerroviariasFiltroVo() {
        var currentDate = new Date();
        currentDate.setDate(1);
        this.dataI = currentDate;
        this.dataF = new Date();
        this.destinatarioIdCliente = 0;
        this.materialId = "";
        this.situacoes = ["A", "P", "R", "S", "C"];
        this.registro = 0;
        this.placa = "";
        this.aguardandoPrimeiraPesagem = "S";
        this.aguardandoSegundaPesagem = "S";
        this.aguardandoRetorno = "S";
        this.aguardandoAnalise = "S";
        this.operacaoCancelada = "";
        this.operacaoConcluida = "S";
    }
    return DescargasFerroviariasFiltroVo;
}());

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



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.module.ts":
/*!*************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.module.ts ***!
  \*************************************************************************************************************/
/*! exports provided: DescargasFerroviariasModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasModule", function() { return DescargasFerroviariasModule; });
/* 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 _descargas_ferroviarias_filter_descargas_ferroviarias_filter_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./descargas-ferroviarias-filter/descargas-ferroviarias-filter.component */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-filter/descargas-ferroviarias-filter.component.ts");
/* harmony import */ var _descargas_ferroviarias_form_descargas_ferroviarias_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./descargas-ferroviarias-form/descargas-ferroviarias-form.component */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.ts");
/* harmony import */ var _descargas_ferroviarias_index_descargas_ferroviarias_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./descargas-ferroviarias-index/descargas-ferroviarias-index.component */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-index/descargas-ferroviarias-index.component.ts");
/* harmony import */ var _descargas_ferroviarias_item_descargas_ferroviarias_item_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./descargas-ferroviarias-item/descargas-ferroviarias-item.component */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-item/descargas-ferroviarias-item.component.ts");
/* harmony import */ var _descargas_ferroviarias_routing_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./descargas-ferroviarias.routing.module */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.routing.module.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 DescargasFerroviariasModule = /** @class */ (function () {
    function DescargasFerroviariasModule() {
    }
    DescargasFerroviariasModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _descargas_ferroviarias_routing_module__WEBPACK_IMPORTED_MODULE_6__["DescargasFerroviariasRoutingModule"]],
            declarations: [
                _descargas_ferroviarias_index_descargas_ferroviarias_index_component__WEBPACK_IMPORTED_MODULE_4__["DescargasFerroviariasIndexComponent"],
                _descargas_ferroviarias_filter_descargas_ferroviarias_filter_component__WEBPACK_IMPORTED_MODULE_2__["DescargasFerroviariasFilterComponent"],
                _descargas_ferroviarias_form_descargas_ferroviarias_form_component__WEBPACK_IMPORTED_MODULE_3__["DescargasFerroviariasFormComponent"],
                _descargas_ferroviarias_item_descargas_ferroviarias_item_component__WEBPACK_IMPORTED_MODULE_5__["DescargasFerroviariasItemComponent"]
            ]
        })
    ], DescargasFerroviariasModule);
    return DescargasFerroviariasModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.routing.module.ts":
/*!*********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.routing.module.ts ***!
  \*********************************************************************************************************************/
/*! exports provided: DescargasFerroviariasRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasRoutingModule", function() { return DescargasFerroviariasRoutingModule; });
/* 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 _descargas_ferroviarias_form_descargas_ferroviarias_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./descargas-ferroviarias-form/descargas-ferroviarias-form.component */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-form/descargas-ferroviarias-form.component.ts");
/* harmony import */ var _descargas_ferroviarias_index_descargas_ferroviarias_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./descargas-ferroviarias-index/descargas-ferroviarias-index.component */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias-index/descargas-ferroviarias-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: _descargas_ferroviarias_index_descargas_ferroviarias_index_component__WEBPACK_IMPORTED_MODULE_4__["DescargasFerroviariasIndexComponent"],
        data: { breadcrumb: "descargasFerroviarias", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: "detail/:id",
        component: _descargas_ferroviarias_form_descargas_ferroviarias_form_component__WEBPACK_IMPORTED_MODULE_3__["DescargasFerroviariasFormComponent"],
        data: {
            breadcrumb: "descargasFerroviarias",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var DescargasFerroviariasRoutingModule = /** @class */ (function () {
    function DescargasFerroviariasRoutingModule() {
    }
    DescargasFerroviariasRoutingModule = __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"]]
        })
    ], DescargasFerroviariasRoutingModule);
    return DescargasFerroviariasRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.service.ts":
/*!**************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.service.ts ***!
  \**************************************************************************************************************/
/*! exports provided: DescargasFerroviariasService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargasFerroviariasService", function() { return DescargasFerroviariasService; });
/* 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 environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./descargas-ferroviarias.constants */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.constants.ts");
/* harmony import */ var _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./descargas-ferroviarias.model */ "./src/app/pages/especificos/cargill/consultas/descargas-ferroviarias/descargas-ferroviarias.model.ts");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};









var DescargasFerroviariasService = /** @class */ (function (_super) {
    __extends(DescargasFerroviariasService, _super);
    function DescargasFerroviariasService(http, message) {
        var _this = _super.call(this, http, "cargill/balanca/opDescargaTrem") || this;
        _this.http = http;
        _this.message = message;
        _this.data = new _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_4__["DescargasFerroviarias"]();
        _this.filter = new _descargas_ferroviarias_model__WEBPACK_IMPORTED_MODULE_4__["DescargasFerroviariasFiltroVo"]();
        _this.constantes = new _descargas_ferroviarias_constants__WEBPACK_IMPORTED_MODULE_3__["DescargasFerroviariasConstants"]();
        return _this;
    }
    DescargasFerroviariasService.prototype.getByFiltro = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].specifics_service_url + "/api/v1/cargill/balanca/opDescargaTrem/getByFiltro", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    DescargasFerroviariasService.prototype.getNotaComplementar = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].specifics_service_url + "/api/v1/cargill/balanca/opDescargaTrem/getNotaComplementar", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    DescargasFerroviariasService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"] }
    ]; };
    DescargasFerroviariasService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_6__["Injectable"])({
            providedIn: 'root'
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"]])
    ], DescargasFerroviariasService);
    return DescargasFerroviariasService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_7__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-cargill-consultas-descargas-ferroviarias-descargas-ferroviarias-module.js.map