(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-rocha-relatorios-saldos-por-lote-saldos-por-lote-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote-form/saldos-por-lote-form.component.html":
/*!*******************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote-form/saldos-por-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 [sisFormularioId]=\"constantes.sisFormularioId\" [botoesComando]=\"constantes.listaForm\">\n</app-menu-command-bar>\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <div class=\"\">\n                <app-form-legenda></app-form-legenda>\n                <div class=\"card-body widget-body\">\n                    <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\" autocomplete=\"off\" novalidate>\n                        <app-validacoes></app-validacoes>\n                        <div class=\"row mt-2\">\n                            <div class=\"col-lg-12\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"ate\" class=\"required\">{{ 'labels.data' | translate }}</label>\n                                            <app-data id=\"data\" name=\"data\" class=\"dataHora\"\n                                            [formatDateTime]=\"mascara.getFormatDataHorMinSeg\"\n                                            [(ngModel)]=\"filtro.dataInicio\" [required]=\"true\" autofocus>\n                                        </app-data>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"grupo\">{{\"labels.grupo\" | translate}}</label>\n                                            <app-combo-grupo-cliente id=\"grupo\" name=\"grupo\"\n                                                [(ngModel)]=\"filtro.grupoClienteId\"\n                                                (outSelected)=\"trataGrupoCliente($event)\">\n                                            </app-combo-grupo-cliente>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-destinatario id=\"destinatarioIdCliente\"\n                                                name=\"destinatarioIdCliente\" label=\"cliente\"\n                                                modalTitle=\"pesquisaDeCliente\"\n                                                [(ngModel)]=\"filtro.destinatarioIdCliente\" tipoDestinatario=\"C\"\n                                                showCgcCpf=\"false\" showInscricao=\"false\" (outModel)=\"trataDest($event)\">\n                                            </app-pesquisa-destinatario>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-destinatario id=\"emitente\" name=\"emitente\" label=\"emitente\"\n                                                modalTitle=\"emitente\" [(ngModel)]=\"filtro.destinatarioIdEmitente\"\n                                                tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\"\n                                                [inSelected]=\"filtro.emitente\"\n                                                (outSelected)=\"filtro.emitente = $event\">\n                                            </app-pesquisa-destinatario>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-material id=\"materialId\" name=\"materialId\" label=\"produto\"\n                                                modalTitle=\"pesquisaDeProduto\" [(ngModel)]=\"filtro.materialId\">\n                                            </app-pesquisa-material>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-destinatario id=\"destinatarioIdNavio\"\n                                            name=\"destinatarioIdNavio\"\n                                            label=\"navio\"\n                                            modalTitle=\"navio\"\n                                            [(ngModel)]=\"filtro.destinatarioIdNavio\"\n                                            tipoDestinatario=\"N\"\n                                            showCgcCpf=\"false\"\n                                            showInscricao=\"false\">\n                                            </app-pesquisa-destinatario>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-4 col-md-8 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-sto-contrato-item id=\"contrato\" name=\"contrato\"\n                                                [(ngModel)]=\"filtro.contratoId\" (outSelected)=\"trataContrato($event)\">\n                                            </app-pesquisa-sto-contrato-item>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                        <app-pesquisa-lote id=\"lote\" label=\"lote\" name=\"lote\" modalTitle=\"lote\"\n                                            [(ngModel)]=\"filtro.loteId\"\n                                            [destinatarioIdCliente]=\"filtro.destinatarioIdCliente\"\n                                            [materialId]=\"filtro.materialId\" [loteId]=\"filtro.loteId\"\n                                            [destinatarioIdEmitente]=\"0\" [destinatarioIdNavio]=\"0\" [osgId]=\"0\"\n                                            [stoContratoId]=\"0\" [stoContratoItemId]=\"0\">\n                                        </app-pesquisa-lote>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-12\">\n                                        <div class=\"custom-control custom-checkbox mt-2\">\n                                            <div class=\"form-group form-group-sx\">\n                                                <input id=\"loteEncerrado\" name=\"loteEncerrado\" [ngModel]=\"filtro.loteEncerrado === ''\"\n                                                (ngModelChange)=\"filtro.loteEncerrado=$event?'':'N'\"\n                                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                                <label class=\"custom-control-label\"\n                                                    for=\"loteEncerrado\">{{'labels.considerarLotesEncerrados' |  translate}}</label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"clearfix\">&nbsp;</div>\n                        <div class=\"form-group\">\n                            <button class=\"btn btn-success mr-2\" [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                {{ 'buttons.gerarRelatorio' | translate }}\n                            </button>\n                            <button class=\"btn btn-success mr-2\" (click)=\"export(f)\" type=\"button\">{{\n                                'buttons.exportarExcel' | translate }}\n                            </button>\n                            <button class=\"btn btn-success mr-2\" (click)=\"sendMail(f)\" type=\"button\">{{\n                                'buttons.enviarEmail' | translate }}\n                            </button>\n                        </div>\n                    </form>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-email [reportId]=\"constantes.reportId\" [titulo]=\"constantes.reportTitulo.titulo\"\n    [subTitulo]=\"constantes.reportTitulo.subTitulo\" [data]=\"constantes.paramRelatorio\"></app-email>");

/***/ }),

/***/ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote-form/saldos-por-lote-form.component.ts":
/*!***************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote-form/saldos-por-lote-form.component.ts ***!
  \***************************************************************************************************************************/
/*! exports provided: SaldosPorLoteFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldosPorLoteFormComponent", function() { return SaldosPorLoteFormComponent; });
/* harmony import */ var _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../../../../../../pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./../../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./../../../../../../shared/components/report/report.service */ "./src/app/shared/components/report/report.service.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _saldos_por_lote_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../saldos-por-lote.model */ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.model.ts");
/* harmony import */ var _saldos_por_lote_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../saldos-por-lote.constants */ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.constants.ts");
/* harmony import */ var app_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/shared/services/funcoes/boolean-utils/boolean-utils.static.service */ "./src/app/shared/services/funcoes/boolean-utils/boolean-utils.static.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 SaldosPorLoteFormComponent = /** @class */ (function (_super) {
    __extends(SaldosPorLoteFormComponent, _super);
    function SaldosPorLoteFormComponent(loginService, permissoesUtils, funcoesService, excelService, reportService, messageService, configuracao) {
        var _this = _super.call(this, new _saldos_por_lote_constants__WEBPACK_IMPORTED_MODULE_14__["SaldosPorLoteConstants"](), funcoesService) || this;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.excelService = excelService;
        _this.reportService = reportService;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.mensagens = [];
        _this.constantes = new _saldos_por_lote_constants__WEBPACK_IMPORTED_MODULE_14__["SaldosPorLoteConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.filtro = new _saldos_por_lote_model__WEBPACK_IMPORTED_MODULE_13__["SaldosPorLote"]();
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_7__["Mascaras"]();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.filtro.granelSolido = _this.configuracao.string("STO", "GranelSolido");
                _this.filtro.docWarrent = _this.configuracao.string("CTR", "DocWarrent");
            }
        };
        _this.export = function (form) {
            if (!_this.printParams(form)) {
                return;
            }
            _this.reportService.exportEspecificos(_this.constantes.sisFormularioId, _this.constantes.paramRelatorio).subscribe(function (resp) {
                var dados = resp.map(function (r) {
                    return {
                        codDest: r.codDest,
                        cliente: r.cliente,
                        descrGrupo: r.descrGrupo,
                        material: r.material,
                        produto: r.produto,
                        nomeArmazenado: r.nomeArmazenado,
                        navio: r.navio,
                        lote: r.lote,
                        origem: r.origem,
                        precoArmazenado: r.precoArmazenado,
                        unidade: r.unidade,
                        saldoValor: r.saldoValor,
                        saldoIcms: r.saldoIcms,
                        quantComLib: r.quantComLib,
                        kilosComLib: r.kilosComLib,
                        litrosComLib: r.litrosComLib,
                        quantSemLib: r.quantSemLib,
                        kilosSemLib: r.kilosSemLib,
                        litrosSemLib: r.litrosSemLib,
                        quantTotal: r.quantTotal,
                        kilosTotal: r.kilosTotal,
                        litrosTotal: r.litrosTotal,
                        kilosBloq: r.kilosBloq,
                        kilosDisponivel: r.kilosDisponivel
                    };
                });
                var headerDictionary = {};
                var options = {
                    headerJsonKeys: true,
                    headerDictionary: headerDictionary
                };
                if (!app_shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["BooleanUtilsStaticService"].toBoolean(_this.filtro.docWarrent)) {
                    dados.forEach(function (r) {
                        delete r.kilosBloq;
                        delete r.kilosDisponivel;
                    });
                }
                _this.excelService.exportAsExcelFile(dados, _this.messageService.getTranslates("titles", "SaldosPorLote"), options);
            });
        };
        _this.filialId = _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["NumberUtilsStaticService"].toNumber(_this.loginService.getLogin().filialId);
        return _this;
    }
    SaldosPorLoteFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.configuracao.getConfig({
                codRotina: _this.constantes.sisFormularioId,
                configs: _this.constantes.configuracoes
            }, _this.loadConfig);
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    SaldosPorLoteFormComponent.prototype.onSubmit = function (form) {
        if (!this.printParams(form)) {
            return;
        }
        this.print(null, true);
    };
    SaldosPorLoteFormComponent.prototype.printParams = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return false;
        }
        this.constantes.paramRelatorio = {
            filialId: this.loginService.getLogin().filialId,
            dataInicio: this.filtro.dataInicio,
            grupoClienteId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["NumberUtilsStaticService"].toNumber(this.filtro.grupoClienteId),
            destinatarioIdCliente: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["NumberUtilsStaticService"].toNumber(this.filtro.destinatarioIdCliente),
            destinatarioIdEmitente: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["NumberUtilsStaticService"].toNumber(this.filtro.destinatarioIdEmitente),
            materialId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].toString(this.filtro.materialId),
            destinatarioIdNavio: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["NumberUtilsStaticService"].toNumber(this.filtro.destinatarioIdNavio),
            contratoId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["NumberUtilsStaticService"].toNumber(this.filtro.contratoId),
            itemContratoId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["NumberUtilsStaticService"].toNumber(this.filtro.itemContratoId),
            loteId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].toString(this.filtro.loteId),
            loteEncerrado: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].toString(this.filtro.loteEncerrado),
            granelSolido: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].toString(this.filtro.granelSolido),
            docWarrent: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].toString(this.filtro.docWarrent)
        };
        return true;
    };
    SaldosPorLoteFormComponent.prototype.trataDest = function (destinatario) {
        this.filtro.cliente = destinatario;
    };
    SaldosPorLoteFormComponent.prototype.trataGrupoCliente = function (grupoCliente) {
        this.filtro.grupoCliente = grupoCliente;
    };
    SaldosPorLoteFormComponent.prototype.trataContrato = function (contrato) {
        this.filtro.contratoId = contrato.stoContratoId;
        this.filtro.itemContratoId = contrato.stoContratoItemId;
    };
    SaldosPorLoteFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    SaldosPorLoteFormComponent.prototype.sendMail = function (form) {
        if (!this.printParams(form)) {
            return;
        }
        _super.prototype.sendMail.call(this, this.constantes, true);
    };
    SaldosPorLoteFormComponent.ctorParameters = function () { return [
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_10__["ExcelService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_9__["ReportService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_11__["MessageService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_12__["ConfiguracaoFacade"] }
    ]; };
    SaldosPorLoteFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Component"])({
            selector: "app-saldos-por-lote-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./saldos-por-lote-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote-form/saldos-por-lote-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_2__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_10__["ExcelService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_9__["ReportService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_11__["MessageService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_12__["ConfiguracaoFacade"]])
    ], SaldosPorLoteFormComponent);
    return SaldosPorLoteFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.constants.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.constants.ts ***!
  \*************************************************************************************************/
/*! exports provided: SaldosPorLoteConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldosPorLoteConstants", function() { return SaldosPorLoteConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var SaldosPorLoteConstants = /** @class */ (function () {
    function SaldosPorLoteConstants() {
        this.sisFormularioId = 375166;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.configuracoes = [];
        this.nomeForm = "titles.saldosPorLote";
        this.reportId = "ROC0013";
        this.reportTitulo = { "titulo": "saldos Por Lote", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
        this.configuracoes = [
            {
                sistema: "STO",
                parametros: [
                    "GranelSolido"
                ]
            },
            {
                sistema: "CTR",
                parametros: [
                    "DocWarrent"
                ]
            },
        ];
    }
    return SaldosPorLoteConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.model.ts":
/*!*********************************************************************************************!*\
  !*** ./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.model.ts ***!
  \*********************************************************************************************/
/*! exports provided: SaldosPorLote */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldosPorLote", function() { return SaldosPorLote; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var SaldosPorLote = /** @class */ (function () {
    function SaldosPorLote() {
        this.filialId = 0;
        this.destinatarioIdCliente = 0;
        this.grupoClienteId = 0;
        this.materialId = "";
        this.destinatarioIdNavio = 0;
        this.loteId = "";
        this.loteEncerrado = "N";
        var a = new Date();
        a.setHours(23);
        a.setMinutes(59);
        a.setSeconds(59);
        this.dataInicio = a;
    }
    return SaldosPorLote;
}());



/***/ }),

/***/ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.module.ts":
/*!**********************************************************************************************!*\
  !*** ./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.module.ts ***!
  \**********************************************************************************************/
/*! exports provided: SaldosPorLoteModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldosPorLoteModule", function() { return SaldosPorLoteModule; });
/* 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 _saldos_por_lote_form_saldos_por_lote_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./saldos-por-lote-form/saldos-por-lote-form.component */ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote-form/saldos-por-lote-form.component.ts");
/* harmony import */ var _saldos_por_lote_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./saldos-por-lote.routing.module */ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.routing.module.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var SaldosPorLoteModule = /** @class */ (function () {
    function SaldosPorLoteModule() {
    }
    SaldosPorLoteModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _saldos_por_lote_routing_module__WEBPACK_IMPORTED_MODULE_3__["SaldosPorLoteRoutingModule"]],
            declarations: [_saldos_por_lote_form_saldos_por_lote_form_component__WEBPACK_IMPORTED_MODULE_2__["SaldosPorLoteFormComponent"]],
        })
    ], SaldosPorLoteModule);
    return SaldosPorLoteModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.routing.module.ts":
/*!******************************************************************************************************!*\
  !*** ./src/app/pages/especificos/rocha/relatorios/saldos-por-lote/saldos-por-lote.routing.module.ts ***!
  \******************************************************************************************************/
/*! exports provided: SaldosPorLoteRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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




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



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-rocha-relatorios-saldos-por-lote-saldos-por-lote-module.js.map