(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["default~app-pages-balanca-outras-descargas-outras-descargas-module~app-pages-balanca-requisicao-desc~5e96ab62"],{

/***/ "./src/app/pages/balanca/requisicao-descarga/requisicao-descarga-filter/requisicao-descarga-filter.model.ts":
/*!******************************************************************************************************************!*\
  !*** ./src/app/pages/balanca/requisicao-descarga/requisicao-descarga-filter/requisicao-descarga-filter.model.ts ***!
  \******************************************************************************************************************/
/*! exports provided: RequisicaoDescargaFilter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoDescargaFilter", function() { return RequisicaoDescargaFilter; });
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

var RequisicaoDescargaFilter = /** @class */ (function () {
    function RequisicaoDescargaFilter() {
        this.dataI = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["DateTimeUtilsStaticService"].addDays(new Date(), -30);
        this.dataF = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["DateTimeUtilsStaticService"].getFinalDay();
        this.destinatarioIdCliente = "";
        this.requisicaoDescargaId = "";
        this.localOperacaoId = "";
        this.materialId = "";
        this.cadastroPlacaId = "";
        this.outras = "N";
        this.sitReg = "A, P, S, F";
    }
    return RequisicaoDescargaFilter;
}());



/***/ }),

/***/ "./src/app/pages/balanca/requisicao-descarga/requisicao-descarga.service.ts":
/*!**********************************************************************************!*\
  !*** ./src/app/pages/balanca/requisicao-descarga/requisicao-descarga.service.ts ***!
  \**********************************************************************************/
/*! exports provided: RequisicaoDescargaService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequisicaoDescargaService", function() { return RequisicaoDescargaService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _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 _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _requisicao_descarga_filter_requisicao_descarga_filter_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./requisicao-descarga-filter/requisicao-descarga-filter.model */ "./src/app/pages/balanca/requisicao-descarga/requisicao-descarga-filter/requisicao-descarga-filter.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 __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 RequisicaoDescargaService = /** @class */ (function (_super) {
    __extends(RequisicaoDescargaService, _super);
    function RequisicaoDescargaService(http) {
        var _this = _super.call(this, http, "balanca/requisicaoDescarga") || this;
        _this.http = http;
        _this.filtro = new _requisicao_descarga_filter_requisicao_descarga_filter_model__WEBPACK_IMPORTED_MODULE_6__["RequisicaoDescargaFilter"]();
        _this.dados = [];
        _this.configUni = {
            solMotCancEVePesagem: false,
            obrChaveNFeEnt: false
        };
        _this.configBal = {
            codBalCheckList: false,
            ctrSaldoContabil: "N",
            pesagemAutomatica: "N",
            validaMobile2Pes: false,
            calculaTotalNF: false,
            infPesoFob: false,
            sPerDesComis: false,
            permissaoDatasOCD: false,
            justAtraso: false,
            tolTara: 0,
            justDescarga: false,
            ptJustDescargaR: 0,
            ptJustDescargaF: 0,
            justDescargaSb: false,
            impTickAposLib: false,
            boletimOcorrencia: false,
            dtOperIgualPes: false,
            validaPesagem: false,
            balCodig: "",
            bl2Codig: "",
            ocrPesagem: false
        };
        _this.configWeb = {
            cWebModBOReqDescarga: "",
            cWebModTicketD: "",
            cWebModRequisicaoD: "",
            prefixoRelEspecifico: "",
            obrigaPlataformaRodo: false
        };
        _this.configCtr = {
            dtSeguro: ""
        };
        _this.configCtv = {
            observPortal: false,
            nAltDepositoLibVeic: false,
            naoPermiteAlterarChkLst: false,
            importaDANFE: false,
            itemNoCheckList: false,
            solicitaPlanejEv: false,
            checkListPesa: false,
        };
        return _this;
    }
    RequisicaoDescargaService.prototype._get = function (filtro) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/listar", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.segundaPesagem = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/segundaPesagem", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.segundaPesagemPesoLiq = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/segundaPesagemPesoLiq", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.corpWebBalRequisicaoDescargaTmpGrava = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/corpWebBalRequisicaoDescargaTmpGrava", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.corpWebStoContratoBloqueado = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/corpWebStoContratoBloqueado", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.corpWebBalRequisicaoDescargaTmpCancela = function () {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/corpWebBalRequisicaoDescargaTmpCancela")
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.verificaAlteracao = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/verificaAlteracao", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.corpWebBalRequisicaoDescargaItemExclui = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/corpWebBalRequisicaoDescargaItemExclui", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.corpWebBalRequisicaoDescargaExclui = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/corpWebBalRequisicaoDescargaExclui", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.verifyRequisicaoDescargaWithCheckListId = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/verifyRequisicaoDescargaWithCheckListId", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.getJustificativaPesoTara = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/getJustificativaPesoTara", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.balPesoTara = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/balPesoTara", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.getRequisicaoDescargaPesa = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/getRequisicaoDescargaPesa", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.stoVrfValidacaoMobile = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/stoVrfValidacaoMobile", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.updateRequisicaoDescargaPesa = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/updateRequisicaoDescargaPesa", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.setPesagemTotalVeiculoDesmembrada = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/setPesagemTotalVeiculoDesmembrada", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.podeCancelar = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/podeCancelar", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.cancelaPesagem = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/cancelaPesagem", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.consultaAlteraDatas = function (requisicaoDescargaId) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/alterarDatas/" + requisicaoDescargaId)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.alterarDatas = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/alterarDatas", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.consultaAlteraDados = function (requisicaoDescargaId) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/alterarDados/" + requisicaoDescargaId)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.alterarDados = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/alterarDados", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.consultaASegundaPesagem = function (requisicaoDescargaId) {
        return this.http
            .get(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/segundaPesagem/" + requisicaoDescargaId)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.prototype.validaItem = function (filter) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/balanca/requisicaoDescarga/validaItem", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    RequisicaoDescargaService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    RequisicaoDescargaService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], RequisicaoDescargaService);
    return RequisicaoDescargaService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_5__["BaseService"]));



/***/ }),

/***/ "./src/app/pages/cadastro/densidade-tanque/densidade-tanque.model.ts":
/*!***************************************************************************!*\
  !*** ./src/app/pages/cadastro/densidade-tanque/densidade-tanque.model.ts ***!
  \***************************************************************************/
/*! exports provided: DensidadeTanque, DensidadeTanqueFilter, CalculoDensidadeFilter, CalculoDensidadeRetorno */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DensidadeTanque", function() { return DensidadeTanque; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DensidadeTanqueFilter", function() { return DensidadeTanqueFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CalculoDensidadeFilter", function() { return CalculoDensidadeFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CalculoDensidadeRetorno", function() { return CalculoDensidadeRetorno; });
/* 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 moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);
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 DensidadeTanque = /** @class */ (function (_super) {
    __extends(DensidadeTanque, _super);
    function DensidadeTanque() {
        var _this = _super.call(this) || this;
        _this.flagAtivo = "S";
        _this.dtDensidade = new Date();
        return _this;
    }
    return DensidadeTanque;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var DensidadeTanqueFilter = /** @class */ (function () {
    function DensidadeTanqueFilter() {
        this.tanqueId = "";
        this.dataI = moment__WEBPACK_IMPORTED_MODULE_1__().startOf('month').toDate();
        this.dataF = new Date();
    }
    return DensidadeTanqueFilter;
}());

var CalculoDensidadeFilter = /** @class */ (function () {
    function CalculoDensidadeFilter() {
    }
    return CalculoDensidadeFilter;
}());

var CalculoDensidadeRetorno = /** @class */ (function () {
    function CalculoDensidadeRetorno() {
    }
    return CalculoDensidadeRetorno;
}());



/***/ }),

/***/ "./src/app/pages/cadastro/densidade-tanque/densidade-tanque.service.ts":
/*!*****************************************************************************!*\
  !*** ./src/app/pages/cadastro/densidade-tanque/densidade-tanque.service.ts ***!
  \*****************************************************************************/
/*! exports provided: DensidadeTanqueService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DensidadeTanqueService", function() { return DensidadeTanqueService; });
/* harmony import */ var app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _app_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../app.error-handler */ "./src/app/app.error-handler.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 DensidadeTanqueService = /** @class */ (function (_super) {
    __extends(DensidadeTanqueService, _super);
    function DensidadeTanqueService(http) {
        return _super.call(this, http, "cadastros/densidadeTanque") || this;
    }
    DensidadeTanqueService.prototype.getByFiltro = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/cadastros/densidadeTanque/getByFiltro", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    DensidadeTanqueService.prototype.calculaDados20 = function (filtro) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/diversos/calculaDados20", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    DensidadeTanqueService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"] }
    ]; };
    DensidadeTanqueService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]])
    ], DensidadeTanqueService);
    return DensidadeTanqueService;
}(app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_0__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=default~app-pages-balanca-outras-descargas-outras-descargas-module~app-pages-balanca-requisicao-desc~5e96ab62.js.map