(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-consultas-consulta-acompanhamento-embarque-consulta-acompanhamento-embarque-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.component.html":
/*!***************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-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\r\n        [botoesComando]=\"constantes.listaForm\"\r\n        [sisFormularioId]=\"constantes.sisFormularioId\"\r\n        [formAction]=\"actionForm\"\r\n        [itemData]=\"filtro.regPrograma\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <div class=\"row mt-4\">\r\n        <div class=\"col-lg-4\">\r\n            <label for=\"timer\">\r\n                {{ 'labels.intervaloDeVerificacao' | translate }}:\r\n                <strong> {{ value }} {{ 'labels.segundos' | translate }}</strong>\r\n            </label>\r\n            <div class=\"custom-slider\">\r\n                <ng5-slider id=\"timer\" [(value)]=\"value\" [options]=\"options\" (valueChange)=\"trataConsulta(this.value)\"></ng5-slider>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <table id=\"dtConsultaAcompanhamentoEmbarque\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\r\n        <thead>\r\n        <tr>\r\n            <th>{{ 'labels.codigo' | translate}}</th>\r\n            <th>{{ 'labels.cliente' | translate}}</th>\r\n            <th>{{ 'labels.produto' | translate}}</th>\r\n            <th style=\"text-align: right;\">{{ 'labels.programado' | translate}}</th>\r\n            <th style=\"text-align: right;\">{{ 'labels.reservado' | translate}}</th>\r\n            <th style=\"text-align: right;\">{{ 'labels.disponivel' | translate}}</th>\r\n            <th style=\"text-align: right;\">{{ 'labels.liberado' | translate}}</th>\r\n            <th style=\"text-align: right;\">{{ 'labels.naoLiberado' | translate}}</th>\r\n            <th style=\"text-align: right;\">{{ 'labels.retido' | translate}}</th>\r\n            <th style=\"text-align: right;\">{{ 'labels.total' | translate}}</th>\r\n            <th *ngIf=\"rEExcedente\" style=\"text-align: right;\">{{ 'labels.rESTotais' | translate}}</th>\r\n            <th *ngIf=\"rEExcedente\" style=\"text-align: right;\">{{ 'labels.saldoRES' | translate}}</th>\r\n            <th *ngIf=\"rEExcedente\" style=\"text-align: right;\">{{ 'labels.saldoBase' | translate}}</th>\r\n        </tr>\r\n        </thead>\r\n        <tbody>\r\n        <tr *ngFor=\"let t of dados\">\r\n            <td>{{ t.codDest }}</td>\r\n            <td>{{ t.cliente }}</td>\r\n            <td>{{ t.produto }}</td>\r\n            <td style=\"text-align: right;\">{{ t.planejado | formatCurrency: 0 }}</td>\r\n            <td style=\"text-align: right;\">{{ t.programado | formatCurrency: 0 }}</td>\r\n            <td style=\"text-align: right;\">{{ t.saldo | formatCurrency: 0 }}</td>\r\n            <td style=\"text-align: right;\">{{ t.liberado | formatCurrency: 0 }}</td>\r\n            <td style=\"text-align: right;\">{{ t.sLiberacao | formatCurrency: 0 }}</td>\r\n            <td style=\"text-align: right;\">{{ t.retido | formatCurrency: 0 }}</td>\r\n            <td style=\"text-align: right;\">{{ t.saldoTotal | formatCurrency: 0 }}</td>\r\n            <td *ngIf=\"rEExcedente\" style=\"text-align: right;\">{{ t.tProgramado | formatCurrency: 0 }}</td>\r\n            <td *ngIf=\"rEExcedente\" style=\"text-align: right;\">{{ t.saldoRE | formatCurrency: 0 }}</td>\r\n            <td *ngIf=\"rEExcedente\" style=\"text-align: right;\">{{ t.sProgramado | formatCurrency: 0 }}</td>\r\n        </tr>\r\n        </tbody>\r\n    </table>\r\n</div>\r\n\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component.html":
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.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 [botoesComando]=\"constantes.listaIndex\"\r\n                      [formAction]=\"actionForm\"\r\n                      [itemData]=\"data.regPrograma\"\r\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <table id=\"dtConsultaAcompanhamentoEmbarque\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\r\n    </table>\r\n</div>\r\n\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\r\n<app-propriedades></app-propriedades>\r\n\r\n\r\n");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.component.ts":
/*!***********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.component.ts ***!
  \***********************************************************************************************************************************************************/
/*! exports provided: ConsultaAcompanhamentoEmbarqueFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueFormComponent", function() { return ConsultaAcompanhamentoEmbarqueFormComponent; });
/* 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 _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../consulta-acompanhamento-embarque.constants */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.constants.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../consulta-acompanhamento-embarque.model */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.model.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../consulta-acompanhamento-embarque.service */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.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 ConsultaAcompanhamentoEmbarqueFormComponent = /** @class */ (function (_super) {
    __extends(ConsultaAcompanhamentoEmbarqueFormComponent, _super);
    function ConsultaAcompanhamentoEmbarqueFormComponent(router, messageService, activatedRoute, configuracao, service, funcoesService, permissoesUtils, datatablesService) {
        var _this = _super.call(this, new _consulta_acompanhamento_embarque_constants__WEBPACK_IMPORTED_MODULE_9__["ConsultaAcompanhamentoEmbarqueConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.configuracao = configuracao;
        _this.service = service;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.datatablesService = datatablesService;
        _this.filtro = new _consulta_acompanhamento_embarque_model__WEBPACK_IMPORTED_MODULE_10__["ConsultaAcompanhamentoEmbarqueFilter"]();
        _this.mensagens = [];
        _this.rEExcedente = false;
        _this.constantes = new _consulta_acompanhamento_embarque_constants__WEBPACK_IMPORTED_MODULE_9__["ConsultaAcompanhamentoEmbarqueConstants"]();
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        _this.triggerFocus = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this.options = {
            floor: 0,
            ceil: 120,
            showTicks: true,
            step: 1
        };
        _this.target = _this.funcoesService.getTargetLocation();
        _this.loadConfig = function () {
            _this.rEExcedente = _this.configuracao.lerConfig("OPE", "ReExcedente") === "S" ? true : false;
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    ConsultaAcompanhamentoEmbarqueFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.value = 0;
        this.minValue = 0;
        this.maxValue = 30;
        this.triggerFocus.emit(0);
        this.filtro.intervaloVerificacao = this.value;
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, this.permissoesUtils.getLibRotina(this.actionForm), function () {
            var id = _this.activatedRoute.snapshot.paramMap.get("id");
            if (_this.funcoesService.isNotUndefinedOrNull(id)) {
                _this.filtro.regPrograma = +id;
                if (_this.filtro.intervaloVerificacao === 0) {
                    _this.service.getDados(_this.filtro).subscribe(function (data) {
                        _this.dados = data;
                        _this.datatablesService.toDataTable({ tableId: 'dtConsultaAcompanhamentoEmbarque', type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["ETypesTables"].DEFAULT });
                    });
                }
                _this.updateTimer();
            }
        }, function () {
            _this.permissoesUtils.back();
        });
    };
    ConsultaAcompanhamentoEmbarqueFormComponent.prototype.back = function () {
        clearInterval(this._updateList);
        this.router.navigate([this.target + "/consultas/consultaAcompanhamentoEmbarque"]);
    };
    ConsultaAcompanhamentoEmbarqueFormComponent.prototype.updateTimer = function () {
        var _this = this;
        if (this.filtro.intervaloVerificacao === 0) {
            clearInterval(this._updateList);
            return;
        }
        clearInterval(this._updateList);
        var interval = this.filtro.intervaloVerificacao * 1000;
        this._updateList = setInterval(function () {
            _this.service.getDados(_this.filtro).subscribe(function (resp) {
                _this.dados = resp;
                _this.datatablesService.toDataTable({ tableId: 'dtConsultaAcompanhamentoEmbarque', type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["ETypesTables"].DEFAULT });
            });
        }, interval);
    };
    ConsultaAcompanhamentoEmbarqueFormComponent.prototype.trataConsulta = function (value) {
        this.filtro.intervaloVerificacao = value;
        this.updateTimer();
    };
    ConsultaAcompanhamentoEmbarqueFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__["ConfiguracaoFacade"] },
        { type: _consulta_acompanhamento_embarque_service__WEBPACK_IMPORTED_MODULE_11__["ConsultaAcompanhamentoEmbarqueService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"] }
    ]; };
    ConsultaAcompanhamentoEmbarqueFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-consulta-acompanhamento-embarque-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-acompanhamento-embarque-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./consulta-acompanhamento-embarque-form.scss */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__["ConfiguracaoFacade"],
            _consulta_acompanhamento_embarque_service__WEBPACK_IMPORTED_MODULE_11__["ConsultaAcompanhamentoEmbarqueService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_6__["FuncoesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_7__["PermissoesUtilsService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_4__["DatatablesService"]])
    ], ConsultaAcompanhamentoEmbarqueFormComponent);
    return ConsultaAcompanhamentoEmbarqueFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_3__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.scss":
/*!***************************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.scss ***!
  \***************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".custom-slider .ng5-slider .ng5-slider-bar {\n  background: #7874af;\n  height: 2px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-selection {\n  background: #bd7d05;\n}\n\n.custom-slider .ng5-slider .ng5-slider-pointer {\n  width: 8px;\n  height: 16px;\n  top: auto;\n  /* to remove the default positioning */\n  bottom: 0;\n  background-color: #333;\n  border-top-left-radius: 3px;\n  border-top-right-radius: 3px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-pointer:after {\n  display: none;\n}\n\n.custom-slider .ng5-slider .ng5-slider-bubble {\n  bottom: 14px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-limit {\n  font-weight: bold;\n  color: #827eb5;\n}\n\n.custom-slider .ng5-slider .ng5-slider-tick {\n  width: 1px;\n  height: 10px;\n  margin-left: 4px;\n  border-radius: 0;\n  background: #827eb5;\n  top: -1px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-tick.ng5-slider-selected {\n  background: #e49607;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvY29uc3VsdGFzL2NvbnN1bHRhLWFjb21wYW5oYW1lbnRvLWVtYmFycXVlL2NvbnN1bHRhLWFjb21wYW5oYW1lbnRvLWVtYmFycXVlLWZvcm0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1xufVxuXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci1saW1pdCB7XG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xuICBjb2xvcjogIzgyN2ViNTtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItdGljayB7XG4gIHdpZHRoOiAxcHg7XG4gIGhlaWdodDogMTBweDtcbiAgbWFyZ2luLWxlZnQ6IDRweDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgYmFja2dyb3VuZDogIzgyN2ViNTtcbiAgdG9wOiAtMXB4O1xufVxuXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci10aWNrLm5nNS1zbGlkZXItc2VsZWN0ZWQge1xuICBiYWNrZ3JvdW5kOiAjZTQ5NjA3O1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component.ts":
/*!*************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component.ts ***!
  \*************************************************************************************************************************************************************/
/*! exports provided: ConsultaAcompanhamentoEmbarqueIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueIndexComponent", function() { return ConsultaAcompanhamentoEmbarqueIndexComponent; });
/* 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 _consulta_acompanhamento_embarque_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../consulta-acompanhamento-embarque.constants */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.constants.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../consulta-acompanhamento-embarque.service */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.service.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../consulta-acompanhamento-embarque.model */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.model.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__ = __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_9__ = __webpack_require__(/*! ../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../pages/login/login.service */ "./src/app/pages/login/login.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 ConsultaAcompanhamentoEmbarqueIndexComponent = /** @class */ (function (_super) {
    __extends(ConsultaAcompanhamentoEmbarqueIndexComponent, _super);
    function ConsultaAcompanhamentoEmbarqueIndexComponent(router, datatablesService, funcoesService, messageService, permissoesUtils, consultaAcompanhamentoEmbarqueService, loginService, excelService) {
        var _this = _super.call(this, new _consulta_acompanhamento_embarque_constants__WEBPACK_IMPORTED_MODULE_2__["ConsultaAcompanhamentoEmbarqueConstants"](), funcoesService) || this;
        _this.router = router;
        _this.datatablesService = datatablesService;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.consultaAcompanhamentoEmbarqueService = consultaAcompanhamentoEmbarqueService;
        _this.loginService = loginService;
        _this.excelService = excelService;
        _this.data = new _consulta_acompanhamento_embarque_model__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcompanhamentoEmbarque"]();
        _this.constantes = new _consulta_acompanhamento_embarque_constants__WEBPACK_IMPORTED_MODULE_2__["ConsultaAcompanhamentoEmbarqueConstants"]();
        _this.filtro = new _consulta_acompanhamento_embarque_model__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcompanhamentoEmbarqueFilter"]();
        _this.hasDados = false;
        _this.target = _this.funcoesService.getTargetLocation();
        _this.refresh = function () {
            _this.consultaAcompanhamentoEmbarqueService.get().subscribe(function (data) {
                _this.dados = data;
                var columns = [
                    _this.datatablesService.getDataString("laudoId", "laudo", "10%"),
                    _this.datatablesService.getDataString("laudo", "numeroDeControle", "10%"),
                    _this.datatablesService.getDataString("regPrograma", "programa", "10%"),
                    _this.datatablesService.getDataString("navio", "navio"),
                    _this.datatablesService.getDataDateTime("data", "data", "DD/MM/YYYY", "10%"),
                    _this.datatablesService.getDataString("viagem", "viagem"),
                    _this.datatablesService.getDataString("sitReg", "situacao"),
                    _this.datatablesService.getDataString("pier", "pier")
                ];
                _this.datatablesService.toDataTable({ tableId: 'dtConsultaAcompanhamentoEmbarque', columns: columns, data: data, orientationOrder: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_7__["EOrientationOrder"].ASC }, function (aData) {
                    _this.data = aData;
                });
            });
        };
        _this.detail = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 1, function () {
                if (!!(_this.data.regPrograma)) {
                    _this.router.navigate([_this.target + "/consultas/consultaAcompanhamentoEmbarque/detail/" + _this.data.regPrograma]);
                }
            });
        };
        _this.permissoes = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 2, function () {
                _super.prototype.permissoes.call(_this, _this.constantes);
            });
        };
        _this.print = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 3, function () {
                _super.prototype.print.call(_this);
            });
        };
        _this.export = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 4, function () {
                var headerDictionary = {
                    "laudoId": "laudo",
                    "laudo": "numeroDeControle",
                    "regPrograma": "programa",
                    "tipoPlaneja": "tipo",
                    "regPlaneja": "planejamento",
                    "dtEmissao": "emissao",
                    "cliente": "cliente",
                    "clienteVenda": "clienteVenda",
                    "razaoTransp": "transportadora",
                    "placaCavalo": "placaCavalo",
                    "placaCarreta1": "placaCarreta1",
                    "placaCarreta2": "placaCarreta2",
                    "cpfMotorista": "cpfMotorista",
                    "nomeMotorista": "motorista",
                    "observ": "observacao",
                    "tipoVeiculo": "tipoVeiculo",
                    "dtOperInc": "inclusaoPortal",
                    "dtChegada": "chegada",
                    "tipoMov": "operacao",
                    "modal": "modal",
                    "requisicao": "requisicao",
                    "sequencia": "sequencia",
                    "flagStatus": "status",
                    "quantid": "quantidade",
                    "produtos": "produtos",
                    "codCheckList": "CheckList",
                    "dtDescarga": "dataDescarga",
                    "descrMov": "descricao",
                    "placaCarreta": "placaCarreta1",
                    "codDest": "codigo",
                    "nomeTransp": "nomeTransportadora",
                    "nomeMoto": "nomeMotorista",
                    "operExc": "operador",
                    "dtOperExc": "dtExcluida",
                    "dataDocumento": "dtDocto"
                };
                var options = {
                    headerJsonKeys: true,
                    headerDictionary: headerDictionary
                };
                _this.excelService.exportAsExcelFile(_this.dados, 'ConsultaAcompanhamentoEmbarque', options);
            });
        };
        return _this;
    }
    ConsultaAcompanhamentoEmbarqueIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { return _this.refresh(); }, function () { return _this.permissoesUtils.back(); }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'export', func: function () { return _this.export; } },
        ]);
    };
    ConsultaAcompanhamentoEmbarqueIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_7__["DatatablesService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__["PermissoesUtilsService"] },
        { type: _consulta_acompanhamento_embarque_service__WEBPACK_IMPORTED_MODULE_3__["ConsultaAcompanhamentoEmbarqueService"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_5__["ExcelService"] }
    ]; };
    ConsultaAcompanhamentoEmbarqueIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-consulta-acompanhamento-embarque-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-acompanhamento-embarque-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_7__["DatatablesService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__["PermissoesUtilsService"],
            _consulta_acompanhamento_embarque_service__WEBPACK_IMPORTED_MODULE_3__["ConsultaAcompanhamentoEmbarqueService"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_5__["ExcelService"]])
    ], ConsultaAcompanhamentoEmbarqueIndexComponent);
    return ConsultaAcompanhamentoEmbarqueIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.constants.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.constants.ts ***!
  \****************************************************************************************************************/
/*! exports provided: ConsultaAcompanhamentoEmbarqueConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueConstants", function() { return ConsultaAcompanhamentoEmbarqueConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaAcompanhamentoEmbarqueConstants = /** @class */ (function () {
    function ConsultaAcompanhamentoEmbarqueConstants() {
        this.sisFormularioId = 250079;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.exportExcel" }
        ];
        this.sisSistemaId = "CON";
        this.nomeForm = "titles.consultaAcompanhamentoEmbarque";
        this.reportId = "CON0021";
        this.listaIndex = [
            { title: 'Visualizar', action: 'detail', icon: "icon-eye", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'exportExcel', action: 'export', icon: "fa fa-file-excel-o", exibeButton: true, eximeMenu: true, menuName: 'Arquivo', depitem: false },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
        this.listaForm = [
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
        this.listaParam = [
            { 'sistema': 'OPE', 'parametros': ["REExcedente"] }
        ];
    }
    return ConsultaAcompanhamentoEmbarqueConstants;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.model.ts":
/*!************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.model.ts ***!
  \************************************************************************************************************/
/*! exports provided: ConsultaAcompanhamentoEmbarqueFilter, ConsultaAcompanhamentoEmbarqueDto, ConsultaAcompanhamentoEmbarque */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueFilter", function() { return ConsultaAcompanhamentoEmbarqueFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueDto", function() { return ConsultaAcompanhamentoEmbarqueDto; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarque", function() { return ConsultaAcompanhamentoEmbarque; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaAcompanhamentoEmbarqueFilter = /** @class */ (function () {
    function ConsultaAcompanhamentoEmbarqueFilter() {
        this.regPrograma = 0;
        this.intervaloVerificacao = 0;
    }
    return ConsultaAcompanhamentoEmbarqueFilter;
}());

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

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



/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.module.ts":
/*!*************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.module.ts ***!
  \*************************************************************************************************************/
/*! exports provided: ConsultaAcompanhamentoEmbarqueModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueModule", function() { return ConsultaAcompanhamentoEmbarqueModule; });
/* 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 _consulta_acompanhamento_embarque_index_consulta_acompanhamento_embarque_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./consulta-acompanhamento-embarque.routing.module */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.routing.module.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_form_consulta_acompanhamento_embarque_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.component */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-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 ConsultaAcompanhamentoEmbarqueModule = /** @class */ (function () {
    function ConsultaAcompanhamentoEmbarqueModule() {
    }
    ConsultaAcompanhamentoEmbarqueModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _consulta_acompanhamento_embarque_routing_module__WEBPACK_IMPORTED_MODULE_3__["ConsultaAcompanhamentoEmbarqueRoutingModule"]],
            declarations: [_consulta_acompanhamento_embarque_index_consulta_acompanhamento_embarque_index_component__WEBPACK_IMPORTED_MODULE_2__["ConsultaAcompanhamentoEmbarqueIndexComponent"], _consulta_acompanhamento_embarque_form_consulta_acompanhamento_embarque_form_component__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcompanhamentoEmbarqueFormComponent"]]
        })
    ], ConsultaAcompanhamentoEmbarqueModule);
    return ConsultaAcompanhamentoEmbarqueModule;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.routing.module.ts":
/*!*********************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.routing.module.ts ***!
  \*********************************************************************************************************************/
/*! exports provided: ConsultaAcompanhamentoEmbarqueRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueRoutingModule", function() { return ConsultaAcompanhamentoEmbarqueRoutingModule; });
/* 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 _consulta_acompanhamento_embarque_index_consulta_acompanhamento_embarque_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-index/consulta-acompanhamento-embarque-index.component.ts");
/* harmony import */ var _consulta_acompanhamento_embarque_form_consulta_acompanhamento_embarque_form_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-form.component */ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque-form/consulta-acompanhamento-embarque-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: _consulta_acompanhamento_embarque_index_consulta_acompanhamento_embarque_index_component__WEBPACK_IMPORTED_MODULE_3__["ConsultaAcompanhamentoEmbarqueIndexComponent"],
        data: { breadcrumb: "consultaAcompanhamentoEmbarque" }
    },
    {
        path: "detail/:id",
        component: _consulta_acompanhamento_embarque_form_consulta_acompanhamento_embarque_form_component__WEBPACK_IMPORTED_MODULE_4__["ConsultaAcompanhamentoEmbarqueFormComponent"],
        data: {
            breadcrumb: "consultaAcompanhamentoEmbarque",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var ConsultaAcompanhamentoEmbarqueRoutingModule = /** @class */ (function () {
    function ConsultaAcompanhamentoEmbarqueRoutingModule() {
    }
    ConsultaAcompanhamentoEmbarqueRoutingModule = __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"]]
        })
    ], ConsultaAcompanhamentoEmbarqueRoutingModule);
    return ConsultaAcompanhamentoEmbarqueRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.service.ts":
/*!**************************************************************************************************************!*\
  !*** ./src/app/pages/consultas/consulta-acompanhamento-embarque/consulta-acompanhamento-embarque.service.ts ***!
  \**************************************************************************************************************/
/*! exports provided: ConsultaAcompanhamentoEmbarqueService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaAcompanhamentoEmbarqueService", function() { return ConsultaAcompanhamentoEmbarqueService; });
/* 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 _shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.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 rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../login/login.service */ "./src/app/pages/login/login.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 ConsultaAcompanhamentoEmbarqueService = /** @class */ (function (_super) {
    __extends(ConsultaAcompanhamentoEmbarqueService, _super);
    function ConsultaAcompanhamentoEmbarqueService(http, loginService) {
        var _this = _super.call(this, http, "consultas/consultaAcompanhamentoEmbarque") || this;
        _this.http = http;
        _this.loginService = loginService;
        return _this;
    }
    ConsultaAcompanhamentoEmbarqueService.prototype.getDados = function (data) {
        return this.http
            .post(_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].service_url + "/api/v1/consultas/consultaAcompanhamentoEmbarque/getDados", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_4__["ErrorHandler"].handleError));
    };
    ConsultaAcompanhamentoEmbarqueService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] }
    ]; };
    ConsultaAcompanhamentoEmbarqueService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"]])
    ], ConsultaAcompanhamentoEmbarqueService);
    return ConsultaAcompanhamentoEmbarqueService;
}(_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_2__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-consultas-consulta-acompanhamento-embarque-consulta-acompanhamento-embarque-module.js.map