(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-relatorios-checkin-modelo2-checkin-modelo2-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2-form/checkin-modelo2-form.component.html":
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2-form/checkin-modelo2-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 [sisFormularioId]=\"constantes.sisFormularioId\"\n                      [botoesComando]=\"constantes.listaForm\">\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                                <label for=\"regControle\">{{ 'labels.regControle' | translate }}</label>\n                                <input type=\"number\" class=\"form-control-sm form-control\" name=\"regControle\"\n                                       id=\"regControle\"\n                                       [(ngModel)]=\"data.regControle\">\n                            </div>\n                        </div>\n                        <div class=\"clearfix\">&nbsp;</div>                       \n                        <div class=\"form-group\">\n                            <button class=\"btn btn-success mr-2\" type=\"submit\">\n                                {{ 'buttons.gerarRelatorio' | translate }}\n                            </button>\n                        </div>\n                    </form>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n");

/***/ }),

/***/ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2-form/checkin-modelo2-form.component.ts":
/*!*********************************************************************************************************!*\
  !*** ./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2-form/checkin-modelo2-form.component.ts ***!
  \*********************************************************************************************************/
/*! exports provided: CheckinModelo2FormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckinModelo2FormComponent", function() { return CheckinModelo2FormComponent; });
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_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 _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 app_config_enumerables__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.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");
/* harmony import */ var _checkin_modelo2_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../checkin-modelo2.model */ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.model.ts");
/* harmony import */ var _checkin_modelo2_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../checkin-modelo2.constants */ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.constants.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 CheckinModelo2FormComponent = /** @class */ (function (_super) {
    __extends(CheckinModelo2FormComponent, _super);
    function CheckinModelo2FormComponent(router, messageService, activatedRoute, permissoesUtils, funcoesService, loginService) {
        var _this = _super.call(this, new _checkin_modelo2_constants__WEBPACK_IMPORTED_MODULE_11__["CheckinModelo2Constants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.data = new _checkin_modelo2_model__WEBPACK_IMPORTED_MODULE_10__["CheckinModelo2"]();
        _this.mensagens = [];
        _this.constantes = new _checkin_modelo2_constants__WEBPACK_IMPORTED_MODULE_11__["CheckinModelo2Constants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_7__["Mascaras"]();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        _this.filialId = loginService.getLogin().filialId;
        return _this;
    }
    CheckinModelo2FormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    CheckinModelo2FormComponent.prototype.onSubmit = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.constantes.reportTitulo.subTitulo = '';
        this.constantes.paramRelatorio = {
            filialId: this.loginService.getLogin().filialId,
            regControle: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(this.data.regControle)
        };
        this.print();
    };
    CheckinModelo2FormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    CheckinModelo2FormComponent.prototype.onCancelar = function () {
        this.data = new _checkin_modelo2_model__WEBPACK_IMPORTED_MODULE_10__["CheckinModelo2"]();
    };
    CheckinModelo2FormComponent.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_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"] }
    ]; };
    CheckinModelo2FormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-checkin-modelo2-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./checkin-modelo2-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2-form/checkin-modelo2-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["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_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]])
    ], CheckinModelo2FormComponent);
    return CheckinModelo2FormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.constants.ts":
/*!*******************************************************************************!*\
  !*** ./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.constants.ts ***!
  \*******************************************************************************/
/*! exports provided: CheckinModelo2Constants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckinModelo2Constants", function() { return CheckinModelo2Constants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var CheckinModelo2Constants = /** @class */ (function () {
    function CheckinModelo2Constants() {
        this.sisFormularioId = 230144;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.checkinNodelo2";
        this.reportId = "CTV0004";
        this.reportTitulo = { "titulo": "Checkin(2)", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
    }
    return CheckinModelo2Constants;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.module.ts":
/*!****************************************************************************!*\
  !*** ./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.module.ts ***!
  \****************************************************************************/
/*! exports provided: CheckinModelo2Module */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckinModelo2Module", function() { return CheckinModelo2Module; });
/* 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 _checkin_modelo2_form_checkin_modelo2_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./checkin-modelo2-form/checkin-modelo2-form.component */ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2-form/checkin-modelo2-form.component.ts");
/* harmony import */ var _checkin_modelo2_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./checkin-modelo2.routing.module */ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.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 CheckinModelo2Module = /** @class */ (function () {
    function CheckinModelo2Module() {
    }
    CheckinModelo2Module = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _checkin_modelo2_routing_module__WEBPACK_IMPORTED_MODULE_3__["CheckinModelo2RoutingModule"]],
            declarations: [_checkin_modelo2_form_checkin_modelo2_form_component__WEBPACK_IMPORTED_MODULE_2__["CheckinModelo2FormComponent"]]
        })
    ], CheckinModelo2Module);
    return CheckinModelo2Module;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.routing.module.ts":
/*!************************************************************************************!*\
  !*** ./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2.routing.module.ts ***!
  \************************************************************************************/
/*! exports provided: CheckinModelo2RoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CheckinModelo2RoutingModule", function() { return CheckinModelo2RoutingModule; });
/* 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 _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _checkin_modelo2_form_checkin_modelo2_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./checkin-modelo2-form/checkin-modelo2-form.component */ "./src/app/pages/relatorios/checkin-modelo2/checkin-modelo2-form/checkin-modelo2-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: _checkin_modelo2_form_checkin_modelo2_form_component__WEBPACK_IMPORTED_MODULE_3__["CheckinModelo2FormComponent"],
        data: { breadcrumb: "checkinModelo2", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var CheckinModelo2RoutingModule = /** @class */ (function () {
    function CheckinModelo2RoutingModule() {
    }
    CheckinModelo2RoutingModule = __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"]],
        })
    ], CheckinModelo2RoutingModule);
    return CheckinModelo2RoutingModule;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-relatorios-checkin-modelo2-checkin-modelo2-module.js.map