@seniorsistemas/yms-integration 1.27.2 → 1.28.0

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 (27) hide show
  1. package/bundles/seniorsistemas-yms-integration.umd.js +191 -199
  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/seniorsistemas-yms-integration.js +41 -43
  6. package/esm2015/src/wms/components/document-grid/document-grid.component.js +38 -10
  7. package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +2 -2
  8. package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +5 -14
  9. package/esm5/seniorsistemas-yms-integration.js +41 -43
  10. package/esm5/src/wms/components/document-grid/document-grid.component.js +39 -12
  11. package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +2 -2
  12. package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +5 -15
  13. package/fesm2015/seniorsistemas-yms-integration.js +149 -145
  14. package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
  15. package/fesm5/seniorsistemas-yms-integration.js +150 -156
  16. package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
  17. package/package.json +1 -1
  18. package/seniorsistemas-yms-integration.d.ts +40 -42
  19. package/seniorsistemas-yms-integration.metadata.json +1 -1
  20. package/src/wms/components/document-grid/document-grid.component.d.ts +11 -3
  21. package/src/wms/components/document-grid/register-document/register-document.component.d.ts +1 -4
  22. package/esm2015/src/wms/entities/agenda/agenda.service.js +0 -22
  23. package/esm2015/src/wms/entities/entity-service.js +0 -4
  24. package/esm5/src/wms/entities/agenda/agenda.service.js +0 -25
  25. package/esm5/src/wms/entities/entity-service.js +0 -11
  26. package/src/wms/entities/agenda/agenda.service.d.ts +0 -9
  27. package/src/wms/entities/entity-service.d.ts +0 -3
@@ -3148,10 +3148,12 @@ var DocumentGridComponent = /** @class */ (function () {
3148
3148
  this.selection = [];
3149
3149
  }
3150
3150
  DocumentGridComponent.prototype.ngOnInit = function () {
3151
- this.gridColumns = this.getGridColumns();
3152
3151
  this.getProcessTypeByScheduling();
3153
3152
  this.listDocuments();
3154
3153
  };
3154
+ DocumentGridComponent.prototype.ngAfterContentChecked = function () {
3155
+ this.gridColumns = this.getGridColumns();
3156
+ };
3155
3157
  DocumentGridComponent.prototype.getProcessTypeByScheduling = function () {
3156
3158
  var _this = this;
3157
3159
  this.integrationService.getProcessTypeByScheduling(this.agenda.tipoAgendamento.id)
@@ -3165,7 +3167,7 @@ var DocumentGridComponent = /** @class */ (function () {
3165
3167
  var _this = this;
3166
3168
  return [
3167
3169
  {
3168
- label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
3170
+ label: this.translate.instant("yms.int.wms_search"),
3169
3171
  command: function () {
3170
3172
  _this.selection = [];
3171
3173
  _this.visibleInvoiceKey = true;
@@ -3209,7 +3211,7 @@ var DocumentGridComponent = /** @class */ (function () {
3209
3211
  }
3210
3212
  };
3211
3213
  DocumentGridComponent.prototype.updateKeyByWms = function (data) {
3212
- if (data.key === undefined) {
3214
+ if (!data.key) {
3213
3215
  data.key = data.invoiceKey;
3214
3216
  }
3215
3217
  if (this.wmsSystem === WmsSystem.WIS) {
@@ -3269,17 +3271,42 @@ var DocumentGridComponent = /** @class */ (function () {
3269
3271
  });
3270
3272
  };
3271
3273
  DocumentGridComponent.prototype.getGridColumns = function () {
3272
- return [
3273
- { field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
3274
- { field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
3275
- { field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
3276
- { field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
3277
- { field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
3274
+ if (this.isWmsSeniorConnect()) {
3275
+ return __spread([
3276
+ { field: "key", header: this.translate.instant("yms.int.wms_purchaseOrder") }
3277
+ ], this.getColumnPartner());
3278
+ }
3279
+ if (this.isWmsWIS()) {
3280
+ return this.getColumnInvoiceAndlogistcUnit();
3281
+ }
3282
+ return __spread([
3283
+ { field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") }
3284
+ ], this.getColumnInvoiceAndlogistcUnit(), [
3278
3285
  { field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
3279
3286
  { field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
3280
- { field: "code", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
3287
+ ]);
3288
+ };
3289
+ DocumentGridComponent.prototype.getColumnInvoiceAndlogistcUnit = function () {
3290
+ return __spread([
3291
+ { field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
3292
+ { field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") }
3293
+ ], this.getColumnPartner(), [
3294
+ { field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
3295
+ { field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
3296
+ ]);
3297
+ };
3298
+ DocumentGridComponent.prototype.getColumnPartner = function () {
3299
+ return [
3300
+ { field: "partnerName", header: this.translate.instant("yms.int.wms_register_document_partner_name") },
3301
+ { field: "partnerDocument", header: this.translate.instant("yms.int.wms_register_document_partner_document") },
3281
3302
  ];
3282
3303
  };
3304
+ DocumentGridComponent.prototype.isWmsSeniorConnect = function () {
3305
+ return this.wmsSystem === WmsSystem.SENIOR_CONNECT;
3306
+ };
3307
+ DocumentGridComponent.prototype.isWmsWIS = function () {
3308
+ return this.wmsSystem === WmsSystem.WIS;
3309
+ };
3283
3310
  DocumentGridComponent.prototype.message = function (severity, summary, detail) {
3284
3311
  this.messageService.add({
3285
3312
  severity: severity,
@@ -3334,7 +3361,7 @@ var DocumentGridComponent = /** @class */ (function () {
3334
3361
  DocumentGridComponent = __decorate([
3335
3362
  Component({
3336
3363
  selector: 'document-grid',
3337
- template: "<div *ngIf=\"this.processType === 'RECEBIMENTO_WMS'; else processNotConfigured\">\n <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 || selection.length !== 1\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [disabled]=\"!selection || !selection.length\"\n (click)=\"onDelete()\">\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=\"multiple\" [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=\"checkbox\" class=\"table-checkbox\">\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\n </th>\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 class=\"table-checkbox\">\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\n </td>\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[\"key\"] }}</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[\"code\"] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document\n [wmsSystem]=\"wmsSystem\"\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document> \n <insert-key [wmsSystem]=\"wmsSystem\" \n (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n </p-panel>\n</div>\n <div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"disabled || !this.gridData\" (click)=\"save()\">\n </s-button>\n </div>\n <register-document\n [wmsSystem]=\"wmsSystem\"\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document> \n <insert-key [wmsSystem]=\"wmsSystem\" \n (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'detail_empty_state_title' | translate\"\n [description]=\"'detail_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n\n<ng-template #processNotConfigured>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\"\n [title]=\"'yms.int.wms_there_no_process_type_configured_for_this_type_scheduling' | translate\"\n >\n </s-empty-state>\n </div>\n</ng-template>",
3364
+ template: "<div *ngIf=\"this.processType === 'RECEBIMENTO_WMS'; else processNotConfigured\">\n <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 || selection.length !== 1\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [disabled]=\"!selection || !selection.length\"\n (click)=\"onDelete()\">\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=\"multiple\" [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=\"checkbox\" class=\"table-checkbox\">\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\n </th>\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 class=\"table-checkbox\">\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\n </td>\n <td *ngFor=\"let column of getGridColumns()\" (click)=\"selection = [rowData]\">\n <span>{{ rowData[ column.field ] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document\n [wmsSystem]=\"wmsSystem\"\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document> \n <insert-key [wmsSystem]=\"wmsSystem\" \n (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n </p-panel>\n</div>\n <div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"disabled || !this.gridData\" (click)=\"save()\">\n </s-button>\n </div>\n <register-document\n [wmsSystem]=\"wmsSystem\"\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document> \n <insert-key [wmsSystem]=\"wmsSystem\" \n (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'detail_empty_state_title' | translate\"\n [description]=\"'detail_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n\n<ng-template #processNotConfigured>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\"\n [title]=\"'yms.int.wms_there_no_process_type_configured_for_this_type_scheduling' | translate\"\n >\n </s-empty-state>\n </div>\n</ng-template>",
3338
3365
  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}.table-checkbox{width:50px}"]
3339
3366
  }),
3340
3367
  __metadata("design:paramtypes", [TranslateService,
@@ -3387,130 +3414,11 @@ var Document = /** @class */ (function () {
3387
3414
  return Document;
3388
3415
  }());
3389
3416
 
3390
- var EntityService$1 = /** @class */ (function () {
3391
- function EntityService(http, messageService, entityUrl, actionsUrl) {
3392
- this.http = http;
3393
- this.messageService = messageService;
3394
- this.entityUrl = entityUrl;
3395
- this.actionsUrl = actionsUrl;
3396
- this.http = http;
3397
- this.messageService = messageService;
3398
- this.entityUrl = entityUrl;
3399
- this.actionsUrl = actionsUrl;
3400
- this.defaultCatch = this.defaultCatch.bind(this);
3401
- }
3402
- EntityService.prototype.getListQueryParams = function (listParams) {
3403
- var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? 10 : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? "" : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
3404
- var params = new HttpParams();
3405
- params = params.append("size", String(size));
3406
- params = params.append("offset", String(page));
3407
- if (sort && sort.length) {
3408
- params = params.append("orderby", sort
3409
- .map(function (s) {
3410
- var order = "";
3411
- if (s.order === 1)
3412
- order = " asc";
3413
- else if (s.order === -1)
3414
- order = " desc";
3415
- return "" + s.field + order;
3416
- })
3417
- .join(", "));
3418
- }
3419
- if (filterQuery)
3420
- params = params.append("filter", filterQuery);
3421
- if (displayFields && displayFields.length)
3422
- params = params.append("displayfields", displayFields.join());
3423
- return params;
3424
- };
3425
- EntityService.prototype.getBodyParams = function (listParams) {
3426
- var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? 10 : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? "" : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
3427
- var bodyParams = {};
3428
- bodyParams.size = size;
3429
- bodyParams.offset = page;
3430
- if (sort && sort.length) {
3431
- bodyParams.orderBy = sort
3432
- .map(function (s) {
3433
- var order = "";
3434
- if (s.order === 1)
3435
- order = " asc";
3436
- else if (s.order === -1)
3437
- order = " desc";
3438
- return "" + s.field + order;
3439
- })
3440
- .join(", ");
3441
- }
3442
- if (filterQuery)
3443
- bodyParams.filter = filterQuery;
3444
- if (displayFields && displayFields.length)
3445
- bodyParams.displayfields = displayFields.join();
3446
- return bodyParams;
3447
- };
3448
- EntityService.prototype.defaultCatch = function () {
3449
- var _this = this;
3450
- return catchError(function (err) {
3451
- if (err) {
3452
- var summary = err.status ? String(err.status) : "Error";
3453
- var detail = (err.error && err.error.message) || err.statusText || err.message || "Error";
3454
- _this.messageService.add({
3455
- severity: "error",
3456
- summary: summary,
3457
- detail: detail,
3458
- });
3459
- }
3460
- return throwError(err);
3461
- });
3462
- };
3463
- EntityService.prototype.list = function (listParams) {
3464
- return this.http.get(this.entityUrl, { params: this.getListQueryParams(listParams) }).pipe(this.defaultCatch());
3465
- };
3466
- EntityService.prototype.get = function (id) {
3467
- return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3468
- };
3469
- EntityService.prototype.insert = function (entity) {
3470
- return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch());
3471
- };
3472
- EntityService.prototype.update = function (id, entity) {
3473
- return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch());
3474
- };
3475
- EntityService.prototype.delete = function (id) {
3476
- return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3477
- };
3478
- EntityService.prototype.listCustomFilter = function (listParams, action) {
3479
- return this.http.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams)).pipe(this.defaultCatch());
3480
- };
3481
- return EntityService;
3482
- }());
3483
-
3484
- var EntityService$2 = /** @class */ (function (_super) {
3485
- __extends(EntityService, _super);
3486
- function EntityService() {
3487
- return _super !== null && _super.apply(this, arguments) || this;
3488
- }
3489
- return EntityService;
3490
- }(EntityService$1));
3491
-
3492
- var AgendaService = /** @class */ (function (_super) {
3493
- __extends(AgendaService, _super);
3494
- function AgendaService(http, messageService) {
3495
- var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
3496
- _this.http = http;
3497
- _this.messageService = messageService;
3498
- return _this;
3499
- }
3500
- AgendaService.ngInjectableDef = defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(inject(HttpClient), inject(MessageService$1)); }, token: AgendaService, providedIn: "root" });
3501
- AgendaService = __decorate([
3502
- Injectable({ providedIn: 'root' }),
3503
- __metadata("design:paramtypes", [HttpClient, MessageService$1])
3504
- ], AgendaService);
3505
- return AgendaService;
3506
- }(EntityService$2));
3507
-
3508
3417
  var RegisterDocumentComponent = /** @class */ (function () {
3509
- function RegisterDocumentComponent(fb, messageService, translateService, agendaService) {
3418
+ function RegisterDocumentComponent(fb, messageService, translateService) {
3510
3419
  this.fb = fb;
3511
3420
  this.messageService = messageService;
3512
3421
  this.translateService = translateService;
3513
- this.agendaService = agendaService;
3514
3422
  this.document = new EventEmitter();
3515
3423
  this.visible = new EventEmitter();
3516
3424
  this.visibleChange = new EventEmitter();
@@ -3525,13 +3433,11 @@ var RegisterDocumentComponent = /** @class */ (function () {
3525
3433
  if (!this.edit && this.visible) {
3526
3434
  this.formGroup.disable();
3527
3435
  this.setValuesFormGroup(this.viewDocument[0]);
3528
- this.setValueForPartner();
3529
3436
  this.hideSaveButton = true;
3530
3437
  return this.visible;
3531
3438
  }
3532
3439
  if (this.formGroup !== undefined) {
3533
3440
  this.formGroup.enable();
3534
- this.setValueForPartner();
3535
3441
  this.hideSaveButton = false;
3536
3442
  }
3537
3443
  };
@@ -3548,16 +3454,11 @@ var RegisterDocumentComponent = /** @class */ (function () {
3548
3454
  this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
3549
3455
  this.formGroup.get('notes').setValue(document.notes);
3550
3456
  this.formGroup.get('code').setValue(document.code);
3457
+ this.formGroup.get('partnerName').setValue(document.partnerName);
3458
+ this.formGroup.get('partnerDocument').setValue(document.partnerDocument);
3551
3459
  this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
3552
3460
  this.formGroup.get('ownerName').setValue(document.ownerName);
3553
3461
  };
3554
- RegisterDocumentComponent.prototype.setValueForPartner = function () {
3555
- var _this = this;
3556
- this.agendaService.get(this.agenda.id).subscribe(function (agenda) {
3557
- _this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
3558
- _this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
3559
- });
3560
- };
3561
3462
  RegisterDocumentComponent.prototype.getFormGroup = function () {
3562
3463
  this.formGroup = this.fb.group({
3563
3464
  key: [undefined, Validators.required],
@@ -3640,8 +3541,7 @@ var RegisterDocumentComponent = /** @class */ (function () {
3640
3541
  }),
3641
3542
  __metadata("design:paramtypes", [FormBuilder,
3642
3543
  MessageService,
3643
- TranslateService,
3644
- AgendaService])
3544
+ TranslateService])
3645
3545
  ], RegisterDocumentComponent);
3646
3546
  return RegisterDocumentComponent;
3647
3547
  }());
@@ -3751,7 +3651,7 @@ var InsertKeyComponent = /** @class */ (function () {
3751
3651
  InsertKeyComponent = __decorate([
3752
3652
  Component({
3753
3653
  selector: "insert-key",
3754
- template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\" [modal]=\"true\" (visibleChange)=\"cancel()\">\n <p-header>{{'yms.int.wms_search_document' | translate}} {{ wmsSystem }}</p-header>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" \n *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\n <label for=\"key\">{{'yms.int.wms_insert_key_label' | translate}}</label>\n <input id=\"key\" class=\"size-input\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsSeniorConnect()\">\n <label for=\"purchaseOrder\">{{'yms.int.wms_purchaseOrder' | translate}} </label>\n <input id=\"purchaseOrder\" class=\"size-input\" pInputText type=\"text\" formControlName=\"purchaseOrder\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsWis()\">\n <label for=\"invoiceNumber\">{{'yms.int.wms_invoice_number' | translate}}</label>\n <input id=\"invoiceNumber\" class=\"size-input\" pInputText type=\"text\" formControlName=\"invoiceNumber\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsWis()\">\n <label for=\"invoiceSerie\">{{'yms.int.wms_invoice_serie' | translate}}</label>\n <input id=\"invoiceSerie\" class=\"size-input\" pInputText type=\"text\" formControlName=\"invoiceSerie\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsWis()\">\n <label for=\"partnerDocument\">{{'yms.int.wms_partner_document' | translate}}</label>\n <input id=\"partnerDocument\" class=\"size-input\" pInputText type=\"text\" formControlName=\"partnerDocument\">\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>",
3654
+ template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\" [modal]=\"true\" [draggable]=\"false\" (visibleChange)=\"cancel()\">\n <p-header>{{'yms.int.wms_search_document' | translate}} {{ wmsSystem }}</p-header>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" \n *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\n <label for=\"key\">{{'yms.int.wms_insert_key_label' | translate}}</label>\n <input id=\"key\" class=\"size-input\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsSeniorConnect()\">\n <label for=\"purchaseOrder\">{{'yms.int.wms_purchaseOrder' | translate}} </label>\n <input id=\"purchaseOrder\" class=\"size-input\" pInputText type=\"text\" formControlName=\"purchaseOrder\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsWis()\">\n <label for=\"invoiceNumber\">{{'yms.int.wms_invoice_number' | translate}}</label>\n <input id=\"invoiceNumber\" class=\"size-input\" pInputText type=\"text\" formControlName=\"invoiceNumber\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsWis()\">\n <label for=\"invoiceSerie\">{{'yms.int.wms_invoice_serie' | translate}}</label>\n <input id=\"invoiceSerie\" class=\"size-input\" pInputText type=\"text\" formControlName=\"invoiceSerie\">\n </div>\n <div class=\"flex py-2 justify-content-center spacing-bottom\" *ngIf=\"isWmsWis()\">\n <label for=\"partnerDocument\">{{'yms.int.wms_partner_document' | translate}}</label>\n <input id=\"partnerDocument\" class=\"size-input\" pInputText type=\"text\" formControlName=\"partnerDocument\">\n </div>\n <div class=\"separator\"></div>\n <div class=\"spacing-top\">\n <s-button pButton label=\"{{'yms.int.wms_search' | 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>",
3755
3655
  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:480px}"]
3756
3656
  }),
3757
3657
  __metadata("design:paramtypes", [FormBuilder,
@@ -3859,9 +3759,103 @@ var WmsModule = /** @class */ (function () {
3859
3759
  return WmsModule;
3860
3760
  }());
3861
3761
 
3762
+ var EntityService$1 = /** @class */ (function () {
3763
+ function EntityService(http, messageService, entityUrl, actionsUrl) {
3764
+ this.http = http;
3765
+ this.messageService = messageService;
3766
+ this.entityUrl = entityUrl;
3767
+ this.actionsUrl = actionsUrl;
3768
+ this.http = http;
3769
+ this.messageService = messageService;
3770
+ this.entityUrl = entityUrl;
3771
+ this.actionsUrl = actionsUrl;
3772
+ this.defaultCatch = this.defaultCatch.bind(this);
3773
+ }
3774
+ EntityService.prototype.getListQueryParams = function (listParams) {
3775
+ var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? 10 : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? "" : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
3776
+ var params = new HttpParams();
3777
+ params = params.append("size", String(size));
3778
+ params = params.append("offset", String(page));
3779
+ if (sort && sort.length) {
3780
+ params = params.append("orderby", sort
3781
+ .map(function (s) {
3782
+ var order = "";
3783
+ if (s.order === 1)
3784
+ order = " asc";
3785
+ else if (s.order === -1)
3786
+ order = " desc";
3787
+ return "" + s.field + order;
3788
+ })
3789
+ .join(", "));
3790
+ }
3791
+ if (filterQuery)
3792
+ params = params.append("filter", filterQuery);
3793
+ if (displayFields && displayFields.length)
3794
+ params = params.append("displayfields", displayFields.join());
3795
+ return params;
3796
+ };
3797
+ EntityService.prototype.getBodyParams = function (listParams) {
3798
+ var _a = listParams.page, page = _a === void 0 ? 0 : _a, _b = listParams.size, size = _b === void 0 ? 10 : _b, _c = listParams.sort, sort = _c === void 0 ? [] : _c, _d = listParams.filterQuery, filterQuery = _d === void 0 ? "" : _d, _e = listParams.displayFields, displayFields = _e === void 0 ? [] : _e;
3799
+ var bodyParams = {};
3800
+ bodyParams.size = size;
3801
+ bodyParams.offset = page;
3802
+ if (sort && sort.length) {
3803
+ bodyParams.orderBy = sort
3804
+ .map(function (s) {
3805
+ var order = "";
3806
+ if (s.order === 1)
3807
+ order = " asc";
3808
+ else if (s.order === -1)
3809
+ order = " desc";
3810
+ return "" + s.field + order;
3811
+ })
3812
+ .join(", ");
3813
+ }
3814
+ if (filterQuery)
3815
+ bodyParams.filter = filterQuery;
3816
+ if (displayFields && displayFields.length)
3817
+ bodyParams.displayfields = displayFields.join();
3818
+ return bodyParams;
3819
+ };
3820
+ EntityService.prototype.defaultCatch = function () {
3821
+ var _this = this;
3822
+ return catchError(function (err) {
3823
+ if (err) {
3824
+ var summary = err.status ? String(err.status) : "Error";
3825
+ var detail = (err.error && err.error.message) || err.statusText || err.message || "Error";
3826
+ _this.messageService.add({
3827
+ severity: "error",
3828
+ summary: summary,
3829
+ detail: detail,
3830
+ });
3831
+ }
3832
+ return throwError(err);
3833
+ });
3834
+ };
3835
+ EntityService.prototype.list = function (listParams) {
3836
+ return this.http.get(this.entityUrl, { params: this.getListQueryParams(listParams) }).pipe(this.defaultCatch());
3837
+ };
3838
+ EntityService.prototype.get = function (id) {
3839
+ return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3840
+ };
3841
+ EntityService.prototype.insert = function (entity) {
3842
+ return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch());
3843
+ };
3844
+ EntityService.prototype.update = function (id, entity) {
3845
+ return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch());
3846
+ };
3847
+ EntityService.prototype.delete = function (id) {
3848
+ return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3849
+ };
3850
+ EntityService.prototype.listCustomFilter = function (listParams, action) {
3851
+ return this.http.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams)).pipe(this.defaultCatch());
3852
+ };
3853
+ return EntityService;
3854
+ }());
3855
+
3862
3856
  var ERP_ENVIRONMENT = new InjectionToken('integration_environment');
3863
3857
 
3864
- var AgendaService$1 = /** @class */ (function (_super) {
3858
+ var AgendaService = /** @class */ (function (_super) {
3865
3859
  __extends(AgendaService, _super);
3866
3860
  function AgendaService(http, messageService, environment) {
3867
3861
  var _this = _super.call(this, http, messageService, environment.project.domain + "/" + environment.project.service + "/entities/agenda", environment.project.domain + "/" + environment.project.service + "/actions") || this;
@@ -3962,7 +3956,7 @@ var RecebimentoChegadaVeiculoOverride = /** @class */ (function () {
3962
3956
  RecebimentoChegadaVeiculoOverride = __decorate([
3963
3957
  Injectable(),
3964
3958
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
3965
- AgendaService$1,
3959
+ AgendaService,
3966
3960
  RecebimentoContratoService])
3967
3961
  ], RecebimentoChegadaVeiculoOverride);
3968
3962
  return RecebimentoChegadaVeiculoOverride;
@@ -4026,7 +4020,7 @@ var ExpedicaoChegadaVeiculoOverride = /** @class */ (function () {
4026
4020
  ExpedicaoChegadaVeiculoOverride = __decorate([
4027
4021
  Injectable(),
4028
4022
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
4029
- AgendaService$1,
4023
+ AgendaService,
4030
4024
  ExpedicaoService])
4031
4025
  ], ExpedicaoChegadaVeiculoOverride);
4032
4026
  return ExpedicaoChegadaVeiculoOverride;
@@ -5073,7 +5067,7 @@ var AgendaModule = /** @class */ (function () {
5073
5067
  ]),
5074
5068
  ],
5075
5069
  providers: [
5076
- AgendaService$1,
5070
+ AgendaService,
5077
5071
  ],
5078
5072
  declarations: [
5079
5073
  /*{CA:MODULE_DECLARATIONS:START}*/
@@ -6940,7 +6934,7 @@ var DevolucaoChegadaVeiculoOverride = /** @class */ (function () {
6940
6934
  DevolucaoChegadaVeiculoOverride = __decorate([
6941
6935
  Injectable(),
6942
6936
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
6943
- AgendaService$1,
6937
+ AgendaService,
6944
6938
  DevolucaoService])
6945
6939
  ], DevolucaoChegadaVeiculoOverride);
6946
6940
  return DevolucaoChegadaVeiculoOverride;
@@ -7905,7 +7899,7 @@ var DevolucaoFormComponent = /** @class */ (function () {
7905
7899
  ActivatedRoute,
7906
7900
  DevolucaoChegadaVeiculoOverride,
7907
7901
  ConfirmationService,
7908
- AgendaService$1,
7902
+ AgendaService,
7909
7903
  ErpProcessService,
7910
7904
  ErpFormConfigService,
7911
7905
  HasChangeService])
@@ -9486,7 +9480,7 @@ var ExpedicaoFormComponent = /** @class */ (function () {
9486
9480
  TransportadoraService,
9487
9481
  PedidoVendaService,
9488
9482
  PedidoVendaItemService,
9489
- AgendaService$1,
9483
+ AgendaService,
9490
9484
  ExpedicaoChegadaVeiculoOverride,
9491
9485
  ConfirmationService,
9492
9486
  ErpProcessService,
@@ -9767,7 +9761,7 @@ var ProcessoAvulsoChegadaVeiculoOverride = /** @class */ (function () {
9767
9761
  ProcessoAvulsoChegadaVeiculoOverride = __decorate([
9768
9762
  Injectable(),
9769
9763
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
9770
- AgendaService$1,
9764
+ AgendaService,
9771
9765
  ProcessoAvulsoService])
9772
9766
  ], ProcessoAvulsoChegadaVeiculoOverride);
9773
9767
  return ProcessoAvulsoChegadaVeiculoOverride;
@@ -10073,7 +10067,7 @@ var ProcessoAvulsoFormComponent = /** @class */ (function () {
10073
10067
  ProcessoAvulsoChegadaVeiculoOverride,
10074
10068
  TranslateService,
10075
10069
  ConfirmationService,
10076
- AgendaService$1,
10070
+ AgendaService,
10077
10071
  ErpProcessService,
10078
10072
  ErpFormConfigService,
10079
10073
  HasChangeService])
@@ -10262,7 +10256,7 @@ var RecebimentoOrdemCompraChegadaVeiculoOverride = /** @class */ (function () {
10262
10256
  RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
10263
10257
  Injectable(),
10264
10258
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
10265
- AgendaService$1,
10259
+ AgendaService,
10266
10260
  RecebimentoOrdemCompraService])
10267
10261
  ], RecebimentoOrdemCompraChegadaVeiculoOverride);
10268
10262
  return RecebimentoOrdemCompraChegadaVeiculoOverride;
@@ -11443,7 +11437,7 @@ var RecebimentoOrdemCompraFormComponent = /** @class */ (function () {
11443
11437
  NotaValidatorService,
11444
11438
  ConfirmationService,
11445
11439
  DialogService,
11446
- AgendaService$1,
11440
+ AgendaService,
11447
11441
  ErpProcessService,
11448
11442
  ErpFormConfigService,
11449
11443
  VerificaNotafiscal,
@@ -13790,7 +13784,7 @@ var RecebimentoFormComponent = /** @class */ (function () {
13790
13784
  NotaValidatorService,
13791
13785
  TransgeniaService,
13792
13786
  DialogService,
13793
- AgendaService$1,
13787
+ AgendaService,
13794
13788
  ErpProcessService,
13795
13789
  ErpFormConfigService,
13796
13790
  VerificaNotafiscal,
@@ -13955,5 +13949,5 @@ var DockModule = /** @class */ (function () {
13955
13949
  return DockModule;
13956
13950
  }());
13957
13951
 
13958
- 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, RegisterDocumentComponent as ɵba, AgendaService as ɵbb, EntityService$2 as ɵbc, EntityService$1 as ɵbd, InsertKeyModule as ɵbe, InsertKeyComponent as ɵbf, IntegrationService$1 as ɵbg, RecebimentoFormComponent as ɵbh, DerivacaoService as ɵbi, NotaValidatorService as ɵbj, TransgeniaService as ɵbk, VerificaNotafiscal as ɵbl, BuildFormField as ɵbm, ExpedicaoFormComponent as ɵbn, ExpedicaoInfoComponent as ɵbo, RecebimentoInfoComponent as ɵbp, DevolucaoFormComponent as ɵbq, DevolucaoService as ɵbr, DevolucaoChegadaVeiculoOverride as ɵbs, RecebimentoOrdemCompraFormComponent as ɵbt, OrdemCompraService as ɵbu, RecebimentoOrdemCompraService as ɵbv, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbw, RecebimentoOrdemCompraInfoComponent as ɵbx, DevolucaoInfoComponent as ɵby, ContratoFormComponent as ɵbz, ViewImageComponent as ɵc, OrdemCompraFormComponent as ɵca, ProcessoAvulsoFormComponent as ɵcb, ProcessoAvulsoService as ɵcc, ProcessoAvulsoChegadaVeiculoOverride as ɵcd, ProcessoAvulsoInfoComponent as ɵce, LogIntegracaoDescritor as ɵcf, LogIntegracaoComponent as ɵcg, LogIntegracaoService as ɵch, DerivacaoModule as ɵci, DevolucaoModule as ɵcj, OrdemCompraModule as ɵck, RecebimentoOrdemCompraModule as ɵcl, TransgeniaModule as ɵcm, ProcessoAvulsoModule as ɵcn, LogIntegracaoModule as ɵco, NotaFormModule as ɵcp, DirectivesModule as ɵcq, TrimDirective as ɵcr, NotaFormComponent as ɵcs, 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, FormWmsService as ɵu, DocumentGridModule as ɵv, DocumentGridComponent as ɵw, DocumentService as ɵx, IntegrationService as ɵy, RegisterDocumentModule as ɵz };
13952
+ 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, 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, RegisterDocumentComponent as ɵba, InsertKeyModule as ɵbb, InsertKeyComponent as ɵbc, EntityService$1 as ɵbd, IntegrationService$1 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, DirectivesModule as ɵco, TrimDirective as ɵcp, NotaFormComponent as ɵcq, 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, FormWmsService as ɵu, DocumentGridModule as ɵv, DocumentGridComponent as ɵw, DocumentService as ɵx, IntegrationService as ɵy, RegisterDocumentModule as ɵz };
13959
13953
  //# sourceMappingURL=seniorsistemas-yms-integration.js.map