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

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1-form/descarga-modelo1-form.component.html":
/*!****************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1-form/descarga-modelo1-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\" #descargaModelo1=\"ngForm\" (ngSubmit)=\"onSubmit(descargaModelo1)\">\n                        <app-validacoes></app-validacoes>\n                        <div class=\"row\">\n                            <div class=\"col-lg-8\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"periodoDe\" class=\"required\">{{\"labels.periodoDe\" | translate\n                                                }}</label>\n                                            <app-data id=\"periodoDe\" name=\"periodoDe\" [(ngModel)]=\"data.dtIni\" autofocus\n                                                class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMinSeg\"\n                                                required=\"true\" [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                            </app-data>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"ate\" class=\"required\">{{\"labels.ate\" | translate}}</label>\n                                            <app-data id=\"ate\" name=\"ate\" maxlength=\"1\" [(ngModel)]=\"data.dtFim\"\n                                                class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMinSeg\"\n                                                [disabled]=\"funcoesService.isDetail(actionForm)\" required=\"true\">\n                                            </app-data>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"tipo\">{{'labels.tipo' | translate}}</label>\n                                            <select id=\"tipo\" name=\"tipo\" [(ngModel)]=\"data.tipoData\"\n                                                [disabled]=\"funcoesService.isDetail(actionForm)\"\n                                                class=\"form-control form-control-sm\">\n                                                <option value=\"0\">{{ 'labels.dtSaida' | translate}}</option>\n                                                <option value=\"1\">{{ 'labels.dtEmissao' | translate}}</option>\n                                                <option value=\"2\">{{ 'labels.2Pesagem' | translate}}</option>\n                                            </select>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-destinatario id=\"destinatarioIdCliente\"\n                                                name=\"destinatarioIdCliente\" label=\"cliente\"\n                                                modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"data.destinatarioIdCliente\"\n                                                tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\"\n                                                (outModel)=\"trataDest($event)\">\n                                            </app-pesquisa-destinatario>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-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\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-tanque id=\"tanqueId\" name=\"tanqueId\"\n                                                [(ngModel)]=\"data.tanqueId\" label=\"deposito\" title=\"deposito\">\n                                            </app-pesquisa-tanque>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"ordem\">{{'labels.ordem' | translate}}</label>\n                                            <app-ordem id=\"ordem\" name=\"ordem\" [list]=\"constantes.orderBy\"\n                                                (outOrdem)=\"data.ordem = $event\"></app-ordem>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"tipoDeFrete\">{{'labels.tipoDeFrete' | translate}}</label>\n                                            <app-combo-tipo-frete id=\"tipoDeFrete\" name=\"tipoDeFrete\"\n                                                [(ngModel)]=\"data.tipoFreteId\">\n                                            </app-combo-tipo-frete>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"localTransferencia\">{{'labels.localTransferencia' |\n                                                translate}}</label>\n                                            <app-combo-local-transferencia id=\"localTransferencia\"\n                                                name=\"localTransferencia\" [(ngModel)]=\"data.localTransferenciaId\">\n                                            </app-combo-local-transferencia>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group\">\n                                            <label for=\"localOperacao\">{{\"labels.localOperacao\" | translate}}</label>\n                                            <app-combo-local-operacao id=\"localOperacao\" name=\"localOperacao\"\n                                                [(ngModel)]=\"data.localOperacaoId\">\n                                            </app-combo-local-operacao>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"planejamento\">{{'labels.planejamento' | translate}}</label>\n                                            <app-pesquisa-planejamento id=\"planejamento\" name=\"planejamento\"\n                                                [(ngModel)]=\"data.planejCargaId\">\n                                            </app-pesquisa-planejamento>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <label for=\"tipoTransporteId\">{{'labels.tipoTransporte' | translate}}</label>\n                                        <app-combo-multi-padrao id=\"tipoTransporteId\" name=\"tipoTransporteId\"\n                                            tabela=\"TiposDeTransporte\" chave=\"TipoTransp\" descricao=\"DescrMov\"\n                                            ativos=\"true\" (outObjeto)=\"trataTipoTransporte($event)\">\n                                        </app-combo-multi-padrao>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"clearfix\">&nbsp;</div>\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(descargaModelo1)\" type=\"button\">{{\n                                'buttons.exportarExcel' | translate }}\n                            </button>\n                            <button class=\"btn btn-success mr-2\" (click)=\"sendMail(descargaModelo1)\" type=\"button\">{{\n                                'buttons.enviarEmail' | translate }}\n                            </button>\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-modelo1/descarga-modelo1-form/descarga-modelo1-form.component.ts":
/*!************************************************************************************************************!*\
  !*** ./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1-form/descarga-modelo1-form.component.ts ***!
  \************************************************************************************************************/
/*! exports provided: DescargaModelo1FormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaModelo1FormComponent", function() { return DescargaModelo1FormComponent; });
/* 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 _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _descarga_modelo1_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../descarga-modelo1.model */ "./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1.model.ts");
/* harmony import */ var _descarga_modelo1_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../descarga-modelo1.constants */ "./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1.constants.ts");
/* harmony import */ var app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_8__ = __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 _config_enumerables__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../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_11__ = __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_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../shared/components/report/report.service */ "./src/app/shared/components/report/report.service.ts");
/* harmony import */ var _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./../../../../shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./../../../../shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.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 DescargaModelo1FormComponent = /** @class */ (function (_super) {
    __extends(DescargaModelo1FormComponent, _super);
    function DescargaModelo1FormComponent(router, messageService, activatedRoute, permissoesUtils, tipoDeTransporteService, funcoesService, loginService, excelService, reportService) {
        var _this = _super.call(this, new _descarga_modelo1_constants__WEBPACK_IMPORTED_MODULE_7__["DescargaModelo1Constants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.permissoesUtils = permissoesUtils;
        _this.tipoDeTransporteService = tipoDeTransporteService;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.excelService = excelService;
        _this.reportService = reportService;
        _this.data = new _descarga_modelo1_model__WEBPACK_IMPORTED_MODULE_6__["DescargaModelo1"]();
        _this.mensagens = [];
        _this.constantes = new _descarga_modelo1_constants__WEBPACK_IMPORTED_MODULE_7__["DescargaModelo1Constants"]();
        _this.dataAtual = new Date();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_9__["Mascaras"]();
        _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", "descargaModelo1"), 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;
    }
    DescargaModelo1FormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { }, function () { return _this.permissoesUtils.back(); }, true);
    };
    DescargaModelo1FormComponent.prototype.trataTipoTransporte = function (selectedItems) {
        this.data.tipoTransporteId = selectedItems;
    };
    DescargaModelo1FormComponent.prototype.trataTipoFrete = function (selectedItems) {
        this.data.tipoFreteId = selectedItems;
    };
    DescargaModelo1FormComponent.prototype.onSubmit = function (form) {
        if (!this.printParams(form))
            return;
        this.print();
    };
    DescargaModelo1FormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    DescargaModelo1FormComponent.prototype.onCancelar = function () {
        this.data = new _descarga_modelo1_model__WEBPACK_IMPORTED_MODULE_6__["DescargaModelo1"]();
    };
    DescargaModelo1FormComponent.prototype.trataDest = function (destinatario) {
        this.data.cliente = destinatario;
    };
    DescargaModelo1FormComponent.prototype.printParams = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_4__["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,
            dtIni: this.data.dtIni,
            dtFim: this.data.dtFim,
            destinatarioIdCliente: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["NumberUtilsStaticService"].toNumber(this.data.destinatarioIdCliente),
            tipoFreteId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["StringUtilsStaticService"].toString(this.data.tipoFreteId),
            tipoData: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["NumberUtilsStaticService"].toNumber(this.data.tipoData),
            localTransferenciaId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["NumberUtilsStaticService"].toNumber(this.data.localTransferenciaId),
            materialId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["StringUtilsStaticService"].toString(this.data.materialId),
            tanqueId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["StringUtilsStaticService"].toString(this.data.tanqueId),
            ordem: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["StringUtilsStaticService"].toString(this.data.ordem),
            tipoTransporteId: _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["StringUtilsStaticService"].toString(this.data.tipoTransporteId),
            localOperacaoId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["NumberUtilsStaticService"].toNumber(this.data.localOperacaoId),
            planejCargaId: _shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["NumberUtilsStaticService"].toNumber(this.data.planejCargaId)
        };
        return true;
    };
    DescargaModelo1FormComponent.prototype.sendMail = function (form) {
        if (!this.printParams(form))
            return;
        _super.prototype.sendMail.call(this, this.constantes);
    };
    DescargaModelo1FormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_11__["PermissoesUtilsService"] },
        { type: app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_8__["TipoDeTransporteService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__["ExcelService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_13__["ReportService"] }
    ]; };
    DescargaModelo1FormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-descarga-modelo1-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./descarga-modelo1-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1-form/descarga-modelo1-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_2__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_11__["PermissoesUtilsService"],
            app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_8__["TipoDeTransporteService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__["ExcelService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_13__["ReportService"]])
    ], DescargaModelo1FormComponent);
    return DescargaModelo1FormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaModelo1Constants", function() { return DescargaModelo1Constants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var DescargaModelo1Constants = /** @class */ (function () {
    function DescargaModelo1Constants() {
        this.sisFormularioId = 95020;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.descargaModelo1";
        this.reportId = "REL0068";
        this.reportTitulo = { "titulo": "Relatório de Descargas(1)", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
        this.orderBy = [
            { field: "DescrCli", description: "Cliente", direction: "asc", default: true, sequence: 1 },
            { field: "DescrMater", description: "Produto", direction: "asc", default: true, sequence: 2 },
            { field: "Autorizacao", description: "Autorização", direction: "asc", default: false, sequence: 0 },
            { field: "DtAutorizacao", description: "Entrada", direction: "asc", default: true, sequence: 4 },
            { field: "DtChegada", description: "Chegada", direction: "asc", default: false, sequence: 0 },
            { field: "DescrTipo", description: "Tipo", direction: "asc", default: true, sequence: 3 }
        ];
    }
    return DescargaModelo1Constants;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaModelo1", function() { return DescargaModelo1; });
/* 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 DescargaModelo1 = /** @class */ (function () {
    function DescargaModelo1() {
        this.filialId = 0;
        this.dtIni = moment__WEBPACK_IMPORTED_MODULE_0__().startOf('month').toDate(),
            this.dtFim = new Date(),
            this.destinatarioIdCliente = 0;
        this.tipoFreteId = "";
        this.tipoData = 0;
        this.localTransferenciaId = "";
        this.materialId = "";
        this.tanqueId = "";
        this.ordem = "DescrCli,DescrMater,TipoFrete,DtAutorizacao";
        this.tipoTransporteId = "";
        this.localOperacaoId = "";
        this.planejCargaId = 0;
    }
    return DescargaModelo1;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaModelo1Module", function() { return DescargaModelo1Module; });
/* 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_modelo1_form_descarga_modelo1_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./descarga-modelo1-form/descarga-modelo1-form.component */ "./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1-form/descarga-modelo1-form.component.ts");
/* harmony import */ var _descarga_modelo1_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./descarga-modelo1.routing.module */ "./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1.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 DescargaModelo1Module = /** @class */ (function () {
    function DescargaModelo1Module() {
    }
    DescargaModelo1Module = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _descarga_modelo1_routing_module__WEBPACK_IMPORTED_MODULE_3__["DescargaModelo1RoutingModule"]],
            declarations: [_descarga_modelo1_form_descarga_modelo1_form_component__WEBPACK_IMPORTED_MODULE_2__["DescargaModelo1FormComponent"]]
        })
    ], DescargaModelo1Module);
    return DescargaModelo1Module;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DescargaModelo1RoutingModule", function() { return DescargaModelo1RoutingModule; });
/* 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_modelo1_form_descarga_modelo1_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./descarga-modelo1-form/descarga-modelo1-form.component */ "./src/app/pages/relatorios/descarga-modelo1/descarga-modelo1-form/descarga-modelo1-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_modelo1_form_descarga_modelo1_form_component__WEBPACK_IMPORTED_MODULE_3__["DescargaModelo1FormComponent"],
        data: { breadcrumb: "descargaModelo1", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var DescargaModelo1RoutingModule = /** @class */ (function () {
    function DescargaModelo1RoutingModule() {
    }
    DescargaModelo1RoutingModule = __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"]],
        })
    ], DescargaModelo1RoutingModule);
    return DescargaModelo1RoutingModule;
}());



/***/ })

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