@seniorsistemas/yms-integration 1.27.2 → 1.28.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 +191 -199
- 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 +41 -43
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +38 -10
- 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 +5 -14
- package/esm5/seniorsistemas-yms-integration.js +41 -43
- package/esm5/src/wms/components/document-grid/document-grid.component.js +39 -12
- 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 +5 -15
- package/fesm2015/seniorsistemas-yms-integration.js +149 -145
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +150 -156
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.d.ts +40 -42
- 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-grid/register-document/register-document.component.d.ts +1 -4
- package/esm2015/src/wms/entities/agenda/agenda.service.js +0 -22
- package/esm2015/src/wms/entities/entity-service.js +0 -4
- package/esm5/src/wms/entities/agenda/agenda.service.js +0 -25
- package/esm5/src/wms/entities/entity-service.js +0 -11
- package/src/wms/entities/agenda/agenda.service.d.ts +0 -9
- package/src/wms/entities/entity-service.d.ts +0 -3
|
@@ -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
|
}
|
|
@@ -4,13 +4,11 @@ import { Document } from '../../../entities/document/document';
|
|
|
4
4
|
import { MessageService } from 'primeng/api';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { Agenda } from '../../../../erp-senior/core/entities/agenda/agenda';
|
|
7
|
-
import { AgendaService } from '../../../entities/agenda/agenda.service';
|
|
8
7
|
import { WmsSystem } from "../../../entities/wms-system/wms-system";
|
|
9
8
|
export declare class RegisterDocumentComponent implements OnInit, OnChanges {
|
|
10
9
|
private readonly fb;
|
|
11
10
|
private readonly messageService;
|
|
12
11
|
private readonly translateService;
|
|
13
|
-
private readonly agendaService;
|
|
14
12
|
viewDocument: Document[];
|
|
15
13
|
edit: boolean;
|
|
16
14
|
agenda: Agenda;
|
|
@@ -20,13 +18,12 @@ export declare class RegisterDocumentComponent implements OnInit, OnChanges {
|
|
|
20
18
|
visibleChange: EventEmitter<{}>;
|
|
21
19
|
formGroup: FormGroup;
|
|
22
20
|
hideSaveButton: boolean;
|
|
23
|
-
constructor(fb: FormBuilder, messageService: MessageService, translateService: TranslateService
|
|
21
|
+
constructor(fb: FormBuilder, messageService: MessageService, translateService: TranslateService);
|
|
24
22
|
ngOnInit(): void;
|
|
25
23
|
ngOnChanges(): void;
|
|
26
24
|
visibilityConfig(): EventEmitter<boolean>;
|
|
27
25
|
close(): void;
|
|
28
26
|
private setValuesFormGroup;
|
|
29
|
-
private setValueForPartner;
|
|
30
27
|
private getFormGroup;
|
|
31
28
|
save(): void;
|
|
32
29
|
private successMessage;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as tslib_1 from "tslib";
|
|
2
|
-
import { Injectable } from "@angular/core";
|
|
3
|
-
import { HttpClient } from "@angular/common/http";
|
|
4
|
-
import { MessageService } from "primeng/components/common/messageservice";
|
|
5
|
-
import { EntityService } from "../entity-service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common/http";
|
|
8
|
-
import * as i2 from "primeng/components/common/messageservice";
|
|
9
|
-
let AgendaService = class AgendaService extends EntityService {
|
|
10
|
-
constructor(http, messageService) {
|
|
11
|
-
super(http, messageService, 'yms/agenda/entities/agenda', '');
|
|
12
|
-
this.http = http;
|
|
13
|
-
this.messageService = messageService;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
AgendaService.ngInjectableDef = i0.defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(i0.inject(i1.HttpClient), i0.inject(i2.MessageService)); }, token: AgendaService, providedIn: "root" });
|
|
17
|
-
AgendaService = tslib_1.__decorate([
|
|
18
|
-
Injectable({ providedIn: 'root' }),
|
|
19
|
-
tslib_1.__metadata("design:paramtypes", [HttpClient, MessageService])
|
|
20
|
-
], AgendaService);
|
|
21
|
-
export { AgendaService };
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yc2lzdGVtYXMveW1zLWludGVncmF0aW9uLyIsInNvdXJjZXMiOlsic3JjL3dtcy9lbnRpdGllcy9hZ2VuZGEvYWdlbmRhLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUUxRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7Ozs7QUFHbEQsSUFBYSxhQUFhLEdBQTFCLE1BQWEsYUFBYyxTQUFRLGFBQXdCO0lBRXZELFlBQXNCLElBQWdCLEVBQVksY0FBOEI7UUFDNUUsS0FBSyxDQUFDLElBQUksRUFBRSxjQUFjLEVBQUUsNEJBQTRCLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFENUMsU0FBSSxHQUFKLElBQUksQ0FBWTtRQUFZ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
|
-
import { EntityService as EntityServiceERP } from "../../erp-senior/core/entities/entity-service";
|
|
2
|
-
export class EntityService extends EntityServiceERP {
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LXNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yc2lzdGVtYXMveW1zLWludGVncmF0aW9uLyIsInNvdXJjZXMiOlsic3JjL3dtcy9lbnRpdGllcy9lbnRpdHktc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxJQUFJLGdCQUFnQixFQUFFLE1BQU0sK0NBQStDLENBQUM7QUFFbEcsTUFBTSxPQUFPLGFBQWlCLFNBQVEsZ0JBQW1CO0NBQ3hEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRW50aXR5U2VydmljZSBhcyBFbnRpdHlTZXJ2aWNlRVJQIH0gZnJvbSBcIi4uLy4uL2VycC1zZW5pb3IvY29yZS9lbnRpdGllcy9lbnRpdHktc2VydmljZVwiO1xuXG5leHBvcnQgY2xhc3MgRW50aXR5U2VydmljZTxUPiBleHRlbmRzIEVudGl0eVNlcnZpY2VFUlA8VD4ge1xufVxuIl19
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as tslib_1 from "tslib";
|
|
2
|
-
import { Injectable } from "@angular/core";
|
|
3
|
-
import { HttpClient } from "@angular/common/http";
|
|
4
|
-
import { MessageService } from "primeng/components/common/messageservice";
|
|
5
|
-
import { EntityService } from "../entity-service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common/http";
|
|
8
|
-
import * as i2 from "primeng/components/common/messageservice";
|
|
9
|
-
var AgendaService = /** @class */ (function (_super) {
|
|
10
|
-
tslib_1.__extends(AgendaService, _super);
|
|
11
|
-
function AgendaService(http, messageService) {
|
|
12
|
-
var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
|
|
13
|
-
_this.http = http;
|
|
14
|
-
_this.messageService = messageService;
|
|
15
|
-
return _this;
|
|
16
|
-
}
|
|
17
|
-
AgendaService.ngInjectableDef = i0.defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(i0.inject(i1.HttpClient), i0.inject(i2.MessageService)); }, token: AgendaService, providedIn: "root" });
|
|
18
|
-
AgendaService = tslib_1.__decorate([
|
|
19
|
-
Injectable({ providedIn: 'root' }),
|
|
20
|
-
tslib_1.__metadata("design:paramtypes", [HttpClient, MessageService])
|
|
21
|
-
], AgendaService);
|
|
22
|
-
return AgendaService;
|
|
23
|
-
}(EntityService));
|
|
24
|
-
export { AgendaService };
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdlbmRhLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yc2lzdGVtYXMveW1zLWludGVncmF0aW9uLyIsInNvdXJjZXMiOlsic3JjL3dtcy9lbnRpdGllcy9hZ2VuZGEvYWdlbmRhLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUUxRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7Ozs7QUFHbEQ7SUFBbUMseUNBQXdCO0lBRXZELHVCQUFzQixJQUFnQixFQUFZLGNBQThCO1FBQWhGLFlBQ0ksa0JBQU0sSUFBSSxFQUFFLGNBQWMsRUFBRSw0QkFBNEIsRUFBRSxFQUFFLENBQUMsU0FDaEU7UUFGcUIsVUFB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hJywgJycpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as tslib_1 from "tslib";
|
|
2
|
-
import { EntityService as EntityServiceERP } from "../../erp-senior/core/entities/entity-service";
|
|
3
|
-
var EntityService = /** @class */ (function (_super) {
|
|
4
|
-
tslib_1.__extends(EntityService, _super);
|
|
5
|
-
function EntityService() {
|
|
6
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
7
|
-
}
|
|
8
|
-
return EntityService;
|
|
9
|
-
}(EntityServiceERP));
|
|
10
|
-
export { EntityService };
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50aXR5LXNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yc2lzdGVtYXMveW1zLWludGVncmF0aW9uLyIsInNvdXJjZXMiOlsic3JjL3dtcy9lbnRpdGllcy9lbnRpdHktc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLGFBQWEsSUFBSSxnQkFBZ0IsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBRWxHO0lBQXNDLHlDQUFtQjtJQUF6RDs7SUFDQSxDQUFDO0lBQUQsb0JBQUM7QUFBRCxDQUFDLEFBREQsQ0FBc0MsZ0JBQWdCLEdBQ3JEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRW50aXR5U2VydmljZSBhcyBFbnRpdHlTZXJ2aWNlRVJQIH0gZnJvbSBcIi4uLy4uL2VycC1zZW5pb3IvY29yZS9lbnRpdGllcy9lbnRpdHktc2VydmljZVwiO1xuXG5leHBvcnQgY2xhc3MgRW50aXR5U2VydmljZTxUPiBleHRlbmRzIEVudGl0eVNlcnZpY2VFUlA8VD4ge1xufVxuIl19
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AgendaDto } from './../../../erp-senior/core/entities/agenda/agenda-dto';
|
|
2
|
-
import { HttpClient } from "@angular/common/http";
|
|
3
|
-
import { MessageService } from "primeng/components/common/messageservice";
|
|
4
|
-
import { EntityService } from "../entity-service";
|
|
5
|
-
export declare class AgendaService extends EntityService<AgendaDto> {
|
|
6
|
-
protected http: HttpClient;
|
|
7
|
-
protected messageService: MessageService;
|
|
8
|
-
constructor(http: HttpClient, messageService: MessageService);
|
|
9
|
-
}
|