@senior-gestao-empresarial/angular-components 6.12.0-cdee7359-3bca-4813-b06f-c65cc860eea4 → 7.0.0-3e0c74dd-ca06-44ec-8be2-124d3c32bae0
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-angular-components.umd.js +56 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.js.map +1 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js +1 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js.map +1 -1
- package/components/lookups/entities/e-006-pai-lookup.d.ts +8 -0
- package/components/lookups/index.d.ts +1 -0
- package/esm2015/components/lookups/entities/e-006-pai-lookup.js +48 -0
- package/esm2015/components/lookups/erp-lookups.module.js +3 -1
- package/esm2015/components/lookups/index.js +2 -1
- package/esm2015/components/websocket/websocket.service.js +12 -3
- package/esm5/components/lookups/entities/e-006-pai-lookup.js +51 -0
- package/esm5/components/lookups/erp-lookups.module.js +3 -1
- package/esm5/components/lookups/index.js +2 -1
- package/esm5/components/websocket/websocket.service.js +12 -3
- package/fesm2015/senior-gestao-empresarial-angular-components.js +54 -3
- package/fesm2015/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-angular-components.js +57 -3
- package/fesm5/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/senior-gestao-empresarial-angular-components.metadata.json +1 -1
|
@@ -13,7 +13,7 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
13
13
|
import { HttpInterceptorModule } from '@seniorsistemas/platform-components';
|
|
14
14
|
import { user } from '@seniorsistemas/senior-platform-data';
|
|
15
15
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
16
|
-
import { Client } from '@stomp/stompjs';
|
|
16
|
+
import { Client, FrameImpl } from '@stomp/stompjs';
|
|
17
17
|
import * as SockJS from 'sockjs-client';
|
|
18
18
|
import { get } from 'js-cookie';
|
|
19
19
|
|
|
@@ -749,6 +749,50 @@ var E007UfsLookup = /** @class */ (function (_super) {
|
|
|
749
749
|
return E007UfsLookup;
|
|
750
750
|
}(ErpLookups));
|
|
751
751
|
|
|
752
|
+
var codPai = "codPai";
|
|
753
|
+
var nomPai = "nomPai";
|
|
754
|
+
var E006PaiLookup = /** @class */ (function (_super) {
|
|
755
|
+
__extends(E006PaiLookup, _super);
|
|
756
|
+
function E006PaiLookup(lookupService, translate) {
|
|
757
|
+
var _this = _super.call(this, lookupService, translate, "e006pai", [
|
|
758
|
+
{
|
|
759
|
+
name: codPai,
|
|
760
|
+
type: FieldType.String
|
|
761
|
+
}, {
|
|
762
|
+
name: nomPai,
|
|
763
|
+
type: FieldType.String
|
|
764
|
+
}
|
|
765
|
+
], [
|
|
766
|
+
{
|
|
767
|
+
name: codPai,
|
|
768
|
+
type: FieldType.String
|
|
769
|
+
}, {
|
|
770
|
+
name: nomPai,
|
|
771
|
+
type: FieldType.String
|
|
772
|
+
}
|
|
773
|
+
], [
|
|
774
|
+
{
|
|
775
|
+
name: codPai,
|
|
776
|
+
type: FieldType.Integer
|
|
777
|
+
}, {
|
|
778
|
+
name: nomPai,
|
|
779
|
+
type: FieldType.String
|
|
780
|
+
}
|
|
781
|
+
], "erpx_fnd", "empresa") || this;
|
|
782
|
+
_this.lookupService = lookupService;
|
|
783
|
+
_this.translate = translate;
|
|
784
|
+
return _this;
|
|
785
|
+
}
|
|
786
|
+
E006PaiLookup.ctorParameters = function () { return [
|
|
787
|
+
{ type: ErpLookupsService },
|
|
788
|
+
{ type: TranslateService }
|
|
789
|
+
]; };
|
|
790
|
+
E006PaiLookup = __decorate([
|
|
791
|
+
Injectable()
|
|
792
|
+
], E006PaiLookup);
|
|
793
|
+
return E006PaiLookup;
|
|
794
|
+
}(ErpLookups));
|
|
795
|
+
|
|
752
796
|
var E008CepLookup = /** @class */ (function (_super) {
|
|
753
797
|
__extends(E008CepLookup, _super);
|
|
754
798
|
function E008CepLookup(lookupService, translate) {
|
|
@@ -6356,6 +6400,7 @@ var ErpLookupsModule = /** @class */ (function () {
|
|
|
6356
6400
|
ProdutoServicoLookup,
|
|
6357
6401
|
E044CcuFinRatDepLookup,
|
|
6358
6402
|
LigacaoItemFornecedorLookup,
|
|
6403
|
+
E006PaiLookup,
|
|
6359
6404
|
E007UfsLookup,
|
|
6360
6405
|
E008CepLookup,
|
|
6361
6406
|
E008RaiLookup,
|
|
@@ -7438,7 +7483,6 @@ var WebsocketService = /** @class */ (function () {
|
|
|
7438
7483
|
this.primitiveManagers.clear();
|
|
7439
7484
|
this.connected$.next(false);
|
|
7440
7485
|
if (!this.stompClient) return [3 /*break*/, 4];
|
|
7441
|
-
this.stompClient.forceDisconnect();
|
|
7442
7486
|
return [4 /*yield*/, this.stompClient.deactivate()];
|
|
7443
7487
|
case 3:
|
|
7444
7488
|
_d.sent();
|
|
@@ -7583,6 +7627,16 @@ var WebsocketService = /** @class */ (function () {
|
|
|
7583
7627
|
this.disconnected$.next();
|
|
7584
7628
|
};
|
|
7585
7629
|
WebsocketService.prototype.handleOnWebSocketClose = function (data) {
|
|
7630
|
+
if (data.reason && data.reason.toLowerCase().indexOf("go away") !== -1) {
|
|
7631
|
+
this.lostConnection = true;
|
|
7632
|
+
this.handleError('AuthenticationError', new FrameImpl({
|
|
7633
|
+
command: data.type,
|
|
7634
|
+
headers: {
|
|
7635
|
+
message: data.reason
|
|
7636
|
+
}
|
|
7637
|
+
}));
|
|
7638
|
+
return;
|
|
7639
|
+
}
|
|
7586
7640
|
if (data.wasClean) {
|
|
7587
7641
|
return;
|
|
7588
7642
|
}
|
|
@@ -7868,5 +7922,5 @@ var ModulesEnum;
|
|
|
7868
7922
|
* Generated bundle index. Do not edit.
|
|
7869
7923
|
*/
|
|
7870
7924
|
|
|
7871
|
-
export { AgreementLookup, BankLookup, BeneficioFiscalLookup, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ContaInternaFilialLookup, CountryLookup, CplTriNotaSaidaE001EndLookup, CplTriNotaSaidaE001PesLookup, CplTriNotaSaidaE001TnsLookup, CplTriNotaSaidaE007UfsLookup, CplTriNotaSaidaE008RaiLookup, CplTriNotaSaidaE015MedLookup, CplTriNotaSaidaE020SnfLookup, CplTriNotaSaidaE024MsgLookup, CplTriNotaSaidaE028CpgLookup, CplTriNotaSaidaE032EdcLookup, CplTriNotaSaidaE051DisLookup, CplTriNotaSaidaE066FpgLookup, CplTriNotaSaidaE070EmpLookup, CplTriNotaSaidaE070FilLookup, CplTriNotaSaidaE075DerLookup, CplTriNotaSaidaE080SerLookup, CplTriNotaSaidaNaturezaReceitaPisCofinsLookup, CplTriNotaSaidaNcmLookup, CplTriNotaSaidaNfEntradaLookup, CplTriNotaSaidaNfSaidaLookup, CurrencyLookup, DocumentoLookup, E001EndLookup, E001PesLookup, E001TnsLookup, E001TnsSupEstLookup, E002TptLookup, E007UfsLookup, E008CepLookup, E008RaiLookup, E012FamLookup, E015MedLookup, E020SnfLookup, E021MotLookup, E023CrpLookup, E024MsgLookup, E027EqiLookup, E027StrLookup, E028CpgLookup, E030AgeLookup, E030BanLookup, E031MoeLookup, E032EdcLookup, E035OcrLookup, E036InsLookup, E039PorLookup, E043MpcLookup, E043PcmLookup, E044CcuFinRatDepLookup, E044CcuLookup, E045PlaLookup, E046HpdLookup, E047NtgLookup, E048FctLookup, E048SfcLookup, E051DisLookup, E066FpgLookup, E067FinLookup, E069GreLookup, E070EmpLookup, E070EntLookup, E070FilLookup, E073PesLookup, E073VeiLookup, E075DerLookup, E080SerLookup, E081TabLookup, E082TprLookup, E085PesLookup, E089DocLookup, E090HrpComGerLookup, E090PesLookup, E091PlfFinRatLookup, E095PesLookup, E099UsuComGerLookup, E099UsuSupCprLookup, E140InsLookup, E140NfsLookup, E200LotLookup, E200SerLookup, E205DepLookup, E210DxpE075DerLookup, E210DxpLookup, E301TcrLookup, E403FprLookup, E420IcpLookup, E420IpcLookup, E420OcpLookup, E501TcpLookup, E600CcoLookup, E640LotLookup, EntityPersonProductLookup, EnumLogicalOperator, EquipmentLookup, ErpLookups, ErpLookupsModule, ErpPolling, ExportUtils, FiltersStorageService, FormUtilsService, HTTP_STATUS_CODE, LigacaoItemFornecedorLookup, LookupValidationUtils, ModulesEnum, NcmLookup, NotaFiscalEntradaLookup, NpsService, ParametersLookup, PrimitiveManager, ProdutoServicoLookup, QuantidadeDisponivelDemandaLookup, RequisicaoLookup, SegmentoLookup, TypeTaxesLookup, UnidadeMedidaLookup, UtilsModule, VerifyModulePermission, VerifyModulePermissions, WebsocketService, naturezaReceitaPisCofins, ɵ0, ErpLookupsService as ɵa, EnumAnaSin as ɵb, EnumNatCtb as ɵc, StorageService as ɵd, UserInformationService as ɵe, VerifyModulePermissionService as ɵf, VerifyModulePermissionsService as ɵg };
|
|
7925
|
+
export { AgreementLookup, BankLookup, BeneficioFiscalLookup, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ContaInternaFilialLookup, CountryLookup, CplTriNotaSaidaE001EndLookup, CplTriNotaSaidaE001PesLookup, CplTriNotaSaidaE001TnsLookup, CplTriNotaSaidaE007UfsLookup, CplTriNotaSaidaE008RaiLookup, CplTriNotaSaidaE015MedLookup, CplTriNotaSaidaE020SnfLookup, CplTriNotaSaidaE024MsgLookup, CplTriNotaSaidaE028CpgLookup, CplTriNotaSaidaE032EdcLookup, CplTriNotaSaidaE051DisLookup, CplTriNotaSaidaE066FpgLookup, CplTriNotaSaidaE070EmpLookup, CplTriNotaSaidaE070FilLookup, CplTriNotaSaidaE075DerLookup, CplTriNotaSaidaE080SerLookup, CplTriNotaSaidaNaturezaReceitaPisCofinsLookup, CplTriNotaSaidaNcmLookup, CplTriNotaSaidaNfEntradaLookup, CplTriNotaSaidaNfSaidaLookup, CurrencyLookup, DocumentoLookup, E001EndLookup, E001PesLookup, E001TnsLookup, E001TnsSupEstLookup, E002TptLookup, E006PaiLookup, E007UfsLookup, E008CepLookup, E008RaiLookup, E012FamLookup, E015MedLookup, E020SnfLookup, E021MotLookup, E023CrpLookup, E024MsgLookup, E027EqiLookup, E027StrLookup, E028CpgLookup, E030AgeLookup, E030BanLookup, E031MoeLookup, E032EdcLookup, E035OcrLookup, E036InsLookup, E039PorLookup, E043MpcLookup, E043PcmLookup, E044CcuFinRatDepLookup, E044CcuLookup, E045PlaLookup, E046HpdLookup, E047NtgLookup, E048FctLookup, E048SfcLookup, E051DisLookup, E066FpgLookup, E067FinLookup, E069GreLookup, E070EmpLookup, E070EntLookup, E070FilLookup, E073PesLookup, E073VeiLookup, E075DerLookup, E080SerLookup, E081TabLookup, E082TprLookup, E085PesLookup, E089DocLookup, E090HrpComGerLookup, E090PesLookup, E091PlfFinRatLookup, E095PesLookup, E099UsuComGerLookup, E099UsuSupCprLookup, E140InsLookup, E140NfsLookup, E200LotLookup, E200SerLookup, E205DepLookup, E210DxpE075DerLookup, E210DxpLookup, E301TcrLookup, E403FprLookup, E420IcpLookup, E420IpcLookup, E420OcpLookup, E501TcpLookup, E600CcoLookup, E640LotLookup, EntityPersonProductLookup, EnumLogicalOperator, EquipmentLookup, ErpLookups, ErpLookupsModule, ErpPolling, ExportUtils, FiltersStorageService, FormUtilsService, HTTP_STATUS_CODE, LigacaoItemFornecedorLookup, LookupValidationUtils, ModulesEnum, NcmLookup, NotaFiscalEntradaLookup, NpsService, ParametersLookup, PrimitiveManager, ProdutoServicoLookup, QuantidadeDisponivelDemandaLookup, RequisicaoLookup, SegmentoLookup, TypeTaxesLookup, UnidadeMedidaLookup, UtilsModule, VerifyModulePermission, VerifyModulePermissions, WebsocketService, naturezaReceitaPisCofins, ɵ0, ErpLookupsService as ɵa, EnumAnaSin as ɵb, EnumNatCtb as ɵc, StorageService as ɵd, UserInformationService as ɵe, VerifyModulePermissionService as ɵf, VerifyModulePermissionsService as ɵg };
|
|
7872
7926
|
//# sourceMappingURL=senior-gestao-empresarial-angular-components.js.map
|