(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-vopak-configuracoes-integracao-synchro-integracao-synchro-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro-form/integracao-synchro-form.component.html":
/*!*******************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro-form/integracao-synchro-form.component.html ***!
  \*******************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaForm\" [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <app-form-legenda></app-form-legenda>\n            <div class=\"card-body widget-body\">\n                <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"_onSubmit(f)\">\n                    <app-validacoes></app-validacoes>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"custom-control custom-checkbox mt-2\">\n                                <div class=\"form-group form-group-sm\">\n                                    <input id=\"intXmlSaiAtiva\" name=\"intXmlSaiAtiva\"\n                                        [ngModel]=\"data.intXmlSaiAtiva === 'S'\"\n                                        (ngModelChange)=\"data.intXmlSaiAtiva = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\" for=\"intXmlSaiAtiva\">{{\n                                        'labels.habilitaIntegracaoDeXMLdeNotasDeSaida' | translate }}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"custom-control custom-checkbox mt-2\">\n                                <div class=\"form-group form-group-sm\">\n                                    <input id=\"intNfsAtiva\" name=\"intNfsAtiva\" [ngModel]=\"data.intNfsAtiva === 'S'\"\n                                        (ngModelChange)=\"data.intNfsAtiva = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\" for=\"intNfsAtiva\">{{\n                                        'labels.habilitaIntegracaoDeNotaDeServico' | translate }}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"custom-control custom-checkbox mt-2\">\n                                <div class=\"form-group form-group-sm\">\n                                    <input id=\"intNfeCanAtiva\" name=\"intNfeCanAtiva\"\n                                        [ngModel]=\"data.intNfeCanAtiva === 'S'\"\n                                        (ngModelChange)=\"data.intNfeCanAtiva = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\" for=\"intNfeCanAtiva\">{{\n                                        'labels.habilitaIntegracaoDeNFeCancelada' | translate }}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"custom-control custom-checkbox mt-2\">\n                                <div class=\"form-group form-group-sm\">\n                                    <input id=\"intNfeEntAtiva\" name=\"intNfeEntAtiva\"\n                                        [ngModel]=\"data.intNfeEntAtiva === 'S'\"\n                                        (ngModelChange)=\"data.intNfeEntAtiva = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\" for=\"intNfeEntAtiva\">{{\n                                        'labels.habilitaIntegracaoDeNFeDeEntrada' | translate }}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"custom-control custom-checkbox mt-2\">\n                                <div class=\"form-group form-group-sm\">\n                                    <input id=\"intNfeInuAtiva\" name=\"intNfeInuAtiva\"\n                                        [ngModel]=\"data.intNfeInuAtiva === 'S'\"\n                                        (ngModelChange)=\"data.intNfeInuAtiva = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\" for=\"intNfeInuAtiva\">{{\n                                        'labels.habilitaIntegracaoDeNFeInutilizada' | translate }}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <app-card-container tituloCard=\"integracaoDeNotasDeServicos\" class=\"col-lg-6\">\n                            <div class=\"row\">\n                                <div class=\"col-lg-2\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <div>\n                                            <label for=\"minutos\">{{ \"labels.horario\" | translate }}</label>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-2\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <input id=\"horaIntNfs\" name=\"horaIntNfs\" [(ngModel)]=\"data.horaIntNfs\"\n                                            class=\"form-control form-control-sm\" [dropSpecialCharacters]=\"false\"\n                                            mask=\"00:00\">\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-1\" style=\"margin-right: 7px;\">\n                                    <div class=\"custom-control custom-checkbox\">\n                                        <input id=\"dom\" name=\"dom\" class=\"custom-control-input checkbox-success\"\n                                            type=\"checkbox\" [ngModel]=\"data.flagDom === 'S'\"\n                                            (ngModelChange)=\"data.flagDom = $event ? 'S' : 'N'\">\n                                        <label class=\"custom-control-label\" for=\"dom\">\n                                            {{'labels.dom' | translate}}\n                                        </label>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-1\">\n                                    <div class=\"custom-control custom-checkbox\">\n                                        <input id=\"seg\" name=\"seg\" class=\"custom-control-input checkbox-success\"\n                                            type=\"checkbox\" [ngModel]=\"data.flagSeg === 'S'\"\n                                            (ngModelChange)=\"data.flagSeg = $event ? 'S' : 'N'\">\n                                        <label class=\"custom-control-label\" for=\"seg\">\n                                            {{'labels.seg' | translate}}\n                                        </label>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-1 col-md-1 col-sm-6\">\n                                    <div class=\"custom-control custom-checkbox\">\n                                        <input id=\"ter\" name=\"ter\" class=\"custom-control-input checkbox-success\"\n                                            type=\"checkbox\" [ngModel]=\"data.flagTer === 'S'\"\n                                            (ngModelChange)=\"data.flagTer = $event ? 'S' : 'N'\">\n                                        <label class=\"custom-control-label\" for=\"ter\">\n                                            {{'labels.ter' | translate}}\n                                        </label>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-1 col-md-1 col-sm-6\">\n                                    <div class=\"custom-control custom-checkbox\">\n                                        <input id=\"qua\" name=\"qua\" class=\"custom-control-input checkbox-success\"\n                                            type=\"checkbox\" [ngModel]=\"data.flagQua === 'S'\"\n                                            (ngModelChange)=\"data.flagQua = $event ? 'S' : 'N'\">\n                                        <label class=\"custom-control-label\" for=\"qua\">\n                                            {{'labels.qua' | translate}}\n                                        </label>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-1 col-md-1 col-sm-6\">\n                                    <div class=\"custom-control custom-checkbox\">\n                                        <input id=\"qui\" name=\"qui\" class=\"custom-control-input checkbox-success\"\n                                            type=\"checkbox\" [ngModel]=\"data.flagQui === 'S'\"\n                                            (ngModelChange)=\"data.flagQui = $event ? 'S' : 'N'\">\n                                        <label class=\"custom-control-label\" for=\"qui\">\n                                            {{'labels.qui' | translate}}\n                                        </label>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-1 col-md-1 col-sm-6\">\n                                    <div class=\"custom-control custom-checkbox\">\n                                        <input id=\"sex\" name=\"sex\" class=\"custom-control-input checkbox-success\"\n                                            type=\"checkbox\" [ngModel]=\"data.flagSex === 'S'\"\n                                            (ngModelChange)=\"data.flagSex = $event ? 'S' : 'N'\">\n                                        <label class=\"custom-control-label\" for=\"sex\">\n                                            {{'labels.sex' | translate}}\n                                        </label>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-1 col-md-1 col-sm-6\">\n                                    <div class=\"custom-control custom-checkbox\">\n                                        <input id=\"sab\" name=\"sab\" class=\"custom-control-input checkbox-success\"\n                                            type=\"checkbox\" [ngModel]=\"data.flagSab === 'S'\"\n                                            (ngModelChange)=\"data.flagSab = $event ? 'S' : 'N'\">\n                                        <label class=\"custom-control-label\" for=\"sab\">\n                                            {{'labels.sab' | translate}}\n                                        </label>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-4 col-md-4\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"diasIntNfs\">{{ 'labels.diasParaIntegracao' | translate}}</label>\n                                        <input maxlength=\"11\" id=\"diasIntNfs\" name=\"diasIntNfs\"\n                                            [(ngModel)]=\"data.diasIntNfs\" class=\"form-control form-control-sm\"\n                                            currencyMask [options]=\"funcoesService.numberUtils.formatCurrency(0)\">\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"row\">\n                                <div class=\"col-lg-4 col-md-4\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"codRetencaoIR\">{{ 'labels.codRetencaoDoIr' | translate}}</label>\n                                        <input maxlength=\"20\" id=\"codRetencaoIR\" name=\"codRetencaoIR\"\n                                            [(ngModel)]=\"data.codRetencaoIR\" class=\"form-control form-control-sm\">\n                                    </div>\n                                </div>\n                            </div>\n                        </app-card-container>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-6\">\n                            <app-card-container tituloCard=\"integracaoXMLNotasDeSaidaWsCorporate\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-10\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"wsNfeSaida\">{{'labels.urlWsCorporate' | translate}}</label>\n                                            <input maxlength=\"100\" type=\"text\" class=\"form-control form-control-sm\"\n                                                id=\"wsNfeSaida\" name=\"wsNfeSaida\" [(ngModel)]=\"data.wsNfeSaida\">\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-10\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"pastaNfeSaida\">{{'labels.pastaDestino' | translate}}</label>\n                                            <input maxlength=\"100\" type=\"text\" class=\"form-control form-control-sm\"\n                                                id=\"pastaNfeSaida\" name=\"pastaNfeSaida\"\n                                                [(ngModel)]=\"data.pastaNfeSaida\">\n                                        </div>\n                                    </div>\n                                </div>\n                            </app-card-container>\n                        </div>\n                    </div>\n                    <div class=\"clearfix\">&nbsp;</div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"form-group\">\n                                <button class=\"btn btn-success mr-2\" type=\"submit\">\n                                    {{ 'buttons.salvar' | translate }}\n                                </button>\n                            </div>\n                        </div>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </div>\n</div>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>");

/***/ }),

/***/ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro-form/integracao-synchro-form.component.ts":
/*!***************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro-form/integracao-synchro-form.component.ts ***!
  \***************************************************************************************************************************************/
/*! exports provided: IntegracaoSynchroFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IntegracaoSynchroFormComponent", function() { return IntegracaoSynchroFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/configuracao/configuracao.model */ "./src/app/shared/services/funcoes/configuracao/configuracao.model.ts");
/* harmony import */ var _integracao_synchro_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../integracao-synchro.model */ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.model.ts");
/* harmony import */ var _integracao_synchro_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../integracao-synchro.constants */ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.constants.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};











var IntegracaoSynchroFormComponent = /** @class */ (function (_super) {
    __extends(IntegracaoSynchroFormComponent, _super);
    function IntegracaoSynchroFormComponent(messageService, configuracao, funcoesService, loginService, permissoesUtils, funcoes) {
        var _this = _super.call(this, new _integracao_synchro_constants__WEBPACK_IMPORTED_MODULE_10__["IntegracaoSynchroConstants"](), funcoesService) || this;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoes = funcoes;
        _this.data = new _integracao_synchro_model__WEBPACK_IMPORTED_MODULE_9__["IntegracaoSynchro"]();
        _this.mensagens = [];
        _this.constantes = new _integracao_synchro_constants__WEBPACK_IMPORTED_MODULE_10__["IntegracaoSynchroConstants"]();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.data.filialId = _this.loginService.getLogin().filialId;
                _this.data.intXmlSaiAtiva = _this.configuracao.string("REL", "IntXmlSaiAtiva");
                _this.data.intNfsAtiva = _this.configuracao.string("REL", "IntNfsAtiva");
                _this.data.intNfeCanAtiva = _this.configuracao.string("REL", "IntNfeCanAtiva");
                _this.data.intNfeEntAtiva = _this.configuracao.string("REL", "IntNfeEntAtiva");
                _this.data.intNfeInuAtiva = _this.configuracao.string("REL", "IntNfeInuAtiva");
                _this.data.horaIntNfs = _this.configuracao.string("REL", "HoraIntNfs");
                _this.data.diasSemIntNfs = _this.configuracao.string("REL", "DiasSemIntNfs");
                _this.data.diasIntNfs = _this.configuracao.string("REL", "DiasIntNfs");
                _this.data.codRetencaoIR = _this.configuracao.string("REL", "CodRetencaoIR");
                _this.data.wsNfeSaida = _this.configuracao.string("REL", "WsNfeSaida");
                _this.data.pastaNfeSaida = _this.configuracao.string("REL", "PastaNfeSaida");
                _this.loadDiasSemanasCheck(_this.data.diasSemIntNfs);
            }
        };
        return _this;
    }
    IntegracaoSynchroFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            _this.configuracao.getConfig({
                codRotina: _this.constantes.sisFormularioId,
                configs: _this.constantes.configuracoes
            }, _this.loadConfig);
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    IntegracaoSynchroFormComponent.prototype._onSubmit = function (form) {
        var _this = this;
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_7__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid)
            return;
        this.messageService.confirm("titles.configuracoes", "messages.updateConfigConfirm", null, function () { return _this.onSubmit(form); });
    };
    IntegracaoSynchroFormComponent.prototype.onSubmit = function (form) {
        var _this = this;
        var object = new _shared_services_funcoes_configuracao_configuracao_model__WEBPACK_IMPORTED_MODULE_8__["Config"](this.constantes.sisFormularioId);
        this.data.diasSemIntNfs = "" + this.data.flagDom + this.data.flagSeg + this.data.flagTer + this.data.flagQua + this.data.flagQui + this.data.flagSex + this.data.flagSab;
        object.setConfig(this.data.filialId, 'REL', 'IntXmlSaiAtiva', this.data.intXmlSaiAtiva, 'S');
        object.setConfig(this.data.filialId, 'REL', 'IntNfsAtiva', this.data.intNfsAtiva, 'S');
        object.setConfig(this.data.filialId, 'REL', 'IntNfeCanAtiva', this.data.intNfeCanAtiva, 'S');
        object.setConfig(this.data.filialId, 'REL', 'IntNfeEntAtiva', this.data.intNfeEntAtiva, 'S');
        object.setConfig(this.data.filialId, 'REL', 'IntNfeInuAtiva', this.data.intNfeInuAtiva, 'S');
        object.setConfig(this.data.filialId, 'REL', 'HoraIntNfs', this.data.horaIntNfs, 'S');
        object.setConfig(this.data.filialId, 'REL', 'DiasSemIntNfs', this.data.diasSemIntNfs, 'S');
        object.setConfig(this.data.filialId, 'REL', 'DiasIntNfs', this.data.diasIntNfs, 'S');
        object.setConfig(this.data.filialId, 'REL', 'CodRetencaoIR', this.data.codRetencaoIR, 'S');
        object.setConfig(this.data.filialId, 'REL', 'WsNfeSaida', this.data.wsNfeSaida, 'S');
        object.setConfig(this.data.filialId, 'REL', 'PastaNfeSaida', this.data.pastaNfeSaida, 'S');
        this.configuracao
            .save(object)
            .subscribe(function (result) {
            if (result.validationResult != null && !result.validationResult.isValid) {
                _this.mensagens = _this.messageService.validationResult(result.validationResult);
                _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_7__["EventEmitterService"].get("backError").emit(_this.mensagens);
            }
            else {
                _this.messageService.saveSuccess("titles.integracaoSynchro", "messages.configuracaoDe");
            }
        });
    };
    IntegracaoSynchroFormComponent.prototype.loadDiasSemanasCheck = function (dias) {
        this.data.flagDom = dias.charAt(0);
        this.data.flagSeg = dias.charAt(1);
        this.data.flagTer = dias.charAt(2);
        this.data.flagQua = dias.charAt(3);
        this.data.flagQui = dias.charAt(4);
        this.data.flagSex = dias.charAt(5);
        this.data.flagSab = dias.charAt(6);
    };
    IntegracaoSynchroFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    IntegracaoSynchroFormComponent.ctorParameters = function () { return [
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] }
    ]; };
    IntegracaoSynchroFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-integracao-synchro-form',
            template: __importDefault(__webpack_require__(/*! raw-loader!./integracao-synchro-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro-form/integracao-synchro-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"]])
    ], IntegracaoSynchroFormComponent);
    return IntegracaoSynchroFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.constants.ts":
/*!**********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.constants.ts ***!
  \**********************************************************************************************************/
/*! exports provided: IntegracaoSynchroConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IntegracaoSynchroConstants", function() { return IntegracaoSynchroConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var IntegracaoSynchroConstants = /** @class */ (function () {
    function IntegracaoSynchroConstants() {
        this.sisFormularioId = 375196;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.pemissoes" },
        ];
        this.configuracoes = [];
        this.nomeForm = "titles.integracaoSynchro";
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.configuracoes = [
            {
                sistema: "REL",
                parametros: [
                    "IntXmlSaiAtiva",
                    "IntNfsAtiva",
                    "IntNfeCanAtiva",
                    "IntNfeEntAtiva",
                    "IntNfeInuAtiva",
                    "HoraIntNfs",
                    "DiasSemIntNfs",
                    "DiasIntNfs",
                    "CodRetencaoIR",
                    "WsNfeSaida",
                    "PastaNfeSaida"
                ]
            }
        ];
    }
    return IntegracaoSynchroConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.model.ts":
/*!******************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.model.ts ***!
  \******************************************************************************************************/
/*! exports provided: IntegracaoSynchro */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IntegracaoSynchro", function() { return IntegracaoSynchro; });
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__ = __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 IntegracaoSynchro = /** @class */ (function (_super) {
    __extends(IntegracaoSynchro, _super);
    function IntegracaoSynchro() {
        var _this = _super.call(this) || this;
        _this.flagDom = "N";
        _this.flagSeg = "N";
        _this.flagTer = "N";
        _this.flagQua = "N";
        _this.flagQui = "N";
        _this.flagSex = "N";
        _this.flagSab = "N";
        return _this;
    }
    return IntegracaoSynchro;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.module.ts":
/*!*******************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.module.ts ***!
  \*******************************************************************************************************/
/*! exports provided: IntegracaoSynchroModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IntegracaoSynchroModule", function() { return IntegracaoSynchroModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _integracao_synchro_form_integracao_synchro_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./integracao-synchro-form/integracao-synchro-form.component */ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro-form/integracao-synchro-form.component.ts");
/* harmony import */ var _integracao_synchro_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./integracao-synchro.routing.module */ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.routing.module.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};





var IntegracaoSynchroModule = /** @class */ (function () {
    function IntegracaoSynchroModule() {
    }
    IntegracaoSynchroModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [_integracao_synchro_form_integracao_synchro_form_component__WEBPACK_IMPORTED_MODULE_3__["IntegracaoSynchroFormComponent"]],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__["SharedModule"],
                _integracao_synchro_routing_module__WEBPACK_IMPORTED_MODULE_4__["IntegracaoSynchroRoutingModule"]
            ]
        })
    ], IntegracaoSynchroModule);
    return IntegracaoSynchroModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.routing.module.ts":
/*!***************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro.routing.module.ts ***!
  \***************************************************************************************************************/
/*! exports provided: IntegracaoSynchroRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IntegracaoSynchroRoutingModule", function() { return IntegracaoSynchroRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _integracao_synchro_form_integracao_synchro_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./integracao-synchro-form/integracao-synchro-form.component */ "./src/app/pages/especificos/vopak/configuracoes/integracao-synchro/integracao-synchro-form/integracao-synchro-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: _integracao_synchro_form_integracao_synchro_form_component__WEBPACK_IMPORTED_MODULE_3__["IntegracaoSynchroFormComponent"],
        data: { breadcrumb: "integracaoSynchro", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create } }
    }
];
var IntegracaoSynchroRoutingModule = /** @class */ (function () {
    function IntegracaoSynchroRoutingModule() {
    }
    IntegracaoSynchroRoutingModule = __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"]]
        })
    ], IntegracaoSynchroRoutingModule);
    return IntegracaoSynchroRoutingModule;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-vopak-configuracoes-integracao-synchro-integracao-synchro-module.js.map