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

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/notas-canceladas/notas-canceladas-form/notas-canceladas-form.component.html":
/*!****************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/notas-canceladas/notas-canceladas-form/notas-canceladas-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\"\n    [botoesComando]=\"constantes.listaForm\"></app-menu-command-bar>\n\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <app-form-legenda></app-form-legenda>\n            <div class=\"card-body widget-body\">\n                <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\" autocomplete=\"off\" novalidate>\n                    <app-validacoes></app-validacoes>\n                    <div class=\"row\">\n                        <div class=\"col-lg-3\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"periodoDe\" class=\"required\">{{\"labels.periodoDe\" | translate }}</label>\n                                <app-data id=\"periodoDe\" name=\"periodoDe\" [(ngModel)]=\"notasCanceladas.dataI\"\n                                    class=\"dataHora\" [formatDateTime]=\"mascara.getFormatData\" [required]=\"true\"\n                                    autofocus>\n                                </app-data>\n                            </div>\n                        </div>\n                        <div class=\"col-lg-3\">\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\" [(ngModel)]=\"notasCanceladas.dataF\" class=\"dataHora\"\n                                    [formatDateTime]=\"mascara.getFormatData\" [required]=\"true\" autofocus>\n                                </app-data>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6\">\n                            <app-pesquisa-destinatario id=\"destinatarioIdCliente\" name=\"destinatarioIdCliente\"\n                                label=\"cliente\" modalTitle=\"cliente\" [(ngModel)]=\"notasCanceladas.destinatarioIdCliente\"\n                                tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\">\n                            </app-pesquisa-destinatario>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-3\">\n                            <label for=\"serieId\">{{\"labels.serie\" | translate }}</label>\n                            <app-combo-serie id=\"serieId\" label=\"serieId\" name=\"serieId\" excetoModeloNotaIds=\"[99]\"\n                                [(ngModel)]=\"notasCanceladas.serieId\">\n                            </app-combo-serie>\n                        </div>\n                        <div class=\"col-lg-3\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"moeda\" class=\"required\">{{ 'labels.moeda' | translate }}</label>\n                                <app-combo-padrao id=\"moeda\" name=\"moeda\" tabela=\"Moedas\" chave=\"CodMoeda\"\n                                    descricao=\"DescrMoeda\" [(ngModel)]=\"notasCanceladas.moedaId\" [required]=\"true\"\n                                    [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                </app-combo-padrao>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-6\">\n                            <label for=\"filiais\">{{\"labels.filiais\" | translate}}</label>\n                            <app-combo-multi-padrao id=\"filiais\" name=\"filiais\" tabela=\"Filial\" chave=\"Filial\"\n                                descricao=\"Fantasia\" ativos=\"true\" (outObjeto)=\"trataFilial($event)\" [selectAll]=\"true\">\n                            </app-combo-multi-padrao>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-5\">\n                            <div class=\"form-check mt-4\">\n                                <div class=\"form-group\">\n                                    <input class=\"form-check-input\" type=\"checkbox\" id=\"consideraFormularioCancelado\"\n                                        name=\"consideraFormularioCancelado\"\n                                        (ngModelChange)=\"notasCanceladas.consideraFormularioCancelado = $event ? 'S' : 'N'\"\n                                        [ngModel]=\"notasCanceladas.consideraFormularioCancelado ==='S'\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    <label class=\"form-check-label\"\n                                        for=\"consideraFormularioCancelado\">{{'labels.consideraFormularioCancelado' |\n                                        translate}}\n                                    </label>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row mb-3\">\n                        <div class=\"col-lg-12\">\n                            <div class=\"form-check-inline\">\n                                <input id=\"tipoR\" type=\"radio\" name=\"tipo\" class=\"form-check-input\" value=\"R\"\n                                    [(ngModel)]=\"notasCanceladas.tipo\" />\n                                <label class=\"form-check-label\" for=\"tipoR\">{{ \"labels.resumido\" |\n                                    translate }}</label>\n                            </div>\n                            <div class=\"form-check-inline\">\n                                <input type=\"radio\" id=\"tipoD\" name=\"tipo\" class=\"form-check-input\" value=\"D\"\n                                    [(ngModel)]=\"notasCanceladas.tipo\" />\n                                <label class=\"form-check-label\" for=\"tipoD\">{{ \"labels.detalhado\" |\n                                    translate }}</label>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-3\">\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)=\"notasCanceladas.ordem = $event\"></app-ordem>\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\" [disabled]=\"funcoesService.isDetail(actionForm)\">\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                </form>\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/notas-canceladas/notas-canceladas-form/notas-canceladas-form.component.ts":
/*!************************************************************************************************************!*\
  !*** ./src/app/pages/relatorios/notas-canceladas/notas-canceladas-form/notas-canceladas-form.component.ts ***!
  \************************************************************************************************************/
/*! exports provided: NotasCanceladasFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotasCanceladasFormComponent", function() { return NotasCanceladasFormComponent; });
/* 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 app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _notas_canceladas_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../notas-canceladas.constants */ "./src/app/pages/relatorios/notas-canceladas/notas-canceladas.constants.ts");
/* harmony import */ var _notas_canceladas_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../notas-canceladas.model */ "./src/app/pages/relatorios/notas-canceladas/notas-canceladas.model.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__ = __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_report_report_service__WEBPACK_IMPORTED_MODULE_11__ = __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_12__ = __webpack_require__(/*! ../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.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 NotasCanceladasFormComponent = /** @class */ (function (_super) {
    __extends(NotasCanceladasFormComponent, _super);
    function NotasCanceladasFormComponent(router, loginService, messageService, permissoesUtils, activatedRoute, funcoesService, excelService, reportService, configuracao) {
        var _this = _super.call(this, new _notas_canceladas_constants__WEBPACK_IMPORTED_MODULE_8__["NotasCanceladasConstants"](), funcoesService) || this;
        _this.router = router;
        _this.loginService = loginService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.activatedRoute = activatedRoute;
        _this.funcoesService = funcoesService;
        _this.excelService = excelService;
        _this.reportService = reportService;
        _this.configuracao = configuracao;
        _this.mensagens = [];
        _this.constantes = new _notas_canceladas_constants__WEBPACK_IMPORTED_MODULE_8__["NotasCanceladasConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.notasCanceladas = new _notas_canceladas_model__WEBPACK_IMPORTED_MODULE_9__["NotasCanceladas"]();
        _this.disabledGrupo = false;
        _this.disabledCliente = false;
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_7__["Mascaras"]();
        _this.loadConfig = function () {
            _this.moedaPadrao = _this.configuracao.number("UNI", "MoedaPadrao");
            _this.notasCanceladas.moedaId = _this.moedaPadrao;
        };
        _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", "notasCanceladas"), options);
            });
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    NotasCanceladasFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { }, function () { return _this.permissoesUtils.back(); }, true);
    };
    NotasCanceladasFormComponent.prototype.onSubmit = function (form) {
        if (!this.printParams(form)) {
            return;
        }
        if (this.notasCanceladas.tipo === "D") {
            this.constantes.reportTitulo = { "titulo": "Notas Canceladas - Detalhado", "subTitulo": "" };
            this.constantes.reportId = "REL0025-D";
        }
        else {
            this.constantes.reportTitulo = { "titulo": "Notas Canceladas - Resumido", "subTitulo": "" };
            this.constantes.reportId = "REL0025";
        }
        this.print();
    };
    NotasCanceladasFormComponent.prototype.onCancelar = function () {
        this.notasCanceladas = new _notas_canceladas_model__WEBPACK_IMPORTED_MODULE_9__["NotasCanceladas"]();
    };
    NotasCanceladasFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    NotasCanceladasFormComponent.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.paramRelatorio = {
            filialId: this.loginService.getLogin().filialId,
            dataI: this.notasCanceladas.dataI,
            dataF: this.notasCanceladas.dataF,
            destinatarioIdCliente: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_13__["NumberUtilsStaticService"].toNumber(this.notasCanceladas.destinatarioIdCliente),
            filiais: this.notasCanceladas.filiais,
            tipo: this.notasCanceladas.tipo === "D" ? "D" : "R",
            consideraFormularioCancelado: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["StringUtilsStaticService"].toString(this.notasCanceladas.consideraFormularioCancelado),
            ordem: this.notasCanceladas.ordem,
            serieId: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_14__["StringUtilsStaticService"].toString(this.notasCanceladas.serieId),
            moedaId: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_13__["NumberUtilsStaticService"].toNumber(this.notasCanceladas.moedaId)
        };
        return true;
    };
    NotasCanceladasFormComponent.prototype.sendMail = function (form) {
        if (!this.printParams(form)) {
            return;
        }
        _super.prototype.sendMail.call(this, this.constantes);
    };
    NotasCanceladasFormComponent.prototype.trataFilial = function (selectedItems) {
        this.notasCanceladas.filiais = selectedItems;
    };
    NotasCanceladasFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__["PermissoesUtilsService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__["ExcelService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_11__["ReportService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_15__["ConfiguracaoFacade"] }
    ]; };
    NotasCanceladasFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-notas-canceladas-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./notas-canceladas-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/relatorios/notas-canceladas/notas-canceladas-form/notas-canceladas-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__["PermissoesUtilsService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_12__["ExcelService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_11__["ReportService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_15__["ConfiguracaoFacade"]])
    ], NotasCanceladasFormComponent);
    return NotasCanceladasFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotasCanceladasConstants", function() { return NotasCanceladasConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var NotasCanceladasConstants = /** @class */ (function () {
    function NotasCanceladasConstants() {
        this.sisFormularioId = 35083;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.nomeForm = "titles.notasCanceladas";
        this.reportId = "REL0176";
        this.reportTitulo = { "titulo": "Notas Canceladas", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
        this.orderBy = [
            { field: "Fantasia", description: "Destinatário", direction: "asc", default: false, sequence: 1 },
            { field: "Nota", description: "Nota", direction: "asc", default: true, sequence: 2 },
            { field: "DtEmissao", description: "Data Emissão", direction: "asc", default: true, sequence: 3 }
        ];
        this.listaParam = [
            { 'sistema': 'UNI', 'parametros': ["MoedaPadrao"] }
        ];
    }
    return NotasCanceladasConstants;
}());



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotasCanceladas", function() { return NotasCanceladas; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var NotasCanceladas = /** @class */ (function () {
    function NotasCanceladas() {
        this.filialId = 0;
        this.dataI = new Date();
        this.dataF = new Date();
        this.destinatarioIdCliente = 0;
        this.serieId = "";
        this.consideraFormularioCancelado = "N";
        this.tipo = "D";
        this.filiais = "";
        this.moedaId = 1;
    }
    return NotasCanceladas;
}());



/***/ }),

/***/ "./src/app/pages/relatorios/notas-canceladas/notas-canceladas.module.ts":
/*!******************************************************************************!*\
  !*** ./src/app/pages/relatorios/notas-canceladas/notas-canceladas.module.ts ***!
  \******************************************************************************/
/*! exports provided: NotasCanceladasModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotasCanceladasModule", function() { return NotasCanceladasModule; });
/* 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 _notas_canceladas_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./notas-canceladas.routing.module */ "./src/app/pages/relatorios/notas-canceladas/notas-canceladas.routing.module.ts");
/* harmony import */ var _notas_canceladas_form_notas_canceladas_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./notas-canceladas-form/notas-canceladas-form.component */ "./src/app/pages/relatorios/notas-canceladas/notas-canceladas-form/notas-canceladas-form.component.ts");
/* harmony import */ var _notas_canceladas_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./notas-canceladas.service */ "./src/app/pages/relatorios/notas-canceladas/notas-canceladas.service.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 NotasCanceladasModule = /** @class */ (function () {
    function NotasCanceladasModule() {
    }
    NotasCanceladasModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _notas_canceladas_routing_module__WEBPACK_IMPORTED_MODULE_2__["NotasCanceladasRoutingModule"]],
            declarations: [_notas_canceladas_form_notas_canceladas_form_component__WEBPACK_IMPORTED_MODULE_3__["NotasCanceladasFormComponent"]],
            providers: [_notas_canceladas_service__WEBPACK_IMPORTED_MODULE_4__["NotasCanceladasService"]]
        })
    ], NotasCanceladasModule);
    return NotasCanceladasModule;
}());



/***/ }),

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

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



/***/ }),

/***/ "./src/app/pages/relatorios/notas-canceladas/notas-canceladas.service.ts":
/*!*******************************************************************************!*\
  !*** ./src/app/pages/relatorios/notas-canceladas/notas-canceladas.service.ts ***!
  \*******************************************************************************/
/*! exports provided: NotasCanceladasService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NotasCanceladasService", function() { return NotasCanceladasService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _app_error_handler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.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 NotasCanceladasService = /** @class */ (function (_super) {
    __extends(NotasCanceladasService, _super);
    function NotasCanceladasService(http) {
        var _this = _super.call(this, http, "api") || this;
        _this.http = http;
        return _this;
    }
    NotasCanceladasService.prototype.getByFiltro = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].service_url + "/v1/relatorios/notasCanceladas", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    NotasCanceladasService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    NotasCanceladasService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], NotasCanceladasService);
    return NotasCanceladasService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_3__["BaseService"]));



/***/ })

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