(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["app-pages-especificos-vopak-integracoes-impostos-impostos-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/impostos/impostos-form/impostos-form.component.html":
/*!***********************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/impostos/impostos-form/impostos-form.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.listaForm\" [formAction]=\"actionForm\"\n    [itemData]=\"data.cliVopOcsImpostoId\" [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <app-form-legenda></app-form-legenda>\n    <div class=\"card-body widget-body\">\n        <form class=\"form\" #f=\"ngForm\" (ngSubmit)=\"onSubmit(f)\">\n            <app-validacoes></app-validacoes>\n            <div class=\"row mb-2\">\n                <div class=\"col-lg-3 col-md-3 col-sm-12\">\n                    <div class=\"form-group form-group-sm\">\n                        <label for=\"imposto\" class=\"required\">{{'labels.imposto' | translate}}</label>\n                        <select id=\"imposto\" name=\"imposto\" class=\"form-control form-control-sm\"\n                            (change)=\"trataImposto(data.imposto)\"\n                            required=\"true\"\n                            [disabled]=\"!funcoesService.isCreate(actionForm)\" [(ngModel)]=\"data.imposto\">\n                            <option *ngFor=\"let impostos of listaImpostos\" [value]=\"impostos.value\">{{ impostos.label }}\n                            </option>\n                        </select>\n                    </div>\n                </div>\n            </div>\n            <div class=\"row\">\n                <div class=\"col-lg-2 col-md-2 col-sm-12\">\n                    <div class=\"form-group form-group-sm\">\n                        <label for=\"aliquota\" class=\"required\">{{'labels.aliquota' | translate}}&nbsp;(%)</label>\n                        <input id=\"aliquota\" name=\"aliquota\" [(ngModel)]=\"data.aliquota\"\n                            class=\"form-control form-control-sm\" type=\"number\" type=\"text\"\n                            [disabled]=\"!funcoesService.isCreate(actionForm)\" currencyMask maxlength=\"6\"\n                            [options]=\"funcoesService.numberUtils.formatCurrency(2)\" required=\"true\">\n                    </div>\n                </div>\n                <div class=\"col-lg-4 col-md-4 col-12\">\n                    <div class=\"row\">\n                        <div class=\"col-lg-12 col-md-12 col-12\">\n                            <div class=\"form-group\">\n                                <label for=\"aliquota\" class=\"required\">{{'labels.tipoMov' | translate}}</label>\n                                <div class=\"row\">\n                                    <div class=\"col-lg-3 col-md-3 col-12\">\n                                        <div class=\"custom-control custom-radio\">\n                                            <input class=\"custom-control-input radio-success\" id=\"tipoMovC\"\n                                                name=\"tipoMov\" [(ngModel)]=\"data.tipoMov\" type=\"radio\"\n                                                [disabled]=\"funcoesService.isDetail(actionForm)\" value=\"C\" required>\n                                            <label class=\"custom-control-label\" for=\"tipoMovC\">{{\n                                                'labels.credito' |\n                                                translate }}\n                                            </label>\n                                        </div>\n                                    </div>\n                                    <div class=\"col-lg-3 col-md-3 col-12\">\n                                        <div class=\"custom-control custom-radio\">\n                                            <input class=\"custom-control-input radio-success\" id=\"tipoMovD\"\n                                                name=\"tipoMovD\" [(ngModel)]=\"data.tipoMov\" type=\"radio\"\n                                                [disabled]=\"funcoesService.isDetail(actionForm)\" value=\"D\">\n                                            <label class=\"custom-control-label\" for=\"tipoMovD\">{{\n                                                'labels.debito' |\n                                                translate }}\n                                            </label>\n                                        </div>\n                                    </div>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div class=\"row\">\n                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                    <div class=\"form-group form-group-sm\">\n                        <label for=\"taxName\" class=\"required\">{{'labels.taxName' | translate}}</label>\n                        <input id=\"taxName\" name=\"taxName\" [(ngModel)]=\"data.taxName\"\n                            [disabled]=\"funcoesService.isDetail(actionForm)\" maxlength=\"50\"\n                            class=\"form-control form-control-sm\" type=\"text\" required>\n                    </div>\n                </div>\n            </div>\n            <div class=\"row\">\n                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                    <div class=\"form-group form-group-sm\">\n                        <label for=\"taxRateCode\" class=\"required\">{{'labels.taxRateCode' | translate}}</label>\n                        <input id=\"taxRateCode\" name=\"taxRateCode\" [(ngModel)]=\"data.taxRateCode\"\n                            [disabled]=\"funcoesService.isDetail(actionForm)\" maxlength=\"50\"\n                            class=\"form-control form-control-sm\" type=\"text\" required>\n                    </div>\n                </div>\n            </div>\n            <div class=\"row\">\n                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                    <div class=\"form-group form-group-sm\">\n                        <label for=\"taxRegimeCode\" class=\"required\">{{'labels.taxRegimeCode' | translate}}</label>\n                        <input id=\"taxRegimeCode\" name=\"taxRegimeCode\" [(ngModel)]=\"data.taxRegimeCode\"\n                            [disabled]=\"funcoesService.isDetail(actionForm)\" maxlength=\"50\"\n                            class=\"form-control form-control-sm\" type=\"text\" required>\n                    </div>\n                </div>\n            </div>\n            <div class=\"row\">\n                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                    <div class=\"form-group form-group-sm\">\n                        <label for=\"taxJurisdictionCode\">{{'labels.taxJurisdictionCode' | translate}}</label>\n                        <input id=\"taxJurisdictionCode\" name=\"taxJurisdictionCode\"\n                            [(ngModel)]=\"data.taxJurisdictionCode\" [disabled]=\"funcoesService.isDetail(actionForm)\"\n                            maxlength=\"50\" class=\"form-control form-control-sm\" type=\"text\">\n                    </div>\n                </div>\n            </div>\n            <div class=\"row\">\n                <div class=\"col-lg-6 col-md-6 col-sm-12\">\n                    <div class=\"form-group form-group-sm\">\n                        <label for=\"taxStatusCode\">{{'labels.taxStatusCode' | translate}}</label>\n                        <input id=\"taxStatusCode\" name=\"taxStatusCode\" [(ngModel)]=\"data.taxStatusCode\"\n                            [disabled]=\"funcoesService.isDetail(actionForm)\" maxlength=\"50\"\n                            class=\"form-control form-control-sm\" type=\"text\">\n                    </div>\n                </div>\n            </div>\n            <div class=\"clearfix\">&nbsp;</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                            [disabled]=\"funcoesService.isDetail(actionForm)\">\n                            {{ 'buttons.salvar' | translate }}\n                        </button>\n                        <button class=\"btn btn-success mr-2\" (click)=\"saveAndCreate(f)\" type=\"button\"\n                            [disabled]=\"funcoesService.isDetail(actionForm)\">\n                            {{ 'buttons.salvarNovo' | translate }}\n                        </button>\n                    </div>\n                </div>\n            </div>\n        </form>\n    </div>\n</div>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>");

/***/ }),

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/impostos/impostos-index/impostos-index.component.html":
/*!*************************************************************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/impostos/impostos-index/impostos-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\"\n                      [formAction]=\"actionForm\"\n                      [itemData]=\"data.cliVopOcsImpostoId\"\n                      [sisFormularioId]=\"constantes.sisFormularioId\">\n</app-menu-command-bar>\n\n<div class=\"section-comand-bar\">\n    <table  id=\"dtImpostos\" class=\"table table-striped table-bordered table-hover nowrap table-sm\"></table>\n</div>\n\n<app-propriedades></app-propriedades>\n<app-liberar-acesso-supervisor></app-liberar-acesso-supervisor>\n<app-permissoes-rotina [constantes]=\"constantes\"></app-permissoes-rotina>\n");

/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos-form/impostos-form.component.ts":
/*!*******************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/impostos/impostos-form/impostos-form.component.ts ***!
  \*******************************************************************************************************/
/*! exports provided: ImpostosFormComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpostosFormComponent", function() { return ImpostosFormComponent; });
/* 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 _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__ = __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_4__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../shared/services/funcoes/permissoes-utils/permissoes-utils.service */ "./src/app/shared/services/funcoes/permissoes-utils/permissoes-utils.service.ts");
/* harmony import */ var app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/shared/services/event-emitter/event-emitter.service */ "./src/app/shared/services/event-emitter/event-emitter.service.ts");
/* harmony import */ var app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/pages/cadastro/destinatario/destinatario.service */ "./src/app/pages/cadastro/destinatario/destinatario.service.ts");
/* harmony import */ var _impostos_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../impostos.model */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.model.ts");
/* harmony import */ var _impostos_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../impostos.constants */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.constants.ts");
/* harmony import */ var _impostos_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../impostos.service */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};











var ImpostosFormComponent = /** @class */ (function (_super) {
    __extends(ImpostosFormComponent, _super);
    function ImpostosFormComponent(router, messageService, activatedRoute, service, funcoesService, permissoesUtils, destinatarioService) {
        var _this = _super.call(this, new _impostos_constants__WEBPACK_IMPORTED_MODULE_9__["ImpostosConstants"](), funcoesService) || this;
        _this.router = router;
        _this.messageService = messageService;
        _this.activatedRoute = activatedRoute;
        _this.service = service;
        _this.funcoesService = funcoesService;
        _this.permissoesUtils = permissoesUtils;
        _this.destinatarioService = destinatarioService;
        _this.data = new _impostos_model__WEBPACK_IMPORTED_MODULE_8__["Impostos"]();
        _this.mensagens = [];
        _this.horas = [];
        _this.constantes = new _impostos_constants__WEBPACK_IMPORTED_MODULE_9__["ImpostosConstants"]();
        _this.listaImpostos = _impostos_model__WEBPACK_IMPORTED_MODULE_8__["Impostos"].listaImpostos();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/vopak/integracoes/impostos";
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    ImpostosFormComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, this.permissoesUtils.getLibRotina(this.actionForm), function () {
            var id = _this.activatedRoute.snapshot.paramMap.get("id");
            _this.data = new _impostos_model__WEBPACK_IMPORTED_MODULE_8__["Impostos"]();
            if (id) {
                _this.service.getById(id).subscribe(function (resp) {
                    if (resp) {
                        _this.data = resp;
                    }
                    else {
                        _this.messageService.warning("titles.impostos", "messages.nenhumRegistroEncontrado");
                        _this.back();
                    }
                });
            }
        }, function () {
            _this.permissoesUtils.back();
        });
    };
    ImpostosFormComponent.prototype.onSubmit = function (form, create) {
        var _this = this;
        if (create === void 0) { create = false; }
        app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_6__["EventEmitterService"].get("formError").emit(form);
        if (form.invalid) {
            return;
        }
        this.data.logRotina = "Manut. Impostos";
        this.service
            .save(this.data, this.funcoesService.isEdit(this.actionForm))
            .subscribe(function (result) {
            _this.mensagens = _this.messageService.validationResult(result.validationResult);
            if (!result.validationResult.isValid) {
                app_shared_services_event_emitter_event_emitter_service__WEBPACK_IMPORTED_MODULE_6__["EventEmitterService"].get("backError").emit(_this.mensagens);
            }
            else {
                _this.messageService.saveSuccess("titles.impostos");
                if (create) {
                    _this.data = new _impostos_model__WEBPACK_IMPORTED_MODULE_8__["Impostos"]();
                }
                else {
                    _this.back();
                }
            }
        });
    };
    ImpostosFormComponent.prototype.saveAndCreate = function (form) {
        this.onSubmit(form, true);
    };
    ImpostosFormComponent.prototype.edit = function () {
        this.router.navigate(["" + this.target + this.pageRoute + "/edit/" + this.data.cliVopOcsImpostoId]);
    };
    ImpostosFormComponent.prototype.back = function () {
        this.router.navigate(["" + this.target + this.pageRoute]);
    };
    ImpostosFormComponent.prototype.trataImposto = function (imposto) {
        if (imposto === "ICMS")
            this.data.taxName = "ICMS";
        else if (imposto === "ICMS_REC")
            this.data.taxName = "ICMS a Recolher";
        else if (imposto === "ISS")
            this.data.taxName = "ISS";
        else if (imposto === "ISS_FAT")
            this.data.taxName = "ISS S/Faturamento";
        else if (imposto === "ISS_RET")
            this.data.taxName = "ISS Retido";
        else if (imposto === "COFINS")
            this.data.taxName = "COFINS";
        else if (imposto === "COFINS_REC")
            this.data.taxName = "COFINS a Recolher";
        else if (imposto === "PIS")
            this.data.taxName = "PIS";
        else if (imposto === "PIS_REC")
            this.data.taxName = "PIS a Recolher";
        else
            this.data.taxName = "";
    };
    ImpostosFormComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"] },
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"] },
        { type: _impostos_service__WEBPACK_IMPORTED_MODULE_10__["ImpostosService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_7__["DestinatarioService"] }
    ]; };
    ImpostosFormComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-impostos-form",
            template: __importDefault(__webpack_require__(/*! raw-loader!./impostos-form.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/impostos/impostos-form/impostos-form.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_2__["MessageService"],
            _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"],
            _impostos_service__WEBPACK_IMPORTED_MODULE_10__["ImpostosService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            app_pages_cadastro_destinatario_destinatario_service__WEBPACK_IMPORTED_MODULE_7__["DestinatarioService"]])
    ], ImpostosFormComponent);
    return ImpostosFormComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos-index/impostos-index.component.ts":
/*!*********************************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/impostos/impostos-index/impostos-index.component.ts ***!
  \*********************************************************************************************************/
/*! exports provided: ImpostosIndexComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpostosIndexComponent", function() { return ImpostosIndexComponent; });
/* 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 _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__ = __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_3__ = __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_4__ = __webpack_require__(/*! ../../../../../../shared/components/corporate/base/base.permissoes */ "./src/app/shared/components/corporate/base/base.permissoes.ts");
/* harmony import */ var _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __webpack_require__(/*! ../../../../../login/login.service */ "./src/app/pages/login/login.service.ts");
/* harmony import */ var app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/shared/services/message/message.service */ "./src/app/shared/services/message/message.service.ts");
/* harmony import */ var _impostos_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../impostos.model */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.model.ts");
/* harmony import */ var _impostos_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../impostos.constants */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.constants.ts");
/* harmony import */ var _impostos_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../impostos.service */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.service.ts");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};











var ImpostosIndexComponent = /** @class */ (function (_super) {
    __extends(ImpostosIndexComponent, _super);
    function ImpostosIndexComponent(router, service, datatablesService, funcoesService, messageService, permissoesUtils, loginService) {
        var _this = _super.call(this, new _impostos_constants__WEBPACK_IMPORTED_MODULE_9__["ImpostosConstants"](), funcoesService) || this;
        _this.router = router;
        _this.service = service;
        _this.datatablesService = datatablesService;
        _this.funcoesService = funcoesService;
        _this.messageService = messageService;
        _this.permissoesUtils = permissoesUtils;
        _this.loginService = loginService;
        _this.data = new _impostos_model__WEBPACK_IMPORTED_MODULE_8__["Impostos"]();
        _this.hasDados = false;
        _this.constantes = new _impostos_constants__WEBPACK_IMPORTED_MODULE_9__["ImpostosConstants"]();
        _this.target = _this.funcoesService.getTargetLocation();
        _this.pageRoute = "/especificos/vopak/integracoes/impostos";
        router.events.subscribe(function (event) {
            var params = _this.funcoesService.formParams.getParams(router, event);
            if (params) {
                _this.actionForm = params.action;
            }
        });
        return _this;
    }
    ImpostosIndexComponent.prototype.ngOnInit = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 4, function () {
            if (!_this.loginService.isTokenExpired()) {
                _this.refresh();
            }
        }, function () {
            _this.permissoesUtils.back();
        }, true);
    };
    ImpostosIndexComponent.prototype.create = function () {
        this.router.navigate(["" + this.target + this.pageRoute + "/create"]);
    };
    ImpostosIndexComponent.prototype.refresh = function () {
        var _this = this;
        this.service.get().subscribe(function (data) {
            var columns = [
                _this.datatablesService.getDataStringAlignRight("cliVopOcsImpostoId", "codigo", "10%"),
                _this.datatablesService.getDataString("descrImposto", "imposto"),
                _this.datatablesService.getDataDouble("aliquota", "aliquota", 2, false, "10%"),
                _this.datatablesService.getDataString("tipoMovimentacao", "tipoMov", "10%"),
                _this.datatablesService.getDataString("taxName", "taxName"),
                _this.datatablesService.getDataString("taxRateCode", "taxRateCode")
            ];
            _this.datatablesService.toDataTable({ tableId: "dtImpostos", columns: columns, data: data, columnOrder: 0, orientationOrder: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["EOrientationOrder"].ASC }, function (aData) {
                _this.data = aData;
            });
        });
    };
    ImpostosIndexComponent.prototype.edit = function () {
        if (!!(this.data.cliVopOcsImpostoId)) {
            this.router.navigate(["" + this.target + this.pageRoute + "/edit/" + this.data.cliVopOcsImpostoId]);
        }
    };
    ImpostosIndexComponent.prototype.detail = function () {
        if (!!(this.data.cliVopOcsImpostoId)) {
            this.router.navigate(["" + this.target + this.pageRoute + "/detail/" + this.data.cliVopOcsImpostoId]);
        }
    };
    ImpostosIndexComponent.prototype.remove = function () {
        var _this = this;
        if (!!(this.data.cliVopOcsImpostoId)) {
            this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 3, function () {
                _this.messageService.removeConfirm(function () {
                    _this.service.remove(_this.data).subscribe(function () {
                        _this.datatablesService.remove("dtImpostos");
                    });
                });
            });
        }
    };
    ImpostosIndexComponent.prototype.print = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 5, function () {
            _super.prototype.print.call(_this, null, true);
        });
    };
    ImpostosIndexComponent.prototype.properties = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 6, function () {
            _super.prototype.properties.call(_this, _this.data);
        });
    };
    ImpostosIndexComponent.prototype.permissoes = function () {
        var _this = this;
        this.permissoesUtils.verificaRotina(this.constantes.sisFormularioId, 7, function () {
            _super.prototype.permissoes.call(_this, _this.constantes);
        });
    };
    ImpostosIndexComponent.ctorParameters = function () { return [
        { type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"] },
        { type: _impostos_service__WEBPACK_IMPORTED_MODULE_10__["ImpostosService"] },
        { type: _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"] },
        { type: _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"] },
        { type: app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"] },
        { type: _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"] },
        { type: _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"] }
    ]; };
    ImpostosIndexComponent = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
            selector: "app-impostos-index",
            template: __importDefault(__webpack_require__(/*! raw-loader!./impostos-index.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/especificos/vopak/integracoes/impostos/impostos-index/impostos-index.component.html")).default,
            encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None
        }),
        __metadata("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"],
            _impostos_service__WEBPACK_IMPORTED_MODULE_10__["ImpostosService"],
            _shared_services_datatables_datatables_service__WEBPACK_IMPORTED_MODULE_2__["DatatablesService"],
            _shared_services_funcoes_funcoes_service__WEBPACK_IMPORTED_MODULE_3__["FuncoesService"],
            app_shared_services_message_message_service__WEBPACK_IMPORTED_MODULE_7__["MessageService"],
            _shared_services_funcoes_permissoes_utils_permissoes_utils_service__WEBPACK_IMPORTED_MODULE_5__["PermissoesUtilsService"],
            _login_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"]])
    ], ImpostosIndexComponent);
    return ImpostosIndexComponent;
}(_shared_components_corporate_base_base_permissoes__WEBPACK_IMPORTED_MODULE_4__["BasePermissoes"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.constants.ts":
/*!************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/impostos/impostos.constants.ts ***!
  \************************************************************************************/
/*! exports provided: ImpostosConstants */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpostosConstants", function() { return ImpostosConstants; });
var __importDefault = (undefined && undefined.__importDefault) || function (mod) {
  return (mod && mod.__esModule) ? mod : { "default": mod };
};
var ImpostosConstants = /** @class */ (function () {
    function ImpostosConstants() {
        this.sisFormularioId = 65590;
        this.permissoes = [
            { sisFormularioId: this.sisFormularioId, libRotina: 1, acao: "labels.inclusao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 2, acao: "labels.alteracao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 3, acao: "labels.exclusao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 4, acao: "labels.consulta" },
            { sisFormularioId: this.sisFormularioId, libRotina: 5, acao: "labels.impressao" },
            { sisFormularioId: this.sisFormularioId, libRotina: 6, acao: "labels.propriedades" },
            { sisFormularioId: this.sisFormularioId, libRotina: 7, acao: "labels.permissoes" }
        ];
        this.sisSistemaId = "CAD";
        this.nomeForm = "titles.impostos";
        this.reportId = "VOP0042";
        this.reportTitulo = { "titulo": "Impostos", "subTitulo": "" };
        this.listaIndex = [
            { title: 'Novo', action: 'create', icon: "icon-plus", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Visualizar', action: 'detail', icon: "icon-eye", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Excluir', action: 'remove', icon: "icon-close", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Atualizar', action: 'refresh', icon: "icon-reload", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Imprimir', action: 'print', icon: "icon-printer", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Propriedade', action: 'properties', icon: "icon-menu", exibeButton: true, eximeMenu: true, menuName: 'Movimento' },
            { title: 'Permissao', action: 'permissoes', icon: "icon-unlock", exibeButton: true, eximeMenu: true, menuName: 'Movimento' }
        ];
        this.listaForm = [
            { title: 'Editar', action: 'edit', icon: "icon-pencil", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
            { title: 'Voltar', action: 'back', icon: "icon-arrow-left", exibeButton: true, eximeMenu: true, menuName: 'Arquivo' },
        ];
    }
    return ImpostosConstants;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.model.ts":
/*!********************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/impostos/impostos.model.ts ***!
  \********************************************************************************/
/*! exports provided: Impostos */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

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

var Impostos = /** @class */ (function (_super) {
    __extends(Impostos, _super);
    function Impostos() {
        var _this = _super.call(this) || this;
        _this.imposto = "";
        return _this;
    }
    Impostos.listaImpostos = function (value) {
        if (value === void 0) { value = ""; }
        var lista = [
            { value: "", label: "Selecione" },
            { value: "ICMS", label: "ICMS" },
            { value: "ICMS_REC", label: "ICMS a Recolher" },
            { value: "ISS", label: "ISS" },
            { value: "ISS_FAT", label: "ISS S/Faturamento" },
            { value: "ISS_RET", label: "ISS Retido" },
            { value: "COFINS", label: "COFINS" },
            { value: "COFINS_REC", label: "COFINS a Recolher" },
            { value: "PIS", label: "PIS" },
            { value: "PIS_REC", label: "PIS a Recolher" }
        ];
        if (value !== "") {
            var i = lista.findIndex(function (x) { return x.value === value; });
            return lista[i].label;
        }
        else {
            return lista;
        }
    };
    return Impostos;
}(_shared_services_base_base_model__WEBPACK_IMPORTED_MODULE_0__["BaseModel"]));



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.module.ts":
/*!*********************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/impostos/impostos.module.ts ***!
  \*********************************************************************************/
/*! exports provided: ImpostosModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpostosModule", function() { return ImpostosModule; });
/* 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 _impostos_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./impostos.routing.module */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.routing.module.ts");
/* harmony import */ var _impostos_form_impostos_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./impostos-form/impostos-form.component */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos-form/impostos-form.component.ts");
/* harmony import */ var _impostos_index_impostos_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./impostos-index/impostos-index.component */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos-index/impostos-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 ImpostosModule = /** @class */ (function () {
    function ImpostosModule() {
    }
    ImpostosModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            declarations: [
                _impostos_index_impostos_index_component__WEBPACK_IMPORTED_MODULE_4__["ImpostosIndexComponent"],
                _impostos_form_impostos_form_component__WEBPACK_IMPORTED_MODULE_3__["ImpostosFormComponent"]
            ],
            imports: [
                _shared_shared_module__WEBPACK_IMPORTED_MODULE_1__["SharedModule"],
                _impostos_routing_module__WEBPACK_IMPORTED_MODULE_2__["ImpostosRoutingModule"]
            ]
        })
    ], ImpostosModule);
    return ImpostosModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.routing.module.ts":
/*!*****************************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/impostos/impostos.routing.module.ts ***!
  \*****************************************************************************************/
/*! exports provided: ImpostosRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpostosRoutingModule", function() { return ImpostosRoutingModule; });
/* 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 _impostos_form_impostos_form_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./impostos-form/impostos-form.component */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos-form/impostos-form.component.ts");
/* harmony import */ var _impostos_index_impostos_index_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./impostos-index/impostos-index.component */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos-index/impostos-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 ImpostosRoutes = [
    {
        path: "",
        component: _impostos_index_impostos_index_component__WEBPACK_IMPORTED_MODULE_4__["ImpostosIndexComponent"],
        data: {
            breadcrumb: "impostos",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].index }
        }
    },
    {
        path: "create",
        component: _impostos_form_impostos_form_component__WEBPACK_IMPORTED_MODULE_3__["ImpostosFormComponent"],
        data: {
            breadcrumb: "impostos",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].create }
        }
    },
    {
        path: "edit/:id",
        component: _impostos_form_impostos_form_component__WEBPACK_IMPORTED_MODULE_3__["ImpostosFormComponent"],
        data: {
            breadcrumb: "impostos",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].edit }
        }
    },
    {
        path: "detail/:id",
        component: _impostos_form_impostos_form_component__WEBPACK_IMPORTED_MODULE_3__["ImpostosFormComponent"],
        data: {
            breadcrumb: "impostos",
            formParams: { action: app_config_enumerables__WEBPACK_IMPORTED_MODULE_2__["ActionForm"].detail }
        }
    }
];
var ImpostosRoutingModule = /** @class */ (function () {
    function ImpostosRoutingModule() {
    }
    ImpostosRoutingModule = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"])({
            imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(ImpostosRoutes)],
            exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
        })
    ], ImpostosRoutingModule);
    return ImpostosRoutingModule;
}());



/***/ }),

/***/ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.service.ts":
/*!**********************************************************************************!*\
  !*** ./src/app/pages/especificos/vopak/integracoes/impostos/impostos.service.ts ***!
  \**********************************************************************************/
/*! exports provided: ImpostosService */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImpostosService", function() { return ImpostosService; });
/* 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_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 _impostos_constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./impostos.constants */ "./src/app/pages/especificos/vopak/integracoes/impostos/impostos.constants.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 ImpostosService = /** @class */ (function (_super) {
    __extends(ImpostosService, _super);
    function ImpostosService(http) {
        var _this = _super.call(this, http, "vopak/cliVopOcsImposto") || this;
        _this.http = http;
        _this.constantes = new _impostos_constants__WEBPACK_IMPORTED_MODULE_3__["ImpostosConstants"]();
        return _this;
    }
    ImpostosService.ctorParameters = function () { return [
        { type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] }
    ]; };
    ImpostosService = __decorate([
        Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
            providedIn: "root"
        }),
        __metadata("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]])
    ], ImpostosService);
    return ImpostosService;
}(app_shared_services_base_specifics_base_service__WEBPACK_IMPORTED_MODULE_2__["SpecificsBaseService"]));



/***/ })

}]);
//# sourceMappingURL=app-pages-especificos-vopak-integracoes-impostos-impostos-module.js.map