(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-configuracoes-cct-cct-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/cct/cct-form/cct-form.component.html":
/*!****************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/cct/cct-form/cct-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\n  [botoesComando]=\"constantes.listaForm\"\n  [itemData]=\"data.filialId\"\n  [sisFormularioId]=\"constantes.sisFormularioId\"\n>\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 mb-1\">\n            <div class=\"col-lg-6 col-md-10 col-sm-12\">\n              <div class=\"custom-control custom-checkbox\">\n                <input\n                  id=\"cCTAtivo\"\n                  name=\"cCTAtivo\"\n                  [ngModel]=\"data.cCTAtivo === 'S'\"\n                  (ngModelChange)=\"data.cCTAtivo = $event ? 'S' : 'N'\"\n                  class=\"custom-control-input checkbox-success\"\n                  type=\"checkbox\"\n                />\n                <label class=\"custom-control-label\" for=\"cCTAtivo\">{{\n                  \"labels.ativo\" | translate\n                }}</label>\n              </div>\n            </div>\n          </div>\n          <div class=\"row\">\n            <div class=\"col-lg-6 col-md-10 col-sm-12\">\n              <div class=\"row\">\n                <div class=\"col-lg-6\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTCnpjResp\">{{\n                      \"labels.cCTCnpjResp\" | translate\n                    }}</label>\n                    <input\n                      id=\"cCTCnpjResp\"\n                      name=\"cCTCnpjResp\"\n                      [(ngModel)]=\"data.cCTCnpjResp\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                      maxlength=\"14\"\n                      (blur)=\"validaCgcCpf()\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-6\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTCodigoURF\">{{\n                      \"labels.cCTCodigoURF\" | translate\n                    }}</label>\n                    <input\n                      id=\"cCTCodigoURF\"\n                      name=\"cCTCodigoURF\"\n                      [(ngModel)]=\"data.cCTCodigoURF\"\n                      maxlength=\"7\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-6\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTCodigoRA\">{{\n                      \"labels.cCTCodigoRA\" | translate\n                    }}</label>\n                    <input\n                      id=\"cCTCodigoRA\"\n                      name=\"cCTCodigoRA\"\n                      [(ngModel)]=\"data.cCTCodigoRA\"\n                      maxlength=\"7\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                    />\n                  </div>\n                </div>\n                <div class=\"col-lg-6\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTPerfil\">{{\n                      \"labels.cCTPerfil\" | translate\n                    }}</label>\n                    <input\n                      id=\"cCTPerfil\"\n                      name=\"cCTPerfil\"\n                      [(ngModel)]=\"data.cCTPerfil\"\n                      maxlength=\"7\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-6 col-md-10 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTAmbiente\">{{\n                      \"labels.cCTAmbiente\" | translate\n                    }}</label>\n                    <select\n                      id=\"cCTAmbiente\"\n                      name=\"cCTAmbiente\"\n                      data-title=\"{{ 'labels.cCTAmbiente' | translate }}\"\n                      class=\"form-control form-control-sm\"\n                      [(ngModel)]=\"data.cCTAmbiente\"\n                    >\n                      <option value=\"1\">\n                        {{ \"labels.homologacao\" | translate }}\n                      </option>\n                      <option value=\"2\">\n                        {{ \"labels.producao\" | translate }}\n                      </option>\n                    </select>\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-12 col-md-10 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTUrlWsCorp\">{{\n                      \"labels.cCTUrlWsCorp\" | translate\n                    }}</label>\n                    <input\n                      id=\"cCTUrlWsCorp\"\n                      name=\"cCTUrlWsCorp\"\n                      maxlength=\"250\"\n                      [(ngModel)]=\"data.cCTUrlWsCorp\"\n                      class=\"form-control form-control-sm\"\n                      type=\"url\"\n                      placeholder=\"\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-12 col-md-10 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTUrlHomologa\">{{\n                      \"labels.cCTUrlHomologa\" | translate\n                    }}</label>\n                    <input\n                      id=\"cCTUrlHomologa\"\n                      name=\"cCTUrlHomologa\"\n                      maxlength=\"250\"\n                      [(ngModel)]=\"data.cCTUrlHomologa\"\n                      class=\"form-control form-control-sm\"\n                      type=\"url\"\n                      placeholder=\"\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-12 col-md-10 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTUrlProducao\">{{\n                      \"labels.cCTUrlProducao\" | translate\n                    }}</label>\n                    <input\n                      id=\"cCTUrlProducao\"\n                      name=\"cCTUrlProducao\"\n                      maxlength=\"250\"\n                      [(ngModel)]=\"data.cCTUrlProducao\"\n                      class=\"form-control form-control-sm\"\n                      type=\"url\"\n                      placeholder=\"\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-12 col-md-10 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTCert\">\n                      {{ \"labels.cCTCert\" | translate }}</label\n                    >\n                    <input\n                      id=\"cCTCert\"\n                      name=\"cCTCert\"\n                      maxlength=\"50\"\n                      [(ngModel)]=\"data.cCTCert\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-6 col-md-10 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"cCTHorasNF\">\n                      {{ \"labels.cCTHorasNF\" | translate }}</label\n                    >\n                    <input\n                      id=\"cCTHorasNF\"\n                      name=\"cCTHorasNF\"\n                      maxlength=\"3\"\n                      [(ngModel)]=\"data.cCTHorasNF\"\n                      mask=\"999\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-12\">\n                  <div class=\"input-group\">\n                    <div class=\"custom-control custom-checkbox\">\n                      <input\n                        id=\"cCTEnvNFFerroPerc\"\n                        name=\"cCTEnvNFFerroPerc\"\n                        [ngModel]=\"data.cCTEnvNFFerroPerc === 'S'\"\n                        (ngModelChange)=\"data.cCTAtivo = $event ? 'S' : 'N'\"\n                        class=\"custom-control-input checkbox-success\"\n                        type=\"checkbox\"\n                      />\n                      <label\n                        class=\"custom-control-label\"\n                        for=\"cCTEnvNFFerroPerc\"\n                        >{{ \"labels.cCTEnvNFFerroPerc\" | translate }}</label\n                      >\n                    </div>\n                    <input\n                      id=\"cCTNFFerroPerc\"\n                      name=\"cCTNFFerroPerc\"\n                      [(ngModel)]=\"data.cCTNFFerroPerc\"\n                      currencyMask\n                      maxlength=\"5\"\n                      class=\"form-control form-control-sm col-lg-2 col-md-4 col-sm-12 ml-2 mr-2\"\n                      [options]=\"funcoesService.optionCurrency(2)\"\n                    />\n                    %\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-6\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"duePerfil\">{{\n                      \"labels.duePerfil\" | translate\n                    }}</label>\n                    <input\n                      id=\"duePerfil\"\n                      name=\"duePerfil\"\n                      [(ngModel)]=\"data.duePerfil\"\n                      maxlength=\"7\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                    />\n                  </div>\n                </div>\n              </div>\n              <div class=\"row\">\n                <div class=\"col-lg-12 col-md-10 col-sm-12\">\n                  <div class=\"form-group form-group-sm\">\n                    <label for=\"dueCert\">\n                      {{ \"labels.dueCert\" | translate }}</label\n                    >\n                    <input\n                      id=\"dueCert\"\n                      name=\"dueCert\"\n                      maxlength=\"50\"\n                      [(ngModel)]=\"data.dueCert\"\n                      class=\"form-control form-control-sm\"\n                      type=\"text\"\n                    />\n                  </div>\n                </div>\n              </div>\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>\n");

/***/ }),

/***/ "./src/app/pages/configuracoes/cct/cct-form/cct-form.component.ts":
/*!************************************************************************!*\
  !*** ./src/app/pages/configuracoes/cct/cct-form/cct-form.component.ts ***!
  \************************************************************************/
/*! exports provided: CctFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CctFormComponent", function() { return CctFormComponent; });
/* 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_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _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_configuracao_configuracao_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/services/funcoes/configuracao/configuracao.model */ "./src/app/shared/services/funcoes/configuracao/configuracao.model.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.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_message_message_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../cadastro/lote/lote.service */ "./src/app/pages/cadastro/lote/lote.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _relatorios_extrato_por_cnpj_extrato_por_cnpj_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../relatorios/extrato-por-cnpj/extrato-por-cnpj.model */ "./src/app/pages/relatorios/extrato-por-cnpj/extrato-por-cnpj.model.ts");
/* harmony import */ var _cct_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../cct.constants */ "./src/app/pages/configuracoes/cct/cct.constants.ts");
/* harmony import */ var _cct_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../cct.model */ "./src/app/pages/configuracoes/cct/cct.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};













var CctFormComponent = /** @class */ (function (_super) {
    __extends(CctFormComponent, _super);
    function CctFormComponent(messageService, configuracao, funcoesService, loginService, loteService, permissoesUtils, funcoes) {
        var _this = _super.call(this, new _cct_constants__WEBPACK_IMPORTED_MODULE_11__["CctConstants"](), funcoesService) || this;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.loteService = loteService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoes = funcoes;
        _this.data = new _cct_model__WEBPACK_IMPORTED_MODULE_12__["Cct"]();
        _this.mensagens = [];
        _this.constantes = new _cct_constants__WEBPACK_IMPORTED_MODULE_11__["CctConstants"]();
        _this.filtro = new _relatorios_extrato_por_cnpj_extrato_por_cnpj_model__WEBPACK_IMPORTED_MODULE_10__["ExtratoPorCnpj"]();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.data.filialId = _this.loginService.getLogin().filialId;
                _this.data.cCTAtivo = _this.configuracao.string("OBR", "cctAtivo");
                _this.data.cCTCnpjResp = _this.configuracao.string("OBR", "cctCnpjResp");
                _this.data.cCTCodigoURF = _this.configuracao.string("OBR", "cctCodigoURF");
                _this.data.cCTCodigoRA = _this.configuracao.string("OBR", "cctCodigoRA");
                _this.data.cCTAmbiente = _this.configuracao.string("OBR", "cctAmbiente");
                _this.data.cCTUrlWsCorp = _this.configuracao.string("OBR", "cctUrlWsCorp");
                _this.data.cCTUrlHomologa = _this.configuracao.string("OBR", "cctUrlHomologa");
                _this.data.cCTUrlProducao = _this.configuracao.string("OBR", "cctUrlProducao");
                _this.data.cCTCert = _this.configuracao.string("OBR", "cctCert");
                _this.data.cCTHorasNF = _this.configuracao.string("OBR", "cctHorasNF");
                _this.data.cCTEnvNFFerroPerc = _this.configuracao.string("OBR", "cctEnvNFFerroPerc");
                _this.data.cCTPerfil = _this.configuracao.string("OBR", "cctPerfil");
                _this.data.duePerfil = _this.configuracao.string("OBR", "duePerfil");
                _this.data.dueCert = _this.configuracao.string("OBR", "dueCert");
                _this.data.cCTNFFerroPerc = _this.configuracao.number("OBR", "cctnfFerroPerc");
            }
        };
        return _this;
    }
    CctFormComponent.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);
    };
    CctFormComponent.prototype._onSubmit = function (form) {
        var _this = this;
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid)
            return;
        this.messageService.confirm("titles.cct", "messages.updateConfigConfirm", null, function () { return _this.onSubmit(); });
    };
    CctFormComponent.prototype.onSubmit = function () {
        var _this = this;
        var object = new _shared_services_funcoes_configuracao_configuracao_model__WEBPACK_IMPORTED_MODULE_4__["Config"](this.constantes.sisFormularioId);
        object.setConfig(this.data.filialId, 'OBR', 'CCTAtivo', this.data.cCTAtivo);
        object.setConfig(this.data.filialId, 'OBR', 'CCTCnpjResp', this.data.cCTCnpjResp);
        object.setConfig(this.data.filialId, 'OBR', 'CCTCodigoURF', this.data.cCTCodigoURF);
        object.setConfig(this.data.filialId, 'OBR', 'CCTCodigoRA', this.data.cCTCodigoRA);
        object.setConfig(this.data.filialId, 'OBR', 'CCTAmbiente', this.data.cCTAmbiente, 'I');
        object.setConfig(this.data.filialId, 'OBR', 'CCTUrlWsCorp', this.data.cCTUrlWsCorp);
        object.setConfig(this.data.filialId, 'OBR', 'CCTUrlHomologa', this.data.cCTUrlHomologa);
        object.setConfig(this.data.filialId, 'OBR', 'CCTUrlProducao', this.data.cCTUrlProducao);
        object.setConfig(this.data.filialId, 'OBR', 'CCTCert', this.data.cCTCert);
        object.setConfig(this.data.filialId, 'OBR', 'CCTHorasNF', this.data.cCTHorasNF, 'I');
        object.setConfig(this.data.filialId, 'OBR', 'CCTEnvNFFerroPerc', this.data.cCTEnvNFFerroPerc);
        object.setConfig(this.data.filialId, 'OBR', 'CCTPerfil', this.data.cCTPerfil);
        object.setConfig(this.data.filialId, 'OBR', 'DuePerfil', this.data.duePerfil);
        object.setConfig(this.data.filialId, 'OBR', 'dueCert', this.data.dueCert);
        object.setConfig(this.data.filialId, 'OBR', 'CCTNFFerroPerc', this.data.cCTNFFerroPerc, 'F');
        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_2__["EventEmitterService"].get("backError").emit(_this.mensagens);
            }
            else {
                _this.messageService.saveSuccess("titles.cct", "messages.configuracaoDe");
            }
        });
    };
    CctFormComponent.prototype.validaCgcCpf = function () {
        var _this = this;
        if (this.funcoesService.isNotUndefinedOrNull(this.data.cCTCnpjResp)) {
            (this.data.cCTCnpjResp).subscribe(function (resp) {
                if (_this.funcoesService.isUndefinedOrNull(resp)) {
                    _this.messageService.warning("titles.extratoPorCnpj", "messages.cgcCpfNaoEncontrado");
                    _this.data.cCTCnpjResp = "";
                }
                else {
                    _this.data.cCTCnpjResp = resp["cctCnpjResp"];
                }
            });
        }
    };
    CctFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    CctFormComponent.ctorParameters = function () { return [
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"] },
        { type: _cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_8__["LoteService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] }
    ]; };
    CctFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-cct-form',
            template: __importDefault(__webpack_require__(/*! raw-loader!./cct-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/cct/cct-form/cct-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_3__["ConfiguracaoFacade"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"],
            _cadastro_lote_lote_service__WEBPACK_IMPORTED_MODULE_8__["LoteService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"]])
    ], CctFormComponent);
    return CctFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/configuracoes/cct/cct.constants.ts":
/*!**********************************************************!*\
  !*** ./src/app/pages/configuracoes/cct/cct.constants.ts ***!
  \**********************************************************/
/*! exports provided: CctConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CctConstants", function() { return CctConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var CctConstants = /** @class */ (function () {
    function CctConstants() {
        this.sisFormularioId = 35067;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.pemissoes" },
        ];
        this.configuracoes = [];
        this.nomeForm = "titles.cct";
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.configuracoes = [
            {
                sistema: "OBR",
                parametros: [
                    "cCTAtivo",
                    "cCTAtivo",
                    "cCTCnpjResp",
                    "cCTCodigoURF",
                    "cCTCodigoRA",
                    "cCTAmbiente",
                    "cCTUrlWsCorp",
                    "cCTUrlHomologa",
                    "cCTUrlProducao",
                    "cCTCert",
                    "cCTHorasNF",
                    "cCTEnvNFFerroPerc",
                    "cCTNFFerroPerc",
                    "CCTPerfil",
                    "duePerfil",
                    "dueCert",
                ]
            },
        ];
    }
    return CctConstants;
}());



/***/ }),

/***/ "./src/app/pages/configuracoes/cct/cct.model.ts":
/*!******************************************************!*\
  !*** ./src/app/pages/configuracoes/cct/cct.model.ts ***!
  \******************************************************/
/*! exports provided: Cct */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Cct", function() { return Cct; });
/* harmony import */ var _shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../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 Cct = /** @class */ (function (_super) {
    __extends(Cct, _super);
    function Cct() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    return Cct;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/configuracoes/cct/cct.module.ts":
/*!*******************************************************!*\
  !*** ./src/app/pages/configuracoes/cct/cct.module.ts ***!
  \*******************************************************/
/*! exports provided: CctModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CctModule", function() { return CctModule; });
/* 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 _cct_routing__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cct.routing */ "./src/app/pages/configuracoes/cct/cct.routing.ts");
/* harmony import */ var _cct_form_cct_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cct-form/cct-form.component */ "./src/app/pages/configuracoes/cct/cct-form/cct-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 CctModule = /** @class */ (function () {
    function CctModule() {
    }
    CctModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [_cct_form_cct_form_component__WEBPACK_IMPORTED_MODULE_4__["CctFormComponent"]],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__["SharedModule"],
                _cct_routing__WEBPACK_IMPORTED_MODULE_3__["CctRouting"]
            ]
        })
    ], CctModule);
    return CctModule;
}());



/***/ }),

/***/ "./src/app/pages/configuracoes/cct/cct.routing.ts":
/*!********************************************************!*\
  !*** ./src/app/pages/configuracoes/cct/cct.routing.ts ***!
  \********************************************************/
/*! exports provided: CctRouting */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CctRouting", function() { return CctRouting; });
/* 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 _cct_form_cct_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cct-form/cct-form.component */ "./src/app/pages/configuracoes/cct/cct-form/cct-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: _cct_form_cct_form_component__WEBPACK_IMPORTED_MODULE_3__["CctFormComponent"],
        data: { breadcrumb: "cct", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create } }
    }
];
var CctRouting = /** @class */ (function () {
    function CctRouting() {
    }
    CctRouting = __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"]]
        })
    ], CctRouting);
    return CctRouting;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-configuracoes-cct-cct-module.js.map