(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-pontafelix-movimentos-ajustar-laudo-mov-operacional-ajustar-laudo-mov-operacional-module"],{

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"modal\" id=\"ajustar-laudo-mov-operacional-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop='static'>\n    <div class=\"uni-modal-dialog-md-40\">\n        <div class=\"modal-content\">\n            <div class=\"modal-header\">\n                <h6 class=\"modal-title\">{{ 'titles.ajustarLaudoMovOperacional' | translate }}</h6>\n            </div>\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\" autocomplete=\"off\">\n                <app-validacoes></app-validacoes>\n                <div class=\"modal-body\">\n                    <div class=\"row\">\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"laudo\">{{'labels.laudo' | translate}}</label>\n                                <input id=\"laudo\" name=\"laudo\" [(ngModel)]=\"service.laudosFiltro.laudoId\"\n                                    class=\"form-control form-control-sm\" type=\"text\" mask=\"999999999\"\n                                    (blur)=\"limpaCampos()\">\n                            </div>\n                        </div>\n                        <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <label for=\"item\">{{'labels.item' | translate}}</label>\n                                <input id=\"item\" name=\"item\" [(ngModel)]=\"service.laudosFiltro.itemId\"\n                                    class=\"form-control form-control-sm\" type=\"text\" mask=\"999999999\"\n                                    [disabled]=\"!disabledInputs\">\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12 col-md-12 col-sm-12\">\n                            <div class=\"row\">\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"emissaoDe\" class=\"required\">{{\"labels.emissaoDe\" | translate\n                                            }}</label>\n                                        <app-data id=\"emissaoDe\" name=\"emissaoDe\"\n                                            [(ngModel)]=\"service.laudosFiltro.dataI\" autofocus class=\"dataHora\"\n                                            [formatDateTime]=\"mascara.getFormatData\" (executa)=\"validaDatas()\"\n                                            required=\"true\" [disabled]=\"disabledInputs\">\n                                        </app-data>\n                                    </div>\n                                </div>\n                                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                                    <div class=\"form-group form-group-sm\">\n                                        <label for=\"ate\" class=\"required\">{{\"labels.ate\" | translate}}</label>\n                                        <app-data id=\"ate\" name=\"ate\" [(ngModel)]=\"service.laudosFiltro.dataF\"\n                                            class=\"dataHora\" [formatDateTime]=\"mascara.getFormatData\"\n                                            (executa)=\"validaDatas()\" required=\"true\" [disabled]=\"disabledInputs\">\n                                        </app-data>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12 col-md-12 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <app-pesquisa-destinatario id=\"destinatarioIdNavio\" name=\"destinatarioIdNavio\"\n                                    label=\"navio\" modalTitle=\"pesquisaDeNavio\"\n                                    [(ngModel)]=\"service.laudosFiltro.destinatarioIdNavio\" tipoDestinatario=\"N\"\n                                    [inSelected]=\"service.laudosFiltro.navio\" showCgcCpf=\"false\" showInscricao=\"false\"\n                                    [disabled]=\"disabledInputs\">\n                                </app-pesquisa-destinatario>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"row\">\n                        <div class=\"col-lg-12 col-md-12 col-sm-12\">\n                            <div class=\"form-group form-group-sm\">\n                                <app-pesquisa-material id=\"materialId\" name=\"materialId\" label=\"produto\"\n                                    modalTitle=\"pesquisaDeProduto\" [(ngModel)]=\"service.laudosFiltro.materialId\"\n                                    [disabled]=\"disabledInputs\" (outSelected)=\"service.laudosFiltro.material = $event\"\n                                    [inSelected]=\"service.laudosFiltro.material\">\n                                </app-pesquisa-material>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n                <div class=\"modal-footer\">\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}</button>\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate\n                        }}</button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component.html":
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component.html ***!
  \********************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\" [formAction]=\"actionForm\"\n    [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n<div class=\"row\">\n    <div class=\"col-lg-12\">\n        <div class=\"section-comand-bar\">\n            <app-validacoes></app-validacoes>\n            <div class=\"tab-content top\">\n                <app-ajustar-laudo-mov-operacional-legenda></app-ajustar-laudo-mov-operacional-legenda>\n                <div class=\"tab-pane active show\" id=\"ge\">\n                    <div class=\"clearfix\">\n                        <ul class=\"nav nav-tabs \">\n                            <li class=\"nav-item\">\n                                <a class=\"nav-link active show\" data-toggle=\"tab\" (click)=\"abaClicada('L')\"\n                                    href=\"#laudos\">{{\"labels.laudos\" |\n                                    translate}}</a>\n                            </li>\n                            <li class=\"nav-item\">\n                                <a class=\"nav-link\" data-toggle=\"tab\" (click)=\"abaClicada('M')\"\n                                    href=\"#movimentoOperacional\">{{\"labels.movimentoOperacional\" | translate}}</a>\n                            </li>\n                        </ul>\n                    </div>\n                    <div class=\"tab-content top\">\n                        <div class=\"tab-pane active show pl-0 pr-0\" id=\"laudos\">\n                            <table id=\"dtLaudos\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n                            </table>\n                        </div>\n                        <div class=\"tab-pane pl-0 pr-0\" id=\"movimentoOperacional\">\n                            <app-ajustar-laudo-mov-operacional-mov-ope (execute)=\"onRefresh(false)\">\n                            </app-ajustar-laudo-mov-operacional-mov-ope>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-ajustar-laudo-mov-operacional-filter (filtrar)=\"executaFiltro()\"></app-ajustar-laudo-mov-operacional-filter>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-legenda/ajustar-laudo-mov-operacional-legenda.component.html":
/*!************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-legenda/ajustar-laudo-mov-operacional-legenda.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=\"row\" *ngIf=\"!!service.legenda\">\n    <div class=\"col-lg-12\">\n        <div class=\"form-group form-group-sm\">\n            <textarea name=\"legenda\" class=\"form-control text-center\" [ngModel]=\"service.legenda\" disabled\n                style=\"overflow: auto; resize: none; height: auto; vertical-align: middle;\"></textarea>\n        </div>\n    </div>\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.html":
/*!************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.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=\"row\">\n    <div class=\"col-lg-12\">\n        <fieldset>\n            <div class=\"row\">\n                <div class=\"input-group\">\n                    <div class=\"col-lg-3 col-md-6 col-sm-12\">\n                        <div class=\"form-group form-group-sm\">\n                            <label class=\"required\" for=\"reDestino\">{{\n                                \"labels.reDestino\" | translate\n                                }}</label>\n                            <select name=\"reDestino\" id=\"reDestino\" [(ngModel)]=\"service.movOperFiltro.numRE\"\n                                class=\"form-control form-control-sm\">\n                                <option value=\"\">{{'labels.selecione' | translate}}</option>\n                                <ng-container *ngIf=\"!!numBLs\">\n                                    <option [value]=\"t?.chave\" *ngFor=\"let t of numBLs\">{{t?.valor}}</option>\n                                </ng-container>\n                            </select>\n                        </div>\n                    </div>\n                    <div class=\"col-lg-2 col-md-6 col-sm-12\">\n                        <div class=\"form-group form-group-sm\">\n                            <label for=\"placa\">{{\n                                \"labels.placa\" | translate\n                                }}</label>\n                            <div class=\"input-group\">\n                                <select class=\"form-control form-control-sm\" [(ngModel)]=\"service.movOperFiltro.placa\"\n                                    id=\"placa\" name=\"placa\">\n                                    <option value=\"\">{{ \"labels.selecione\" | translate }}</option>\n                                    <option *ngFor=\"let placa of placas\" value=\"{{placa}}\">\n                                        {{placa}}\n                                    </option>\n                                </select>\n                                <span class=\"input-group-btn\">\n                                    <a class=\"btn input-group-text\"\n                                        title=\"{{ 'labels.filtrarPeloNumeroDaPlaca' | translate }}\" type=\"button\"\n                                        (click)=\"_refresh();\">\n                                        <i class=\"fa fa-search\"></i>\n                                    </a>\n                                </span>\n                            </div>\n                        </div>\n                    </div>\n                    <div class=\"col-lg-2 col-md-6 col-sm-12\">\n                        <div class=\"form-group form-group-sm\">\n                            <label for=\"pesoLiq\">{{'labels.pesoLiq' | translate}}</label>\n                            <input id=\"pesoLiq\" name=\"pesoLiq\" [(ngModel)]=\"vlAjustar\"\n                                class=\"form-control form-control-sm\" type=\"text\" currencyMask disabled\n                                [options]=\"funcoes.optionCurrency(0)\">\n                        </div>\n                    </div>\n                    <div class=\"col-lg-5 col-md-5 col-sm-12\">\n                        <div class=\"form-group form-group-sm\">\n                            <div class=\"clearfix\">&nbsp;</div>\n                            <button type=\"button\" class=\"btn btn-default mr-3\" (click)=\"cancelar()\">\n                                <i class=\"fa fa-close icon _red\"></i>\n                                {{ 'buttons.cancela' | translate }}\n                            </button>\n                            <button [disabled]=\"!hasDados\" type=\"button\" class=\"btn btn-default mr-3\" (click)=\"ajustar()\">\n                                <i class=\"fa fa-gears\"></i>\n                                {{ 'buttons.ajustar' | translate }}\n                            </button>\n                            <button [disabled]=\"!hasDados\" type=\"button\" class=\"btn btn-default\" (click)=\"selecionarTodos()\">\n                                <i class=\"fa fa-check icon _green\"></i>\n                                {{ 'buttons.todos' | translate }}\n                            </button>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </fieldset>\n    </div>\n</div>\n<div class=\"clearfix\">&nbsp;</div>\n<app-table>\n    <div class=\"table-responsive\" style=\"overflow: auto;\">\n        <table id=\"dtMovOper\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n            <thead>\n                <tr>\n                    <th class=\"text-center\">{{ 'labels.sel' | translate}}</th>\n                    <th style=\"text-align: right;\">{{ 'labels.registro' | translate}}</th>\n                    <th style=\"text-align: right;\">{{ 'labels.laudo' | translate}}</th>\n                    <th style=\"text-align: right;\">{{ 'labels.item' | translate}}</th>\n                    <th style=\"text-align: right;\">{{ 'labels.subItem' | translate}}</th>\n                    <th>{{ 'labels.material' | translate}}</th>\n                    <th>{{ 'labels.deposito' | translate}}</th>\n                    <th>{{ 'labels.data' | translate }}</th>\n                    <th>{{ 'labels.placa' | translate }}</th>\n                    <th style=\"text-align: right;\">{{ 'labels.pesoLiq' | translate}}</th>\n                    <th>{{ 'labels.numeroRE' | translate }}</th>\n                </tr>\n            </thead>\n            <tbody>\n                <tr *ngFor=\"let t of dados; index as i\" (dblclick)=\"_dbClick(t, i)\" (click)=\"_click(t, i)\"\n                    [ngClass]=\"{'info': t == data && i == currentIndex ? true : false}\">\n                    <td class=\"text-center\">\n                        <label class=\"chk\">\n                            <input type=\"checkbox\" id=\"seleciona\" name=\"seleciona\" value=\"checked\"\n                                (ngModelChange)=\"t.flagSelecionado = $event ? 'S' : 'N'\"\n                                [ngModel]=\"t.flagSelecionado ==='S'\" style=\"margin-left:auto; margin-right:auto;\"\n                                disabled>\n                            <span [ngClass]=\"{'red':t.flagSelecionado === 'S' ? true : false}\"></span>\n                        </label>\n                    </td>\n                    <td style=\"text-align: right;\">{{ t.regMovOper }}</td>\n                    <td style=\"text-align: right;\">{{ t.regLaudoId }}</td>\n                    <td style=\"text-align: right;\">{{ t.itemLaudoId }}</td>\n                    <td style=\"text-align: right;\">{{ t.subItemLaudoId }}</td>\n                    <td>{{ t.fantasiaMaterial }}</td>\n                    <td>{{ t.deposito }}</td>\n                    <td style=\"white-space: nowrap;\">{{ t.dtOperInc | date: 'dd/MM/yyyy HH:mm' }}\n                    <td>{{ t.placaCavalo }}</td>\n                    <td style=\"text-align: right;\">{{ t.pesoLiq | formatCurrency: 0 }}</td>\n                    <td>{{ t.numBL }}</td>\n                </tr>\n                <tr *ngIf=\"!hasDados\">\n                    <th colspan=\"15\" style=\"text-align: center\">\n                        {{ \"messages.nenhumRegistroEncontrado\" | translate }}\n                    </th>\n                </tr>\n            </tbody>\n        </table>\n    </div>\n</app-table>\n<div class=\"row\">");

/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-filter/ajustar-laudo-mov-operacional-filter.component.ts":
/*!******************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-filter/ajustar-laudo-mov-operacional-filter.component.ts ***!
  \******************************************************************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalFilterComponent", function() { return AjustarLaudoMovOperacionalFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../ajustar-laudo-mov-operacional.model */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.model.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ajustar-laudo-mov-operacional.service */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.service.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ajustar-laudo-mov-operacional.constants */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.constants.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};











var AjustarLaudoMovOperacionalFilterComponent = /** @class */ (function () {
    function AjustarLaudoMovOperacionalFilterComponent(service, messageService) {
        this.service = service;
        this.messageService = messageService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_1__["Mascaras"]();
        this.constantes = new _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_4__["AjustarLaudoMovOperacionalConstants"]();
    }
    AjustarLaudoMovOperacionalFilterComponent.prototype.ngOnInit = function () {
        if (!this.service.laudosFiltro) {
            this.service.laudosFiltro = new _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_2__["AjustarLaudoMovOperacionalLaudosFilter"]();
        }
    };
    AjustarLaudoMovOperacionalFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_5__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        if (!this.validaDatas()) {
            return;
        }
        this.filtrar.emit();
        app_shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_6__["ModalUtilsStaticService"].closeModal("ajustar-laudo-mov-operacional-filter-dialog");
    };
    AjustarLaudoMovOperacionalFilterComponent.prototype.validaDatas = function () {
        if (app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["DateTimeUtilsStaticService"].menorA(this.service.laudosFiltro.dataF, this.service.laudosFiltro.dataI, ['H', 'M'])) {
            this.messageService.warning("titles.ajustarLaudoMovOperacional", "messages.periodoDeMaiorQueAte");
            return false;
        }
        return true;
    };
    Object.defineProperty(AjustarLaudoMovOperacionalFilterComponent.prototype, "disabledInputs", {
        get: function () {
            return this.service.laudosFiltro.laudoId > 0;
        },
        enumerable: true,
        configurable: true
    });
    AjustarLaudoMovOperacionalFilterComponent.prototype.limpaCampos = function () {
        this.service.laudosFiltro.itemId = 0;
        this.service.laudosFiltro.dataI = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_7__["DateTimeUtilsStaticService"].addDays(new Date(), -1);
        this.service.laudosFiltro.dataF = new Date();
        this.service.laudosFiltro.destinatarioIdNavio = 0;
        this.service.laudosFiltro.navio = new app_pages_cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_10__["Destinatario"]();
        this.service.laudosFiltro.materialId = "";
        this.service.laudosFiltro.material = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_9__["Material"]();
    };
    AjustarLaudoMovOperacionalFilterComponent.ctorParameters = function () { return [
        { type: _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_3__["AjustarLaudoMovOperacionalService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], AjustarLaudoMovOperacionalFilterComponent.prototype, "filtrar", void 0);
    AjustarLaudoMovOperacionalFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-ajustar-laudo-mov-operacional-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./ajustar-laudo-mov-operacional-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-filter/ajustar-laudo-mov-operacional-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_3__["AjustarLaudoMovOperacionalService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"]])
    ], AjustarLaudoMovOperacionalFilterComponent);
    return AjustarLaudoMovOperacionalFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component.ts":
/*!****************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component.ts ***!
  \****************************************************************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalIndexComponent", function() { return AjustarLaudoMovOperacionalIndexComponent; });
/* harmony import */ var _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/modal-utils/modal-utils.static.service */ "./src/app/shared/services/funcoes/modal-utils/modal-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 app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__ = __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 _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../ajustar-laudo-mov-operacional.constants */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.constants.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../ajustar-laudo-mov-operacional.service */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.service.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../ajustar-laudo-mov-operacional.model */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.model.ts");
/* harmony import */ var app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.service.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_mov_ope_ajustar_laudo_mov_operacional_mov_ope_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.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 AjustarLaudoMovOperacionalIndexComponent = /** @class */ (function (_super) {
    __extends(AjustarLaudoMovOperacionalIndexComponent, _super);
    function AjustarLaudoMovOperacionalIndexComponent(router, service, messageService, funcoes, loginService, permissoesUtils, datatablesService, numberUtilsService) {
        var _this = _super.call(this, new _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_7__["AjustarLaudoMovOperacionalConstants"](), funcoes) || this;
        _this.router = router;
        _this.service = service;
        _this.messageService = messageService;
        _this.funcoes = funcoes;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.datatablesService = datatablesService;
        _this.numberUtilsService = numberUtilsService;
        _this.constantes = new _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_7__["AjustarLaudoMovOperacionalConstants"]();
        _this.mensagens = [];
        _this.reload = false;
        _this.refreshLaudos = function () {
            _this.service.dataLaudos = new _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_11__["AjustarLaudoMovOperacionalAbaLaudos"]();
            _this.service.legenda = "";
            _this.service.getAbaLaudosByFilter().subscribe(function (data) {
                var columns = [
                    _this.datatablesService.getDataStringAlignRight("regLaudoId", "laudo", "10%"),
                    _this.datatablesService.getDataStringAlignRight("itemId", "item", "10%"),
                    _this.datatablesService.getDataString("descrMater", "material"),
                    _this.datatablesService.getDataString("navio", "navio"),
                    _this.datatablesService.getDataDateTime("dtMovimento", "data", "DD/MM/YYYY", "15%"),
                    _this.datatablesService.getDataDouble("kilosManif", "manifestado", 0, false, "10%"),
                    _this.datatablesService.getDataDouble("kilosRecebe", "recebido", 0, false, "10%"),
                    _this.datatablesService.getDataString("sitReg", "situacao")
                ];
                _this.datatablesService.toDataTable({ tableId: "dtLaudos", columns: columns, data: data, orientationOrder: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_12__["EOrientationOrder"].ASC }, function (aData) {
                    _this.service.dataLaudos = aData;
                    _this.getDadosLegenda();
                });
            });
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoes.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    AjustarLaudoMovOperacionalIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            if (!_this.loginService.isTokenExpired()) {
                _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["ModalUtilsStaticService"].openModal("ajustar-laudo-mov-operacional-filter-dialog");
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.getDadosLegenda = function () {
        var _this = this;
        if (!!this.service.dataLaudos.regLaudoId && this.service.dataLaudos.itemId) {
            this.service.getDadosLegenda(this.service.dataLaudos.regLaudoId, this.service.dataLaudos.itemId).subscribe(function (result) {
                if (result && result.length > 0) {
                    _this.service.legenda = result.map(function (item) { return "RE: " + item.numBL + " (" + _this.numberUtilsService.getCurrency(item.pesoLiq, 0) + ")"; }).join(' - ');
                }
                else {
                    _this.service.legenda = '';
                }
            });
        }
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.executaFiltro = function () {
        if (this.service.abaAtual === 'M') {
            this.service.abaAtual = 'L';
            jQuery("a.nav-link[href='#laudos']").click();
        }
        this.onRefresh(true);
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.filtrar = function () {
        _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["ModalUtilsStaticService"].openModal("ajustar-laudo-mov-operacional-filter-dialog");
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.abaClicada = function (aba) {
        this.service.movOperFiltro = new _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_11__["AjustarLaudoMovOperacionalMovOperFilter"]();
        this.service.abaAtual = aba;
        this.onRefresh(false);
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.onRefresh = function (reload) {
        if (this.service.abaAtual === 'M') {
            this.refreshMovOper();
        }
        else {
            if (reload)
                this.refreshLaudos();
        }
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.refresh = function () {
        this.onRefresh(true);
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.refreshMovOper = function () {
        this.service.dadosMovOper = [];
        if (!this.itemSelecionado()) {
            setTimeout(function () {
                jQuery("a.nav-link[href='#laudos']").click();
            }, 100);
            return;
        }
        this.childAbaMovOper._refresh();
    };
    AjustarLaudoMovOperacionalIndexComponent.prototype.itemSelecionado = function () {
        if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["NumberUtilsStaticService"].isNotPositive(this.service.dataLaudos.regLaudoId && this.service.dataLaudos.itemId)) {
            this.messageService.warning("titles.ajustarLaudoMovOperacional", "messages.selecioneUmRegistro");
            return false;
        }
        return true;
    };
    AjustarLaudoMovOperacionalIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_9__["Router"] },
        { type: _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_8__["AjustarLaudoMovOperacionalService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"] },
        { type: app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_12__["DatatablesService"] },
        { type: app_shared_services_funcoes_number_utils_number_utils_service__WEBPACK_IMPORTED_MODULE_13__["NumberUtilsService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])(_ajustar_laudo_mov_operacional_mov_ope_ajustar_laudo_mov_operacional_mov_ope_component__WEBPACK_IMPORTED_MODULE_14__["AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent"], { static: false }),
        __metadata("design:type", _ajustar_laudo_mov_operacional_mov_ope_ajustar_laudo_mov_operacional_mov_ope_component__WEBPACK_IMPORTED_MODULE_14__["AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent"])
    ], AjustarLaudoMovOperacionalIndexComponent.prototype, "childAbaMovOper", void 0);
    AjustarLaudoMovOperacionalIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-ajustar-laudo-mov-operacional-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./ajustar-laudo-mov-operacional-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_9__["Router"],
            _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_8__["AjustarLaudoMovOperacionalService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_5__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_2__["LoginService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_3__["PermissoesUtilsService"],
            app_shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_12__["DatatablesService"],
            app_shared_services_funcoes_number_utils_number_utils_service__WEBPACK_IMPORTED_MODULE_13__["NumberUtilsService"]])
    ], AjustarLaudoMovOperacionalIndexComponent);
    return AjustarLaudoMovOperacionalIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-legenda/ajustar-laudo-mov-operacional-legenda.component.ts":
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-legenda/ajustar-laudo-mov-operacional-legenda.component.ts ***!
  \********************************************************************************************************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalLegendaComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalLegendaComponent", function() { return AjustarLaudoMovOperacionalLegendaComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../ajustar-laudo-mov-operacional.service */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.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 AjustarLaudoMovOperacionalLegendaComponent = /** @class */ (function () {
    function AjustarLaudoMovOperacionalLegendaComponent(service) {
        this.service = service;
    }
    AjustarLaudoMovOperacionalLegendaComponent.prototype.ngOnInit = function () {
    };
    AjustarLaudoMovOperacionalLegendaComponent.ctorParameters = function () { return [
        { type: _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_1__["AjustarLaudoMovOperacionalService"] }
    ]; };
    AjustarLaudoMovOperacionalLegendaComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-ajustar-laudo-mov-operacional-legenda',
            template: __importDefault(__webpack_require__(/*! raw-loader!./ajustar-laudo-mov-operacional-legenda.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-legenda/ajustar-laudo-mov-operacional-legenda.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_1__["AjustarLaudoMovOperacionalService"]])
    ], AjustarLaudoMovOperacionalLegendaComponent);
    return AjustarLaudoMovOperacionalLegendaComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.scss":
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.scss ***!
  \**********************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".chk input {\n  display: none;\n}\n\n.chk span {\n  width: 14px;\n  height: 14px;\n  display: block;\n  background-color: #fff;\n  border: 1px solid #DDD;\n  border-radius: 18px;\n}\n\nspan.red {\n  background-color: #c03;\n}\n\n.icon {\n  font-size: 16px !important;\n}\n\n.icon._red {\n  color: #c03;\n}\n\n.icon._green {\n  color: #378D3B;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvcG9udGFmZWxpeC9tb3ZpbWVudG9zL2FqdXN0YXItbGF1ZG8tbW92LW9wZXJhY2lvbmFsL2FqdXN0YXItbGF1ZG8tbW92LW9wZXJhY2lvbmFsLWluZGV4L2FqdXN0YXItbGF1ZG8tbW92LW9wZXJhY2lvbmFsLW1vdi1vcGUvQzpcXENvcnBvcmF0ZVxcQ29ycG9yYXRlV2ViRGVzZW52XFxfdW5pc29sdXRpb24vc3JjXFxhcHBcXHBhZ2VzXFxlc3BlY2lmaWNvc1xccG9udGFmZWxpeFxcbW92aW1lbnRvc1xcYWp1c3Rhci1sYXVkby1tb3Ytb3BlcmFjaW9uYWxcXGFqdXN0YXItbGF1ZG8tbW92LW9wZXJhY2lvbmFsLWluZGV4XFxhanVzdGFyLWxhdWRvLW1vdi1vcGVyYWNpb25hbC1tb3Ytb3BlXFxhanVzdGFyLWxhdWRvLW1vdi1vcGVyYWNpb25hbC1tb3Ytb3BlLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9wYWdlcy9lc3BlY2lmaWNvcy9wb250YWZlbGl4L21vdmltZW50b3MvYWp1c3Rhci1sYXVkby1tb3Ytb3BlcmFjaW9uYWwvYWp1c3Rhci1sYXVkby1tb3Ytb3BlcmFjaW9uYWwtaW5kZXgvYWp1c3Rhci1sYXVkby1tb3Ytb3BlcmFjaW9uYWwtbW92LW9wZS9hanVzdGFyLWxhdWRvLW1vdi1vcGVyYWNpb25hbC1tb3Ytb3BlLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksYUFBQTtBQ0NKOztBREVBO0VBQ0ksV0FBQTtFQUNBLFlBQUE7RUFDQSxjQUFBO0VBQ0Esc0JBQUE7RUFDQSxzQkFBQTtFQUNBLG1CQUFBO0FDQ0o7O0FERUE7RUFDSSxzQkFBQTtBQ0NKOztBREVBO0VBQ0ksMEJBQUE7QUNDSjs7QURFQTtFQUNJLFdBQUE7QUNDSjs7QURFQTtFQUNJLGNBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL3BvbnRhZmVsaXgvbW92aW1lbnRvcy9hanVzdGFyLWxhdWRvLW1vdi1vcGVyYWNpb25hbC9hanVzdGFyLWxhdWRvLW1vdi1vcGVyYWNpb25hbC1pbmRleC9hanVzdGFyLWxhdWRvLW1vdi1vcGVyYWNpb25hbC1tb3Ytb3BlL2FqdXN0YXItbGF1ZG8tbW92LW9wZXJhY2lvbmFsLW1vdi1vcGUuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2hrIGlucHV0IHtcclxuICAgIGRpc3BsYXk6IG5vbmU7XHJcbn1cclxuXHJcbi5jaGsgc3BhbiB7XHJcbiAgICB3aWR0aDogMTRweDtcclxuICAgIGhlaWdodDogMTRweDtcclxuICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcclxuICAgIGJvcmRlcjogMXB4IHNvbGlkICNEREQ7XHJcbiAgICBib3JkZXItcmFkaXVzOiAxOHB4O1xyXG59XHJcblxyXG5zcGFuLnJlZCB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjYzAzO1xyXG59XHJcblxyXG4uaWNvbiB7XHJcbiAgICBmb250LXNpemU6IDE2cHggIWltcG9ydGFudDtcclxufVxyXG5cclxuLmljb24uX3JlZCB7XHJcbiAgICBjb2xvcjogI2MwMztcclxufVxyXG5cclxuLmljb24uX2dyZWVuIHtcclxuICAgIGNvbG9yOiAjMzc4RDNCO1xyXG59XHJcbiIsIi5jaGsgaW5wdXQge1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4uY2hrIHNwYW4ge1xuICB3aWR0aDogMTRweDtcbiAgaGVpZ2h0OiAxNHB4O1xuICBkaXNwbGF5OiBibG9jaztcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbiAgYm9yZGVyOiAxcHggc29saWQgI0RERDtcbiAgYm9yZGVyLXJhZGl1czogMThweDtcbn1cblxuc3Bhbi5yZWQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjYzAzO1xufVxuXG4uaWNvbiB7XG4gIGZvbnQtc2l6ZTogMTZweCAhaW1wb3J0YW50O1xufVxuXG4uaWNvbi5fcmVkIHtcbiAgY29sb3I6ICNjMDM7XG59XG5cbi5pY29uLl9ncmVlbiB7XG4gIGNvbG9yOiAjMzc4RDNCO1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.ts":
/*!********************************************************************************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.ts ***!
  \********************************************************************************************************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent", function() { return AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_2__ = __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 _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/shared/components/commons/table/table.component */ "./src/app/shared/components/commons/table/table.component.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../ajustar-laudo-mov-operacional.service */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../ajustar-laudo-mov-operacional.constants */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.constants.ts");
/* harmony import */ var app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../ajustar-laudo-mov-operacional.model */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.model.ts");
/* harmony import */ var app_shared_components_combos_combo_padrao_combo_padrao_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/shared/components/combos/combo-padrao/combo-padrao.service */ "./src/app/shared/components/combos/combo-padrao/combo-padrao.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 AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent = /** @class */ (function (_super) {
    __extends(AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent, _super);
    function AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent(router, service, messageService, funcoes, loginService, permissoesUtils, comboPadraoService, cdr) {
        var _this = _super.call(this, new _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_8__["AjustarLaudoMovOperacionalConstants"](), funcoes) || this;
        _this.router = router;
        _this.service = service;
        _this.messageService = messageService;
        _this.funcoes = funcoes;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.comboPadraoService = comboPadraoService;
        _this.cdr = cdr;
        _this.execute = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this.mascara = new app_config_enumerables__WEBPACK_IMPORTED_MODULE_12__["Mascaras"]();
        _this.constantes = new _ajustar_laudo_mov_operacional_constants__WEBPACK_IMPORTED_MODULE_8__["AjustarLaudoMovOperacionalConstants"]();
        _this.registrosSelecionados = [];
        _this.mensagens = [];
        _this.placas = [];
        _this.numBLs = [];
        _this.vlAjustar = 0;
        _this.geraDados = false;
        _this.onRefresh = function () { return __awaiter(_this, void 0, void 0, function () {
            var obj, _a;
            return __generator(this, function (_b) {
                switch (_b.label) {
                    case 0:
                        this.registrosSelecionados = [];
                        this.vlAjustar = 0;
                        obj = {
                            regLaudoId: this.service.dataLaudos.regLaudoId,
                            itemId: this.service.dataLaudos.itemId,
                            placa: this.service.movOperFiltro.placa,
                            geraDados: this.geraDados
                        };
                        _a = this.service;
                        return [4 /*yield*/, this.service.getTmpMovtoOperacional(obj).toPromise()];
                    case 1:
                        _a.dadosMovOper = _b.sent();
                        this.carregaCombos();
                        this.calculaPesoLiq();
                        this.cdr.detectChanges();
                        return [2 /*return*/];
                }
            });
        }); };
        _this.ajustar = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 2, function () {
                if (!_this.service.movOperFiltro.numRE) {
                    _this.messageService.warning("titles.ajustarLaudoMovOperacional", "messages.selecioneUmNumeroDeReDestino");
                    return;
                }
                var existeSelecionado = _this.service.dadosMovOper.some(function (registro) { return registro.flagSelecionado === 'S'; });
                if (existeSelecionado) {
                    var newObj_1 = _this.service.dadosMovOper
                        .filter(function (item) { return item.flagSelecionado === 'S'; })
                        .map(function (item) {
                        var clone = Object.assign({}, item);
                        clone.subItemLaudoId = +_this.service.movOperFiltro.numRE;
                        return clone;
                    });
                    _this.messageService.confirm("titles.ajustarLaudoMovOperacional", "messages.confirmaAjusteDoMovimentoOperacional", null, function () { return __awaiter(_this, void 0, void 0, function () {
                        var _this = this;
                        return __generator(this, function (_a) {
                            this.service.ajustarMovimentoOperacional(newObj_1).subscribe(function (result) {
                                _this.mensagens = _this.messageService.validationResult(result);
                                if (!result.isValid) {
                                    if (result.erros.length > 1) {
                                        for (var i = 0; i < result.erros.length; i++) {
                                            _this.mensagens = _this.messageService.validationResult(result);
                                            var mensagem = _this.mensagens[i];
                                            _this.messageService.warning("titles.ajustarLaudoMovOperacional", _this.messageService.translate("" + mensagem));
                                        }
                                        return;
                                    }
                                    else {
                                        var mensagem = _this.mensagens[0];
                                        _this.messageService.warning("titles.ajustarLaudoMovOperacional", _this.messageService.translate("" + mensagem));
                                        return;
                                    }
                                }
                                else {
                                    _this.messageService.saveSuccess("titles.ajustarLaudoMovOperacional");
                                    _this.onRefresh();
                                }
                            });
                            return [2 /*return*/];
                        });
                    }); }, false);
                }
                else {
                    _this.messageService.warning("titles.ajustarLaudoMovOperacional", "messages.selecioneUmRegistro");
                    return;
                }
            });
        };
        router.events.subscribe(function (event) {
            var params = _this.funcoes.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.ngOnInit = function () {
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype._refresh = function () {
        this.executaFiltro();
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.executaFiltro = function () {
        this.geraDados = true;
        this.onRefresh();
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.carregaCombos = function () {
        this.getReDestino();
        this.getTmpMovimentoOperacionalPlaca();
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.getReDestino = function () {
        var _this = this;
        this.numBLs = [];
        var condicionaisOptions = [
            {
                operadorLogico: "AND",
                campo: "RegLaudo",
                operador: "=",
                valor: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].toNumber(this.service.dataLaudos.regLaudoId)
            },
            {
                operadorLogico: "AND",
                campo: "Item",
                operador: "=",
                valor: app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].toNumber(this.service.dataLaudos.itemId)
            }
        ];
        this.comboPadraoService.get('StoLaudoCliente', 'subItem', 'NumBL', true, '', '', this.loginService.getLogin().filialId, condicionaisOptions).subscribe(function (resp) {
            if (!!resp) {
                _this.numBLs = resp;
            }
        });
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.getTmpMovimentoOperacionalPlaca = function () {
        var _this = this;
        this.service.getTmpMovimentoOperacionalPlaca().subscribe(function (ret) {
            if (!!ret) {
                _this.placas = ret;
            }
        });
    };
    Object.defineProperty(AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype, "dados", {
        get: function () {
            var _this = this;
            if (!this.table)
                return [];
            if (!this.hasDados || !this.table.filtro) {
                return this.table.getPage(this.service.dadosMovOper);
            }
            var dados = this.service.dadosMovOper.filter(function (v) {
                return app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].exist(v.regMovOper, _this.table.filtro) ||
                    app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].exist(v.regLaudoId, _this.table.filtro) ||
                    app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].exist(v.itemLaudoId, _this.table.filtro) ||
                    app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].exist(v.subItemLaudoId, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["StringUtilsStaticService"].exist(v.fantasiaMaterial, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["StringUtilsStaticService"].exist(v.deposito, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["StringUtilsStaticService"].exist(app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_13__["DateTimeUtilsStaticService"].convertDateToDateStr(v.dtOperInc), _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["StringUtilsStaticService"].exist(v.placaCavalo, _this.table.filtro) ||
                    app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].exist(v.pesoLiq, _this.table.filtro) ||
                    app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_10__["StringUtilsStaticService"].exist(v.numBL, _this.table.filtro);
            });
            return this.table.getPage(dados);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype, "hasDados", {
        get: function () {
            if (!this.service.dadosMovOper)
                return false;
            return this.service.dadosMovOper && this.service.dadosMovOper.length > 0;
        },
        enumerable: true,
        configurable: true
    });
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype._click = function (item, index) {
        this.currentIndex = index;
        this.data = item;
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype._dbClick = function (item, index) {
        this.currentIndex = index;
        this.onMarcarDesmarcar(item);
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.onMarcarDesmarcar = function (obj) {
        var _this = this;
        obj.flagSelecionado = obj.flagSelecionado === 'S' ? 'N' : 'S';
        this.geraDados = false;
        this.service.onMarcarDesmarcar(obj).subscribe(function (result) {
            if (!result.isValid) {
                _this.messageService.warning("titles.ajustarLaudoMovOperacional", _this.mensagens[0]);
            }
            else {
                _this.onRefresh();
            }
        });
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.selecionarTodos = function () {
        var _this = this;
        if (!this.hasDados) {
            this.messageService.warning("titles.ajustarLaudoMovOperacional", "messages.tabelaVazia");
            return;
        }
        this.geraDados = false;
        this.service.selecionarTodos(this.service.dadosMovOper).subscribe(function (result) {
            _this.mensagens = _this.messageService.validationResult(result);
            if (!result.isValid) {
                _this.messageService.warning("titles.ajustarLaudoMovOperacional", _this.mensagens[0]);
            }
            else {
                _this.onRefresh();
            }
        });
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.calculaPesoLiq = function () {
        this.vlAjustar = this.service.dadosMovOper.reduce(function (accumulator, currentValue) {
            return accumulator + (currentValue.flagSelecionado === "S" ? app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["NumberUtilsStaticService"].toNumber(currentValue.pesoLiq) : 0);
        }, 0);
        return this.vlAjustar;
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.cancelar = function () {
        this.limpar();
        this.service.abaAtual = 'L';
        this.execute.emit();
        jQuery("a.nav-link[href='#laudos']").click();
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype.limpar = function () {
        this.service.dadosMovOper = [];
        this.service.movOperFiltro = new _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_14__["AjustarLaudoMovOperacionalMovOperFilter"]();
        this.vlAjustar = 0;
    };
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"] },
        { type: _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_6__["AjustarLaudoMovOperacionalService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_9__["FuncoesService"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__["LoginService"] },
        { type: app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_2__["PermissoesUtilsService"] },
        { type: app_shared_components_combos_combo_padrao_combo_padrao_service__WEBPACK_IMPORTED_MODULE_15__["ComboPadraoService"] },
        { type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])(app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_5__["TableComponent"], { static: false }),
        __metadata("design:type", app_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_5__["TableComponent"])
    ], AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype, "table", void 0);
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent.prototype, "execute", void 0);
    AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-ajustar-laudo-mov-operacional-mov-ope",
            template: __importDefault(__webpack_require__(/*! raw-loader!./ajustar-laudo-mov-operacional-mov-ope.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./ajustar-laudo-mov-operacional-mov-ope.component.scss */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"],
            _ajustar_laudo_mov_operacional_service__WEBPACK_IMPORTED_MODULE_6__["AjustarLaudoMovOperacionalService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_9__["FuncoesService"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_1__["LoginService"],
            app_shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_2__["PermissoesUtilsService"],
            app_shared_components_combos_combo_padrao_combo_padrao_service__WEBPACK_IMPORTED_MODULE_15__["ComboPadraoService"],
            _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]])
    ], AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent);
    return AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent;
}(app_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.constants.ts":
/*!**********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.constants.ts ***!
  \**********************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalConstants", function() { return AjustarLaudoMovOperacionalConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var AjustarLaudoMovOperacionalConstants = /** @class */ (function () {
    function AjustarLaudoMovOperacionalConstants() {
        this.sisFormularioId = 375110;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.ajustar" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "CON";
        this.nomeForm = "titles.ajustarLaudoMovOperacional";
        this.reportId = "PON0000";
        this.reportTitulo = { "titulo": "Ajustar Laudo do Movto Operacional", "subTitulo": "" };
        this.listaIndex = [
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", 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 AjustarLaudoMovOperacionalConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.model.ts":
/*!******************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.model.ts ***!
  \******************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalLaudosFilter, AjustarLaudoMovOperacionalMovOperFilter, AjustarLaudoMovOperacionalAbaLaudos, AjustarLaudoMovOperacionalDadosLegenda, AjustarLaudoMovOperacionalAbaMovOper */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalLaudosFilter", function() { return AjustarLaudoMovOperacionalLaudosFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalMovOperFilter", function() { return AjustarLaudoMovOperacionalMovOperFilter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalAbaLaudos", function() { return AjustarLaudoMovOperacionalAbaLaudos; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalDadosLegenda", function() { return AjustarLaudoMovOperacionalDadosLegenda; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalAbaMovOper", function() { return AjustarLaudoMovOperacionalAbaMovOper; });
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/funcoes/date-time-utils/date-time-utils.static.service */ "./src/app/shared/services/funcoes/date-time-utils/date-time-utils.static.service.ts");
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

var AjustarLaudoMovOperacionalLaudosFilter = /** @class */ (function () {
    function AjustarLaudoMovOperacionalLaudosFilter() {
        this.laudoId = 0;
        this.itemId = 0;
        this.dataI = app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["DateTimeUtilsStaticService"].addDays(new Date(), -1);
        this.dataF = new Date();
        this.destinatarioIdNavio = 0;
        this.materialId = "";
    }
    return AjustarLaudoMovOperacionalLaudosFilter;
}());

var AjustarLaudoMovOperacionalMovOperFilter = /** @class */ (function () {
    function AjustarLaudoMovOperacionalMovOperFilter() {
        this.laudoId = 0;
        this.itemId = 0;
        this.numRE = "";
        this.placa = "";
    }
    return AjustarLaudoMovOperacionalMovOperFilter;
}());

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

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

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



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.module.ts":
/*!*******************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.module.ts ***!
  \*******************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalModule", function() { return AjustarLaudoMovOperacionalModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional.routing.module */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.routing.module.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_filter_ajustar_laudo_mov_operacional_filter_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional-filter/ajustar-laudo-mov-operacional-filter.component */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-filter/ajustar-laudo-mov-operacional-filter.component.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_legenda_ajustar_laudo_mov_operacional_legenda_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-legenda/ajustar-laudo-mov-operacional-legenda.component */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-legenda/ajustar-laudo-mov-operacional-legenda.component.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_mov_ope_ajustar_laudo_mov_operacional_mov_ope_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.component */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-mov-ope/ajustar-laudo-mov-operacional-mov-ope.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 AjustarLaudoMovOperacionalModule = /** @class */ (function () {
    function AjustarLaudoMovOperacionalModule() {
    }
    AjustarLaudoMovOperacionalModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _ajustar_laudo_mov_operacional_routing_module__WEBPACK_IMPORTED_MODULE_2__["AjustarLaudoMovOperacionalRoutingModule"]],
            declarations: [
                _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_index_component__WEBPACK_IMPORTED_MODULE_3__["AjustarLaudoMovOperacionalIndexComponent"],
                _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_mov_ope_ajustar_laudo_mov_operacional_mov_ope_component__WEBPACK_IMPORTED_MODULE_6__["AjustarLaudoMovOperacionalAbaMovimentoOperacionalComponent"],
                _ajustar_laudo_mov_operacional_filter_ajustar_laudo_mov_operacional_filter_component__WEBPACK_IMPORTED_MODULE_4__["AjustarLaudoMovOperacionalFilterComponent"],
                _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_legenda_ajustar_laudo_mov_operacional_legenda_component__WEBPACK_IMPORTED_MODULE_5__["AjustarLaudoMovOperacionalLegendaComponent"]
            ]
        })
    ], AjustarLaudoMovOperacionalModule);
    return AjustarLaudoMovOperacionalModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.routing.module.ts":
/*!***************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.routing.module.ts ***!
  \***************************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalRoutingModule", function() { return AjustarLaudoMovOperacionalRoutingModule; });
/* 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 _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional-index/ajustar-laudo-mov-operacional-index.component.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var MRoutes = [
    {
        path: "",
        component: _ajustar_laudo_mov_operacional_index_ajustar_laudo_mov_operacional_index_component__WEBPACK_IMPORTED_MODULE_3__["AjustarLaudoMovOperacionalIndexComponent"],
        data: { breadcrumb: "ajustarLaudoMovOperacional", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    }
];
var AjustarLaudoMovOperacionalRoutingModule = /** @class */ (function () {
    function AjustarLaudoMovOperacionalRoutingModule() {
    }
    AjustarLaudoMovOperacionalRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(MRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]],
        })
    ], AjustarLaudoMovOperacionalRoutingModule);
    return AjustarLaudoMovOperacionalRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.service.ts":
/*!********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.service.ts ***!
  \********************************************************************************************************************************/
/*! exports provided: AjustarLaudoMovOperacionalService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AjustarLaudoMovOperacionalService", function() { return AjustarLaudoMovOperacionalService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.service.ts");
/* harmony import */ var app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ajustar-laudo-mov-operacional.model */ "./src/app/pages/especificos/pontafelix/movimentos/ajustar-laudo-mov-operacional/ajustar-laudo-mov-operacional.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 __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 AjustarLaudoMovOperacionalService = /** @class */ (function (_super) {
    __extends(AjustarLaudoMovOperacionalService, _super);
    function AjustarLaudoMovOperacionalService(http, loginService) {
        var _this = _super.call(this, http, "pontafelix/ajustarLaudoMovOperacional") || this;
        _this.http = http;
        _this.loginService = loginService;
        _this.laudosFiltro = new _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_7__["AjustarLaudoMovOperacionalLaudosFilter"]();
        _this.movOperFiltro = new _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_7__["AjustarLaudoMovOperacionalMovOperFilter"]();
        _this.dataLaudos = new _ajustar_laudo_mov_operacional_model__WEBPACK_IMPORTED_MODULE_7__["AjustarLaudoMovOperacionalAbaLaudos"]();
        _this.dadosMovOper = [];
        _this.legenda = "";
        _this.abaAtual = "L";
        return _this;
    }
    AjustarLaudoMovOperacionalService.prototype.getAbaLaudosByFilter = function () {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/pontafelix/ajustarLaudoMovOperacional/getAbaLaudosByFilter", this.laudosFiltro)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AjustarLaudoMovOperacionalService.prototype.getDadosLegenda = function (regLaudoId, itemId) {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/pontafelix/ajustarLaudoMovOperacional/getDadosLegenda/" + regLaudoId + "/" + itemId)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AjustarLaudoMovOperacionalService.prototype.getTmpMovtoOperacional = function (filter) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/pontafelix/ajustarLaudoMovOperacional/getTmpMovtoOperacional", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AjustarLaudoMovOperacionalService.prototype.getTmpMovimentoOperacionalPlaca = function () {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/pontafelix/ajustarLaudoMovOperacional/getTmpMovimentoOperacionalPlaca")
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AjustarLaudoMovOperacionalService.prototype.ajustarMovimentoOperacional = function (dados) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/pontafelix/ajustarLaudoMovOperacional/ajustarMovimentoOperacional", dados)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AjustarLaudoMovOperacionalService.prototype.selecionarTodos = function (dados) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/pontafelix/ajustarLaudoMovOperacional/selecionarTodos", dados)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AjustarLaudoMovOperacionalService.prototype.onMarcarDesmarcar = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].specifics_service_url + "/api/v1/pontafelix/ajustarLaudoMovOperacional/onMarcarDesmarcar", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AjustarLaudoMovOperacionalService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] },
        { type: app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"] }
    ]; };
    AjustarLaudoMovOperacionalService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"],
            app_pages_login_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]])
    ], AjustarLaudoMovOperacionalService);
    return AjustarLaudoMovOperacionalService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_3__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-pontafelix-movimentos-ajustar-laudo-mov-operacional-ajustar-laudo-mov-operacional-module.js.map