(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-vopak-relatorios-alinha-plataforma-escala-alinha-plataforma-escala-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala-form/alinha-plataforma-escala-form.component.html":
/*!**********************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala-form/alinha-plataforma-escala-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<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-6\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"dataHora\" class=\"required\">{{'labels.dataHora' |\n                                                translate}}</label>\n                                            <app-data id=\"dataHora\" name=\"dataHora\" required=\"true\"\n                                                [formatDateTime]=\"mascara.getFormatDataHorMin\"\n                                                [(ngModel)]=\"filtro.dataI\" [ngStyle]=\"{'width':'100%'}\"></app-data>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-8 col-sm-12\">\n                                <fieldset>\n                                    <legend class=\"required\">{{ \"labels.apresentaBaias\" | translate }}\n                                    </legend>\n                                    <div class=\"row\">\n                                        <div class=\"col-lg-4\">\n                                            <div class=\"form-check-inline\">\n                                                <input id=\"apresenta_baias_sim\" class=\"form-check-input\" type=\"radio\"\n                                                    name=\"tipo_mov\" value=\"S\" [(ngModel)]=\"filtro.apresentaBaias\"\n                                                    (change)=\"changeApresentaBaias('S')\">\n                                                <label class=\"form-check-label\" for=\"apresenta_baias_sim\">\n                                                    {{'labels.sim' | translate }}\n                                                </label>\n                                            </div>\n                                        </div>\n                                        <div class=\"col-lg-4\">\n                                            <div class=\"form-check-inline\">\n                                                <input id=\"apresenta_baias_nao\" class=\"form-check-input\" type=\"radio\"\n                                                    name=\"tipo_mov\" value=\"N\" [(ngModel)]=\"filtro.apresentaBaias\"\n                                                    (change)=\"changeApresentaBaias('N')\">\n                                                <label class=\"form-check-label\" for=\"apresenta_baias_nao\">\n                                                    {{'labels.nao' | translate }}\n                                                </label>\n                                            </div>\n                                        </div>\n                                    </div>\n                                </fieldset>\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=\"grupoClienteId\">{{ 'labels.grupo' | translate}}</label>\n                                    <app-combo-grupo-cliente name=\"grupoClienteId\" id=\"grupoClienteId\"\n                                        [(ngModel)]=\"filtro.grupoClienteId\" [disabled]=\"filtro.apresentaBaias !== 'S'\"\n                                        (outSelected)=\"trataGrupoCliente($event)\">\n                                    </app-combo-grupo-cliente>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\"\n                                        modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"filtro.destinatarioIdCliente\"\n                                        tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\"\n                                        [inSelected]=\"filtro.cliente\" (outModel)=\"trataCliente($event)\"\n                                        [disabled]=\"filtro.apresentaBaias !== 'S'\">\n                                    </app-pesquisa-destinatario>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"planejamento\">{{\n                                        \"labels.planejamento\" | translate\n                                        }}</label>\n                                    <select class=\"form-control form-control-sm\" id=\"planejamento\" name=\"planejamento\"\n                                        [(ngModel)]=\"filtro.regPlanej\" [disabled]=\"filtro.apresentaBaias !== 'S'\">\n                                        <option value=\"\">{{ \"labels.selecione\" | translate }}</option>\n                                        <option *ngFor=\"let item of planejamentos\" value=\"{{ item.regPlanej }}\">{{\n                                            item.numPlanej }}\n                                        </option>\n                                    </select>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <app-pesquisa-material id=\"produto\" name=\"produto\" label=\"produto\"\n                                        [(ngModel)]=\"filtro.materialId\" modalTitle=\"pesquisaDeProduto\"\n                                        [inSelected]=\"filtro.material\" (outModel)=\"trataMaterial($event)\"\n                                        [disabled]=\"filtro.apresentaBaias !== 'S'\">\n                                    </app-pesquisa-material>\n                                </div>\n                            </div>\n                        </div>\n                        <div class=\"row\">\n                            <div class=\"col-lg-6 col-md-8 col-sm-12\">\n                                <div class=\"form-group form-group-sm\">\n                                    <label for=\"area\">{{\"labels.area\" | translate}}</label>\n                                    <app-combo-padrao id=\"area\" name=\"area\" tabela=\"CadLocalizacaoPlataforma\"\n                                        chave=\"Registro\" descricao=\"Descricao\" ativo=\"true\"\n                                        [(ngModel)]=\"filtro.cadLocalizacaoPlataformaId\"\n                                        [disabled]=\"funcoesService.isDetail(actionForm)\">\n                                    </app-combo-padrao>\n                                </div>\n                            </div>\n                        </div>\n\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(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</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/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala-form/alinha-plataforma-escala-form.component.ts":
/*!******************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala-form/alinha-plataforma-escala-form.component.ts ***!
  \******************************************************************************************************************************************************/
/*! exports provided: AlinhaPlataformaEscalaFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlinhaPlataformaEscalaFormComponent", function() { return AlinhaPlataformaEscalaFormComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.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_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_5__ = __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_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__ = __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 app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_7__ = __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 _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../../shared/components/report/report.service */ "./src/app/shared/components/report/report.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _alinha_plataforma_escala_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../alinha-plataforma-escala.constants */ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.constants.ts");
/* harmony import */ var _alinha_plataforma_escala_model__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../alinha-plataforma-escala.model */ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.model.ts");
/* harmony import */ var _alinha_plataforma_escala_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../alinha-plataforma-escala.service */ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.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 AlinhaPlataformaEscalaFormComponent = /** @class */ (function (_super) {
    __extends(AlinhaPlataformaEscalaFormComponent, _super);
    function AlinhaPlataformaEscalaFormComponent(funcoes, permissoesUtils, loginService, excelService, reportService, messageService, service) {
        var _this = _super.call(this, new _alinha_plataforma_escala_constants__WEBPACK_IMPORTED_MODULE_14__["AlinhaPlataformaEscalaConstants"](), funcoes) || this;
        _this.funcoes = funcoes;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.excelService = excelService;
        _this.reportService = reportService;
        _this.messageService = messageService;
        _this.service = service;
        _this.filtro = new _alinha_plataforma_escala_model__WEBPACK_IMPORTED_MODULE_15__["AlinhaPlataformaEscala"]();
        _this.mensagens = [];
        _this.constantes = new _alinha_plataforma_escala_constants__WEBPACK_IMPORTED_MODULE_14__["AlinhaPlataformaEscalaConstants"]();
        _this.dataAtual = new Date();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__["Mascaras"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.export = function (form) {
            if (!_this.printParams(form)) {
                return;
            }
            _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", "alinhaPlataformaEscala"), options);
            });
        };
        _this.filialId = loginService.getLogin().filialId;
        return _this;
    }
    AlinhaPlataformaEscalaFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.planejamentos = [];
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { }, function () { return _this.permissoesUtils.back(); }, true);
    };
    AlinhaPlataformaEscalaFormComponent.prototype.onSubmit = function (form) {
        if (!this.printParams(form)) {
            return;
        }
        this.print(null, true);
    };
    AlinhaPlataformaEscalaFormComponent.prototype.onCancelar = function () {
        this.filtro = new _alinha_plataforma_escala_model__WEBPACK_IMPORTED_MODULE_15__["AlinhaPlataformaEscala"]();
    };
    AlinhaPlataformaEscalaFormComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    AlinhaPlataformaEscalaFormComponent.prototype.printParams = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_10__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return false;
        }
        this.constantes.reportId = this.filtro.apresentaBaias === "S" ? "VOP0022" : "VOP0022-1";
        this.constantes.paramRelatorio = {
            filialId: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["NumberUtilsStaticService"].toNumber(this.loginService.getLogin().filialId),
            dataI: this.filtro.dataI,
            grupoClienteId: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["NumberUtilsStaticService"].toNumber(this.filtro.grupoClienteId),
            destinatarioIdCliente: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["NumberUtilsStaticService"].toNumber(this.filtro.destinatarioIdCliente),
            regPlanej: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["NumberUtilsStaticService"].toNumber(this.filtro.regPlanej),
            materialId: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["StringUtilsStaticService"].toString(this.filtro.materialId),
            cadLocalizacaoPlataformaId: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["NumberUtilsStaticService"].toNumber(this.filtro.cadLocalizacaoPlataformaId),
            apresentaBaias: app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["StringUtilsStaticService"].toString(this.filtro.apresentaBaias)
        };
        return true;
    };
    AlinhaPlataformaEscalaFormComponent.prototype.sendMail = function (form) {
        if (!this.printParams(form)) {
            return;
        }
        _super.prototype.sendMail.call(this, this.constantes, true);
    };
    AlinhaPlataformaEscalaFormComponent.prototype.trataCliente = function (destinatario) {
        this.filtro.cliente = destinatario;
        this.filtro.destinatarioIdCliente = destinatario.destinatarioId;
        this.carregaPlanejamentos();
    };
    AlinhaPlataformaEscalaFormComponent.prototype.trataMaterial = function (material) {
        this.filtro.material = material;
    };
    AlinhaPlataformaEscalaFormComponent.prototype.carregaPlanejamentos = function () {
        var _this = this;
        this.service.getPlanejamento({ grupoClienteId: this.filtro.grupoClienteId === "" ? 0 : this.filtro.grupoClienteId, destinatarioIdCliente: this.filtro.destinatarioIdCliente }).subscribe(function (planeja) {
            _this.planejamentos = planeja;
        });
    };
    AlinhaPlataformaEscalaFormComponent.prototype.trataGrupoCliente = function (grupoCliente) {
        if (!grupoCliente) {
            this.filtro.grupoClienteId = "";
        }
        else {
            this.filtro.grupoClienteId = grupoCliente.grupoClienteId;
        }
        this.carregaPlanejamentos();
    };
    AlinhaPlataformaEscalaFormComponent.prototype.changeApresentaBaias = function (value) {
        if (value === "N") {
            this.filtro.grupoClienteId = "";
            this.filtro.destinatarioIdCliente = undefined;
            this.filtro.cliente = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_2__["Destinatario"]();
            this.filtro.materialId = undefined;
            this.filtro.material = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_3__["Material"]();
            this.planejamentos = [];
        }
    };
    AlinhaPlataformaEscalaFormComponent.ctorParameters = function () { return [
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_12__["FuncoesService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_11__["ExcelService"] },
        { type: _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_9__["ReportService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_13__["MessageService"] },
        { type: _alinha_plataforma_escala_service__WEBPACK_IMPORTED_MODULE_16__["AlinhaPlataformaEscalaService"] }
    ]; };
    AlinhaPlataformaEscalaFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-alinha-plataforma-escala-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./alinha-plataforma-escala-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala-form/alinha-plataforma-escala-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_12__["FuncoesService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_6__["PermissoesUtilsService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_11__["ExcelService"],
            _shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_9__["ReportService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_13__["MessageService"],
            _alinha_plataforma_escala_service__WEBPACK_IMPORTED_MODULE_16__["AlinhaPlataformaEscalaService"]])
    ], AlinhaPlataformaEscalaFormComponent);
    return AlinhaPlataformaEscalaFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_8__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.constants.ts":
/*!*******************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.constants.ts ***!
  \*******************************************************************************************************************/
/*! exports provided: AlinhaPlataformaEscalaConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlinhaPlataformaEscalaConstants", function() { return AlinhaPlataformaEscalaConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var AlinhaPlataformaEscalaConstants = /** @class */ (function () {
    function AlinhaPlataformaEscalaConstants() {
        this.sisFormularioId = 65709;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "REL";
        this.nomeForm = "titles.alinhaPlataformaEscala";
        this.reportId = "VOP0022";
        this.reportTitulo = { "titulo": "Alinhamento de Plataformas e Escala de Turno", "subTitulo": "" };
        this.listaForm = [
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' }
        ];
    }
    return AlinhaPlataformaEscalaConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.model.ts":
/*!***************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.model.ts ***!
  \***************************************************************************************************************/
/*! exports provided: AlinhaPlataformaEscala, AlinhaPlataformaEscalaPlanejamentoDto */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlinhaPlataformaEscala", function() { return AlinhaPlataformaEscala; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlinhaPlataformaEscalaPlanejamentoDto", function() { return AlinhaPlataformaEscalaPlanejamentoDto; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var AlinhaPlataformaEscala = /** @class */ (function () {
    function AlinhaPlataformaEscala() {
        this.dataI = new Date();
        this.cadLocalizacaoPlataformaId = "";
        this.apresentaBaias = "S";
        this.regPlanej = "";
        this.grupoClienteId = "";
    }
    return AlinhaPlataformaEscala;
}());

var AlinhaPlataformaEscalaPlanejamentoDto = /** @class */ (function () {
    function AlinhaPlataformaEscalaPlanejamentoDto() {
    }
    return AlinhaPlataformaEscalaPlanejamentoDto;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.module.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.module.ts ***!
  \****************************************************************************************************************/
/*! exports provided: AlinhaPlataformaEscalaModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlinhaPlataformaEscalaModule", function() { return AlinhaPlataformaEscalaModule; });
/* 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 _alinha_plataforma_escala_form_alinha_plataforma_escala_form_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./alinha-plataforma-escala-form/alinha-plataforma-escala-form.component */ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala-form/alinha-plataforma-escala-form.component.ts");
/* harmony import */ var _alinha_plataforma_escala_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./alinha-plataforma-escala.routing.module */ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.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 AlinhaPlataformaEscalaModule = /** @class */ (function () {
    function AlinhaPlataformaEscalaModule() {
    }
    AlinhaPlataformaEscalaModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _alinha_plataforma_escala_routing_module__WEBPACK_IMPORTED_MODULE_3__["AlinhaPlataformaEscalaRoutingModule"]],
            declarations: [_alinha_plataforma_escala_form_alinha_plataforma_escala_form_component__WEBPACK_IMPORTED_MODULE_2__["AlinhaPlataformaEscalaFormComponent"]]
        })
    ], AlinhaPlataformaEscalaModule);
    return AlinhaPlataformaEscalaModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.routing.module.ts":
/*!************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.routing.module.ts ***!
  \************************************************************************************************************************/
/*! exports provided: AlinhaPlataformaEscalaRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlinhaPlataformaEscalaRoutingModule", function() { return AlinhaPlataformaEscalaRoutingModule; });
/* 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 _alinha_plataforma_escala_form_alinha_plataforma_escala_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./alinha-plataforma-escala-form/alinha-plataforma-escala-form.component */ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala-form/alinha-plataforma-escala-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: _alinha_plataforma_escala_form_alinha_plataforma_escala_form_component__WEBPACK_IMPORTED_MODULE_3__["AlinhaPlataformaEscalaFormComponent"],
        data: { breadcrumb: "alinhaPlataformaEscala", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    }
];
var AlinhaPlataformaEscalaRoutingModule = /** @class */ (function () {
    function AlinhaPlataformaEscalaRoutingModule() {
    }
    AlinhaPlataformaEscalaRoutingModule = __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"]],
        })
    ], AlinhaPlataformaEscalaRoutingModule);
    return AlinhaPlataformaEscalaRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.service.ts":
/*!*****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/relatorios/alinha-plataforma-escala/alinha-plataforma-escala.service.ts ***!
  \*****************************************************************************************************************/
/*! exports provided: AlinhaPlataformaEscalaService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AlinhaPlataformaEscalaService", function() { return AlinhaPlataformaEscalaService; });
/* 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 environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.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 AlinhaPlataformaEscalaService = /** @class */ (function (_super) {
    __extends(AlinhaPlataformaEscalaService, _super);
    function AlinhaPlataformaEscalaService(http) {
        var _this = _super.call(this, http, "vopak/relAlinhaPlataformaEscala") || this;
        _this.http = http;
        return _this;
    }
    AlinhaPlataformaEscalaService.prototype.getPlanejamento = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/vopak/relAlinhaPlataformaEscala/getPlanejamento", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    AlinhaPlataformaEscalaService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    AlinhaPlataformaEscalaService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], AlinhaPlataformaEscalaService);
    return AlinhaPlataformaEscalaService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_5__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-vopak-relatorios-alinha-plataforma-escala-alinha-plataforma-escala-module.js.map