(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-adonai-relatorios-carga-carga-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/adonai/relatorios/carga/carga-form/carga-form.component.html":
/*!**************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/adonai/relatorios/carga/carga-form/carga-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\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\">\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 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"periodoDe\"\n                                                   class=\"required\">{{\"labels.periodoDe\" | translate }}</label>\n                                            <app-data id=\"periodoDe\" name=\"periodoDe\" [(ngModel)]=\"data.dataI\" autofocus\n                                                      class=\"dataHora\" [formatDateTime]=\"mascara.getFormatDataHorMin\"\n                                                      required=\"true\" [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                            </app-data>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\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.dataF\"\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-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-destinatario id=\"destinatarioIdCliente\"\n                                                                       name=\"destinatarioIdCliente\" label=\"cliente\"\n                                                                       modalTitle=\"pesquisaDeCliente\"\n                                                                       [(ngModel)]=\"data.destinatarioIdCliente\"\n                                                                       tipoDestinatario=\"C\" showCgcCpf=\"false\"\n                                                                       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-destinatario id=\"destinatarioIdClienteVenda\"\n                                                                       name=\"destinatarioIdClienteVenda\"\n                                                                       label=\"clienteVenda\"\n                                                                       modalTitle=\"pesquisaDeClienteVenda\"\n                                                                       [(ngModel)]=\"data.destinatarioIdClienteVenda\"\n                                                                       tipoDestinatario=\"\"\n                                                                       showCgcCpf=\"false\" showInscricao=\"false\">\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 col-md-6 col-sm-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-tanque id=\"tanqueId\" name=\"tanqueId\"\n                                                                 [(ngModel)]=\"data.tanqueId\" label=\"deposito\"\n                                                                 title=\"deposito\">\n                                            </app-pesquisa-tanque>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                        <app-pesquisa-lote id=\"lote\" label=\"lote\" name=\"lote\" modalTitle=\"lote\"\n                                                           [(ngModel)]=\"data.loteId\"\n                                                           [destinatarioIdCliente]=\"data.destinatarioIdCliente\"\n                                                           [materialId]=\"data.materialId\" [loteId]=\"data.loteId\"\n                                                            destinatarioIdEmitente=\"0\"\n                                                           destinatarioIdNavio=\"0\" [osgId]=\"0\" stoContratoId=\"\"\n                                                           stoContratoItemId=\"0\">\n                                        </app-pesquisa-lote>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6 col-md-6 col-sm-12\">\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 col-md-6 col-sm-12\">\n                                        <label for=\"tipoTransporte\">{{\"labels.tipoTransporte\" | translate}}</label>\n                                        <app-combo-multi-padrao id=\"tipoTransporte\" name=\"tipoTransporte\"\n                                                                tabela=\"TiposDeTransporte\" chave=\"TipoTransp\"\n                                                                descricao=\"DescrMov\"\n                                                                ativos=\"true\" (outObjeto)=\"trataTipoTransporte($event)\">\n                                        </app-combo-multi-padrao>\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=\"custom-control custom-checkbox\">\n                                            <input id=\"apresDados\" name=\"apresDados\" [(ngModel)]=\"data.apresDados\"\n                                                   class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                            <label class=\"custom-control-label\"\n                                                   for=\"apresDados\">{{'labels.apresDados' | translate}}</label>\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=\"custom-control custom-checkbox\">\n                                            <input id=\"prodAnp\" name=\"prodAnp\" [ngModel]=\"data.prodANP === 'S'\"\n                                                   (ngModelChange)=\"data.prodANP=$event?'S':'N'\"\n                                                   class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                            <label class=\"custom-control-label\"\n                                                   for=\"prodAnp\">{{'labels.prodAnp' | translate}}</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-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(f)\" type=\"button\">{{\n                                        'buttons.exportarExcel' | translate }}\n                                    </button>\n                                    <button class=\"btn btn-success mr-2\" (click)=\"sendMail(f)\" 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\"\n           [titulo]=\"constantes.reportTitulo.titulo\"\n           [subTitulo]=\"constantes.reportTitulo.subTitulo\"\n           [data]=\"constantes.paramRelatorio\"></app-email>\n");

/***/ }),

/***/ "./src/app/pages/especificos/adonai/relatorios/carga/carga-form/carga-form.component.ts":
/*!**********************************************************************************************!*\
  !*** ./src/app/pages/especificos/adonai/relatorios/carga/carga-form/carga-form.component.ts ***!
  \**********************************************************************************************/
/*! exports provided: CargaFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CargaFormComponent", function() { return CargaFormComponent; });
/* 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_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_2__ = __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_config_enumerables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.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 _carga_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../carga.model */ "./src/app/pages/especificos/adonai/relatorios/carga/carga.model.ts");
/* harmony import */ var _carga_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../carga.constants */ "./src/app/pages/especificos/adonai/relatorios/carga/carga.constants.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__ = __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_10__ = __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_11__ = __webpack_require__(/*! ../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../../shared/components/report/report.service */ "./src/app/shared/components/report/report.service.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.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 CargaFormComponent = /** @class */ (function (_super) {
    __extends(CargaFormComponent, _super);
    function CargaFormComponent(router, messageService, activatedRoute, permissoesUtils, tipoDeTransporteService, funcoesService, loginService, reportService, excelService) {
        var _this = _super.call(this, new _carga_constants__WEBPACK_IMPORTED_MODULE_8__["CargaConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.permissoesUtils = permissoesUtils;
        _this.tipoDeTransporteService = tipoDeTransporteService;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.reportService = reportService;
        _this.excelService = excelService;
        _this.data = new _carga_model__WEBPACK_IMPORTED_MODULE_7__["Carga"]();
        _this.mensagens = [];
        _this.constantes = new _carga_constants__WEBPACK_IMPORTED_MODULE_8__["CargaConstants"]();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_3__["Mascaras"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.dropdownList = new Array();
        _this.selectedItems = [];
        _this.dropdownSettings = {};
        _this.export = function (form) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_11__["EventEmitterService"].get("formError").emit(form);
            if (form.invalid) {
                return;
            }
            _this.printParams();
            _this.reportService.exportEspecificos(_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", "carga"), 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;
    }
    CargaFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    CargaFormComponent.prototype.trataTipoTransporte = function (selectedItems) {
        this.data.tipoTransporteId = selectedItems;
    };
    CargaFormComponent.prototype.onSubmit = function (form) {
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_11__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        if (this.funcoesService.isPositive(this.data.destinatarioIdCliente)) {
            if (this.funcoesService.isNotUndefinedOrNull(this.data.cliente)) {
                this.constantes.reportTitulo.subTitulo = this.data.cliente.fantasia;
            }
        }
        this.constantes.reportTitulo.subTitulo = '';
        this.printParams();
        this.print(null, true);
    };
    CargaFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    CargaFormComponent.prototype.onCancelar = function () {
        this.data = new _carga_model__WEBPACK_IMPORTED_MODULE_7__["Carga"]();
    };
    CargaFormComponent.prototype.trataDest = function (destinatario) {
        this.data.cliente = destinatario;
    };
    CargaFormComponent.prototype.printParams = function () {
        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,
            dataI: this.data.dataI === undefined ? "" : this.data.dataI,
            dataF: this.data.dataF === undefined ? "" : this.data.dataF,
            destinatarioIdCliente: this.data.destinatarioIdCliente === undefined ? 0 : this.data.destinatarioIdCliente,
            materialId: this.data.materialId === undefined ? "" : this.data.materialId,
            destinatarioIdClienteVenda: this.data.destinatarioIdClienteVenda === undefined ? 0 : this.data.destinatarioIdClienteVenda,
            tanqueId: this.data.tanqueId === undefined ? "" : this.data.tanqueId,
            loteId: this.data.loteId === undefined ? "" : this.data.loteId,
            prodANP: this.data.prodANP === undefined ? "" : this.data.prodANP,
            ordem: this.data.ordem === undefined ? "" : this.data.ordem,
            tipoTransporteId: this.data.tipoTransporteId === undefined ? "" : this.data.tipoTransporteId,
            apresDados: this.data.apresDados
        };
    };
    CargaFormComponent.prototype.sendMail = function (form) {
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_11__["EventEmitterService"].get("formError").emit(form);
            return;
        }
        this.printParams();
        _super.prototype.sendMail.call(this, this.constantes, true);
    };
    CargaFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_2__["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_components_report_report_service__WEBPACK_IMPORTED_MODULE_12__["ReportService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_13__["ExcelService"] }
    ]; };
    CargaFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-carga-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./carga-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/adonai/relatorios/carga/carga-form/carga-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_9__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            app_pages_cadastro_tipo_de_transporte_tipo_de_transporte_service__WEBPACK_IMPORTED_MODULE_2__["TipoDeTransporteService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_12__["ReportService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_13__["ExcelService"]])
    ], CargaFormComponent);
    return CargaFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/adonai/relatorios/carga/carga.constants.ts":
/*!******************************************************************************!*\
  !*** ./src/app/pages/especificos/adonai/relatorios/carga/carga.constants.ts ***!
  \******************************************************************************/
/*! exports provided: CargaConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CargaConstants", function() { return CargaConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var CargaConstants = /** @class */ (function () {
    function CargaConstants() {
        this.sisFormularioId = 65539;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.carga";
        this.reportId = "ADO0011";
        this.reportTitulo = { "titulo": "Relatório de Cargas", "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 CargaConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/adonai/relatorios/carga/carga.model.ts":
/*!**************************************************************************!*\
  !*** ./src/app/pages/especificos/adonai/relatorios/carga/carga.model.ts ***!
  \**************************************************************************/
/*! exports provided: Carga */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Carga", function() { return Carga; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var Carga = /** @class */ (function () {
    function Carga() {
        this.filialId = 0;
        var currentDate = new Date();
        currentDate.setDate(1);
        this.dataI = currentDate;
        this.dataF = new Date();
        this.destinatarioIdCliente = 0;
        this.destinatarioIdClienteVenda = 0;
        this.materialId = "";
        this.tanqueId = "";
        this.ordem = "DescrCli, DescrMater, DescrTipo, DtAutorizacao";
        this.tipoTransporteId = "";
        this.prodANP = "N";
        this.loteId = "";
        this.apresDados = true;
    }
    return Carga;
}());



/***/ }),

/***/ "./src/app/pages/especificos/adonai/relatorios/carga/carga.module.ts":
/*!***************************************************************************!*\
  !*** ./src/app/pages/especificos/adonai/relatorios/carga/carga.module.ts ***!
  \***************************************************************************/
/*! exports provided: CargaModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CargaModule", function() { return CargaModule; });
/* 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 _carga_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./carga.routing.module */ "./src/app/pages/especificos/adonai/relatorios/carga/carga.routing.module.ts");
/* harmony import */ var _carga_form_carga_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./carga-form/carga-form.component */ "./src/app/pages/especificos/adonai/relatorios/carga/carga-form/carga-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 CargaModule = /** @class */ (function () {
    function CargaModule() {
    }
    CargaModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _carga_routing_module__WEBPACK_IMPORTED_MODULE_2__["CargaRoutingModule"]],
            declarations: [_carga_form_carga_form_component__WEBPACK_IMPORTED_MODULE_3__["CargaFormComponent"]]
        })
    ], CargaModule);
    return CargaModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/adonai/relatorios/carga/carga.routing.module.ts":
/*!***********************************************************************************!*\
  !*** ./src/app/pages/especificos/adonai/relatorios/carga/carga.routing.module.ts ***!
  \***********************************************************************************/
/*! exports provided: CargaRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CargaRoutingModule", function() { return CargaRoutingModule; });
/* 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 _carga_form_carga_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./carga-form/carga-form.component */ "./src/app/pages/especificos/adonai/relatorios/carga/carga-form/carga-form.component.ts");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../config/enumerables */ "./src/app/config/enumerables.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: _carga_form_carga_form_component__WEBPACK_IMPORTED_MODULE_2__["CargaFormComponent"],
        data: { breadcrumb: "carga", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_3__["ActionForm"].index } }
    },
];
var CargaRoutingModule = /** @class */ (function () {
    function CargaRoutingModule() {
    }
    CargaRoutingModule = __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"]],
        })
    ], CargaRoutingModule);
    return CargaRoutingModule;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-adonai-relatorios-carga-carga-module.js.map