(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-consultas-consulta-posicao-contratos-consulta-posicao-contratos-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-filter/consulta-posicao-contratos-filter.component.html":
/*!*************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-filter/consulta-posicao-contratos-filter.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=\"modal fade\" id=\"consulta-posicao-contratos-filter-dialog\" tabindex=\"-1\" role=\"dialog\"\r\n     data-backdrop='static'>\r\n    <div class=\"uni-modal-dialog-md-45\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h5 class=\"modal-title\">{{ 'titles.consultaPosicaoContratos'  | translate }}</h5>\r\n            </div>\r\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\r\n                <app-validacoes></app-validacoes>\r\n                <div class=\"modal-body\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <app-pesquisa-destinatario\r\n                                    [(ngModel)]=\"data.destinatarioIdCliente\"\r\n                                    id=\"cliente\"\r\n                                    name=\"cliente\"\r\n                                    label=\"cliente\"\r\n                                    title=\"cliente\"\r\n                                    tipoDestinatario=\"C\"\r\n                                    showCgcCpf=\"false\"\r\n                                    showInscricao=\"false\">\r\n                            </app-pesquisa-destinatario>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"tipos\">{{\"labels.tipo\" | translate}}</label>\r\n                                <app-combo-multi-padrao id=\"tipos\" name=\"tipos\" tabela=\"TipoServico\" chave=\"TipoServico\"\r\n                                                        descricao=\"DescrTipoServico\" ativos=\"true\"\r\n                                                        (outObjeto)=\"trataSit($event)\">\r\n                                </app-combo-multi-padrao>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-check mt-2\">\r\n                                <div class=\"form-group form-group-sm\">\r\n                                    <input class=\"form-check-input\" type=\"checkbox\"\r\n                                           id=\"aberto\"\r\n                                           name=\"aberto\"\r\n                                           (ngModelChange)=\"filtro.aberto = $event ? 'S' : 'N'\"\r\n                                           [ngModel]=\"filtro.aberto ==='S'\">\r\n                                    <label class=\"form-check-label\"\r\n                                           for=\"aberto\">{{'labels.apresentaApenasContratosEmAberto' | translate}}\r\n                                    </label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.consultar' | translate }}</button>\r\n                    <button type=\"button\" class=\"btn btn-default\"\r\n                            data-dismiss=\"modal\">{{ 'buttons.sair' | translate }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-index/consulta-posicao-contratos-index.component.html":
/*!***********************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-index/consulta-posicao-contratos-index.component.html ***!
  \***********************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\"\r\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <table id=\"dtConsulta\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\r\n</div>\r\n\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\r\n<app-consulta-posicao-contratos-filter [data]=\"filtro\"\r\n                                       (filtrar)=\"executaFiltro($event)\"></app-consulta-posicao-contratos-filter>\r\n");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-filter/consulta-posicao-contratos-filter.component.ts":
/*!*********************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-filter/consulta-posicao-contratos-filter.component.ts ***!
  \*********************************************************************************************************************************************/
/*! exports provided: ConsultaPosicaoContratosFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaPosicaoContratosFilterComponent", function() { return ConsultaPosicaoContratosFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.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 app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _consulta_posicao_contratos_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../consulta-posicao-contratos.model */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.model.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 __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 ConsultaPosicaoContratosFilterComponent = /** @class */ (function () {
    function ConsultaPosicaoContratosFilterComponent(message, loginService) {
        this.message = message;
        this.loginService = loginService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    ConsultaPosicaoContratosFilterComponent.prototype.ngOnInit = function () {
        this.filtro = this.data;
        this.filtro.filialId = this.loginService.getLogin().filialId;
        this.filtro.colaboradorId = +this.loginService.getLogin().colaboradorId;
    };
    ConsultaPosicaoContratosFilterComponent.prototype.onSubmit = function (form) {
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.filtrar.emit(this.filtro);
        jQuery("#consulta-posicao-contratos-filter-dialog").modal("hide");
    };
    ConsultaPosicaoContratosFilterComponent.prototype.trataSit = function (selectedItems) {
        this.filtro.tipos = selectedItems;
    };
    ConsultaPosicaoContratosFilterComponent.ctorParameters = function () { return [
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__["MessageService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
        __metadata("design:type", _consulta_posicao_contratos_model__WEBPACK_IMPORTED_MODULE_4__["ConsultaPosicaoContratosFiltro"])
    ], ConsultaPosicaoContratosFilterComponent.prototype, "data", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], ConsultaPosicaoContratosFilterComponent.prototype, "filtrar", void 0);
    ConsultaPosicaoContratosFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-consulta-posicao-contratos-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-posicao-contratos-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-filter/consulta-posicao-contratos-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__["MessageService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"]])
    ], ConsultaPosicaoContratosFilterComponent);
    return ConsultaPosicaoContratosFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-index/consulta-posicao-contratos-index.component.ts":
/*!*******************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-index/consulta-posicao-contratos-index.component.ts ***!
  \*******************************************************************************************************************************************/
/*! exports provided: ConsultaPosicaoContratosIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaPosicaoContratosIndexComponent", function() { return ConsultaPosicaoContratosIndexComponent; });
/* 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_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__ = __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_3__ = __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_4__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/pages/cadastro/lote/lote.service */ "./src/app/pages/cadastro/lote/lote.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__ = __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 _consulta_posicao_contratos_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../consulta-posicao-contratos.constants */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.constants.ts");
/* harmony import */ var _consulta_posicao_contratos_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../consulta-posicao-contratos.service */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.service.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _consulta_posicao_contratos_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../consulta-posicao-contratos.model */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.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 ConsultaPosicaoContratosIndexComponent = /** @class */ (function (_super) {
    __extends(ConsultaPosicaoContratosIndexComponent, _super);
    function ConsultaPosicaoContratosIndexComponent(router, datatablesService, messageService, permissoesUtils, consultaSaldoService, loteService, excelService, loginService, funcoesService) {
        var _this = _super.call(this, new _consulta_posicao_contratos_constants__WEBPACK_IMPORTED_MODULE_8__["ConsultaPosicaoContratosConstants"](), funcoesService) || this;
        _this.router = router;
        _this.datatablesService = datatablesService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.consultaSaldoService = consultaSaldoService;
        _this.loteService = loteService;
        _this.excelService = excelService;
        _this.loginService = loginService;
        _this.funcoesService = funcoesService;
        _this.data = new _consulta_posicao_contratos_model__WEBPACK_IMPORTED_MODULE_12__["ConsultaPosicaoContratos"]();
        _this.constantes = new _consulta_posicao_contratos_constants__WEBPACK_IMPORTED_MODULE_8__["ConsultaPosicaoContratosConstants"]();
        _this.filtro = new _consulta_posicao_contratos_model__WEBPACK_IMPORTED_MODULE_12__["ConsultaPosicaoContratosFiltro"]();
        _this.hasDados = false;
        _this.onRefresh = function () {
            _this.consultaSaldoService.getDados(_this.filtro).subscribe(function (resp) {
                _this.dados = resp;
                _this.columns = [
                    _this.datatablesService.getDataString("numContrato", "contrato"),
                    _this.datatablesService.getDataString("numCotacao", "cotacao"),
                    _this.datatablesService.getDataString("item", "item"),
                    _this.datatablesService.getDataString("cliente", "cliente"),
                    _this.datatablesService.getDataString("tipoServico", "tipo"),
                    _this.datatablesService.getDataString("servico", "servico"),
                    _this.datatablesService.getDataDateTime("dtInicio", "dtInicio", "DD/MM/YYYY"),
                    _this.datatablesService.getDataString("periodos", "periodos"),
                    _this.datatablesService.getDataString("faturado", "faturado"),
                    _this.datatablesService.getDataString("produto", "produto"),
                ];
                _this.datatablesService.datatable("dtConsulta", _this.columns, resp, function (aData) {
                });
                if (resp) {
                    _this.hasDados = true;
                }
            });
        };
        _this.filtrar = function () {
            jQuery("#consulta-posicao-contratos-filter-dialog").modal("show");
            _this.hasDados = false;
        };
        _this.executaFiltro = function (event) {
            _this.data = event;
            _this.onRefresh();
        };
        _this.permissoes = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 2, function () {
                _super.prototype.permissoes.call(_this, _this.constantes);
            });
        };
        _this.print = function () {
            _this.filtro.destinatarioIdCliente = _this.filtro.destinatarioIdCliente === undefined ? 0 : _this.filtro.destinatarioIdCliente;
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 3, function () {
                var reportTitulo = {
                    titulo: _this.messageService.getTranslates('titles', 'consultaPosicaoContratos'),
                    subTitulo: ''
                };
                _this.funcoesService.reportInvoc.invocaRelatorio(_this.constantes.reportId, reportTitulo, _this.filtro);
            });
        };
        _this.export = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 4, function () {
                var headerDictionary = {
                    "numContrato": "contrato",
                    "numCotacao": "cotacao",
                    "regContrato": "ID",
                    "tipoServico": "tipo"
                };
                var options = {
                    headerJsonKeys: true,
                    headerDictionary: headerDictionary
                };
                _this.excelService.exportAsExcelFile(_this.dados, 'ConsultaPosicaoContratos', options);
            });
        };
        return _this;
    }
    ConsultaPosicaoContratosIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            if (!_this.loginService.isTokenExpired()) {
                jQuery("#consulta-posicao-contratos-filter-dialog").modal("show");
            }
        }, function () { return _this.permissoesUtils.back(); }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'export', func: function () { return _this.export; } },
        ]);
    };
    ConsultaPosicaoContratosIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"] },
        { type: _consulta_posicao_contratos_service__WEBPACK_IMPORTED_MODULE_9__["ConsultaPosicaoContratosService"] },
        { type: app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_6__["LoteService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_10__["ExcelService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] }
    ]; };
    ConsultaPosicaoContratosIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-consulta-posicao-contratos-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-posicao-contratos-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-index/consulta-posicao-contratos-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"],
            _consulta_posicao_contratos_service__WEBPACK_IMPORTED_MODULE_9__["ConsultaPosicaoContratosService"],
            app_pages_cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_6__["LoteService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_10__["ExcelService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"]])
    ], ConsultaPosicaoContratosIndexComponent);
    return ConsultaPosicaoContratosIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.constants.ts":
/*!****************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.constants.ts ***!
  \****************************************************************************************************/
/*! exports provided: ConsultaPosicaoContratosConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaPosicaoContratosConstants", function() { return ConsultaPosicaoContratosConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaPosicaoContratosConstants = /** @class */ (function () {
    function ConsultaPosicaoContratosConstants() {
        this.sisFormularioId = 130067;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.exportExcel" },
        ];
        this.sisSistemaId = "CON";
        this.nomeForm = "titles.consultaPosicaoContratos";
        this.reportId = "CON0008";
        this.listaIndex = [
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'exportExcel', action: 'export', icon: "fa fa-file-excel-o", exibeButton: true, eximeMenu: true, menuName: 'Arquivo', depitem: false },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
    }
    return ConsultaPosicaoContratosConstants;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.model.ts":
/*!************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.model.ts ***!
  \************************************************************************************************/
/*! exports provided: ConsultaPosicaoContratos, ConsultaPosicaoContratosFiltro */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaPosicaoContratos", function() { return ConsultaPosicaoContratos; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaPosicaoContratosFiltro", function() { return ConsultaPosicaoContratosFiltro; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaPosicaoContratos = /** @class */ (function () {
    function ConsultaPosicaoContratos() {
    }
    return ConsultaPosicaoContratos;
}());

var ConsultaPosicaoContratosFiltro = /** @class */ (function () {
    function ConsultaPosicaoContratosFiltro() {
        this.filialId = 0;
        this.colaboradorId = 0;
        this.tipos = "";
        this.destinatarioIdCliente = 0;
        this.aberto = "N";
    }
    return ConsultaPosicaoContratosFiltro;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.module.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.module.ts ***!
  \*************************************************************************************************/
/*! exports provided: ConsultaPosicaoContratosModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaPosicaoContratosModule", function() { return ConsultaPosicaoContratosModule; });
/* 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 _consulta_posicao_contratos_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./consulta-posicao-contratos.routing.module */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.routing.module.ts");
/* harmony import */ var _consulta_posicao_contratos_index_consulta_posicao_contratos_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./consulta-posicao-contratos-index/consulta-posicao-contratos-index.component */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-index/consulta-posicao-contratos-index.component.ts");
/* harmony import */ var _consulta_posicao_contratos_filter_consulta_posicao_contratos_filter_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consulta-posicao-contratos-filter/consulta-posicao-contratos-filter.component */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-filter/consulta-posicao-contratos-filter.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 ConsultaPosicaoContratosModule = /** @class */ (function () {
    function ConsultaPosicaoContratosModule() {
    }
    ConsultaPosicaoContratosModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _consulta_posicao_contratos_routing_module__WEBPACK_IMPORTED_MODULE_2__["ConsultaPosicaoContratosRoutingModule"]],
            declarations: [_consulta_posicao_contratos_index_consulta_posicao_contratos_index_component__WEBPACK_IMPORTED_MODULE_3__["ConsultaPosicaoContratosIndexComponent"], _consulta_posicao_contratos_filter_consulta_posicao_contratos_filter_component__WEBPACK_IMPORTED_MODULE_4__["ConsultaPosicaoContratosFilterComponent"]]
        })
    ], ConsultaPosicaoContratosModule);
    return ConsultaPosicaoContratosModule;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.routing.module.ts":
/*!*********************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.routing.module.ts ***!
  \*********************************************************************************************************/
/*! exports provided: ConsultaPosicaoContratosRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaPosicaoContratosRoutingModule", function() { return ConsultaPosicaoContratosRoutingModule; });
/* 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 _consulta_posicao_contratos_index_consulta_posicao_contratos_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./consulta-posicao-contratos-index/consulta-posicao-contratos-index.component */ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos-index/consulta-posicao-contratos-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: _consulta_posicao_contratos_index_consulta_posicao_contratos_index_component__WEBPACK_IMPORTED_MODULE_2__["ConsultaPosicaoContratosIndexComponent"],
        data: { breadcrumb: "consultaPosicaoContratos" }
    }
];
var ConsultaPosicaoContratosRoutingModule = /** @class */ (function () {
    function ConsultaPosicaoContratosRoutingModule() {
    }
    ConsultaPosicaoContratosRoutingModule = __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"]]
        })
    ], ConsultaPosicaoContratosRoutingModule);
    return ConsultaPosicaoContratosRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.service.ts":
/*!**************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-posicao-contratos/consulta-posicao-contratos.service.ts ***!
  \**************************************************************************************************/
/*! exports provided: ConsultaPosicaoContratosService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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






var ConsultaPosicaoContratosService = /** @class */ (function (_super) {
    __extends(ConsultaPosicaoContratosService, _super);
    function ConsultaPosicaoContratosService(http) {
        var _this = _super.call(this, http, "consultas/consultaPosicaoContratos") || this;
        _this.http = http;
        return _this;
    }
    ConsultaPosicaoContratosService.prototype.getDados = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/consultas/consultaPosicaoContratos/getDados", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    ConsultaPosicaoContratosService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    ConsultaPosicaoContratosService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], ConsultaPosicaoContratosService);
    return ConsultaPosicaoContratosService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-consultas-consulta-posicao-contratos-consulta-posicao-contratos-module.js.map