(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-aldc-movimentos-automacao-classificacao-automacao-classificacao-module"],{

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<app-menu-command-bar [botoesComando]=\"constantes.listaIndex\" [formAction]=\"actionForm\" [itemData]=\"data.regPlaneja\"\n    [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <app-card-container tituloCard=\"\">\n        <div class=\"row\">\n            <div class=\"col-lg-2 col-md-4 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                    <label>{{'labels.agendamento' | translate}}</label>\n                    <input type=\"text\" name=\"regPlaneja\" class=\"form-control form-control-sm\"\n                        value=\"{{data?.regPlaneja}}\" disabled>\n                </div>\n            </div>\n        </div>\n        <div class=\"row\">\n            <div class=\"col-lg-4 col-md-6 col-sm-12\">\n                <div class=\"form-group form-group-sm\">\n                    <app-input-description label=\"produto\" [valueID]=\"data?.materialId\"\n                        [valueDescription]=\"data?.materialFantasia\">\n                    </app-input-description>\n                </div>\n            </div>\n        </div>\n    </app-card-container>\n\n    <ng-container>\n        <form class=\"form\" #formItem=\"ngForm\" (ngSubmit)=\"onSubmit()\" autocomplete=\"off\">\n            <app-validacoes></app-validacoes>\n            <div class=\"row\">\n                <div *ngFor=\"let cpd of data.tesClassificacaoAnalise; let i = index\" class=\"col-lg-4 col-md-4 col-sm-12\">\n                    <app-analise-campos-dinamicos name=\"cpd{{i}}\" [campoDinamico]=\"cpd\" [(ngModel)]=\"cpd.valor\"\n                        [disabled]=\"!operacaoManual\" [required]=\"true\" [exibeLegenda]=\"true\">\n                    </app-analise-campos-dinamicos>\n                </div>\n            </div>\n            <div class=\"row mt-2\">\n                <div class=\"col-12\">\n                    <div class=\"form-group\">\n                        <button class=\"btn btn-success mr-2\" type=\"submit\">\n                            {{ 'buttons.salvar' | translate }}\n                        </button>\n                    </div>\n                </div>\n            </div>\n        </form>\n    </ng-container>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>");

/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-index.component.ts":
/*!****************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-index.component.ts ***!
  \****************************************************************************************************************************************************/
/*! exports provided: AutomacaoClassificacaoIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacaoIndexComponent", function() { return AutomacaoClassificacaoIndexComponent; });
/* 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 _automacao_classificacao_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../automacao-classificacao.service */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.service.ts");
/* harmony import */ var _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../shared/services/datatables/datatables.service */ "./src/app/shared/services/datatables/datatables.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_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _automacao_classificacao_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../automacao-classificacao.model */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.model.ts");
/* harmony import */ var _automacao_classificacao_constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../automacao-classificacao.constants */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.constants.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var _login_login_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var app_config_enumerables__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! app/config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _automacao_classificacao_index_validation__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./automacao-classificacao-index.validation */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-index.validation.ts");
/* harmony import */ var app_pages_cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/pages/cadastro/material-caract/material-caract.service */ "./src/app/pages/cadastro/material-caract/material-caract.service.ts");
/* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/fesm5/ngx-toastr.js");
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! app/shared/services/funcoes/array-utils/array-utils.static.service */ "./src/app/shared/services/funcoes/array-utils/array-utils.static.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (undefined && undefined.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [op[0] & 2, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};

















var AutomacaoClassificacaoIndexComponent = /** @class */ (function (_super) {
    __extends(AutomacaoClassificacaoIndexComponent, _super);
    function AutomacaoClassificacaoIndexComponent(router, service, datatablesService, funcoesService, messageService, permissoesUtils, loginService, materialCaractService, toastrService) {
        var _this = _super.call(this, new _automacao_classificacao_constants__WEBPACK_IMPORTED_MODULE_7__["AutomacaoClassificacaoConstants"](), funcoesService) || this;
        _this.router = router;
        _this.service = service;
        _this.datatablesService = datatablesService;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.materialCaractService = materialCaractService;
        _this.toastrService = toastrService;
        _this.data = new _automacao_classificacao_model__WEBPACK_IMPORTED_MODULE_6__["AutomacaoClassificacao"]();
        _this.constantes = new _automacao_classificacao_constants__WEBPACK_IMPORTED_MODULE_7__["AutomacaoClassificacaoConstants"]();
        _this.mensagens = [];
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/aldc/movimentos/automacaoClassificacao";
        _this.isPaused = false;
        _this.intervaloVerificacao = 10000; //10 segundos
        _this.refresh = function () {
            _this.getDados();
            if (!!_this.intervaloVerificacao && +_this.intervaloVerificacao > 0) {
                _this._intervalFilter = setInterval(function () {
                    if (!_this.isPaused && !_this.service.desativarIntegracao) {
                        _this.getDados();
                    }
                }, _this.intervaloVerificacao);
            }
        };
        _this.desativarAtivarIntegracao = function () {
            _this.permissoesUtils.verificaRotina(_this.constantes.sisFormularioId, 3, function () {
                _this.service.desativarIntegracao = !_this.service.desativarIntegracao;
                if (_this.service.desativarIntegracao) {
                    _this.pausarExecucaoIntervalo();
                }
                else {
                    _this.retomarExecucaoIntervalo();
                }
                _this.trataTitleButton();
            });
        };
        _this.login = loginService.getLogin();
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        _this.validation = new _automacao_classificacao_index_validation__WEBPACK_IMPORTED_MODULE_12__["AutomacaoClassificacaoIndexValidation"](messageService, materialCaractService);
        return _this;
    }
    AutomacaoClassificacaoIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_11__["ActionForm"].index;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 1, function () {
            if (!_this.loginService.isTokenExpired()) {
                _this.refresh();
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
        _super.prototype.addFuncoes.call(this, [
            { action: 'desativarAtivarIntegracao', func: function () { return _this.desativarAtivarIntegracao; } }
        ]);
    };
    AutomacaoClassificacaoIndexComponent.prototype.getDados = function () {
        var _this = this;
        this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_11__["ActionForm"].index;
        this.pausarExecucaoIntervalo();
        this.service.getDadosClassificacao().subscribe(function (resp) {
            if (!!resp && resp.regPlaneja > 0) {
                _this.data = resp;
            }
            else {
                _this.messageService.warning("titles.automacaoClassificacao", "messages.nenhumRegistroEncontrado");
                _this.data = new _automacao_classificacao_model__WEBPACK_IMPORTED_MODULE_6__["AutomacaoClassificacao"]();
                _this.retomarExecucaoIntervalo();
                return;
            }
        });
    };
    AutomacaoClassificacaoIndexComponent.prototype.pausarExecucaoIntervalo = function () {
        this.isPaused = true;
    };
    AutomacaoClassificacaoIndexComponent.prototype.retomarExecucaoIntervalo = function () {
        this.isPaused = false;
    };
    AutomacaoClassificacaoIndexComponent.prototype.edit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 2, function () {
            _this.pausarExecucaoIntervalo();
            _this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_11__["ActionForm"].edit;
        });
    };
    AutomacaoClassificacaoIndexComponent.prototype.onSubmit = function () {
        return __awaiter(this, void 0, void 0, function () {
            var _this = this;
            return __generator(this, function (_a) {
                this.data.flagManual = this.operacaoManual ? 'S' : 'N';
                this.actionForm = app_config_enumerables__WEBPACK_IMPORTED_MODULE_11__["ActionForm"].index;
                if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_15__["NumberUtilsStaticService"].isNotPositive(this.data.regPlaneja) || !app_shared_services_funcoes_array_utils_array_utils_static_service__WEBPACK_IMPORTED_MODULE_16__["ArrayUtilsStaticService"].any(this.data.tesClassificacaoAnalise)) {
                    this.messageService.warning("titles.automacaoClassificacao", "messages.naoExistemDados");
                    return [2 /*return*/];
                }
                this.service._save(this.data).subscribe(function (result) {
                    _this.mensagens = _this.messageService.validationResult(result);
                    if (result != null && !result.isValid) {
                        _this.toastrService.warning(_this.mensagens[0], _this.messageService.translate("titles.automacaoClassificacao"), { timeOut: _this.intervaloVerificacao });
                        _this.retomarExecucaoIntervalo();
                    }
                    else {
                        _this.messageService.saveSuccess("titles.automacaoClassificacao");
                        if (!_this.service.desativarIntegracao) {
                            _this.retomarExecucaoIntervalo();
                        }
                        else {
                            _this.getDados();
                        }
                    }
                });
                return [2 /*return*/];
            });
        });
    };
    Object.defineProperty(AutomacaoClassificacaoIndexComponent.prototype, "operacaoManual", {
        get: function () {
            return this.funcoesService.isEdit(this.actionForm) || this.service.desativarIntegracao;
        },
        enumerable: true,
        configurable: true
    });
    AutomacaoClassificacaoIndexComponent.prototype.trataTitleButton = function () {
        var idx = this.constantes.listaIndex.findIndex(function (c) { return c.action === 'desativarAtivarIntegracao'; });
        if (idx >= 0) {
            this.constantes.listaIndex[idx].title = this.service.desativarIntegracao ? "AtivarIntegracao" : "DesativarIntegracao";
        }
    };
    AutomacaoClassificacaoIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    AutomacaoClassificacaoIndexComponent.prototype.ngOnDestroy = function () {
        if (this._intervalFilter) {
            clearInterval(this._intervalFilter);
        }
    };
    AutomacaoClassificacaoIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _automacao_classificacao_service__WEBPACK_IMPORTED_MODULE_2__["AutomacaoClassificacaoService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__["DatatablesService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"] },
        { type: app_pages_cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_13__["MaterialCaractService"] },
        { type: ngx_toastr__WEBPACK_IMPORTED_MODULE_14__["ToastrService"] }
    ]; };
    AutomacaoClassificacaoIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-automacao-classificacao-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./automacao-classificacao-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _automacao_classificacao_service__WEBPACK_IMPORTED_MODULE_2__["AutomacaoClassificacaoService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_3__["DatatablesService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_4__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_10__["MessageService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_8__["PermissoesUtilsService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"],
            app_pages_cadastro_material_caract_material_caract_service__WEBPACK_IMPORTED_MODULE_13__["MaterialCaractService"],
            ngx_toastr__WEBPACK_IMPORTED_MODULE_14__["ToastrService"]])
    ], AutomacaoClassificacaoIndexComponent);
    return AutomacaoClassificacaoIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_5__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-index.validation.ts":
/*!*****************************************************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-index.validation.ts ***!
  \*****************************************************************************************************************************************************/
/*! exports provided: AutomacaoClassificacaoIndexValidation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacaoIndexValidation", function() { return AutomacaoClassificacaoIndexValidation; });
/* harmony import */ var app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/shared/services/funcoes/number-utils/number-utils.static.service */ "./src/app/shared/services/funcoes/number-utils/number-utils.static.service.ts");
/* harmony import */ var app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/shared/services/funcoes/string-utils/string-utils.static.service */ "./src/app/shared/services/funcoes/string-utils/string-utils.static.service.ts");
/* harmony import */ var app_pages_cadastro_material_caract_material_caract_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/material-caract/material-caract.model */ "./src/app/pages/cadastro/material-caract/material-caract.model.ts");
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 AutomacaoClassificacaoIndexValidation = /** @class */ (function () {
    function AutomacaoClassificacaoIndexValidation(message, materialCaractService) {
        this.message = message;
        this.materialCaractService = materialCaractService;
        this.rs = [];
        this.materialCaract = new app_pages_cadastro_material_caract_material_caract_model__WEBPACK_IMPORTED_MODULE_2__["MaterialCaract"]();
    }
    AutomacaoClassificacaoIndexValidation.prototype.getValidations = function (data) {
        return __awaiter(this, void 0, void 0, function () {
            var validaAnalise;
            return __generator(this, function (_a) {
                switch (_a.label) {
                    case 0:
                        this.rs = [];
                        return [4 /*yield*/, this.validaAnalise(data)];
                    case 1:
                        validaAnalise = _a.sent();
                        if (!validaAnalise.isValid) {
                            this.rs.push(validaAnalise);
                        }
                        return [2 /*return*/, this.rs.filter(function (v) { return v["isValid"] === false; })];
                }
            });
        });
    };
    AutomacaoClassificacaoIndexValidation.prototype.test = function (f) {
        return __awaiter(this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                if (!!f)
                    this.rs.push(f);
                return [2 /*return*/];
            });
        });
    };
    AutomacaoClassificacaoIndexValidation.prototype.validaAnalise = function (data, showError) {
        if (showError === void 0) { showError = false; }
        return __awaiter(this, void 0, void 0, function () {
            var r, _a;
            return __generator(this, function (_b) {
                switch (_b.label) {
                    case 0:
                        r = { "isValid": true, "message": "" };
                        _a = this;
                        return [4 /*yield*/, this.materialCaractService.GetComplementoMaterial(data.materialId, app_shared_services_funcoes_string_utils_string_utils_static_service__WEBPACK_IMPORTED_MODULE_1__["StringUtilsStaticService"].toString(data.caractTipica.caractTipicaId)).toPromise()];
                    case 1:
                        _a.materialCaract = _b.sent();
                        if (app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(data.valor) < app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(this.materialCaract.valorReferenciaInicio)
                            || app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(data.valor) > app_shared_services_funcoes_number_utils_number_utils_static_service__WEBPACK_IMPORTED_MODULE_0__["NumberUtilsStaticService"].toNumber(this.materialCaract.valorReferenciaFim)) {
                            r.isValid = false;
                            r.message = this.message.translate("messages.foraDoIntervaloReferencia");
                        }
                        if (!r.isValid && showError) {
                            this.message.warning("titles.solicitacaoCartaCorrecao", r.message);
                        }
                        return [2 /*return*/, r];
                }
            });
        });
    };
    return AutomacaoClassificacaoIndexValidation;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.constants.ts":
/*!****************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.constants.ts ***!
  \****************************************************************************************************************/
/*! exports provided: AutomacaoClassificacaoConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacaoConstants", function() { return AutomacaoClassificacaoConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var AutomacaoClassificacaoConstants = /** @class */ (function () {
    function AutomacaoClassificacaoConstants() {
        this.sisFormularioId = 375529;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.desativarIntegracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.automacaoClassificacao";
        this.reportId = "ALD0000";
        this.reportTitulo = { "titulo": "Automação Classificação", "subTitulo": "" };
        this.configs = [];
        this.listaIndex = [
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'DesativarIntegracao', action: 'desativarAtivarIntegracao', icon: "fa fa-power-off", exibeButton: true, eximeMenu: true, menuName: 'Movimento', depitem: false },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
    }
    return AutomacaoClassificacaoConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.model.ts":
/*!************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.model.ts ***!
  \************************************************************************************************************/
/*! exports provided: AutomacaoClassificacao, TesClassificacaoAnalise */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacao", function() { return AutomacaoClassificacao; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TesClassificacaoAnalise", function() { return TesClassificacaoAnalise; });
/* harmony import */ var app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/pages/cadastro/material/material.model */ "./src/app/pages/cadastro/material/material.model.ts");
/* harmony import */ var _shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../shared/services/base/base.model */ "./src/app/shared/services/base/base.model.ts");
/* harmony import */ var app_pages_cadastro_caract_tipica_caract_tipica_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/pages/cadastro/caract-tipica/caract-tipica.model */ "./src/app/pages/cadastro/caract-tipica/caract-tipica.model.ts");
/* harmony import */ var app_pages_cadastro_caract_tipica_refer_caract_tipica_refer_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/pages/cadastro/caract-tipica-refer/caract-tipica-refer.model */ "./src/app/pages/cadastro/caract-tipica-refer/caract-tipica-refer.model.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};




var AutomacaoClassificacao = /** @class */ (function (_super) {
    __extends(AutomacaoClassificacao, _super);
    function AutomacaoClassificacao() {
        var _this = _super.call(this) || this;
        _this.flagManual = 'N';
        _this.tesClassificacaoAnalise = [];
        return _this;
    }
    return AutomacaoClassificacao;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));

var TesClassificacaoAnalise = /** @class */ (function (_super) {
    __extends(TesClassificacaoAnalise, _super);
    function TesClassificacaoAnalise() {
        var _this = _super.call(this) || this;
        _this.material = new app_pages_cadastro_material_material_model__WEBPACK_IMPORTED_MODULE_0__["Material"]();
        _this.caractTipica = new app_pages_cadastro_caract_tipica_caract_tipica_model__WEBPACK_IMPORTED_MODULE_2__["CaractTipica"]();
        _this.caractTipicaRefer = new app_pages_cadastro_caract_tipica_refer_caract_tipica_refer_model__WEBPACK_IMPORTED_MODULE_3__["CaractTipicaRefer"]();
        return _this;
    }
    return TesClassificacaoAnalise;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_1__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.module.ts":
/*!*************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.module.ts ***!
  \*************************************************************************************************************/
/*! exports provided: AutomacaoClassificacaoModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacaoModule", function() { return AutomacaoClassificacaoModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../shared/shared.module */ "./src/app/shared/shared.module.ts");
/* harmony import */ var _automacao_classificacao_index_automacao_classificacao_index_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./automacao-classificacao-index/automacao-classificacao-index.component */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-index.component.ts");
/* harmony import */ var _automacao_classificacao_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./automacao-classificacao.routing.module */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.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 AutomacaoClassificacaoModule = /** @class */ (function () {
    function AutomacaoClassificacaoModule() {
    }
    AutomacaoClassificacaoModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"], _automacao_classificacao_routing_module__WEBPACK_IMPORTED_MODULE_3__["AutomacaoClassificacaoRoutingModule"]],
            declarations: [
                _automacao_classificacao_index_automacao_classificacao_index_component__WEBPACK_IMPORTED_MODULE_2__["AutomacaoClassificacaoIndexComponent"]
            ]
        })
    ], AutomacaoClassificacaoModule);
    return AutomacaoClassificacaoModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.routing.module.ts":
/*!*********************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.routing.module.ts ***!
  \*********************************************************************************************************************/
/*! exports provided: AutomacaoClassificacaoRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacaoRoutingModule", function() { return AutomacaoClassificacaoRoutingModule; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
/* harmony import */ var _config_enumerables__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../config/enumerables */ "./src/app/config/enumerables.ts");
/* harmony import */ var _automacao_classificacao_index_automacao_classificacao_index_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./automacao-classificacao-index/automacao-classificacao-index.component */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao-index/automacao-classificacao-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: _automacao_classificacao_index_automacao_classificacao_index_component__WEBPACK_IMPORTED_MODULE_3__["AutomacaoClassificacaoIndexComponent"],
        data: { breadcrumb: "automacaoClassificacao", formParams: { action: _config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index } }
    },
];
var AutomacaoClassificacaoRoutingModule = /** @class */ (function () {
    function AutomacaoClassificacaoRoutingModule() {
    }
    AutomacaoClassificacaoRoutingModule = __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"]],
        })
    ], AutomacaoClassificacaoRoutingModule);
    return AutomacaoClassificacaoRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.service.ts":
/*!**************************************************************************************************************!*\
  !*** ./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.service.ts ***!
  \**************************************************************************************************************/
/*! exports provided: AutomacaoClassificacaoService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AutomacaoClassificacaoService", function() { return AutomacaoClassificacaoService; });
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js");
/* harmony import */ var app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/shared/services/base/specifics.base.service */ "./src/app/shared/services/base/specifics.base.service.ts");
/* harmony import */ var _automacao_classificacao_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./automacao-classificacao.constants */ "./src/app/pages/especificos/aldc/movimentos/automacao-classificacao/automacao-classificacao.constants.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 _app_error_handler__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../../../../../app.error-handler */ "./src/app/app.error-handler.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 AutomacaoClassificacaoService = /** @class */ (function (_super) {
    __extends(AutomacaoClassificacaoService, _super);
    function AutomacaoClassificacaoService(http) {
        var _this = _super.call(this, http, "aldc/automacaoClassificacao") || this;
        _this.constantes = new _automacao_classificacao_constants__WEBPACK_IMPORTED_MODULE_3__["AutomacaoClassificacaoConstants"]();
        _this.desativarIntegracao = false;
        return _this;
    }
    AutomacaoClassificacaoService.prototype.getDadosClassificacao = function () {
        return this.http
            .get(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/aldc/automacaoClassificacao")
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AutomacaoClassificacaoService.prototype._save = function (data) {
        return this.http
            .post(environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].specifics_service_url + "/api/v1/aldc/automacaoClassificacao/save", data)
            .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["catchError"])(_app_error_handler__WEBPACK_IMPORTED_MODULE_6__["ErrorHandler"].handleError));
    };
    AutomacaoClassificacaoService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"] }
    ]; };
    AutomacaoClassificacaoService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]])
    ], AutomacaoClassificacaoService);
    return AutomacaoClassificacaoService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_2__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-aldc-movimentos-automacao-classificacao-automacao-classificacao-module.js.map