(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-cli-movimentos-consulta-carga-kmm-consulta-carga-kmm-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-filter/consulta-carga-kmm-filter.component.html":
/*!******************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-filter/consulta-carga-kmm-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=\"consulta-carga-kmm-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\r\n    <div class=\"modal-dialog modal-sm\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{title}}</h6>\r\n            </div>\r\n            <form class=\"form\" #form=\"ngForm\" (ngSubmit)=\"onSubmit(form)\">\r\n                <app-validacoes></app-validacoes>\r\n                <div class=\"modal-body\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"data\" class=\"required\">{{'labels.data' |\r\n                                    translate}}</label>\r\n                                <app-data id=\"data\" name=\"data\" [(ngModel)]=\"service.filter.data\" required autofocus>\r\n                                </app-data>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <div class=\"modal-footer\">\r\n                    <button class=\"btn btn-success mr-1\" type=\"submit\">{{ 'buttons.pesquisar' | translate }}\r\n                    </button>\r\n                    <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">{{ 'buttons.sair' | translate\r\n                        }}</button>\r\n                </div>\r\n            </form>\r\n        </div>\r\n    </div>\r\n</div>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-index/consulta-carga-kmm-index.component.html":
/*!****************************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-index/consulta-carga-kmm-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\" [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <div class=\"row mb-2\">\n        <div class=\"col-12\">\n            <table id=\"dtConsultaKmm\" class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n            </table>\n        </div>\n    </div>\n\n    <ng-container *ngIf=\"!!data\">\n        <div class=\"row mb-2\">\n            <div class=\"col-12\">\n                <div class=\"table-responsive\">\n                    <table class=\"table table-striped table-bordered table-hover nowrap table-sm\">\n                        <tr>\n                            <th>NotaId</th>\n                            <th>Chave</th>\n                            <th>ChaveCte</th>\n                            <th>PesoCarga</th>\n                            <th>PesoTotal</th>\n                            <th>UnidadeMedida</th>\n                        </tr>\n                        <tbody>\n                            <tr *ngFor=\"let val of data.notasReferencia\">\n                                <td> {{ val?.notaId }} </td>\n                                <td> {{ val?.chave }} </td>\n                                <td> {{ val?.chaveCte }} </td>\n                                <td> {{ val?.pesoCarga | formatCurrency:0 }} </td>\n                                <td> {{ val?.pesoTotal | formatCurrency:0 }} </td>\n                                <td> {{ val?.unidadeMedida }} </td>\n                            </tr>\n                        </tbody>\n                    </table>\n                </div>\n            </div>\n        </div>\n    </ng-container>\n</div>\n\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n<app-propriedades></app-propriedades>\n<app-consulta-carga-kmm-filter (filtrar)=\"executaFiltro()\"></app-consulta-carga-kmm-filter>");

/***/ }),

/***/ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-filter/consulta-carga-kmm-filter.component.ts":
/*!**************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-filter/consulta-carga-kmm-filter.component.ts ***!
  \**************************************************************************************************************************************/
/*! exports provided: ConsultaCargaKmmFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaCargaKmmFilterComponent", function() { return ConsultaCargaKmmFilterComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_1__ = __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 _consulta_carga_kmm_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../consulta-carga-kmm.service */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.service.ts");
/* harmony import */ var _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../../../../../../shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__ = __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_5__ = __webpack_require__(/*! ./../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};






var ConsultaCargaKmmFilterComponent = /** @class */ (function () {
    function ConsultaCargaKmmFilterComponent(service, message, funcoesService) {
        this.service = service;
        this.message = message;
        this.funcoesService = funcoesService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
    }
    ConsultaCargaKmmFilterComponent.prototype.ngOnInit = function () {
    };
    Object.defineProperty(ConsultaCargaKmmFilterComponent.prototype, "title", {
        get: function () {
            return this.message.translate("titles.consultaCargaKmm");
        },
        enumerable: true,
        configurable: true
    });
    ConsultaCargaKmmFilterComponent.prototype.onSubmit = function (form) {
        _shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_3__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid)
            return;
        this.filtrar.emit(this.service.filter);
        _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["ModalUtilsStaticService"].closeModal("consulta-carga-kmm-filter-dialog");
    };
    ConsultaCargaKmmFilterComponent.ctorParameters = function () { return [
        { type: _consulta_carga_kmm_service__WEBPACK_IMPORTED_MODULE_2__["ConsultaCargaKmmService"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"])(),
        __metadata("design:type", Object)
    ], ConsultaCargaKmmFilterComponent.prototype, "filtrar", void 0);
    ConsultaCargaKmmFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-consulta-carga-kmm-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-carga-kmm-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-filter/consulta-carga-kmm-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_consulta_carga_kmm_service__WEBPACK_IMPORTED_MODULE_2__["ConsultaCargaKmmService"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_5__["MessageService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"]])
    ], ConsultaCargaKmmFilterComponent);
    return ConsultaCargaKmmFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-index/consulta-carga-kmm-index.component.ts":
/*!************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-index/consulta-carga-kmm-index.component.ts ***!
  \************************************************************************************************************************************/
/*! exports provided: ConsultaCargaKmmIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaCargaKmmIndexComponent", function() { return ConsultaCargaKmmIndexComponent; });
/* 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 _consulta_carga_kmm_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../consulta-carga-kmm.constants */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.constants.ts");
/* harmony import */ var _consulta_carga_kmm_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../consulta-carga-kmm.model */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.model.ts");
/* harmony import */ var _consulta_carga_kmm_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../consulta-carga-kmm.service */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.service.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../../../../../..//pages/login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var _shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../../../../../../shared/components/commons/table/table.component */ "./src/app/shared/components/commons/table/table.component.ts");
/* harmony import */ var _shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../../../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.service.ts");
/* harmony import */ var _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/excel/excel.service */ "./src/app/shared/services/funcoes/excel/excel.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_11__ = __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 _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.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 ConsultaCargaKmmIndexComponent = /** @class */ (function (_super) {
    __extends(ConsultaCargaKmmIndexComponent, _super);
    function ConsultaCargaKmmIndexComponent(messageService, service, funcoesService, loginService, permissoesUtils, excelService, datatables, router) {
        var _this = _super.call(this, new _consulta_carga_kmm_constants__WEBPACK_IMPORTED_MODULE_2__["ConsultaCargaKmmConstants"](), funcoesService) || this;
        _this.messageService = messageService;
        _this.service = service;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.excelService = excelService;
        _this.datatables = datatables;
        _this.router = router;
        _this.constantes = new _consulta_carga_kmm_constants__WEBPACK_IMPORTED_MODULE_2__["ConsultaCargaKmmConstants"]();
        _this.mensagens = [];
        _this.title = "titles.consultaCargaKmm";
        _this.permissoes = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 2, function () {
                _super.prototype.permissoes.call(_this, _this.constantes);
            });
        };
        _this.importar = function () {
            _this.messageService.confirm(_this.title, "messages.confirmaImportacaoDeDados", null, function () {
                _this.service.processar('C').subscribe(function (r) {
                    if (!r.isValid) {
                        r.erros.forEach(function (m) { return _this.messageService.warning(_this.title, m.message); });
                    }
                    else {
                        _this.messageService.saveSuccess(_this.title);
                    }
                });
            });
        };
        return _this;
    }
    ConsultaCargaKmmIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () { return __awaiter(_this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                if (!this.loginService.isTokenExpired()) {
                    this.service.filter = new _consulta_carga_kmm_model__WEBPACK_IMPORTED_MODULE_3__["ConsultaCargaKmmFiltroVo"]();
                    this.filtrar();
                }
                return [2 /*return*/];
            });
        }); }, function () { return _this.permissoesUtils.back(); }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'importar', func: function () { return _this.importar; } },
        ]);
    };
    ConsultaCargaKmmIndexComponent.prototype.refresh = function () {
        this.getByFiltro();
    };
    ConsultaCargaKmmIndexComponent.prototype.getByFiltro = function () {
        var _this = this;
        this.service.getCargas(this.service.filter).subscribe(function (data) {
            var columns = [
                _this.datatables.getToDataString({ colData: "registro", mantemLabelCol: true }),
                _this.datatables.getToDataString({ colData: "serial", mantemLabelCol: true }),
                _this.datatables.getToDataString({ colData: "codigo", mantemLabelCol: true }),
                _this.datatables.getToDataDateTime({ colData: "dataCarregamento", mantemLabelCol: true }),
                _this.datatables.getToDataDateTime({ colData: "dataIntegracaoCargaFerro", mantemLabelCol: true }),
                _this.datatables.getToDataString({ colData: "cargaCombinada", mantemLabelCol: true }),
                _this.datatables.getToDataString({ colData: "multiploDespacho", mantemLabelCol: true }),
                _this.datatables.getToDataString({ colData: "sequenciaComposicao", mantemLabelCol: true }),
                _this.datatables.getToDataDateTime({ colData: "dataDescarregamento", mantemLabelCol: true }),
                _this.datatables.getToDataDouble({ colData: "pesoTara", colDecimais: 0, mantemLabelCol: true }),
                _this.datatables.getToDataDouble({ colData: "peso", colDecimais: 0, mantemLabelCol: true }),
                _this.datatables.getToDataDouble({ colData: "pesoTotal", colDecimais: 0, mantemLabelCol: true }),
            ];
            _this.datatables.toDataTable({ tableId: "dtConsultaKmm", columns: columns, data: data }, function (oData) {
                _this.data = oData;
            });
        });
    };
    ConsultaCargaKmmIndexComponent.prototype.filtrar = function () {
        _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["ModalUtilsStaticService"].openModal("consulta-carga-kmm-filter-dialog");
    };
    ConsultaCargaKmmIndexComponent.prototype.executaFiltro = function () {
        this.refresh();
    };
    ConsultaCargaKmmIndexComponent.ctorParameters = function () { return [
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_13__["MessageService"] },
        { type: _consulta_carga_kmm_service__WEBPACK_IMPORTED_MODULE_4__["ConsultaCargaKmmService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__["FuncoesService"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_12__["PermissoesUtilsService"] },
        { type: _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__["ExcelService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_8__["DatatablesService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])(_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_6__["TableComponent"], { static: false }),
        __metadata("design:type", _shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_6__["TableComponent"])
    ], ConsultaCargaKmmIndexComponent.prototype, "table", void 0);
    ConsultaCargaKmmIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-consulta-carga-kmm-patio-index',
            template: __importDefault(__webpack_require__(/*! raw-loader!./consulta-carga-kmm-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-index/consulta-carga-kmm-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_13__["MessageService"],
            _consulta_carga_kmm_service__WEBPACK_IMPORTED_MODULE_4__["ConsultaCargaKmmService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__["FuncoesService"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_5__["LoginService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_12__["PermissoesUtilsService"],
            _shared_services_funcoes_excel_excel_service__WEBPACK_IMPORTED_MODULE_9__["ExcelService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_8__["DatatablesService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]])
    ], ConsultaCargaKmmIndexComponent);
    return ConsultaCargaKmmIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_7__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.constants.ts":
/*!*****************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.constants.ts ***!
  \*****************************************************************************************************/
/*! exports provided: ConsultaCargaKmmConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaCargaKmmConstants", function() { return ConsultaCargaKmmConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaCargaKmmConstants = /** @class */ (function () {
    function ConsultaCargaKmmConstants() {
        this.sisFormularioId = 375380;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.importar" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.permissoes" }
        ];
        this.nomeForm = "titles.consultaCargaKmm";
        this.reportTitulo = { "titulo": "Consulta Carga KMM", "subTitulo": "" };
        this.reportId = "";
        this.listaIndex = [
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Pesquisar', action: 'filtrar', icon: "icon-search", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Importar', action: 'importar', icon: "fa fa-check", exibeButton: true, eximeMenu: true, menuName: 'Movimento', depitem: false },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
    }
    return ConsultaCargaKmmConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.model.ts":
/*!*************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.model.ts ***!
  \*************************************************************************************************/
/*! exports provided: ConsultaCargaKmmFiltroVo */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaCargaKmmFiltroVo", function() { return ConsultaCargaKmmFiltroVo; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ConsultaCargaKmmFiltroVo = /** @class */ (function () {
    function ConsultaCargaKmmFiltroVo() {
        this.data = new Date();
    }
    return ConsultaCargaKmmFiltroVo;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.module.ts":
/*!**************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.module.ts ***!
  \**************************************************************************************************/
/*! exports provided: ConsultaCargaKmmModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaCargaKmmModule", function() { return ConsultaCargaKmmModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _consulta_carga_kmm_index_consulta_carga_kmm_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./consulta-carga-kmm-index/consulta-carga-kmm-index.component */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-index/consulta-carga-kmm-index.component.ts");
/* harmony import */ var _consulta_carga_kmm_filter_consulta_carga_kmm_filter_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./consulta-carga-kmm-filter/consulta-carga-kmm-filter.component */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm-filter/consulta-carga-kmm-filter.component.ts");
/* harmony import */ var _consulta_carga_kmm_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./consulta-carga-kmm.routing.module */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.routing.module.ts");
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};





var ConsultaCargaKmmModule = /** @class */ (function () {
    function ConsultaCargaKmmModule() {
    }
    ConsultaCargaKmmModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _consulta_carga_kmm_routing_module__WEBPACK_IMPORTED_MODULE_4__["ConsultaCargaKmmRoutingModule"]],
            declarations: [
                _consulta_carga_kmm_index_consulta_carga_kmm_index_component__WEBPACK_IMPORTED_MODULE_2__["ConsultaCargaKmmIndexComponent"],
                _consulta_carga_kmm_filter_consulta_carga_kmm_filter_component__WEBPACK_IMPORTED_MODULE_3__["ConsultaCargaKmmFilterComponent"]
            ]
        })
    ], ConsultaCargaKmmModule);
    return ConsultaCargaKmmModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.routing.module.ts":
/*!**********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.routing.module.ts ***!
  \**********************************************************************************************************/
/*! exports provided: ConsultaCargaKmmRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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



/***/ }),

/***/ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.service.ts":
/*!***************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.service.ts ***!
  \***************************************************************************************************/
/*! exports provided: ConsultaCargaKmmService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConsultaCargaKmmService", function() { return ConsultaCargaKmmService; });
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/app.error-handler */ "./src/app/app.error-handler.ts");
/* harmony import */ var 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 environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! environments/environment */ "./src/environments/environment.ts");
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js");
/* harmony import */ var _consulta_carga_kmm_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./consulta-carga-kmm.model */ "./src/app/pages/especificos/cli/movimentos/consulta-carga-kmm/consulta-carga-kmm.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 ConsultaCargaKmmService = /** @class */ (function (_super) {
    __extends(ConsultaCargaKmmService, _super);
    function ConsultaCargaKmmService(http) {
        var _this = _super.call(this, http, "cli/consultaCargaKmm") || this;
        _this.http = http;
        _this.filter = new _consulta_carga_kmm_model__WEBPACK_IMPORTED_MODULE_6__["ConsultaCargaKmmFiltroVo"]();
        return _this;
    }
    ConsultaCargaKmmService.prototype.getCargas = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/cli/kmm/carga/get", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    ConsultaCargaKmmService.prototype.processar = function (tipo) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/cli/kmm/processar", { tipo: tipo })
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    ConsultaCargaKmmService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    ConsultaCargaKmmService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], ConsultaCargaKmmService);
    return ConsultaCargaKmmService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_3__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-cli-movimentos-consulta-carga-kmm-consulta-carga-kmm-module.js.map