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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/bundles/seniorsistemas-yms-integration.umd.js +858 -229
  2. package/bundles/seniorsistemas-yms-integration.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-yms-integration.umd.min.js +1 -1
  4. package/bundles/seniorsistemas-yms-integration.umd.min.js.map +1 -1
  5. package/esm2015/index.js +4 -1
  6. package/esm2015/seniorsistemas-yms-integration.js +47 -38
  7. package/esm2015/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
  8. package/esm2015/src/wms/components/document-grid/document-grid.component.js +163 -0
  9. package/esm2015/src/wms/components/document-grid/document-grid.module.js +35 -0
  10. package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +75 -0
  11. package/esm2015/src/wms/components/document-grid/insert-key/insert-key.module.js +26 -0
  12. package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +107 -0
  13. package/esm2015/src/wms/components/document-grid/register-document/register-document.module.js +32 -0
  14. package/esm2015/src/wms/entities/agenda/agenda.service.js +22 -0
  15. package/esm2015/src/wms/entities/document/document-dto.js +1 -0
  16. package/esm2015/src/wms/entities/document/document.js +39 -0
  17. package/esm2015/src/wms/entities/document/document.service.js +21 -0
  18. package/esm2015/src/wms/entities/document/find-documents-input.js +1 -0
  19. package/esm2015/src/wms/entities/entity-service.js +4 -0
  20. package/esm2015/src/wms/entities/wms-system/wms-system.js +9 -0
  21. package/esm2015/src/wms/form/form-wms.component.js +60 -0
  22. package/esm2015/src/wms/wms.module.js +68 -0
  23. package/esm5/index.js +4 -1
  24. package/esm5/seniorsistemas-yms-integration.js +47 -38
  25. package/esm5/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
  26. package/esm5/src/wms/components/document-grid/document-grid.component.js +168 -0
  27. package/esm5/src/wms/components/document-grid/document-grid.module.js +38 -0
  28. package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +77 -0
  29. package/esm5/src/wms/components/document-grid/insert-key/insert-key.module.js +29 -0
  30. package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +109 -0
  31. package/esm5/src/wms/components/document-grid/register-document/register-document.module.js +35 -0
  32. package/esm5/src/wms/entities/agenda/agenda.service.js +25 -0
  33. package/esm5/src/wms/entities/document/document-dto.js +1 -0
  34. package/esm5/src/wms/entities/document/document.js +44 -0
  35. package/esm5/src/wms/entities/document/document.service.js +24 -0
  36. package/esm5/src/wms/entities/document/find-documents-input.js +1 -0
  37. package/esm5/src/wms/entities/entity-service.js +11 -0
  38. package/esm5/src/wms/entities/wms-system/wms-system.js +9 -0
  39. package/esm5/src/wms/form/form-wms.component.js +63 -0
  40. package/esm5/src/wms/wms.module.js +69 -0
  41. package/fesm2015/seniorsistemas-yms-integration.js +766 -185
  42. package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
  43. package/fesm5/seniorsistemas-yms-integration.js +799 -182
  44. package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
  45. package/index.d.ts +2 -0
  46. package/package.json +1 -1
  47. package/seniorsistemas-yms-integration.d.ts +46 -37
  48. package/seniorsistemas-yms-integration.metadata.json +1 -1
  49. package/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.d.ts +1 -0
  50. package/src/wms/components/document-grid/document-grid.component.d.ts +43 -0
  51. package/src/wms/components/document-grid/document-grid.module.d.ts +2 -0
  52. package/src/wms/components/document-grid/insert-key/insert-key.component.d.ts +22 -0
  53. package/src/wms/components/document-grid/insert-key/insert-key.module.d.ts +2 -0
  54. package/src/wms/components/document-grid/register-document/register-document.component.d.ts +28 -0
  55. package/src/wms/components/document-grid/register-document/register-document.module.d.ts +2 -0
  56. package/src/wms/entities/agenda/agenda.service.d.ts +9 -0
  57. package/src/wms/entities/document/document-dto.d.ts +16 -0
  58. package/src/wms/entities/document/document.d.ts +20 -0
  59. package/src/wms/entities/document/document.service.d.ts +11 -0
  60. package/src/wms/entities/document/find-documents-input.d.ts +7 -0
  61. package/src/wms/entities/entity-service.d.ts +3 -0
  62. package/src/wms/entities/wms-system/wms-system.d.ts +7 -0
  63. package/src/wms/form/form-wms.component.d.ts +18 -0
  64. package/src/wms/wms.module.d.ts +4 -0
@@ -8,18 +8,18 @@
8
8
  xmlx = xmlx && Object.prototype.hasOwnProperty.call(xmlx, 'default') ? xmlx['default'] : xmlx;
9
9
 
10
10
  /*! *****************************************************************************
11
- Copyright (c) Microsoft Corporation.
11
+ Copyright (c) Microsoft Corporation. All rights reserved.
12
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
13
+ this file except in compliance with the License. You may obtain a copy of the
14
+ License at http://www.apache.org/licenses/LICENSE-2.0
12
15
 
13
- Permission to use, copy, modify, and/or distribute this software for any
14
- purpose with or without fee is hereby granted.
16
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
18
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
19
+ MERCHANTABLITY OR NON-INFRINGEMENT.
15
20
 
16
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
17
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
19
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
20
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
21
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22
- PERFORMANCE OF THIS SOFTWARE.
21
+ See the Apache Version 2.0 License for specific language governing permissions
22
+ and limitations under the License.
23
23
  ***************************************************************************** */
24
24
  /* global Reflect, Promise */
25
25
 
@@ -63,15 +63,14 @@
63
63
  }
64
64
 
65
65
  function __values(o) {
66
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
66
+ var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
67
67
  if (m) return m.call(o);
68
- if (o && typeof o.length === "number") return {
68
+ return {
69
69
  next: function () {
70
70
  if (o && i >= o.length) o = void 0;
71
71
  return { value: o && o[i++], done: !o };
72
72
  }
73
73
  };
74
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
75
74
  }
76
75
 
77
76
  function __read(o, n) {
@@ -1949,6 +1948,16 @@
1949
1948
  driver: true
1950
1949
  });
1951
1950
  }
1951
+ if (this.visitors.length > 0) {
1952
+ this.visitors[0].visitor = {
1953
+ name: mot.nome,
1954
+ document: mot.cpf,
1955
+ contact: this.getContatoMotorista(mot),
1956
+ visitorSituation: VisitorSituation.CHECK_IN_PENDING,
1957
+ documentType: this.getDocumentType(),
1958
+ driver: true
1959
+ };
1960
+ }
1952
1961
  };
1953
1962
  VisitanteComponent.prototype.adicionaVisitantesGrid = function () {
1954
1963
  var _this = this;
@@ -2041,6 +2050,14 @@
2041
2050
  if (visitor.document === visitante.document) {
2042
2051
  visitor.contact = visitante.contact;
2043
2052
  visitor.name = visitante.name;
2053
+ var novoVisitante_1 = _this.buildVisitorCredentialsDto(visitor);
2054
+ _this.visitors.forEach(function (result) {
2055
+ if (result.visitor.document === novoVisitante_1.visitor.document) {
2056
+ result.visitor.name = novoVisitante_1.visitor.name;
2057
+ result.visitor.contact = novoVisitante_1.visitor.contact;
2058
+ }
2059
+ });
2060
+ _this.visitorsChange.emit(_this.visitors);
2044
2061
  _this.visitorFound = true;
2045
2062
  }
2046
2063
  });
@@ -2068,6 +2085,19 @@
2068
2085
  this.visitorsChange.emit(this.visitors);
2069
2086
  this.hasChange.emit(true);
2070
2087
  };
2088
+ VisitanteComponent.prototype.buildVisitorCredentialsDto = function (visitor) {
2089
+ var visitorCredentialsDto = new VisitorCredentialsDto();
2090
+ var visitante = {
2091
+ name: visitor.name,
2092
+ document: visitor.document,
2093
+ contact: visitor.contact,
2094
+ documentType: visitor.documentType,
2095
+ visitorSituation: visitor.visitorSituation,
2096
+ driver: false
2097
+ };
2098
+ visitorCredentialsDto.visitor = visitante;
2099
+ return visitorCredentialsDto;
2100
+ };
2071
2101
  VisitanteComponent.prototype.model = function (visitante) {
2072
2102
  var _this = this;
2073
2103
  var isDriver = visitante.document === this.motorista.cpf;
@@ -3024,6 +3054,190 @@
3024
3054
  return VisitorListModule;
3025
3055
  }());
3026
3056
 
3057
+ var INFORMACAOES_ADICIONAIS_HEADER = "Informações adicionais";
3058
+ var FormWmsDescritor = /** @class */ (function () {
3059
+ function FormWmsDescritor() {
3060
+ }
3061
+ FormWmsDescritor = __decorate([
3062
+ ymsRoutines.ChegadaVeiculo({
3063
+ header: INFORMACAOES_ADICIONAIS_HEADER,
3064
+ name: 'yms.integracao.wms',
3065
+ icon: 'fa fa-plus'
3066
+ })
3067
+ ], FormWmsDescritor);
3068
+ return FormWmsDescritor;
3069
+ }());
3070
+ var FormWmsComponent = /** @class */ (function (_super) {
3071
+ __extends(FormWmsComponent, _super);
3072
+ function FormWmsComponent(integrationCallback) {
3073
+ var _this = _super.call(this) || this;
3074
+ _this.integrationCallback = integrationCallback;
3075
+ _this.save = [];
3076
+ _this.header = INFORMACAOES_ADICIONAIS_HEADER;
3077
+ _this.loading = false;
3078
+ _this.unsubscribe$ = new rxjs.Subject();
3079
+ _this._integrationCallback = integrationCallback;
3080
+ return _this;
3081
+ }
3082
+ FormWmsComponent.prototype.ngOnInit = function () {
3083
+ var _this = this;
3084
+ this._integrationCallback.onAgendamentoSaved()
3085
+ .pipe(operators.takeUntil(this.unsubscribe$), operators.mergeMap(function (agenda) {
3086
+ _this.agenda = agenda;
3087
+ return rxjs.empty();
3088
+ }))
3089
+ .subscribe();
3090
+ };
3091
+ FormWmsComponent.prototype.ngOnDestroy = function () {
3092
+ this.unsubscribe$.next();
3093
+ this.unsubscribe$.complete();
3094
+ };
3095
+ __decorate([
3096
+ core.Output(),
3097
+ __metadata("design:type", Agenda)
3098
+ ], FormWmsComponent.prototype, "agenda", void 0);
3099
+ __decorate([
3100
+ core.Input(),
3101
+ __metadata("design:type", Array)
3102
+ ], FormWmsComponent.prototype, "save", void 0);
3103
+ FormWmsComponent = __decorate([
3104
+ core.Component({
3105
+ template: "\n <div *ngIf=\"agenda\">\n <document-grid [agenda]=\"agenda\"></document-grid>\n </div>\n "
3106
+ }),
3107
+ __metadata("design:paramtypes", [ymsRoutines.IntegrationEventsCallback])
3108
+ ], FormWmsComponent);
3109
+ return FormWmsComponent;
3110
+ }(FormWmsDescritor));
3111
+
3112
+ var DocumentService = /** @class */ (function (_super) {
3113
+ __extends(DocumentService, _super);
3114
+ function DocumentService(http, messageService) {
3115
+ var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
3116
+ _this.http = http;
3117
+ _this.messageService = messageService;
3118
+ return _this;
3119
+ }
3120
+ DocumentService.prototype.findDocuments = function (input) {
3121
+ return this.http.post('yms_int/wms/queries/findDocuments', input);
3122
+ };
3123
+ DocumentService = __decorate([
3124
+ core.Injectable(),
3125
+ __metadata("design:paramtypes", [http.HttpClient, api.MessageService])
3126
+ ], DocumentService);
3127
+ return DocumentService;
3128
+ }(EntityService));
3129
+
3130
+ var InsertKeyComponent = /** @class */ (function () {
3131
+ function InsertKeyComponent(formBuilder, documentService, messageService, translate) {
3132
+ this.formBuilder = formBuilder;
3133
+ this.documentService = documentService;
3134
+ this.messageService = messageService;
3135
+ this.translate = translate;
3136
+ this.document = new core.EventEmitter();
3137
+ }
3138
+ InsertKeyComponent.prototype.ngOnInit = function () {
3139
+ this.formGroup = this.formBuilder.group({
3140
+ key: [undefined]
3141
+ });
3142
+ };
3143
+ InsertKeyComponent.prototype.showInsertKey = function (visible) {
3144
+ this.visible = visible;
3145
+ };
3146
+ InsertKeyComponent.prototype.add = function () {
3147
+ this.visible = false;
3148
+ if (!this.formGroup.get('key').value) {
3149
+ return;
3150
+ }
3151
+ this.searchKey();
3152
+ };
3153
+ InsertKeyComponent.prototype.searchKey = function () {
3154
+ var _this = this;
3155
+ var key = {
3156
+ documentKeys: [this.formGroup.get('key').value],
3157
+ invoices: undefined,
3158
+ logistcUnitName: undefined,
3159
+ size: 0,
3160
+ offset: 0
3161
+ };
3162
+ this.documentService.findDocuments(key).subscribe(function (content) {
3163
+ if (content.totalElements < 1) {
3164
+ _this.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
3165
+ return;
3166
+ }
3167
+ _this.document.emit(content.contents[0]);
3168
+ _this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_insert_key_success_message_description");
3169
+ _this.formGroup.reset();
3170
+ });
3171
+ };
3172
+ InsertKeyComponent.prototype.message = function (success, header, description) {
3173
+ this.messageService.add({
3174
+ severity: success,
3175
+ summary: this.translate.instant(header),
3176
+ detail: this.translate.instant(description),
3177
+ });
3178
+ };
3179
+ InsertKeyComponent.prototype.cancel = function () {
3180
+ this.visible = false;
3181
+ };
3182
+ __decorate([
3183
+ core.Output(),
3184
+ __metadata("design:type", core.EventEmitter)
3185
+ ], InsertKeyComponent.prototype, "document", void 0);
3186
+ InsertKeyComponent = __decorate([
3187
+ core.Component({
3188
+ selector: "insert-key",
3189
+ template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\">\n <p-header>{{'yms.insert_key_header' | translate}}</p-header>\n <div class=\"flex py-2 justify-content-center spacing-bottom\">\n <label for=\"key\">{{'yms.insert_key_label'}}</label>\n <input id=\"key\" class=\"size-input\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"separator\"></div>\n <div class=\"spacing-top\">\n <s-button pButton label=\"{{'save' | translate}}\" (click)=\"add()\"></s-button>\n <s-button\n type=\"button\"\n class=\"ui-button-link\"\n pButton label=\"{{'cancel' | translate}}\"\n (click)=\"cancel()\">\n </s-button>\n </div>\n </p-dialog>\n</form>",
3190
+ 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}"]
3191
+ }),
3192
+ __metadata("design:paramtypes", [forms.FormBuilder,
3193
+ DocumentService,
3194
+ api.MessageService,
3195
+ core$1.TranslateService])
3196
+ ], InsertKeyComponent);
3197
+ return InsertKeyComponent;
3198
+ }());
3199
+
3200
+ var moment$4 = _moment;
3201
+ var Document = /** @class */ (function () {
3202
+ function Document() {
3203
+ }
3204
+ Document.fromDto = function (documentDto, originEntity) {
3205
+ var model = __assign({}, documentDto);
3206
+ model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
3207
+ model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
3208
+ var lookupSeparator = " - ";
3209
+ var displayFields = [
3210
+ "id",
3211
+ "schedulingId",
3212
+ "invoiceKey",
3213
+ "invoiceNumber",
3214
+ "invoiceSerialNumber",
3215
+ "systemIntegration",
3216
+ "logistcUnitName",
3217
+ "logistcUnitDocument",
3218
+ "ownerName",
3219
+ "ownerDocument",
3220
+ "partnerName",
3221
+ "partnerDocument",
3222
+ "notes",
3223
+ "orderReceivingCode",
3224
+ "createdBy",
3225
+ "createdDate",
3226
+ "lastModifiedBy",
3227
+ "lastModifiedDate",
3228
+ ];
3229
+ model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
3230
+ return model;
3231
+ };
3232
+ Document.toDto = function (document, originEntity) {
3233
+ var dto = __assign({}, document);
3234
+ dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
3235
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
3236
+ return dto;
3237
+ };
3238
+ return Document;
3239
+ }());
3240
+
3027
3241
  var EntityService$1 = /** @class */ (function () {
3028
3242
  function EntityService(http, messageService, entityUrl, actionsUrl) {
3029
3243
  this.http = http;
@@ -3118,9 +3332,411 @@
3118
3332
  return EntityService;
3119
3333
  }());
3120
3334
 
3335
+ var EntityService$2 = /** @class */ (function (_super) {
3336
+ __extends(EntityService, _super);
3337
+ function EntityService() {
3338
+ return _super !== null && _super.apply(this, arguments) || this;
3339
+ }
3340
+ return EntityService;
3341
+ }(EntityService$1));
3342
+
3343
+ var AgendaService = /** @class */ (function (_super) {
3344
+ __extends(AgendaService, _super);
3345
+ function AgendaService(http, messageService) {
3346
+ var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
3347
+ _this.http = http;
3348
+ _this.messageService = messageService;
3349
+ return _this;
3350
+ }
3351
+ AgendaService.ngInjectableDef = core.defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(core.inject(http.HttpClient), core.inject(messageservice.MessageService)); }, token: AgendaService, providedIn: "root" });
3352
+ AgendaService = __decorate([
3353
+ core.Injectable({ providedIn: 'root' }),
3354
+ __metadata("design:paramtypes", [http.HttpClient, messageservice.MessageService])
3355
+ ], AgendaService);
3356
+ return AgendaService;
3357
+ }(EntityService$2));
3358
+
3359
+ var RegisterDocumentComponent = /** @class */ (function () {
3360
+ function RegisterDocumentComponent(fb, messageService, translateService, agendaService) {
3361
+ this.fb = fb;
3362
+ this.messageService = messageService;
3363
+ this.translateService = translateService;
3364
+ this.agendaService = agendaService;
3365
+ this.document = new core.EventEmitter();
3366
+ }
3367
+ RegisterDocumentComponent.prototype.ngOnInit = function () {
3368
+ this.getFormGroup();
3369
+ };
3370
+ RegisterDocumentComponent.prototype.showRegister = function (isVisible, isEdit, document) {
3371
+ if (!isVisible && !isEdit) {
3372
+ return;
3373
+ }
3374
+ this.visible = isVisible;
3375
+ this.edit = isEdit;
3376
+ if (!this.edit) {
3377
+ this.formGroup.disable();
3378
+ this.setValuesFormGroup(document);
3379
+ this.setValueForPartner();
3380
+ this.hideSaveButton = true;
3381
+ }
3382
+ };
3383
+ RegisterDocumentComponent.prototype.close = function () {
3384
+ this.visible = false;
3385
+ };
3386
+ RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
3387
+ this.formGroup.get('invoiceKey').setValue(document.invoiceKey);
3388
+ this.formGroup.get('invoiceNumber').setValue(document.invoiceNumber);
3389
+ this.formGroup.get('invoiceSerialNumber').setValue(document.invoiceSerialNumber);
3390
+ this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
3391
+ this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
3392
+ this.formGroup.get('notes').setValue(document.notes);
3393
+ this.formGroup.get('orderReceivingCode').setValue(document.orderReceivingCode);
3394
+ this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
3395
+ this.formGroup.get('ownerName').setValue(document.ownerName);
3396
+ };
3397
+ RegisterDocumentComponent.prototype.setValueForPartner = function () {
3398
+ var _this = this;
3399
+ this.agendaService.get(this.agenda.id).subscribe(function (agenda) {
3400
+ _this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
3401
+ _this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
3402
+ });
3403
+ };
3404
+ RegisterDocumentComponent.prototype.getFormGroup = function () {
3405
+ this.formGroup = this.fb.group({
3406
+ invoiceKey: [undefined, forms.Validators.required],
3407
+ schedulingId: [undefined],
3408
+ invoiceNumber: [undefined],
3409
+ invoiceSerialNumber: [undefined],
3410
+ logistcUnitName: [undefined],
3411
+ logistcUnitDocument: [undefined],
3412
+ ownerName: [undefined],
3413
+ ownerDocument: [undefined],
3414
+ partnerName: [undefined],
3415
+ partnerDocument: [undefined],
3416
+ notes: [undefined],
3417
+ orderReceivingCode: [undefined],
3418
+ });
3419
+ };
3420
+ RegisterDocumentComponent.prototype.save = function () {
3421
+ var value = this.formGroup.getRawValue();
3422
+ if (value.id === undefined) {
3423
+ if (this.agenda.id !== undefined) {
3424
+ value.schedulingId = this.agenda.id;
3425
+ }
3426
+ this.document.emit(Document.fromDto(value));
3427
+ this.successMessage();
3428
+ this.visible = false;
3429
+ }
3430
+ };
3431
+ RegisterDocumentComponent.prototype.successMessage = function () {
3432
+ this.messageService.add({
3433
+ severity: "success",
3434
+ summary: this.translateService.instant("saved_message_title"),
3435
+ detail: this.translateService.instant("saved_message_content"),
3436
+ });
3437
+ };
3438
+ __decorate([
3439
+ core.Input(),
3440
+ __metadata("design:type", Agenda)
3441
+ ], RegisterDocumentComponent.prototype, "agenda", void 0);
3442
+ __decorate([
3443
+ core.Output(),
3444
+ __metadata("design:type", core.EventEmitter)
3445
+ ], RegisterDocumentComponent.prototype, "document", void 0);
3446
+ RegisterDocumentComponent = __decorate([
3447
+ core.Component({
3448
+ selector: "register-document",
3449
+ 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>"
3450
+ }),
3451
+ __metadata("design:paramtypes", [forms.FormBuilder,
3452
+ api.MessageService,
3453
+ core$1.TranslateService,
3454
+ AgendaService])
3455
+ ], RegisterDocumentComponent);
3456
+ return RegisterDocumentComponent;
3457
+ }());
3458
+
3459
+ var DocumentGridComponent = /** @class */ (function () {
3460
+ function DocumentGridComponent(translate, documentService, messageService) {
3461
+ this.translate = translate;
3462
+ this.documentService = documentService;
3463
+ this.messageService = messageService;
3464
+ this.ngUnsubscribe = new rxjs.Subject();
3465
+ }
3466
+ DocumentGridComponent.prototype.ngOnInit = function () {
3467
+ this.gridColumns = this.getGridColumns();
3468
+ this.listDocuments();
3469
+ };
3470
+ DocumentGridComponent.prototype.onChangeDocument = function (document) {
3471
+ this.gridData.push(document);
3472
+ this.disabled = true;
3473
+ };
3474
+ DocumentGridComponent.prototype.getActions = function () {
3475
+ var _this = this;
3476
+ return [
3477
+ {
3478
+ label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
3479
+ command: function () {
3480
+ _this.registerDocumentComponent.showRegister(false, false);
3481
+ _this.showInsertKey = true;
3482
+ _this.insertKeyComponent.showInsertKey(_this.showInsertKey);
3483
+ },
3484
+ icon: "fa fa-search"
3485
+ },
3486
+ {
3487
+ label: this.translate.instant("yms.int.wms_add_document_register"),
3488
+ command: function () {
3489
+ _this.insertKeyComponent.showInsertKey(false);
3490
+ _this.showRegisterDocument = true;
3491
+ _this.registerDocumentComponent.showRegister(_this.showRegisterDocument, true);
3492
+ },
3493
+ icon: "fas fa-pen-square"
3494
+ }
3495
+ ];
3496
+ };
3497
+ DocumentGridComponent.prototype.getProp = function (obj, path) {
3498
+ return path.split(".").reduce(function (result, prop) { return (result[prop] === undefined ? "" : result[prop]); }, obj);
3499
+ };
3500
+ DocumentGridComponent.prototype.view = function () {
3501
+ var documentSelectec = this.selection;
3502
+ this.showRegisterDocument = true;
3503
+ this.registerDocumentComponent.showRegister(this.showRegisterDocument, false, documentSelectec);
3504
+ };
3505
+ DocumentGridComponent.prototype.save = function () {
3506
+ var _this = this;
3507
+ if (this.gridData.length > 1) {
3508
+ this.gridData.forEach(function (data) {
3509
+ if (!data.id) {
3510
+ if (!data.schedulingId) {
3511
+ data.schedulingId = _this.agenda.id;
3512
+ }
3513
+ _this.documentService.insert(data).subscribe(function () {
3514
+ _this.message("success", "saved_message_title", "saved_message_content");
3515
+ });
3516
+ _this.disabled = true;
3517
+ }
3518
+ });
3519
+ }
3520
+ };
3521
+ DocumentGridComponent.prototype.onDelete = function (selection) {
3522
+ var _this = this;
3523
+ if (!selection.id) {
3524
+ return;
3525
+ }
3526
+ this.documentService.delete(selection.id)
3527
+ .pipe(operators.takeUntil(this.ngUnsubscribe), operators.finalize(function () {
3528
+ _this.listDocuments();
3529
+ })).
3530
+ subscribe(function () { return _this.message("success", "deleted_message_title", "deleted_message_content"); });
3531
+ };
3532
+ DocumentGridComponent.prototype.listDocuments = function () {
3533
+ var _this = this;
3534
+ this.documentService.list({
3535
+ filterQuery: "schedulingId eq '" + this.agenda.id + "'"
3536
+ })
3537
+ .subscribe(function (contents) {
3538
+ if (contents.totalElements > 0) {
3539
+ _this.gridData = contents.contents;
3540
+ _this.documentTotalRecords = contents.totalElements;
3541
+ }
3542
+ else {
3543
+ _this.disabled = true;
3544
+ }
3545
+ _this.loading = false;
3546
+ });
3547
+ };
3548
+ DocumentGridComponent.prototype.getGridColumns = function () {
3549
+ return [
3550
+ { field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
3551
+ { field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
3552
+ { field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
3553
+ { field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
3554
+ { field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
3555
+ { field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
3556
+ { field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
3557
+ { field: "orderReceivingCode", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
3558
+ ];
3559
+ };
3560
+ DocumentGridComponent.prototype.message = function (severity, summary, detail) {
3561
+ this.messageService.add({
3562
+ severity: severity,
3563
+ summary: this.translate.instant(summary),
3564
+ detail: this.translate.instant(detail),
3565
+ });
3566
+ };
3567
+ __decorate([
3568
+ core.Input(),
3569
+ __metadata("design:type", Object)
3570
+ ], DocumentGridComponent.prototype, "agenda", void 0);
3571
+ __decorate([
3572
+ core.ViewChild("documentTable"),
3573
+ __metadata("design:type", table.Table)
3574
+ ], DocumentGridComponent.prototype, "table", void 0);
3575
+ __decorate([
3576
+ core.ViewChild("customTemplate"),
3577
+ __metadata("design:type", core.TemplateRef)
3578
+ ], DocumentGridComponent.prototype, "customTemplate", void 0);
3579
+ __decorate([
3580
+ core.ViewChild("customFilterFields"),
3581
+ __metadata("design:type", core.TemplateRef)
3582
+ ], DocumentGridComponent.prototype, "customFilterFields", void 0);
3583
+ __decorate([
3584
+ core.ViewChild("customGridColgroup"),
3585
+ __metadata("design:type", core.TemplateRef)
3586
+ ], DocumentGridComponent.prototype, "customGridColgroup", void 0);
3587
+ __decorate([
3588
+ core.ViewChild("customGridHeader"),
3589
+ __metadata("design:type", core.TemplateRef)
3590
+ ], DocumentGridComponent.prototype, "customGridHeader", void 0);
3591
+ __decorate([
3592
+ core.ViewChild("customGridBody"),
3593
+ __metadata("design:type", core.TemplateRef)
3594
+ ], DocumentGridComponent.prototype, "customGridBody", void 0);
3595
+ __decorate([
3596
+ core.ViewChild("registerDocument"),
3597
+ __metadata("design:type", RegisterDocumentComponent)
3598
+ ], DocumentGridComponent.prototype, "registerDocumentComponent", void 0);
3599
+ __decorate([
3600
+ core.ViewChild("insertKey"),
3601
+ __metadata("design:type", InsertKeyComponent)
3602
+ ], DocumentGridComponent.prototype, "insertKeyComponent", void 0);
3603
+ DocumentGridComponent = __decorate([
3604
+ core.Component({
3605
+ selector: 'document-grid',
3606
+ template: "<p-panel>\n <p-header>\n <div class=\"buttons\">\n <div>\n <s-button\n label=\"{{'yms.int.wms_add_document' | translate}}\"\n priority=\"primary\"\n [model]=\"getActions()\"\n [auxiliary]=\"false\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_view_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || disabled\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || disabled\"\n (click)=\"onDelete(selection)\">\n </s-button>\n </div>\n <s-button\n id=\"refresh-button\"\n priority=\"default\"\n iconClass=\"fa fa-refresh\"\n (onClick)=\"listDocuments()\"\n >\n </s-button>\n </div>\n </p-header>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\" *ngIf=\"gridData && gridData.length; else emptyList\">\n <p-table #documentTable [value]=\"gridData\"\n [columns]=\"gridColumns\" dataKey=\"id\" [lazy]=\"true\" [scrollable]=\"true\" [resizableColumns]=\"true\"\n sortMode=\"single\" [paginator]=\"true\" [totalRecords]=\"documentTotalRecords\" rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\" [(selection)]=\"selection\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\"/>\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th id=\"col\" *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\" pResizableColumn>\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.header }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns let-expanded=\"expanded\">\n <tr [pSelectableRow]=\"rowData\">\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"logistcUnitDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceKey\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"invoiceSerialNumber\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerName\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"ownerDocument\"] }}</span>\n </td>\n <td (click)=\"selection = rowData\">\n <span>{{ rowData[\"orderReceivingCode\"] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document #registerDocument (document)=\"onChangeDocument($event)\" [agenda]=\"agenda\"></register-document>\n <insert-key #insertKey (document)=\"onChangeDocument($event)\"></insert-key>\n</p-panel>\n<div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"!disabled\" (click)=\"save()\">\n </s-button>\n</div>\n\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'yms.dock.area_dock_empty_state_title' | translate\"\n [description]=\"'yms.dock.area_dock_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n",
3607
+ 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}"]
3608
+ }),
3609
+ __metadata("design:paramtypes", [core$1.TranslateService,
3610
+ DocumentService,
3611
+ api.MessageService])
3612
+ ], DocumentGridComponent);
3613
+ return DocumentGridComponent;
3614
+ }());
3615
+
3616
+ var RegisterDocumentModule = /** @class */ (function () {
3617
+ function RegisterDocumentModule() {
3618
+ }
3619
+ RegisterDocumentModule = __decorate([
3620
+ core.NgModule({
3621
+ imports: [
3622
+ common.CommonModule,
3623
+ angularComponents.SidebarModule,
3624
+ angularComponents.ButtonModule,
3625
+ primeng.PanelModule,
3626
+ primeng.ConfirmDialogModule,
3627
+ core$1.TranslateModule,
3628
+ primeng.InputTextModule,
3629
+ angularComponents.ControlErrorsModule,
3630
+ primeng.InputTextareaModule,
3631
+ forms.ReactiveFormsModule
3632
+ ],
3633
+ exports: [RegisterDocumentComponent],
3634
+ declarations: [RegisterDocumentComponent],
3635
+ providers: [DocumentService]
3636
+ })
3637
+ ], RegisterDocumentModule);
3638
+ return RegisterDocumentModule;
3639
+ }());
3640
+
3641
+ var InsertKeyModule = /** @class */ (function () {
3642
+ function InsertKeyModule() {
3643
+ }
3644
+ InsertKeyModule = __decorate([
3645
+ core.NgModule({
3646
+ imports: [
3647
+ common.CommonModule,
3648
+ forms.ReactiveFormsModule,
3649
+ angularComponents.ButtonModule,
3650
+ core$1.TranslateModule,
3651
+ primeng.DialogModule,
3652
+ primeng.InputTextModule
3653
+ ],
3654
+ exports: [InsertKeyComponent],
3655
+ declarations: [InsertKeyComponent]
3656
+ })
3657
+ ], InsertKeyModule);
3658
+ return InsertKeyModule;
3659
+ }());
3660
+
3661
+ var DocumentGridModule = /** @class */ (function () {
3662
+ function DocumentGridModule() {
3663
+ }
3664
+ DocumentGridModule = __decorate([
3665
+ core.NgModule({
3666
+ declarations: [DocumentGridComponent],
3667
+ entryComponents: [DocumentGridComponent],
3668
+ exports: [DocumentGridComponent],
3669
+ imports: [
3670
+ common.CommonModule,
3671
+ core$1.TranslateModule,
3672
+ angularComponents.ButtonModule,
3673
+ primeng.PanelModule,
3674
+ table.TableModule,
3675
+ RegisterDocumentModule,
3676
+ InsertKeyModule,
3677
+ button.ButtonModule,
3678
+ ymsComponents.ComponentsModule,
3679
+ angularComponents.EmptyStateModule
3680
+ ],
3681
+ })
3682
+ ], DocumentGridModule);
3683
+ return DocumentGridModule;
3684
+ }());
3685
+
3686
+ var WmsModule = /** @class */ (function () {
3687
+ function WmsModule(dispatcher) {
3688
+ dispatcher.dispatch(FormWmsComponent);
3689
+ }
3690
+ WmsModule = __decorate([
3691
+ core.NgModule({
3692
+ declarations: [FormWmsComponent],
3693
+ entryComponents: [FormWmsComponent],
3694
+ exports: [FormWmsComponent],
3695
+ imports: [
3696
+ ymsRoutines.IntegrationModule,
3697
+ DocumentGridModule,
3698
+ common.CommonModule,
3699
+ core$1.TranslateModule,
3700
+ forms.FormsModule,
3701
+ angularComponents.ButtonModule,
3702
+ primeng.SharedModule,
3703
+ primeng.CardModule,
3704
+ button.ButtonModule,
3705
+ forms.ReactiveFormsModule,
3706
+ shared.SharedModule,
3707
+ angularComponents.CustomFieldsModule,
3708
+ angularComponents.ControlErrorsModule,
3709
+ primeng.DialogModule,
3710
+ angularComponents.EmptyStateModule,
3711
+ angularComponents.DynamicFormModule,
3712
+ angularComponents.TokenListModule,
3713
+ primeng.PanelModule,
3714
+ primeng.InputTextModule,
3715
+ primeng.DropdownModule,
3716
+ angularComponents.ButtonModule,
3717
+ angularComponents.LoadingStateModule,
3718
+ angularComponents.NumberInputModule,
3719
+ primeng.ConfirmDialogModule,
3720
+ angularComponents.LocaleModule,
3721
+ platformComponents.PermissionsModule,
3722
+ dynamicdialog.DynamicDialogModule,
3723
+ table.TableModule,
3724
+ primeng.TabViewModule,
3725
+ primeng.CalendarModule,
3726
+ ],
3727
+ providers: [
3728
+ FieldCustomizationService,
3729
+ FocusService
3730
+ ]
3731
+ }),
3732
+ __metadata("design:paramtypes", [ymsRoutines.IntegrationDispatcher])
3733
+ ], WmsModule);
3734
+ return WmsModule;
3735
+ }());
3736
+
3121
3737
  var ERP_ENVIRONMENT = new core.InjectionToken('integration_environment');
3122
3738
 
3123
- var AgendaService = /** @class */ (function (_super) {
3739
+ var AgendaService$1 = /** @class */ (function (_super) {
3124
3740
  __extends(AgendaService, _super);
3125
3741
  function AgendaService(http, messageService, environment) {
3126
3742
  var _this = _super.call(this, http, messageService, environment.project.domain + "/" + environment.project.service + "/entities/agenda", environment.project.domain + "/" + environment.project.service + "/actions") || this;
@@ -3221,7 +3837,7 @@
3221
3837
  RecebimentoChegadaVeiculoOverride = __decorate([
3222
3838
  core.Injectable(),
3223
3839
  __metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
3224
- AgendaService,
3840
+ AgendaService$1,
3225
3841
  RecebimentoContratoService])
3226
3842
  ], RecebimentoChegadaVeiculoOverride);
3227
3843
  return RecebimentoChegadaVeiculoOverride;
@@ -3285,7 +3901,7 @@
3285
3901
  ExpedicaoChegadaVeiculoOverride = __decorate([
3286
3902
  core.Injectable(),
3287
3903
  __metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
3288
- AgendaService,
3904
+ AgendaService$1,
3289
3905
  ExpedicaoService])
3290
3906
  ], ExpedicaoChegadaVeiculoOverride);
3291
3907
  return ExpedicaoChegadaVeiculoOverride;
@@ -3502,7 +4118,7 @@
3502
4118
  return OrdemCompraService;
3503
4119
  }(EntityService$1));
3504
4120
 
3505
- var moment$4 = _moment;
4121
+ var moment$5 = _moment;
3506
4122
  /*{CA:PROJECT_IMPORTS:END}*/
3507
4123
  var Empresa = /** @class */ (function () {
3508
4124
  function Empresa() {
@@ -3511,8 +4127,8 @@
3511
4127
  /*{CA:CLASS_ATTRIBUTES:END}*/
3512
4128
  Empresa.fromDto = function (empresaDto, originEntity) {
3513
4129
  var model = __assign({}, empresaDto);
3514
- model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
3515
- model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
4130
+ model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
4131
+ model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
3516
4132
  var lookupSeparator = " - ";
3517
4133
  var displayFields = [
3518
4134
  "codigo",
@@ -3524,8 +4140,8 @@
3524
4140
  };
3525
4141
  Empresa.toDto = function (empresa, originEntity) {
3526
4142
  var dto = __assign({}, empresa);
3527
- dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
3528
- dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
4143
+ dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
4144
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
3529
4145
  delete dto.label;
3530
4146
  return dto;
3531
4147
  };
@@ -3534,7 +4150,7 @@
3534
4150
  /*{CA:FILE_CONTENTS:START}*/
3535
4151
  /*{CA:FILE_CONTENTS:END}*/
3536
4152
 
3537
- var moment$5 = _moment;
4153
+ var moment$6 = _moment;
3538
4154
  /*{CA:PROJECT_IMPORTS:START}*/
3539
4155
  /*{CA:PROJECT_IMPORTS:END}*/
3540
4156
  var Pessoa = /** @class */ (function () {
@@ -3544,8 +4160,8 @@
3544
4160
  /*{CA:CLASS_ATTRIBUTES:END}*/
3545
4161
  Pessoa.fromDto = function (pessoaDto, originEntity) {
3546
4162
  var model = __assign({}, pessoaDto);
3547
- model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
3548
- model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
4163
+ model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
4164
+ model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
3549
4165
  var lookupSeparator = " - ";
3550
4166
  var displayFields = [
3551
4167
  "codigo",
@@ -3557,8 +4173,8 @@
3557
4173
  };
3558
4174
  Pessoa.toDto = function (pessoa, originEntity) {
3559
4175
  var dto = __assign({}, pessoa);
3560
- dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
3561
- dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
4176
+ dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
4177
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
3562
4178
  delete dto.label;
3563
4179
  return dto;
3564
4180
  };
@@ -3567,7 +4183,7 @@
3567
4183
  /*{CA:FILE_CONTENTS:START}*/
3568
4184
  /*{CA:FILE_CONTENTS:END}*/
3569
4185
 
3570
- var moment$6 = _moment;
4186
+ var moment$7 = _moment;
3571
4187
  /*{CA:PROJECT_IMPORTS:START}*/
3572
4188
  /*{CA:PROJECT_IMPORTS:END}*/
3573
4189
  var PessoaJuridica = /** @class */ (function () {
@@ -3577,8 +4193,8 @@
3577
4193
  /*{CA:CLASS_ATTRIBUTES:END}*/
3578
4194
  PessoaJuridica.fromDto = function (pessoaJuridicaDto, originEntity) {
3579
4195
  var model = __assign({}, pessoaJuridicaDto);
3580
- model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
3581
- model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
4196
+ model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
4197
+ model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
3582
4198
  var lookupSeparator = " - ";
3583
4199
  var displayFields = [
3584
4200
  "id",
@@ -3605,8 +4221,8 @@
3605
4221
  };
3606
4222
  PessoaJuridica.toDto = function (pessoaJuridica, originEntity) {
3607
4223
  var dto = __assign({}, pessoaJuridica);
3608
- dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
3609
- dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
4224
+ dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
4225
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
3610
4226
  delete dto.label;
3611
4227
  if (originEntity !== "Pessoa" && dto.pessoa)
3612
4228
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaJuridica");
@@ -3617,7 +4233,7 @@
3617
4233
  /*{CA:FILE_CONTENTS:START}*/
3618
4234
  /*{CA:FILE_CONTENTS:END}*/
3619
4235
 
3620
- var moment$7 = _moment;
4236
+ var moment$8 = _moment;
3621
4237
  /*{CA:PROJECT_IMPORTS:START}*/
3622
4238
  /*{CA:PROJECT_IMPORTS:END}*/
3623
4239
  var Pais = /** @class */ (function () {
@@ -3627,8 +4243,8 @@
3627
4243
  /*{CA:CLASS_ATTRIBUTES:END}*/
3628
4244
  Pais.fromDto = function (paisDto, originEntity) {
3629
4245
  var model = __assign({}, paisDto);
3630
- model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
3631
- model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
4246
+ model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
4247
+ model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
3632
4248
  var lookupSeparator = " - ";
3633
4249
  var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
3634
4250
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -3636,8 +4252,8 @@
3636
4252
  };
3637
4253
  Pais.toDto = function (pais, originEntity) {
3638
4254
  var dto = __assign({}, pais);
3639
- dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
3640
- dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
4255
+ dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
4256
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
3641
4257
  delete dto.label;
3642
4258
  return dto;
3643
4259
  };
@@ -3646,7 +4262,7 @@
3646
4262
  /*{CA:FILE_CONTENTS:START}*/
3647
4263
  /*{CA:FILE_CONTENTS:END}*/
3648
4264
 
3649
- var moment$8 = _moment;
4265
+ var moment$9 = _moment;
3650
4266
  /*{CA:PROJECT_IMPORTS:START}*/
3651
4267
  /*{CA:PROJECT_IMPORTS:END}*/
3652
4268
  var Estado = /** @class */ (function () {
@@ -3656,8 +4272,8 @@
3656
4272
  /*{CA:CLASS_ATTRIBUTES:END}*/
3657
4273
  Estado.fromDto = function (estadoDto, originEntity) {
3658
4274
  var model = __assign({}, estadoDto);
3659
- model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
3660
- model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
4275
+ model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
4276
+ model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
3661
4277
  var lookupSeparator = " - ";
3662
4278
  var displayFields = [
3663
4279
  "id",
@@ -3679,8 +4295,8 @@
3679
4295
  };
3680
4296
  Estado.toDto = function (estado, originEntity) {
3681
4297
  var dto = __assign({}, estado);
3682
- dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
3683
- dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
4298
+ dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
4299
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
3684
4300
  delete dto.label;
3685
4301
  if (originEntity !== "Pais" && dto.pais)
3686
4302
  dto.pais = Pais.toDto(dto.pais, "Estado");
@@ -3691,7 +4307,7 @@
3691
4307
  /*{CA:FILE_CONTENTS:START}*/
3692
4308
  /*{CA:FILE_CONTENTS:END}*/
3693
4309
 
3694
- var moment$9 = _moment;
4310
+ var moment$a = _moment;
3695
4311
  /*{CA:PROJECT_IMPORTS:START}*/
3696
4312
  /*{CA:PROJECT_IMPORTS:END}*/
3697
4313
  var Cidade = /** @class */ (function () {
@@ -3701,8 +4317,8 @@
3701
4317
  /*{CA:CLASS_ATTRIBUTES:END}*/
3702
4318
  Cidade.fromDto = function (cidadeDto, originEntity) {
3703
4319
  var model = __assign({}, cidadeDto);
3704
- model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
3705
- model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
4320
+ model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
4321
+ model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
3706
4322
  var lookupSeparator = " - ";
3707
4323
  var displayFields = [
3708
4324
  "id",
@@ -3723,8 +4339,8 @@
3723
4339
  };
3724
4340
  Cidade.toDto = function (cidade, originEntity) {
3725
4341
  var dto = __assign({}, cidade);
3726
- dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
3727
- dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
4342
+ dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
4343
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
3728
4344
  delete dto.label;
3729
4345
  if (originEntity !== "Estado" && dto.estado)
3730
4346
  dto.estado = Estado.toDto(dto.estado, "Cidade");
@@ -3735,14 +4351,14 @@
3735
4351
  /*{CA:FILE_CONTENTS:START}*/
3736
4352
  /*{CA:FILE_CONTENTS:END}*/
3737
4353
 
3738
- var moment$a = _moment;
4354
+ var moment$b = _moment;
3739
4355
  var PessoaEndereco = /** @class */ (function () {
3740
4356
  function PessoaEndereco() {
3741
4357
  }
3742
4358
  PessoaEndereco.fromDto = function (pessoaEnderecoDto, originEntity) {
3743
4359
  var model = __assign({}, pessoaEnderecoDto);
3744
- model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
3745
- model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
4360
+ model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
4361
+ model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
3746
4362
  var lookupSeparator = " - ";
3747
4363
  var displayFields = [
3748
4364
  "codigo",
@@ -3758,8 +4374,8 @@
3758
4374
  };
3759
4375
  PessoaEndereco.toDto = function (pessoaEndereco, originEntity) {
3760
4376
  var dto = __assign({}, pessoaEndereco);
3761
- dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
3762
- dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
4377
+ dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
4378
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
3763
4379
  delete dto.label;
3764
4380
  if (originEntity !== "Pessoa" && dto.pessoa)
3765
4381
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaEndereco");
@@ -3770,7 +4386,7 @@
3770
4386
  return PessoaEndereco;
3771
4387
  }());
3772
4388
 
3773
- var moment$b = _moment;
4389
+ var moment$c = _moment;
3774
4390
  /*{CA:PROJECT_IMPORTS:START}*/
3775
4391
  /*{CA:PROJECT_IMPORTS:END}*/
3776
4392
  var Filial = /** @class */ (function () {
@@ -3780,8 +4396,8 @@
3780
4396
  /*{CA:CLASS_ATTRIBUTES:END}*/
3781
4397
  Filial.fromDto = function (filialDto, originEntity) {
3782
4398
  var model = __assign({}, filialDto);
3783
- model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
3784
- model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
4399
+ model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
4400
+ model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
3785
4401
  var lookupSeparator = " - ";
3786
4402
  var displayFields = [
3787
4403
  "codigo",
@@ -3799,8 +4415,8 @@
3799
4415
  };
3800
4416
  Filial.toDto = function (filial, originEntity) {
3801
4417
  var dto = __assign({}, filial);
3802
- dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
3803
- dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
4418
+ dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
4419
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
3804
4420
  delete dto.label;
3805
4421
  if (originEntity !== "Empresa" && dto.empresa)
3806
4422
  dto.empresa = Empresa.toDto(dto.empresa, "Filial");
@@ -3815,14 +4431,14 @@
3815
4431
  /*{CA:FILE_CONTENTS:START}*/
3816
4432
  /*{CA:FILE_CONTENTS:END}*/
3817
4433
 
3818
- var moment$c = _moment;
4434
+ var moment$d = _moment;
3819
4435
  var OrdemCompra = /** @class */ (function () {
3820
4436
  function OrdemCompra() {
3821
4437
  }
3822
4438
  OrdemCompra.fromDto = function (ordemCompraDto, originEntity) {
3823
4439
  var model = __assign({}, ordemCompraDto);
3824
- model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
3825
- model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
4440
+ model.createdDate = model.createdDate && moment$d(model.createdDate).toDate();
4441
+ model.lastModifiedDate = model.lastModifiedDate && moment$d(model.lastModifiedDate).toDate();
3826
4442
  var lookupSeparator = " - ";
3827
4443
  var displayFields = [
3828
4444
  "codigo",
@@ -3838,8 +4454,8 @@
3838
4454
  };
3839
4455
  OrdemCompra.toDto = function (ordemCompra, originEntity) {
3840
4456
  var dto = __assign({}, ordemCompra);
3841
- dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
3842
- dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
4457
+ dto.createdDate = dto.createdDate && moment$d(dto.createdDate).format();
4458
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$d(dto.lastModifiedDate).format();
3843
4459
  delete dto.label;
3844
4460
  if (originEntity !== "Empresa" && dto.empresa)
3845
4461
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -3850,7 +4466,7 @@
3850
4466
  return OrdemCompra;
3851
4467
  }());
3852
4468
 
3853
- var moment$d = _moment;
4469
+ var moment$e = _moment;
3854
4470
  var OrdemCompraFormComponent = /** @class */ (function () {
3855
4471
  function OrdemCompraFormComponent(dialogRef, dialogConfig, ordemCompraService, translate, fb, route) {
3856
4472
  this.dialogRef = dialogRef;
@@ -3929,7 +4545,7 @@
3929
4545
  if (filial && filial.empresa && filial.empresa.id) {
3930
4546
  filter.empresaId = filial.empresa.id;
3931
4547
  }
3932
- filter.dataEmissao = filter.dataEmissao && moment$d(filter.dataEmissao).format("YYYY-MM-DD");
4548
+ filter.dataEmissao = filter.dataEmissao && moment$e(filter.dataEmissao).format("YYYY-MM-DD");
3933
4549
  var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
3934
4550
  this.ordemCompraService
3935
4551
  .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: {
@@ -4293,7 +4909,7 @@
4293
4909
  ]),
4294
4910
  ],
4295
4911
  providers: [
4296
- AgendaService,
4912
+ AgendaService$1,
4297
4913
  ],
4298
4914
  declarations: [
4299
4915
  /*{CA:MODULE_DECLARATIONS:START}*/
@@ -6160,13 +6776,13 @@
6160
6776
  DevolucaoChegadaVeiculoOverride = __decorate([
6161
6777
  core.Injectable(),
6162
6778
  __metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
6163
- AgendaService,
6779
+ AgendaService$1,
6164
6780
  DevolucaoService])
6165
6781
  ], DevolucaoChegadaVeiculoOverride);
6166
6782
  return DevolucaoChegadaVeiculoOverride;
6167
6783
  }());
6168
6784
 
6169
- var moment$e = _moment;
6785
+ var moment$f = _moment;
6170
6786
  /*{CA:PROJECT_IMPORTS:START}*/
6171
6787
  /*{CA:PROJECT_IMPORTS:END}*/
6172
6788
  var UnidadeMedida = /** @class */ (function () {
@@ -6176,8 +6792,8 @@
6176
6792
  /*{CA:CLASS_ATTRIBUTES:END}*/
6177
6793
  UnidadeMedida.fromDto = function (unidadeMedidaDto, originEntity) {
6178
6794
  var model = __assign({}, unidadeMedidaDto);
6179
- model.createdDate = model.createdDate && moment$e(model.createdDate).toDate();
6180
- model.lastModifiedDate = model.lastModifiedDate && moment$e(model.lastModifiedDate).toDate();
6795
+ model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
6796
+ model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
6181
6797
  var lookupSeparator = " - ";
6182
6798
  var displayFields = [
6183
6799
  "id",
@@ -6194,8 +6810,8 @@
6194
6810
  };
6195
6811
  UnidadeMedida.toDto = function (unidadeMedida, originEntity) {
6196
6812
  var dto = __assign({}, unidadeMedida);
6197
- dto.createdDate = dto.createdDate && moment$e(dto.createdDate).format();
6198
- dto.lastModifiedDate = dto.lastModifiedDate && moment$e(dto.lastModifiedDate).format();
6813
+ dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
6814
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
6199
6815
  delete dto.label;
6200
6816
  return dto;
6201
6817
  };
@@ -6204,7 +6820,7 @@
6204
6820
  /*{CA:FILE_CONTENTS:START}*/
6205
6821
  /*{CA:FILE_CONTENTS:END}*/
6206
6822
 
6207
- var moment$f = _moment;
6823
+ var moment$g = _moment;
6208
6824
  /*{CA:PROJECT_IMPORTS:START}*/
6209
6825
  /*{CA:PROJECT_IMPORTS:END}*/
6210
6826
  var Royalty = /** @class */ (function () {
@@ -6214,8 +6830,8 @@
6214
6830
  /*{CA:CLASS_ATTRIBUTES:END}*/
6215
6831
  Royalty.fromDto = function (royaltyDto, originEntity) {
6216
6832
  var model = __assign({}, royaltyDto);
6217
- model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
6218
- model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
6833
+ model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
6834
+ model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
6219
6835
  var lookupSeparator = " - ";
6220
6836
  var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
6221
6837
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -6225,8 +6841,8 @@
6225
6841
  };
6226
6842
  Royalty.toDto = function (royalty, originEntity) {
6227
6843
  var dto = __assign({}, royalty);
6228
- dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
6229
- dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
6844
+ dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
6845
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
6230
6846
  delete dto.label;
6231
6847
  if (originEntity !== "Empresa" && dto.empresa)
6232
6848
  dto.empresa = Empresa.toDto(dto.empresa, "Royalty");
@@ -6237,7 +6853,7 @@
6237
6853
  /*{CA:FILE_CONTENTS:START}*/
6238
6854
  /*{CA:FILE_CONTENTS:END}*/
6239
6855
 
6240
- var moment$g = _moment;
6856
+ var moment$h = _moment;
6241
6857
  var FamiliaProduto = /** @class */ (function () {
6242
6858
  function FamiliaProduto() {
6243
6859
  }
@@ -6246,9 +6862,9 @@
6246
6862
  return familiaProdutoDto;
6247
6863
  }
6248
6864
  var model = __assign({}, familiaProdutoDto);
6249
- model.createdDate = model.codigo && moment$g(model.createdDate).toDate();
6250
- model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
6251
- model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
6865
+ model.createdDate = model.codigo && moment$h(model.createdDate).toDate();
6866
+ model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
6867
+ model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
6252
6868
  var lookupSeparator = " - ";
6253
6869
  var displayFields = ["id", "codigo", "descricao", "situacao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
6254
6870
  model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
@@ -6258,8 +6874,8 @@
6258
6874
  };
6259
6875
  FamiliaProduto.toDto = function (familiaProduto, originEntity) {
6260
6876
  var dto = __assign({}, familiaProduto);
6261
- dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
6262
- dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
6877
+ dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
6878
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
6263
6879
  delete dto.label;
6264
6880
  if (originEntity !== "Empresa" && dto.empresa)
6265
6881
  dto.empresa = Empresa.toDto(dto.empresa, "FamiliaProduto");
@@ -6268,7 +6884,7 @@
6268
6884
  return FamiliaProduto;
6269
6885
  }());
6270
6886
 
6271
- var moment$h = _moment;
6887
+ var moment$i = _moment;
6272
6888
  var Produto = /** @class */ (function () {
6273
6889
  function Produto() {
6274
6890
  this.produtoMisto = false;
@@ -6276,8 +6892,8 @@
6276
6892
  }
6277
6893
  Produto.fromDto = function (produtoDto, originEntity) {
6278
6894
  var model = __assign({}, produtoDto);
6279
- model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
6280
- model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
6895
+ model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
6896
+ model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
6281
6897
  var lookupSeparator = " - ";
6282
6898
  var displayFields = [
6283
6899
  "codigo",
@@ -6298,8 +6914,8 @@
6298
6914
  };
6299
6915
  Produto.toDto = function (produto, originEntity) {
6300
6916
  var dto = __assign({}, produto);
6301
- dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
6302
- dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
6917
+ dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
6918
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
6303
6919
  delete dto.label;
6304
6920
  if (originEntity !== "Empresa" && dto.empresa)
6305
6921
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -6316,7 +6932,7 @@
6316
6932
  return Produto;
6317
6933
  }());
6318
6934
 
6319
- var moment$i = _moment;
6935
+ var moment$j = _moment;
6320
6936
  /*{CA:PROJECT_IMPORTS:START}*/
6321
6937
  /*{CA:PROJECT_IMPORTS:END}*/
6322
6938
  var Derivacao = /** @class */ (function () {
@@ -6326,8 +6942,8 @@
6326
6942
  /*{CA:CLASS_ATTRIBUTES:END}*/
6327
6943
  Derivacao.fromDto = function (derivacaoDto, originEntity) {
6328
6944
  var model = __assign({}, derivacaoDto);
6329
- model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
6330
- model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
6945
+ model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
6946
+ model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
6331
6947
  var lookupSeparator = " - ";
6332
6948
  var displayFields = ["codigo", "descricao"];
6333
6949
  model.label = getLookupLabel(model, displayFields, lookupSeparator);
@@ -6339,8 +6955,8 @@
6339
6955
  };
6340
6956
  Derivacao.toDto = function (derivacao, originEntity) {
6341
6957
  var dto = __assign({}, derivacao);
6342
- dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
6343
- dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
6958
+ dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
6959
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
6344
6960
  delete dto.label;
6345
6961
  if (originEntity !== "Empresa" && dto.empresa)
6346
6962
  dto.empresa = Empresa.toDto(dto.empresa, "Derivacao");
@@ -6353,7 +6969,7 @@
6353
6969
  /*{CA:FILE_CONTENTS:START}*/
6354
6970
  /*{CA:FILE_CONTENTS:END}*/
6355
6971
 
6356
- var moment$j = _moment;
6972
+ var moment$k = _moment;
6357
6973
  /*{CA:PROJECT_IMPORTS:START}*/
6358
6974
  /*{CA:PROJECT_IMPORTS:END}*/
6359
6975
  var Transportadora = /** @class */ (function () {
@@ -6363,8 +6979,8 @@
6363
6979
  /*{CA:CLASS_ATTRIBUTES:END}*/
6364
6980
  Transportadora.fromDto = function (transportadoraDto, originEntity) {
6365
6981
  var model = __assign({}, transportadoraDto);
6366
- model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
6367
- model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
6982
+ model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
6983
+ model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
6368
6984
  var lookupSeparator = " - ";
6369
6985
  var displayFields = [
6370
6986
  "codigo", "pessoa.nome", "pessoa.cpfCnpj"
@@ -6378,8 +6994,8 @@
6378
6994
  };
6379
6995
  Transportadora.toDto = function (transportadora, originEntity) {
6380
6996
  var dto = __assign({}, transportadora);
6381
- dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
6382
- dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
6997
+ dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
6998
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
6383
6999
  delete dto.label;
6384
7000
  if (originEntity !== "Pessoa" && dto.pessoa)
6385
7001
  dto.pessoa = Pessoa.toDto(dto.pessoa, "Transportadora");
@@ -6392,7 +7008,7 @@
6392
7008
  /*{CA:FILE_CONTENTS:START}*/
6393
7009
  /*{CA:FILE_CONTENTS:END}*/
6394
7010
 
6395
- var moment$k = _moment;
7011
+ var moment$l = _moment;
6396
7012
  /*{CA:PROJECT_IMPORTS:START}*/
6397
7013
  /*{CA:PROJECT_IMPORTS:END}*/
6398
7014
  var Devolucao = /** @class */ (function () {
@@ -6402,8 +7018,8 @@
6402
7018
  /*{CA:CLASS_ATTRIBUTES:END}*/
6403
7019
  Devolucao.fromDto = function (devolucaoDto, originEntity) {
6404
7020
  var model = __assign({}, devolucaoDto);
6405
- model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
6406
- model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
7021
+ model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
7022
+ model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
6407
7023
  var lookupSeparator = " - ";
6408
7024
  var displayFields = [
6409
7025
  ''
@@ -6427,8 +7043,8 @@
6427
7043
  };
6428
7044
  Devolucao.toDto = function (devolucao, originEntity) {
6429
7045
  var dto = __assign({}, devolucao);
6430
- dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
6431
- dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
7046
+ dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
7047
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
6432
7048
  delete dto.label;
6433
7049
  if (originEntity !== "Pessoa" && dto.fornecedor)
6434
7050
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Devolucao");
@@ -7125,7 +7741,7 @@
7125
7741
  router.ActivatedRoute,
7126
7742
  DevolucaoChegadaVeiculoOverride,
7127
7743
  api.ConfirmationService,
7128
- AgendaService,
7744
+ AgendaService$1,
7129
7745
  ErpProcessService,
7130
7746
  ErpFormConfigService,
7131
7747
  HasChangeService])
@@ -7171,7 +7787,7 @@
7171
7787
 
7172
7788
  /*{CA:PACKAGE_IMPORTS:START}*/
7173
7789
  /*{CA:PACKAGE_IMPORTS:END}*/
7174
- var moment$l = _moment;
7790
+ var moment$m = _moment;
7175
7791
  /*{CA:PROJECT_IMPORTS:START}*/
7176
7792
  /*{CA:PROJECT_IMPORTS:END}*/
7177
7793
  var Expedicao = /** @class */ (function () {
@@ -7181,8 +7797,8 @@
7181
7797
  /*{CA:CLASS_ATTRIBUTES:END}*/
7182
7798
  Expedicao.fromDto = function (expedicaoDto, originEntity) {
7183
7799
  var model = __assign({}, expedicaoDto);
7184
- model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
7185
- model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
7800
+ model.createdDate = model.createdDate && moment$m(model.createdDate).toDate();
7801
+ model.lastModifiedDate = model.lastModifiedDate && moment$m(model.lastModifiedDate).toDate();
7186
7802
  var lookupSeparator = " - ";
7187
7803
  var displayFields = [
7188
7804
  "id",
@@ -7221,8 +7837,8 @@
7221
7837
  };
7222
7838
  Expedicao.toDto = function (expedicao, originEntity) {
7223
7839
  var dto = __assign({}, expedicao);
7224
- dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
7225
- dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
7840
+ dto.createdDate = dto.createdDate && moment$m(dto.createdDate).format();
7841
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$m(dto.lastModifiedDate).format();
7226
7842
  delete dto.label;
7227
7843
  if (originEntity !== "Pessoa" && dto.clienteFaturamento)
7228
7844
  dto.clienteFaturamento = Pessoa.toDto(dto.clienteFaturamento, "Recebimento");
@@ -7239,7 +7855,7 @@
7239
7855
  return Expedicao;
7240
7856
  }());
7241
7857
 
7242
- var moment$m = _moment;
7858
+ var moment$n = _moment;
7243
7859
  var ExpedicaoFormComponent = /** @class */ (function () {
7244
7860
  function ExpedicaoFormComponent(expedicaoService, router, route, messageService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, pessoaService, filialService, transportadoraService, pedidoVendaService, pedidoVendaItemService, agendaService, override, confirmationService, erpProcessService, erpFormConfigService, hasChangeService) {
7245
7861
  this.expedicaoService = expedicaoService;
@@ -7789,11 +8405,11 @@
7789
8405
  if (typeof value == "number")
7790
8406
  return name + " eq " + value;
7791
8407
  else if (type == angularComponents.FieldType.Date)
7792
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8408
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7793
8409
  else if (type == angularComponents.FieldType.Time)
7794
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8410
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7795
8411
  else if (type == angularComponents.FieldType.DateTime)
7796
- return name + " eq '" + moment$m(value).format() + "'";
8412
+ return name + " eq '" + moment$n(value).format() + "'";
7797
8413
  else if (type == angularComponents.FieldType.Enum)
7798
8414
  return name + " eq '" + value + "'";
7799
8415
  else if (type == angularComponents.FieldType.String)
@@ -7845,11 +8461,11 @@
7845
8461
  if (typeof value == "number")
7846
8462
  return name + " eq " + value;
7847
8463
  else if (type == angularComponents.FieldType.Date)
7848
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8464
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7849
8465
  else if (type == angularComponents.FieldType.Time)
7850
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8466
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7851
8467
  else if (type == angularComponents.FieldType.DateTime)
7852
- return name + " eq '" + moment$m(value).format() + "'";
8468
+ return name + " eq '" + moment$n(value).format() + "'";
7853
8469
  else if (type == angularComponents.FieldType.Enum)
7854
8470
  return name + " eq '" + value + "'";
7855
8471
  else if (type == angularComponents.FieldType.String)
@@ -7976,11 +8592,11 @@
7976
8592
  if (typeof value == "number")
7977
8593
  return name + " eq " + value;
7978
8594
  else if (type == angularComponents.FieldType.Date)
7979
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8595
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
7980
8596
  else if (type == angularComponents.FieldType.Time)
7981
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8597
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
7982
8598
  else if (type == angularComponents.FieldType.DateTime)
7983
- return name + " eq '" + moment$m(value).format() + "'";
8599
+ return name + " eq '" + moment$n(value).format() + "'";
7984
8600
  else if (type == angularComponents.FieldType.String)
7985
8601
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
7986
8602
  else
@@ -8169,11 +8785,11 @@
8169
8785
  if (typeof value == "number")
8170
8786
  return name + " eq " + value;
8171
8787
  else if (type == angularComponents.FieldType.Date)
8172
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8788
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
8173
8789
  else if (type == angularComponents.FieldType.Time)
8174
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8790
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
8175
8791
  else if (type == angularComponents.FieldType.DateTime)
8176
- return name + " eq '" + moment$m(value).format() + "'";
8792
+ return name + " eq '" + moment$n(value).format() + "'";
8177
8793
  else if (type == angularComponents.FieldType.String)
8178
8794
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
8179
8795
  else
@@ -8215,11 +8831,11 @@
8215
8831
  if (typeof value == "number")
8216
8832
  return name + " eq " + value;
8217
8833
  else if (type == angularComponents.FieldType.Date)
8218
- return name + " eq '" + moment$m(value).format("YYYY-MM-DD") + "'";
8834
+ return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
8219
8835
  else if (type == angularComponents.FieldType.Time)
8220
- return name + " eq '" + moment$m(value).format("HH:mm:ss") + "'";
8836
+ return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
8221
8837
  else if (type == angularComponents.FieldType.DateTime)
8222
- return name + " eq '" + moment$m(value).format() + "'";
8838
+ return name + " eq '" + moment$n(value).format() + "'";
8223
8839
  else if (type == angularComponents.FieldType.Enum)
8224
8840
  return name + " eq '" + value + "'";
8225
8841
  else if (type == angularComponents.FieldType.String)
@@ -8706,7 +9322,7 @@
8706
9322
  TransportadoraService,
8707
9323
  PedidoVendaService,
8708
9324
  PedidoVendaItemService,
8709
- AgendaService,
9325
+ AgendaService$1,
8710
9326
  ExpedicaoChegadaVeiculoOverride,
8711
9327
  api.ConfirmationService,
8712
9328
  ErpProcessService,
@@ -8987,7 +9603,7 @@
8987
9603
  ProcessoAvulsoChegadaVeiculoOverride = __decorate([
8988
9604
  core.Injectable(),
8989
9605
  __metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
8990
- AgendaService,
9606
+ AgendaService$1,
8991
9607
  ProcessoAvulsoService])
8992
9608
  ], ProcessoAvulsoChegadaVeiculoOverride);
8993
9609
  return ProcessoAvulsoChegadaVeiculoOverride;
@@ -9293,7 +9909,7 @@
9293
9909
  ProcessoAvulsoChegadaVeiculoOverride,
9294
9910
  core$1.TranslateService,
9295
9911
  api.ConfirmationService,
9296
- AgendaService,
9912
+ AgendaService$1,
9297
9913
  ErpProcessService,
9298
9914
  ErpFormConfigService,
9299
9915
  HasChangeService])
@@ -9336,7 +9952,7 @@
9336
9952
  return ProcessoAvulsoInfoComponent;
9337
9953
  }());
9338
9954
 
9339
- var moment$n = _moment;
9955
+ var moment$o = _moment;
9340
9956
  /*{CA:PROJECT_IMPORTS:START}*/
9341
9957
  /*{CA:PROJECT_IMPORTS:END}*/
9342
9958
  var Safra = /** @class */ (function () {
@@ -9346,10 +9962,10 @@
9346
9962
  /*{CA:CLASS_ATTRIBUTES:END}*/
9347
9963
  Safra.fromDto = function (safraDto, originEntity) {
9348
9964
  var model = __assign({}, safraDto);
9349
- model.competenciaInicial = model.competenciaInicial && moment$n(model.competenciaInicial).toDate();
9350
- model.competenciaFinal = model.competenciaFinal && moment$n(model.competenciaFinal).toDate();
9351
- model.createdDate = model.createdDate && moment$n(model.createdDate).toDate();
9352
- model.lastModifiedDate = model.lastModifiedDate && moment$n(model.lastModifiedDate).toDate();
9965
+ model.competenciaInicial = model.competenciaInicial && moment$o(model.competenciaInicial).toDate();
9966
+ model.competenciaFinal = model.competenciaFinal && moment$o(model.competenciaFinal).toDate();
9967
+ model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
9968
+ model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
9353
9969
  var lookupSeparator = " - ";
9354
9970
  var displayFields = [
9355
9971
  "codigo",
@@ -9362,10 +9978,10 @@
9362
9978
  };
9363
9979
  Safra.toDto = function (safra, originEntity) {
9364
9980
  var dto = __assign({}, safra);
9365
- dto.competenciaInicial = dto.competenciaInicial && moment$n(dto.competenciaInicial).format("YYYY-MM-DD");
9366
- dto.competenciaFinal = dto.competenciaFinal && moment$n(dto.competenciaFinal).format("YYYY-MM-DD");
9367
- dto.createdDate = dto.createdDate && moment$n(dto.createdDate).format();
9368
- dto.lastModifiedDate = dto.lastModifiedDate && moment$n(dto.lastModifiedDate).format();
9981
+ dto.competenciaInicial = dto.competenciaInicial && moment$o(dto.competenciaInicial).format("YYYY-MM-DD");
9982
+ dto.competenciaFinal = dto.competenciaFinal && moment$o(dto.competenciaFinal).format("YYYY-MM-DD");
9983
+ dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
9984
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
9369
9985
  delete dto.label;
9370
9986
  if (originEntity !== "Empresa" && dto.empresa)
9371
9987
  dto.empresa = Empresa.toDto(dto.empresa, "Safra");
@@ -9378,7 +9994,7 @@
9378
9994
 
9379
9995
  /*{CA:PACKAGE_IMPORTS:START}*/
9380
9996
  /*{CA:PACKAGE_IMPORTS:END}*/
9381
- var moment$o = _moment;
9997
+ var moment$p = _moment;
9382
9998
  /*{CA:PROJECT_IMPORTS:START}*/
9383
9999
  /*{CA:PROJECT_IMPORTS:END}*/
9384
10000
  var RecebimentoOrdemCompra = /** @class */ (function () {
@@ -9388,8 +10004,8 @@
9388
10004
  /*{CA:CLASS_ATTRIBUTES:END}*/
9389
10005
  RecebimentoOrdemCompra.fromDto = function (recebimentoOrdemCompraDto, originEntity) {
9390
10006
  var model = __assign({}, recebimentoOrdemCompraDto);
9391
- model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
9392
- model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
10007
+ model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
10008
+ model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
9393
10009
  var lookupSeparator = " - ";
9394
10010
  var displayFields = [
9395
10011
  ''
@@ -9418,8 +10034,8 @@
9418
10034
  };
9419
10035
  RecebimentoOrdemCompra.toDto = function (recebimentoOrdemCompra, originEntity) {
9420
10036
  var dto = __assign({}, recebimentoOrdemCompra);
9421
- dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
9422
- dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
10037
+ dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
10038
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
9423
10039
  delete dto.label;
9424
10040
  if (originEntity !== "Agenda" && dto.agenda)
9425
10041
  dto.agenda = Agenda.toDto(dto.agenda, "RecebimentoOrdemCompra");
@@ -9482,7 +10098,7 @@
9482
10098
  RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
9483
10099
  core.Injectable(),
9484
10100
  __metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
9485
- AgendaService,
10101
+ AgendaService$1,
9486
10102
  RecebimentoOrdemCompraService])
9487
10103
  ], RecebimentoOrdemCompraChegadaVeiculoOverride);
9488
10104
  return RecebimentoOrdemCompraChegadaVeiculoOverride;
@@ -10663,7 +11279,7 @@
10663
11279
  NotaValidatorService,
10664
11280
  api.ConfirmationService,
10665
11281
  api.DialogService,
10666
- AgendaService,
11282
+ AgendaService$1,
10667
11283
  ErpProcessService,
10668
11284
  ErpFormConfigService,
10669
11285
  VerificaNotafiscal,
@@ -10710,7 +11326,7 @@
10710
11326
  return RecebimentoOrdemCompraInfoComponent;
10711
11327
  }());
10712
11328
 
10713
- var moment$p = _moment;
11329
+ var moment$q = _moment;
10714
11330
  /*{CA:PROJECT_IMPORTS:START}*/
10715
11331
  /*{CA:PROJECT_IMPORTS:END}*/
10716
11332
  var ContratoCompra = /** @class */ (function () {
@@ -10720,11 +11336,11 @@
10720
11336
  /*{CA:CLASS_ATTRIBUTES:END}*/
10721
11337
  ContratoCompra.fromDto = function (contratoCompraDto, originEntity) {
10722
11338
  var model = __assign({}, contratoCompraDto);
10723
- model.dataEmissao = model.dataEmissao && moment$p(model.dataEmissao).toDate();
10724
- model.dataInicioVigencia = model.dataInicioVigencia && moment$p(model.dataInicioVigencia).toDate();
10725
- model.dataFimVigencia = model.dataFimVigencia && moment$p(model.dataFimVigencia).toDate();
10726
- model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
10727
- model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
11339
+ model.dataEmissao = model.dataEmissao && moment$q(model.dataEmissao).toDate();
11340
+ model.dataInicioVigencia = model.dataInicioVigencia && moment$q(model.dataInicioVigencia).toDate();
11341
+ model.dataFimVigencia = model.dataFimVigencia && moment$q(model.dataFimVigencia).toDate();
11342
+ model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
11343
+ model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
10728
11344
  model.label = "N\u00FAmero: " + model.numero + ", Filial: " + model.filial.codigo;
10729
11345
  if (originEntity !== "Empresa" && model.empresa)
10730
11346
  model.empresa = Empresa.fromDto(model.empresa, "ContratoCompra");
@@ -10740,11 +11356,11 @@
10740
11356
  };
10741
11357
  ContratoCompra.toDto = function (contratoCompra, originEntity) {
10742
11358
  var dto = __assign({}, contratoCompra);
10743
- dto.dataEmissao = dto.dataEmissao && moment$p(dto.dataEmissao).format("YYYY-MM-DD");
10744
- dto.dataInicioVigencia = dto.dataInicioVigencia && moment$p(dto.dataInicioVigencia).format("YYYY-MM-DD");
10745
- dto.dataFimVigencia = dto.dataFimVigencia && moment$p(dto.dataFimVigencia).format("YYYY-MM-DD");
10746
- dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
10747
- dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
11359
+ dto.dataEmissao = dto.dataEmissao && moment$q(dto.dataEmissao).format("YYYY-MM-DD");
11360
+ dto.dataInicioVigencia = dto.dataInicioVigencia && moment$q(dto.dataInicioVigencia).format("YYYY-MM-DD");
11361
+ dto.dataFimVigencia = dto.dataFimVigencia && moment$q(dto.dataFimVigencia).format("YYYY-MM-DD");
11362
+ dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
11363
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
10748
11364
  delete dto.label;
10749
11365
  if (originEntity !== "Empresa" && dto.empresa)
10750
11366
  dto.empresa = Empresa.toDto(dto.empresa, "ContratoCompra");
@@ -10765,7 +11381,7 @@
10765
11381
  /*{CA:FILE_CONTENTS:START}*/
10766
11382
  /*{CA:FILE_CONTENTS:END}*/
10767
11383
 
10768
- var moment$q = _moment;
11384
+ var moment$r = _moment;
10769
11385
  /*{CA:PROJECT_IMPORTS:START}*/
10770
11386
  /*{CA:PROJECT_IMPORTS:END}*/
10771
11387
  var ContratoCompraItem = /** @class */ (function () {
@@ -10776,9 +11392,9 @@
10776
11392
  ContratoCompraItem.fromDto = function (contratoCompraItemDto, originEntity) {
10777
11393
  var model = __assign({}, contratoCompraItemDto);
10778
11394
  model.sku = model.sku || {};
10779
- model.dataCompetencia = model.dataCompetencia && moment$q(model.dataCompetencia).toDate();
10780
- model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
10781
- model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
11395
+ model.dataCompetencia = model.dataCompetencia && moment$r(model.dataCompetencia).toDate();
11396
+ model.createdDate = model.createdDate && moment$r(model.createdDate).toDate();
11397
+ model.lastModifiedDate = model.lastModifiedDate && moment$r(model.lastModifiedDate).toDate();
10782
11398
  model.label = model.sequencia + " - " + model.sku.descricao + " - " + model.sku.codigo;
10783
11399
  if (originEntity !== "ContratoCompra" && model.contrato)
10784
11400
  model.contrato = ContratoCompra.fromDto(model.contrato, "ContratoCompraItem");
@@ -10788,9 +11404,9 @@
10788
11404
  };
10789
11405
  ContratoCompraItem.toDto = function (contratoCompraItem, originEntity) {
10790
11406
  var dto = __assign({}, contratoCompraItem);
10791
- dto.dataCompetencia = dto.dataCompetencia && moment$q(dto.dataCompetencia).format("YYYY-MM-DD");
10792
- dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
10793
- dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
11407
+ dto.dataCompetencia = dto.dataCompetencia && moment$r(dto.dataCompetencia).format("YYYY-MM-DD");
11408
+ dto.createdDate = dto.createdDate && moment$r(dto.createdDate).format();
11409
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$r(dto.lastModifiedDate).format();
10794
11410
  delete dto.label;
10795
11411
  if (originEntity !== "ContratoCompra" && dto.contrato)
10796
11412
  dto.contrato = ContratoCompra.toDto(dto.contrato, "ContratoCompraItem");
@@ -10803,7 +11419,7 @@
10803
11419
  /*{CA:FILE_CONTENTS:START}*/
10804
11420
  /*{CA:FILE_CONTENTS:END}*/
10805
11421
 
10806
- var moment$r = _moment;
11422
+ var moment$s = _moment;
10807
11423
  var ContratoFormComponent = /** @class */ (function () {
10808
11424
  function ContratoFormComponent(dialogRef, dialogConfig, contratoCompraService, contratoCompraItemService, translate, fb, route) {
10809
11425
  this.dialogRef = dialogRef;
@@ -10897,7 +11513,7 @@
10897
11513
  if (filial && filial.empresa && filial.empresa.id) {
10898
11514
  filter.empresaId = filial.empresa.id;
10899
11515
  }
10900
- filter.dataEmissao = filter.dataEmissao && moment$r(filter.dataEmissao).format("YYYY-MM-DD");
11516
+ filter.dataEmissao = filter.dataEmissao && moment$s(filter.dataEmissao).format("YYYY-MM-DD");
10901
11517
  var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
10902
11518
  this.contratoCompraService
10903
11519
  .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: {
@@ -11126,14 +11742,14 @@
11126
11742
  return Transgenia;
11127
11743
  }());
11128
11744
 
11129
- var moment$s = _moment;
11745
+ var moment$t = _moment;
11130
11746
  var RecebimentoContrato = /** @class */ (function () {
11131
11747
  function RecebimentoContrato() {
11132
11748
  }
11133
11749
  RecebimentoContrato.fromDto = function (recebimentoDto, originEntity) {
11134
11750
  var model = __assign({}, recebimentoDto);
11135
- model.createdDate = model.createdDate && moment$s(model.createdDate).toDate();
11136
- model.lastModifiedDate = model.lastModifiedDate && moment$s(model.lastModifiedDate).toDate();
11751
+ model.createdDate = model.createdDate && moment$t(model.createdDate).toDate();
11752
+ model.lastModifiedDate = model.lastModifiedDate && moment$t(model.lastModifiedDate).toDate();
11137
11753
  var lookupSeparator = " - ";
11138
11754
  var displayFields = [
11139
11755
  "id",
@@ -11182,8 +11798,8 @@
11182
11798
  };
11183
11799
  RecebimentoContrato.toDto = function (recebimento, originEntity) {
11184
11800
  var dto = __assign({}, recebimento);
11185
- dto.createdDate = dto.createdDate && moment$s(dto.createdDate).format();
11186
- dto.lastModifiedDate = dto.lastModifiedDate && moment$s(dto.lastModifiedDate).format();
11801
+ dto.createdDate = dto.createdDate && moment$t(dto.createdDate).format();
11802
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$t(dto.lastModifiedDate).format();
11187
11803
  delete dto.label;
11188
11804
  if (originEntity !== "Pessoa" && dto.fornecedor)
11189
11805
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Recebimento");
@@ -11217,7 +11833,7 @@
11217
11833
  Situacao["ATIVO"] = "ATIVO";
11218
11834
  })(Situacao || (Situacao = {}));
11219
11835
 
11220
- var moment$t = _moment;
11836
+ var moment$u = _moment;
11221
11837
  var RecebimentoFormComponent = /** @class */ (function () {
11222
11838
  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) {
11223
11839
  var _this = this;
@@ -11899,11 +12515,11 @@
11899
12515
  if (typeof value == "number")
11900
12516
  return name + " eq " + value;
11901
12517
  else if (type == angularComponents.FieldType.Date)
11902
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12518
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11903
12519
  else if (type == angularComponents.FieldType.Time)
11904
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12520
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11905
12521
  else if (type == angularComponents.FieldType.DateTime)
11906
- return name + " eq '" + moment$t(value).format() + "'";
12522
+ return name + " eq '" + moment$u(value).format() + "'";
11907
12523
  else if (type == angularComponents.FieldType.String)
11908
12524
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
11909
12525
  else
@@ -11942,11 +12558,11 @@
11942
12558
  if (typeof value == "number")
11943
12559
  return name + " eq " + value;
11944
12560
  else if (type == angularComponents.FieldType.Date)
11945
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12561
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11946
12562
  else if (type == angularComponents.FieldType.Time)
11947
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12563
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11948
12564
  else if (type == angularComponents.FieldType.DateTime)
11949
- return name + " eq '" + moment$t(value).format() + "'";
12565
+ return name + " eq '" + moment$u(value).format() + "'";
11950
12566
  else if (type == angularComponents.FieldType.Enum)
11951
12567
  return name + " eq '" + value + "'";
11952
12568
  else if (type == angularComponents.FieldType.String)
@@ -11988,11 +12604,11 @@
11988
12604
  if (typeof value == "number")
11989
12605
  return name + " eq " + value;
11990
12606
  else if (type == angularComponents.FieldType.Date)
11991
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12607
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
11992
12608
  else if (type == angularComponents.FieldType.Time)
11993
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12609
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
11994
12610
  else if (type == angularComponents.FieldType.DateTime)
11995
- return name + " eq '" + moment$t(value).format() + "'";
12611
+ return name + " eq '" + moment$u(value).format() + "'";
11996
12612
  else if (type == angularComponents.FieldType.String)
11997
12613
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
11998
12614
  else
@@ -12032,11 +12648,11 @@
12032
12648
  if (typeof value == "number")
12033
12649
  return name + " eq " + value;
12034
12650
  else if (type == angularComponents.FieldType.Date)
12035
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12651
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12036
12652
  else if (type == angularComponents.FieldType.Time)
12037
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12653
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12038
12654
  else if (type == angularComponents.FieldType.DateTime)
12039
- return name + " eq '" + moment$t(value).format() + "'";
12655
+ return name + " eq '" + moment$u(value).format() + "'";
12040
12656
  else if (type == angularComponents.FieldType.Enum)
12041
12657
  return name + " eq '" + value + "'";
12042
12658
  else if (type == angularComponents.FieldType.String)
@@ -12133,11 +12749,11 @@
12133
12749
  if (typeof value == "number")
12134
12750
  return name + " eq " + value;
12135
12751
  else if (type == angularComponents.FieldType.Date)
12136
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12752
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12137
12753
  else if (type == angularComponents.FieldType.Time)
12138
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12754
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12139
12755
  else if (type == angularComponents.FieldType.DateTime)
12140
- return name + " eq '" + moment$t(value).format() + "'";
12756
+ return name + " eq '" + moment$u(value).format() + "'";
12141
12757
  else if (type == angularComponents.FieldType.String)
12142
12758
  return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
12143
12759
  else
@@ -12175,11 +12791,11 @@
12175
12791
  if (typeof value == "number")
12176
12792
  return name + " eq " + value;
12177
12793
  else if (type == angularComponents.FieldType.Date)
12178
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12794
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12179
12795
  else if (type == angularComponents.FieldType.Time)
12180
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12796
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12181
12797
  else if (type == angularComponents.FieldType.DateTime)
12182
- return name + " eq '" + moment$t(value).format() + "'";
12798
+ return name + " eq '" + moment$u(value).format() + "'";
12183
12799
  else if (type == angularComponents.FieldType.Enum)
12184
12800
  return name + " eq '" + value + "'";
12185
12801
  else if (type == angularComponents.FieldType.String)
@@ -12228,11 +12844,11 @@
12228
12844
  if (typeof value == "number")
12229
12845
  return name + " eq " + value;
12230
12846
  else if (type == angularComponents.FieldType.Date)
12231
- return name + " eq '" + moment$t(value).format("YYYY-MM-DD") + "'";
12847
+ return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
12232
12848
  else if (type == angularComponents.FieldType.Time)
12233
- return name + " eq '" + moment$t(value).format("HH:mm:ss") + "'";
12849
+ return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
12234
12850
  else if (type == angularComponents.FieldType.DateTime)
12235
- return name + " eq '" + moment$t(value).format() + "'";
12851
+ return name + " eq '" + moment$u(value).format() + "'";
12236
12852
  else if (type == angularComponents.FieldType.Enum)
12237
12853
  return name + " eq '" + value + "'";
12238
12854
  else if (type == angularComponents.FieldType.String)
@@ -13010,7 +13626,7 @@
13010
13626
  NotaValidatorService,
13011
13627
  TransgeniaService,
13012
13628
  api.DialogService,
13013
- AgendaService,
13629
+ AgendaService$1,
13014
13630
  ErpProcessService,
13015
13631
  ErpFormConfigService,
13016
13632
  VerificaNotafiscal,
@@ -13175,7 +13791,7 @@
13175
13791
  }());
13176
13792
 
13177
13793
  exports.AgendaModule = AgendaModule;
13178
- exports.AgendaService = AgendaService;
13794
+ exports.AgendaService = AgendaService$1;
13179
13795
  exports.BalancaModule = BalancaModule;
13180
13796
  exports.BalancasService = BalancasService;
13181
13797
  exports.CamerasModule = CamerasModule;
@@ -13215,7 +13831,10 @@
13215
13831
  exports.FormDescritor = FormDescritor;
13216
13832
  exports.FormSamComponent = FormSamComponent;
13217
13833
  exports.FormSamDescritor = FormSamDescritor;
13834
+ exports.FormWmsComponent = FormWmsComponent;
13835
+ exports.FormWmsDescritor = FormWmsDescritor;
13218
13836
  exports.HasChangeService = HasChangeService;
13837
+ exports.INFORMACAOES_ADICIONAIS_HEADER = INFORMACAOES_ADICIONAIS_HEADER;
13219
13838
  exports.InfoComponent = InfoComponent;
13220
13839
  exports.InfoDescritor = InfoDescritor;
13221
13840
  exports.IntegrationWebSocket = IntegrationWebSocket;
@@ -13262,42 +13881,52 @@
13262
13881
  exports.VisitorListService = VisitorListService;
13263
13882
  exports.VisualizarBalancaComponent = VisualizarBalancaComponent;
13264
13883
  exports.VisualizarBalancaDescritor = VisualizarBalancaDescritor;
13884
+ exports.WmsModule = WmsModule;
13265
13885
  exports.highlightLanguages = highlightLanguages;
13266
13886
  exports.ɵa = Service;
13267
13887
  exports.ɵb = CustomStompConfig;
13268
- exports.ɵba = VerificaNotafiscal;
13269
- exports.ɵbb = BuildFormField;
13270
- exports.ɵbc = ExpedicaoFormComponent;
13271
- exports.ɵbd = ExpedicaoInfoComponent;
13272
- exports.ɵbe = RecebimentoInfoComponent;
13273
- exports.ɵbf = DevolucaoFormComponent;
13274
- exports.ɵbg = DevolucaoService;
13275
- exports.ɵbh = DevolucaoChegadaVeiculoOverride;
13276
- exports.ɵbi = RecebimentoOrdemCompraFormComponent;
13277
- exports.ɵbj = OrdemCompraService;
13278
- exports.ɵbk = RecebimentoOrdemCompraService;
13279
- exports.ɵbl = RecebimentoOrdemCompraChegadaVeiculoOverride;
13280
- exports.ɵbm = RecebimentoOrdemCompraInfoComponent;
13281
- exports.ɵbn = DevolucaoInfoComponent;
13282
- exports.ɵbo = ContratoFormComponent;
13283
- exports.ɵbp = OrdemCompraFormComponent;
13284
- exports.ɵbq = ProcessoAvulsoFormComponent;
13285
- exports.ɵbr = ProcessoAvulsoService;
13286
- exports.ɵbs = ProcessoAvulsoChegadaVeiculoOverride;
13287
- exports.ɵbt = ProcessoAvulsoInfoComponent;
13288
- exports.ɵbu = LogIntegracaoDescritor;
13289
- exports.ɵbv = LogIntegracaoComponent;
13290
- exports.ɵbw = LogIntegracaoService;
13291
- exports.ɵbx = DerivacaoModule;
13292
- exports.ɵby = DevolucaoModule;
13293
- exports.ɵbz = OrdemCompraModule;
13888
+ exports.ɵba = EntityService$2;
13889
+ exports.ɵbb = EntityService$1;
13890
+ exports.ɵbc = InsertKeyModule;
13891
+ exports.ɵbd = InsertKeyComponent;
13892
+ exports.ɵbe = IntegrationService;
13893
+ exports.ɵbf = RecebimentoFormComponent;
13894
+ exports.ɵbg = DerivacaoService;
13895
+ exports.ɵbh = NotaValidatorService;
13896
+ exports.ɵbi = TransgeniaService;
13897
+ exports.ɵbj = VerificaNotafiscal;
13898
+ exports.ɵbk = BuildFormField;
13899
+ exports.ɵbl = ExpedicaoFormComponent;
13900
+ exports.ɵbm = ExpedicaoInfoComponent;
13901
+ exports.ɵbn = RecebimentoInfoComponent;
13902
+ exports.ɵbo = DevolucaoFormComponent;
13903
+ exports.ɵbp = DevolucaoService;
13904
+ exports.ɵbq = DevolucaoChegadaVeiculoOverride;
13905
+ exports.ɵbr = RecebimentoOrdemCompraFormComponent;
13906
+ exports.ɵbs = OrdemCompraService;
13907
+ exports.ɵbt = RecebimentoOrdemCompraService;
13908
+ exports.ɵbu = RecebimentoOrdemCompraChegadaVeiculoOverride;
13909
+ exports.ɵbv = RecebimentoOrdemCompraInfoComponent;
13910
+ exports.ɵbw = DevolucaoInfoComponent;
13911
+ exports.ɵbx = ContratoFormComponent;
13912
+ exports.ɵby = OrdemCompraFormComponent;
13913
+ exports.ɵbz = ProcessoAvulsoFormComponent;
13294
13914
  exports.ɵc = ViewImageComponent;
13295
- exports.ɵca = RecebimentoOrdemCompraModule;
13296
- exports.ɵcb = TransgeniaModule;
13297
- exports.ɵcc = ProcessoAvulsoModule;
13298
- exports.ɵcd = LogIntegracaoModule;
13299
- exports.ɵce = NotaFormModule;
13300
- exports.ɵcf = NotaFormComponent;
13915
+ exports.ɵca = ProcessoAvulsoService;
13916
+ exports.ɵcb = ProcessoAvulsoChegadaVeiculoOverride;
13917
+ exports.ɵcc = ProcessoAvulsoInfoComponent;
13918
+ exports.ɵcd = LogIntegracaoDescritor;
13919
+ exports.ɵce = LogIntegracaoComponent;
13920
+ exports.ɵcf = LogIntegracaoService;
13921
+ exports.ɵcg = DerivacaoModule;
13922
+ exports.ɵch = DevolucaoModule;
13923
+ exports.ɵci = OrdemCompraModule;
13924
+ exports.ɵcj = RecebimentoOrdemCompraModule;
13925
+ exports.ɵck = TransgeniaModule;
13926
+ exports.ɵcl = ProcessoAvulsoModule;
13927
+ exports.ɵcm = LogIntegracaoModule;
13928
+ exports.ɵcn = NotaFormModule;
13929
+ exports.ɵco = NotaFormComponent;
13301
13930
  exports.ɵd = LogDescritor;
13302
13931
  exports.ɵe = LogsComponent;
13303
13932
  exports.ɵf = PortariasService;
@@ -13315,12 +13944,12 @@
13315
13944
  exports.ɵr = VisitanteFormComponent;
13316
13945
  exports.ɵs = CredencialFormComponent;
13317
13946
  exports.ɵt = FocusService;
13318
- exports.ɵu = EntityService$1;
13319
- exports.ɵv = IntegrationService;
13320
- exports.ɵw = RecebimentoFormComponent;
13321
- exports.ɵx = DerivacaoService;
13322
- exports.ɵy = NotaValidatorService;
13323
- exports.ɵz = TransgeniaService;
13947
+ exports.ɵu = DocumentGridModule;
13948
+ exports.ɵv = DocumentGridComponent;
13949
+ exports.ɵw = DocumentService;
13950
+ exports.ɵx = RegisterDocumentModule;
13951
+ exports.ɵy = RegisterDocumentComponent;
13952
+ exports.ɵz = AgendaService;
13324
13953
 
13325
13954
  Object.defineProperty(exports, '__esModule', { value: true });
13326
13955