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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/bundles/seniorsistemas-yms-integration.umd.js +858 -229
  2. package/bundles/seniorsistemas-yms-integration.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-yms-integration.umd.min.js +1 -1
  4. package/bundles/seniorsistemas-yms-integration.umd.min.js.map +1 -1
  5. package/esm2015/index.js +4 -1
  6. package/esm2015/seniorsistemas-yms-integration.js +47 -38
  7. package/esm2015/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
  8. package/esm2015/src/wms/components/document-grid/document-grid.component.js +163 -0
  9. package/esm2015/src/wms/components/document-grid/document-grid.module.js +35 -0
  10. package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +75 -0
  11. package/esm2015/src/wms/components/document-grid/insert-key/insert-key.module.js +26 -0
  12. package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +107 -0
  13. package/esm2015/src/wms/components/document-grid/register-document/register-document.module.js +32 -0
  14. package/esm2015/src/wms/entities/agenda/agenda.service.js +22 -0
  15. package/esm2015/src/wms/entities/document/document-dto.js +1 -0
  16. package/esm2015/src/wms/entities/document/document.js +39 -0
  17. package/esm2015/src/wms/entities/document/document.service.js +21 -0
  18. package/esm2015/src/wms/entities/document/find-documents-input.js +1 -0
  19. package/esm2015/src/wms/entities/entity-service.js +4 -0
  20. package/esm2015/src/wms/entities/wms-system/wms-system.js +9 -0
  21. package/esm2015/src/wms/form/form-wms.component.js +60 -0
  22. package/esm2015/src/wms/wms.module.js +68 -0
  23. package/esm5/index.js +4 -1
  24. package/esm5/seniorsistemas-yms-integration.js +47 -38
  25. package/esm5/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
  26. package/esm5/src/wms/components/document-grid/document-grid.component.js +168 -0
  27. package/esm5/src/wms/components/document-grid/document-grid.module.js +38 -0
  28. package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +77 -0
  29. package/esm5/src/wms/components/document-grid/insert-key/insert-key.module.js +29 -0
  30. package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +109 -0
  31. package/esm5/src/wms/components/document-grid/register-document/register-document.module.js +35 -0
  32. package/esm5/src/wms/entities/agenda/agenda.service.js +25 -0
  33. package/esm5/src/wms/entities/document/document-dto.js +1 -0
  34. package/esm5/src/wms/entities/document/document.js +44 -0
  35. package/esm5/src/wms/entities/document/document.service.js +24 -0
  36. package/esm5/src/wms/entities/document/find-documents-input.js +1 -0
  37. package/esm5/src/wms/entities/entity-service.js +11 -0
  38. package/esm5/src/wms/entities/wms-system/wms-system.js +9 -0
  39. package/esm5/src/wms/form/form-wms.component.js +63 -0
  40. package/esm5/src/wms/wms.module.js +69 -0
  41. package/fesm2015/seniorsistemas-yms-integration.js +766 -185
  42. package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
  43. package/fesm5/seniorsistemas-yms-integration.js +799 -182
  44. package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
  45. package/index.d.ts +2 -0
  46. package/package.json +1 -1
  47. package/seniorsistemas-yms-integration.d.ts +46 -37
  48. package/seniorsistemas-yms-integration.metadata.json +1 -1
  49. package/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.d.ts +1 -0
  50. package/src/wms/components/document-grid/document-grid.component.d.ts +43 -0
  51. package/src/wms/components/document-grid/document-grid.module.d.ts +2 -0
  52. package/src/wms/components/document-grid/insert-key/insert-key.component.d.ts +22 -0
  53. package/src/wms/components/document-grid/insert-key/insert-key.module.d.ts +2 -0
  54. package/src/wms/components/document-grid/register-document/register-document.component.d.ts +28 -0
  55. package/src/wms/components/document-grid/register-document/register-document.module.d.ts +2 -0
  56. package/src/wms/entities/agenda/agenda.service.d.ts +9 -0
  57. package/src/wms/entities/document/document-dto.d.ts +16 -0
  58. package/src/wms/entities/document/document.d.ts +20 -0
  59. package/src/wms/entities/document/document.service.d.ts +11 -0
  60. package/src/wms/entities/document/find-documents-input.d.ts +7 -0
  61. package/src/wms/entities/entity-service.d.ts +3 -0
  62. package/src/wms/entities/wms-system/wms-system.d.ts +7 -0
  63. package/src/wms/form/form-wms.component.d.ts +18 -0
  64. package/src/wms/wms.module.d.ts +4 -0
@@ -2,9 +2,9 @@ import { Subject, throwError, BehaviorSubject, empty, ReplaySubject, NEVER, of,
2
2
  import { takeUntil, catchError, finalize, map, filter, mergeMap, tap, concatMap, switchMap, debounceTime } from 'rxjs/operators';
3
3
  import { __decorate, __metadata, __param } from 'tslib';
4
4
  import { CommonModule } from '@angular/common';
5
- import { Injectable, Input, Component, NgModule, Output, defineInjectable, inject, EventEmitter, InjectionToken, Inject, ViewChild, TemplateRef } from '@angular/core';
5
+ import { Injectable, Input, Component, NgModule, Output, defineInjectable, inject, EventEmitter, ViewChild, TemplateRef, InjectionToken, Inject } from '@angular/core';
6
6
  import { TranslateService, TranslateModule } from '@ngx-translate/core';
7
- import { ButtonModule, LoadingStateModule, FieldType, FormField, CustomFieldsModule, ControlErrorsModule, EmptyStateModule, DynamicFormModule, TokenListModule, NumberInputModule, LocaleModule } from '@seniorsistemas/angular-components';
7
+ import { ButtonModule, LoadingStateModule, FieldType, FormField, CustomFieldsModule, ControlErrorsModule, EmptyStateModule, DynamicFormModule, TokenListModule, NumberInputModule, LocaleModule, SidebarModule } from '@seniorsistemas/angular-components';
8
8
  import { MessageModule } from 'primeng/message';
9
9
  import { TableModule, Table } from 'primeng/table';
10
10
  import { HttpParams, HttpClient, HttpClientModule } from '@angular/common/http';
@@ -16,8 +16,8 @@ import { StompConfig, StompService } from '@stomp/ng2-stompjs';
16
16
  import * as SockJS from 'sockjs-client';
17
17
  import { CookieService } from 'ngx-cookie-service';
18
18
  import { DynamicDialogModule } from 'primeng/components/dynamicdialog/dynamicdialog';
19
- import { TooltipModule, SharedModule, CardModule, DialogModule, PanelModule, InputTextModule as InputTextModule$1, DropdownModule, ConfirmDialogModule, TabViewModule, CalendarModule } from 'primeng/primeng';
20
- import { SelectPlantService, SelectPlantModule } from '@seniorsistemas/yms-components';
19
+ import { TooltipModule, SharedModule, CardModule, DialogModule, PanelModule, InputTextModule as InputTextModule$1, DropdownModule, ConfirmDialogModule, TabViewModule, CalendarModule, InputTextareaModule } from 'primeng/primeng';
20
+ import { SelectPlantService, SelectPlantModule, ComponentsModule } from '@seniorsistemas/yms-components';
21
21
  import { Router, RouterModule, ActivatedRoute } from '@angular/router';
22
22
  import { InputSwitchModule } from 'primeng/inputswitch';
23
23
  import { InputTextModule } from 'primeng/inputtext';
@@ -1800,6 +1800,16 @@ let VisitanteComponent = class VisitanteComponent {
1800
1800
  driver: true
1801
1801
  });
1802
1802
  }
1803
+ if (this.visitors.length > 0) {
1804
+ this.visitors[0].visitor = {
1805
+ name: mot.nome,
1806
+ document: mot.cpf,
1807
+ contact: this.getContatoMotorista(mot),
1808
+ visitorSituation: VisitorSituation.CHECK_IN_PENDING,
1809
+ documentType: this.getDocumentType(),
1810
+ driver: true
1811
+ };
1812
+ }
1803
1813
  }
1804
1814
  adicionaVisitantesGrid() {
1805
1815
  if (this.visitors.length) {
@@ -1884,6 +1894,14 @@ let VisitanteComponent = class VisitanteComponent {
1884
1894
  if (visitor.document === visitante.document) {
1885
1895
  visitor.contact = visitante.contact;
1886
1896
  visitor.name = visitante.name;
1897
+ const novoVisitante = this.buildVisitorCredentialsDto(visitor);
1898
+ this.visitors.forEach(result => {
1899
+ if (result.visitor.document === novoVisitante.visitor.document) {
1900
+ result.visitor.name = novoVisitante.visitor.name;
1901
+ result.visitor.contact = novoVisitante.visitor.contact;
1902
+ }
1903
+ });
1904
+ this.visitorsChange.emit(this.visitors);
1887
1905
  this.visitorFound = true;
1888
1906
  }
1889
1907
  });
@@ -1911,6 +1929,19 @@ let VisitanteComponent = class VisitanteComponent {
1911
1929
  this.visitorsChange.emit(this.visitors);
1912
1930
  this.hasChange.emit(true);
1913
1931
  }
1932
+ buildVisitorCredentialsDto(visitor) {
1933
+ const visitorCredentialsDto = new VisitorCredentialsDto();
1934
+ const visitante = {
1935
+ name: visitor.name,
1936
+ document: visitor.document,
1937
+ contact: visitor.contact,
1938
+ documentType: visitor.documentType,
1939
+ visitorSituation: visitor.visitorSituation,
1940
+ driver: false
1941
+ };
1942
+ visitorCredentialsDto.visitor = visitante;
1943
+ return visitorCredentialsDto;
1944
+ }
1914
1945
  model(visitante) {
1915
1946
  const isDriver = visitante.document === this.motorista.cpf;
1916
1947
  const findVisitor = this.visitors.find((visitorWithCredentials) => visitorWithCredentials.visitor.document === visitante.document);
@@ -2764,6 +2795,179 @@ VisitorListModule = __decorate([
2764
2795
  __metadata("design:paramtypes", [IntegrationDispatcher])
2765
2796
  ], VisitorListModule);
2766
2797
 
2798
+ const INFORMACAOES_ADICIONAIS_HEADER = "Informações adicionais";
2799
+ let FormWmsDescritor = class FormWmsDescritor {
2800
+ };
2801
+ FormWmsDescritor = __decorate([
2802
+ ChegadaVeiculo({
2803
+ header: INFORMACAOES_ADICIONAIS_HEADER,
2804
+ name: 'yms.integracao.wms',
2805
+ icon: 'fa fa-plus'
2806
+ })
2807
+ ], FormWmsDescritor);
2808
+ let FormWmsComponent = class FormWmsComponent extends FormWmsDescritor {
2809
+ constructor(integrationCallback) {
2810
+ super();
2811
+ this.integrationCallback = integrationCallback;
2812
+ this.save = [];
2813
+ this.header = INFORMACAOES_ADICIONAIS_HEADER;
2814
+ this.loading = false;
2815
+ this.unsubscribe$ = new Subject();
2816
+ this._integrationCallback = integrationCallback;
2817
+ }
2818
+ ngOnInit() {
2819
+ this._integrationCallback.onAgendamentoSaved()
2820
+ .pipe(takeUntil(this.unsubscribe$), mergeMap(agenda => {
2821
+ this.agenda = agenda;
2822
+ return empty();
2823
+ }))
2824
+ .subscribe();
2825
+ }
2826
+ ngOnDestroy() {
2827
+ this.unsubscribe$.next();
2828
+ this.unsubscribe$.complete();
2829
+ }
2830
+ };
2831
+ __decorate([
2832
+ Output(),
2833
+ __metadata("design:type", Agenda)
2834
+ ], FormWmsComponent.prototype, "agenda", void 0);
2835
+ __decorate([
2836
+ Input(),
2837
+ __metadata("design:type", Array)
2838
+ ], FormWmsComponent.prototype, "save", void 0);
2839
+ FormWmsComponent = __decorate([
2840
+ Component({
2841
+ template: `
2842
+ <div *ngIf="agenda">
2843
+ <document-grid [agenda]="agenda"></document-grid>
2844
+ </div>
2845
+ `
2846
+ }),
2847
+ __metadata("design:paramtypes", [IntegrationEventsCallback])
2848
+ ], FormWmsComponent);
2849
+
2850
+ let DocumentService = class DocumentService extends EntityService {
2851
+ constructor(http, messageService) {
2852
+ super(http, messageService, 'yms_int/wms/entities/document', '');
2853
+ this.http = http;
2854
+ this.messageService = messageService;
2855
+ }
2856
+ findDocuments(input) {
2857
+ return this.http.post('yms_int/wms/queries/findDocuments', input);
2858
+ }
2859
+ };
2860
+ DocumentService = __decorate([
2861
+ Injectable(),
2862
+ __metadata("design:paramtypes", [HttpClient, MessageService])
2863
+ ], DocumentService);
2864
+
2865
+ let InsertKeyComponent = class InsertKeyComponent {
2866
+ constructor(formBuilder, documentService, messageService, translate) {
2867
+ this.formBuilder = formBuilder;
2868
+ this.documentService = documentService;
2869
+ this.messageService = messageService;
2870
+ this.translate = translate;
2871
+ this.document = new EventEmitter();
2872
+ }
2873
+ ngOnInit() {
2874
+ this.formGroup = this.formBuilder.group({
2875
+ key: [undefined]
2876
+ });
2877
+ }
2878
+ showInsertKey(visible) {
2879
+ this.visible = visible;
2880
+ }
2881
+ add() {
2882
+ this.visible = false;
2883
+ if (!this.formGroup.get('key').value) {
2884
+ return;
2885
+ }
2886
+ this.searchKey();
2887
+ }
2888
+ searchKey() {
2889
+ const key = {
2890
+ documentKeys: [this.formGroup.get('key').value],
2891
+ invoices: undefined,
2892
+ logistcUnitName: undefined,
2893
+ size: 0,
2894
+ offset: 0
2895
+ };
2896
+ this.documentService.findDocuments(key).subscribe((content) => {
2897
+ if (content.totalElements < 1) {
2898
+ this.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
2899
+ return;
2900
+ }
2901
+ this.document.emit(content.contents[0]);
2902
+ this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_insert_key_success_message_description");
2903
+ this.formGroup.reset();
2904
+ });
2905
+ }
2906
+ message(success, header, description) {
2907
+ this.messageService.add({
2908
+ severity: success,
2909
+ summary: this.translate.instant(header),
2910
+ detail: this.translate.instant(description),
2911
+ });
2912
+ }
2913
+ cancel() {
2914
+ this.visible = false;
2915
+ }
2916
+ };
2917
+ __decorate([
2918
+ Output(),
2919
+ __metadata("design:type", EventEmitter)
2920
+ ], InsertKeyComponent.prototype, "document", void 0);
2921
+ InsertKeyComponent = __decorate([
2922
+ Component({
2923
+ selector: "insert-key",
2924
+ 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>",
2925
+ 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}"]
2926
+ }),
2927
+ __metadata("design:paramtypes", [FormBuilder,
2928
+ DocumentService,
2929
+ MessageService,
2930
+ TranslateService])
2931
+ ], InsertKeyComponent);
2932
+
2933
+ const moment$4 = _moment;
2934
+ class Document {
2935
+ static fromDto(documentDto, originEntity) {
2936
+ const model = Object.assign({}, documentDto);
2937
+ model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
2938
+ model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
2939
+ const lookupSeparator = " - ";
2940
+ const displayFields = [
2941
+ "id",
2942
+ "schedulingId",
2943
+ "invoiceKey",
2944
+ "invoiceNumber",
2945
+ "invoiceSerialNumber",
2946
+ "systemIntegration",
2947
+ "logistcUnitName",
2948
+ "logistcUnitDocument",
2949
+ "ownerName",
2950
+ "ownerDocument",
2951
+ "partnerName",
2952
+ "partnerDocument",
2953
+ "notes",
2954
+ "orderReceivingCode",
2955
+ "createdBy",
2956
+ "createdDate",
2957
+ "lastModifiedBy",
2958
+ "lastModifiedDate",
2959
+ ];
2960
+ model.label = displayFields.map(field => model[field]).join(lookupSeparator);
2961
+ return model;
2962
+ }
2963
+ static toDto(document, originEntity) {
2964
+ const dto = Object.assign({}, document);
2965
+ dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
2966
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
2967
+ return dto;
2968
+ }
2969
+ }
2970
+
2767
2971
  class EntityService$1 {
2768
2972
  constructor(http, messageService, entityUrl, actionsUrl) {
2769
2973
  this.http = http;
@@ -2854,11 +3058,388 @@ class EntityService$1 {
2854
3058
  listCustomFilter(listParams, action) {
2855
3059
  return this.http.post(`${this.actionsUrl}/${action}`, this.getBodyParams(listParams)).pipe(this.defaultCatch());
2856
3060
  }
2857
- }
3061
+ }
3062
+
3063
+ class EntityService$2 extends EntityService$1 {
3064
+ }
3065
+
3066
+ let AgendaService = class AgendaService extends EntityService$2 {
3067
+ constructor(http, messageService) {
3068
+ super(http, messageService, 'yms/agenda/entities/agenda', '');
3069
+ this.http = http;
3070
+ this.messageService = messageService;
3071
+ }
3072
+ };
3073
+ AgendaService.ngInjectableDef = defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(inject(HttpClient), inject(MessageService$1)); }, token: AgendaService, providedIn: "root" });
3074
+ AgendaService = __decorate([
3075
+ Injectable({ providedIn: 'root' }),
3076
+ __metadata("design:paramtypes", [HttpClient, MessageService$1])
3077
+ ], AgendaService);
3078
+
3079
+ let RegisterDocumentComponent = class RegisterDocumentComponent {
3080
+ constructor(fb, messageService, translateService, agendaService) {
3081
+ this.fb = fb;
3082
+ this.messageService = messageService;
3083
+ this.translateService = translateService;
3084
+ this.agendaService = agendaService;
3085
+ this.document = new EventEmitter();
3086
+ }
3087
+ ngOnInit() {
3088
+ this.getFormGroup();
3089
+ }
3090
+ showRegister(isVisible, isEdit, document) {
3091
+ if (!isVisible && !isEdit) {
3092
+ return;
3093
+ }
3094
+ this.visible = isVisible;
3095
+ this.edit = isEdit;
3096
+ if (!this.edit) {
3097
+ this.formGroup.disable();
3098
+ this.setValuesFormGroup(document);
3099
+ this.setValueForPartner();
3100
+ this.hideSaveButton = true;
3101
+ }
3102
+ }
3103
+ close() {
3104
+ this.visible = false;
3105
+ }
3106
+ setValuesFormGroup(document) {
3107
+ this.formGroup.get('invoiceKey').setValue(document.invoiceKey);
3108
+ this.formGroup.get('invoiceNumber').setValue(document.invoiceNumber);
3109
+ this.formGroup.get('invoiceSerialNumber').setValue(document.invoiceSerialNumber);
3110
+ this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
3111
+ this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
3112
+ this.formGroup.get('notes').setValue(document.notes);
3113
+ this.formGroup.get('orderReceivingCode').setValue(document.orderReceivingCode);
3114
+ this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
3115
+ this.formGroup.get('ownerName').setValue(document.ownerName);
3116
+ }
3117
+ setValueForPartner() {
3118
+ this.agendaService.get(this.agenda.id).subscribe((agenda) => {
3119
+ this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
3120
+ this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
3121
+ });
3122
+ }
3123
+ getFormGroup() {
3124
+ this.formGroup = this.fb.group({
3125
+ invoiceKey: [undefined, Validators.required],
3126
+ schedulingId: [undefined],
3127
+ invoiceNumber: [undefined],
3128
+ invoiceSerialNumber: [undefined],
3129
+ logistcUnitName: [undefined],
3130
+ logistcUnitDocument: [undefined],
3131
+ ownerName: [undefined],
3132
+ ownerDocument: [undefined],
3133
+ partnerName: [undefined],
3134
+ partnerDocument: [undefined],
3135
+ notes: [undefined],
3136
+ orderReceivingCode: [undefined],
3137
+ });
3138
+ }
3139
+ save() {
3140
+ const value = this.formGroup.getRawValue();
3141
+ if (value.id === undefined) {
3142
+ if (this.agenda.id !== undefined) {
3143
+ value.schedulingId = this.agenda.id;
3144
+ }
3145
+ this.document.emit(Document.fromDto(value));
3146
+ this.successMessage();
3147
+ this.visible = false;
3148
+ }
3149
+ }
3150
+ successMessage() {
3151
+ this.messageService.add({
3152
+ severity: "success",
3153
+ summary: this.translateService.instant("saved_message_title"),
3154
+ detail: this.translateService.instant("saved_message_content"),
3155
+ });
3156
+ }
3157
+ };
3158
+ __decorate([
3159
+ Input(),
3160
+ __metadata("design:type", Agenda)
3161
+ ], RegisterDocumentComponent.prototype, "agenda", void 0);
3162
+ __decorate([
3163
+ Output(),
3164
+ __metadata("design:type", EventEmitter)
3165
+ ], RegisterDocumentComponent.prototype, "document", void 0);
3166
+ RegisterDocumentComponent = __decorate([
3167
+ Component({
3168
+ selector: "register-document",
3169
+ 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>"
3170
+ }),
3171
+ __metadata("design:paramtypes", [FormBuilder,
3172
+ MessageService,
3173
+ TranslateService,
3174
+ AgendaService])
3175
+ ], RegisterDocumentComponent);
3176
+
3177
+ let DocumentGridComponent = class DocumentGridComponent {
3178
+ constructor(translate, documentService, messageService) {
3179
+ this.translate = translate;
3180
+ this.documentService = documentService;
3181
+ this.messageService = messageService;
3182
+ this.ngUnsubscribe = new Subject();
3183
+ }
3184
+ ngOnInit() {
3185
+ this.gridColumns = this.getGridColumns();
3186
+ this.listDocuments();
3187
+ }
3188
+ onChangeDocument(document) {
3189
+ this.gridData.push(document);
3190
+ this.disabled = true;
3191
+ }
3192
+ getActions() {
3193
+ return [
3194
+ {
3195
+ label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
3196
+ command: () => {
3197
+ this.registerDocumentComponent.showRegister(false, false);
3198
+ this.showInsertKey = true;
3199
+ this.insertKeyComponent.showInsertKey(this.showInsertKey);
3200
+ },
3201
+ icon: "fa fa-search"
3202
+ },
3203
+ {
3204
+ label: this.translate.instant("yms.int.wms_add_document_register"),
3205
+ command: () => {
3206
+ this.insertKeyComponent.showInsertKey(false);
3207
+ this.showRegisterDocument = true;
3208
+ this.registerDocumentComponent.showRegister(this.showRegisterDocument, true);
3209
+ },
3210
+ icon: "fas fa-pen-square"
3211
+ }
3212
+ ];
3213
+ }
3214
+ getProp(obj, path) {
3215
+ return path.split(".").reduce((result, prop) => (result[prop] === undefined ? "" : result[prop]), obj);
3216
+ }
3217
+ view() {
3218
+ const documentSelectec = this.selection;
3219
+ this.showRegisterDocument = true;
3220
+ this.registerDocumentComponent.showRegister(this.showRegisterDocument, false, documentSelectec);
3221
+ }
3222
+ save() {
3223
+ if (this.gridData.length > 1) {
3224
+ this.gridData.forEach(data => {
3225
+ if (!data.id) {
3226
+ if (!data.schedulingId) {
3227
+ data.schedulingId = this.agenda.id;
3228
+ }
3229
+ this.documentService.insert(data).subscribe(() => {
3230
+ this.message("success", "saved_message_title", "saved_message_content");
3231
+ });
3232
+ this.disabled = true;
3233
+ }
3234
+ });
3235
+ }
3236
+ }
3237
+ onDelete(selection) {
3238
+ if (!selection.id) {
3239
+ return;
3240
+ }
3241
+ this.documentService.delete(selection.id)
3242
+ .pipe(takeUntil(this.ngUnsubscribe), finalize(() => {
3243
+ this.listDocuments();
3244
+ })).
3245
+ subscribe(() => this.message("success", "deleted_message_title", "deleted_message_content"));
3246
+ }
3247
+ listDocuments() {
3248
+ this.documentService.list({
3249
+ filterQuery: `schedulingId eq '${this.agenda.id}'`
3250
+ })
3251
+ .subscribe((contents) => {
3252
+ if (contents.totalElements > 0) {
3253
+ this.gridData = contents.contents;
3254
+ this.documentTotalRecords = contents.totalElements;
3255
+ }
3256
+ else {
3257
+ this.disabled = true;
3258
+ }
3259
+ this.loading = false;
3260
+ });
3261
+ }
3262
+ getGridColumns() {
3263
+ return [
3264
+ { field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
3265
+ { field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
3266
+ { field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
3267
+ { field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
3268
+ { field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
3269
+ { field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
3270
+ { field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
3271
+ { field: "orderReceivingCode", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
3272
+ ];
3273
+ }
3274
+ message(severity, summary, detail) {
3275
+ this.messageService.add({
3276
+ severity,
3277
+ summary: this.translate.instant(summary),
3278
+ detail: this.translate.instant(detail),
3279
+ });
3280
+ }
3281
+ };
3282
+ __decorate([
3283
+ Input(),
3284
+ __metadata("design:type", Object)
3285
+ ], DocumentGridComponent.prototype, "agenda", void 0);
3286
+ __decorate([
3287
+ ViewChild("documentTable"),
3288
+ __metadata("design:type", Table)
3289
+ ], DocumentGridComponent.prototype, "table", void 0);
3290
+ __decorate([
3291
+ ViewChild("customTemplate"),
3292
+ __metadata("design:type", TemplateRef)
3293
+ ], DocumentGridComponent.prototype, "customTemplate", void 0);
3294
+ __decorate([
3295
+ ViewChild("customFilterFields"),
3296
+ __metadata("design:type", TemplateRef)
3297
+ ], DocumentGridComponent.prototype, "customFilterFields", void 0);
3298
+ __decorate([
3299
+ ViewChild("customGridColgroup"),
3300
+ __metadata("design:type", TemplateRef)
3301
+ ], DocumentGridComponent.prototype, "customGridColgroup", void 0);
3302
+ __decorate([
3303
+ ViewChild("customGridHeader"),
3304
+ __metadata("design:type", TemplateRef)
3305
+ ], DocumentGridComponent.prototype, "customGridHeader", void 0);
3306
+ __decorate([
3307
+ ViewChild("customGridBody"),
3308
+ __metadata("design:type", TemplateRef)
3309
+ ], DocumentGridComponent.prototype, "customGridBody", void 0);
3310
+ __decorate([
3311
+ ViewChild("registerDocument"),
3312
+ __metadata("design:type", RegisterDocumentComponent)
3313
+ ], DocumentGridComponent.prototype, "registerDocumentComponent", void 0);
3314
+ __decorate([
3315
+ ViewChild("insertKey"),
3316
+ __metadata("design:type", InsertKeyComponent)
3317
+ ], DocumentGridComponent.prototype, "insertKeyComponent", void 0);
3318
+ DocumentGridComponent = __decorate([
3319
+ Component({
3320
+ selector: 'document-grid',
3321
+ 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",
3322
+ 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}"]
3323
+ }),
3324
+ __metadata("design:paramtypes", [TranslateService,
3325
+ DocumentService,
3326
+ MessageService])
3327
+ ], DocumentGridComponent);
3328
+
3329
+ let RegisterDocumentModule = class RegisterDocumentModule {
3330
+ };
3331
+ RegisterDocumentModule = __decorate([
3332
+ NgModule({
3333
+ imports: [
3334
+ CommonModule,
3335
+ SidebarModule,
3336
+ ButtonModule,
3337
+ PanelModule,
3338
+ ConfirmDialogModule,
3339
+ TranslateModule,
3340
+ InputTextModule$1,
3341
+ ControlErrorsModule,
3342
+ InputTextareaModule,
3343
+ ReactiveFormsModule
3344
+ ],
3345
+ exports: [RegisterDocumentComponent],
3346
+ declarations: [RegisterDocumentComponent],
3347
+ providers: [DocumentService]
3348
+ })
3349
+ ], RegisterDocumentModule);
3350
+
3351
+ let InsertKeyModule = class InsertKeyModule {
3352
+ };
3353
+ InsertKeyModule = __decorate([
3354
+ NgModule({
3355
+ imports: [
3356
+ CommonModule,
3357
+ ReactiveFormsModule,
3358
+ ButtonModule,
3359
+ TranslateModule,
3360
+ DialogModule,
3361
+ InputTextModule$1
3362
+ ],
3363
+ exports: [InsertKeyComponent],
3364
+ declarations: [InsertKeyComponent]
3365
+ })
3366
+ ], InsertKeyModule);
3367
+
3368
+ let DocumentGridModule = class DocumentGridModule {
3369
+ };
3370
+ DocumentGridModule = __decorate([
3371
+ NgModule({
3372
+ declarations: [DocumentGridComponent],
3373
+ entryComponents: [DocumentGridComponent],
3374
+ exports: [DocumentGridComponent],
3375
+ imports: [
3376
+ CommonModule,
3377
+ TranslateModule,
3378
+ ButtonModule,
3379
+ PanelModule,
3380
+ TableModule,
3381
+ RegisterDocumentModule,
3382
+ InsertKeyModule,
3383
+ ButtonModule$1,
3384
+ ComponentsModule,
3385
+ EmptyStateModule
3386
+ ],
3387
+ })
3388
+ ], DocumentGridModule);
3389
+
3390
+ let WmsModule = class WmsModule {
3391
+ constructor(dispatcher) {
3392
+ dispatcher.dispatch(FormWmsComponent);
3393
+ }
3394
+ };
3395
+ WmsModule = __decorate([
3396
+ NgModule({
3397
+ declarations: [FormWmsComponent],
3398
+ entryComponents: [FormWmsComponent],
3399
+ exports: [FormWmsComponent],
3400
+ imports: [
3401
+ IntegrationModule,
3402
+ DocumentGridModule,
3403
+ CommonModule,
3404
+ TranslateModule,
3405
+ FormsModule,
3406
+ ButtonModule,
3407
+ SharedModule,
3408
+ CardModule,
3409
+ ButtonModule$1,
3410
+ ReactiveFormsModule,
3411
+ SharedModule$1,
3412
+ CustomFieldsModule,
3413
+ ControlErrorsModule,
3414
+ DialogModule,
3415
+ EmptyStateModule,
3416
+ DynamicFormModule,
3417
+ TokenListModule,
3418
+ PanelModule,
3419
+ InputTextModule$1,
3420
+ DropdownModule,
3421
+ ButtonModule,
3422
+ LoadingStateModule,
3423
+ NumberInputModule,
3424
+ ConfirmDialogModule,
3425
+ LocaleModule,
3426
+ PermissionsModule,
3427
+ DynamicDialogModule,
3428
+ TableModule,
3429
+ TabViewModule,
3430
+ CalendarModule,
3431
+ ],
3432
+ providers: [
3433
+ FieldCustomizationService,
3434
+ FocusService
3435
+ ]
3436
+ }),
3437
+ __metadata("design:paramtypes", [IntegrationDispatcher])
3438
+ ], WmsModule);
2858
3439
 
2859
3440
  const ERP_ENVIRONMENT = new InjectionToken('integration_environment');
2860
3441
 
2861
- let AgendaService = class AgendaService extends EntityService$1 {
3442
+ let AgendaService$1 = class AgendaService extends EntityService$1 {
2862
3443
  constructor(http, messageService, environment) {
2863
3444
  super(http, messageService, `${environment.project.domain}/${environment.project.service}/entities/agenda`, `${environment.project.domain}/${environment.project.service}/actions`);
2864
3445
  this.http = http;
@@ -2882,12 +3463,12 @@ let AgendaService = class AgendaService extends EntityService$1 {
2882
3463
  .pipe(this.defaultCatch());
2883
3464
  }
2884
3465
  };
2885
- AgendaService = __decorate([
3466
+ AgendaService$1 = __decorate([
2886
3467
  Injectable(),
2887
3468
  __param(2, Inject(ERP_ENVIRONMENT)),
2888
3469
  __metadata("design:paramtypes", [HttpClient,
2889
3470
  MessageService$1, Object])
2890
- ], AgendaService);
3471
+ ], AgendaService$1);
2891
3472
 
2892
3473
  /*{CA:PROJECT_IMPORTS:START}*/
2893
3474
  /*{CA:PROJECT_IMPORTS:END}*/
@@ -2949,7 +3530,7 @@ let RecebimentoChegadaVeiculoOverride = class RecebimentoChegadaVeiculoOverride
2949
3530
  RecebimentoChegadaVeiculoOverride = __decorate([
2950
3531
  Injectable(),
2951
3532
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
2952
- AgendaService,
3533
+ AgendaService$1,
2953
3534
  RecebimentoContratoService])
2954
3535
  ], RecebimentoChegadaVeiculoOverride);
2955
3536
 
@@ -3004,7 +3585,7 @@ let ExpedicaoChegadaVeiculoOverride = class ExpedicaoChegadaVeiculoOverride {
3004
3585
  ExpedicaoChegadaVeiculoOverride = __decorate([
3005
3586
  Injectable(),
3006
3587
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
3007
- AgendaService,
3588
+ AgendaService$1,
3008
3589
  ExpedicaoService])
3009
3590
  ], ExpedicaoChegadaVeiculoOverride);
3010
3591
 
@@ -3227,15 +3808,15 @@ OrdemCompraService = __decorate([
3227
3808
  MessageService$1, Object])
3228
3809
  ], OrdemCompraService);
3229
3810
 
3230
- const moment$4 = _moment;
3811
+ const moment$5 = _moment;
3231
3812
  /*{CA:PROJECT_IMPORTS:END}*/
3232
3813
  class Empresa {
3233
3814
  /*{CA:CLASS_ATTRIBUTES:START}*/
3234
3815
  /*{CA:CLASS_ATTRIBUTES:END}*/
3235
3816
  static fromDto(empresaDto, originEntity) {
3236
3817
  const model = Object.assign({}, empresaDto);
3237
- model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
3238
- model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
3818
+ model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
3819
+ model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
3239
3820
  const lookupSeparator = " - ";
3240
3821
  const displayFields = [
3241
3822
  "codigo",
@@ -3247,8 +3828,8 @@ class Empresa {
3247
3828
  }
3248
3829
  static toDto(empresa, originEntity) {
3249
3830
  const dto = Object.assign({}, empresa);
3250
- dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
3251
- dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
3831
+ dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
3832
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
3252
3833
  delete dto.label;
3253
3834
  return dto;
3254
3835
  }
@@ -3256,7 +3837,7 @@ class Empresa {
3256
3837
  /*{CA:FILE_CONTENTS:START}*/
3257
3838
  /*{CA:FILE_CONTENTS:END}*/
3258
3839
 
3259
- const moment$5 = _moment;
3840
+ const moment$6 = _moment;
3260
3841
  /*{CA:PROJECT_IMPORTS:START}*/
3261
3842
  /*{CA:PROJECT_IMPORTS:END}*/
3262
3843
  class Pessoa {
@@ -3264,8 +3845,8 @@ class Pessoa {
3264
3845
  /*{CA:CLASS_ATTRIBUTES:END}*/
3265
3846
  static fromDto(pessoaDto, originEntity) {
3266
3847
  const model = Object.assign({}, pessoaDto);
3267
- model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
3268
- model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
3848
+ model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
3849
+ model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
3269
3850
  const lookupSeparator = " - ";
3270
3851
  const displayFields = [
3271
3852
  "codigo",
@@ -3277,8 +3858,8 @@ class Pessoa {
3277
3858
  }
3278
3859
  static toDto(pessoa, originEntity) {
3279
3860
  const dto = Object.assign({}, pessoa);
3280
- dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
3281
- dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
3861
+ dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
3862
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
3282
3863
  delete dto.label;
3283
3864
  return dto;
3284
3865
  }
@@ -3286,7 +3867,7 @@ class Pessoa {
3286
3867
  /*{CA:FILE_CONTENTS:START}*/
3287
3868
  /*{CA:FILE_CONTENTS:END}*/
3288
3869
 
3289
- const moment$6 = _moment;
3870
+ const moment$7 = _moment;
3290
3871
  /*{CA:PROJECT_IMPORTS:START}*/
3291
3872
  /*{CA:PROJECT_IMPORTS:END}*/
3292
3873
  class PessoaJuridica {
@@ -3294,8 +3875,8 @@ class PessoaJuridica {
3294
3875
  /*{CA:CLASS_ATTRIBUTES:END}*/
3295
3876
  static fromDto(pessoaJuridicaDto, originEntity) {
3296
3877
  const model = Object.assign({}, pessoaJuridicaDto);
3297
- model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
3298
- model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
3878
+ model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
3879
+ model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
3299
3880
  const lookupSeparator = " - ";
3300
3881
  const displayFields = [
3301
3882
  "id",
@@ -3322,8 +3903,8 @@ class PessoaJuridica {
3322
3903
  }
3323
3904
  static toDto(pessoaJuridica, originEntity) {
3324
3905
  const dto = Object.assign({}, pessoaJuridica);
3325
- dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
3326
- dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
3906
+ dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
3907
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
3327
3908
  delete dto.label;
3328
3909
  if (originEntity !== "Pessoa" && dto.pessoa)
3329
3910
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaJuridica");
@@ -3333,7 +3914,7 @@ class PessoaJuridica {
3333
3914
  /*{CA:FILE_CONTENTS:START}*/
3334
3915
  /*{CA:FILE_CONTENTS:END}*/
3335
3916
 
3336
- const moment$7 = _moment;
3917
+ const moment$8 = _moment;
3337
3918
  /*{CA:PROJECT_IMPORTS:START}*/
3338
3919
  /*{CA:PROJECT_IMPORTS:END}*/
3339
3920
  class Pais {
@@ -3341,8 +3922,8 @@ class Pais {
3341
3922
  /*{CA:CLASS_ATTRIBUTES:END}*/
3342
3923
  static fromDto(paisDto, originEntity) {
3343
3924
  const model = Object.assign({}, paisDto);
3344
- model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
3345
- model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
3925
+ model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
3926
+ model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
3346
3927
  const lookupSeparator = " - ";
3347
3928
  const displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
3348
3929
  model.label = displayFields.map(field => model[field]).join(lookupSeparator);
@@ -3350,8 +3931,8 @@ class Pais {
3350
3931
  }
3351
3932
  static toDto(pais, originEntity) {
3352
3933
  const dto = Object.assign({}, pais);
3353
- dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
3354
- dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
3934
+ dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
3935
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
3355
3936
  delete dto.label;
3356
3937
  return dto;
3357
3938
  }
@@ -3359,7 +3940,7 @@ class Pais {
3359
3940
  /*{CA:FILE_CONTENTS:START}*/
3360
3941
  /*{CA:FILE_CONTENTS:END}*/
3361
3942
 
3362
- const moment$8 = _moment;
3943
+ const moment$9 = _moment;
3363
3944
  /*{CA:PROJECT_IMPORTS:START}*/
3364
3945
  /*{CA:PROJECT_IMPORTS:END}*/
3365
3946
  class Estado {
@@ -3367,8 +3948,8 @@ class Estado {
3367
3948
  /*{CA:CLASS_ATTRIBUTES:END}*/
3368
3949
  static fromDto(estadoDto, originEntity) {
3369
3950
  const model = Object.assign({}, estadoDto);
3370
- model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
3371
- model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
3951
+ model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
3952
+ model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
3372
3953
  const lookupSeparator = " - ";
3373
3954
  const displayFields = [
3374
3955
  "id",
@@ -3390,8 +3971,8 @@ class Estado {
3390
3971
  }
3391
3972
  static toDto(estado, originEntity) {
3392
3973
  const dto = Object.assign({}, estado);
3393
- dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
3394
- dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
3974
+ dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
3975
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
3395
3976
  delete dto.label;
3396
3977
  if (originEntity !== "Pais" && dto.pais)
3397
3978
  dto.pais = Pais.toDto(dto.pais, "Estado");
@@ -3401,7 +3982,7 @@ class Estado {
3401
3982
  /*{CA:FILE_CONTENTS:START}*/
3402
3983
  /*{CA:FILE_CONTENTS:END}*/
3403
3984
 
3404
- const moment$9 = _moment;
3985
+ const moment$a = _moment;
3405
3986
  /*{CA:PROJECT_IMPORTS:START}*/
3406
3987
  /*{CA:PROJECT_IMPORTS:END}*/
3407
3988
  class Cidade {
@@ -3409,8 +3990,8 @@ class Cidade {
3409
3990
  /*{CA:CLASS_ATTRIBUTES:END}*/
3410
3991
  static fromDto(cidadeDto, originEntity) {
3411
3992
  const model = Object.assign({}, cidadeDto);
3412
- model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
3413
- model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
3993
+ model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
3994
+ model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
3414
3995
  const lookupSeparator = " - ";
3415
3996
  const displayFields = [
3416
3997
  "id",
@@ -3431,8 +4012,8 @@ class Cidade {
3431
4012
  }
3432
4013
  static toDto(cidade, originEntity) {
3433
4014
  const dto = Object.assign({}, cidade);
3434
- dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
3435
- dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
4015
+ dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
4016
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
3436
4017
  delete dto.label;
3437
4018
  if (originEntity !== "Estado" && dto.estado)
3438
4019
  dto.estado = Estado.toDto(dto.estado, "Cidade");
@@ -3442,12 +4023,12 @@ class Cidade {
3442
4023
  /*{CA:FILE_CONTENTS:START}*/
3443
4024
  /*{CA:FILE_CONTENTS:END}*/
3444
4025
 
3445
- const moment$a = _moment;
4026
+ const moment$b = _moment;
3446
4027
  class PessoaEndereco {
3447
4028
  static fromDto(pessoaEnderecoDto, originEntity) {
3448
4029
  const model = Object.assign({}, pessoaEnderecoDto);
3449
- model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
3450
- model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
4030
+ model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
4031
+ model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
3451
4032
  const lookupSeparator = " - ";
3452
4033
  const displayFields = [
3453
4034
  "codigo",
@@ -3463,8 +4044,8 @@ class PessoaEndereco {
3463
4044
  }
3464
4045
  static toDto(pessoaEndereco, originEntity) {
3465
4046
  const dto = Object.assign({}, pessoaEndereco);
3466
- dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
3467
- dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
4047
+ dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
4048
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
3468
4049
  delete dto.label;
3469
4050
  if (originEntity !== "Pessoa" && dto.pessoa)
3470
4051
  dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaEndereco");
@@ -3474,7 +4055,7 @@ class PessoaEndereco {
3474
4055
  }
3475
4056
  }
3476
4057
 
3477
- const moment$b = _moment;
4058
+ const moment$c = _moment;
3478
4059
  /*{CA:PROJECT_IMPORTS:START}*/
3479
4060
  /*{CA:PROJECT_IMPORTS:END}*/
3480
4061
  class Filial {
@@ -3482,8 +4063,8 @@ class Filial {
3482
4063
  /*{CA:CLASS_ATTRIBUTES:END}*/
3483
4064
  static fromDto(filialDto, originEntity) {
3484
4065
  const model = Object.assign({}, filialDto);
3485
- model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
3486
- model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
4066
+ model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
4067
+ model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
3487
4068
  const lookupSeparator = " - ";
3488
4069
  const displayFields = [
3489
4070
  "codigo",
@@ -3501,8 +4082,8 @@ class Filial {
3501
4082
  }
3502
4083
  static toDto(filial, originEntity) {
3503
4084
  const dto = Object.assign({}, filial);
3504
- dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
3505
- dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
4085
+ dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
4086
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
3506
4087
  delete dto.label;
3507
4088
  if (originEntity !== "Empresa" && dto.empresa)
3508
4089
  dto.empresa = Empresa.toDto(dto.empresa, "Filial");
@@ -3516,12 +4097,12 @@ class Filial {
3516
4097
  /*{CA:FILE_CONTENTS:START}*/
3517
4098
  /*{CA:FILE_CONTENTS:END}*/
3518
4099
 
3519
- const moment$c = _moment;
4100
+ const moment$d = _moment;
3520
4101
  class OrdemCompra {
3521
4102
  static fromDto(ordemCompraDto, originEntity) {
3522
4103
  const model = Object.assign({}, ordemCompraDto);
3523
- model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
3524
- model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
4104
+ model.createdDate = model.createdDate && moment$d(model.createdDate).toDate();
4105
+ model.lastModifiedDate = model.lastModifiedDate && moment$d(model.lastModifiedDate).toDate();
3525
4106
  const lookupSeparator = " - ";
3526
4107
  const displayFields = [
3527
4108
  "codigo",
@@ -3537,8 +4118,8 @@ class OrdemCompra {
3537
4118
  }
3538
4119
  static toDto(ordemCompra, originEntity) {
3539
4120
  const dto = Object.assign({}, ordemCompra);
3540
- dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
3541
- dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
4121
+ dto.createdDate = dto.createdDate && moment$d(dto.createdDate).format();
4122
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$d(dto.lastModifiedDate).format();
3542
4123
  delete dto.label;
3543
4124
  if (originEntity !== "Empresa" && dto.empresa)
3544
4125
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -3548,7 +4129,7 @@ class OrdemCompra {
3548
4129
  }
3549
4130
  }
3550
4131
 
3551
- const moment$d = _moment;
4132
+ const moment$e = _moment;
3552
4133
  let OrdemCompraFormComponent = class OrdemCompraFormComponent {
3553
4134
  constructor(dialogRef, dialogConfig, ordemCompraService, translate, fb, route) {
3554
4135
  this.dialogRef = dialogRef;
@@ -3617,7 +4198,7 @@ let OrdemCompraFormComponent = class OrdemCompraFormComponent {
3617
4198
  if (filial && filial.empresa && filial.empresa.id) {
3618
4199
  filter.empresaId = filial.empresa.id;
3619
4200
  }
3620
- filter.dataEmissao = filter.dataEmissao && moment$d(filter.dataEmissao).format("YYYY-MM-DD");
4201
+ filter.dataEmissao = filter.dataEmissao && moment$e(filter.dataEmissao).format("YYYY-MM-DD");
3621
4202
  const sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
3622
4203
  this.ordemCompraService
3623
4204
  .listOrdensCompra(Object.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: {
@@ -3968,7 +4549,7 @@ AgendaModule = __decorate([
3968
4549
  ]),
3969
4550
  ],
3970
4551
  providers: [
3971
- AgendaService,
4552
+ AgendaService$1,
3972
4553
  ],
3973
4554
  declarations: [
3974
4555
  /*{CA:MODULE_DECLARATIONS:START}*/
@@ -5650,11 +6231,11 @@ let DevolucaoChegadaVeiculoOverride = class DevolucaoChegadaVeiculoOverride {
5650
6231
  DevolucaoChegadaVeiculoOverride = __decorate([
5651
6232
  Injectable(),
5652
6233
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
5653
- AgendaService,
6234
+ AgendaService$1,
5654
6235
  DevolucaoService])
5655
6236
  ], DevolucaoChegadaVeiculoOverride);
5656
6237
 
5657
- const moment$e = _moment;
6238
+ const moment$f = _moment;
5658
6239
  /*{CA:PROJECT_IMPORTS:START}*/
5659
6240
  /*{CA:PROJECT_IMPORTS:END}*/
5660
6241
  class UnidadeMedida {
@@ -5662,8 +6243,8 @@ class UnidadeMedida {
5662
6243
  /*{CA:CLASS_ATTRIBUTES:END}*/
5663
6244
  static fromDto(unidadeMedidaDto, originEntity) {
5664
6245
  const model = Object.assign({}, unidadeMedidaDto);
5665
- model.createdDate = model.createdDate && moment$e(model.createdDate).toDate();
5666
- model.lastModifiedDate = model.lastModifiedDate && moment$e(model.lastModifiedDate).toDate();
6246
+ model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
6247
+ model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
5667
6248
  const lookupSeparator = " - ";
5668
6249
  const displayFields = [
5669
6250
  "id",
@@ -5680,8 +6261,8 @@ class UnidadeMedida {
5680
6261
  }
5681
6262
  static toDto(unidadeMedida, originEntity) {
5682
6263
  const dto = Object.assign({}, unidadeMedida);
5683
- dto.createdDate = dto.createdDate && moment$e(dto.createdDate).format();
5684
- dto.lastModifiedDate = dto.lastModifiedDate && moment$e(dto.lastModifiedDate).format();
6264
+ dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
6265
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
5685
6266
  delete dto.label;
5686
6267
  return dto;
5687
6268
  }
@@ -5689,7 +6270,7 @@ class UnidadeMedida {
5689
6270
  /*{CA:FILE_CONTENTS:START}*/
5690
6271
  /*{CA:FILE_CONTENTS:END}*/
5691
6272
 
5692
- const moment$f = _moment;
6273
+ const moment$g = _moment;
5693
6274
  /*{CA:PROJECT_IMPORTS:START}*/
5694
6275
  /*{CA:PROJECT_IMPORTS:END}*/
5695
6276
  class Royalty {
@@ -5697,8 +6278,8 @@ class Royalty {
5697
6278
  /*{CA:CLASS_ATTRIBUTES:END}*/
5698
6279
  static fromDto(royaltyDto, originEntity) {
5699
6280
  const model = Object.assign({}, royaltyDto);
5700
- model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
5701
- model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
6281
+ model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
6282
+ model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
5702
6283
  const lookupSeparator = " - ";
5703
6284
  const displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
5704
6285
  model.label = displayFields.map(field => model[field]).join(lookupSeparator);
@@ -5708,8 +6289,8 @@ class Royalty {
5708
6289
  }
5709
6290
  static toDto(royalty, originEntity) {
5710
6291
  const dto = Object.assign({}, royalty);
5711
- dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
5712
- dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
6292
+ dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
6293
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
5713
6294
  delete dto.label;
5714
6295
  if (originEntity !== "Empresa" && dto.empresa)
5715
6296
  dto.empresa = Empresa.toDto(dto.empresa, "Royalty");
@@ -5719,16 +6300,16 @@ class Royalty {
5719
6300
  /*{CA:FILE_CONTENTS:START}*/
5720
6301
  /*{CA:FILE_CONTENTS:END}*/
5721
6302
 
5722
- const moment$g = _moment;
6303
+ const moment$h = _moment;
5723
6304
  class FamiliaProduto {
5724
6305
  static fromDto(familiaProdutoDto, originEntity) {
5725
6306
  if (familiaProdutoDto.id === undefined) {
5726
6307
  return familiaProdutoDto;
5727
6308
  }
5728
6309
  const model = Object.assign({}, familiaProdutoDto);
5729
- model.createdDate = model.codigo && moment$g(model.createdDate).toDate();
5730
- model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
5731
- model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
6310
+ model.createdDate = model.codigo && moment$h(model.createdDate).toDate();
6311
+ model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
6312
+ model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
5732
6313
  const lookupSeparator = " - ";
5733
6314
  const displayFields = ["id", "codigo", "descricao", "situacao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
5734
6315
  model.label = displayFields.map(field => model[field]).join(lookupSeparator);
@@ -5738,8 +6319,8 @@ class FamiliaProduto {
5738
6319
  }
5739
6320
  static toDto(familiaProduto, originEntity) {
5740
6321
  const dto = Object.assign({}, familiaProduto);
5741
- dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
5742
- dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
6322
+ dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
6323
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
5743
6324
  delete dto.label;
5744
6325
  if (originEntity !== "Empresa" && dto.empresa)
5745
6326
  dto.empresa = Empresa.toDto(dto.empresa, "FamiliaProduto");
@@ -5747,7 +6328,7 @@ class FamiliaProduto {
5747
6328
  }
5748
6329
  }
5749
6330
 
5750
- const moment$h = _moment;
6331
+ const moment$i = _moment;
5751
6332
  class Produto {
5752
6333
  constructor() {
5753
6334
  this.produtoMisto = false;
@@ -5755,8 +6336,8 @@ class Produto {
5755
6336
  }
5756
6337
  static fromDto(produtoDto, originEntity) {
5757
6338
  const model = Object.assign({}, produtoDto);
5758
- model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
5759
- model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
6339
+ model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
6340
+ model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
5760
6341
  const lookupSeparator = " - ";
5761
6342
  const displayFields = [
5762
6343
  "codigo",
@@ -5777,8 +6358,8 @@ class Produto {
5777
6358
  }
5778
6359
  static toDto(produto, originEntity) {
5779
6360
  const dto = Object.assign({}, produto);
5780
- dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
5781
- dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
6361
+ dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
6362
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
5782
6363
  delete dto.label;
5783
6364
  if (originEntity !== "Empresa" && dto.empresa)
5784
6365
  dto.empresa = Empresa.toDto(dto.empresa, "Produto");
@@ -5794,7 +6375,7 @@ class Produto {
5794
6375
  }
5795
6376
  }
5796
6377
 
5797
- const moment$i = _moment;
6378
+ const moment$j = _moment;
5798
6379
  /*{CA:PROJECT_IMPORTS:START}*/
5799
6380
  /*{CA:PROJECT_IMPORTS:END}*/
5800
6381
  class Derivacao {
@@ -5802,8 +6383,8 @@ class Derivacao {
5802
6383
  /*{CA:CLASS_ATTRIBUTES:END}*/
5803
6384
  static fromDto(derivacaoDto, originEntity) {
5804
6385
  const model = Object.assign({}, derivacaoDto);
5805
- model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
5806
- model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
6386
+ model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
6387
+ model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
5807
6388
  const lookupSeparator = " - ";
5808
6389
  const displayFields = ["codigo", "descricao"];
5809
6390
  model.label = getLookupLabel(model, displayFields, lookupSeparator);
@@ -5815,8 +6396,8 @@ class Derivacao {
5815
6396
  }
5816
6397
  static toDto(derivacao, originEntity) {
5817
6398
  const dto = Object.assign({}, derivacao);
5818
- dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
5819
- dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
6399
+ dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
6400
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
5820
6401
  delete dto.label;
5821
6402
  if (originEntity !== "Empresa" && dto.empresa)
5822
6403
  dto.empresa = Empresa.toDto(dto.empresa, "Derivacao");
@@ -5828,7 +6409,7 @@ class Derivacao {
5828
6409
  /*{CA:FILE_CONTENTS:START}*/
5829
6410
  /*{CA:FILE_CONTENTS:END}*/
5830
6411
 
5831
- const moment$j = _moment;
6412
+ const moment$k = _moment;
5832
6413
  /*{CA:PROJECT_IMPORTS:START}*/
5833
6414
  /*{CA:PROJECT_IMPORTS:END}*/
5834
6415
  class Transportadora {
@@ -5836,8 +6417,8 @@ class Transportadora {
5836
6417
  /*{CA:CLASS_ATTRIBUTES:END}*/
5837
6418
  static fromDto(transportadoraDto, originEntity) {
5838
6419
  const model = Object.assign({}, transportadoraDto);
5839
- model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
5840
- model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
6420
+ model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
6421
+ model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
5841
6422
  const lookupSeparator = " - ";
5842
6423
  const displayFields = [
5843
6424
  "codigo", "pessoa.nome", "pessoa.cpfCnpj"
@@ -5851,8 +6432,8 @@ class Transportadora {
5851
6432
  }
5852
6433
  static toDto(transportadora, originEntity) {
5853
6434
  const dto = Object.assign({}, transportadora);
5854
- dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
5855
- dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
6435
+ dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
6436
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
5856
6437
  delete dto.label;
5857
6438
  if (originEntity !== "Pessoa" && dto.pessoa)
5858
6439
  dto.pessoa = Pessoa.toDto(dto.pessoa, "Transportadora");
@@ -5864,7 +6445,7 @@ class Transportadora {
5864
6445
  /*{CA:FILE_CONTENTS:START}*/
5865
6446
  /*{CA:FILE_CONTENTS:END}*/
5866
6447
 
5867
- const moment$k = _moment;
6448
+ const moment$l = _moment;
5868
6449
  /*{CA:PROJECT_IMPORTS:START}*/
5869
6450
  /*{CA:PROJECT_IMPORTS:END}*/
5870
6451
  class Devolucao {
@@ -5872,8 +6453,8 @@ class Devolucao {
5872
6453
  /*{CA:CLASS_ATTRIBUTES:END}*/
5873
6454
  static fromDto(devolucaoDto, originEntity) {
5874
6455
  const model = Object.assign({}, devolucaoDto);
5875
- model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
5876
- model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
6456
+ model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
6457
+ model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
5877
6458
  const lookupSeparator = " - ";
5878
6459
  const displayFields = [
5879
6460
  ''
@@ -5897,8 +6478,8 @@ class Devolucao {
5897
6478
  }
5898
6479
  static toDto(devolucao, originEntity) {
5899
6480
  const dto = Object.assign({}, devolucao);
5900
- dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
5901
- dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
6481
+ dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
6482
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
5902
6483
  delete dto.label;
5903
6484
  if (originEntity !== "Pessoa" && dto.fornecedor)
5904
6485
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Devolucao");
@@ -6549,7 +7130,7 @@ DevolucaoFormComponent = __decorate([
6549
7130
  ActivatedRoute,
6550
7131
  DevolucaoChegadaVeiculoOverride,
6551
7132
  ConfirmationService,
6552
- AgendaService,
7133
+ AgendaService$1,
6553
7134
  ErpProcessService,
6554
7135
  ErpFormConfigService,
6555
7136
  HasChangeService])
@@ -6636,7 +7217,7 @@ DevolucaoInfoComponent = __decorate([
6636
7217
 
6637
7218
  /*{CA:PACKAGE_IMPORTS:START}*/
6638
7219
  /*{CA:PACKAGE_IMPORTS:END}*/
6639
- const moment$l = _moment;
7220
+ const moment$m = _moment;
6640
7221
  /*{CA:PROJECT_IMPORTS:START}*/
6641
7222
  /*{CA:PROJECT_IMPORTS:END}*/
6642
7223
  class Expedicao {
@@ -6644,8 +7225,8 @@ class Expedicao {
6644
7225
  /*{CA:CLASS_ATTRIBUTES:END}*/
6645
7226
  static fromDto(expedicaoDto, originEntity) {
6646
7227
  const model = Object.assign({}, expedicaoDto);
6647
- model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
6648
- model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
7228
+ model.createdDate = model.createdDate && moment$m(model.createdDate).toDate();
7229
+ model.lastModifiedDate = model.lastModifiedDate && moment$m(model.lastModifiedDate).toDate();
6649
7230
  const lookupSeparator = " - ";
6650
7231
  const displayFields = [
6651
7232
  "id",
@@ -6684,8 +7265,8 @@ class Expedicao {
6684
7265
  }
6685
7266
  static toDto(expedicao, originEntity) {
6686
7267
  const dto = Object.assign({}, expedicao);
6687
- dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
6688
- dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
7268
+ dto.createdDate = dto.createdDate && moment$m(dto.createdDate).format();
7269
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$m(dto.lastModifiedDate).format();
6689
7270
  delete dto.label;
6690
7271
  if (originEntity !== "Pessoa" && dto.clienteFaturamento)
6691
7272
  dto.clienteFaturamento = Pessoa.toDto(dto.clienteFaturamento, "Recebimento");
@@ -6701,7 +7282,7 @@ class Expedicao {
6701
7282
  }
6702
7283
  }
6703
7284
 
6704
- const moment$m = _moment;
7285
+ const moment$n = _moment;
6705
7286
  let ExpedicaoFormComponent = class ExpedicaoFormComponent {
6706
7287
  constructor(expedicaoService, router, route, messageService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, pessoaService, filialService, transportadoraService, pedidoVendaService, pedidoVendaItemService, agendaService, override, confirmationService, erpProcessService, erpFormConfigService, hasChangeService) {
6707
7288
  this.expedicaoService = expedicaoService;
@@ -7225,11 +7806,11 @@ let ExpedicaoFormComponent = class ExpedicaoFormComponent {
7225
7806
  if (typeof value == "number")
7226
7807
  return `${name} eq ${value}`;
7227
7808
  else if (type == FieldType.Date)
7228
- return `${name} eq '${moment$m(value).format("YYYY-MM-DD")}'`;
7809
+ return `${name} eq '${moment$n(value).format("YYYY-MM-DD")}'`;
7229
7810
  else if (type == FieldType.Time)
7230
- return `${name} eq '${moment$m(value).format("HH:mm:ss")}'`;
7811
+ return `${name} eq '${moment$n(value).format("HH:mm:ss")}'`;
7231
7812
  else if (type == FieldType.DateTime)
7232
- return `${name} eq '${moment$m(value).format()}'`;
7813
+ return `${name} eq '${moment$n(value).format()}'`;
7233
7814
  else if (type == FieldType.Enum)
7234
7815
  return `${name} eq '${value}'`;
7235
7816
  else if (type == FieldType.String)
@@ -7275,11 +7856,11 @@ let ExpedicaoFormComponent = class ExpedicaoFormComponent {
7275
7856
  if (typeof value == "number")
7276
7857
  return `${name} eq ${value}`;
7277
7858
  else if (type == FieldType.Date)
7278
- return `${name} eq '${moment$m(value).format("YYYY-MM-DD")}'`;
7859
+ return `${name} eq '${moment$n(value).format("YYYY-MM-DD")}'`;
7279
7860
  else if (type == FieldType.Time)
7280
- return `${name} eq '${moment$m(value).format("HH:mm:ss")}'`;
7861
+ return `${name} eq '${moment$n(value).format("HH:mm:ss")}'`;
7281
7862
  else if (type == FieldType.DateTime)
7282
- return `${name} eq '${moment$m(value).format()}'`;
7863
+ return `${name} eq '${moment$n(value).format()}'`;
7283
7864
  else if (type == FieldType.Enum)
7284
7865
  return `${name} eq '${value}'`;
7285
7866
  else if (type == FieldType.String)
@@ -7383,11 +7964,11 @@ let ExpedicaoFormComponent = class ExpedicaoFormComponent {
7383
7964
  if (typeof value == "number")
7384
7965
  return `${name} eq ${value}`;
7385
7966
  else if (type == FieldType.Date)
7386
- return `${name} eq '${moment$m(value).format("YYYY-MM-DD")}'`;
7967
+ return `${name} eq '${moment$n(value).format("YYYY-MM-DD")}'`;
7387
7968
  else if (type == FieldType.Time)
7388
- return `${name} eq '${moment$m(value).format("HH:mm:ss")}'`;
7969
+ return `${name} eq '${moment$n(value).format("HH:mm:ss")}'`;
7389
7970
  else if (type == FieldType.DateTime)
7390
- return `${name} eq '${moment$m(value).format()}'`;
7971
+ return `${name} eq '${moment$n(value).format()}'`;
7391
7972
  else if (type == FieldType.String)
7392
7973
  return `containing(lower(${name}), lower('${value.replace(/'/g, "\\'")}'))`;
7393
7974
  else
@@ -7563,11 +8144,11 @@ let ExpedicaoFormComponent = class ExpedicaoFormComponent {
7563
8144
  if (typeof value == "number")
7564
8145
  return `${name} eq ${value}`;
7565
8146
  else if (type == FieldType.Date)
7566
- return `${name} eq '${moment$m(value).format("YYYY-MM-DD")}'`;
8147
+ return `${name} eq '${moment$n(value).format("YYYY-MM-DD")}'`;
7567
8148
  else if (type == FieldType.Time)
7568
- return `${name} eq '${moment$m(value).format("HH:mm:ss")}'`;
8149
+ return `${name} eq '${moment$n(value).format("HH:mm:ss")}'`;
7569
8150
  else if (type == FieldType.DateTime)
7570
- return `${name} eq '${moment$m(value).format()}'`;
8151
+ return `${name} eq '${moment$n(value).format()}'`;
7571
8152
  else if (type == FieldType.String)
7572
8153
  return `containing(lower(${name}), lower('${value.replace(/'/g, "\\'")}'))`;
7573
8154
  else
@@ -7604,11 +8185,11 @@ let ExpedicaoFormComponent = class ExpedicaoFormComponent {
7604
8185
  if (typeof value == "number")
7605
8186
  return `${name} eq ${value}`;
7606
8187
  else if (type == FieldType.Date)
7607
- return `${name} eq '${moment$m(value).format("YYYY-MM-DD")}'`;
8188
+ return `${name} eq '${moment$n(value).format("YYYY-MM-DD")}'`;
7608
8189
  else if (type == FieldType.Time)
7609
- return `${name} eq '${moment$m(value).format("HH:mm:ss")}'`;
8190
+ return `${name} eq '${moment$n(value).format("HH:mm:ss")}'`;
7610
8191
  else if (type == FieldType.DateTime)
7611
- return `${name} eq '${moment$m(value).format()}'`;
8192
+ return `${name} eq '${moment$n(value).format()}'`;
7612
8193
  else if (type == FieldType.Enum)
7613
8194
  return `${name} eq '${value}'`;
7614
8195
  else if (type == FieldType.String)
@@ -8091,7 +8672,7 @@ ExpedicaoFormComponent = __decorate([
8091
8672
  TransportadoraService,
8092
8673
  PedidoVendaService,
8093
8674
  PedidoVendaItemService,
8094
- AgendaService,
8675
+ AgendaService$1,
8095
8676
  ExpedicaoChegadaVeiculoOverride,
8096
8677
  ConfirmationService,
8097
8678
  ErpProcessService,
@@ -8371,7 +8952,7 @@ let ProcessoAvulsoChegadaVeiculoOverride = class ProcessoAvulsoChegadaVeiculoOve
8371
8952
  ProcessoAvulsoChegadaVeiculoOverride = __decorate([
8372
8953
  Injectable(),
8373
8954
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
8374
- AgendaService,
8955
+ AgendaService$1,
8375
8956
  ProcessoAvulsoService])
8376
8957
  ], ProcessoAvulsoChegadaVeiculoOverride);
8377
8958
 
@@ -8651,7 +9232,7 @@ ProcessoAvulsoFormComponent = __decorate([
8651
9232
  ProcessoAvulsoChegadaVeiculoOverride,
8652
9233
  TranslateService,
8653
9234
  ConfirmationService,
8654
- AgendaService,
9235
+ AgendaService$1,
8655
9236
  ErpProcessService,
8656
9237
  ErpFormConfigService,
8657
9238
  HasChangeService])
@@ -8698,7 +9279,7 @@ ProcessoAvulsoInfoComponent = __decorate([
8698
9279
  __metadata("design:paramtypes", [ProcessoAvulsoService])
8699
9280
  ], ProcessoAvulsoInfoComponent);
8700
9281
 
8701
- const moment$n = _moment;
9282
+ const moment$o = _moment;
8702
9283
  /*{CA:PROJECT_IMPORTS:START}*/
8703
9284
  /*{CA:PROJECT_IMPORTS:END}*/
8704
9285
  class Safra {
@@ -8706,10 +9287,10 @@ class Safra {
8706
9287
  /*{CA:CLASS_ATTRIBUTES:END}*/
8707
9288
  static fromDto(safraDto, originEntity) {
8708
9289
  const model = Object.assign({}, safraDto);
8709
- model.competenciaInicial = model.competenciaInicial && moment$n(model.competenciaInicial).toDate();
8710
- model.competenciaFinal = model.competenciaFinal && moment$n(model.competenciaFinal).toDate();
8711
- model.createdDate = model.createdDate && moment$n(model.createdDate).toDate();
8712
- model.lastModifiedDate = model.lastModifiedDate && moment$n(model.lastModifiedDate).toDate();
9290
+ model.competenciaInicial = model.competenciaInicial && moment$o(model.competenciaInicial).toDate();
9291
+ model.competenciaFinal = model.competenciaFinal && moment$o(model.competenciaFinal).toDate();
9292
+ model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
9293
+ model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
8713
9294
  const lookupSeparator = " - ";
8714
9295
  const displayFields = [
8715
9296
  "codigo",
@@ -8722,10 +9303,10 @@ class Safra {
8722
9303
  }
8723
9304
  static toDto(safra, originEntity) {
8724
9305
  const dto = Object.assign({}, safra);
8725
- dto.competenciaInicial = dto.competenciaInicial && moment$n(dto.competenciaInicial).format("YYYY-MM-DD");
8726
- dto.competenciaFinal = dto.competenciaFinal && moment$n(dto.competenciaFinal).format("YYYY-MM-DD");
8727
- dto.createdDate = dto.createdDate && moment$n(dto.createdDate).format();
8728
- dto.lastModifiedDate = dto.lastModifiedDate && moment$n(dto.lastModifiedDate).format();
9306
+ dto.competenciaInicial = dto.competenciaInicial && moment$o(dto.competenciaInicial).format("YYYY-MM-DD");
9307
+ dto.competenciaFinal = dto.competenciaFinal && moment$o(dto.competenciaFinal).format("YYYY-MM-DD");
9308
+ dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
9309
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
8729
9310
  delete dto.label;
8730
9311
  if (originEntity !== "Empresa" && dto.empresa)
8731
9312
  dto.empresa = Empresa.toDto(dto.empresa, "Safra");
@@ -8737,7 +9318,7 @@ class Safra {
8737
9318
 
8738
9319
  /*{CA:PACKAGE_IMPORTS:START}*/
8739
9320
  /*{CA:PACKAGE_IMPORTS:END}*/
8740
- const moment$o = _moment;
9321
+ const moment$p = _moment;
8741
9322
  /*{CA:PROJECT_IMPORTS:START}*/
8742
9323
  /*{CA:PROJECT_IMPORTS:END}*/
8743
9324
  class RecebimentoOrdemCompra {
@@ -8745,8 +9326,8 @@ class RecebimentoOrdemCompra {
8745
9326
  /*{CA:CLASS_ATTRIBUTES:END}*/
8746
9327
  static fromDto(recebimentoOrdemCompraDto, originEntity) {
8747
9328
  const model = Object.assign({}, recebimentoOrdemCompraDto);
8748
- model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
8749
- model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
9329
+ model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
9330
+ model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
8750
9331
  const lookupSeparator = " - ";
8751
9332
  const displayFields = [
8752
9333
  ''
@@ -8775,8 +9356,8 @@ class RecebimentoOrdemCompra {
8775
9356
  }
8776
9357
  static toDto(recebimentoOrdemCompra, originEntity) {
8777
9358
  const dto = Object.assign({}, recebimentoOrdemCompra);
8778
- dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
8779
- dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
9359
+ dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
9360
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
8780
9361
  delete dto.label;
8781
9362
  if (originEntity !== "Agenda" && dto.agenda)
8782
9363
  dto.agenda = Agenda.toDto(dto.agenda, "RecebimentoOrdemCompra");
@@ -8834,7 +9415,7 @@ let RecebimentoOrdemCompraChegadaVeiculoOverride = class RecebimentoOrdemCompraC
8834
9415
  RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
8835
9416
  Injectable(),
8836
9417
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
8837
- AgendaService,
9418
+ AgendaService$1,
8838
9419
  RecebimentoOrdemCompraService])
8839
9420
  ], RecebimentoOrdemCompraChegadaVeiculoOverride);
8840
9421
 
@@ -9933,7 +10514,7 @@ RecebimentoOrdemCompraFormComponent = __decorate([
9933
10514
  NotaValidatorService,
9934
10515
  ConfirmationService,
9935
10516
  DialogService,
9936
- AgendaService,
10517
+ AgendaService$1,
9937
10518
  ErpProcessService,
9938
10519
  ErpFormConfigService,
9939
10520
  VerificaNotafiscal,
@@ -10048,7 +10629,7 @@ RecebimentoOrdemCompraInfoComponent = __decorate([
10048
10629
  __metadata("design:paramtypes", [RecebimentoOrdemCompraService])
10049
10630
  ], RecebimentoOrdemCompraInfoComponent);
10050
10631
 
10051
- const moment$p = _moment;
10632
+ const moment$q = _moment;
10052
10633
  /*{CA:PROJECT_IMPORTS:START}*/
10053
10634
  /*{CA:PROJECT_IMPORTS:END}*/
10054
10635
  class ContratoCompra {
@@ -10056,11 +10637,11 @@ class ContratoCompra {
10056
10637
  /*{CA:CLASS_ATTRIBUTES:END}*/
10057
10638
  static fromDto(contratoCompraDto, originEntity) {
10058
10639
  const model = Object.assign({}, contratoCompraDto);
10059
- model.dataEmissao = model.dataEmissao && moment$p(model.dataEmissao).toDate();
10060
- model.dataInicioVigencia = model.dataInicioVigencia && moment$p(model.dataInicioVigencia).toDate();
10061
- model.dataFimVigencia = model.dataFimVigencia && moment$p(model.dataFimVigencia).toDate();
10062
- model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
10063
- model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
10640
+ model.dataEmissao = model.dataEmissao && moment$q(model.dataEmissao).toDate();
10641
+ model.dataInicioVigencia = model.dataInicioVigencia && moment$q(model.dataInicioVigencia).toDate();
10642
+ model.dataFimVigencia = model.dataFimVigencia && moment$q(model.dataFimVigencia).toDate();
10643
+ model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
10644
+ model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
10064
10645
  model.label = `Número: ${model.numero}, Filial: ${model.filial.codigo}`;
10065
10646
  if (originEntity !== "Empresa" && model.empresa)
10066
10647
  model.empresa = Empresa.fromDto(model.empresa, "ContratoCompra");
@@ -10076,11 +10657,11 @@ class ContratoCompra {
10076
10657
  }
10077
10658
  static toDto(contratoCompra, originEntity) {
10078
10659
  const dto = Object.assign({}, contratoCompra);
10079
- dto.dataEmissao = dto.dataEmissao && moment$p(dto.dataEmissao).format("YYYY-MM-DD");
10080
- dto.dataInicioVigencia = dto.dataInicioVigencia && moment$p(dto.dataInicioVigencia).format("YYYY-MM-DD");
10081
- dto.dataFimVigencia = dto.dataFimVigencia && moment$p(dto.dataFimVigencia).format("YYYY-MM-DD");
10082
- dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
10083
- dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
10660
+ dto.dataEmissao = dto.dataEmissao && moment$q(dto.dataEmissao).format("YYYY-MM-DD");
10661
+ dto.dataInicioVigencia = dto.dataInicioVigencia && moment$q(dto.dataInicioVigencia).format("YYYY-MM-DD");
10662
+ dto.dataFimVigencia = dto.dataFimVigencia && moment$q(dto.dataFimVigencia).format("YYYY-MM-DD");
10663
+ dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
10664
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
10084
10665
  delete dto.label;
10085
10666
  if (originEntity !== "Empresa" && dto.empresa)
10086
10667
  dto.empresa = Empresa.toDto(dto.empresa, "ContratoCompra");
@@ -10100,7 +10681,7 @@ class ContratoCompra {
10100
10681
  /*{CA:FILE_CONTENTS:START}*/
10101
10682
  /*{CA:FILE_CONTENTS:END}*/
10102
10683
 
10103
- const moment$q = _moment;
10684
+ const moment$r = _moment;
10104
10685
  /*{CA:PROJECT_IMPORTS:START}*/
10105
10686
  /*{CA:PROJECT_IMPORTS:END}*/
10106
10687
  class ContratoCompraItem {
@@ -10109,9 +10690,9 @@ class ContratoCompraItem {
10109
10690
  static fromDto(contratoCompraItemDto, originEntity) {
10110
10691
  const model = Object.assign({}, contratoCompraItemDto);
10111
10692
  model.sku = model.sku || {};
10112
- model.dataCompetencia = model.dataCompetencia && moment$q(model.dataCompetencia).toDate();
10113
- model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
10114
- model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
10693
+ model.dataCompetencia = model.dataCompetencia && moment$r(model.dataCompetencia).toDate();
10694
+ model.createdDate = model.createdDate && moment$r(model.createdDate).toDate();
10695
+ model.lastModifiedDate = model.lastModifiedDate && moment$r(model.lastModifiedDate).toDate();
10115
10696
  model.label = `${model.sequencia} - ${model.sku.descricao} - ${model.sku.codigo}`;
10116
10697
  if (originEntity !== "ContratoCompra" && model.contrato)
10117
10698
  model.contrato = ContratoCompra.fromDto(model.contrato, "ContratoCompraItem");
@@ -10121,9 +10702,9 @@ class ContratoCompraItem {
10121
10702
  }
10122
10703
  static toDto(contratoCompraItem, originEntity) {
10123
10704
  const dto = Object.assign({}, contratoCompraItem);
10124
- dto.dataCompetencia = dto.dataCompetencia && moment$q(dto.dataCompetencia).format("YYYY-MM-DD");
10125
- dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
10126
- dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
10705
+ dto.dataCompetencia = dto.dataCompetencia && moment$r(dto.dataCompetencia).format("YYYY-MM-DD");
10706
+ dto.createdDate = dto.createdDate && moment$r(dto.createdDate).format();
10707
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$r(dto.lastModifiedDate).format();
10127
10708
  delete dto.label;
10128
10709
  if (originEntity !== "ContratoCompra" && dto.contrato)
10129
10710
  dto.contrato = ContratoCompra.toDto(dto.contrato, "ContratoCompraItem");
@@ -10135,7 +10716,7 @@ class ContratoCompraItem {
10135
10716
  /*{CA:FILE_CONTENTS:START}*/
10136
10717
  /*{CA:FILE_CONTENTS:END}*/
10137
10718
 
10138
- const moment$r = _moment;
10719
+ const moment$s = _moment;
10139
10720
  let ContratoFormComponent = class ContratoFormComponent {
10140
10721
  constructor(dialogRef, dialogConfig, contratoCompraService, contratoCompraItemService, translate, fb, route) {
10141
10722
  this.dialogRef = dialogRef;
@@ -10219,7 +10800,7 @@ let ContratoFormComponent = class ContratoFormComponent {
10219
10800
  if (filial && filial.empresa && filial.empresa.id) {
10220
10801
  filter.empresaId = filial.empresa.id;
10221
10802
  }
10222
- filter.dataEmissao = filter.dataEmissao && moment$r(filter.dataEmissao).format("YYYY-MM-DD");
10803
+ filter.dataEmissao = filter.dataEmissao && moment$s(filter.dataEmissao).format("YYYY-MM-DD");
10223
10804
  const sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
10224
10805
  this.contratoCompraService
10225
10806
  .listContratosCompra(Object.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: {
@@ -10441,12 +11022,12 @@ class Transgenia {
10441
11022
  }
10442
11023
  }
10443
11024
 
10444
- const moment$s = _moment;
11025
+ const moment$t = _moment;
10445
11026
  class RecebimentoContrato {
10446
11027
  static fromDto(recebimentoDto, originEntity) {
10447
11028
  const model = Object.assign({}, recebimentoDto);
10448
- model.createdDate = model.createdDate && moment$s(model.createdDate).toDate();
10449
- model.lastModifiedDate = model.lastModifiedDate && moment$s(model.lastModifiedDate).toDate();
11029
+ model.createdDate = model.createdDate && moment$t(model.createdDate).toDate();
11030
+ model.lastModifiedDate = model.lastModifiedDate && moment$t(model.lastModifiedDate).toDate();
10450
11031
  const lookupSeparator = " - ";
10451
11032
  const displayFields = [
10452
11033
  "id",
@@ -10495,8 +11076,8 @@ class RecebimentoContrato {
10495
11076
  }
10496
11077
  static toDto(recebimento, originEntity) {
10497
11078
  const dto = Object.assign({}, recebimento);
10498
- dto.createdDate = dto.createdDate && moment$s(dto.createdDate).format();
10499
- dto.lastModifiedDate = dto.lastModifiedDate && moment$s(dto.lastModifiedDate).format();
11079
+ dto.createdDate = dto.createdDate && moment$t(dto.createdDate).format();
11080
+ dto.lastModifiedDate = dto.lastModifiedDate && moment$t(dto.lastModifiedDate).format();
10500
11081
  delete dto.label;
10501
11082
  if (originEntity !== "Pessoa" && dto.fornecedor)
10502
11083
  dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Recebimento");
@@ -10529,7 +11110,7 @@ var Situacao;
10529
11110
  Situacao["ATIVO"] = "ATIVO";
10530
11111
  })(Situacao || (Situacao = {}));
10531
11112
 
10532
- const moment$t = _moment;
11113
+ const moment$u = _moment;
10533
11114
  let RecebimentoFormComponent = class RecebimentoFormComponent {
10534
11115
  constructor(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) {
10535
11116
  this.recebimentoService = recebimentoService;
@@ -11172,11 +11753,11 @@ let RecebimentoFormComponent = class RecebimentoFormComponent {
11172
11753
  if (typeof value == "number")
11173
11754
  return `${name} eq ${value}`;
11174
11755
  else if (type == FieldType.Date)
11175
- return `${name} eq '${moment$t(value).format("YYYY-MM-DD")}'`;
11756
+ return `${name} eq '${moment$u(value).format("YYYY-MM-DD")}'`;
11176
11757
  else if (type == FieldType.Time)
11177
- return `${name} eq '${moment$t(value).format("HH:mm:ss")}'`;
11758
+ return `${name} eq '${moment$u(value).format("HH:mm:ss")}'`;
11178
11759
  else if (type == FieldType.DateTime)
11179
- return `${name} eq '${moment$t(value).format()}'`;
11760
+ return `${name} eq '${moment$u(value).format()}'`;
11180
11761
  else if (type == FieldType.String)
11181
11762
  return `containing(lower(${name}), lower('${value.replace(/'/g, "\\'")}'))`;
11182
11763
  else
@@ -11210,11 +11791,11 @@ let RecebimentoFormComponent = class RecebimentoFormComponent {
11210
11791
  if (typeof value == "number")
11211
11792
  return `${name} eq ${value}`;
11212
11793
  else if (type == FieldType.Date)
11213
- return `${name} eq '${moment$t(value).format("YYYY-MM-DD")}'`;
11794
+ return `${name} eq '${moment$u(value).format("YYYY-MM-DD")}'`;
11214
11795
  else if (type == FieldType.Time)
11215
- return `${name} eq '${moment$t(value).format("HH:mm:ss")}'`;
11796
+ return `${name} eq '${moment$u(value).format("HH:mm:ss")}'`;
11216
11797
  else if (type == FieldType.DateTime)
11217
- return `${name} eq '${moment$t(value).format()}'`;
11798
+ return `${name} eq '${moment$u(value).format()}'`;
11218
11799
  else if (type == FieldType.Enum)
11219
11800
  return `${name} eq '${value}'`;
11220
11801
  else if (type == FieldType.String)
@@ -11251,11 +11832,11 @@ let RecebimentoFormComponent = class RecebimentoFormComponent {
11251
11832
  if (typeof value == "number")
11252
11833
  return `${name} eq ${value}`;
11253
11834
  else if (type == FieldType.Date)
11254
- return `${name} eq '${moment$t(value).format("YYYY-MM-DD")}'`;
11835
+ return `${name} eq '${moment$u(value).format("YYYY-MM-DD")}'`;
11255
11836
  else if (type == FieldType.Time)
11256
- return `${name} eq '${moment$t(value).format("HH:mm:ss")}'`;
11837
+ return `${name} eq '${moment$u(value).format("HH:mm:ss")}'`;
11257
11838
  else if (type == FieldType.DateTime)
11258
- return `${name} eq '${moment$t(value).format()}'`;
11839
+ return `${name} eq '${moment$u(value).format()}'`;
11259
11840
  else if (type == FieldType.String)
11260
11841
  return `containing(lower(${name}), lower('${value.replace(/'/g, "\\'")}'))`;
11261
11842
  else
@@ -11290,11 +11871,11 @@ let RecebimentoFormComponent = class RecebimentoFormComponent {
11290
11871
  if (typeof value == "number")
11291
11872
  return `${name} eq ${value}`;
11292
11873
  else if (type == FieldType.Date)
11293
- return `${name} eq '${moment$t(value).format("YYYY-MM-DD")}'`;
11874
+ return `${name} eq '${moment$u(value).format("YYYY-MM-DD")}'`;
11294
11875
  else if (type == FieldType.Time)
11295
- return `${name} eq '${moment$t(value).format("HH:mm:ss")}'`;
11876
+ return `${name} eq '${moment$u(value).format("HH:mm:ss")}'`;
11296
11877
  else if (type == FieldType.DateTime)
11297
- return `${name} eq '${moment$t(value).format()}'`;
11878
+ return `${name} eq '${moment$u(value).format()}'`;
11298
11879
  else if (type == FieldType.Enum)
11299
11880
  return `${name} eq '${value}'`;
11300
11881
  else if (type == FieldType.String)
@@ -11379,11 +11960,11 @@ let RecebimentoFormComponent = class RecebimentoFormComponent {
11379
11960
  if (typeof value == "number")
11380
11961
  return `${name} eq ${value}`;
11381
11962
  else if (type == FieldType.Date)
11382
- return `${name} eq '${moment$t(value).format("YYYY-MM-DD")}'`;
11963
+ return `${name} eq '${moment$u(value).format("YYYY-MM-DD")}'`;
11383
11964
  else if (type == FieldType.Time)
11384
- return `${name} eq '${moment$t(value).format("HH:mm:ss")}'`;
11965
+ return `${name} eq '${moment$u(value).format("HH:mm:ss")}'`;
11385
11966
  else if (type == FieldType.DateTime)
11386
- return `${name} eq '${moment$t(value).format()}'`;
11967
+ return `${name} eq '${moment$u(value).format()}'`;
11387
11968
  else if (type == FieldType.String)
11388
11969
  return `containing(lower(${name}), lower('${value.replace(/'/g, "\\'")}'))`;
11389
11970
  else
@@ -11416,11 +11997,11 @@ let RecebimentoFormComponent = class RecebimentoFormComponent {
11416
11997
  if (typeof value == "number")
11417
11998
  return `${name} eq ${value}`;
11418
11999
  else if (type == FieldType.Date)
11419
- return `${name} eq '${moment$t(value).format("YYYY-MM-DD")}'`;
12000
+ return `${name} eq '${moment$u(value).format("YYYY-MM-DD")}'`;
11420
12001
  else if (type == FieldType.Time)
11421
- return `${name} eq '${moment$t(value).format("HH:mm:ss")}'`;
12002
+ return `${name} eq '${moment$u(value).format("HH:mm:ss")}'`;
11422
12003
  else if (type == FieldType.DateTime)
11423
- return `${name} eq '${moment$t(value).format()}'`;
12004
+ return `${name} eq '${moment$u(value).format()}'`;
11424
12005
  else if (type == FieldType.Enum)
11425
12006
  return `${name} eq '${value}'`;
11426
12007
  else if (type == FieldType.String)
@@ -11463,11 +12044,11 @@ let RecebimentoFormComponent = class RecebimentoFormComponent {
11463
12044
  if (typeof value == "number")
11464
12045
  return `${name} eq ${value}`;
11465
12046
  else if (type == FieldType.Date)
11466
- return `${name} eq '${moment$t(value).format("YYYY-MM-DD")}'`;
12047
+ return `${name} eq '${moment$u(value).format("YYYY-MM-DD")}'`;
11467
12048
  else if (type == FieldType.Time)
11468
- return `${name} eq '${moment$t(value).format("HH:mm:ss")}'`;
12049
+ return `${name} eq '${moment$u(value).format("HH:mm:ss")}'`;
11469
12050
  else if (type == FieldType.DateTime)
11470
- return `${name} eq '${moment$t(value).format()}'`;
12051
+ return `${name} eq '${moment$u(value).format()}'`;
11471
12052
  else if (type == FieldType.Enum)
11472
12053
  return `${name} eq '${value}'`;
11473
12054
  else if (type == FieldType.String)
@@ -12202,7 +12783,7 @@ RecebimentoFormComponent = __decorate([
12202
12783
  NotaValidatorService,
12203
12784
  TransgeniaService,
12204
12785
  DialogService,
12205
- AgendaService,
12786
+ AgendaService$1,
12206
12787
  ErpProcessService,
12207
12788
  ErpFormConfigService,
12208
12789
  VerificaNotafiscal,
@@ -12433,5 +13014,5 @@ DockModule = __decorate([
12433
13014
  })
12434
13015
  ], DockModule);
12435
13016
 
12436
- export { AgendaModule, AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, ERP_ENVIRONMENT, ERP_SENIOR_HEADER, EmpresaModule, EmpresaService, ErpFormConfigService, ErpProcessData, ErpProcessService, ErpSeniorModule, EstadoModule, EstadoService, ExpedicaoChegadaVeiculoOverride, ExpedicaoModule, ExpedicaoService, FamiliaProdutoModule, FamiliaProdutoService, FieldCustomizationService, FilialModule, FilialService, FormComponent, FormDescritor, FormSamComponent, FormSamDescritor, HasChangeService, InfoComponent, InfoDescritor, IntegrationWebSocket, LogsModule, LogsService, LprModule, LprService, PaisModule, PaisService, PedidoVendaItemModule, PedidoVendaItemService, PedidoVendaModule, PedidoVendaService, PessoaEnderecoModule, PessoaEnderecoService, PessoaFisicaModule, PessoaFisicaService, PessoaJuridicaModule, PessoaJuridicaService, PessoaModule, PessoaService, PortariasComponent, PortariasDescritor, PortariasModule, ProdutoModule, ProdutoService, RecebimentoChegadaVeiculoOverride, RecebimentoContratoModule, RecebimentoContratoService, RoyaltyModule, RoyaltyService, SAM_SENIOR_HEADER, SafraModule, SafraService, SamSeniorModule, SnapshotComponent, SnapshotDescritor, TransportadoraModule, TransportadoraService, UnidadeMedidaModule, UnidadeMedidaService, VisitorListComponent, VisitorListModule, VisitorListService, VisualizarBalancaComponent, VisualizarBalancaDescritor, highlightLanguages, Service as ɵa, CustomStompConfig as ɵb, VerificaNotafiscal as ɵba, BuildFormField as ɵbb, ExpedicaoFormComponent as ɵbc, ExpedicaoInfoComponent as ɵbd, RecebimentoInfoComponent as ɵbe, DevolucaoFormComponent as ɵbf, DevolucaoService as ɵbg, DevolucaoChegadaVeiculoOverride as ɵbh, RecebimentoOrdemCompraFormComponent as ɵbi, OrdemCompraService as ɵbj, RecebimentoOrdemCompraService as ɵbk, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbl, RecebimentoOrdemCompraInfoComponent as ɵbm, DevolucaoInfoComponent as ɵbn, ContratoFormComponent as ɵbo, OrdemCompraFormComponent as ɵbp, ProcessoAvulsoFormComponent as ɵbq, ProcessoAvulsoService as ɵbr, ProcessoAvulsoChegadaVeiculoOverride as ɵbs, ProcessoAvulsoInfoComponent as ɵbt, LogIntegracaoDescritor as ɵbu, LogIntegracaoComponent as ɵbv, LogIntegracaoService as ɵbw, DerivacaoModule as ɵbx, DevolucaoModule as ɵby, OrdemCompraModule as ɵbz, ViewImageComponent as ɵc, RecebimentoOrdemCompraModule as ɵca, TransgeniaModule as ɵcb, ProcessoAvulsoModule as ɵcc, LogIntegracaoModule as ɵcd, NotaFormModule as ɵce, NotaFormComponent as ɵcf, LogDescritor as ɵd, LogsComponent as ɵe, PortariasService as ɵf, EntradaComponent as ɵg, AgendasComponent as ɵh, ConfirmacaoComponent as ɵi, VisitedInfoDescritor as ɵj, VisitedInfoComponent as ɵk, VisitedInfoService as ɵl, SchedulingComponent as ɵm, LobbyService as ɵn, EntityService as ɵo, SchedulingService as ɵp, VisitanteComponent as ɵq, VisitanteFormComponent as ɵr, CredencialFormComponent as ɵs, FocusService as ɵt, EntityService$1 as ɵu, IntegrationService as ɵv, RecebimentoFormComponent as ɵw, DerivacaoService as ɵx, NotaValidatorService as ɵy, TransgeniaService as ɵz };
13017
+ export { AgendaModule, AgendaService$1 as AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, ERP_ENVIRONMENT, ERP_SENIOR_HEADER, EmpresaModule, EmpresaService, ErpFormConfigService, ErpProcessData, ErpProcessService, ErpSeniorModule, EstadoModule, EstadoService, ExpedicaoChegadaVeiculoOverride, ExpedicaoModule, ExpedicaoService, FamiliaProdutoModule, FamiliaProdutoService, FieldCustomizationService, FilialModule, FilialService, FormComponent, FormDescritor, FormSamComponent, FormSamDescritor, FormWmsComponent, FormWmsDescritor, HasChangeService, INFORMACAOES_ADICIONAIS_HEADER, InfoComponent, InfoDescritor, IntegrationWebSocket, LogsModule, LogsService, LprModule, LprService, PaisModule, PaisService, PedidoVendaItemModule, PedidoVendaItemService, PedidoVendaModule, PedidoVendaService, PessoaEnderecoModule, PessoaEnderecoService, PessoaFisicaModule, PessoaFisicaService, PessoaJuridicaModule, PessoaJuridicaService, PessoaModule, PessoaService, PortariasComponent, PortariasDescritor, PortariasModule, ProdutoModule, ProdutoService, RecebimentoChegadaVeiculoOverride, RecebimentoContratoModule, RecebimentoContratoService, RoyaltyModule, RoyaltyService, SAM_SENIOR_HEADER, SafraModule, SafraService, SamSeniorModule, SnapshotComponent, SnapshotDescritor, TransportadoraModule, TransportadoraService, UnidadeMedidaModule, UnidadeMedidaService, VisitorListComponent, VisitorListModule, VisitorListService, VisualizarBalancaComponent, VisualizarBalancaDescritor, WmsModule, highlightLanguages, Service as ɵa, CustomStompConfig as ɵb, EntityService$2 as ɵba, EntityService$1 as ɵbb, InsertKeyModule as ɵbc, InsertKeyComponent as ɵbd, IntegrationService as ɵbe, RecebimentoFormComponent as ɵbf, DerivacaoService as ɵbg, NotaValidatorService as ɵbh, TransgeniaService as ɵbi, VerificaNotafiscal as ɵbj, BuildFormField as ɵbk, ExpedicaoFormComponent as ɵbl, ExpedicaoInfoComponent as ɵbm, RecebimentoInfoComponent as ɵbn, DevolucaoFormComponent as ɵbo, DevolucaoService as ɵbp, DevolucaoChegadaVeiculoOverride as ɵbq, RecebimentoOrdemCompraFormComponent as ɵbr, OrdemCompraService as ɵbs, RecebimentoOrdemCompraService as ɵbt, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbu, RecebimentoOrdemCompraInfoComponent as ɵbv, DevolucaoInfoComponent as ɵbw, ContratoFormComponent as ɵbx, OrdemCompraFormComponent as ɵby, ProcessoAvulsoFormComponent as ɵbz, ViewImageComponent as ɵc, ProcessoAvulsoService as ɵca, ProcessoAvulsoChegadaVeiculoOverride as ɵcb, ProcessoAvulsoInfoComponent as ɵcc, LogIntegracaoDescritor as ɵcd, LogIntegracaoComponent as ɵce, LogIntegracaoService as ɵcf, DerivacaoModule as ɵcg, DevolucaoModule as ɵch, OrdemCompraModule as ɵci, RecebimentoOrdemCompraModule as ɵcj, TransgeniaModule as ɵck, ProcessoAvulsoModule as ɵcl, LogIntegracaoModule as ɵcm, NotaFormModule as ɵcn, NotaFormComponent as ɵco, LogDescritor as ɵd, LogsComponent as ɵe, PortariasService as ɵf, EntradaComponent as ɵg, AgendasComponent as ɵh, ConfirmacaoComponent as ɵi, VisitedInfoDescritor as ɵj, VisitedInfoComponent as ɵk, VisitedInfoService as ɵl, SchedulingComponent as ɵm, LobbyService as ɵn, EntityService as ɵo, SchedulingService as ɵp, VisitanteComponent as ɵq, VisitanteFormComponent as ɵr, CredencialFormComponent as ɵs, FocusService as ɵt, DocumentGridModule as ɵu, DocumentGridComponent as ɵv, DocumentService as ɵw, RegisterDocumentModule as ɵx, RegisterDocumentComponent as ɵy, AgendaService as ɵz };
12437
13018
  //# sourceMappingURL=seniorsistemas-yms-integration.js.map