(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-configuracoes-motorista-motorista-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/motorista/motorista-form/motorista-form.component.html":
/*!**********************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/motorista/motorista-form/motorista-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\"\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <app-form-legenda></app-form-legenda>\n            <div class=\"card-body widget-body\">\n                <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"_onSubmit(f)\">\n                    <app-validacoes></app-validacoes>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"uFEmissorRG\" name=\"uFEmissorRG\"\n                                       [ngModel]=\"data.uFEmissorRG === 'S'\"\n                                       (ngModelChange)=\"data.uFEmissorRG=$event?'S':'N'\"\n                                       class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\"\n                                       for=\"uFEmissorRG\">{{'labels.uFEmissorRG' | translate}}</label>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                            <div class=\"input-group\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"obrigaTelMotorista\" name=\"obrigaTelMotorista\"\n                                           [ngModel]=\"data.obrigaTelMotorista === 'S'\"\n                                           (ngModelChange)=\"data.obrigaTelMotorista=$event?'S':'N'\"\n                                           class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                           for=\"obrigaTelMotorista\">{{'labels.obrigaTelMotorista' | translate}}</label>\n                                </div>\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=\"input-group\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"obrigaMoppMot\" name=\"obrigaMoppMot\"\n                                           [ngModel]=\"data.obrigaMoppMot === 'S'\"\n                                           (ngModelChange)=\"data.obrigaMoppMot =$event?'S':'N'\"\n                                           class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                           for=\"obrigaMoppMot\">{{'labels.obrigaMoppMot' | translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                            <div class=\"input-group\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"obrigaCursoMot\" name=\"obrigaCursoMot \"\n                                           [ngModel]=\"data.obrigaCursoMot === 'S'\"\n                                           (ngModelChange)=\"data.obrigaCursoMot =$event?'S':'N'\"\n                                           class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                           for=\"obrigaCursoMot\">{{'labels.obrigaCursoMot' | translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row mb-2\">\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                            <div class=\"input-group\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"validaCnh\" name=\"validaCnh\"\n                                           [ngModel]=\"data.validaCnh === 'S'\"\n                                           (ngModelChange)=\"data.validaCnh =$event?'S':'N'\"\n                                           class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                           for=\"validaCnh\">{{'labels.validaCnh' | translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                            <div class=\"input-group\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"salvaDocMotDB\" name=\"salvaDocMotDB\"\n                                           [ngModel]=\"data.salvaDocMotDB === 'S'\"\n                                           (ngModelChange)=\"data.salvaDocMotDB =$event?'S':'N'\"\n                                           class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                           for=\"salvaDocMotDB\">{{'labels.salvaDocMotDB' | translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"tamMinimoNome\">\n                                    {{ 'labels.tamMinimoNome' | translate }}</label>\n                                <input id=\"tamMinimoNome\" name=\"tamMinimoNome\"\n                                       [(ngModel)]=\"data.tamMinimoNome\"\n                                       mask=\"99\"\n                                       class=\"form-control form-control-sm\" type=\"text\">\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"diasNormas\"> {{ 'labels.diasNormas' | translate }}</label>\n                                <input id=\"diasNormas\" name=\"diasNormas\" maxlength=\"9999\"\n                                       [(ngModel)]=\"data.diasNormas\"\n                                       mask=\"9999\"\n                                       class=\"form-control form-control-sm\" type=\"text\">\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=\"qtdeVezOperAssist\"> {{ 'labels.qtdeVezOperAssist' | translate }}</label>\n                                <input id=\"qtdeVezOperAssist\" name=\"qtdeVezOperAssist\"\n                                       [(ngModel)]=\"data.qtdeVezOperAssist\"\n                                       mask=\"99\"\n                                       class=\"form-control form-control-sm\" type=\"text\">\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"pastaDocsMot\">{{'labels.pastaDocsMot' | translate}}</label>\n                                <div class=\"custom-file\">\n                                    <input type=\"file\" class=\"custom-file-input campo\" id=\"pastaDocsMot\"\n                                           name=\"pastaDocsMot\"\n                                           accept=\".bmp, .gif, .jpg, .png\"\n                                           (change)=\"fileChange($event)\"\n                                           [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                           required=\"true\">\n                                    <label class=\"custom-file-label\" for=\"pastaDocsMot\">{{fileName}}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-12\">\n                            <app-card-container tituloCard=\"tipoDeDigitalizacao\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-check-inline\">\n                                            <input id=\"scaner\"\n                                                   type=\"radio\"\n                                                   name=\"tipoCapDoc\"\n                                                   class=\"form-check-input\"\n                                                   value=\"0\"\n                                                   [(ngModel)]=\"data.tipoCapDoc\"\n                                            />\n                                            <label for=\"scaner\">{{ \"labels.scanner\" | translate }}</label>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-check-inline\">\n                                            <input id=\"foto\"\n                                                   type=\"radio\"\n                                                   name=\"tipoCapDoc\"\n                                                   class=\"form-check-input\"\n                                                   value=\"1\"\n                                                   [(ngModel)]=\"data.tipoCapDoc\"\n                                            />\n                                            <label for=\"foto\">{{ \"labels.foto\" | translate }}</label>\n                                        </div>\n                                    </div>\n                                </div>\n                            </app-card-container>\n                        </div>\n                        <div class=\"col-lg-6 col-md-12\">\n                            <app-card-container tituloCard=\"tipoDeCapFoto\">\n                                <div class=\"row\">\n                                    <div class=\"col-sm-4 col-12\">\n                                        <div class=\"form-check-inline\">\n                                            <input id=\"arquivo\"\n                                                   type=\"radio\"\n                                                   name=\"tipoCapFoto\"\n                                                   class=\"form-check-input\"\n                                                   value=\"0\"\n                                                   [(ngModel)]=\"data.tipoCapFoto\"\n                                            />\n                                            <label for=\"arquivo\">{{ \"labels.arquivo\" | translate }}</label>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-sm-4 col-12\">\n                                        <div class=\"form-check-inline\">\n                                            <input id=\"camera\"\n                                                   type=\"radio\"\n                                                   name=\"tipoCapFoto\"\n                                                   class=\"form-check-input\"\n                                                   value=\"1\"\n                                                   [(ngModel)]=\"data.tipoCapFoto\"\n                                            />\n                                            <label for=\"camera\">{{ \"labels.camera\" | translate }}</label>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-sm-4 col-12\">\n                                        <div class=\"form-check-inline\">\n                                            <input id=\"ambos\"\n                                                   type=\"radio\"\n                                                   name=\"tipoCapFoto\"\n                                                   class=\"form-check-input\"\n                                                   value=\"2\"\n                                                   [(ngModel)]=\"data.tipoCapFoto\"\n                                            />\n                                            <label for=\"ambos\">{{ \"labels.ambos\" | translate }}</label>\n                                        </div>\n                                    </div>\n                                </div>\n                            </app-card-container>\n                        </div>\n                    </div>\n\n                    <div class=\"clearfix\">&nbsp;</div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"form-group\">\n                                <button class=\"btn btn-success mr-2\" type=\"submit\">\n                                    {{ 'buttons.salvar' | translate }}\n                                </button>\n                            </div>\n                        </div>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </div>\n</div>\n\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n\n");

/***/ }),

/***/ "./src/app/pages/configuracoes/motorista/motorista-form/motorista-form.component.ts":
/*!******************************************************************************************!*\
  !*** ./src/app/pages/configuracoes/motorista/motorista-form/motorista-form.component.ts ***!
  \******************************************************************************************/
/*! exports provided: MotoristaFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MotoristaFormComponent", function() { return MotoristaFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__ = __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_2__ = __webpack_require__(/*! ../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/services/funcoes/configuracao/configuracao.model */ "./src/app/shared/services/funcoes/configuracao/configuracao.model.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../cadastro/lote/lote.service */ "./src/app/pages/cadastro/lote/lote.service.ts");
/* harmony import */ var _configuracoes_motorista_motorista_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../configuracoes/motorista/motorista.constants */ "./src/app/pages/configuracoes/motorista/motorista.constants.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _motorista_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../motorista.model */ "./src/app/pages/configuracoes/motorista/motorista.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};












var MotoristaFormComponent = /** @class */ (function (_super) {
    __extends(MotoristaFormComponent, _super);
    function MotoristaFormComponent(messageService, configuracao, funcoesService, loginService, loteService, permissoesUtils, funcoes) {
        var _this = _super.call(this, new _configuracoes_motorista_motorista_constants__WEBPACK_IMPORTED_MODULE_9__["MotoristaConstants"](), funcoesService) || this;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.loteService = loteService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoes = funcoes;
        _this.data = new _motorista_model__WEBPACK_IMPORTED_MODULE_11__["Motorista"]();
        _this.mensagens = [];
        _this.constantes = new _configuracoes_motorista_motorista_constants__WEBPACK_IMPORTED_MODULE_9__["MotoristaConstants"]();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.data.filialId = _this.loginService.getLogin().filialId;
                _this.data.tamMinimoNome = _this.configuracao.string("CTV", "tamMinimoNome");
                _this.data.uFEmissorRG = _this.configuracao.string("CTV", "ufEmissorRG");
                _this.data.obrigaTelMotorista = _this.configuracao.string("CTV", "obrigaTelMotorista");
                _this.data.obrigaMoppMot = _this.configuracao.string("CTV", "ObrigaMoppMot");
                _this.data.diasNormas = _this.configuracao.string("CTA", "diasNormas");
                _this.data.obrigaCursoMot = _this.configuracao.string("CTV", "obrigaCursoMot");
                _this.data.validaCnh = _this.configuracao.string("CTV", "validaCnh");
                _this.data.pastaDocsMot = _this.configuracao.string("CTV", "pastaDocsMot");
                _this.data.salvaDocMotDB = _this.configuracao.string("CTV", "salvaDocMotDB");
                _this.data.tipoCapDoc = _this.configuracao.string("CTV", "tipoCapDoc");
                _this.data.tipoCapFoto = _this.configuracao.string("CTV", "tipoCapFoto");
                _this.data.qtdeVezOperAssist = _this.configuracao.string("CTV", "qtdeVezOperAssist");
                if (_this.data.pastaDocsMot) {
                    _this.fileName = _this.data.pastaDocsMot;
                }
            }
        };
        return _this;
    }
    MotoristaFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.configuracao.getConfig({
                codRotina: _this.constantes.sisFormularioId,
                configs: _this.constantes.configuracoes
            }, _this.loadConfig);
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    MotoristaFormComponent.prototype._onSubmit = function (form) {
        var _this = this;
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid)
            return;
        this.messageService.confirm("titles.cadastroDeMotorista", "messages.updateConfigConfirm", null, function () { return _this.onSubmit(); });
    };
    MotoristaFormComponent.prototype.onSubmit = function () {
        var _this = this;
        var object = new _shared_services_funcoes_configuracao_configuracao_model__WEBPACK_IMPORTED_MODULE_4__["Config"](this.constantes.sisFormularioId);
        object.setConfig(this.data.filialId, 'CTV', 'tamMinimoNome', this.data.tamMinimoNome, 'I');
        object.setConfig(this.data.filialId, 'CTV', 'ufEmissorRG', this.data.uFEmissorRG);
        object.setConfig(this.data.filialId, 'CTV', 'obrigaTelMotorista', this.data.obrigaTelMotorista);
        object.setConfig(this.data.filialId, 'CTV', 'ObrigaMoppMot', this.data.obrigaMoppMot);
        object.setConfig(this.data.filialId, 'CTA', 'diasNormas', this.data.diasNormas, 'I');
        object.setConfig(this.data.filialId, 'CTV', 'obrigaCursoMot', this.data.obrigaCursoMot);
        object.setConfig(this.data.filialId, 'CTV', 'validaCnh', this.data.validaCnh);
        object.setConfig(this.data.filialId, 'CTV', 'pastaDocsMot', this.data.pastaDocsMot);
        object.setConfig(this.data.filialId, 'CTV', 'salvaDocMotDB', this.data.salvaDocMotDB);
        object.setConfig(this.data.filialId, 'CTV', 'tipoCapDoc', this.data.tipoCapDoc, 'I');
        object.setConfig(this.data.filialId, 'CTV', 'tipoCapFoto', this.data.tipoCapFoto, 'I');
        object.setConfig(this.data.filialId, 'CTV', 'qtdeVezOperAssist', this.data.qtdeVezOperAssist, 'I');
        this.configuracao
            .save(object)
            .subscribe(function (result) {
            if (result.validationResult != null && !result.validationResult.isValid) {
                _this.mensagens = _this.messageService.validationResult(result.validationResult);
                _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("backError").emit(_this.mensagens);
            }
            else {
                _this.messageService.saveSuccess("titles.cadastroDeMotorista", "messages.configuracaoDe");
            }
        });
    };
    MotoristaFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    MotoristaFormComponent.prototype.fileChange = function ($event) {
        this.readThis($event.target);
    };
    MotoristaFormComponent.prototype.readThis = function (inputValue) {
        var _this = this;
        var file = inputValue.files[0];
        var myReader = new FileReader();
        myReader.onloadend = function (e) {
            _this.arq = _this.data.pastaDocsMot.replace(file.name, '');
            _this.data.pastaDocsMot = _this.arq;
            _this.fileName = "C:\\fakepath\\" + file.name;
        };
        myReader.readAsDataURL(file);
    };
    MotoristaFormComponent.ctorParameters = function () { return [
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"] },
        { type: _cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_8__["LoteService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] }
    ]; };
    MotoristaFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-motorista-form',
            template: __importDefault(__webpack_require__(/*! raw-loader!./motorista-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/motorista/motorista-form/motorista-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"],
            _cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_8__["LoteService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"]])
    ], MotoristaFormComponent);
    return MotoristaFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/configuracoes/motorista/motorista.constants.ts":
/*!**********************************************************************!*\
  !*** ./src/app/pages/configuracoes/motorista/motorista.constants.ts ***!
  \**********************************************************************/
/*! exports provided: MotoristaConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MotoristaConstants", function() { return MotoristaConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var MotoristaConstants = /** @class */ (function () {
    function MotoristaConstants() {
        this.sisFormularioId = 35070;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.pemissoes" },
        ];
        this.configuracoes = [];
        this.nomeForm = "titles.Motorista";
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.configuracoes = [
            {
                sistema: "CTV",
                parametros: [
                    "tamMinimoNome",
                    "uFEmissorRG",
                    "obrigaTelMotorista",
                    "obrigaMoppMot",
                    "obrigaCursoMot",
                    "validaCnh",
                    "pastaDocsMot",
                    "salvaDocMotDB",
                    "tipoCapDoc",
                    "tipoCapFoto",
                    "qtdeVezOperAssist",
                ]
            },
            {
                sistema: "CTA",
                parametros: [
                    "diasNormas"
                ]
            }
        ];
    }
    return MotoristaConstants;
}());



/***/ }),

/***/ "./src/app/pages/configuracoes/motorista/motorista.model.ts":
/*!******************************************************************!*\
  !*** ./src/app/pages/configuracoes/motorista/motorista.model.ts ***!
  \******************************************************************/
/*! exports provided: Motorista */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



/***/ }),

/***/ "./src/app/pages/configuracoes/motorista/motorista.module.ts":
/*!*******************************************************************!*\
  !*** ./src/app/pages/configuracoes/motorista/motorista.module.ts ***!
  \*******************************************************************/
/*! exports provided: MotoristaModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MotoristaModule", function() { return MotoristaModule; });
/* 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 _motorista_routing__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./motorista.routing */ "./src/app/pages/configuracoes/motorista/motorista.routing.ts");
/* harmony import */ var _motorista_form_motorista_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./motorista-form/motorista-form.component */ "./src/app/pages/configuracoes/motorista/motorista-form/motorista-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 MotoristaModule = /** @class */ (function () {
    function MotoristaModule() {
    }
    MotoristaModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [_motorista_form_motorista_form_component__WEBPACK_IMPORTED_MODULE_4__["MotoristaFormComponent"]],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__["SharedModule"],
                _motorista_routing__WEBPACK_IMPORTED_MODULE_3__["MotoristaRouting"]
            ]
        })
    ], MotoristaModule);
    return MotoristaModule;
}());



/***/ }),

/***/ "./src/app/pages/configuracoes/motorista/motorista.routing.ts":
/*!********************************************************************!*\
  !*** ./src/app/pages/configuracoes/motorista/motorista.routing.ts ***!
  \********************************************************************/
/*! exports provided: MotoristaRouting */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MotoristaRouting", function() { return MotoristaRouting; });
/* 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 _motorista_form_motorista_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./motorista-form/motorista-form.component */ "./src/app/pages/configuracoes/motorista/motorista-form/motorista-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: _motorista_form_motorista_form_component__WEBPACK_IMPORTED_MODULE_3__["MotoristaFormComponent"],
        data: { breadcrumb: "CadastroDeMotorista", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create } }
    }
];
var MotoristaRouting = /** @class */ (function () {
    function MotoristaRouting() {
    }
    MotoristaRouting = __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"]]
        })
    ], MotoristaRouting);
    return MotoristaRouting;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-configuracoes-motorista-motorista-module.js.map