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

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos-form/comercial-pedidos-form.component.html":
/*!**********************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos-form/comercial-pedidos-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<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 col-md-12 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"decPreco\">{{'labels.decPreco' | translate}}</label>\n                                <div class=\"input-group\">\n                                    <div>\n                                        <input id=\"decPreco\" name=\"decPreco\" currencyMask\n                                            [options]=\"funcoesService.optionCurrency(0)\" [(ngModel)]=\"data.decPreco\"\n                                            maxlength=\"1\" class=\"form-control form-control-sm\" type=\"text\">\n                                    </div>\n                                    <div class=\"ml-2\">\n                                        <label for=\"min2Decimal\">{{\n                                            \"labels.min2Decimal\" | translate\n                                            }}</label>\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-6 col-md-6 col-sm-12\">\n                            <div class=\"input-group\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"obrMotivo\" name=\"obrMotivo\" [ngModel]=\"data.obrMotivo === 'S'\"\n                                        (ngModelChange)=\"data.obrMotivo = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\" />\n                                    <label class=\"custom-control-label\" for=\"obrMotivo\">{{\n                                        \"labels.obrMotivo\" | translate\n                                        }}</label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                            <div class=\"input-group\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"solTanquePed\" name=\"solTanquePed\" [ngModel]=\"data.solTanquePed === 'S'\"\n                                        (ngModelChange)=\"data.solTanquePed = $event ? 'S' : 'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\" />\n                                    <label class=\"custom-control-label\" for=\"solTanquePed\">{{\n                                        \"labels.solTanquePed\" | translate\n                                        }}</label>\n                                </div>\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=\"desabilitaPreco\" name=\"desabilitaPreco\"\n                                    [ngModel]=\"data.desabilitaPreco === 'S'\"\n                                    (ngModelChange)=\"data.desabilitaPreco = $event ? 'S' : 'N'\"\n                                    class=\"custom-control-input checkbox-success\" type=\"checkbox\" />\n                                <label class=\"custom-control-label\" for=\"desabilitaPreco\">{{\n                                    \"labels.desabilitaPreco\" | translate\n                                    }}</label>\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>");

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComercialPedidosFormComponent", function() { return ComercialPedidosFormComponent; });
/* 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 _comercial_pedidos_constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../comercial-pedidos.constants */ "./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos.constants.ts");
/* harmony import */ var _comercial_pedidos_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../comercial-pedidos.model */ "./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos.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 ComercialPedidosFormComponent = /** @class */ (function (_super) {
    __extends(ComercialPedidosFormComponent, _super);
    function ComercialPedidosFormComponent(messageService, configuracao, funcoesService, loginService, loteService, permissoesUtils, funcoes) {
        var _this = _super.call(this, new _comercial_pedidos_constants__WEBPACK_IMPORTED_MODULE_10__["ComercialPedidosConstants"](), 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 _comercial_pedidos_model__WEBPACK_IMPORTED_MODULE_11__["ComercialPedidos"]();
        _this.mensagens = [];
        _this.constantes = new _comercial_pedidos_constants__WEBPACK_IMPORTED_MODULE_10__["ComercialPedidosConstants"]();
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.data.filialId = _this.loginService.getLogin().filialId;
                _this.data.decPreco = _this.configuracao.string("CML", "DecPreco");
                _this.data.desabilitaPreco = _this.configuracao.string("CML", "DesabilitaPreco");
                _this.data.obrMotivo = _this.configuracao.string("CML", "ObrMotivo");
                _this.data.solTanquePed = _this.configuracao.string("CML", "SolTanquePed");
            }
        };
        return _this;
    }
    ComercialPedidosFormComponent.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);
    };
    ComercialPedidosFormComponent.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;
        if (this.data.decPreco < 2) {
            this.messageService.error("labels.decPreco", "labels.min2Decimal");
            return;
        }
        this.messageService.confirm("titles.comercialPedidos", "messages.updateConfigConfirm", null, function () { return _this.onSubmit(); });
    };
    ComercialPedidosFormComponent.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, 'CML', 'DecPreco', this.data.decPreco);
        object.setConfig(this.data.filialId, 'CML', 'DesabilitaPreco', this.data.desabilitaPreco);
        object.setConfig(this.data.filialId, 'CML', 'ObrMotivo', this.data.obrMotivo);
        object.setConfig(this.data.filialId, 'CML', 'SolTanquePed', this.data.solTanquePed);
        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.comercialPedidos", "messages.configuracaoDe");
            }
        });
    };
    ComercialPedidosFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    ComercialPedidosFormComponent.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"] }
    ]; };
    ComercialPedidosFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-comercial-pedidos-form',
            template: __importDefault(__webpack_require__(/*! raw-loader!./comercial-pedidos-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos-form/comercial-pedidos-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"]])
    ], ComercialPedidosFormComponent);
    return ComercialPedidosFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_1__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComercialPedidosConstants", function() { return ComercialPedidosConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ComercialPedidosConstants = /** @class */ (function () {
    function ComercialPedidosConstants() {
        this.sisFormularioId = 35107;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.pemissoes" },
        ];
        this.configuracoes = [];
        this.nomeForm = "titles.comercialPedidos";
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.configuracoes = [
            {
                sistema: "CML",
                parametros: [
                    "DecPreco",
                    "DesabilitaPreco",
                    "ObrMotivo",
                    "SolTanquePed"
                ]
            }
        ];
    }
    return ComercialPedidosConstants;
}());



/***/ }),

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

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



/***/ }),

/***/ "./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos.module.ts":
/*!***********************************************************************************!*\
  !*** ./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos.module.ts ***!
  \***********************************************************************************/
/*! exports provided: ComercialPedidosModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ComercialPedidosModule", function() { return ComercialPedidosModule; });
/* 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 _comercial_pedidos_form_comercial_pedidos_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./comercial-pedidos-form/comercial-pedidos-form.component */ "./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos-form/comercial-pedidos-form.component.ts");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _comercial_pedidos_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./comercial-pedidos.routing.module */ "./src/app/pages/configuracoes/comercial-pedidos/comercial-pedidos.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 ComercialPedidosModule = /** @class */ (function () {
    function ComercialPedidosModule() {
    }
    ComercialPedidosModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [_comercial_pedidos_form_comercial_pedidos_form_component__WEBPACK_IMPORTED_MODULE_2__["ComercialPedidosFormComponent"]],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_3__["SharedModule"],
                _comercial_pedidos_routing_module__WEBPACK_IMPORTED_MODULE_4__["ComercialPedidosRoutingModule"]
            ]
        })
    ], ComercialPedidosModule);
    return ComercialPedidosModule;
}());



/***/ }),

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

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



/***/ })

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