@seniorsistemas/yms-integration 1.18.4 → 1.19.1-50993c93-db44-4e13-ae38-d1cca3a0e113
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 +901 -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 +166 -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 +82 -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 +125 -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 +171 -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 +84 -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 +127 -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 +807 -207
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +840 -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 +41 -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 +31 -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,282 @@ 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 DocumentGridComponent = /** @class */ (function () {
|
|
3072
|
+
function DocumentGridComponent(translate, documentService, messageService) {
|
|
3073
|
+
this.translate = translate;
|
|
3074
|
+
this.documentService = documentService;
|
|
3075
|
+
this.messageService = messageService;
|
|
3076
|
+
this.viewDocument = new EventEmitter();
|
|
3077
|
+
this.gridData = [];
|
|
3078
|
+
this.ngUnsubscribe = new Subject();
|
|
3079
|
+
}
|
|
3080
|
+
DocumentGridComponent.prototype.ngOnInit = function () {
|
|
3081
|
+
this.gridColumns = this.getGridColumns();
|
|
3082
|
+
this.listDocuments();
|
|
3083
|
+
};
|
|
3084
|
+
DocumentGridComponent.prototype.onChangeDocument = function (document) {
|
|
3085
|
+
this.gridData.push(document);
|
|
3086
|
+
this.disabled = false;
|
|
3087
|
+
};
|
|
3088
|
+
DocumentGridComponent.prototype.getActions = function () {
|
|
3089
|
+
var _this = this;
|
|
3090
|
+
return [
|
|
3091
|
+
{
|
|
3092
|
+
label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
|
|
3093
|
+
command: function () {
|
|
3094
|
+
_this.visibleInvoiceKey = true;
|
|
3095
|
+
},
|
|
3096
|
+
icon: "fa fa-search"
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
label: this.translate.instant("yms.int.wms_add_document_register"),
|
|
3100
|
+
command: function () {
|
|
3101
|
+
_this.edit = true;
|
|
3102
|
+
_this.visibleDocumentRegister = true;
|
|
3103
|
+
},
|
|
3104
|
+
icon: "fas fa-pen-square"
|
|
3105
|
+
}
|
|
3106
|
+
];
|
|
3107
|
+
};
|
|
3108
|
+
DocumentGridComponent.prototype.getProp = function (obj, path) {
|
|
3109
|
+
return path.split(".").reduce(function (result, prop) { return (result[prop] === undefined ? "" : result[prop]); }, obj);
|
|
3110
|
+
};
|
|
3111
|
+
DocumentGridComponent.prototype.view = function (selection) {
|
|
3112
|
+
this.viewDocument.emit(selection);
|
|
3113
|
+
this.visibleDocumentRegister = true;
|
|
3114
|
+
this.edit = false;
|
|
3115
|
+
};
|
|
3116
|
+
DocumentGridComponent.prototype.save = function () {
|
|
3117
|
+
var _this = this;
|
|
3118
|
+
if (this.gridData.length > 0) {
|
|
3119
|
+
this.gridData.forEach(function (data) {
|
|
3120
|
+
if (!data.id) {
|
|
3121
|
+
if (!data.schedulingId) {
|
|
3122
|
+
data.schedulingId = _this.agenda.id;
|
|
3123
|
+
}
|
|
3124
|
+
_this.documentService.insert(data).subscribe(function () {
|
|
3125
|
+
_this.message("success", "saved_message_title", "saved_message_content");
|
|
3126
|
+
});
|
|
3127
|
+
_this.disabled = true;
|
|
3128
|
+
}
|
|
3129
|
+
});
|
|
3130
|
+
}
|
|
3131
|
+
};
|
|
3132
|
+
DocumentGridComponent.prototype.onDelete = function (selection) {
|
|
3133
|
+
var _this = this;
|
|
3134
|
+
if (!selection.id) {
|
|
3135
|
+
return;
|
|
3136
|
+
}
|
|
3137
|
+
this.documentService.delete(selection.id)
|
|
3138
|
+
.pipe(takeUntil(this.ngUnsubscribe), finalize(function () {
|
|
3139
|
+
_this.gridData = [];
|
|
3140
|
+
_this.listDocuments();
|
|
3141
|
+
})).
|
|
3142
|
+
subscribe(function () { return _this.message("success", "deleted_message_title", "deleted_message_content"); });
|
|
3143
|
+
};
|
|
3144
|
+
DocumentGridComponent.prototype.listDocuments = function () {
|
|
3145
|
+
var _this = this;
|
|
3146
|
+
this.documentService.list({
|
|
3147
|
+
filterQuery: "schedulingId eq '" + this.agenda.id + "'"
|
|
3148
|
+
})
|
|
3149
|
+
.subscribe(function (contents) {
|
|
3150
|
+
if (contents.totalElements > 0) {
|
|
3151
|
+
_this.gridData = contents.contents;
|
|
3152
|
+
_this.documentTotalRecords = contents.totalElements;
|
|
3153
|
+
}
|
|
3154
|
+
else {
|
|
3155
|
+
_this.disabled = true;
|
|
3156
|
+
_this.documentTotalRecords = _this.gridData.length;
|
|
3157
|
+
}
|
|
3158
|
+
_this.loading = false;
|
|
3159
|
+
});
|
|
3160
|
+
};
|
|
3161
|
+
DocumentGridComponent.prototype.getGridColumns = function () {
|
|
3162
|
+
return [
|
|
3163
|
+
{ field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
|
|
3164
|
+
{ field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
|
|
3165
|
+
{ field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
|
|
3166
|
+
{ field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
|
|
3167
|
+
{ field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
|
|
3168
|
+
{ field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
|
|
3169
|
+
{ field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
|
|
3170
|
+
{ field: "orderReceivingCode", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
|
|
3171
|
+
];
|
|
3172
|
+
};
|
|
3173
|
+
DocumentGridComponent.prototype.message = function (severity, summary, detail) {
|
|
3174
|
+
this.messageService.add({
|
|
3175
|
+
severity: severity,
|
|
3176
|
+
summary: this.translate.instant(summary),
|
|
3177
|
+
detail: this.translate.instant(detail),
|
|
3178
|
+
});
|
|
3179
|
+
};
|
|
3180
|
+
__decorate([
|
|
3181
|
+
Input(),
|
|
3182
|
+
__metadata("design:type", Object)
|
|
3183
|
+
], DocumentGridComponent.prototype, "agenda", void 0);
|
|
3184
|
+
__decorate([
|
|
3185
|
+
Output(),
|
|
3186
|
+
__metadata("design:type", Boolean)
|
|
3187
|
+
], DocumentGridComponent.prototype, "visibleInvoiceKey", void 0);
|
|
3188
|
+
__decorate([
|
|
3189
|
+
Output(),
|
|
3190
|
+
__metadata("design:type", Boolean)
|
|
3191
|
+
], DocumentGridComponent.prototype, "visibleDocumentRegister", void 0);
|
|
3192
|
+
__decorate([
|
|
3193
|
+
Output(),
|
|
3194
|
+
__metadata("design:type", EventEmitter)
|
|
3195
|
+
], DocumentGridComponent.prototype, "viewDocument", void 0);
|
|
3196
|
+
__decorate([
|
|
3197
|
+
ViewChild("documentTable"),
|
|
3198
|
+
__metadata("design:type", Table)
|
|
3199
|
+
], DocumentGridComponent.prototype, "table", void 0);
|
|
3200
|
+
__decorate([
|
|
3201
|
+
ViewChild("customTemplate"),
|
|
3202
|
+
__metadata("design:type", TemplateRef)
|
|
3203
|
+
], DocumentGridComponent.prototype, "customTemplate", void 0);
|
|
3204
|
+
__decorate([
|
|
3205
|
+
ViewChild("customFilterFields"),
|
|
3206
|
+
__metadata("design:type", TemplateRef)
|
|
3207
|
+
], DocumentGridComponent.prototype, "customFilterFields", void 0);
|
|
3208
|
+
__decorate([
|
|
3209
|
+
ViewChild("customGridColgroup"),
|
|
3210
|
+
__metadata("design:type", TemplateRef)
|
|
3211
|
+
], DocumentGridComponent.prototype, "customGridColgroup", void 0);
|
|
3212
|
+
__decorate([
|
|
3213
|
+
ViewChild("customGridHeader"),
|
|
3214
|
+
__metadata("design:type", TemplateRef)
|
|
3215
|
+
], DocumentGridComponent.prototype, "customGridHeader", void 0);
|
|
3216
|
+
__decorate([
|
|
3217
|
+
ViewChild("customGridBody"),
|
|
3218
|
+
__metadata("design:type", TemplateRef)
|
|
3219
|
+
], DocumentGridComponent.prototype, "customGridBody", void 0);
|
|
3220
|
+
DocumentGridComponent = __decorate([
|
|
3221
|
+
Component({
|
|
3222
|
+
selector: 'document-grid',
|
|
3223
|
+
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\"\n (onClick)=\"view(selection)\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection\"\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\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document>\n <insert-key (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n</p-panel>\n<div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"!disabled || !this.gridData\" (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",
|
|
3224
|
+
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}"]
|
|
3225
|
+
}),
|
|
3226
|
+
__metadata("design:paramtypes", [TranslateService,
|
|
3227
|
+
DocumentService,
|
|
3228
|
+
MessageService])
|
|
3229
|
+
], DocumentGridComponent);
|
|
3230
|
+
return DocumentGridComponent;
|
|
3231
|
+
}());
|
|
3232
|
+
|
|
3233
|
+
var moment$4 = _moment;
|
|
3234
|
+
var Document = /** @class */ (function () {
|
|
3235
|
+
function Document() {
|
|
3236
|
+
}
|
|
3237
|
+
Document.fromDto = function (documentDto, originEntity) {
|
|
3238
|
+
var model = __assign({}, documentDto);
|
|
3239
|
+
model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
|
|
3240
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
|
|
3241
|
+
var lookupSeparator = " - ";
|
|
3242
|
+
var displayFields = [
|
|
3243
|
+
"id",
|
|
3244
|
+
"schedulingId",
|
|
3245
|
+
"invoiceKey",
|
|
3246
|
+
"invoiceNumber",
|
|
3247
|
+
"invoiceSerialNumber",
|
|
3248
|
+
"systemIntegration",
|
|
3249
|
+
"logistcUnitName",
|
|
3250
|
+
"logistcUnitDocument",
|
|
3251
|
+
"ownerName",
|
|
3252
|
+
"ownerDocument",
|
|
3253
|
+
"partnerName",
|
|
3254
|
+
"partnerDocument",
|
|
3255
|
+
"notes",
|
|
3256
|
+
"orderReceivingCode",
|
|
3257
|
+
"createdBy",
|
|
3258
|
+
"createdDate",
|
|
3259
|
+
"lastModifiedBy",
|
|
3260
|
+
"lastModifiedDate",
|
|
3261
|
+
];
|
|
3262
|
+
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
3263
|
+
return model;
|
|
3264
|
+
};
|
|
3265
|
+
Document.toDto = function (document, originEntity) {
|
|
3266
|
+
var dto = __assign({}, document);
|
|
3267
|
+
dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
|
|
3268
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
|
|
3269
|
+
return dto;
|
|
3270
|
+
};
|
|
3271
|
+
return Document;
|
|
3272
|
+
}());
|
|
3273
|
+
|
|
2978
3274
|
var EntityService$1 = /** @class */ (function () {
|
|
2979
3275
|
function EntityService(http, messageService, entityUrl, actionsUrl) {
|
|
2980
3276
|
this.http = http;
|
|
@@ -3069,9 +3365,349 @@ var EntityService$1 = /** @class */ (function () {
|
|
|
3069
3365
|
return EntityService;
|
|
3070
3366
|
}());
|
|
3071
3367
|
|
|
3368
|
+
var EntityService$2 = /** @class */ (function (_super) {
|
|
3369
|
+
__extends(EntityService, _super);
|
|
3370
|
+
function EntityService() {
|
|
3371
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3372
|
+
}
|
|
3373
|
+
return EntityService;
|
|
3374
|
+
}(EntityService$1));
|
|
3375
|
+
|
|
3376
|
+
var AgendaService = /** @class */ (function (_super) {
|
|
3377
|
+
__extends(AgendaService, _super);
|
|
3378
|
+
function AgendaService(http, messageService) {
|
|
3379
|
+
var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
|
|
3380
|
+
_this.http = http;
|
|
3381
|
+
_this.messageService = messageService;
|
|
3382
|
+
return _this;
|
|
3383
|
+
}
|
|
3384
|
+
AgendaService.ngInjectableDef = defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(inject(HttpClient), inject(MessageService$1)); }, token: AgendaService, providedIn: "root" });
|
|
3385
|
+
AgendaService = __decorate([
|
|
3386
|
+
Injectable({ providedIn: 'root' }),
|
|
3387
|
+
__metadata("design:paramtypes", [HttpClient, MessageService$1])
|
|
3388
|
+
], AgendaService);
|
|
3389
|
+
return AgendaService;
|
|
3390
|
+
}(EntityService$2));
|
|
3391
|
+
|
|
3392
|
+
var RegisterDocumentComponent = /** @class */ (function () {
|
|
3393
|
+
function RegisterDocumentComponent(fb, messageService, translateService, agendaService) {
|
|
3394
|
+
this.fb = fb;
|
|
3395
|
+
this.messageService = messageService;
|
|
3396
|
+
this.translateService = translateService;
|
|
3397
|
+
this.agendaService = agendaService;
|
|
3398
|
+
this.document = new EventEmitter();
|
|
3399
|
+
this.visible = new EventEmitter();
|
|
3400
|
+
this.visibleChange = new EventEmitter();
|
|
3401
|
+
}
|
|
3402
|
+
RegisterDocumentComponent.prototype.ngOnInit = function () {
|
|
3403
|
+
this.getFormGroup();
|
|
3404
|
+
};
|
|
3405
|
+
RegisterDocumentComponent.prototype.ngOnChanges = function () {
|
|
3406
|
+
this.visibilityConfig();
|
|
3407
|
+
};
|
|
3408
|
+
RegisterDocumentComponent.prototype.visibilityConfig = function () {
|
|
3409
|
+
if (!this.edit && this.visible) {
|
|
3410
|
+
this.formGroup.disable();
|
|
3411
|
+
this.setValuesFormGroup(this.viewDocument);
|
|
3412
|
+
this.setValueForPartner();
|
|
3413
|
+
this.hideSaveButton = true;
|
|
3414
|
+
return this.visible;
|
|
3415
|
+
}
|
|
3416
|
+
return this.visible;
|
|
3417
|
+
};
|
|
3418
|
+
RegisterDocumentComponent.prototype.close = function () {
|
|
3419
|
+
this.visibleChange.emit(false);
|
|
3420
|
+
};
|
|
3421
|
+
RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
|
|
3422
|
+
this.formGroup.get('invoiceKey').setValue(document.invoiceKey);
|
|
3423
|
+
this.formGroup.get('invoiceNumber').setValue(document.invoiceNumber);
|
|
3424
|
+
this.formGroup.get('invoiceSerialNumber').setValue(document.invoiceSerialNumber);
|
|
3425
|
+
this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
|
|
3426
|
+
this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
|
|
3427
|
+
this.formGroup.get('notes').setValue(document.notes);
|
|
3428
|
+
this.formGroup.get('orderReceivingCode').setValue(document.orderReceivingCode);
|
|
3429
|
+
this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
|
|
3430
|
+
this.formGroup.get('ownerName').setValue(document.ownerName);
|
|
3431
|
+
};
|
|
3432
|
+
RegisterDocumentComponent.prototype.setValueForPartner = function () {
|
|
3433
|
+
var _this = this;
|
|
3434
|
+
this.agendaService.get(this.agenda.id).subscribe(function (agenda) {
|
|
3435
|
+
_this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
|
|
3436
|
+
_this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
|
|
3437
|
+
});
|
|
3438
|
+
};
|
|
3439
|
+
RegisterDocumentComponent.prototype.getFormGroup = function () {
|
|
3440
|
+
this.formGroup = this.fb.group({
|
|
3441
|
+
invoiceKey: [undefined, Validators.required],
|
|
3442
|
+
schedulingId: [undefined],
|
|
3443
|
+
invoiceNumber: [undefined],
|
|
3444
|
+
invoiceSerialNumber: [undefined],
|
|
3445
|
+
logistcUnitName: [undefined],
|
|
3446
|
+
logistcUnitDocument: [undefined],
|
|
3447
|
+
ownerName: [undefined],
|
|
3448
|
+
ownerDocument: [undefined],
|
|
3449
|
+
partnerName: [undefined],
|
|
3450
|
+
partnerDocument: [undefined],
|
|
3451
|
+
notes: [undefined],
|
|
3452
|
+
orderReceivingCode: [undefined],
|
|
3453
|
+
});
|
|
3454
|
+
};
|
|
3455
|
+
RegisterDocumentComponent.prototype.save = function () {
|
|
3456
|
+
var value = this.formGroup.getRawValue();
|
|
3457
|
+
if (value.id === undefined) {
|
|
3458
|
+
if (this.agenda.id !== undefined) {
|
|
3459
|
+
value.schedulingId = this.agenda.id;
|
|
3460
|
+
}
|
|
3461
|
+
this.document.emit(Document.fromDto(value));
|
|
3462
|
+
this.successMessage();
|
|
3463
|
+
this.visibleChange.emit(false);
|
|
3464
|
+
}
|
|
3465
|
+
};
|
|
3466
|
+
RegisterDocumentComponent.prototype.successMessage = function () {
|
|
3467
|
+
this.messageService.add({
|
|
3468
|
+
severity: "success",
|
|
3469
|
+
summary: this.translateService.instant("saved_message_title"),
|
|
3470
|
+
detail: this.translateService.instant("saved_message_content"),
|
|
3471
|
+
});
|
|
3472
|
+
};
|
|
3473
|
+
__decorate([
|
|
3474
|
+
Input(),
|
|
3475
|
+
__metadata("design:type", Document)
|
|
3476
|
+
], RegisterDocumentComponent.prototype, "viewDocument", void 0);
|
|
3477
|
+
__decorate([
|
|
3478
|
+
Input(),
|
|
3479
|
+
__metadata("design:type", Boolean)
|
|
3480
|
+
], RegisterDocumentComponent.prototype, "edit", void 0);
|
|
3481
|
+
__decorate([
|
|
3482
|
+
Input(),
|
|
3483
|
+
__metadata("design:type", Agenda)
|
|
3484
|
+
], RegisterDocumentComponent.prototype, "agenda", void 0);
|
|
3485
|
+
__decorate([
|
|
3486
|
+
Output(),
|
|
3487
|
+
__metadata("design:type", EventEmitter)
|
|
3488
|
+
], RegisterDocumentComponent.prototype, "document", void 0);
|
|
3489
|
+
__decorate([
|
|
3490
|
+
Input(),
|
|
3491
|
+
__metadata("design:type", EventEmitter)
|
|
3492
|
+
], RegisterDocumentComponent.prototype, "visible", void 0);
|
|
3493
|
+
__decorate([
|
|
3494
|
+
Output(),
|
|
3495
|
+
__metadata("design:type", Object)
|
|
3496
|
+
], RegisterDocumentComponent.prototype, "visibleChange", void 0);
|
|
3497
|
+
RegisterDocumentComponent = __decorate([
|
|
3498
|
+
Component({
|
|
3499
|
+
selector: "register-document",
|
|
3500
|
+
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>"
|
|
3501
|
+
}),
|
|
3502
|
+
__metadata("design:paramtypes", [FormBuilder,
|
|
3503
|
+
MessageService,
|
|
3504
|
+
TranslateService,
|
|
3505
|
+
AgendaService])
|
|
3506
|
+
], RegisterDocumentComponent);
|
|
3507
|
+
return RegisterDocumentComponent;
|
|
3508
|
+
}());
|
|
3509
|
+
|
|
3510
|
+
var RegisterDocumentModule = /** @class */ (function () {
|
|
3511
|
+
function RegisterDocumentModule() {
|
|
3512
|
+
}
|
|
3513
|
+
RegisterDocumentModule = __decorate([
|
|
3514
|
+
NgModule({
|
|
3515
|
+
imports: [
|
|
3516
|
+
CommonModule,
|
|
3517
|
+
SidebarModule,
|
|
3518
|
+
ButtonModule,
|
|
3519
|
+
PanelModule,
|
|
3520
|
+
ConfirmDialogModule,
|
|
3521
|
+
TranslateModule,
|
|
3522
|
+
InputTextModule$1,
|
|
3523
|
+
ControlErrorsModule,
|
|
3524
|
+
InputTextareaModule,
|
|
3525
|
+
ReactiveFormsModule
|
|
3526
|
+
],
|
|
3527
|
+
exports: [RegisterDocumentComponent],
|
|
3528
|
+
declarations: [RegisterDocumentComponent],
|
|
3529
|
+
providers: [DocumentService]
|
|
3530
|
+
})
|
|
3531
|
+
], RegisterDocumentModule);
|
|
3532
|
+
return RegisterDocumentModule;
|
|
3533
|
+
}());
|
|
3534
|
+
|
|
3535
|
+
var InsertKeyComponent = /** @class */ (function () {
|
|
3536
|
+
function InsertKeyComponent(formBuilder, documentService, messageService, translate) {
|
|
3537
|
+
this.formBuilder = formBuilder;
|
|
3538
|
+
this.documentService = documentService;
|
|
3539
|
+
this.messageService = messageService;
|
|
3540
|
+
this.translate = translate;
|
|
3541
|
+
this.document = new EventEmitter();
|
|
3542
|
+
this.visible = new EventEmitter();
|
|
3543
|
+
this.visibleChange = new EventEmitter();
|
|
3544
|
+
}
|
|
3545
|
+
InsertKeyComponent.prototype.ngOnInit = function () {
|
|
3546
|
+
this.formGroup = this.formBuilder.group({
|
|
3547
|
+
key: [undefined]
|
|
3548
|
+
});
|
|
3549
|
+
};
|
|
3550
|
+
InsertKeyComponent.prototype.add = function () {
|
|
3551
|
+
this.visibleChange.emit(false);
|
|
3552
|
+
if (!this.formGroup.get('key').value) {
|
|
3553
|
+
return;
|
|
3554
|
+
}
|
|
3555
|
+
this.searchKey();
|
|
3556
|
+
};
|
|
3557
|
+
InsertKeyComponent.prototype.searchKey = function () {
|
|
3558
|
+
var _this = this;
|
|
3559
|
+
var key = {
|
|
3560
|
+
documentKeys: [this.formGroup.get('key').value],
|
|
3561
|
+
invoices: undefined,
|
|
3562
|
+
logistcUnitName: undefined,
|
|
3563
|
+
size: 0,
|
|
3564
|
+
offset: 0
|
|
3565
|
+
};
|
|
3566
|
+
this.documentService.findDocuments(key).subscribe(function (content) {
|
|
3567
|
+
if (content.totalElements < 1) {
|
|
3568
|
+
_this.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
|
|
3569
|
+
return;
|
|
3570
|
+
}
|
|
3571
|
+
_this.document.emit(content.contents[0]);
|
|
3572
|
+
_this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_insert_key_success_message_description");
|
|
3573
|
+
_this.formGroup.reset();
|
|
3574
|
+
});
|
|
3575
|
+
};
|
|
3576
|
+
InsertKeyComponent.prototype.message = function (success, header, description) {
|
|
3577
|
+
this.messageService.add({
|
|
3578
|
+
severity: success,
|
|
3579
|
+
summary: this.translate.instant(header),
|
|
3580
|
+
detail: this.translate.instant(description),
|
|
3581
|
+
});
|
|
3582
|
+
};
|
|
3583
|
+
InsertKeyComponent.prototype.cancel = function () {
|
|
3584
|
+
this.visibleChange.emit(false);
|
|
3585
|
+
};
|
|
3586
|
+
__decorate([
|
|
3587
|
+
Output(),
|
|
3588
|
+
__metadata("design:type", EventEmitter)
|
|
3589
|
+
], InsertKeyComponent.prototype, "document", void 0);
|
|
3590
|
+
__decorate([
|
|
3591
|
+
Input(),
|
|
3592
|
+
__metadata("design:type", EventEmitter)
|
|
3593
|
+
], InsertKeyComponent.prototype, "visible", void 0);
|
|
3594
|
+
__decorate([
|
|
3595
|
+
Output(),
|
|
3596
|
+
__metadata("design:type", Object)
|
|
3597
|
+
], InsertKeyComponent.prototype, "visibleChange", void 0);
|
|
3598
|
+
InsertKeyComponent = __decorate([
|
|
3599
|
+
Component({
|
|
3600
|
+
selector: "insert-key",
|
|
3601
|
+
template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\" (visibleChange)=\"cancel()\">\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>",
|
|
3602
|
+
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}"]
|
|
3603
|
+
}),
|
|
3604
|
+
__metadata("design:paramtypes", [FormBuilder,
|
|
3605
|
+
DocumentService,
|
|
3606
|
+
MessageService,
|
|
3607
|
+
TranslateService])
|
|
3608
|
+
], InsertKeyComponent);
|
|
3609
|
+
return InsertKeyComponent;
|
|
3610
|
+
}());
|
|
3611
|
+
|
|
3612
|
+
var InsertKeyModule = /** @class */ (function () {
|
|
3613
|
+
function InsertKeyModule() {
|
|
3614
|
+
}
|
|
3615
|
+
InsertKeyModule = __decorate([
|
|
3616
|
+
NgModule({
|
|
3617
|
+
imports: [
|
|
3618
|
+
CommonModule,
|
|
3619
|
+
ReactiveFormsModule,
|
|
3620
|
+
ButtonModule,
|
|
3621
|
+
TranslateModule,
|
|
3622
|
+
DialogModule,
|
|
3623
|
+
InputTextModule$1
|
|
3624
|
+
],
|
|
3625
|
+
exports: [InsertKeyComponent],
|
|
3626
|
+
declarations: [InsertKeyComponent]
|
|
3627
|
+
})
|
|
3628
|
+
], InsertKeyModule);
|
|
3629
|
+
return InsertKeyModule;
|
|
3630
|
+
}());
|
|
3631
|
+
|
|
3632
|
+
var DocumentGridModule = /** @class */ (function () {
|
|
3633
|
+
function DocumentGridModule() {
|
|
3634
|
+
}
|
|
3635
|
+
DocumentGridModule = __decorate([
|
|
3636
|
+
NgModule({
|
|
3637
|
+
declarations: [DocumentGridComponent],
|
|
3638
|
+
entryComponents: [DocumentGridComponent],
|
|
3639
|
+
exports: [DocumentGridComponent],
|
|
3640
|
+
imports: [
|
|
3641
|
+
CommonModule,
|
|
3642
|
+
TranslateModule,
|
|
3643
|
+
ButtonModule,
|
|
3644
|
+
PanelModule,
|
|
3645
|
+
TableModule,
|
|
3646
|
+
RegisterDocumentModule,
|
|
3647
|
+
InsertKeyModule,
|
|
3648
|
+
ButtonModule$1,
|
|
3649
|
+
ComponentsModule,
|
|
3650
|
+
EmptyStateModule
|
|
3651
|
+
],
|
|
3652
|
+
})
|
|
3653
|
+
], DocumentGridModule);
|
|
3654
|
+
return DocumentGridModule;
|
|
3655
|
+
}());
|
|
3656
|
+
|
|
3657
|
+
var WmsModule = /** @class */ (function () {
|
|
3658
|
+
function WmsModule(dispatcher) {
|
|
3659
|
+
dispatcher.dispatch(FormWmsComponent);
|
|
3660
|
+
}
|
|
3661
|
+
WmsModule = __decorate([
|
|
3662
|
+
NgModule({
|
|
3663
|
+
declarations: [FormWmsComponent],
|
|
3664
|
+
entryComponents: [FormWmsComponent],
|
|
3665
|
+
exports: [FormWmsComponent],
|
|
3666
|
+
imports: [
|
|
3667
|
+
IntegrationModule,
|
|
3668
|
+
DocumentGridModule,
|
|
3669
|
+
CommonModule,
|
|
3670
|
+
TranslateModule,
|
|
3671
|
+
FormsModule,
|
|
3672
|
+
ButtonModule,
|
|
3673
|
+
SharedModule,
|
|
3674
|
+
CardModule,
|
|
3675
|
+
ButtonModule$1,
|
|
3676
|
+
ReactiveFormsModule,
|
|
3677
|
+
SharedModule$1,
|
|
3678
|
+
CustomFieldsModule,
|
|
3679
|
+
ControlErrorsModule,
|
|
3680
|
+
DialogModule,
|
|
3681
|
+
EmptyStateModule,
|
|
3682
|
+
DynamicFormModule,
|
|
3683
|
+
TokenListModule,
|
|
3684
|
+
PanelModule,
|
|
3685
|
+
InputTextModule$1,
|
|
3686
|
+
DropdownModule,
|
|
3687
|
+
ButtonModule,
|
|
3688
|
+
LoadingStateModule,
|
|
3689
|
+
NumberInputModule,
|
|
3690
|
+
ConfirmDialogModule,
|
|
3691
|
+
LocaleModule,
|
|
3692
|
+
PermissionsModule,
|
|
3693
|
+
DynamicDialogModule,
|
|
3694
|
+
TableModule,
|
|
3695
|
+
TabViewModule,
|
|
3696
|
+
CalendarModule,
|
|
3697
|
+
],
|
|
3698
|
+
providers: [
|
|
3699
|
+
FieldCustomizationService,
|
|
3700
|
+
FocusService
|
|
3701
|
+
]
|
|
3702
|
+
}),
|
|
3703
|
+
__metadata("design:paramtypes", [IntegrationDispatcher])
|
|
3704
|
+
], WmsModule);
|
|
3705
|
+
return WmsModule;
|
|
3706
|
+
}());
|
|
3707
|
+
|
|
3072
3708
|
var ERP_ENVIRONMENT = new InjectionToken('integration_environment');
|
|
3073
3709
|
|
|
3074
|
-
var AgendaService = /** @class */ (function (_super) {
|
|
3710
|
+
var AgendaService$1 = /** @class */ (function (_super) {
|
|
3075
3711
|
__extends(AgendaService, _super);
|
|
3076
3712
|
function AgendaService(http, messageService, environment) {
|
|
3077
3713
|
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 +3808,7 @@ var RecebimentoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
3172
3808
|
RecebimentoChegadaVeiculoOverride = __decorate([
|
|
3173
3809
|
Injectable(),
|
|
3174
3810
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
3175
|
-
AgendaService,
|
|
3811
|
+
AgendaService$1,
|
|
3176
3812
|
RecebimentoContratoService])
|
|
3177
3813
|
], RecebimentoChegadaVeiculoOverride);
|
|
3178
3814
|
return RecebimentoChegadaVeiculoOverride;
|
|
@@ -3236,7 +3872,7 @@ var ExpedicaoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
3236
3872
|
ExpedicaoChegadaVeiculoOverride = __decorate([
|
|
3237
3873
|
Injectable(),
|
|
3238
3874
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
3239
|
-
AgendaService,
|
|
3875
|
+
AgendaService$1,
|
|
3240
3876
|
ExpedicaoService])
|
|
3241
3877
|
], ExpedicaoChegadaVeiculoOverride);
|
|
3242
3878
|
return ExpedicaoChegadaVeiculoOverride;
|
|
@@ -3453,7 +4089,7 @@ var OrdemCompraService = /** @class */ (function (_super) {
|
|
|
3453
4089
|
return OrdemCompraService;
|
|
3454
4090
|
}(EntityService$1));
|
|
3455
4091
|
|
|
3456
|
-
var moment$
|
|
4092
|
+
var moment$5 = _moment;
|
|
3457
4093
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3458
4094
|
var Empresa = /** @class */ (function () {
|
|
3459
4095
|
function Empresa() {
|
|
@@ -3462,8 +4098,8 @@ var Empresa = /** @class */ (function () {
|
|
|
3462
4098
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3463
4099
|
Empresa.fromDto = function (empresaDto, originEntity) {
|
|
3464
4100
|
var model = __assign({}, empresaDto);
|
|
3465
|
-
model.createdDate = model.createdDate && moment$
|
|
3466
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4101
|
+
model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
|
|
4102
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
|
|
3467
4103
|
var lookupSeparator = " - ";
|
|
3468
4104
|
var displayFields = [
|
|
3469
4105
|
"codigo",
|
|
@@ -3475,8 +4111,8 @@ var Empresa = /** @class */ (function () {
|
|
|
3475
4111
|
};
|
|
3476
4112
|
Empresa.toDto = function (empresa, originEntity) {
|
|
3477
4113
|
var dto = __assign({}, empresa);
|
|
3478
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3479
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4114
|
+
dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
|
|
4115
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
|
|
3480
4116
|
delete dto.label;
|
|
3481
4117
|
return dto;
|
|
3482
4118
|
};
|
|
@@ -3485,7 +4121,7 @@ var Empresa = /** @class */ (function () {
|
|
|
3485
4121
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3486
4122
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3487
4123
|
|
|
3488
|
-
var moment$
|
|
4124
|
+
var moment$6 = _moment;
|
|
3489
4125
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3490
4126
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3491
4127
|
var Pessoa = /** @class */ (function () {
|
|
@@ -3495,8 +4131,8 @@ var Pessoa = /** @class */ (function () {
|
|
|
3495
4131
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3496
4132
|
Pessoa.fromDto = function (pessoaDto, originEntity) {
|
|
3497
4133
|
var model = __assign({}, pessoaDto);
|
|
3498
|
-
model.createdDate = model.createdDate && moment$
|
|
3499
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4134
|
+
model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
|
|
4135
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
|
|
3500
4136
|
var lookupSeparator = " - ";
|
|
3501
4137
|
var displayFields = [
|
|
3502
4138
|
"codigo",
|
|
@@ -3508,8 +4144,8 @@ var Pessoa = /** @class */ (function () {
|
|
|
3508
4144
|
};
|
|
3509
4145
|
Pessoa.toDto = function (pessoa, originEntity) {
|
|
3510
4146
|
var dto = __assign({}, pessoa);
|
|
3511
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3512
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4147
|
+
dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
|
|
4148
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
|
|
3513
4149
|
delete dto.label;
|
|
3514
4150
|
return dto;
|
|
3515
4151
|
};
|
|
@@ -3518,7 +4154,7 @@ var Pessoa = /** @class */ (function () {
|
|
|
3518
4154
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3519
4155
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3520
4156
|
|
|
3521
|
-
var moment$
|
|
4157
|
+
var moment$7 = _moment;
|
|
3522
4158
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3523
4159
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3524
4160
|
var PessoaJuridica = /** @class */ (function () {
|
|
@@ -3528,8 +4164,8 @@ var PessoaJuridica = /** @class */ (function () {
|
|
|
3528
4164
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3529
4165
|
PessoaJuridica.fromDto = function (pessoaJuridicaDto, originEntity) {
|
|
3530
4166
|
var model = __assign({}, pessoaJuridicaDto);
|
|
3531
|
-
model.createdDate = model.createdDate && moment$
|
|
3532
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4167
|
+
model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
|
|
4168
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
|
|
3533
4169
|
var lookupSeparator = " - ";
|
|
3534
4170
|
var displayFields = [
|
|
3535
4171
|
"id",
|
|
@@ -3556,8 +4192,8 @@ var PessoaJuridica = /** @class */ (function () {
|
|
|
3556
4192
|
};
|
|
3557
4193
|
PessoaJuridica.toDto = function (pessoaJuridica, originEntity) {
|
|
3558
4194
|
var dto = __assign({}, pessoaJuridica);
|
|
3559
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3560
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4195
|
+
dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
|
|
4196
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
|
|
3561
4197
|
delete dto.label;
|
|
3562
4198
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
3563
4199
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaJuridica");
|
|
@@ -3568,7 +4204,7 @@ var PessoaJuridica = /** @class */ (function () {
|
|
|
3568
4204
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3569
4205
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3570
4206
|
|
|
3571
|
-
var moment$
|
|
4207
|
+
var moment$8 = _moment;
|
|
3572
4208
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3573
4209
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3574
4210
|
var Pais = /** @class */ (function () {
|
|
@@ -3578,8 +4214,8 @@ var Pais = /** @class */ (function () {
|
|
|
3578
4214
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3579
4215
|
Pais.fromDto = function (paisDto, originEntity) {
|
|
3580
4216
|
var model = __assign({}, paisDto);
|
|
3581
|
-
model.createdDate = model.createdDate && moment$
|
|
3582
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4217
|
+
model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
|
|
4218
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
|
|
3583
4219
|
var lookupSeparator = " - ";
|
|
3584
4220
|
var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
3585
4221
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -3587,8 +4223,8 @@ var Pais = /** @class */ (function () {
|
|
|
3587
4223
|
};
|
|
3588
4224
|
Pais.toDto = function (pais, originEntity) {
|
|
3589
4225
|
var dto = __assign({}, pais);
|
|
3590
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3591
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4226
|
+
dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
|
|
4227
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
|
|
3592
4228
|
delete dto.label;
|
|
3593
4229
|
return dto;
|
|
3594
4230
|
};
|
|
@@ -3597,7 +4233,7 @@ var Pais = /** @class */ (function () {
|
|
|
3597
4233
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3598
4234
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3599
4235
|
|
|
3600
|
-
var moment$
|
|
4236
|
+
var moment$9 = _moment;
|
|
3601
4237
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3602
4238
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3603
4239
|
var Estado = /** @class */ (function () {
|
|
@@ -3607,8 +4243,8 @@ var Estado = /** @class */ (function () {
|
|
|
3607
4243
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3608
4244
|
Estado.fromDto = function (estadoDto, originEntity) {
|
|
3609
4245
|
var model = __assign({}, estadoDto);
|
|
3610
|
-
model.createdDate = model.createdDate && moment$
|
|
3611
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4246
|
+
model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
|
|
4247
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
|
|
3612
4248
|
var lookupSeparator = " - ";
|
|
3613
4249
|
var displayFields = [
|
|
3614
4250
|
"id",
|
|
@@ -3630,8 +4266,8 @@ var Estado = /** @class */ (function () {
|
|
|
3630
4266
|
};
|
|
3631
4267
|
Estado.toDto = function (estado, originEntity) {
|
|
3632
4268
|
var dto = __assign({}, estado);
|
|
3633
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3634
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4269
|
+
dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
|
|
4270
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
|
|
3635
4271
|
delete dto.label;
|
|
3636
4272
|
if (originEntity !== "Pais" && dto.pais)
|
|
3637
4273
|
dto.pais = Pais.toDto(dto.pais, "Estado");
|
|
@@ -3642,7 +4278,7 @@ var Estado = /** @class */ (function () {
|
|
|
3642
4278
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3643
4279
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3644
4280
|
|
|
3645
|
-
var moment$
|
|
4281
|
+
var moment$a = _moment;
|
|
3646
4282
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3647
4283
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3648
4284
|
var Cidade = /** @class */ (function () {
|
|
@@ -3652,8 +4288,8 @@ var Cidade = /** @class */ (function () {
|
|
|
3652
4288
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3653
4289
|
Cidade.fromDto = function (cidadeDto, originEntity) {
|
|
3654
4290
|
var model = __assign({}, cidadeDto);
|
|
3655
|
-
model.createdDate = model.createdDate && moment$
|
|
3656
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4291
|
+
model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
|
|
4292
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
|
|
3657
4293
|
var lookupSeparator = " - ";
|
|
3658
4294
|
var displayFields = [
|
|
3659
4295
|
"id",
|
|
@@ -3674,8 +4310,8 @@ var Cidade = /** @class */ (function () {
|
|
|
3674
4310
|
};
|
|
3675
4311
|
Cidade.toDto = function (cidade, originEntity) {
|
|
3676
4312
|
var dto = __assign({}, cidade);
|
|
3677
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3678
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4313
|
+
dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
|
|
4314
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
|
|
3679
4315
|
delete dto.label;
|
|
3680
4316
|
if (originEntity !== "Estado" && dto.estado)
|
|
3681
4317
|
dto.estado = Estado.toDto(dto.estado, "Cidade");
|
|
@@ -3686,14 +4322,14 @@ var Cidade = /** @class */ (function () {
|
|
|
3686
4322
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3687
4323
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3688
4324
|
|
|
3689
|
-
var moment$
|
|
4325
|
+
var moment$b = _moment;
|
|
3690
4326
|
var PessoaEndereco = /** @class */ (function () {
|
|
3691
4327
|
function PessoaEndereco() {
|
|
3692
4328
|
}
|
|
3693
4329
|
PessoaEndereco.fromDto = function (pessoaEnderecoDto, originEntity) {
|
|
3694
4330
|
var model = __assign({}, pessoaEnderecoDto);
|
|
3695
|
-
model.createdDate = model.createdDate && moment$
|
|
3696
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4331
|
+
model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
|
|
4332
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
|
|
3697
4333
|
var lookupSeparator = " - ";
|
|
3698
4334
|
var displayFields = [
|
|
3699
4335
|
"codigo",
|
|
@@ -3709,8 +4345,8 @@ var PessoaEndereco = /** @class */ (function () {
|
|
|
3709
4345
|
};
|
|
3710
4346
|
PessoaEndereco.toDto = function (pessoaEndereco, originEntity) {
|
|
3711
4347
|
var dto = __assign({}, pessoaEndereco);
|
|
3712
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3713
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4348
|
+
dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
|
|
4349
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
|
|
3714
4350
|
delete dto.label;
|
|
3715
4351
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
3716
4352
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaEndereco");
|
|
@@ -3721,7 +4357,7 @@ var PessoaEndereco = /** @class */ (function () {
|
|
|
3721
4357
|
return PessoaEndereco;
|
|
3722
4358
|
}());
|
|
3723
4359
|
|
|
3724
|
-
var moment$
|
|
4360
|
+
var moment$c = _moment;
|
|
3725
4361
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3726
4362
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3727
4363
|
var Filial = /** @class */ (function () {
|
|
@@ -3731,8 +4367,8 @@ var Filial = /** @class */ (function () {
|
|
|
3731
4367
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3732
4368
|
Filial.fromDto = function (filialDto, originEntity) {
|
|
3733
4369
|
var model = __assign({}, filialDto);
|
|
3734
|
-
model.createdDate = model.createdDate && moment$
|
|
3735
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4370
|
+
model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
|
|
4371
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
|
|
3736
4372
|
var lookupSeparator = " - ";
|
|
3737
4373
|
var displayFields = [
|
|
3738
4374
|
"codigo",
|
|
@@ -3750,8 +4386,8 @@ var Filial = /** @class */ (function () {
|
|
|
3750
4386
|
};
|
|
3751
4387
|
Filial.toDto = function (filial, originEntity) {
|
|
3752
4388
|
var dto = __assign({}, filial);
|
|
3753
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3754
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4389
|
+
dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
|
|
4390
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
|
|
3755
4391
|
delete dto.label;
|
|
3756
4392
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
3757
4393
|
dto.empresa = Empresa.toDto(dto.empresa, "Filial");
|
|
@@ -3766,14 +4402,14 @@ var Filial = /** @class */ (function () {
|
|
|
3766
4402
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3767
4403
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3768
4404
|
|
|
3769
|
-
var moment$
|
|
4405
|
+
var moment$d = _moment;
|
|
3770
4406
|
var OrdemCompra = /** @class */ (function () {
|
|
3771
4407
|
function OrdemCompra() {
|
|
3772
4408
|
}
|
|
3773
4409
|
OrdemCompra.fromDto = function (ordemCompraDto, originEntity) {
|
|
3774
4410
|
var model = __assign({}, ordemCompraDto);
|
|
3775
|
-
model.createdDate = model.createdDate && moment$
|
|
3776
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4411
|
+
model.createdDate = model.createdDate && moment$d(model.createdDate).toDate();
|
|
4412
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$d(model.lastModifiedDate).toDate();
|
|
3777
4413
|
var lookupSeparator = " - ";
|
|
3778
4414
|
var displayFields = [
|
|
3779
4415
|
"codigo",
|
|
@@ -3789,8 +4425,8 @@ var OrdemCompra = /** @class */ (function () {
|
|
|
3789
4425
|
};
|
|
3790
4426
|
OrdemCompra.toDto = function (ordemCompra, originEntity) {
|
|
3791
4427
|
var dto = __assign({}, ordemCompra);
|
|
3792
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3793
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4428
|
+
dto.createdDate = dto.createdDate && moment$d(dto.createdDate).format();
|
|
4429
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$d(dto.lastModifiedDate).format();
|
|
3794
4430
|
delete dto.label;
|
|
3795
4431
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
3796
4432
|
dto.empresa = Empresa.toDto(dto.empresa, "Produto");
|
|
@@ -3801,7 +4437,7 @@ var OrdemCompra = /** @class */ (function () {
|
|
|
3801
4437
|
return OrdemCompra;
|
|
3802
4438
|
}());
|
|
3803
4439
|
|
|
3804
|
-
var moment$
|
|
4440
|
+
var moment$e = _moment;
|
|
3805
4441
|
var OrdemCompraFormComponent = /** @class */ (function () {
|
|
3806
4442
|
function OrdemCompraFormComponent(dialogRef, dialogConfig, ordemCompraService, translate, fb, route) {
|
|
3807
4443
|
this.dialogRef = dialogRef;
|
|
@@ -3880,7 +4516,7 @@ var OrdemCompraFormComponent = /** @class */ (function () {
|
|
|
3880
4516
|
if (filial && filial.empresa && filial.empresa.id) {
|
|
3881
4517
|
filter.empresaId = filial.empresa.id;
|
|
3882
4518
|
}
|
|
3883
|
-
filter.dataEmissao = filter.dataEmissao && moment$
|
|
4519
|
+
filter.dataEmissao = filter.dataEmissao && moment$e(filter.dataEmissao).format("YYYY-MM-DD");
|
|
3884
4520
|
var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
|
|
3885
4521
|
this.ordemCompraService
|
|
3886
4522
|
.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 +4880,7 @@ var AgendaModule = /** @class */ (function () {
|
|
|
4244
4880
|
]),
|
|
4245
4881
|
],
|
|
4246
4882
|
providers: [
|
|
4247
|
-
AgendaService,
|
|
4883
|
+
AgendaService$1,
|
|
4248
4884
|
],
|
|
4249
4885
|
declarations: [
|
|
4250
4886
|
/*{CA:MODULE_DECLARATIONS:START}*/
|
|
@@ -6111,13 +6747,13 @@ var DevolucaoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
6111
6747
|
DevolucaoChegadaVeiculoOverride = __decorate([
|
|
6112
6748
|
Injectable(),
|
|
6113
6749
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
6114
|
-
AgendaService,
|
|
6750
|
+
AgendaService$1,
|
|
6115
6751
|
DevolucaoService])
|
|
6116
6752
|
], DevolucaoChegadaVeiculoOverride);
|
|
6117
6753
|
return DevolucaoChegadaVeiculoOverride;
|
|
6118
6754
|
}());
|
|
6119
6755
|
|
|
6120
|
-
var moment$
|
|
6756
|
+
var moment$f = _moment;
|
|
6121
6757
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6122
6758
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6123
6759
|
var UnidadeMedida = /** @class */ (function () {
|
|
@@ -6127,8 +6763,8 @@ var UnidadeMedida = /** @class */ (function () {
|
|
|
6127
6763
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6128
6764
|
UnidadeMedida.fromDto = function (unidadeMedidaDto, originEntity) {
|
|
6129
6765
|
var model = __assign({}, unidadeMedidaDto);
|
|
6130
|
-
model.createdDate = model.createdDate && moment$
|
|
6131
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6766
|
+
model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
|
|
6767
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
|
|
6132
6768
|
var lookupSeparator = " - ";
|
|
6133
6769
|
var displayFields = [
|
|
6134
6770
|
"id",
|
|
@@ -6145,8 +6781,8 @@ var UnidadeMedida = /** @class */ (function () {
|
|
|
6145
6781
|
};
|
|
6146
6782
|
UnidadeMedida.toDto = function (unidadeMedida, originEntity) {
|
|
6147
6783
|
var dto = __assign({}, unidadeMedida);
|
|
6148
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6149
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6784
|
+
dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
|
|
6785
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
|
|
6150
6786
|
delete dto.label;
|
|
6151
6787
|
return dto;
|
|
6152
6788
|
};
|
|
@@ -6155,7 +6791,7 @@ var UnidadeMedida = /** @class */ (function () {
|
|
|
6155
6791
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6156
6792
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6157
6793
|
|
|
6158
|
-
var moment$
|
|
6794
|
+
var moment$g = _moment;
|
|
6159
6795
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6160
6796
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6161
6797
|
var Royalty = /** @class */ (function () {
|
|
@@ -6165,8 +6801,8 @@ var Royalty = /** @class */ (function () {
|
|
|
6165
6801
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6166
6802
|
Royalty.fromDto = function (royaltyDto, originEntity) {
|
|
6167
6803
|
var model = __assign({}, royaltyDto);
|
|
6168
|
-
model.createdDate = model.createdDate && moment$
|
|
6169
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6804
|
+
model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
|
|
6805
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
|
|
6170
6806
|
var lookupSeparator = " - ";
|
|
6171
6807
|
var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
6172
6808
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -6176,8 +6812,8 @@ var Royalty = /** @class */ (function () {
|
|
|
6176
6812
|
};
|
|
6177
6813
|
Royalty.toDto = function (royalty, originEntity) {
|
|
6178
6814
|
var dto = __assign({}, royalty);
|
|
6179
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6180
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6815
|
+
dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
|
|
6816
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
|
|
6181
6817
|
delete dto.label;
|
|
6182
6818
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6183
6819
|
dto.empresa = Empresa.toDto(dto.empresa, "Royalty");
|
|
@@ -6188,7 +6824,7 @@ var Royalty = /** @class */ (function () {
|
|
|
6188
6824
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6189
6825
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6190
6826
|
|
|
6191
|
-
var moment$
|
|
6827
|
+
var moment$h = _moment;
|
|
6192
6828
|
var FamiliaProduto = /** @class */ (function () {
|
|
6193
6829
|
function FamiliaProduto() {
|
|
6194
6830
|
}
|
|
@@ -6197,9 +6833,9 @@ var FamiliaProduto = /** @class */ (function () {
|
|
|
6197
6833
|
return familiaProdutoDto;
|
|
6198
6834
|
}
|
|
6199
6835
|
var model = __assign({}, familiaProdutoDto);
|
|
6200
|
-
model.createdDate = model.codigo && moment$
|
|
6201
|
-
model.createdDate = model.createdDate && moment$
|
|
6202
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6836
|
+
model.createdDate = model.codigo && moment$h(model.createdDate).toDate();
|
|
6837
|
+
model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
|
|
6838
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
|
|
6203
6839
|
var lookupSeparator = " - ";
|
|
6204
6840
|
var displayFields = ["id", "codigo", "descricao", "situacao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
6205
6841
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -6209,8 +6845,8 @@ var FamiliaProduto = /** @class */ (function () {
|
|
|
6209
6845
|
};
|
|
6210
6846
|
FamiliaProduto.toDto = function (familiaProduto, originEntity) {
|
|
6211
6847
|
var dto = __assign({}, familiaProduto);
|
|
6212
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6213
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6848
|
+
dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
|
|
6849
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
|
|
6214
6850
|
delete dto.label;
|
|
6215
6851
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6216
6852
|
dto.empresa = Empresa.toDto(dto.empresa, "FamiliaProduto");
|
|
@@ -6219,7 +6855,7 @@ var FamiliaProduto = /** @class */ (function () {
|
|
|
6219
6855
|
return FamiliaProduto;
|
|
6220
6856
|
}());
|
|
6221
6857
|
|
|
6222
|
-
var moment$
|
|
6858
|
+
var moment$i = _moment;
|
|
6223
6859
|
var Produto = /** @class */ (function () {
|
|
6224
6860
|
function Produto() {
|
|
6225
6861
|
this.produtoMisto = false;
|
|
@@ -6227,8 +6863,8 @@ var Produto = /** @class */ (function () {
|
|
|
6227
6863
|
}
|
|
6228
6864
|
Produto.fromDto = function (produtoDto, originEntity) {
|
|
6229
6865
|
var model = __assign({}, produtoDto);
|
|
6230
|
-
model.createdDate = model.createdDate && moment$
|
|
6231
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6866
|
+
model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
|
|
6867
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
|
|
6232
6868
|
var lookupSeparator = " - ";
|
|
6233
6869
|
var displayFields = [
|
|
6234
6870
|
"codigo",
|
|
@@ -6249,8 +6885,8 @@ var Produto = /** @class */ (function () {
|
|
|
6249
6885
|
};
|
|
6250
6886
|
Produto.toDto = function (produto, originEntity) {
|
|
6251
6887
|
var dto = __assign({}, produto);
|
|
6252
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6253
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6888
|
+
dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
|
|
6889
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
|
|
6254
6890
|
delete dto.label;
|
|
6255
6891
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6256
6892
|
dto.empresa = Empresa.toDto(dto.empresa, "Produto");
|
|
@@ -6267,7 +6903,7 @@ var Produto = /** @class */ (function () {
|
|
|
6267
6903
|
return Produto;
|
|
6268
6904
|
}());
|
|
6269
6905
|
|
|
6270
|
-
var moment$
|
|
6906
|
+
var moment$j = _moment;
|
|
6271
6907
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6272
6908
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6273
6909
|
var Derivacao = /** @class */ (function () {
|
|
@@ -6277,8 +6913,8 @@ var Derivacao = /** @class */ (function () {
|
|
|
6277
6913
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6278
6914
|
Derivacao.fromDto = function (derivacaoDto, originEntity) {
|
|
6279
6915
|
var model = __assign({}, derivacaoDto);
|
|
6280
|
-
model.createdDate = model.createdDate && moment$
|
|
6281
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6916
|
+
model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
|
|
6917
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
|
|
6282
6918
|
var lookupSeparator = " - ";
|
|
6283
6919
|
var displayFields = ["codigo", "descricao"];
|
|
6284
6920
|
model.label = getLookupLabel(model, displayFields, lookupSeparator);
|
|
@@ -6290,8 +6926,8 @@ var Derivacao = /** @class */ (function () {
|
|
|
6290
6926
|
};
|
|
6291
6927
|
Derivacao.toDto = function (derivacao, originEntity) {
|
|
6292
6928
|
var dto = __assign({}, derivacao);
|
|
6293
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6294
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6929
|
+
dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
|
|
6930
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
|
|
6295
6931
|
delete dto.label;
|
|
6296
6932
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6297
6933
|
dto.empresa = Empresa.toDto(dto.empresa, "Derivacao");
|
|
@@ -6304,7 +6940,7 @@ var Derivacao = /** @class */ (function () {
|
|
|
6304
6940
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6305
6941
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6306
6942
|
|
|
6307
|
-
var moment$
|
|
6943
|
+
var moment$k = _moment;
|
|
6308
6944
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6309
6945
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6310
6946
|
var Transportadora = /** @class */ (function () {
|
|
@@ -6314,8 +6950,8 @@ var Transportadora = /** @class */ (function () {
|
|
|
6314
6950
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6315
6951
|
Transportadora.fromDto = function (transportadoraDto, originEntity) {
|
|
6316
6952
|
var model = __assign({}, transportadoraDto);
|
|
6317
|
-
model.createdDate = model.createdDate && moment$
|
|
6318
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6953
|
+
model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
|
|
6954
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
|
|
6319
6955
|
var lookupSeparator = " - ";
|
|
6320
6956
|
var displayFields = [
|
|
6321
6957
|
"codigo", "pessoa.nome", "pessoa.cpfCnpj"
|
|
@@ -6329,8 +6965,8 @@ var Transportadora = /** @class */ (function () {
|
|
|
6329
6965
|
};
|
|
6330
6966
|
Transportadora.toDto = function (transportadora, originEntity) {
|
|
6331
6967
|
var dto = __assign({}, transportadora);
|
|
6332
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6333
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6968
|
+
dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
|
|
6969
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
|
|
6334
6970
|
delete dto.label;
|
|
6335
6971
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
6336
6972
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "Transportadora");
|
|
@@ -6343,7 +6979,7 @@ var Transportadora = /** @class */ (function () {
|
|
|
6343
6979
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6344
6980
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6345
6981
|
|
|
6346
|
-
var moment$
|
|
6982
|
+
var moment$l = _moment;
|
|
6347
6983
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6348
6984
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6349
6985
|
var Devolucao = /** @class */ (function () {
|
|
@@ -6353,8 +6989,8 @@ var Devolucao = /** @class */ (function () {
|
|
|
6353
6989
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6354
6990
|
Devolucao.fromDto = function (devolucaoDto, originEntity) {
|
|
6355
6991
|
var model = __assign({}, devolucaoDto);
|
|
6356
|
-
model.createdDate = model.createdDate && moment$
|
|
6357
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6992
|
+
model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
|
|
6993
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
|
|
6358
6994
|
var lookupSeparator = " - ";
|
|
6359
6995
|
var displayFields = [
|
|
6360
6996
|
''
|
|
@@ -6378,8 +7014,8 @@ var Devolucao = /** @class */ (function () {
|
|
|
6378
7014
|
};
|
|
6379
7015
|
Devolucao.toDto = function (devolucao, originEntity) {
|
|
6380
7016
|
var dto = __assign({}, devolucao);
|
|
6381
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6382
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
7017
|
+
dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
|
|
7018
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
|
|
6383
7019
|
delete dto.label;
|
|
6384
7020
|
if (originEntity !== "Pessoa" && dto.fornecedor)
|
|
6385
7021
|
dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Devolucao");
|
|
@@ -7076,7 +7712,7 @@ var DevolucaoFormComponent = /** @class */ (function () {
|
|
|
7076
7712
|
ActivatedRoute,
|
|
7077
7713
|
DevolucaoChegadaVeiculoOverride,
|
|
7078
7714
|
ConfirmationService,
|
|
7079
|
-
AgendaService,
|
|
7715
|
+
AgendaService$1,
|
|
7080
7716
|
ErpProcessService,
|
|
7081
7717
|
ErpFormConfigService,
|
|
7082
7718
|
HasChangeService])
|
|
@@ -7122,7 +7758,7 @@ var DevolucaoInfoComponent = /** @class */ (function () {
|
|
|
7122
7758
|
|
|
7123
7759
|
/*{CA:PACKAGE_IMPORTS:START}*/
|
|
7124
7760
|
/*{CA:PACKAGE_IMPORTS:END}*/
|
|
7125
|
-
var moment$
|
|
7761
|
+
var moment$m = _moment;
|
|
7126
7762
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
7127
7763
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
7128
7764
|
var Expedicao = /** @class */ (function () {
|
|
@@ -7132,8 +7768,8 @@ var Expedicao = /** @class */ (function () {
|
|
|
7132
7768
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
7133
7769
|
Expedicao.fromDto = function (expedicaoDto, originEntity) {
|
|
7134
7770
|
var model = __assign({}, expedicaoDto);
|
|
7135
|
-
model.createdDate = model.createdDate && moment$
|
|
7136
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
7771
|
+
model.createdDate = model.createdDate && moment$m(model.createdDate).toDate();
|
|
7772
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$m(model.lastModifiedDate).toDate();
|
|
7137
7773
|
var lookupSeparator = " - ";
|
|
7138
7774
|
var displayFields = [
|
|
7139
7775
|
"id",
|
|
@@ -7172,8 +7808,8 @@ var Expedicao = /** @class */ (function () {
|
|
|
7172
7808
|
};
|
|
7173
7809
|
Expedicao.toDto = function (expedicao, originEntity) {
|
|
7174
7810
|
var dto = __assign({}, expedicao);
|
|
7175
|
-
dto.createdDate = dto.createdDate && moment$
|
|
7176
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
7811
|
+
dto.createdDate = dto.createdDate && moment$m(dto.createdDate).format();
|
|
7812
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$m(dto.lastModifiedDate).format();
|
|
7177
7813
|
delete dto.label;
|
|
7178
7814
|
if (originEntity !== "Pessoa" && dto.clienteFaturamento)
|
|
7179
7815
|
dto.clienteFaturamento = Pessoa.toDto(dto.clienteFaturamento, "Recebimento");
|
|
@@ -7190,7 +7826,7 @@ var Expedicao = /** @class */ (function () {
|
|
|
7190
7826
|
return Expedicao;
|
|
7191
7827
|
}());
|
|
7192
7828
|
|
|
7193
|
-
var moment$
|
|
7829
|
+
var moment$n = _moment;
|
|
7194
7830
|
var ExpedicaoFormComponent = /** @class */ (function () {
|
|
7195
7831
|
function ExpedicaoFormComponent(expedicaoService, router, route, messageService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, pessoaService, filialService, transportadoraService, pedidoVendaService, pedidoVendaItemService, agendaService, override, confirmationService, erpProcessService, erpFormConfigService, hasChangeService) {
|
|
7196
7832
|
this.expedicaoService = expedicaoService;
|
|
@@ -7740,11 +8376,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
7740
8376
|
if (typeof value == "number")
|
|
7741
8377
|
return name + " eq " + value;
|
|
7742
8378
|
else if (type == FieldType.Date)
|
|
7743
|
-
return name + " eq '" + moment$
|
|
8379
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7744
8380
|
else if (type == FieldType.Time)
|
|
7745
|
-
return name + " eq '" + moment$
|
|
8381
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7746
8382
|
else if (type == FieldType.DateTime)
|
|
7747
|
-
return name + " eq '" + moment$
|
|
8383
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7748
8384
|
else if (type == FieldType.Enum)
|
|
7749
8385
|
return name + " eq '" + value + "'";
|
|
7750
8386
|
else if (type == FieldType.String)
|
|
@@ -7796,11 +8432,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
7796
8432
|
if (typeof value == "number")
|
|
7797
8433
|
return name + " eq " + value;
|
|
7798
8434
|
else if (type == FieldType.Date)
|
|
7799
|
-
return name + " eq '" + moment$
|
|
8435
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7800
8436
|
else if (type == FieldType.Time)
|
|
7801
|
-
return name + " eq '" + moment$
|
|
8437
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7802
8438
|
else if (type == FieldType.DateTime)
|
|
7803
|
-
return name + " eq '" + moment$
|
|
8439
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7804
8440
|
else if (type == FieldType.Enum)
|
|
7805
8441
|
return name + " eq '" + value + "'";
|
|
7806
8442
|
else if (type == FieldType.String)
|
|
@@ -7927,11 +8563,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
7927
8563
|
if (typeof value == "number")
|
|
7928
8564
|
return name + " eq " + value;
|
|
7929
8565
|
else if (type == FieldType.Date)
|
|
7930
|
-
return name + " eq '" + moment$
|
|
8566
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7931
8567
|
else if (type == FieldType.Time)
|
|
7932
|
-
return name + " eq '" + moment$
|
|
8568
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7933
8569
|
else if (type == FieldType.DateTime)
|
|
7934
|
-
return name + " eq '" + moment$
|
|
8570
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7935
8571
|
else if (type == FieldType.String)
|
|
7936
8572
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
7937
8573
|
else
|
|
@@ -8120,11 +8756,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
8120
8756
|
if (typeof value == "number")
|
|
8121
8757
|
return name + " eq " + value;
|
|
8122
8758
|
else if (type == FieldType.Date)
|
|
8123
|
-
return name + " eq '" + moment$
|
|
8759
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
8124
8760
|
else if (type == FieldType.Time)
|
|
8125
|
-
return name + " eq '" + moment$
|
|
8761
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
8126
8762
|
else if (type == FieldType.DateTime)
|
|
8127
|
-
return name + " eq '" + moment$
|
|
8763
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
8128
8764
|
else if (type == FieldType.String)
|
|
8129
8765
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
8130
8766
|
else
|
|
@@ -8166,11 +8802,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
8166
8802
|
if (typeof value == "number")
|
|
8167
8803
|
return name + " eq " + value;
|
|
8168
8804
|
else if (type == FieldType.Date)
|
|
8169
|
-
return name + " eq '" + moment$
|
|
8805
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
8170
8806
|
else if (type == FieldType.Time)
|
|
8171
|
-
return name + " eq '" + moment$
|
|
8807
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
8172
8808
|
else if (type == FieldType.DateTime)
|
|
8173
|
-
return name + " eq '" + moment$
|
|
8809
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
8174
8810
|
else if (type == FieldType.Enum)
|
|
8175
8811
|
return name + " eq '" + value + "'";
|
|
8176
8812
|
else if (type == FieldType.String)
|
|
@@ -8657,7 +9293,7 @@ var ExpedicaoFormComponent = /** @class */ (function () {
|
|
|
8657
9293
|
TransportadoraService,
|
|
8658
9294
|
PedidoVendaService,
|
|
8659
9295
|
PedidoVendaItemService,
|
|
8660
|
-
AgendaService,
|
|
9296
|
+
AgendaService$1,
|
|
8661
9297
|
ExpedicaoChegadaVeiculoOverride,
|
|
8662
9298
|
ConfirmationService,
|
|
8663
9299
|
ErpProcessService,
|
|
@@ -8938,7 +9574,7 @@ var ProcessoAvulsoChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
8938
9574
|
ProcessoAvulsoChegadaVeiculoOverride = __decorate([
|
|
8939
9575
|
Injectable(),
|
|
8940
9576
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
8941
|
-
AgendaService,
|
|
9577
|
+
AgendaService$1,
|
|
8942
9578
|
ProcessoAvulsoService])
|
|
8943
9579
|
], ProcessoAvulsoChegadaVeiculoOverride);
|
|
8944
9580
|
return ProcessoAvulsoChegadaVeiculoOverride;
|
|
@@ -9244,7 +9880,7 @@ var ProcessoAvulsoFormComponent = /** @class */ (function () {
|
|
|
9244
9880
|
ProcessoAvulsoChegadaVeiculoOverride,
|
|
9245
9881
|
TranslateService,
|
|
9246
9882
|
ConfirmationService,
|
|
9247
|
-
AgendaService,
|
|
9883
|
+
AgendaService$1,
|
|
9248
9884
|
ErpProcessService,
|
|
9249
9885
|
ErpFormConfigService,
|
|
9250
9886
|
HasChangeService])
|
|
@@ -9287,7 +9923,7 @@ var ProcessoAvulsoInfoComponent = /** @class */ (function () {
|
|
|
9287
9923
|
return ProcessoAvulsoInfoComponent;
|
|
9288
9924
|
}());
|
|
9289
9925
|
|
|
9290
|
-
var moment$
|
|
9926
|
+
var moment$o = _moment;
|
|
9291
9927
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
9292
9928
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
9293
9929
|
var Safra = /** @class */ (function () {
|
|
@@ -9297,10 +9933,10 @@ var Safra = /** @class */ (function () {
|
|
|
9297
9933
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
9298
9934
|
Safra.fromDto = function (safraDto, originEntity) {
|
|
9299
9935
|
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$
|
|
9936
|
+
model.competenciaInicial = model.competenciaInicial && moment$o(model.competenciaInicial).toDate();
|
|
9937
|
+
model.competenciaFinal = model.competenciaFinal && moment$o(model.competenciaFinal).toDate();
|
|
9938
|
+
model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
|
|
9939
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
|
|
9304
9940
|
var lookupSeparator = " - ";
|
|
9305
9941
|
var displayFields = [
|
|
9306
9942
|
"codigo",
|
|
@@ -9313,10 +9949,10 @@ var Safra = /** @class */ (function () {
|
|
|
9313
9949
|
};
|
|
9314
9950
|
Safra.toDto = function (safra, originEntity) {
|
|
9315
9951
|
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$
|
|
9952
|
+
dto.competenciaInicial = dto.competenciaInicial && moment$o(dto.competenciaInicial).format("YYYY-MM-DD");
|
|
9953
|
+
dto.competenciaFinal = dto.competenciaFinal && moment$o(dto.competenciaFinal).format("YYYY-MM-DD");
|
|
9954
|
+
dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
|
|
9955
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
|
|
9320
9956
|
delete dto.label;
|
|
9321
9957
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
9322
9958
|
dto.empresa = Empresa.toDto(dto.empresa, "Safra");
|
|
@@ -9329,7 +9965,7 @@ var Safra = /** @class */ (function () {
|
|
|
9329
9965
|
|
|
9330
9966
|
/*{CA:PACKAGE_IMPORTS:START}*/
|
|
9331
9967
|
/*{CA:PACKAGE_IMPORTS:END}*/
|
|
9332
|
-
var moment$
|
|
9968
|
+
var moment$p = _moment;
|
|
9333
9969
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
9334
9970
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
9335
9971
|
var RecebimentoOrdemCompra = /** @class */ (function () {
|
|
@@ -9339,8 +9975,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
|
|
|
9339
9975
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
9340
9976
|
RecebimentoOrdemCompra.fromDto = function (recebimentoOrdemCompraDto, originEntity) {
|
|
9341
9977
|
var model = __assign({}, recebimentoOrdemCompraDto);
|
|
9342
|
-
model.createdDate = model.createdDate && moment$
|
|
9343
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
9978
|
+
model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
|
|
9979
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
|
|
9344
9980
|
var lookupSeparator = " - ";
|
|
9345
9981
|
var displayFields = [
|
|
9346
9982
|
''
|
|
@@ -9369,8 +10005,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
|
|
|
9369
10005
|
};
|
|
9370
10006
|
RecebimentoOrdemCompra.toDto = function (recebimentoOrdemCompra, originEntity) {
|
|
9371
10007
|
var dto = __assign({}, recebimentoOrdemCompra);
|
|
9372
|
-
dto.createdDate = dto.createdDate && moment$
|
|
9373
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
10008
|
+
dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
|
|
10009
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
|
|
9374
10010
|
delete dto.label;
|
|
9375
10011
|
if (originEntity !== "Agenda" && dto.agenda)
|
|
9376
10012
|
dto.agenda = Agenda.toDto(dto.agenda, "RecebimentoOrdemCompra");
|
|
@@ -9433,7 +10069,7 @@ var RecebimentoOrdemCompraChegadaVeiculoOverride = /** @class */ (function () {
|
|
|
9433
10069
|
RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
|
|
9434
10070
|
Injectable(),
|
|
9435
10071
|
__metadata("design:paramtypes", [ChegadaVeiculoOverride,
|
|
9436
|
-
AgendaService,
|
|
10072
|
+
AgendaService$1,
|
|
9437
10073
|
RecebimentoOrdemCompraService])
|
|
9438
10074
|
], RecebimentoOrdemCompraChegadaVeiculoOverride);
|
|
9439
10075
|
return RecebimentoOrdemCompraChegadaVeiculoOverride;
|
|
@@ -10614,7 +11250,7 @@ var RecebimentoOrdemCompraFormComponent = /** @class */ (function () {
|
|
|
10614
11250
|
NotaValidatorService,
|
|
10615
11251
|
ConfirmationService,
|
|
10616
11252
|
DialogService,
|
|
10617
|
-
AgendaService,
|
|
11253
|
+
AgendaService$1,
|
|
10618
11254
|
ErpProcessService,
|
|
10619
11255
|
ErpFormConfigService,
|
|
10620
11256
|
VerificaNotafiscal,
|
|
@@ -10661,7 +11297,7 @@ var RecebimentoOrdemCompraInfoComponent = /** @class */ (function () {
|
|
|
10661
11297
|
return RecebimentoOrdemCompraInfoComponent;
|
|
10662
11298
|
}());
|
|
10663
11299
|
|
|
10664
|
-
var moment$
|
|
11300
|
+
var moment$q = _moment;
|
|
10665
11301
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
10666
11302
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
10667
11303
|
var ContratoCompra = /** @class */ (function () {
|
|
@@ -10671,11 +11307,11 @@ var ContratoCompra = /** @class */ (function () {
|
|
|
10671
11307
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
10672
11308
|
ContratoCompra.fromDto = function (contratoCompraDto, originEntity) {
|
|
10673
11309
|
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$
|
|
11310
|
+
model.dataEmissao = model.dataEmissao && moment$q(model.dataEmissao).toDate();
|
|
11311
|
+
model.dataInicioVigencia = model.dataInicioVigencia && moment$q(model.dataInicioVigencia).toDate();
|
|
11312
|
+
model.dataFimVigencia = model.dataFimVigencia && moment$q(model.dataFimVigencia).toDate();
|
|
11313
|
+
model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
|
|
11314
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
|
|
10679
11315
|
model.label = "N\u00FAmero: " + model.numero + ", Filial: " + model.filial.codigo;
|
|
10680
11316
|
if (originEntity !== "Empresa" && model.empresa)
|
|
10681
11317
|
model.empresa = Empresa.fromDto(model.empresa, "ContratoCompra");
|
|
@@ -10691,11 +11327,11 @@ var ContratoCompra = /** @class */ (function () {
|
|
|
10691
11327
|
};
|
|
10692
11328
|
ContratoCompra.toDto = function (contratoCompra, originEntity) {
|
|
10693
11329
|
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$
|
|
11330
|
+
dto.dataEmissao = dto.dataEmissao && moment$q(dto.dataEmissao).format("YYYY-MM-DD");
|
|
11331
|
+
dto.dataInicioVigencia = dto.dataInicioVigencia && moment$q(dto.dataInicioVigencia).format("YYYY-MM-DD");
|
|
11332
|
+
dto.dataFimVigencia = dto.dataFimVigencia && moment$q(dto.dataFimVigencia).format("YYYY-MM-DD");
|
|
11333
|
+
dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
|
|
11334
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
|
|
10699
11335
|
delete dto.label;
|
|
10700
11336
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
10701
11337
|
dto.empresa = Empresa.toDto(dto.empresa, "ContratoCompra");
|
|
@@ -10716,7 +11352,7 @@ var ContratoCompra = /** @class */ (function () {
|
|
|
10716
11352
|
/*{CA:FILE_CONTENTS:START}*/
|
|
10717
11353
|
/*{CA:FILE_CONTENTS:END}*/
|
|
10718
11354
|
|
|
10719
|
-
var moment$
|
|
11355
|
+
var moment$r = _moment;
|
|
10720
11356
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
10721
11357
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
10722
11358
|
var ContratoCompraItem = /** @class */ (function () {
|
|
@@ -10727,9 +11363,9 @@ var ContratoCompraItem = /** @class */ (function () {
|
|
|
10727
11363
|
ContratoCompraItem.fromDto = function (contratoCompraItemDto, originEntity) {
|
|
10728
11364
|
var model = __assign({}, contratoCompraItemDto);
|
|
10729
11365
|
model.sku = model.sku || {};
|
|
10730
|
-
model.dataCompetencia = model.dataCompetencia && moment$
|
|
10731
|
-
model.createdDate = model.createdDate && moment$
|
|
10732
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11366
|
+
model.dataCompetencia = model.dataCompetencia && moment$r(model.dataCompetencia).toDate();
|
|
11367
|
+
model.createdDate = model.createdDate && moment$r(model.createdDate).toDate();
|
|
11368
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$r(model.lastModifiedDate).toDate();
|
|
10733
11369
|
model.label = model.sequencia + " - " + model.sku.descricao + " - " + model.sku.codigo;
|
|
10734
11370
|
if (originEntity !== "ContratoCompra" && model.contrato)
|
|
10735
11371
|
model.contrato = ContratoCompra.fromDto(model.contrato, "ContratoCompraItem");
|
|
@@ -10739,9 +11375,9 @@ var ContratoCompraItem = /** @class */ (function () {
|
|
|
10739
11375
|
};
|
|
10740
11376
|
ContratoCompraItem.toDto = function (contratoCompraItem, originEntity) {
|
|
10741
11377
|
var dto = __assign({}, contratoCompraItem);
|
|
10742
|
-
dto.dataCompetencia = dto.dataCompetencia && moment$
|
|
10743
|
-
dto.createdDate = dto.createdDate && moment$
|
|
10744
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11378
|
+
dto.dataCompetencia = dto.dataCompetencia && moment$r(dto.dataCompetencia).format("YYYY-MM-DD");
|
|
11379
|
+
dto.createdDate = dto.createdDate && moment$r(dto.createdDate).format();
|
|
11380
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$r(dto.lastModifiedDate).format();
|
|
10745
11381
|
delete dto.label;
|
|
10746
11382
|
if (originEntity !== "ContratoCompra" && dto.contrato)
|
|
10747
11383
|
dto.contrato = ContratoCompra.toDto(dto.contrato, "ContratoCompraItem");
|
|
@@ -10754,7 +11390,7 @@ var ContratoCompraItem = /** @class */ (function () {
|
|
|
10754
11390
|
/*{CA:FILE_CONTENTS:START}*/
|
|
10755
11391
|
/*{CA:FILE_CONTENTS:END}*/
|
|
10756
11392
|
|
|
10757
|
-
var moment$
|
|
11393
|
+
var moment$s = _moment;
|
|
10758
11394
|
var ContratoFormComponent = /** @class */ (function () {
|
|
10759
11395
|
function ContratoFormComponent(dialogRef, dialogConfig, contratoCompraService, contratoCompraItemService, translate, fb, route) {
|
|
10760
11396
|
this.dialogRef = dialogRef;
|
|
@@ -10848,7 +11484,7 @@ var ContratoFormComponent = /** @class */ (function () {
|
|
|
10848
11484
|
if (filial && filial.empresa && filial.empresa.id) {
|
|
10849
11485
|
filter.empresaId = filial.empresa.id;
|
|
10850
11486
|
}
|
|
10851
|
-
filter.dataEmissao = filter.dataEmissao && moment$
|
|
11487
|
+
filter.dataEmissao = filter.dataEmissao && moment$s(filter.dataEmissao).format("YYYY-MM-DD");
|
|
10852
11488
|
var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
|
|
10853
11489
|
this.contratoCompraService
|
|
10854
11490
|
.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 +11713,14 @@ var Transgenia = /** @class */ (function () {
|
|
|
11077
11713
|
return Transgenia;
|
|
11078
11714
|
}());
|
|
11079
11715
|
|
|
11080
|
-
var moment$
|
|
11716
|
+
var moment$t = _moment;
|
|
11081
11717
|
var RecebimentoContrato = /** @class */ (function () {
|
|
11082
11718
|
function RecebimentoContrato() {
|
|
11083
11719
|
}
|
|
11084
11720
|
RecebimentoContrato.fromDto = function (recebimentoDto, originEntity) {
|
|
11085
11721
|
var model = __assign({}, recebimentoDto);
|
|
11086
|
-
model.createdDate = model.createdDate && moment$
|
|
11087
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11722
|
+
model.createdDate = model.createdDate && moment$t(model.createdDate).toDate();
|
|
11723
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$t(model.lastModifiedDate).toDate();
|
|
11088
11724
|
var lookupSeparator = " - ";
|
|
11089
11725
|
var displayFields = [
|
|
11090
11726
|
"id",
|
|
@@ -11133,8 +11769,8 @@ var RecebimentoContrato = /** @class */ (function () {
|
|
|
11133
11769
|
};
|
|
11134
11770
|
RecebimentoContrato.toDto = function (recebimento, originEntity) {
|
|
11135
11771
|
var dto = __assign({}, recebimento);
|
|
11136
|
-
dto.createdDate = dto.createdDate && moment$
|
|
11137
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11772
|
+
dto.createdDate = dto.createdDate && moment$t(dto.createdDate).format();
|
|
11773
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$t(dto.lastModifiedDate).format();
|
|
11138
11774
|
delete dto.label;
|
|
11139
11775
|
if (originEntity !== "Pessoa" && dto.fornecedor)
|
|
11140
11776
|
dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Recebimento");
|
|
@@ -11168,7 +11804,7 @@ var Situacao;
|
|
|
11168
11804
|
Situacao["ATIVO"] = "ATIVO";
|
|
11169
11805
|
})(Situacao || (Situacao = {}));
|
|
11170
11806
|
|
|
11171
|
-
var moment$
|
|
11807
|
+
var moment$u = _moment;
|
|
11172
11808
|
var RecebimentoFormComponent = /** @class */ (function () {
|
|
11173
11809
|
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
11810
|
var _this = this;
|
|
@@ -11850,11 +12486,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11850
12486
|
if (typeof value == "number")
|
|
11851
12487
|
return name + " eq " + value;
|
|
11852
12488
|
else if (type == FieldType.Date)
|
|
11853
|
-
return name + " eq '" + moment$
|
|
12489
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11854
12490
|
else if (type == FieldType.Time)
|
|
11855
|
-
return name + " eq '" + moment$
|
|
12491
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11856
12492
|
else if (type == FieldType.DateTime)
|
|
11857
|
-
return name + " eq '" + moment$
|
|
12493
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11858
12494
|
else if (type == FieldType.String)
|
|
11859
12495
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
11860
12496
|
else
|
|
@@ -11893,11 +12529,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11893
12529
|
if (typeof value == "number")
|
|
11894
12530
|
return name + " eq " + value;
|
|
11895
12531
|
else if (type == FieldType.Date)
|
|
11896
|
-
return name + " eq '" + moment$
|
|
12532
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11897
12533
|
else if (type == FieldType.Time)
|
|
11898
|
-
return name + " eq '" + moment$
|
|
12534
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11899
12535
|
else if (type == FieldType.DateTime)
|
|
11900
|
-
return name + " eq '" + moment$
|
|
12536
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11901
12537
|
else if (type == FieldType.Enum)
|
|
11902
12538
|
return name + " eq '" + value + "'";
|
|
11903
12539
|
else if (type == FieldType.String)
|
|
@@ -11939,11 +12575,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11939
12575
|
if (typeof value == "number")
|
|
11940
12576
|
return name + " eq " + value;
|
|
11941
12577
|
else if (type == FieldType.Date)
|
|
11942
|
-
return name + " eq '" + moment$
|
|
12578
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11943
12579
|
else if (type == FieldType.Time)
|
|
11944
|
-
return name + " eq '" + moment$
|
|
12580
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11945
12581
|
else if (type == FieldType.DateTime)
|
|
11946
|
-
return name + " eq '" + moment$
|
|
12582
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11947
12583
|
else if (type == FieldType.String)
|
|
11948
12584
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
11949
12585
|
else
|
|
@@ -11983,11 +12619,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
11983
12619
|
if (typeof value == "number")
|
|
11984
12620
|
return name + " eq " + value;
|
|
11985
12621
|
else if (type == FieldType.Date)
|
|
11986
|
-
return name + " eq '" + moment$
|
|
12622
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11987
12623
|
else if (type == FieldType.Time)
|
|
11988
|
-
return name + " eq '" + moment$
|
|
12624
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11989
12625
|
else if (type == FieldType.DateTime)
|
|
11990
|
-
return name + " eq '" + moment$
|
|
12626
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11991
12627
|
else if (type == FieldType.Enum)
|
|
11992
12628
|
return name + " eq '" + value + "'";
|
|
11993
12629
|
else if (type == FieldType.String)
|
|
@@ -12084,11 +12720,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12084
12720
|
if (typeof value == "number")
|
|
12085
12721
|
return name + " eq " + value;
|
|
12086
12722
|
else if (type == FieldType.Date)
|
|
12087
|
-
return name + " eq '" + moment$
|
|
12723
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12088
12724
|
else if (type == FieldType.Time)
|
|
12089
|
-
return name + " eq '" + moment$
|
|
12725
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12090
12726
|
else if (type == FieldType.DateTime)
|
|
12091
|
-
return name + " eq '" + moment$
|
|
12727
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12092
12728
|
else if (type == FieldType.String)
|
|
12093
12729
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
12094
12730
|
else
|
|
@@ -12126,11 +12762,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12126
12762
|
if (typeof value == "number")
|
|
12127
12763
|
return name + " eq " + value;
|
|
12128
12764
|
else if (type == FieldType.Date)
|
|
12129
|
-
return name + " eq '" + moment$
|
|
12765
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12130
12766
|
else if (type == FieldType.Time)
|
|
12131
|
-
return name + " eq '" + moment$
|
|
12767
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12132
12768
|
else if (type == FieldType.DateTime)
|
|
12133
|
-
return name + " eq '" + moment$
|
|
12769
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12134
12770
|
else if (type == FieldType.Enum)
|
|
12135
12771
|
return name + " eq '" + value + "'";
|
|
12136
12772
|
else if (type == FieldType.String)
|
|
@@ -12179,11 +12815,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12179
12815
|
if (typeof value == "number")
|
|
12180
12816
|
return name + " eq " + value;
|
|
12181
12817
|
else if (type == FieldType.Date)
|
|
12182
|
-
return name + " eq '" + moment$
|
|
12818
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12183
12819
|
else if (type == FieldType.Time)
|
|
12184
|
-
return name + " eq '" + moment$
|
|
12820
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12185
12821
|
else if (type == FieldType.DateTime)
|
|
12186
|
-
return name + " eq '" + moment$
|
|
12822
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12187
12823
|
else if (type == FieldType.Enum)
|
|
12188
12824
|
return name + " eq '" + value + "'";
|
|
12189
12825
|
else if (type == FieldType.String)
|
|
@@ -12961,7 +13597,7 @@ var RecebimentoFormComponent = /** @class */ (function () {
|
|
|
12961
13597
|
NotaValidatorService,
|
|
12962
13598
|
TransgeniaService,
|
|
12963
13599
|
DialogService,
|
|
12964
|
-
AgendaService,
|
|
13600
|
+
AgendaService$1,
|
|
12965
13601
|
ErpProcessService,
|
|
12966
13602
|
ErpFormConfigService,
|
|
12967
13603
|
VerificaNotafiscal,
|
|
@@ -13125,5 +13761,5 @@ var DockModule = /** @class */ (function () {
|
|
|
13125
13761
|
return DockModule;
|
|
13126
13762
|
}());
|
|
13127
13763
|
|
|
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,
|
|
13764
|
+
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
13765
|
//# sourceMappingURL=seniorsistemas-yms-integration.js.map
|