@senior-agronegocio/angular-components 0.0.9862 → 0.0.9863
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 +3311 -4323
- 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/agro-number-utils.class.d.ts +0 -6
- package/common/agro-regex.constant.d.ts +0 -3
- package/common/agro-string-utils.class.d.ts +0 -3
- package/components/event-control-board/event-control-board.component.d.ts +17 -25
- package/components/event-control-board/index.d.ts +3 -1
- package/components/event-control-board/service/entity-service.d.ts +3 -3
- package/components/event-control-board/service/event-control-board.service.d.ts +13 -0
- package/components/event-control-board/service/origination/origination-dto.d.ts +1 -1
- package/{services → components/event-control-board/service}/producer-invoice/producer-invoice-dto.d.ts +4 -4
- package/components/event-control-board/service/producer-invoice/producer-invoice.module.d.ts +2 -0
- package/components/event-control-board/service/producer-invoice/producer-invoice.service.d.ts +11 -0
- package/components/financial-title-table/financial-title-table.component.d.ts +17 -14
- package/components/financial-title-table/index.d.ts +1 -1
- package/components/financial-title-table/services/financial/index.d.ts +0 -1
- package/components/financial-title-table/services/financial/intefaces.d.ts +4 -1
- package/components/index.d.ts +0 -1
- package/esm2015/common/agro-number-utils.class.js +1 -18
- package/esm2015/common/agro-platform-utils.class.js +7 -8
- package/esm2015/common/agro-regex.constant.js +2 -5
- package/esm2015/common/agro-string-utils.class.js +11 -27
- package/esm2015/components/cancel-event-dialog/cancel-event-dialog-config.js +1 -1
- package/esm2015/components/event-control-board/event-control-board.component.js +90 -110
- package/esm2015/components/event-control-board/event-control-board.module.js +5 -2
- package/esm2015/components/event-control-board/index.js +4 -2
- package/esm2015/components/event-control-board/service/entity-service.js +27 -25
- package/esm2015/components/event-control-board/service/event-control-board.service.js +37 -0
- package/esm2015/components/event-control-board/service/origination/origination-dto.js +1 -1
- package/esm2015/components/event-control-board/service/producer-invoice/producer-invoice-dto.js +1 -0
- package/esm2015/components/event-control-board/service/producer-invoice/producer-invoice.module.js +26 -0
- package/esm2015/components/event-control-board/service/producer-invoice/producer-invoice.service.js +24 -0
- package/esm2015/components/financial-title-table/financial-title-table.component.js +117 -65
- package/esm2015/components/financial-title-table/financial-title-table.module.js +8 -7
- package/esm2015/components/financial-title-table/index.js +2 -2
- package/esm2015/components/financial-title-table/services/financial/agro-financial.service.js +12 -10
- package/esm2015/components/financial-title-table/services/financial/index.js +1 -2
- package/esm2015/components/financial-title-table/services/financial/intefaces.js +1 -1
- package/esm2015/components/index.js +1 -2
- package/esm2015/lib-translation.module.js +1 -3
- package/esm2015/pipe/index.js +1 -5
- package/esm2015/public-api.js +6 -6
- package/esm2015/senior-agronegocio-angular-components.js +2 -3
- package/esm2015/services/entity-service.js +12 -14
- package/esm2015/services/i18n/en-US.js +1 -9
- package/esm2015/services/i18n/es-CO.js +2 -10
- package/esm2015/services/i18n/pt-BR.js +261 -272
- package/esm2015/services/index.js +1 -1
- package/esm2015/services/lib-translation.service.js +3 -3
- package/esm5/common/agro-number-utils.class.js +1 -19
- package/esm5/common/agro-platform-utils.class.js +7 -8
- package/esm5/common/agro-regex.constant.js +2 -5
- package/esm5/common/agro-string-utils.class.js +11 -27
- package/esm5/components/cancel-event-dialog/cancel-event-dialog-config.js +1 -1
- package/esm5/components/event-control-board/event-control-board.component.js +91 -113
- package/esm5/components/event-control-board/event-control-board.module.js +5 -2
- package/esm5/components/event-control-board/index.js +4 -2
- package/esm5/components/event-control-board/service/entity-service.js +26 -24
- package/esm5/components/event-control-board/service/event-control-board.service.js +38 -0
- package/esm5/components/event-control-board/service/origination/origination-dto.js +1 -1
- package/esm5/components/event-control-board/service/producer-invoice/producer-invoice-dto.js +1 -0
- package/esm5/components/event-control-board/service/producer-invoice/producer-invoice.module.js +29 -0
- package/esm5/components/event-control-board/service/producer-invoice/producer-invoice.service.js +27 -0
- package/esm5/components/financial-title-table/financial-title-table.component.js +123 -67
- package/esm5/components/financial-title-table/financial-title-table.module.js +8 -7
- package/esm5/components/financial-title-table/index.js +2 -2
- package/esm5/components/financial-title-table/services/financial/agro-financial.service.js +12 -10
- package/esm5/components/financial-title-table/services/financial/index.js +1 -2
- package/esm5/components/financial-title-table/services/financial/intefaces.js +1 -1
- package/esm5/components/index.js +1 -2
- package/esm5/lib-translation.module.js +1 -3
- package/esm5/pipe/index.js +1 -5
- package/esm5/public-api.js +6 -6
- package/esm5/senior-agronegocio-angular-components.js +2 -3
- package/esm5/services/entity-service.js +11 -13
- package/esm5/services/i18n/en-US.js +1 -9
- package/esm5/services/i18n/es-CO.js +2 -10
- package/esm5/services/i18n/pt-BR.js +261 -272
- package/esm5/services/index.js +1 -1
- package/esm5/services/lib-translation.service.js +3 -3
- package/fesm2015/senior-agronegocio-angular-components.js +2579 -3462
- package/fesm2015/senior-agronegocio-angular-components.js.map +1 -1
- package/fesm5/senior-agronegocio-angular-components.js +3318 -4313
- package/fesm5/senior-agronegocio-angular-components.js.map +1 -1
- package/package.json +55 -7
- package/pipe/index.d.ts +0 -4
- package/public-api.d.ts +5 -5
- package/senior-agronegocio-angular-components.d.ts +1 -2
- package/senior-agronegocio-angular-components.metadata.json +1 -1
- package/services/entity-service.d.ts +1 -2
- package/services/i18n/en-US.d.ts +0 -8
- package/services/i18n/es-CO.d.ts +0 -8
- package/services/i18n/pt-BR.d.ts +259 -270
- package/common/agro-object-stringifier.class.d.ts +0 -16
- package/components/financial-title-table/directive/validate-tiltle-value-selected.directive.d.ts +0 -6
- package/components/financial-title-table/services/financial/agro-financial.module.d.ts +0 -2
- package/components/modal-invoice-pj/for-fixation/modal-fixation-options.interface.d.ts +0 -5
- package/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.component.d.ts +0 -35
- package/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.module.d.ts +0 -2
- package/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.d.ts +0 -26
- package/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.module.d.ts +0 -2
- package/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.component.d.ts +0 -26
- package/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.module.d.ts +0 -2
- package/components/modal-invoice-pj/index.d.ts +0 -9
- package/components/modal-invoice-pj/modal-invoice-pj-base.class.d.ts +0 -53
- package/components/modal-invoice-pj/modal-invoice-pj-options.interface.d.ts +0 -10
- package/components/modal-invoice-pj/modal-shared-imports.d.ts +0 -5
- package/components/modal-invoice-pj/services/agro-invoice/agro-invoice.module.d.ts +0 -2
- package/components/modal-invoice-pj/services/agro-invoice/agro-invoice.service.d.ts +0 -16
- package/components/modal-invoice-pj/services/agro-invoice/index.d.ts +0 -2
- package/components/modal-invoice-pj/services/agro-invoice/interfaces.d.ts +0 -75
- package/esm2015/common/agro-object-stringifier.class.js +0 -31
- package/esm2015/components/financial-title-table/directive/validate-tiltle-value-selected.directive.js +0 -33
- package/esm2015/components/financial-title-table/services/financial/agro-financial.module.js +0 -26
- package/esm2015/components/modal-invoice-pj/for-fixation/modal-fixation-options.interface.js +0 -1
- package/esm2015/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.component.js +0 -189
- package/esm2015/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.module.js +0 -16
- package/esm2015/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.js +0 -60
- package/esm2015/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.module.js +0 -16
- package/esm2015/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.component.js +0 -60
- package/esm2015/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.module.js +0 -16
- package/esm2015/components/modal-invoice-pj/index.js +0 -8
- package/esm2015/components/modal-invoice-pj/modal-invoice-pj-base.class.js +0 -193
- package/esm2015/components/modal-invoice-pj/modal-invoice-pj-options.interface.js +0 -1
- package/esm2015/components/modal-invoice-pj/modal-shared-imports.js +0 -32
- package/esm2015/components/modal-invoice-pj/services/agro-invoice/agro-invoice.module.js +0 -28
- package/esm2015/components/modal-invoice-pj/services/agro-invoice/agro-invoice.service.js +0 -49
- package/esm2015/components/modal-invoice-pj/services/agro-invoice/index.js +0 -3
- package/esm2015/components/modal-invoice-pj/services/agro-invoice/interfaces.js +0 -13
- package/esm2015/pipe/cnpj-cpf/cnpj-cpf.pipe.js +0 -28
- package/esm2015/pipe/cnpj-cpf/cnpj-cpf.pipe.module.js +0 -15
- package/esm2015/pipe/cnpj-cpf/index.js +0 -3
- package/esm2015/pipe/kilogram/index.js +0 -3
- package/esm2015/pipe/kilogram/kilogram.module.js +0 -17
- package/esm2015/pipe/kilogram/kilogram.pipe.js +0 -38
- package/esm2015/pipe/stringifier/index.js +0 -3
- package/esm2015/pipe/stringifier/stringifier.pipe.js +0 -13
- package/esm2015/pipe/stringifier/stringifier.pipe.module.js +0 -15
- package/esm2015/pipe/telephone/index.js +0 -3
- package/esm2015/pipe/telephone/telephone.pipe.js +0 -91
- package/esm2015/pipe/telephone/telephone.pipe.module.js +0 -15
- package/esm2015/services/producer-invoice/producer-invoice-dto.js +0 -1
- package/esm2015/services/producer-invoice/producer-invoice.service.js +0 -64
- package/esm5/common/agro-object-stringifier.class.js +0 -35
- package/esm5/components/financial-title-table/directive/validate-tiltle-value-selected.directive.js +0 -37
- package/esm5/components/financial-title-table/services/financial/agro-financial.module.js +0 -29
- package/esm5/components/modal-invoice-pj/for-fixation/modal-fixation-options.interface.js +0 -1
- package/esm5/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.component.js +0 -221
- package/esm5/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.module.js +0 -19
- package/esm5/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.js +0 -63
- package/esm5/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.module.js +0 -19
- package/esm5/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.component.js +0 -63
- package/esm5/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.module.js +0 -19
- package/esm5/components/modal-invoice-pj/index.js +0 -8
- package/esm5/components/modal-invoice-pj/modal-invoice-pj-base.class.js +0 -210
- package/esm5/components/modal-invoice-pj/modal-invoice-pj-options.interface.js +0 -1
- package/esm5/components/modal-invoice-pj/modal-shared-imports.js +0 -32
- package/esm5/components/modal-invoice-pj/services/agro-invoice/agro-invoice.module.js +0 -31
- package/esm5/components/modal-invoice-pj/services/agro-invoice/agro-invoice.service.js +0 -56
- package/esm5/components/modal-invoice-pj/services/agro-invoice/index.js +0 -3
- package/esm5/components/modal-invoice-pj/services/agro-invoice/interfaces.js +0 -13
- package/esm5/pipe/cnpj-cpf/cnpj-cpf.pipe.js +0 -35
- package/esm5/pipe/cnpj-cpf/cnpj-cpf.pipe.module.js +0 -18
- package/esm5/pipe/cnpj-cpf/index.js +0 -3
- package/esm5/pipe/kilogram/index.js +0 -3
- package/esm5/pipe/kilogram/kilogram.module.js +0 -20
- package/esm5/pipe/kilogram/kilogram.pipe.js +0 -41
- package/esm5/pipe/stringifier/index.js +0 -3
- package/esm5/pipe/stringifier/stringifier.pipe.js +0 -16
- package/esm5/pipe/stringifier/stringifier.pipe.module.js +0 -18
- package/esm5/pipe/telephone/index.js +0 -3
- package/esm5/pipe/telephone/telephone.pipe.js +0 -95
- package/esm5/pipe/telephone/telephone.pipe.module.js +0 -18
- package/esm5/services/producer-invoice/producer-invoice-dto.js +0 -1
- package/esm5/services/producer-invoice/producer-invoice.service.js +0 -72
- package/pipe/cnpj-cpf/cnpj-cpf.pipe.d.ts +0 -4
- package/pipe/cnpj-cpf/cnpj-cpf.pipe.module.d.ts +0 -2
- package/pipe/cnpj-cpf/index.d.ts +0 -2
- package/pipe/kilogram/index.d.ts +0 -2
- package/pipe/kilogram/kilogram.module.d.ts +0 -2
- package/pipe/kilogram/kilogram.pipe.d.ts +0 -8
- package/pipe/stringifier/index.d.ts +0 -2
- package/pipe/stringifier/stringifier.pipe.d.ts +0 -9
- package/pipe/stringifier/stringifier.pipe.module.d.ts +0 -2
- package/pipe/telephone/index.d.ts +0 -2
- package/pipe/telephone/telephone.pipe.d.ts +0 -21
- package/pipe/telephone/telephone.pipe.module.d.ts +0 -2
- package/services/producer-invoice/producer-invoice.service.d.ts +0 -18
package/components/modal-invoice-pj/for-fixation/modal-invoice-pj-for-fixation.component.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { IInvoiceLookupResponse } from '../services/agro-invoice/interfaces';
|
|
3
|
-
import { LibTranslationService } from '../../../services/lib-translation.service';
|
|
4
|
-
import { AgroInvoiceService } from '../services/agro-invoice';
|
|
5
|
-
import { Column, LocaleService } from '@seniorsistemas/angular-components';
|
|
6
|
-
import { KilogramPipe } from '../../../pipe/kilogram';
|
|
7
|
-
import { CurrencyPipe } from '@angular/common';
|
|
8
|
-
import { ModalInvoicePjBase } from '../modal-invoice-pj-base.class';
|
|
9
|
-
import { ModalInvoicePjForFixationOptions } from './modal-fixation-options.interface';
|
|
10
|
-
import { ProducerInvoiceService } from '../../../services/producer-invoice/producer-invoice.service';
|
|
11
|
-
import { MessageService } from 'primeng';
|
|
12
|
-
export declare class ModalInvoicePjForFixationComponent extends ModalInvoicePjBase implements OnInit, OnDestroy {
|
|
13
|
-
readonly translationService: LibTranslationService;
|
|
14
|
-
readonly invoiceService: AgroInvoiceService;
|
|
15
|
-
readonly localeService: LocaleService;
|
|
16
|
-
readonly kilogramPipe: KilogramPipe;
|
|
17
|
-
readonly currencyPipe: CurrencyPipe;
|
|
18
|
-
readonly producerInvoiceService: ProducerInvoiceService;
|
|
19
|
-
readonly messageService: MessageService;
|
|
20
|
-
options: ModalInvoicePjForFixationOptions;
|
|
21
|
-
whenSelectInvoices: EventEmitter<any[]>;
|
|
22
|
-
gridColumns: Partial<Column & {
|
|
23
|
-
sortable?: boolean;
|
|
24
|
-
}>[];
|
|
25
|
-
constructor(translationService: LibTranslationService, invoiceService: AgroInvoiceService, localeService: LocaleService, kilogramPipe: KilogramPipe, currencyPipe: CurrencyPipe, producerInvoiceService: ProducerInvoiceService, messageService: MessageService);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
defineGridColumns(): void;
|
|
28
|
-
beforeAdd(selectedInvoices: any[]): Promise<any>;
|
|
29
|
-
open(): void;
|
|
30
|
-
linkSelectedInvoicesInFixationItem(): Promise<void>;
|
|
31
|
-
isValidAndSetLinkedValueInInvoices(): Promise<boolean>;
|
|
32
|
-
adaptResult(result: IInvoiceLookupResponse): Promise<any>;
|
|
33
|
-
cancel(): Promise<void>;
|
|
34
|
-
updateLinkedValueInGrid(rows: number): Promise<void>;
|
|
35
|
-
}
|
package/components/modal-invoice-pj/for-origination/modal-invoice-pj-for-origination.component.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ModalInvoicePjOptions } from '../modal-invoice-pj-options.interface';
|
|
3
|
-
import { Column, LocaleService } from '@seniorsistemas/angular-components';
|
|
4
|
-
import { ModalInvoicePjBase } from '../modal-invoice-pj-base.class';
|
|
5
|
-
import { IInvoiceLookupResponse } from '../services/agro-invoice/interfaces';
|
|
6
|
-
import { KilogramPipe } from '../../../pipe/kilogram';
|
|
7
|
-
import { LibTranslationService } from '../../../services/lib-translation.service';
|
|
8
|
-
import { AgroInvoiceService } from '../services/agro-invoice';
|
|
9
|
-
import { MessageService } from 'primeng';
|
|
10
|
-
export declare class ModalInvoicePjForOriginationComponent extends ModalInvoicePjBase implements OnInit, OnDestroy {
|
|
11
|
-
translate: LibTranslationService;
|
|
12
|
-
invoiceService: AgroInvoiceService;
|
|
13
|
-
localeService: LocaleService;
|
|
14
|
-
kilogramPipe: KilogramPipe;
|
|
15
|
-
messageService: MessageService;
|
|
16
|
-
options: ModalInvoicePjOptions;
|
|
17
|
-
whenSelectInvoices: EventEmitter<any[]>;
|
|
18
|
-
gridColumns: Partial<Column & {
|
|
19
|
-
sortable?: boolean;
|
|
20
|
-
}>[];
|
|
21
|
-
constructor(translate: LibTranslationService, invoiceService: AgroInvoiceService, localeService: LocaleService, kilogramPipe: KilogramPipe, messageService: MessageService);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
defineGridColumns(): void;
|
|
24
|
-
beforeAdd(selectedInvoices: any): Promise<any>;
|
|
25
|
-
adaptResult(result: IInvoiceLookupResponse): Promise<any>;
|
|
26
|
-
}
|
package/components/modal-invoice-pj/for-transfer/modal-invoice-pj-for-transfer.component.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ModalInvoicePjOptions } from '../modal-invoice-pj-options.interface';
|
|
3
|
-
import { Column, LocaleService } from '@seniorsistemas/angular-components';
|
|
4
|
-
import { ModalInvoicePjBase } from '../modal-invoice-pj-base.class';
|
|
5
|
-
import { IInvoiceLookupResponse } from '../services/agro-invoice/interfaces';
|
|
6
|
-
import { KilogramPipe } from '../../../pipe/kilogram';
|
|
7
|
-
import { LibTranslationService } from '../../../services/lib-translation.service';
|
|
8
|
-
import { AgroInvoiceService } from '../services/agro-invoice';
|
|
9
|
-
import { MessageService } from 'primeng';
|
|
10
|
-
export declare class ModalInvoicePjForTransferComponent extends ModalInvoicePjBase implements OnInit, OnDestroy {
|
|
11
|
-
translate: LibTranslationService;
|
|
12
|
-
invoiceService: AgroInvoiceService;
|
|
13
|
-
localeService: LocaleService;
|
|
14
|
-
kilogramPipe: KilogramPipe;
|
|
15
|
-
messageService: MessageService;
|
|
16
|
-
options: ModalInvoicePjOptions;
|
|
17
|
-
whenSelectInvoices: EventEmitter<any[]>;
|
|
18
|
-
gridColumns: Partial<Column & {
|
|
19
|
-
sortable?: boolean;
|
|
20
|
-
}>[];
|
|
21
|
-
constructor(translate: LibTranslationService, invoiceService: AgroInvoiceService, localeService: LocaleService, kilogramPipe: KilogramPipe, messageService: MessageService);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
defineGridColumns(): void;
|
|
24
|
-
beforeAdd(selectedInvoices: any): Promise<any>;
|
|
25
|
-
adaptResult(result: IInvoiceLookupResponse): Promise<any>;
|
|
26
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { ModalInvoicePjForOriginationComponent } from './for-origination/modal-invoice-pj-for-origination.component';
|
|
2
|
-
export { ModalInvoicePjForOriginationModule } from './for-origination/modal-invoice-pj-for-origination.module';
|
|
3
|
-
export { ModalInvoicePjForTransferComponent } from './for-transfer/modal-invoice-pj-for-transfer.component';
|
|
4
|
-
export { ModalInvoicePjForTransferModule } from './for-transfer/modal-invoice-pj-for-transfer.module';
|
|
5
|
-
export { ModalInvoicePjForFixationComponent } from './for-fixation/modal-invoice-pj-for-fixation.component';
|
|
6
|
-
export { ModalInvoicePjForFixationModule } from './for-fixation/modal-invoice-pj-for-fixation.module';
|
|
7
|
-
export { ModalInvoicePjOptions } from './modal-invoice-pj-options.interface';
|
|
8
|
-
export { ModalInvoicePjForFixationOptions } from './for-fixation/modal-fixation-options.interface';
|
|
9
|
-
export { AgroInvoiceModule, AgroInvoiceService } from './services/agro-invoice/index';
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { LazyLoadEvent, MessageService } from 'primeng';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { FormControl } from '@angular/forms';
|
|
5
|
-
import { ListParams } from '../../services/entity-service';
|
|
6
|
-
import { AgroInvoiceService } from './services/agro-invoice/agro-invoice.service';
|
|
7
|
-
import { ModalInvoicePjOptions } from './modal-invoice-pj-options.interface';
|
|
8
|
-
import { ButtonPriority, Column, LocaleService } from '@seniorsistemas/angular-components';
|
|
9
|
-
import { LibTranslationService } from '../../services/lib-translation.service';
|
|
10
|
-
import { IInvoiceLookupResponse } from './services/agro-invoice/interfaces';
|
|
11
|
-
import { KilogramPipe } from '../../pipe/kilogram';
|
|
12
|
-
export declare abstract class ModalInvoicePjBase {
|
|
13
|
-
protected readonly translate: LibTranslationService;
|
|
14
|
-
protected readonly invoiceService: AgroInvoiceService;
|
|
15
|
-
protected readonly localeService: LocaleService;
|
|
16
|
-
protected readonly kilogramPipe: KilogramPipe;
|
|
17
|
-
protected readonly messageService: MessageService;
|
|
18
|
-
abstract options: ModalInvoicePjOptions;
|
|
19
|
-
abstract whenSelectInvoices: EventEmitter<any[]>;
|
|
20
|
-
abstract gridColumns: Partial<Column & {
|
|
21
|
-
sortable?: boolean;
|
|
22
|
-
}>[];
|
|
23
|
-
gridData: any[];
|
|
24
|
-
buttonPriority: typeof ButtonPriority;
|
|
25
|
-
dontHaveAnyInvoice: boolean;
|
|
26
|
-
gridLoading: boolean;
|
|
27
|
-
gridTotalRecords: number;
|
|
28
|
-
selected: any[];
|
|
29
|
-
unselectedIds: Set<number>;
|
|
30
|
-
visible: boolean;
|
|
31
|
-
searchValue: FormControl;
|
|
32
|
-
protected readonly ngUnsubscribe: Subject<unknown>;
|
|
33
|
-
protected currentParams: ListParams;
|
|
34
|
-
gridFieldValuesMap: {
|
|
35
|
-
[key: string]: (row: any) => any;
|
|
36
|
-
};
|
|
37
|
-
constructor(translate: LibTranslationService, invoiceService: AgroInvoiceService, localeService: LocaleService, kilogramPipe: KilogramPipe, messageService: MessageService);
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
abstract adaptResult(result: IInvoiceLookupResponse): Promise<any>;
|
|
41
|
-
abstract beforeAdd(selectedInvoices: any): Promise<any>;
|
|
42
|
-
protected whenSearchValueChanges(): void;
|
|
43
|
-
tryToSearchAgain(): void;
|
|
44
|
-
open(): void;
|
|
45
|
-
protected checkIfOptionsIsValid(): boolean;
|
|
46
|
-
private getPagination;
|
|
47
|
-
updateCurrentParams(event: LazyLoadEvent): void;
|
|
48
|
-
updateGridData(event: LazyLoadEvent, searchValue?: string): void;
|
|
49
|
-
cancelPooling(): void;
|
|
50
|
-
add(): Promise<void>;
|
|
51
|
-
protected resetSpecs(): void;
|
|
52
|
-
cancel(): Promise<void>;
|
|
53
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CommonModule, CurrencyPipe, DatePipe, DecimalPipe } from '@angular/common';
|
|
2
|
-
import { LocalizedDatePipe } from '@seniorsistemas/angular-components';
|
|
3
|
-
import { KilogramPipe } from '../../pipe/kilogram';
|
|
4
|
-
export declare const imports: (typeof CommonModule | import("@angular/compiler/src/core").ModuleWithProviders)[];
|
|
5
|
-
export declare const providers: (typeof KilogramPipe | typeof LocalizedDatePipe | typeof DecimalPipe | typeof DatePipe | typeof CurrencyPipe)[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { MessageService } from "primeng/api";
|
|
3
|
-
import { AgroEntityService } from "../../../../services/entity-service";
|
|
4
|
-
import { LibTranslationService as TranslateService } from "../../../../services/lib-translation.service";
|
|
5
|
-
import { IInvoiceLookupFilter, IInvoiceLookupResponse } from "./interfaces";
|
|
6
|
-
import { Observable } from "rxjs";
|
|
7
|
-
export declare class AgroInvoiceService extends AgroEntityService<any> {
|
|
8
|
-
protected http: HttpClient;
|
|
9
|
-
protected messageService: MessageService;
|
|
10
|
-
protected translate: TranslateService;
|
|
11
|
-
private readonly pooling;
|
|
12
|
-
constructor(http: HttpClient, messageService: MessageService, translate: TranslateService);
|
|
13
|
-
invoiceLookupFilter(data: IInvoiceLookupFilter): Observable<IInvoiceLookupResponse>;
|
|
14
|
-
cancelActivePooling(): void;
|
|
15
|
-
private pollInvoiceResult;
|
|
16
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export declare enum statusLookup {
|
|
2
|
-
PENDING = "PENDING",
|
|
3
|
-
FINISHED = "FINISHED",
|
|
4
|
-
ERROR = "ERROR"
|
|
5
|
-
}
|
|
6
|
-
export declare enum statusIntegration {
|
|
7
|
-
SUCCESS = "SUCCESS",
|
|
8
|
-
IN_PROGRESS = "IN_PROGRESS",
|
|
9
|
-
ERROR = "ERROR"
|
|
10
|
-
}
|
|
11
|
-
export interface IInvoiceLookupFilter {
|
|
12
|
-
filter: IRecInvoiceLookupFilter;
|
|
13
|
-
pageRequest: IRecPageRequest;
|
|
14
|
-
}
|
|
15
|
-
export interface IRecInvoiceLookupFilter {
|
|
16
|
-
companyId: string;
|
|
17
|
-
branchId: string;
|
|
18
|
-
ruralEstateIds: string[];
|
|
19
|
-
producerIds: string[];
|
|
20
|
-
productId: string;
|
|
21
|
-
multiProducts: boolean;
|
|
22
|
-
number?: number;
|
|
23
|
-
series?: string;
|
|
24
|
-
key?: string;
|
|
25
|
-
issuanceDateStart?: string;
|
|
26
|
-
issuanceDateEnd?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface IRecPageRequest {
|
|
29
|
-
offset: number;
|
|
30
|
-
size: number;
|
|
31
|
-
orderBy: IOrderBy[];
|
|
32
|
-
}
|
|
33
|
-
export interface IOrderBy {
|
|
34
|
-
field: string;
|
|
35
|
-
order: "asc" | "desc";
|
|
36
|
-
}
|
|
37
|
-
export interface IInvoiceLookupResponse {
|
|
38
|
-
status: statusLookup;
|
|
39
|
-
message: string;
|
|
40
|
-
result: IInvoiceLookupDataResponse;
|
|
41
|
-
}
|
|
42
|
-
export interface IInvoiceLookupRecord {
|
|
43
|
-
externalInvoiceId?: string;
|
|
44
|
-
companyId: string;
|
|
45
|
-
branchId: string;
|
|
46
|
-
producerId: string;
|
|
47
|
-
issuanceDate: string;
|
|
48
|
-
items: IInvoiceLookupItemRecord[];
|
|
49
|
-
invoiceId?: string;
|
|
50
|
-
ruralEstateId?: string;
|
|
51
|
-
number?: number;
|
|
52
|
-
series?: string;
|
|
53
|
-
seriesId?: string;
|
|
54
|
-
seriesLegal?: string;
|
|
55
|
-
key?: string;
|
|
56
|
-
netTotalValue?: number;
|
|
57
|
-
totalItems?: number;
|
|
58
|
-
totalItemsQuantity?: number;
|
|
59
|
-
}
|
|
60
|
-
interface IInvoiceLookupItemRecord {
|
|
61
|
-
itemSequence: number;
|
|
62
|
-
productId: string;
|
|
63
|
-
productCode: string;
|
|
64
|
-
serviceId: string;
|
|
65
|
-
unitPrice: number;
|
|
66
|
-
quantity: number;
|
|
67
|
-
}
|
|
68
|
-
export interface IInvoiceLookupDataResponse {
|
|
69
|
-
totalElements: number;
|
|
70
|
-
status: statusIntegration;
|
|
71
|
-
invoices?: IInvoiceLookupRecord[];
|
|
72
|
-
message?: string;
|
|
73
|
-
lookupId?: string;
|
|
74
|
-
}
|
|
75
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AgroStringUtils } from "./agro-string-utils.class";
|
|
2
|
-
export class AgroObjectStringifier {
|
|
3
|
-
/**
|
|
4
|
-
* Formata um objeto concatenando valores segundo as chaves e pipes informados.
|
|
5
|
-
*
|
|
6
|
-
* @param separator Separador entre os valores (ex: "-")
|
|
7
|
-
* @param fields Campos a extrair. Podem conter subpropriedades ("propriedade.subPropriedade") e pipes ("propriedade|nomeDaPipe:arg1:arg2")
|
|
8
|
-
* @param obj Objeto origem
|
|
9
|
-
*/
|
|
10
|
-
static formatObject(separator, fields, obj, usePipes) {
|
|
11
|
-
function mapField(field) {
|
|
12
|
-
const value = AgroObjectStringifier.resolvePath(obj, field);
|
|
13
|
-
if (usePipes === null || usePipes === void 0 ? void 0 : usePipes.hasOwnProperty(field)) {
|
|
14
|
-
return usePipes[field].transform(value);
|
|
15
|
-
}
|
|
16
|
-
return value !== null && value !== void 0 ? value : "";
|
|
17
|
-
}
|
|
18
|
-
function filterValid(v) {
|
|
19
|
-
return typeof v === "number" || AgroStringUtils.isValid(v);
|
|
20
|
-
}
|
|
21
|
-
return fields.map(mapField).filter(filterValid).join(` ${separator} `);
|
|
22
|
-
}
|
|
23
|
-
/** Resolve um caminho tipo "empresa.cargo" dentro de um objeto */
|
|
24
|
-
static resolvePath(obj, path) {
|
|
25
|
-
function reducer(acc, key) {
|
|
26
|
-
return acc === null || acc === void 0 ? void 0 : acc[key];
|
|
27
|
-
}
|
|
28
|
-
return path.split(".").reduce(reducer, obj);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdyby1vYmplY3Qtc3RyaW5naWZpZXIuY2xhc3MuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yLWFncm9uZWdvY2lvL2FuZ3VsYXItY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImNvbW1vbi9hZ3JvLW9iamVjdC1zdHJpbmdpZmllci5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFNNUQsTUFBTSxPQUFPLHFCQUFxQjtJQUM5Qjs7Ozs7O09BTUc7SUFDSCxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQWlCLEVBQUUsTUFBZ0IsRUFBRSxHQUFRLEVBQUUsUUFBbUI7UUFDbEYsU0FBUyxRQUFRLENBQUMsS0FBYTtZQUMzQixNQUFNLEtBQUssR0FBRyxxQkFBcUIsQ0FBQyxXQUFXLENBQUMsR0FBRyxFQUFFLEtBQUssQ0FBQyxDQUFDO1lBQzVELElBQUksUUFBUSxhQUFSLFFBQVEsdUJBQVIsUUFBUSxDQUFFLGNBQWMsQ0FBQyxLQUFLLEdBQUc7Z0JBQ2pDLE9BQU8sUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsQ0FBQzthQUMzQztZQUNELE9BQU8sS0FBSyxhQUFMLEtBQUssY0FBTCxLQUFLLEdBQUksRUFBRSxDQUFDO1F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09IFwibnVtYmVyXCIgfHwgQWdyb1N0cmluZ1V0aWxzLmlzVmFsaWQodik7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICByZXR1cm4gZmllbGRzLm1hcChtYXBGaWVsZCkuZmlsdGVyKGZpbHRlclZhbGlkKS5qb2luKGAgJHtzZXBhcmF0b3J9IGApO1xyXG4gICAgfVxyXG5cclxuICAgIC8qKiBSZXNvbHZlIHVtIGNhbWluaG8gdGlwbyBcImVtcHJlc2EuY2FyZ29cIiBkZW50cm8gZGUgdW0gb2JqZXRvICovXHJcbiAgICBwcml2YXRlIHN0YXRpYyByZXNvbHZlUGF0aChvYmo6IGFueSwgcGF0aDogc3RyaW5nKTogYW55IHtcclxuICAgICAgICBmdW5jdGlvbiByZWR1Y2VyKGFjYzogYW55LCBrZXk6IHN0cmluZyk6IGFueSB7XHJcbiAgICAgICAgICAgIHJldHVybiBhY2M/LltrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gcGF0aC5zcGxpdChcIi5cIikucmVkdWNlKHJlZHVjZXIsIG9iaik7XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var ValidateTitleValueSelectedDirective_1;
|
|
2
|
-
import { __decorate } from "tslib";
|
|
3
|
-
import { Directive, Input } from "@angular/core";
|
|
4
|
-
import { NG_VALIDATORS } from "@angular/forms";
|
|
5
|
-
import { AGRO_NUMBERS } from "../../../enums/agro-numbers.enum";
|
|
6
|
-
let ValidateTitleValueSelectedDirective = ValidateTitleValueSelectedDirective_1 = class ValidateTitleValueSelectedDirective {
|
|
7
|
-
validate(control) {
|
|
8
|
-
return this.validateValuePaid(this.val)(control);
|
|
9
|
-
}
|
|
10
|
-
validateValuePaid(valuePaid) {
|
|
11
|
-
return (control) => {
|
|
12
|
-
const val = parseFloat(control.value) || null;
|
|
13
|
-
if (val <= AGRO_NUMBERS.ZERO) {
|
|
14
|
-
return { lessThanZero: true };
|
|
15
|
-
}
|
|
16
|
-
if (val > valuePaid) {
|
|
17
|
-
return { greatherThanAllowed: true };
|
|
18
|
-
}
|
|
19
|
-
return null;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
__decorate([
|
|
24
|
-
Input("validateValueSelected")
|
|
25
|
-
], ValidateTitleValueSelectedDirective.prototype, "val", void 0);
|
|
26
|
-
ValidateTitleValueSelectedDirective = ValidateTitleValueSelectedDirective_1 = __decorate([
|
|
27
|
-
Directive({
|
|
28
|
-
selector: "[validateValueSelected]",
|
|
29
|
-
providers: [{ provide: NG_VALIDATORS, useExisting: ValidateTitleValueSelectedDirective_1, multi: true }],
|
|
30
|
-
})
|
|
31
|
-
], ValidateTitleValueSelectedDirective);
|
|
32
|
-
export { ValidateTitleValueSelectedDirective };
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGUtdGlsdGxlLXZhbHVlLXNlbGVjdGVkLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzZW5pb3ItYWdyb25lZ29jaW8vYW5ndWxhci1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9maW5hbmNpYWwtdGl0bGUtdGFibGUvZGlyZWN0aXZlL3ZhbGlkYXRlLXRpbHRsZS12YWx1ZS1zZWxlY3RlZC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQW1CLGFBQWEsRUFBNEMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMxRyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFNaEUsSUFBYSxtQ0FBbUMsMkNBQWhELE1BQWEsbUNBQW1DO0lBRzVDLFFBQVEsQ0FBQyx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HUk9fTlVNQkVSUy5aRVJPKSB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4geyBsZXNzVGhhblplcm86IHRydWUgfTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBpZiAodmFsID4gdmFsdWVQYWlkKSB7XHJcbiAgICAgICAgICAgICAgICByZXR1cm4geyBncmVhdGhlclRoYW5BbGxvd2VkOiB0cnVlIH07XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgcmV0dXJuIG51bGw7XHJcbiAgICAgICAgfTtcclxuICAgIH1cclxufVxyXG4iXX0=
|
package/esm2015/components/financial-title-table/services/financial/agro-financial.module.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { NgModule } from "@angular/core";
|
|
3
|
-
import { PermissionsModule } from "@seniorsistemas/platform-components";
|
|
4
|
-
import { HttpClientModule } from "@angular/common/http";
|
|
5
|
-
import { AgroFinancialService } from "./agro-financial.service";
|
|
6
|
-
let AgroFinancialModule = class AgroFinancialModule {
|
|
7
|
-
};
|
|
8
|
-
AgroFinancialModule = __decorate([
|
|
9
|
-
NgModule({
|
|
10
|
-
imports: [
|
|
11
|
-
HttpClientModule,
|
|
12
|
-
PermissionsModule.forChild([
|
|
13
|
-
{
|
|
14
|
-
name: "Financial",
|
|
15
|
-
actions: ["Visualizar", "Incluir", "Editar", "Excluir"],
|
|
16
|
-
uri: `res://senior.com.br/agro/financial/entities/title`
|
|
17
|
-
}
|
|
18
|
-
])
|
|
19
|
-
],
|
|
20
|
-
providers: [AgroFinancialService],
|
|
21
|
-
declarations: [],
|
|
22
|
-
exports: []
|
|
23
|
-
})
|
|
24
|
-
], AgroFinancialModule);
|
|
25
|
-
export { AgroFinancialModule };
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdyby1maW5hbmNpYWwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQ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QgeyBQZXJtaXNzaW9uc01vZHVsZSB9IGZyb20gXCJAc2VuaW9yc2lzdGVtYXMvcGxhdGZvcm0tY29tcG9uZW50c1wiO1xyXG5pbXBvcnQgeyBIdHRwQ2xpZW50TW9kdWxlIH0gZnJvbSBcIkBhbmd1bGFyL2NvbW1vbi9odHRwXCI7XHJcbmltcG9ydCB7IEFncm9GaW5hbmNpYWxTZXJ2aWNlIH0gZnJvbSBcIi4vYWdyby1maW5hbmNpYWwuc2VydmljZVwiO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICAgIGltcG9ydHM6IFtcclxuICAgICAgICBIdHRwQ2xpZW50TW9kdWxlLFxyXG4gICAgICAgIFBlcm1pc3Npb25zTW9kdWxlLmZvckNoaWxkKFtcclxuICAgICAgICAgICAge1xyXG4gICAgICAgICAgICAgICAgbmFtZTogXCJGaW5hbmNpYWxcIixcclxuICAgICAgICAgICAgICAgIGFjdGlvbnM6IFtcIlZpc3VhbGl6YXJcIiwgXCJJbmNsdWlyXCIsIFwiRWRpdGFyXCIsIFwiRXhjbHVpclwiXSxcclxuICAgICAgICAgICAgICAgIHVyaTogYHJlczovL3Nlbmlvci5jb20uYnIvYWdyby9maW5hbmNpYWwvZW50aXRpZXMvdGl0bGVgXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICBdKVxyXG4gICAgXSxcclxuICAgIHByb3ZpZGVyczogW0Fncm9GaW5hbmNpYWxTZXJ2aWNlXSxcclxuICAgIGRlY2xhcmF0aW9uczogW10sXHJcbiAgICBleHBvcnRzOiBbXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQWdyb0ZpbmFuY2lhbE1vZHVsZSB7fVxyXG4iXX0=
|
package/esm2015/components/modal-invoice-pj/for-fixation/modal-fixation-options.interface.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtZml4YXRpb24tb3B0aW9ucy5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yLWFncm9uZWdvY2lvL2FuZ3VsYXItY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvbW9kYWwtaW52b2ljZS1wai9mb3ItZml4YXRpb24vbW9kYWwtZml4YXRpb24tb3B0aW9ucy5pbnRlcmZhY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1vZGFsSW52b2ljZVBqT3B0aW9ucyB9IGZyb20gXCIuLi9tb2RhbC1pbnZvaWNlLXBqLW9wdGlvbnMuaW50ZXJmYWNlXCI7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIE1vZGFsSW52b2ljZVBqRm9yRml4YXRpb25PcHRpb25zIGV4dGVuZHMgTW9kYWxJbnZvaWNlUGpPcHRpb25zIHtcclxuICAgIGZpeGF0aW9uSWQ6IHN0cmluZztcclxuICAgIGZpeGF0aW9uSXRlbXM6IGFueVtdO1xyXG59Il19
|