(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-cli-consultas-ciclo-transporte-ciclo-transporte-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.html":
/*!***********************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-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=\"ciclo-transporte-filter-dialog\" tabindex=\"-1\" role=\"dialog\" data-backdrop=\"static\">\r\n    <div class=\"uni-modal-dialog-md-40\">\r\n        <div class=\"modal-content\">\r\n            <div class=\"modal-header\">\r\n                <h6 class=\"modal-title\">{{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-lg-6 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"dataI\" class=\"required\">{{'labels.periodoDe' |\r\n                                    translate}}</label>\r\n                                <app-data-h-m-s id=\"dataI\" name=\"periodoDe\" [(ngModel)]=\"service.filter.dataI\" required\r\n                                    autofocus (executa)=\"validaData()\">\r\n                                </app-data-h-m-s>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-lg-6 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"dataF\" class=\"required\">{{'labels.ate' | translate}}</label>\r\n                                <app-data-h-m-s id=\"dataF\" name=\"ate\" [(ngModel)]=\"service.filter.dataF\" required\r\n                                    (executa)=\"validaData()\">\r\n                                </app-data-h-m-s>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row mt-1\">\r\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-check-inline\">\r\n                                    <input type=\"radio\" name=\"tipo\" class=\"form-check-input\" value=\"A\"\r\n                                        required=\"true\" [(ngModel)]=\"service.filter.tipo\" />\r\n                                    {{ 'labels.aberto' | translate }}\r\n                                </div>\r\n                                <div class=\"form-check-inline\">\r\n                                    <input type=\"radio\" name=\"tipo\" class=\"form-check-input\" value=\"C\"\r\n                                        required=\"true\" [(ngModel)]=\"service.filter.tipo\" />\r\n                                    {{ 'labels.concluido' | translate }}\r\n                                </div>\r\n                                <div class=\"form-check-inline\">\r\n                                    <input type=\"radio\" name=\"tipo\" class=\"form-check-input\" value=\"T\"\r\n                                        required=\"true\" [(ngModel)]=\"service.filter.tipo\" />\r\n                                    {{ 'labels.todos' | translate }}\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row mt-1\">\r\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <div class=\"form-check-inline\">\r\n                                    <input type=\"radio\" name=\"tipoTransp\" class=\"form-check-input\" value=\"R\"\r\n                                        required=\"true\" [(ngModel)]=\"service.filter.tipoTransp\" />\r\n                                    {{ 'labels.rodoviario' | translate }}\r\n                                </div>\r\n                                <div class=\"form-check-inline\">\r\n                                    <input type=\"radio\" name=\"tipoTransp\" class=\"form-check-input\" value=\"F\"\r\n                                        required=\"true\" [(ngModel)]=\"service.filter.tipoTransp\" />\r\n                                    {{ 'labels.ferroviario' | translate }}\r\n                                </div>\r\n                                <div class=\"form-check-inline\">\r\n                                    <input type=\"radio\" name=\"tipoTransp\" class=\"form-check-input\" value=\"T\"\r\n                                        required=\"true\" [(ngModel)]=\"service.filter.tipoTransp\" />\r\n                                    {{ 'labels.ambos' | translate }}\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"cliente\" name=\"cliente\" label=\"cliente\"\r\n                                    modalTitle=\"pesquisaDeCliente\" [(ngModel)]=\"service.filter.cliente\"\r\n                                    tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\"\r\n                                    [inSelected]=\"service.filter.clienteModel\"\r\n                                    (outSelected)=\"service.filter.clienteModel = $event\">\r\n                                </app-pesquisa-destinatario>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"exportador\" name=\"exportador\" label=\"exportador\"\r\n                                    modalTitle=\"pesquisaDeExportador\" [(ngModel)]=\"service.filter.exportador\"\r\n                                    tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\"\r\n                                    [inSelected]=\"service.filter.exportadorModel\"\r\n                                    (outSelected)=\"service.filter.exportadorModel = $event\">\r\n                                </app-pesquisa-destinatario>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-destinatario id=\"fornecedor\" name=\"fornecedor\" label=\"fornecedor\"\r\n                                    modalTitle=\"pesquisaDeFornecedor\" [(ngModel)]=\"service.filter.fornecedor\"\r\n                                    tipoDestinatario=\"C\" showCgcCpf=\"false\" showInscricao=\"false\"\r\n                                    [inSelected]=\"service.filter.fornecedorModel\"\r\n                                    (outSelected)=\"service.filter.fornecedorModel = $event\">\r\n                                </app-pesquisa-destinatario>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label>{{'labels.filial' | translate}}</label>\r\n                                <app-combo-padrao id=\"filial\" name=\"filial\" tabela=\"Filial\" chave=\"Filial\" descricao=\"Fantasia\"\r\n                                    [(ngModel)]=\"service.filter.filial\" [ativos]=\"true\">\r\n                                </app-combo-padrao>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <app-pesquisa-material id=\"materialId\" name=\"materialId\" label=\"produto\"\r\n                                    modalTitle=\"pesquisaDeProduto\" (outSelected)=\"service.filter.materialModel = $event\"\r\n                                    [inSelected]=\"service.filter.materialModel\" [(ngModel)]=\"service.filter.material\">\r\n                                </app-pesquisa-material>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row mt-0\">\r\n                        <div class=\"col-lg-12\">\r\n                            <div class=\"form-group form-group-sm\">\r\n                                <label for=\"tipoRetorno\">{{'labels.visualizarEm' | translate}}</label>\r\n                                <select name=\"visualizarEm\" id=\"visualizarEm\" class=\"form-control form-control-sm\"\r\n                                    [(ngModel)]=\"service.filter.tipoRetorno\">\r\n                                    <option value=\"T\">{{ 'labels.tonelada' | translate }}</option>\r\n                                    <option value=\"K\">{{ 'labels.kilos' | translate }}</option>\r\n                                </select>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                    <div class=\"row\">\r\n                        <div class=\"col-lg-6 col-md-6 col-sm-12\">\r\n                            <label for=\"placa\">{{ 'labels.placa' | translate }}</label>\r\n                            <input type=\"text\" class=\"form-control-sm form-control\" name=\"placa\" id=\"placa\"\r\n                                [(ngModel)]=\"service.filter.placa\">\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/consultas/ciclo-transporte/ciclo-transporte-index/ciclo-transporte-index.component.html":
/*!*********************************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-index/ciclo-transporte-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    <table id=\"dtCicloTransporte\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\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-ciclo-transporte-filter (filtrar)=\"executaFiltro()\"></app-ciclo-transporte-filter>");

/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.scss":
/*!*********************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.scss ***!
  \*********************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (".custom-slider .ng5-slider .ng5-slider-bar {\n  background: #7874af;\n  height: 2px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-selection {\n  background: #bd7d05;\n}\n\n.custom-slider .ng5-slider .ng5-slider-pointer {\n  width: 8px;\n  height: 16px;\n  top: auto;\n  bottom: 0;\n  background-color: #333;\n  border-top-left-radius: 3px;\n  border-top-right-radius: 3px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-pointer:after {\n  display: none;\n}\n\n.custom-slider .ng5-slider .ng5-slider-bubble {\n  bottom: 14px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-limit {\n  font-weight: bold;\n  color: #827eb5;\n}\n\n.custom-slider .ng5-slider .ng5-slider-tick {\n  width: 1px;\n  height: 10px;\n  margin-left: 4px;\n  border-radius: 0;\n  background: #827eb5;\n  top: -1px;\n}\n\n.custom-slider .ng5-slider .ng5-slider-tick.ng5-slider-selected {\n  background: #e49607;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2xpL2NvbnN1bHRhcy9jaWNsby10cmFuc3BvcnRlL2NpY2xvLXRyYW5zcG9ydGUtZmlsdGVyL0M6XFxDb3Jwb3JhdGVcXENvcnBvcmF0ZVdlYkRlc2VudlxcX3VuaXNvbHV0aW9uL3NyY1xcYXBwXFxwYWdlc1xcZXNwZWNpZmljb3NcXGNsaVxcY29uc3VsdGFzXFxjaWNsby10cmFuc3BvcnRlXFxjaWNsby10cmFuc3BvcnRlLWZpbHRlclxcY2ljbG8tdHJhbnNwb3J0ZS1maWx0ZXIuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL3BhZ2VzL2VzcGVjaWZpY29zL2NsaS9jb25zdWx0YXMvY2ljbG8tdHJhbnNwb3J0ZS9jaWNsby10cmFuc3BvcnRlLWZpbHRlci9jaWNsby10cmFuc3BvcnRlLWZpbHRlci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFBO0VBQ0EsV0FBQTtBQ0NGOztBREVBO0VBQ0UsbUJBQUE7QUNDRjs7QURFQTtFQUNFLFVBQUE7RUFDQSxZQUFBO0VBQ0EsU0FBQTtFQUNBLFNBQUE7RUFDQSxzQkFBQTtFQUNBLDJCQUFBO0VBQ0EsNEJBQUE7QUNDRjs7QURFQTtFQUNFLGFBQUE7QUNDRjs7QURFQTtFQUNFLFlBQUE7QUNDRjs7QURFQTtFQUNFLGlCQUFBO0VBQ0EsY0FBQTtBQ0NGOztBREVBO0VBQ0UsVUFBQTtFQUNBLFlBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0VBQ0EsbUJBQUE7RUFDQSxTQUFBO0FDQ0Y7O0FERUE7RUFDRSxtQkFBQTtBQ0NGIiwiZmlsZSI6InNyYy9hcHAvcGFnZXMvZXNwZWNpZmljb3MvY2xpL2NvbnN1bHRhcy9jaWNsby10cmFuc3BvcnRlL2NpY2xvLXRyYW5zcG9ydGUtZmlsdGVyL2NpY2xvLXRyYW5zcG9ydGUtZmlsdGVyLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItYmFyIHtcclxuICBiYWNrZ3JvdW5kOiAjNzg3NGFmO1xyXG4gIGhlaWdodDogMnB4O1xyXG59XHJcblxyXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci1zZWxlY3Rpb24ge1xyXG4gIGJhY2tncm91bmQ6ICNiZDdkMDU7XHJcbn1cclxuXHJcbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLXBvaW50ZXIge1xyXG4gIHdpZHRoOiA4cHg7XHJcbiAgaGVpZ2h0OiAxNnB4O1xyXG4gIHRvcDogYXV0bztcclxuICBib3R0b206IDA7XHJcbiAgYmFja2dyb3VuZC1jb2xvcjogIzMzMztcclxuICBib3JkZXItdG9wLWxlZnQtcmFkaXVzOiAzcHg7XHJcbiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IDNweDtcclxufVxyXG5cclxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItcG9pbnRlcjphZnRlciB7XHJcbiAgZGlzcGxheTogbm9uZTtcclxufVxyXG5cclxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItYnViYmxlIHtcclxuICBib3R0b206IDE0cHg7XHJcbn1cclxuXHJcbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLWxpbWl0IHtcclxuICBmb250LXdlaWdodDogYm9sZDtcclxuICBjb2xvcjogIzgyN2ViNTtcclxufVxyXG5cclxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItdGljayB7XHJcbiAgd2lkdGg6IDFweDtcclxuICBoZWlnaHQ6IDEwcHg7XHJcbiAgbWFyZ2luLWxlZnQ6IDRweDtcclxuICBib3JkZXItcmFkaXVzOiAwO1xyXG4gIGJhY2tncm91bmQ6ICM4MjdlYjU7XHJcbiAgdG9wOiAtMXB4O1xyXG59XHJcblxyXG4uY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci10aWNrLm5nNS1zbGlkZXItc2VsZWN0ZWQge1xyXG4gIGJhY2tncm91bmQ6ICNlNDk2MDc7XHJcbn0iLCIuY3VzdG9tLXNsaWRlciAubmc1LXNsaWRlciAubmc1LXNsaWRlci1iYXIge1xuICBiYWNrZ3JvdW5kOiAjNzg3NGFmO1xuICBoZWlnaHQ6IDJweDtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItc2VsZWN0aW9uIHtcbiAgYmFja2dyb3VuZDogI2JkN2QwNTtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItcG9pbnRlciB7XG4gIHdpZHRoOiA4cHg7XG4gIGhlaWdodDogMTZweDtcbiAgdG9wOiBhdXRvO1xuICBib3R0b206IDA7XG4gIGJhY2tncm91bmQtY29sb3I6ICMzMzM7XG4gIGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IDNweDtcbiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IDNweDtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItcG9pbnRlcjphZnRlciB7XG4gIGRpc3BsYXk6IG5vbmU7XG59XG5cbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLWJ1YmJsZSB7XG4gIGJvdHRvbTogMTRweDtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItbGltaXQge1xuICBmb250LXdlaWdodDogYm9sZDtcbiAgY29sb3I6ICM4MjdlYjU7XG59XG5cbi5jdXN0b20tc2xpZGVyIC5uZzUtc2xpZGVyIC5uZzUtc2xpZGVyLXRpY2sge1xuICB3aWR0aDogMXB4O1xuICBoZWlnaHQ6IDEwcHg7XG4gIG1hcmdpbi1sZWZ0OiA0cHg7XG4gIGJvcmRlci1yYWRpdXM6IDA7XG4gIGJhY2tncm91bmQ6ICM4MjdlYjU7XG4gIHRvcDogLTFweDtcbn1cblxuLmN1c3RvbS1zbGlkZXIgLm5nNS1zbGlkZXIgLm5nNS1zbGlkZXItdGljay5uZzUtc2xpZGVyLXNlbGVjdGVkIHtcbiAgYmFja2dyb3VuZDogI2U0OTYwNztcbn0iXX0= */");

/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.ts":
/*!*******************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.ts ***!
  \*******************************************************************************************************************************/
/*! exports provided: CicloTransporteFilterComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CicloTransporteFilterComponent", function() { return CicloTransporteFilterComponent; });
/* 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_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__ = __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_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/shared/services/funcoes/funcoes.service */ "./src/app/shared/services/funcoes/funcoes.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _ciclo_transporte_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ciclo-transporte.service */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.service.ts");
/* harmony import */ var app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_6__ = __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 __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 CicloTransporteFilterComponent = /** @class */ (function () {
    function CicloTransporteFilterComponent(service, message, funcoesService) {
        this.service = service;
        this.message = message;
        this.funcoesService = funcoesService;
        this.filtrar = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
    }
    CicloTransporteFilterComponent.prototype.ngOnInit = function () {
    };
    Object.defineProperty(CicloTransporteFilterComponent.prototype, "title", {
        get: function () {
            return this.message.translate("titles.cicloTransporte");
        },
        enumerable: true,
        configurable: true
    });
    CicloTransporteFilterComponent.prototype.onSubmit = function (form) {
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_2__["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_0__["ModalUtilsStaticService"].closeModal("ciclo-transporte-filter-dialog");
    };
    CicloTransporteFilterComponent.prototype.trataCliente = function (data) {
        this.service.filter.clienteModel = data;
    };
    CicloTransporteFilterComponent.prototype.trataExportador = function (data) {
        this.service.filter.exportadorModel = data;
    };
    CicloTransporteFilterComponent.prototype.trataFornecedor = function (data) {
        this.service.filter.fornecedorModel = data;
    };
    CicloTransporteFilterComponent.prototype.trataMaterial = function (data) {
        this.service.filter.materialModel = data;
    };
    CicloTransporteFilterComponent.prototype.validaData = function (all) {
        if (all === void 0) { all = false; }
        if (app_shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_6__["DateTimeUtilsStaticService"].menorA(this.service.filter.dataF, this.service.filter.dataI, ['H', 'M', 'S'])) {
            this.message.warning("titles.cicloTransporte", "messages.periodoDeMenorQueAte");
            return false;
        }
        if (all) {
            if (!this.service.filter.dataF || !this.service.filter.dataI || (this.service.filter.dataF.toString() === "Invalid Date") || (this.service.filter.dataI.toString() === "Invalid Date")) {
                this.message.warning("titles.cicloTransporte", "messages.periodoNaoPreenchidoOuInvalido");
                return false;
            }
        }
        return true;
    };
    CicloTransporteFilterComponent.ctorParameters = function () { return [
        { type: _ciclo_transporte_service__WEBPACK_IMPORTED_MODULE_5__["CicloTransporteService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"] },
        { type: app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(),
        __metadata("design:type", Object)
    ], CicloTransporteFilterComponent.prototype, "filtrar", void 0);
    CicloTransporteFilterComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
            selector: "app-ciclo-transporte-filter",
            template: __importDefault(__webpack_require__(/*! raw-loader!./ciclo-transporte-filter.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
            styles: [__importDefault(__webpack_require__(/*! ./ciclo-transporte-filter.component.scss */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.scss")).default]
        }),
        __metadata("design:paramtypes", [_ciclo_transporte_service__WEBPACK_IMPORTED_MODULE_5__["CicloTransporteService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"],
            app_shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"]])
    ], CicloTransporteFilterComponent);
    return CicloTransporteFilterComponent;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-index/ciclo-transporte-index.component.ts":
/*!*****************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-index/ciclo-transporte-index.component.ts ***!
  \*****************************************************************************************************************************/
/*! exports provided: CicloTransporteIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CicloTransporteIndexComponent", function() { return CicloTransporteIndexComponent; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_2__ = __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 _ciclo_transporte_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../ciclo-transporte.constants */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.constants.ts");
/* harmony import */ var _ciclo_transporte_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../ciclo-transporte.model */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.model.ts");
/* harmony import */ var _ciclo_transporte_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../ciclo-transporte.service */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.service.ts");
/* harmony import */ var _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../../../../../..//pages/login/login.service */ "./src/app/pages/login/login.service.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");
/* harmony import */ var _shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./../../../../../../shared/components/commons/table/table.component */ "./src/app/shared/components/commons/table/table.component.ts");
/* harmony import */ var app_shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/shared/components/report/report.service */ "./src/app/shared/components/report/report.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 CicloTransporteIndexComponent = /** @class */ (function (_super) {
    __extends(CicloTransporteIndexComponent, _super);
    function CicloTransporteIndexComponent(messageService, service, funcoesService, loginService, permissoesUtils, excelService, router, datatablesService, reportService) {
        var _this = _super.call(this, new _ciclo_transporte_constants__WEBPACK_IMPORTED_MODULE_3__["CicloTransporteConstants"](), funcoesService) || this;
        _this.messageService = messageService;
        _this.service = service;
        _this.funcoesService = funcoesService;
        _this.loginService = loginService;
        _this.permissoesUtils = permissoesUtils;
        _this.excelService = excelService;
        _this.router = router;
        _this.datatablesService = datatablesService;
        _this.reportService = reportService;
        _this.constantes = new _ciclo_transporte_constants__WEBPACK_IMPORTED_MODULE_3__["CicloTransporteConstants"]();
        _this.mensagens = [];
        _this.title = "titles.cicloTransporte";
        _this.permissoes = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 2, function () {
                _super.prototype.permissoes.call(_this, _this.constantes);
            });
        };
        _this.export = function () {
            var colunas = {};
            _this.dados.colunas.forEach(function (item) {
                colunas[app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_2__["StringUtilsStaticService"].firstLetterLower(item.campo)] = item.titulo;
            });
            _this.reportService.exportEspecificos(_this.constantes.sisFormularioId, _this.constantes.paramRelatorio).subscribe(function (resp) {
                var options = {
                    headerObject: colunas
                };
                resp.forEach(function (c) {
                    delete c.regLog;
                });
                _this.excelService.exportAsExcelFile(resp, _this.messageService.getTranslates("titles", "cicloTransporte"), options);
            });
        };
        return _this;
    }
    CicloTransporteIndexComponent.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 _ciclo_transporte_model__WEBPACK_IMPORTED_MODULE_4__["CicloTransporteFiltroVo"]();
                    this.filtrar();
                }
                return [2 /*return*/];
            });
        }); }, function () { return _this.permissoesUtils.back(); }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'export', func: function () { return _this.export; } },
        ]);
    };
    CicloTransporteIndexComponent.prototype.refresh = function () {
        this.service.filter.geraDados = true;
        this.getByFiltro();
    };
    CicloTransporteIndexComponent.prototype.getByFiltro = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _a;
            var _this = this;
            return __generator(this, function (_b) {
                switch (_b.label) {
                    case 0:
                        _a = this;
                        return [4 /*yield*/, this.service.geraDados(this.service.filter).toPromise()];
                    case 1:
                        _a.dados = _b.sent();
                        this.service.filter.geraDados = false;
                        this.datatablesService.toDataTable({
                            tableId: "dtCicloTransporte",
                            columnsDef: this.dados.colunas,
                            columnOrder: 0,
                            orientationOrder: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_8__["EOrientationOrder"].DESC,
                            serverSide: true,
                            serverSideFunction: function (dataTablesParameters, callback) {
                                _this.service.getByFiltroPaginacao(_this.service.filter, dataTablesParameters).subscribe(function (resp) {
                                    callback({
                                        recordsTotal: resp.RecordsTotal,
                                        recordsFiltered: resp.RecordsFiltered,
                                        data: resp.Data
                                    });
                                });
                            }
                        }, function (aData) {
                            _this.data = aData;
                        });
                        return [2 /*return*/];
                }
            });
        });
    };
    CicloTransporteIndexComponent.prototype.filtrar = function () {
        _shared_services_funcoes_modal_utils_modal_utils_static_service__WEBPACK_IMPORTED_MODULE_11__["ModalUtilsStaticService"].openModal("ciclo-transporte-filter-dialog");
    };
    CicloTransporteIndexComponent.prototype.executaFiltro = function () {
        this.refresh();
    };
    CicloTransporteIndexComponent.ctorParameters = function () { return [
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_13__["MessageService"] },
        { type: _ciclo_transporte_service__WEBPACK_IMPORTED_MODULE_5__["CicloTransporteService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__["FuncoesService"] },
        { type: _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["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: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_8__["DatatablesService"] },
        { type: app_shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_15__["ReportService"] }
    ]; };
    __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"])(_shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"], { static: false }),
        __metadata("design:type", _shared_components_commons_table_table_component__WEBPACK_IMPORTED_MODULE_14__["TableComponent"])
    ], CicloTransporteIndexComponent.prototype, "table", void 0);
    CicloTransporteIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: 'app-ciclo-transporte-patio-index',
            template: __importDefault(__webpack_require__(/*! raw-loader!./ciclo-transporte-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-index/ciclo-transporte-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"],
            _ciclo_transporte_service__WEBPACK_IMPORTED_MODULE_5__["CicloTransporteService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_10__["FuncoesService"],
            _pages_login_login_service__WEBPACK_IMPORTED_MODULE_6__["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"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_8__["DatatablesService"],
            app_shared_components_report_report_service__WEBPACK_IMPORTED_MODULE_15__["ReportService"]])
    ], CicloTransporteIndexComponent);
    return CicloTransporteIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_7__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.constants.ts":
/*!************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.constants.ts ***!
  \************************************************************************************************/
/*! exports provided: CicloTransporteConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CicloTransporteConstants", function() { return CicloTransporteConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var CicloTransporteConstants = /** @class */ (function () {
    function CicloTransporteConstants() {
        this.sisFormularioId = 375301;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.permissoes" }
        ];
        this.nomeForm = "titles.cliTransporte";
        this.reportTitulo = { "titulo": "Ciclo Transporte", "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: 'exportExcel', action: 'export', icon: "fa fa-file-excel-o", exibeButton: true, eximeMenu: true, menuName: 'Arquivo', depitem: false },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
        ];
    }
    return CicloTransporteConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.model.ts":
/*!********************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.model.ts ***!
  \********************************************************************************************/
/*! exports provided: CicloTransporteFiltroVo, CorpWebCliCLIConsCicloTranspDto */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CicloTransporteFiltroVo", function() { return CicloTransporteFiltroVo; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CorpWebCliCLIConsCicloTranspDto", function() { return CorpWebCliCLIConsCicloTranspDto; });
/* harmony import */ var _shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../../../../../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 _cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../../../../cadastro/destinatario/destinatario.model */ "./src/app/pages/cadastro/destinatario/destinatario.model.ts");
/* harmony import */ var _cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../../../../cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};



var CicloTransporteFiltroVo = /** @class */ (function () {
    function CicloTransporteFiltroVo() {
        this.dataI = _shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["DateTimeUtilsStaticService"].getFirstDayOfMonth();
        this.dataF = _shared_services_funcoes_date_time_utils_date_time_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["DateTimeUtilsStaticService"].getFinalDay();
        this.tipo = "T";
        this.tipoTransp = "T";
        this.material = "";
        this.fornecedor = "";
        this.cliente = "";
        this.exportador = "";
        this.filial = "";
        this.tipoRetorno = "T";
        this.placa = "";
        this.materialModel = new _cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_2__["Material"]();
        this.clienteModel = new _cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_1__["Destinatario"]();
        this.exportadorModel = new _cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_1__["Destinatario"]();
        this.fornecedorModel = new _cadastro_destinatario_destinatario_model__WEBPACK_IMPORTED_MODULE_1__["Destinatario"]();
        this.geraDados = true;
    }
    return CicloTransporteFiltroVo;
}());

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



/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.module.ts":
/*!*********************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.module.ts ***!
  \*********************************************************************************************/
/*! exports provided: CicloTransporteModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CicloTransporteModule", function() { return CicloTransporteModule; });
/* 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 _ciclo_transporte_index_ciclo_transporte_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ciclo-transporte-index/ciclo-transporte-index.component */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-index/ciclo-transporte-index.component.ts");
/* harmony import */ var _ciclo_transporte_filter_ciclo_transporte_filter_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ciclo-transporte-filter/ciclo-transporte-filter.component */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-filter/ciclo-transporte-filter.component.ts");
/* harmony import */ var _ciclo_transporte_routing_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ciclo-transporte.routing.module */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.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 CicloTransporteModule = /** @class */ (function () {
    function CicloTransporteModule() {
    }
    CicloTransporteModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [app_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _ciclo_transporte_routing_module__WEBPACK_IMPORTED_MODULE_4__["CicloTransporteRoutingModule"]],
            declarations: [
                _ciclo_transporte_index_ciclo_transporte_index_component__WEBPACK_IMPORTED_MODULE_2__["CicloTransporteIndexComponent"],
                _ciclo_transporte_filter_ciclo_transporte_filter_component__WEBPACK_IMPORTED_MODULE_3__["CicloTransporteFilterComponent"]
            ]
        })
    ], CicloTransporteModule);
    return CicloTransporteModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.routing.module.ts":
/*!*****************************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.routing.module.ts ***!
  \*****************************************************************************************************/
/*! exports provided: CicloTransporteRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CicloTransporteRoutingModule", function() { return CicloTransporteRoutingModule; });
/* 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 _ciclo_transporte_index_ciclo_transporte_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ciclo-transporte-index/ciclo-transporte-index.component */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte-index/ciclo-transporte-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: _ciclo_transporte_index_ciclo_transporte_index_component__WEBPACK_IMPORTED_MODULE_3__["CicloTransporteIndexComponent"],
        data: { breadcrumb: "cicloTransporte", formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    }
];
var CicloTransporteRoutingModule = /** @class */ (function () {
    function CicloTransporteRoutingModule() {
    }
    CicloTransporteRoutingModule = __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"]]
        })
    ], CicloTransporteRoutingModule);
    return CicloTransporteRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.service.ts":
/*!**********************************************************************************************!*\
  !*** ./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.service.ts ***!
  \**********************************************************************************************/
/*! exports provided: CicloTransporteService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CicloTransporteService", function() { return CicloTransporteService; });
/* 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 _ciclo_transporte_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ciclo-transporte.model */ "./src/app/pages/especificos/cli/consultas/ciclo-transporte/ciclo-transporte.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 __assign = (undefined && undefined.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
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 CicloTransporteService = /** @class */ (function (_super) {
    __extends(CicloTransporteService, _super);
    function CicloTransporteService(http) {
        var _this = _super.call(this, http, "cli/cicloTransporte") || this;
        _this.http = http;
        _this.filter = new _ciclo_transporte_model__WEBPACK_IMPORTED_MODULE_6__["CicloTransporteFiltroVo"]();
        return _this;
    }
    CicloTransporteService.prototype.getByFiltroPaginacao = function (data, dataTablesParameters) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/cli/cicloTransporte/getByFiltroPaginacao", __assign({}, data, { paginacao: dataTablesParameters }))
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    CicloTransporteService.prototype.geraDados = function (filter) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/cli/cicloTransporte/geraDados", filter)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(app_app_error_handler__WEBPACK_IMPORTED_MODULE_2__["ErrorHandler"].handleError));
    };
    CicloTransporteService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    CicloTransporteService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], CicloTransporteService);
    return CicloTransporteService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_3__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-cli-consultas-ciclo-transporte-ciclo-transporte-module.js.map