@seniorsistemas/yms-integration 1.18.4 → 1.19.1-5faa32ff-77ac-459b-a5e6-0b7a1b7fef2a
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 +871 -253
- 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 +4 -1
- package/esm2015/seniorsistemas-yms-integration.js +47 -38
- package/esm2015/src/devices/balancas/balancas.service.js +4 -1
- package/esm2015/src/devices/balancas/visualiar-balanca/visualizar-balanca.component.js +8 -25
- package/esm2015/src/devices/balancas/weightScale.js +1 -1
- package/esm2015/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +163 -0
- package/esm2015/src/wms/components/document-grid/document-grid.module.js +35 -0
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +75 -0
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.module.js +26 -0
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +107 -0
- package/esm2015/src/wms/components/document-grid/register-document/register-document.module.js +32 -0
- package/esm2015/src/wms/entities/agenda/agenda.service.js +22 -0
- package/esm2015/src/wms/entities/document/document-dto.js +1 -0
- package/esm2015/src/wms/entities/document/document.js +39 -0
- package/esm2015/src/wms/entities/document/document.service.js +21 -0
- package/esm2015/src/wms/entities/document/find-documents-input.js +1 -0
- package/esm2015/src/wms/entities/entity-service.js +4 -0
- package/esm2015/src/wms/entities/wms-system/wms-system.js +9 -0
- package/esm2015/src/wms/form/form-wms.component.js +60 -0
- package/esm2015/src/wms/wms.module.js +68 -0
- package/esm5/index.js +4 -1
- package/esm5/seniorsistemas-yms-integration.js +47 -38
- package/esm5/src/devices/balancas/balancas.service.js +4 -1
- package/esm5/src/devices/balancas/visualiar-balanca/visualizar-balanca.component.js +8 -25
- package/esm5/src/devices/balancas/weightScale.js +1 -1
- package/esm5/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
- package/esm5/src/wms/components/document-grid/document-grid.component.js +168 -0
- package/esm5/src/wms/components/document-grid/document-grid.module.js +38 -0
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +77 -0
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.module.js +29 -0
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +109 -0
- package/esm5/src/wms/components/document-grid/register-document/register-document.module.js +35 -0
- package/esm5/src/wms/entities/agenda/agenda.service.js +25 -0
- package/esm5/src/wms/entities/document/document-dto.js +1 -0
- package/esm5/src/wms/entities/document/document.js +44 -0
- package/esm5/src/wms/entities/document/document.service.js +24 -0
- package/esm5/src/wms/entities/document/find-documents-input.js +1 -0
- package/esm5/src/wms/entities/entity-service.js +11 -0
- package/esm5/src/wms/entities/wms-system/wms-system.js +9 -0
- package/esm5/src/wms/form/form-wms.component.js +63 -0
- package/esm5/src/wms/wms.module.js +69 -0
- package/fesm2015/seniorsistemas-yms-integration.js +777 -207
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +810 -204
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.d.ts +46 -37
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/devices/balancas/balancas.service.d.ts +1 -0
- package/src/devices/balancas/visualiar-balanca/visualizar-balanca.component.d.ts +2 -11
- package/src/devices/balancas/weightScale.d.ts +2 -2
- package/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.d.ts +1 -0
- package/src/wms/components/document-grid/document-grid.component.d.ts +43 -0
- package/src/wms/components/document-grid/document-grid.module.d.ts +2 -0
- package/src/wms/components/document-grid/insert-key/insert-key.component.d.ts +22 -0
- package/src/wms/components/document-grid/insert-key/insert-key.module.d.ts +2 -0
- package/src/wms/components/document-grid/register-document/register-document.component.d.ts +28 -0
- package/src/wms/components/document-grid/register-document/register-document.module.d.ts +2 -0
- package/src/wms/entities/agenda/agenda.service.d.ts +9 -0
- package/src/wms/entities/document/document-dto.d.ts +16 -0
- package/src/wms/entities/document/document.d.ts +20 -0
- package/src/wms/entities/document/document.service.d.ts +11 -0
- package/src/wms/entities/document/find-documents-input.d.ts +7 -0
- package/src/wms/entities/entity-service.d.ts +3 -0
- package/src/wms/entities/wms-system/wms-system.d.ts +7 -0
- package/src/wms/form/form-wms.component.d.ts +18 -0
- package/src/wms/wms.module.d.ts +4 -0
|
@@ -2,9 +2,9 @@ import { Subject, throwError, BehaviorSubject, empty, ReplaySubject, NEVER, of,
|
|
|
2
2
|
import { takeUntil, catchError, finalize, map, filter, mergeMap, tap, concatMap, switchMap, debounceTime } from 'rxjs/operators';
|
|
3
3
|
import { __extends, __decorate, __metadata, __assign, __spread, __values, __param } from 'tslib';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { Injectable, Input, Component, NgModule, Output, defineInjectable, inject, EventEmitter,
|
|
5
|
+
import { Injectable, Input, Component, NgModule, Output, defineInjectable, inject, EventEmitter, ViewChild, TemplateRef, InjectionToken, Inject } from '@angular/core';
|
|
6
6
|
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
7
|
-
import { ButtonModule, LoadingStateModule, FieldType, FormField, CustomFieldsModule, ControlErrorsModule, EmptyStateModule, DynamicFormModule, TokenListModule, NumberInputModule, LocaleModule } from '@seniorsistemas/angular-components';
|
|
7
|
+
import { ButtonModule, LoadingStateModule, FieldType, FormField, CustomFieldsModule, ControlErrorsModule, EmptyStateModule, DynamicFormModule, TokenListModule, NumberInputModule, LocaleModule, SidebarModule } from '@seniorsistemas/angular-components';
|
|
8
8
|
import { MessageModule } from 'primeng/message';
|
|
9
9
|
import { TableModule, Table } from 'primeng/table';
|
|
10
10
|
import { HttpParams, HttpClient, HttpClientModule } from '@angular/common/http';
|
|
@@ -12,12 +12,12 @@ import { MessageService, DynamicDialogRef, DynamicDialogConfig, DialogService, C
|
|
|
12
12
|
import { ControleCircuito, ControleOperacao, IntegrationDispatcher, CircuitoFinalizado, ControleUnificado, ChegadaVeiculo, IntegrationEventsCallback, IntegrationModule, ChegadaVeiculoOverride, Agendamento } from '@seniorsistemas/yms-routines';
|
|
13
13
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
14
14
|
import { PermissionsModule } from '@seniorsistemas/platform-components';
|
|
15
|
-
import {
|
|
16
|
-
import { CookieService } from 'ngx-cookie-service';
|
|
15
|
+
import { StompConfig, StompService } from '@stomp/ng2-stompjs';
|
|
17
16
|
import * as SockJS from 'sockjs-client';
|
|
17
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
18
18
|
import { DynamicDialogModule } from 'primeng/components/dynamicdialog/dynamicdialog';
|
|
19
|
-
import { TooltipModule, SharedModule, CardModule, DialogModule, PanelModule, InputTextModule as InputTextModule$1, DropdownModule, ConfirmDialogModule, TabViewModule, CalendarModule } from 'primeng/primeng';
|
|
20
|
-
import { SelectPlantService, SelectPlantModule } from '@seniorsistemas/yms-components';
|
|
19
|
+
import { TooltipModule, SharedModule, CardModule, DialogModule, PanelModule, InputTextModule as InputTextModule$1, DropdownModule, ConfirmDialogModule, TabViewModule, CalendarModule, InputTextareaModule } from 'primeng/primeng';
|
|
20
|
+
import { SelectPlantService, SelectPlantModule, ComponentsModule } from '@seniorsistemas/yms-components';
|
|
21
21
|
import { Router, RouterModule, ActivatedRoute } from '@angular/router';
|
|
22
22
|
import { InputSwitchModule } from 'primeng/inputswitch';
|
|
23
23
|
import { InputTextModule } from 'primeng/inputtext';
|
|
@@ -375,6 +375,9 @@ var BalancasService = /** @class */ (function (_super) {
|
|
|
375
375
|
BalancasService.prototype.fallbackCall = function (balanca, peso) {
|
|
376
376
|
return this.http.post(this.urlBalanca + "actions/manualWeight", { code: balanca, weight: peso }).pipe(this.defaultCatch());
|
|
377
377
|
};
|
|
378
|
+
BalancasService.prototype.getStabilizedWeight = function (code) {
|
|
379
|
+
return this.http.post(this.urlBalanca + "queries/getStabilizedWeight", { code: code }).pipe(this.defaultCatch());
|
|
380
|
+
};
|
|
378
381
|
BalancasService.prototype.getWeightScaleByCode = function (code) {
|
|
379
382
|
var params = {
|
|
380
383
|
displayFields: ["description", "code"],
|
|
@@ -408,13 +411,10 @@ var VisualizarBalancaDescritor = /** @class */ (function () {
|
|
|
408
411
|
}());
|
|
409
412
|
var VisualizarBalancaComponent = /** @class */ (function (_super) {
|
|
410
413
|
__extends(VisualizarBalancaComponent, _super);
|
|
411
|
-
function VisualizarBalancaComponent(service
|
|
414
|
+
function VisualizarBalancaComponent(service) {
|
|
412
415
|
var _this = _super.call(this) || this;
|
|
413
416
|
_this.service = service;
|
|
414
|
-
_this.client = client;
|
|
415
|
-
_this.cookieService = cookieService;
|
|
416
417
|
_this.loading = false;
|
|
417
|
-
_this.websocket = new IntegrationWebSocket(_this.client, _this.cookieService, 'integration');
|
|
418
418
|
_this.unsubscribe$ = new Subject();
|
|
419
419
|
_this.weightScales$ = new BehaviorSubject([]);
|
|
420
420
|
_this.weightScaleValues = new Map();
|
|
@@ -432,19 +432,10 @@ var VisualizarBalancaComponent = /** @class */ (function (_super) {
|
|
|
432
432
|
_this.weightScales$.next(contents);
|
|
433
433
|
contents.forEach(function (value) {
|
|
434
434
|
_this.weightScaleValues.set(value.id, 0);
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
.pipe(map(function (message) { return message.body; }), map(function (body) { return JSON.parse(body).data; }), takeUntil(_this.unsubscribe$))
|
|
440
|
-
.subscribe(function (payload) {
|
|
441
|
-
if (!_this.weightScales$.value.length)
|
|
442
|
-
return;
|
|
443
|
-
var index = _this.weightScales$.value.findIndex(function (value) { return value.id === payload.weightScale.id; });
|
|
444
|
-
if (index < 0)
|
|
445
|
-
return;
|
|
446
|
-
var find = _this.weightScales$.value[index];
|
|
447
|
-
_this.weightScaleValues.set(find.id, payload.weight);
|
|
435
|
+
_this.service.getStabilizedWeight(value.code)
|
|
436
|
+
.subscribe(function (stabilized) {
|
|
437
|
+
_this.weightScaleValues.set(value.id, stabilized.weight);
|
|
438
|
+
});
|
|
448
439
|
});
|
|
449
440
|
});
|
|
450
441
|
};
|
|
@@ -461,9 +452,7 @@ var VisualizarBalancaComponent = /** @class */ (function (_super) {
|
|
|
461
452
|
selector: 'visualizar-balanca-component',
|
|
462
453
|
template: "<div *sLoadingState=\"loading\">\n <p-table [value]=\"weightScales$ | async\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>C\u00F3digo</th>\n <th>Descri\u00E7\u00E3o</th>\n <th>Peso</th>\n </tr>\n </ng-template>\n <ng-template let-rowData pTemplate=\"body\">\n <tr>\n <td>{{rowData.code}}</td>\n <td>{{rowData.description}}</td>\n <td>{{weightScaleValues.get(rowData.id)}}</td>\n </tr>\n </ng-template>\n </p-table>\n</div>"
|
|
463
454
|
}),
|
|
464
|
-
__metadata("design:paramtypes", [BalancasService
|
|
465
|
-
StompService,
|
|
466
|
-
CookieService])
|
|
455
|
+
__metadata("design:paramtypes", [BalancasService])
|
|
467
456
|
], VisualizarBalancaComponent);
|
|
468
457
|
return VisualizarBalancaComponent;
|
|
469
458
|
}(VisualizarBalancaDescritor));
|
|
@@ -1900,6 +1889,16 @@ var VisitanteComponent = /** @class */ (function () {
|
|
|
1900
1889
|
driver: true
|
|
1901
1890
|
});
|
|
1902
1891
|
}
|
|
1892
|
+
if (this.visitors.length > 0) {
|
|
1893
|
+
this.visitors[0].visitor = {
|
|
1894
|
+
name: mot.nome,
|
|
1895
|
+
document: mot.cpf,
|
|
1896
|
+
contact: this.getContatoMotorista(mot),
|
|
1897
|
+
visitorSituation: VisitorSituation.CHECK_IN_PENDING,
|
|
1898
|
+
documentType: this.getDocumentType(),
|
|
1899
|
+
driver: true
|
|
1900
|
+
};
|
|
1901
|
+
}
|
|
1903
1902
|
};
|
|
1904
1903
|
VisitanteComponent.prototype.adicionaVisitantesGrid = function () {
|
|
1905
1904
|
var _this = this;
|
|
@@ -1992,6 +1991,14 @@ var VisitanteComponent = /** @class */ (function () {
|
|
|
1992
1991
|
if (visitor.document === visitante.document) {
|
|
1993
1992
|
visitor.contact = visitante.contact;
|
|
1994
1993
|
visitor.name = visitante.name;
|
|
1994
|
+
var novoVisitante_1 = _this.buildVisitorCredentialsDto(visitor);
|
|
1995
|
+
_this.visitors.forEach(function (result) {
|
|
1996
|
+
if (result.visitor.document === novoVisitante_1.visitor.document) {
|
|
1997
|
+
result.visitor.name = novoVisitante_1.visitor.name;
|
|
1998
|
+
result.visitor.contact = novoVisitante_1.visitor.contact;
|
|
1999
|
+
}
|
|
2000
|
+
});
|
|
2001
|
+
_this.visitorsChange.emit(_this.visitors);
|
|
1995
2002
|
_this.visitorFound = true;
|
|
1996
2003
|
}
|
|
1997
2004
|
});
|
|
@@ -2019,6 +2026,19 @@ var VisitanteComponent = /** @class */ (function () {
|
|
|
2019
2026
|
this.visitorsChange.emit(this.visitors);
|
|
2020
2027
|
this.hasChange.emit(true);
|
|
2021
2028
|
};
|
|
2029
|
+
VisitanteComponent.prototype.buildVisitorCredentialsDto = function (visitor) {
|
|
2030
|
+
var visitorCredentialsDto = new VisitorCredentialsDto();
|
|
2031
|
+
var visitante = {
|
|
2032
|
+
name: visitor.name,
|
|
2033
|
+
document: visitor.document,
|
|
2034
|
+
contact: visitor.contact,
|
|
2035
|
+
documentType: visitor.documentType,
|
|
2036
|
+
visitorSituation: visitor.visitorSituation,
|
|
2037
|
+
driver: false
|
|
2038
|
+
};
|
|
2039
|
+
visitorCredentialsDto.visitor = visitante;
|
|
2040
|
+
return visitorCredentialsDto;
|
|
2041
|
+
};
|
|
2022
2042
|
VisitanteComponent.prototype.model = function (visitante) {
|
|
2023
2043
|
var _this = this;
|
|
2024
2044
|
var isDriver = visitante.document === this.motorista.cpf;
|
|
@@ -2975,6 +2995,190 @@ var VisitorListModule = /** @class */ (function () {
|
|
|
2975
2995
|
return VisitorListModule;
|
|
2976
2996
|
}());
|
|
2977
2997
|
|
|
2998
|
+
var INFORMACAOES_ADICIONAIS_HEADER = "Informações adicionais";
|
|
2999
|
+
var FormWmsDescritor = /** @class */ (function () {
|
|
3000
|
+
function FormWmsDescritor() {
|
|
3001
|
+
}
|
|
3002
|
+
FormWmsDescritor = __decorate([
|
|
3003
|
+
ChegadaVeiculo({
|
|
3004
|
+
header: INFORMACAOES_ADICIONAIS_HEADER,
|
|
3005
|
+
name: 'yms.integracao.wms',
|
|
3006
|
+
icon: 'fa fa-plus'
|
|
3007
|
+
})
|
|
3008
|
+
], FormWmsDescritor);
|
|
3009
|
+
return FormWmsDescritor;
|
|
3010
|
+
}());
|
|
3011
|
+
var FormWmsComponent = /** @class */ (function (_super) {
|
|
3012
|
+
__extends(FormWmsComponent, _super);
|
|
3013
|
+
function FormWmsComponent(integrationCallback) {
|
|
3014
|
+
var _this = _super.call(this) || this;
|
|
3015
|
+
_this.integrationCallback = integrationCallback;
|
|
3016
|
+
_this.save = [];
|
|
3017
|
+
_this.header = INFORMACAOES_ADICIONAIS_HEADER;
|
|
3018
|
+
_this.loading = false;
|
|
3019
|
+
_this.unsubscribe$ = new Subject();
|
|
3020
|
+
_this._integrationCallback = integrationCallback;
|
|
3021
|
+
return _this;
|
|
3022
|
+
}
|
|
3023
|
+
FormWmsComponent.prototype.ngOnInit = function () {
|
|
3024
|
+
var _this = this;
|
|
3025
|
+
this._integrationCallback.onAgendamentoSaved()
|
|
3026
|
+
.pipe(takeUntil(this.unsubscribe$), mergeMap(function (agenda) {
|
|
3027
|
+
_this.agenda = agenda;
|
|
3028
|
+
return empty();
|
|
3029
|
+
}))
|
|
3030
|
+
.subscribe();
|
|
3031
|
+
};
|
|
3032
|
+
FormWmsComponent.prototype.ngOnDestroy = function () {
|
|
3033
|
+
this.unsubscribe$.next();
|
|
3034
|
+
this.unsubscribe$.complete();
|
|
3035
|
+
};
|
|
3036
|
+
__decorate([
|
|
3037
|
+
Output(),
|
|
3038
|
+
__metadata("design:type", Agenda)
|
|
3039
|
+
], FormWmsComponent.prototype, "agenda", void 0);
|
|
3040
|
+
__decorate([
|
|
3041
|
+
Input(),
|
|
3042
|
+
__metadata("design:type", Array)
|
|
3043
|
+
], FormWmsComponent.prototype, "save", void 0);
|
|
3044
|
+
FormWmsComponent = __decorate([
|
|
3045
|
+
Component({
|
|
3046
|
+
template: "\n <div *ngIf=\"agenda\">\n <document-grid [agenda]=\"agenda\"></document-grid>\n </div>\n "
|
|
3047
|
+
}),
|
|
3048
|
+
__metadata("design:paramtypes", [IntegrationEventsCallback])
|
|
3049
|
+
], FormWmsComponent);
|
|
3050
|
+
return FormWmsComponent;
|
|
3051
|
+
}(FormWmsDescritor));
|
|
3052
|
+
|
|
3053
|
+
var DocumentService = /** @class */ (function (_super) {
|
|
3054
|
+
__extends(DocumentService, _super);
|
|
3055
|
+
function DocumentService(http, messageService) {
|
|
3056
|
+
var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
|
|
3057
|
+
_this.http = http;
|
|
3058
|
+
_this.messageService = messageService;
|
|
3059
|
+
return _this;
|
|
3060
|
+
}
|
|
3061
|
+
DocumentService.prototype.findDocuments = function (input) {
|
|
3062
|
+
return this.http.post('yms_int/wms/queries/findDocuments', input);
|
|
3063
|
+
};
|
|
3064
|
+
DocumentService = __decorate([
|
|
3065
|
+
Injectable(),
|
|
3066
|
+
__metadata("design:paramtypes", [HttpClient, MessageService])
|
|
3067
|
+
], DocumentService);
|
|
3068
|
+
return DocumentService;
|
|
3069
|
+
}(EntityService));
|
|
3070
|
+
|
|
3071
|
+
var InsertKeyComponent = /** @class */ (function () {
|
|
3072
|
+
function InsertKeyComponent(formBuilder, documentService, messageService, translate) {
|
|
3073
|
+
this.formBuilder = formBuilder;
|
|
3074
|
+
this.documentService = documentService;
|
|
3075
|
+
this.messageService = messageService;
|
|
3076
|
+
this.translate = translate;
|
|
3077
|
+
this.document = new EventEmitter();
|
|
3078
|
+
}
|
|
3079
|
+
InsertKeyComponent.prototype.ngOnInit = function () {
|
|
3080
|
+
this.formGroup = this.formBuilder.group({
|
|
3081
|
+
key: [undefined]
|
|
3082
|
+
});
|
|
3083
|
+
};
|
|
3084
|
+
InsertKeyComponent.prototype.showInsertKey = function (visible) {
|
|
3085
|
+
this.visible = visible;
|
|
3086
|
+
};
|
|
3087
|
+
InsertKeyComponent.prototype.add = function () {
|
|
3088
|
+
this.visible = false;
|
|
3089
|
+
if (!this.formGroup.get('key').value) {
|
|
3090
|
+
return;
|
|
3091
|
+
}
|
|
3092
|
+
this.searchKey();
|
|
3093
|
+
};
|
|
3094
|
+
InsertKeyComponent.prototype.searchKey = function () {
|
|
3095
|
+
var _this = this;
|
|
3096
|
+
var key = {
|
|
3097
|
+
documentKeys: [this.formGroup.get('key').value],
|
|
3098
|
+
invoices: undefined,
|
|
3099
|
+
logistcUnitName: undefined,
|
|
3100
|
+
size: 0,
|
|
3101
|
+
offset: 0
|
|
3102
|
+
};
|
|
3103
|
+
this.documentService.findDocuments(key).subscribe(function (content) {
|
|
3104
|
+
if (content.totalElements < 1) {
|
|
3105
|
+
_this.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
|
|
3106
|
+
return;
|
|
3107
|
+
}
|
|
3108
|
+
_this.document.emit(content.contents[0]);
|
|
3109
|
+
_this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_insert_key_success_message_description");
|
|
3110
|
+
_this.formGroup.reset();
|
|
3111
|
+
});
|
|
3112
|
+
};
|
|
3113
|
+
InsertKeyComponent.prototype.message = function (success, header, description) {
|
|
3114
|
+
this.messageService.add({
|
|
3115
|
+
severity: success,
|
|
3116
|
+
summary: this.translate.instant(header),
|
|
3117
|
+
detail: this.translate.instant(description),
|
|
3118
|
+
});
|
|
3119
|
+
};
|
|
3120
|
+
InsertKeyComponent.prototype.cancel = function () {
|
|
3121
|
+
this.visible = false;
|
|
3122
|
+
};
|
|
3123
|
+
__decorate([
|
|
3124
|
+
Output(),
|
|
3125
|
+
__metadata("design:type", EventEmitter)
|
|
3126
|
+
], InsertKeyComponent.prototype, "document", void 0);
|
|
3127
|
+
InsertKeyComponent = __decorate([
|
|
3128
|
+
Component({
|
|
3129
|
+
selector: "insert-key",
|
|
3130
|
+
template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\">\n <p-header>{{'yms.insert_key_header' | translate}}</p-header>\n <div class=\"flex py-2 justify-content-center spacing-bottom\">\n <label for=\"key\">{{'yms.insert_key_label'}}</label>\n <input id=\"key\" class=\"size-input\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"separator\"></div>\n <div class=\"spacing-top\">\n <s-button pButton label=\"{{'save' | translate}}\" (click)=\"add()\"></s-button>\n <s-button\n type=\"button\"\n class=\"ui-button-link\"\n pButton label=\"{{'cancel' | translate}}\"\n (click)=\"cancel()\">\n </s-button>\n </div>\n </p-dialog>\n</form>",
|
|
3131
|
+
styles: [".spacing-top{margin-top:10px}.spacing-bottom{margin-bottom:10px}.separator{width:100%;margin:5px 0;height:1px;background-color:#ccc}.size-input{width:550px}"]
|
|
3132
|
+
}),
|
|
3133
|
+
__metadata("design:paramtypes", [FormBuilder,
|
|
3134
|
+
DocumentService,
|
|
3135
|
+
MessageService,
|
|
3136
|
+
TranslateService])
|
|
3137
|
+
], InsertKeyComponent);
|
|
3138
|
+
return InsertKeyComponent;
|
|
3139
|
+
}());
|
|
3140
|
+
|
|
3141
|
+
var moment$4 = _moment;
|
|
3142
|
+
var Document = /** @class */ (function () {
|
|
3143
|
+
function Document() {
|
|
3144
|
+
}
|
|
3145
|
+
Document.fromDto = function (documentDto, originEntity) {
|
|
3146
|
+
var model = __assign({}, documentDto);
|
|
3147
|
+
model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
|
|
3148
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
|
|
3149
|
+
var lookupSeparator = " - ";
|
|
3150
|
+
var displayFields = [
|
|
3151
|
+
"id",
|
|
3152
|
+
"schedulingId",
|
|
3153
|
+
"invoiceKey",
|
|
3154
|
+
"invoiceNumber",
|
|
3155
|
+
"invoiceSerialNumber",
|
|
3156
|
+
"systemIntegration",
|
|
3157
|
+
"logistcUnitName",
|
|
3158
|
+
"logistcUnitDocument",
|
|
3159
|
+
"ownerName",
|
|
3160
|
+
"ownerDocument",
|
|
3161
|
+
"partnerName",
|
|
3162
|
+
"partnerDocument",
|
|
3163
|
+
"notes",
|
|
3164
|
+
"orderReceivingCode",
|
|
3165
|
+
"createdBy",
|
|
3166
|
+
"createdDate",
|
|
3167
|
+
"lastModifiedBy",
|
|
3168
|
+
"lastModifiedDate",
|
|
3169
|
+
];
|
|
3170
|
+
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
3171
|
+
return model;
|
|
3172
|
+
};
|
|
3173
|
+
Document.toDto = function (document, originEntity) {
|
|
3174
|
+
var dto = __assign({}, document);
|
|
3175
|
+
dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
|
|
3176
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
|
|
3177
|
+
return dto;
|
|
3178
|
+
};
|
|
3179
|
+
return Document;
|
|
3180
|
+
}());
|
|
3181
|
+
|
|
2978
3182
|
var EntityService$1 = /** @class */ (function () {
|
|
2979
3183
|
function EntityService(http, messageService, entityUrl, actionsUrl) {
|
|
2980
3184
|
this.http = http;
|
|
@@ -3069,9 +3273,411 @@ var EntityService$1 = /** @class */ (function () {
|
|
|
3069
3273
|
return EntityService;
|
|
3070
3274
|
}());
|
|
3071
3275
|
|
|
3276
|
+
var EntityService$2 = /** @class */ (function (_super) {
|
|
3277
|
+
__extends(EntityService, _super);
|
|
3278
|
+
function EntityService() {
|
|
3279
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3280
|
+
}
|
|
3281
|
+
return EntityService;
|
|
3282
|
+
}(EntityService$1));
|
|
3283
|
+
|
|
3284
|
+
var AgendaService = /** @class */ (function (_super) {
|
|
3285
|
+
__extends(AgendaService, _super);
|
|
3286
|
+
function AgendaService(http, messageService) {
|
|
3287
|
+
var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
|
|
3288
|
+
_this.http = http;
|
|
3289
|
+
_this.messageService = messageService;
|
|
3290
|
+
return _this;
|
|
3291
|
+
}
|
|
3292
|
+
AgendaService.ngInjectableDef = defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(inject(HttpClient), inject(MessageService$1)); }, token: AgendaService, providedIn: "root" });
|
|
3293
|
+
AgendaService = __decorate([
|
|
3294
|
+
Injectable({ providedIn: 'root' }),
|
|
3295
|
+
__metadata("design:paramtypes", [HttpClient, MessageService$1])
|
|
3296
|
+
], AgendaService);
|
|
3297
|
+
return AgendaService;
|
|
3298
|
+
}(EntityService$2));
|
|
3299
|
+
|
|
3300
|
+
var RegisterDocumentComponent = /** @class */ (function () {
|
|
3301
|
+
function RegisterDocumentComponent(fb, messageService, translateService, agendaService) {
|
|
3302
|
+
this.fb = fb;
|
|
3303
|
+
this.messageService = messageService;
|
|
3304
|
+
this.translateService = translateService;
|
|
3305
|
+
this.agendaService = agendaService;
|
|
3306
|
+
this.document = new EventEmitter();
|
|
3307
|
+
}
|
|
3308
|
+
RegisterDocumentComponent.prototype.ngOnInit = function () {
|
|
3309
|
+
this.getFormGroup();
|
|
3310
|
+
};
|
|
3311
|
+
RegisterDocumentComponent.prototype.showRegister = function (isVisible, isEdit, document) {
|
|
3312
|
+
if (!isVisible && !isEdit) {
|
|
3313
|
+
return;
|
|
3314
|
+
}
|
|
3315
|
+
this.visible = isVisible;
|
|
3316
|
+
this.edit = isEdit;
|
|
3317
|
+
if (!this.edit) {
|
|
3318
|
+
this.formGroup.disable();
|
|
3319
|
+
this.setValuesFormGroup(document);
|
|
3320
|
+
this.setValueForPartner();
|
|
3321
|
+
this.hideSaveButton = true;
|
|
3322
|
+
}
|
|
3323
|
+
};
|
|
3324
|
+
RegisterDocumentComponent.prototype.close = function () {
|
|
3325
|
+
this.visible = false;
|
|
3326
|
+
};
|
|
3327
|
+
RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
|
|
3328
|
+
this.formGroup.get('invoiceKey').setValue(document.invoiceKey);
|
|
3329
|
+
this.formGroup.get('invoiceNumber').setValue(document.invoiceNumber);
|
|
3330
|
+
this.formGroup.get('invoiceSerialNumber').setValue(document.invoiceSerialNumber);
|
|
3331
|
+
this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
|
|
3332
|
+
this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
|
|
3333
|
+
this.formGroup.get('notes').setValue(document.notes);
|
|
3334
|
+
this.formGroup.get('orderReceivingCode').setValue(document.orderReceivingCode);
|
|
3335
|
+
this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
|
|
3336
|
+
this.formGroup.get('ownerName').setValue(document.ownerName);
|
|
3337
|
+
};
|
|
3338
|
+
RegisterDocumentComponent.prototype.setValueForPartner = function () {
|
|
3339
|
+
var _this = this;
|
|
3340
|
+
this.agendaService.get(this.agenda.id).subscribe(function (agenda) {
|
|
3341
|
+
_this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
|
|
3342
|
+
_this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
|
|
3343
|
+
});
|
|
3344
|
+
};
|
|
3345
|
+
RegisterDocumentComponent.prototype.getFormGroup = function () {
|
|
3346
|
+
this.formGroup = this.fb.group({
|
|
3347
|
+
invoiceKey: [undefined, Validators.required],
|
|
3348
|
+
schedulingId: [undefined],
|
|
3349
|
+
invoiceNumber: [undefined],
|
|
3350
|
+
invoiceSerialNumber: [undefined],
|
|
3351
|
+
logistcUnitName: [undefined],
|
|
3352
|
+
logistcUnitDocument: [undefined],
|
|
3353
|
+
ownerName: [undefined],
|
|
3354
|
+
ownerDocument: [undefined],
|
|
3355
|
+
partnerName: [undefined],
|
|
3356
|
+
partnerDocument: [undefined],
|
|
3357
|
+
notes: [undefined],
|
|
3358
|
+
orderReceivingCode: [undefined],
|
|
3359
|
+
});
|
|
3360
|
+
};
|
|
3361
|
+
RegisterDocumentComponent.prototype.save = function () {
|
|
3362
|
+
var value = this.formGroup.getRawValue();
|
|
3363
|
+
if (value.id === undefined) {
|
|
3364
|
+
if (this.agenda.id !== undefined) {
|
|
3365
|
+
value.schedulingId = this.agenda.id;
|
|
3366
|
+
}
|
|
3367
|
+
this.document.emit(Document.fromDto(value));
|
|
3368
|
+
this.successMessage();
|
|
3369
|
+
this.visible = false;
|
|
3370
|
+
}
|
|
3371
|
+
};
|
|
3372
|
+
RegisterDocumentComponent.prototype.successMessage = function () {
|
|
3373
|
+
this.messageService.add({
|
|
3374
|
+
severity: "success",
|
|
3375
|
+
summary: this.translateService.instant("saved_message_title"),
|
|
3376
|
+
detail: this.translateService.instant("saved_message_content"),
|
|
3377
|
+
});
|
|
3378
|
+
};
|
|
3379
|
+
__decorate([
|
|
3380
|
+
Input(),
|
|
3381
|
+
__metadata("design:type", Agenda)
|
|
3382
|
+
], RegisterDocumentComponent.prototype, "agenda", void 0);
|
|
3383
|
+
__decorate([
|
|
3384
|
+
Output(),
|
|
3385
|
+
__metadata("design:type", EventEmitter)
|
|
3386
|
+
], RegisterDocumentComponent.prototype, "document", void 0);
|
|
3387
|
+
RegisterDocumentComponent = __decorate([
|
|
3388
|
+
Component({
|
|
3389
|
+
selector: "register-document",
|
|
3390
|
+
template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }}\"\n (visibleChange)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6 required\">\n <label for=\"invoiceKey\">{{'yms.int.wms_register_document_invoice_key' | translate}}</label>\n <input id=\"invoiceKey\" pInputText type=\"text\" formControlName=\"invoiceKey\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceNumber\">{{'yms.int.wms_register_document_invoice_number' | translate}}</label>\n <input id=\"invoiceNumber\" pInputText type=\"text\" formControlName=\"invoiceNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceSerialNumber\">\n {{'yms.int.wms_register_document_invoice_serial_number' | translate}}\n </label>\n <input id=\"invoiceSerialNumber\" pInputText type=\"text\" formControlName=\"invoiceSerialNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitName\">{{'yms.int.wms_register_document_logistc_unit_name' | translate}}</label>\n <input id=\"logistcUnitName\" pInputText type=\"text\" formControlName=\"logistcUnitName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitDocument\">\n {{'yms.int.wms_register_document_logistc_unit_document' | translate}}\n </label>\n <input id=\"logistcUnitDocument\" pInputText type=\"text\" formControlName=\"logistcUnitDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"documentOwnerName\">{{'yms.int.wms_register_document_owner_name' | translate}}</label>\n <input id=\"documentOwnerName\" pInputText type=\"text\" formControlName=\"ownerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"ownerDocument\">{{'yms.int.wms_register_document_owner_document' | translate}}</label>\n <input id=\"ownerDocument\" pInputText type=\"text\" formControlName=\"ownerDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerName\">{{'yms.int.wms_register_document_partner_name' | translate}}</label>\n <input id=\"partnerName\" pInputText type=\"text\" formControlName=\"partnerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerDocument\">{{'yms.int.wms_register_document_partner_document' | translate}}</label>\n <input id=\"partnerDocument\" pInputText type=\"text\" formControlName=\"partnerDocument\">\n </div>\n <div class=\"ui-g-12\">\n <label for=\"notes\" id=\"notes\">{{'yms.int.wms_register_document_notes' | translate}}</label>\n <textarea id=\"notes\" rows=\"5\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-6\">\n <label for=\"orderReceivingCode\">\n {{'yms.int.wms_register_document_order_receiving_code' | translate}}\n </label>\n <input id=\"orderReceivingCode\" pInputText type=\"text\" formControlName=\"orderReceivingCode\">\n </div>\n </div>\n </form>\n <div class=\"space-between\">\n <button\n pButton label=\"{{'save' | translate}}\" (click)=\"save()\" [attr.data-hidden]=\"hideSaveButton\">\n </button>\n <button\n type=\"button\" class=\"ui-button-link\" pButton label=\"{{'cancel' | translate}}\" (click)=\"close()\">\n </button>\n </div>\n</s-sidebar>"
|
|
3391
|
+
}),
|
|
3392
|
+
__metadata("design:paramtypes", [FormBuilder,
|
|
3393
|
+
MessageService,
|
|
3394
|
+
TranslateService,
|
|
3395
|
+
AgendaService])
|
|
3396
|
+
], RegisterDocumentComponent);
|
|
3397
|
+
return RegisterDocumentComponent;
|
|
3398
|
+
}());
|
|
3399
|
+
|
|
3400
|
+
var DocumentGridComponent = /** @class */ (function () {
|
|
3401
|
+
function DocumentGridComponent(translate, documentService, messageService) {
|
|
3402
|
+
this.translate = translate;
|
|
3403
|
+
this.documentService = documentService;
|
|
3404
|
+
this.messageService = messageService;
|
|
3405
|
+
this.ngUnsubscribe = new Subject();
|
|
3406
|
+
}
|
|
3407
|
+
DocumentGridComponent.prototype.ngOnInit = function () {
|
|
3408
|
+
this.gridColumns = this.getGridColumns();
|
|
3409
|
+
this.listDocuments();
|
|
3410
|
+
};
|
|
3411
|
+
DocumentGridComponent.prototype.onChangeDocument = function (document) {
|
|
3412
|
+
this.gridData.push(document);
|
|
3413
|
+
this.disabled = true;
|
|
3414
|
+
};
|
|
3415
|
+
DocumentGridComponent.prototype.getActions = function () {
|
|
3416
|
+
var _this = this;
|
|
3417
|
+
return [
|
|
3418
|
+
{
|
|
3419
|
+
label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
|
|
3420
|
+
command: function () {
|
|
3421
|
+
_this.registerDocumentComponent.showRegister(false, false);
|
|
3422
|
+
_this.showInsertKey = true;
|
|
3423
|
+
_this.insertKeyComponent.showInsertKey(_this.showInsertKey);
|
|
3424
|
+
},
|
|
3425
|
+
icon: "fa fa-search"
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
label: this.translate.instant("yms.int.wms_add_document_register"),
|
|
3429
|
+
command: function () {
|
|
3430
|
+
_this.insertKeyComponent.showInsertKey(false);
|
|
3431
|
+
_this.showRegisterDocument = true;
|
|
3432
|
+
_this.registerDocumentComponent.showRegister(_this.showRegisterDocument, true);
|
|
3433
|
+
},
|
|
3434
|
+
icon: "fas fa-pen-square"
|
|
3435
|
+
}
|
|
3436
|
+
];
|
|
3437
|
+
};
|
|
3438
|
+
DocumentGridComponent.prototype.getProp = function (obj, path) {
|
|
3439
|
+
return path.split(".").reduce(function (result, prop) { return (result[prop] === undefined ? "" : result[prop]); }, obj);
|
|
3440
|
+
};
|
|
3441
|
+
DocumentGridComponent.prototype.view = function () {
|
|
3442
|
+
var documentSelectec = this.selection;
|
|
3443
|
+
this.showRegisterDocument = true;
|
|
3444
|
+
this.registerDocumentComponent.showRegister(this.showRegisterDocument, false, documentSelectec);
|
|
3445
|
+
};
|
|
3446
|
+
DocumentGridComponent.prototype.save = function () {
|
|
3447
|
+
var _this = this;
|
|
3448
|
+
if (this.gridData.length > 1) {
|
|
3449
|
+
this.gridData.forEach(function (data) {
|
|
3450
|
+
if (!data.id) {
|
|
3451
|
+
if (!data.schedulingId) {
|
|
3452
|
+
data.schedulingId = _this.agenda.id;
|
|
3453
|
+
}
|
|
3454
|
+
_this.documentService.insert(data).subscribe(function () {
|
|
3455
|
+
_this.message("success", "saved_message_title", "saved_message_content");
|
|
3456
|
+
});
|
|
3457
|
+
_this.disabled = true;
|
|
3458
|
+
}
|
|
3459
|
+
});
|
|
3460
|
+
}
|
|
3461
|
+
};
|
|
3462
|
+
DocumentGridComponent.prototype.onDelete = function (selection) {
|
|
3463
|
+
var _this = this;
|
|
3464
|
+
if (!selection.id) {
|
|
3465
|
+
return;
|
|
3466
|
+
}
|
|
3467
|
+
this.documentService.delete(selection.id)
|
|
3468
|
+
.pipe(takeUntil(this.ngUnsubscribe), finalize(function () {
|
|
3469
|
+
_this.listDocuments();
|
|
3470
|
+
})).
|
|
3471
|
+
subscribe(function () { return _this.message("success", "deleted_message_title", "deleted_message_content"); });
|
|
3472
|
+
};
|
|
3473
|
+
DocumentGridComponent.prototype.listDocuments = function () {
|
|
3474
|
+
var _this = this;
|
|
3475
|
+
this.documentService.list({
|
|
3476
|
+
filterQuery: "schedulingId eq '" + this.agenda.id + "'"
|
|
3477
|
+
})
|
|
3478
|
+
.subscribe(function (contents) {
|
|
3479
|
+
if (contents.totalElements > 0) {
|
|
3480
|
+
_this.gridData = contents.contents;
|
|
3481
|
+
_this.documentTotalRecords = contents.totalElements;
|
|
3482
|
+
}
|
|
3483
|
+
else {
|
|
3484
|
+
_this.disabled = true;
|
|
3485
|
+
}
|
|
3486
|
+
_this.loading = false;
|
|
3487
|
+
});
|
|
3488
|
+
};
|
|
3489
|
+
DocumentGridComponent.prototype.getGridColumns = function () {
|
|
3490
|
+
return [
|
|
3491
|
+
{ field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
|
|
3492
|
+
{ field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
|
|
3493
|
+
{ field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
|
|
3494
|
+
{ field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
|
|
3495
|
+
{ field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
|
|
3496
|
+
{ field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
|
|
3497
|
+
{ field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
|
|
3498
|
+
{ field: "orderReceivingCode", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
|
|
3499
|
+
];
|
|
3500
|
+
};
|
|
3501
|
+
DocumentGridComponent.prototype.message = function (severity, summary, detail) {
|
|
3502
|
+
this.messageService.add({
|
|
3503
|
+
severity: severity,
|
|
3504
|
+
summary: this.translate.instant(summary),
|
|
3505
|
+
detail: this.translate.instant(detail),
|
|
3506
|
+
});
|
|
3507
|
+
};
|
|
3508
|
+
__decorate([
|
|
3509
|
+
Input(),
|
|
3510
|
+
__metadata("design:type", Object)
|
|
3511
|
+
], DocumentGridComponent.prototype, "agenda", void 0);
|
|
3512
|
+
__decorate([
|
|
3513
|
+
ViewChild("documentTable"),
|
|
3514
|
+
__metadata("design:type", Table)
|
|
3515
|
+
], DocumentGridComponent.prototype, "table", void 0);
|
|
3516
|
+
__decorate([
|
|
3517
|
+
ViewChild("customTemplate"),
|
|
3518
|
+
__metadata("design:type", TemplateRef)
|
|
3519
|
+
], DocumentGridComponent.prototype, "customTemplate", void 0);
|
|
3520
|
+
__decorate([
|
|
3521
|
+
ViewChild("customFilterFields"),
|
|
3522
|
+
__metadata("design:type", TemplateRef)
|
|
3523
|
+
], DocumentGridComponent.prototype, "customFilterFields", void 0);
|
|
3524
|
+
__decorate([
|
|
3525
|
+
ViewChild("customGridColgroup"),
|
|
3526
|
+
__metadata("design:type", TemplateRef)
|
|
3527
|
+
], DocumentGridComponent.prototype, "customGridColgroup", void 0);
|
|
3528
|
+
__decorate([
|
|
3529
|
+
ViewChild("customGridHeader"),
|
|
3530
|
+
__metadata("design:type", TemplateRef)
|
|
3531
|
+
], DocumentGridComponent.prototype, "customGridHeader", void 0);
|
|
3532
|
+
__decorate([
|
|
3533
|
+
ViewChild("customGridBody"),
|
|
3534
|
+
__metadata("design:type", TemplateRef)
|
|
3535
|
+
], DocumentGridComponent.prototype, "customGridBody", void 0);
|
|
3536
|
+
__decorate([
|
|
3537
|
+
ViewChild("registerDocument"),
|
|
3538
|
+
__metadata("design:type", RegisterDocumentComponent)
|
|
3539
|
+
], DocumentGridComponent.prototype, "registerDocumentComponent", void 0);
|
|
3540
|
+
__decorate([
|
|
3541
|
+
ViewChild("insertKey"),
|
|
3542
|
+
__metadata("design:type", InsertKeyComponent)
|
|
3543
|
+
], DocumentGridComponent.prototype, "insertKeyComponent", void 0);
|
|
3544
|
+
DocumentGridComponent = __decorate([
|
|
3545
|
+
Component({
|
|
3546
|
+
selector: 'document-grid',
|
|
3547
|
+
template: "<p-panel>\n <p-header>\n <div class=\"buttons\">\n <div>\n <s-button\n label=\"{{'yms.int.wms_add_document' | translate}}\"\n priority=\"primary\"\n [model]=\"getActions()\"\n [auxiliary]=\"false\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_view_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || disabled\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || disabled\"\n (click)=\"onDelete(selection)\">\n </s-button>\n </div>\n <s-button\n id=\"refresh-button\"\n priority=\"default\"\n iconClass=\"fa fa-refresh\"\n (onClick)=\"listDocuments()\"\n >\n </s-button>\n </div>\n </p-header>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\" *ngIf=\"gridData && gridData.length; else emptyList\">\n <p-table #documentTable [value]=\"gridData\"\n [columns]=\"gridColumns\" dataKey=\"id\" [lazy]=\"true\" [scrollable]=\"true\" [resizableColumns]=\"true\"\n sortMode=\"single\" [paginator]=\"true\" [totalRecords]=\"documentTotalRecords\" rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\" [(selection)]=\"selection\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\"/>\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th id=\"col\" *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\" pResizableColumn>\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.header }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns let-expanded=\"expanded\">\n <tr [pSelectableRow]=\"rowData\">\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceKey\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceSerialNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"orderReceivingCode\"] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document #registerDocument (document)=\"onChangeDocument($event)\" [agenda]=\"agenda\"></register-document>\n <insert-key #insertKey (document)=\"onChangeDocument($event)\"></insert-key>\n</p-panel>\n<div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"!disabled\" (click)=\"save()\">\n </s-button>\n</div>\n\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'yms.dock.area_dock_empty_state_title' | translate\"\n [description]=\"'yms.dock.area_dock_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n",
|
|
3548
|
+
styles: [".buttons{display:flex;justify-content:space-between}.center{flex-direction:column;text-align:center}.ui-g{display:block}.button-save{margin:5px 0}#refresh-button{color:#fff}"]
|
|
3549
|
+
}),
|
|
3550
|
+
__metadata("design:paramtypes", [TranslateService,
|
|
3551
|
+
DocumentService,
|
|
3552
|
+
MessageService])
|
|
3553
|
+
], DocumentGridComponent);
|
|
3554
|
+
return DocumentGridComponent;
|
|
3555
|
+
}());
|
|
3556
|
+
|
|
3557
|
+
var RegisterDocumentModule = /** @class */ (function () {
|
|
3558
|
+
function RegisterDocumentModule() {
|
|
3559
|
+
}
|
|
3560
|
+
RegisterDocumentModule = __decorate([
|
|
3561
|
+
NgModule({
|
|
3562
|
+
imports: [
|
|
3563
|
+
CommonModule,
|
|
3564
|
+
SidebarModule,
|
|
3565
|
+
ButtonModule,
|
|
3566
|
+
PanelModule,
|
|
3567
|
+
ConfirmDialogModule,
|
|
3568
|
+
TranslateModule,
|
|
3569
|
+
InputTextModule$1,
|
|
3570
|
+
ControlErrorsModule,
|
|
3571
|
+
InputTextareaModule,
|
|
3572
|
+
ReactiveFormsModule
|
|
3573
|
+
],
|
|
3574
|
+
exports: [RegisterDocumentComponent],
|
|
3575
|
+
declarations: [RegisterDocumentComponent],
|
|
3576
|
+
providers: [DocumentService]
|
|
3577
|
+
})
|
|
3578
|
+
], RegisterDocumentModule);
|
|
3579
|
+
return RegisterDocumentModule;
|
|
3580
|
+
}());
|
|
3581
|
+
|
|
3582
|
+
var InsertKeyModule = /** @class */ (function () {
|
|
3583
|
+
function InsertKeyModule() {
|
|
3584
|
+
}
|
|
3585
|
+
InsertKeyModule = __decorate([
|
|
3586
|
+
NgModule({
|
|
3587
|
+
imports: [
|
|
3588
|
+
CommonModule,
|
|
3589
|
+
ReactiveFormsModule,
|
|
3590
|
+
ButtonModule,
|
|
3591
|
+
TranslateModule,
|
|
3592
|
+
DialogModule,
|
|
3593
|
+
InputTextModule$1
|
|
3594
|
+
],
|
|
3595
|
+
exports: [InsertKeyComponent],
|
|
3596
|
+
declarations: [InsertKeyComponent]
|
|
3597
|
+
})
|
|
3598
|
+
], InsertKeyModule);
|
|
3599
|
+
return InsertKeyModule;
|
|
3600
|
+
}());
|
|
3601
|
+
|
|
3602
|
+
var DocumentGridModule = /** @class */ (function () {
|
|
3603
|
+
function DocumentGridModule() {
|
|
3604
|
+
}
|
|
3605
|
+
DocumentGridModule = __decorate([
|
|
3606
|
+
NgModule({
|
|
3607
|
+
declarations: [DocumentGridComponent],
|
|
3608
|
+
entryComponents: [DocumentGridComponent],
|
|
3609
|
+
exports: [DocumentGridComponent],
|
|
3610
|
+
imports: [
|
|
3611
|
+
CommonModule,
|
|
3612
|
+
TranslateModule,
|
|
3613
|
+
ButtonModule,
|
|
3614
|
+
PanelModule,
|
|
3615
|
+
TableModule,
|
|
3616
|
+
RegisterDocumentModule,
|
|
3617
|
+
InsertKeyModule,
|
|
3618
|
+
ButtonModule$1,
|
|
3619
|
+
ComponentsModule,
|
|
3620
|
+
EmptyStateModule
|
|
3621
|
+
],
|
|
3622
|
+
})
|
|
3623
|
+
], DocumentGridModule);
|
|
3624
|
+
return DocumentGridModule;
|
|
3625
|
+
}());
|
|
3626
|
+
|
|
3627
|
+
var WmsModule = /** @class */ (function () {
|
|
3628
|
+
function WmsModule(dispatcher) {
|
|
3629
|
+
dispatcher.dispatch(FormWmsComponent);
|
|
3630
|
+
}
|
|
3631
|
+
WmsModule = __decorate([
|
|
3632
|
+
NgModule({
|
|
3633
|
+
declarations: [FormWmsComponent],
|
|
3634
|
+
entryComponents: [FormWmsComponent],
|
|
3635
|
+
exports: [FormWmsComponent],
|
|
3636
|
+
imports: [
|
|
3637
|
+
IntegrationModule,
|
|
3638
|
+
DocumentGridModule,
|
|
3639
|
+
CommonModule,
|
|
3640
|
+
TranslateModule,
|
|
3641
|
+
FormsModule,
|
|
3642
|
+
ButtonModule,
|
|
3643
|
+
SharedModule,
|
|
3644
|
+
CardModule,
|
|
3645
|
+
ButtonModule$1,
|
|
3646
|
+
ReactiveFormsModule,
|
|
3647
|
+
SharedModule$1,
|
|
3648
|
+
CustomFieldsModule,
|
|
3649
|
+
ControlErrorsModule,
|
|
3650
|
+
DialogModule,
|
|
3651
|
+
EmptyStateModule,
|
|
3652
|
+
DynamicFormModule,
|
|
3653
|
+
TokenListModule,
|
|
3654
|
+
PanelModule,
|
|
3655
|
+
InputTextModule$1,
|
|
3656
|
+
DropdownModule,
|
|
3657
|
+
ButtonModule,
|
|
3658
|
+
LoadingStateModule,
|
|
3659
|
+
NumberInputModule,
|
|
3660
|
+
ConfirmDialogModule,
|
|
3661
|
+
LocaleModule,
|
|
3662
|
+
PermissionsModule,
|
|
3663
|
+
DynamicDialogModule,
|
|
3664
|
+
TableModule,
|
|
3665
|
+
TabViewModule,
|
|
3666
|
+
CalendarModule,
|
|
3667
|
+
],
|
|
3668
|
+
providers: [
|
|
3669
|
+
FieldCustomizationService,
|
|
3670
|
+
FocusService
|
|
3671
|
+
]
|
|
3672
|
+
}),
|
|
3673
|
+
__metadata("design:paramtypes", [IntegrationDispatcher])
|
|
3674
|
+
], WmsModule);
|
|
3675
|
+
return WmsModule;
|
|
3676
|
+
}());
|
|
3677
|
+
|
|
3072
3678
|
var ERP_ENVIRONMENT = new InjectionToken('integration_environment');
|
|
3073
3679
|
|
|
3074
|
-
var AgendaService = /** @class */ (function (_super) {
|
|
3680
|
+
var AgendaService$1 = /** @class */ (function (_super) {
|
|
3075
3681
|
__extends(AgendaService, _super);
|
|
3076
3682
|
function AgendaService(http, messageService, environment) {
|
|
3077
3683
|
var _this = _super.call(this, http, messageService, environment.project.domain + "/" + environment.project.service + "/entities/agenda", environment.project.domain + "/" + environment.project.service + "/actions") || this;
|
|
@@ -3172,7 +3778,7 @@ var RecebimentoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
3172
3778
|
RecebimentoChegadaVeiculoOverride = __decorate([
|
|
3173
3779
|
Injectable(),
|
|
3174
3780
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
3175
|
-
AgendaService,
|
|
3781
|
+
AgendaService$1,
|
|
3176
3782
|
RecebimentoContratoService])
|
|
3177
3783
|
], RecebimentoChegadaVeiculoOverride);
|
|
3178
3784
|
return RecebimentoChegadaVeiculoOverride;
|
|
@@ -3236,7 +3842,7 @@ var ExpedicaoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
3236
3842
|
ExpedicaoChegadaVeiculoOverride = __decorate([
|
|
3237
3843
|
Injectable(),
|
|
3238
3844
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
3239
|
-
AgendaService,
|
|
3845
|
+
AgendaService$1,
|
|
3240
3846
|
ExpedicaoService])
|
|
3241
3847
|
], ExpedicaoChegadaVeiculoOverride);
|
|
3242
3848
|
return ExpedicaoChegadaVeiculoOverride;
|
|
@@ -3453,7 +4059,7 @@ var OrdemCompraService = /** @class */ (function (_super) {
|
|
|
3453
4059
|
return OrdemCompraService;
|
|
3454
4060
|
}(EntityService$1));
|
|
3455
4061
|
|
|
3456
|
-
var moment$
|
|
4062
|
+
var moment$5 = _moment;
|
|
3457
4063
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3458
4064
|
var Empresa = /** @class */ (function () {
|
|
3459
4065
|
function Empresa() {
|
|
@@ -3462,8 +4068,8 @@ var Empresa = /** @class */ (function () {
|
|
|
3462
4068
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3463
4069
|
Empresa.fromDto = function (empresaDto, originEntity) {
|
|
3464
4070
|
var model = __assign({}, empresaDto);
|
|
3465
|
-
model.createdDate = model.createdDate && moment$
|
|
3466
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4071
|
+
model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
|
|
4072
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
|
|
3467
4073
|
var lookupSeparator = " - ";
|
|
3468
4074
|
var displayFields = [
|
|
3469
4075
|
"codigo",
|
|
@@ -3475,8 +4081,8 @@ var Empresa = /** @class */ (function () {
|
|
|
3475
4081
|
};
|
|
3476
4082
|
Empresa.toDto = function (empresa, originEntity) {
|
|
3477
4083
|
var dto = __assign({}, empresa);
|
|
3478
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3479
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4084
|
+
dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
|
|
4085
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
|
|
3480
4086
|
delete dto.label;
|
|
3481
4087
|
return dto;
|
|
3482
4088
|
};
|
|
@@ -3485,7 +4091,7 @@ var Empresa = /** @class */ (function () {
|
|
|
3485
4091
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3486
4092
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3487
4093
|
|
|
3488
|
-
var moment$
|
|
4094
|
+
var moment$6 = _moment;
|
|
3489
4095
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3490
4096
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3491
4097
|
var Pessoa = /** @class */ (function () {
|
|
@@ -3495,8 +4101,8 @@ var Pessoa = /** @class */ (function () {
|
|
|
3495
4101
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3496
4102
|
Pessoa.fromDto = function (pessoaDto, originEntity) {
|
|
3497
4103
|
var model = __assign({}, pessoaDto);
|
|
3498
|
-
model.createdDate = model.createdDate && moment$
|
|
3499
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4104
|
+
model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
|
|
4105
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
|
|
3500
4106
|
var lookupSeparator = " - ";
|
|
3501
4107
|
var displayFields = [
|
|
3502
4108
|
"codigo",
|
|
@@ -3508,8 +4114,8 @@ var Pessoa = /** @class */ (function () {
|
|
|
3508
4114
|
};
|
|
3509
4115
|
Pessoa.toDto = function (pessoa, originEntity) {
|
|
3510
4116
|
var dto = __assign({}, pessoa);
|
|
3511
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3512
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4117
|
+
dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
|
|
4118
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
|
|
3513
4119
|
delete dto.label;
|
|
3514
4120
|
return dto;
|
|
3515
4121
|
};
|
|
@@ -3518,7 +4124,7 @@ var Pessoa = /** @class */ (function () {
|
|
|
3518
4124
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3519
4125
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3520
4126
|
|
|
3521
|
-
var moment$
|
|
4127
|
+
var moment$7 = _moment;
|
|
3522
4128
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3523
4129
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3524
4130
|
var PessoaJuridica = /** @class */ (function () {
|
|
@@ -3528,8 +4134,8 @@ var PessoaJuridica = /** @class */ (function () {
|
|
|
3528
4134
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3529
4135
|
PessoaJuridica.fromDto = function (pessoaJuridicaDto, originEntity) {
|
|
3530
4136
|
var model = __assign({}, pessoaJuridicaDto);
|
|
3531
|
-
model.createdDate = model.createdDate && moment$
|
|
3532
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4137
|
+
model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
|
|
4138
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
|
|
3533
4139
|
var lookupSeparator = " - ";
|
|
3534
4140
|
var displayFields = [
|
|
3535
4141
|
"id",
|
|
@@ -3556,8 +4162,8 @@ var PessoaJuridica = /** @class */ (function () {
|
|
|
3556
4162
|
};
|
|
3557
4163
|
PessoaJuridica.toDto = function (pessoaJuridica, originEntity) {
|
|
3558
4164
|
var dto = __assign({}, pessoaJuridica);
|
|
3559
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3560
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4165
|
+
dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
|
|
4166
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
|
|
3561
4167
|
delete dto.label;
|
|
3562
4168
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
3563
4169
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaJuridica");
|
|
@@ -3568,7 +4174,7 @@ var PessoaJuridica = /** @class */ (function () {
|
|
|
3568
4174
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3569
4175
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3570
4176
|
|
|
3571
|
-
var moment$
|
|
4177
|
+
var moment$8 = _moment;
|
|
3572
4178
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3573
4179
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3574
4180
|
var Pais = /** @class */ (function () {
|
|
@@ -3578,8 +4184,8 @@ var Pais = /** @class */ (function () {
|
|
|
3578
4184
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3579
4185
|
Pais.fromDto = function (paisDto, originEntity) {
|
|
3580
4186
|
var model = __assign({}, paisDto);
|
|
3581
|
-
model.createdDate = model.createdDate && moment$
|
|
3582
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4187
|
+
model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
|
|
4188
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
|
|
3583
4189
|
var lookupSeparator = " - ";
|
|
3584
4190
|
var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
3585
4191
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -3587,8 +4193,8 @@ var Pais = /** @class */ (function () {
|
|
|
3587
4193
|
};
|
|
3588
4194
|
Pais.toDto = function (pais, originEntity) {
|
|
3589
4195
|
var dto = __assign({}, pais);
|
|
3590
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3591
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4196
|
+
dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
|
|
4197
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
|
|
3592
4198
|
delete dto.label;
|
|
3593
4199
|
return dto;
|
|
3594
4200
|
};
|
|
@@ -3597,7 +4203,7 @@ var Pais = /** @class */ (function () {
|
|
|
3597
4203
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3598
4204
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3599
4205
|
|
|
3600
|
-
var moment$
|
|
4206
|
+
var moment$9 = _moment;
|
|
3601
4207
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3602
4208
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3603
4209
|
var Estado = /** @class */ (function () {
|
|
@@ -3607,8 +4213,8 @@ var Estado = /** @class */ (function () {
|
|
|
3607
4213
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3608
4214
|
Estado.fromDto = function (estadoDto, originEntity) {
|
|
3609
4215
|
var model = __assign({}, estadoDto);
|
|
3610
|
-
model.createdDate = model.createdDate && moment$
|
|
3611
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4216
|
+
model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
|
|
4217
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
|
|
3612
4218
|
var lookupSeparator = " - ";
|
|
3613
4219
|
var displayFields = [
|
|
3614
4220
|
"id",
|
|
@@ -3630,8 +4236,8 @@ var Estado = /** @class */ (function () {
|
|
|
3630
4236
|
};
|
|
3631
4237
|
Estado.toDto = function (estado, originEntity) {
|
|
3632
4238
|
var dto = __assign({}, estado);
|
|
3633
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3634
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4239
|
+
dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
|
|
4240
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
|
|
3635
4241
|
delete dto.label;
|
|
3636
4242
|
if (originEntity !== "Pais" && dto.pais)
|
|
3637
4243
|
dto.pais = Pais.toDto(dto.pais, "Estado");
|
|
@@ -3642,7 +4248,7 @@ var Estado = /** @class */ (function () {
|
|
|
3642
4248
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3643
4249
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3644
4250
|
|
|
3645
|
-
var moment$
|
|
4251
|
+
var moment$a = _moment;
|
|
3646
4252
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3647
4253
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3648
4254
|
var Cidade = /** @class */ (function () {
|
|
@@ -3652,8 +4258,8 @@ var Cidade = /** @class */ (function () {
|
|
|
3652
4258
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3653
4259
|
Cidade.fromDto = function (cidadeDto, originEntity) {
|
|
3654
4260
|
var model = __assign({}, cidadeDto);
|
|
3655
|
-
model.createdDate = model.createdDate && moment$
|
|
3656
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4261
|
+
model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
|
|
4262
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
|
|
3657
4263
|
var lookupSeparator = " - ";
|
|
3658
4264
|
var displayFields = [
|
|
3659
4265
|
"id",
|
|
@@ -3674,8 +4280,8 @@ var Cidade = /** @class */ (function () {
|
|
|
3674
4280
|
};
|
|
3675
4281
|
Cidade.toDto = function (cidade, originEntity) {
|
|
3676
4282
|
var dto = __assign({}, cidade);
|
|
3677
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3678
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4283
|
+
dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
|
|
4284
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
|
|
3679
4285
|
delete dto.label;
|
|
3680
4286
|
if (originEntity !== "Estado" && dto.estado)
|
|
3681
4287
|
dto.estado = Estado.toDto(dto.estado, "Cidade");
|
|
@@ -3686,14 +4292,14 @@ var Cidade = /** @class */ (function () {
|
|
|
3686
4292
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3687
4293
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3688
4294
|
|
|
3689
|
-
var moment$
|
|
4295
|
+
var moment$b = _moment;
|
|
3690
4296
|
var PessoaEndereco = /** @class */ (function () {
|
|
3691
4297
|
function PessoaEndereco() {
|
|
3692
4298
|
}
|
|
3693
4299
|
PessoaEndereco.fromDto = function (pessoaEnderecoDto, originEntity) {
|
|
3694
4300
|
var model = __assign({}, pessoaEnderecoDto);
|
|
3695
|
-
model.createdDate = model.createdDate && moment$
|
|
3696
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4301
|
+
model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
|
|
4302
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
|
|
3697
4303
|
var lookupSeparator = " - ";
|
|
3698
4304
|
var displayFields = [
|
|
3699
4305
|
"codigo",
|
|
@@ -3709,8 +4315,8 @@ var PessoaEndereco = /** @class */ (function () {
|
|
|
3709
4315
|
};
|
|
3710
4316
|
PessoaEndereco.toDto = function (pessoaEndereco, originEntity) {
|
|
3711
4317
|
var dto = __assign({}, pessoaEndereco);
|
|
3712
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3713
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4318
|
+
dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
|
|
4319
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
|
|
3714
4320
|
delete dto.label;
|
|
3715
4321
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
3716
4322
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaEndereco");
|
|
@@ -3721,7 +4327,7 @@ var PessoaEndereco = /** @class */ (function () {
|
|
|
3721
4327
|
return PessoaEndereco;
|
|
3722
4328
|
}());
|
|
3723
4329
|
|
|
3724
|
-
var moment$
|
|
4330
|
+
var moment$c = _moment;
|
|
3725
4331
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3726
4332
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3727
4333
|
var Filial = /** @class */ (function () {
|
|
@@ -3731,8 +4337,8 @@ var Filial = /** @class */ (function () {
|
|
|
3731
4337
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3732
4338
|
Filial.fromDto = function (filialDto, originEntity) {
|
|
3733
4339
|
var model = __assign({}, filialDto);
|
|
3734
|
-
model.createdDate = model.createdDate && moment$
|
|
3735
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4340
|
+
model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
|
|
4341
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
|
|
3736
4342
|
var lookupSeparator = " - ";
|
|
3737
4343
|
var displayFields = [
|
|
3738
4344
|
"codigo",
|
|
@@ -3750,8 +4356,8 @@ var Filial = /** @class */ (function () {
|
|
|
3750
4356
|
};
|
|
3751
4357
|
Filial.toDto = function (filial, originEntity) {
|
|
3752
4358
|
var dto = __assign({}, filial);
|
|
3753
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3754
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4359
|
+
dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
|
|
4360
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
|
|
3755
4361
|
delete dto.label;
|
|
3756
4362
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
3757
4363
|
dto.empresa = Empresa.toDto(dto.empresa, "Filial");
|
|
@@ -3766,14 +4372,14 @@ var Filial = /** @class */ (function () {
|
|
|
3766
4372
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3767
4373
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3768
4374
|
|
|
3769
|
-
var moment$
|
|
4375
|
+
var moment$d = _moment;
|
|
3770
4376
|
var OrdemCompra = /** @class */ (function () {
|
|
3771
4377
|
function OrdemCompra() {
|
|
3772
4378
|
}
|
|
3773
4379
|
OrdemCompra.fromDto = function (ordemCompraDto, originEntity) {
|
|
3774
4380
|
var model = __assign({}, ordemCompraDto);
|
|
3775
|
-
model.createdDate = model.createdDate && moment$
|
|
3776
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4381
|
+
model.createdDate = model.createdDate && moment$d(model.createdDate).toDate();
|
|
4382
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$d(model.lastModifiedDate).toDate();
|
|
3777
4383
|
var lookupSeparator = " - ";
|
|
3778
4384
|
var displayFields = [
|
|
3779
4385
|
"codigo",
|
|
@@ -3789,8 +4395,8 @@ var OrdemCompra = /** @class */ (function () {
|
|
|
3789
4395
|
};
|
|
3790
4396
|
OrdemCompra.toDto = function (ordemCompra, originEntity) {
|
|
3791
4397
|
var dto = __assign({}, ordemCompra);
|
|
3792
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3793
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4398
|
+
dto.createdDate = dto.createdDate && moment$d(dto.createdDate).format();
|
|
4399
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$d(dto.lastModifiedDate).format();
|
|
3794
4400
|
delete dto.label;
|
|
3795
4401
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
3796
4402
|
dto.empresa = Empresa.toDto(dto.empresa, "Produto");
|
|
@@ -3801,7 +4407,7 @@ var OrdemCompra = /** @class */ (function () {
|
|
|
3801
4407
|
return OrdemCompra;
|
|
3802
4408
|
}());
|
|
3803
4409
|
|
|
3804
|
-
var moment$
|
|
4410
|
+
var moment$e = _moment;
|
|
3805
4411
|
var OrdemCompraFormComponent = /** @class */ (function () {
|
|
3806
4412
|
function OrdemCompraFormComponent(dialogRef, dialogConfig, ordemCompraService, translate, fb, route) {
|
|
3807
4413
|
this.dialogRef = dialogRef;
|
|
@@ -3880,7 +4486,7 @@ var OrdemCompraFormComponent = /** @class */ (function () {
|
|
|
3880
4486
|
if (filial && filial.empresa && filial.empresa.id) {
|
|
3881
4487
|
filter.empresaId = filial.empresa.id;
|
|
3882
4488
|
}
|
|
3883
|
-
filter.dataEmissao = filter.dataEmissao && moment$
|
|
4489
|
+
filter.dataEmissao = filter.dataEmissao && moment$e(filter.dataEmissao).format("YYYY-MM-DD");
|
|
3884
4490
|
var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
|
|
3885
4491
|
this.ordemCompraService
|
|
3886
4492
|
.listOrdensCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, ordensCompraSelecionados: this.ordensCompra, pagina: {
|
|
@@ -4244,7 +4850,7 @@ var AgendaModule = /** @class */ (function () {
|
|
|
4244
4850
|
]),
|
|
4245
4851
|
],
|
|
4246
4852
|
providers: [
|
|
4247
|
-
AgendaService,
|
|
4853
|
+
AgendaService$1,
|
|
4248
4854
|
],
|
|
4249
4855
|
declarations: [
|
|
4250
4856
|
/*{CA:MODULE_DECLARATIONS:START}*/
|
|
@@ -6111,13 +6717,13 @@ var DevolucaoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
6111
6717
|
DevolucaoChegadaVeiculoOverride = __decorate([
|
|
6112
6718
|
Injectable(),
|
|
6113
6719
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
6114
|
-
AgendaService,
|
|
6720
|
+
AgendaService$1,
|
|
6115
6721
|
DevolucaoService])
|
|
6116
6722
|
], DevolucaoChegadaVeiculoOverride);
|
|
6117
6723
|
return DevolucaoChegadaVeiculoOverride;
|
|
6118
6724
|
}());
|
|
6119
6725
|
|
|
6120
|
-
var moment$
|
|
6726
|
+
var moment$f = _moment;
|
|
6121
6727
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6122
6728
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6123
6729
|
var UnidadeMedida = /** @class */ (function () {
|
|
@@ -6127,8 +6733,8 @@ var UnidadeMedida = /** @class */ (function () {
|
|
|
6127
6733
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6128
6734
|
UnidadeMedida.fromDto = function (unidadeMedidaDto, originEntity) {
|
|
6129
6735
|
var model = __assign({}, unidadeMedidaDto);
|
|
6130
|
-
model.createdDate = model.createdDate && moment$
|
|
6131
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6736
|
+
model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
|
|
6737
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
|
|
6132
6738
|
var lookupSeparator = " - ";
|
|
6133
6739
|
var displayFields = [
|
|
6134
6740
|
"id",
|
|
@@ -6145,8 +6751,8 @@ var UnidadeMedida = /** @class */ (function () {
|
|
|
6145
6751
|
};
|
|
6146
6752
|
UnidadeMedida.toDto = function (unidadeMedida, originEntity) {
|
|
6147
6753
|
var dto = __assign({}, unidadeMedida);
|
|
6148
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6149
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6754
|
+
dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
|
|
6755
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
|
|
6150
6756
|
delete dto.label;
|
|
6151
6757
|
return dto;
|
|
6152
6758
|
};
|
|
@@ -6155,7 +6761,7 @@ var UnidadeMedida = /** @class */ (function () {
|
|
|
6155
6761
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6156
6762
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6157
6763
|
|
|
6158
|
-
var moment$
|
|
6764
|
+
var moment$g = _moment;
|
|
6159
6765
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6160
6766
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6161
6767
|
var Royalty = /** @class */ (function () {
|
|
@@ -6165,8 +6771,8 @@ var Royalty = /** @class */ (function () {
|
|
|
6165
6771
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6166
6772
|
Royalty.fromDto = function (royaltyDto, originEntity) {
|
|
6167
6773
|
var model = __assign({}, royaltyDto);
|
|
6168
|
-
model.createdDate = model.createdDate && moment$
|
|
6169
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6774
|
+
model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
|
|
6775
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
|
|
6170
6776
|
var lookupSeparator = " - ";
|
|
6171
6777
|
var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
6172
6778
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -6176,8 +6782,8 @@ var Royalty = /** @class */ (function () {
|
|
|
6176
6782
|
};
|
|
6177
6783
|
Royalty.toDto = function (royalty, originEntity) {
|
|
6178
6784
|
var dto = __assign({}, royalty);
|
|
6179
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6180
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6785
|
+
dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
|
|
6786
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
|
|
6181
6787
|
delete dto.label;
|
|
6182
6788
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6183
6789
|
dto.empresa = Empresa.toDto(dto.empresa, "Royalty");
|
|
@@ -6188,7 +6794,7 @@ var Royalty = /** @class */ (function () {
|
|
|
6188
6794
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6189
6795
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6190
6796
|
|
|
6191
|
-
var moment$
|
|
6797
|
+
var moment$h = _moment;
|
|
6192
6798
|
var FamiliaProduto = /** @class */ (function () {
|
|
6193
6799
|
function FamiliaProduto() {
|
|
6194
6800
|
}
|
|
@@ -6197,9 +6803,9 @@ var FamiliaProduto = /** @class */ (function () {
|
|
|
6197
6803
|
return familiaProdutoDto;
|
|
6198
6804
|
}
|
|
6199
6805
|
var model = __assign({}, familiaProdutoDto);
|
|
6200
|
-
model.createdDate = model.codigo && moment$
|
|
6201
|
-
model.createdDate = model.createdDate && moment$
|
|
6202
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6806
|
+
model.createdDate = model.codigo && moment$h(model.createdDate).toDate();
|
|
6807
|
+
model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
|
|
6808
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
|
|
6203
6809
|
var lookupSeparator = " - ";
|
|
6204
6810
|
var displayFields = ["id", "codigo", "descricao", "situacao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
6205
6811
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -6209,8 +6815,8 @@ var FamiliaProduto = /** @class */ (function () {
|
|
|
6209
6815
|
};
|
|
6210
6816
|
FamiliaProduto.toDto = function (familiaProduto, originEntity) {
|
|
6211
6817
|
var dto = __assign({}, familiaProduto);
|
|
6212
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6213
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6818
|
+
dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
|
|
6819
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
|
|
6214
6820
|
delete dto.label;
|
|
6215
6821
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6216
6822
|
dto.empresa = Empresa.toDto(dto.empresa, "FamiliaProduto");
|
|
@@ -6219,7 +6825,7 @@ var FamiliaProduto = /** @class */ (function () {
|
|
|
6219
6825
|
return FamiliaProduto;
|
|
6220
6826
|
}());
|
|
6221
6827
|
|
|
6222
|
-
var moment$
|
|
6828
|
+
var moment$i = _moment;
|
|
6223
6829
|
var Produto = /** @class */ (function () {
|
|
6224
6830
|
function Produto() {
|
|
6225
6831
|
this.produtoMisto = false;
|
|
@@ -6227,8 +6833,8 @@ var Produto = /** @class */ (function () {
|
|
|
6227
6833
|
}
|
|
6228
6834
|
Produto.fromDto = function (produtoDto, originEntity) {
|
|
6229
6835
|
var model = __assign({}, produtoDto);
|
|
6230
|
-
model.createdDate = model.createdDate && moment$
|
|
6231
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6836
|
+
model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
|
|
6837
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
|
|
6232
6838
|
var lookupSeparator = " - ";
|
|
6233
6839
|
var displayFields = [
|
|
6234
6840
|
"codigo",
|
|
@@ -6249,8 +6855,8 @@ var Produto = /** @class */ (function () {
|
|
|
6249
6855
|
};
|
|
6250
6856
|
Produto.toDto = function (produto, originEntity) {
|
|
6251
6857
|
var dto = __assign({}, produto);
|
|
6252
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6253
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6858
|
+
dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
|
|
6859
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
|
|
6254
6860
|
delete dto.label;
|
|
6255
6861
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6256
6862
|
dto.empresa = Empresa.toDto(dto.empresa, "Produto");
|
|
@@ -6267,7 +6873,7 @@ var Produto = /** @class */ (function () {
|
|
|
6267
6873
|
return Produto;
|
|
6268
6874
|
}());
|
|
6269
6875
|
|
|
6270
|
-
var moment$
|
|
6876
|
+
var moment$j = _moment;
|
|
6271
6877
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6272
6878
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6273
6879
|
var Derivacao = /** @class */ (function () {
|
|
@@ -6277,8 +6883,8 @@ var Derivacao = /** @class */ (function () {
|
|
|
6277
6883
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6278
6884
|
Derivacao.fromDto = function (derivacaoDto, originEntity) {
|
|
6279
6885
|
var model = __assign({}, derivacaoDto);
|
|
6280
|
-
model.createdDate = model.createdDate && moment$
|
|
6281
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6886
|
+
model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
|
|
6887
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
|
|
6282
6888
|
var lookupSeparator = " - ";
|
|
6283
6889
|
var displayFields = ["codigo", "descricao"];
|
|
6284
6890
|
model.label = getLookupLabel(model, displayFields, lookupSeparator);
|
|
@@ -6290,8 +6896,8 @@ var Derivacao = /** @class */ (function () {
|
|
|
6290
6896
|
};
|
|
6291
6897
|
Derivacao.toDto = function (derivacao, originEntity) {
|
|
6292
6898
|
var dto = __assign({}, derivacao);
|
|
6293
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6294
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6899
|
+
dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
|
|
6900
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
|
|
6295
6901
|
delete dto.label;
|
|
6296
6902
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6297
6903
|
dto.empresa = Empresa.toDto(dto.empresa, "Derivacao");
|
|
@@ -6304,7 +6910,7 @@ var Derivacao = /** @class */ (function () {
|
|
|
6304
6910
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6305
6911
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6306
6912
|
|
|
6307
|
-
var moment$
|
|
6913
|
+
var moment$k = _moment;
|
|
6308
6914
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6309
6915
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6310
6916
|
var Transportadora = /** @class */ (function () {
|
|
@@ -6314,8 +6920,8 @@ var Transportadora = /** @class */ (function () {
|
|
|
6314
6920
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6315
6921
|
Transportadora.fromDto = function (transportadoraDto, originEntity) {
|
|
6316
6922
|
var model = __assign({}, transportadoraDto);
|
|
6317
|
-
model.createdDate = model.createdDate && moment$
|
|
6318
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6923
|
+
model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
|
|
6924
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
|
|
6319
6925
|
var lookupSeparator = " - ";
|
|
6320
6926
|
var displayFields = [
|
|
6321
6927
|
"codigo", "pessoa.nome", "pessoa.cpfCnpj"
|
|
@@ -6329,8 +6935,8 @@ var Transportadora = /** @class */ (function () {
|
|
|
6329
6935
|
};
|
|
6330
6936
|
Transportadora.toDto = function (transportadora, originEntity) {
|
|
6331
6937
|
var dto = __assign({}, transportadora);
|
|
6332
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6333
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6938
|
+
dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
|
|
6939
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
|
|
6334
6940
|
delete dto.label;
|
|
6335
6941
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
6336
6942
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "Transportadora");
|
|
@@ -6343,7 +6949,7 @@ var Transportadora = /** @class */ (function () {
|
|
|
6343
6949
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6344
6950
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6345
6951
|
|
|
6346
|
-
var moment$
|
|
6952
|
+
var moment$l = _moment;
|
|
6347
6953
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6348
6954
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6349
6955
|
var Devolucao = /** @class */ (function () {
|
|
@@ -6353,8 +6959,8 @@ var Devolucao = /** @class */ (function () {
|
|
|
6353
6959
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6354
6960
|
Devolucao.fromDto = function (devolucaoDto, originEntity) {
|
|
6355
6961
|
var model = __assign({}, devolucaoDto);
|
|
6356
|
-
model.createdDate = model.createdDate && moment$
|
|
6357
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6962
|
+
model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
|
|
6963
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
|
|
6358
6964
|
var lookupSeparator = " - ";
|
|
6359
6965
|
var displayFields = [
|
|
6360
6966
|
''
|
|
@@ -6378,8 +6984,8 @@ var Devolucao = /** @class */ (function () {
|
|
|
6378
6984
|
};
|
|
6379
6985
|
Devolucao.toDto = function (devolucao, originEntity) {
|
|
6380
6986
|
var dto = __assign({}, devolucao);
|
|
6381
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6382
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6987
|
+
dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
|
|
6988
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
|
|
6383
6989
|
delete dto.label;
|
|
6384
6990
|
if (originEntity !== "Pessoa" && dto.fornecedor)
|
|
6385
6991
|
dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Devolucao");
|
|
@@ -7076,7 +7682,7 @@ var DevolucaoFormComponent = /** @class */ (function () {
|
|
|
7076
7682
|
ActivatedRoute,
|
|
7077
7683
|
DevolucaoChegadaVeiculoOverride,
|
|
7078
7684
|
ConfirmationService,
|
|
7079
|
-
AgendaService,
|
|
7685
|
+
AgendaService$1,
|
|
7080
7686
|
ErpProcessService,
|
|
7081
7687
|
ErpFormConfigService,
|
|
7082
7688
|
HasChangeService])
|
|
@@ -7122,7 +7728,7 @@ var DevolucaoInfoComponent = /** @class */ (function () {
|
|
|
7122
7728
|
|
|
7123
7729
|
/*{CA:PACKAGE_IMPORTS:START}*/
|
|
7124
7730
|
/*{CA:PACKAGE_IMPORTS:END}*/
|
|
7125
|
-
var moment$
|
|
7731
|
+
var moment$m = _moment;
|
|
7126
7732
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
7127
7733
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
7128
7734
|
var Expedicao = /** @class */ (function () {
|
|
@@ -7132,8 +7738,8 @@ var Expedicao = /** @class */ (function () {
|
|
|
7132
7738
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
7133
7739
|
Expedicao.fromDto = function (expedicaoDto, originEntity) {
|
|
7134
7740
|
var model = __assign({}, expedicaoDto);
|
|
7135
|
-
model.createdDate = model.createdDate && moment$
|
|
7136
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
7741
|
+
model.createdDate = model.createdDate && moment$m(model.createdDate).toDate();
|
|
7742
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$m(model.lastModifiedDate).toDate();
|
|
7137
7743
|
var lookupSeparator = " - ";
|
|
7138
7744
|
var displayFields = [
|
|
7139
7745
|
"id",
|
|
@@ -7172,8 +7778,8 @@ var Expedicao = /** @class */ (function () {
|
|
|
7172
7778
|
};
|
|
7173
7779
|
Expedicao.toDto = function (expedicao, originEntity) {
|
|
7174
7780
|
var dto = __assign({}, expedicao);
|
|
7175
|
-
dto.createdDate = dto.createdDate && moment$
|
|
7176
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
7781
|
+
dto.createdDate = dto.createdDate && moment$m(dto.createdDate).format();
|
|
7782
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$m(dto.lastModifiedDate).format();
|
|
7177
7783
|
delete dto.label;
|
|
7178
7784
|
if (originEntity !== "Pessoa" && dto.clienteFaturamento)
|
|
7179
7785
|
dto.clienteFaturamento = Pessoa.toDto(dto.clienteFaturamento, "Recebimento");
|
|
@@ -7190,7 +7796,7 @@ var Expedicao = /** @class */ (function () {
|
|
|
7190
7796
|
return Expedicao;
|
|
7191
7797
|
}());
|
|
7192
7798
|
|
|
7193
|
-
var moment$
|
|
7799
|
+
var moment$n = _moment;
|
|
7194
7800
|
var ExpedicaoFormComponent = /** @class */ (function () {
|
|
7195
7801
|
function ExpedicaoFormComponent(expedicaoService, router, route, messageService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, pessoaService, filialService, transportadoraService, pedidoVendaService, pedidoVendaItemService, agendaService, override, confirmationService, erpProcessService, erpFormConfigService, hasChangeService) {
|
|
7196
7802
|
this.expedicaoService = expedicaoService;
|
|
@@ -7740,11 +8346,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
7740
8346
|
if (typeof value == "number")
|
|
7741
8347
|
return name + " eq " + value;
|
|
7742
8348
|
else if (type == FieldType.Date)
|
|
7743
|
-
return name + " eq '" + moment$
|
|
8349
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7744
8350
|
else if (type == FieldType.Time)
|
|
7745
|
-
return name + " eq '" + moment$
|
|
8351
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7746
8352
|
else if (type == FieldType.DateTime)
|
|
7747
|
-
return name + " eq '" + moment$
|
|
8353
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7748
8354
|
else if (type == FieldType.Enum)
|
|
7749
8355
|
return name + " eq '" + value + "'";
|
|
7750
8356
|
else if (type == FieldType.String)
|
|
@@ -7796,11 +8402,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
7796
8402
|
if (typeof value == "number")
|
|
7797
8403
|
return name + " eq " + value;
|
|
7798
8404
|
else if (type == FieldType.Date)
|
|
7799
|
-
return name + " eq '" + moment$
|
|
8405
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7800
8406
|
else if (type == FieldType.Time)
|
|
7801
|
-
return name + " eq '" + moment$
|
|
8407
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7802
8408
|
else if (type == FieldType.DateTime)
|
|
7803
|
-
return name + " eq '" + moment$
|
|
8409
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7804
8410
|
else if (type == FieldType.Enum)
|
|
7805
8411
|
return name + " eq '" + value + "'";
|
|
7806
8412
|
else if (type == FieldType.String)
|
|
@@ -7927,11 +8533,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
7927
8533
|
if (typeof value == "number")
|
|
7928
8534
|
return name + " eq " + value;
|
|
7929
8535
|
else if (type == FieldType.Date)
|
|
7930
|
-
return name + " eq '" + moment$
|
|
8536
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7931
8537
|
else if (type == FieldType.Time)
|
|
7932
|
-
return name + " eq '" + moment$
|
|
8538
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7933
8539
|
else if (type == FieldType.DateTime)
|
|
7934
|
-
return name + " eq '" + moment$
|
|
8540
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7935
8541
|
else if (type == FieldType.String)
|
|
7936
8542
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
7937
8543
|
else
|
|
@@ -8120,11 +8726,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
8120
8726
|
if (typeof value == "number")
|
|
8121
8727
|
return name + " eq " + value;
|
|
8122
8728
|
else if (type == FieldType.Date)
|
|
8123
|
-
return name + " eq '" + moment$
|
|
8729
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
8124
8730
|
else if (type == FieldType.Time)
|
|
8125
|
-
return name + " eq '" + moment$
|
|
8731
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
8126
8732
|
else if (type == FieldType.DateTime)
|
|
8127
|
-
return name + " eq '" + moment$
|
|
8733
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
8128
8734
|
else if (type == FieldType.String)
|
|
8129
8735
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
8130
8736
|
else
|
|
@@ -8166,11 +8772,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
8166
8772
|
if (typeof value == "number")
|
|
8167
8773
|
return name + " eq " + value;
|
|
8168
8774
|
else if (type == FieldType.Date)
|
|
8169
|
-
return name + " eq '" + moment$
|
|
8775
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
8170
8776
|
else if (type == FieldType.Time)
|
|
8171
|
-
return name + " eq '" + moment$
|
|
8777
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
8172
8778
|
else if (type == FieldType.DateTime)
|
|
8173
|
-
return name + " eq '" + moment$
|
|
8779
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
8174
8780
|
else if (type == FieldType.Enum)
|
|
8175
8781
|
return name + " eq '" + value + "'";
|
|
8176
8782
|
else if (type == FieldType.String)
|
|
@@ -8657,7 +9263,7 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
8657
9263
|
TransportadoraService,
|
|
8658
9264
|
PedidoVendaService,
|
|
8659
9265
|
PedidoVendaItemService,
|
|
8660
|
-
AgendaService,
|
|
9266
|
+
AgendaService$1,
|
|
8661
9267
|
ExpedicaoChegadaVeiculoOverride,
|
|
8662
9268
|
ConfirmationService,
|
|
8663
9269
|
ErpProcessService,
|
|
@@ -8938,7 +9544,7 @@ var ProcessoAvulsoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
8938
9544
|
ProcessoAvulsoChegadaVeiculoOverride = __decorate([
|
|
8939
9545
|
Injectable(),
|
|
8940
9546
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
8941
|
-
AgendaService,
|
|
9547
|
+
AgendaService$1,
|
|
8942
9548
|
ProcessoAvulsoService])
|
|
8943
9549
|
], ProcessoAvulsoChegadaVeiculoOverride);
|
|
8944
9550
|
return ProcessoAvulsoChegadaVeiculoOverride;
|
|
@@ -9244,7 +9850,7 @@ var ProcessoAvulsoFormComponent = /** @class */ (function () {
|
|
|
9244
9850
|
ProcessoAvulsoChegadaVeiculoOverride,
|
|
9245
9851
|
TranslateService,
|
|
9246
9852
|
ConfirmationService,
|
|
9247
|
-
AgendaService,
|
|
9853
|
+
AgendaService$1,
|
|
9248
9854
|
ErpProcessService,
|
|
9249
9855
|
ErpFormConfigService,
|
|
9250
9856
|
HasChangeService])
|
|
@@ -9287,7 +9893,7 @@ var ProcessoAvulsoInfoComponent = /** @class */ (function () {
|
|
|
9287
9893
|
return ProcessoAvulsoInfoComponent;
|
|
9288
9894
|
}());
|
|
9289
9895
|
|
|
9290
|
-
var moment$
|
|
9896
|
+
var moment$o = _moment;
|
|
9291
9897
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
9292
9898
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
9293
9899
|
var Safra = /** @class */ (function () {
|
|
@@ -9297,10 +9903,10 @@ var Safra = /** @class */ (function () {
|
|
|
9297
9903
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
9298
9904
|
Safra.fromDto = function (safraDto, originEntity) {
|
|
9299
9905
|
var model = __assign({}, safraDto);
|
|
9300
|
-
model.competenciaInicial = model.competenciaInicial && moment$
|
|
9301
|
-
model.competenciaFinal = model.competenciaFinal && moment$
|
|
9302
|
-
model.createdDate = model.createdDate && moment$
|
|
9303
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
9906
|
+
model.competenciaInicial = model.competenciaInicial && moment$o(model.competenciaInicial).toDate();
|
|
9907
|
+
model.competenciaFinal = model.competenciaFinal && moment$o(model.competenciaFinal).toDate();
|
|
9908
|
+
model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
|
|
9909
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
|
|
9304
9910
|
var lookupSeparator = " - ";
|
|
9305
9911
|
var displayFields = [
|
|
9306
9912
|
"codigo",
|
|
@@ -9313,10 +9919,10 @@ var Safra = /** @class */ (function () {
|
|
|
9313
9919
|
};
|
|
9314
9920
|
Safra.toDto = function (safra, originEntity) {
|
|
9315
9921
|
var dto = __assign({}, safra);
|
|
9316
|
-
dto.competenciaInicial = dto.competenciaInicial && moment$
|
|
9317
|
-
dto.competenciaFinal = dto.competenciaFinal && moment$
|
|
9318
|
-
dto.createdDate = dto.createdDate && moment$
|
|
9319
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
9922
|
+
dto.competenciaInicial = dto.competenciaInicial && moment$o(dto.competenciaInicial).format("YYYY-MM-DD");
|
|
9923
|
+
dto.competenciaFinal = dto.competenciaFinal && moment$o(dto.competenciaFinal).format("YYYY-MM-DD");
|
|
9924
|
+
dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
|
|
9925
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
|
|
9320
9926
|
delete dto.label;
|
|
9321
9927
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
9322
9928
|
dto.empresa = Empresa.toDto(dto.empresa, "Safra");
|
|
@@ -9329,7 +9935,7 @@ var Safra = /** @class */ (function () {
|
|
|
9329
9935
|
|
|
9330
9936
|
/*{CA:PACKAGE_IMPORTS:START}*/
|
|
9331
9937
|
/*{CA:PACKAGE_IMPORTS:END}*/
|
|
9332
|
-
var moment$
|
|
9938
|
+
var moment$p = _moment;
|
|
9333
9939
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
9334
9940
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
9335
9941
|
var RecebimentoOrdemCompra = /** @class */ (function () {
|
|
@@ -9339,8 +9945,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
|
|
|
9339
9945
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
9340
9946
|
RecebimentoOrdemCompra.fromDto = function (recebimentoOrdemCompraDto, originEntity) {
|
|
9341
9947
|
var model = __assign({}, recebimentoOrdemCompraDto);
|
|
9342
|
-
model.createdDate = model.createdDate && moment$
|
|
9343
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
9948
|
+
model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
|
|
9949
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
|
|
9344
9950
|
var lookupSeparator = " - ";
|
|
9345
9951
|
var displayFields = [
|
|
9346
9952
|
''
|
|
@@ -9369,8 +9975,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
|
|
|
9369
9975
|
};
|
|
9370
9976
|
RecebimentoOrdemCompra.toDto = function (recebimentoOrdemCompra, originEntity) {
|
|
9371
9977
|
var dto = __assign({}, recebimentoOrdemCompra);
|
|
9372
|
-
dto.createdDate = dto.createdDate && moment$
|
|
9373
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
9978
|
+
dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
|
|
9979
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
|
|
9374
9980
|
delete dto.label;
|
|
9375
9981
|
if (originEntity !== "Agenda" && dto.agenda)
|
|
9376
9982
|
dto.agenda = Agenda.toDto(dto.agenda, "RecebimentoOrdemCompra");
|
|
@@ -9433,7 +10039,7 @@ var RecebimentoOrdemCompraChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
9433
10039
|
RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
|
|
9434
10040
|
Injectable(),
|
|
9435
10041
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
9436
|
-
AgendaService,
|
|
10042
|
+
AgendaService$1,
|
|
9437
10043
|
RecebimentoOrdemCompraService])
|
|
9438
10044
|
], RecebimentoOrdemCompraChegadaVeiculoOverride);
|
|
9439
10045
|
return RecebimentoOrdemCompraChegadaVeiculoOverride;
|
|
@@ -10614,7 +11220,7 @@ var RecebimentoOrdemCompraFormComponent = /** @class */ (function () {
|
|
|
10614
11220
|
NotaValidatorService,
|
|
10615
11221
|
ConfirmationService,
|
|
10616
11222
|
DialogService,
|
|
10617
|
-
AgendaService,
|
|
11223
|
+
AgendaService$1,
|
|
10618
11224
|
ErpProcessService,
|
|
10619
11225
|
ErpFormConfigService,
|
|
10620
11226
|
VerificaNotafiscal,
|
|
@@ -10661,7 +11267,7 @@ var RecebimentoOrdemCompraInfoComponent = /** @class */ (function () {
|
|
|
10661
11267
|
return RecebimentoOrdemCompraInfoComponent;
|
|
10662
11268
|
}());
|
|
10663
11269
|
|
|
10664
|
-
var moment$
|
|
11270
|
+
var moment$q = _moment;
|
|
10665
11271
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
10666
11272
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
10667
11273
|
var ContratoCompra = /** @class */ (function () {
|
|
@@ -10671,11 +11277,11 @@ var ContratoCompra = /** @class */ (function () {
|
|
|
10671
11277
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
10672
11278
|
ContratoCompra.fromDto = function (contratoCompraDto, originEntity) {
|
|
10673
11279
|
var model = __assign({}, contratoCompraDto);
|
|
10674
|
-
model.dataEmissao = model.dataEmissao && moment$
|
|
10675
|
-
model.dataInicioVigencia = model.dataInicioVigencia && moment$
|
|
10676
|
-
model.dataFimVigencia = model.dataFimVigencia && moment$
|
|
10677
|
-
model.createdDate = model.createdDate && moment$
|
|
10678
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11280
|
+
model.dataEmissao = model.dataEmissao && moment$q(model.dataEmissao).toDate();
|
|
11281
|
+
model.dataInicioVigencia = model.dataInicioVigencia && moment$q(model.dataInicioVigencia).toDate();
|
|
11282
|
+
model.dataFimVigencia = model.dataFimVigencia && moment$q(model.dataFimVigencia).toDate();
|
|
11283
|
+
model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
|
|
11284
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
|
|
10679
11285
|
model.label = "N\u00FAmero: " + model.numero + ", Filial: " + model.filial.codigo;
|
|
10680
11286
|
if (originEntity !== "Empresa" && model.empresa)
|
|
10681
11287
|
model.empresa = Empresa.fromDto(model.empresa, "ContratoCompra");
|
|
@@ -10691,11 +11297,11 @@ var ContratoCompra = /** @class */ (function () {
|
|
|
10691
11297
|
};
|
|
10692
11298
|
ContratoCompra.toDto = function (contratoCompra, originEntity) {
|
|
10693
11299
|
var dto = __assign({}, contratoCompra);
|
|
10694
|
-
dto.dataEmissao = dto.dataEmissao && moment$
|
|
10695
|
-
dto.dataInicioVigencia = dto.dataInicioVigencia && moment$
|
|
10696
|
-
dto.dataFimVigencia = dto.dataFimVigencia && moment$
|
|
10697
|
-
dto.createdDate = dto.createdDate && moment$
|
|
10698
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11300
|
+
dto.dataEmissao = dto.dataEmissao && moment$q(dto.dataEmissao).format("YYYY-MM-DD");
|
|
11301
|
+
dto.dataInicioVigencia = dto.dataInicioVigencia && moment$q(dto.dataInicioVigencia).format("YYYY-MM-DD");
|
|
11302
|
+
dto.dataFimVigencia = dto.dataFimVigencia && moment$q(dto.dataFimVigencia).format("YYYY-MM-DD");
|
|
11303
|
+
dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
|
|
11304
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
|
|
10699
11305
|
delete dto.label;
|
|
10700
11306
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
10701
11307
|
dto.empresa = Empresa.toDto(dto.empresa, "ContratoCompra");
|
|
@@ -10716,7 +11322,7 @@ var ContratoCompra = /** @class */ (function () {
|
|
|
10716
11322
|
/*{CA:FILE_CONTENTS:START}*/
|
|
10717
11323
|
/*{CA:FILE_CONTENTS:END}*/
|
|
10718
11324
|
|
|
10719
|
-
var moment$
|
|
11325
|
+
var moment$r = _moment;
|
|
10720
11326
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
10721
11327
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
10722
11328
|
var ContratoCompraItem = /** @class */ (function () {
|
|
@@ -10727,9 +11333,9 @@ var ContratoCompraItem = /** @class */ (function () {
|
|
|
10727
11333
|
ContratoCompraItem.fromDto = function (contratoCompraItemDto, originEntity) {
|
|
10728
11334
|
var model = __assign({}, contratoCompraItemDto);
|
|
10729
11335
|
model.sku = model.sku || {};
|
|
10730
|
-
model.dataCompetencia = model.dataCompetencia && moment$
|
|
10731
|
-
model.createdDate = model.createdDate && moment$
|
|
10732
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11336
|
+
model.dataCompetencia = model.dataCompetencia && moment$r(model.dataCompetencia).toDate();
|
|
11337
|
+
model.createdDate = model.createdDate && moment$r(model.createdDate).toDate();
|
|
11338
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$r(model.lastModifiedDate).toDate();
|
|
10733
11339
|
model.label = model.sequencia + " - " + model.sku.descricao + " - " + model.sku.codigo;
|
|
10734
11340
|
if (originEntity !== "ContratoCompra" && model.contrato)
|
|
10735
11341
|
model.contrato = ContratoCompra.fromDto(model.contrato, "ContratoCompraItem");
|
|
@@ -10739,9 +11345,9 @@ var ContratoCompraItem = /** @class */ (function () {
|
|
|
10739
11345
|
};
|
|
10740
11346
|
ContratoCompraItem.toDto = function (contratoCompraItem, originEntity) {
|
|
10741
11347
|
var dto = __assign({}, contratoCompraItem);
|
|
10742
|
-
dto.dataCompetencia = dto.dataCompetencia && moment$
|
|
10743
|
-
dto.createdDate = dto.createdDate && moment$
|
|
10744
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11348
|
+
dto.dataCompetencia = dto.dataCompetencia && moment$r(dto.dataCompetencia).format("YYYY-MM-DD");
|
|
11349
|
+
dto.createdDate = dto.createdDate && moment$r(dto.createdDate).format();
|
|
11350
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$r(dto.lastModifiedDate).format();
|
|
10745
11351
|
delete dto.label;
|
|
10746
11352
|
if (originEntity !== "ContratoCompra" && dto.contrato)
|
|
10747
11353
|
dto.contrato = ContratoCompra.toDto(dto.contrato, "ContratoCompraItem");
|
|
@@ -10754,7 +11360,7 @@ var ContratoCompraItem = /** @class */ (function () {
|
|
|
10754
11360
|
/*{CA:FILE_CONTENTS:START}*/
|
|
10755
11361
|
/*{CA:FILE_CONTENTS:END}*/
|
|
10756
11362
|
|
|
10757
|
-
var moment$
|
|
11363
|
+
var moment$s = _moment;
|
|
10758
11364
|
var ContratoFormComponent = /** @class */ (function () {
|
|
10759
11365
|
function ContratoFormComponent(dialogRef, dialogConfig, contratoCompraService, contratoCompraItemService, translate, fb, route) {
|
|
10760
11366
|
this.dialogRef = dialogRef;
|
|
@@ -10848,7 +11454,7 @@ var ContratoFormComponent = /** @class */ (function () {
|
|
|
10848
11454
|
if (filial && filial.empresa && filial.empresa.id) {
|
|
10849
11455
|
filter.empresaId = filial.empresa.id;
|
|
10850
11456
|
}
|
|
10851
|
-
filter.dataEmissao = filter.dataEmissao && moment$
|
|
11457
|
+
filter.dataEmissao = filter.dataEmissao && moment$s(filter.dataEmissao).format("YYYY-MM-DD");
|
|
10852
11458
|
var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
|
|
10853
11459
|
this.contratoCompraService
|
|
10854
11460
|
.listContratosCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, produtoId: (this.produto || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, contratosSelecionados: this.contratos, pagina: {
|
|
@@ -11077,14 +11683,14 @@ var Transgenia = /** @class */ (function () {
|
|
|
11077
11683
|
return Transgenia;
|
|
11078
11684
|
}());
|
|
11079
11685
|
|
|
11080
|
-
var moment$
|
|
11686
|
+
var moment$t = _moment;
|
|
11081
11687
|
var RecebimentoContrato = /** @class */ (function () {
|
|
11082
11688
|
function RecebimentoContrato() {
|
|
11083
11689
|
}
|
|
11084
11690
|
RecebimentoContrato.fromDto = function (recebimentoDto, originEntity) {
|
|
11085
11691
|
var model = __assign({}, recebimentoDto);
|
|
11086
|
-
model.createdDate = model.createdDate && moment$
|
|
11087
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11692
|
+
model.createdDate = model.createdDate && moment$t(model.createdDate).toDate();
|
|
11693
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$t(model.lastModifiedDate).toDate();
|
|
11088
11694
|
var lookupSeparator = " - ";
|
|
11089
11695
|
var displayFields = [
|
|
11090
11696
|
"id",
|
|
@@ -11133,8 +11739,8 @@ var RecebimentoContrato = /** @class */ (function () {
|
|
|
11133
11739
|
};
|
|
11134
11740
|
RecebimentoContrato.toDto = function (recebimento, originEntity) {
|
|
11135
11741
|
var dto = __assign({}, recebimento);
|
|
11136
|
-
dto.createdDate = dto.createdDate && moment$
|
|
11137
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11742
|
+
dto.createdDate = dto.createdDate && moment$t(dto.createdDate).format();
|
|
11743
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$t(dto.lastModifiedDate).format();
|
|
11138
11744
|
delete dto.label;
|
|
11139
11745
|
if (originEntity !== "Pessoa" && dto.fornecedor)
|
|
11140
11746
|
dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Recebimento");
|
|
@@ -11168,7 +11774,7 @@ var Situacao;
|
|
|
11168
11774
|
Situacao["ATIVO"] = "ATIVO";
|
|
11169
11775
|
})(Situacao || (Situacao = {}));
|
|
11170
11776
|
|
|
11171
|
-
var moment$
|
|
11777
|
+
var moment$u = _moment;
|
|
11172
11778
|
var RecebimentoFormComponent = /** @class */ (function () {
|
|
11173
11779
|
function RecebimentoFormComponent(recebimentoService, router, route, messageService, confirmationService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, filialService, transportadoraService, pessoaEnderecoService, contratoCompraService, pessoaService, produtoService, derivacaoService, recebimentoChegadaOverride, notaValidatorService, transgeniaService, dialogService, agendaService, erpProcessService, erpFormConfigService, verificaNotaFiscal, hasChangeService, buildFormField) {
|
|
11174
11780
|
var _this = this;
|
|
@@ -11850,11 +12456,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11850
12456
|
if (typeof value == "number")
|
|
11851
12457
|
return name + " eq " + value;
|
|
11852
12458
|
else if (type == FieldType.Date)
|
|
11853
|
-
return name + " eq '" + moment$
|
|
12459
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11854
12460
|
else if (type == FieldType.Time)
|
|
11855
|
-
return name + " eq '" + moment$
|
|
12461
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11856
12462
|
else if (type == FieldType.DateTime)
|
|
11857
|
-
return name + " eq '" + moment$
|
|
12463
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11858
12464
|
else if (type == FieldType.String)
|
|
11859
12465
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
11860
12466
|
else
|
|
@@ -11893,11 +12499,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11893
12499
|
if (typeof value == "number")
|
|
11894
12500
|
return name + " eq " + value;
|
|
11895
12501
|
else if (type == FieldType.Date)
|
|
11896
|
-
return name + " eq '" + moment$
|
|
12502
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11897
12503
|
else if (type == FieldType.Time)
|
|
11898
|
-
return name + " eq '" + moment$
|
|
12504
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11899
12505
|
else if (type == FieldType.DateTime)
|
|
11900
|
-
return name + " eq '" + moment$
|
|
12506
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11901
12507
|
else if (type == FieldType.Enum)
|
|
11902
12508
|
return name + " eq '" + value + "'";
|
|
11903
12509
|
else if (type == FieldType.String)
|
|
@@ -11939,11 +12545,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11939
12545
|
if (typeof value == "number")
|
|
11940
12546
|
return name + " eq " + value;
|
|
11941
12547
|
else if (type == FieldType.Date)
|
|
11942
|
-
return name + " eq '" + moment$
|
|
12548
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11943
12549
|
else if (type == FieldType.Time)
|
|
11944
|
-
return name + " eq '" + moment$
|
|
12550
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11945
12551
|
else if (type == FieldType.DateTime)
|
|
11946
|
-
return name + " eq '" + moment$
|
|
12552
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11947
12553
|
else if (type == FieldType.String)
|
|
11948
12554
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
11949
12555
|
else
|
|
@@ -11983,11 +12589,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11983
12589
|
if (typeof value == "number")
|
|
11984
12590
|
return name + " eq " + value;
|
|
11985
12591
|
else if (type == FieldType.Date)
|
|
11986
|
-
return name + " eq '" + moment$
|
|
12592
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11987
12593
|
else if (type == FieldType.Time)
|
|
11988
|
-
return name + " eq '" + moment$
|
|
12594
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11989
12595
|
else if (type == FieldType.DateTime)
|
|
11990
|
-
return name + " eq '" + moment$
|
|
12596
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11991
12597
|
else if (type == FieldType.Enum)
|
|
11992
12598
|
return name + " eq '" + value + "'";
|
|
11993
12599
|
else if (type == FieldType.String)
|
|
@@ -12084,11 +12690,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12084
12690
|
if (typeof value == "number")
|
|
12085
12691
|
return name + " eq " + value;
|
|
12086
12692
|
else if (type == FieldType.Date)
|
|
12087
|
-
return name + " eq '" + moment$
|
|
12693
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12088
12694
|
else if (type == FieldType.Time)
|
|
12089
|
-
return name + " eq '" + moment$
|
|
12695
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12090
12696
|
else if (type == FieldType.DateTime)
|
|
12091
|
-
return name + " eq '" + moment$
|
|
12697
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12092
12698
|
else if (type == FieldType.String)
|
|
12093
12699
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
12094
12700
|
else
|
|
@@ -12126,11 +12732,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12126
12732
|
if (typeof value == "number")
|
|
12127
12733
|
return name + " eq " + value;
|
|
12128
12734
|
else if (type == FieldType.Date)
|
|
12129
|
-
return name + " eq '" + moment$
|
|
12735
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12130
12736
|
else if (type == FieldType.Time)
|
|
12131
|
-
return name + " eq '" + moment$
|
|
12737
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12132
12738
|
else if (type == FieldType.DateTime)
|
|
12133
|
-
return name + " eq '" + moment$
|
|
12739
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12134
12740
|
else if (type == FieldType.Enum)
|
|
12135
12741
|
return name + " eq '" + value + "'";
|
|
12136
12742
|
else if (type == FieldType.String)
|
|
@@ -12179,11 +12785,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12179
12785
|
if (typeof value == "number")
|
|
12180
12786
|
return name + " eq " + value;
|
|
12181
12787
|
else if (type == FieldType.Date)
|
|
12182
|
-
return name + " eq '" + moment$
|
|
12788
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12183
12789
|
else if (type == FieldType.Time)
|
|
12184
|
-
return name + " eq '" + moment$
|
|
12790
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12185
12791
|
else if (type == FieldType.DateTime)
|
|
12186
|
-
return name + " eq '" + moment$
|
|
12792
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12187
12793
|
else if (type == FieldType.Enum)
|
|
12188
12794
|
return name + " eq '" + value + "'";
|
|
12189
12795
|
else if (type == FieldType.String)
|
|
@@ -12961,7 +13567,7 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12961
13567
|
NotaValidatorService,
|
|
12962
13568
|
TransgeniaService,
|
|
12963
13569
|
DialogService,
|
|
12964
|
-
AgendaService,
|
|
13570
|
+
AgendaService$1,
|
|
12965
13571
|
ErpProcessService,
|
|
12966
13572
|
ErpFormConfigService,
|
|
12967
13573
|
VerificaNotafiscal,
|
|
@@ -13125,5 +13731,5 @@ var DockModule = /** @class */ (function () {
|
|
|
13125
13731
|
return DockModule;
|
|
13126
13732
|
}());
|
|
13127
13733
|
|
|
13128
|
-
export { AgendaModule, AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, ERP_ENVIRONMENT, ERP_SENIOR_HEADER, EmpresaModule, EmpresaService, ErpFormConfigService, ErpProcessData, ErpProcessService, ErpSeniorModule, EstadoModule, EstadoService, ExpedicaoChegadaVeiculoOverride, ExpedicaoModule, ExpedicaoService, FamiliaProdutoModule, FamiliaProdutoService, FieldCustomizationService, FilialModule, FilialService, FormComponent, FormDescritor, FormSamComponent, FormSamDescritor, HasChangeService, InfoComponent, InfoDescritor, IntegrationWebSocket, LogsModule, LogsService, LprModule, LprService, PaisModule, PaisService, PedidoVendaItemModule, PedidoVendaItemService, PedidoVendaModule, PedidoVendaService, PessoaEnderecoModule, PessoaEnderecoService, PessoaFisicaModule, PessoaFisicaService, PessoaJuridicaModule, PessoaJuridicaService, PessoaModule, PessoaService, PortariasComponent, PortariasDescritor, PortariasModule, ProdutoModule, ProdutoService, RecebimentoChegadaVeiculoOverride, RecebimentoContratoModule, RecebimentoContratoService, RoyaltyModule, RoyaltyService, SAM_SENIOR_HEADER, SafraModule, SafraService, SamSeniorModule, SnapshotComponent, SnapshotDescritor, TransportadoraModule, TransportadoraService, UnidadeMedidaModule, UnidadeMedidaService, VisitorListComponent, VisitorListModule, VisitorListService, VisualizarBalancaComponent, VisualizarBalancaDescritor, highlightLanguages, Service as ɵa, CustomStompConfig as ɵb,
|
|
13734
|
+
export { AgendaModule, AgendaService$1 as AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, ERP_ENVIRONMENT, ERP_SENIOR_HEADER, EmpresaModule, EmpresaService, ErpFormConfigService, ErpProcessData, ErpProcessService, ErpSeniorModule, EstadoModule, EstadoService, ExpedicaoChegadaVeiculoOverride, ExpedicaoModule, ExpedicaoService, FamiliaProdutoModule, FamiliaProdutoService, FieldCustomizationService, FilialModule, FilialService, FormComponent, FormDescritor, FormSamComponent, FormSamDescritor, FormWmsComponent, FormWmsDescritor, HasChangeService, INFORMACAOES_ADICIONAIS_HEADER, InfoComponent, InfoDescritor, IntegrationWebSocket, LogsModule, LogsService, LprModule, LprService, PaisModule, PaisService, PedidoVendaItemModule, PedidoVendaItemService, PedidoVendaModule, PedidoVendaService, PessoaEnderecoModule, PessoaEnderecoService, PessoaFisicaModule, PessoaFisicaService, PessoaJuridicaModule, PessoaJuridicaService, PessoaModule, PessoaService, PortariasComponent, PortariasDescritor, PortariasModule, ProdutoModule, ProdutoService, RecebimentoChegadaVeiculoOverride, RecebimentoContratoModule, RecebimentoContratoService, RoyaltyModule, RoyaltyService, SAM_SENIOR_HEADER, SafraModule, SafraService, SamSeniorModule, SnapshotComponent, SnapshotDescritor, TransportadoraModule, TransportadoraService, UnidadeMedidaModule, UnidadeMedidaService, VisitorListComponent, VisitorListModule, VisitorListService, VisualizarBalancaComponent, VisualizarBalancaDescritor, WmsModule, highlightLanguages, Service as ɵa, CustomStompConfig as ɵb, EntityService$2 as ɵba, EntityService$1 as ɵbb, InsertKeyModule as ɵbc, InsertKeyComponent as ɵbd, IntegrationService as ɵbe, RecebimentoFormComponent as ɵbf, DerivacaoService as ɵbg, NotaValidatorService as ɵbh, TransgeniaService as ɵbi, VerificaNotafiscal as ɵbj, BuildFormField as ɵbk, ExpedicaoFormComponent as ɵbl, ExpedicaoInfoComponent as ɵbm, RecebimentoInfoComponent as ɵbn, DevolucaoFormComponent as ɵbo, DevolucaoService as ɵbp, DevolucaoChegadaVeiculoOverride as ɵbq, RecebimentoOrdemCompraFormComponent as ɵbr, OrdemCompraService as ɵbs, RecebimentoOrdemCompraService as ɵbt, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbu, RecebimentoOrdemCompraInfoComponent as ɵbv, DevolucaoInfoComponent as ɵbw, ContratoFormComponent as ɵbx, OrdemCompraFormComponent as ɵby, ProcessoAvulsoFormComponent as ɵbz, ViewImageComponent as ɵc, ProcessoAvulsoService as ɵca, ProcessoAvulsoChegadaVeiculoOverride as ɵcb, ProcessoAvulsoInfoComponent as ɵcc, LogIntegracaoDescritor as ɵcd, LogIntegracaoComponent as ɵce, LogIntegracaoService as ɵcf, DerivacaoModule as ɵcg, DevolucaoModule as ɵch, OrdemCompraModule as ɵci, RecebimentoOrdemCompraModule as ɵcj, TransgeniaModule as ɵck, ProcessoAvulsoModule as ɵcl, LogIntegracaoModule as ɵcm, NotaFormModule as ɵcn, NotaFormComponent as ɵco, LogDescritor as ɵd, LogsComponent as ɵe, PortariasService as ɵf, EntradaComponent as ɵg, AgendasComponent as ɵh, ConfirmacaoComponent as ɵi, VisitedInfoDescritor as ɵj, VisitedInfoComponent as ɵk, VisitedInfoService as ɵl, SchedulingComponent as ɵm, LobbyService as ɵn, EntityService as ɵo, SchedulingService as ɵp, VisitanteComponent as ɵq, VisitanteFormComponent as ɵr, CredencialFormComponent as ɵs, FocusService as ɵt, DocumentGridModule as ɵu, DocumentGridComponent as ɵv, DocumentService as ɵw, RegisterDocumentModule as ɵx, RegisterDocumentComponent as ɵy, AgendaService as ɵz };
|
|
13129
13735
|
//# sourceMappingURL=seniorsistemas-yms-integration.js.map
|