@seniorsistemas/yms-integration 1.19.0 → 1.19.1-50993c93-db44-4e13-ae38-d1cca3a0e113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/bundles/seniorsistemas-yms-integration.umd.js +888 -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 +166 -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 +82 -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 +125 -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 +171 -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 +84 -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 +127 -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 +796 -185
  42. package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
  43. package/fesm5/seniorsistemas-yms-integration.js +829 -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 +41 -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 +31 -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,282 @@ 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 DocumentGridComponent = /** @class */ (function () {
3072
+ function DocumentGridComponent(translate, documentService, messageService) {
3073
+ this.translate = translate;
3074
+ this.documentService = documentService;
3075
+ this.messageService = messageService;
3076
+ this.viewDocument = new EventEmitter();
3077
+ this.gridData = [];
3078
+ this.ngUnsubscribe = new Subject();
3079
+ }
3080
+ DocumentGridComponent.prototype.ngOnInit = function () {
3081
+ this.gridColumns = this.getGridColumns();
3082
+ this.listDocuments();
3083
+ };
3084
+ DocumentGridComponent.prototype.onChangeDocument = function (document) {
3085
+ this.gridData.push(document);
3086
+ this.disabled = false;
3087
+ };
3088
+ DocumentGridComponent.prototype.getActions = function () {
3089
+ var _this = this;
3090
+ return [
3091
+ {
3092
+ label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
3093
+ command: function () {
3094
+ _this.visibleInvoiceKey = true;
3095
+ },
3096
+ icon: "fa fa-search"
3097
+ },
3098
+ {
3099
+ label: this.translate.instant("yms.int.wms_add_document_register"),
3100
+ command: function () {
3101
+ _this.edit = true;
3102
+ _this.visibleDocumentRegister = true;
3103
+ },
3104
+ icon: "fas fa-pen-square"
3105
+ }
3106
+ ];
3107
+ };
3108
+ DocumentGridComponent.prototype.getProp = function (obj, path) {
3109
+ return path.split(".").reduce(function (result, prop) { return (result[prop] === undefined ? "" : result[prop]); }, obj);
3110
+ };
3111
+ DocumentGridComponent.prototype.view = function (selection) {
3112
+ this.viewDocument.emit(selection);
3113
+ this.visibleDocumentRegister = true;
3114
+ this.edit = false;
3115
+ };
3116
+ DocumentGridComponent.prototype.save = function () {
3117
+ var _this = this;
3118
+ if (this.gridData.length > 0) {
3119
+ this.gridData.forEach(function (data) {
3120
+ if (!data.id) {
3121
+ if (!data.schedulingId) {
3122
+ data.schedulingId = _this.agenda.id;
3123
+ }
3124
+ _this.documentService.insert(data).subscribe(function () {
3125
+ _this.message("success", "saved_message_title", "saved_message_content");
3126
+ });
3127
+ _this.disabled = true;
3128
+ }
3129
+ });
3130
+ }
3131
+ };
3132
+ DocumentGridComponent.prototype.onDelete = function (selection) {
3133
+ var _this = this;
3134
+ if (!selection.id) {
3135
+ return;
3136
+ }
3137
+ this.documentService.delete(selection.id)
3138
+ .pipe(takeUntil(this.ngUnsubscribe), finalize(function () {
3139
+ _this.gridData = [];
3140
+ _this.listDocuments();
3141
+ })).
3142
+ subscribe(function () { return _this.message("success", "deleted_message_title", "deleted_message_content"); });
3143
+ };
3144
+ DocumentGridComponent.prototype.listDocuments = function () {
3145
+ var _this = this;
3146
+ this.documentService.list({
3147
+ filterQuery: "schedulingId eq '" + this.agenda.id + "'"
3148
+ })
3149
+ .subscribe(function (contents) {
3150
+ if (contents.totalElements > 0) {
3151
+ _this.gridData = contents.contents;
3152
+ _this.documentTotalRecords = contents.totalElements;
3153
+ }
3154
+ else {
3155
+ _this.disabled = true;
3156
+ _this.documentTotalRecords = _this.gridData.length;
3157
+ }
3158
+ _this.loading = false;
3159
+ });
3160
+ };
3161
+ DocumentGridComponent.prototype.getGridColumns = function () {
3162
+ return [
3163
+ { field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
3164
+ { field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
3165
+ { field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
3166
+ { field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
3167
+ { field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
3168
+ { field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
3169
+ { field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
3170
+ { field: "orderReceivingCode", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
3171
+ ];
3172
+ };
3173
+ DocumentGridComponent.prototype.message = function (severity, summary, detail) {
3174
+ this.messageService.add({
3175
+ severity: severity,
3176
+ summary: this.translate.instant(summary),
3177
+ detail: this.translate.instant(detail),
3178
+ });
3179
+ };
3180
+ __decorate([
3181
+ Input(),
3182
+ __metadata("design:type", Object)
3183
+ ], DocumentGridComponent.prototype, "agenda", void 0);
3184
+ __decorate([
3185
+ Output(),
3186
+ __metadata("design:type", Boolean)
3187
+ ], DocumentGridComponent.prototype, "visibleInvoiceKey", void 0);
3188
+ __decorate([
3189
+ Output(),
3190
+ __metadata("design:type", Boolean)
3191
+ ], DocumentGridComponent.prototype, "visibleDocumentRegister", void 0);
3192
+ __decorate([
3193
+ Output(),
3194
+ __metadata("design:type", EventEmitter)
3195
+ ], DocumentGridComponent.prototype, "viewDocument", void 0);
3196
+ __decorate([
3197
+ ViewChild("documentTable"),
3198
+ __metadata("design:type", Table)
3199
+ ], DocumentGridComponent.prototype, "table", void 0);
3200
+ __decorate([
3201
+ ViewChild("customTemplate"),
3202
+ __metadata("design:type", TemplateRef)
3203
+ ], DocumentGridComponent.prototype, "customTemplate", void 0);
3204
+ __decorate([
3205
+ ViewChild("customFilterFields"),
3206
+ __metadata("design:type", TemplateRef)
3207
+ ], DocumentGridComponent.prototype, "customFilterFields", void 0);
3208
+ __decorate([
3209
+ ViewChild("customGridColgroup"),
3210
+ __metadata("design:type", TemplateRef)
3211
+ ], DocumentGridComponent.prototype, "customGridColgroup", void 0);
3212
+ __decorate([
3213
+ ViewChild("customGridHeader"),
3214
+ __metadata("design:type", TemplateRef)
3215
+ ], DocumentGridComponent.prototype, "customGridHeader", void 0);
3216
+ __decorate([
3217
+ ViewChild("customGridBody"),
3218
+ __metadata("design:type", TemplateRef)
3219
+ ], DocumentGridComponent.prototype, "customGridBody", void 0);
3220
+ DocumentGridComponent = __decorate([
3221
+ Component({
3222
+ selector: 'document-grid',
3223
+ template: "<p-panel>\n <p-header>\n <div class=\"buttons\">\n <div>\n <s-button\n label=\"{{'yms.int.wms_add_document' | translate}}\"\n priority=\"primary\"\n [model]=\"getActions()\"\n [auxiliary]=\"false\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_view_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection\"\n (onClick)=\"view(selection)\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection\"\n (click)=\"onDelete(selection)\">\n </s-button>\n </div>\n <s-button\n id=\"refresh-button\"\n priority=\"default\"\n iconClass=\"fa fa-refresh\"\n (onClick)=\"listDocuments()\"\n >\n </s-button>\n </div>\n </p-header>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\" *ngIf=\"gridData && gridData.length; else emptyList\">\n <p-table #documentTable [value]=\"gridData\"\n [columns]=\"gridColumns\" dataKey=\"id\" [lazy]=\"true\" [scrollable]=\"true\" [resizableColumns]=\"true\"\n sortMode=\"single\" [paginator]=\"true\" [totalRecords]=\"documentTotalRecords\" rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\" [(selection)]=\"selection\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\"/>\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th id=\"col\" *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\" pResizableColumn>\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.header }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns let-expanded=\"expanded\">\n <tr [pSelectableRow]=\"rowData\">\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceKey\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceSerialNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"orderReceivingCode\"] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document>\n <insert-key (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n</p-panel>\n<div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"!disabled || !this.gridData\" (click)=\"save()\">\n </s-button>\n</div>\n\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'yms.dock.area_dock_empty_state_title' | translate\"\n [description]=\"'yms.dock.area_dock_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n",
3224
+ styles: [".buttons{display:flex;justify-content:space-between}.center{flex-direction:column;text-align:center}.ui-g{display:block}.button-save{margin:5px 0}#refresh-button{color:#fff}"]
3225
+ }),
3226
+ __metadata("design:paramtypes", [TranslateService,
3227
+ DocumentService,
3228
+ MessageService])
3229
+ ], DocumentGridComponent);
3230
+ return DocumentGridComponent;
3231
+ }());
3232
+
3233
+ var moment$4 = _moment;
3234
+ var Document = /** @class */ (function () {
3235
+ function Document() {
3236
+ }
3237
+ Document.fromDto = function (documentDto, originEntity) {
3238
+ var model = __assign({}, documentDto);
3239
+ model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
3240
+ model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
3241
+ var lookupSeparator = " - ";
3242
+ var displayFields = [
3243
+ "id",
3244
+ "schedulingId",
3245
+ "invoiceKey",
3246
+ "invoiceNumber",
3247
+ "invoiceSerialNumber",
3248
+ "systemIntegration",
3249
+ "logistcUnitName",
3250
+ "logistcUnitDocument",
3251
+ "ownerName",
3252
+ "ownerDocument",
3253
+ "partnerName",
3254
+ "partnerDocument",
3255
+ "notes",
3256
+ "orderReceivingCode",
3257
+ "createdBy",
3258
+ "createdDate",
3259
+ "lastModifiedBy",
3260
+ "lastModifiedDate",
3261
+ ];
3262
+ model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
3263
+ return model;
3264
+ };
3265
+ Document.toDto = function (document, originEntity) {
3266
+ var dto = __assign({}, document);
3267
+ dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
3268
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
3269
+ return dto;
3270
+ };
3271
+ return Document;
3272
+ }());
3273
+
2967
3274
  var EntityService$1 = /** @class */ (function () {
2968
3275
  function EntityService(http, messageService, entityUrl, actionsUrl) {
2969
3276
  this.http = http;
@@ -3058,9 +3365,349 @@ var EntityService$1 = /** @class */ (function () {
3058
3365
  return EntityService;
3059
3366
  }());
3060
3367
 
3368
+ var EntityService$2 = /** @class */ (function (_super) {
3369
+ __extends(EntityService, _super);
3370
+ function EntityService() {
3371
+ return _super !== null && _super.apply(this, arguments) || this;
3372
+ }
3373
+ return EntityService;
3374
+ }(EntityService$1));
3375
+
3376
+ var AgendaService = /** @class */ (function (_super) {
3377
+ __extends(AgendaService, _super);
3378
+ function AgendaService(http, messageService) {
3379
+ var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
3380
+ _this.http = http;
3381
+ _this.messageService = messageService;
3382
+ return _this;
3383
+ }
3384
+ AgendaService.ngInjectableDef = defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(inject(HttpClient), inject(MessageService$1)); }, token: AgendaService, providedIn: "root" });
3385
+ AgendaService = __decorate([
3386
+ Injectable({ providedIn: 'root' }),
3387
+ __metadata("design:paramtypes", [HttpClient, MessageService$1])
3388
+ ], AgendaService);
3389
+ return AgendaService;
3390
+ }(EntityService$2));
3391
+
3392
+ var RegisterDocumentComponent = /** @class */ (function () {
3393
+ function RegisterDocumentComponent(fb, messageService, translateService, agendaService) {
3394
+ this.fb = fb;
3395
+ this.messageService = messageService;
3396
+ this.translateService = translateService;
3397
+ this.agendaService = agendaService;
3398
+ this.document = new EventEmitter();
3399
+ this.visible = new EventEmitter();
3400
+ this.visibleChange = new EventEmitter();
3401
+ }
3402
+ RegisterDocumentComponent.prototype.ngOnInit = function () {
3403
+ this.getFormGroup();
3404
+ };
3405
+ RegisterDocumentComponent.prototype.ngOnChanges = function () {
3406
+ this.visibilityConfig();
3407
+ };
3408
+ RegisterDocumentComponent.prototype.visibilityConfig = function () {
3409
+ if (!this.edit && this.visible) {
3410
+ this.formGroup.disable();
3411
+ this.setValuesFormGroup(this.viewDocument);
3412
+ this.setValueForPartner();
3413
+ this.hideSaveButton = true;
3414
+ return this.visible;
3415
+ }
3416
+ return this.visible;
3417
+ };
3418
+ RegisterDocumentComponent.prototype.close = function () {
3419
+ this.visibleChange.emit(false);
3420
+ };
3421
+ RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
3422
+ this.formGroup.get('invoiceKey').setValue(document.invoiceKey);
3423
+ this.formGroup.get('invoiceNumber').setValue(document.invoiceNumber);
3424
+ this.formGroup.get('invoiceSerialNumber').setValue(document.invoiceSerialNumber);
3425
+ this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
3426
+ this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
3427
+ this.formGroup.get('notes').setValue(document.notes);
3428
+ this.formGroup.get('orderReceivingCode').setValue(document.orderReceivingCode);
3429
+ this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
3430
+ this.formGroup.get('ownerName').setValue(document.ownerName);
3431
+ };
3432
+ RegisterDocumentComponent.prototype.setValueForPartner = function () {
3433
+ var _this = this;
3434
+ this.agendaService.get(this.agenda.id).subscribe(function (agenda) {
3435
+ _this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
3436
+ _this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
3437
+ });
3438
+ };
3439
+ RegisterDocumentComponent.prototype.getFormGroup = function () {
3440
+ this.formGroup = this.fb.group({
3441
+ invoiceKey: [undefined, Validators.required],
3442
+ schedulingId: [undefined],
3443
+ invoiceNumber: [undefined],
3444
+ invoiceSerialNumber: [undefined],
3445
+ logistcUnitName: [undefined],
3446
+ logistcUnitDocument: [undefined],
3447
+ ownerName: [undefined],
3448
+ ownerDocument: [undefined],
3449
+ partnerName: [undefined],
3450
+ partnerDocument: [undefined],
3451
+ notes: [undefined],
3452
+ orderReceivingCode: [undefined],
3453
+ });
3454
+ };
3455
+ RegisterDocumentComponent.prototype.save = function () {
3456
+ var value = this.formGroup.getRawValue();
3457
+ if (value.id === undefined) {
3458
+ if (this.agenda.id !== undefined) {
3459
+ value.schedulingId = this.agenda.id;
3460
+ }
3461
+ this.document.emit(Document.fromDto(value));
3462
+ this.successMessage();
3463
+ this.visibleChange.emit(false);
3464
+ }
3465
+ };
3466
+ RegisterDocumentComponent.prototype.successMessage = function () {
3467
+ this.messageService.add({
3468
+ severity: "success",
3469
+ summary: this.translateService.instant("saved_message_title"),
3470
+ detail: this.translateService.instant("saved_message_content"),
3471
+ });
3472
+ };
3473
+ __decorate([
3474
+ Input(),
3475
+ __metadata("design:type", Document)
3476
+ ], RegisterDocumentComponent.prototype, "viewDocument", void 0);
3477
+ __decorate([
3478
+ Input(),
3479
+ __metadata("design:type", Boolean)
3480
+ ], RegisterDocumentComponent.prototype, "edit", void 0);
3481
+ __decorate([
3482
+ Input(),
3483
+ __metadata("design:type", Agenda)
3484
+ ], RegisterDocumentComponent.prototype, "agenda", void 0);
3485
+ __decorate([
3486
+ Output(),
3487
+ __metadata("design:type", EventEmitter)
3488
+ ], RegisterDocumentComponent.prototype, "document", void 0);
3489
+ __decorate([
3490
+ Input(),
3491
+ __metadata("design:type", EventEmitter)
3492
+ ], RegisterDocumentComponent.prototype, "visible", void 0);
3493
+ __decorate([
3494
+ Output(),
3495
+ __metadata("design:type", Object)
3496
+ ], RegisterDocumentComponent.prototype, "visibleChange", void 0);
3497
+ RegisterDocumentComponent = __decorate([
3498
+ Component({
3499
+ selector: "register-document",
3500
+ template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }}\"\n (visibleChange)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6 required\">\n <label for=\"invoiceKey\">{{'yms.int.wms_register_document_invoice_key' | translate}}</label>\n <input id=\"invoiceKey\" pInputText type=\"text\" formControlName=\"invoiceKey\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceNumber\">{{'yms.int.wms_register_document_invoice_number' | translate}}</label>\n <input id=\"invoiceNumber\" pInputText type=\"text\" formControlName=\"invoiceNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"invoiceSerialNumber\">\n {{'yms.int.wms_register_document_invoice_serial_number' | translate}}\n </label>\n <input id=\"invoiceSerialNumber\" pInputText type=\"text\" formControlName=\"invoiceSerialNumber\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitName\">{{'yms.int.wms_register_document_logistc_unit_name' | translate}}</label>\n <input id=\"logistcUnitName\" pInputText type=\"text\" formControlName=\"logistcUnitName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"logistcUnitDocument\">\n {{'yms.int.wms_register_document_logistc_unit_document' | translate}}\n </label>\n <input id=\"logistcUnitDocument\" pInputText type=\"text\" formControlName=\"logistcUnitDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"documentOwnerName\">{{'yms.int.wms_register_document_owner_name' | translate}}</label>\n <input id=\"documentOwnerName\" pInputText type=\"text\" formControlName=\"ownerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"ownerDocument\">{{'yms.int.wms_register_document_owner_document' | translate}}</label>\n <input id=\"ownerDocument\" pInputText type=\"text\" formControlName=\"ownerDocument\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerName\">{{'yms.int.wms_register_document_partner_name' | translate}}</label>\n <input id=\"partnerName\" pInputText type=\"text\" formControlName=\"partnerName\">\n </div>\n <div class=\"ui-g-6\">\n <label for=\"partnerDocument\">{{'yms.int.wms_register_document_partner_document' | translate}}</label>\n <input id=\"partnerDocument\" pInputText type=\"text\" formControlName=\"partnerDocument\">\n </div>\n <div class=\"ui-g-12\">\n <label for=\"notes\" id=\"notes\">{{'yms.int.wms_register_document_notes' | translate}}</label>\n <textarea id=\"notes\" rows=\"5\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-6\">\n <label for=\"orderReceivingCode\">\n {{'yms.int.wms_register_document_order_receiving_code' | translate}}\n </label>\n <input id=\"orderReceivingCode\" pInputText type=\"text\" formControlName=\"orderReceivingCode\">\n </div>\n </div>\n </form>\n <div class=\"space-between\">\n <button\n pButton label=\"{{'save' | translate}}\" (click)=\"save()\" [attr.data-hidden]=\"hideSaveButton\">\n </button>\n <button\n type=\"button\" class=\"ui-button-link\" pButton label=\"{{'cancel' | translate}}\" (click)=\"close()\">\n </button>\n </div>\n</s-sidebar>"
3501
+ }),
3502
+ __metadata("design:paramtypes", [FormBuilder,
3503
+ MessageService,
3504
+ TranslateService,
3505
+ AgendaService])
3506
+ ], RegisterDocumentComponent);
3507
+ return RegisterDocumentComponent;
3508
+ }());
3509
+
3510
+ var RegisterDocumentModule = /** @class */ (function () {
3511
+ function RegisterDocumentModule() {
3512
+ }
3513
+ RegisterDocumentModule = __decorate([
3514
+ NgModule({
3515
+ imports: [
3516
+ CommonModule,
3517
+ SidebarModule,
3518
+ ButtonModule,
3519
+ PanelModule,
3520
+ ConfirmDialogModule,
3521
+ TranslateModule,
3522
+ InputTextModule$1,
3523
+ ControlErrorsModule,
3524
+ InputTextareaModule,
3525
+ ReactiveFormsModule
3526
+ ],
3527
+ exports: [RegisterDocumentComponent],
3528
+ declarations: [RegisterDocumentComponent],
3529
+ providers: [DocumentService]
3530
+ })
3531
+ ], RegisterDocumentModule);
3532
+ return RegisterDocumentModule;
3533
+ }());
3534
+
3535
+ var InsertKeyComponent = /** @class */ (function () {
3536
+ function InsertKeyComponent(formBuilder, documentService, messageService, translate) {
3537
+ this.formBuilder = formBuilder;
3538
+ this.documentService = documentService;
3539
+ this.messageService = messageService;
3540
+ this.translate = translate;
3541
+ this.document = new EventEmitter();
3542
+ this.visible = new EventEmitter();
3543
+ this.visibleChange = new EventEmitter();
3544
+ }
3545
+ InsertKeyComponent.prototype.ngOnInit = function () {
3546
+ this.formGroup = this.formBuilder.group({
3547
+ key: [undefined]
3548
+ });
3549
+ };
3550
+ InsertKeyComponent.prototype.add = function () {
3551
+ this.visibleChange.emit(false);
3552
+ if (!this.formGroup.get('key').value) {
3553
+ return;
3554
+ }
3555
+ this.searchKey();
3556
+ };
3557
+ InsertKeyComponent.prototype.searchKey = function () {
3558
+ var _this = this;
3559
+ var key = {
3560
+ documentKeys: [this.formGroup.get('key').value],
3561
+ invoices: undefined,
3562
+ logistcUnitName: undefined,
3563
+ size: 0,
3564
+ offset: 0
3565
+ };
3566
+ this.documentService.findDocuments(key).subscribe(function (content) {
3567
+ if (content.totalElements < 1) {
3568
+ _this.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
3569
+ return;
3570
+ }
3571
+ _this.document.emit(content.contents[0]);
3572
+ _this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_insert_key_success_message_description");
3573
+ _this.formGroup.reset();
3574
+ });
3575
+ };
3576
+ InsertKeyComponent.prototype.message = function (success, header, description) {
3577
+ this.messageService.add({
3578
+ severity: success,
3579
+ summary: this.translate.instant(header),
3580
+ detail: this.translate.instant(description),
3581
+ });
3582
+ };
3583
+ InsertKeyComponent.prototype.cancel = function () {
3584
+ this.visibleChange.emit(false);
3585
+ };
3586
+ __decorate([
3587
+ Output(),
3588
+ __metadata("design:type", EventEmitter)
3589
+ ], InsertKeyComponent.prototype, "document", void 0);
3590
+ __decorate([
3591
+ Input(),
3592
+ __metadata("design:type", EventEmitter)
3593
+ ], InsertKeyComponent.prototype, "visible", void 0);
3594
+ __decorate([
3595
+ Output(),
3596
+ __metadata("design:type", Object)
3597
+ ], InsertKeyComponent.prototype, "visibleChange", void 0);
3598
+ InsertKeyComponent = __decorate([
3599
+ Component({
3600
+ selector: "insert-key",
3601
+ template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\" (visibleChange)=\"cancel()\">\n <p-header>{{'yms.insert_key_header' | translate}}</p-header>\n <div class=\"flex py-2 justify-content-center spacing-bottom\">\n <label for=\"key\">{{'yms.insert_key_label'}}</label>\n <input id=\"key\" class=\"size-input\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"separator\"></div>\n <div class=\"spacing-top\">\n <s-button pButton label=\"{{'save' | translate}}\" (click)=\"add()\"></s-button>\n <s-button\n type=\"button\"\n class=\"ui-button-link\"\n pButton label=\"{{'cancel' | translate}}\"\n (click)=\"cancel()\">\n </s-button>\n </div>\n </p-dialog>\n</form>",
3602
+ styles: [".spacing-top{margin-top:10px}.spacing-bottom{margin-bottom:10px}.separator{width:100%;margin:5px 0;height:1px;background-color:#ccc}.size-input{width:550px}"]
3603
+ }),
3604
+ __metadata("design:paramtypes", [FormBuilder,
3605
+ DocumentService,
3606
+ MessageService,
3607
+ TranslateService])
3608
+ ], InsertKeyComponent);
3609
+ return InsertKeyComponent;
3610
+ }());
3611
+
3612
+ var InsertKeyModule = /** @class */ (function () {
3613
+ function InsertKeyModule() {
3614
+ }
3615
+ InsertKeyModule = __decorate([
3616
+ NgModule({
3617
+ imports: [
3618
+ CommonModule,
3619
+ ReactiveFormsModule,
3620
+ ButtonModule,
3621
+ TranslateModule,
3622
+ DialogModule,
3623
+ InputTextModule$1
3624
+ ],
3625
+ exports: [InsertKeyComponent],
3626
+ declarations: [InsertKeyComponent]
3627
+ })
3628
+ ], InsertKeyModule);
3629
+ return InsertKeyModule;
3630
+ }());
3631
+
3632
+ var DocumentGridModule = /** @class */ (function () {
3633
+ function DocumentGridModule() {
3634
+ }
3635
+ DocumentGridModule = __decorate([
3636
+ NgModule({
3637
+ declarations: [DocumentGridComponent],
3638
+ entryComponents: [DocumentGridComponent],
3639
+ exports: [DocumentGridComponent],
3640
+ imports: [
3641
+ CommonModule,
3642
+ TranslateModule,
3643
+ ButtonModule,
3644
+ PanelModule,
3645
+ TableModule,
3646
+ RegisterDocumentModule,
3647
+ InsertKeyModule,
3648
+ ButtonModule$1,
3649
+ ComponentsModule,
3650
+ EmptyStateModule
3651
+ ],
3652
+ })
3653
+ ], DocumentGridModule);
3654
+ return DocumentGridModule;
3655
+ }());
3656
+
3657
+ var WmsModule = /** @class */ (function () {
3658
+ function WmsModule(dispatcher) {
3659
+ dispatcher.dispatch(FormWmsComponent);
3660
+ }
3661
+ WmsModule = __decorate([
3662
+ NgModule({
3663
+ declarations: [FormWmsComponent],
3664
+ entryComponents: [FormWmsComponent],
3665
+ exports: [FormWmsComponent],
3666
+ imports: [
3667
+ IntegrationModule,
3668
+ DocumentGridModule,
3669
+ CommonModule,
3670
+ TranslateModule,
3671
+ FormsModule,
3672
+ ButtonModule,
3673
+ SharedModule,
3674
+ CardModule,
3675
+ ButtonModule$1,
3676
+ ReactiveFormsModule,
3677
+ SharedModule$1,
3678
+ CustomFieldsModule,
3679
+ ControlErrorsModule,
3680
+ DialogModule,
3681
+ EmptyStateModule,
3682
+ DynamicFormModule,
3683
+ TokenListModule,
3684
+ PanelModule,
3685
+ InputTextModule$1,
3686
+ DropdownModule,
3687
+ ButtonModule,
3688
+ LoadingStateModule,
3689
+ NumberInputModule,
3690
+ ConfirmDialogModule,
3691
+ LocaleModule,
3692
+ PermissionsModule,
3693
+ DynamicDialogModule,
3694
+ TableModule,
3695
+ TabViewModule,
3696
+ CalendarModule,
3697
+ ],
3698
+ providers: [
3699
+ FieldCustomizationService,
3700
+ FocusService
3701
+ ]
3702
+ }),
3703
+ __metadata("design:paramtypes", [IntegrationDispatcher])
3704
+ ], WmsModule);
3705
+ return WmsModule;
3706
+ }());
3707
+
3061
3708
  var ERP_ENVIRONMENT = new InjectionToken('integration_environment');
3062
3709
 
3063
- var AgendaService = /** @class */ (function (_super) {
3710
+ var AgendaService$1 = /** @class */ (function (_super) {
3064
3711
  __extends(AgendaService, _super);
3065
3712
  function AgendaService(http, messageService, environment) {
3066
3713
  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 +3808,7 @@ var RecebimentoChegadaVeiculoOverride = /** @class */ (function () {
3161
3808
  RecebimentoChegadaVeiculoOverride = __decorate([
3162
3809
  Injectable(),
3163
3810
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
3164
- AgendaService,
3811
+ AgendaService$1,
3165
3812
  RecebimentoContratoService])
3166
3813
  ], RecebimentoChegadaVeiculoOverride);
3167
3814
  return RecebimentoChegadaVeiculoOverride;
@@ -3225,7 +3872,7 @@ var ExpedicaoChegadaVeiculoOverride = /** @class */ (function () {
3225
3872
  ExpedicaoChegadaVeiculoOverride = __decorate([
3226
3873
  Injectable(),
3227
3874
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
3228
- AgendaService,
3875
+ AgendaService$1,
3229
3876
  ExpedicaoService])
3230
3877
  ], ExpedicaoChegadaVeiculoOverride);
3231
3878
  return ExpedicaoChegadaVeiculoOverride;
@@ -3442,7 +4089,7 @@ var OrdemCompraService = /** @class */ (function (_super) {
3442
4089
  return OrdemCompraService;
3443
4090
  }(EntityService$1));
3444
4091
 
3445
- var moment$4 = _moment;
4092
+ var moment$5 = _moment;
3446
4093
  /*{CA:PROJECT_IMPORTS:END}*/
3447
4094
  var Empresa = /** @class */ (function () {
3448
4095
  function Empresa() {
@@ -3451,8 +4098,8 @@ var Empresa = /** @class */ (function () {
3451
4098
  /*{CA:CLASS_ATTRIBUTES:END}*/
3452
4099
  Empresa.fromDto = function (empresaDto, originEntity) {
3453
4100
  var model = __assign({}, empresaDto);
3454
- model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
3455
- model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
4101
+ model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
4102
+ model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
3456
4103
  var lookupSeparator = " - ";
3457
4104
  var displayFields = [
3458
4105
  "codigo",
@@ -3464,8 +4111,8 @@ var Empresa = /** @class */ (function () {
3464
4111
  };
3465
4112
  Empresa.toDto = function (empresa, originEntity) {
3466
4113
  var dto = __assign({}, empresa);
3467
- dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
3468
- dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
4114
+ dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
4115
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
3469
4116
  delete dto.label;
3470
4117
  return dto;
3471
4118
  };
@@ -3474,7 +4121,7 @@ var Empresa = /** @class */ (function () {
3474
4121
  /*{CA:FILE_CONTENTS:START}*/
3475
4122
  /*{CA:FILE_CONTENTS:END}*/
3476
4123
 
3477
- var moment$5 = _moment;
4124
+ var moment$6 = _moment;
3478
4125
  /*{CA:PROJECT_IMPORTS:START}*/
3479
4126
  /*{CA:PROJECT_IMPORTS:END}*/
3480
4127
  var Pessoa = /** @class */ (function () {
@@ -3484,8 +4131,8 @@ var Pessoa = /** @class */ (function () {
3484
4131
  /*{CA:CLASS_ATTRIBUTES:END}*/
3485
4132
  Pessoa.fromDto = function (pessoaDto, originEntity) {
3486
4133
  var model = __assign({}, pessoaDto);
3487
- model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
3488
- model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
4134
+ model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
4135
+ model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
3489
4136
  var lookupSeparator = " - ";
3490
4137
  var displayFields = [
3491
4138
  "codigo",
@@ -3497,8 +4144,8 @@ var Pessoa = /** @class */ (function () {
3497
4144
  };
3498
4145
  Pessoa.toDto = function (pessoa, originEntity) {
3499
4146
  var dto = __assign({}, pessoa);
3500
- dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
3501
- dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
4147
+ dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
4148
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
3502
4149
  delete dto.label;
3503
4150
  return dto;
3504
4151
  };
@@ -3507,7 +4154,7 @@ var Pessoa = /** @class */ (function () {
3507
4154
  /*{CA:FILE_CONTENTS:START}*/
3508
4155
  /*{CA:FILE_CONTENTS:END}*/
3509
4156
 
3510
- var moment$6 = _moment;
4157
+ var moment$7 = _moment;
3511
4158
  /*{CA:PROJECT_IMPORTS:START}*/
3512
4159
  /*{CA:PROJECT_IMPORTS:END}*/
3513
4160
  var PessoaJuridica = /** @class */ (function () {
@@ -3517,8 +4164,8 @@ var PessoaJuridica = /** @class */ (function () {
3517
4164
  /*{CA:CLASS_ATTRIBUTES:END}*/
3518
4165
  PessoaJuridica.fromDto = function (pessoaJuridicaDto, originEntity) {
3519
4166
  var model = __assign({}, pessoaJuridicaDto);
3520
- model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
3521
- model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
4167
+ model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
4168
+ model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
3522
4169
  var lookupSeparator = " - ";
3523
4170
  var displayFields = [
3524
4171
  "id",
@@ -3545,8 +4192,8 @@ var PessoaJuridica = /** @class */ (function () {
3545
4192
  };
3546
4193
  PessoaJuridica.toDto = function (pessoaJuridica, originEntity) {
3547
4194
  var dto = __assign({}, pessoaJuridica);
3548
- dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
3549
- dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
4195
+ dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
4196
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
3550
4197
  delete dto.label;
3551
4198
  if (originEntity !== "Pessoa" && dto.pessoa)
3552
4199
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaJuridica");
@@ -3557,7 +4204,7 @@ var PessoaJuridica = /** @class */ (function () {
3557
4204
  /*{CA:FILE_CONTENTS:START}*/
3558
4205
  /*{CA:FILE_CONTENTS:END}*/
3559
4206
 
3560
- var moment$7 = _moment;
4207
+ var moment$8 = _moment;
3561
4208
  /*{CA:PROJECT_IMPORTS:START}*/
3562
4209
  /*{CA:PROJECT_IMPORTS:END}*/
3563
4210
  var Pais = /** @class */ (function () {
@@ -3567,8 +4214,8 @@ var Pais = /** @class */ (function () {
3567
4214
  /*{CA:CLASS_ATTRIBUTES:END}*/
3568
4215
  Pais.fromDto = function (paisDto, originEntity) {
3569
4216
  var model = __assign({}, paisDto);
3570
- model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
3571
- model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
4217
+ model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
4218
+ model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
3572
4219
  var lookupSeparator = " - ";
3573
4220
  var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
3574
4221
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -3576,8 +4223,8 @@ var Pais = /** @class */ (function () {
3576
4223
  };
3577
4224
  Pais.toDto = function (pais, originEntity) {
3578
4225
  var dto = __assign({}, pais);
3579
- dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
3580
- dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
4226
+ dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
4227
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
3581
4228
  delete dto.label;
3582
4229
  return dto;
3583
4230
  };
@@ -3586,7 +4233,7 @@ var Pais = /** @class */ (function () {
3586
4233
  /*{CA:FILE_CONTENTS:START}*/
3587
4234
  /*{CA:FILE_CONTENTS:END}*/
3588
4235
 
3589
- var moment$8 = _moment;
4236
+ var moment$9 = _moment;
3590
4237
  /*{CA:PROJECT_IMPORTS:START}*/
3591
4238
  /*{CA:PROJECT_IMPORTS:END}*/
3592
4239
  var Estado = /** @class */ (function () {
@@ -3596,8 +4243,8 @@ var Estado = /** @class */ (function () {
3596
4243
  /*{CA:CLASS_ATTRIBUTES:END}*/
3597
4244
  Estado.fromDto = function (estadoDto, originEntity) {
3598
4245
  var model = __assign({}, estadoDto);
3599
- model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
3600
- model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
4246
+ model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
4247
+ model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
3601
4248
  var lookupSeparator = " - ";
3602
4249
  var displayFields = [
3603
4250
  "id",
@@ -3619,8 +4266,8 @@ var Estado = /** @class */ (function () {
3619
4266
  };
3620
4267
  Estado.toDto = function (estado, originEntity) {
3621
4268
  var dto = __assign({}, estado);
3622
- dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
3623
- dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
4269
+ dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
4270
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
3624
4271
  delete dto.label;
3625
4272
  if (originEntity !== "Pais" && dto.pais)
3626
4273
  dto.pais = Pais.toDto(dto.pais, "Estado");
@@ -3631,7 +4278,7 @@ var Estado = /** @class */ (function () {
3631
4278
  /*{CA:FILE_CONTENTS:START}*/
3632
4279
  /*{CA:FILE_CONTENTS:END}*/
3633
4280
 
3634
- var moment$9 = _moment;
4281
+ var moment$a = _moment;
3635
4282
  /*{CA:PROJECT_IMPORTS:START}*/
3636
4283
  /*{CA:PROJECT_IMPORTS:END}*/
3637
4284
  var Cidade = /** @class */ (function () {
@@ -3641,8 +4288,8 @@ var Cidade = /** @class */ (function () {
3641
4288
  /*{CA:CLASS_ATTRIBUTES:END}*/
3642
4289
  Cidade.fromDto = function (cidadeDto, originEntity) {
3643
4290
  var model = __assign({}, cidadeDto);
3644
- model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
3645
- model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
4291
+ model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
4292
+ model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
3646
4293
  var lookupSeparator = " - ";
3647
4294
  var displayFields = [
3648
4295
  "id",
@@ -3663,8 +4310,8 @@ var Cidade = /** @class */ (function () {
3663
4310
  };
3664
4311
  Cidade.toDto = function (cidade, originEntity) {
3665
4312
  var dto = __assign({}, cidade);
3666
- dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
3667
- dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
4313
+ dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
4314
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
3668
4315
  delete dto.label;
3669
4316
  if (originEntity !== "Estado" && dto.estado)
3670
4317
  dto.estado = Estado.toDto(dto.estado, "Cidade");
@@ -3675,14 +4322,14 @@ var Cidade = /** @class */ (function () {
3675
4322
  /*{CA:FILE_CONTENTS:START}*/
3676
4323
  /*{CA:FILE_CONTENTS:END}*/
3677
4324
 
3678
- var moment$a = _moment;
4325
+ var moment$b = _moment;
3679
4326
  var PessoaEndereco = /** @class */ (function () {
3680
4327
  function PessoaEndereco() {
3681
4328
  }
3682
4329
  PessoaEndereco.fromDto = function (pessoaEnderecoDto, originEntity) {
3683
4330
  var model = __assign({}, pessoaEnderecoDto);
3684
- model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
3685
- model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
4331
+ model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
4332
+ model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
3686
4333
  var lookupSeparator = " - ";
3687
4334
  var displayFields = [
3688
4335
  "codigo",
@@ -3698,8 +4345,8 @@ var PessoaEndereco = /** @class */ (function () {
3698
4345
  };
3699
4346
  PessoaEndereco.toDto = function (pessoaEndereco, originEntity) {
3700
4347
  var dto = __assign({}, pessoaEndereco);
3701
- dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
3702
- dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
4348
+ dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
4349
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
3703
4350
  delete dto.label;
3704
4351
  if (originEntity !== "Pessoa" && dto.pessoa)
3705
4352
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaEndereco");
@@ -3710,7 +4357,7 @@ var PessoaEndereco = /** @class */ (function () {
3710
4357
  return PessoaEndereco;
3711
4358
  }());
3712
4359
 
3713
- var moment$b = _moment;
4360
+ var moment$c = _moment;
3714
4361
  /*{CA:PROJECT_IMPORTS:START}*/
3715
4362
  /*{CA:PROJECT_IMPORTS:END}*/
3716
4363
  var Filial = /** @class */ (function () {
@@ -3720,8 +4367,8 @@ var Filial = /** @class */ (function () {
3720
4367
  /*{CA:CLASS_ATTRIBUTES:END}*/
3721
4368
  Filial.fromDto = function (filialDto, originEntity) {
3722
4369
  var model = __assign({}, filialDto);
3723
- model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
3724
- model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
4370
+ model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
4371
+ model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
3725
4372
  var lookupSeparator = " - ";
3726
4373
  var displayFields = [
3727
4374
  "codigo",
@@ -3739,8 +4386,8 @@ var Filial = /** @class */ (function () {
3739
4386
  };
3740
4387
  Filial.toDto = function (filial, originEntity) {
3741
4388
  var dto = __assign({}, filial);
3742
- dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
3743
- dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
4389
+ dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
4390
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
3744
4391
  delete dto.label;
3745
4392
  if (originEntity !== "Empresa" && dto.empresa)
3746
4393
  dto.empresa = Empresa.toDto(dto.empresa, "Filial");
@@ -3755,14 +4402,14 @@ var Filial = /** @class */ (function () {
3755
4402
  /*{CA:FILE_CONTENTS:START}*/
3756
4403
  /*{CA:FILE_CONTENTS:END}*/
3757
4404
 
3758
- var moment$c = _moment;
4405
+ var moment$d = _moment;
3759
4406
  var OrdemCompra = /** @class */ (function () {
3760
4407
  function OrdemCompra() {
3761
4408
  }
3762
4409
  OrdemCompra.fromDto = function (ordemCompraDto, originEntity) {
3763
4410
  var model = __assign({}, ordemCompraDto);
3764
- model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
3765
- model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
4411
+ model.createdDate = model.createdDate && moment$d(model.createdDate).toDate();
4412
+ model.lastModifiedDate = model.lastModifiedDate && moment$d(model.lastModifiedDate).toDate();
3766
4413
  var lookupSeparator = " - ";
3767
4414
  var displayFields = [
3768
4415
  "codigo",
@@ -3778,8 +4425,8 @@ var OrdemCompra = /** @class */ (function () {
3778
4425
  };
3779
4426
  OrdemCompra.toDto = function (ordemCompra, originEntity) {
3780
4427
  var dto = __assign({}, ordemCompra);
3781
- dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
3782
- dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
4428
+ dto.createdDate = dto.createdDate && moment$d(dto.createdDate).format();
4429
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$d(dto.lastModifiedDate).format();
3783
4430
  delete dto.label;
3784
4431
  if (originEntity !== "Empresa" && dto.empresa)
3785
4432
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -3790,7 +4437,7 @@ var OrdemCompra = /** @class */ (function () {
3790
4437
  return OrdemCompra;
3791
4438
  }());
3792
4439
 
3793
- var moment$d = _moment;
4440
+ var moment$e = _moment;
3794
4441
  var OrdemCompraFormComponent = /** @class */ (function () {
3795
4442
  function OrdemCompraFormComponent(dialogRef, dialogConfig, ordemCompraService, translate, fb, route) {
3796
4443
  this.dialogRef = dialogRef;
@@ -3869,7 +4516,7 @@ var OrdemCompraFormComponent = /** @class */ (function () {
3869
4516
  if (filial && filial.empresa && filial.empresa.id) {
3870
4517
  filter.empresaId = filial.empresa.id;
3871
4518
  }
3872
- filter.dataEmissao = filter.dataEmissao && moment$d(filter.dataEmissao).format("YYYY-MM-DD");
4519
+ filter.dataEmissao = filter.dataEmissao && moment$e(filter.dataEmissao).format("YYYY-MM-DD");
3873
4520
  var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
3874
4521
  this.ordemCompraService
3875
4522
  .listOrdensCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, ordensCompraSelecionados: this.ordensCompra, pagina: {
@@ -4233,7 +4880,7 @@ var AgendaModule = /** @class */ (function () {
4233
4880
  ]),
4234
4881
  ],
4235
4882
  providers: [
4236
- AgendaService,
4883
+ AgendaService$1,
4237
4884
  ],
4238
4885
  declarations: [
4239
4886
  /*{CA:MODULE_DECLARATIONS:START}*/
@@ -6100,13 +6747,13 @@ var DevolucaoChegadaVeiculoOverride = /** @class */ (function () {
6100
6747
  DevolucaoChegadaVeiculoOverride = __decorate([
6101
6748
  Injectable(),
6102
6749
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
6103
- AgendaService,
6750
+ AgendaService$1,
6104
6751
  DevolucaoService])
6105
6752
  ], DevolucaoChegadaVeiculoOverride);
6106
6753
  return DevolucaoChegadaVeiculoOverride;
6107
6754
  }());
6108
6755
 
6109
- var moment$e = _moment;
6756
+ var moment$f = _moment;
6110
6757
  /*{CA:PROJECT_IMPORTS:START}*/
6111
6758
  /*{CA:PROJECT_IMPORTS:END}*/
6112
6759
  var UnidadeMedida = /** @class */ (function () {
@@ -6116,8 +6763,8 @@ var UnidadeMedida = /** @class */ (function () {
6116
6763
  /*{CA:CLASS_ATTRIBUTES:END}*/
6117
6764
  UnidadeMedida.fromDto = function (unidadeMedidaDto, originEntity) {
6118
6765
  var model = __assign({}, unidadeMedidaDto);
6119
- model.createdDate = model.createdDate && moment$e(model.createdDate).toDate();
6120
- model.lastModifiedDate = model.lastModifiedDate && moment$e(model.lastModifiedDate).toDate();
6766
+ model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
6767
+ model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
6121
6768
  var lookupSeparator = " - ";
6122
6769
  var displayFields = [
6123
6770
  "id",
@@ -6134,8 +6781,8 @@ var UnidadeMedida = /** @class */ (function () {
6134
6781
  };
6135
6782
  UnidadeMedida.toDto = function (unidadeMedida, originEntity) {
6136
6783
  var dto = __assign({}, unidadeMedida);
6137
- dto.createdDate = dto.createdDate && moment$e(dto.createdDate).format();
6138
- dto.lastModifiedDate = dto.lastModifiedDate && moment$e(dto.lastModifiedDate).format();
6784
+ dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
6785
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
6139
6786
  delete dto.label;
6140
6787
  return dto;
6141
6788
  };
@@ -6144,7 +6791,7 @@ var UnidadeMedida = /** @class */ (function () {
6144
6791
  /*{CA:FILE_CONTENTS:START}*/
6145
6792
  /*{CA:FILE_CONTENTS:END}*/
6146
6793
 
6147
- var moment$f = _moment;
6794
+ var moment$g = _moment;
6148
6795
  /*{CA:PROJECT_IMPORTS:START}*/
6149
6796
  /*{CA:PROJECT_IMPORTS:END}*/
6150
6797
  var Royalty = /** @class */ (function () {
@@ -6154,8 +6801,8 @@ var Royalty = /** @class */ (function () {
6154
6801
  /*{CA:CLASS_ATTRIBUTES:END}*/
6155
6802
  Royalty.fromDto = function (royaltyDto, originEntity) {
6156
6803
  var model = __assign({}, royaltyDto);
6157
- model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
6158
- model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
6804
+ model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
6805
+ model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
6159
6806
  var lookupSeparator = " - ";
6160
6807
  var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
6161
6808
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -6165,8 +6812,8 @@ var Royalty = /** @class */ (function () {
6165
6812
  };
6166
6813
  Royalty.toDto = function (royalty, originEntity) {
6167
6814
  var dto = __assign({}, royalty);
6168
- dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
6169
- dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
6815
+ dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
6816
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
6170
6817
  delete dto.label;
6171
6818
  if (originEntity !== "Empresa" && dto.empresa)
6172
6819
  dto.empresa = Empresa.toDto(dto.empresa, "Royalty");
@@ -6177,7 +6824,7 @@ var Royalty = /** @class */ (function () {
6177
6824
  /*{CA:FILE_CONTENTS:START}*/
6178
6825
  /*{CA:FILE_CONTENTS:END}*/
6179
6826
 
6180
- var moment$g = _moment;
6827
+ var moment$h = _moment;
6181
6828
  var FamiliaProduto = /** @class */ (function () {
6182
6829
  function FamiliaProduto() {
6183
6830
  }
@@ -6186,9 +6833,9 @@ var FamiliaProduto = /** @class */ (function () {
6186
6833
  return familiaProdutoDto;
6187
6834
  }
6188
6835
  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();
6836
+ model.createdDate = model.codigo && moment$h(model.createdDate).toDate();
6837
+ model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
6838
+ model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
6192
6839
  var lookupSeparator = " - ";
6193
6840
  var displayFields = ["id", "codigo", "descricao", "situacao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
6194
6841
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -6198,8 +6845,8 @@ var FamiliaProduto = /** @class */ (function () {
6198
6845
  };
6199
6846
  FamiliaProduto.toDto = function (familiaProduto, originEntity) {
6200
6847
  var dto = __assign({}, familiaProduto);
6201
- dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
6202
- dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
6848
+ dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
6849
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
6203
6850
  delete dto.label;
6204
6851
  if (originEntity !== "Empresa" && dto.empresa)
6205
6852
  dto.empresa = Empresa.toDto(dto.empresa, "FamiliaProduto");
@@ -6208,7 +6855,7 @@ var FamiliaProduto = /** @class */ (function () {
6208
6855
  return FamiliaProduto;
6209
6856
  }());
6210
6857
 
6211
- var moment$h = _moment;
6858
+ var moment$i = _moment;
6212
6859
  var Produto = /** @class */ (function () {
6213
6860
  function Produto() {
6214
6861
  this.produtoMisto = false;
@@ -6216,8 +6863,8 @@ var Produto = /** @class */ (function () {
6216
6863
  }
6217
6864
  Produto.fromDto = function (produtoDto, originEntity) {
6218
6865
  var model = __assign({}, produtoDto);
6219
- model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
6220
- model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
6866
+ model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
6867
+ model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
6221
6868
  var lookupSeparator = " - ";
6222
6869
  var displayFields = [
6223
6870
  "codigo",
@@ -6238,8 +6885,8 @@ var Produto = /** @class */ (function () {
6238
6885
  };
6239
6886
  Produto.toDto = function (produto, originEntity) {
6240
6887
  var dto = __assign({}, produto);
6241
- dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
6242
- dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
6888
+ dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
6889
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
6243
6890
  delete dto.label;
6244
6891
  if (originEntity !== "Empresa" && dto.empresa)
6245
6892
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -6256,7 +6903,7 @@ var Produto = /** @class */ (function () {
6256
6903
  return Produto;
6257
6904
  }());
6258
6905
 
6259
- var moment$i = _moment;
6906
+ var moment$j = _moment;
6260
6907
  /*{CA:PROJECT_IMPORTS:START}*/
6261
6908
  /*{CA:PROJECT_IMPORTS:END}*/
6262
6909
  var Derivacao = /** @class */ (function () {
@@ -6266,8 +6913,8 @@ var Derivacao = /** @class */ (function () {
6266
6913
  /*{CA:CLASS_ATTRIBUTES:END}*/
6267
6914
  Derivacao.fromDto = function (derivacaoDto, originEntity) {
6268
6915
  var model = __assign({}, derivacaoDto);
6269
- model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
6270
- model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
6916
+ model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
6917
+ model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
6271
6918
  var lookupSeparator = " - ";
6272
6919
  var displayFields = ["codigo", "descricao"];
6273
6920
  model.label = getLookupLabel(model, displayFields, lookupSeparator);
@@ -6279,8 +6926,8 @@ var Derivacao = /** @class */ (function () {
6279
6926
  };
6280
6927
  Derivacao.toDto = function (derivacao, originEntity) {
6281
6928
  var dto = __assign({}, derivacao);
6282
- dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
6283
- dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
6929
+ dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
6930
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
6284
6931
  delete dto.label;
6285
6932
  if (originEntity !== "Empresa" && dto.empresa)
6286
6933
  dto.empresa = Empresa.toDto(dto.empresa, "Derivacao");
@@ -6293,7 +6940,7 @@ var Derivacao = /** @class */ (function () {
6293
6940
  /*{CA:FILE_CONTENTS:START}*/
6294
6941
  /*{CA:FILE_CONTENTS:END}*/
6295
6942
 
6296
- var moment$j = _moment;
6943
+ var moment$k = _moment;
6297
6944
  /*{CA:PROJECT_IMPORTS:START}*/
6298
6945
  /*{CA:PROJECT_IMPORTS:END}*/
6299
6946
  var Transportadora = /** @class */ (function () {
@@ -6303,8 +6950,8 @@ var Transportadora = /** @class */ (function () {
6303
6950
  /*{CA:CLASS_ATTRIBUTES:END}*/
6304
6951
  Transportadora.fromDto = function (transportadoraDto, originEntity) {
6305
6952
  var model = __assign({}, transportadoraDto);
6306
- model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
6307
- model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
6953
+ model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
6954
+ model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
6308
6955
  var lookupSeparator = " - ";
6309
6956
  var displayFields = [
6310
6957
  "codigo", "pessoa.nome", "pessoa.cpfCnpj"
@@ -6318,8 +6965,8 @@ var Transportadora = /** @class */ (function () {
6318
6965
  };
6319
6966
  Transportadora.toDto = function (transportadora, originEntity) {
6320
6967
  var dto = __assign({}, transportadora);
6321
- dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
6322
- dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
6968
+ dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
6969
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
6323
6970
  delete dto.label;
6324
6971
  if (originEntity !== "Pessoa" && dto.pessoa)
6325
6972
  dto.pessoa = Pessoa.toDto(dto.pessoa, "Transportadora");
@@ -6332,7 +6979,7 @@ var Transportadora = /** @class */ (function () {
6332
6979
  /*{CA:FILE_CONTENTS:START}*/
6333
6980
  /*{CA:FILE_CONTENTS:END}*/
6334
6981
 
6335
- var moment$k = _moment;
6982
+ var moment$l = _moment;
6336
6983
  /*{CA:PROJECT_IMPORTS:START}*/
6337
6984
  /*{CA:PROJECT_IMPORTS:END}*/
6338
6985
  var Devolucao = /** @class */ (function () {
@@ -6342,8 +6989,8 @@ var Devolucao = /** @class */ (function () {
6342
6989
  /*{CA:CLASS_ATTRIBUTES:END}*/
6343
6990
  Devolucao.fromDto = function (devolucaoDto, originEntity) {
6344
6991
  var model = __assign({}, devolucaoDto);
6345
- model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
6346
- model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
6992
+ model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
6993
+ model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
6347
6994
  var lookupSeparator = " - ";
6348
6995
  var displayFields = [
6349
6996
  ''
@@ -6367,8 +7014,8 @@ var Devolucao = /** @class */ (function () {
6367
7014
  };
6368
7015
  Devolucao.toDto = function (devolucao, originEntity) {
6369
7016
  var dto = __assign({}, devolucao);
6370
- dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
6371
- dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
7017
+ dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
7018
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
6372
7019
  delete dto.label;
6373
7020
  if (originEntity !== "Pessoa" && dto.fornecedor)
6374
7021
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Devolucao");
@@ -7065,7 +7712,7 @@ var DevolucaoFormComponent = /** @class */ (function () {
7065
7712
  ActivatedRoute,
7066
7713
  DevolucaoChegadaVeiculoOverride,
7067
7714
  ConfirmationService,
7068
- AgendaService,
7715
+ AgendaService$1,
7069
7716
  ErpProcessService,
7070
7717
  ErpFormConfigService,
7071
7718
  HasChangeService])
@@ -7111,7 +7758,7 @@ var DevolucaoInfoComponent = /** @class */ (function () {
7111
7758
 
7112
7759
  /*{CA:PACKAGE_IMPORTS:START}*/
7113
7760
  /*{CA:PACKAGE_IMPORTS:END}*/
7114
- var moment$l = _moment;
7761
+ var moment$m = _moment;
7115
7762
  /*{CA:PROJECT_IMPORTS:START}*/
7116
7763
  /*{CA:PROJECT_IMPORTS:END}*/
7117
7764
  var Expedicao = /** @class */ (function () {
@@ -7121,8 +7768,8 @@ var Expedicao = /** @class */ (function () {
7121
7768
  /*{CA:CLASS_ATTRIBUTES:END}*/
7122
7769
  Expedicao.fromDto = function (expedicaoDto, originEntity) {
7123
7770
  var model = __assign({}, expedicaoDto);
7124
- model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
7125
- model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
7771
+ model.createdDate = model.createdDate && moment$m(model.createdDate).toDate();
7772
+ model.lastModifiedDate = model.lastModifiedDate && moment$m(model.lastModifiedDate).toDate();
7126
7773
  var lookupSeparator = " - ";
7127
7774
  var displayFields = [
7128
7775
  "id",
@@ -7161,8 +7808,8 @@ var Expedicao = /** @class */ (function () {
7161
7808
  };
7162
7809
  Expedicao.toDto = function (expedicao, originEntity) {
7163
7810
  var dto = __assign({}, expedicao);
7164
- dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
7165
- dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
7811
+ dto.createdDate = dto.createdDate && moment$m(dto.createdDate).format();
7812
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$m(dto.lastModifiedDate).format();
7166
7813
  delete dto.label;
7167
7814
  if (originEntity !== "Pessoa" && dto.clienteFaturamento)
7168
7815
  dto.clienteFaturamento = Pessoa.toDto(dto.clienteFaturamento, "Recebimento");
@@ -7179,7 +7826,7 @@ var Expedicao = /** @class */ (function () {
7179
7826
  return Expedicao;
7180
7827
  }());
7181
7828
 
7182
- var moment$m = _moment;
7829
+ var moment$n = _moment;
7183
7830
  var ExpedicaoFormComponent = /** @class */ (function () {
7184
7831
  function ExpedicaoFormComponent(expedicaoService, router, route, messageService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, pessoaService, filialService, transportadoraService, pedidoVendaService, pedidoVendaItemService, agendaService, override, confirmationService, erpProcessService, erpFormConfigService, hasChangeService) {
7185
7832
  this.expedicaoService = expedicaoService;
@@ -7729,11 +8376,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
7729
8376
  if (typeof value == "number")
7730
8377
  return name + " eq " + value;
7731
8378
  else if (type == FieldType.Date)
7732
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8379
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7733
8380
  else if (type == FieldType.Time)
7734
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8381
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7735
8382
  else if (type == FieldType.DateTime)
7736
- return name + " eq '" + moment$m(value).format() + "'";
8383
+ return name + " eq '" + moment$n(value).format() + "'";
7737
8384
  else if (type == FieldType.Enum)
7738
8385
  return name + " eq '" + value + "'";
7739
8386
  else if (type == FieldType.String)
@@ -7785,11 +8432,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
7785
8432
  if (typeof value == "number")
7786
8433
  return name + " eq " + value;
7787
8434
  else if (type == FieldType.Date)
7788
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8435
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7789
8436
  else if (type == FieldType.Time)
7790
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8437
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7791
8438
  else if (type == FieldType.DateTime)
7792
- return name + " eq '" + moment$m(value).format() + "'";
8439
+ return name + " eq '" + moment$n(value).format() + "'";
7793
8440
  else if (type == FieldType.Enum)
7794
8441
  return name + " eq '" + value + "'";
7795
8442
  else if (type == FieldType.String)
@@ -7916,11 +8563,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
7916
8563
  if (typeof value == "number")
7917
8564
  return name + " eq " + value;
7918
8565
  else if (type == FieldType.Date)
7919
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8566
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7920
8567
  else if (type == FieldType.Time)
7921
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8568
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7922
8569
  else if (type == FieldType.DateTime)
7923
- return name + " eq '" + moment$m(value).format() + "'";
8570
+ return name + " eq '" + moment$n(value).format() + "'";
7924
8571
  else if (type == FieldType.String)
7925
8572
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
7926
8573
  else
@@ -8109,11 +8756,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
8109
8756
  if (typeof value == "number")
8110
8757
  return name + " eq " + value;
8111
8758
  else if (type == FieldType.Date)
8112
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8759
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
8113
8760
  else if (type == FieldType.Time)
8114
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8761
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
8115
8762
  else if (type == FieldType.DateTime)
8116
- return name + " eq '" + moment$m(value).format() + "'";
8763
+ return name + " eq '" + moment$n(value).format() + "'";
8117
8764
  else if (type == FieldType.String)
8118
8765
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
8119
8766
  else
@@ -8155,11 +8802,11 @@ var ExpedicaoFormComponent = /** @class */ (function () {
8155
8802
  if (typeof value == "number")
8156
8803
  return name + " eq " + value;
8157
8804
  else if (type == FieldType.Date)
8158
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8805
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
8159
8806
  else if (type == FieldType.Time)
8160
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8807
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
8161
8808
  else if (type == FieldType.DateTime)
8162
- return name + " eq '" + moment$m(value).format() + "'";
8809
+ return name + " eq '" + moment$n(value).format() + "'";
8163
8810
  else if (type == FieldType.Enum)
8164
8811
  return name + " eq '" + value + "'";
8165
8812
  else if (type == FieldType.String)
@@ -8646,7 +9293,7 @@ var ExpedicaoFormComponent = /** @class */ (function () {
8646
9293
  TransportadoraService,
8647
9294
  PedidoVendaService,
8648
9295
  PedidoVendaItemService,
8649
- AgendaService,
9296
+ AgendaService$1,
8650
9297
  ExpedicaoChegadaVeiculoOverride,
8651
9298
  ConfirmationService,
8652
9299
  ErpProcessService,
@@ -8927,7 +9574,7 @@ var ProcessoAvulsoChegadaVeiculoOverride = /** @class */ (function () {
8927
9574
  ProcessoAvulsoChegadaVeiculoOverride = __decorate([
8928
9575
  Injectable(),
8929
9576
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
8930
- AgendaService,
9577
+ AgendaService$1,
8931
9578
  ProcessoAvulsoService])
8932
9579
  ], ProcessoAvulsoChegadaVeiculoOverride);
8933
9580
  return ProcessoAvulsoChegadaVeiculoOverride;
@@ -9233,7 +9880,7 @@ var ProcessoAvulsoFormComponent = /** @class */ (function () {
9233
9880
  ProcessoAvulsoChegadaVeiculoOverride,
9234
9881
  TranslateService,
9235
9882
  ConfirmationService,
9236
- AgendaService,
9883
+ AgendaService$1,
9237
9884
  ErpProcessService,
9238
9885
  ErpFormConfigService,
9239
9886
  HasChangeService])
@@ -9276,7 +9923,7 @@ var ProcessoAvulsoInfoComponent = /** @class */ (function () {
9276
9923
  return ProcessoAvulsoInfoComponent;
9277
9924
  }());
9278
9925
 
9279
- var moment$n = _moment;
9926
+ var moment$o = _moment;
9280
9927
  /*{CA:PROJECT_IMPORTS:START}*/
9281
9928
  /*{CA:PROJECT_IMPORTS:END}*/
9282
9929
  var Safra = /** @class */ (function () {
@@ -9286,10 +9933,10 @@ var Safra = /** @class */ (function () {
9286
9933
  /*{CA:CLASS_ATTRIBUTES:END}*/
9287
9934
  Safra.fromDto = function (safraDto, originEntity) {
9288
9935
  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();
9936
+ model.competenciaInicial = model.competenciaInicial && moment$o(model.competenciaInicial).toDate();
9937
+ model.competenciaFinal = model.competenciaFinal && moment$o(model.competenciaFinal).toDate();
9938
+ model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
9939
+ model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
9293
9940
  var lookupSeparator = " - ";
9294
9941
  var displayFields = [
9295
9942
  "codigo",
@@ -9302,10 +9949,10 @@ var Safra = /** @class */ (function () {
9302
9949
  };
9303
9950
  Safra.toDto = function (safra, originEntity) {
9304
9951
  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();
9952
+ dto.competenciaInicial = dto.competenciaInicial && moment$o(dto.competenciaInicial).format("YYYY-MM-DD");
9953
+ dto.competenciaFinal = dto.competenciaFinal && moment$o(dto.competenciaFinal).format("YYYY-MM-DD");
9954
+ dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
9955
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
9309
9956
  delete dto.label;
9310
9957
  if (originEntity !== "Empresa" && dto.empresa)
9311
9958
  dto.empresa = Empresa.toDto(dto.empresa, "Safra");
@@ -9318,7 +9965,7 @@ var Safra = /** @class */ (function () {
9318
9965
 
9319
9966
  /*{CA:PACKAGE_IMPORTS:START}*/
9320
9967
  /*{CA:PACKAGE_IMPORTS:END}*/
9321
- var moment$o = _moment;
9968
+ var moment$p = _moment;
9322
9969
  /*{CA:PROJECT_IMPORTS:START}*/
9323
9970
  /*{CA:PROJECT_IMPORTS:END}*/
9324
9971
  var RecebimentoOrdemCompra = /** @class */ (function () {
@@ -9328,8 +9975,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
9328
9975
  /*{CA:CLASS_ATTRIBUTES:END}*/
9329
9976
  RecebimentoOrdemCompra.fromDto = function (recebimentoOrdemCompraDto, originEntity) {
9330
9977
  var model = __assign({}, recebimentoOrdemCompraDto);
9331
- model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
9332
- model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
9978
+ model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
9979
+ model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
9333
9980
  var lookupSeparator = " - ";
9334
9981
  var displayFields = [
9335
9982
  ''
@@ -9358,8 +10005,8 @@ var RecebimentoOrdemCompra = /** @class */ (function () {
9358
10005
  };
9359
10006
  RecebimentoOrdemCompra.toDto = function (recebimentoOrdemCompra, originEntity) {
9360
10007
  var dto = __assign({}, recebimentoOrdemCompra);
9361
- dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
9362
- dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
10008
+ dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
10009
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
9363
10010
  delete dto.label;
9364
10011
  if (originEntity !== "Agenda" && dto.agenda)
9365
10012
  dto.agenda = Agenda.toDto(dto.agenda, "RecebimentoOrdemCompra");
@@ -9422,7 +10069,7 @@ var RecebimentoOrdemCompraChegadaVeiculoOverride = /** @class */ (function () {
9422
10069
  RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
9423
10070
  Injectable(),
9424
10071
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
9425
- AgendaService,
10072
+ AgendaService$1,
9426
10073
  RecebimentoOrdemCompraService])
9427
10074
  ], RecebimentoOrdemCompraChegadaVeiculoOverride);
9428
10075
  return RecebimentoOrdemCompraChegadaVeiculoOverride;
@@ -10603,7 +11250,7 @@ var RecebimentoOrdemCompraFormComponent = /** @class */ (function () {
10603
11250
  NotaValidatorService,
10604
11251
  ConfirmationService,
10605
11252
  DialogService,
10606
- AgendaService,
11253
+ AgendaService$1,
10607
11254
  ErpProcessService,
10608
11255
  ErpFormConfigService,
10609
11256
  VerificaNotafiscal,
@@ -10650,7 +11297,7 @@ var RecebimentoOrdemCompraInfoComponent = /** @class */ (function () {
10650
11297
  return RecebimentoOrdemCompraInfoComponent;
10651
11298
  }());
10652
11299
 
10653
- var moment$p = _moment;
11300
+ var moment$q = _moment;
10654
11301
  /*{CA:PROJECT_IMPORTS:START}*/
10655
11302
  /*{CA:PROJECT_IMPORTS:END}*/
10656
11303
  var ContratoCompra = /** @class */ (function () {
@@ -10660,11 +11307,11 @@ var ContratoCompra = /** @class */ (function () {
10660
11307
  /*{CA:CLASS_ATTRIBUTES:END}*/
10661
11308
  ContratoCompra.fromDto = function (contratoCompraDto, originEntity) {
10662
11309
  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();
11310
+ model.dataEmissao = model.dataEmissao && moment$q(model.dataEmissao).toDate();
11311
+ model.dataInicioVigencia = model.dataInicioVigencia && moment$q(model.dataInicioVigencia).toDate();
11312
+ model.dataFimVigencia = model.dataFimVigencia && moment$q(model.dataFimVigencia).toDate();
11313
+ model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
11314
+ model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
10668
11315
  model.label = "N\u00FAmero: " + model.numero + ", Filial: " + model.filial.codigo;
10669
11316
  if (originEntity !== "Empresa" && model.empresa)
10670
11317
  model.empresa = Empresa.fromDto(model.empresa, "ContratoCompra");
@@ -10680,11 +11327,11 @@ var ContratoCompra = /** @class */ (function () {
10680
11327
  };
10681
11328
  ContratoCompra.toDto = function (contratoCompra, originEntity) {
10682
11329
  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();
11330
+ dto.dataEmissao = dto.dataEmissao && moment$q(dto.dataEmissao).format("YYYY-MM-DD");
11331
+ dto.dataInicioVigencia = dto.dataInicioVigencia && moment$q(dto.dataInicioVigencia).format("YYYY-MM-DD");
11332
+ dto.dataFimVigencia = dto.dataFimVigencia && moment$q(dto.dataFimVigencia).format("YYYY-MM-DD");
11333
+ dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
11334
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
10688
11335
  delete dto.label;
10689
11336
  if (originEntity !== "Empresa" && dto.empresa)
10690
11337
  dto.empresa = Empresa.toDto(dto.empresa, "ContratoCompra");
@@ -10705,7 +11352,7 @@ var ContratoCompra = /** @class */ (function () {
10705
11352
  /*{CA:FILE_CONTENTS:START}*/
10706
11353
  /*{CA:FILE_CONTENTS:END}*/
10707
11354
 
10708
- var moment$q = _moment;
11355
+ var moment$r = _moment;
10709
11356
  /*{CA:PROJECT_IMPORTS:START}*/
10710
11357
  /*{CA:PROJECT_IMPORTS:END}*/
10711
11358
  var ContratoCompraItem = /** @class */ (function () {
@@ -10716,9 +11363,9 @@ var ContratoCompraItem = /** @class */ (function () {
10716
11363
  ContratoCompraItem.fromDto = function (contratoCompraItemDto, originEntity) {
10717
11364
  var model = __assign({}, contratoCompraItemDto);
10718
11365
  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();
11366
+ model.dataCompetencia = model.dataCompetencia && moment$r(model.dataCompetencia).toDate();
11367
+ model.createdDate = model.createdDate && moment$r(model.createdDate).toDate();
11368
+ model.lastModifiedDate = model.lastModifiedDate && moment$r(model.lastModifiedDate).toDate();
10722
11369
  model.label = model.sequencia + " - " + model.sku.descricao + " - " + model.sku.codigo;
10723
11370
  if (originEntity !== "ContratoCompra" && model.contrato)
10724
11371
  model.contrato = ContratoCompra.fromDto(model.contrato, "ContratoCompraItem");
@@ -10728,9 +11375,9 @@ var ContratoCompraItem = /** @class */ (function () {
10728
11375
  };
10729
11376
  ContratoCompraItem.toDto = function (contratoCompraItem, originEntity) {
10730
11377
  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();
11378
+ dto.dataCompetencia = dto.dataCompetencia && moment$r(dto.dataCompetencia).format("YYYY-MM-DD");
11379
+ dto.createdDate = dto.createdDate && moment$r(dto.createdDate).format();
11380
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$r(dto.lastModifiedDate).format();
10734
11381
  delete dto.label;
10735
11382
  if (originEntity !== "ContratoCompra" && dto.contrato)
10736
11383
  dto.contrato = ContratoCompra.toDto(dto.contrato, "ContratoCompraItem");
@@ -10743,7 +11390,7 @@ var ContratoCompraItem = /** @class */ (function () {
10743
11390
  /*{CA:FILE_CONTENTS:START}*/
10744
11391
  /*{CA:FILE_CONTENTS:END}*/
10745
11392
 
10746
- var moment$r = _moment;
11393
+ var moment$s = _moment;
10747
11394
  var ContratoFormComponent = /** @class */ (function () {
10748
11395
  function ContratoFormComponent(dialogRef, dialogConfig, contratoCompraService, contratoCompraItemService, translate, fb, route) {
10749
11396
  this.dialogRef = dialogRef;
@@ -10837,7 +11484,7 @@ var ContratoFormComponent = /** @class */ (function () {
10837
11484
  if (filial && filial.empresa && filial.empresa.id) {
10838
11485
  filter.empresaId = filial.empresa.id;
10839
11486
  }
10840
- filter.dataEmissao = filter.dataEmissao && moment$r(filter.dataEmissao).format("YYYY-MM-DD");
11487
+ filter.dataEmissao = filter.dataEmissao && moment$s(filter.dataEmissao).format("YYYY-MM-DD");
10841
11488
  var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
10842
11489
  this.contratoCompraService
10843
11490
  .listContratosCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, produtoId: (this.produto || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, contratosSelecionados: this.contratos, pagina: {
@@ -11066,14 +11713,14 @@ var Transgenia = /** @class */ (function () {
11066
11713
  return Transgenia;
11067
11714
  }());
11068
11715
 
11069
- var moment$s = _moment;
11716
+ var moment$t = _moment;
11070
11717
  var RecebimentoContrato = /** @class */ (function () {
11071
11718
  function RecebimentoContrato() {
11072
11719
  }
11073
11720
  RecebimentoContrato.fromDto = function (recebimentoDto, originEntity) {
11074
11721
  var model = __assign({}, recebimentoDto);
11075
- model.createdDate = model.createdDate && moment$s(model.createdDate).toDate();
11076
- model.lastModifiedDate = model.lastModifiedDate && moment$s(model.lastModifiedDate).toDate();
11722
+ model.createdDate = model.createdDate && moment$t(model.createdDate).toDate();
11723
+ model.lastModifiedDate = model.lastModifiedDate && moment$t(model.lastModifiedDate).toDate();
11077
11724
  var lookupSeparator = " - ";
11078
11725
  var displayFields = [
11079
11726
  "id",
@@ -11122,8 +11769,8 @@ var RecebimentoContrato = /** @class */ (function () {
11122
11769
  };
11123
11770
  RecebimentoContrato.toDto = function (recebimento, originEntity) {
11124
11771
  var dto = __assign({}, recebimento);
11125
- dto.createdDate = dto.createdDate && moment$s(dto.createdDate).format();
11126
- dto.lastModifiedDate = dto.lastModifiedDate && moment$s(dto.lastModifiedDate).format();
11772
+ dto.createdDate = dto.createdDate && moment$t(dto.createdDate).format();
11773
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$t(dto.lastModifiedDate).format();
11127
11774
  delete dto.label;
11128
11775
  if (originEntity !== "Pessoa" && dto.fornecedor)
11129
11776
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Recebimento");
@@ -11157,7 +11804,7 @@ var Situacao;
11157
11804
  Situacao["ATIVO"] = "ATIVO";
11158
11805
  })(Situacao || (Situacao = {}));
11159
11806
 
11160
- var moment$t = _moment;
11807
+ var moment$u = _moment;
11161
11808
  var RecebimentoFormComponent = /** @class */ (function () {
11162
11809
  function RecebimentoFormComponent(recebimentoService, router, route, messageService, confirmationService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, filialService, transportadoraService, pessoaEnderecoService, contratoCompraService, pessoaService, produtoService, derivacaoService, recebimentoChegadaOverride, notaValidatorService, transgeniaService, dialogService, agendaService, erpProcessService, erpFormConfigService, verificaNotaFiscal, hasChangeService, buildFormField) {
11163
11810
  var _this = this;
@@ -11839,11 +12486,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11839
12486
  if (typeof value == "number")
11840
12487
  return name + " eq " + value;
11841
12488
  else if (type == FieldType.Date)
11842
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12489
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11843
12490
  else if (type == FieldType.Time)
11844
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12491
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11845
12492
  else if (type == FieldType.DateTime)
11846
- return name + " eq '" + moment$t(value).format() + "'";
12493
+ return name + " eq '" + moment$u(value).format() + "'";
11847
12494
  else if (type == FieldType.String)
11848
12495
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
11849
12496
  else
@@ -11882,11 +12529,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11882
12529
  if (typeof value == "number")
11883
12530
  return name + " eq " + value;
11884
12531
  else if (type == FieldType.Date)
11885
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12532
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11886
12533
  else if (type == FieldType.Time)
11887
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12534
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11888
12535
  else if (type == FieldType.DateTime)
11889
- return name + " eq '" + moment$t(value).format() + "'";
12536
+ return name + " eq '" + moment$u(value).format() + "'";
11890
12537
  else if (type == FieldType.Enum)
11891
12538
  return name + " eq '" + value + "'";
11892
12539
  else if (type == FieldType.String)
@@ -11928,11 +12575,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11928
12575
  if (typeof value == "number")
11929
12576
  return name + " eq " + value;
11930
12577
  else if (type == FieldType.Date)
11931
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12578
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11932
12579
  else if (type == FieldType.Time)
11933
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12580
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11934
12581
  else if (type == FieldType.DateTime)
11935
- return name + " eq '" + moment$t(value).format() + "'";
12582
+ return name + " eq '" + moment$u(value).format() + "'";
11936
12583
  else if (type == FieldType.String)
11937
12584
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
11938
12585
  else
@@ -11972,11 +12619,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
11972
12619
  if (typeof value == "number")
11973
12620
  return name + " eq " + value;
11974
12621
  else if (type == FieldType.Date)
11975
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12622
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11976
12623
  else if (type == FieldType.Time)
11977
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12624
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11978
12625
  else if (type == FieldType.DateTime)
11979
- return name + " eq '" + moment$t(value).format() + "'";
12626
+ return name + " eq '" + moment$u(value).format() + "'";
11980
12627
  else if (type == FieldType.Enum)
11981
12628
  return name + " eq '" + value + "'";
11982
12629
  else if (type == FieldType.String)
@@ -12073,11 +12720,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
12073
12720
  if (typeof value == "number")
12074
12721
  return name + " eq " + value;
12075
12722
  else if (type == FieldType.Date)
12076
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12723
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12077
12724
  else if (type == FieldType.Time)
12078
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12725
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12079
12726
  else if (type == FieldType.DateTime)
12080
- return name + " eq '" + moment$t(value).format() + "'";
12727
+ return name + " eq '" + moment$u(value).format() + "'";
12081
12728
  else if (type == FieldType.String)
12082
12729
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
12083
12730
  else
@@ -12115,11 +12762,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
12115
12762
  if (typeof value == "number")
12116
12763
  return name + " eq " + value;
12117
12764
  else if (type == FieldType.Date)
12118
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12765
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12119
12766
  else if (type == FieldType.Time)
12120
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12767
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12121
12768
  else if (type == FieldType.DateTime)
12122
- return name + " eq '" + moment$t(value).format() + "'";
12769
+ return name + " eq '" + moment$u(value).format() + "'";
12123
12770
  else if (type == FieldType.Enum)
12124
12771
  return name + " eq '" + value + "'";
12125
12772
  else if (type == FieldType.String)
@@ -12168,11 +12815,11 @@ var RecebimentoFormComponent = /** @class */ (function () {
12168
12815
  if (typeof value == "number")
12169
12816
  return name + " eq " + value;
12170
12817
  else if (type == FieldType.Date)
12171
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12818
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12172
12819
  else if (type == FieldType.Time)
12173
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12820
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12174
12821
  else if (type == FieldType.DateTime)
12175
- return name + " eq '" + moment$t(value).format() + "'";
12822
+ return name + " eq '" + moment$u(value).format() + "'";
12176
12823
  else if (type == FieldType.Enum)
12177
12824
  return name + " eq '" + value + "'";
12178
12825
  else if (type == FieldType.String)
@@ -12950,7 +13597,7 @@ var RecebimentoFormComponent = /** @class */ (function () {
12950
13597
  NotaValidatorService,
12951
13598
  TransgeniaService,
12952
13599
  DialogService,
12953
- AgendaService,
13600
+ AgendaService$1,
12954
13601
  ErpProcessService,
12955
13602
  ErpFormConfigService,
12956
13603
  VerificaNotafiscal,
@@ -13114,5 +13761,5 @@ var DockModule = /** @class */ (function () {
13114
13761
  return DockModule;
13115
13762
  }());
13116
13763
 
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 };
13764
+ export { AgendaModule, AgendaService$1 as AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, ERP_ENVIRONMENT, ERP_SENIOR_HEADER, EmpresaModule, EmpresaService, ErpFormConfigService, ErpProcessData, ErpProcessService, ErpSeniorModule, EstadoModule, EstadoService, ExpedicaoChegadaVeiculoOverride, ExpedicaoModule, ExpedicaoService, FamiliaProdutoModule, FamiliaProdutoService, FieldCustomizationService, FilialModule, FilialService, FormComponent, FormDescritor, FormSamComponent, FormSamDescritor, FormWmsComponent, FormWmsDescritor, HasChangeService, INFORMACAOES_ADICIONAIS_HEADER, InfoComponent, InfoDescritor, IntegrationWebSocket, LogsModule, LogsService, LprModule, LprService, PaisModule, PaisService, PedidoVendaItemModule, PedidoVendaItemService, PedidoVendaModule, PedidoVendaService, PessoaEnderecoModule, PessoaEnderecoService, PessoaFisicaModule, PessoaFisicaService, PessoaJuridicaModule, PessoaJuridicaService, PessoaModule, PessoaService, PortariasComponent, PortariasDescritor, PortariasModule, ProdutoModule, ProdutoService, RecebimentoChegadaVeiculoOverride, RecebimentoContratoModule, RecebimentoContratoService, RoyaltyModule, RoyaltyService, SAM_SENIOR_HEADER, SafraModule, SafraService, SamSeniorModule, SnapshotComponent, SnapshotDescritor, TransportadoraModule, TransportadoraService, UnidadeMedidaModule, UnidadeMedidaService, VisitorListComponent, VisitorListModule, VisitorListService, VisualizarBalancaComponent, VisualizarBalancaDescritor, WmsModule, highlightLanguages, Service as ɵa, CustomStompConfig as ɵb, EntityService$2 as ɵba, EntityService$1 as ɵbb, InsertKeyModule as ɵbc, InsertKeyComponent as ɵbd, IntegrationService as ɵbe, RecebimentoFormComponent as ɵbf, DerivacaoService as ɵbg, NotaValidatorService as ɵbh, TransgeniaService as ɵbi, VerificaNotafiscal as ɵbj, BuildFormField as ɵbk, ExpedicaoFormComponent as ɵbl, ExpedicaoInfoComponent as ɵbm, RecebimentoInfoComponent as ɵbn, DevolucaoFormComponent as ɵbo, DevolucaoService as ɵbp, DevolucaoChegadaVeiculoOverride as ɵbq, RecebimentoOrdemCompraFormComponent as ɵbr, OrdemCompraService as ɵbs, RecebimentoOrdemCompraService as ɵbt, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbu, RecebimentoOrdemCompraInfoComponent as ɵbv, DevolucaoInfoComponent as ɵbw, ContratoFormComponent as ɵbx, OrdemCompraFormComponent as ɵby, ProcessoAvulsoFormComponent as ɵbz, ViewImageComponent as ɵc, ProcessoAvulsoService as ɵca, ProcessoAvulsoChegadaVeiculoOverride as ɵcb, ProcessoAvulsoInfoComponent as ɵcc, LogIntegracaoDescritor as ɵcd, LogIntegracaoComponent as ɵce, LogIntegracaoService as ɵcf, DerivacaoModule as ɵcg, DevolucaoModule as ɵch, OrdemCompraModule as ɵci, RecebimentoOrdemCompraModule as ɵcj, TransgeniaModule as ɵck, ProcessoAvulsoModule as ɵcl, LogIntegracaoModule as ɵcm, NotaFormModule as ɵcn, NotaFormComponent as ɵco, LogDescritor as ɵd, LogsComponent as ɵe, PortariasService as ɵf, EntradaComponent as ɵg, AgendasComponent as ɵh, ConfirmacaoComponent as ɵi, VisitedInfoDescritor as ɵj, VisitedInfoComponent as ɵk, VisitedInfoService as ɵl, SchedulingComponent as ɵm, LobbyService as ɵn, EntityService as ɵo, SchedulingService as ɵp, VisitanteComponent as ɵq, VisitanteFormComponent as ɵr, CredencialFormComponent as ɵs, FocusService as ɵt, DocumentGridModule as ɵu, DocumentGridComponent as ɵv, DocumentService as ɵw, RegisterDocumentModule as ɵx, RegisterDocumentComponent as ɵy, AgendaService as ɵz };
13118
13765
  //# sourceMappingURL=seniorsistemas-yms-integration.js.map