(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-relatorios-saldo-outros-deposito-saldo-outros-deposito-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito-form/saldo-outros-deposito-form.component.html":
/*!*******************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito-form/saldo-outros-deposito-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                        <div class=\"row mt-2\">\n                            <div class=\"col-lg-8\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"dataRef\" class=\"required\">{{\"labels.data\" | translate }}</label>\n                                            <app-data id=\"dataRef\" name=\"dataRef\" [(ngModel)]=\"filtro.dataRef\"\n                                                class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMinSeg\"\n                                                [required]=\"true\" autofocus>\n                                            </app-data>\n                                        </div>\n                                    </div>\n                                </div>\n\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"grupoClienteId\">{{\"labels.grupo\" | translate}}</label>\n                                            <app-combo-grupo-cliente id=\"grupoClienteId\" name=\"grupoClienteId\"\n                                                [disabled]=\"validaClienteSelecionado()\"\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-12\">\n                                        <app-pesquisa-destinatario id=\"destinatarioIdCliente\"\n                                            name=\"destinatarioIdCliente\" label=\"cliente\" modalTitle=\"cliente\"\n                                            [disabled]=\"validaGrupoSelecionado()\"\n                                            [(ngModel)]=\"filtro.destinatarioIdCliente\" tipoDestinatario=\"C\"\n                                            showCgcCpf=\"false\" showInscricao=\"false\" (outModel)=\"trataDest($event)\">\n                                        </app-pesquisa-destinatario>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-12\">\n                                        <app-pesquisa-destinatario id=\"destinatarioIdEmitente\"\n                                            name=\"destinatarioIdEmitente\" label=\"emitente\" modalTitle=\"emitente\"\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                            [(ngModel)]=\"filtro.destinatarioIdEmitente\" tipoDestinatario=\"C\"\n                                            showCgcCpf=\"false\" showInscricao=\"false\">\n                                        </app-pesquisa-destinatario>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-12\">\n                                        <app-pesquisa-material id=\"materialId\" name=\"materialId\" label=\"produto\"\n                                            modalTitle=\"produto\" [(ngModel)]=\"filtro.materialId\">\n                                        </app-pesquisa-material>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"localizacaoId\">{{\"labels.localizacao\" | translate}}</label>\n                                            <app-combo-localizacao id=\"localizacaoId\" name=\"localizacaoId\"\n                                                [(ngModel)]=\"filtro.localizacaoId\">\n                                            </app-combo-localizacao>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-12\">\n                                        <app-pesquisa-destinatario id=\"destinatarioIdNavio\" name=\"destinatarioIdNavio\"\n                                            label=\"navio\" modalTitle=\"navio\" [(ngModel)]=\"filtro.destinatarioIdNavio\"\n                                            tipoDestinatario=\"N\" showCgcCpf=\"false\" showInscricao=\"false\">\n                                        </app-pesquisa-destinatario>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-sto-contrato-item id=\"contrato\" name=\"contrato\"\n                                                [required]=\"false\" [(ngModel)]=\"filtro.stoContratoId\"\n                                                (outSelected)=\"trataContrato($event)\">\n                                            </app-pesquisa-sto-contrato-item>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\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]=\"filtro.destinatarioIdEmitente\"\n                                            [destinatarioIdNavio]=\"filtro.destinatarioIdNavio\" [osgId]=\"filtro.osgId\"\n                                            [stoContratoId]=\"filtro.stoContratoId\"\n                                            [stoContratoItemId]=\"filtro.stoContratoItemId\">\n                                        </app-pesquisa-lote>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group\">\n                                            <app-pesquisa-osg id=\"osg\" label=\"osg\" name=\"osg\"\n                                                [destinatarioIdCliente]=\"filtro.destinatarioIdCliente\"\n                                                [materialId]=\"filtro.materialId\" [(ngModel)]=\"filtro.osgId\">\n                                            </app-pesquisa-osg>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"col-lg-4\">\n                                <div class=\"card\">\n                                    <div class=\"card-header\">\n                                        {{'labels.depositos' | translate }}\n                                    </div>\n                                    <div class=\"card-body p-2\">\n                                        <div class=\"row\">\n                                            <div class=\"col-lg-12\">\n                                                <app-combo-multi-tanque id=\"tanques\" name=\"tanques\"\n                                                    [localizacaoId]=\"filtro.localizacaoId\" tipo=\"O\"\n                                                    (executa)=\"trataTanques($event)\"></app-combo-multi-tanque>\n                                            </div>\n                                        </div>\n                                        <div class=\"row\">\n                                            <div class=\"col-lg-12\">\n                                                <div class=\"form-check mb-2\">\n                                                    <input id=\"considerarLotesEncerrados\" class=\"form-check-input\"\n                                                        type=\"checkbox\" name=\"considerarLotesEncerrados\"\n                                                        [(ngModel)]=\"filtro.consideraLotesEncerrados\">\n                                                    <label class=\"form-check-label\" for=\"considerarLotesEncerrados\">\n                                                        {{'labels.considerarLotesEncerrados' | translate}}\n                                                    </label>\n                                                </div>\n                                            </div>\n                                        </div>\n                                        <div class=\"row\">\n                                            <div class=\"col-lg-12\">\n                                                <div class=\"form-check mb-2\">\n                                                    <input class=\"form-check-input\" type=\"checkbox\"\n                                                        id=\"apresentarTanqueSemSaldo\" name=\"apresentarTanqueSemSaldo\"\n                                                        [(ngModel)]=\"filtro.apresentarTanqueSemSaldo\">\n                                                    <label class=\"form-check-label\"\n                                                        for=\"apresentarTanqueSemSaldo\">{{'labels.apresentarDepositosSemSaldo'\n                                                        | translate}}\n                                                    </label>\n                                                </div>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </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/relatorios/saldo-outros-deposito/saldo-outros-deposito-form/saldo-outros-deposito-form.component.ts":
/*!***************************************************************************************************************************!*\
  !*** ./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito-form/saldo-outros-deposito-form.component.ts ***!
  \***************************************************************************************************************************/
/*! exports provided: SaldoOutrosDepositosFilterFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldoOutrosDepositosFilterFormComponent", function() { return SaldoOutrosDepositosFilterFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__ = __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_2__ = __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_3__ = __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_4__ = __webpack_require__(/*! ./../../../../pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _saldo_outros_deposito_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../saldo-outros-deposito.constants */ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.constants.ts");
/* harmony import */ var _saldo_outros_deposito_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../saldo-outros-deposito.model */ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.model.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_8__ = __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_9__ = __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_10__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./../../../../shared/services/funcoes/boolean-utils/boolean-utils.static.service */ "./src/app/shared/services/funcoes/boolean-utils/boolean-utils.static.service.ts");
/* harmony import */ var _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__ = __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 _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_13__ = __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_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./../../../../shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-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 SaldoOutrosDepositosFilterFormComponent = /** @class */ (function (_super) {
    __extends(SaldoOutrosDepositosFilterFormComponent, _super);
    function SaldoOutrosDepositosFilterFormComponent(loginService, permissoesUtils, funcoesService, excelService, reportService, messageService) {
        var _this = _super.call(this, new _saldo_outros_deposito_constants__WEBPACK_IMPORTED_MODULE_6__["SaldoOutrosDepositosFilterConstants"](), funcoesService) || this;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.excelService = excelService;
        _this.reportService = reportService;
        _this.messageService = messageService;
        _this.mensagens = [];
        _this.constantes = new _saldo_outros_deposito_constants__WEBPACK_IMPORTED_MODULE_6__["SaldoOutrosDepositosFilterConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.filtro = new _saldo_outros_deposito_model__WEBPACK_IMPORTED_MODULE_7__["SaldoOutrosDepositosFilter"]();
        _this.disabledGrupo = false;
        _this.disabledCliente = false;
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_5__["Mascaras"]();
        _this.export = function (form) {
            if (!_this.printParams(form))
                return;
            _this.reportService.export(_this.constantes.sisFormularioId, _this.constantes.paramRelatorio).subscribe(function (resp) {
                var headerDictionary = {
                    "material": "codigoProduto"
                };
                var options = {
                    headerJsonKeys: true,
                    headerDictionary: headerDictionary
                };
                _this.excelService.exportAsExcelFile(resp, _this.messageService.getTranslates("titles", "saldoOutrosDepositos"), options);
            });
        };
        _this.filialId = _this.loginService.getLogin().filialId;
        return _this;
    }
    SaldoOutrosDepositosFilterFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { }, function () { return _this.permissoesUtils.back(); }, true);
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.trataTanques = function (tanques) {
        this.filtro.tanques = tanques;
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.onSubmit = function (form) {
        if (!this.printParams(form))
            return;
        this.print();
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.onCancelar = function () {
        this.filtro = new _saldo_outros_deposito_model__WEBPACK_IMPORTED_MODULE_7__["SaldoOutrosDepositosFilter"]();
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.validaGrupoSelecionado = function () {
        var valReturn = false;
        if (this.filtro.grupoClienteId > 0) {
            valReturn = true;
        }
        return valReturn;
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.validaClienteSelecionado = function () {
        var valReturn = false;
        if (this.filtro.destinatarioIdCliente > 0) {
            valReturn = true;
        }
        return valReturn;
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.trataContrato = function (contrato) {
        this.filtro.stoContratoId = contrato.stoContratoId;
        this.filtro.stoContratoItemId = contrato.stoContratoItemId;
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.trataDest = function (destinatario) {
        this.filtro.cliente = destinatario;
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.trataGrupoCliente = function (grupoCliente) {
        this.filtro.grupoCliente = grupoCliente;
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.printParams = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return false;
        }
        this.constantes.reportTitulo.subTitulo = "";
        if (this.funcoesService.isPositive(this.filtro.grupoClienteId)) {
            if (this.funcoesService.isNotUndefinedOrNull(this.filtro.grupoCliente.descricao)) {
                this.constantes.reportTitulo.subTitulo = this.filtro.grupoCliente.descricao;
            }
        }
        else if (this.funcoesService.isPositive(this.filtro.destinatarioIdCliente)) {
            if (this.funcoesService.isNotUndefinedOrNull(this.filtro.cliente)) {
                this.constantes.reportTitulo.subTitulo = this.filtro.cliente.fantasia;
            }
        }
        this.constantes.paramRelatorio = {
            filialId: this.loginService.getLogin().filialId,
            dataRef: this.filtro.dataRef,
            grupoClienteId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.grupoClienteId),
            loteId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["StringUtilsStaticService"].toString(this.filtro.loteId),
            destinatarioIdCliente: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.destinatarioIdCliente),
            destinatarioIdEmitente: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.destinatarioIdEmitente),
            destinatarioIdNavio: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.destinatarioIdNavio),
            materialId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["StringUtilsStaticService"].toString(this.filtro.materialId),
            consideraLotesEncerrados: _shared_services_funcoes_boolean_utils_boolean_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["BooleanUtilsStaticService"].toBoolean(this.filtro.consideraLotesEncerrados),
            tanques: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["StringUtilsStaticService"].toString(this.filtro.tanques),
            localizacaoId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.localizacaoId),
            osgId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.osgId),
            stoContratoId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.stoContratoId),
            stoContratoItemId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["NumberUtilsStaticService"].toNumber(this.filtro.stoContratoItemId),
        };
        return true;
    };
    SaldoOutrosDepositosFilterFormComponent.prototype.sendMail = function (form) {
        if (!this.printParams(form))
            return;
        _super.prototype.sendMail.call(this, this.constantes);
    };
    SaldoOutrosDepositosFilterFormComponent.ctorParameters = function () { return [
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_13__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__["FuncoesService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__["ExcelService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_8__["ReportService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"] }
    ]; };
    SaldoOutrosDepositosFilterFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-saldo-outros-deposito-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./saldo-outros-deposito-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito-form/saldo-outros-deposito-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_13__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__["FuncoesService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__["ExcelService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_8__["ReportService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"]])
    ], SaldoOutrosDepositosFilterFormComponent);
    return SaldoOutrosDepositosFilterFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.constants.ts":
/*!*******************************************************************************************!*\
  !*** ./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.constants.ts ***!
  \*******************************************************************************************/
/*! exports provided: SaldoOutrosDepositosFilterConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldoOutrosDepositosFilterConstants", function() { return SaldoOutrosDepositosFilterConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var SaldoOutrosDepositosFilterConstants = /** @class */ (function () {
    function SaldoOutrosDepositosFilterConstants() {
        this.sisFormularioId = 90034;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.nomeForm = "titles.saldoOutrosDepositos";
        this.reportId = "REL0009";
        this.reportTitulo = { "titulo": "Saldos Outros Depósitos", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
    }
    return SaldoOutrosDepositosFilterConstants;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.model.ts":
/*!***************************************************************************************!*\
  !*** ./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.model.ts ***!
  \***************************************************************************************/
/*! exports provided: SaldoOutrosDepositosFilter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldoOutrosDepositosFilter", function() { return SaldoOutrosDepositosFilter; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var SaldoOutrosDepositosFilter = /** @class */ (function () {
    function SaldoOutrosDepositosFilter() {
        this.filialId = 0;
        var data = new Date();
        data.setHours(23);
        data.setMinutes(59);
        data.setSeconds(59);
        this.dataRef = data;
        this.destinatarioIdCliente = 0;
        this.destinatarioIdEmitente = 0;
        this.grupoClienteId = undefined;
        this.materialId = "";
        this.destinatarioIdNavio = 0;
        this.loteId = "";
        this.osgId = 0;
        this.tanques = "";
        this.consideraLotesEncerrados = true;
        this.apresentarTanqueSemSaldo = false;
        this.stoContratoId = 0;
        this.stoContratoItemId = 0;
        this.localizacaoId = "";
    }
    return SaldoOutrosDepositosFilter;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.module.ts":
/*!****************************************************************************************!*\
  !*** ./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.module.ts ***!
  \****************************************************************************************/
/*! exports provided: SaldoOutrosDepositosModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldoOutrosDepositosModule", function() { return SaldoOutrosDepositosModule; });
/* 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 _saldo_outros_deposito_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./saldo-outros-deposito.routing.module */ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.routing.module.ts");
/* harmony import */ var _saldo_outros_deposito_form_saldo_outros_deposito_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./saldo-outros-deposito-form/saldo-outros-deposito-form.component */ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito-form/saldo-outros-deposito-form.component.ts");
/* harmony import */ var _saldo_outros_deposito_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./saldo-outros-deposito.service */ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.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 __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};





var SaldoOutrosDepositosModule = /** @class */ (function () {
    function SaldoOutrosDepositosModule() {
    }
    SaldoOutrosDepositosModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _saldo_outros_deposito_routing_module__WEBPACK_IMPORTED_MODULE_2__["SaldoOutrosDepositosFilterRoutingModule"]],
            declarations: [_saldo_outros_deposito_form_saldo_outros_deposito_form_component__WEBPACK_IMPORTED_MODULE_3__["SaldoOutrosDepositosFilterFormComponent"]],
            providers: [_saldo_outros_deposito_service__WEBPACK_IMPORTED_MODULE_4__["SaldoOutrosDepositosFilterService"]]
        })
    ], SaldoOutrosDepositosModule);
    return SaldoOutrosDepositosModule;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.routing.module.ts":
/*!************************************************************************************************!*\
  !*** ./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.routing.module.ts ***!
  \************************************************************************************************/
/*! exports provided: SaldoOutrosDepositosFilterRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldoOutrosDepositosFilterRoutingModule", function() { return SaldoOutrosDepositosFilterRoutingModule; });
/* 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 _saldo_outros_deposito_form_saldo_outros_deposito_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./saldo-outros-deposito-form/saldo-outros-deposito-form.component */ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito-form/saldo-outros-deposito-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: _saldo_outros_deposito_form_saldo_outros_deposito_form_component__WEBPACK_IMPORTED_MODULE_3__["SaldoOutrosDepositosFilterFormComponent"],
        data: { breadcrumb: "saldoOutrosDepositos", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var SaldoOutrosDepositosFilterRoutingModule = /** @class */ (function () {
    function SaldoOutrosDepositosFilterRoutingModule() {
    }
    SaldoOutrosDepositosFilterRoutingModule = __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"]],
        })
    ], SaldoOutrosDepositosFilterRoutingModule);
    return SaldoOutrosDepositosFilterRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.service.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/relatorios/saldo-outros-deposito/saldo-outros-deposito.service.ts ***!
  \*****************************************************************************************/
/*! exports provided: SaldoOutrosDepositosFilterService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SaldoOutrosDepositosFilterService", function() { return SaldoOutrosDepositosFilterService; });
/* 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 rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.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 _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.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 SaldoOutrosDepositosFilterService = /** @class */ (function (_super) {
    __extends(SaldoOutrosDepositosFilterService, _super);
    function SaldoOutrosDepositosFilterService(http) {
        var _this = _super.call(this, http, "api") || this;
        _this.http = http;
        return _this;
    }
    SaldoOutrosDepositosFilterService.prototype.getByFiltro = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].service_url + "/v1/relatorios/saldoOutrosDepositos", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    SaldoOutrosDepositosFilterService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    SaldoOutrosDepositosFilterService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], SaldoOutrosDepositosFilterService);
    return SaldoOutrosDepositosFilterService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-relatorios-saldo-outros-deposito-saldo-outros-deposito-module.js.map