(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-ageo-movimentos-monitoramento-carregamento-monitoramento-carregamento-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-filter/monitoramento-carregamento-filter.component.html":
/*!*******************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-filter/monitoramento-carregamento-filter.component.html ***!
  \*******************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal\" id=\"monitoramento-carregamento-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop='static'>\n    <div class=\"uni-modal-dialog-md-40\">\n        <div class=\"modal-content\">\n            <div class=\"modal-header\">\n                <h6 class=\"modal-title\">{{ 'titles.monitoramentoCarregamento' | translate }}</h6>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\" autocomplete=\"off\">\n                <app-validacoes></app-validacoes>\n\n                <div class=\"modal-body\">\n                    <div class=\"row mb-4\">\n                        <div class=\"col-lg-3 col-md-3 col-sd-12\">\n                            <label for=\"tipoBarra\">{{ 'labels.tipoDeBarra' | translate }}</label>\n                            <select class=\"form-control form-control-sm\" id=\"tipoBarra\" name=\"tipoBarra\"\n                                [(ngModel)]=\"service.filtro.tipoBarra\">\n                                <option value=\"1\">{{ 'labels.ladoAlado' | translate }}</option>\n                                <option value=\"2\">{{ 'labels.empilhado' | translate }}</option>\n                                <option value=\"3\">{{ 'labels.empilhado100' | translate }}</option>\n                            </select>\n                        </div>\n\n                        <div class=\"col-lg-3 col-md-3 col-sd-12\">\n                            <label for=\"itensPorPagina\" class=\"required\">{{ 'labels.itensPorPagina' | translate\n                                }}</label>\n                            <input class=\"form-control form-control-sm\" id=\"itensPorPagina\" name=\"itensPorPagina\"\n                                [(ngModel)]=\"service.filtro.itensPorPagina\" required=\"true\">\n                        </div>\n\n                        <!-- <div class=\"col-lg-2 col-md-2 col-sm-12\">\n                            <label for=\"tipoBarra\">{{ 'labels.exibirEm' | translate }}</label>\n                            <div class=\"form-check\">\n                                <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"3d\" checked>\n                                <label class=\"form-check-label\" for=\"3d\">\n                                    {{'labels.3d' | translate }}\n                                </label>\n                            </div>\n                        </div> -->\n\n                        <div class=\"col-lg-2 col-md-2 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"pagina\">{{ 'labels.pagina' | translate }}</label>\n                                <input type=\"number\" class=\"form-control-sm form-control\" name=\"pagina\" id=\"pagina\"\n                                    [(ngModel)]=\"service.filtro.pagina\" min=\"1\" [max]=\"service.filtro.valPagMax\">\n                            </div>\n                        </div>\n\n                        <div class=\"col-lg-3 col-md-3 col-sd-12\">\n                            <div class=\"form-check mt-4\">\n                                <input class=\"form-check-input\" type=\"checkbox\" id=\"alertaSonoro\" name=\"alertaSonoro\"\n                                    [(ngModel)]=\"service.filtro.alertaSonoro\"\n                                    [checked]=\"service.filtro.alertaSonoro === 'S'\"\n                                    (change)=\"service.filtro.alertaSonoro = $event.target.checked ? 'S' : 'N'\">\n                                <label class=\"form-check-label\" for=\"alertaSonoro\">\n                                    {{'labels.alertaSonoro' | translate }}\n                                </label>\n                            </div>\n                        </div>\n\n                    </div>\n\n                    <div class=\"row mb-4\">\n                        <div class=\"col-md-12\">\n                            <label for=\"timer\" class=\"required\">\n                                {{ 'labels.intervaloDeVerificacao' | translate }}:\n                                <strong> {{ value }} {{ 'labels.segundos' | translate }}</strong>\n                            </label>\n                            <div class=\"custom-slider\">\n                                <ng5-slider id=\"timer\" required=\"true\" [(value)]=\"value\"\n                                    [options]=\"options\"></ng5-slider>\n                            </div>\n                        </div>\n\n                    </div>\n                </div>\n\n                <div class=\"modal-footer\">\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">\n                        {{ 'buttons.pesquisar' | translate }}\n                    </button>\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">\n                        Sair\n                    </button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento-index.component.html":
/*!*****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento-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 [sisFormularioId]=\"constantes.sisFormularioId\" [botoesComando]=\"constantes.listaForm\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <div class=\"box-shadow\" style=\"padding: 10px; background-color: #fff; margin: 10px 0;position: relative\">\n        <div class=\"text-center\">\n            <h4>{{ 'titles.monitoramentoCarregamento' | translate }}</h4>\n        </div>\n        <div class=\"row\">\n            <div class=\"col-lg-12\">\n                <div *ngIf=\"barChartData\">\n                    <canvas baseChart [datasets]=\"barChartData\" [labels]=\"barChartLabels\" [options]=\"barChartOptions\"\n                        [legend]=\"barChartLegend\" [chartType]=\"barChartType\" [plugins]=\"barChartPlugins\"\n                        [colors]=\"barChartColors\" (chartClick)=\"onChartClick($event)\"></canvas>\n                </div>\n            </div>\n            <div class=\"col-lg 12\" *ngIf=\"hasDados\">\n                <a href=\"#\" class=\"btn btn-info btn-block\" (click)=\"downloadCanvas($event)\"> {{ 'buttons.exportarDados'\n                    | translate }}</a>\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-monitoramento-carregamento-filter (filtrar)=\"refresh()\"></app-monitoramento-carregamento-filter>");

/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-filter/monitoramento-carregamento-filter.component.ts":
/*!***************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-filter/monitoramento-carregamento-filter.component.ts ***!
  \***************************************************************************************************************************************************************/
/*! exports provided: MonitoramentoCarregamentoFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamentoFilterComponent", function() { return MonitoramentoCarregamentoFilterComponent; });
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var _monitoramento_carregamento_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../monitoramento-carregamento.constants */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.constants.ts");
/* harmony import */ var _monitoramento_carregamento_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../monitoramento-carregamento.service */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.service.ts");
/* harmony import */ var _monitoramento_carregamento_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../monitoramento-carregamento.model */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.model.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 __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 MonitoramentoCarregamentoFilterComponent = /** @class */ (function () {
    function MonitoramentoCarregamentoFilterComponent(service, message, funcoesService, messageService) {
        this.service = service;
        this.message = message;
        this.funcoesService = funcoesService;
        this.messageService = messageService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["Mascaras"]();
        this.constantes = new _monitoramento_carregamento_constants__WEBPACK_IMPORTED_MODULE_6__["MonitoramentoCarregamentoConstants"]();
        this.value = 0;
        this.options = {
            floor: 0,
            ceil: 180,
            showTicks: true,
            step: 1
        };
    }
    MonitoramentoCarregamentoFilterComponent.prototype.ngOnInit = function () {
        if (!this.service.filtro) {
            this.service.filtro = new _monitoramento_carregamento_model__WEBPACK_IMPORTED_MODULE_8__["MonitoramentoCarregamentoFiltro"]();
        }
    };
    MonitoramentoCarregamentoFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_3__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.filtrar.emit();
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_5__["ModalUtilsStaticService"].closeModal("monitoramento-carregamento-dialog");
    };
    MonitoramentoCarregamentoFilterComponent.prototype.trataConsulta = function (value) {
        this.service.filtro.intervaloVerificacao = value;
    };
    MonitoramentoCarregamentoFilterComponent.ctorParameters = function () { return [
        { type: _monitoramento_carregamento_service__WEBPACK_IMPORTED_MODULE_7__["MonitoramentoCarregamentoService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_0__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_0__["MessageService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(),
        __metadata("design:type", Object)
    ], MonitoramentoCarregamentoFilterComponent.prototype, "filtrar", void 0);
    MonitoramentoCarregamentoFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-monitoramento-carregamento-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./monitoramento-carregamento-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-filter/monitoramento-carregamento-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_monitoramento_carregamento_service__WEBPACK_IMPORTED_MODULE_7__["MonitoramentoCarregamentoService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_0__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_0__["MessageService"]])
    ], MonitoramentoCarregamentoFilterComponent);
    return MonitoramentoCarregamentoFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento-index.component.ts":
/*!*************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento-index.component.ts ***!
  \*************************************************************************************************************************************************************/
/*! exports provided: MonitoramentoCarregamentoIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamentoIndexComponent", function() { return MonitoramentoCarregamentoIndexComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__ = __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_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _monitoramento_carregamento_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../monitoramento-carregamento.model */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.model.ts");
/* harmony import */ var _monitoramento_carregamento_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../monitoramento-carregamento.constants */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.constants.ts");
/* harmony import */ var _monitoramento_carregamento_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../monitoramento-carregamento.service */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.service.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/shared/components/commons/table/table.component */ "./src/app/shared/components/commons/table/table.component.ts");
/* harmony import */ var chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! chartjs-plugin-annotation */ "./node_modules/chartjs-plugin-annotation/src/index.js");
/* harmony import */ var chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_15__);
/* harmony import */ var chart_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! chart.js */ "./node_modules/chart.js/dist/Chart.js");
/* harmony import */ var chart_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(chart_js__WEBPACK_IMPORTED_MODULE_16__);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};



















var MonitoramentoCarregamentoIndexComponent = /** @class */ (function (_super) {
    __extends(MonitoramentoCarregamentoIndexComponent, _super);
    function MonitoramentoCarregamentoIndexComponent(router, messageService, activatedRoute, configuracao, funcoesService, permissoesUtils, service, loginService, datatablesService) {
        var _this = _super.call(this, new _monitoramento_carregamento_constants__WEBPACK_IMPORTED_MODULE_9__["MonitoramentoCarregamentoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.configuracao = configuracao;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.service = service;
        _this.loginService = loginService;
        _this.datatablesService = datatablesService;
        _this.data = new _monitoramento_carregamento_model__WEBPACK_IMPORTED_MODULE_8__["MonitoramentoCarregamento"]();
        _this.mensagens = [];
        _this.constantes = new _monitoramento_carregamento_constants__WEBPACK_IMPORTED_MODULE_9__["MonitoramentoCarregamentoConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.mascara = new _config_enumerables__WEBPACK_IMPORTED_MODULE_7__["Mascaras"]();
        _this.hasDados = false;
        _this.dados = [];
        _this.dadosSelecionado = [];
        _this.alterados = [];
        _this.barChartLegend = true;
        _this.barChartType = 'bar';
        _this.barChartPlugins = [chartjs_plugin_annotation__WEBPACK_IMPORTED_MODULE_15__];
        _this.barChartColors = [
            {
                backgroundColor: '#ff0000',
                borderColor: '#ff0000',
                pointBackgroundColor: '#ff0000',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: '#ff0000'
            },
            {
                backgroundColor: '#ffff00',
                borderColor: '#ffff00',
                pointBackgroundColor: '#ffff00',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: '#ffff00'
            },
            {
                backgroundColor: '#0000ff',
                borderColor: '#0000ff',
                pointBackgroundColor: '#0000ff',
                pointBorderColor: '#fff',
                pointHoverBackgroundColor: '#fff',
                pointHoverBorderColor: '#0000ff'
            },
        ];
        _this.loadConfig = function () {
            if (_this.configuracao.isLoadConfig()) {
                _this.data.filialId = _this.loginService.getLogin().filialId;
                _this.data.minEmitirAlerta = _this.configuracao.number("REL", "MinEmitirAlerta");
            }
        };
        _this.chamar = function () {
            var speechSynthesis = window.speechSynthesis;
            if (speechSynthesis.speaking) {
                console.error("speechSynthesis.speaking");
                return;
            }
            var speechSynthesisVoice = speechSynthesis.getVoices().find(function (c) { return c.name === "Google português do Brasil"; });
            var utterThis = new SpeechSynthesisUtterance("Alerta");
            utterThis.onerror = function () { return console.error("SpeechSynthesisUtterance.onerror"); };
            utterThis.voice = speechSynthesisVoice;
            utterThis.pitch = 0;
            utterThis.rate = 0.9;
            speechSynthesis.speak(utterThis);
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    MonitoramentoCarregamentoIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            if (!_this.loginService.isTokenExpired()) {
                _this.configuracao.getConfig({
                    codRotina: _this.constantes.sisFormularioId,
                    configs: _this.constantes.configuracoes
                }, _this.loadConfig);
                _this.refresh();
            }
        }, function () { return _this.permissoesUtils.back(); }, true);
    };
    MonitoramentoCarregamentoIndexComponent.prototype.onSubmit = function (form) {
        if (form.invalid) {
            _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_6__["EventEmitterService"].get("formError").emit(form);
            return;
        }
    };
    MonitoramentoCarregamentoIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.filtro.minEmitirAlerta = this.data.minEmitirAlerta;
        this.service.processarMonitoramento(this.service.filtro).subscribe(function (dados) {
            _this.dados = dados || [];
            _this.hasDados = _this.dados.length > 0;
            if (_this.dados.length === 0) {
                _this.barChartLabels = ['Sem Dados'];
                _this.barChartData = [
                    { data: [0], label: 'Tempo Total', stack: 'a' },
                    { data: [0], label: 'Tempo Atenção', stack: 'b' },
                    { data: [0], label: 'Tempo Excedido', stack: 'c' }
                ];
            }
            else {
                _this.barChartLabels = _this.dados.map(function (item) { return item.placa; });
                if (_this.service.filtro.tipoBarra === '1') {
                    _this.barChartData = [
                        {
                            data: _this.dados.map(function (item) { return _this.extrairMinutos(item.descrTempoTotal); }),
                            label: 'Tempo Total',
                            stack: 'a'
                        },
                        {
                            data: _this.dados.map(function (item) { return _this.extrairMinutos(item.descrTempoAtencao); }),
                            label: 'Tempo Atenção',
                            stack: 'b'
                        },
                        {
                            data: _this.dados.map(function (item) { return _this.extrairMinutos(item.descrTempoAlerta); }),
                            label: 'Tempo Excedido',
                            stack: 'c'
                        }
                    ];
                }
                else {
                    _this.barChartData = [
                        {
                            data: _this.dados.map(function (item) { return _this.extrairMinutos(item.descrTempoTotal); }),
                            label: 'Tempo Total',
                            stack: 'a'
                        },
                        {
                            data: _this.dados.map(function (item) { return _this.extrairMinutos(item.descrTempoAtencao); }),
                            label: 'Tempo Atenção',
                            stack: 'a'
                        },
                        {
                            data: _this.dados.map(function (item) { return _this.extrairMinutos(item.descrTempoAlerta); }),
                            label: 'Tempo Excedido',
                            stack: 'a'
                        }
                    ];
                }
            }
            _this.barChartOptions = _this.getBarChartOptions(_this.service.filtro.tipoBarra);
        });
    };
    MonitoramentoCarregamentoIndexComponent.prototype.extrairMinutos = function (texto) {
        if (!texto)
            return 0;
        var match = texto.match(/\d+/);
        return match ? parseInt(match[0], 10) : 0;
    };
    MonitoramentoCarregamentoIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    MonitoramentoCarregamentoIndexComponent.prototype.filtrar = function () {
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["ModalUtilsStaticService"].openModal("monitoramento-carregamento-dialog");
    };
    MonitoramentoCarregamentoIndexComponent.prototype.getBarChartOptions = function (tipoBarra) {
        var barChartOptions = {};
        if (this.service.filtro.tipoBarra === "1") {
            barChartOptions = {
                responsive: true,
                tooltips: {
                    enabled: false
                },
                plugins: {
                    datalabels: {
                        display: false
                    }
                },
                scales: {
                    xAxes: [{
                            stacked: false,
                            display: true,
                            labelString: this.messageService.getTranslates('labels', 'veiculos'),
                            scaleLabel: {
                                display: true,
                                labelString: this.messageService.getTranslates('labels', 'veiculos')
                            }
                        }],
                    yAxes: [{
                            stacked: false,
                            display: true,
                            labelString: this.messageService.getTranslates('labels', 'minutos'),
                            scaleLabel: {
                                display: true,
                                labelString: this.messageService.getTranslates('labels', 'minutos')
                            },
                        }]
                }
            };
        }
        else if (this.service.filtro.tipoBarra === "2") {
            barChartOptions = {
                responsive: true,
                tooltips: {
                    enabled: false
                },
                plugins: {
                    datalabels: {
                        display: false
                    }
                },
                scales: {
                    xAxes: [{
                            stacked: true,
                            display: true,
                            labelString: this.messageService.getTranslates('labels', 'veiculos'),
                            scaleLabel: {
                                display: true,
                                labelString: this.messageService.getTranslates('labels', 'veiculos')
                            }
                        }],
                    yAxes: [{
                            stacked: true,
                            display: true,
                            labelString: this.messageService.getTranslates('labels', 'minutos'),
                            scaleLabel: {
                                display: true,
                                labelString: this.messageService.getTranslates('labels', 'minutos')
                            }
                        }]
                }
            };
        }
        else {
            barChartOptions = {
                responsive: true,
                tooltips: {
                    enabled: false
                },
                plugins: {
                    datalabels: {
                        display: false
                    }
                },
                scales: {
                    xAxes: [{
                            stacked: true,
                            display: true,
                            scaleLabel: {
                                display: true,
                                labelString: this.messageService.getTranslates('labels', 'veiculos')
                            }
                        }],
                    yAxes: [{
                            stacked: true,
                            display: true,
                            ticks: {
                                beginAtZero: true,
                                max: 100,
                                callback: function (value) {
                                    return value + '%';
                                }
                            },
                            scaleLabel: {
                                display: true,
                                labelString: 'Percentual'
                            }
                        }]
                }
            };
        }
        var extrudePlugin = {
            id: 'extrude',
            beforeDatasetsDraw: function (chart) {
                var _this = this;
                var ctx = chart.ctx;
                ctx.save();
                chart.data.datasets.forEach(function (dataset, datasetIndex) {
                    var meta = chart.getDatasetMeta(datasetIndex);
                    if (!meta || !meta.data)
                        return;
                    meta.data.forEach(function (bar) {
                        if (!bar._model)
                            return;
                        var _a = bar._model, x = _a.x, y = _a.y, base = _a.base, width = _a.width;
                        var depth = 12;
                        if (Math.abs(y - base) < 1)
                            return;
                        var color = bar._model.backgroundColor || '#4CAF50';
                        var rightColor = _this.darkenColor(color, 30);
                        var topColor = _this.darkenColor(color, 15);
                        var sideColor = _this.darkenColor(color, 20);
                        ctx.fillStyle = sideColor;
                        ctx.beginPath();
                        ctx.moveTo(x - width / 2, base);
                        ctx.lineTo(x - width / 2, base - depth);
                        ctx.lineTo(x + width / 2 + depth, base - depth);
                        ctx.lineTo(x + width / 2 + depth, base);
                        ctx.closePath();
                        ctx.fill();
                        ctx.fillStyle = rightColor;
                        ctx.beginPath();
                        ctx.moveTo(x + width / 2, y);
                        ctx.lineTo(x + width / 2 + depth, y);
                        ctx.lineTo(x + width / 2 + depth, base);
                        ctx.lineTo(x + width / 2, base);
                        ctx.closePath();
                        ctx.fill();
                        ctx.fillStyle = topColor;
                        ctx.beginPath();
                        ctx.moveTo(x - width / 2, y);
                        ctx.lineTo(x + width / 2, y);
                        ctx.lineTo(x + width / 2 + depth, y);
                        ctx.lineTo(x - width / 2, y);
                        ctx.closePath();
                        ctx.fill();
                        ctx.fillStyle = color;
                        ctx.fillRect(x - width / 2, y, width, base - y);
                        ctx.fillStyle = sideColor;
                        ctx.beginPath();
                        ctx.moveTo(x - width / 2, y);
                        ctx.lineTo(x - width / 2, base);
                        ctx.lineTo(x - width / 2, base - depth);
                        ctx.lineTo(x - width / 2, y);
                        ctx.closePath();
                        ctx.fill();
                    });
                });
                ctx.restore();
            },
            darkenColor: function (color, percent) {
                var r, g, b;
                if (color.startsWith('#')) {
                    var hex = color.replace('#', '');
                    r = parseInt(hex.substring(0, 2), 16);
                    g = parseInt(hex.substring(2, 4), 16);
                    b = parseInt(hex.substring(4, 6), 16);
                }
                else if (color.startsWith('rgb')) {
                    var match = color.match(/(\d+),\s*(\d+),\s*(\d+)/);
                    if (match) {
                        r = parseInt(match[1]);
                        g = parseInt(match[2]);
                        b = parseInt(match[3]);
                    }
                }
                if (r !== undefined && g !== undefined && b !== undefined) {
                    r = Math.max(0, Math.floor(r * (1 - percent / 100)));
                    g = Math.max(0, Math.floor(g * (1 - percent / 100)));
                    b = Math.max(0, Math.floor(b * (1 - percent / 100)));
                    return "rgb(" + r + ", " + g + ", " + b + ")";
                }
                return color;
            }
        };
        chart_js__WEBPACK_IMPORTED_MODULE_16__["plugins"].register(extrudePlugin);
        return barChartOptions;
    };
    MonitoramentoCarregamentoIndexComponent.prototype.downloadCanvas = function (event) {
        var title = new Date().getTime().toString() + ".png";
        _super.prototype.downloadCanvas.call(this, event, document.getElementsByTagName('canvas')[0].toDataURL(), title);
    };
    MonitoramentoCarregamentoIndexComponent.prototype.onChartClick = function (event) {
        var _this = this;
        var activePoints = event.active;
        if (!activePoints || activePoints.length === 0)
            return;
        var chartElement = activePoints[0];
        var index = chartElement._index;
        var dado = this.dados[index];
        var payload = {
            registros: this.dados,
            minEmitirAlerta: this.data.minEmitirAlerta,
            regLog: this.data.regLog,
        };
        this.service.atualizarUltimaChamada(payload).subscribe(function (retorno) {
            if (retorno && _this.service.filtro.alertaSonoro === "S") {
                _this.chamar();
            }
        });
        if (!dado) {
            this.messageService.info('titles.monitoramentoCarregamento', 'Dados não encontrados');
            return;
        }
        var fimCarregamento = dado.dtFimOper
            ? Object(_angular_common__WEBPACK_IMPORTED_MODULE_17__["formatDate"])(dado.dtFimOper, 'dd/MM/yyyy HH:mm:ss', 'pt-BR')
            : '';
        var mensagem = "CheckList: " + dado.codCheckList + "<br>" +
            ("Ve\u00EDculo: " + dado.placa + "<br>") +
            ("Transportadora: " + dado.nomeTransp + "<br>") +
            ("Produto: " + dado.descrMater + "<br>") +
            ("Cliente: " + dado.descrClien + "<br>") +
            ("Fim Carregamento: " + fimCarregamento + "<br>") +
            (dado.descrTempoTotal ? "Tempo Total: " + this.extrairMinutos(dado.descrTempoTotal) + "<br>" : '') +
            (dado.descrTempoAlerta ? "Tempo Excedido: " + this.extrairMinutos(dado.descrTempoAlerta) + "<br>" : '');
        this.messageService.info('titles.monitoramentoCarregamento', mensagem);
    };
    MonitoramentoCarregamentoIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_18__["ConfiguracaoFacade"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"] },
        { type: _monitoramento_carregamento_service__WEBPACK_IMPORTED_MODULE_10__["MonitoramentoCarregamentoService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_13__["DatatablesService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])(app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"], { static: false }),
        __metadata("design:type", app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"])
    ], MonitoramentoCarregamentoIndexComponent.prototype, "table", void 0);
    MonitoramentoCarregamentoIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-monitoramento-carregamento-index',
            template: __importDefault(__webpack_require__(/*! raw-loader!./monitoramento-carregamento-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./monitoramento-carregamento.component.scss */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_18__["ConfiguracaoFacade"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"],
            _monitoramento_carregamento_service__WEBPACK_IMPORTED_MODULE_10__["MonitoramentoCarregamentoService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_13__["DatatablesService"]])
    ], MonitoramentoCarregamentoIndexComponent);
    return MonitoramentoCarregamentoIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento.component.scss":
/*!*********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento.component.scss ***!
  \*********************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".chk input {\n  display: none;\n}\n\n.chk span {\n  width: 12px;\n  height: 12px;\n  display: block;\n  background-color: #fff;\n  border: 1px solid #DDD;\n  border-radius: 100%;\n}\n\nspan.red {\n  background-color: #c03;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWdlby9tb3ZpbWVudG9zL21vbml0b3JhbWVudG8tY2FycmVnYW1lbnRvL21vbml0b3JhbWVudG8tY2FycmVnYW1lbnRvLWluZGV4L0M6XFxDb3Jwb3JhdGVcXENvcnBvcmF0ZVdlYkRlc2VudlxcX3VuaXNvbHV0aW9uL3NyY1xcYXBwXFxwYWdlc1xcZXNwZWNpZmljb3NcXGFnZW9cXG1vdmltZW50b3NcXG1vbml0b3JhbWVudG8tY2FycmVnYW1lbnRvXFxtb25pdG9yYW1lbnRvLWNhcnJlZ2FtZW50by1pbmRleFxcbW9uaXRvcmFtZW50by1jYXJyZWdhbWVudG8uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL2FnZW8vbW92aW1lbnRvcy9tb25pdG9yYW1lbnRvLWNhcnJlZ2FtZW50by9tb25pdG9yYW1lbnRvLWNhcnJlZ2FtZW50by1pbmRleC9tb25pdG9yYW1lbnRvLWNhcnJlZ2FtZW50by5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGFBQUE7QUNDSjs7QURFQTtFQUNJLFdBQUE7RUFDQSxZQUFBO0VBQ0EsY0FBQTtFQUNBLHNCQUFBO0VBQ0Esc0JBQUE7RUFDQSxtQkFBQTtBQ0NKOztBREVBO0VBQ0ksc0JBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL2FnZW8vbW92aW1lbnRvcy9tb25pdG9yYW1lbnRvLWNhcnJlZ2FtZW50by9tb25pdG9yYW1lbnRvLWNhcnJlZ2FtZW50by1pbmRleC9tb25pdG9yYW1lbnRvLWNhcnJlZ2FtZW50by5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jaGsgaW5wdXQge1xyXG4gICAgZGlzcGxheTogbm9uZTtcclxufVxyXG5cclxuLmNoayBzcGFuIHtcclxuICAgIHdpZHRoOiAxMnB4O1xyXG4gICAgaGVpZ2h0OiAxMnB4O1xyXG4gICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmO1xyXG4gICAgYm9yZGVyOiAxcHggc29saWQgI0RERDtcclxuICAgIGJvcmRlci1yYWRpdXM6IDEwMCU7XHJcbn1cclxuXHJcbnNwYW4ucmVkIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICNjMDM7XHJcbn0iLCIuY2hrIGlucHV0IHtcbiAgZGlzcGxheTogbm9uZTtcbn1cblxuLmNoayBzcGFuIHtcbiAgd2lkdGg6IDEycHg7XG4gIGhlaWdodDogMTJweDtcbiAgZGlzcGxheTogYmxvY2s7XG4gIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNEREQ7XG4gIGJvcmRlci1yYWRpdXM6IDEwMCU7XG59XG5cbnNwYW4ucmVkIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2MwMztcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.constants.ts":
/*!**********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.constants.ts ***!
  \**********************************************************************************************************************/
/*! exports provided: MonitoramentoCarregamentoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamentoConstants", function() { return MonitoramentoCarregamentoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var MonitoramentoCarregamentoConstants = /** @class */ (function () {
    function MonitoramentoCarregamentoConstants() {
        this.sisFormularioId = 140104;
        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.processar" },
        ];
        this.sisSistemaId = "MOV";
        this.nomeForm = "titles.monitoramentoCarregamento";
        this.reportTitulo = { "titulo": "", "subTitulo": "" };
        this.listaForm = [
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
        this.configuracoes = [];
        this.configuracoes = [
            {
                sistema: "REL",
                parametros: [
                    "MinEmitirAlerta",
                ]
            }
        ];
    }
    return MonitoramentoCarregamentoConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.model.ts":
/*!******************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.model.ts ***!
  \******************************************************************************************************************/
/*! exports provided: MonitoramentoCarregamentoFiltro, MonitoramentoCarregamento */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamentoFiltro", function() { return MonitoramentoCarregamentoFiltro; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamento", function() { return MonitoramentoCarregamento; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var MonitoramentoCarregamentoFiltro = /** @class */ (function () {
    function MonitoramentoCarregamentoFiltro() {
        this.alertaSonoro = "S";
        this.tipoBarra = "1";
        this.itensPorPagina = 12;
        this.pagina = 1;
        this.itensPag = 31;
        this.valPagMax = 31;
    }
    return MonitoramentoCarregamentoFiltro;
}());

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



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.module.ts":
/*!*******************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.module.ts ***!
  \*******************************************************************************************************************/
/*! exports provided: MonitoramentoCarregamentoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamentoModule", function() { return MonitoramentoCarregamentoModule; });
/* 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__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _monitoramento_carregamento_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./monitoramento-carregamento.routing.module */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.routing.module.ts");
/* harmony import */ var _monitoramento_carregamento_index_monitoramento_carregamento_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./monitoramento-carregamento-index/monitoramento-carregamento-index.component */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento-index.component.ts");
/* harmony import */ var _monitoramento_carregamento_filter_monitoramento_carregamento_filter_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./monitoramento-carregamento-filter/monitoramento-carregamento-filter.component */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-filter/monitoramento-carregamento-filter.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 MonitoramentoCarregamentoModule = /** @class */ (function () {
    function MonitoramentoCarregamentoModule() {
    }
    MonitoramentoCarregamentoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [_monitoramento_carregamento_index_monitoramento_carregamento_index_component__WEBPACK_IMPORTED_MODULE_4__["MonitoramentoCarregamentoIndexComponent"],
                _monitoramento_carregamento_filter_monitoramento_carregamento_filter_component__WEBPACK_IMPORTED_MODULE_5__["MonitoramentoCarregamentoFilterComponent"]
            ],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__["SharedModule"],
                _monitoramento_carregamento_routing_module__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoCarregamentoRoutingModule"]
            ]
        })
    ], MonitoramentoCarregamentoModule);
    return MonitoramentoCarregamentoModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.routing.module.ts":
/*!***************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.routing.module.ts ***!
  \***************************************************************************************************************************/
/*! exports provided: MonitoramentoCarregamentoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamentoRoutingModule", function() { return MonitoramentoCarregamentoRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _monitoramento_carregamento_index_monitoramento_carregamento_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./monitoramento-carregamento-index/monitoramento-carregamento-index.component */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento-index/monitoramento-carregamento-index.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: _monitoramento_carregamento_index_monitoramento_carregamento_index_component__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoCarregamentoIndexComponent"],
        data: { breadcrumb: "monitoramentoCarregamento", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    }
];
var MonitoramentoCarregamentoRoutingModule = /** @class */ (function () {
    function MonitoramentoCarregamentoRoutingModule() {
    }
    MonitoramentoCarregamentoRoutingModule = __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"]]
        })
    ], MonitoramentoCarregamentoRoutingModule);
    return MonitoramentoCarregamentoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.service.ts":
/*!********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.service.ts ***!
  \********************************************************************************************************************/
/*! exports provided: MonitoramentoCarregamentoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoCarregamentoService", function() { return MonitoramentoCarregamentoService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _monitoramento_carregamento_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./monitoramento-carregamento.model */ "./src/app/pages/especificos/ageo/movimentos/monitoramento-carregamento/monitoramento-carregamento.model.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_internal_operators_catchError__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/internal/operators/catchError */ "./node_modules/rxjs/internal/operators/catchError.js");
/* harmony import */ var rxjs_internal_operators_catchError__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(rxjs_internal_operators_catchError__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js");
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 MonitoramentoCarregamentoService = /** @class */ (function () {
    function MonitoramentoCarregamentoService(http) {
        this.http = http;
        this.filtro = new _monitoramento_carregamento_model__WEBPACK_IMPORTED_MODULE_2__["MonitoramentoCarregamentoFiltro"]();
        this.titles = "titles.monitoramentoCarregamento";
    }
    MonitoramentoCarregamentoService.prototype.getByFiltro = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/ageo/movimentos/monitoramentoCarregamento/getByFiltro", data)
            .pipe(Object(rxjs_internal_operators_catchError__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    MonitoramentoCarregamentoService.prototype.processarMonitoramento = function (filtro) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/ageo/movimentos/monitoramentoCarregamento/processar", filtro)
            .pipe(Object(rxjs_internal_operators_catchError__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_5__["ErrorHandler"].handleError));
    };
    MonitoramentoCarregamentoService.prototype.atualizarUltimaChamada = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/ageo/movimentos/monitoramentoCarregamento/atualizarUltimaChamada", data)
            .pipe(Object(rxjs_internal_operators_catchError__WEBPACK_IMPORTED_MODULE_4__["catchError"])(function (error) {
            return new rxjs__WEBPACK_IMPORTED_MODULE_6__["Observable"](function (observer) {
                observer.next(false);
                observer.complete();
            });
        }));
    };
    MonitoramentoCarregamentoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    MonitoramentoCarregamentoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], MonitoramentoCarregamentoService);
    return MonitoramentoCarregamentoService;
}());



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-ageo-movimentos-monitoramento-carregamento-monitoramento-carregamento-module.js.map