@seniorsistemas/yms-integration 1.19.0 → 1.19.1-5faa32ff-77ac-459b-a5e6-0b7a1b7fef2a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/bundles/seniorsistemas-yms-integration.umd.js +858 -229
  2. package/bundles/seniorsistemas-yms-integration.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-yms-integration.umd.min.js +1 -1
  4. package/bundles/seniorsistemas-yms-integration.umd.min.js.map +1 -1
  5. package/esm2015/index.js +4 -1
  6. package/esm2015/seniorsistemas-yms-integration.js +47 -38
  7. package/esm2015/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
  8. package/esm2015/src/wms/components/document-grid/document-grid.component.js +163 -0
  9. package/esm2015/src/wms/components/document-grid/document-grid.module.js +35 -0
  10. package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +75 -0
  11. package/esm2015/src/wms/components/document-grid/insert-key/insert-key.module.js +26 -0
  12. package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +107 -0
  13. package/esm2015/src/wms/components/document-grid/register-document/register-document.module.js +32 -0
  14. package/esm2015/src/wms/entities/agenda/agenda.service.js +22 -0
  15. package/esm2015/src/wms/entities/document/document-dto.js +1 -0
  16. package/esm2015/src/wms/entities/document/document.js +39 -0
  17. package/esm2015/src/wms/entities/document/document.service.js +21 -0
  18. package/esm2015/src/wms/entities/document/find-documents-input.js +1 -0
  19. package/esm2015/src/wms/entities/entity-service.js +4 -0
  20. package/esm2015/src/wms/entities/wms-system/wms-system.js +9 -0
  21. package/esm2015/src/wms/form/form-wms.component.js +60 -0
  22. package/esm2015/src/wms/wms.module.js +68 -0
  23. package/esm5/index.js +4 -1
  24. package/esm5/seniorsistemas-yms-integration.js +47 -38
  25. package/esm5/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
  26. package/esm5/src/wms/components/document-grid/document-grid.component.js +168 -0
  27. package/esm5/src/wms/components/document-grid/document-grid.module.js +38 -0
  28. package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +77 -0
  29. package/esm5/src/wms/components/document-grid/insert-key/insert-key.module.js +29 -0
  30. package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +109 -0
  31. package/esm5/src/wms/components/document-grid/register-document/register-document.module.js +35 -0
  32. package/esm5/src/wms/entities/agenda/agenda.service.js +25 -0
  33. package/esm5/src/wms/entities/document/document-dto.js +1 -0
  34. package/esm5/src/wms/entities/document/document.js +44 -0
  35. package/esm5/src/wms/entities/document/document.service.js +24 -0
  36. package/esm5/src/wms/entities/document/find-documents-input.js +1 -0
  37. package/esm5/src/wms/entities/entity-service.js +11 -0
  38. package/esm5/src/wms/entities/wms-system/wms-system.js +9 -0
  39. package/esm5/src/wms/form/form-wms.component.js +63 -0
  40. package/esm5/src/wms/wms.module.js +69 -0
  41. package/fesm2015/seniorsistemas-yms-integration.js +766 -185
  42. package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
  43. package/fesm5/seniorsistemas-yms-integration.js +799 -182
  44. package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
  45. package/index.d.ts +2 -0
  46. package/package.json +1 -1
  47. package/seniorsistemas-yms-integration.d.ts +46 -37
  48. package/seniorsistemas-yms-integration.metadata.json +1 -1
  49. package/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.d.ts +1 -0
  50. package/src/wms/components/document-grid/document-grid.component.d.ts +43 -0
  51. package/src/wms/components/document-grid/document-grid.module.d.ts +2 -0
  52. package/src/wms/components/document-grid/insert-key/insert-key.component.d.ts +22 -0
  53. package/src/wms/components/document-grid/insert-key/insert-key.module.d.ts +2 -0
  54. package/src/wms/components/document-grid/register-document/register-document.component.d.ts +28 -0
  55. package/src/wms/components/document-grid/register-document/register-document.module.d.ts +2 -0
  56. package/src/wms/entities/agenda/agenda.service.d.ts +9 -0
  57. package/src/wms/entities/document/document-dto.d.ts +16 -0
  58. package/src/wms/entities/document/document.d.ts +20 -0
  59. package/src/wms/entities/document/document.service.d.ts +11 -0
  60. package/src/wms/entities/document/find-documents-input.d.ts +7 -0
  61. package/src/wms/entities/entity-service.d.ts +3 -0
  62. package/src/wms/entities/wms-system/wms-system.d.ts +7 -0
  63. package/src/wms/form/form-wms.component.d.ts +18 -0
  64. 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, InjectionToken, Inject, ViewChild, TemplateRef } from '@angular/core';
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';
@@ -16,8 +16,8 @@ import { StompConfig, StompService } from '@stomp/ng2-stompjs';
16
16
  import * as SockJS from 'sockjs-client';
17
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';
@@ -1889,6 +1889,16 @@ var VisitanteComponent = /** @class */ (function () {
1889
1889
  driver: true
1890
1890
  });
1891
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
+ }
1892
1902
  };
1893
1903
  VisitanteComponent.prototype.adicionaVisitantesGrid = function () {
1894
1904
  var _this = this;
@@ -1981,6 +1991,14 @@ var VisitanteComponent = /** @class */ (function () {
1981
1991
  if (visitor.document === visitante.document) {
1982
1992
  visitor.contact = visitante.contact;
1983
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);
1984
2002
  _this.visitorFound = true;
1985
2003
  }
1986
2004
  });
@@ -2008,6 +2026,19 @@ var VisitanteComponent = /** @class */ (function () {
2008
2026
  this.visitorsChange.emit(this.visitors);
2009
2027
  this.hasChange.emit(true);
2010
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
+ };
2011
2042
  VisitanteComponent.prototype.model = function (visitante) {
2012
2043
  var _this = this;
2013
2044
  var isDriver = visitante.document === this.motorista.cpf;
@@ -2964,6 +2995,190 @@ var VisitorListModule = /** @class */ (function () {
2964
2995
  return VisitorListModule;
2965
2996
  }());
2966
2997
 
2998
+ var INFORMACAOES_ADICIONAIS_HEADER = "Informações adicionais";
2999
+ var FormWmsDescritor = /** @class */ (function () {
3000
+ function FormWmsDescritor() {
3001
+ }
3002
+ FormWmsDescritor = __decorate([
3003
+ ChegadaVeiculo({
3004
+ header: INFORMACAOES_ADICIONAIS_HEADER,
3005
+ name: 'yms.integracao.wms',
3006
+ icon: 'fa fa-plus'
3007
+ })
3008
+ ], FormWmsDescritor);
3009
+ return FormWmsDescritor;
3010
+ }());
3011
+ var FormWmsComponent = /** @class */ (function (_super) {
3012
+ __extends(FormWmsComponent, _super);
3013
+ function FormWmsComponent(integrationCallback) {
3014
+ var _this = _super.call(this) || this;
3015
+ _this.integrationCallback = integrationCallback;
3016
+ _this.save = [];
3017
+ _this.header = INFORMACAOES_ADICIONAIS_HEADER;
3018
+ _this.loading = false;
3019
+ _this.unsubscribe$ = new Subject();
3020
+ _this._integrationCallback = integrationCallback;
3021
+ return _this;
3022
+ }
3023
+ FormWmsComponent.prototype.ngOnInit = function () {
3024
+ var _this = this;
3025
+ this._integrationCallback.onAgendamentoSaved()
3026
+ .pipe(takeUntil(this.unsubscribe$), mergeMap(function (agenda) {
3027
+ _this.agenda = agenda;
3028
+ return empty();
3029
+ }))
3030
+ .subscribe();
3031
+ };
3032
+ FormWmsComponent.prototype.ngOnDestroy = function () {
3033
+ this.unsubscribe$.next();
3034
+ this.unsubscribe$.complete();
3035
+ };
3036
+ __decorate([
3037
+ Output(),
3038
+ __metadata("design:type", Agenda)
3039
+ ], FormWmsComponent.prototype, "agenda", void 0);
3040
+ __decorate([
3041
+ Input(),
3042
+ __metadata("design:type", Array)
3043
+ ], FormWmsComponent.prototype, "save", void 0);
3044
+ FormWmsComponent = __decorate([
3045
+ Component({
3046
+ template: "\n <div *ngIf=\"agenda\">\n <document-grid [agenda]=\"agenda\"></document-grid>\n </div>\n "
3047
+ }),
3048
+ __metadata("design:paramtypes", [IntegrationEventsCallback])
3049
+ ], FormWmsComponent);
3050
+ return FormWmsComponent;
3051
+ }(FormWmsDescritor));
3052
+
3053
+ var DocumentService = /** @class */ (function (_super) {
3054
+ __extends(DocumentService, _super);
3055
+ function DocumentService(http, messageService) {
3056
+ var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
3057
+ _this.http = http;
3058
+ _this.messageService = messageService;
3059
+ return _this;
3060
+ }
3061
+ DocumentService.prototype.findDocuments = function (input) {
3062
+ return this.http.post('yms_int/wms/queries/findDocuments', input);
3063
+ };
3064
+ DocumentService = __decorate([
3065
+ Injectable(),
3066
+ __metadata("design:paramtypes", [HttpClient, MessageService])
3067
+ ], DocumentService);
3068
+ return DocumentService;
3069
+ }(EntityService));
3070
+
3071
+ var InsertKeyComponent = /** @class */ (function () {
3072
+ function InsertKeyComponent(formBuilder, documentService, messageService, translate) {
3073
+ this.formBuilder = formBuilder;
3074
+ this.documentService = documentService;
3075
+ this.messageService = messageService;
3076
+ this.translate = translate;
3077
+ this.document = new EventEmitter();
3078
+ }
3079
+ InsertKeyComponent.prototype.ngOnInit = function () {
3080
+ this.formGroup = this.formBuilder.group({
3081
+ key: [undefined]
3082
+ });
3083
+ };
3084
+ InsertKeyComponent.prototype.showInsertKey = function (visible) {
3085
+ this.visible = visible;
3086
+ };
3087
+ InsertKeyComponent.prototype.add = function () {
3088
+ this.visible = false;
3089
+ if (!this.formGroup.get('key').value) {
3090
+ return;
3091
+ }
3092
+ this.searchKey();
3093
+ };
3094
+ InsertKeyComponent.prototype.searchKey = function () {
3095
+ var _this = this;
3096
+ var key = {
3097
+ documentKeys: [this.formGroup.get('key').value],
3098
+ invoices: undefined,
3099
+ logistcUnitName: undefined,
3100
+ size: 0,
3101
+ offset: 0
3102
+ };
3103
+ this.documentService.findDocuments(key).subscribe(function (content) {
3104
+ if (content.totalElements < 1) {
3105
+ _this.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
3106
+ return;
3107
+ }
3108
+ _this.document.emit(content.contents[0]);
3109
+ _this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_insert_key_success_message_description");
3110
+ _this.formGroup.reset();
3111
+ });
3112
+ };
3113
+ InsertKeyComponent.prototype.message = function (success, header, description) {
3114
+ this.messageService.add({
3115
+ severity: success,
3116
+ summary: this.translate.instant(header),
3117
+ detail: this.translate.instant(description),
3118
+ });
3119
+ };
3120
+ InsertKeyComponent.prototype.cancel = function () {
3121
+ this.visible = false;
3122
+ };
3123
+ __decorate([
3124
+ Output(),
3125
+ __metadata("design:type", EventEmitter)
3126
+ ], InsertKeyComponent.prototype, "document", void 0);
3127
+ InsertKeyComponent = __decorate([
3128
+ Component({
3129
+ selector: "insert-key",
3130
+ template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\">\n <p-header>{{'yms.insert_key_header' | translate}}</p-header>\n <div class=\"flex py-2 justify-content-center spacing-bottom\">\n <label for=\"key\">{{'yms.insert_key_label'}}</label>\n <input id=\"key\" class=\"size-input\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"separator\"></div>\n <div class=\"spacing-top\">\n <s-button pButton label=\"{{'save' | translate}}\" (click)=\"add()\"></s-button>\n <s-button\n type=\"button\"\n class=\"ui-button-link\"\n pButton label=\"{{'cancel' | translate}}\"\n (click)=\"cancel()\">\n </s-button>\n </div>\n </p-dialog>\n</form>",
3131
+ styles: [".spacing-top{margin-top:10px}.spacing-bottom{margin-bottom:10px}.separator{width:100%;margin:5px 0;height:1px;background-color:#ccc}.size-input{width:550px}"]
3132
+ }),
3133
+ __metadata("design:paramtypes", [FormBuilder,
3134
+ DocumentService,
3135
+ MessageService,
3136
+ TranslateService])
3137
+ ], InsertKeyComponent);
3138
+ return InsertKeyComponent;
3139
+ }());
3140
+
3141
+ var moment$4 = _moment;
3142
+ var Document = /** @class */ (function () {
3143
+ function Document() {
3144
+ }
3145
+ Document.fromDto = function (documentDto, originEntity) {
3146
+ var model = __assign({}, documentDto);
3147
+ model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
3148
+ model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
3149
+ var lookupSeparator = " - ";
3150
+ var displayFields = [
3151
+ "id",
3152
+ "schedulingId",
3153
+ "invoiceKey",
3154
+ "invoiceNumber",
3155
+ "invoiceSerialNumber",
3156
+ "systemIntegration",
3157
+ "logistcUnitName",
3158
+ "logistcUnitDocument",
3159
+ "ownerName",
3160
+ "ownerDocument",
3161
+ "partnerName",
3162
+ "partnerDocument",
3163
+ "notes",
3164
+ "orderReceivingCode",
3165
+ "createdBy",
3166
+ "createdDate",
3167
+ "lastModifiedBy",
3168
+ "lastModifiedDate",
3169
+ ];
3170
+ model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
3171
+ return model;
3172
+ };
3173
+ Document.toDto = function (document, originEntity) {
3174
+ var dto = __assign({}, document);
3175
+ dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
3176
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
3177
+ return dto;
3178
+ };
3179
+ return Document;
3180
+ }());
3181
+
2967
3182
  var EntityService$1 = /** @class */ (function () {
2968
3183
  function EntityService(http, messageService, entityUrl, actionsUrl) {
2969
3184
  this.http = http;
@@ -3058,9 +3273,411 @@ var EntityService$1 = /** @class */ (function () {
3058
3273
  return EntityService;
3059
3274
  }());
3060
3275
 
3276
+ var EntityService$2 = /** @class */ (function (_super) {
3277
+ __extends(EntityService, _super);
3278
+ function EntityService() {
3279
+ return _super !== null && _super.apply(this, arguments) || this;
3280
+ }
3281
+ return EntityService;
3282
+ }(EntityService$1));
3283
+
3284
+ var AgendaService = /** @class */ (function (_super) {
3285
+ __extends(AgendaService, _super);
3286
+ function AgendaService(http, messageService) {
3287
+ var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
3288
+ _this.http = http;
3289
+ _this.messageService = messageService;
3290
+ return _this;
3291
+ }
3292
+ AgendaService.ngInjectableDef = defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(inject(HttpClient), inject(MessageService$1)); }, token: AgendaService, providedIn: "root" });
3293
+ AgendaService = __decorate([
3294
+ Injectable({ providedIn: 'root' }),
3295
+ __metadata("design:paramtypes", [HttpClient, MessageService$1])
3296
+ ], AgendaService);
3297
+ return AgendaService;
3298
+ }(EntityService$2));
3299
+
3300
+ var RegisterDocumentComponent = /** @class */ (function () {
3301
+ function RegisterDocumentComponent(fb, messageService, translateService, agendaService) {
3302
+ this.fb = fb;
3303
+ this.messageService = messageService;
3304
+ this.translateService = translateService;
3305
+ this.agendaService = agendaService;
3306
+ this.document = new EventEmitter();
3307
+ }
3308
+ RegisterDocumentComponent.prototype.ngOnInit = function () {
3309
+ this.getFormGroup();
3310
+ };
3311
+ RegisterDocumentComponent.prototype.showRegister = function (isVisible, isEdit, document) {
3312
+ if (!isVisible && !isEdit) {
3313
+ return;
3314
+ }
3315
+ this.visible = isVisible;
3316
+ this.edit = isEdit;
3317
+ if (!this.edit) {
3318
+ this.formGroup.disable();
3319
+ this.setValuesFormGroup(document);
3320
+ this.setValueForPartner();
3321
+ this.hideSaveButton = true;
3322
+ }
3323
+ };
3324
+ RegisterDocumentComponent.prototype.close = function () {
3325
+ this.visible = false;
3326
+ };
3327
+ RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
3328
+ this.formGroup.get('invoiceKey').setValue(document.invoiceKey);
3329
+ this.formGroup.get('invoiceNumber').setValue(document.invoiceNumber);
3330
+ this.formGroup.get('invoiceSerialNumber').setValue(document.invoiceSerialNumber);
3331
+ this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
3332
+ this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
3333
+ this.formGroup.get('notes').setValue(document.notes);
3334
+ this.formGroup.get('orderReceivingCode').setValue(document.orderReceivingCode);
3335
+ this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
3336
+ this.formGroup.get('ownerName').setValue(document.ownerName);
3337
+ };
3338
+ RegisterDocumentComponent.prototype.setValueForPartner = function () {
3339
+ var _this = this;
3340
+ this.agendaService.get(this.agenda.id).subscribe(function (agenda) {
3341
+ _this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
3342
+ _this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
3343
+ });
3344
+ };
3345
+ RegisterDocumentComponent.prototype.getFormGroup = function () {
3346
+ this.formGroup = this.fb.group({
3347
+ invoiceKey: [undefined, Validators.required],
3348
+ schedulingId: [undefined],
3349
+ invoiceNumber: [undefined],
3350
+ invoiceSerialNumber: [undefined],
3351
+ logistcUnitName: [undefined],
3352
+ logistcUnitDocument: [undefined],
3353
+ ownerName: [undefined],
3354
+ ownerDocument: [undefined],
3355
+ partnerName: [undefined],
3356
+ partnerDocument: [undefined],
3357
+ notes: [undefined],
3358
+ orderReceivingCode: [undefined],
3359
+ });
3360
+ };
3361
+ RegisterDocumentComponent.prototype.save = function () {
3362
+ var value = this.formGroup.getRawValue();
3363
+ if (value.id === undefined) {
3364
+ if (this.agenda.id !== undefined) {
3365
+ value.schedulingId = this.agenda.id;
3366
+ }
3367
+ this.document.emit(Document.fromDto(value));
3368
+ this.successMessage();
3369
+ this.visible = false;
3370
+ }
3371
+ };
3372
+ RegisterDocumentComponent.prototype.successMessage = function () {
3373
+ this.messageService.add({
3374
+ severity: "success",
3375
+ summary: this.translateService.instant("saved_message_title"),
3376
+ detail: this.translateService.instant("saved_message_content"),
3377
+ });
3378
+ };
3379
+ __decorate([
3380
+ Input(),
3381
+ __metadata("design:type", Agenda)
3382
+ ], RegisterDocumentComponent.prototype, "agenda", void 0);
3383
+ __decorate([
3384
+ Output(),
3385
+ __metadata("design:type", EventEmitter)
3386
+ ], RegisterDocumentComponent.prototype, "document", void 0);
3387
+ RegisterDocumentComponent = __decorate([
3388
+ Component({
3389
+ selector: "register-document",
3390
+ template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }}\"\n (visibleChange)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6 required\">\n <label for=\"invoiceKey\">{{'yms.int.wms_register_document_invoice_key' | translate}}</label>\n <input id=\"invoiceKey\" pInputText type=\"text\" formControlName=\"invoiceKey\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceNumber\">{{'yms.int.wms_register_document_invoice_number' | translate}}</label>\n <input id=\"invoiceNumber\" pInputText type=\"text\" formControlName=\"invoiceNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceSerialNumber\">\n {{'yms.int.wms_register_document_invoice_serial_number' | translate}}\n </label>\n <input id=\"invoiceSerialNumber\" pInputText type=\"text\" formControlName=\"invoiceSerialNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitName\">{{'yms.int.wms_register_document_logistc_unit_name' | translate}}</label>\n <input id=\"logistcUnitName\" pInputText type=\"text\" formControlName=\"logistcUnitName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitDocument\">\n {{'yms.int.wms_register_document_logistc_unit_document' | translate}}\n </label>\n <input id=\"logistcUnitDocument\" pInputText type=\"text\" formControlName=\"logistcUnitDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"documentOwnerName\">{{'yms.int.wms_register_document_owner_name' | translate}}</label>\n <input id=\"documentOwnerName\" pInputText type=\"text\" formControlName=\"ownerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"ownerDocument\">{{'yms.int.wms_register_document_owner_document' | translate}}</label>\n <input id=\"ownerDocument\" pInputText type=\"text\" formControlName=\"ownerDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerName\">{{'yms.int.wms_register_document_partner_name' | translate}}</label>\n <input id=\"partnerName\" pInputText type=\"text\" formControlName=\"partnerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerDocument\">{{'yms.int.wms_register_document_partner_document' | translate}}</label>\n <input id=\"partnerDocument\" pInputText type=\"text\" formControlName=\"partnerDocument\">\n </div>\n <div class=\"ui-g-12\">\n <label for=\"notes\" id=\"notes\">{{'yms.int.wms_register_document_notes' | translate}}</label>\n <textarea id=\"notes\" rows=\"5\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-6\">\n <label for=\"orderReceivingCode\">\n {{'yms.int.wms_register_document_order_receiving_code' | translate}}\n </label>\n <input id=\"orderReceivingCode\" pInputText type=\"text\" formControlName=\"orderReceivingCode\">\n </div>\n </div>\n </form>\n <div class=\"space-between\">\n <button\n pButton label=\"{{'save' | translate}}\" (click)=\"save()\" [attr.data-hidden]=\"hideSaveButton\">\n </button>\n <button\n type=\"button\" class=\"ui-button-link\" pButton label=\"{{'cancel' | translate}}\" (click)=\"close()\">\n </button>\n </div>\n</s-sidebar>"
3391
+ }),
3392
+ __metadata("design:paramtypes", [FormBuilder,
3393
+ MessageService,
3394
+ TranslateService,
3395
+ AgendaService])
3396
+ ], RegisterDocumentComponent);
3397
+ return RegisterDocumentComponent;
3398
+ }());
3399
+
3400
+ var DocumentGridComponent = /** @class */ (function () {
3401
+ function DocumentGridComponent(translate, documentService, messageService) {
3402
+ this.translate = translate;
3403
+ this.documentService = documentService;
3404
+ this.messageService = messageService;
3405
+ this.ngUnsubscribe = new Subject();
3406
+ }
3407
+ DocumentGridComponent.prototype.ngOnInit = function () {
3408
+ this.gridColumns = this.getGridColumns();
3409
+ this.listDocuments();
3410
+ };
3411
+ DocumentGridComponent.prototype.onChangeDocument = function (document) {
3412
+ this.gridData.push(document);
3413
+ this.disabled = true;
3414
+ };
3415
+ DocumentGridComponent.prototype.getActions = function () {
3416
+ var _this = this;
3417
+ return [
3418
+ {
3419
+ label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
3420
+ command: function () {
3421
+ _this.registerDocumentComponent.showRegister(false, false);
3422
+ _this.showInsertKey = true;
3423
+ _this.insertKeyComponent.showInsertKey(_this.showInsertKey);
3424
+ },
3425
+ icon: "fa fa-search"
3426
+ },
3427
+ {
3428
+ label: this.translate.instant("yms.int.wms_add_document_register"),
3429
+ command: function () {
3430
+ _this.insertKeyComponent.showInsertKey(false);
3431
+ _this.showRegisterDocument = true;
3432
+ _this.registerDocumentComponent.showRegister(_this.showRegisterDocument, true);
3433
+ },
3434
+ icon: "fas fa-pen-square"
3435
+ }
3436
+ ];
3437
+ };
3438
+ DocumentGridComponent.prototype.getProp = function (obj, path) {
3439
+ return path.split(".").reduce(function (result, prop) { return (result[prop] === undefined ? "" : result[prop]); }, obj);
3440
+ };
3441
+ DocumentGridComponent.prototype.view = function () {
3442
+ var documentSelectec = this.selection;
3443
+ this.showRegisterDocument = true;
3444
+ this.registerDocumentComponent.showRegister(this.showRegisterDocument, false, documentSelectec);
3445
+ };
3446
+ DocumentGridComponent.prototype.save = function () {
3447
+ var _this = this;
3448
+ if (this.gridData.length > 1) {
3449
+ this.gridData.forEach(function (data) {
3450
+ if (!data.id) {
3451
+ if (!data.schedulingId) {
3452
+ data.schedulingId = _this.agenda.id;
3453
+ }
3454
+ _this.documentService.insert(data).subscribe(function () {
3455
+ _this.message("success", "saved_message_title", "saved_message_content");
3456
+ });
3457
+ _this.disabled = true;
3458
+ }
3459
+ });
3460
+ }
3461
+ };
3462
+ DocumentGridComponent.prototype.onDelete = function (selection) {
3463
+ var _this = this;
3464
+ if (!selection.id) {
3465
+ return;
3466
+ }
3467
+ this.documentService.delete(selection.id)
3468
+ .pipe(takeUntil(this.ngUnsubscribe), finalize(function () {
3469
+ _this.listDocuments();
3470
+ })).
3471
+ subscribe(function () { return _this.message("success", "deleted_message_title", "deleted_message_content"); });
3472
+ };
3473
+ DocumentGridComponent.prototype.listDocuments = function () {
3474
+ var _this = this;
3475
+ this.documentService.list({
3476
+ filterQuery: "schedulingId eq '" + this.agenda.id + "'"
3477
+ })
3478
+ .subscribe(function (contents) {
3479
+ if (contents.totalElements > 0) {
3480
+ _this.gridData = contents.contents;
3481
+ _this.documentTotalRecords = contents.totalElements;
3482
+ }
3483
+ else {
3484
+ _this.disabled = true;
3485
+ }
3486
+ _this.loading = false;
3487
+ });
3488
+ };
3489
+ DocumentGridComponent.prototype.getGridColumns = function () {
3490
+ return [
3491
+ { field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
3492
+ { field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
3493
+ { field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
3494
+ { field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
3495
+ { field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
3496
+ { field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
3497
+ { field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
3498
+ { field: "orderReceivingCode", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
3499
+ ];
3500
+ };
3501
+ DocumentGridComponent.prototype.message = function (severity, summary, detail) {
3502
+ this.messageService.add({
3503
+ severity: severity,
3504
+ summary: this.translate.instant(summary),
3505
+ detail: this.translate.instant(detail),
3506
+ });
3507
+ };
3508
+ __decorate([
3509
+ Input(),
3510
+ __metadata("design:type", Object)
3511
+ ], DocumentGridComponent.prototype, "agenda", void 0);
3512
+ __decorate([
3513
+ ViewChild("documentTable"),
3514
+ __metadata("design:type", Table)
3515
+ ], DocumentGridComponent.prototype, "table", void 0);
3516
+ __decorate([
3517
+ ViewChild("customTemplate"),
3518
+ __metadata("design:type", TemplateRef)
3519
+ ], DocumentGridComponent.prototype, "customTemplate", void 0);
3520
+ __decorate([
3521
+ ViewChild("customFilterFields"),
3522
+ __metadata("design:type", TemplateRef)
3523
+ ], DocumentGridComponent.prototype, "customFilterFields", void 0);
3524
+ __decorate([
3525
+ ViewChild("customGridColgroup"),
3526
+ __metadata("design:type", TemplateRef)
3527
+ ], DocumentGridComponent.prototype, "customGridColgroup", void 0);
3528
+ __decorate([
3529
+ ViewChild("customGridHeader"),
3530
+ __metadata("design:type", TemplateRef)
3531
+ ], DocumentGridComponent.prototype, "customGridHeader", void 0);
3532
+ __decorate([
3533
+ ViewChild("customGridBody"),
3534
+ __metadata("design:type", TemplateRef)
3535
+ ], DocumentGridComponent.prototype, "customGridBody", void 0);
3536
+ __decorate([
3537
+ ViewChild("registerDocument"),
3538
+ __metadata("design:type", RegisterDocumentComponent)
3539
+ ], DocumentGridComponent.prototype, "registerDocumentComponent", void 0);
3540
+ __decorate([
3541
+ ViewChild("insertKey"),
3542
+ __metadata("design:type", InsertKeyComponent)
3543
+ ], DocumentGridComponent.prototype, "insertKeyComponent", void 0);
3544
+ DocumentGridComponent = __decorate([
3545
+ Component({
3546
+ selector: 'document-grid',
3547
+ template: "<p-panel>\n <p-header>\n <div class=\"buttons\">\n <div>\n <s-button\n label=\"{{'yms.int.wms_add_document' | translate}}\"\n priority=\"primary\"\n [model]=\"getActions()\"\n [auxiliary]=\"false\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_view_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || disabled\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || disabled\"\n (click)=\"onDelete(selection)\">\n </s-button>\n </div>\n <s-button\n id=\"refresh-button\"\n priority=\"default\"\n iconClass=\"fa fa-refresh\"\n (onClick)=\"listDocuments()\"\n >\n </s-button>\n </div>\n </p-header>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\" *ngIf=\"gridData && gridData.length; else emptyList\">\n <p-table #documentTable [value]=\"gridData\"\n [columns]=\"gridColumns\" dataKey=\"id\" [lazy]=\"true\" [scrollable]=\"true\" [resizableColumns]=\"true\"\n sortMode=\"single\" [paginator]=\"true\" [totalRecords]=\"documentTotalRecords\" rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\" [(selection)]=\"selection\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\"/>\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th id=\"col\" *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\" pResizableColumn>\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.header }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns let-expanded=\"expanded\">\n <tr [pSelectableRow]=\"rowData\">\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceKey\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceSerialNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"orderReceivingCode\"] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document #registerDocument (document)=\"onChangeDocument($event)\" [agenda]=\"agenda\"></register-document>\n <insert-key #insertKey (document)=\"onChangeDocument($event)\"></insert-key>\n</p-panel>\n<div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"!disabled\" (click)=\"save()\">\n </s-button>\n</div>\n\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'yms.dock.area_dock_empty_state_title' | translate\"\n [description]=\"'yms.dock.area_dock_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n",
3548
+ styles: [".buttons{display:flex;justify-content:space-between}.center{flex-direction:column;text-align:center}.ui-g{display:block}.button-save{margin:5px 0}#refresh-button{color:#fff}"]
3549
+ }),
3550
+ __metadata("design:paramtypes", [TranslateService,
3551
+ DocumentService,
3552
+ MessageService])
3553
+ ], DocumentGridComponent);
3554
+ return DocumentGridComponent;
3555
+ }());
3556
+
3557
+ var RegisterDocumentModule = /** @class */ (function () {
3558
+ function RegisterDocumentModule() {
3559
+ }
3560
+ RegisterDocumentModule = __decorate([
3561
+ NgModule({
3562
+ imports: [
3563
+ CommonModule,
3564
+ SidebarModule,
3565
+ ButtonModule,
3566
+ PanelModule,
3567
+ ConfirmDialogModule,
3568
+ TranslateModule,
3569
+ InputTextModule$1,
3570
+ ControlErrorsModule,
3571
+ InputTextareaModule,
3572
+ ReactiveFormsModule
3573
+ ],
3574
+ exports: [RegisterDocumentComponent],
3575
+ declarations: [RegisterDocumentComponent],
3576
+ providers: [DocumentService]
3577
+ })
3578
+ ], RegisterDocumentModule);
3579
+ return RegisterDocumentModule;
3580
+ }());
3581
+
3582
+ var InsertKeyModule = /** @class */ (function () {
3583
+ function InsertKeyModule() {
3584
+ }
3585
+ InsertKeyModule = __decorate([
3586
+ NgModule({
3587
+ imports: [
3588
+ CommonModule,
3589
+ ReactiveFormsModule,
3590
+ ButtonModule,
3591
+ TranslateModule,
3592
+ DialogModule,
3593
+ InputTextModule$1
3594
+ ],
3595
+ exports: [InsertKeyComponent],
3596
+ declarations: [InsertKeyComponent]
3597
+ })
3598
+ ], InsertKeyModule);
3599
+ return InsertKeyModule;
3600
+ }());
3601
+
3602
+ var DocumentGridModule = /** @class */ (function () {
3603
+ function DocumentGridModule() {
3604
+ }
3605
+ DocumentGridModule = __decorate([
3606
+ NgModule({
3607
+ declarations: [DocumentGridComponent],
3608
+ entryComponents: [DocumentGridComponent],
3609
+ exports: [DocumentGridComponent],
3610
+ imports: [
3611
+ CommonModule,
3612
+ TranslateModule,
3613
+ ButtonModule,
3614
+ PanelModule,
3615
+ TableModule,
3616
+ RegisterDocumentModule,
3617
+ InsertKeyModule,
3618
+ ButtonModule$1,
3619
+ ComponentsModule,
3620
+ EmptyStateModule
3621
+ ],
3622
+ })
3623
+ ], DocumentGridModule);
3624
+ return DocumentGridModule;
3625
+ }());
3626
+
3627
+ var WmsModule = /** @class */ (function () {
3628
+ function WmsModule(dispatcher) {
3629
+ dispatcher.dispatch(FormWmsComponent);
3630
+ }
3631
+ WmsModule = __decorate([
3632
+ NgModule({
3633
+ declarations: [FormWmsComponent],
3634
+ entryComponents: [FormWmsComponent],
3635
+ exports: [FormWmsComponent],
3636
+ imports: [
3637
+ IntegrationModule,
3638
+ DocumentGridModule,
3639
+ CommonModule,
3640
+ TranslateModule,
3641
+ FormsModule,
3642
+ ButtonModule,
3643
+ SharedModule,
3644
+ CardModule,
3645
+ ButtonModule$1,
3646
+ ReactiveFormsModule,
3647
+ SharedModule$1,
3648
+ CustomFieldsModule,
3649
+ ControlErrorsModule,
3650
+ DialogModule,
3651
+ EmptyStateModule,
3652
+ DynamicFormModule,
3653
+ TokenListModule,
3654
+ PanelModule,
3655
+ InputTextModule$1,
3656
+ DropdownModule,
3657
+ ButtonModule,
3658
+ LoadingStateModule,
3659
+ NumberInputModule,
3660
+ ConfirmDialogModule,
3661
+ LocaleModule,
3662
+ PermissionsModule,
3663
+ DynamicDialogModule,
3664
+ TableModule,
3665
+ TabViewModule,
3666
+ CalendarModule,
3667
+ ],
3668
+ providers: [
3669
+ FieldCustomizationService,
3670
+ FocusService
3671
+ ]
3672
+ }),
3673
+ __metadata("design:paramtypes", [IntegrationDispatcher])
3674
+ ], WmsModule);
3675
+ return WmsModule;
3676
+ }());
3677
+
3061
3678
  var ERP_ENVIRONMENT = new InjectionToken('integration_environment');
3062
3679
 
3063
- var AgendaService = /** @class */ (function (_super) {
3680
+ var AgendaService$1 = /** @class */ (function (_super) {
3064
3681
  __extends(AgendaService, _super);
3065
3682
  function AgendaService(http, messageService, environment) {
3066
3683
  var _this = _super.call(this, http, messageService, environment.project.domain + "/" + environment.project.service + "/entities/agenda", environment.project.domain + "/" + environment.project.service + "/actions") || this;
@@ -3161,7 +3778,7 @@ var RecebimentoChegadaVeiculoOverride = /** @class */ (function () {
3161
3778
  RecebimentoChegadaVeiculoOverride = __decorate([
3162
3779
  Injectable(),
3163
3780
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
3164
- AgendaService,
3781
+ AgendaService$1,
3165
3782
  RecebimentoContratoService])
3166
3783
  ], RecebimentoChegadaVeiculoOverride);
3167
3784
  return RecebimentoChegadaVeiculoOverride;
@@ -3225,7 +3842,7 @@ var ExpedicaoChegadaVeiculoOverride = /** @class */ (function () {
3225
3842
  ExpedicaoChegadaVeiculoOverride = __decorate([
3226
3843
  Injectable(),
3227
3844
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
3228
- AgendaService,
3845
+ AgendaService$1,
3229
3846
  ExpedicaoService])
3230
3847
  ], ExpedicaoChegadaVeiculoOverride);
3231
3848
  return ExpedicaoChegadaVeiculoOverride;
@@ -3442,7 +4059,7 @@ var OrdemCompraService = /** @class */ (function (_super) {
3442
4059
  return OrdemCompraService;
3443
4060
  }(EntityService$1));
3444
4061
 
3445
- var moment$4 = _moment;
4062
+ var moment$5 = _moment;
3446
4063
  /*{CA:PROJECT_IMPORTS:END}*/
3447
4064
  var Empresa = /** @class */ (function () {
3448
4065
  function Empresa() {
@@ -3451,8 +4068,8 @@ var Empresa = /** @class */ (function () {
3451
4068
  /*{CA:CLASS_ATTRIBUTES:END}*/
3452
4069
  Empresa.fromDto = function (empresaDto, originEntity) {
3453
4070
  var model = __assign({}, empresaDto);
3454
- model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
3455
- model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
4071
+ model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
4072
+ model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
3456
4073
  var lookupSeparator = " - ";
3457
4074
  var displayFields = [
3458
4075
  "codigo",
@@ -3464,8 +4081,8 @@ var Empresa = /** @class */ (function () {
3464
4081
  };
3465
4082
  Empresa.toDto = function (empresa, originEntity) {
3466
4083
  var dto = __assign({}, empresa);
3467
- dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
3468
- dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
4084
+ dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
4085
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
3469
4086
  delete dto.label;
3470
4087
  return dto;
3471
4088
  };
@@ -3474,7 +4091,7 @@ var Empresa = /** @class */ (function () {
3474
4091
  /*{CA:FILE_CONTENTS:START}*/
3475
4092
  /*{CA:FILE_CONTENTS:END}*/
3476
4093
 
3477
- var moment$5 = _moment;
4094
+ var moment$6 = _moment;
3478
4095
  /*{CA:PROJECT_IMPORTS:START}*/
3479
4096
  /*{CA:PROJECT_IMPORTS:END}*/
3480
4097
  var Pessoa = /** @class */ (function () {
@@ -3484,8 +4101,8 @@ var Pessoa = /** @class */ (function () {
3484
4101
  /*{CA:CLASS_ATTRIBUTES:END}*/
3485
4102
  Pessoa.fromDto = function (pessoaDto, originEntity) {
3486
4103
  var model = __assign({}, pessoaDto);
3487
- model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
3488
- model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
4104
+ model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
4105
+ model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
3489
4106
  var lookupSeparator = " - ";
3490
4107
  var displayFields = [
3491
4108
  "codigo",
@@ -3497,8 +4114,8 @@ var Pessoa = /** @class */ (function () {
3497
4114
  };
3498
4115
  Pessoa.toDto = function (pessoa, originEntity) {
3499
4116
  var dto = __assign({}, pessoa);
3500
- dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
3501
- dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
4117
+ dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
4118
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
3502
4119
  delete dto.label;
3503
4120
  return dto;
3504
4121
  };
@@ -3507,7 +4124,7 @@ var Pessoa = /** @class */ (function () {
3507
4124
  /*{CA:FILE_CONTENTS:START}*/
3508
4125
  /*{CA:FILE_CONTENTS:END}*/
3509
4126
 
3510
- var moment$6 = _moment;
4127
+ var moment$7 = _moment;
3511
4128
  /*{CA:PROJECT_IMPORTS:START}*/
3512
4129
  /*{CA:PROJECT_IMPORTS:END}*/
3513
4130
  var PessoaJuridica = /** @class */ (function () {
@@ -3517,8 +4134,8 @@ var PessoaJuridica = /** @class */ (function () {
3517
4134
  /*{CA:CLASS_ATTRIBUTES:END}*/
3518
4135
  PessoaJuridica.fromDto = function (pessoaJuridicaDto, originEntity) {
3519
4136
  var model = __assign({}, pessoaJuridicaDto);
3520
- model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
3521
- model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
4137
+ model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
4138
+ model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
3522
4139
  var lookupSeparator = " - ";
3523
4140
  var displayFields = [
3524
4141
  "id",
@@ -3545,8 +4162,8 @@ var PessoaJuridica = /** @class */ (function () {
3545
4162
  };
3546
4163
  PessoaJuridica.toDto = function (pessoaJuridica, originEntity) {
3547
4164
  var dto = __assign({}, pessoaJuridica);
3548
- dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
3549
- dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
4165
+ dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
4166
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
3550
4167
  delete dto.label;
3551
4168
  if (originEntity !== "Pessoa" && dto.pessoa)
3552
4169
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaJuridica");
@@ -3557,7 +4174,7 @@ var PessoaJuridica = /** @class */ (function () {
3557
4174
  /*{CA:FILE_CONTENTS:START}*/
3558
4175
  /*{CA:FILE_CONTENTS:END}*/
3559
4176
 
3560
- var moment$7 = _moment;
4177
+ var moment$8 = _moment;
3561
4178
  /*{CA:PROJECT_IMPORTS:START}*/
3562
4179
  /*{CA:PROJECT_IMPORTS:END}*/
3563
4180
  var Pais = /** @class */ (function () {
@@ -3567,8 +4184,8 @@ var Pais = /** @class */ (function () {
3567
4184
  /*{CA:CLASS_ATTRIBUTES:END}*/
3568
4185
  Pais.fromDto = function (paisDto, originEntity) {
3569
4186
  var model = __assign({}, paisDto);
3570
- model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
3571
- model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
4187
+ model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
4188
+ model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
3572
4189
  var lookupSeparator = " - ";
3573
4190
  var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
3574
4191
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -3576,8 +4193,8 @@ var Pais = /** @class */ (function () {
3576
4193
  };
3577
4194
  Pais.toDto = function (pais, originEntity) {
3578
4195
  var dto = __assign({}, pais);
3579
- dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
3580
- dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
4196
+ dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
4197
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
3581
4198
  delete dto.label;
3582
4199
  return dto;
3583
4200
  };
@@ -3586,7 +4203,7 @@ var Pais = /** @class */ (function () {
3586
4203
  /*{CA:FILE_CONTENTS:START}*/
3587
4204
  /*{CA:FILE_CONTENTS:END}*/
3588
4205
 
3589
- var moment$8 = _moment;
4206
+ var moment$9 = _moment;
3590
4207
  /*{CA:PROJECT_IMPORTS:START}*/
3591
4208
  /*{CA:PROJECT_IMPORTS:END}*/
3592
4209
  var Estado = /** @class */ (function () {
@@ -3596,8 +4213,8 @@ var Estado = /** @class */ (function () {
3596
4213
  /*{CA:CLASS_ATTRIBUTES:END}*/
3597
4214
  Estado.fromDto = function (estadoDto, originEntity) {
3598
4215
  var model = __assign({}, estadoDto);
3599
- model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
3600
- model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
4216
+ model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
4217
+ model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
3601
4218
  var lookupSeparator = " - ";
3602
4219
  var displayFields = [
3603
4220
  "id",
@@ -3619,8 +4236,8 @@ var Estado = /** @class */ (function () {
3619
4236
  };
3620
4237
  Estado.toDto = function (estado, originEntity) {
3621
4238
  var dto = __assign({}, estado);
3622
- dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
3623
- dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
4239
+ dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
4240
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
3624
4241
  delete dto.label;
3625
4242
  if (originEntity !== "Pais" && dto.pais)
3626
4243
  dto.pais = Pais.toDto(dto.pais, "Estado");
@@ -3631,7 +4248,7 @@ var Estado = /** @class */ (function () {
3631
4248
  /*{CA:FILE_CONTENTS:START}*/
3632
4249
  /*{CA:FILE_CONTENTS:END}*/
3633
4250
 
3634
- var moment$9 = _moment;
4251
+ var moment$a = _moment;
3635
4252
  /*{CA:PROJECT_IMPORTS:START}*/
3636
4253
  /*{CA:PROJECT_IMPORTS:END}*/
3637
4254
  var Cidade = /** @class */ (function () {
@@ -3641,8 +4258,8 @@ var Cidade = /** @class */ (function () {
3641
4258
  /*{CA:CLASS_ATTRIBUTES:END}*/
3642
4259
  Cidade.fromDto = function (cidadeDto, originEntity) {
3643
4260
  var model = __assign({}, cidadeDto);
3644
- model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
3645
- model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
4261
+ model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
4262
+ model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
3646
4263
  var lookupSeparator = " - ";
3647
4264
  var displayFields = [
3648
4265
  "id",
@@ -3663,8 +4280,8 @@ var Cidade = /** @class */ (function () {
3663
4280
  };
3664
4281
  Cidade.toDto = function (cidade, originEntity) {
3665
4282
  var dto = __assign({}, cidade);
3666
- dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
3667
- dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
4283
+ dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
4284
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
3668
4285
  delete dto.label;
3669
4286
  if (originEntity !== "Estado" && dto.estado)
3670
4287
  dto.estado = Estado.toDto(dto.estado, "Cidade");
@@ -3675,14 +4292,14 @@ var Cidade = /** @class */ (function () {
3675
4292
  /*{CA:FILE_CONTENTS:START}*/
3676
4293
  /*{CA:FILE_CONTENTS:END}*/
3677
4294
 
3678
- var moment$a = _moment;
4295
+ var moment$b = _moment;
3679
4296
  var PessoaEndereco = /** @class */ (function () {
3680
4297
  function PessoaEndereco() {
3681
4298
  }
3682
4299
  PessoaEndereco.fromDto = function (pessoaEnderecoDto, originEntity) {
3683
4300
  var model = __assign({}, pessoaEnderecoDto);
3684
- model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
3685
- model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
4301
+ model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
4302
+ model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
3686
4303
  var lookupSeparator = " - ";
3687
4304
  var displayFields = [
3688
4305
  "codigo",
@@ -3698,8 +4315,8 @@ var PessoaEndereco = /** @class */ (function () {
3698
4315
  };
3699
4316
  PessoaEndereco.toDto = function (pessoaEndereco, originEntity) {
3700
4317
  var dto = __assign({}, pessoaEndereco);
3701
- dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
3702
- dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
4318
+ dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
4319
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
3703
4320
  delete dto.label;
3704
4321
  if (originEntity !== "Pessoa" && dto.pessoa)
3705
4322
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaEndereco");
@@ -3710,7 +4327,7 @@ var PessoaEndereco = /** @class */ (function () {
3710
4327
  return PessoaEndereco;
3711
4328
  }());
3712
4329
 
3713
- var moment$b = _moment;
4330
+ var moment$c = _moment;
3714
4331
  /*{CA:PROJECT_IMPORTS:START}*/
3715
4332
  /*{CA:PROJECT_IMPORTS:END}*/
3716
4333
  var Filial = /** @class */ (function () {
@@ -3720,8 +4337,8 @@ var Filial = /** @class */ (function () {
3720
4337
  /*{CA:CLASS_ATTRIBUTES:END}*/
3721
4338
  Filial.fromDto = function (filialDto, originEntity) {
3722
4339
  var model = __assign({}, filialDto);
3723
- model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
3724
- model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
4340
+ model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
4341
+ model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
3725
4342
  var lookupSeparator = " - ";
3726
4343
  var displayFields = [
3727
4344
  "codigo",
@@ -3739,8 +4356,8 @@ var Filial = /** @class */ (function () {
3739
4356
  };
3740
4357
  Filial.toDto = function (filial, originEntity) {
3741
4358
  var dto = __assign({}, filial);
3742
- dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
3743
- dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
4359
+ dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
4360
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
3744
4361
  delete dto.label;
3745
4362
  if (originEntity !== "Empresa" && dto.empresa)
3746
4363
  dto.empresa = Empresa.toDto(dto.empresa, "Filial");
@@ -3755,14 +4372,14 @@ var Filial = /** @class */ (function () {
3755
4372
  /*{CA:FILE_CONTENTS:START}*/
3756
4373
  /*{CA:FILE_CONTENTS:END}*/
3757
4374
 
3758
- var moment$c = _moment;
4375
+ var moment$d = _moment;
3759
4376
  var OrdemCompra = /** @class */ (function () {
3760
4377
  function OrdemCompra() {
3761
4378
  }
3762
4379
  OrdemCompra.fromDto = function (ordemCompraDto, originEntity) {
3763
4380
  var model = __assign({}, ordemCompraDto);
3764
- model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
3765
- model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
4381
+ model.createdDate = model.createdDate && moment$d(model.createdDate).toDate();
4382
+ model.lastModifiedDate = model.lastModifiedDate && moment$d(model.lastModifiedDate).toDate();
3766
4383
  var lookupSeparator = " - ";
3767
4384
  var displayFields = [
3768
4385
  "codigo",
@@ -3778,8 +4395,8 @@ var OrdemCompra = /** @class */ (function () {
3778
4395
  };
3779
4396
  OrdemCompra.toDto = function (ordemCompra, originEntity) {
3780
4397
  var dto = __assign({}, ordemCompra);
3781
- dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
3782
- dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
4398
+ dto.createdDate = dto.createdDate && moment$d(dto.createdDate).format();
4399
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$d(dto.lastModifiedDate).format();
3783
4400
  delete dto.label;
3784
4401
  if (originEntity !== "Empresa" && dto.empresa)
3785
4402
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -3790,7 +4407,7 @@ var OrdemCompra = /** @class */ (function () {
3790
4407
  return OrdemCompra;
3791
4408
  }());
3792
4409
 
3793
- var moment$d = _moment;
4410
+ var moment$e = _moment;
3794
4411
  var OrdemCompraFormComponent = /** @class */ (function () {
3795
4412
  function OrdemCompraFormComponent(dialogRef, dialogConfig, ordemCompraService, translate, fb, route) {
3796
4413
  this.dialogRef = dialogRef;
@@ -3869,7 +4486,7 @@ var OrdemCompraFormComponent = /** @class */ (function () {
3869
4486
  if (filial && filial.empresa && filial.empresa.id) {
3870
4487
  filter.empresaId = filial.empresa.id;
3871
4488
  }
3872
- filter.dataEmissao = filter.dataEmissao && moment$d(filter.dataEmissao).format("YYYY-MM-DD");
4489
+ filter.dataEmissao = filter.dataEmissao && moment$e(filter.dataEmissao).format("YYYY-MM-DD");
3873
4490
  var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
3874
4491
  this.ordemCompraService
3875
4492
  .listOrdensCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, ordensCompraSelecionados: this.ordensCompra, pagina: {
@@ -4233,7 +4850,7 @@ var AgendaModule = /** @class */ (function () {
4233
4850
  ]),
4234
4851
  ],
4235
4852
  providers: [
4236
- AgendaService,
4853
+ AgendaService$1,
4237
4854
  ],
4238
4855
  declarations: [
4239
4856
  /*{CA:MODULE_DECLARATIONS:START}*/
@@ -6100,13 +6717,13 @@ var DevolucaoChegadaVeiculoOverride = /** @class */ (function () {
6100
6717
  DevolucaoChegadaVeiculoOverride = __decorate([
6101
6718
  Injectable(),
6102
6719
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
6103
- AgendaService,
6720
+ AgendaService$1,
6104
6721
  DevolucaoService])
6105
6722
  ], DevolucaoChegadaVeiculoOverride);
6106
6723
  return DevolucaoChegadaVeiculoOverride;
6107
6724
  }());
6108
6725
 
6109
- var moment$e = _moment;
6726
+ var moment$f = _moment;
6110
6727
  /*{CA:PROJECT_IMPORTS:START}*/
6111
6728
  /*{CA:PROJECT_IMPORTS:END}*/
6112
6729
  var UnidadeMedida = /** @class */ (function () {
@@ -6116,8 +6733,8 @@ var UnidadeMedida = /** @class */ (function () {
6116
6733
  /*{CA:CLASS_ATTRIBUTES:END}*/
6117
6734
  UnidadeMedida.fromDto = function (unidadeMedidaDto, originEntity) {
6118
6735
  var model = __assign({}, unidadeMedidaDto);
6119
- model.createdDate = model.createdDate && moment$e(model.createdDate).toDate();
6120
- model.lastModifiedDate = model.lastModifiedDate && moment$e(model.lastModifiedDate).toDate();
6736
+ model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
6737
+ model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
6121
6738
  var lookupSeparator = " - ";
6122
6739
  var displayFields = [
6123
6740
  "id",
@@ -6134,8 +6751,8 @@ var UnidadeMedida = /** @class */ (function () {
6134
6751
  };
6135
6752
  UnidadeMedida.toDto = function (unidadeMedida, originEntity) {
6136
6753
  var dto = __assign({}, unidadeMedida);
6137
- dto.createdDate = dto.createdDate && moment$e(dto.createdDate).format();
6138
- dto.lastModifiedDate = dto.lastModifiedDate && moment$e(dto.lastModifiedDate).format();
6754
+ dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
6755
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
6139
6756
  delete dto.label;
6140
6757
  return dto;
6141
6758
  };
@@ -6144,7 +6761,7 @@ var UnidadeMedida = /** @class */ (function () {
6144
6761
  /*{CA:FILE_CONTENTS:START}*/
6145
6762
  /*{CA:FILE_CONTENTS:END}*/
6146
6763
 
6147
- var moment$f = _moment;
6764
+ var moment$g = _moment;
6148
6765
  /*{CA:PROJECT_IMPORTS:START}*/
6149
6766
  /*{CA:PROJECT_IMPORTS:END}*/
6150
6767
  var Royalty = /** @class */ (function () {
@@ -6154,8 +6771,8 @@ var Royalty = /** @class */ (function () {
6154
6771
  /*{CA:CLASS_ATTRIBUTES:END}*/
6155
6772
  Royalty.fromDto = function (royaltyDto, originEntity) {
6156
6773
  var model = __assign({}, royaltyDto);
6157
- model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
6158
- model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
6774
+ model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
6775
+ model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
6159
6776
  var lookupSeparator = " - ";
6160
6777
  var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
6161
6778
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -6165,8 +6782,8 @@ var Royalty = /** @class */ (function () {
6165
6782
  };
6166
6783
  Royalty.toDto = function (royalty, originEntity) {
6167
6784
  var dto = __assign({}, royalty);
6168
- dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
6169
- dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
6785
+ dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
6786
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
6170
6787
  delete dto.label;
6171
6788
  if (originEntity !== "Empresa" && dto.empresa)
6172
6789
  dto.empresa = Empresa.toDto(dto.empresa, "Royalty");
@@ -6177,7 +6794,7 @@ var Royalty = /** @class */ (function () {
6177
6794
  /*{CA:FILE_CONTENTS:START}*/
6178
6795
  /*{CA:FILE_CONTENTS:END}*/
6179
6796
 
6180
- var moment$g = _moment;
6797
+ var moment$h = _moment;
6181
6798
  var FamiliaProduto = /** @class */ (function () {
6182
6799
  function FamiliaProduto() {
6183
6800
  }
@@ -6186,9 +6803,9 @@ var FamiliaProduto = /** @class */ (function () {
6186
6803
  return familiaProdutoDto;
6187
6804
  }
6188
6805
  var model = __assign({}, familiaProdutoDto);
6189
- model.createdDate = model.codigo && moment$g(model.createdDate).toDate();
6190
- model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
6191
- model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
6806
+ model.createdDate = model.codigo && moment$h(model.createdDate).toDate();
6807
+ model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
6808
+ model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
6192
6809
  var lookupSeparator = " - ";
6193
6810
  var displayFields = ["id", "codigo", "descricao", "situacao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
6194
6811
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -6198,8 +6815,8 @@ var FamiliaProduto = /** @class */ (function () {
6198
6815
  };
6199
6816
  FamiliaProduto.toDto = function (familiaProduto, originEntity) {
6200
6817
  var dto = __assign({}, familiaProduto);
6201
- dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
6202
- dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
6818
+ dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
6819
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
6203
6820
  delete dto.label;
6204
6821
  if (originEntity !== "Empresa" && dto.empresa)
6205
6822
  dto.empresa = Empresa.toDto(dto.empresa, "FamiliaProduto");
@@ -6208,7 +6825,7 @@ var FamiliaProduto = /** @class */ (function () {
6208
6825
  return FamiliaProduto;
6209
6826
  }());
6210
6827
 
6211
- var moment$h = _moment;
6828
+ var moment$i = _moment;
6212
6829
  var Produto = /** @class */ (function () {
6213
6830
  function Produto() {
6214
6831
  this.produtoMisto = false;
@@ -6216,8 +6833,8 @@ var Produto = /** @class */ (function () {
6216
6833
  }
6217
6834
  Produto.fromDto = function (produtoDto, originEntity) {
6218
6835
  var model = __assign({}, produtoDto);
6219
- model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
6220
- model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
6836
+ model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
6837
+ model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
6221
6838
  var lookupSeparator = " - ";
6222
6839
  var displayFields = [
6223
6840
  "codigo",
@@ -6238,8 +6855,8 @@ var Produto = /** @class */ (function () {
6238
6855
  };
6239
6856
  Produto.toDto = function (produto, originEntity) {
6240
6857
  var dto = __assign({}, produto);
6241
- dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
6242
- dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
6858
+ dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
6859
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
6243
6860
  delete dto.label;
6244
6861
  if (originEntity !== "Empresa" && dto.empresa)
6245
6862
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -6256,7 +6873,7 @@ var Produto = /** @class */ (function () {
6256
6873
  return Produto;
6257
6874
  }());
6258
6875
 
6259
- var moment$i = _moment;
6876
+ var moment$j = _moment;
6260
6877
  /*{CA:PROJECT_IMPORTS:START}*/
6261
6878
  /*{CA:PROJECT_IMPORTS:END}*/
6262
6879
  var Derivacao = /** @class */ (function () {
@@ -6266,8 +6883,8 @@ var Derivacao = /** @class */ (function () {
6266
6883
  /*{CA:CLASS_ATTRIBUTES:END}*/
6267
6884
  Derivacao.fromDto = function (derivacaoDto, originEntity) {
6268
6885
  var model = __assign({}, derivacaoDto);
6269
- model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
6270
- model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
6886
+ model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
6887
+ model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
6271
6888
  var lookupSeparator = " - ";
6272
6889
  var displayFields = ["codigo", "descricao"];
6273
6890
  model.label = getLookupLabel(model, displayFields, lookupSeparator);
@@ -6279,8 +6896,8 @@ var Derivacao = /** @class */ (function () {
6279
6896
  };
6280
6897
  Derivacao.toDto = function (derivacao, originEntity) {
6281
6898
  var dto = __assign({}, derivacao);
6282
- dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
6283
- dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
6899
+ dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
6900
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
6284
6901
  delete dto.label;
6285
6902
  if (originEntity !== "Empresa" && dto.empresa)
6286
6903
  dto.empresa = Empresa.toDto(dto.empresa, "Derivacao");
@@ -6293,7 +6910,7 @@ var Derivacao = /** @class */ (function () {
6293
6910
  /*{CA:FILE_CONTENTS:START}*/
6294
6911
  /*{CA:FILE_CONTENTS:END}*/
6295
6912
 
6296
- var moment$j = _moment;
6913
+ var moment$k = _moment;
6297
6914
  /*{CA:PROJECT_IMPORTS:START}*/
6298
6915
  /*{CA:PROJECT_IMPORTS:END}*/
6299
6916
  var Transportadora = /** @class */ (function () {
@@ -6303,8 +6920,8 @@ var Transportadora = /** @class */ (function () {
6303
6920
  /*{CA:CLASS_ATTRIBUTES:END}*/
6304
6921
  Transportadora.fromDto = function (transportadoraDto, originEntity) {
6305
6922
  var model = __assign({}, transportadoraDto);
6306
- model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
6307
- model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
6923
+ model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
6924
+ model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
6308
6925
  var lookupSeparator = " - ";
6309
6926
  var displayFields = [
6310
6927
  "codigo", "pessoa.nome", "pessoa.cpfCnpj"
@@ -6318,8 +6935,8 @@ var Transportadora = /** @class */ (function () {
6318
6935
  };
6319
6936
  Transportadora.toDto = function (transportadora, originEntity) {
6320
6937
  var dto = __assign({}, transportadora);
6321
- dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
6322
- dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
6938
+ dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
6939
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
6323
6940
  delete dto.label;
6324
6941
  if (originEntity !== "Pessoa" && dto.pessoa)
6325
6942
  dto.pessoa = Pessoa.toDto(dto.pessoa, "Transportadora");
@@ -6332,7 +6949,7 @@ var Transportadora = /** @class */ (function () {
6332
6949
  /*{CA:FILE_CONTENTS:START}*/
6333
6950
  /*{CA:FILE_CONTENTS:END}*/
6334
6951
 
6335
- var moment$k = _moment;
6952
+ var moment$l = _moment;
6336
6953
  /*{CA:PROJECT_IMPORTS:START}*/
6337
6954
  /*{CA:PROJECT_IMPORTS:END}*/
6338
6955
  var Devolucao = /** @class */ (function () {
@@ -6342,8 +6959,8 @@ var Devolucao = /** @class */ (function () {
6342
6959
  /*{CA:CLASS_ATTRIBUTES:END}*/
6343
6960
  Devolucao.fromDto = function (devolucaoDto, originEntity) {
6344
6961
  var model = __assign({}, devolucaoDto);
6345
- model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
6346
- model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
6962
+ model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
6963
+ model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
6347
6964
  var lookupSeparator = " - ";
6348
6965
  var displayFields = [
6349
6966
  ''
@@ -6367,8 +6984,8 @@ var Devolucao = /** @class */ (function () {
6367
6984
  };
6368
6985
  Devolucao.toDto = function (devolucao, originEntity) {
6369
6986
  var dto = __assign({}, devolucao);
6370
- dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
6371
- dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
6987
+ dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
6988
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
6372
6989
  delete dto.label;
6373
6990
  if (originEntity !== "Pessoa" && dto.fornecedor)
6374
6991
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Devolucao");
@@ -7065,7 +7682,7 @@ var DevolucaoFormComponent = /** @class */ (function () {
7065
7682
  ActivatedRoute,
7066
7683
  DevolucaoChegadaVeiculoOverride,
7067
7684
  ConfirmationService,
7068
- AgendaService,
7685
+ AgendaService$1,
7069
7686
  ErpProcessService,
7070
7687
  ErpFormConfigService,
7071
7688
  HasChangeService])
@@ -7111,7 +7728,7 @@ var DevolucaoInfoComponent = /** @class */ (function () {
7111
7728
 
7112
7729
  /*{CA:PACKAGE_IMPORTS:START}*/
7113
7730
  /*{CA:PACKAGE_IMPORTS:END}*/
7114
- var moment$l = _moment;
7731
+ var moment$m = _moment;
7115
7732
  /*{CA:PROJECT_IMPORTS:START}*/
7116
7733
  /*{CA:PROJECT_IMPORTS:END}*/
7117
7734
  var Expedicao = /** @class */ (function () {
@@ -7121,8 +7738,8 @@ var Expedicao = /** @class */ (function () {
7121
7738
  /*{CA:CLASS_ATTRIBUTES:END}*/
7122
7739
  Expedicao.fromDto = function (expedicaoDto, originEntity) {
7123
7740
  var model = __assign({}, expedicaoDto);
7124
- model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
7125
- model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
7741
+ model.createdDate = model.createdDate && moment$m(model.createdDate).toDate();
7742
+ model.lastModifiedDate = model.lastModifiedDate && moment$m(model.lastModifiedDate).toDate();
7126
7743
  var lookupSeparator = " - ";
7127
7744
  var displayFields = [
7128
7745
  "id",
@@ -7161,8 +7778,8 @@ var Expedicao = /** @class */ (function () {
7161
7778
  };
7162
7779
  Expedicao.toDto = function (expedicao, originEntity) {
7163
7780
  var dto = __assign({}, expedicao);
7164
- dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
7165
- dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
7781
+ dto.createdDate = dto.createdDate && moment$m(dto.createdDate).format();
7782
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$m(dto.lastModifiedDate).format();
7166
7783
  delete dto.label;
7167
7784
  if (originEntity !== "Pessoa" && dto.clienteFaturamento)
7168
7785
  dto.clienteFaturamento = Pessoa.toDto(dto.clienteFaturamento, "Recebimento");
@@ -7179,7 +7796,7 @@ var Expedicao = /** @class */ (function () {
7179
7796
  return Expedicao;
7180
7797
  }());
7181
7798
 
7182
- var moment$m = _moment;
7799
+ var moment$n = _moment;
7183
7800
  var ExpedicaoFormComponent = /** @class */ (function () {
7184
7801
  function ExpedicaoFormComponent(expedicaoService, router, route, messageService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, pessoaService, filialService, transportadoraService, pedidoVendaService, pedidoVendaItemService, agendaService, override, confirmationService, erpProcessService, erpFormConfigService, hasChangeService) {
7185
7802
  this.expedicaoService = expedicaoService;
@@ -7729,11 +8346,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
7729
8346
  if (typeof value == "number")
7730
8347
  return name + " eq " + value;
7731
8348
  else if (type == FieldType.Date)
7732
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8349
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7733
8350
  else if (type == FieldType.Time)
7734
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8351
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7735
8352
  else if (type == FieldType.DateTime)
7736
- return name + " eq '" + moment$m(value).format() + "'";
8353
+ return name + " eq '" + moment$n(value).format() + "'";
7737
8354
  else if (type == FieldType.Enum)
7738
8355
  return name + " eq '" + value + "'";
7739
8356
  else if (type == FieldType.String)
@@ -7785,11 +8402,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
7785
8402
  if (typeof value == "number")
7786
8403
  return name + " eq " + value;
7787
8404
  else if (type == FieldType.Date)
7788
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8405
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7789
8406
  else if (type == FieldType.Time)
7790
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8407
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7791
8408
  else if (type == FieldType.DateTime)
7792
- return name + " eq '" + moment$m(value).format() + "'";
8409
+ return name + " eq '" + moment$n(value).format() + "'";
7793
8410
  else if (type == FieldType.Enum)
7794
8411
  return name + " eq '" + value + "'";
7795
8412
  else if (type == FieldType.String)
@@ -7916,11 +8533,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
7916
8533
  if (typeof value == "number")
7917
8534
  return name + " eq " + value;
7918
8535
  else if (type == FieldType.Date)
7919
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8536
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7920
8537
  else if (type == FieldType.Time)
7921
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8538
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7922
8539
  else if (type == FieldType.DateTime)
7923
- return name + " eq '" + moment$m(value).format() + "'";
8540
+ return name + " eq '" + moment$n(value).format() + "'";
7924
8541
  else if (type == FieldType.String)
7925
8542
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
7926
8543
  else
@@ -8109,11 +8726,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
8109
8726
  if (typeof value == "number")
8110
8727
  return name + " eq " + value;
8111
8728
  else if (type == FieldType.Date)
8112
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8729
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
8113
8730
  else if (type == FieldType.Time)
8114
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8731
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
8115
8732
  else if (type == FieldType.DateTime)
8116
- return name + " eq '" + moment$m(value).format() + "'";
8733
+ return name + " eq '" + moment$n(value).format() + "'";
8117
8734
  else if (type == FieldType.String)
8118
8735
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
8119
8736
  else
@@ -8155,11 +8772,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
8155
8772
  if (typeof value == "number")
8156
8773
  return name + " eq " + value;
8157
8774
  else if (type == FieldType.Date)
8158
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8775
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
8159
8776
  else if (type == FieldType.Time)
8160
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8777
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
8161
8778
  else if (type == FieldType.DateTime)
8162
- return name + " eq '" + moment$m(value).format() + "'";
8779
+ return name + " eq '" + moment$n(value).format() + "'";
8163
8780
  else if (type == FieldType.Enum)
8164
8781
  return name + " eq '" + value + "'";
8165
8782
  else if (type == FieldType.String)
@@ -8646,7 +9263,7 @@ var ExpedicaoFormComponent = /** @class */ (function () {
8646
9263
  TransportadoraService,
8647
9264
  PedidoVendaService,
8648
9265
  PedidoVendaItemService,
8649
- AgendaService,
9266
+ AgendaService$1,
8650
9267
  ExpedicaoChegadaVeiculoOverride,
8651
9268
  ConfirmationService,
8652
9269
  ErpProcessService,
@@ -8927,7 +9544,7 @@ var ProcessoAvulsoChegadaVeiculoOverride = /** @class */ (function () {
8927
9544
  ProcessoAvulsoChegadaVeiculoOverride = __decorate([
8928
9545
  Injectable(),
8929
9546
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
8930
- AgendaService,
9547
+ AgendaService$1,
8931
9548
  ProcessoAvulsoService])
8932
9549
  ], ProcessoAvulsoChegadaVeiculoOverride);
8933
9550
  return ProcessoAvulsoChegadaVeiculoOverride;
@@ -9233,7 +9850,7 @@ var ProcessoAvulsoFormComponent = /** @class */ (function () {
9233
9850
  ProcessoAvulsoChegadaVeiculoOverride,
9234
9851
  TranslateService,
9235
9852
  ConfirmationService,
9236
- AgendaService,
9853
+ AgendaService$1,
9237
9854
  ErpProcessService,
9238
9855
  ErpFormConfigService,
9239
9856
  HasChangeService])
@@ -9276,7 +9893,7 @@ var ProcessoAvulsoInfoComponent = /** @class */ (function () {
9276
9893
  return ProcessoAvulsoInfoComponent;
9277
9894
  }());
9278
9895
 
9279
- var moment$n = _moment;
9896
+ var moment$o = _moment;
9280
9897
  /*{CA:PROJECT_IMPORTS:START}*/
9281
9898
  /*{CA:PROJECT_IMPORTS:END}*/
9282
9899
  var Safra = /** @class */ (function () {
@@ -9286,10 +9903,10 @@ var Safra = /** @class */ (function () {
9286
9903
  /*{CA:CLASS_ATTRIBUTES:END}*/
9287
9904
  Safra.fromDto = function (safraDto, originEntity) {
9288
9905
  var model = __assign({}, safraDto);
9289
- model.competenciaInicial = model.competenciaInicial && moment$n(model.competenciaInicial).toDate();
9290
- model.competenciaFinal = model.competenciaFinal && moment$n(model.competenciaFinal).toDate();
9291
- model.createdDate = model.createdDate && moment$n(model.createdDate).toDate();
9292
- model.lastModifiedDate = model.lastModifiedDate && moment$n(model.lastModifiedDate).toDate();
9906
+ model.competenciaInicial = model.competenciaInicial && moment$o(model.competenciaInicial).toDate();
9907
+ model.competenciaFinal = model.competenciaFinal && moment$o(model.competenciaFinal).toDate();
9908
+ model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
9909
+ model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
9293
9910
  var lookupSeparator = " - ";
9294
9911
  var displayFields = [
9295
9912
  "codigo",
@@ -9302,10 +9919,10 @@ var Safra = /** @class */ (function () {
9302
9919
  };
9303
9920
  Safra.toDto = function (safra, originEntity) {
9304
9921
  var dto = __assign({}, safra);
9305
- dto.competenciaInicial = dto.competenciaInicial && moment$n(dto.competenciaInicial).format("YYYY-MM-DD");
9306
- dto.competenciaFinal = dto.competenciaFinal && moment$n(dto.competenciaFinal).format("YYYY-MM-DD");
9307
- dto.createdDate = dto.createdDate && moment$n(dto.createdDate).format();
9308
- dto.lastModifiedDate = dto.lastModifiedDate && moment$n(dto.lastModifiedDate).format();
9922
+ dto.competenciaInicial = dto.competenciaInicial && moment$o(dto.competenciaInicial).format("YYYY-MM-DD");
9923
+ dto.competenciaFinal = dto.competenciaFinal && moment$o(dto.competenciaFinal).format("YYYY-MM-DD");
9924
+ dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
9925
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
9309
9926
  delete dto.label;
9310
9927
  if (originEntity !== "Empresa" && dto.empresa)
9311
9928
  dto.empresa = Empresa.toDto(dto.empresa, "Safra");
@@ -9318,7 +9935,7 @@ var Safra = /** @class */ (function () {
9318
9935
 
9319
9936
  /*{CA:PACKAGE_IMPORTS:START}*/
9320
9937
  /*{CA:PACKAGE_IMPORTS:END}*/
9321
- var moment$o = _moment;
9938
+ var moment$p = _moment;
9322
9939
  /*{CA:PROJECT_IMPORTS:START}*/
9323
9940
  /*{CA:PROJECT_IMPORTS:END}*/
9324
9941
  var RecebimentoOrdemCompra = /** @class */ (function () {
@@ -9328,8 +9945,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
9328
9945
  /*{CA:CLASS_ATTRIBUTES:END}*/
9329
9946
  RecebimentoOrdemCompra.fromDto = function (recebimentoOrdemCompraDto, originEntity) {
9330
9947
  var model = __assign({}, recebimentoOrdemCompraDto);
9331
- model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
9332
- model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
9948
+ model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
9949
+ model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
9333
9950
  var lookupSeparator = " - ";
9334
9951
  var displayFields = [
9335
9952
  ''
@@ -9358,8 +9975,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
9358
9975
  };
9359
9976
  RecebimentoOrdemCompra.toDto = function (recebimentoOrdemCompra, originEntity) {
9360
9977
  var dto = __assign({}, recebimentoOrdemCompra);
9361
- dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
9362
- dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
9978
+ dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
9979
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
9363
9980
  delete dto.label;
9364
9981
  if (originEntity !== "Agenda" && dto.agenda)
9365
9982
  dto.agenda = Agenda.toDto(dto.agenda, "RecebimentoOrdemCompra");
@@ -9422,7 +10039,7 @@ var RecebimentoOrdemCompraChegadaVeiculoOverride = /** @class */ (function () {
9422
10039
  RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
9423
10040
  Injectable(),
9424
10041
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
9425
- AgendaService,
10042
+ AgendaService$1,
9426
10043
  RecebimentoOrdemCompraService])
9427
10044
  ], RecebimentoOrdemCompraChegadaVeiculoOverride);
9428
10045
  return RecebimentoOrdemCompraChegadaVeiculoOverride;
@@ -10603,7 +11220,7 @@ var RecebimentoOrdemCompraFormComponent = /** @class */ (function () {
10603
11220
  NotaValidatorService,
10604
11221
  ConfirmationService,
10605
11222
  DialogService,
10606
- AgendaService,
11223
+ AgendaService$1,
10607
11224
  ErpProcessService,
10608
11225
  ErpFormConfigService,
10609
11226
  VerificaNotafiscal,
@@ -10650,7 +11267,7 @@ var RecebimentoOrdemCompraInfoComponent = /** @class */ (function () {
10650
11267
  return RecebimentoOrdemCompraInfoComponent;
10651
11268
  }());
10652
11269
 
10653
- var moment$p = _moment;
11270
+ var moment$q = _moment;
10654
11271
  /*{CA:PROJECT_IMPORTS:START}*/
10655
11272
  /*{CA:PROJECT_IMPORTS:END}*/
10656
11273
  var ContratoCompra = /** @class */ (function () {
@@ -10660,11 +11277,11 @@ var ContratoCompra = /** @class */ (function () {
10660
11277
  /*{CA:CLASS_ATTRIBUTES:END}*/
10661
11278
  ContratoCompra.fromDto = function (contratoCompraDto, originEntity) {
10662
11279
  var model = __assign({}, contratoCompraDto);
10663
- model.dataEmissao = model.dataEmissao && moment$p(model.dataEmissao).toDate();
10664
- model.dataInicioVigencia = model.dataInicioVigencia && moment$p(model.dataInicioVigencia).toDate();
10665
- model.dataFimVigencia = model.dataFimVigencia && moment$p(model.dataFimVigencia).toDate();
10666
- model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
10667
- model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
11280
+ model.dataEmissao = model.dataEmissao && moment$q(model.dataEmissao).toDate();
11281
+ model.dataInicioVigencia = model.dataInicioVigencia && moment$q(model.dataInicioVigencia).toDate();
11282
+ model.dataFimVigencia = model.dataFimVigencia && moment$q(model.dataFimVigencia).toDate();
11283
+ model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
11284
+ model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
10668
11285
  model.label = "N\u00FAmero: " + model.numero + ", Filial: " + model.filial.codigo;
10669
11286
  if (originEntity !== "Empresa" && model.empresa)
10670
11287
  model.empresa = Empresa.fromDto(model.empresa, "ContratoCompra");
@@ -10680,11 +11297,11 @@ var ContratoCompra = /** @class */ (function () {
10680
11297
  };
10681
11298
  ContratoCompra.toDto = function (contratoCompra, originEntity) {
10682
11299
  var dto = __assign({}, contratoCompra);
10683
- dto.dataEmissao = dto.dataEmissao && moment$p(dto.dataEmissao).format("YYYY-MM-DD");
10684
- dto.dataInicioVigencia = dto.dataInicioVigencia && moment$p(dto.dataInicioVigencia).format("YYYY-MM-DD");
10685
- dto.dataFimVigencia = dto.dataFimVigencia && moment$p(dto.dataFimVigencia).format("YYYY-MM-DD");
10686
- dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
10687
- dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
11300
+ dto.dataEmissao = dto.dataEmissao && moment$q(dto.dataEmissao).format("YYYY-MM-DD");
11301
+ dto.dataInicioVigencia = dto.dataInicioVigencia && moment$q(dto.dataInicioVigencia).format("YYYY-MM-DD");
11302
+ dto.dataFimVigencia = dto.dataFimVigencia && moment$q(dto.dataFimVigencia).format("YYYY-MM-DD");
11303
+ dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
11304
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
10688
11305
  delete dto.label;
10689
11306
  if (originEntity !== "Empresa" && dto.empresa)
10690
11307
  dto.empresa = Empresa.toDto(dto.empresa, "ContratoCompra");
@@ -10705,7 +11322,7 @@ var ContratoCompra = /** @class */ (function () {
10705
11322
  /*{CA:FILE_CONTENTS:START}*/
10706
11323
  /*{CA:FILE_CONTENTS:END}*/
10707
11324
 
10708
- var moment$q = _moment;
11325
+ var moment$r = _moment;
10709
11326
  /*{CA:PROJECT_IMPORTS:START}*/
10710
11327
  /*{CA:PROJECT_IMPORTS:END}*/
10711
11328
  var ContratoCompraItem = /** @class */ (function () {
@@ -10716,9 +11333,9 @@ var ContratoCompraItem = /** @class */ (function () {
10716
11333
  ContratoCompraItem.fromDto = function (contratoCompraItemDto, originEntity) {
10717
11334
  var model = __assign({}, contratoCompraItemDto);
10718
11335
  model.sku = model.sku || {};
10719
- model.dataCompetencia = model.dataCompetencia && moment$q(model.dataCompetencia).toDate();
10720
- model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
10721
- model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
11336
+ model.dataCompetencia = model.dataCompetencia && moment$r(model.dataCompetencia).toDate();
11337
+ model.createdDate = model.createdDate && moment$r(model.createdDate).toDate();
11338
+ model.lastModifiedDate = model.lastModifiedDate && moment$r(model.lastModifiedDate).toDate();
10722
11339
  model.label = model.sequencia + " - " + model.sku.descricao + " - " + model.sku.codigo;
10723
11340
  if (originEntity !== "ContratoCompra" && model.contrato)
10724
11341
  model.contrato = ContratoCompra.fromDto(model.contrato, "ContratoCompraItem");
@@ -10728,9 +11345,9 @@ var ContratoCompraItem = /** @class */ (function () {
10728
11345
  };
10729
11346
  ContratoCompraItem.toDto = function (contratoCompraItem, originEntity) {
10730
11347
  var dto = __assign({}, contratoCompraItem);
10731
- dto.dataCompetencia = dto.dataCompetencia && moment$q(dto.dataCompetencia).format("YYYY-MM-DD");
10732
- dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
10733
- dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
11348
+ dto.dataCompetencia = dto.dataCompetencia && moment$r(dto.dataCompetencia).format("YYYY-MM-DD");
11349
+ dto.createdDate = dto.createdDate && moment$r(dto.createdDate).format();
11350
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$r(dto.lastModifiedDate).format();
10734
11351
  delete dto.label;
10735
11352
  if (originEntity !== "ContratoCompra" && dto.contrato)
10736
11353
  dto.contrato = ContratoCompra.toDto(dto.contrato, "ContratoCompraItem");
@@ -10743,7 +11360,7 @@ var ContratoCompraItem = /** @class */ (function () {
10743
11360
  /*{CA:FILE_CONTENTS:START}*/
10744
11361
  /*{CA:FILE_CONTENTS:END}*/
10745
11362
 
10746
- var moment$r = _moment;
11363
+ var moment$s = _moment;
10747
11364
  var ContratoFormComponent = /** @class */ (function () {
10748
11365
  function ContratoFormComponent(dialogRef, dialogConfig, contratoCompraService, contratoCompraItemService, translate, fb, route) {
10749
11366
  this.dialogRef = dialogRef;
@@ -10837,7 +11454,7 @@ var ContratoFormComponent = /** @class */ (function () {
10837
11454
  if (filial && filial.empresa && filial.empresa.id) {
10838
11455
  filter.empresaId = filial.empresa.id;
10839
11456
  }
10840
- filter.dataEmissao = filter.dataEmissao && moment$r(filter.dataEmissao).format("YYYY-MM-DD");
11457
+ filter.dataEmissao = filter.dataEmissao && moment$s(filter.dataEmissao).format("YYYY-MM-DD");
10841
11458
  var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
10842
11459
  this.contratoCompraService
10843
11460
  .listContratosCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, produtoId: (this.produto || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, contratosSelecionados: this.contratos, pagina: {
@@ -11066,14 +11683,14 @@ var Transgenia = /** @class */ (function () {
11066
11683
  return Transgenia;
11067
11684
  }());
11068
11685
 
11069
- var moment$s = _moment;
11686
+ var moment$t = _moment;
11070
11687
  var RecebimentoContrato = /** @class */ (function () {
11071
11688
  function RecebimentoContrato() {
11072
11689
  }
11073
11690
  RecebimentoContrato.fromDto = function (recebimentoDto, originEntity) {
11074
11691
  var model = __assign({}, recebimentoDto);
11075
- model.createdDate = model.createdDate && moment$s(model.createdDate).toDate();
11076
- model.lastModifiedDate = model.lastModifiedDate && moment$s(model.lastModifiedDate).toDate();
11692
+ model.createdDate = model.createdDate && moment$t(model.createdDate).toDate();
11693
+ model.lastModifiedDate = model.lastModifiedDate && moment$t(model.lastModifiedDate).toDate();
11077
11694
  var lookupSeparator = " - ";
11078
11695
  var displayFields = [
11079
11696
  "id",
@@ -11122,8 +11739,8 @@ var RecebimentoContrato = /** @class */ (function () {
11122
11739
  };
11123
11740
  RecebimentoContrato.toDto = function (recebimento, originEntity) {
11124
11741
  var dto = __assign({}, recebimento);
11125
- dto.createdDate = dto.createdDate && moment$s(dto.createdDate).format();
11126
- dto.lastModifiedDate = dto.lastModifiedDate && moment$s(dto.lastModifiedDate).format();
11742
+ dto.createdDate = dto.createdDate && moment$t(dto.createdDate).format();
11743
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$t(dto.lastModifiedDate).format();
11127
11744
  delete dto.label;
11128
11745
  if (originEntity !== "Pessoa" && dto.fornecedor)
11129
11746
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Recebimento");
@@ -11157,7 +11774,7 @@ var Situacao;
11157
11774
  Situacao["ATIVO"] = "ATIVO";
11158
11775
  })(Situacao || (Situacao = {}));
11159
11776
 
11160
- var moment$t = _moment;
11777
+ var moment$u = _moment;
11161
11778
  var RecebimentoFormComponent = /** @class */ (function () {
11162
11779
  function RecebimentoFormComponent(recebimentoService, router, route, messageService, confirmationService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, filialService, transportadoraService, pessoaEnderecoService, contratoCompraService, pessoaService, produtoService, derivacaoService, recebimentoChegadaOverride, notaValidatorService, transgeniaService, dialogService, agendaService, erpProcessService, erpFormConfigService, verificaNotaFiscal, hasChangeService, buildFormField) {
11163
11780
  var _this = this;
@@ -11839,11 +12456,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11839
12456
  if (typeof value == "number")
11840
12457
  return name + " eq " + value;
11841
12458
  else if (type == FieldType.Date)
11842
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12459
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11843
12460
  else if (type == FieldType.Time)
11844
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12461
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11845
12462
  else if (type == FieldType.DateTime)
11846
- return name + " eq '" + moment$t(value).format() + "'";
12463
+ return name + " eq '" + moment$u(value).format() + "'";
11847
12464
  else if (type == FieldType.String)
11848
12465
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
11849
12466
  else
@@ -11882,11 +12499,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11882
12499
  if (typeof value == "number")
11883
12500
  return name + " eq " + value;
11884
12501
  else if (type == FieldType.Date)
11885
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12502
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11886
12503
  else if (type == FieldType.Time)
11887
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12504
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11888
12505
  else if (type == FieldType.DateTime)
11889
- return name + " eq '" + moment$t(value).format() + "'";
12506
+ return name + " eq '" + moment$u(value).format() + "'";
11890
12507
  else if (type == FieldType.Enum)
11891
12508
  return name + " eq '" + value + "'";
11892
12509
  else if (type == FieldType.String)
@@ -11928,11 +12545,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11928
12545
  if (typeof value == "number")
11929
12546
  return name + " eq " + value;
11930
12547
  else if (type == FieldType.Date)
11931
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12548
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11932
12549
  else if (type == FieldType.Time)
11933
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12550
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11934
12551
  else if (type == FieldType.DateTime)
11935
- return name + " eq '" + moment$t(value).format() + "'";
12552
+ return name + " eq '" + moment$u(value).format() + "'";
11936
12553
  else if (type == FieldType.String)
11937
12554
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
11938
12555
  else
@@ -11972,11 +12589,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11972
12589
  if (typeof value == "number")
11973
12590
  return name + " eq " + value;
11974
12591
  else if (type == FieldType.Date)
11975
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12592
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11976
12593
  else if (type == FieldType.Time)
11977
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12594
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11978
12595
  else if (type == FieldType.DateTime)
11979
- return name + " eq '" + moment$t(value).format() + "'";
12596
+ return name + " eq '" + moment$u(value).format() + "'";
11980
12597
  else if (type == FieldType.Enum)
11981
12598
  return name + " eq '" + value + "'";
11982
12599
  else if (type == FieldType.String)
@@ -12073,11 +12690,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
12073
12690
  if (typeof value == "number")
12074
12691
  return name + " eq " + value;
12075
12692
  else if (type == FieldType.Date)
12076
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12693
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12077
12694
  else if (type == FieldType.Time)
12078
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12695
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12079
12696
  else if (type == FieldType.DateTime)
12080
- return name + " eq '" + moment$t(value).format() + "'";
12697
+ return name + " eq '" + moment$u(value).format() + "'";
12081
12698
  else if (type == FieldType.String)
12082
12699
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
12083
12700
  else
@@ -12115,11 +12732,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
12115
12732
  if (typeof value == "number")
12116
12733
  return name + " eq " + value;
12117
12734
  else if (type == FieldType.Date)
12118
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12735
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12119
12736
  else if (type == FieldType.Time)
12120
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12737
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12121
12738
  else if (type == FieldType.DateTime)
12122
- return name + " eq '" + moment$t(value).format() + "'";
12739
+ return name + " eq '" + moment$u(value).format() + "'";
12123
12740
  else if (type == FieldType.Enum)
12124
12741
  return name + " eq '" + value + "'";
12125
12742
  else if (type == FieldType.String)
@@ -12168,11 +12785,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
12168
12785
  if (typeof value == "number")
12169
12786
  return name + " eq " + value;
12170
12787
  else if (type == FieldType.Date)
12171
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12788
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12172
12789
  else if (type == FieldType.Time)
12173
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12790
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12174
12791
  else if (type == FieldType.DateTime)
12175
- return name + " eq '" + moment$t(value).format() + "'";
12792
+ return name + " eq '" + moment$u(value).format() + "'";
12176
12793
  else if (type == FieldType.Enum)
12177
12794
  return name + " eq '" + value + "'";
12178
12795
  else if (type == FieldType.String)
@@ -12950,7 +13567,7 @@ var RecebimentoFormComponent = /** @class */ (function () {
12950
13567
  NotaValidatorService,
12951
13568
  TransgeniaService,
12952
13569
  DialogService,
12953
- AgendaService,
13570
+ AgendaService$1,
12954
13571
  ErpProcessService,
12955
13572
  ErpFormConfigService,
12956
13573
  VerificaNotafiscal,
@@ -13114,5 +13731,5 @@ var DockModule = /** @class */ (function () {
13114
13731
  return DockModule;
13115
13732
  }());
13116
13733
 
13117
- 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, VerificaNotafiscal as ɵba, BuildFormField as ɵbb, ExpedicaoFormComponent as ɵbc, ExpedicaoInfoComponent as ɵbd, RecebimentoInfoComponent as ɵbe, DevolucaoFormComponent as ɵbf, DevolucaoService as ɵbg, DevolucaoChegadaVeiculoOverride as ɵbh, RecebimentoOrdemCompraFormComponent as ɵbi, OrdemCompraService as ɵbj, RecebimentoOrdemCompraService as ɵbk, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbl, RecebimentoOrdemCompraInfoComponent as ɵbm, DevolucaoInfoComponent as ɵbn, ContratoFormComponent as ɵbo, OrdemCompraFormComponent as ɵbp, ProcessoAvulsoFormComponent as ɵbq, ProcessoAvulsoService as ɵbr, ProcessoAvulsoChegadaVeiculoOverride as ɵbs, ProcessoAvulsoInfoComponent as ɵbt, LogIntegracaoDescritor as ɵbu, LogIntegracaoComponent as ɵbv, LogIntegracaoService as ɵbw, DerivacaoModule as ɵbx, DevolucaoModule as ɵby, OrdemCompraModule as ɵbz, ViewImageComponent as ɵc, RecebimentoOrdemCompraModule as ɵca, TransgeniaModule as ɵcb, ProcessoAvulsoModule as ɵcc, LogIntegracaoModule as ɵcd, NotaFormModule as ɵce, NotaFormComponent as ɵcf, 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, EntityService$1 as ɵu, IntegrationService as ɵv, RecebimentoFormComponent as ɵw, DerivacaoService as ɵx, NotaValidatorService as ɵy, TransgeniaService as ɵz };
13734
+ export { AgendaModule, AgendaService$1 as AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, ERP_ENVIRONMENT, ERP_SENIOR_HEADER, EmpresaModule, EmpresaService, ErpFormConfigService, ErpProcessData, ErpProcessService, ErpSeniorModule, EstadoModule, EstadoService, ExpedicaoChegadaVeiculoOverride, ExpedicaoModule, ExpedicaoService, FamiliaProdutoModule, FamiliaProdutoService, FieldCustomizationService, FilialModule, FilialService, FormComponent, FormDescritor, FormSamComponent, FormSamDescritor, FormWmsComponent, FormWmsDescritor, HasChangeService, INFORMACAOES_ADICIONAIS_HEADER, InfoComponent, InfoDescritor, IntegrationWebSocket, LogsModule, LogsService, LprModule, LprService, PaisModule, PaisService, PedidoVendaItemModule, PedidoVendaItemService, PedidoVendaModule, PedidoVendaService, PessoaEnderecoModule, PessoaEnderecoService, PessoaFisicaModule, PessoaFisicaService, PessoaJuridicaModule, PessoaJuridicaService, PessoaModule, PessoaService, PortariasComponent, PortariasDescritor, PortariasModule, ProdutoModule, ProdutoService, RecebimentoChegadaVeiculoOverride, RecebimentoContratoModule, RecebimentoContratoService, RoyaltyModule, RoyaltyService, SAM_SENIOR_HEADER, SafraModule, SafraService, SamSeniorModule, SnapshotComponent, SnapshotDescritor, TransportadoraModule, TransportadoraService, UnidadeMedidaModule, UnidadeMedidaService, VisitorListComponent, VisitorListModule, VisitorListService, VisualizarBalancaComponent, VisualizarBalancaDescritor, WmsModule, highlightLanguages, Service as ɵa, CustomStompConfig as ɵb, EntityService$2 as ɵba, EntityService$1 as ɵbb, InsertKeyModule as ɵbc, InsertKeyComponent as ɵbd, IntegrationService as ɵbe, RecebimentoFormComponent as ɵbf, DerivacaoService as ɵbg, NotaValidatorService as ɵbh, TransgeniaService as ɵbi, VerificaNotafiscal as ɵbj, BuildFormField as ɵbk, ExpedicaoFormComponent as ɵbl, ExpedicaoInfoComponent as ɵbm, RecebimentoInfoComponent as ɵbn, DevolucaoFormComponent as ɵbo, DevolucaoService as ɵbp, DevolucaoChegadaVeiculoOverride as ɵbq, RecebimentoOrdemCompraFormComponent as ɵbr, OrdemCompraService as ɵbs, RecebimentoOrdemCompraService as ɵbt, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbu, RecebimentoOrdemCompraInfoComponent as ɵbv, DevolucaoInfoComponent as ɵbw, ContratoFormComponent as ɵbx, OrdemCompraFormComponent as ɵby, ProcessoAvulsoFormComponent as ɵbz, ViewImageComponent as ɵc, ProcessoAvulsoService as ɵca, ProcessoAvulsoChegadaVeiculoOverride as ɵcb, ProcessoAvulsoInfoComponent as ɵcc, LogIntegracaoDescritor as ɵcd, LogIntegracaoComponent as ɵce, LogIntegracaoService as ɵcf, DerivacaoModule as ɵcg, DevolucaoModule as ɵch, OrdemCompraModule as ɵci, RecebimentoOrdemCompraModule as ɵcj, TransgeniaModule as ɵck, ProcessoAvulsoModule as ɵcl, LogIntegracaoModule as ɵcm, NotaFormModule as ɵcn, NotaFormComponent as ɵco, LogDescritor as ɵd, LogsComponent as ɵe, PortariasService as ɵf, EntradaComponent as ɵg, AgendasComponent as ɵh, ConfirmacaoComponent as ɵi, VisitedInfoDescritor as ɵj, VisitedInfoComponent as ɵk, VisitedInfoService as ɵl, SchedulingComponent as ɵm, LobbyService as ɵn, EntityService as ɵo, SchedulingService as ɵp, VisitanteComponent as ɵq, VisitanteFormComponent as ɵr, CredencialFormComponent as ɵs, FocusService as ɵt, DocumentGridModule as ɵu, DocumentGridComponent as ɵv, DocumentService as ɵw, RegisterDocumentModule as ɵx, RegisterDocumentComponent as ɵy, AgendaService as ɵz };
13118
13735
  //# sourceMappingURL=seniorsistemas-yms-integration.js.map