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

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.html":
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-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-de-veiculos-filter\" 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.monitoramentoDeVeiculos' | translate }}</h6>\n            </div>\n            <div class=\"modal-body\">\n                <div class=\"row\">\n                    <div class=\"col-lg-12\">\n                        <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\n                            <div class=\"col-lg-12 col-md-12\">\n                                <div class=\"row\">\n                                    <div class=\"col-lg-3\">\n                                        <div class=\"custom-control custom-checkbox\">\n                                            <input id=\"filtrarPorPeriodo\" name=\"filtrarPorPeriodo\"\n                                                [ngModel]=\"service.filtro.filtrarPorPeriodo === 'S'\"\n                                                (ngModelChange)=\"service.filtro.filtrarPorPeriodo=$event?'S':'N'\"\n                                                class=\"custom-control-input checkbox-success\" type=\"checkbox\">\n                                            <label class=\"custom-control-label\"\n                                                for=\"filtrarPorPeriodo\">{{'labels.filtrarPorPeriodo' |\n                                                translate}}</label>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row mt-2\">\n                                    <div class=\"col-md-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"periodoDe\"\n                                                [class.required]=\"service.filtro.filtrarPorPeriodo==='S'\">{{\n                                                'labels.periodoDe' |\n                                                translate\n                                                }}</label>\n                                            <app-data-h-m-s id=\" periodoDe\" name=\"periodoDe\"\n                                                [required]=\"service.filtro.filtrarPorPeriodo ==='S'\"\n                                                [(ngModel)]=\"service.filtro.dataI\"\n                                                [disabled]=\"service.filtro.filtrarPorPeriodo ==='N'\">\n                                            </app-data-h-m-s>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-md-6\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <label for=\"ate\"\n                                                [class.required]=\"service.filtro.filtrarPorPeriodo==='S'\">{{\n                                                'labels.ate' | translate }}</label>\n                                            <app-data-h-m-s id=\"ate\" name=\"ate\"\n                                                [required]=\"service.filtro.filtrarPorPeriodo ==='S'\"\n                                                [(ngModel)]=\"service.filtro.dataF\"\n                                                [disabled]=\"service.filtro.filtrarPorPeriodo ==='N'\">\n                                            </app-data-h-m-s>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-12 col-md-12\">\n                                        <div class=\"form-group form-group-sm\">\n                                            <app-pesquisa-material id=\"produto\" name=\"materialId\" label=\"produto\"\n                                                modalTitle=\"produto\" [(ngModel)]=\"service.filtro.materialId\"\n                                                [inSelected]=\"service.filtro.material\"\n                                                (outSelected)=\"service.filtro.material = $event\">\n                                            </app-pesquisa-material>\n                                        </div>\n                                    </div>\n                                </div>\n                                <div class=\"row\">\n                                    <div class=\"col-md-12\">\n                                        <label for=\"timer\">\n                                            {{ 'labels.intervaloDeVerificacao' | translate }}:\n                                            <strong> {{ value }} {{ 'labels.segundos' | translate }}</strong>\n                                        </label>\n                                        <div class=\"custom-slider\">\n                                            <ng5-slider id=\"timer\" [(value)]=\"value\" [options]=\"options\"\n                                                (valueChange)=\"trataConsulta(this.value)\"></ng5-slider>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                            <div class=\"modal-footer\">\n                                <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}\n                                </button>\n                                <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Sair</button>\n                            </div>\n                        </form>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-form/monitoramento-de-veiculos-form.component.html":
/*!************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-form/monitoramento-de-veiculos-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 [botoesComando]=\"constantes.listaForm\" [sisFormularioId]=\"constantes.sisFormularioId\"\r\n    [formAction]=\"actionForm\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <table id=\"dtMonitoramentoDeVeiculos\" 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>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component.html":
/*!**************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-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\" [formAction]=\"actionForm\"\n    [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"timerbar timerbar-moved\">\n    <div class=\"timerbar-bar\">\n    </div>\n</div>\n\n<div class=\"section-comand-bar\">\n    <div class=\"container-fluid\">\n        <h4 class=\"mb-3\">{{'titles.statusDosCaminhoes' | translate}}</h4>\n        <div class=\"row\">\n            <div class=\"col-xl-4 col-lg-4 col-md-6 mb-3\" *ngFor=\"let d of service.dados\">\n                <div class=\"cards h-100\" [style.backgroundColor]=\"d.backGroundColor\"\n                    [style.color]=\"getTextColor(d.backGroundColor)\" (click)=\"onCardClick(d)\">\n                    <div class=\"card-body\">\n                        <h6 class=\"cards-title mb-3 d-flex align-items-center\">\n                            <i class=\"mr-2\" [ngClass]=\"d.cardIcon\">\n                            </i>\n                            {{ d.descrStatusCor }}\n                        </h6>\n                        <small>{{'labels.quantidadeDeVeiculos' | translate}}</small>\n                        <h3 class=\"mt-0 mb-0\">\n                            {{ d.qtdeVeiculo | formatCurrency: 0 }}\n                        </h3>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-monitoramento-de-veiculos-filter (filtrar)=\"executaFiltro($event)\"></app-monitoramento-de-veiculos-filter>");

/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.scss":
/*!**************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWxkYy9tb3ZpbWVudG9zL21vbml0b3JhbWVudG8tZGUtdmVpY3Vsb3MvbW9uaXRvcmFtZW50by1kZS12ZWljdWxvcy1maWx0ZXIvQzpcXENvcnBvcmF0ZVxcQ29ycG9yYXRlV2ViRGVzZW52XFxfdW5pc29sdXRpb24vc3JjXFxhcHBcXHBhZ2VzXFxlc3BlY2lmaWNvc1xcYWxkY1xcbW92aW1lbnRvc1xcbW9uaXRvcmFtZW50by1kZS12ZWljdWxvc1xcbW9uaXRvcmFtZW50by1kZS12ZWljdWxvcy1maWx0ZXJcXG1vbml0b3JhbWVudG8tZGUtdmVpY3Vsb3MtZmlsdGVyLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9lc3BlY2lmaWNvcy9hbGRjL21vdmltZW50b3MvbW9uaXRvcmFtZW50by1kZS12ZWljdWxvcy9tb25pdG9yYW1lbnRvLWRlLXZlaWN1bG9zLWZpbHRlci9tb25pdG9yYW1lbnRvLWRlLXZlaWN1bG9zLWZpbHRlci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFBO0VBQ0EsV0FBQTtBQ0NGOztBREVBO0VBQ0UsbUJBQUE7QUNDRjs7QURFQTtFQUNFLFVBQUE7RUFDQSxZQUFBO0VBQ0EsU0FBQTtFQUNBLHNDQUFBO0VBQ0EsU0FBQTtFQUNBLHNCQUFBO0VBQ0EsMkJBQUE7RUFDQSw0QkFBQTtBQ0NGOztBREVBO0VBQ0UsYUFBQTtBQ0NGOztBREVBO0VBQ0UsWUFBQTtBQ0NGOztBREVBO0VBQ0UsaUJBQUE7RUFDQSxjQUFBO0FDQ0Y7O0FERUE7RUFDRSxVQUFBO0VBQ0EsWUFBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxtQkFBQTtFQUNBLFNBQUE7QUNDRjs7QURFQTtFQUNFLG1CQUFBO0FDQ0YiLCJmaWxlIjoic3JjL2FwcC9wYWdlcy9lc3BlY2lmaWNvcy9hbGRjL21vdmltZW50b3MvbW9uaXRvcmFtZW50by1kZS12ZWljdWxvcy9tb25pdG9yYW1lbnRvLWRlLXZlaWN1bG9zLWZpbHRlci9tb25pdG9yYW1lbnRvLWRlLXZlaWN1bG9zLWZpbHRlci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLWJhciB7XHJcbiAgYmFja2dyb3VuZDogIzc4NzRhZjtcclxuICBoZWlnaHQ6IDJweDtcclxufVxyXG5cclxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItc2VsZWN0aW9uIHtcclxuICBiYWNrZ3JvdW5kOiAjYmQ3ZDA1O1xyXG59XHJcblxyXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci1wb2ludGVyIHtcclxuICB3aWR0aDogOHB4O1xyXG4gIGhlaWdodDogMTZweDtcclxuICB0b3A6IGF1dG87XHJcbiAgLyogdG8gcmVtb3ZlIHRoZSBkZWZhdWx0IHBvc2l0aW9uaW5nICovXHJcbiAgYm90dG9tOiAwO1xyXG4gIGJhY2tncm91bmQtY29sb3I6ICMzMzM7XHJcbiAgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogM3B4O1xyXG4gIGJvcmRlci10b3AtcmlnaHQtcmFkaXVzOiAzcHg7XHJcbn1cclxuXHJcbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLXBvaW50ZXI6YWZ0ZXIge1xyXG4gIGRpc3BsYXk6IG5vbmU7XHJcbn1cclxuXHJcbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLWJ1YmJsZSB7XHJcbiAgYm90dG9tOiAxNHB4O1xyXG59XHJcblxyXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci1saW1pdCB7XHJcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgY29sb3I6ICM4MjdlYjU7XHJcbn1cclxuXHJcbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLXRpY2sge1xyXG4gIHdpZHRoOiAxcHg7XHJcbiAgaGVpZ2h0OiAxMHB4O1xyXG4gIG1hcmdpbi1sZWZ0OiA0cHg7XHJcbiAgYm9yZGVyLXJhZGl1czogMDtcclxuICBiYWNrZ3JvdW5kOiAjODI3ZWI1O1xyXG4gIHRvcDogLTFweDtcclxufVxyXG5cclxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItdGljay5uZzUtc2xpZGVyLXNlbGVjdGVkIHtcclxuICBiYWNrZ3JvdW5kOiAjZTQ5NjA3O1xyXG59IiwiLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItYmFyIHtcbiAgYmFja2dyb3VuZDogIzc4NzRhZjtcbiAgaGVpZ2h0OiAycHg7XG59XG5cbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLXNlbGVjdGlvbiB7XG4gIGJhY2tncm91bmQ6ICNiZDdkMDU7XG59XG5cbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLXBvaW50ZXIge1xuICB3aWR0aDogOHB4O1xuICBoZWlnaHQ6IDE2cHg7XG4gIHRvcDogYXV0bztcbiAgLyogdG8gcmVtb3ZlIHRoZSBkZWZhdWx0IHBvc2l0aW9uaW5nICovXG4gIGJvdHRvbTogMDtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzMzMztcbiAgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogM3B4O1xuICBib3JkZXItdG9wLXJpZ2h0LXJhZGl1czogM3B4O1xufVxuXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci1wb2ludGVyOmFmdGVyIHtcbiAgZGlzcGxheTogbm9uZTtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItYnViYmxlIHtcbiAgYm90dG9tOiAxNHB4O1xufVxuXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci1saW1pdCB7XG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xuICBjb2xvcjogIzgyN2ViNTtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItdGljayB7XG4gIHdpZHRoOiAxcHg7XG4gIGhlaWdodDogMTBweDtcbiAgbWFyZ2luLWxlZnQ6IDRweDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgYmFja2dyb3VuZDogIzgyN2ViNTtcbiAgdG9wOiAtMXB4O1xufVxuXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci10aWNrLm5nNS1zbGlkZXItc2VsZWN0ZWQge1xuICBiYWNrZ3JvdW5kOiAjZTQ5NjA3O1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.ts":
/*!************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.ts ***!
  \************************************************************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosFilterComponent", function() { return MonitoramentoDeVeiculosFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../monitoramento-de-veiculos.constants */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.constants.ts");
/* harmony import */ var _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../monitoramento-de-veiculos.service */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.service.ts");
/* harmony import */ var _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitoramento-de-veiculos.model */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.model.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_pages_admin_corporate_sis_mensagem_sis_mensagem_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/pages/admin/corporate/sis-mensagem/sis-mensagem.service */ "./src/app/pages/admin/corporate/sis-mensagem/sis-mensagem.service.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_8__ = __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_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};










var MonitoramentoDeVeiculosFilterComponent = /** @class */ (function () {
    function MonitoramentoDeVeiculosFilterComponent(service, message, sisMensagemService) {
        this.service = service;
        this.message = message;
        this.sisMensagemService = sisMensagemService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_4__["Mascaras"]();
        this.items = [];
        this.constantes = new _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_1__["MonitoramentoDeVeiculosConstants"]();
        this.triggerFocus = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.options = {
            floor: 0,
            ceil: 60,
            showTicks: true,
            step: 10
        };
    }
    MonitoramentoDeVeiculosFilterComponent.prototype.ngOnInit = function () {
        return __awaiter(this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                if (!this.service.filtro) {
                    this.service.filtro = new _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoDeVeiculosFilter"]();
                }
                this.value = 0;
                this.minValue = 0;
                this.maxValue = 60;
                this.triggerFocus.emit(0);
                return [2 /*return*/];
            });
        });
    };
    MonitoramentoDeVeiculosFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_9__["EventEmitterService"].get("formError").emit(null);
        if (app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["DateTimeUtilsStaticService"].menorA(this.service.filtro.dataF, this.service.filtro.dataI)) {
            this.message.warning('titles.monitoramentoDeVeiculos', 'messages.dataDeMaiordataAte');
            return;
        }
        if (!form.invalid) {
            this.filtrar.emit(this.service.filtro);
            app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_8__["ModalUtilsStaticService"].closeModal("monitoramento-de-veiculos-filter");
        }
    };
    MonitoramentoDeVeiculosFilterComponent.prototype.trataConsulta = function (value) {
        this.service.filtro.intervaloVerificacao = value;
    };
    MonitoramentoDeVeiculosFilterComponent.ctorParameters = function () { return [
        { type: _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_2__["MonitoramentoDeVeiculosService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"] },
        { type: app_pages_admin_corporate_sis_mensagem_sis_mensagem_service__WEBPACK_IMPORTED_MODULE_6__["SisMensagemService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], MonitoramentoDeVeiculosFilterComponent.prototype, "filtrar", void 0);
    MonitoramentoDeVeiculosFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-monitoramento-de-veiculos-filter',
            template: __importDefault(__webpack_require__(/*! raw-loader!./monitoramento-de-veiculos-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./monitoramento-de-veiculos-filter.component.scss */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_2__["MonitoramentoDeVeiculosService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"],
            app_pages_admin_corporate_sis_mensagem_sis_mensagem_service__WEBPACK_IMPORTED_MODULE_6__["SisMensagemService"]])
    ], MonitoramentoDeVeiculosFilterComponent);
    return MonitoramentoDeVeiculosFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-form/monitoramento-de-veiculos-form.component.ts":
/*!********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-form/monitoramento-de-veiculos-form.component.ts ***!
  \********************************************************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosFormComponent", function() { return MonitoramentoDeVeiculosFormComponent; });
/* 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_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../monitoramento-de-veiculos.constants */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.constants.ts");
/* harmony import */ var _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../monitoramento-de-veiculos.model */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.model.ts");
/* harmony import */ var _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../monitoramento-de-veiculos.service */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.service.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.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 MonitoramentoDeVeiculosFormComponent = /** @class */ (function (_super) {
    __extends(MonitoramentoDeVeiculosFormComponent, _super);
    function MonitoramentoDeVeiculosFormComponent(router, messageService, activatedRoute, service, funcoesService, permissoesUtils, datatablesService, route) {
        var _this = _super.call(this, new _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_6__["MonitoramentoDeVeiculosConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.service = service;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.datatablesService = datatablesService;
        _this.route = route;
        _this.data = new _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_7__["MonitoramentoDeVeiculos"]();
        _this.constantes = new _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_6__["MonitoramentoDeVeiculosConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/aldc/movimentos/monitoramentoDeVeiculos";
        _this._back = function () {
            _this.funcoesService.desabilitarFiltro();
            _this.router.navigate(["" + _this.target + _this.pageRoute]);
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        _super.prototype.addFuncoes.call(_this, [
            { action: '_back', func: function () { return _this._back; } }
        ]);
        return _this;
    }
    MonitoramentoDeVeiculosFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, this.permissoesUtils.getLibRotina(this.actionForm), function () {
            var statusCor = _this.activatedRoute.snapshot.paramMap.get("statusCor");
            if (statusCor) {
                _this.getDados(statusCor);
            }
        }, function () {
            _this.permissoesUtils.back();
        });
    };
    MonitoramentoDeVeiculosFormComponent.prototype.getDados = function (statusCor) {
        var _this = this;
        this.service.getByStatusCor(statusCor).subscribe(function (data) {
            var columns = [
                _this.datatablesService.getDataString("placaCavalo", "placaCavalo"),
                _this.datatablesService.getDataString("nomeMotorista", "motorista"),
                _this.datatablesService.getDataString("fantasiaCliente", "cliente"),
                _this.datatablesService.getDataString("fantasiaMaterial", "produto"),
                _this.datatablesService.getDataString("tempoEspera", "hrTempoEspera"),
                _this.datatablesService.getDataString("descrStatusCor", "status")
            ];
            _this.datatablesService.toDataTable({ tableId: "dtMonitoramentoDeVeiculos", columns: columns, data: data }, function (aData) {
                _this.data = aData;
            });
        });
    };
    MonitoramentoDeVeiculosFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_8__["MonitoramentoDeVeiculosService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_9__["DatatablesService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] }
    ]; };
    MonitoramentoDeVeiculosFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-monitoramento-de-veiculos-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./monitoramento-de-veiculos-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-form/monitoramento-de-veiculos-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_8__["MonitoramentoDeVeiculosService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_4__["PermissoesUtilsService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_9__["DatatablesService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"]])
    ], MonitoramentoDeVeiculosFormComponent);
    return MonitoramentoDeVeiculosFormComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_2__["BasePermissoes"]));



/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("section#box {\n  --width-container: 80;\n}\nsection#box div.contain-box {\n  width: calc(var(--width-container) * 1%);\n}\n.timerbar {\n  background: rgba(0, 0, 0, 0.25);\n  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);\n  --progress: 0;\n}\n.timerbar-bar {\n  height: 5px;\n  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));\n  transition: 0.4s linear;\n  transition-property: width, background-color;\n}\n.timerbar-moved .timerbar-bar {\n  width: calc(var(--progress) * 1%);\n  background-color: #EF476F;\n  -webkit-animation: timerbarAnimation 6s;\n          animation: timerbarAnimation 6s;\n}\n@-webkit-keyframes timerbarAnimation {\n  0% {\n    width: 5%;\n    background-color: #F9BCCA;\n  }\n  50% {\n    width: 50%;\n    background-color: #e3533a;\n  }\n  100% {\n    width: 100%;\n    background-color: #EF476F;\n  }\n}\n@keyframes timerbarAnimation {\n  0% {\n    width: 5%;\n    background-color: #F9BCCA;\n  }\n  50% {\n    width: 50%;\n    background-color: #e3533a;\n  }\n  100% {\n    width: 100%;\n    background-color: #EF476F;\n  }\n}\n.cards {\n  color: #212529;\n  border-radius: 6px;\n  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);\n  transition: box-shadow 0.25s ease, transform 0.25s ease;\n  cursor: pointer;\n}\n.cards,\n.cards * {\n  cursor: pointer;\n}\n.cards:hover {\n  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);\n  transform: translateY(-3px);\n}\n.cards-title {\n  font-weight: 600;\n}\n.cards-title i {\n  opacity: 0.85;\n  font-size: 14px;\n}\n/*# sourceMappingURL=data:application/json;base64,  */");

/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component.ts":
/*!**********************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component.ts ***!
  \**********************************************************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosIndexComponent", function() { return MonitoramentoDeVeiculosIndexComponent; });
/* 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 _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../monitoramento-de-veiculos.constants */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.constants.ts");
/* harmony import */ var _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../monitoramento-de-veiculos.model */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.model.ts");
/* harmony import */ var _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../monitoramento-de-veiculos.service */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.ts");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var 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");
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 MonitoramentoDeVeiculosIndexComponent = /** @class */ (function (_super) {
    __extends(MonitoramentoDeVeiculosIndexComponent, _super);
    function MonitoramentoDeVeiculosIndexComponent(router, service, datatablesService, funcoesService, messageService, configuracao, permissoesUtils, loginService) {
        var _this = _super.call(this, new _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_2__["MonitoramentoDeVeiculosConstants"](), funcoesService) || this;
        _this.router = router;
        _this.service = service;
        _this.datatablesService = datatablesService;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.data = new _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoDeVeiculosIndex"]();
        _this.constantes = new _monitoramento_de_veiculos_constants__WEBPACK_IMPORTED_MODULE_2__["MonitoramentoDeVeiculosConstants"]();
        _this.expand = false;
        _this.seconds = 0;
        _this.isPaused = false;
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/aldc/movimentos/monitoramentoDeVeiculos";
        _this.refresh = function () {
            _this.onRefresh();
        };
        _this.onRefresh = function () {
            _this.clearControlProgress();
            _this.getDados();
            if (!!_this.service.filtro.intervaloVerificacao && +_this.service.filtro.intervaloVerificacao > 0) {
                _this.seconds = 0;
                _this._intervalFilter = setInterval(function () {
                    if (!_this.isPaused) {
                        _this.seconds++;
                        _this.timerbar.style.setProperty('--progress', ((_this.seconds * 100) / +_this.service.filtro.intervaloVerificacao));
                        if (_this.seconds >= +_this.service.filtro.intervaloVerificacao) {
                            _this.seconds = 0;
                            _this.getDados();
                        }
                    }
                }, 1000);
            }
        };
        _this.fullscreen = function () {
            if (_this.expand) {
                _this.exitFullscreen();
                _this.expand = false;
            }
            else {
                _this.requestFullscreen();
            }
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    MonitoramentoDeVeiculosIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.timerbar = document.querySelector('.timerbar');
        this.container = document.querySelector('section#box');
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            if (!_this.loginService.isTokenExpired()) {
                if (_this.funcoesService.abrirFiltro) {
                    _this.service.filtro = new _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoDeVeiculosFilter"]();
                    _this.filtrar();
                }
                else {
                    _this.refresh();
                }
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'fullscreen', func: function () { return _this.fullscreen; } }
        ]);
        this.clearControlProgress();
        if (this.router.url.indexOf("popup") < 0) {
            this.buttonVisible('listaIndex', 'fullscreen', false);
        }
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.getDados = function () {
        var _this = this;
        this.pausarExecucaoIntervalo();
        this.service.getDadosIndex(this.service.filtro).subscribe(function (resp) {
            _this.service.dados = resp.map(function (d) {
                var item = new _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoDeVeiculosIndex"]();
                item.loadFromJson(d); // aplica apenas valores válidos
                return item;
            });
            _this.retomarExecucaoIntervalo();
        });
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.pausarExecucaoIntervalo = function () {
        this.isPaused = true;
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.retomarExecucaoIntervalo = function () {
        this.isPaused = false;
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.ngOnDestroy = function () {
        this.clearControlProgress();
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.clearControlProgress = function () {
        if (!!this.timerbar) {
            this.timerbar.style.setProperty('--progress', 0);
        }
        if (this._intervalFilter) {
            clearInterval(this._intervalFilter);
        }
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.requestFullscreen = function () {
        this.expand = true;
        this.container.style.setProperty('--width-container', 95);
        var elem = document.documentElement;
        if (elem.requestFullscreen) {
            elem.requestFullscreen();
        }
        else if (elem.webkitRequestFullscreen) {
            elem.webkitRequestFullscreen();
        }
        else if (elem.mozRequestFullScreen) {
            elem.mozRequestFullScreen();
        }
        else if (elem.msRequestFullscreen) {
            elem.msRequestFullscreen();
        }
        else {
            this.expand = false;
            console.log('Fullscreen API is not supported.');
        }
    };
    ;
    MonitoramentoDeVeiculosIndexComponent.prototype.exitFullscreen = function () {
        this.container.style.setProperty('--width-container', 80);
        if (document.exitFullscreen) {
            document.exitFullscreen();
        }
        else if (document.mozCancelFullScreen) {
            document.mozCancelFullScreen();
        }
        else if (document.msExitFullscreen) {
            document.msExitFullscreen();
        }
        else {
            console.log('Fullscreen API is not supported.');
        }
    };
    ;
    MonitoramentoDeVeiculosIndexComponent.prototype.filtrar = function () {
        this.pausarExecucaoIntervalo();
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_12__["ModalUtilsStaticService"].openModal("monitoramento-de-veiculos-filter");
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.onCardClick = function (item) {
        if (!item.statusCor)
            return;
        this.router.navigate(["" + this.target + this.pageRoute + "/statusVeiculos/" + item.statusCor]);
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.executaFiltro = function (event) {
        this.service.filtro = event;
        this.refresh();
    };
    MonitoramentoDeVeiculosIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    // Define a cor do texto (clara ou escura) com base na luminosidade da cor de fundo, garantindo melhor legibilidade.
    MonitoramentoDeVeiculosIndexComponent.prototype.getTextColor = function (bgColor) {
        // fallback padrão se null/undefined ou formato inválido
        if (!bgColor || !/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(bgColor)) {
            bgColor = '#f8f9fa';
        }
        // Se veio #RGB, expandir para #RRGGBB
        if (bgColor.length === 4) {
            bgColor = '#' + bgColor[1] + bgColor[1] + bgColor[2] + bgColor[2] + bgColor[3] + bgColor[3];
        }
        var hex = bgColor.replace('#', '');
        var r = parseInt(hex.substring(0, 2), 16);
        var g = parseInt(hex.substring(2, 4), 16);
        var b = parseInt(hex.substring(4, 6), 16);
        var luminance = (r * 299 + g * 587 + b * 114) / 1000;
        return luminance < 128 ? '#ffffff' : '#212529';
    };
    MonitoramentoDeVeiculosIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_4__["MonitoramentoDeVeiculosService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_7__["DatatablesService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__["ConfiguracaoFacade"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__["PermissoesUtilsService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"] }
    ]; };
    MonitoramentoDeVeiculosIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-monitoramento-de-veiculos-index',
            template: __importDefault(__webpack_require__(/*! raw-loader!./monitoramento-de-veiculos-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./monitoramento-de-veiculos-index.component.scss */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _monitoramento_de_veiculos_service__WEBPACK_IMPORTED_MODULE_4__["MonitoramentoDeVeiculosService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_7__["DatatablesService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_9__["MessageService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_5__["ConfiguracaoFacade"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_10__["PermissoesUtilsService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"]])
    ], MonitoramentoDeVeiculosIndexComponent);
    return MonitoramentoDeVeiculosIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_6__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.constants.ts":
/*!********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.constants.ts ***!
  \********************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosConstants", function() { return MonitoramentoDeVeiculosConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var MonitoramentoDeVeiculosConstants = /** @class */ (function () {
    function MonitoramentoDeVeiculosConstants() {
        this.sisFormularioId = 375550;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.nomeForm = "titles.monitoramentoDeVeiculos";
        this.reportId = "ALD0000";
        this.reportTitulo = { "titulo": "Monitoramento de Veículos", "subTitulo": "" };
        this.configuracoes = [];
        this.listaIndex = [
            { 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' },
            { title: 'Fullscreen', action: 'fullscreen', icon: "fa fa-expand", exibeButton: true, eximeMenu: true, menuName: 'Movimento', depitem: false }
        ];
        this.listaForm = [
            { title: 'Voltar', action: '_back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo', depitem: false }
        ];
    }
    return MonitoramentoDeVeiculosConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.model.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.model.ts ***!
  \****************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosFilter, MonitoramentoDeVeiculosIndex, MonitoramentoDeVeiculos */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosFilter", function() { return MonitoramentoDeVeiculosFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosIndex", function() { return MonitoramentoDeVeiculosIndex; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculos", function() { return MonitoramentoDeVeiculos; });
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};


var MonitoramentoDeVeiculosFilter = /** @class */ (function () {
    function MonitoramentoDeVeiculosFilter() {
        this.dataI = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["DateTimeUtilsStaticService"].addDays(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["DateTimeUtilsStaticService"].getStartDay(), -1);
        this.dataF = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["DateTimeUtilsStaticService"].getFinalDay();
        this.materialId = "";
        this.filtrarPorPeriodo = "N";
        this.intervaloVerificacao = 0;
        this.material = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__["Material"]();
    }
    return MonitoramentoDeVeiculosFilter;
}());

var MonitoramentoDeVeiculosIndex = /** @class */ (function () {
    function MonitoramentoDeVeiculosIndex() {
        this.statusCor = "";
        this.descrStatusCor = "";
        this.qtdeVeiculo = 0;
        this.backGroundColor = "#f8f9fa";
        this.cardIcon = "fa fa-info-circle";
    }
    MonitoramentoDeVeiculosIndex.prototype.loadFromJson = function (d) {
        var _this = this;
        Object.keys(d).forEach(function (key) {
            if (d[key] != null)
                _this[key] = d[key];
        });
    };
    return MonitoramentoDeVeiculosIndex;
}());

var MonitoramentoDeVeiculos = /** @class */ (function () {
    function MonitoramentoDeVeiculos() {
        this.placaCavalo = "";
        this.nomeMotorista = "";
        this.fantasiaCliente = "";
        this.fantasiaMaterial = "";
        this.tempoDeEspera = "";
        this.descrStatusCor = "";
    }
    return MonitoramentoDeVeiculos;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.module.ts":
/*!*****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.module.ts ***!
  \*****************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosModule", function() { return MonitoramentoDeVeiculosModule; });
/* 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 _monitoramento_de_veiculos_index_monitoramento_de_veiculos_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component.ts");
/* harmony import */ var _monitoramento_de_veiculos_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./monitoramento-de-veiculos.routing.module */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.routing.module.ts");
/* harmony import */ var _monitoramento_de_veiculos_filter_monitoramento_de_veiculos_filter_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-filter/monitoramento-de-veiculos-filter.component.ts");
/* harmony import */ var app_shared_shared_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _monitoramento_de_veiculos_form_monitoramento_de_veiculos_form_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./monitoramento-de-veiculos-form/monitoramento-de-veiculos-form.component */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-form/monitoramento-de-veiculos-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 MonitoramentoDeVeiculosModule = /** @class */ (function () {
    function MonitoramentoDeVeiculosModule() {
    }
    MonitoramentoDeVeiculosModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [
                _monitoramento_de_veiculos_index_monitoramento_de_veiculos_index_component__WEBPACK_IMPORTED_MODULE_2__["MonitoramentoDeVeiculosIndexComponent"],
                _monitoramento_de_veiculos_filter_monitoramento_de_veiculos_filter_component__WEBPACK_IMPORTED_MODULE_4__["MonitoramentoDeVeiculosFilterComponent"],
                _monitoramento_de_veiculos_form_monitoramento_de_veiculos_form_component__WEBPACK_IMPORTED_MODULE_6__["MonitoramentoDeVeiculosFormComponent"]
            ],
            imports: [
                _angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"],
                _monitoramento_de_veiculos_routing_module__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoDeVeiculosRoutingModule"],
                app_shared_shared_module__WEBPACK_IMPORTED_MODULE_5__["SharedModule"]
            ]
        })
    ], MonitoramentoDeVeiculosModule);
    return MonitoramentoDeVeiculosModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.routing.module.ts":
/*!*************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.routing.module.ts ***!
  \*************************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosRoutingModule", function() { return MonitoramentoDeVeiculosRoutingModule; });
/* 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 _monitoramento_de_veiculos_index_monitoramento_de_veiculos_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-index/monitoramento-de-veiculos-index.component.ts");
/* harmony import */ var _monitoramento_de_veiculos_form_monitoramento_de_veiculos_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./monitoramento-de-veiculos-form/monitoramento-de-veiculos-form.component */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos-form/monitoramento-de-veiculos-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: _monitoramento_de_veiculos_index_monitoramento_de_veiculos_index_component__WEBPACK_IMPORTED_MODULE_2__["MonitoramentoDeVeiculosIndexComponent"],
        data: { breadcrumb: "monitoramentoDeVeiculos" }
    },
    {
        path: "statusVeiculos/:statusCor",
        component: _monitoramento_de_veiculos_form_monitoramento_de_veiculos_form_component__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoDeVeiculosFormComponent"],
        data: {
            breadcrumb: "monitoramentoDeVeiculos",
            formParams: { action: 1 }
        }
    }
];
var MonitoramentoDeVeiculosRoutingModule = /** @class */ (function () {
    function MonitoramentoDeVeiculosRoutingModule() {
    }
    MonitoramentoDeVeiculosRoutingModule = __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"]]
        })
    ], MonitoramentoDeVeiculosRoutingModule);
    return MonitoramentoDeVeiculosRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.service.ts":
/*!******************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.service.ts ***!
  \******************************************************************************************************************/
/*! exports provided: MonitoramentoDeVeiculosService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MonitoramentoDeVeiculosService", function() { return MonitoramentoDeVeiculosService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./monitoramento-de-veiculos.model */ "./src/app/pages/especificos/aldc/movimentos/monitoramento-de-veiculos/monitoramento-de-veiculos.model.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/base/base.service */ "./src/app/shared/services/base/base.service.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.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 MonitoramentoDeVeiculosService = /** @class */ (function (_super) {
    __extends(MonitoramentoDeVeiculosService, _super);
    function MonitoramentoDeVeiculosService(http, loginService) {
        var _this = _super.call(this, http, "aldc/movimentos") || this;
        _this.http = http;
        _this.loginService = loginService;
        _this.filtro = new _monitoramento_de_veiculos_model__WEBPACK_IMPORTED_MODULE_3__["MonitoramentoDeVeiculosFilter"]();
        return _this;
    }
    MonitoramentoDeVeiculosService.prototype.getDadosIndex = function (filter) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].specifics_service_url + "/api/v1/aldc/movimentos/monitoramentoDeVeiculos/getDadosIndex", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_7__["ErrorHandler"].handleError));
    };
    MonitoramentoDeVeiculosService.prototype.getByStatusCor = function (statusCor) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].specifics_service_url + "/api/v1/aldc/movimentos/monitoramentoDeVeiculos/getByStatusCor/" + statusCor)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_7__["ErrorHandler"].handleError));
    };
    MonitoramentoDeVeiculosService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"] }
    ]; };
    MonitoramentoDeVeiculosService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]])
    ], MonitoramentoDeVeiculosService);
    return MonitoramentoDeVeiculosService;
}(app_shared_services_base_base_service__WEBPACK_IMPORTED_MODULE_5__["BaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-aldc-movimentos-monitoramento-de-veiculos-monitoramento-de-veiculos-module.js.map