@senior-gestao-empresarial/angular-components 4.22.2-7ecfc706-3270-4664-9d10-a6918ef49acd → 4.23.1

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.
@@ -5835,6 +5835,75 @@
5835
5835
  return ParametersLookup;
5836
5836
  }(ErpLookups));
5837
5837
 
5838
+ var BeneficioFiscalLookup = /** @class */ (function (_super) {
5839
+ __extends(BeneficioFiscalLookup, _super);
5840
+ function BeneficioFiscalLookup(lookupService, translate) {
5841
+ var _this = _super.call(this, lookupService, translate, "beneficioFiscal", [
5842
+ {
5843
+ name: "codigo",
5844
+ type: angularComponents.FieldType.String
5845
+ },
5846
+ {
5847
+ name: "descricao",
5848
+ type: angularComponents.FieldType.String
5849
+ },
5850
+ ], [
5851
+ {
5852
+ name: "codigo",
5853
+ type: angularComponents.FieldType.String
5854
+ },
5855
+ {
5856
+ name: "descricao",
5857
+ type: angularComponents.FieldType.String
5858
+ },
5859
+ {
5860
+ name: "abreviatura",
5861
+ type: angularComponents.FieldType.String
5862
+ },
5863
+ {
5864
+ name: "vigenciaInicial",
5865
+ type: angularComponents.FieldType.String
5866
+ },
5867
+ {
5868
+ name: "vigenciaFinal",
5869
+ type: angularComponents.FieldType.String
5870
+ },
5871
+ ], [
5872
+ {
5873
+ name: "codigo",
5874
+ type: angularComponents.FieldType.String
5875
+ },
5876
+ {
5877
+ name: "descricao",
5878
+ type: angularComponents.FieldType.String
5879
+ },
5880
+ {
5881
+ name: "abreviatura",
5882
+ type: angularComponents.FieldType.String
5883
+ },
5884
+ {
5885
+ name: "vigenciaInicial",
5886
+ type: angularComponents.FieldType.String
5887
+ },
5888
+ {
5889
+ name: "vigenciaFinal",
5890
+ type: angularComponents.FieldType.String
5891
+ },
5892
+ ], "erpx_cpl_imp", "impostos") || this;
5893
+ _this.lookupService = lookupService;
5894
+ _this.translate = translate;
5895
+ return _this;
5896
+ }
5897
+ BeneficioFiscalLookup.ctorParameters = function () { return [
5898
+ { type: ErpLookupsService },
5899
+ { type: core$1.TranslateService }
5900
+ ]; };
5901
+ BeneficioFiscalLookup = __decorate([
5902
+ core.Injectable()
5903
+ ], BeneficioFiscalLookup);
5904
+ return BeneficioFiscalLookup;
5905
+ }(ErpLookups));
5906
+
5838
5907
  var ErpLookupsModule = /** @class */ (function () {
5839
5908
  function ErpLookupsModule() {
5840
5909
  }
@@ -5939,7 +6008,8 @@
5939
6008
  CountryLookup,
5940
6009
  BankLookup,
5941
6010
  TypeTaxesLookup,
5942
- ParametersLookup
6011
+ ParametersLookup,
6012
+ BeneficioFiscalLookup
5943
6013
  ],
5944
6014
  declarations: [],
5945
6015
  exports: [],
@@ -6632,10 +6702,10 @@
6632
6702
  var _this = this;
6633
6703
  setTimeout(function () {
6634
6704
  if (_this.isConnected()) {
6635
- _this.publishOnConnect();
6705
+ _this.connect$.next();
6636
6706
  }
6637
6707
  }, 0);
6638
- return this.connect$.asObservable();
6708
+ return this.connect$.pipe(operators.first());
6639
6709
  };
6640
6710
  /**
6641
6711
  * Observable responsável por emitir uma notificação quando a conexão é desconectada.
@@ -6780,7 +6850,7 @@
6780
6850
  }
6781
6851
  else {
6782
6852
  _this.wasConnected = true;
6783
- _this.publishOnConnect();
6853
+ _this.connect$.next();
6784
6854
  }
6785
6855
  }, function (error) {
6786
6856
  _this.setConnected(false);
@@ -6788,10 +6858,6 @@
6788
6858
  _this.reconnect();
6789
6859
  });
6790
6860
  };
6791
- WebsocketService.prototype.publishOnConnect = function () {
6792
- this.connect$.next();
6793
- this.connect$.observers = [];
6794
- };
6795
6861
  WebsocketService.prototype.onFocus = function () {
6796
6862
  this.focused = true;
6797
6863
  };
@@ -6846,6 +6912,7 @@
6846
6912
  this._stompClient.deactivate();
6847
6913
  this.setConnected(false);
6848
6914
  this.isConnecting = false;
6915
+ this.wasConnected = false;
6849
6916
  this.disconnect$.next();
6850
6917
  };
6851
6918
  WebsocketService.prototype.isConnected = function () {
@@ -7055,6 +7122,7 @@
7055
7122
  })(exports.ModulesEnum || (exports.ModulesEnum = {}));
7056
7123
 
7057
7124
  exports.BankLookup = BankLookup;
7125
+ exports.BeneficioFiscalLookup = BeneficioFiscalLookup;
7058
7126
  exports.BreadcrumbComponent = BreadcrumbComponent;
7059
7127
  exports.BreadcrumbModule = BreadcrumbModule;
7060
7128
  exports.Breakpoints = Breakpoints;