(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-admin-corporate-sis-menu-sis-menu-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/admin/corporate/sis-menu/sis-menu-index/sis-menu-index.component.html":
/*!***********************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/admin/corporate/sis-menu/sis-menu-index/sis-menu-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"] = ("<div class=\"section-comand-bar\">\n    <button class=\"btn btn-block\" style=\"height: 50px;\" (click)=\"geraMenu()\">Gerar Menu</button>\n    <p>{{mensagem}}</p>\n</div>");

/***/ }),

/***/ "./src/app/pages/admin/corporate/sis-menu/sis-menu-index/sis-menu-index.component.ts":
/*!*******************************************************************************************!*\
  !*** ./src/app/pages/admin/corporate/sis-menu/sis-menu-index/sis-menu-index.component.ts ***!
  \*******************************************************************************************/
/*! exports provided: SisMenuIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SisMenuIndexComponent", function() { return SisMenuIndexComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _corporate_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../corporate.service */ "./src/app/pages/admin/corporate/corporate.service.ts");
/* harmony import */ var _sis_menu_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../sis-menu.constants */ "./src/app/pages/admin/corporate/sis-menu/sis-menu.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 SisMenuIndexComponent = /** @class */ (function (_super) {
    __extends(SisMenuIndexComponent, _super);
    function SisMenuIndexComponent(router, corporate, message, funcoes) {
        var _this = _super.call(this, new _sis_menu_constants__WEBPACK_IMPORTED_MODULE_6__["SisMenuConstants"](), funcoes) || this;
        _this.router = router;
        _this.corporate = corporate;
        _this.message = message;
        _this.funcoes = funcoes;
        _this.mensagem = "Menu somente é gerado com acesso a api da unisolution";
        _this.constantes = new _sis_menu_constants__WEBPACK_IMPORTED_MODULE_6__["SisMenuConstants"]();
        _this.geraMenu = function () {
            _this.message.confirm("messages.gerarArquivoMenu", null, "messages.operacaoRealizadaComSucesso", function () {
                _this.corporate.geraMenu().subscribe(function () {
                    _this.mensagem = "Menu gerado com sucsso";
                });
            });
        };
        return _this;
    }
    SisMenuIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _corporate_service__WEBPACK_IMPORTED_MODULE_5__["CorporateService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] }
    ]; };
    SisMenuIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-menu-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./sis-menu-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/admin/corporate/sis-menu/sis-menu-index/sis-menu-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _corporate_service__WEBPACK_IMPORTED_MODULE_5__["CorporateService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"]])
    ], SisMenuIndexComponent);
    return SisMenuIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/admin/corporate/sis-menu/sis-menu.constants.ts":
/*!**********************************************************************!*\
  !*** ./src/app/pages/admin/corporate/sis-menu/sis-menu.constants.ts ***!
  \**********************************************************************/
/*! exports provided: SisMenuConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SisMenuConstants", function() { return SisMenuConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var SisMenuConstants = /** @class */ (function () {
    function SisMenuConstants() {
        this.sisFormularioId = 3;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.consulta" },
        ];
        this.sisSistemaId = "COR";
        this.nomeForm = "titles.sisMenu";
        this.reportId = "COR0002";
        this.tabela = "SisMenu";
        this.listaIndex = [];
        this.listaForm = [];
    }
    return SisMenuConstants;
}());



/***/ }),

/***/ "./src/app/pages/admin/corporate/sis-menu/sis-menu.module.ts":
/*!*******************************************************************!*\
  !*** ./src/app/pages/admin/corporate/sis-menu/sis-menu.module.ts ***!
  \*******************************************************************/
/*! exports provided: SisMenuModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SisMenuModule", function() { return SisMenuModule; });
/* 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 _sis_menu_index_sis_menu_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sis-menu-index/sis-menu-index.component */ "./src/app/pages/admin/corporate/sis-menu/sis-menu-index/sis-menu-index.component.ts");
/* harmony import */ var _sis_menu_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./sis-menu.routing.module */ "./src/app/pages/admin/corporate/sis-menu/sis-menu.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 SisMenuModule = /** @class */ (function () {
    function SisMenuModule() {
    }
    SisMenuModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _sis_menu_routing_module__WEBPACK_IMPORTED_MODULE_3__["SisMenuRoutingModule"]],
            declarations: [_sis_menu_index_sis_menu_index_component__WEBPACK_IMPORTED_MODULE_2__["SisMenuIndexComponent"]],
            exports: [_sis_menu_index_sis_menu_index_component__WEBPACK_IMPORTED_MODULE_2__["SisMenuIndexComponent"]],
            providers: []
        })
    ], SisMenuModule);
    return SisMenuModule;
}());



/***/ }),

/***/ "./src/app/pages/admin/corporate/sis-menu/sis-menu.routing.module.ts":
/*!***************************************************************************!*\
  !*** ./src/app/pages/admin/corporate/sis-menu/sis-menu.routing.module.ts ***!
  \***************************************************************************/
/*! exports provided: SisMenuRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SisMenuRoutingModule", function() { return SisMenuRoutingModule; });
/* 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 _sis_menu_index_sis_menu_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./sis-menu-index/sis-menu-index.component */ "./src/app/pages/admin/corporate/sis-menu/sis-menu-index/sis-menu-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 MRoutes = [
    {
        path: "",
        component: _sis_menu_index_sis_menu_index_component__WEBPACK_IMPORTED_MODULE_3__["SisMenuIndexComponent"],
        data: { breadcrumb: "Menu", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var SisMenuRoutingModule = /** @class */ (function () {
    function SisMenuRoutingModule() {
    }
    SisMenuRoutingModule = __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"]],
        })
    ], SisMenuRoutingModule);
    return SisMenuRoutingModule;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-admin-corporate-sis-menu-sis-menu-module.js.map