(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-agtl-portaria-veiculos-com-pendencias-veiculos-com-pendencias-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-cancela-operacao/veiculos-com-pendencias-cancela-operacao.component.html":
/*!****************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-cancela-operacao/veiculos-com-pendencias-cancela-operacao.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=\"vp-cancela-operacao-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\r\n    <div class=\"uni-modal-dialog-md-40\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.motivoCancelamento' | translate }}</h6>\r\n            </div>\r\n            <div class=\"modal-body\">\r\n                <div class=\"row\">\r\n                    <div class=\"col-lg-12\">\r\n                        <form class=\"form\" #f=\"ngForm\">\r\n                            <div class=\"row\">\r\n                                <div class=\"col-lg-12\">\r\n                                    <div class=\"row\">\r\n                                        <div class=\"col-lg-12\">\r\n                                            <div class=\"form-group form-group-sm\">\r\n                                                <label for=\"informarMotivo\" class=\"required\">{{'labels.informarMotivo' |\r\n                                                    translate}}</label>\r\n                                                <input id=\"informarMotivo\" name=\"informarMotivo\"\r\n                                                    [(ngModel)]=\"motivoCancelamento\"\r\n                                                    class=\"form-control form-control-sm\" type=\"text\">\r\n                                            </div>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"modal-footer\">\r\n                                <button type=\"submit\" class=\"btn btn-success mr-1\" (click)=\"onSubmit()\">{{\r\n                                    'buttons.confirmar' | translate }}</button>\r\n                                <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.cancelar'\r\n                                    | translate }}</button>\r\n                            </div>\r\n                        </form>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.html":
/*!******************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.html ***!
  \******************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\"\r\n                      [formAction]=\"actionForm\"\r\n                      [itemData]=\"service.data.regControle\"\r\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <div class=\"table-responsive\" style=\"overflow: auto;\">\r\n        <table id=\"dtPendencias\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\r\n            <thead>\r\n                <tr>\r\n                    <th>{{ 'labels.registro' | translate}}</th>\r\n                    <th>{{ 'labels.tipoOperacao' | translate}}</th>\r\n                    <th>{{ 'labels.chegada' | translate}}</th>\r\n                    <th>{{ 'labels.cliente' | translate}}</th>\r\n                    <th>{{ 'labels.placaCavalo' | translate}}</th>\r\n                    <th>{{ 'labels.placaCarreta' | translate}}</th>\r\n                    <th>{{ 'labels.placaCarreta2' | translate }}</th>\r\n                    <th>{{ 'labels.motorista' | translate }}</th>\r\n                    <th>{{ 'labels.situacao' | translate }}</th>\r\n                </tr>\r\n            </thead>\r\n            <tbody>\r\n                <tr *ngFor=\"let d of dados\"\r\n                    [class.selected]=\"service.data.regControle === d.regControle\"\r\n                    (click)=\"service.data = d\">\r\n                    <td class=\"text-right\">{{ d.regControle }}</td>\r\n                    <td>{{ d.tipoOperacao }}</td>\r\n                    <td>{{ d.dtChegada | date: 'dd/MM/yyyy HH:mm:ss' }}</td>\r\n                    <td>{{ d.cliente }}</td>\r\n                    <td>{{ d.placaCavalo }}</td>\r\n                    <td>{{ d.placaCarreta1 }}</td>\r\n                    <td>{{ d.placaCarreta2 }}</td>\r\n                    <td>{{ d.nomeMotorista }}</td>\r\n                    <td class=\"text-center\">\r\n                        <button class=\"btn btn-sm btn-success\"\r\n                            (click)=\"mostrarPendencia(d)\"\r\n                            type=\"button\">\r\n                            {{ \"buttons.visualizar\" | translate }}\r\n                        </button>\r\n                    </td>\r\n                </tr>\r\n                <tr *ngIf=\"!hasDados\">\r\n                    <th colspan=\"9\" style=\"text-align: center\">\r\n                        {{ \"messages.nenhumRegistroEncontrado\" | translate }}\r\n                    </th>\r\n                </tr>\r\n            </tbody>\r\n        </table>\r\n    </div>\r\n</div>\r\n\r\n<app-propriedades></app-propriedades>\r\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\r\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\r\n<app-veiculos-com-pendencias-pendencia-modal></app-veiculos-com-pendencias-pendencia-modal>\r\n<app-veiculos-com-pendencias-cancela-operacao (execute)=\"onCancelamento($event)\"></app-veiculos-com-pendencias-cancela-operacao>\r\n");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.html":
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.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=\"pendencias-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\r\n    <div class=\"uni-modal-dialog-md-40\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{ 'titles.pendencias' | translate }}\r\n                    - {{ 'titles.veiculoPlaca' | translate }}: {{ service.data.placaCavalo }}</h6>\r\n            </div>\r\n            <div class=\"modal-body\">\r\n                <div class=\"breakLine\">\r\n                    {{ service.pendencias }}\r\n                </div>\r\n            </div>\r\n            <div class=\"modal-footer\">\r\n                <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate }}</button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n");

/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-cancela-operacao/veiculos-com-pendencias-cancela-operacao.component.ts":
/*!************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-cancela-operacao/veiculos-com-pendencias-cancela-operacao.component.ts ***!
  \************************************************************************************************************************************************************************/
/*! exports provided: VeiculosComPendenciasCancelaOperacaoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasCancelaOperacaoComponent", function() { return VeiculosComPendenciasCancelaOperacaoComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.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 VeiculosComPendenciasCancelaOperacaoComponent = /** @class */ (function () {
    function VeiculosComPendenciasCancelaOperacaoComponent(messages) {
        this.messages = messages;
        this.execute = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    VeiculosComPendenciasCancelaOperacaoComponent.prototype.onSubmit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var motivo;
            return __generator(this, function (_a) {
                if (!this.motivoCancelamento) {
                    this.messages.warning("titles.veiculosComPendencias", "message.motivoCancelamentoNaoInformado");
                }
                else {
                    motivo = this.motivoCancelamento;
                    this.execute.emit(motivo);
                    jQuery("#vp-cancela-operacao-dialog").modal("hide");
                    this.motivoCancelamento = undefined;
                }
                return [2 /*return*/];
            });
        });
    };
    VeiculosComPendenciasCancelaOperacaoComponent.ctorParameters = function () { return [
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__["MessageService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], VeiculosComPendenciasCancelaOperacaoComponent.prototype, "execute", void 0);
    VeiculosComPendenciasCancelaOperacaoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-veiculos-com-pendencias-cancela-operacao',
            template: __importDefault(__webpack_require__(/*! raw-loader!./veiculos-com-pendencias-cancela-operacao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-cancela-operacao/veiculos-com-pendencias-cancela-operacao.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_1__["MessageService"]])
    ], VeiculosComPendenciasCancelaOperacaoComponent);
    return VeiculosComPendenciasCancelaOperacaoComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.scss":
/*!****************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-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"] = (".table td {\n  vertical-align: middle;\n}\n\n.selected {\n  background-color: #b4d7eb !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWd0bC9wb3J0YXJpYS92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1pbmRleC9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxccGFnZXNcXGVzcGVjaWZpY29zXFxhZ3RsXFxwb3J0YXJpYVxcdmVpY3Vsb3MtY29tLXBlbmRlbmNpYXNcXHZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzLWluZGV4XFx2ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1pbmRleC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWd0bC9wb3J0YXJpYS92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1pbmRleC92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1pbmRleC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLHNCQUFBO0FDQ0o7O0FERUE7RUFDSSxvQ0FBQTtBQ0NKIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWd0bC9wb3J0YXJpYS92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1pbmRleC92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1pbmRleC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi50YWJsZSB0ZCB7XHJcbiAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG59XHJcblxyXG4uc2VsZWN0ZWQge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogI2I0ZDdlYiAhaW1wb3J0YW50O1xyXG59IiwiLnRhYmxlIHRkIHtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbn1cblxuLnNlbGVjdGVkIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2I0ZDdlYiAhaW1wb3J0YW50O1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.ts":
/*!**************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.ts ***!
  \**************************************************************************************************************************************************/
/*! exports provided: VeiculosComPendenciasIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasIndexComponent", function() { return VeiculosComPendenciasIndexComponent; });
/* harmony import */ var _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.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 _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_pages_veiculo_entrada_veiculo_entrada_veiculo_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/veiculo/entrada-veiculo/entrada-veiculo.service */ "./src/app/pages/veiculo/entrada-veiculo/entrada-veiculo.service.ts");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/funcoes/configuracao/configuracao.facade */ "./src/app/shared/services/funcoes/configuracao/configuracao.facade.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_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__ = __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_10__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _veiculos_com_pendencias_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../veiculos-com-pendencias.constants */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.constants.ts");
/* harmony import */ var _veiculos_com_pendencias_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../veiculos-com-pendencias.model */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.model.ts");
/* harmony import */ var _veiculos_com_pendencias_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../veiculos-com-pendencias.service */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.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 __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 VeiculosComPendenciasIndexComponent = /** @class */ (function (_super) {
    __extends(VeiculosComPendenciasIndexComponent, _super);
    function VeiculosComPendenciasIndexComponent(router, messageService, configuracao, service, entradaVeiculoService, datatablesService, funcoesService, permissoesUtils, loginService) {
        var _this = _super.call(this, new _veiculos_com_pendencias_constants__WEBPACK_IMPORTED_MODULE_11__["VeiculosComPendenciasConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.configuracao = configuracao;
        _this.service = service;
        _this.entradaVeiculoService = entradaVeiculoService;
        _this.datatablesService = datatablesService;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.dados = [];
        _this.hasDados = false;
        _this.mensagens = [];
        _this.constantes = new _veiculos_com_pendencias_constants__WEBPACK_IMPORTED_MODULE_11__["VeiculosComPendenciasConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.loadConfig = function () {
            if (!_this.configuracao.isLoadConfig())
                return;
            if (_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].isEmpty(_this.constantes.configWeb.cWebModCheckList))
                return;
            _this.constantes.configWeb.cWebModCheckList = _this.configuracao.lerConfig("WEB", "CWebModCheckList");
        };
        _this.reprocessar = function () {
            if (!!(_this.service.data.regControle)) {
                _this.service.reprocessar(_this.service.data.regControle).subscribe(function (result) {
                    _this.mensagens = _this.messageService.validationResult(result.validationResult);
                    if (!result.validationResult.isValid) {
                        _this.messageService.warning("titles.veiculosComPendencias", _this.mensagens[0]);
                    }
                    else {
                        _this.messageService.success("titles.veiculosComPendencias", "messages.checkListGeradoComSucesso");
                    }
                    _this.refresh();
                });
            }
        };
        _this.cancelarOperacao = function () {
            jQuery("#vp-cancela-operacao-dialog").modal("show");
        };
        _this.abrirCadMotorista = function () {
            if (!_this.service.data.motoristaId) {
                _this.funcoesService.openWindow('cadastro/motorista');
            }
            else {
                _this.funcoesService.openWindow("cadastro/motorista/detail/" + _this.service.data.motoristaId);
            }
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    VeiculosComPendenciasIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.configuracao.getConfig(this.constantes.listaParam, this.loadConfig);
        this.permissoesUtils
            .verificaRotina(this.constantes.sisFormularioId, 1, function () {
            if (!_this.loginService.isTokenExpired()) {
                _this.refresh();
            }
        }, function () { return _this.permissoesUtils.back(); }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'reprocessar', func: function () { return _this.reprocessar; } },
            { action: 'cancelarOperacao', func: function () { return _this.cancelarOperacao; } },
            { action: 'abrirCadMotorista', func: function () { return _this.abrirCadMotorista; } }
        ]);
    };
    VeiculosComPendenciasIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.get().subscribe(function (resp) {
            _this.service.data = new _veiculos_com_pendencias_model__WEBPACK_IMPORTED_MODULE_12__["VeiculosComPendencias"]();
            _this.dados = resp;
            _this.hasDados = resp && resp.length > 0;
        });
    };
    VeiculosComPendenciasIndexComponent.prototype.mostrarPendencia = function (d) {
        var _this = this;
        this.service.data = d;
        this.service.getPendencias(this.service.data.regControle).subscribe(function (resp) {
            _this.service.pendencias = resp.join("\r\n");
            jQuery("#pendencias-dialog").modal("show");
        });
    };
    VeiculosComPendenciasIndexComponent.prototype.onCancelamento = function (motivoCancelamento) {
        return __awaiter(this, void 0, void 0, function () {
            var ret;
            var _this = this;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        if (!!!motivoCancelamento) return [3 /*break*/, 2];
                        return [4 /*yield*/, this.entradaVeiculoService.evCancelaOperacao({
                                "regControle": this.service.data.regControle,
                                "retMsg": motivoCancelamento
                            }).toPromise()];
                    case 1:
                        ret = _a.sent();
                        if (!ret.validationResult.isValid) {
                            ret.validationResult.erros.forEach(function (m) { return _this.messageService.warning("titles.veiculosComPendencias", JSON.parse(m.message).Key); });
                        }
                        else {
                            this.messageService.success("titles.veiculosComPendencias", "messages.operacaoCanceladaComSucesso");
                            this.refresh();
                        }
                        _a.label = 2;
                    case 2: return [2 /*return*/];
                }
            });
        });
    };
    VeiculosComPendenciasIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    VeiculosComPendenciasIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _super.prototype.print.call(_this, null, true);
        });
    };
    VeiculosComPendenciasIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"] },
        { type: app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_7__["ConfiguracaoFacade"] },
        { type: _veiculos_com_pendencias_service__WEBPACK_IMPORTED_MODULE_13__["VeiculosComPendenciasService"] },
        { type: app_pages_veiculo_entrada_veiculo_entrada_veiculo_service__WEBPACK_IMPORTED_MODULE_4__["EntradaVeiculoService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"] }
    ]; };
    VeiculosComPendenciasIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-veiculos-com-pendencias-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./veiculos-com-pendencias-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./veiculos-com-pendencias-index.component.scss */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"],
            app_shared_services_funcoes_configuracao_configuracao_facade__WEBPACK_IMPORTED_MODULE_7__["ConfiguracaoFacade"],
            _veiculos_com_pendencias_service__WEBPACK_IMPORTED_MODULE_13__["VeiculosComPendenciasService"],
            app_pages_veiculo_entrada_veiculo_entrada_veiculo_service__WEBPACK_IMPORTED_MODULE_4__["EntradaVeiculoService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_6__["DatatablesService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_8__["FuncoesService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_9__["PermissoesUtilsService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"]])
    ], VeiculosComPendenciasIndexComponent);
    return VeiculosComPendenciasIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.scss":
/*!************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.scss ***!
  \************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".breakLine {\n  white-space: pre-line;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWd0bC9wb3J0YXJpYS92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1wZW5kZW5jaWEtbW9kYWwvQzpcXENvcnBvcmF0ZVxcQ29ycG9yYXRlV2ViRGVzZW52XFxfdW5pc29sdXRpb24vc3JjXFxhcHBcXHBhZ2VzXFxlc3BlY2lmaWNvc1xcYWd0bFxccG9ydGFyaWFcXHZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzXFx2ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1wZW5kZW5jaWEtbW9kYWxcXHZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzLXBlbmRlbmNpYS1tb2RhbC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvYWd0bC9wb3J0YXJpYS92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy92ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1wZW5kZW5jaWEtbW9kYWwvdmVpY3Vsb3MtY29tLXBlbmRlbmNpYXMtcGVuZGVuY2lhLW1vZGFsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0kscUJBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL2FndGwvcG9ydGFyaWEvdmVpY3Vsb3MtY29tLXBlbmRlbmNpYXMvdmVpY3Vsb3MtY29tLXBlbmRlbmNpYXMtcGVuZGVuY2lhLW1vZGFsL3ZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzLXBlbmRlbmNpYS1tb2RhbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5icmVha0xpbmUge1xyXG4gICAgd2hpdGUtc3BhY2U6IHByZS1saW5lO1xyXG59IiwiLmJyZWFrTGluZSB7XG4gIHdoaXRlLXNwYWNlOiBwcmUtbGluZTtcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.ts":
/*!**********************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.ts ***!
  \**********************************************************************************************************************************************************************/
/*! exports provided: VeiculosComPendenciasPendenciaModalComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasPendenciaModalComponent", function() { return VeiculosComPendenciasPendenciaModalComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _veiculos_com_pendencias_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../veiculos-com-pendencias.service */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.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 __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};


var VeiculosComPendenciasPendenciaModalComponent = /** @class */ (function () {
    function VeiculosComPendenciasPendenciaModalComponent(service) {
        this.service = service;
    }
    VeiculosComPendenciasPendenciaModalComponent.ctorParameters = function () { return [
        { type: _veiculos_com_pendencias_service__WEBPACK_IMPORTED_MODULE_1__["VeiculosComPendenciasService"] }
    ]; };
    VeiculosComPendenciasPendenciaModalComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-veiculos-com-pendencias-pendencia-modal",
            template: __importDefault(__webpack_require__(/*! raw-loader!./veiculos-com-pendencias-pendencia-modal.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./veiculos-com-pendencias-pendencia-modal.component.scss */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_veiculos_com_pendencias_service__WEBPACK_IMPORTED_MODULE_1__["VeiculosComPendenciasService"]])
    ], VeiculosComPendenciasPendenciaModalComponent);
    return VeiculosComPendenciasPendenciaModalComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.constants.ts":
/*!**************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.constants.ts ***!
  \**************************************************************************************************************/
/*! exports provided: VeiculosComPendenciasConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasConstants", function() { return VeiculosComPendenciasConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var VeiculosComPendenciasConstants = /** @class */ (function () {
    function VeiculosComPendenciasConstants() {
        this.sisFormularioId = 375495;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.veiculosComPendencias";
        this.reportId = "AGTL0002";
        this.reportTitulo = { "titulo": "Veículos com Pendências", "subTitulo": "" };
        this.listaIndex = [
            { title: 'Reprocessar', action: 'reprocessar', icon: "fa fa-cogs", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'AbrirCadMotorista', action: 'abrirCadMotorista', icon: "icon-user", exibeButton: true, eximeMenu: true, disabled: false, menuName: 'Movimento' },
            { title: 'CancelarOperacao', action: 'cancelarOperacao', icon: "fa fa-ban", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
        this.configWeb = {
            cWebModCheckList: ""
        };
        this.listaParam = [
            { 'sistema': 'WEB', 'parametros': ["CWebModCheckList"] }
        ];
    }
    return VeiculosComPendenciasConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.model.ts":
/*!**********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.model.ts ***!
  \**********************************************************************************************************/
/*! exports provided: VeiculosComPendencias, VeiculosComPendenciasCheckList */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendencias", function() { return VeiculosComPendencias; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasCheckList", function() { return VeiculosComPendenciasCheckList; });
/* harmony import */ var app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/base/base.model */ "./src/app/shared/services/base/base.model.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 __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

var VeiculosComPendencias = /** @class */ (function (_super) {
    __extends(VeiculosComPendencias, _super);
    function VeiculosComPendencias() {
        return _super.call(this) || this;
    }
    return VeiculosComPendencias;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));

var VeiculosComPendenciasCheckList = /** @class */ (function (_super) {
    __extends(VeiculosComPendenciasCheckList, _super);
    function VeiculosComPendenciasCheckList() {
        return _super.call(this) || this;
    }
    return VeiculosComPendenciasCheckList;
}(app_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.module.ts":
/*!***********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.module.ts ***!
  \***********************************************************************************************************/
/*! exports provided: VeiculosComPendenciasModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasModule", function() { return VeiculosComPendenciasModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _veiculos_com_pendencias_cancela_operacao_veiculos_com_pendencias_cancela_operacao_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./veiculos-com-pendencias-cancela-operacao/veiculos-com-pendencias-cancela-operacao.component */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-cancela-operacao/veiculos-com-pendencias-cancela-operacao.component.ts");
/* harmony import */ var _veiculos_com_pendencias_index_veiculos_com_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./veiculos-com-pendencias-index/veiculos-com-pendencias-index.component */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-index.component.ts");
/* harmony import */ var _veiculos_com_pendencias_pendencia_modal_veiculos_com_pendencias_pendencia_modal_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-pendencia-modal/veiculos-com-pendencias-pendencia-modal.component.ts");
/* harmony import */ var _veiculos_com_pendencias_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./veiculos-com-pendencias.routing.module */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.routing.module.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var VeiculosComPendenciasModule = /** @class */ (function () {
    function VeiculosComPendenciasModule() {
    }
    VeiculosComPendenciasModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [
                _veiculos_com_pendencias_index_veiculos_com_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__["VeiculosComPendenciasIndexComponent"],
                _veiculos_com_pendencias_pendencia_modal_veiculos_com_pendencias_pendencia_modal_component__WEBPACK_IMPORTED_MODULE_4__["VeiculosComPendenciasPendenciaModalComponent"],
                _veiculos_com_pendencias_cancela_operacao_veiculos_com_pendencias_cancela_operacao_component__WEBPACK_IMPORTED_MODULE_2__["VeiculosComPendenciasCancelaOperacaoComponent"]
            ],
            imports: [
                app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"],
                _veiculos_com_pendencias_routing_module__WEBPACK_IMPORTED_MODULE_5__["VeiculosComPendenciasRoutingModule"]
            ]
        })
    ], VeiculosComPendenciasModule);
    return VeiculosComPendenciasModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.routing.module.ts":
/*!*******************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.routing.module.ts ***!
  \*******************************************************************************************************************/
/*! exports provided: VeiculosComPendenciasRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasRoutingModule", function() { return VeiculosComPendenciasRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _veiculos_com_pendencias_index_veiculos_com_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./veiculos-com-pendencias-index/veiculos-com-pendencias-index.component */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias-index/veiculos-com-pendencias-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 VeiculosComPendenciasRoutes = [
    {
        path: "",
        component: _veiculos_com_pendencias_index_veiculos_com_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__["VeiculosComPendenciasIndexComponent"],
        data: {
            breadcrumb: "veiculosComPendencias",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index }
        }
    }
];
var VeiculosComPendenciasRoutingModule = /** @class */ (function () {
    function VeiculosComPendenciasRoutingModule() {
    }
    VeiculosComPendenciasRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(VeiculosComPendenciasRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], VeiculosComPendenciasRoutingModule);
    return VeiculosComPendenciasRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.service.ts":
/*!************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.service.ts ***!
  \************************************************************************************************************/
/*! exports provided: VeiculosComPendenciasService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VeiculosComPendenciasService", function() { return VeiculosComPendenciasService; });
/* 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 app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _veiculos_com_pendencias_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./veiculos-com-pendencias.model */ "./src/app/pages/especificos/agtl/portaria/veiculos-com-pendencias/veiculos-com-pendencias.model.ts");
/* harmony import */ var app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};







var VeiculosComPendenciasService = /** @class */ (function (_super) {
    __extends(VeiculosComPendenciasService, _super);
    function VeiculosComPendenciasService(http) {
        var _this = _super.call(this, http, "agtl/cliAgtlVeiculoPendencia") || this;
        _this.http = http;
        _this.data = new _veiculos_com_pendencias_model__WEBPACK_IMPORTED_MODULE_5__["VeiculosComPendencias"]();
        return _this;
    }
    VeiculosComPendenciasService.prototype.getPendencias = function (id) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/agtl/cliAgtlVeiculoPendencia/getPendencias/" + id).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    VeiculosComPendenciasService.prototype.reprocessar = function (id) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/agtl/cliAgtlVeiculoPendencia/reprocessar/" + id)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    VeiculosComPendenciasService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    VeiculosComPendenciasService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], VeiculosComPendenciasService);
    return VeiculosComPendenciasService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_6__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-agtl-portaria-veiculos-com-pendencias-veiculos-com-pendencias-module.js.map