@seniorsistemas/yms-integration 1.27.3 → 1.29.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 +155 -11
- 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/index.js +3 -1
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +37 -9
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +2 -2
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +3 -1
- package/esm2015/src/wms/components/document-list/document-list.component.js +88 -0
- package/esm2015/src/wms/components/document-list/document-list.module.js +32 -0
- package/esm2015/src/wms/entities/agenda/agenda-dto.js +1 -0
- package/esm2015/src/wms/entities/document/document.service.js +4 -1
- package/esm5/index.js +3 -1
- package/esm5/src/wms/components/document-grid/document-grid.component.js +38 -11
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +2 -2
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +3 -1
- package/esm5/src/wms/components/document-list/document-list.component.js +93 -0
- package/esm5/src/wms/components/document-list/document-list.module.js +33 -0
- package/esm5/src/wms/entities/agenda/agenda-dto.js +1 -0
- package/esm5/src/wms/entities/document/document.service.js +4 -1
- package/fesm2015/seniorsistemas-yms-integration.js +147 -10
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +154 -12
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/wms/components/document-grid/document-grid.component.d.ts +11 -3
- package/src/wms/components/document-list/document-list.component.d.ts +26 -0
- package/src/wms/components/document-list/document-list.module.d.ts +5 -0
- package/src/wms/entities/agenda/agenda-dto.d.ts +12 -0
- package/src/wms/entities/document/document.service.d.ts +1 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IntegrationService, ProcessType } from './../../entities/integration/integration.service';
|
|
2
2
|
import { DocumentService } from '../../entities/document/document.service';
|
|
3
|
-
import { EventEmitter, OnInit, TemplateRef } from "@angular/core";
|
|
3
|
+
import { AfterContentChecked, EventEmitter, OnInit, TemplateRef } from "@angular/core";
|
|
4
4
|
import { TranslateService } from "@ngx-translate/core";
|
|
5
5
|
import { ConfirmationService, MenuItem, MessageService } from "primeng/api";
|
|
6
6
|
import { Document } from "../../entities/document/document";
|
|
7
7
|
import { Table } from "primeng/table";
|
|
8
8
|
import { WmsSystem } from '../../entities/wms-system/wms-system';
|
|
9
|
-
export declare class DocumentGridComponent implements OnInit {
|
|
9
|
+
export declare class DocumentGridComponent implements OnInit, AfterContentChecked {
|
|
10
10
|
private readonly translate;
|
|
11
11
|
private readonly documentService;
|
|
12
12
|
private readonly messageService;
|
|
@@ -35,6 +35,7 @@ export declare class DocumentGridComponent implements OnInit {
|
|
|
35
35
|
customGridBody: TemplateRef<any>;
|
|
36
36
|
constructor(translate: TranslateService, documentService: DocumentService, messageService: MessageService, confirmationService: ConfirmationService, integrationService: IntegrationService);
|
|
37
37
|
ngOnInit(): void;
|
|
38
|
+
ngAfterContentChecked(): void;
|
|
38
39
|
private getProcessTypeByScheduling;
|
|
39
40
|
onChangeDocument(document: Document): void;
|
|
40
41
|
getActions(): MenuItem[];
|
|
@@ -45,6 +46,13 @@ export declare class DocumentGridComponent implements OnInit {
|
|
|
45
46
|
onDelete(): void;
|
|
46
47
|
private removeDocumentIfIdUndfined;
|
|
47
48
|
listDocuments(): void;
|
|
48
|
-
|
|
49
|
+
getGridColumns(): {
|
|
50
|
+
field: string;
|
|
51
|
+
header: any;
|
|
52
|
+
}[];
|
|
53
|
+
private getColumnInvoiceAndlogistcUnit;
|
|
54
|
+
private getColumnPartner;
|
|
55
|
+
isWmsSeniorConnect(): boolean;
|
|
56
|
+
isWmsWIS(): boolean;
|
|
49
57
|
private message;
|
|
50
58
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { DocumentService } from "../../entities/document/document.service";
|
|
3
|
+
import { Document } from "../../entities/document/document";
|
|
4
|
+
import { WmsSystem } from "../../entities/wms-system/wms-system";
|
|
5
|
+
import { AgendaDto } from "../../entities/agenda/agenda-dto";
|
|
6
|
+
declare class DocumentListDescritor {
|
|
7
|
+
}
|
|
8
|
+
export declare class DocumentListComponent extends DocumentListDescritor implements OnInit {
|
|
9
|
+
private readonly documentService;
|
|
10
|
+
agenda: AgendaDto;
|
|
11
|
+
wmsSystem: WmsSystem;
|
|
12
|
+
getColumns: any;
|
|
13
|
+
documents: Document[];
|
|
14
|
+
labels: string[];
|
|
15
|
+
constructor(documentService: DocumentService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
private getSystemIntegration;
|
|
18
|
+
private getDocumentBySchedulingId;
|
|
19
|
+
getColumnLabels(): {
|
|
20
|
+
label: string;
|
|
21
|
+
}[];
|
|
22
|
+
isWmsSeniorConnect(): boolean;
|
|
23
|
+
isWmsWIS(): boolean;
|
|
24
|
+
private getLabelsInvoice;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -8,4 +8,5 @@ export declare class DocumentService extends EntityService<DocumentDto> {
|
|
|
8
8
|
protected messageService: MessageService;
|
|
9
9
|
constructor(http: HttpClient, messageService: MessageService);
|
|
10
10
|
findDocuments(input: FindDocumentsInput): import("rxjs/internal/Observable").Observable<Object>;
|
|
11
|
+
getSystemIntegration(): import("rxjs/internal/Observable").Observable<Object>;
|
|
11
12
|
}
|