@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.
- package/bundles/senior-agronegocio-angular-components.umd.js +3 -10
- package/bundles/senior-agronegocio-angular-components.umd.js.map +1 -1
- package/bundles/senior-agronegocio-angular-components.umd.min.js +1 -1
- package/bundles/senior-agronegocio-angular-components.umd.min.js.map +1 -1
- package/components/event-control-board/event-control-board.component.d.ts +0 -1
- package/components/modal-invoice-pj/modal-shared-imports.d.ts +7 -4
- package/esm2015/components/event-control-board/event-control-board.component.js +3 -10
- package/esm2015/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.js +3 -2
- package/esm5/components/event-control-board/event-control-board.component.js +3 -10
- package/esm5/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.js +3 -2
- package/fesm2015/senior-agronegocio-angular-components.js +3 -10
- package/fesm2015/senior-agronegocio-angular-components.js.map +1 -1
- package/fesm5/senior-agronegocio-angular-components.js +3 -10
- package/fesm5/senior-agronegocio-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
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
|
-
|
|
7931
|
+
return rxjs.of(rxjs.EMPTY).toPromise();
|
|
7939
7932
|
};
|
|
7940
7933
|
ModalInvoicePjForOriginationComponent.ctorParameters = function () { return [
|
|
7941
7934
|
{ type: LibTranslationService },
|