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

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-form.component.html":
/*!**************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-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\" [sisFormularioId]=\"constantes.sisFormularioId\"\n    [formAction]=\"actionForm\" [itemData]=\"data.tipoVeiculoId\">\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                        <app-validacoes></app-validacoes>\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=\"descrTipoVeiculo\" class=\"required\">{{'labels.descricao' |\n                                        translate}}</label>\n                                    <input id=\"descrTipoVeiculo\" name=\"descrTipoVeiculo\" maxlength=\"20\"\n                                        [(ngModel)]=\"data.descrTipoVeiculo\" class=\"form-control form-control-sm\"\n                                        type=\"text\" [disabled]=\"funcoesService.isDetail(actionForm)\" autofocus required\n                                        data-title=\"{{'labels.descricao' | translate}}\">\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"flagAtivo\" name=\"flagAtivo\" [(ngModel)]=\"data.flagAtivo\"\n                                        [ngModelOptions]=\"{standalone: true}\"\n                                        (change)=\"data.flagAtivo = $event.target.checked ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        [checked]=\"data.flagAtivo === 'S'\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <label class=\"custom-control-label\" for=\"flagAtivo\">{{'labels.flagAtivo' |\n                                        translate}}</label>\n                                </div>\n                            </div>\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"automatico\" name=\"automatico\" [ngModel]=\"data.automatico === 'S'\"\n                                        (ngModelChange)=\"data.automatico=$event?'S':'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <label class=\"custom-control-label\" for=\"automatico\">{{'labels.autoDescarregavel' |\n                                        translate}}</label>\n                                </div>\n                            </div>\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"flagVagao\" name=\"flagVagao\" [ngModel]=\"data.flagVagao === 'S'\"\n                                        (ngModelChange)=\"data.flagVagao=$event?'S':'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <label class=\"custom-control-label\" for=\"flagVagao\">{{'labels.flagVagao' |\n                                        translate}}</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=\"tempoOperacao\" class=\"required\">{{'labels.tempoOperacaoMin' |\n                                        translate}}</label>\n                                    <input id=\"tempoOperacao\" name=\"tempoOperacao\" [(ngModel)]=\"data.tempoOperacao\"\n                                        class=\"form-control form-control-sm\" type=\"text\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\" required maxlength=\"4\">\n                                </div>\n                            </div>\n\n                            <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"tempoOperCarga\" class=\"required\">{{'labels.tempoOperCargaMin' |\n                                        translate}}</label>\n                                    <input id=\"tempoOperCarga\" name=\"tempoOperCarga\" [(ngModel)]=\"data.tempoOperCarga\"\n                                        class=\"form-control form-control-sm\" type=\"text\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\" required maxlength=\"4\">\n                                </div>\n                            </div>\n\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"clearfix\">&nbsp;</div>\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"flagBloqueado\" name=\"bloqueadoOperacao\"\n                                        [ngModel]=\"data.flagBloqueado === 'S'\"\n                                        (ngModelChange)=\"data.flagBloqueado=$event?'S':'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <label class=\"custom-control-label\" for=\"flagBloqueado\">{{'labels.bloqueadoOperacao'\n                                        | translate}}</label>\n                                </div>\n                            </div>\n\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"clearfix\">&nbsp;</div>\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"flagBloqAgenda\" name=\"bloquearAgendamento\"\n                                        [ngModel]=\"data.flagBloqAgenda === 'S'\"\n                                        (ngModelChange)=\"data.flagBloqAgenda=$event?'S':'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <label class=\"custom-control-label\"\n                                        for=\"flagBloqAgenda\">{{'labels.bloquearAgendamento' | translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-field-container>\n                                        <label for=\"descrTipoVeiculoCompleta\"\n                                            class=\"required\">{{'labels.descrTipoVeiculoCompleta' | translate}}</label>\n                                        <input id=\"descrTipoVeiculoCompleta\" name=\"descrTipoVeiculoCompleta\"\n                                            [(ngModel)]=\"data.descrTipoVeiculoCompleta\" maxlength=\"40\"\n                                            class=\"form-control form-control-sm\" type=\"text\"\n                                            [disabled]=\"funcoesService.isDetail(actionForm)\" autofocus required\n                                            data-title=\"{{'labels.descrTipoVeiculoCompleta' | translate}}\">\n                                    </app-field-container>\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=\"codIntegracao\">{{'labels.codIntegracao' | translate}}</label>\n                                    <input id=\"codIntegracao\" name=\"codIntegracao\" [(ngModel)]=\"data.codIntegracao\"\n                                        class=\"form-control form-control-sm\" type=\"text\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        data-title=\"{{'labels.codIntegracao' | translate}}\" maxlength=\"2\">\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"tipoVeiculoSefaz\">{{'labels.tipoVeiculoSefaz' | translate}}</label>\n                                    <app-combo-padrao name=\"tipoVeiculoSefaz\" id=\"tipoVeiculoSefaz\" chave=\"TipoVeiculo\"\n                                        descricao=\"DescrTipoVeiculo\" ativo=\"true\" tabela=\"TipoVeiculoSefaz\"\n                                        [(ngModel)]=\"data.tipoVeiculoSefazId\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    </app-combo-padrao>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"qtdePlacas\">{{'labels.qtdePlacas' | translate}}</label>\n                                    <input id=\"qtdePlacas\" name=\"qtdePlacas\" [(ngModel)]=\"data.qtdePlacas\"\n                                        class=\"form-control form-control-sm\" type=\"text\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        data-title=\"{{'labels.qtdePlacas' | translate}}\">\n                                </div>\n                            </div>\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"qtdeTaGs\">{{'labels.qtdeTaGs' | translate}}</label>\n                                    <input id=\"qtdeTaGs\" name=\"qtdeTaGs\" [(ngModel)]=\"data.qtdeTaGs\"\n                                        class=\"form-control form-control-sm\" type=\"text\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        data-title=\"{{'labels.qtdeTaGs' | translate}}\">\n                                </div>\n                            </div>\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"quantidadeDeEixos\">{{'labels.quantidadeDeEixos' | translate}}</label>\n                                    <input id=\"quantidadeDeEixos\" name=\"quantidadeDeEixos\"\n                                        [(ngModel)]=\"data.quantidEixos\" class=\"form-control form-control-sm text-right\"\n                                        type=\"text\" [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        data-title=\"{{'labels.quantidadeDeEixos' | translate}}\"\n                                        (keypress)=\"funcoesService.apenasNumeros($event)\">\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"pesoBrutoTot\">{{'labels.pesoBrutoTot' | translate}}</label>\n                                    <input id=\"pesoBrutoTot\" name=\"pesoBrutoTot\" [(ngModel)]=\"data.pesoBrutoTot\"\n                                        class=\"form-control form-control-sm\" type=\"text\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        data-title=\"{{'labels.pesoBrutoTot' | translate}}\" currencyMask\n                                        [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"quantidBalanca\">{{'labels.quantidBalanca' | translate}}</label>\n                                    <input id=\"quantidBalanca\" name=\"quantidBalanca\" [(ngModel)]=\"data.quantidBalanca\"\n                                        class=\"form-control form-control-sm\" type=\"number\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\" min=\"0\" max=\"2\"\n                                        data-title=\"{{'labels.quantidBalanca' | translate}}\">\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"corteSeguranca\">{{'labels.corteSeguranca' | translate}}</label>\n                                    <input id=\"corteSeguranca\" name=\"corteSeguranca\" [(ngModel)]=\"data.corteSeguranca\"\n                                        class=\"form-control form-control-sm\" type=\"text\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\" min=\"0\" maxlength=\"10\"\n                                        data-title=\"{{'labels.corteSeguranca' | translate}}\" currencyMask\n                                        [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\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=\"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                                    <button class=\"btn btn-success\" (click)=\"saveAndCreate(f)\" type=\"button\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">{{ 'buttons.salvarNovo' |\n                                        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/cadastro/tipo-veiculo/tipo-veiculo-index/tipo-veiculo-index.component.html":
/*!****************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-index/tipo-veiculo-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\n        [botoesComando]=\"constantes.listaIndex\"\n        [sisFormularioId]=\"constantes.sisFormularioId\"\n        [formAction]=\"actionForm\"\n        [itemData]=\"tipoVeiculo.tipoVeiculoId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <table id=\"dtTipoVeiculo\" 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/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-form.component.ts":
/*!**********************************************************************************************!*\
  !*** ./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-form.component.ts ***!
  \**********************************************************************************************/
/*! exports provided: TipoVeiculoFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoVeiculoFormComponent", function() { return TipoVeiculoFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_pages_cadastro_tipo_veiculo_tipo_veiculo_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/pages/cadastro/tipo-veiculo/tipo-veiculo.model */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.model.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__ = __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_4__ = __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_5__ = __webpack_require__(/*! ../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_pages_cadastro_tipo_veiculo_tipo_veiculo_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/pages/cadastro/tipo-veiculo/tipo-veiculo.service */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.service.ts");
/* harmony import */ var _tipo_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tipo-veiculo.constants */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.constants.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.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 TipoVeiculoFormComponent = /** @class */ (function (_super) {
    __extends(TipoVeiculoFormComponent, _super);
    function TipoVeiculoFormComponent(router, messageService, activatedRoute, tipoVeiculoService, permissoesUtils, funcoesService) {
        var _this = _super.call(this, new _tipo_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["TipoVeiculoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.tipoVeiculoService = tipoVeiculoService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.data = new app_pages_cadastro_tipo_veiculo_tipo_veiculo_model__WEBPACK_IMPORTED_MODULE_1__["TipoVeiculo"]();
        _this.mensagens = [];
        _this.constantes = new _tipo_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["TipoVeiculoConstants"]();
        _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;
    }
    TipoVeiculoFormComponent.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.tipoVeiculoService.getById(id).subscribe(function (resp) {
                    _this.data = resp;
                    _this.data.veiculoPesa = _this.funcoesService.isUndefinedOrNull(_this.data.veiculoPesa) ? 'N' : _this.data.veiculoPesa;
                });
            }
            else {
                _this.data = new app_pages_cadastro_tipo_veiculo_tipo_veiculo_model__WEBPACK_IMPORTED_MODULE_1__["TipoVeiculo"]();
                _this.data.flagAtivo = 'S';
                _this.getCamposAdicionais();
            }
        }, function () {
            _this.permissoesUtils.back();
        });
    };
    TipoVeiculoFormComponent.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_5__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.data.logRotina = "Manutenção de Tipo Veiculo";
        this.tipoVeiculoService
            .save(this.data, this.data.tipoVeiculoId > 0)
            .subscribe(function (result) {
            _this.mensagens = _this.messageService.validationResult(result.validationResult);
            if (!result.validationResult.isValid) {
                _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__["EventEmitterService"].get("backError").emit(_this.mensagens);
            }
            else {
                _this.messageService.saveSuccess("titles.tipoVeiculo");
                if (create) {
                    _this.data = new app_pages_cadastro_tipo_veiculo_tipo_veiculo_model__WEBPACK_IMPORTED_MODULE_1__["TipoVeiculo"]();
                    _this.router.navigate([_this.target + "/cadastro/tipoVeiculo/create"]);
                }
                else {
                    _this.back();
                }
            }
        });
    };
    TipoVeiculoFormComponent.prototype.edit = function () {
        this.router.navigate([this.target + "/cadastro/tipoVeiculo/edit/" + this.data.tipoVeiculoId]);
    };
    TipoVeiculoFormComponent.prototype.back = function () {
        this.router.navigate([this.target + "/cadastro/tipoVeiculo"]);
    };
    TipoVeiculoFormComponent.prototype.saveAndCreate = function (form) {
        this.onSubmit(form, true);
    };
    TipoVeiculoFormComponent.prototype.getCamposAdicionais = function () {
        var _this = this;
        this.funcoesService.camposAdicionais
            .get(this.constantes.sisFormularioId)
            .subscribe(function (data) {
            _this.data.sisCampoAdds = data;
        });
    };
    TipoVeiculoFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"] },
        { type: app_pages_cadastro_tipo_veiculo_tipo_veiculo_service__WEBPACK_IMPORTED_MODULE_6__["TipoVeiculoService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] }
    ]; };
    TipoVeiculoFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-tipo-veiculo-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./tipo-veiculo-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"],
            app_pages_cadastro_tipo_veiculo_tipo_veiculo_service__WEBPACK_IMPORTED_MODULE_6__["TipoVeiculoService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"]])
    ], TipoVeiculoFormComponent);
    return TipoVeiculoFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_8__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoVeiculoIndexComponent", function() { return TipoVeiculoIndexComponent; });
/* harmony import */ var app_pages_cadastro_tipo_veiculo_tipo_veiculo_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/tipo-veiculo/tipo-veiculo.service */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_pages_cadastro_tipo_veiculo_tipo_veiculo_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/tipo-veiculo/tipo-veiculo.model */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.model.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__ = __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_5__ = __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_6__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _tipo_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tipo-veiculo.constants */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.constants.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.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 TipoVeiculoIndexComponent = /** @class */ (function (_super) {
    __extends(TipoVeiculoIndexComponent, _super);
    function TipoVeiculoIndexComponent(router, tipoVeiculoService, datatablesService, messageService, permissoesUtils, funcoesService) {
        var _this = _super.call(this, new _tipo_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["TipoVeiculoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.tipoVeiculoService = tipoVeiculoService;
        _this.datatablesService = datatablesService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.tipoVeiculo = new app_pages_cadastro_tipo_veiculo_tipo_veiculo_model__WEBPACK_IMPORTED_MODULE_2__["TipoVeiculo"]();
        _this.constantes = new _tipo_veiculo_constants__WEBPACK_IMPORTED_MODULE_7__["TipoVeiculoConstants"]();
        _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;
    }
    TipoVeiculoIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _this.refresh();
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    TipoVeiculoIndexComponent.prototype.properties = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 6, function () {
            _super.prototype.properties.call(_this, _this.tipoVeiculo);
        });
    };
    TipoVeiculoIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 7, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    TipoVeiculoIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.tipoVeiculoService.get().subscribe(function (resp) {
            var colFlagAtivo = _this.datatablesService.getDataString("flagAtivo", "ativo", "5%");
            colFlagAtivo.render = function (data, type) {
                return (type === "display" || type === "filter") && data === "S"
                    ? "Sim"
                    : "Não";
            };
            var columns = [
                _this.datatablesService.getDataString("tipoVeiculoId", "id", "5%"),
                _this.datatablesService.getDataString("descrTipoVeiculo", "descricao", "15%"),
                _this.datatablesService.getDataString("automatico", "automatico", "5%"),
                _this.datatablesService.getDataString("flagVagao", "vagao", "5%"),
                _this.datatablesService.getDataString("tempoOperacao", "tempo", "5%"),
                colFlagAtivo
            ];
            _this.datatablesService.datatable("dtTipoVeiculo", columns, resp, function (aData) {
                _this.tipoVeiculo = aData;
            });
        });
    };
    TipoVeiculoIndexComponent.prototype.edit = function () {
        if (!!(this.tipoVeiculo.tipoVeiculoId)) {
            this.router.navigate([this.target + "/cadastro/tipoVeiculo/edit/" + this.tipoVeiculo.tipoVeiculoId]);
        }
    };
    TipoVeiculoIndexComponent.prototype.detail = function () {
        if (!!(this.tipoVeiculo.tipoVeiculoId)) {
            this.router.navigate([this.target + "/cadastro/tipoVeiculo/detail/" + this.tipoVeiculo.tipoVeiculoId]);
        }
    };
    TipoVeiculoIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"] },
        { type: app_pages_cadastro_tipo_veiculo_tipo_veiculo_service__WEBPACK_IMPORTED_MODULE_0__["TipoVeiculoService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"] }
    ]; };
    TipoVeiculoIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-tipo-veiculo-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./tipo-veiculo-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-index/tipo-veiculo-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"],
            app_pages_cadastro_tipo_veiculo_tipo_veiculo_service__WEBPACK_IMPORTED_MODULE_0__["TipoVeiculoService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"]])
    ], TipoVeiculoIndexComponent);
    return TipoVeiculoIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_8__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoVeiculoConstants", function() { return TipoVeiculoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var TipoVeiculoConstants = /** @class */ (function () {
    function TipoVeiculoConstants() {
        this.sisFormularioId = 25061;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 5, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 6, acao: "labels.propriedades" }
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.TipoVeiculo";
        this.reportId = "CAD0035";
        this.tabela = "tipoVeiculo";
        this.listaIndex = [
            { 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: '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: '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' },
        ];
    }
    return TipoVeiculoConstants;
}());



/***/ }),

/***/ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.module.ts":
/*!********************************************************************!*\
  !*** ./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.module.ts ***!
  \********************************************************************/
/*! exports provided: TipoVeiculoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoVeiculoModule", function() { return TipoVeiculoModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _tipo_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tipo-veiculo.routing.module */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo.routing.module.ts");
/* harmony import */ var app_pages_cadastro_tipo_veiculo_tipo_veiculo_form_tipo_veiculo_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-form.component */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-form.component.ts");
/* harmony import */ var app_pages_cadastro_tipo_veiculo_tipo_veiculo_index_tipo_veiculo_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/cadastro/tipo-veiculo/tipo-veiculo-index/tipo-veiculo-index.component */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-index/tipo-veiculo-index.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 TipoVeiculoModule = /** @class */ (function () {
    function TipoVeiculoModule() {
    }
    TipoVeiculoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _tipo_veiculo_routing_module__WEBPACK_IMPORTED_MODULE_2__["TipoVeiculoRoutingModule"]],
            declarations: [app_pages_cadastro_tipo_veiculo_tipo_veiculo_index_tipo_veiculo_index_component__WEBPACK_IMPORTED_MODULE_4__["TipoVeiculoIndexComponent"], app_pages_cadastro_tipo_veiculo_tipo_veiculo_form_tipo_veiculo_form_component__WEBPACK_IMPORTED_MODULE_3__["TipoVeiculoFormComponent"]]
        })
    ], TipoVeiculoModule);
    return TipoVeiculoModule;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TipoVeiculoRoutingModule", function() { return TipoVeiculoRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _tipo_veiculo_index_tipo_veiculo_index_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tipo-veiculo-index/tipo-veiculo-index.component */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-index/tipo-veiculo-index.component.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _tipo_veiculo_form_tipo_veiculo_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./tipo-veiculo-form/tipo-veiculo-form.component */ "./src/app/pages/cadastro/tipo-veiculo/tipo-veiculo-form/tipo-veiculo-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_veiculo_index_tipo_veiculo_index_component__WEBPACK_IMPORTED_MODULE_1__["TipoVeiculoIndexComponent"],
        data: { breadcrumb: "TipoVeiculo", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__["ActionForm"].index } }
    },
    // {
    //     path: "create",
    //     component: TipoVeiculoFormComponent,
    //     data: {
    //         breadcrumb: "TipoVeiculo",
    //         formParams: {action: ActionForm.create}
    //     }
    // },
    {
        path: "edit/:id",
        component: _tipo_veiculo_form_tipo_veiculo_form_component__WEBPACK_IMPORTED_MODULE_4__["TipoVeiculoFormComponent"],
        data: {
            breadcrumb: "TipoVeiculo",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__["ActionForm"].edit }
        }
    },
    {
        path: "detail/:id",
        component: _tipo_veiculo_form_tipo_veiculo_form_component__WEBPACK_IMPORTED_MODULE_4__["TipoVeiculoFormComponent"],
        data: {
            breadcrumb: "TipoVeiculo",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__["ActionForm"].detail }
        }
    }
];
var TipoVeiculoRoutingModule = /** @class */ (function () {
    function TipoVeiculoRoutingModule() {
    }
    TipoVeiculoRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"]]
        })
    ], TipoVeiculoRoutingModule);
    return TipoVeiculoRoutingModule;
}());



/***/ })

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