(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-veiculo-iso-tanque-iso-tanque-module"],{

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal fade\" id=\"iso-tanque-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\r\n    <div class=\"modal-dialog modal-sm\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.pesquisaDeIsoTanque' | translate }}</h6>\r\n            </div>\r\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\r\n                <div class=\"modal-body\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"numero\">{{ 'labels.numero' | translate }}</label>\r\n                                <input id=\"numero\" name=\"numero\" [(ngModel)]=\"service.filtro.cadastroPlacaId\"\r\n                                    class=\"form-control form-control-sm\">\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}\r\n                    </button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Sair</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/veiculo/iso-tanque/iso-tanque-form/iso-tanque-form.component.html":
/*!*******************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/veiculo/iso-tanque/iso-tanque-form/iso-tanque-form.component.html ***!
  \*******************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaForm\" [formAction]=\"actionForm\" [itemData]=\"data.cadastroPlacaId\"\n    [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <app-form-legenda></app-form-legenda>\n            <div class=\"card-body widget-body\">\n                <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\">\n                    <app-validacoes></app-validacoes>\n                    <div class=\"row\">\n                        <div class=\"col-lg-2 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"cadastroPlacaId\" class=\"required\"> {{ 'labels.placa' | translate }}\n                                </label>\n                                <input autofocus id=\"cadastroPlacaId\" name=\"cadastroPlacaId\" maxlength=\"18\"\n                                    required=\"true\" [(ngModel)]=\"data.cadastroPlacaId\"\n                                    class=\"form-control form-control-sm text-uppercase\" type=\"text\"\n                                    (blur)=\"verificaExisteIsoTanque()\"\n                                    [disabled]=\"!funcoesService.isCreate(actionForm)\" />\n                            </div>\n                        </div>\n                        <div class=\"col-lg-2 col-md-6 col-sm-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <label> </label><br>\n                                <input id=\"flagAtivo\" name=\"flagAtivo\" [ngModel]=\"data.flagAtivo === 'S'\"\n                                    (ngModelChange)=\"data.flagAtivo = $event ? 'S' : 'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                                <label class=\"custom-control-label\" for=\"flagAtivo\">\n                                    {{ 'labels.ativo' | translate }}\n                                </label>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"quantidadeCompartimentos\" class=\"required\">\n                                    {{ 'labels.quantidadeCompartimentos' | translate }}\n                                </label>\n                                <input id=\"quantidadeCompartimentos\" name=\"quantidadeCompartimentos\"\n                                    [(ngModel)]=\"data.numCompartimento\" class=\"form-control form-control-sm\" required\n                                    currencyMask [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\n                                    maxLength=\"2\" type=\"text\" (focus)=\"limpaCompartimentos()\"\n                                    (blur)=\"atualizaCompartimentos()\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                            </div>\n                        </div>\n                        <div class=\"col-lg-2 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"qtdeSetas\" class=\"required\">{{\"labels.qtdeSetas\" | translate\n                                    }}</label>\n                                <select id=\"qtdeSetas\" name=\"qtdeSetas\" [(ngModel)]=\"data.setas\"\n                                    class=\"form-control form-control-sm\" required (change)=\"atualizaCompartimentos()\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <option value=\"0\">0</option>\n                                    <option value=\"1\">1</option>\n                                    <option value=\"2\">2</option>\n                                    <option value=\"3\">3</option>\n                                    <option value=\"4\">4</option>\n                                    <option value=\"5\">5</option>\n                                    <option value=\"6\">6</option>\n                                </select>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"quantidLacre\">\n                                    {{ 'labels.quantidLacre' | translate }}\n                                </label>\n                                <input id=\"quantidLacre\" name=\"quantidLacre\" [(ngModel)]=\"data.quantidLacre\"\n                                    class=\"form-control form-control-sm\" type=\"text\" currencyMask\n                                    [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                            </div>\n                        </div>\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"dtValidadeCl\">\n                                    {{ 'labels.validadeCheckist' | translate }}\n                                </label>\n                                <app-data id=\"dtValidadeCl\" name=\"dtValidadeCl\" [(ngModel)]=\"data.dtValidadeCl\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\"></app-data>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"pesoTara\" [class.required]=\"requiredPesoTara\">\n                                    {{ 'labels.pesoTara' | translate }}\n                                </label>\n                                <input id=\"pesoTara\" name=\"pesoTara\" [(ngModel)]=\"data.pesoTara\"\n                                    class=\"form-control form-control-sm\" currencyMask\n                                    [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\n                                    maxLength=\"11\" type=\"text\" [required]=\"requiredPesoTara\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                            </div>\n                        </div>\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"vlPesoTara\">\n                                    {{ 'labels.vlPesoTara' | translate }}\n                                </label>\n                                <app-data id=\"vlPesoTara\" name=\"vlPesoTara\" [(ngModel)]=\"data.vlPesoTara\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                </app-data>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-3 mt-2\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"codTipoCarreg\" [class.required]=\"requiredTipoCarregamento\">{{\n                                    'labels.tipoDeCarregamento' | translate}}</label>\n                                <app-combo-padrao id=\"codTipoCarreg\" name=\"codTipoCarreg\" tabela=\"TipoCarregamento\"\n                                    descricao=\"DescrTipoCarreg\" chave=\"CodTipoCarreg\" [(ngModel)]=\"data.codTipoCarreg\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm) || !disabledTipoCarregamento\"\n                                    [required]=\"requiredTipoCarregamento\">\n                                </app-combo-padrao>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-4\">\n                            <span *ngIf=\"data.sisCampoAdds\">\n                                <div *ngFor=\"let d of data.sisCampoAdds\" [class.col-lg-6]=\"!d.colunas\">\n                                    <app-campos-adicionais name=\"{{d.campo}}\" [sisCampoAdd]=\"d\"\n                                        [(ngModel)]=\"d.valorCampo\" [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        [required]=\"d.obrigatorio === 'S'\"></app-campos-adicionais>\n                                </div>\n                            </span>\n                        </div>\n                    </div>\n                    <div class=\"clearfix\">&nbsp;</div>\n                    <h5 *ngIf=\"exibeCompartimento\"><strong>Capacidade (LT)</strong></h5>\n                    <table class=\"table table-striped table-bordered rownowrap form-control-sm\"\n                        *ngIf=\"exibeCompartimento\">\n                        <thead>\n                            <tr>\n                                <td>&nbsp;</td>\n                                <td *ngFor=\"let ts of setasVolume; let ti = index\">\n                                    <label class=\"required\">{{ 'labels.seta' + (ti + 1 * 1) | translate }}</label>\n                                </td>\n                            </tr>\n                        </thead>\n                        <tbody>\n                            <tr *ngFor=\"let c of camposVolume; let h = index\">\n                                <td>{{ h + 1 }}</td>\n                                <td *ngFor=\"let s of setasVolume; let i = index\">\n                                    <span *ngIf=\"i < 1\">\n                                        <input type=\"text\" name=\"{{ c }}\" id=\"{{ c }}\"\n                                            class=\"form-control form-control-sm\" required=\"true\" [(ngModel)]=\"data[c]\"\n                                            currencyMask\n                                            [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\n                                            maxlength=\"11\" [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                                    </span>\n                                    <span *ngIf=\"i >= 1\">\n                                        <input type=\"text\" class=\"form-control form-control-sm\" name=\"{{ c }}{{ s }}\"\n                                            id=\"{{ c }}{{ s }}\" [(ngModel)]=\"data[c + s]\" currencyMask\n                                            [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\"\n                                            maxlength=\"11\" [disabled]=\"funcoesService.isDetail(actionForm)\" />\n                                    </span>\n                                </td>\n                            </tr>\n                        </tbody>\n                    </table>\n                    <div class=\"row\">\n                        <div class=\"col-12\">\n                            <div class=\"form-group\">\n                                <button class=\"btn btn-success mr-2\" type=\"submit\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    {{ 'buttons.salvar' | translate }}\n                                </button>\n                            </div>\n                        </div>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </div>\n</div>\n\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/veiculo/iso-tanque/iso-tanque-index/iso-tanque-index.component.html":
/*!*********************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/veiculo/iso-tanque/iso-tanque-index/iso-tanque-index.component.html ***!
  \*********************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\" [formAction]=\"actionForm\"\r\n    [itemData]=\"data.cadastroPlacaId\" [sisFormularioId]=\"constantes.sisFormularioId\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <table id=\"dtIsoTanque\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\r\n</div>\r\n\r\n<app-propriedades></app-propriedades>\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\r\n<app-iso-tanque-filter (filtrar)=\"executaFiltro()\"></app-iso-tanque-filter>");

/***/ }),

/***/ "./src/app/pages/veiculo/iso-tanque/iso-tanque-filter/iso-tanque-filter.component.ts":
/*!*******************************************************************************************!*\
  !*** ./src/app/pages/veiculo/iso-tanque/iso-tanque-filter/iso-tanque-filter.component.ts ***!
  \*******************************************************************************************/
/*! exports provided: IsoTanqueFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueFilterComponent", function() { return IsoTanqueFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _iso_tanque_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../iso-tanque.model */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.model.ts");
/* harmony import */ var _iso_tanque_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../iso-tanque.service */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var IsoTanqueFilterComponent = /** @class */ (function () {
    function IsoTanqueFilterComponent(service) {
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    IsoTanqueFilterComponent.prototype.ngOnInit = function () {
        if (!this.service.filtro)
            this.service.filtro = new _iso_tanque_model__WEBPACK_IMPORTED_MODULE_2__["IsoTanqueFilter"]();
    };
    IsoTanqueFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_1__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.filtrar.emit();
        jQuery("#iso-tanque-filter-dialog").modal("hide");
    };
    IsoTanqueFilterComponent.ctorParameters = function () { return [
        { type: _iso_tanque_service__WEBPACK_IMPORTED_MODULE_3__["IsoTanqueService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", _iso_tanque_model__WEBPACK_IMPORTED_MODULE_2__["IsoTanqueFilter"])
    ], IsoTanqueFilterComponent.prototype, "data", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], IsoTanqueFilterComponent.prototype, "filtrar", void 0);
    IsoTanqueFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-iso-tanque-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./iso-tanque-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/veiculo/iso-tanque/iso-tanque-filter/iso-tanque-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_iso_tanque_service__WEBPACK_IMPORTED_MODULE_3__["IsoTanqueService"]])
    ], IsoTanqueFilterComponent);
    return IsoTanqueFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/veiculo/iso-tanque/iso-tanque-form/iso-tanque-form.component.ts":
/*!***************************************************************************************!*\
  !*** ./src/app/pages/veiculo/iso-tanque/iso-tanque-form/iso-tanque-form.component.ts ***!
  \***************************************************************************************/
/*! exports provided: IsoTanqueFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueFormComponent", function() { return IsoTanqueFormComponent; });
/* 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 _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* 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 _login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _iso_tanque_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../iso-tanque.model */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.model.ts");
/* harmony import */ var _iso_tanque_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../iso-tanque.constants */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.constants.ts");
/* harmony import */ var _iso_tanque_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../iso-tanque.service */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_shared_services_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 app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_13__ = __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");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-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 __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};















var IsoTanqueFormComponent = /** @class */ (function (_super) {
    __extends(IsoTanqueFormComponent, _super);
    function IsoTanqueFormComponent(router, message, activatedRoute, service, funcoes, loginService, permissoesUtils, configuracao) {
        var _this = _super.call(this, new _iso_tanque_constants__WEBPACK_IMPORTED_MODULE_9__["IsoTanqueConstants"](), funcoes) || this;
        _this.router = router;
        _this.message = message;
        _this.activatedRoute = activatedRoute;
        _this.service = service;
        _this.funcoes = funcoes;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.configuracao = configuracao;
        _this.data = new _iso_tanque_model__WEBPACK_IMPORTED_MODULE_8__["IsoTanque"]();
        _this.mensagens = [];
        _this.constantes = new _iso_tanque_constants__WEBPACK_IMPORTED_MODULE_9__["IsoTanqueConstants"]();
        _this.setasVolume = [];
        _this.camposVolume = [];
        _this.target = _this.funcoes.getTargetLocation();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.service.configs.validPTaraVeiculo = _this.configuracao.boolean("CTV", "ValidPTaraVeiculo");
                _this.service.configs.obrPesoTaraPlaca = _this.configuracao.boolean("CTV", "ObrPesoTaraPlaca");
                _this.service.configs.solTipoCarregPlaca = _this.configuracao.boolean("CTV", "SolTipoCarregPlaca");
            }
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoes.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    IsoTanqueFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, this.permissoesUtils.getLibRotina(this.actionForm), function () {
            var id = _this.activatedRoute.snapshot.paramMap.get("id");
            if (id) {
                _this.service.getById(id).subscribe(function (resp) {
                    _this.data = resp;
                    _this.criaSetas();
                    _this.criaCompartimento();
                });
            }
            else {
                _this.data = new _iso_tanque_model__WEBPACK_IMPORTED_MODULE_8__["IsoTanque"]();
                _this.getCamposAdicionais();
            }
        }, function () {
            _this.permissoesUtils.back();
        });
    };
    IsoTanqueFormComponent.prototype.onSubmit = function (form, create) {
        var _this = this;
        if (create === void 0) { create = false; }
        if (!this.validaCompartimentos()) {
            this.message.warning("titles.isoTanque", "messages.volumeDoCompartimentoNaoInformado");
            return;
        }
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.data.logRotina = "Manut. Isotanque";
        this.service
            .save(this.data, this.funcoesService.isEdit(this.actionForm))
            .subscribe(function (validationResult) {
            _this.mensagens = _this.message.validationResult(validationResult);
            if (!validationResult.isValid) {
                _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("backError").emit(_this.mensagens);
            }
            else {
                _this.message.saveSuccess("titles.isoTanque");
                if (create) {
                    _this.data = new _iso_tanque_model__WEBPACK_IMPORTED_MODULE_8__["IsoTanque"]();
                    _this.router.navigate([_this.target + "/veiculo/isoTanque/create"]);
                }
                else {
                    _this.back();
                }
            }
        });
    };
    IsoTanqueFormComponent.prototype.edit = function () {
        if (this.funcoes.isNotUndefinedOrNull(this.data.cadastroPlacaId)) {
            this.router.navigate([this.target + "/veiculo/isoTanque/edit/" + this.data.cadastroPlacaId]);
        }
    };
    IsoTanqueFormComponent.prototype.saveAndCreate = function (form) {
        this.onSubmit(form, true);
    };
    IsoTanqueFormComponent.prototype.back = function () {
        this.funcoesService.desabilitarFiltro();
        this.router.navigate([this.target + "/veiculo/isoTanque"]);
    };
    IsoTanqueFormComponent.prototype.getCamposAdicionais = function () {
        var _this = this;
        this.funcoes.camposAdicionais
            .get(this.constantes.sisFormularioId)
            .subscribe(function (data) {
            _this.data.sisCampoAdds = data;
        });
    };
    IsoTanqueFormComponent.prototype.verificaExisteIsoTanque = function () {
        return __awaiter(this, void 0, void 0, function () {
            var validationResult_1, mensagens;
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        if (!(app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["StringUtilsStaticService"].toString(this.data.cadastroPlacaId) !== "")) return [3 /*break*/, 2];
                        return [4 /*yield*/, this.service.verificaExisteIsoTanque({ cadastroPlacaId: this.data.cadastroPlacaId }).toPromise()];
                    case 1:
                        validationResult_1 = _a.sent();
                        if (!validationResult_1.isValid) {
                            mensagens = this.message.validationResult(validationResult_1);
                            mensagens.forEach(function (m) { return _this.message.warning("titles.isoTanque", m, { descarga: validationResult_1.message }); });
                            this.data.cadastroPlacaId = "";
                            return [2 /*return*/];
                        }
                        _a.label = 2;
                    case 2: return [2 /*return*/];
                }
            });
        });
    };
    IsoTanqueFormComponent.prototype.limpaCompartimentos = function () {
        var setaAtual = +this.data.setas;
        var compAtual = +this.data.numCompartimento;
        for (var i = 1; i <= 10; i++) {
            if (i > compAtual) {
                this.data["volumeCompart" + i] = null;
                for (var j = 2; j <= 6; j++) {
                    this.data["volumeCompart" + i + "S" + j] = null;
                }
            }
            else {
                for (var k = (setaAtual + 1); k <= 6; k++) {
                    this.data["volumeCompart" + i + "S" + k] = null;
                }
            }
        }
    };
    IsoTanqueFormComponent.prototype.atualizaCompartimentos = function () {
        if (this.data.numCompartimento > 10) {
            this.message.warning("titles.isoTanque", "messages.numeroMaximoDeCompartimento10");
            this.data.numCompartimento = 0;
            return;
        }
        if (this.data.setas > 6) {
            this.message.warning("titles.isoTanque", "messages.qtdeSetasMaiorSeis");
            this.data.setas = 0;
            return;
        }
        this.criaSetas();
        this.criaCompartimento();
    };
    IsoTanqueFormComponent.prototype.criaSetas = function () {
        this.setasVolume = [];
        for (var i = 1; i <= this.data.setas; i++) {
            this.setasVolume.push("S" + i.toString());
        }
    };
    IsoTanqueFormComponent.prototype.criaCompartimento = function () {
        this.camposVolume = [];
        for (var i = 1; i <= this.data.numCompartimento; i++) {
            this.camposVolume.push("volumeCompart" + i.toString());
        }
    };
    IsoTanqueFormComponent.prototype.validaCompartimentos = function () {
        var setaAtual = +this.data.setas;
        var compAtual = +this.data.numCompartimento;
        if ((setaAtual > 0) && (compAtual > 0)) {
            for (var i = 1; i <= compAtual; i++) {
                if (!(this.data["volumeCompart" + i] > 0)) {
                    return false;
                }
                for (var j = 2; j <= setaAtual; j++) {
                    if (!(this.data["volumeCompart" + i + "S" + j] > 0)) {
                        return false;
                    }
                }
            }
        }
        else {
            return true;
        }
        return true;
    };
    Object.defineProperty(IsoTanqueFormComponent.prototype, "requiredPesoTara", {
        get: function () {
            return (this.service.configs.validPTaraVeiculo && this.service.configs.obrPesoTaraPlaca && app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_13__["DateTimeUtilsStaticService"].isDate(this.data.vlPesoTara));
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IsoTanqueFormComponent.prototype, "requiredTipoCarregamento", {
        get: function () {
            return this.service.configs.solTipoCarregPlaca && app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["NumberUtilsStaticService"].isPositive(this.data.numCompartimento);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IsoTanqueFormComponent.prototype, "disabledTipoCarregamento", {
        get: function () {
            return this.service.configs.solTipoCarregPlaca;
        },
        enumerable: true,
        configurable: true
    });
    IsoTanqueFormComponent.prototype.resetCompartimentos = function () {
        this.limpaCompartimentos();
        this.atualizaCompartimentos();
    };
    Object.defineProperty(IsoTanqueFormComponent.prototype, "exibeCompartimento", {
        get: function () {
            return this.data.numCompartimento > 0 && this.data.setas > 0;
        },
        enumerable: true,
        configurable: true
    });
    IsoTanqueFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _iso_tanque_service__WEBPACK_IMPORTED_MODULE_10__["IsoTanqueService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_12__["ConfiguracaoFacade"] }
    ]; };
    IsoTanqueFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-iso-tanque-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./iso-tanque-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/veiculo/iso-tanque/iso-tanque-form/iso-tanque-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _iso_tanque_service__WEBPACK_IMPORTED_MODULE_10__["IsoTanqueService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_12__["ConfiguracaoFacade"]])
    ], IsoTanqueFormComponent);
    return IsoTanqueFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/veiculo/iso-tanque/iso-tanque-index/iso-tanque-index.component.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/veiculo/iso-tanque/iso-tanque-index/iso-tanque-index.component.ts ***!
  \*****************************************************************************************/
/*! exports provided: IsoTanqueIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueIndexComponent", function() { return IsoTanqueIndexComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _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 _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _iso_tanque_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../iso-tanque.model */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.model.ts");
/* harmony import */ var _iso_tanque_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../iso-tanque.constants */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.constants.ts");
/* harmony import */ var _iso_tanque_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../iso-tanque.service */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/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 IsoTanqueIndexComponent = /** @class */ (function (_super) {
    __extends(IsoTanqueIndexComponent, _super);
    function IsoTanqueIndexComponent(router, service, datatables, message, funcoes, loginService, permissoesUtils, configuracao) {
        var _this = _super.call(this, new _iso_tanque_constants__WEBPACK_IMPORTED_MODULE_9__["IsoTanqueConstants"](), funcoes) || this;
        _this.router = router;
        _this.service = service;
        _this.datatables = datatables;
        _this.message = message;
        _this.funcoes = funcoes;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.configuracao = configuracao;
        _this.data = new _iso_tanque_model__WEBPACK_IMPORTED_MODULE_8__["IsoTanque"]();
        _this.constantes = new _iso_tanque_constants__WEBPACK_IMPORTED_MODULE_9__["IsoTanqueConstants"]();
        _this.target = _this.funcoes.getTargetLocation();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.service.configs.habCadIsotanque = _this.configuracao.boolean("UNI", "HabCadIsotanque");
            }
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoes.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    IsoTanqueIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            if (!_this.loginService.isTokenExpired()) {
                if (_this.funcoes.abrirFiltro) {
                    _this.service.filtro = new _iso_tanque_model__WEBPACK_IMPORTED_MODULE_8__["IsoTanqueFilter"]();
                    _this.funcoes.openModal("iso-tanque-filter-dialog");
                }
                else {
                    _this.refresh();
                }
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    IsoTanqueIndexComponent.prototype.create = function () {
        this.router.navigate([this.target + "/veiculo/isoTanque/create"]);
    };
    IsoTanqueIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.getByFiltro(this.service.filtro).subscribe(function (data) {
            var columns = [
                _this.datatables.getDataString("cadastroPlacaId", "numeroContainer"),
                _this.datatables.getDataString("numCompartimento", "qtdeComp"),
                _this.datatables.getDataString("setas", "qtdeSetas"),
                _this.datatables.getDataString("quantidLacre", "qtdeLacre"),
            ];
            _this.datatables.toDataTable({ tableId: "dtIsoTanque", columns: columns, data: data, orientationOrder: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["EOrientationOrder"].ASC }, function (aData) {
                _this.data = aData;
            });
        });
    };
    IsoTanqueIndexComponent.prototype.edit = function () {
        if (this.funcoes.isNotUndefinedOrNull(this.data.cadastroPlacaId)) {
            this.router.navigate([this.target + "/veiculo/isoTanque/edit/" + this.data.cadastroPlacaId]);
        }
    };
    IsoTanqueIndexComponent.prototype.properties = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 6, function () {
            _super.prototype.properties.call(_this, _this.data);
        });
    };
    IsoTanqueIndexComponent.prototype.filtrar = function () {
        jQuery("#iso-tanque-filter-dialog").modal("show");
    };
    IsoTanqueIndexComponent.prototype.executaFiltro = function () {
        this.refresh();
    };
    IsoTanqueIndexComponent.prototype.detail = function () {
        if (this.funcoesService.isNotUndefinedOrNull(this.data.cadastroPlacaId)) {
            this.router.navigate([this.target + "/veiculo/isoTanque/detail/" + this.data.cadastroPlacaId]);
        }
    };
    IsoTanqueIndexComponent.prototype.remove = function () {
        var _this = this;
        if (this.funcoes.isNotUndefinedOrNull(this.data.cadastroPlacaId)) {
            this.message.removeConfirm(function () {
                _this.service.remove(_this.data).subscribe(function () {
                    _this.datatables.remove("dtIsoTanque");
                });
            });
        }
    };
    IsoTanqueIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 7, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    IsoTanqueIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 5, function () {
            _this.funcoesService.reportInvoc.invocaRelatorio(_this.constantes.reportId, _this.constantes.reportTitulo, {
                cadastroPlacaId: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["StringUtilsStaticService"].toString(_this.service.filtro.cadastroPlacaId),
            });
        });
    };
    IsoTanqueIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _iso_tanque_service__WEBPACK_IMPORTED_MODULE_10__["IsoTanqueService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_11__["ConfiguracaoFacade"] }
    ]; };
    IsoTanqueIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-iso-tanque-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./iso-tanque-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/veiculo/iso-tanque/iso-tanque-index/iso-tanque-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _iso_tanque_service__WEBPACK_IMPORTED_MODULE_10__["IsoTanqueService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_11__["ConfiguracaoFacade"]])
    ], IsoTanqueIndexComponent);
    return IsoTanqueIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/veiculo/iso-tanque/iso-tanque.constants.ts":
/*!******************************************************************!*\
  !*** ./src/app/pages/veiculo/iso-tanque/iso-tanque.constants.ts ***!
  \******************************************************************/
/*! exports provided: IsoTanqueConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueConstants", function() { return IsoTanqueConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var IsoTanqueConstants = /** @class */ (function () {
    function IsoTanqueConstants() {
        this.sisFormularioId = 230133;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.inclusao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.exclusao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 5, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 6, acao: "labels.propriedades" },
            { sisFormularioId: this.sisFormularioId, libRotina: 7, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.isoTanque";
        this.reportId = "CTV0013";
        this.tabela = "CadastroPlaca";
        this.reportTitulo = { "titulo": "Cadastro de Isotanque", "subTitulo": "" };
        this.listaIndex = [
            { title: 'Novo', action: 'create', icon: "icon-plus", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Visualizar', action: 'detail', icon: "icon-eye", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Excluir', action: 'remove', icon: "icon-close", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Propriedade', action: 'properties', icon: "icon-menu", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
        this.listaForm = [
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
        this.listaParam = [
            { 'sistema': 'CTV', 'parametros': ['ValidPTaraVeiculo', 'ObrPesoTaraPlaca', 'SolTipoCarregPlaca'] },
            { 'sistema': 'UNI', 'parametros': ['HabCadIsotanque'] }
        ];
    }
    return IsoTanqueConstants;
}());



/***/ }),

/***/ "./src/app/pages/veiculo/iso-tanque/iso-tanque.model.ts":
/*!**************************************************************!*\
  !*** ./src/app/pages/veiculo/iso-tanque/iso-tanque.model.ts ***!
  \**************************************************************/
/*! exports provided: IsoTanque, IsoTanqueDto, IsoTanqueFilter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanque", function() { return IsoTanque; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueDto", function() { return IsoTanqueDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueFilter", function() { return IsoTanqueFilter; });
/* 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");
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 IsoTanque = /** @class */ (function (_super) {
    __extends(IsoTanque, _super);
    function IsoTanque() {
        var _this = _super.call(this) || this;
        _this.flagAtivo = "S";
        _this.setas = 0;
        return _this;
    }
    return IsoTanque;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var IsoTanqueDto = /** @class */ (function (_super) {
    __extends(IsoTanqueDto, _super);
    function IsoTanqueDto() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    return IsoTanqueDto;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var IsoTanqueFilter = /** @class */ (function () {
    function IsoTanqueFilter() {
        this.cadastroPlacaId = "";
    }
    return IsoTanqueFilter;
}());



/***/ }),

/***/ "./src/app/pages/veiculo/iso-tanque/iso-tanque.module.ts":
/*!***************************************************************!*\
  !*** ./src/app/pages/veiculo/iso-tanque/iso-tanque.module.ts ***!
  \***************************************************************/
/*! exports provided: IsoTanqueModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueModule", function() { return IsoTanqueModule; });
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _iso_tanque_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./iso-tanque.routing.module */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.routing.module.ts");
/* harmony import */ var _iso_tanque_index_iso_tanque_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./iso-tanque-index/iso-tanque-index.component */ "./src/app/pages/veiculo/iso-tanque/iso-tanque-index/iso-tanque-index.component.ts");
/* harmony import */ var _iso_tanque_form_iso_tanque_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./iso-tanque-form/iso-tanque-form.component */ "./src/app/pages/veiculo/iso-tanque/iso-tanque-form/iso-tanque-form.component.ts");
/* harmony import */ var _iso_tanque_filter_iso_tanque_filter_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./iso-tanque-filter/iso-tanque-filter.component */ "./src/app/pages/veiculo/iso-tanque/iso-tanque-filter/iso-tanque-filter.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var IsoTanqueModule = /** @class */ (function () {
    function IsoTanqueModule() {
    }
    IsoTanqueModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_0__["SharedModule"], _iso_tanque_routing_module__WEBPACK_IMPORTED_MODULE_2__["IsoTanqueRoutingModule"]],
            declarations: [
                _iso_tanque_index_iso_tanque_index_component__WEBPACK_IMPORTED_MODULE_3__["IsoTanqueIndexComponent"],
                _iso_tanque_form_iso_tanque_form_component__WEBPACK_IMPORTED_MODULE_4__["IsoTanqueFormComponent"],
                _iso_tanque_filter_iso_tanque_filter_component__WEBPACK_IMPORTED_MODULE_5__["IsoTanqueFilterComponent"]
            ]
        })
    ], IsoTanqueModule);
    return IsoTanqueModule;
}());



/***/ }),

/***/ "./src/app/pages/veiculo/iso-tanque/iso-tanque.routing.module.ts":
/*!***********************************************************************!*\
  !*** ./src/app/pages/veiculo/iso-tanque/iso-tanque.routing.module.ts ***!
  \***********************************************************************/
/*! exports provided: IsoTanqueRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueRoutingModule", function() { return IsoTanqueRoutingModule; });
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _iso_tanque_index_iso_tanque_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./iso-tanque-index/iso-tanque-index.component */ "./src/app/pages/veiculo/iso-tanque/iso-tanque-index/iso-tanque-index.component.ts");
/* harmony import */ var _iso_tanque_form_iso_tanque_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./iso-tanque-form/iso-tanque-form.component */ "./src/app/pages/veiculo/iso-tanque/iso-tanque-form/iso-tanque-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: _iso_tanque_index_iso_tanque_index_component__WEBPACK_IMPORTED_MODULE_3__["IsoTanqueIndexComponent"],
        data: { breadcrumb: "isoTanque", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: "create",
        component: _iso_tanque_form_iso_tanque_form_component__WEBPACK_IMPORTED_MODULE_4__["IsoTanqueFormComponent"],
        data: {
            breadcrumb: "isoTanque",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create }
        }
    },
    {
        path: "edit/:id",
        component: _iso_tanque_form_iso_tanque_form_component__WEBPACK_IMPORTED_MODULE_4__["IsoTanqueFormComponent"],
        data: {
            breadcrumb: "isoTanque",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].edit }
        }
    },
    {
        path: "detail/:id",
        component: _iso_tanque_form_iso_tanque_form_component__WEBPACK_IMPORTED_MODULE_4__["IsoTanqueFormComponent"],
        data: {
            breadcrumb: "isoTanque",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var IsoTanqueRoutingModule = /** @class */ (function () {
    function IsoTanqueRoutingModule() {
    }
    IsoTanqueRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_0__["RouterModule"]]
        })
    ], IsoTanqueRoutingModule);
    return IsoTanqueRoutingModule;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IsoTanqueService", function() { return IsoTanqueService; });
/* 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 _app_error_handler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var _iso_tanque_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./iso-tanque.model */ "./src/app/pages/veiculo/iso-tanque/iso-tanque.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 IsoTanqueService = /** @class */ (function (_super) {
    __extends(IsoTanqueService, _super);
    function IsoTanqueService(http) {
        var _this = _super.call(this, http, "veiculos/isoTanque") || this;
        _this.filtro = new _iso_tanque_model__WEBPACK_IMPORTED_MODULE_6__["IsoTanqueFilter"]();
        _this.configs = {
            validPTaraVeiculo: false,
            obrPesoTaraPlaca: false,
            solTipoCarregPlaca: false,
            habCadIsotanque: false
        };
        return _this;
    }
    IsoTanqueService.prototype.getByFiltro = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].service_url + "/api/v1/veiculos/isoTanque/filter", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    IsoTanqueService.prototype.verificaExisteIsoTanque = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].service_url + "/api/v1/veiculos/isoTanque/verificaExisteIsoTanque", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_3__["ErrorHandler"].handleError));
    };
    IsoTanqueService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    IsoTanqueService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], IsoTanqueService);
    return IsoTanqueService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_4__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-veiculo-iso-tanque-iso-tanque-module.js.map