(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-pontafelix-movimentos-gautomacao-ticket-gautomacao-ticket-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-filter/gautomacao-filter.component.html":
/*!***************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-filter/gautomacao-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=\"gautomacao-filter-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\n    <div class=\"uni-modal-dialog-md-40\">\n        <div class=\"modal-content\">\n            <div class=\"modal-header\">\n                <h6 class=\"modal-title\">{{ 'titles.gautomacaoTicket' | translate }}</h6>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                <div class=\"modal-body\">\n                    <div class=\"row\">\n                        <div class=\"col-12\">\n                            <div class=\"row\">\n                                <div class=\"col-lg-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\"\n                                            modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"service.data.codDest\" showCgcCpf=\"false\"\n                                            showInscricao=\"false\" (outModel)=\"trataDest($event)\" [inSelected]=\"service.data?.cliente\">\n                                        </app-pesquisa-destinatario>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"modal-footer\">\n                        <button class=\"btn btn-success\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}</button>\n                        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Sair</button>\n                    </div>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-form/gautomacao-ticket-form.component.html":
/*!******************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-form/gautomacao-ticket-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\" [botoesComando]=\"constantes.listaForm\"  [itemData]=\"data.codDest\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <form class=\"form\">\r\n        <div class=\"row\">\r\n            <div class=\"col-12\">\r\n                <ng-container>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-4\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\"\r\n                                    modalTitle=\"pesquisaDeCliente\" (outModel)=\"data.cliente=$event\" [(ngModel)]=\"data.codDest\" showCgcCpf=\"false\" [disabled]=\"true\"\r\n                                    showInscricao=\"false\" [inSelected]=\"data?.cliente\">\r\n                                </app-pesquisa-destinatario>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div>\r\n                                <div class=\"custom-control custom-checkbox\">\r\n                                    <input id=\"carga\" name=\"carga\" class=\"custom-control-input checkbox-success\"\r\n                                        type=\"checkbox\" (ngModelChange)=\"data.flagPFelEmailCarga = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"data.flagPFelEmailCarga ==='S'\"\r\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                    <label class=\"custom-control-label\" for=\"carga\">{{'labels.carga' | translate}}</label>\r\n                                </div>\r\n                                <div class=\"custom-control custom-checkbox\">\r\n                                    <input id=\"descarga\" name=\"descarga\" class=\"custom-control-input checkbox-success\"\r\n                                        (ngModelChange)=\"data.flagPFelEmailDescarga = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"data.flagPFelEmailDescarga ==='S'\" type=\"checkbox\"\r\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                    <label class=\"custom-control-label\" for=\"descarga\">{{'labels.descarga' | translate}}</label>\r\n                                </div>\r\n                                <div class=\"custom-control custom-checkbox\">\r\n                                    <input id=\"descargadireta\" name=\"descargadireta\"\r\n                                        (ngModelChange)=\"data.flagPFelEmailDescargaDireta = $event ? 'S' : 'N'\"\r\n                                        [ngModel]=\"data.flagPFelEmailDescargaDireta ==='S'\"\r\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\r\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                    <label class=\"custom-control-label\"\r\n                                        for=\"descargadireta\">{{'labels.descargaDiretaTicket' | translate}}</label>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row mt-2\">\r\n                        <div class=\"col-6 mt-2\">\r\n                            <button (click)=\"GautomacaoTicketSave()\" type=\"button\" class=\"btn btn-success\"\r\n                             [disabled]=\"funcoesService.isDetail(actionForm)\">\r\n                                {{ 'buttons.salvar' | translate }}\r\n                            </button>\r\n                        </div>\r\n                    </div>\r\n                </ng-container>\r\n            </div>\r\n        </div>\r\n        <div class=\"row mt-2\">\r\n            <div class=\"col-12\">\r\n                <table id=\"gautomacaoTicket\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\r\n                </table>\r\n            </div>\r\n        </div>\r\n    </form>\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>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-index/gautomacao-ticket-index.component.html":
/*!********************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-index/gautomacao-ticket-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 [sisFormularioId]=\"constantes.sisFormularioId\" \n                      [botoesComando]=\"constantes.listaIndex\"  \n                      [itemData]=\"data.codDest\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <div class=\"row mt-2\">\n        <div class=\"col-12\">\n            <table id=\"gautomacaoTicket\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n            </table>\n        </div>\n    </div>\n</div>\n\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-gautomacao-filter (filtrar)=\"refresh()\"></app-gautomacao-filter>\n");

/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-filter/gautomacao-filter.component.ts":
/*!***********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-filter/gautomacao-filter.component.ts ***!
  \***********************************************************************************************************************************/
/*! exports provided: GautomacaoFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoFilterComponent", function() { return GautomacaoFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../gautomacao-ticket.service */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.service.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 GautomacaoFilterComponent = /** @class */ (function () {
    function GautomacaoFilterComponent(messageService, funcoesService, service) {
        this.messageService = messageService;
        this.funcoesService = funcoesService;
        this.service = service;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    GautomacaoFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["EventEmitterService"].get("formError").emit(form);
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_3__["ModalUtilsStaticService"].closeModal("gautomacao-filter-filter-dialog");
        this.filtrar.emit();
    };
    GautomacaoFilterComponent.prototype.trataDest = function (destinatario) {
        this.service.data.cliente = destinatario;
    };
    GautomacaoFilterComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__["FuncoesService"] },
        { type: _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_5__["GautomacaoTicketService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], GautomacaoFilterComponent.prototype, "filtrar", void 0);
    GautomacaoFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-gautomacao-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./gautomacao-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-filter/gautomacao-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_1__["FuncoesService"],
            _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_5__["GautomacaoTicketService"]])
    ], GautomacaoFilterComponent);
    return GautomacaoFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-form/gautomacao-ticket-form.component.ts":
/*!**************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-form/gautomacao-ticket-form.component.ts ***!
  \**************************************************************************************************************************************/
/*! exports provided: GautomacaoTicketFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoTicketFormComponent", function() { return GautomacaoTicketFormComponent; });
/* 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 app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.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_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __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 app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _gautomacao_ticket_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../gautomacao-ticket.constants */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.constants.ts");
/* harmony import */ var _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../gautomacao-ticket.model */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.model.ts");
/* harmony import */ var _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../gautomacao-ticket.service */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.service.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.service */ "./src/app/pages/cadastro/destinatario/destinatario.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};












var GautomacaoTicketFormComponent = /** @class */ (function (_super) {
    __extends(GautomacaoTicketFormComponent, _super);
    function GautomacaoTicketFormComponent(permissoesUtils, router, activatedRoute, funcoesService, messageService, gautomacaoTicketService, destinatarioService) {
        var _this = _super.call(this, new _gautomacao_ticket_constants__WEBPACK_IMPORTED_MODULE_7__["GautomacaoTicketConstants"](), funcoesService) || this;
        _this.permissoesUtils = permissoesUtils;
        _this.router = router;
        _this.activatedRoute = activatedRoute;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.gautomacaoTicketService = gautomacaoTicketService;
        _this.destinatarioService = destinatarioService;
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        _this.constantes = new _gautomacao_ticket_constants__WEBPACK_IMPORTED_MODULE_7__["GautomacaoTicketConstants"]();
        _this.data = new _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_8__["GautomacaoTicket"]();
        _this.mensagens = [];
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/pontafelix/movimentos/gautomacaoTicket";
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    GautomacaoTicketFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, this.permissoesUtils.getLibRotinaIdx([1, 2], this.actionForm), function () {
            var id = _this.activatedRoute.snapshot.paramMap.get('id');
            if (id) {
                _this.gautomacaoTicketService.getById(id).subscribe(function (resp) {
                    if (!!resp) {
                        _this.data = resp;
                        _this.trataCliente();
                    }
                    else {
                        _this.messageService.warning("titles.gautomacaoTicket", "messages.nenhumRegistroEncontrado");
                        _this.back();
                    }
                });
            }
            else {
                _this.data = new _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_8__["GautomacaoTicket"]();
            }
        });
    };
    GautomacaoTicketFormComponent.prototype.trataCliente = function () {
        var _this = this;
        this.destinatarioService.getById(this.data.codDest).subscribe(function (resp) {
            _this.data.cliente = !!resp ? resp : new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_10__["Destinatario"]();
        });
    };
    GautomacaoTicketFormComponent.prototype.back = function () {
        this.funcoesService.desabilitarFiltro();
        this.router.navigate(["" + this.target + this.pageRoute]);
    };
    GautomacaoTicketFormComponent.prototype.GautomacaoTicketSave = function () {
        var _this = this;
        this.gautomacaoTicketService._save(this.data).subscribe(function (result) {
            if (!result.isValid) {
                _this.mensagens = _this.messageService.validationResult(result);
                _this.messageService.warning("titles.gautomacaoTicket", _this.mensagens[0]);
                return;
            }
            else {
                _this.messageService.saveSuccess("titles.gautomacaoTicket");
                _this.back();
            }
        });
    };
    GautomacaoTicketFormComponent.prototype.edit = function () {
        if (!!(this.data.codDest)) {
            this.router.navigate(["" + this.target + this.pageRoute + "/edit/" + this.data.codDest]);
        }
    };
    GautomacaoTicketFormComponent.ctorParameters = function () { return [
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_9__["GautomacaoTicketService"] },
        { type: app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_11__["DestinatarioService"] }
    ]; };
    GautomacaoTicketFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-gautomacao-ticket-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./gautomacao-ticket-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-form/gautomacao-ticket-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_9__["GautomacaoTicketService"],
            app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_11__["DestinatarioService"]])
    ], GautomacaoTicketFormComponent);
    return GautomacaoTicketFormComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-index/gautomacao-ticket-index.component.ts":
/*!****************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-index/gautomacao-ticket-index.component.ts ***!
  \****************************************************************************************************************************************/
/*! exports provided: GautomacaoTicketIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoTicketIndexComponent", function() { return GautomacaoTicketIndexComponent; });
/* 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_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.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_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __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 app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _gautomacao_ticket_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../gautomacao-ticket.constants */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.constants.ts");
/* harmony import */ var _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../gautomacao-ticket.service */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.service.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_9__ = __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 app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../gautomacao-ticket.model */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.model.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};













var GautomacaoTicketIndexComponent = /** @class */ (function (_super) {
    __extends(GautomacaoTicketIndexComponent, _super);
    function GautomacaoTicketIndexComponent(router, permissoesUtils, funcoesService, gautomacaoTicketService, messageService, datatablesService, loginService) {
        var _this = _super.call(this, new _gautomacao_ticket_constants__WEBPACK_IMPORTED_MODULE_7__["GautomacaoTicketConstants"](), funcoesService) || this;
        _this.router = router;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoesService = funcoesService;
        _this.gautomacaoTicketService = gautomacaoTicketService;
        _this.messageService = messageService;
        _this.datatablesService = datatablesService;
        _this.loginService = loginService;
        _this.constantes = new _gautomacao_ticket_constants__WEBPACK_IMPORTED_MODULE_7__["GautomacaoTicketConstants"]();
        _this.data = new _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_11__["GautomacaoTicket"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/pontafelix/movimentos/gautomacaoTicket";
        _this.refresh = function () {
            _this.gautomacaoTicketService.getByDados(_this.gautomacaoTicketService.data).subscribe(function (data) {
                var columns = [
                    _this.datatablesService.getDataString("codDest", "codigo", "10%"),
                    _this.datatablesService.getDataString("fantasia", "cliente"),
                    _this.datatablesService.getDataBool("flagPFelEmailCarga", "carga", "10%"),
                    _this.datatablesService.getDataBool("flagPFelEmailDescarga", "descarga", "10%"),
                    _this.datatablesService.getDataBool("flagPFelEmailDescargaDireta", "descargaDireta", "10%")
                ];
                _this.datatablesService.toDataTable({ tableId: "gautomacaoTicket", columns: columns, data: data, orientationOrder: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__["EOrientationOrder"].ASC }, function (aData) {
                    _this.data = aData;
                });
            });
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    GautomacaoTicketIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            if (!_this.loginService.isTokenExpired()) {
                if (_this.funcoesService.abrirFiltro) {
                    _this.gautomacaoTicketService.data = new _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_11__["GautomacaoTicket"]();
                    _this.filtrar();
                }
                else {
                    _this.refresh();
                }
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    GautomacaoTicketIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _this.constantes.paramRelatorio = {
                codDest: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_9__["NumberUtilsStaticService"].toNumber(_this.gautomacaoTicketService.data.codDest)
            };
            _super.prototype.print.call(_this, null, true);
        });
    };
    GautomacaoTicketIndexComponent.prototype.trataDest = function (destinatario) {
        this.gautomacaoTicketService.data.cliente = destinatario;
    };
    GautomacaoTicketIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    GautomacaoTicketIndexComponent.prototype.filtrar = function () {
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["ModalUtilsStaticService"].openModal("gautomacao-filter-filter-dialog");
    };
    GautomacaoTicketIndexComponent.prototype.edit = function () {
        if (!!(this.data.codDest)) {
            this.router.navigate(["" + this.target + this.pageRoute + "/edit/" + this.data.codDest]);
        }
    };
    GautomacaoTicketIndexComponent.prototype.detail = function () {
        this.router.navigate(["" + this.target + this.pageRoute + "/detail/" + this.data.codDest]);
    };
    GautomacaoTicketIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_8__["GautomacaoTicketService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__["DatatablesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"] }
    ]; };
    GautomacaoTicketIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-gautomacao-ticket-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./gautomacao-ticket-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-index/gautomacao-ticket-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_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            _gautomacao_ticket_service__WEBPACK_IMPORTED_MODULE_8__["GautomacaoTicketService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__["DatatablesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"]])
    ], GautomacaoTicketIndexComponent);
    return GautomacaoTicketIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.constants.ts":
/*!**********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.constants.ts ***!
  \**********************************************************************************************************/
/*! exports provided: GautomacaoTicketConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoTicketConstants", function() { return GautomacaoTicketConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var GautomacaoTicketConstants = /** @class */ (function () {
    function GautomacaoTicketConstants() {
        this.sisFormularioId = 375111;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.gautomacaoTicket";
        this.reportId = "PON0028";
        this.reportTitulo = { "titulo": "Gautomacao Ticket", "subTitulo": "" };
        this.listaForm = [
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
        this.listaIndex = [
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Visualizar', action: 'detail', icon: "icon-eye", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
    }
    return GautomacaoTicketConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.model.ts":
/*!******************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.model.ts ***!
  \******************************************************************************************************/
/*! exports provided: GautomacaoTicket */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoTicket", function() { return GautomacaoTicket; });
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/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 GautomacaoTicket = /** @class */ (function (_super) {
    __extends(GautomacaoTicket, _super);
    function GautomacaoTicket() {
        var _this = _super.call(this) || this;
        _this.codDest = 0;
        _this.flagPFelEmailCarga = "N";
        _this.flagPFelEmailDescarga = "N";
        _this.flagPFelEmailDescargaDireta = "N";
        _this.cliente = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_0__["Destinatario"]();
        return _this;
    }
    return GautomacaoTicket;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.module.ts":
/*!*******************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.module.ts ***!
  \*******************************************************************************************************/
/*! exports provided: GautomacaoTicketModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoTicketModule", function() { return GautomacaoTicketModule; });
/* 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 _gautomacao_ticket_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./gautomacao-ticket.routing.module */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.routing.module.ts");
/* harmony import */ var _gautomacao_ticket_filter_gautomacao_filter_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gautomacao-ticket-filter/gautomacao-filter.component */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-filter/gautomacao-filter.component.ts");
/* harmony import */ var _gautomacao_ticket_index_gautomacao_ticket_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gautomacao-ticket-index/gautomacao-ticket-index.component */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-index/gautomacao-ticket-index.component.ts");
/* harmony import */ var _gautomacao_ticket_form_gautomacao_ticket_form_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./gautomacao-ticket-form/gautomacao-ticket-form.component */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-form/gautomacao-ticket-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 GautomacaoTicketModule = /** @class */ (function () {
    function GautomacaoTicketModule() {
    }
    GautomacaoTicketModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _gautomacao_ticket_routing_module__WEBPACK_IMPORTED_MODULE_2__["GautomacaoTicketRoutingModule"]],
            declarations: [_gautomacao_ticket_index_gautomacao_ticket_index_component__WEBPACK_IMPORTED_MODULE_4__["GautomacaoTicketIndexComponent"],
                _gautomacao_ticket_filter_gautomacao_filter_component__WEBPACK_IMPORTED_MODULE_3__["GautomacaoFilterComponent"],
                _gautomacao_ticket_form_gautomacao_ticket_form_component__WEBPACK_IMPORTED_MODULE_5__["GautomacaoTicketFormComponent"]]
        })
    ], GautomacaoTicketModule);
    return GautomacaoTicketModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.routing.module.ts":
/*!***************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.routing.module.ts ***!
  \***************************************************************************************************************/
/*! exports provided: GautomacaoTicketRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoTicketRoutingModule", function() { return GautomacaoTicketRoutingModule; });
/* 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 _gautomacao_ticket_index_gautomacao_ticket_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gautomacao-ticket-index/gautomacao-ticket-index.component */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-index/gautomacao-ticket-index.component.ts");
/* harmony import */ var _gautomacao_ticket_form_gautomacao_ticket_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./gautomacao-ticket-form/gautomacao-ticket-form.component */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket-form/gautomacao-ticket-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: _gautomacao_ticket_index_gautomacao_ticket_index_component__WEBPACK_IMPORTED_MODULE_3__["GautomacaoTicketIndexComponent"],
        data: { breadcrumb: "gautomacaoTicket", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
    {
        path: 'edit/:id',
        component: _gautomacao_ticket_form_gautomacao_ticket_form_component__WEBPACK_IMPORTED_MODULE_4__["GautomacaoTicketFormComponent"],
        data: {
            breadcrumb: 'gautomacaoTicket',
            formParams: { action: 1 }
        }
    },
    {
        path: "detail/:id",
        component: _gautomacao_ticket_form_gautomacao_ticket_form_component__WEBPACK_IMPORTED_MODULE_4__["GautomacaoTicketFormComponent"],
        data: {
            breadcrumb: "gautomacaoTicket",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var GautomacaoTicketRoutingModule = /** @class */ (function () {
    function GautomacaoTicketRoutingModule() {
    }
    GautomacaoTicketRoutingModule = __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"]]
        })
    ], GautomacaoTicketRoutingModule);
    return GautomacaoTicketRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.service.ts":
/*!********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.service.ts ***!
  \********************************************************************************************************/
/*! exports provided: GautomacaoTicketService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GautomacaoTicketService", function() { return GautomacaoTicketService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* 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 _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./gautomacao-ticket.model */ "./src/app/pages/especificos/pontafelix/movimentos/gautomacao-ticket/gautomacao-ticket.model.ts");
/* harmony import */ var app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};








var GautomacaoTicketService = /** @class */ (function (_super) {
    __extends(GautomacaoTicketService, _super);
    function GautomacaoTicketService(http, message) {
        var _this = _super.call(this, http, 'pontafelix/gautomacaoTicket') || this;
        _this.http = http;
        _this.message = message;
        _this.data = new _gautomacao_ticket_model__WEBPACK_IMPORTED_MODULE_5__["GautomacaoTicket"]();
        return _this;
    }
    GautomacaoTicketService.prototype.getByDados = function (filtro) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/pontafelix/gautomacaoTicket/getDados", filtro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    GautomacaoTicketService.prototype._save = function (data) {
        return this.http.post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/pontafelix/gautomacaoTicket", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    GautomacaoTicketService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"] }
    ]; };
    GautomacaoTicketService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: 'root'
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"]])
    ], GautomacaoTicketService);
    return GautomacaoTicketService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_6__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-pontafelix-movimentos-gautomacao-ticket-gautomacao-ticket-module.js.map