@seniorsistemas/yms-integration 1.35.0 → 1.36.0
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/seniorsistemas-yms-integration.umd.js +71 -21
- package/bundles/seniorsistemas-yms-integration.umd.js.map +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js.map +1 -1
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +3 -9
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +3 -10
- package/esm2015/src/wms/components/document-list/document-list.component.js +56 -5
- package/esm2015/src/wms/components/document-list/document-list.module.js +8 -3
- package/esm2015/src/wms/components/utils/invoice-conditions.js +12 -0
- package/esm5/src/wms/components/document-grid/document-grid.component.js +3 -9
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +3 -10
- package/esm5/src/wms/components/document-list/document-list.component.js +58 -5
- package/esm5/src/wms/components/document-list/document-list.module.js +8 -3
- package/esm5/src/wms/components/utils/invoice-conditions.js +12 -0
- package/fesm2015/seniorsistemas-yms-integration.js +69 -21
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +71 -21
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/wms/components/document-grid/document-grid.component.d.ts +4 -4
- package/src/wms/components/document-grid/register-document/register-document.component.d.ts +1 -1
- package/src/wms/components/document-list/document-list.component.d.ts +19 -1
- package/src/wms/components/utils/invoice-conditions.d.ts +6 -0
|
@@ -32,6 +32,10 @@ export declare class DocumentGridComponent implements OnInit {
|
|
|
32
32
|
processType: ProcessType;
|
|
33
33
|
isClienteExterno: boolean;
|
|
34
34
|
enableButtonIsClienteExterno: boolean;
|
|
35
|
+
invoiceConditions: {
|
|
36
|
+
label: string;
|
|
37
|
+
value: InvoiceCondition;
|
|
38
|
+
}[];
|
|
35
39
|
private readonly summary;
|
|
36
40
|
private readonly ngUnsubscribe;
|
|
37
41
|
table: Table;
|
|
@@ -40,10 +44,6 @@ export declare class DocumentGridComponent implements OnInit {
|
|
|
40
44
|
customGridColgroup: TemplateRef<any>;
|
|
41
45
|
customGridHeader: TemplateRef<any>;
|
|
42
46
|
customGridBody: TemplateRef<any>;
|
|
43
|
-
invoiceConditions: {
|
|
44
|
-
label: string;
|
|
45
|
-
value: InvoiceCondition;
|
|
46
|
-
}[];
|
|
47
47
|
getFilteredInvoiceConditions(invoiceConditions: any): {
|
|
48
48
|
label: string;
|
|
49
49
|
value: InvoiceCondition | null;
|
|
@@ -19,11 +19,11 @@ export declare class RegisterDocumentComponent implements OnInit, OnChanges {
|
|
|
19
19
|
formGroup: FormGroup;
|
|
20
20
|
hideSaveButton: boolean;
|
|
21
21
|
isSaveFormValid: boolean;
|
|
22
|
-
constructor(fb: FormBuilder, translate: TranslateService);
|
|
23
22
|
invoiceCondition: {
|
|
24
23
|
label: string;
|
|
25
24
|
value: InvoiceCondition;
|
|
26
25
|
}[];
|
|
26
|
+
constructor(fb: FormBuilder, translate: TranslateService);
|
|
27
27
|
ngOnInit(): void;
|
|
28
28
|
ngOnChanges(): void;
|
|
29
29
|
visibilityConfig(): EventEmitter<boolean>;
|
|
@@ -3,20 +3,31 @@ import { Document } from "../../entities/document/document";
|
|
|
3
3
|
import { WmsSystem } from "../../entities/wms-system/wms-system";
|
|
4
4
|
import { AgendaDto } from "../../entities/agenda/agenda-dto";
|
|
5
5
|
import { LazyLoadEvent } from "primeng/api";
|
|
6
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
7
|
+
import { UtilsMessageService } from "../../../../src/utils/utils-message";
|
|
8
|
+
import { InvoiceCondition } from "../../../wms/entities/invoice-condition/invoice-condition";
|
|
6
9
|
declare class DocumentListDescritor {
|
|
7
10
|
}
|
|
8
11
|
export declare class DocumentListComponent extends DocumentListDescritor {
|
|
9
12
|
private readonly documentService;
|
|
13
|
+
private readonly translate;
|
|
14
|
+
private readonly utils;
|
|
10
15
|
agenda: AgendaDto;
|
|
11
16
|
wmsSystem: WmsSystem;
|
|
12
17
|
getColumns: any;
|
|
13
18
|
documents: Document[];
|
|
19
|
+
amendedDocuments: Document[];
|
|
14
20
|
labels: string[];
|
|
15
21
|
gridTotalRecords: number;
|
|
16
22
|
selected: any[];
|
|
23
|
+
disabled: boolean;
|
|
17
24
|
gridLoading: boolean;
|
|
18
25
|
private readonly ngUnsubscribe;
|
|
19
|
-
|
|
26
|
+
invoiceConditions: {
|
|
27
|
+
label: string;
|
|
28
|
+
value: InvoiceCondition;
|
|
29
|
+
}[];
|
|
30
|
+
constructor(documentService: DocumentService, translate: TranslateService, utils: UtilsMessageService);
|
|
20
31
|
getColumnLabels(): {
|
|
21
32
|
field: string;
|
|
22
33
|
label: string;
|
|
@@ -26,6 +37,13 @@ export declare class DocumentListComponent extends DocumentListDescritor {
|
|
|
26
37
|
private getLabelsInvoice;
|
|
27
38
|
getInvoiceConditionTranslation(invoiceCondition: string | null): string;
|
|
28
39
|
updateGridData(event: LazyLoadEvent): void;
|
|
40
|
+
getFilteredInvoiceConditions(invoiceConditions: any): {
|
|
41
|
+
label: string;
|
|
42
|
+
value: InvoiceCondition | null;
|
|
43
|
+
}[];
|
|
44
|
+
onInvoiceConditionChange(event: any, document: Document): void;
|
|
45
|
+
isAuthorized: (condition: InvoiceCondition) => boolean;
|
|
46
|
+
save(): void;
|
|
29
47
|
private searchDocument;
|
|
30
48
|
}
|
|
31
49
|
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { InvoiceCondition } from "../../../wms/entities/invoice-condition/invoice-condition";
|
|
3
|
+
export declare function getInvoiceConditions(translate: TranslateService): {
|
|
4
|
+
label: string;
|
|
5
|
+
value: InvoiceCondition;
|
|
6
|
+
}[];
|