@senior-agronegocio/angular-components 0.0.63 → 0.0.65
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 +349 -160
- package/bundles/senior-agronegocio-angular-components.umd.js.map +1 -1
- package/bundles/senior-agronegocio-angular-components.umd.min.js +2 -2
- package/bundles/senior-agronegocio-angular-components.umd.min.js.map +1 -1
- package/common/numbers.d.ts +6 -0
- package/components/cancel-event-dialog/cancel-event-dialog-config.d.ts +7 -0
- package/components/cancel-event-dialog/cancel-event-dialog.component.d.ts +33 -0
- package/components/cancel-event-dialog/cancel-event-dialog.module.d.ts +2 -0
- package/components/cancel-event-dialog/index.d.ts +3 -0
- package/components/event-control-board/common/event-control-constants.d.ts +12 -2
- package/components/event-control-board/common/event-operation.d.ts +5 -1
- package/components/event-control-board/common/input-fields-translate.d.ts +5 -0
- package/components/event-control-board/common/input-fields.d.ts +3 -0
- package/components/event-control-board/common/invoice-type.d.ts +9 -0
- package/components/event-control-board/event-control-board.component.d.ts +15 -9
- package/components/event-control-board/index.d.ts +2 -0
- package/components/event-control-board/service/event-control-item/event-control-item-dto.d.ts +1 -0
- package/components/event-control-board/service/event-control-item/event-control-item.d.ts +1 -0
- package/components/event-steps/event-steps.component.d.ts +1 -0
- package/components/index.d.ts +1 -0
- package/esm2015/common/numbers.js +8 -0
- package/esm2015/components/cancel-event-dialog/cancel-event-dialog-config.js +1 -0
- package/esm2015/components/cancel-event-dialog/cancel-event-dialog.component.js +115 -0
- package/esm2015/components/cancel-event-dialog/cancel-event-dialog.module.js +27 -0
- package/esm2015/components/cancel-event-dialog/index.js +3 -0
- package/esm2015/components/event-control-board/common/event-control-constants.js +11 -3
- package/esm2015/components/event-control-board/common/event-operation.js +5 -1
- package/esm2015/components/event-control-board/common/input-fields-translate.js +11 -0
- package/esm2015/components/event-control-board/common/input-fields.js +5 -0
- package/esm2015/components/event-control-board/common/invoice-type.js +11 -0
- package/esm2015/components/event-control-board/event-control-board.component.js +64 -60
- package/esm2015/components/event-control-board/event-control-board.module.js +6 -4
- package/esm2015/components/event-control-board/index.js +2 -1
- package/esm2015/components/event-control-board/service/event-control-item/event-control-item-dto.js +1 -1
- package/esm2015/components/event-control-board/service/event-control-item/event-control-item.js +1 -1
- package/esm2015/components/event-steps/event-steps.component.js +3 -3
- package/esm2015/components/index.js +2 -1
- package/esm2015/services/i18n/en-US.js +11 -3
- package/esm2015/services/i18n/es-CO.js +11 -3
- package/esm2015/services/i18n/pt-BR.js +17 -5
- package/esm5/common/numbers.js +8 -0
- package/esm5/components/cancel-event-dialog/cancel-event-dialog-config.js +1 -0
- package/esm5/components/cancel-event-dialog/cancel-event-dialog.component.js +117 -0
- package/esm5/components/cancel-event-dialog/cancel-event-dialog.module.js +30 -0
- package/esm5/components/cancel-event-dialog/index.js +3 -0
- package/esm5/components/event-control-board/common/event-control-constants.js +11 -3
- package/esm5/components/event-control-board/common/event-operation.js +5 -1
- package/esm5/components/event-control-board/common/input-fields-translate.js +11 -0
- package/esm5/components/event-control-board/common/input-fields.js +5 -0
- package/esm5/components/event-control-board/common/invoice-type.js +11 -0
- package/esm5/components/event-control-board/event-control-board.component.js +64 -62
- package/esm5/components/event-control-board/event-control-board.module.js +6 -4
- package/esm5/components/event-control-board/index.js +2 -1
- package/esm5/components/event-control-board/service/event-control-item/event-control-item-dto.js +1 -1
- package/esm5/components/event-control-board/service/event-control-item/event-control-item.js +1 -1
- package/esm5/components/event-steps/event-steps.component.js +3 -3
- package/esm5/components/index.js +2 -1
- package/esm5/services/i18n/en-US.js +11 -3
- package/esm5/services/i18n/es-CO.js +11 -3
- package/esm5/services/i18n/pt-BR.js +17 -5
- package/fesm2015/senior-agronegocio-angular-components.js +307 -123
- package/fesm2015/senior-agronegocio-angular-components.js.map +1 -1
- package/fesm5/senior-agronegocio-angular-components.js +349 -162
- package/fesm5/senior-agronegocio-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/senior-agronegocio-angular-components.metadata.json +1 -1
- package/services/i18n/en-US.d.ts +8 -0
- package/services/i18n/es-CO.d.ts +8 -0
- package/services/i18n/pt-BR.d.ts +12 -0
- package/components/event-control-board/common/origin-operation.d.ts +0 -5
- package/esm2015/components/event-control-board/common/origin-operation.js +0 -7
- package/esm5/components/event-control-board/common/origin-operation.js +0 -7
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { __read, __values, __awaiter, __generator, __spread, __decorate, __extends, __assign } from 'tslib';
|
|
2
2
|
import moment from 'moment';
|
|
3
|
-
import { Subject, BehaviorSubject, of, throwError
|
|
3
|
+
import { Subject, BehaviorSubject, of, throwError } from 'rxjs';
|
|
4
4
|
import sockjsClient from 'sockjs-client';
|
|
5
5
|
import { ɵɵdefineInjectable, Injectable, ɵɵinject, NgModule, Input, Component, LOCALE_ID, EventEmitter, Output, Pipe, InjectionToken } from '@angular/core';
|
|
6
6
|
import { filter, take, finalize, switchMap, map, catchError, takeUntil } from 'rxjs/operators';
|
|
7
7
|
import { Client, FrameImpl } from '@stomp/stompjs';
|
|
8
8
|
import { get } from 'js-cookie';
|
|
9
9
|
import { CommonModule, registerLocaleData } from '@angular/common';
|
|
10
|
-
import { Validators, FormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
|
-
import { ButtonPriority, BadgeColors, FormField, FieldType, StepState as StepState$1, ButtonModule, CustomFieldsModule, ControlErrorsModule, EmptyStateModule, DynamicFormModule, TokenListModule, SidebarModule, LoadingStateModule, NumberInputModule, TableModule as TableModule$1, ObjectCardModule, LocaleModule, BadgeModule } from '@seniorsistemas/angular-components';
|
|
12
10
|
import localePt from '@angular/common/locales/pt';
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { Validators, FormControl, FormGroup, FormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
12
|
+
import { ButtonPriority, FormField, FieldType, BadgeColors, StepState as StepState$1, ButtonModule, CustomFieldsModule, ControlErrorsModule, EmptyStateModule, DynamicFormModule, TokenListModule, SidebarModule, LoadingStateModule, NumberInputModule, TableModule as TableModule$1, ObjectCardModule, LocaleModule, BadgeModule } from '@seniorsistemas/angular-components';
|
|
13
|
+
import { DynamicDialogConfig, DynamicDialogRef, MessageService as MessageService$1, DialogService, DialogModule, FieldsetModule } from 'primeng';
|
|
15
14
|
import { HttpParams, HttpClient } from '@angular/common/http';
|
|
16
15
|
import { MessageService, SharedModule as SharedModule$1 } from 'primeng/api';
|
|
16
|
+
import { user } from '@seniorsistemas/senior-platform-data';
|
|
17
17
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
18
18
|
import { PanelModule } from 'primeng/panel';
|
|
19
19
|
import { TabViewModule } from 'primeng/tabview';
|
|
@@ -3345,7 +3345,7 @@ var ptBR = {
|
|
|
3345
3345
|
"agro.angular_components.error_invalid": "Valor inválido",
|
|
3346
3346
|
"agro.angular_components.error_max_length": "O valor máximo de caracteres é {0}",
|
|
3347
3347
|
"agro.angular_components.error_max_value": "O valor máximo é {0}",
|
|
3348
|
-
"agro.angular_components.error_min_length": "O valor mínimo de caracteres é {
|
|
3348
|
+
"agro.angular_components.error_min_length": "O valor mínimo de caracteres é {valor}",
|
|
3349
3349
|
"agro.angular_components.error_min_value": "O valor mínimo é {0}",
|
|
3350
3350
|
"agro.angular_components.error_not_found_description": "O recurso solicitado não foi encontrado",
|
|
3351
3351
|
"agro.angular_components.error_not_found_title": "Não encontrado",
|
|
@@ -3469,8 +3469,8 @@ var ptBR = {
|
|
|
3469
3469
|
"agro.angular_components.CHANGE_REQUEST": "Solicitação de alteração",
|
|
3470
3470
|
"agro.angular_components.CHANGE_RESPONSE": "Resposta da solicitação de alteração",
|
|
3471
3471
|
"agro.angular_components.PROCESS_FIXATION": "Processa a fixação",
|
|
3472
|
-
"agro.angular_components.TRANSFER_CREATE_INCOMING_INVOICE": "
|
|
3473
|
-
"agro.angular_components.TRANSFER_CREATE_OUTGOING_INVOICE": "
|
|
3472
|
+
"agro.angular_components.TRANSFER_CREATE_INCOMING_INVOICE": "Emissão NF de entrada",
|
|
3473
|
+
"agro.angular_components.TRANSFER_CREATE_OUTGOING_INVOICE": "Emissão NF de saída",
|
|
3474
3474
|
"agro.angular_components.TRANSFER_PRODUCER_BALANCE": "Transferência de saldo entre produtores",
|
|
3475
3475
|
"agro.angular_components.control_code": "Identificador",
|
|
3476
3476
|
"agro.angular_components.fixation_event": "Fixação",
|
|
@@ -3489,7 +3489,19 @@ var ptBR = {
|
|
|
3489
3489
|
"agro.angular_components.warn_cancel_fixation_message_title": "Cancelamento de fixação",
|
|
3490
3490
|
"agro.angular_components.warn_cancel_fixation_message_description": "Não é permitido cancelar a fixação de compra imediata.",
|
|
3491
3491
|
"agro.angular_components.warn_immediate_cancel_fixation_message_description": "Não é possível cancelar uma fixação realizada via compra imediata.",
|
|
3492
|
-
"agro.angular_components.cancel_fixation_event": "Cancelamento de fixação"
|
|
3492
|
+
"agro.angular_components.cancel_fixation_event": "Cancelamento de fixação",
|
|
3493
|
+
"agro.angular_components.invoice_type_INCOMING": "Entrada",
|
|
3494
|
+
"agro.angular_components.invoice_type_COMPLEMENT": "Complementar",
|
|
3495
|
+
"agro.angular_components.invoice_type_ADJUSTMENT": "Ajuste",
|
|
3496
|
+
"agro.angular_components.invoice_type_OUTGOING": "Saída",
|
|
3497
|
+
"agro.angular_components.invoice_type_RETURN": "Devolução",
|
|
3498
|
+
"agro.angular_components.invoice_type_SERVICE": "Serviço",
|
|
3499
|
+
"agro.angular_components.invoice_type_SYMBOLIC_RETURN": "Devolução simbólica",
|
|
3500
|
+
"agro.angular_components.cancel_reason": "Motivo do cancelamento",
|
|
3501
|
+
"agro.angular_components.TRANSFER_CANCEL_INCOMING_INVOICE": "Cancelamento de NF de entrada",
|
|
3502
|
+
"agro.angular_components.TRANSFER_CANCEL_OUTGOING_INVOICE": "Cancelamento de NF de saída ",
|
|
3503
|
+
"agro.angular_components.TRANSFER_REVERSE_PRODUCER_BALANCE": "Estorno dos saldos de produtores",
|
|
3504
|
+
"agro.angular_components.TRANSFER_CONCLUDE_CANCEL": "Conclusão do cancelamento",
|
|
3493
3505
|
};
|
|
3494
3506
|
|
|
3495
3507
|
var enUS = {
|
|
@@ -3568,7 +3580,7 @@ var enUS = {
|
|
|
3568
3580
|
"agro.angular_components.error_invalid": "Invalid value",
|
|
3569
3581
|
"agro.angular_components.error_max_length": "The maximum number of characters is {0}",
|
|
3570
3582
|
"agro.angular_components.error_max_value": "The maximum value is {0}",
|
|
3571
|
-
"agro.angular_components.error_min_length": "The minimum number of characters is {
|
|
3583
|
+
"agro.angular_components.error_min_length": "The minimum number of characters is {valor}",
|
|
3572
3584
|
"agro.angular_components.error_min_value": "The minimum value is {0}",
|
|
3573
3585
|
"agro.angular_components.error_not_found_description": "The requested resource was not found",
|
|
3574
3586
|
"agro.angular_components.error_not_found_title": "Not found",
|
|
@@ -3712,7 +3724,15 @@ var enUS = {
|
|
|
3712
3724
|
"agro.angular_components.warn_cancel_fixation_message_title": "It is not possible to cancel the fixation",
|
|
3713
3725
|
"agro.angular_components.warn_cancel_fixation_message_description": "It is not possible to cancel a fixation that is already cancelled or in process.",
|
|
3714
3726
|
"agro.angular_components.warn_immediate_cancel_fixation_message_description": "It is not possible to cancel a fixation made via immediate buy.",
|
|
3715
|
-
"agro.angular_components.cancel_fixation_event": "Cancel fixation"
|
|
3727
|
+
"agro.angular_components.cancel_fixation_event": "Cancel fixation",
|
|
3728
|
+
"agro.angular_components.invoice_type_INCOMING": "Incoming",
|
|
3729
|
+
"agro.angular_components.invoice_type_COMPLEMENT": "Complementary",
|
|
3730
|
+
"agro.angular_components.invoice_type_ADJUSTMENT": "Adjustment",
|
|
3731
|
+
"agro.angular_components.invoice_type_OUTGOING": "Outgoing",
|
|
3732
|
+
"agro.angular_components.invoice_type_RETURN": "Return",
|
|
3733
|
+
"agro.angular_components.invoice_type_SERVICE": "Service",
|
|
3734
|
+
"agro.angular_components.invoice_type_SYMBOLIC_RETURN": "Symbolic return",
|
|
3735
|
+
"agro.angular_components.cancel_reason": "Cancellation reason"
|
|
3716
3736
|
};
|
|
3717
3737
|
|
|
3718
3738
|
var esCO = {
|
|
@@ -3791,7 +3811,7 @@ var esCO = {
|
|
|
3791
3811
|
"agro.angular_components.error_invalid": "Valor inválido",
|
|
3792
3812
|
"agro.angular_components.error_max_length": "El valor máximo de caracteres es {0}",
|
|
3793
3813
|
"agro.angular_components.error_max_value": "El valor máximo es {0}",
|
|
3794
|
-
"agro.angular_components.error_min_length": "El valor mínimo de caracteres es {
|
|
3814
|
+
"agro.angular_components.error_min_length": "El valor mínimo de caracteres es {valor}",
|
|
3795
3815
|
"agro.angular_components.error_min_value": "El valor mínimo es {0}",
|
|
3796
3816
|
"agro.angular_components.error_not_found_description": "El recurso solicitado no fue encontrado",
|
|
3797
3817
|
"agro.angular_components.error_not_found_title": "No encontrado",
|
|
@@ -3935,7 +3955,15 @@ var esCO = {
|
|
|
3935
3955
|
"agro.angular_components.warn_cancel_fixation_message_title": "No es posible cancelar la fijación",
|
|
3936
3956
|
"agro.angular_components.warn_cancel_fixation_message_description": "No es posible cancelar una fijación que ya esté cancelada o en proceso.",
|
|
3937
3957
|
"agro.angular_components.warn_immediate_cancel_fixation_message_description": "No es posible cancelar una fijación realizada vía compra inmediata.",
|
|
3938
|
-
"agro.angular_components.cancel_fixation_event": "Cancelación de fijación"
|
|
3958
|
+
"agro.angular_components.cancel_fixation_event": "Cancelación de fijación",
|
|
3959
|
+
"agro.angular_components.invoice_type_INCOMING": "Entrada",
|
|
3960
|
+
"agro.angular_components.invoice_type_COMPLEMENT": "Complementaria",
|
|
3961
|
+
"agro.angular_components.invoice_type_ADJUSTMENT": "Ajuste",
|
|
3962
|
+
"agro.angular_components.invoice_type_OUTGOING": "Salida",
|
|
3963
|
+
"agro.angular_components.invoice_type_RETURN": "Devolución",
|
|
3964
|
+
"agro.angular_components.invoice_type_SERVICE": "Servicio",
|
|
3965
|
+
"agro.angular_components.invoice_type_SYMBOLIC_RETURN": "Devolución simbólica",
|
|
3966
|
+
"agro.angular_components.cancel_reason": "Motivo de la cancelación"
|
|
3939
3967
|
};
|
|
3940
3968
|
|
|
3941
3969
|
var LibTranslationService = /** @class */ (function () {
|
|
@@ -3989,94 +4017,122 @@ var LibTranslationService = /** @class */ (function () {
|
|
|
3989
4017
|
return LibTranslationService;
|
|
3990
4018
|
}());
|
|
3991
4019
|
|
|
3992
|
-
var
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
FormDateError_data1: 'agro.angular_components.initial_invalid_date',
|
|
4000
|
-
FormDateError_data2: 'agro.angular_components.end_invalid_date'
|
|
4001
|
-
};
|
|
4020
|
+
var NUMBERS;
|
|
4021
|
+
(function (NUMBERS) {
|
|
4022
|
+
NUMBERS[NUMBERS["ZERO"] = 0] = "ZERO";
|
|
4023
|
+
NUMBERS[NUMBERS["TWELVE"] = 12] = "TWELVE";
|
|
4024
|
+
NUMBERS[NUMBERS["FIFTEEN"] = 15] = "FIFTEEN";
|
|
4025
|
+
NUMBERS[NUMBERS["HUNDRED"] = 100] = "HUNDRED";
|
|
4026
|
+
})(NUMBERS || (NUMBERS = {}));
|
|
4002
4027
|
|
|
4003
|
-
var
|
|
4004
|
-
function
|
|
4005
|
-
this.
|
|
4006
|
-
this.
|
|
4028
|
+
var CancelEventDialogComponent = /** @class */ (function () {
|
|
4029
|
+
function CancelEventDialogComponent(formBuilder, config, ref, translate) {
|
|
4030
|
+
this.formBuilder = formBuilder;
|
|
4031
|
+
this.config = config;
|
|
4032
|
+
this.ref = ref;
|
|
4033
|
+
this.translate = translate;
|
|
4034
|
+
this.loading = false;
|
|
4035
|
+
this.reasonMinLength = NUMBERS.FIFTEEN;
|
|
4036
|
+
this.ngUnsubscribe = new Subject();
|
|
4037
|
+
this.cpSize = {
|
|
4038
|
+
sm: 12,
|
|
4039
|
+
md: NUMBERS.TWELVE,
|
|
4040
|
+
lg: NUMBERS.TWELVE,
|
|
4041
|
+
xl: NUMBERS.TWELVE,
|
|
4042
|
+
};
|
|
4043
|
+
this.priority = ButtonPriority;
|
|
4007
4044
|
}
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
case 0:
|
|
4014
|
-
_b = (_a = sessionStorage).setItem;
|
|
4015
|
-
return [4 /*yield*/, this.GET_USER_ID];
|
|
4016
|
-
case 1:
|
|
4017
|
-
_b.apply(_a, [(_c.sent()) + "_" + key, JSON.stringify(value)]);
|
|
4018
|
-
return [2 /*return*/];
|
|
4019
|
-
}
|
|
4020
|
-
});
|
|
4021
|
-
});
|
|
4045
|
+
CancelEventDialogComponent.prototype.ngOnInit = function () {
|
|
4046
|
+
this.setFormGroup();
|
|
4047
|
+
this.setFormFields();
|
|
4048
|
+
this.setDataConfigDialog();
|
|
4049
|
+
this.setTranslations();
|
|
4022
4050
|
};
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
return __generator(this, function (_e) {
|
|
4027
|
-
switch (_e.label) {
|
|
4028
|
-
case 0:
|
|
4029
|
-
_b = (_a = JSON).parse;
|
|
4030
|
-
_d = (_c = sessionStorage).getItem;
|
|
4031
|
-
return [4 /*yield*/, this.GET_USER_ID];
|
|
4032
|
-
case 1: return [2 /*return*/, _b.apply(_a, [_d.apply(_c, [(_e.sent()) + "_" + key]) || '']) || {}];
|
|
4033
|
-
}
|
|
4034
|
-
});
|
|
4035
|
-
});
|
|
4051
|
+
CancelEventDialogComponent.prototype.ngOnDestroy = function () {
|
|
4052
|
+
this.ngUnsubscribe.next();
|
|
4053
|
+
this.ngUnsubscribe.complete();
|
|
4036
4054
|
};
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
var store;
|
|
4041
|
-
return __generator(this, function (_a) {
|
|
4042
|
-
switch (_a.label) {
|
|
4043
|
-
case 0: return [4 /*yield*/, this.get(this.PAGINATOR_KEY)];
|
|
4044
|
-
case 1:
|
|
4045
|
-
store = (_a.sent()) || {};
|
|
4046
|
-
store[key] = listParams;
|
|
4047
|
-
return [4 /*yield*/, this.store(this.PAGINATOR_KEY, store)];
|
|
4048
|
-
case 2:
|
|
4049
|
-
_a.sent();
|
|
4050
|
-
return [2 /*return*/];
|
|
4051
|
-
}
|
|
4052
|
-
});
|
|
4055
|
+
CancelEventDialogComponent.prototype.setFormGroup = function () {
|
|
4056
|
+
this.formGroup = this.formBuilder.group({
|
|
4057
|
+
reason: [{ value: null, disabled: false }, Validators.compose([Validators.required, Validators.minLength(this.reasonMinLength)])],
|
|
4053
4058
|
});
|
|
4054
4059
|
};
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
})
|
|
4060
|
+
CancelEventDialogComponent.prototype.setFormFields = function () {
|
|
4061
|
+
this.formFields = [
|
|
4062
|
+
new FormField({
|
|
4063
|
+
name: "reason",
|
|
4064
|
+
label: this.translate.instant("agro.angular_components.cancel_reason"),
|
|
4065
|
+
type: FieldType.String,
|
|
4066
|
+
multiple: false,
|
|
4067
|
+
required: function () { return true; },
|
|
4068
|
+
size: this.cpSize,
|
|
4069
|
+
maxLength: NUMBERS.HUNDRED,
|
|
4070
|
+
}),
|
|
4071
|
+
];
|
|
4072
|
+
};
|
|
4073
|
+
CancelEventDialogComponent.prototype.setDataConfigDialog = function () {
|
|
4074
|
+
var _a, _b, _c, _d;
|
|
4075
|
+
this.cancelEventDialogConfig = (_b = (_a = this.config.data) === null || _a === void 0 ? void 0 : _a.cancelEventDialogConfig) !== null && _b !== void 0 ? _b : {};
|
|
4076
|
+
this.reasonMinLength = (_d = (_c = this.cancelEventDialogConfig) === null || _c === void 0 ? void 0 : _c.reasonMinLength) !== null && _d !== void 0 ? _d : NUMBERS.FIFTEEN;
|
|
4077
|
+
};
|
|
4078
|
+
CancelEventDialogComponent.prototype.setTranslations = function () {
|
|
4079
|
+
this.translations = {
|
|
4080
|
+
required: this.translate.instant("agro.angular_components.error_required"),
|
|
4081
|
+
min: this.translate.instant("agro.angular_components.error_min_value"),
|
|
4082
|
+
max: this.translate.instant("agro.angular_components.error_max_value"),
|
|
4083
|
+
minlength: this.translate.instant("agro.angular_components.error_min_length", { valor: this.reasonMinLength }),
|
|
4084
|
+
maxlength: this.translate.instant("agro.angular_components.error_max_length_transfer_code"),
|
|
4085
|
+
pattern: this.translate.instant("agro.angular_components.error_invalid"),
|
|
4086
|
+
FormDateError_data1: this.translate.instant("agro.angular_components.initial_invalid_date"),
|
|
4087
|
+
FormDateError_data2: this.translate.instant("agro.angular_components.end_invalid_date"),
|
|
4088
|
+
};
|
|
4089
|
+
};
|
|
4090
|
+
CancelEventDialogComponent.prototype.handleConfirmClick = function () {
|
|
4091
|
+
var _a, _b;
|
|
4092
|
+
if (this.formGroup.invalid && ((_a = this.cancelEventDialogConfig) === null || _a === void 0 ? void 0 : _a.withReason)) {
|
|
4093
|
+
this.validateAllFormFields(this.formGroup);
|
|
4094
|
+
return;
|
|
4095
|
+
}
|
|
4096
|
+
var reason = (_b = this.formGroup.get("reason")) === null || _b === void 0 ? void 0 : _b.value;
|
|
4097
|
+
this.loading = true;
|
|
4098
|
+
this.cancelEventDialogConfig.cancelFunction(reason);
|
|
4099
|
+
this.loading = false;
|
|
4100
|
+
this.ref.close(true);
|
|
4101
|
+
};
|
|
4102
|
+
CancelEventDialogComponent.prototype.validateAllFormFields = function (formGroup) {
|
|
4103
|
+
var _this = this;
|
|
4104
|
+
Object.keys(formGroup.controls).forEach(function (field) {
|
|
4105
|
+
var control = formGroup.get(field);
|
|
4106
|
+
if (control instanceof FormControl) {
|
|
4107
|
+
control.markAsDirty({ onlySelf: true });
|
|
4108
|
+
}
|
|
4109
|
+
if (control instanceof FormGroup) {
|
|
4110
|
+
_this.validateAllFormFields(control);
|
|
4111
|
+
}
|
|
4066
4112
|
});
|
|
4067
4113
|
};
|
|
4068
|
-
|
|
4114
|
+
CancelEventDialogComponent.prototype.handleCancelClick = function () {
|
|
4115
|
+
this.ref.close();
|
|
4116
|
+
};
|
|
4117
|
+
CancelEventDialogComponent.ctorParameters = function () { return [
|
|
4118
|
+
{ type: FormBuilder },
|
|
4119
|
+
{ type: DynamicDialogConfig },
|
|
4120
|
+
{ type: DynamicDialogRef },
|
|
4121
|
+
{ type: LibTranslationService }
|
|
4122
|
+
]; };
|
|
4123
|
+
__decorate([
|
|
4124
|
+
Input()
|
|
4125
|
+
], CancelEventDialogComponent.prototype, "cancelEventDialogConfig", void 0);
|
|
4126
|
+
CancelEventDialogComponent = __decorate([
|
|
4127
|
+
Component({
|
|
4128
|
+
selector: "s-cancel-event-dialog",
|
|
4129
|
+
template: "<div class=\"content\" *sLoadingState=\"loading\">\r\n <div class=\"top\">\r\n <div *ngIf=\"cancelEventDialogConfig?.message\" class=\"message-container\">\r\n <span>{{ cancelEventDialogConfig?.message }}</span>\r\n </div>\r\n <div class=\"form-container\" *ngIf=\"cancelEventDialogConfig?.withReason\">\r\n <s-dynamic-form [fields]=\"formFields\" [form]=\"formGroup\" [errorMessages]=\"translations\">\r\n </s-dynamic-form>\r\n </div>\r\n </div>\r\n <div class=\"footer\">\r\n <s-button [priority]=\"priority.Secondary\" label=\"{{ 'agro.angular_components.no' | libTranslate }}\"\r\n (click)=\"handleCancelClick()\"></s-button>\r\n <s-button [priority]=\"priority.Primary\" label=\"{{ 'agro.angular_components.yes' | libTranslate }}\" (click)=\"handleConfirmClick()\"></s-button>\r\n </div>\r\n</div>\r\n",
|
|
4130
|
+
styles: [".message-container{padding:.5rem}.footer{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end;padding:.5rem}.content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;box-sizing:border-box}.content.loading{min-height:150px;display:-ms-flexbox;display:flex;width:100%}.content .top{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}@media screen and (max-width:760px){.content{-ms-flex-pack:justify;justify-content:space-between}.content .top{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}}"]
|
|
4131
|
+
})
|
|
4132
|
+
], CancelEventDialogComponent);
|
|
4133
|
+
return CancelEventDialogComponent;
|
|
4069
4134
|
}());
|
|
4070
4135
|
|
|
4071
|
-
var EventStatus;
|
|
4072
|
-
(function (EventStatus) {
|
|
4073
|
-
EventStatus["PENDING"] = "PENDING";
|
|
4074
|
-
EventStatus["PROCESSING"] = "PROCESSING";
|
|
4075
|
-
EventStatus["SUCCESS"] = "SUCCESS";
|
|
4076
|
-
EventStatus["FAILED"] = "FAILED";
|
|
4077
|
-
EventStatus["CANCELED"] = "CANCELED";
|
|
4078
|
-
})(EventStatus || (EventStatus = {}));
|
|
4079
|
-
|
|
4080
4136
|
var EventOperation;
|
|
4081
4137
|
(function (EventOperation) {
|
|
4082
4138
|
EventOperation["PROVISIONAL"] = "PROVISIONAL";
|
|
@@ -4099,6 +4155,10 @@ var EventOperation;
|
|
|
4099
4155
|
EventOperation["CANCEL_FINANCIAL_FIXATION"] = "CANCEL_FINANCIAL_FIXATION";
|
|
4100
4156
|
EventOperation["CANCEL_PRODUCER_NET_VALUE_FIXATION"] = "CANCEL_PRODUCER_NET_VALUE_FIXATION";
|
|
4101
4157
|
EventOperation["CANCEL_FIXATION"] = "CANCEL_FIXATION";
|
|
4158
|
+
EventOperation["TRANSFER_CANCEL_INCOMING_INVOICE"] = "TRANSFER_CANCEL_INCOMING_INVOICE";
|
|
4159
|
+
EventOperation["TRANSFER_CANCEL_OUTGOING_INVOICE"] = "TRANSFER_CANCEL_OUTGOING_INVOICE";
|
|
4160
|
+
EventOperation["TRANSFER_REVERSE_PRODUCER_BALANCE"] = "TRANSFER_REVERSE_PRODUCER_BALANCE";
|
|
4161
|
+
EventOperation["TRANSFER_CONCLUDE_CANCEL"] = "TRANSFER_CONCLUDE_CANCEL";
|
|
4102
4162
|
})(EventOperation || (EventOperation = {}));
|
|
4103
4163
|
|
|
4104
4164
|
var EventOrigin;
|
|
@@ -4113,6 +4173,20 @@ var EventOrigin;
|
|
|
4113
4173
|
EventOrigin["CANCEL_FIXATION"] = "CANCEL_FIXATION";
|
|
4114
4174
|
})(EventOrigin || (EventOrigin = {}));
|
|
4115
4175
|
|
|
4176
|
+
var EventStatus;
|
|
4177
|
+
(function (EventStatus) {
|
|
4178
|
+
EventStatus["PENDING"] = "PENDING";
|
|
4179
|
+
EventStatus["PROCESSING"] = "PROCESSING";
|
|
4180
|
+
EventStatus["SUCCESS"] = "SUCCESS";
|
|
4181
|
+
EventStatus["FAILED"] = "FAILED";
|
|
4182
|
+
EventStatus["CANCELED"] = "CANCELED";
|
|
4183
|
+
})(EventStatus || (EventStatus = {}));
|
|
4184
|
+
|
|
4185
|
+
var InputFields;
|
|
4186
|
+
(function (InputFields) {
|
|
4187
|
+
InputFields["AGRO_INVOICE_TYPE"] = "agroInvoiceType";
|
|
4188
|
+
})(InputFields || (InputFields = {}));
|
|
4189
|
+
|
|
4116
4190
|
var eventOrigin = [
|
|
4117
4191
|
{ label: "agro.angular_components.balance_entry_control_event", value: EventOrigin.BALANCE_ENTRY_CONTROL },
|
|
4118
4192
|
{ label: "agro.angular_components.invoice_creating_event", value: EventOrigin.INVOICE },
|
|
@@ -4122,14 +4196,14 @@ var eventOrigin = [
|
|
|
4122
4196
|
var eventItem = [
|
|
4123
4197
|
{ label: "agro.angular_components.ticket_event", value: EventOperation.TICKET },
|
|
4124
4198
|
{ label: "agro.angular_components.provisional_event", value: EventOperation.PROVISIONAL },
|
|
4125
|
-
{ label: "agro.angular_components.invoice_creating_event", value: EventOperation.CREATE_INVOICE },
|
|
4199
|
+
{ label: "agro.angular_components.invoice_creating_event", value: EventOperation.CREATE_INVOICE, subLabelField: InputFields.AGRO_INVOICE_TYPE },
|
|
4126
4200
|
{ label: "agro.angular_components.remove_provisional_event", value: EventOperation.REMOVE_PROVISIONAL },
|
|
4127
4201
|
{ label: "agro.angular_components.effective_event", value: EventOperation.EFFECTIVE },
|
|
4128
4202
|
{ label: "agro.angular_components.effective_confirmation_event", value: EventOperation.EFFECTIVE_CONFIRMATION },
|
|
4129
4203
|
{ label: "agro.angular_components.change_request_event_summary", value: EventOperation.CHANGE_REQUEST },
|
|
4130
4204
|
{ label: "agro.angular_components.change_response_event", value: EventOperation.CHANGE_RESPONSE },
|
|
4131
4205
|
{ label: "agro.angular_components.fixation_event", value: EventOperation.PROCESS_FIXATION },
|
|
4132
|
-
{ label: "agro.angular_components." + EventOperation.CANCEL_INVOICE, value: EventOperation.CANCEL_INVOICE },
|
|
4206
|
+
{ label: "agro.angular_components." + EventOperation.CANCEL_INVOICE, value: EventOperation.CANCEL_INVOICE, subLabelField: InputFields.AGRO_INVOICE_TYPE },
|
|
4133
4207
|
{ label: "agro.angular_components." + EventOperation.REPROCESS_INVOICE, value: EventOperation.REPROCESS_INVOICE },
|
|
4134
4208
|
{ label: "agro.angular_components." + EventOperation.EFFECTIVE_CONFIRMATION, value: EventOperation.EFFECTIVE_CONFIRMATION },
|
|
4135
4209
|
{ label: "agro.angular_components." + EventOperation.CHANGE_REQUEST, value: EventOperation.CHANGE_REQUEST },
|
|
@@ -4144,6 +4218,10 @@ var eventItem = [
|
|
|
4144
4218
|
{ label: "agro.angular_components." + EventOperation.CANCEL_FINANCIAL_FIXATION, value: EventOperation.CANCEL_FINANCIAL_FIXATION },
|
|
4145
4219
|
{ label: "agro.angular_components." + EventOperation.CANCEL_PRODUCER_NET_VALUE_FIXATION, value: EventOperation.CANCEL_PRODUCER_NET_VALUE_FIXATION },
|
|
4146
4220
|
{ label: "agro.angular_components." + EventOperation.CANCEL_FIXATION, value: EventOperation.CANCEL_FIXATION },
|
|
4221
|
+
{ label: "agro.angular_components." + EventOperation.TRANSFER_CANCEL_INCOMING_INVOICE, value: EventOperation.TRANSFER_CANCEL_INCOMING_INVOICE },
|
|
4222
|
+
{ label: "agro.angular_components." + EventOperation.TRANSFER_CANCEL_OUTGOING_INVOICE, value: EventOperation.TRANSFER_CANCEL_OUTGOING_INVOICE },
|
|
4223
|
+
{ label: "agro.angular_components." + EventOperation.TRANSFER_REVERSE_PRODUCER_BALANCE, value: EventOperation.TRANSFER_REVERSE_PRODUCER_BALANCE },
|
|
4224
|
+
{ label: "agro.angular_components." + EventOperation.TRANSFER_CONCLUDE_CANCEL, value: EventOperation.TRANSFER_CONCLUDE_CANCEL },
|
|
4147
4225
|
];
|
|
4148
4226
|
var eventStatus = [
|
|
4149
4227
|
{ label: "agro.angular_components.panel_title_events_completed_successfully", value: EventStatus.SUCCESS },
|
|
@@ -4151,8 +4229,43 @@ var eventStatus = [
|
|
|
4151
4229
|
{ label: "agro.angular_components.pending", value: EventStatus.PENDING },
|
|
4152
4230
|
{ label: "agro.angular_components.processing", value: EventStatus.PROCESSING },
|
|
4153
4231
|
{ label: "agro.angular_components.canceled", value: EventStatus.CANCELED },
|
|
4232
|
+
];
|
|
4233
|
+
var inputFieldsPath = [
|
|
4234
|
+
{ path: "invoice", field: InputFields.AGRO_INVOICE_TYPE },
|
|
4154
4235
|
];
|
|
4155
4236
|
|
|
4237
|
+
var InvoiceType;
|
|
4238
|
+
(function (InvoiceType) {
|
|
4239
|
+
InvoiceType["INCOMING"] = "INCOMING";
|
|
4240
|
+
InvoiceType["OUTGOING"] = "OUTGOING";
|
|
4241
|
+
InvoiceType["RETURN"] = "RETURN";
|
|
4242
|
+
InvoiceType["COMPLEMENT"] = "COMPLEMENT";
|
|
4243
|
+
InvoiceType["SYMBOLIC_RETURN"] = "SYMBOLIC_RETURN";
|
|
4244
|
+
InvoiceType["ADJUSTMENT"] = "ADJUSTMENT";
|
|
4245
|
+
InvoiceType["SERVICE"] = "SERVICE";
|
|
4246
|
+
})(InvoiceType || (InvoiceType = {}));
|
|
4247
|
+
|
|
4248
|
+
var invoiceTypeTranslate = [
|
|
4249
|
+
{ value: InvoiceType.INCOMING, label: "agro.angular_components.invoice_type_" + InvoiceType.INCOMING },
|
|
4250
|
+
{ value: InvoiceType.COMPLEMENT, label: "agro.angular_components.invoice_type_" + InvoiceType.COMPLEMENT },
|
|
4251
|
+
{ value: InvoiceType.ADJUSTMENT, label: "agro.angular_components.invoice_type_" + InvoiceType.ADJUSTMENT },
|
|
4252
|
+
{ value: InvoiceType.OUTGOING, label: "agro.angular_components.invoice_type_" + InvoiceType.OUTGOING },
|
|
4253
|
+
{ value: InvoiceType.RETURN, label: "agro.angular_components.invoice_type_" + InvoiceType.RETURN },
|
|
4254
|
+
{ value: InvoiceType.SERVICE, label: "agro.angular_components.invoice_type_" + InvoiceType.SERVICE },
|
|
4255
|
+
{ value: InvoiceType.SYMBOLIC_RETURN, label: "agro.angular_components.invoice_type_" + InvoiceType.SYMBOLIC_RETURN },
|
|
4256
|
+
];
|
|
4257
|
+
|
|
4258
|
+
var LookupErrorMessages = {
|
|
4259
|
+
required: 'agro.angular_components.error_required',
|
|
4260
|
+
min: 'agro.angular_components.error_min_value',
|
|
4261
|
+
max: 'agro.angular_components.error_max_value',
|
|
4262
|
+
minlength: 'agro.angular_components.error_min_length',
|
|
4263
|
+
maxlength: 'agro.angular_components.error_max_length',
|
|
4264
|
+
pattern: 'agro.angular_components.error_invalid',
|
|
4265
|
+
FormDateError_data1: 'agro.angular_components.initial_invalid_date',
|
|
4266
|
+
FormDateError_data2: 'agro.angular_components.end_invalid_date'
|
|
4267
|
+
};
|
|
4268
|
+
|
|
4156
4269
|
var EntityService = /** @class */ (function () {
|
|
4157
4270
|
function EntityService(http, messageService, entityUrl, actionsUrl, queriesUrl, translate) {
|
|
4158
4271
|
this.http = http;
|
|
@@ -4436,32 +4549,83 @@ var EventControlBoardService = /** @class */ (function () {
|
|
|
4436
4549
|
return EventControlBoardService;
|
|
4437
4550
|
}());
|
|
4438
4551
|
|
|
4439
|
-
var
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
(
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4552
|
+
var PaginatorStorageService = /** @class */ (function () {
|
|
4553
|
+
function PaginatorStorageService() {
|
|
4554
|
+
this.GET_USER_ID = user.getUserData().then(function (user) { return user.id; });
|
|
4555
|
+
this.PAGINATOR_KEY = 'SENIOR_PAGINATOR';
|
|
4556
|
+
}
|
|
4557
|
+
PaginatorStorageService.prototype.store = function (key, value) {
|
|
4558
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4559
|
+
var _a, _b;
|
|
4560
|
+
return __generator(this, function (_c) {
|
|
4561
|
+
switch (_c.label) {
|
|
4562
|
+
case 0:
|
|
4563
|
+
_b = (_a = sessionStorage).setItem;
|
|
4564
|
+
return [4 /*yield*/, this.GET_USER_ID];
|
|
4565
|
+
case 1:
|
|
4566
|
+
_b.apply(_a, [(_c.sent()) + "_" + key, JSON.stringify(value)]);
|
|
4567
|
+
return [2 /*return*/];
|
|
4568
|
+
}
|
|
4569
|
+
});
|
|
4570
|
+
});
|
|
4571
|
+
};
|
|
4572
|
+
PaginatorStorageService.prototype.get = function (key) {
|
|
4573
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4574
|
+
var _a, _b, _c, _d;
|
|
4575
|
+
return __generator(this, function (_e) {
|
|
4576
|
+
switch (_e.label) {
|
|
4577
|
+
case 0:
|
|
4578
|
+
_b = (_a = JSON).parse;
|
|
4579
|
+
_d = (_c = sessionStorage).getItem;
|
|
4580
|
+
return [4 /*yield*/, this.GET_USER_ID];
|
|
4581
|
+
case 1: return [2 /*return*/, _b.apply(_a, [_d.apply(_c, [(_e.sent()) + "_" + key]) || '']) || {}];
|
|
4582
|
+
}
|
|
4583
|
+
});
|
|
4584
|
+
});
|
|
4585
|
+
};
|
|
4586
|
+
PaginatorStorageService.prototype.storePaginator = function (key, listParams) {
|
|
4587
|
+
if (listParams === void 0) { listParams = {}; }
|
|
4588
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4589
|
+
var store;
|
|
4590
|
+
return __generator(this, function (_a) {
|
|
4591
|
+
switch (_a.label) {
|
|
4592
|
+
case 0: return [4 /*yield*/, this.get(this.PAGINATOR_KEY)];
|
|
4593
|
+
case 1:
|
|
4594
|
+
store = (_a.sent()) || {};
|
|
4595
|
+
store[key] = listParams;
|
|
4596
|
+
return [4 /*yield*/, this.store(this.PAGINATOR_KEY, store)];
|
|
4597
|
+
case 2:
|
|
4598
|
+
_a.sent();
|
|
4599
|
+
return [2 /*return*/];
|
|
4600
|
+
}
|
|
4601
|
+
});
|
|
4602
|
+
});
|
|
4603
|
+
};
|
|
4604
|
+
PaginatorStorageService.prototype.getPaginator = function (key) {
|
|
4605
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4606
|
+
var store;
|
|
4607
|
+
return __generator(this, function (_a) {
|
|
4608
|
+
switch (_a.label) {
|
|
4609
|
+
case 0: return [4 /*yield*/, this.get(this.PAGINATOR_KEY)];
|
|
4610
|
+
case 1:
|
|
4611
|
+
store = (_a.sent()) || {};
|
|
4612
|
+
return [2 /*return*/, store[key] || {}];
|
|
4613
|
+
}
|
|
4614
|
+
});
|
|
4615
|
+
});
|
|
4616
|
+
};
|
|
4617
|
+
return PaginatorStorageService;
|
|
4618
|
+
}());
|
|
4455
4619
|
|
|
4456
4620
|
var EventControlBoardComponent = /** @class */ (function () {
|
|
4457
|
-
function EventControlBoardComponent(translate, formBuilder, websocketService, eventControlBoardService, paginatorStorageService, messageService,
|
|
4621
|
+
function EventControlBoardComponent(translate, formBuilder, websocketService, eventControlBoardService, paginatorStorageService, messageService, dialogService) {
|
|
4458
4622
|
this.translate = translate;
|
|
4459
4623
|
this.formBuilder = formBuilder;
|
|
4460
4624
|
this.websocketService = websocketService;
|
|
4461
4625
|
this.eventControlBoardService = eventControlBoardService;
|
|
4462
4626
|
this.paginatorStorageService = paginatorStorageService;
|
|
4463
4627
|
this.messageService = messageService;
|
|
4464
|
-
this.
|
|
4628
|
+
this.dialogService = dialogService;
|
|
4465
4629
|
this.steps = [];
|
|
4466
4630
|
this.showSidebar = false;
|
|
4467
4631
|
this.showReprocessButton = false;
|
|
@@ -4475,6 +4639,8 @@ var EventControlBoardComponent = /** @class */ (function () {
|
|
|
4475
4639
|
this.currentListParams = { page: AGRO_NUMBERS.ZERO, size: AGRO_NUMBERS.TEN, sort: [], filterData: {} };
|
|
4476
4640
|
this.ngUnsubscribe = new Subject();
|
|
4477
4641
|
this.eventItem = eventItem;
|
|
4642
|
+
this.inputFieldsPath = inputFieldsPath;
|
|
4643
|
+
this.invoiceTypeTranslate = invoiceTypeTranslate;
|
|
4478
4644
|
registerLocaleData(localePt);
|
|
4479
4645
|
}
|
|
4480
4646
|
EventControlBoardComponent.prototype.ngOnInit = function () {
|
|
@@ -4669,6 +4835,7 @@ var EventControlBoardComponent = /** @class */ (function () {
|
|
|
4669
4835
|
controlCode: item.controlCode,
|
|
4670
4836
|
eventType: item.eventOrigin,
|
|
4671
4837
|
label: this.getEventLabel(detail),
|
|
4838
|
+
subLabel: this.getEventSubLabel(detail),
|
|
4672
4839
|
disabled: detail.status === EventStatus.PENDING && detailIndex !== this.calculateActiveIndex(item.eventControlItem),
|
|
4673
4840
|
tooltip: this.getEventLabel(detail),
|
|
4674
4841
|
state: this.determineStepState(detail)
|
|
@@ -4688,6 +4855,38 @@ var EventControlBoardComponent = /** @class */ (function () {
|
|
|
4688
4855
|
var eventLabel = (_a = this.eventItem.find(function (e) { return e.value === detail.eventOperation; })) === null || _a === void 0 ? void 0 : _a.label;
|
|
4689
4856
|
return eventLabel ? this.translate.instant(eventLabel) : detail.eventOperation;
|
|
4690
4857
|
};
|
|
4858
|
+
EventControlBoardComponent.prototype.getEventSubLabel = function (detail) {
|
|
4859
|
+
var _a, _b;
|
|
4860
|
+
var field = (_a = this.eventItem.find(function (e) { return e.value === detail.eventOperation; })) === null || _a === void 0 ? void 0 : _a.subLabelField;
|
|
4861
|
+
if (!field || !detail.input) {
|
|
4862
|
+
return null;
|
|
4863
|
+
}
|
|
4864
|
+
var path = (_b = this.inputFieldsPath.find(function (f) { return f.field === field; })) === null || _b === void 0 ? void 0 : _b.path;
|
|
4865
|
+
var fullPath = path ? path + "." + field : field;
|
|
4866
|
+
var value = this.getValueFieldJsonFromPath(detail.input, fullPath);
|
|
4867
|
+
return this.formatFieldValue(field, value);
|
|
4868
|
+
};
|
|
4869
|
+
EventControlBoardComponent.prototype.getValueFieldJsonFromPath = function (json, path) {
|
|
4870
|
+
try {
|
|
4871
|
+
var parsedJson = JSON.parse(json);
|
|
4872
|
+
var keys = path.split('.');
|
|
4873
|
+
return keys.reduce(function (acc, key) { return acc && acc[key]; }, parsedJson);
|
|
4874
|
+
}
|
|
4875
|
+
catch (error) {
|
|
4876
|
+
console.error('Erro ao acessar o objeto pelo path: ' + path, error);
|
|
4877
|
+
return null;
|
|
4878
|
+
}
|
|
4879
|
+
};
|
|
4880
|
+
EventControlBoardComponent.prototype.formatFieldValue = function (field, value) {
|
|
4881
|
+
var _a;
|
|
4882
|
+
switch (field) {
|
|
4883
|
+
case InputFields.AGRO_INVOICE_TYPE:
|
|
4884
|
+
var label = (_a = this.invoiceTypeTranslate.find(function (e) { return e.value === value; })) === null || _a === void 0 ? void 0 : _a.label;
|
|
4885
|
+
return label ? this.translate.instant(label) : value;
|
|
4886
|
+
default:
|
|
4887
|
+
return value;
|
|
4888
|
+
}
|
|
4889
|
+
};
|
|
4691
4890
|
EventControlBoardComponent.prototype.getSortedFields = function () {
|
|
4692
4891
|
var _this = this;
|
|
4693
4892
|
var _a;
|
|
@@ -4839,52 +5038,15 @@ var EventControlBoardComponent = /** @class */ (function () {
|
|
|
4839
5038
|
this.displayModal = true;
|
|
4840
5039
|
};
|
|
4841
5040
|
EventControlBoardComponent.prototype.openCancelModal = function () {
|
|
4842
|
-
var
|
|
4843
|
-
this.
|
|
4844
|
-
header: this.
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
_this.cancelFixation();
|
|
5041
|
+
var _a;
|
|
5042
|
+
this.dialogService.open(CancelEventDialogComponent, {
|
|
5043
|
+
header: (_a = this.cancelEventDialogConfig) === null || _a === void 0 ? void 0 : _a.header,
|
|
5044
|
+
contentStyle: { "height": "100%" },
|
|
5045
|
+
closable: true,
|
|
5046
|
+
closeOnEscape: false,
|
|
5047
|
+
data: {
|
|
5048
|
+
cancelEventDialogConfig: this.cancelEventDialogConfig,
|
|
4851
5049
|
},
|
|
4852
|
-
reject: function () {
|
|
4853
|
-
_this.gridLoading = false;
|
|
4854
|
-
}
|
|
4855
|
-
});
|
|
4856
|
-
};
|
|
4857
|
-
EventControlBoardComponent.prototype.cancelFixation = function () {
|
|
4858
|
-
var _this = this;
|
|
4859
|
-
var params = {
|
|
4860
|
-
filterQuery: "id eq '" + this.gridData[AGRO_NUMBERS.ZERO].externalId + "'",
|
|
4861
|
-
displayFields: ['*', 'fixationItem']
|
|
4862
|
-
};
|
|
4863
|
-
this.eventControlBoardService.fixationService
|
|
4864
|
-
.list(params)
|
|
4865
|
-
.pipe(takeUntil(this.ngUnsubscribe), switchMap(function (result) {
|
|
4866
|
-
var fixationEntity = result.contents[AGRO_NUMBERS.ZERO];
|
|
4867
|
-
if (fixationEntity.status !== FixationStatus.FINISHED) {
|
|
4868
|
-
_this.addMessage('warn', 'agro.angular_components.warn_cancel_fixation_message_title', 'agro.angular_components.warn_cancel_fixation_message_description');
|
|
4869
|
-
_this.gridLoading = false;
|
|
4870
|
-
return EMPTY;
|
|
4871
|
-
}
|
|
4872
|
-
if (fixationEntity.fixationItem[0].originOperation === OriginOperation.IMMEDIATE_BUY_ENTRY) {
|
|
4873
|
-
_this.addMessage('warn', 'agro.angular_components.warn_cancel_fixation_message_title', 'agro.angular_components.warn_immediate_cancel_fixation_message_description');
|
|
4874
|
-
_this.gridLoading = false;
|
|
4875
|
-
return EMPTY;
|
|
4876
|
-
}
|
|
4877
|
-
return _this.eventControlBoardService.fixationService.cancelFixation({
|
|
4878
|
-
fixationId: _this.gridData[AGRO_NUMBERS.ZERO].externalId
|
|
4879
|
-
});
|
|
4880
|
-
}), catchError(function (err) {
|
|
4881
|
-
_this.addMessage('error', 'agro.angular_components.error_cancel_fixation_message_title', 'agro.angular_components.error_cancel_fixation_message_description');
|
|
4882
|
-
_this.gridLoading = false;
|
|
4883
|
-
throw err;
|
|
4884
|
-
}))
|
|
4885
|
-
.subscribe(function () {
|
|
4886
|
-
_this.addMessage('info', 'agro.angular_components.cancel_fixation_message_title', 'agro.angular_components.cancel_fixation_message_description');
|
|
4887
|
-
_this.gridLoading = false;
|
|
4888
5050
|
});
|
|
4889
5051
|
};
|
|
4890
5052
|
EventControlBoardComponent.prototype.confirmModal = function () {
|
|
@@ -4905,7 +5067,7 @@ var EventControlBoardComponent = /** @class */ (function () {
|
|
|
4905
5067
|
{ type: EventControlBoardService },
|
|
4906
5068
|
{ type: PaginatorStorageService },
|
|
4907
5069
|
{ type: MessageService$1 },
|
|
4908
|
-
{ type:
|
|
5070
|
+
{ type: DialogService }
|
|
4909
5071
|
]; };
|
|
4910
5072
|
__decorate([
|
|
4911
5073
|
Input()
|
|
@@ -4934,6 +5096,9 @@ var EventControlBoardComponent = /** @class */ (function () {
|
|
|
4934
5096
|
__decorate([
|
|
4935
5097
|
Input()
|
|
4936
5098
|
], EventControlBoardComponent.prototype, "showCancelButton", void 0);
|
|
5099
|
+
__decorate([
|
|
5100
|
+
Input()
|
|
5101
|
+
], EventControlBoardComponent.prototype, "cancelEventDialogConfig", void 0);
|
|
4937
5102
|
EventControlBoardComponent = __decorate([
|
|
4938
5103
|
Component({
|
|
4939
5104
|
selector: 'event-control-board',
|
|
@@ -5053,7 +5218,7 @@ var EventStepsComponent = /** @class */ (function () {
|
|
|
5053
5218
|
EventStepsComponent = EventStepsComponent_1 = __decorate([
|
|
5054
5219
|
Component({
|
|
5055
5220
|
selector: "s-event-steps",
|
|
5056
|
-
template: "<div [id]=\"id\" class=\"s-steps-container\">\r\n <ng-container *ngFor=\"let step of visibledStep; let i = index; let isFirst = first; let isLast = last\">\r\n <div *ngIf=\"!isFirst\" class=\"s-step-progress-bar\"\r\n [@activeDesative]=\"barAnimation(i, activeIndex) ? 'active': 'desactive'\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-disabled': step.disabled,\r\n 's-step-visited': (i < activeIndex),\r\n 's-step-active': (i === activeIndex)\r\n }\"></div>\r\n <div [id]=\"id + '-step-' + (i)\" class=\"s-step-header\" (click)=\"stepClick(step, i, $event)\" role=\"tab\"\r\n tabindex=\"0\" [attr.aria-label]=\"step.ariaLabel || null\" [attr.aria-controls]=\"step.ariaControls\"\r\n [attr.aria-labelledby]=\"!step.ariaLabel ? 'step-label-' + i : null\" [attr.aria-posinset]=\"i + 1\"\r\n [attr.aria-setsize]=\"visibledStep.length\" [attr.aria-selected]=\"activeIndex == i\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-visited': (i < activeIndex),\r\n 's-step-active': (i === activeIndex),\r\n 's-step-previous': (i === activeIndex - 1),\r\n 'success-status': (step.state === stepState.Success),\r\n 'failed-status': (step.state === stepState.Warning)\r\n }\">\r\n <div *ngIf=\"!isFirst\"\r\n [@beforeActiveDesative]=\"barAnimation(i, activeIndex) ? 'active': 'desactive'\"\r\n class=\"s-step-progress-bar-before\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-disabled': step.disabled,\r\n 's-step-visited': (i < activeIndex),\r\n 's-step-active': (i === activeIndex)\r\n }\"></div>\r\n <div *ngIf=\"!isLast\"\r\n [@afterActiveDesative]=\"afterBarAnimation(i, activeIndex) ? 'active': 'desactive'\"\r\n class=\"s-step-progress-bar-after\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-disabled': visibledStep[i + 1].disabled,\r\n 's-step-visited': ((i + 1) < activeIndex),\r\n 's-step-active': (i === (activeIndex - 1))\r\n }\"></div>\r\n <div\r\n class=\"s-step-index\"\r\n [ngClass]=\"{'s-step-disabled': step.disabled, 'loading-status': !step.disabled}\"\r\n [pTooltip]=\"step.tooltip\"\r\n tooltipPosition=\"top\">\r\n <div class=\"s-step-index-content\">\r\n <span\r\n *ngIf=\"step.state !== stepState.Warning && (step.state == stepState.Success || activeIndex > i)\"\r\n class=\"fas fa-check\"\r\n aria-hidden=\"true\"\r\n [attr.aria-label]=\"i + 1\"></span>\r\n <span\r\n *ngIf=\"step.state == stepState.Warning\"\r\n class=\"fas fa-exclamation-triangle\"\r\n aria-hidden=\"true\"\r\n [attr.aria-label]=\"i + 1\"></span>\r\n <span\r\n *ngIf=\"step.state != stepState.Success && step.state != stepState.Warning\r\n && activeIndex <= i && !step.disabled\"\r\n class=\"fa fa-hourglass-half loading-status\"\r\n aria-hidden=\"true\"\r\n [attr.aria-label]=\"i + 1\"></span>\r\n <span\r\n *ngIf=\"step.disabled\">\r\n {{i + 1}}\r\n </span>\r\n </div>\r\n </div>\r\n <div\r\n [id]=\"'step-label-' + i\"\r\n class=\"s-step-label\"\r\n [ngClass]=\"{'s-step-disabled': step.disabled}\">\r\n <span>\r\n {{step.label}}\r\n </span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n",
|
|
5221
|
+
template: "<div [id]=\"id\" class=\"s-steps-container\">\r\n <ng-container *ngFor=\"let step of visibledStep; let i = index; let isFirst = first; let isLast = last\">\r\n <div *ngIf=\"!isFirst\" class=\"s-step-progress-bar\"\r\n [@activeDesative]=\"barAnimation(i, activeIndex) ? 'active': 'desactive'\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-disabled': step.disabled,\r\n 's-step-visited': (i < activeIndex),\r\n 's-step-active': (i === activeIndex)\r\n }\"></div>\r\n <div [id]=\"id + '-step-' + (i)\" class=\"s-step-header\" (click)=\"stepClick(step, i, $event)\" role=\"tab\"\r\n tabindex=\"0\" [attr.aria-label]=\"step.ariaLabel || null\" [attr.aria-controls]=\"step.ariaControls\"\r\n [attr.aria-labelledby]=\"!step.ariaLabel ? 'step-label-' + i : null\" [attr.aria-posinset]=\"i + 1\"\r\n [attr.aria-setsize]=\"visibledStep.length\" [attr.aria-selected]=\"activeIndex == i\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-visited': (i < activeIndex),\r\n 's-step-active': (i === activeIndex),\r\n 's-step-previous': (i === activeIndex - 1),\r\n 'success-status': (step.state === stepState.Success),\r\n 'failed-status': (step.state === stepState.Warning)\r\n }\">\r\n <div *ngIf=\"!isFirst\"\r\n [@beforeActiveDesative]=\"barAnimation(i, activeIndex) ? 'active': 'desactive'\"\r\n class=\"s-step-progress-bar-before\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-disabled': step.disabled,\r\n 's-step-visited': (i < activeIndex),\r\n 's-step-active': (i === activeIndex)\r\n }\"></div>\r\n <div *ngIf=\"!isLast\"\r\n [@afterActiveDesative]=\"afterBarAnimation(i, activeIndex) ? 'active': 'desactive'\"\r\n class=\"s-step-progress-bar-after\" [ngClass]=\"{\r\n 's-step-success': (step.state === stepState.Success),\r\n 's-step-warning': (step.state === stepState.Warning),\r\n 's-step-disabled': visibledStep[i + 1].disabled,\r\n 's-step-visited': ((i + 1) < activeIndex),\r\n 's-step-active': (i === (activeIndex - 1))\r\n }\"></div>\r\n <div\r\n class=\"s-step-index\"\r\n [ngClass]=\"{'s-step-disabled': step.disabled, 'loading-status': !step.disabled}\"\r\n [pTooltip]=\"step.tooltip\"\r\n tooltipPosition=\"top\">\r\n <div class=\"s-step-index-content\">\r\n <span\r\n *ngIf=\"step.state !== stepState.Warning && (step.state == stepState.Success || activeIndex > i)\"\r\n class=\"fas fa-check\"\r\n aria-hidden=\"true\"\r\n [attr.aria-label]=\"i + 1\"></span>\r\n <span\r\n *ngIf=\"step.state == stepState.Warning\"\r\n class=\"fas fa-exclamation-triangle\"\r\n aria-hidden=\"true\"\r\n [attr.aria-label]=\"i + 1\"></span>\r\n <span\r\n *ngIf=\"step.state != stepState.Success && step.state != stepState.Warning\r\n && activeIndex <= i && !step.disabled\"\r\n class=\"fa fa-hourglass-half loading-status\"\r\n aria-hidden=\"true\"\r\n [attr.aria-label]=\"i + 1\"></span>\r\n <span\r\n *ngIf=\"step.disabled\">\r\n {{i + 1}}\r\n </span>\r\n </div>\r\n </div>\r\n <div\r\n [id]=\"'step-label-' + i\"\r\n class=\"s-step-label\"\r\n [ngClass]=\"{'s-step-disabled': step.disabled}\">\r\n <span>\r\n {{step.label}}\r\n </span>\r\n </div>\r\n <div\r\n *ngIf=\"step.subLabel\"\r\n [id]=\"'step-label-' + i\"\r\n class=\"s-step-label\"\r\n [ngClass]=\"{'s-step-disabled': step.disabled}\">\r\n <span>\r\n {{step.subLabel}}\r\n </span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n",
|
|
5057
5222
|
host: {
|
|
5058
5223
|
"aria-orientation": "horizontal",
|
|
5059
5224
|
role: "tablist",
|
|
@@ -5091,7 +5256,7 @@ var EventStepsComponent = /** @class */ (function () {
|
|
|
5091
5256
|
transition(desactiveActive, [animate("50ms 100ms linear")]),
|
|
5092
5257
|
]),
|
|
5093
5258
|
],
|
|
5094
|
-
styles: [".s-steps-container{display:-ms-flexbox;display:flex;white-space:nowrap;-ms-flex-align:start;align-items:flex-start;overflow-x:auto;padding:20px 10px;text-align:center}.s-step-header{box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;position:relative;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:
|
|
5259
|
+
styles: [".s-steps-container{display:-ms-flexbox;display:flex;white-space:nowrap;-ms-flex-align:start;align-items:flex-start;overflow-x:auto;padding:20px 10px;text-align:center}.s-step-header{box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;position:relative;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:76px;padding:0 10px}.s-step-header .s-step-label{white-space:pre;color:#999;font-size:14px;font-weight:400;padding-top:5px}.s-step-header .s-step-progress-bar-before{margin:0;position:absolute;top:20px;-ms-flex:auto;flex:auto;height:3px;overflow:hidden;width:calc(50% - 20px);background-color:#ccc;background-image:linear-gradient(to right,#7892a1 50%,#ccc 50%);background-position:right bottom;background-size:300% 100%;left:0}.s-step-header .s-step-progress-bar-before.s-step-active,.s-step-header .s-step-progress-bar-before.s-step-visited{background-position:left bottom}.s-step-header .s-step-progress-bar-after{margin:0;position:absolute;top:20px;-ms-flex:auto;flex:auto;height:3px;overflow:hidden;width:calc(50% - 20px);background-color:#ccc;background-image:linear-gradient(to right,#7892a1 50%,#ccc 50%);background-position:right bottom;background-size:300% 100%;right:0}.s-step-header .s-step-progress-bar-after.s-step-active,.s-step-header .s-step-progress-bar-after.s-step-visited{background-position:left bottom}.s-step-progress-bar{margin:0;position:relative;top:20px;-ms-flex:auto;flex:auto;height:3px;overflow:hidden;width:100%;background-color:#ccc;background-image:linear-gradient(to right,#7892a1 50%,#ccc 50%);background-position:right bottom;background-size:300% 100%}.s-step-disabled{opacity:.5;filter:Alpha(Opacity=50)}.s-step-disabled,.s-step-disabled *{cursor:text!important}.s-step-active.s-step-disabled{opacity:1}.s-step-index{background-color:#fff;border:3px solid #ccc;border-radius:50%;color:#999;display:inline-block;font-weight:700;position:relative;transition:background-color .2s ease-out;height:40px;width:40px;-ms-flex:none;flex:none}.s-step-index .s-step-index-content{line-height:18px;font-size:18px;padding-top:8.5px;text-align:center;position:relative;cursor:pointer}.s-step-index:hover{background-color:#f7f7f7}.s-step-warning .s-step-index .s-step-index-content{padding-top:7px}.s-step-visited .s-step-index{border-color:#7892a1;animation:.1s ease-out alternate scale-up-center;background-color:#7892a1}.s-step-visited .s-step-index-content>span{color:#fff}.s-step-active.s-step-progress-bar,.s-step-visited.s-step-progress-bar{background-position:left bottom}.s-step-active .s-step-index{border-color:#7892a1;color:#7892a1;cursor:default}.s-step-active .s-step-label{color:#333;font-weight:700}@media (max-width:767px){.s-step-label{display:none}}@keyframes scale-up-center{0%{transform:scale(.5)}100%{transform:scale(1)}}.failed-status .fa-exclamation-triangle{color:#fff}.failed-status .s-step-index{border-color:#de3218!important;background-color:#de3218!important}.success-status .s-step-index{border-color:#1e973a!important;background-color:#1e973a!important}.loading-status .s-step-index{border-color:#72a9cf!important;background-color:#72a9cf!important;color:#72a9cf}@keyframes blink{0%,100%{opacity:.8}50%{opacity:.5}}@keyframes rotate-and-pause{0%,10%{transform:rotate(0)}10%,45%{transform:rotate(180deg)}100%,55%{transform:rotate(360deg)}}.fa-hourglass-half{animation:3s linear infinite blink,4s linear infinite rotate-and-pause}"]
|
|
5095
5260
|
})
|
|
5096
5261
|
], EventStepsComponent);
|
|
5097
5262
|
return EventStepsComponent;
|
|
@@ -5811,6 +5976,27 @@ var FixationModule = /** @class */ (function () {
|
|
|
5811
5976
|
return FixationModule;
|
|
5812
5977
|
}());
|
|
5813
5978
|
|
|
5979
|
+
var CancelEventDialogModule = /** @class */ (function () {
|
|
5980
|
+
function CancelEventDialogModule() {
|
|
5981
|
+
}
|
|
5982
|
+
CancelEventDialogModule = __decorate([
|
|
5983
|
+
NgModule({
|
|
5984
|
+
imports: [
|
|
5985
|
+
CommonModule,
|
|
5986
|
+
ReactiveFormsModule,
|
|
5987
|
+
TooltipModule,
|
|
5988
|
+
ButtonModule,
|
|
5989
|
+
LibTranslationModule,
|
|
5990
|
+
DynamicFormModule,
|
|
5991
|
+
LoadingStateModule
|
|
5992
|
+
],
|
|
5993
|
+
declarations: [CancelEventDialogComponent],
|
|
5994
|
+
exports: [CancelEventDialogComponent],
|
|
5995
|
+
})
|
|
5996
|
+
], CancelEventDialogModule);
|
|
5997
|
+
return CancelEventDialogModule;
|
|
5998
|
+
}());
|
|
5999
|
+
|
|
5814
6000
|
var EventControlBoardModule = /** @class */ (function () {
|
|
5815
6001
|
function EventControlBoardModule() {
|
|
5816
6002
|
}
|
|
@@ -5840,12 +6026,13 @@ var EventControlBoardModule = /** @class */ (function () {
|
|
|
5840
6026
|
TicketModule,
|
|
5841
6027
|
WebsocketModule,
|
|
5842
6028
|
LibTranslationModule,
|
|
5843
|
-
FixationModule
|
|
6029
|
+
FixationModule,
|
|
6030
|
+
CancelEventDialogModule,
|
|
5844
6031
|
],
|
|
5845
6032
|
declarations: [EventControlBoardComponent],
|
|
5846
6033
|
exports: [EventControlBoardComponent],
|
|
5847
6034
|
providers: [E012famService, E205depService, PaginatorStorageService,
|
|
5848
|
-
EventControlService, EventControlBoardService,
|
|
6035
|
+
EventControlService, EventControlBoardService, DialogService],
|
|
5849
6036
|
})
|
|
5850
6037
|
], EventControlBoardModule);
|
|
5851
6038
|
return EventControlBoardModule;
|
|
@@ -5878,5 +6065,5 @@ var AgroAngularComponentsModule = /** @class */ (function () {
|
|
|
5878
6065
|
* Generated bundle index. Do not edit.
|
|
5879
6066
|
*/
|
|
5880
6067
|
|
|
5881
|
-
export { AGRO_NUMBERS, AGRO_REGEX, AgroAngularComponentsModule, AgroArrayUtils, AgroCookieUtils, AgroDateUtils, AgroEntityStatus, AgroFormValidator, AgroNameUtils, AgroNumberUtils, AgroObjectUtils, AgroPlatformUtils, AgroStringMasks, AgroStringUtils, AsyncLock, Colors, DateComparisonType, E001TnsModule, E001pesModule, E070EmpModule, E070FilModule, E075DerModule, E205depService, EventControlBoardComponent, EventControlBoardModule, EventControlBoardService, EventControlItemModule, EventControlModule, EventStepsComponent, EventStepsModule, ExternalInvoiceModule, FixationModule, HostProjectConfigsInjectionToken, HttpCodes, InvoiceModule, LibTranslatePipe, LibTranslationModule, LibTranslationService, NumberComparisonType, OriginationModule, PaginatorStorageService, PrimitiveManager, ProducerInvoiceModule, RuralEstateModule, SharedModule, TicketModule, TransferModule, UserInformationService, WebsocketModule, WebsocketService, LibTranslationService as ɵa };
|
|
6068
|
+
export { AGRO_NUMBERS, AGRO_REGEX, AgroAngularComponentsModule, AgroArrayUtils, AgroCookieUtils, AgroDateUtils, AgroEntityStatus, AgroFormValidator, AgroNameUtils, AgroNumberUtils, AgroObjectUtils, AgroPlatformUtils, AgroStringMasks, AgroStringUtils, AsyncLock, CancelEventDialogComponent, CancelEventDialogModule, Colors, DateComparisonType, E001TnsModule, E001pesModule, E070EmpModule, E070FilModule, E075DerModule, E205depService, EventControlBoardComponent, EventControlBoardModule, EventControlBoardService, EventControlItemModule, EventControlModule, EventStepsComponent, EventStepsModule, ExternalInvoiceModule, FixationModule, HostProjectConfigsInjectionToken, HttpCodes, InvoiceModule, LibTranslatePipe, LibTranslationModule, LibTranslationService, NumberComparisonType, OriginationModule, PaginatorStorageService, PrimitiveManager, ProducerInvoiceModule, RuralEstateModule, SharedModule, TicketModule, TransferModule, UserInformationService, WebsocketModule, WebsocketService, LibTranslationService as ɵa };
|
|
5882
6069
|
//# sourceMappingURL=senior-agronegocio-angular-components.js.map
|