@senior-gestao-empresarial/erpx-components 1.18.3 → 1.18.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/senior-gestao-empresarial-erpx-components.umd.js +11 -8
- package/bundles/senior-gestao-empresarial-erpx-components.umd.js.map +1 -1
- package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js +2 -2
- package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js.map +1 -1
- package/components/tributos/erp-tributos.component.d.ts +4 -1
- package/esm2015/components/tributos/erp-tributos.component.js +9 -5
- package/esm5/components/tributos/erp-tributos.component.js +9 -5
- package/fesm2015/senior-gestao-empresarial-erpx-components.js +8 -4
- package/fesm2015/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-erpx-components.js +8 -4
- package/fesm5/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/package.json +2 -2
- package/senior-gestao-empresarial-erpx-components.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('primeng/breadcrumb'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@seniorsistemas/angular-components'), require('primeng/accordion'), require('@ngx-translate/core'), require('@angular/forms'), require('@senior-gestao-empresarial/angular-components'), require('primeng/api'), require('@angular/common/http'), require('primeng'), require('primeng/confirmdialog'), require('primeng/messages'), require('primeng/panel'), require('primeng/table'), require('primeng/tabview'), require('@seniorsistemas/platform-components'), require('moment')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@senior-gestao-empresarial/erpx-components', ['exports', '@angular/core', '@angular/common', 'primeng/breadcrumb', '@angular/router', 'rxjs', 'rxjs/operators', '@seniorsistemas/angular-components', 'primeng/accordion', '@ngx-translate/core', '@angular/forms', '@senior-gestao-empresarial/angular-components', 'primeng/api', '@angular/common/http', 'primeng', 'primeng/confirmdialog', 'primeng/messages', 'primeng/panel', 'primeng/table', 'primeng/tabview', '@seniorsistemas/platform-components', 'moment'], factory) :
|
|
4
|
-
(global = global || self, factory((global['senior-gestao-empresarial'] = global['senior-gestao-empresarial'] || {}, global['senior-gestao-empresarial']['erpx-components'] = {}), global.ng.core, global.ng.common, global.breadcrumb, global.ng.router, global.rxjs, global.rxjs.operators, global.angularComponents, global.accordion, global.core$1, global.ng.forms, global.angularComponents$1, global.api, global.ng.common.http, global.primeng, global.confirmdialog, global.messages, global.panel, global.table, global.tabview, global.platformComponents, global.moment_));
|
|
5
|
-
}(this, (function (exports, core, common, breadcrumb, router, rxjs, operators, angularComponents, accordion, core$1, forms, angularComponents$1, api, http, primeng, confirmdialog, messages, panel, table, tabview, platformComponents, moment_) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('primeng/breadcrumb'), require('@angular/router'), require('rxjs'), require('rxjs/operators'), require('@seniorsistemas/angular-components'), require('primeng/accordion'), require('@ngx-translate/core'), require('@angular/forms'), require('@senior-gestao-empresarial/angular-components'), require('primeng/api'), require('@angular/common/http'), require('primeng'), require('@seniorsistemas/platform-utils'), require('primeng/confirmdialog'), require('primeng/messages'), require('primeng/panel'), require('primeng/table'), require('primeng/tabview'), require('@seniorsistemas/platform-components'), require('moment')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@senior-gestao-empresarial/erpx-components', ['exports', '@angular/core', '@angular/common', 'primeng/breadcrumb', '@angular/router', 'rxjs', 'rxjs/operators', '@seniorsistemas/angular-components', 'primeng/accordion', '@ngx-translate/core', '@angular/forms', '@senior-gestao-empresarial/angular-components', 'primeng/api', '@angular/common/http', 'primeng', '@seniorsistemas/platform-utils', 'primeng/confirmdialog', 'primeng/messages', 'primeng/panel', 'primeng/table', 'primeng/tabview', '@seniorsistemas/platform-components', 'moment'], factory) :
|
|
4
|
+
(global = global || self, factory((global['senior-gestao-empresarial'] = global['senior-gestao-empresarial'] || {}, global['senior-gestao-empresarial']['erpx-components'] = {}), global.ng.core, global.ng.common, global.breadcrumb, global.ng.router, global.rxjs, global.rxjs.operators, global.angularComponents, global.accordion, global.core$1, global.ng.forms, global.angularComponents$1, global.api, global.ng.common.http, global.primeng, global.platformUtils, global.confirmdialog, global.messages, global.panel, global.table, global.tabview, global.platformComponents, global.moment_));
|
|
5
|
+
}(this, (function (exports, core, common, breadcrumb, router, rxjs, operators, angularComponents, accordion, core$1, forms, angularComponents$1, api, http, primeng, platformUtils, confirmdialog, messages, panel, table, tabview, platformComponents, moment_) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
})(exports.EnumRegimeTributarioPisCofins || (exports.EnumRegimeTributarioPisCofins = {}));
|
|
666
666
|
|
|
667
667
|
var ErpTributosComponent = /** @class */ (function () {
|
|
668
|
-
function ErpTributosComponent(formBuilder, changeDetector, translate, e027StrLookup, e027eqiLookup, naturezaReceitaLookup, lookupUtils, messageService, erpTributosService) {
|
|
668
|
+
function ErpTributosComponent(formBuilder, changeDetector, translate, e027StrLookup, e027eqiLookup, naturezaReceitaLookup, lookupUtils, messageService, erpTributosService, gTag) {
|
|
669
669
|
this.formBuilder = formBuilder;
|
|
670
670
|
this.changeDetector = changeDetector;
|
|
671
671
|
this.translate = translate;
|
|
@@ -675,6 +675,7 @@
|
|
|
675
675
|
this.lookupUtils = lookupUtils;
|
|
676
676
|
this.messageService = messageService;
|
|
677
677
|
this.erpTributosService = erpTributosService;
|
|
678
|
+
this.gTag = gTag;
|
|
678
679
|
this.grupos = [];
|
|
679
680
|
this.tributosValue = [];
|
|
680
681
|
this.reload = true;
|
|
@@ -797,10 +798,11 @@
|
|
|
797
798
|
var tributo = this.idsTaxesMemoriaCalculo.find(function (element) { return element.tipoTributo == imposto.name; });
|
|
798
799
|
this.abrirWindowUrlMemoriaCalculo(tributo);
|
|
799
800
|
};
|
|
800
|
-
ErpTributosComponent.prototype.makeUrlWindow = function (params) {
|
|
801
|
+
ErpTributosComponent.prototype.makeUrlWindow = function (params, tributo) {
|
|
801
802
|
this.erpTributosService.getFrontend(params).subscribe(function (response) {
|
|
802
803
|
window.open("" + response.frontends[0].embeddedURL, '_blank');
|
|
803
804
|
});
|
|
805
|
+
this.gTag.sendEvent('share', { method: tributo.fromScreen, content_type: tributo.tipoTributo });
|
|
804
806
|
};
|
|
805
807
|
ErpTributosComponent.prototype.disabledButton = function (imposto) {
|
|
806
808
|
return this.idsTaxesMemoriaCalculo == undefined || !this.idsTaxesMemoriaCalculo.find(function (element) {
|
|
@@ -833,7 +835,7 @@
|
|
|
833
835
|
"route": "" + this.validaTela(tributo)
|
|
834
836
|
}]
|
|
835
837
|
};
|
|
836
|
-
this.makeUrlWindow(params);
|
|
838
|
+
this.makeUrlWindow(params, tributo);
|
|
837
839
|
};
|
|
838
840
|
ErpTributosComponent.prototype.validaTela = function (taxes) {
|
|
839
841
|
if (this.isStTaxes(taxes.tipoTributo)) {
|
|
@@ -3565,7 +3567,8 @@
|
|
|
3565
3567
|
{ type: angularComponents$1.CplTriNotaSaidaNaturezaReceitaPisCofinsLookup },
|
|
3566
3568
|
{ type: angularComponents$1.LookupValidationUtils },
|
|
3567
3569
|
{ type: api.MessageService },
|
|
3568
|
-
{ type: ErpTributosService }
|
|
3570
|
+
{ type: ErpTributosService },
|
|
3571
|
+
{ type: platformUtils.GTagService }
|
|
3569
3572
|
]; };
|
|
3570
3573
|
__decorate([
|
|
3571
3574
|
core.Input()
|