@senior-agronegocio/angular-components 0.0.9881 → 0.0.9883

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.
@@ -6579,6 +6579,7 @@
6579
6579
  return lastActive;
6580
6580
  };
6581
6581
  EventControlBoardComponent.prototype.createStep = function (detail, item, detailIndex) {
6582
+ console.log('Detail:', detail);
6582
6583
  return {
6583
6584
  item: detail,
6584
6585
  controlCode: item.controlCode,
@@ -6605,20 +6606,12 @@
6605
6606
  if (eventLabel) {
6606
6607
  return this.translate.instant(eventLabel);
6607
6608
  }
6608
- var localLabel = this.getEventOperationSubLocalLabel(detail);
6609
+ var localLabel = this.translate.instant("agro.angular_components." + detail.eventOperation);
6609
6610
  if (localLabel) {
6610
6611
  return localLabel;
6611
6612
  }
6612
6613
  return detail.eventOperation;
6613
6614
  };
6614
- EventControlBoardComponent.prototype.getEventOperationSubLocalLabel = function (detail) {
6615
- var translationKey = "agro.angular_components." + detail.eventOperation;
6616
- var translation = this.translate.instant(translationKey);
6617
- if (translation !== translationKey) {
6618
- return translation;
6619
- }
6620
- return null;
6621
- };
6622
6615
  EventControlBoardComponent.prototype.formatSubtitle = function (detail) {
6623
6616
  var _a;
6624
6617
  var eventOperation = detail.eventOperation, subTitle = detail.subTitle;
@@ -7935,7 +7928,7 @@
7935
7928
  return Promise.resolve(result);
7936
7929
  };
7937
7930
  ModalInvoicePjForOriginationComponent.prototype.beforeAdd = function (selectedInvoices) {
7938
- throw new Error('Method not implemented.');
7931
+ return rxjs.of(rxjs.EMPTY).toPromise();
7939
7932
  };
7940
7933
  ModalInvoicePjForOriginationComponent.ctorParameters = function () { return [
7941
7934
  { type: LibTranslationService },