(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-controle-transferencia-lote-transferencia-lote-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.html":
/*!************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.html ***!
  \************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal fade\" id=\"transferencia-lote-filter-dialog\" data-backdrop=\"static\" tabindex=\"-1\" role=\"dialog\"\r\n    data-backdrop=\"static\">\r\n    <div class=\"uni-modal-dialog-md-50\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.pesquisaDeTransferenciaLote' | translate }}</h6>\r\n            </div>\r\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\r\n                <app-validacoes></app-validacoes>\r\n                <div class=\"modal-body\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-9\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" tipoDestinatario=\"C\"\r\n                                    modalTitle=\"pesquisaDeCliente\" label=\"cliente\"\r\n                                    [(ngModel)]=\"service.filtro.destinatarioIdCliente\" showInscricao=\"false\"\r\n                                    showCgcCpf=\"false\" (change)=\"limpaCampos()\" [inSelected]=\"service.filtro.cliente\"\r\n                                    (outSelected)=\"service.filtro.cliente = $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-lg-9\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"emitente\" name=\"emitente\" tipoDestinatario=\"C\"\r\n                                    modalTitle=\"pesquisaDeEmitente\" label=\"emitente\"\r\n                                    [(ngModel)]=\"service.filtro.destinatarioIdEmitente\" showInscricao=\"false\"\r\n                                    showCgcCpf=\"false\" (change)=\"limpaCampos()\" [inSelected]=\"service.filtro.emitente\"\r\n                                    (outSelected)=\"service.filtro.emitente = $event\">\r\n                                </app-pesquisa-destinatario>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-2\">\r\n                            <div class=\"clearfix\">&nbsp;</div>\r\n                            <button class=\"btn btn-success custom\" type=\"submit\"\r\n                                [disabled]=\"service.filtro.movBal !=='S' && service.filtro.movRet !=='S'\r\n                                    && service.filtro.movSL !=='S' && service.filtro.movLB !=='S' && service.filtro.transfTodos !=='S'\">{{ 'buttons.pesquisar' |\r\n                                translate }}\r\n                            </button>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-9\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-material id=\"materialId\" name=\"materialId\" label=\"produto\"\r\n                                    modalTitle=\"pesquisaDeProduto\" [(ngModel)]=\"service.filtro.materialId\"\r\n                                    (outModel)=\"trataMaterial($event)\" required=\"true\"\r\n                                    [inSelected]=\"service.filtro.material\"\r\n                                    (outSelected)=\"service.filtro.material = $event\">\r\n                                </app-pesquisa-material>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-2\">\r\n                            <button type=\"button\" class=\"btn btn-default custom\" (click)=\"close()\">Sair</button>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-3\">\r\n                            <app-pesquisa-lote id=\"lote\" label=\"lote\" name=\"lote\" modalTitle=\"lote\"\r\n                                [(ngModel)]=\"service.filtro.loteId\"\r\n                                [destinatarioIdCliente]=\"service.filtro.destinatarioIdCliente\"\r\n                                [materialId]=\"service.filtro.materialId\" [loteId]=\"service.filtro.loteId\"\r\n                                [destinatarioIdEmitente]=\"service.filtro.destinatarioIdEmitente\" destinatarioIdNavio=\"0\"\r\n                                [osgId]=\"0\" stoContratoId=\"\" stoContratoItemId=\"0\" clienteOuProdutoObrigatorio=\"false\"\r\n                                [disabled]=\"!service.filtro.materialId || service.filtro.materialId === ''\">\r\n                            </app-pesquisa-lote>\r\n                        </div>\r\n                        <div class=\"col-lg-3\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-saldo-lote-deposito id=\"depositoOrigem\" name=\"depositoOrigem\"\r\n                                    required=\"true\" [label]=\"'depositoOrigem'\" [modalTitle]=\"'deposito'\"\r\n                                    [disabled]=\"!service.filtro.materialId || service.filtro.materialId === ''\"\r\n                                    [field]=\"'tanqueId'\" [options]=\"saldoDepositoOrigemOptions\"\r\n                                    [(ngModel)]=\"service.filtro.tanqueIdOri\"\r\n                                    (change)=\"verificaDepositoDestino(service.filtro.tanqueIdOri)\">\r\n                                </app-pesquisa-saldo-lote-deposito>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-3\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-saldo-lote-deposito id=\"depositoDest\" name=\"depositoDest\" required=\"true\"\r\n                                    [label]=\"'depositoDest'\" [modalTitle]=\"'deposito'\"\r\n                                    [disabled]=\"!service.filtro.materialId || service.filtro.materialId === '' || !service.filtro.tanqueIdOri\"\r\n                                    [field]=\"'tanqueId'\" [options]=\"saldoDepositoDestOptions\"\r\n                                    [(ngModel)]=\"service.filtro.tanqueIdDest\" (outModel)=\"trataDestino($event)\">\r\n                                </app-pesquisa-saldo-lote-deposito>\r\n                            </div>\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=\"tipoMov\" class=\"required\">{{\r\n                                    \"labels.tipoMov\" | translate\r\n                                    }}</label>\r\n                                <app-combo-padrao id=\"tipoMov\" name=\"tipoMov\"\r\n                                    [(ngModel)]=\"service.filtro.codMovProdutoId\" tabela=\"CodMovProduto\" chave=\"CodMov\"\r\n                                    descricao=\"DescrMov\" ativos=\"true\" required=\"true\">\r\n                                </app-combo-padrao>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-4\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"dataHora\" class=\"required\">{{\"labels.dataHora\" | translate}}</label>\r\n                                <app-data id=\"dataHora\" name=\"dataHora\" maxlength=\"1\" [(ngModel)]=\"service.filtro.dtRef\"\r\n                                    class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMinSeg\" required=\"true\">\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-4 col-md-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"observ\">{{'labels.observ' | translate}}</label>\r\n                                <input id=\"observ\" name=\"observ\" [(ngModel)]=\"service.filtro.observ\" maxlength=\"70\"\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\">\r\n                            <div class=\"form-check mt-4\">\r\n                                <div class=\"form-group\">\r\n                                    <input class=\"form-check-input\" type=\"checkbox\" id=\"preencherComSaldo\"\r\n                                        name=\"preencherComSaldo\"\r\n                                        (ngModelChange)=\"validaTransfSaldos($event);service.filtro.preencher = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"service.filtro.preencher ==='S'\">\r\n                                    <label class=\"form-check-label\" for=\"preencherComSaldo\">{{'labels.preencherComSaldo'\r\n                                        | translate}}\r\n                                    </label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-6\">\r\n                            <div class=\"form-check mt-4\">\r\n                                <div class=\"form-group\">\r\n                                    <input class=\"form-check-input\" type=\"checkbox\" id=\"transfTodos\" name=\"transfTodos\"\r\n                                        (ngModelChange)=\"validaCheckBox($event);service.filtro.transfTodos = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"service.filtro.transfTodos ==='S'\">\r\n                                    <label class=\"form-check-label\" for=\"transfTodos\">{{'labels.transfTodos' |\r\n                                        translate}}\r\n                                    </label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-3\">\r\n                            <div class=\"form-check\">\r\n                                <div class=\"form-group\">\r\n                                    <input class=\"form-check-input\" type=\"checkbox\" id=\"liberados\" name=\"liberados\"\r\n                                        [disabled]=\"service.filtro.transfTodos ==='S'\"\r\n                                        (ngModelChange)=\"service.filtro.movLB = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"service.filtro.movLB ==='S'\">\r\n                                    <label class=\"form-check-label\" for=\"liberados\">{{'labels.liberados' | translate}}\r\n                                    </label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-3\">\r\n                            <div class=\"form-check\">\r\n                                <div class=\"form-group\">\r\n                                    <input class=\"form-check-input\" type=\"checkbox\" id=\"semLiberacao\"\r\n                                        [disabled]=\"service.filtro.transfTodos ==='S'\" name=\"semLiberacao\"\r\n                                        (ngModelChange)=\"service.filtro.movSL = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"service.filtro.movSL ==='S'\">\r\n                                    <label class=\"form-check-label\" for=\"semLiberacao\">{{'labels.semLiberacao' |\r\n                                        translate}}\r\n                                    </label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-3\">\r\n                            <div class=\"form-check\">\r\n                                <div class=\"form-group\">\r\n                                    <input class=\"form-check-input\" type=\"checkbox\" id=\"retidos\" name=\"retidos\"\r\n                                        [disabled]=\"service.filtro.transfTodos ==='S'\"\r\n                                        (ngModelChange)=\"service.filtro.movRet = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"service.filtro.movRet ==='S'\">\r\n                                    <label class=\"form-check-label\" for=\"retidos\">{{'labels.retidos' | translate}}\r\n                                    </label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div *ngIf=\"ctrSdContabil\" class=\"col-lg-3\">\r\n                            <div class=\"form-check\">\r\n                                <div class=\"form-group\">\r\n                                    <input class=\"form-check-input\" type=\"checkbox\" id=\"contabil\" name=\"contabil\"\r\n                                        (ngModelChange)=\"service.filtro.movBal = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"service.filtro.movBal ==='S'\">\r\n                                    <label class=\"form-check-label\" for=\"contabil\">{{'labels.contabil' | translate}}\r\n                                    </label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\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/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-form.component.html":
/*!********************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-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\"\r\n                      [formAction]=\"actionForm\"\r\n                      [itemData]=\"data.regTransferencia\"\r\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"row\">\r\n    <div class=\"col-lg-12\">\r\n        <div class=\"section-comand-bar\">\r\n            <app-validacoes></app-validacoes>\r\n            <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\">\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=\"cliente\">{{'labels.cliente' | translate}}</label>\r\n                            <input id=\"cliente\" name=\"cliente\" [(ngModel)]=\"data.cliente\"\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=\"emitente\">{{'labels.emitente' | translate}}</label>\r\n                            <input id=\"emitente\" name=\"emitente\" [(ngModel)]=\"data.emitente\"\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=\"produto\">{{'labels.produto' | translate}}</label>\r\n                            <input id=\"produto\" name=\"produto\" [(ngModel)]=\"data.produto\"\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-6 col-sm-12\">\r\n                        <div class=\"form-group form-group-sm\">\r\n                            <label for=\"depositoOrigem\">{{'labels.depositoOrigem' | translate}}</label>\r\n                            <input id=\"depositoOrigem\" name=\"depositoOrigem\" [(ngModel)]=\"data.depositoOri\"\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=\"depositoDest\">{{'labels.depositoDest' | translate}}</label>\r\n                            <input id=\"depositoDest\" name=\"depositoDest\" [(ngModel)]=\"data.depositoDest\"\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=\"lote\">{{'labels.lote' | translate}}</label>\r\n                            <input id=\"lote\" name=\"lote\" [(ngModel)]=\"data.lote\"\r\n                                   class=\"form-control form-control-sm\" type=\"text\" disabled>\r\n                        </div>\r\n                    </div>\r\n                </div>\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 show\" data-toggle=\"tab\"\r\n                               href=\"#lib_\">{{\"labels.liberados\" | translate}}</a>\r\n                        </li>\r\n                        <li class=\"nav-item\">\r\n                            <a class=\"nav-link\" data-toggle=\"tab\"\r\n                               href=\"#semLib_\">{{\"labels.semLiberacao\" | translate}}</a>\r\n                        </li>\r\n                        <li class=\"nav-item\">\r\n                            <a class=\"nav-link\" data-toggle=\"tab\" href=\"#ret_\">{{\"labels.retidos\" | translate}}</a>\r\n                        </li>\r\n                        <li class=\"nav-item\">\r\n                            <a class=\"nav-link\" data-toggle=\"tab\" href=\"#con_\">{{\"labels.contabil\" | 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 show\" id=\"lib_\">\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=\"kilosComLib2\">{{'labels.kgSaldo' | translate}}</label>\r\n                                    <input id=\"kilosComLib2\" name=\"kilosComLib2\" [(ngModel)]=\"data.kilosComLib\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"kilosComLibTR\">{{'labels.kgTransf' | translate}}</label>\r\n                                    <input id=\"kilosComLibTR\" name=\"kilosComLibTR\" [(ngModel)]=\"data.kilosComLibTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaKilosLiber()\">\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=\"litrosComLib\">{{'labels.ltSaldo' | translate}}</label>\r\n                                    <input id=\"litrosComLib\" name=\"litrosComLib\" [(ngModel)]=\"data.litrosComLib\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"litrosComLibTR\">{{'labels.ltTransf' | translate}}</label>\r\n                                    <input id=\"litrosComLibTR\" name=\"litrosComLibTR\" [(ngModel)]=\"data.litrosComLibTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaLitrosLiber()\">\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=\"quantComLib\">{{'labels.qtdeSaldo' | translate}}</label>\r\n                                    <input id=\"quantComLib\" name=\"quantComLib\" [(ngModel)]=\"data.quantComLib\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"quantComLibTR\">{{'labels.qtdeTransf' | translate}}</label>\r\n                                    <input id=\"quantComLibTR\" name=\"quantComLibTR\" [(ngModel)]=\"data.quantComLibTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaQtdeLiber()\">\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=\"codMovLB\">{{ \"labels.tipoMov\" | translate }}</label>\r\n                                    <app-combo-padrao\r\n                                            id=\"codMovLB\"\r\n                                            name=\"codMovLB\"\r\n                                            [(ngModel)]=\"data.codMovLB \"\r\n                                            tabela=\"CodMovProduto\"\r\n                                            chave=\"CodMov\"\r\n                                            descricao=\"DescrMov\"\r\n                                            ativos=\"true\"\r\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                    </app-combo-padrao>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\r\n                                <div class=\"form-check mt-2\">\r\n                                    <div class=\"form-group\">\r\n                                        <input class=\"form-check-input\" type=\"checkbox\"\r\n                                               id=\"movFisicaLB\"\r\n                                               name=\"movFisicaLB\"\r\n                                               (ngModelChange)=\"data.movFisicaLB = $event ? 'S' : 'N'\"\r\n                                               [ngModel]=\"data.movFisicaLB ==='S'\"\r\n                                               [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                        <label class=\"form-check-label\"\r\n                                               for=\"movFisicaLB\">{{'labels.movimentacaoFisica' | translate}}\r\n                                        </label>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-6 col-md-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"observLB\">{{'labels.observ' | translate}}</label>\r\n                                    <input id=\"observLB\"\r\n                                           name=\"observLB\"\r\n                                           [(ngModel)]=\"data.observLB\"\r\n                                           maxlength=\"70\"\r\n                                           class=\"form-control form-control-sm\"\r\n                                           type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"tab-pane\" id=\"semLib_\">\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=\"kilosSemLib2\">{{'labels.kgSaldo' | translate}}</label>\r\n                                    <input id=\"kilosSemLib2\" name=\"kilosSemLib2\" [(ngModel)]=\"data.kilosSemLib\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"kilosSemLibTR\">{{'labels.kgTransf' | translate}}</label>\r\n                                    <input id=\"kilosSemLibTR\" name=\"kilosSemLibTR\" [(ngModel)]=\"data.kilosSemLibTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaKilosSemLiber()\">\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=\"litrosSemLib1\">{{'labels.ltSaldo' | translate}}</label>\r\n                                    <input id=\"litrosSemLib1\" name=\"litrosSemLib1\" [(ngModel)]=\"data.litrosSemLib\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"litrosSemLibTR\">{{'labels.ltTransf' | translate}}</label>\r\n                                    <input id=\"litrosSemLibTR\" name=\"litrosSemLibTR\" [(ngModel)]=\"data.litrosSemLibTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaLitrosSemLiber()\">\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=\"quantSemlib1\">{{'labels.qtdeSaldo' | translate}}</label>\r\n                                    <input id=\"quantSemlib1\" name=\"quantSemlib1\" [(ngModel)]=\"data.quantSemLib\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"quantSemLibTR\">{{'labels.qtdeTransf' | translate}}</label>\r\n                                    <input id=\"quantSemLibTR\" name=\"quantSemLibTR\" [(ngModel)]=\"data.quantSemLibTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaQtdeSemLiber()\">\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=\"codMovSL\">{{ \"labels.tipoMov\" | translate }}</label>\r\n                                    <app-combo-padrao\r\n                                            id=\"codMovSL\"\r\n                                            name=\"codMovSL\"\r\n                                            [(ngModel)]=\"data.codMovSL \"\r\n                                            tabela=\"CodMovProduto\"\r\n                                            chave=\"CodMov\"\r\n                                            descricao=\"DescrMov\"\r\n                                            ativos=\"true\"\r\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                    </app-combo-padrao>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\r\n                                <div class=\"form-check mt-2\">\r\n                                    <div class=\"form-group\">\r\n                                        <input class=\"form-check-input\" type=\"checkbox\"\r\n                                               id=\"movFisicaSL\"\r\n                                               name=\"movFisicaSL\"\r\n                                               (ngModelChange)=\"data.movFisicaSL = $event ? 'S' : 'N'\"\r\n                                               [ngModel]=\"data.movFisicaSL ==='S'\"\r\n                                               [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                        <label class=\"form-check-label\"\r\n                                               for=\"movFisicaSL\">{{'labels.movimentacaoFisica' | translate}}\r\n                                        </label>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-6 col-md-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"observSL\">{{'labels.observ' | translate}}</label>\r\n                                    <input id=\"observSL\"\r\n                                           name=\"observSL\"\r\n                                           [(ngModel)]=\"data.observSL\"\r\n                                           maxlength=\"70\"\r\n                                           class=\"form-control form-control-sm\"\r\n                                           type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"tab-pane\" id=\"ret_\">\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=\"kilosRet2\">{{'labels.kgSaldo' | translate}}</label>\r\n                                    <input id=\"kilosRet2\" name=\"kilosRet2\" [(ngModel)]=\"data.kilosRet\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"kilosRetTR\">{{'labels.kgTransf' | translate}}</label>\r\n                                    <input id=\"kilosRetTR\" name=\"kilosRetTR\" [(ngModel)]=\"data.kilosRetTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaKilosRetidos()\">\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=\"litrosRet1\">{{'labels.ltSaldo' | translate}}</label>\r\n                                    <input id=\"litrosRet1\" name=\"litrosRet1\" [(ngModel)]=\"data.litrosRet\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"litrosRetTR\">{{'labels.ltTransf' | translate}}</label>\r\n                                    <input id=\"litrosRetTR\" name=\"litrosRetTR\" [(ngModel)]=\"data.litrosRetTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaLitrosRetidos()\">\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=\"quantRet1\">{{'labels.qtdeSaldo' | translate}}</label>\r\n                                    <input id=\"quantRet1\" name=\"quantRet1\" [(ngModel)]=\"data.quantRet\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"quantRetTR\">{{'labels.qtdeTransf' | translate}}</label>\r\n                                    <input id=\"quantRetTR\" name=\"quantRetTR\" [(ngModel)]=\"data.quantRetTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaQtdeRetidos()\">\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=\"codMovRT\">{{ \"labels.tipoMov\" | translate }}</label>\r\n                                    <app-combo-padrao\r\n                                            id=\"codMovRT\"\r\n                                            name=\"codMovRT\"\r\n                                            [(ngModel)]=\"data.codMovRT\"\r\n                                            tabela=\"CodMovProduto\"\r\n                                            chave=\"CodMov\"\r\n                                            descricao=\"DescrMov\"\r\n                                            ativos=\"true\"\r\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                    </app-combo-padrao>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"observRT\">{{'labels.observ' | translate}}</label>\r\n                                    <input id=\"observRT\"\r\n                                           name=\"observRT\"\r\n                                           [(ngModel)]=\"data.observRT\"\r\n                                           maxlength=\"70\"\r\n                                           class=\"form-control form-control-sm\"\r\n                                           type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"tab-pane\" id=\"con_\">\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=\"kilosBalanca1\">{{'labels.kgSaldo' | translate}}</label>\r\n                                    <input id=\"kilosBalanca1\" name=\"kilosBalanca1\" [(ngModel)]=\"data.kilosBalanca\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"kilosBalancaTR\">{{'labels.kgTransf' | translate}}</label>\r\n                                    <input id=\"kilosBalancaTR\" name=\"kilosBalancaTR\" [(ngModel)]=\"data.kilosBalancaTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaKilosContabil()\">\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=\"litrosBalanca2\">{{'labels.ltSaldo' | translate}}</label>\r\n                                    <input id=\"litrosBalanca2\" name=\"litrosBalanca2\" [(ngModel)]=\"data.litrosBalanca\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"litrosBalancaTR\">{{'labels.ltTransf' | translate}}</label>\r\n                                    <input id=\"litrosBalancaTR\" name=\"litrosBalancaTR\"\r\n                                           [(ngModel)]=\"data.litrosBalancaTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaLitrosContabil()\">\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=\"quantBalanca1\">{{'labels.qtdeSaldo' | translate}}</label>\r\n                                    <input id=\"quantBalanca1\" name=\"quantBalanca1\" [(ngModel)]=\"data.quantBalanca\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\" disabled\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"quantBalancaTR\">{{'labels.qtdeTransf' | translate}}</label>\r\n                                    <input id=\"quantBalancaTR\" name=\"quantBalancaTR\" [(ngModel)]=\"data.quantBalancaTR\"\r\n                                           class=\"form-control form-control-sm\" type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\r\n                                           currencyMask\r\n                                           [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\r\n                                           (blur)=\"validaQtdeContabil()\">\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=\"codMovBL\">{{ \"labels.tipoMov\" | translate }}</label>\r\n                                    <app-combo-padrao\r\n                                            id=\"codMovBL\"\r\n                                            name=\"codMovBL\"\r\n                                            [(ngModel)]=\"data.codMovBL\"\r\n                                            tabela=\"CodMovProduto\"\r\n                                            chave=\"CodMov\"\r\n                                            descricao=\"DescrMov\"\r\n                                            ativos=\"true\"\r\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                    </app-combo-padrao>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"row\">\r\n                            <div class=\"col-lg-6 col-md-12\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <label for=\"observBL\">{{'labels.observ' | translate}}</label>\r\n                                    <input id=\"observBL\"\r\n                                           name=\"observBL\"\r\n                                           [(ngModel)]=\"data.observBL\"\r\n                                           maxlength=\"70\"\r\n                                           class=\"form-control form-control-sm\"\r\n                                           type=\"text\"\r\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"row\">\r\n                    <div class=\"col-4\">\r\n                        <div class=\"form-group\">\r\n                            <button class=\"btn btn-success mr-2\" type=\"submit\"\r\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                {{ 'buttons.salvar' | translate }}\r\n                            </button>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-index.component.html":
/*!**********************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-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\" [formAction]=\"actionForm\"\r\n    [itemData]=\"data.regTransferencia\" [sisFormularioId]=\"constantes.sisFormularioId\">\r\n</app-menu-command-bar>\r\n<div class=\"section-comand-bar\">\r\n    <table id=\"dtConsulta\" class=\"table table-striped table-bordered table-hover nowrap table-sm table-responsive\">\r\n        <thead>\r\n            <tr>\r\n                <th colspan=\"7\" style=\"text-align: center;\"></th>\r\n                <th colspan=\"6\" style=\"text-align: center;\">{{ 'labels.liberados' | translate }}</th>\r\n                <th colspan=\"6\" style=\"text-align: center;\">{{ 'labels.semLiberacao' | translate }}</th>\r\n                <th colspan=\"6\" style=\"text-align: center;\">{{ 'labels.retidos' | translate }}</th>\r\n                <th colspan=\"6\" style=\"text-align: center;\">{{ 'labels.contabil' | translate }}</th>\r\n            </tr>\r\n            <tr>\r\n                <th>{{ 'labels.sel' | translate}}</th>\r\n                <th style=\"display: none\">{{ 'labels.id' | translate}}</th>\r\n                <th>{{ 'labels.lote' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.depositoOrigem' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.depositoDest' | translate}}</th>\r\n                <th>{{ 'labels.cliente' | translate}}</th>\r\n                <th>{{ 'labels.emitente' | translate}}</th>\r\n                <th>{{ 'labels.produto' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.kgTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.ltTransf' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeSaldo' | translate}}</th>\r\n                <th style=\"white-space: nowrap;\">{{ 'labels.qtdeTransf' | translate}}</th>\r\n            </tr>\r\n        </thead>\r\n        <tbody>\r\n            <tr *ngFor=\"let t of service.dados\" [ngClass]=\"{ 'info' : t.regTransferencia == data.regTransferencia }\"\r\n                (click)=\"(data = t) && (service.exibeBtnAjusteManual = true)\">\r\n                <td>\r\n                    <input type=\"checkbox\" id=\"marcado\" name=\"marcado\" value=\"checked\"\r\n                        (ngModelChange)=\"trataReg($event,t)\" [ngModel]=\"t.marcado ==='S'\"\r\n                        style=\"margin-left:auto; margin-right:auto;\">\r\n                </td>\r\n                <td style=\"display: none\">{{ t.regTransferencia }}</td>\r\n                <td>{{ t.lote }}</td>\r\n                <td style=\"white-space: nowrap;\">{{ t.depositoOri }}</td>\r\n                <td style=\"white-space: nowrap;\">{{ t.depositoDest }}</td>\r\n                <td style=\"white-space: nowrap;\">{{ t.cliente }}</td>\r\n                <td style=\"white-space: nowrap;\">{{ t.emitente }}</td>\r\n                <td style=\"white-space: nowrap;\">{{ t.produto }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosComLib | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosComLibTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosComLib | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosComLibTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantComLib | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantComLibTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosSemLib | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosSemLibTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosSemLib | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosSemLibTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantSemLib | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantSemLibTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosRet | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosRetTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosRet | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosRetTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantRet | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantRetTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosBalanca | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.kilosBalancaTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosBalanca | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.litrosBalancaTR | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantBalanca | formatCurrency }}</td>\r\n                <td style=\"text-align: right;\">{{ t.quantBalancaTR | formatCurrency }}</td>\r\n            </tr>\r\n        </tbody>\r\n    </table>\r\n    <div class=\"clearfix\">&nbsp;</div>\r\n    <div>\r\n        <button class=\"btn btn-success mr-2\" (click)=\"selectAll()\" type=\"button\" [disabled]=\"!service.hasDados\">\r\n            {{ 'buttons.selecionar' | translate }}\r\n        </button>\r\n        <button class=\"btn btn-success mr-2\" (click)=\"ajusteManual()\" type=\"button\" [disabled]=\"!service.exibeBtnAjusteManual\">\r\n            {{ 'buttons.ajusteManual' | translate }}\r\n        </button>\r\n        <button class=\"btn btn-success mr-2\" (click)=\"gerar()\" type=\"button\" [disabled]=\"!service.hasDados\">\r\n            {{ 'buttons.gerar' | translate }}\r\n        </button>\r\n    </div>\r\n</div>\r\n\r\n<app-propriedades></app-propriedades>\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\r\n<app-transferencia-lote-filter (filtrar)=\"executaFiltro()\"></app-transferencia-lote-filter>");

/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.scss":
/*!**********************************************************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.scss ***!
  \**********************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".custom {\n  width: 120px !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvY29udHJvbGUvdHJhbnNmZXJlbmNpYS1sb3RlL3RyYW5zZmVyZW5jaWEtbG90ZS1maWx0ZXIvQzpcXENvcnBvcmF0ZVxcQ29ycG9yYXRlV2ViRGVzZW52XFxfdW5pc29sdXRpb24vc3JjXFxhcHBcXHBhZ2VzXFxjb250cm9sZVxcdHJhbnNmZXJlbmNpYS1sb3RlXFx0cmFuc2ZlcmVuY2lhLWxvdGUtZmlsdGVyXFx0cmFuc2ZlcmVuY2lhLWxvdGUtZmlsdGVyLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9jb250cm9sZS90cmFuc2ZlcmVuY2lhLWxvdGUvdHJhbnNmZXJlbmNpYS1sb3RlLWZpbHRlci90cmFuc2ZlcmVuY2lhLWxvdGUtZmlsdGVyLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksdUJBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2NvbnRyb2xlL3RyYW5zZmVyZW5jaWEtbG90ZS90cmFuc2ZlcmVuY2lhLWxvdGUtZmlsdGVyL3RyYW5zZmVyZW5jaWEtbG90ZS1maWx0ZXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY3VzdG9tIHtcclxuICAgIHdpZHRoOiAxMjBweCAhaW1wb3J0YW50O1xyXG59XHJcbiIsIi5jdXN0b20ge1xuICB3aWR0aDogMTIwcHggIWltcG9ydGFudDtcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.ts":
/*!********************************************************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.ts ***!
  \********************************************************************************************************************/
/*! exports provided: TransferenciaLoteFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteFilterComponent", function() { return TransferenciaLoteFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../transferencia-lote.constants */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.constants.ts");
/* harmony import */ var _transferencia_lote_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../transferencia-lote.model */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.model.ts");
/* harmony import */ var _transferencia_lote_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../transferencia-lote.service */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.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 TransferenciaLoteFilterComponent = /** @class */ (function () {
    function TransferenciaLoteFilterComponent(funcoesService, messageService, service, configuracao, loginService) {
        var _this = this;
        this.funcoesService = funcoesService;
        this.messageService = messageService;
        this.service = service;
        this.configuracao = configuracao;
        this.loginService = loginService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_1__["Mascaras"]();
        this.constantes = new _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_7__["TransferenciaLoteConstants"]();
        this.loadConfig = function () {
            _this.ctrSaldoContab = _this.funcoesService.isBoolean(_this.configuracao.lerConfig("STO", "ctrSaldoContab"));
            _this.ctrSdContabil = _this.funcoesService.isBoolean(_this.configuracao.lerConfig("STO", "CtrSdContabil"));
        };
    }
    TransferenciaLoteFilterComponent.prototype.ngOnInit = function () {
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
    };
    TransferenciaLoteFilterComponent.prototype.onSubmit = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.filtrar.emit();
        jQuery("#transferencia-lote-filter-dialog").modal("hide");
        this.service.exibeBtnAjusteManual = false;
    };
    TransferenciaLoteFilterComponent.prototype.close = function () {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(null);
        jQuery("#transferencia-lote-filter-dialog").modal("hide");
        this.service.deleteTmpTransferencia().subscribe();
        this.service.dados = [];
        this.service.filtro = new _transferencia_lote_model__WEBPACK_IMPORTED_MODULE_8__["TransferenciaLoteFilter"]();
        this.service.hasDados = false;
        this.service.exibeBtnAjusteManual = false;
    };
    TransferenciaLoteFilterComponent.prototype.trataOrigem = function (e) {
        this.service.filtro.tanqueOri = e;
    };
    TransferenciaLoteFilterComponent.prototype.verificaDepositoDestino = function (dados) {
        if (!dados) {
            this.service.filtro.tanqueIdDest = "";
        }
    };
    Object.defineProperty(TransferenciaLoteFilterComponent.prototype, "saldoDepositoOrigemOptions", {
        get: function () {
            return {
                destinatarioIdCliente: this.service.filtro.destinatarioIdCliente,
                destinatarioIdEmitente: this.service.filtro.destinatarioIdEmitente,
                materialId: this.service.filtro.materialId,
                tanqueId: this.service.filtro.tanqueIdOri,
                loteId: this.service.filtro.loteId,
                modo: 5,
                tipoSaldo: 5,
                dataMovimento: this.service.filtro.dtRef,
                tipoAgrupa: 'D',
                geraArquivo: 'N'
            };
        },
        enumerable: true,
        configurable: true
    });
    TransferenciaLoteFilterComponent.prototype.trataDestino = function (e) {
        this.service.filtro.tanqueDest = e;
        if (this.service.filtro.tanqueIdDest === this.service.filtro.tanqueIdOri) {
            this.messageService.warning("titles.transferenciaLote", "messages.tanqueDestinoNaoPodeSerIgualTanqueOrigem");
            this.service.filtro.tanqueIdDest = "";
        }
    };
    Object.defineProperty(TransferenciaLoteFilterComponent.prototype, "saldoDepositoDestOptions", {
        get: function () {
            return {
                destinatarioIdCliente: this.service.filtro.destinatarioIdCliente,
                destinatarioIdEmitente: this.service.filtro.destinatarioIdEmitente,
                materialId: this.service.filtro.materialId,
                sitLote: 'A',
                modo: 7,
                tipoSaldo: 7,
                dataMovimento: this.service.filtro.dtRef,
                tipoAgrupa: 'D',
                geraArquivo: 'N'
            };
        },
        enumerable: true,
        configurable: true
    });
    TransferenciaLoteFilterComponent.prototype.trataMaterial = function (m) {
        this.service.filtro.material = m;
        this.limpaCampos();
    };
    TransferenciaLoteFilterComponent.prototype.validaTransfSaldos = function (e) {
        if (!e) {
            this.service.filtro.transfTodos = 'N';
        }
    };
    TransferenciaLoteFilterComponent.prototype.validaCheckBox = function (check) {
        if (check) {
            this.service.filtro.movLB = 'N';
            this.service.filtro.movSL = 'N';
            this.service.filtro.movRet = 'N';
        }
    };
    TransferenciaLoteFilterComponent.prototype.limpaCampos = function () {
        this.service.filtro.loteId = '';
        this.service.filtro.tanqueIdOri = '';
        this.service.filtro.tanqueIdDest = '';
    };
    TransferenciaLoteFilterComponent.prototype.onCancelar = function () {
        this.limpaCampos();
    };
    TransferenciaLoteFilterComponent.ctorParameters = function () { return [
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"] },
        { type: _transferencia_lote_service__WEBPACK_IMPORTED_MODULE_9__["TransferenciaLoteService"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], TransferenciaLoteFilterComponent.prototype, "filtrar", void 0);
    TransferenciaLoteFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-transferencia-lote-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./transferencia-lote-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./transferencia-lote-filter.component.scss */ "./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"],
            _transferencia_lote_service__WEBPACK_IMPORTED_MODULE_9__["TransferenciaLoteService"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"]])
    ], TransferenciaLoteFilterComponent);
    return TransferenciaLoteFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-form.component.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-form.component.ts ***!
  \****************************************************************************************************************/
/*! exports provided: TransferenciaLoteFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteFormComponent", function() { return TransferenciaLoteFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__ = __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 _config_enumerables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../transferencia-lote.constants */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.constants.ts");
/* harmony import */ var _transferencia_lote_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../transferencia-lote.model */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.model.ts");
/* harmony import */ var _transferencia_lote_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../transferencia-lote.service */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.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 TransferenciaLoteFormComponent = /** @class */ (function (_super) {
    __extends(TransferenciaLoteFormComponent, _super);
    function TransferenciaLoteFormComponent(router, messageService, activatedRoute, service, funcoesService, configuracao, permissoesUtils) {
        var _this = _super.call(this, new _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_9__["TransferenciaLoteConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.service = service;
        _this.funcoesService = funcoesService;
        _this.configuracao = configuracao;
        _this.permissoesUtils = permissoesUtils;
        _this.data = new _transferencia_lote_model__WEBPACK_IMPORTED_MODULE_10__["TransferenciaLoteDto"]();
        _this.mensagens = [];
        _this.constantes = new _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_9__["TransferenciaLoteConstants"]();
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_3__["Mascaras"]();
        _this.title = "titles.transferenciaLote";
        _this.target = _this.funcoesService.getTargetLocation();
        _this.loadConfig = function () {
            _this.ctrSaldoContab = _this.funcoesService.isBoolean(_this.configuracao.lerConfig("STO", "ctrSaldoContab"));
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    TransferenciaLoteFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            var id = _this.activatedRoute.snapshot.paramMap.get("id");
            if (id) {
                _this.service.getById(id).subscribe(function (resp) {
                    _this.data = resp;
                });
            }
            else {
                _this.data = new _transferencia_lote_model__WEBPACK_IMPORTED_MODULE_10__["TransferenciaLoteDto"]();
            }
        }, function () { return _this.permissoesUtils.back(); });
    };
    TransferenciaLoteFormComponent.prototype.onSubmit = function (form) {
        this.data.marcado = "N";
        if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.kilosComLibTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.litrosComLibTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.quantSemLibTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.kilosSemLibTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.litrosSemLibTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.kilosRetTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.litrosRetTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.quantRetTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.kilosBalancaTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.litrosBalancaTR) ||
            app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["NumberUtilsStaticService"].isPositive(this.data.quantBalancaTR)) {
            this.data.marcado = "S";
        }
        this.service._update(this.data).subscribe();
        this.back();
    };
    TransferenciaLoteFormComponent.prototype.edit = function () {
        this.router.navigate([this.target + "/controle/transferenciaLote/edit/" + this.data.regTransferencia]);
    };
    TransferenciaLoteFormComponent.prototype.back = function () {
        this.service.exibeBtnAjusteManual = false;
        this.router.navigate([this.target + "/controle/transferenciaLote"]);
    };
    TransferenciaLoteFormComponent.prototype.validaKilosLiber = function () {
        if (this.data.kilosComLibTR > this.data.kilosComLib) {
            this.messageService.warning(this.title, "messages.kilosLiberadosInformadoMaiorDisponivel");
            this.data.kilosComLibTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaLitrosLiber = function () {
        if (this.data.litrosComLibTR > this.data.litrosComLib) {
            this.messageService.warning(this.title, "messages.litrosLiberadosInformadoMaiorDisponivel");
            this.data.litrosComLibTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaQtdeLiber = function () {
        if (this.data.quantComLibTR > this.data.quantComLib) {
            this.messageService.warning(this.title, "messages.quantidadeLiberadosInformadoMaiorDisponivel");
            this.data.quantComLibTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaKilosSemLiber = function () {
        if (this.data.kilosSemLibTR > this.data.kilosSemLib) {
            this.messageService.warning(this.title, "messages.kilosSemLiberacaoInformadoMaiorDisponivel");
            this.data.kilosSemLibTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaLitrosSemLiber = function () {
        if (this.data.litrosSemLibTR > (this.funcoesService.isUndefinedOrNull(this.data.litrosSemLib) ? 0 : this.data.litrosSemLib)) {
            this.messageService.warning(this.title, "messages.litrosSemLiberacaoInformadoMaiorDisponivel");
            this.data.litrosSemLibTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaQtdeSemLiber = function () {
        if (this.data.quantSemLibTR > (this.funcoesService.isUndefinedOrNull(this.data.quantSemLib) ? 0 : this.data.quantSemLib)) {
            this.messageService.warning(this.title, "messages.quantidadeSemLiberacaoInformadoMaiorDisponivel");
            this.data.quantSemLibTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaKilosRetidos = function () {
        if (this.data.kilosRetTR > this.data.kilosRet) {
            this.messageService.warning(this.title, "messages.kilosRetidosInformadoMaiorDisponivel");
            this.data.kilosRetTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaLitrosRetidos = function () {
        if (this.data.litrosRetTR > this.data.litrosRet) {
            this.messageService.warning(this.title, "messages.litrosRetidosInformadoMaiorDisponivel");
            this.data.litrosRetTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaQtdeRetidos = function () {
        if (this.data.quantRetTR > this.data.quantRet) {
            this.messageService.warning(this.title, "messages.quantidadeRetidosInformadoMaiorDisponivel");
            this.data.quantRetTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaKilosContabil = function () {
        if (this.data.kilosBalancaTR > this.data.kilosBalanca) {
            this.messageService.warning(this.title, "messages.kilosContabilInformadoMaiorDisponivel");
            this.data.kilosBalancaTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaLitrosContabil = function () {
        if (this.data.litrosBalancaTR > this.data.litrosBalanca) {
            this.messageService.warning(this.title, "messages.litrosContabilInformadoMaiorDisponivel");
            this.data.litrosBalancaTR = 0;
            return;
        }
    };
    TransferenciaLoteFormComponent.prototype.validaQtdeContabil = function () {
        if (this.data.quantBalancaTR > this.data.quantBalanca) {
            this.messageService.warning(this.title, "messages.quantidadeContabilInformadoMaiorDisponivel");
            this.data.quantBalancaTR = 0;
            return;
        }
    };
    Object.defineProperty(TransferenciaLoteFormComponent.prototype, "stitle", {
        get: function () {
            return this.messageService.translate(this.title);
        },
        enumerable: true,
        configurable: true
    });
    TransferenciaLoteFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _transferencia_lote_service__WEBPACK_IMPORTED_MODULE_11__["TransferenciaLoteService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__["ConfiguracaoFacade"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"] }
    ]; };
    TransferenciaLoteFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-transferencia-lote-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./transferencia-lote-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _transferencia_lote_service__WEBPACK_IMPORTED_MODULE_11__["TransferenciaLoteService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__["ConfiguracaoFacade"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"]])
    ], TransferenciaLoteFormComponent);
    return TransferenciaLoteFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("table#dtConsulta::-webkit-scrollbar {\n  width: 15px !important;\n}\n\ntable#dtConsulta::-webkit-scrollbar:horizontal {\n  height: 15px !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvY29udHJvbGUvdHJhbnNmZXJlbmNpYS1sb3RlL3RyYW5zZmVyZW5jaWEtbG90ZS1pbmRleC9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxccGFnZXNcXGNvbnRyb2xlXFx0cmFuc2ZlcmVuY2lhLWxvdGVcXHRyYW5zZmVyZW5jaWEtbG90ZS1pbmRleFxcdHJhbnNmZXJlbmNpYS1sb3RlLWluZGV4LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9jb250cm9sZS90cmFuc2ZlcmVuY2lhLWxvdGUvdHJhbnNmZXJlbmNpYS1sb3RlLWluZGV4L3RyYW5zZmVyZW5jaWEtbG90ZS1pbmRleC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHNCQUFBO0FDQ0Y7O0FERUE7RUFDRSx1QkFBQTtBQ0NGIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvY29udHJvbGUvdHJhbnNmZXJlbmNpYS1sb3RlL3RyYW5zZmVyZW5jaWEtbG90ZS1pbmRleC90cmFuc2ZlcmVuY2lhLWxvdGUtaW5kZXguY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJ0YWJsZSNkdENvbnN1bHRhOjotd2Via2l0LXNjcm9sbGJhciB7XHJcbiAgd2lkdGg6IDE1cHggIWltcG9ydGFudDtcclxufVxyXG5cclxudGFibGUjZHRDb25zdWx0YTo6LXdlYmtpdC1zY3JvbGxiYXI6aG9yaXpvbnRhbCB7XHJcbiAgaGVpZ2h0OiAxNXB4ICFpbXBvcnRhbnQ7XHJcbn1cclxuIiwidGFibGUjZHRDb25zdWx0YTo6LXdlYmtpdC1zY3JvbGxiYXIge1xuICB3aWR0aDogMTVweCAhaW1wb3J0YW50O1xufVxuXG50YWJsZSNkdENvbnN1bHRhOjotd2Via2l0LXNjcm9sbGJhcjpob3Jpem9udGFsIHtcbiAgaGVpZ2h0OiAxNXB4ICFpbXBvcnRhbnQ7XG59Il19 */");

/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-index.component.ts":
/*!******************************************************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-index.component.ts ***!
  \******************************************************************************************************************/
/*! exports provided: TransferenciaLoteIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteIndexComponent", function() { return TransferenciaLoteIndexComponent; });
/* 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_controle_transferencia_lote_transferencia_lote_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/controle/transferencia-lote/transferencia-lote.model */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.model.ts");
/* harmony import */ var app_pages_controle_transferencia_lote_transferencia_lote_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/controle/transferencia-lote/transferencia-lote.service */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.service.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_message_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_components_pesquisa_pesquisa_saldo_tanque_pesquisa_saldo_tanque_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/components/pesquisa/pesquisa-saldo-tanque/pesquisa-saldo-tanque.model */ "./src/app/shared/components/pesquisa/pesquisa-saldo-tanque/pesquisa-saldo-tanque.model.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../cadastro/destinatario/destinatario.service */ "./src/app/pages/cadastro/destinatario/destinatario.service.ts");
/* harmony import */ var _cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../cadastro/material/material.service */ "./src/app/pages/cadastro/material/material.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../transferencia-lote.constants */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.constants.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 TransferenciaLoteIndexComponent = /** @class */ (function (_super) {
    __extends(TransferenciaLoteIndexComponent, _super);
    function TransferenciaLoteIndexComponent(router, datatablesService, messageService, configuracao, service, datatables, message, funcoes, permissoesUtils, loginService, destinatarioService, materialService) {
        var _this = _super.call(this, new _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_15__["TransferenciaLoteConstants"](), funcoes) || this;
        _this.router = router;
        _this.datatablesService = datatablesService;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.service = service;
        _this.datatables = datatables;
        _this.message = message;
        _this.funcoes = funcoes;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.destinatarioService = destinatarioService;
        _this.materialService = materialService;
        _this.data = new app_pages_controle_transferencia_lote_transferencia_lote_model__WEBPACK_IMPORTED_MODULE_2__["TransferenciaLoteDto"]();
        _this.constantes = new _transferencia_lote_constants__WEBPACK_IMPORTED_MODULE_15__["TransferenciaLoteConstants"]();
        _this.dataAux = new _shared_components_pesquisa_pesquisa_saldo_tanque_pesquisa_saldo_tanque_model__WEBPACK_IMPORTED_MODULE_8__["PesquisaSaldoTanque"]();
        _this.mensagens = [];
        _this.colspanValue = 6;
        _this.auxRegTransferencia = 0;
        _this.title = "titles.transferenciaLote";
        _this.target = _this.funcoes.getTargetLocation();
        _this.loadConfig = function () {
            _this.ctrSaldoContabil = _this.configuracao.boolean("STO", "CtrSdContabil");
            if (!_this.ctrSaldoContabil) {
                _this.colspanValue = 0;
            }
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoes.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        if (!_this.service.filtro) {
            _this.service.filtro = new app_pages_controle_transferencia_lote_transferencia_lote_model__WEBPACK_IMPORTED_MODULE_2__["TransferenciaLoteFilter"]();
        }
        return _this;
    }
    TransferenciaLoteIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        var base = this;
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            base.geraDados = false;
            base.refresh();
            if (!base.service.dados || base.service.dados.length === 0) {
                if (!base.loginService.isTokenExpired()) {
                    jQuery("#transferencia-lote-filter-dialog").modal("show");
                }
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    TransferenciaLoteIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.filtro.geraDados = this.geraDados;
        this.service.getByFiltro(this.service.filtro).subscribe(function (resp) {
            if (resp && resp.length > 0) {
                _this.service.hasDados = true;
            }
            else {
                _this.service.hasDados = false;
            }
            _this.service.dados = resp;
        });
    };
    TransferenciaLoteIndexComponent.prototype.edit = function () {
        if (this.funcoes.isNotUndefinedOrNull(this.data.regTransferencia)) {
            this.router.navigate([this.target + "/controle/transferenciaLote/edit/" + this.data.regTransferencia]);
        }
    };
    TransferenciaLoteIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    TransferenciaLoteIndexComponent.prototype.filtrar = function () {
        var _this = this;
        if (this.funcoesService.isPositive(this.service.filtro.destinatarioIdCliente)) {
            this.destinatarioService.getById(this.service.filtro.destinatarioIdCliente).subscribe(function (resp) {
                if (resp) {
                    _this.service.filtro.cliente = resp;
                }
            });
        }
        if (this.funcoesService.isNotUndefinedOrNull(this.service.filtro.materialId)) {
            this.materialService.getById(this.service.filtro.materialId).subscribe(function (resp) {
                if (resp) {
                    _this.service.filtro.material = resp;
                }
            });
        }
        jQuery("#transferencia-lote-filter-dialog").modal("show");
    };
    TransferenciaLoteIndexComponent.prototype.executaFiltro = function () {
        this.geraDados = true;
        this.refresh();
    };
    TransferenciaLoteIndexComponent.prototype.ajusteManual = function () {
        if (this.funcoesService.isNotUndefinedOrNull(this.data.regTransferencia)) {
            this.edit();
        }
        else {
            this.messageService.warning(this.title, "messages.selecioneUmRegistro");
            return;
        }
    };
    TransferenciaLoteIndexComponent.prototype.selectAll = function () {
        var _this = this;
        if (this.funcoesService.isNotUndefinedOrNull(this.service.dados) && this.service.dados.length > 0) {
            this.service.dados.forEach(function (obj) {
                if (obj.marcado === 'S') {
                    obj.marcado = 'N';
                }
                else {
                    obj.marcado = 'S';
                }
                if (obj.marcado === 'S') {
                    obj.kilosComLibTR = obj.kilosComLib;
                    obj.litrosComLibTR = obj.litrosComLib;
                    obj.quantComLibTR = obj.quantComLib;
                    obj.kilosSemLibTR = obj.kilosSemLib;
                    obj.litrosSemLibTR = obj.litrosSemLib;
                    obj.quantSemLibTR = obj.quantSemLib;
                    obj.kilosRetTR = obj.kilosRet;
                    obj.litrosRetTR = obj.litrosRet;
                    obj.quantRetTR = obj.quantRet;
                    if (_this.ctrSaldoContabil) {
                        obj.kilosBalancaTR = obj.kilosBalanca;
                        obj.litrosBalancaTR = obj.litrosBalanca;
                        obj.quantBalancaTR = obj.quantBalanca;
                    }
                }
                else {
                    obj.kilosComLibTR = 0;
                    obj.litrosComLibTR = 0;
                    obj.quantComLibTR = 0;
                    obj.kilosSemLibTR = 0;
                    obj.litrosSemLibTR = 0;
                    obj.quantSemLibTR = 0;
                    obj.kilosRetTR = 0;
                    obj.litrosRetTR = 0;
                    obj.quantRetTR = 0;
                    if (_this.ctrSaldoContabil) {
                        obj.kilosBalancaTR = 0;
                        obj.litrosBalancaTR = 0;
                        obj.quantBalancaTR = 0;
                    }
                }
                _this.service._update(obj).subscribe(function (resp) {
                    if (_this.funcoesService.isNotUndefinedOrNull(resp.validationResult)) {
                        _this.mensagens = _this.messageService.validationResult(resp.validationResult);
                        if (!resp.validationResult.isValid) {
                            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__["EventEmitterService"].get("backError").emit(_this.mensagens);
                            _this.funcoesService.backToTop();
                        }
                    }
                });
            });
        }
        else {
            this.messageService.warning(this.title, "messages.naoExisteRegistroParaSelecionar");
        }
    };
    TransferenciaLoteIndexComponent.prototype.gerar = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            var message = _this.messageService.translate("messages.confirmaOperacaoByParam", { param: _this.stitle });
            _this.messageService.confirm(_this.title, message, null, function () { return __awaiter(_this, void 0, void 0, function () {
                var _this = this;
                return __generator(this, function (_a) {
                    this.service.gerar().subscribe(function (result) {
                        var message = null;
                        if (result && result.erros.length > 0) {
                            message = result.erros[0].message;
                            _this.mensagens = _this.messageService.validationResult(result.erros[0].message);
                        }
                        if (!result.isValid) {
                            if (message) {
                                _this.messageService.error(_this.title, result.erros[0].message);
                            }
                            _this.funcoesService.backToTop();
                        }
                        else {
                            _this.messageService.success(_this.title, "messages.transferenciaRealizada");
                            _this.service.filtro = new app_pages_controle_transferencia_lote_transferencia_lote_model__WEBPACK_IMPORTED_MODULE_2__["TransferenciaLoteFilter"]();
                            _this.executaFiltro();
                            _this.filtrar();
                        }
                    });
                    return [2 /*return*/];
                });
            }); });
        });
    };
    TransferenciaLoteIndexComponent.prototype.trataReg = function (event, obj) {
        var _this = this;
        obj.marcado = event ? "S" : "N";
        this.data = obj;
        if (this.data.marcado === 'S') {
            this.data.kilosComLibTR = this.data.kilosComLib;
            this.data.litrosComLibTR = this.data.litrosComLib;
            this.data.quantComLibTR = this.data.quantComLib;
            this.data.kilosSemLibTR = this.data.kilosSemLib;
            this.data.litrosSemLibTR = this.data.litrosSemLib;
            this.data.quantSemLibTR = this.data.quantSemLib;
            this.data.kilosRetTR = this.data.kilosRet;
            this.data.litrosRetTR = this.data.litrosRet;
            this.data.quantRetTR = this.data.quantRet;
            if (this.ctrSaldoContabil) {
                this.data.kilosBalancaTR = this.data.kilosBalanca;
                this.data.litrosBalancaTR = this.data.litrosBalanca;
                this.data.quantBalancaTR = this.data.quantBalanca;
            }
        }
        else {
            this.data.kilosComLibTR = 0;
            this.data.litrosComLibTR = 0;
            this.data.quantComLibTR = 0;
            this.data.kilosSemLibTR = 0;
            this.data.litrosSemLibTR = 0;
            this.data.quantSemLibTR = 0;
            this.data.kilosRetTR = 0;
            this.data.litrosRetTR = 0;
            this.data.quantRetTR = 0;
            if (this.ctrSaldoContabil) {
                this.data.kilosBalancaTR = 0;
                this.data.litrosBalancaTR = 0;
                this.data.quantBalancaTR = 0;
            }
        }
        this.service._update(this.data).subscribe(function (resp) {
            if (_this.funcoesService.isNotUndefinedOrNull(resp.validationResult)) {
                if (!resp.validationResult.isValid) {
                    _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__["EventEmitterService"].get("backError").emit(_this.mensagens);
                }
            }
        });
    };
    Object.defineProperty(TransferenciaLoteIndexComponent.prototype, "stitle", {
        get: function () {
            return this.messageService.translate(this.title);
        },
        enumerable: true,
        configurable: true
    });
    TransferenciaLoteIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_10__["ConfiguracaoFacade"] },
        { type: app_pages_controle_transferencia_lote_transferencia_lote_service__WEBPACK_IMPORTED_MODULE_3__["TransferenciaLoteService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_11__["PermissoesUtilsService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_14__["LoginService"] },
        { type: _cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_12__["DestinatarioService"] },
        { type: _cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_13__["MaterialService"] }
    ]; };
    TransferenciaLoteIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-transferencia-lote-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./transferencia-lote-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./transferencia-lote-index.component.scss */ "./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-index.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_10__["ConfiguracaoFacade"],
            app_pages_controle_transferencia_lote_transferencia_lote_service__WEBPACK_IMPORTED_MODULE_3__["TransferenciaLoteService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_11__["PermissoesUtilsService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_14__["LoginService"],
            _cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_12__["DestinatarioService"],
            _cadastro_material_material_service__WEBPACK_IMPORTED_MODULE_13__["MaterialService"]])
    ], TransferenciaLoteIndexComponent);
    return TransferenciaLoteIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_7__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote.constants.ts":
/*!***********************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote.constants.ts ***!
  \***********************************************************************************/
/*! exports provided: TransferenciaLoteConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteConstants", function() { return TransferenciaLoteConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var TransferenciaLoteConstants = /** @class */ (function () {
    function TransferenciaLoteConstants() {
        this.sisFormularioId = 90159;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.gerar" }
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.transferenciaLote";
        this.reportId = "0";
        this.reportTitulo = { "titulo": "Transferência em Lote", "subTitulo": "" };
        this.tabela = "TmpTransferencia";
        this.listaIndex = [
            { 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' },
        ];
        this.listaParam = [
            { 'sistema': 'STO', 'parametros': ["CtrSdContabil"] }
        ];
    }
    return TransferenciaLoteConstants;
}());



/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote.model.ts":
/*!*******************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote.model.ts ***!
  \*******************************************************************************/
/*! exports provided: TransferenciaLote, TransferenciaLoteDto, TransferenciaLoteFilter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLote", function() { return TransferenciaLote; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteDto", function() { return TransferenciaLoteDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteFilter", function() { return TransferenciaLoteFilter; });
/* harmony import */ var _shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
/* harmony import */ var _cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var _cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.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 TransferenciaLote = /** @class */ (function (_super) {
    __extends(TransferenciaLote, _super);
    function TransferenciaLote() {
        return _super.call(this) || this;
    }
    return TransferenciaLote;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var TransferenciaLoteDto = /** @class */ (function (_super) {
    __extends(TransferenciaLoteDto, _super);
    function TransferenciaLoteDto() {
        var _this = _super.call(this) || this;
        _this.kilosComLibTR = 0;
        _this.kilosComLib = 0;
        _this.litrosComLibTR = 0;
        _this.litrosComLib = 0;
        _this.quantComLibTR = 0;
        _this.quantComLib = 0;
        _this.kilosSemLibTR = 0;
        _this.kilosSemLib = 0;
        _this.litrosSemLibTR = 0;
        _this.litrosSemLib = 0;
        _this.quantSemLibTR = 0;
        _this.quantSemLib = 0;
        _this.kilosRetTR = 0;
        _this.kilosRet = 0;
        _this.litrosRetTR = 0;
        _this.litrosRet = 0;
        _this.quantRetTR = 0;
        _this.quantRet = 0;
        _this.kilosBalancaTR = 0;
        _this.kilosBalanca = 0;
        _this.litrosBalancaTR = 0;
        _this.litrosBalanca = 0;
        _this.quantBalancaTR = 0;
        _this.quantBalanca = 0;
        return _this;
    }
    return TransferenciaLoteDto;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var TransferenciaLoteFilter = /** @class */ (function () {
    function TransferenciaLoteFilter() {
        this.destinatarioIdCliente = 0;
        this.destinatarioIdEmitente = 0;
        this.materialId = "";
        this.loteId = "";
        this.tanqueIdOri = "";
        this.tanqueIdDest = "";
        this.preencher = "S";
        this.codMovProdutoId = "06";
        this.movLB = "N";
        this.movSL = "N";
        this.movSL = "N";
        this.movRet = "N";
        this.movBal = "N";
        this.dtRef = new Date();
        this.transfTodos = 'N';
        this.cliente = new _cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_2__["Destinatario"];
        this.material = new _cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_1__["Material"];
        this.emitente = new _cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_2__["Destinatario"];
    }
    return TransferenciaLoteFilter;
}());



/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote.module.ts":
/*!********************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote.module.ts ***!
  \********************************************************************************/
/*! exports provided: TransferenciaLoteModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteModule", function() { return TransferenciaLoteModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var app_pages_controle_transferencia_lote_transferencia_lote_form_transferencia_lote_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-form.component */ "./src/app/pages/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-form.component.ts");
/* harmony import */ var app_pages_controle_transferencia_lote_transferencia_lote_index_transferencia_lote_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-index.component */ "./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-index.component.ts");
/* harmony import */ var app_pages_controle_transferencia_lote_transferencia_lote_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/controle/transferencia-lote/transferencia-lote.routing.module */ "./src/app/pages/controle/transferencia-lote/transferencia-lote.routing.module.ts");
/* harmony import */ var app_pages_controle_transferencia_lote_transferencia_lote_filter_transferencia_lote_filter_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component */ "./src/app/pages/controle/transferencia-lote/transferencia-lote-filter/transferencia-lote-filter.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var TransferenciaLoteModule = /** @class */ (function () {
    function TransferenciaLoteModule() {
    }
    TransferenciaLoteModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], app_pages_controle_transferencia_lote_transferencia_lote_routing_module__WEBPACK_IMPORTED_MODULE_4__["TransferenciaLoteRoutingModule"]],
            declarations: [app_pages_controle_transferencia_lote_transferencia_lote_form_transferencia_lote_form_component__WEBPACK_IMPORTED_MODULE_2__["TransferenciaLoteFormComponent"], app_pages_controle_transferencia_lote_transferencia_lote_index_transferencia_lote_index_component__WEBPACK_IMPORTED_MODULE_3__["TransferenciaLoteIndexComponent"], app_pages_controle_transferencia_lote_transferencia_lote_filter_transferencia_lote_filter_component__WEBPACK_IMPORTED_MODULE_5__["TransferenciaLoteFilterComponent"]]
        })
    ], TransferenciaLoteModule);
    return TransferenciaLoteModule;
}());



/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote.routing.module.ts":
/*!****************************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote.routing.module.ts ***!
  \****************************************************************************************/
/*! exports provided: TransferenciaLoteRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransferenciaLoteRoutingModule", function() { return TransferenciaLoteRoutingModule; });
/* 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 _transferencia_lote_form_transferencia_lote_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./transferencia-lote-form/transferencia-lote-form.component */ "./src/app/pages/controle/transferencia-lote/transferencia-lote-form/transferencia-lote-form.component.ts");
/* harmony import */ var _transferencia_lote_index_transferencia_lote_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./transferencia-lote-index/transferencia-lote-index.component */ "./src/app/pages/controle/transferencia-lote/transferencia-lote-index/transferencia-lote-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: _transferencia_lote_index_transferencia_lote_index_component__WEBPACK_IMPORTED_MODULE_4__["TransferenciaLoteIndexComponent"],
        data: { breadcrumb: "transferenciaLote", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: "create",
        component: _transferencia_lote_form_transferencia_lote_form_component__WEBPACK_IMPORTED_MODULE_3__["TransferenciaLoteFormComponent"],
        data: {
            breadcrumb: "transferenciaLote",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create }
        }
    },
    {
        path: "edit/:id",
        component: _transferencia_lote_form_transferencia_lote_form_component__WEBPACK_IMPORTED_MODULE_3__["TransferenciaLoteFormComponent"],
        data: {
            breadcrumb: "transferenciaLote",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].edit }
        }
    },
    {
        path: "detail/:id",
        component: _transferencia_lote_form_transferencia_lote_form_component__WEBPACK_IMPORTED_MODULE_3__["TransferenciaLoteFormComponent"],
        data: {
            breadcrumb: "transferenciaLote",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var TransferenciaLoteRoutingModule = /** @class */ (function () {
    function TransferenciaLoteRoutingModule() {
    }
    TransferenciaLoteRoutingModule = __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"]]
        })
    ], TransferenciaLoteRoutingModule);
    return TransferenciaLoteRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/controle/transferencia-lote/transferencia-lote.service.ts":
/*!*********************************************************************************!*\
  !*** ./src/app/pages/controle/transferencia-lote/transferencia-lote.service.ts ***!
  \*********************************************************************************/
/*! exports provided: TransferenciaLoteService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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






var TransferenciaLoteService = /** @class */ (function (_super) {
    __extends(TransferenciaLoteService, _super);
    function TransferenciaLoteService(http) {
        var _this = _super.call(this, http, "controle/transferenciaLote") || this;
        _this.http = http;
        _this.hasDados = false;
        _this.exibeBtnAjusteManual = false;
        return _this;
    }
    TransferenciaLoteService.prototype.getByFiltro = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/controle/transferenciaLote/getByFiltro", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    TransferenciaLoteService.prototype._update = function (data) {
        return this.http
            .put(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/controle/transferenciaLote", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    TransferenciaLoteService.prototype.selectAll = function (data) {
        return this.http
            .put(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/controle/transferenciaLote/selectAll", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    TransferenciaLoteService.prototype.gerar = function () {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/controle/transferenciaLote/grava")
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    TransferenciaLoteService.prototype.deleteTmpTransferencia = function () {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/controle/transferenciaLote/deleteTmpTransferencia", null)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    TransferenciaLoteService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    TransferenciaLoteService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: 'root'
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], TransferenciaLoteService);
    return TransferenciaLoteService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-controle-transferencia-lote-transferencia-lote-module.js.map