@seniorsistemas/yms-integration 1.26.0 → 1.27.0-1be44c52-5aac-4720-ad31-5a37425da711
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 +84 -54
- 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/seniorsistemas-yms-integration.js +47 -46
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +12 -4
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +8 -2
- package/esm2015/src/wms/entities/integration/integration.service.js +20 -0
- package/esm5/seniorsistemas-yms-integration.js +47 -46
- package/esm5/src/wms/components/document-grid/document-grid.component.js +13 -4
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +8 -2
- package/esm5/src/wms/entities/integration/integration.service.js +21 -0
- package/fesm2015/seniorsistemas-yms-integration.js +38 -11
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +38 -9
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.d.ts +46 -45
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/wms/components/document-grid/document-grid.component.d.ts +5 -1
- package/src/wms/entities/integration/integration.service.d.ts +10 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IntegrationService } from './../../entities/integration/integration.service';
|
|
1
2
|
import { DocumentService } from '../../entities/document/document.service';
|
|
2
3
|
import { EventEmitter, OnInit, TemplateRef } from "@angular/core";
|
|
3
4
|
import { TranslateService } from "@ngx-translate/core";
|
|
@@ -10,6 +11,7 @@ export declare class DocumentGridComponent implements OnInit {
|
|
|
10
11
|
private readonly documentService;
|
|
11
12
|
private readonly messageService;
|
|
12
13
|
private readonly confirmationService;
|
|
14
|
+
private readonly integrationService;
|
|
13
15
|
agenda: any;
|
|
14
16
|
wmsSystem: WmsSystem;
|
|
15
17
|
visibleInvoiceKey: boolean;
|
|
@@ -23,6 +25,7 @@ export declare class DocumentGridComponent implements OnInit {
|
|
|
23
25
|
loading: boolean;
|
|
24
26
|
document: Document;
|
|
25
27
|
edit: boolean;
|
|
28
|
+
processType: string;
|
|
26
29
|
private readonly ngUnsubscribe;
|
|
27
30
|
table: Table;
|
|
28
31
|
customTemplate: TemplateRef<any>;
|
|
@@ -30,8 +33,9 @@ export declare class DocumentGridComponent implements OnInit {
|
|
|
30
33
|
customGridColgroup: TemplateRef<any>;
|
|
31
34
|
customGridHeader: TemplateRef<any>;
|
|
32
35
|
customGridBody: TemplateRef<any>;
|
|
33
|
-
constructor(translate: TranslateService, documentService: DocumentService, messageService: MessageService, confirmationService: ConfirmationService);
|
|
36
|
+
constructor(translate: TranslateService, documentService: DocumentService, messageService: MessageService, confirmationService: ConfirmationService, integrationService: IntegrationService);
|
|
34
37
|
ngOnInit(): void;
|
|
38
|
+
private getProcessTypeByScheduling;
|
|
35
39
|
onChangeDocument(document: Document): void;
|
|
36
40
|
getActions(): MenuItem[];
|
|
37
41
|
getProp(obj: any, path: any): any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare class IntegrationService {
|
|
4
|
+
readonly httpClient: HttpClient;
|
|
5
|
+
constructor(httpClient: HttpClient);
|
|
6
|
+
getProcessTypeByScheduling(idSchedulingType: string): Observable<ProcessType>;
|
|
7
|
+
}
|
|
8
|
+
export interface ProcessType {
|
|
9
|
+
processType: string;
|
|
10
|
+
}
|