(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-cattalini-cadastros-tipo-carregamento-tipo-carregamento-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-form/tipo-carregamento-form.component.html":
/*!****************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-form/tipo-carregamento-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\"\n    [itemData]=\"data.cliCattaTipoCarregamentoId\" [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            <div class=\"\">\n                <app-form-legenda></app-form-legenda>\n                <div class=\"card-body widget-body\">\n                    <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\">\n                        <div class=\"row\">\n                            <div class=\"col-lg-4\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"localOperacao\" class=\"required\">{{'labels.localOperacao' |\n                                        translate}}</label>\n                                    <app-combo-padrao id=\"localOperacao\" name=\"localOperacao\"\n                                        [(ngModel)]=\"data.localOperacao\" tabela=\"LocalOperacao\" chave=\"CodLocalOper\"\n                                        descricao=\"DescrLocalOper\" ativos=\"true\" [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        required>\n                                    </app-combo-padrao>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-4\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"tanqueId\" class=\"required\">{{ 'labels.deposito' | translate }}</label>\n                                    <app-combo-tanque id=\"tanqueId\" name=\"tanqueid\" tipoDeposito=\"T\"\n                                        [(ngModel)]=\"data.tanque\" [disabled]=\"funcoesService.isDetail(actionForm)\" \n                                        required>\n                                    </app-combo-tanque>\n                                </div>\n                            </div>\n                        </div>\n                        <app-validacoes></app-validacoes>\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)\"> {{ 'buttons.salvar' | translate }} </button>\n                                </div>\n                            </div>\n                        </div>\n                    </form>\n                </div>\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/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-index/tipo-carregamento-index.component.html":
/*!******************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-index/tipo-carregamento-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\"\n                      [formAction]=\"actionForm\"\n                      [itemData]=\"data.cliCattaTipoCarregamentoId\"\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <table id=\"dtCarregamento\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n");

/***/ }),

/***/ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-form/tipo-carregamento-form.component.ts":
/*!************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-form/tipo-carregamento-form.component.ts ***!
  \************************************************************************************************************************************/
/*! exports provided: TipoCarregamentoFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoCarregamentoFormComponent", function() { return TipoCarregamentoFormComponent; });
/* 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_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_components_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_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _tipo_carregamento_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tipo-carregamento.model */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.model.ts");
/* harmony import */ var _tipo_carregamento_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../tipo-carregamento.constants */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.constants.ts");
/* harmony import */ var _tipo_carregamento_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../tipo-carregamento.service */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.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 TipoCarregamentoFormComponent = /** @class */ (function (_super) {
    __extends(TipoCarregamentoFormComponent, _super);
    function TipoCarregamentoFormComponent(router, tipoCarregamentoService, messageService, activatedRoute, funcoesService, permissoesUtils) {
        var _this = _super.call(this, new _tipo_carregamento_constants__WEBPACK_IMPORTED_MODULE_8__["TipoCarregamentoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.tipoCarregamentoService = tipoCarregamentoService;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.data = new _tipo_carregamento_model__WEBPACK_IMPORTED_MODULE_7__["TipoCarregamento"]();
        _this.mensagens = [];
        _this.constantes = new _tipo_carregamento_constants__WEBPACK_IMPORTED_MODULE_8__["TipoCarregamentoConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    TipoCarregamentoFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, this.permissoesUtils.getLibRotina(this.actionForm), function () {
            var id = _this.activatedRoute.snapshot.paramMap.get("id");
            if (id) {
                _this.tipoCarregamentoService.getById(id).subscribe(function (resp) {
                    if (resp) {
                        _this.data = resp;
                    }
                });
            }
        }, function () {
            _this.permissoesUtils.back();
        });
    };
    TipoCarregamentoFormComponent.prototype.onSubmit = function (form, create) {
        var _this = this;
        if (create === void 0) { create = false; }
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_6__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.data.logRotina = "tipoCarregamento";
        this.tipoCarregamentoService
            .save(this.data, this.funcoesService.isEdit(this.actionForm))
            .subscribe(function (result) {
            _this.mensagens = _this.messageService.validationResult(result.validationResult);
            if (_this.funcoesService.isNotUndefinedOrNull(result.validationResult) && !result.validationResult.isValid) {
                _this.messageService.warning("titles.tipoCarregamento", _this.mensagens);
            }
            else {
                _this.messageService.saveSuccess("titles.tipoCarregamento");
                if (create) {
                    _this.data = new _tipo_carregamento_model__WEBPACK_IMPORTED_MODULE_7__["TipoCarregamento"]();
                    _this.router.navigate([_this.target + "/especificos/cattalini/cadastros/tipoCarregamento"]);
                }
                else {
                    _this.back();
                }
            }
        });
    };
    TipoCarregamentoFormComponent.prototype.saveAndCreate = function (form) {
        this.onSubmit(form, true);
    };
    TipoCarregamentoFormComponent.prototype.back = function () {
        this.router.navigate([this.target + "/especificos/cattalini/cadastros/tipoCarregamento"]);
    };
    TipoCarregamentoFormComponent.prototype.edit = function () {
        if (!!(this.data.cliCattaTipoCarregamentoId)) {
            this.router.navigate([this.target + "/especificos/cattalini/cadastros/tipoCarregamento/edit/" + this.data.cliCattaTipoCarregamentoId]);
        }
    };
    TipoCarregamentoFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _tipo_carregamento_service__WEBPACK_IMPORTED_MODULE_9__["TipoCarregamentoService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"] }
    ]; };
    TipoCarregamentoFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-tipo-carregamento-form',
            template: __importDefault(__webpack_require__(/*! raw-loader!./tipo-carregamento-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-form/tipo-carregamento-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _tipo_carregamento_service__WEBPACK_IMPORTED_MODULE_9__["TipoCarregamentoService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"]])
    ], TipoCarregamentoFormComponent);
    return TipoCarregamentoFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-index/tipo-carregamento-index.component.ts":
/*!**************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-index/tipo-carregamento-index.component.ts ***!
  \**************************************************************************************************************************************/
/*! exports provided: TipoCarregamentoIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoCarregamentoIndexComponent", function() { return TipoCarregamentoIndexComponent; });
/* 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_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _tipo_carregamento_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tipo-carregamento.model */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.model.ts");
/* harmony import */ var _tipo_carregamento_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../tipo-carregamento.constants */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.constants.ts");
/* harmony import */ var _tipo_carregamento_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../tipo-carregamento.service */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.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 TipoCarregamentoIndexComponent = /** @class */ (function (_super) {
    __extends(TipoCarregamentoIndexComponent, _super);
    function TipoCarregamentoIndexComponent(router, messageService, service, datatablesService, funcoes, permissoesUtils) {
        var _this = _super.call(this, new _tipo_carregamento_constants__WEBPACK_IMPORTED_MODULE_8__["TipoCarregamentoConstants"](), funcoes) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.service = service;
        _this.datatablesService = datatablesService;
        _this.funcoes = funcoes;
        _this.permissoesUtils = permissoesUtils;
        _this.data = new _tipo_carregamento_model__WEBPACK_IMPORTED_MODULE_7__["TipoCarregamento"]();
        _this.constantes = new _tipo_carregamento_constants__WEBPACK_IMPORTED_MODULE_8__["TipoCarregamentoConstants"]();
        _this.mensagens = [];
        _this.target = _this.funcoesService.getTargetLocation();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    TipoCarregamentoIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _this.refresh();
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    TipoCarregamentoIndexComponent.prototype.create = function () {
        this.router.navigate([this.target + "/especificos/cattalini/cadastros/tipoCarregamento/create"]);
    };
    TipoCarregamentoIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.getByFiltro().subscribe(function (data) {
            var columns = [
                _this.datatablesService.getDataString("descrLocalOper", "localOperacao", "10%"),
                _this.datatablesService.getDataString("tanque", "tanque")
            ];
            _this.datatablesService.toDataTable({ tableId: "dtCarregamento", columns: columns, data: data }, function (aData) {
                _this.data = aData;
            });
        });
    };
    TipoCarregamentoIndexComponent.prototype.edit = function () {
        this.router.navigate([
            this.target + "/especificos/cattalini/cadastros/tipoCarregamento/edit/" + this.data.cliCattaTipoCarregamentoId
        ]);
    };
    TipoCarregamentoIndexComponent.prototype.detail = function () {
        this.router.navigate([
            this.target + "/especificos/cattalini/cadastros/tipoCarregamento/detail/" + this.data.cliCattaTipoCarregamentoId
        ]);
    };
    TipoCarregamentoIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 6, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    TipoCarregamentoIndexComponent.prototype.remove = function () {
        var _this = this;
        if (!!(this.data.cliCattaTipoCarregamentoId)) {
            this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
                _this.messageService.removeConfirm(function () {
                    _this.service.remove(_this.data).subscribe(function (result) {
                        if (!result.validationResult.isValid) {
                            _this.mensagens = _this.messageService.validationResult(result.validationResult);
                            _this.messageService.warning("titles.tipoCarregamento", _this.mensagens);
                        }
                        else {
                            _this.refresh();
                        }
                    });
                });
            });
        }
    };
    TipoCarregamentoIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 5, function () {
            _super.prototype.print.call(_this, null, true);
        });
    };
    TipoCarregamentoIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _tipo_carregamento_service__WEBPACK_IMPORTED_MODULE_9__["TipoCarregamentoService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__["DatatablesService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] }
    ]; };
    TipoCarregamentoIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-tipo-carregamento-index',
            template: __importDefault(__webpack_require__(/*! raw-loader!./tipo-carregamento-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-index/tipo-carregamento-index.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"],
            _tipo_carregamento_service__WEBPACK_IMPORTED_MODULE_9__["TipoCarregamentoService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__["DatatablesService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"]])
    ], TipoCarregamentoIndexComponent);
    return TipoCarregamentoIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.constants.ts":
/*!********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.constants.ts ***!
  \********************************************************************************************************/
/*! exports provided: TipoCarregamentoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoCarregamentoConstants", function() { return TipoCarregamentoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var TipoCarregamentoConstants = /** @class */ (function () {
    function TipoCarregamentoConstants() {
        this.sisFormularioId = 375419;
        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.permissoes" }
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.tipoCarregamento";
        this.reportId = "CAT0039";
        this.reportTitulo = { "titulo": "Tipo Carregamento", "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: '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' }
        ];
    }
    return TipoCarregamentoConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.model.ts":
/*!****************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.model.ts ***!
  \****************************************************************************************************/
/*! exports provided: TipoCarregamento */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoCarregamento", function() { return TipoCarregamento; });
/* 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 TipoCarregamento = /** @class */ (function (_super) {
    __extends(TipoCarregamento, _super);
    function TipoCarregamento() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    return TipoCarregamento;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.module.ts":
/*!*****************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.module.ts ***!
  \*****************************************************************************************************/
/*! exports provided: TipoCarregamentoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoCarregamentoModule", function() { return TipoCarregamentoModule; });
/* 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__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _tipo_carregamento_index_tipo_carregamento_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tipo-carregamento-index/tipo-carregamento-index.component */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-index/tipo-carregamento-index.component.ts");
/* harmony import */ var _tipo_carregamento_form_tipo_carregamento_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tipo-carregamento-form/tipo-carregamento-form.component */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-form/tipo-carregamento-form.component.ts");
/* harmony import */ var _tipo_carregamento_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./tipo-carregamento.routing.module */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.routing.module.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var TipoCarregamentoModule = /** @class */ (function () {
    function TipoCarregamentoModule() {
    }
    TipoCarregamentoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [_tipo_carregamento_index_tipo_carregamento_index_component__WEBPACK_IMPORTED_MODULE_3__["TipoCarregamentoIndexComponent"], _tipo_carregamento_form_tipo_carregamento_form_component__WEBPACK_IMPORTED_MODULE_4__["TipoCarregamentoFormComponent"]],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__["SharedModule"],
                _tipo_carregamento_routing_module__WEBPACK_IMPORTED_MODULE_5__["TipoCarregamentoRoutingModule"]
            ]
        })
    ], TipoCarregamentoModule);
    return TipoCarregamentoModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.routing.module.ts":
/*!*************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.routing.module.ts ***!
  \*************************************************************************************************************/
/*! exports provided: TipoCarregamentoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoCarregamentoRoutingModule", function() { return TipoCarregamentoRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _tipo_carregamento_index_tipo_carregamento_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./tipo-carregamento-index/tipo-carregamento-index.component */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-index/tipo-carregamento-index.component.ts");
/* harmony import */ var _tipo_carregamento_form_tipo_carregamento_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tipo-carregamento-form/tipo-carregamento-form.component */ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento-form/tipo-carregamento-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: _tipo_carregamento_index_tipo_carregamento_index_component__WEBPACK_IMPORTED_MODULE_3__["TipoCarregamentoIndexComponent"],
        data: { breadcrumb: "tipoCarregamento", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: "create",
        component: _tipo_carregamento_form_tipo_carregamento_form_component__WEBPACK_IMPORTED_MODULE_4__["TipoCarregamentoFormComponent"],
        data: {
            breadcrumb: "tipoCarregamento",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create }
        }
    },
    {
        path: "edit/:id",
        component: _tipo_carregamento_form_tipo_carregamento_form_component__WEBPACK_IMPORTED_MODULE_4__["TipoCarregamentoFormComponent"],
        data: {
            breadcrumb: "tipoCarregamento",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].edit }
        }
    },
    {
        path: "detail/:id",
        component: _tipo_carregamento_form_tipo_carregamento_form_component__WEBPACK_IMPORTED_MODULE_4__["TipoCarregamentoFormComponent"],
        data: {
            breadcrumb: "tipoCarregamento",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var TipoCarregamentoRoutingModule = /** @class */ (function () {
    function TipoCarregamentoRoutingModule() {
    }
    TipoCarregamentoRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], TipoCarregamentoRoutingModule);
    return TipoCarregamentoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.service.ts":
/*!******************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cattalini/cadastros/tipo-carregamento/tipo-carregamento.service.ts ***!
  \******************************************************************************************************/
/*! exports provided: TipoCarregamentoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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






var TipoCarregamentoService = /** @class */ (function (_super) {
    __extends(TipoCarregamentoService, _super);
    function TipoCarregamentoService(http) {
        var _this = _super.call(this, http, "cattalini/tipoCarregamento") || this;
        _this.http = http;
        return _this;
    }
    TipoCarregamentoService.prototype.getByFiltro = function () {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/cattalini/tipoCarregamento/getByFiltro")
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    TipoCarregamentoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    TipoCarregamentoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], TipoCarregamentoService);
    return TipoCarregamentoService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_2__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-cattalini-cadastros-tipo-carregamento-tipo-carregamento-module.js.map