(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-relatorios-descarga-por-periodo-descarga-por-periodo-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo-form/descarga-por-periodo-form.component.html":
/*!****************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo-form/descarga-por-periodo-form.component.html ***!
  \****************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [sisFormularioId]=\"constantes.sisFormularioId\" [botoesComando]=\"constantes.listaForm\">\n</app-menu-command-bar>\n\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <div class=\"\">\n                <app-form-legenda></app-form-legenda>\n                <div class=\"card-body widget-body\">\n                    <form class=\"form\" #descargaPorPeriodo=\"ngForm\" (ngSubmit)=\"onSubmit(descargaPorPeriodo)\">\n                        <app-validacoes></app-validacoes>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"dataIni\" class=\"required\">{{\"labels.periodoDe\" | translate\n                                        }}</label>\n                                    <app-data-h-m-s id=\"dataIni\" name=\"dataIni\" [(ngModel)]=\"data.dataIni\" autofocus\n                                        required=\"true\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\"></app-data-h-m-s>\n                                </div>\n                            </div>\n                            <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"dataFim\" class=\"required\">{{\"labels.ate\" | translate}}</label>\n                                    <app-data-h-m-s id=\"dataFim\" name=\"dataFim\" [(ngModel)]=\"data.dataFim\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        required=\"true\"></app-data-h-m-s>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-destinatario id=\"destinatarioIdCliente\" name=\"destinatarioIdCliente\"\n                                        label=\"cliente\" modalTitle=\"cliente\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        [(ngModel)]=\"data.destinatarioIdCliente\" tipoDestinatario=\"C\" showCgcCpf=\"false\"\n                                        showInscricao=\"false\">\n                                    </app-pesquisa-destinatario>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-material id=\"materialId\" name=\"materialId\" label=\"produto\"\n                                        modalTitle=\"produto\" [(ngModel)]=\"data.materialId\">\n                                    </app-pesquisa-material>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-destinatario id=\"destinatarioIdTransportadora\"\n                                        name=\"destinatarioIdTransportadora\" label=\"transportadora\"\n                                        modalTitle=\"transportadora\" [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                        [(ngModel)]=\"data.destinatarioIdTransportadora\" tipoDestinatario=\"T\"\n                                        showCgcCpf=\"false\" showInscricao=\"false\">\n                                    </app-pesquisa-destinatario>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n\n                                    <label for=\"tipoTransporte\">{{\"labels.tipoTransporte\" | translate}}</label>\n                                    <app-combo-multi-padrao id=\"tipoTransporte\" name=\"tipoTransporte\"\n                                        tabela=\"TiposDeTransporte\" chave=\"TipoTransp\" descricao=\"DescrMov\" ativos=\"true\"\n                                        (outObjeto)=\"trataTipoTransporte($event)\">\n                                    </app-combo-multi-padrao>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                <app-pesquisa-lote id=\"lote\" label=\"lote\" name=\"lote\" modalTitle=\"lote\"\n                                    [(ngModel)]=\"data.loteId\" [destinatarioIdCliente]=\"data.destinatarioIdCliente\"\n                                    [materialId]=\"data.materialId\" [loteId]=\"data.loteId\" [destinatarioIdEmitente]=\"0\"\n                                    [destinatarioIdNavio]=\"0\" [osgId]=\"0\" [stoContratoId]=\"0\" [stoContratoItemId]=\"0\"\n                                    [consideraLotesEncerrados]=\"true\">\n                                </app-pesquisa-lote>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-4 col-sm-12\">\n                                <div class=\"form-group\">\n                                    <app-pesquisa-osg id=\"osg\" label=\"osg\" name=\"osg\"\n                                        [destinatarioIdCliente]=\"data.destinatarioIdCliente\"\n                                        [materialId]=\"data.materialId\" [(ngModel)]=\"data.osgId\">\n                                    </app-pesquisa-osg>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-12\">\n                                <div class=\"custom-control custom-checkbox\">\n                                    <input id=\"agrupaProduto\" name=\"agrupaProduto\" [ngModel]=\"data.agrupaProd === 'S'\"\n                                        (ngModelChange)=\"data.agrupaProd=$event?'S':'N'\"\n                                        class=\"custom-control-input checkbox-success\" type=\"checkbox\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <label class=\"custom-control-label\" for=\"agrupaProduto\">{{'labels.agrupaProduto' |\n                                        translate}}</label>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row mt-2\">\n                            <div class=\"col-12\">\n                                <div class=\"form-group\">\n                                    <button class=\"btn btn-success mr-2\" type=\"submit\">\n                                        {{ 'buttons.gerarRelatorio' | translate }}\n                                    </button>\n                                    <button class=\"btn btn-success mr-2\" (click)=\"export(descargaPorPeriodo)\"\n                                        type=\"button\">{{\n                                        'buttons.exportarExcel' | translate }}\n                                    </button>\n                                    <button class=\"btn btn-success mr-2\" (click)=\"sendMail(descargaPorPeriodo)\"\n                                        type=\"button\">{{\n                                        'buttons.enviarEmail' | translate }}\n                                    </button>\n                                </div>\n                            </div>\n                        </div>\n                    </form>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-email [reportId]=\"constantes.reportId\" [titulo]=\"constantes.reportTitulo.titulo\"\n    [subTitulo]=\"constantes.reportTitulo.subTitulo\" [data]=\"constantes.paramRelatorio\"></app-email>");

/***/ }),

/***/ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo-form/descarga-por-periodo-form.component.ts":
/*!************************************************************************************************************************!*\
  !*** ./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo-form/descarga-por-periodo-form.component.ts ***!
  \************************************************************************************************************************/
/*! exports provided: DescargaPorPeriodoFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaPorPeriodoFormComponent", function() { return DescargaPorPeriodoFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/cadastro/tipo-de-transporte/tipo-de-transporte.service */ "./src/app/pages/cadastro/tipo-de-transporte/tipo-de-transporte.service.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/components/report/report.service */ "./src/app/shared/components/report/report.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_8__ = __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_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _descarga_por_periodo_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../descarga-por-periodo.constants */ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.constants.ts");
/* harmony import */ var _descarga_por_periodo_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../descarga-por-periodo.model */ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.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 DescargaPorPeriodoFormComponent = /** @class */ (function (_super) {
    __extends(DescargaPorPeriodoFormComponent, _super);
    function DescargaPorPeriodoFormComponent(router, messageService, activatedRoute, tipoDeTransporteService, funcoesService, loginService, excelService, reportService, permissoesUtils) {
        var _this = _super.call(this, new _descarga_por_periodo_constants__WEBPACK_IMPORTED_MODULE_12__["DescargaPorPeriodoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.tipoDeTransporteService = tipoDeTransporteService;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.excelService = excelService;
        _this.reportService = reportService;
        _this.permissoesUtils = permissoesUtils;
        _this.data = new _descarga_por_periodo_model__WEBPACK_IMPORTED_MODULE_13__["DescargaPorPeriodo"]();
        _this.mensagens = [];
        _this.constantes = new _descarga_por_periodo_constants__WEBPACK_IMPORTED_MODULE_12__["DescargaPorPeriodoConstants"]();
        _this.dataAtual = new Date();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        _this.dropdownList = new Array();
        _this.selectedItems = [];
        _this.dropdownSettings = {};
        _this.export = function (form) {
            if (!_this.printParams(form))
                return;
            _this.reportService.export(_this.constantes.sisFormularioId, _this.constantes.paramRelatorio).subscribe(function (resp) {
                var headerDictionary = {};
                var options = {
                    headerJsonKeys: true,
                    headerDictionary: headerDictionary
                };
                _this.excelService.exportAsExcelFile(resp, _this.messageService.getTranslates("titles", "descargaPorPeriodo"), options);
            });
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        _this.filialId = loginService.getLogin().filialId;
        return _this;
    }
    DescargaPorPeriodoFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { }, function () { return _this.permissoesUtils.back(); }, true);
    };
    DescargaPorPeriodoFormComponent.prototype.trataTipoTransporte = function (selectedItems) {
        this.data.tipoTransporteId = selectedItems;
    };
    DescargaPorPeriodoFormComponent.prototype.onSubmit = function (form) {
        if (!this.printParams(form))
            return;
        this.print();
    };
    DescargaPorPeriodoFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    DescargaPorPeriodoFormComponent.prototype.onCancelar = function () {
        this.data = new _descarga_por_periodo_model__WEBPACK_IMPORTED_MODULE_13__["DescargaPorPeriodo"]();
    };
    DescargaPorPeriodoFormComponent.prototype.printParams = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_8__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return false;
        }
        this.constantes.reportTitulo.subTitulo = '';
        if (this.funcoesService.isPositive(this.data.destinatarioIdCliente)) {
            if (this.funcoesService.isNotUndefinedOrNull(this.data.cliente)) {
                this.constantes.reportTitulo.subTitulo = this.data.cliente.fantasia;
            }
        }
        this.constantes.paramRelatorio = {
            filialId: this.loginService.getLogin().filialId,
            dataIni: this.data.dataIni,
            dataFim: this.data.dataFim,
            agrupaProd: this.funcoesService.getValue(this.data.agrupaProd),
            destinatarioIdCliente: this.funcoesService.getValue(this.data.destinatarioIdCliente, 'I'),
            materialId: this.funcoesService.getValue(this.data.materialId),
            destinatarioIdTransportadora: this.funcoesService.getValue(this.data.destinatarioIdTransportadora, 'I'),
            tipoTransporteId: this.funcoesService.getValue(this.data.tipoTransporteId),
            osgId: this.funcoesService.getValue(this.data.osgId, 'I'),
            loteId: this.funcoesService.getValue(this.data.loteId),
        };
        return true;
    };
    DescargaPorPeriodoFormComponent.prototype.sendMail = function (form) {
        if (!this.printParams(form))
            return;
        _super.prototype.sendMail.call(this, this.constantes);
    };
    DescargaPorPeriodoFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_11__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_3__["TipoDeTransporteService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__["FuncoesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__["ExcelService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_7__["ReportService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] }
    ]; };
    DescargaPorPeriodoFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-descarga-por-periodo-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./descarga-por-periodo-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo-form/descarga-por-periodo-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_11__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_3__["TipoDeTransporteService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__["ExcelService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_7__["ReportService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"]])
    ], DescargaPorPeriodoFormComponent);
    return DescargaPorPeriodoFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.constants.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.constants.ts ***!
  \*****************************************************************************************/
/*! exports provided: DescargaPorPeriodoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaPorPeriodoConstants", function() { return DescargaPorPeriodoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var DescargaPorPeriodoConstants = /** @class */ (function () {
    function DescargaPorPeriodoConstants() {
        this.sisFormularioId = 95013;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.descargaPorPeriodo";
        this.reportId = "REL0052";
        this.reportTitulo = { "titulo": "Descargas por Período", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
    }
    return DescargaPorPeriodoConstants;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.model.ts":
/*!*************************************************************************************!*\
  !*** ./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.model.ts ***!
  \*************************************************************************************/
/*! exports provided: DescargaPorPeriodo */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaPorPeriodo", function() { return DescargaPorPeriodo; });
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js");
/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

var DescargaPorPeriodo = /** @class */ (function () {
    function DescargaPorPeriodo() {
        this.filialId = 0;
        var dataFinal = new Date();
        dataFinal.setHours(23);
        dataFinal.setMinutes(59);
        dataFinal.setSeconds(59);
        this.dataIni = moment__WEBPACK_IMPORTED_MODULE_0__().startOf('month').toDate(),
            this.dataFim = dataFinal,
            this.agrupaProd = "N",
            this.destinatarioIdCliente = 0;
        this.materialId = "";
        this.destinatarioIdTransportadora = 0;
        this.tipoTransporteId = "";
        this.osgId = 0;
        this.loteId = "";
    }
    return DescargaPorPeriodo;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.module.ts":
/*!**************************************************************************************!*\
  !*** ./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.module.ts ***!
  \**************************************************************************************/
/*! exports provided: DescargaPorPeriodoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaPorPeriodoModule", function() { return DescargaPorPeriodoModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _descarga_por_periodo_form_descarga_por_periodo_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./descarga-por-periodo-form/descarga-por-periodo-form.component */ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo-form/descarga-por-periodo-form.component.ts");
/* harmony import */ var _descarga_por_periodo_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./descarga-por-periodo.routing.module */ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.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 DescargaPorPeriodoModule = /** @class */ (function () {
    function DescargaPorPeriodoModule() {
    }
    DescargaPorPeriodoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _descarga_por_periodo_routing_module__WEBPACK_IMPORTED_MODULE_3__["DescargaPorPeriodoRoutingModule"]],
            declarations: [_descarga_por_periodo_form_descarga_por_periodo_form_component__WEBPACK_IMPORTED_MODULE_2__["DescargaPorPeriodoFormComponent"]]
        })
    ], DescargaPorPeriodoModule);
    return DescargaPorPeriodoModule;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.routing.module.ts":
/*!**********************************************************************************************!*\
  !*** ./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo.routing.module.ts ***!
  \**********************************************************************************************/
/*! exports provided: DescargaPorPeriodoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaPorPeriodoRoutingModule", function() { return DescargaPorPeriodoRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _descarga_por_periodo_form_descarga_por_periodo_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./descarga-por-periodo-form/descarga-por-periodo-form.component */ "./src/app/pages/relatorios/descarga-por-periodo/descarga-por-periodo-form/descarga-por-periodo-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_por_periodo_form_descarga_por_periodo_form_component__WEBPACK_IMPORTED_MODULE_3__["DescargaPorPeriodoFormComponent"],
        data: { breadcrumb: "descargaPorPeriodo", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var DescargaPorPeriodoRoutingModule = /** @class */ (function () {
    function DescargaPorPeriodoRoutingModule() {
    }
    DescargaPorPeriodoRoutingModule = __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"]],
        })
    ], DescargaPorPeriodoRoutingModule);
    return DescargaPorPeriodoRoutingModule;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-relatorios-descarga-por-periodo-descarga-por-periodo-module.js.map