(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-santos-brasil-movimentos-pendencias-pendencias-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-cancela-operacao/pendencias-cancela-operacao.component.html":
/*!************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-cancela-operacao/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=\"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\" maxlength=\"50\"\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/santos-brasil/movimentos/pendencias/pendencias-index/pendencias-index.component.html":
/*!**************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/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\" [formAction]=\"actionForm\"\r\n    [itemData]=\"service.data.regControle\" [sisFormularioId]=\"constantes.sisFormularioId\">\r\n</app-menu-command-bar>\r\n\r\n<div class=\"section-comand-bar\">\r\n    <app-table>\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\" [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\" (click)=\"mostrarPendencia(d)\" 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    </app-table>\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-pendencias-veiculos-com-pendencias-modal></app-pendencias-veiculos-com-pendencias-modal>\r\n<app-pendencias-cancela-operacao (execute)=\"onCancelamento($event)\"></app-pendencias-cancela-operacao>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.component.html":
/*!**************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-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/santos-brasil/movimentos/pendencias/pendencias-cancela-operacao/pendencias-cancela-operacao.component.ts":
/*!********************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-cancela-operacao/pendencias-cancela-operacao.component.ts ***!
  \********************************************************************************************************************************************/
/*! exports provided: PendenciasCancelaOperacaoComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PendenciasCancelaOperacaoComponent", function() { return PendenciasCancelaOperacaoComponent; });
/* 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 PendenciasCancelaOperacaoComponent = /** @class */ (function () {
    function PendenciasCancelaOperacaoComponent(messages) {
        this.messages = messages;
        this.execute = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    PendenciasCancelaOperacaoComponent.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.pendencias", "messages.motivoCancelamentoNaoInformado");
                }
                else {
                    motivo = this.motivoCancelamento;
                    this.execute.emit(motivo);
                    jQuery("#cancela-operacao-dialog").modal("hide");
                    this.motivoCancelamento = undefined;
                }
                return [2 /*return*/];
            });
        });
    };
    PendenciasCancelaOperacaoComponent.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)
    ], PendenciasCancelaOperacaoComponent.prototype, "execute", void 0);
    PendenciasCancelaOperacaoComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-pendencias-cancela-operacao',
            template: __importDefault(__webpack_require__(/*! raw-loader!./pendencias-cancela-operacao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-cancela-operacao/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"]])
    ], PendenciasCancelaOperacaoComponent);
    return PendenciasCancelaOperacaoComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/pendencias-index.component.scss":
/*!************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3Mvc2FudG9zLWJyYXNpbC9tb3ZpbWVudG9zL3BlbmRlbmNpYXMvcGVuZGVuY2lhcy1pbmRleC9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxccGFnZXNcXGVzcGVjaWZpY29zXFxzYW50b3MtYnJhc2lsXFxtb3ZpbWVudG9zXFxwZW5kZW5jaWFzXFxwZW5kZW5jaWFzLWluZGV4XFxwZW5kZW5jaWFzLWluZGV4LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9lc3BlY2lmaWNvcy9zYW50b3MtYnJhc2lsL21vdmltZW50b3MvcGVuZGVuY2lhcy9wZW5kZW5jaWFzLWluZGV4L3BlbmRlbmNpYXMtaW5kZXguY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxzQkFBQTtBQ0NKOztBREVBO0VBQ0ksb0NBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL3NhbnRvcy1icmFzaWwvbW92aW1lbnRvcy9wZW5kZW5jaWFzL3BlbmRlbmNpYXMtaW5kZXgvcGVuZGVuY2lhcy1pbmRleC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi50YWJsZSB0ZCB7XHJcbiAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG59XHJcblxyXG4uc2VsZWN0ZWQge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogI2I0ZDdlYiAhaW1wb3J0YW50O1xyXG59IiwiLnRhYmxlIHRkIHtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbn1cblxuLnNlbGVjdGVkIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2I0ZDdlYiAhaW1wb3J0YW50O1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/pendencias-index.component.ts":
/*!**********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/pendencias-index.component.ts ***!
  \**********************************************************************************************************************/
/*! exports provided: PendenciasIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PendenciasIndexComponent", function() { return PendenciasIndexComponent; });
/* 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 _pendencias_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../pendencias.model */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.model.ts");
/* harmony import */ var _pendencias_constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../pendencias.constants */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.constants.ts");
/* harmony import */ var _pendencias_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../pendencias.service */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.service.ts");
/* harmony import */ var app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/shared/components/commons/table/table.component */ "./src/app/shared/components/commons/table/table.component.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-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 __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 PendenciasIndexComponent = /** @class */ (function (_super) {
    __extends(PendenciasIndexComponent, _super);
    function PendenciasIndexComponent(router, messageService, configuracao, service, entradaVeiculoService, datatablesService, funcoesService, permissoesUtils, loginService) {
        var _this = _super.call(this, new _pendencias_constants__WEBPACK_IMPORTED_MODULE_12__["PendenciasConstants"](), 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.dadosIndex = [];
        _this.hasDados = false;
        _this.mensagens = [];
        _this.constantes = new _pendencias_constants__WEBPACK_IMPORTED_MODULE_12__["PendenciasConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.reprocessar = function () {
            if (!!(_this.service.data.regControle)) {
                _this.service.reprocessar(_this.service.data.regControle).subscribe(function (result) {
                    _this.mensagens = _this.messageService.validationResult(result);
                    if (!result.isValid) {
                        _this.messageService.warning("titles.veiculosComPendencias", _this.mensagens[0]);
                    }
                    else {
                        _this.messageService.success("titles.veiculosComPendencias", "messages.geracaoDeCheckListConcluidoComSucesso");
                    }
                    _this.refresh();
                });
            }
        };
        _this.cancelaAOperacao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 3, function () {
                jQuery("#cancela-operacao-dialog").modal("show");
            });
        };
        _this.abrirCadPlaca = function () {
            var placas = "";
            if (!!_this.service.data.placaCavalo) {
                placas += _this.service.data.placaCavalo;
            }
            if (!!_this.service.data.placaCarreta1) {
                if (!!placas) {
                    placas += ',';
                }
                placas += _this.service.data.placaCarreta1;
            }
            if (!!_this.service.data.placaCarreta2) {
                if (!!placas) {
                    placas += ',';
                }
                placas += _this.service.data.placaCarreta2;
            }
            if (!!placas) {
                _this.funcoesService.openWindow('cadastro/cadastroPlaca?placas=' + btoa(placas));
            }
            else {
                _this.funcoesService.openWindow('cadastro/cadastroPlaca');
            }
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    PendenciasIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        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: 'cancelaAOperacao', func: function () { return _this.cancelaAOperacao; } },
            { action: 'abrirCadPlaca', func: function () { return _this.abrirCadPlaca; } }
        ]);
    };
    PendenciasIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.get().subscribe(function (resp) {
            _this.service.data = new _pendencias_model__WEBPACK_IMPORTED_MODULE_11__["Pendencias"]();
            _this.dadosIndex = resp;
            _this.hasDados = resp && resp.length > 0;
        });
    };
    Object.defineProperty(PendenciasIndexComponent.prototype, "dados", {
        get: function () {
            var _this = this;
            if (!this.table)
                return [];
            if (!this.hasDados || !this.table.filtro) {
                return this.table.getPage(this.dadosIndex);
            }
            var dados = this.dadosIndex.filter(function (v) {
                return app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["NumberUtilsStaticService"].exist(v.regControle, _this.table.filtro) ||
                    _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].exist(v.tipoOperacao, _this.table.filtro) ||
                    _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].exist(v.dtChegada, _this.table.filtro) ||
                    _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].exist(v.cliente, _this.table.filtro) ||
                    _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].exist(v.placaCavalo, _this.table.filtro) ||
                    _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].exist(v.placaCarreta1, _this.table.filtro) ||
                    _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].exist(v.placaCarreta2, _this.table.filtro) ||
                    _shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["StringUtilsStaticService"].exist(v.nomeMotorista, _this.table.filtro);
            });
            return this.table.getPage(dados);
        },
        enumerable: true,
        configurable: true
    });
    PendenciasIndexComponent.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");
        });
    };
    PendenciasIndexComponent.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*/];
                }
            });
        });
    };
    PendenciasIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    PendenciasIndexComponent.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: _pendencias_service__WEBPACK_IMPORTED_MODULE_13__["PendenciasService"] },
        { 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"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])(app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"], { static: false }),
        __metadata("design:type", app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"])
    ], PendenciasIndexComponent.prototype, "table", void 0);
    PendenciasIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-pendencias-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./pendencias-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/pendencias-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./pendencias-index.component.scss */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/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"],
            _pendencias_service__WEBPACK_IMPORTED_MODULE_13__["PendenciasService"],
            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"]])
    ], PendenciasIndexComponent);
    return PendenciasIndexComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.component.scss":
/*!************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3Mvc2FudG9zLWJyYXNpbC9tb3ZpbWVudG9zL3BlbmRlbmNpYXMvcGVuZGVuY2lhcy12ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1tb2RhbC9DOlxcQ29ycG9yYXRlXFxDb3Jwb3JhdGVXZWJEZXNlbnZcXF91bmlzb2x1dGlvbi9zcmNcXGFwcFxccGFnZXNcXGVzcGVjaWZpY29zXFxzYW50b3MtYnJhc2lsXFxtb3ZpbWVudG9zXFxwZW5kZW5jaWFzXFxwZW5kZW5jaWFzLXZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzLW1vZGFsXFxwZW5kZW5jaWFzLXZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9lc3BlY2lmaWNvcy9zYW50b3MtYnJhc2lsL21vdmltZW50b3MvcGVuZGVuY2lhcy9wZW5kZW5jaWFzLXZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzLW1vZGFsL3BlbmRlbmNpYXMtdmVpY3Vsb3MtY29tLXBlbmRlbmNpYXMtbW9kYWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxxQkFBQTtBQ0NKIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3Mvc2FudG9zLWJyYXNpbC9tb3ZpbWVudG9zL3BlbmRlbmNpYXMvcGVuZGVuY2lhcy12ZWljdWxvcy1jb20tcGVuZGVuY2lhcy1tb2RhbC9wZW5kZW5jaWFzLXZlaWN1bG9zLWNvbS1wZW5kZW5jaWFzLW1vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmJyZWFrTGluZSB7XHJcbiAgICB3aGl0ZS1zcGFjZTogcHJlLWxpbmU7XHJcbn0iLCIuYnJlYWtMaW5lIHtcbiAgd2hpdGUtc3BhY2U6IHByZS1saW5lO1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.component.ts":
/*!**********************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.component.ts ***!
  \**********************************************************************************************************************************************************************/
/*! exports provided: PendenciasVeiculosComPendenciasModalComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PendenciasVeiculosComPendenciasModalComponent", function() { return PendenciasVeiculosComPendenciasModalComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _pendencias_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../pendencias.service */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/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 PendenciasVeiculosComPendenciasModalComponent = /** @class */ (function () {
    function PendenciasVeiculosComPendenciasModalComponent(service) {
        this.service = service;
    }
    PendenciasVeiculosComPendenciasModalComponent.ctorParameters = function () { return [
        { type: _pendencias_service__WEBPACK_IMPORTED_MODULE_1__["PendenciasService"] }
    ]; };
    PendenciasVeiculosComPendenciasModalComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-pendencias-veiculos-com-pendencias-modal",
            template: __importDefault(__webpack_require__(/*! raw-loader!./pendencias-veiculos-com-pendencias-modal.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./pendencias-veiculos-com-pendencias-modal.component.scss */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_pendencias_service__WEBPACK_IMPORTED_MODULE_1__["PendenciasService"]])
    ], PendenciasVeiculosComPendenciasModalComponent);
    return PendenciasVeiculosComPendenciasModalComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.constants.ts":
/*!***********************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.constants.ts ***!
  \***********************************************************************************************/
/*! exports provided: PendenciasConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PendenciasConstants", function() { return PendenciasConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var PendenciasConstants = /** @class */ (function () {
    function PendenciasConstants() {
        this.sisFormularioId = 375010;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.reprocessar" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.cancelaAOperacao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "DIV";
        this.nomeForm = "titles.veiculosComPendencias";
        this.reportId = "STS0000";
        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: 'AbrirCadPlaca', action: 'abrirCadPlaca', icon: "icon-truck", exibeButton: true, eximeMenu: true, disabled: false, menuName: 'Movimento' },
            { title: 'cancelaAOperacao', action: 'cancelaAOperacao', icon: "fa fa-ban", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
    }
    return PendenciasConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.model.ts":
/*!*******************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.model.ts ***!
  \*******************************************************************************************/
/*! exports provided: Pendencias, VeiculosComPendenciasCheckList */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Pendencias", function() { return Pendencias; });
/* 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 Pendencias = /** @class */ (function (_super) {
    __extends(Pendencias, _super);
    function Pendencias() {
        return _super.call(this) || this;
    }
    return Pendencias;
}(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/santos-brasil/movimentos/pendencias/pendencias.module.ts":
/*!********************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.module.ts ***!
  \********************************************************************************************/
/*! exports provided: PendenciasModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PendenciasModule", function() { return PendenciasModule; });
/* 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 _pendencias_cancela_operacao_pendencias_cancela_operacao_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pendencias-cancela-operacao/pendencias-cancela-operacao.component */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-cancela-operacao/pendencias-cancela-operacao.component.ts");
/* harmony import */ var _pendencias_index_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pendencias-index/pendencias-index.component */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/pendencias-index.component.ts");
/* harmony import */ var _pendencias_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./pendencias.routing.module */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.routing.module.ts");
/* harmony import */ var _pendencias_veiculos_com_pendencias_modal_pendencias_veiculos_com_pendencias_modal_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.component */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-veiculos-com-pendencias-modal/pendencias-veiculos-com-pendencias-modal.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 PendenciasModule = /** @class */ (function () {
    function PendenciasModule() {
    }
    PendenciasModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [
                _pendencias_index_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__["PendenciasIndexComponent"],
                _pendencias_veiculos_com_pendencias_modal_pendencias_veiculos_com_pendencias_modal_component__WEBPACK_IMPORTED_MODULE_5__["PendenciasVeiculosComPendenciasModalComponent"],
                _pendencias_cancela_operacao_pendencias_cancela_operacao_component__WEBPACK_IMPORTED_MODULE_2__["PendenciasCancelaOperacaoComponent"]
            ],
            imports: [
                app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"],
                _pendencias_routing_module__WEBPACK_IMPORTED_MODULE_4__["PendenciasRoutingModule"]
            ]
        })
    ], PendenciasModule);
    return PendenciasModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.routing.module.ts":
/*!****************************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.routing.module.ts ***!
  \****************************************************************************************************/
/*! exports provided: PendenciasRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PendenciasRoutingModule", function() { return PendenciasRoutingModule; });
/* 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 _pendencias_index_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pendencias-index/pendencias-index.component */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias-index/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 PendenciasRoutes = [
    {
        path: "",
        component: _pendencias_index_pendencias_index_component__WEBPACK_IMPORTED_MODULE_3__["PendenciasIndexComponent"],
        data: {
            breadcrumb: "veiculosComPendencias",
            formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index }
        }
    }
];
var PendenciasRoutingModule = /** @class */ (function () {
    function PendenciasRoutingModule() {
    }
    PendenciasRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(PendenciasRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], PendenciasRoutingModule);
    return PendenciasRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.service.ts":
/*!*********************************************************************************************!*\
  !*** ./src/app/pages/especificos/santos-brasil/movimentos/pendencias/pendencias.service.ts ***!
  \*********************************************************************************************/
/*! exports provided: PendenciasService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PendenciasService", function() { return PendenciasService; });
/* 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 _pendencias_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./pendencias.model */ "./src/app/pages/especificos/santos-brasil/movimentos/pendencias/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 PendenciasService = /** @class */ (function (_super) {
    __extends(PendenciasService, _super);
    function PendenciasService(http) {
        var _this = _super.call(this, http, "santosBrasil/pendencia") || this;
        _this.http = http;
        _this.data = new _pendencias_model__WEBPACK_IMPORTED_MODULE_5__["Pendencias"]();
        return _this;
    }
    PendenciasService.prototype.getPendencias = function (id) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/santosBrasil/pendencia/getPendencias/" + id).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    PendenciasService.prototype.reprocessar = function (id) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].specifics_service_url + "/api/v1/santosBrasil/pendencia/reprocessar/" + id)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    PendenciasService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    PendenciasService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], PendenciasService);
    return PendenciasService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_6__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-santos-brasil-movimentos-pendencias-pendencias-module.js.map