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

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria-form/descarga-ferroviaria-form.component.html":
/*!*******************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria-form/descarga-ferroviaria-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\" [itemData]=\"data.filialId\"\n    [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-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"solCTEDescFer\" name=\"solCTEDescFer\" [ngModel]=\"data.solCTEDescFer === 'S'\"\n                                    (ngModelChange)=\"data.solCTEDescFer=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\" for=\"solCTEDescFer\">{{'labels.solCTEDescFer' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"obrigaCLFerrov\" name=\"obrigaCLFerrov\" [ngModel]=\"data.obrigaCLFerrov === 'S'\"\n                                    (ngModelChange)=\"data.obrigaCLFerrov=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\" for=\"obrigaCLFerrov\">{{'labels.obrigaCLFerrov' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"pesaDescVagao\" name=\"pesaDescVagao\" [ngModel]=\"data.pesaDescVagao === 'S'\"\n                                    (ngModelChange)=\"data.pesaDescVagao=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\" for=\"pesaDescVagao\">{{'labels.pesaDescVagao' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"infPesoFob\" name=\"infPesoFob\" [ngModel]=\"data.infPesoFob === 'S'\"\n                                    (ngModelChange)=\"data.infPesoFob=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\" for=\"infPesoFob\">{{'labels.infPesoFob' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"confCDescargaFerrov\" name=\"confCDescargaFerrov\"\n                                    [ngModel]=\"data.confCDescargaFerrov === 'S'\"\n                                    (ngModelChange)=\"data.confCDescargaFerrov=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\"\n                                    for=\"confCDescargaFerrov\">{{'labels.confCDescargaFerrov' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"solAferDescFer\" name=\"solAferDescFer\" [ngModel]=\"data.solAferDescFer === 'S'\"\n                                    (ngModelChange)=\"data.solAferDescFer=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\" for=\"solAferDescFer\">{{'labels.solAferDescFer' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"perEditFerroviario\" name=\"perEditFerroviario\"\n                                    [ngModel]=\"data.perEditFerroviario === 'S'\"\n                                    (ngModelChange)=\"data.perEditFerroviario=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\"\n                                    for=\"perEditFerroviario\">{{'labels.perEditFerroviario' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"mSitNumLaudo\" name=\"mSitNumLaudo\" [ngModel]=\"data.mSitNumLaudo === 'S'\"\n                                    (ngModelChange)=\"data.mSitNumLaudo=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\" for=\"mSitNumLaudo\">{{'labels.mSitNumLaudo' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"solConclLaudoSegPesF\" name=\"solConclLaudoSegPesF\"\n                                    [ngModel]=\"data.solConclLaudoSegPesF === 'S'\"\n                                    (ngModelChange)=\"data.solConclLaudoSegPesF=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\"\n                                    for=\"solConclLaudoSegPesF\">{{'labels.solConclLaudoSegPesF' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"custom-control custom-checkbox\">\n                                <input id=\"obrigPlataformaVagao\" name=\"obrigPlataformaVagao\" [ngModel]=\"data.obrigPlataformaVagao === 'S'\"\n                                    (ngModelChange)=\"data.obrigPlataformaVagao=$event?'S':'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                <label class=\"custom-control-label\" for=\"obrigPlataformaVagao\">{{'labels.obrigPlataformaVagao' |\n                                    translate}}</label>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"form-group form-group-sm form-inline mb-0\">\n                                <label for=\"ptJustDescargaF\" style=\"align-self: center;\">{{\"labels.ptJustDescargaF\"\n                                    |\n                                    translate }}</label>\n                                <input id=\"ptJustDescargaF\" name=\"ptJustDescargaF\" [(ngModel)]=\"data.ptJustDescargaF\"\n                                    maxlength=\"5\" currencyMask\n                                    class=\"form-control form-control-sm input-inline-middle ml-2\"\n                                    [options]=\"funcoesService.optionCurrency(2)\" type=\"text\" style=\"width:50px;\">\n                            </div>\n                        </div>\n                        <div class=\"col-lg-6 col-md-6 col-md-12\">\n                            <div class=\"form-group form-group-sm form-inline mb-0\">\n                                <label for=\"ptJustDescargaFSb\" style=\"align-self: center;\">{{\"labels.ptJustDescargaFSb\"\n                                    |\n                                    translate }}</label>\n                                <input id=\"ptJustDescargaFSb\" name=\"ptJustDescargaFSb\"\n                                    [(ngModel)]=\"data.ptJustDescargaFSb\" maxlength=\"5\" currencyMask\n                                    class=\"form-control form-control-sm input-inline-middle ml-2\"\n                                    [options]=\"funcoesService.optionCurrency(2)\" type=\"text\" style=\"width:50px;\">\n                            </div>\n                        </div>\n                    </div>\n                    <fieldset class=\"fieldset\">\n                        <legend>{{'labels.pesagemDeVagoesDeRetorno' | translate}}</legend>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6 col-md-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"vagaoSolJustifica\" name=\"vagaoSolJustifica\"\n                                        [ngModel]=\"data.vagaoSolJustifica === 'S'\"\n                                        (ngModelChange)=\"data.vagaoSolJustifica=$event?'S':'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                        for=\"vagaoSolJustifica\">{{'labels.vagaoSolJustifica' |\n                                        translate}}</label>\n                                </div>\n                            </div>\n                            <div class=\"col-lg-6 col-md-12 col-md-12\">\n                                <div class=\"form-group form-group-sm form-inline mb-0\">\n                                    <label for=\"vagaoTolerancia\" style=\"align-self: center;\">{{\"labels.vagaoTolerancia\"\n                                        |\n                                        translate }}</label>\n                                    <input id=\"vagaoTolerancia\" name=\"vagaoTolerancia\"\n                                        [(ngModel)]=\"data.vagaoTolerancia\" maxlength=\"9\" currencyMask\n                                        class=\"form-control form-control-sm input-inline-middle ml-2\"\n                                        [options]=\"{ prefix: '', thousands: '.', decimal: ',', precision: 0 }\">\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-6 col-md-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"vagaoDevolucTotal\" name=\"vagaoDevolucTotal\"\n                                        [ngModel]=\"data.vagaoDevolucTotal === 'S'\"\n                                        (ngModelChange)=\"data.vagaoDevolucTotal=$event?'S':'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                    <label class=\"custom-control-label\"\n                                        for=\"vagaoDevolucTotal\">{{'labels.vagaoDevolucTotal' |\n                                        translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </fieldset>\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/configuracoes/descarga-ferroviaria/descarga-ferroviaria-form/descarga-ferroviaria-form.component.ts":
/*!***************************************************************************************************************************!*\
  !*** ./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria-form/descarga-ferroviaria-form.component.ts ***!
  \***************************************************************************************************************************/
/*! exports provided: DescargaFerroviariaFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaFerroviariaFormComponent", function() { return DescargaFerroviariaFormComponent; });
/* 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 _login_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _descarga_ferroviaria_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../descarga-ferroviaria.constants */ "./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.constants.ts");
/* harmony import */ var _descarga_ferroviaria_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../descarga-ferroviaria.model */ "./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.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 DescargaFerroviariaFormComponent = /** @class */ (function (_super) {
    __extends(DescargaFerroviariaFormComponent, _super);
    function DescargaFerroviariaFormComponent(messageService, configuracao, funcoesService, loginService, permissoesUtils, funcoes) {
        var _this = _super.call(this, new _descarga_ferroviaria_constants__WEBPACK_IMPORTED_MODULE_9__["DescargaFerroviariaConstants"](), funcoesService) || this;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.funcoes = funcoes;
        _this.data = new _descarga_ferroviaria_model__WEBPACK_IMPORTED_MODULE_10__["DescargaFerroviaria"]();
        _this.mensagens = [];
        _this.constantes = new _descarga_ferroviaria_constants__WEBPACK_IMPORTED_MODULE_9__["DescargaFerroviariaConstants"]();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.data.filialId = _this.loginService.getLogin().filialId;
                _this.data.solCTEDescFer = _this.configuracao.string("BAL", "SolCTEDescFer");
                _this.data.obrigaCLFerrov = _this.configuracao.string("BAL", "ObrigaCLFerrov");
                _this.data.pesaDescVagao = _this.configuracao.string("BAL", "PesaDescVagao");
                _this.data.infPesoFob = _this.configuracao.string("BAL", "InfPesoFob");
                _this.data.confCDescargaFerrov = _this.configuracao.string("BAL", "ConfCDescargaFerrov");
                _this.data.solAferDescFer = _this.configuracao.string("BAL", "SolAferDescFer");
                _this.data.perEditFerroviario = _this.configuracao.string("BAL", "PerEditFerroviario");
                _this.data.ptJustDescargaF = _this.configuracao.number("BAL", "PtJustDescargaF");
                _this.data.ptJustDescargaFSb = _this.configuracao.number("BAL", "PtJustDescargaFSb");
                _this.data.mSitNumLaudo = _this.configuracao.string("BAL", "MSitNumLaudo");
                _this.data.vagaoSolJustifica = _this.configuracao.string("BAL", "VagaoSolJustifica");
                _this.data.vagaoTolerancia = _this.configuracao.number("BAL", "VagaoTolerancia");
                _this.data.vagaoDevolucTotal = _this.configuracao.string("BAL", "VagaoDevolucTotal");
                _this.data.obrigPlataformaVagao = _this.configuracao.string("WEB", "ObrigPlataformaVagao");
            }
        };
        return _this;
    }
    DescargaFerroviariaFormComponent.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);
    };
    DescargaFerroviariaFormComponent.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.descargaFerroviaria', 'messages.updateConfigConfirm', null, function () { return _this.onSubmit(); });
    };
    DescargaFerroviariaFormComponent.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, 'BAL', 'SolCTEDescFer', this.data.solCTEDescFer, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'ObrigaCLFerrov', this.data.obrigaCLFerrov, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'PesaDescVagao', this.data.pesaDescVagao, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'InfPesoFob', this.data.infPesoFob, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'ConfCDescargaFerrov', this.data.confCDescargaFerrov, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'SolAferDescFer', this.data.solAferDescFer, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'PerEditFerroviario', this.data.perEditFerroviario, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'PtJustDescargaF', this.data.ptJustDescargaF, 'F');
        object.setConfig(this.data.filialId, 'BAL', 'PtJustDescargaFSb', this.data.ptJustDescargaFSb, 'F');
        object.setConfig(this.data.filialId, 'BAL', 'MSitNumLaudo', this.data.mSitNumLaudo, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'SolConclLaudoSegPesF', this.data.solConclLaudoSegPesF, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'VagaoSolJustifica', this.data.vagaoSolJustifica, 'S');
        object.setConfig(this.data.filialId, 'BAL', 'VagaoTolerancia', this.data.vagaoTolerancia, 'F');
        object.setConfig(this.data.filialId, 'BAL', 'VagaoDevolucTotal', this.data.vagaoDevolucTotal, 'S');
        object.setConfig(this.data.filialId, 'WEB', 'ObrigPlataformaVagao', this.data.obrigPlataformaVagao, '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_2__["EventEmitterService"].get("backError").emit(_this.mensagens);
            }
            else {
                _this.messageService.saveSuccess("titles.descargaFerroviaria", "messages.configuracaoDe");
            }
        });
    };
    DescargaFerroviariaFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    DescargaFerroviariaFormComponent.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_8__["LoginService"] },
        { 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"] }
    ]; };
    DescargaFerroviariaFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-descarga-ferroviaria-form',
            template: __importDefault(__webpack_require__(/*! raw-loader!./descarga-ferroviaria-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria-form/descarga-ferroviaria-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_8__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"]])
    ], DescargaFerroviariaFormComponent);
    return DescargaFerroviariaFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.constants.ts":
/*!********************************************************************************************!*\
  !*** ./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.constants.ts ***!
  \********************************************************************************************/
/*! exports provided: DescargaFerroviariaConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaFerroviariaConstants", function() { return DescargaFerroviariaConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var DescargaFerroviariaConstants = /** @class */ (function () {
    function DescargaFerroviariaConstants() {
        this.sisFormularioId = 35133;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.pemissoes" },
        ];
        this.configuracoes = [];
        this.nomeForm = "titles.descargaFerroviaria";
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.configuracoes = [
            {
                sistema: "BAL",
                parametros: [
                    "SolCTEDescFer",
                    "ObrigaCLFerrov",
                    "PesaDescVagao",
                    "InfPesoFob",
                    "ConfCDescargaFerrov",
                    "SolAferDescFer",
                    "PerEditFerroviario",
                    "PtJustDescargaF",
                    "PtJustDescargaFSb",
                    "MSitNumLaudo",
                    "SolConclLaudoSegPesF",
                    "VagaoSolJustifica",
                    "VagaoTolerancia",
                    "VagaoDevolucTotal",
                ]
            },
            { sistema: "WEB", parametros: ["ObrigPlataformaVagao"] },
        ];
    }
    return DescargaFerroviariaConstants;
}());



/***/ }),

/***/ "./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.model.ts":
/*!****************************************************************************************!*\
  !*** ./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.model.ts ***!
  \****************************************************************************************/
/*! exports provided: DescargaFerroviaria */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



/***/ }),

/***/ "./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.module.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.module.ts ***!
  \*****************************************************************************************/
/*! exports provided: DescargaFerroviariaModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



/***/ }),

/***/ "./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.routing.module.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/configuracoes/descarga-ferroviaria/descarga-ferroviaria.routing.module.ts ***!
  \*************************************************************************************************/
/*! exports provided: DescargaFerroviariaRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



/***/ })

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