@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.
@@ -955,6 +955,50 @@
955
955
  return E007UfsLookup;
956
956
  }(ErpLookups));
957
957
 
958
+ var codPai = "codPai";
959
+ var nomPai = "nomPai";
960
+ var E006PaiLookup = /** @class */ (function (_super) {
961
+ __extends(E006PaiLookup, _super);
962
+ function E006PaiLookup(lookupService, translate) {
963
+ var _this = _super.call(this, lookupService, translate, "e006pai", [
964
+ {
965
+ name: codPai,
966
+ type: angularComponents.FieldType.String
967
+ }, {
968
+ name: nomPai,
969
+ type: angularComponents.FieldType.String
970
+ }
971
+ ], [
972
+ {
973
+ name: codPai,
974
+ type: angularComponents.FieldType.String
975
+ }, {
976
+ name: nomPai,
977
+ type: angularComponents.FieldType.String
978
+ }
979
+ ], [
980
+ {
981
+ name: codPai,
982
+ type: angularComponents.FieldType.Integer
983
+ }, {
984
+ name: nomPai,
985
+ type: angularComponents.FieldType.String
986
+ }
987
+ ], "erpx_fnd", "empresa") || this;
988
+ _this.lookupService = lookupService;
989
+ _this.translate = translate;
990
+ return _this;
991
+ }
992
+ E006PaiLookup.ctorParameters = function () { return [
993
+ { type: ErpLookupsService },
994
+ { type: core$1.TranslateService }
995
+ ]; };
996
+ E006PaiLookup = __decorate([
997
+ core.Injectable()
998
+ ], E006PaiLookup);
999
+ return E006PaiLookup;
1000
+ }(ErpLookups));
1001
+
958
1002
  var E008CepLookup = /** @class */ (function (_super) {
959
1003
  __extends(E008CepLookup, _super);
960
1004
  function E008CepLookup(lookupService, translate) {
@@ -6562,6 +6606,7 @@
6562
6606
  ProdutoServicoLookup,
6563
6607
  E044CcuFinRatDepLookup,
6564
6608
  LigacaoItemFornecedorLookup,
6609
+ E006PaiLookup,
6565
6610
  E007UfsLookup,
6566
6611
  E008CepLookup,
6567
6612
  E008RaiLookup,
@@ -7644,7 +7689,6 @@
7644
7689
  this.primitiveManagers.clear();
7645
7690
  this.connected$.next(false);
7646
7691
  if (!this.stompClient) return [3 /*break*/, 4];
7647
- this.stompClient.forceDisconnect();
7648
7692
  return [4 /*yield*/, this.stompClient.deactivate()];
7649
7693
  case 3:
7650
7694
  _d.sent();
@@ -7789,6 +7833,16 @@
7789
7833
  this.disconnected$.next();
7790
7834
  };
7791
7835
  WebsocketService.prototype.handleOnWebSocketClose = function (data) {
7836
+ if (data.reason && data.reason.toLowerCase().indexOf("go away") !== -1) {
7837
+ this.lostConnection = true;
7838
+ this.handleError('AuthenticationError', new stompjs.FrameImpl({
7839
+ command: data.type,
7840
+ headers: {
7841
+ message: data.reason
7842
+ }
7843
+ }));
7844
+ return;
7845
+ }
7792
7846
  if (data.wasClean) {
7793
7847
  return;
7794
7848
  }
@@ -8105,6 +8159,7 @@
8105
8159
  exports.E001TnsLookup = E001TnsLookup;
8106
8160
  exports.E001TnsSupEstLookup = E001TnsSupEstLookup;
8107
8161
  exports.E002TptLookup = E002TptLookup;
8162
+ exports.E006PaiLookup = E006PaiLookup;
8108
8163
  exports.E007UfsLookup = E007UfsLookup;
8109
8164
  exports.E008CepLookup = E008CepLookup;
8110
8165
  exports.E008RaiLookup = E008RaiLookup;