@seniorsistemas/yms-integration 1.29.2 → 1.30.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.
@@ -3138,25 +3138,158 @@ var DocumentService = /** @class */ (function (_super) {
3138
3138
  return DocumentService;
3139
3139
  }(EntityService));
3140
3140
 
3141
+ var EntityService$1 = /** @class */ (function () {
3142
+ function EntityService(http, messageService, entityUrl, actionsUrl) {
3143
+ this.http = http;
3144
+ this.messageService = messageService;
3145
+ this.entityUrl = entityUrl;
3146
+ this.actionsUrl = actionsUrl;
3147
+ this.http = http;
3148
+ this.messageService = messageService;
3149
+ this.entityUrl = entityUrl;
3150
+ this.actionsUrl = actionsUrl;
3151
+ this.defaultCatch = this.defaultCatch.bind(this);
3152
+ }
3153
+ EntityService.prototype.getListQueryParams = function (listParams) {
3154
+ 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;
3155
+ var params = new HttpParams();
3156
+ params = params.append("size", String(size));
3157
+ params = params.append("offset", String(page));
3158
+ if (sort && sort.length) {
3159
+ params = params.append("orderby", sort
3160
+ .map(function (s) {
3161
+ var order = "";
3162
+ if (s.order === 1)
3163
+ order = " asc";
3164
+ else if (s.order === -1)
3165
+ order = " desc";
3166
+ return "" + s.field + order;
3167
+ })
3168
+ .join(", "));
3169
+ }
3170
+ if (filterQuery)
3171
+ params = params.append("filter", filterQuery);
3172
+ if (displayFields && displayFields.length)
3173
+ params = params.append("displayfields", displayFields.join());
3174
+ return params;
3175
+ };
3176
+ EntityService.prototype.getBodyParams = function (listParams) {
3177
+ 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;
3178
+ var bodyParams = {};
3179
+ bodyParams.size = size;
3180
+ bodyParams.offset = page;
3181
+ if (sort && sort.length) {
3182
+ bodyParams.orderBy = sort
3183
+ .map(function (s) {
3184
+ var order = "";
3185
+ if (s.order === 1)
3186
+ order = " asc";
3187
+ else if (s.order === -1)
3188
+ order = " desc";
3189
+ return "" + s.field + order;
3190
+ })
3191
+ .join(", ");
3192
+ }
3193
+ if (filterQuery)
3194
+ bodyParams.filter = filterQuery;
3195
+ if (displayFields && displayFields.length)
3196
+ bodyParams.displayfields = displayFields.join();
3197
+ return bodyParams;
3198
+ };
3199
+ EntityService.prototype.defaultCatch = function () {
3200
+ var _this = this;
3201
+ return catchError(function (err) {
3202
+ if (err) {
3203
+ var summary = err.status ? String(err.status) : "Error";
3204
+ var detail = (err.error && err.error.message) || err.statusText || err.message || "Error";
3205
+ _this.messageService.add({
3206
+ severity: "error",
3207
+ summary: summary,
3208
+ detail: detail,
3209
+ });
3210
+ }
3211
+ return throwError(err);
3212
+ });
3213
+ };
3214
+ EntityService.prototype.list = function (listParams) {
3215
+ return this.http.get(this.entityUrl, { params: this.getListQueryParams(listParams) }).pipe(this.defaultCatch());
3216
+ };
3217
+ EntityService.prototype.get = function (id) {
3218
+ return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3219
+ };
3220
+ EntityService.prototype.insert = function (entity) {
3221
+ return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch());
3222
+ };
3223
+ EntityService.prototype.update = function (id, entity) {
3224
+ return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch());
3225
+ };
3226
+ EntityService.prototype.delete = function (id) {
3227
+ return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3228
+ };
3229
+ EntityService.prototype.listCustomFilter = function (listParams, action) {
3230
+ return this.http.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams)).pipe(this.defaultCatch());
3231
+ };
3232
+ return EntityService;
3233
+ }());
3234
+
3235
+ var EntityService$2 = /** @class */ (function (_super) {
3236
+ __extends(EntityService, _super);
3237
+ function EntityService() {
3238
+ return _super !== null && _super.apply(this, arguments) || this;
3239
+ }
3240
+ return EntityService;
3241
+ }(EntityService$1));
3242
+
3243
+ var AgendaService = /** @class */ (function (_super) {
3244
+ __extends(AgendaService, _super);
3245
+ function AgendaService(http, messageService) {
3246
+ var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
3247
+ _this.http = http;
3248
+ _this.messageService = messageService;
3249
+ _this.url = 'yms/agenda/queries/isClienteExterno';
3250
+ return _this;
3251
+ }
3252
+ AgendaService.prototype.isClienteExterno = function () {
3253
+ return this.http.post("" + this.url, {});
3254
+ };
3255
+ AgendaService.ngInjectableDef = defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(inject(HttpClient), inject(MessageService$1)); }, token: AgendaService, providedIn: "root" });
3256
+ AgendaService = __decorate([
3257
+ Injectable({ providedIn: 'root' }),
3258
+ __metadata("design:paramtypes", [HttpClient, MessageService$1])
3259
+ ], AgendaService);
3260
+ return AgendaService;
3261
+ }(EntityService$2));
3262
+
3141
3263
  var DocumentGridComponent = /** @class */ (function () {
3142
- function DocumentGridComponent(translate, documentService, messageService, confirmationService, integrationService) {
3264
+ function DocumentGridComponent(translate, documentService, messageService, confirmationService, integrationService, agendaService) {
3143
3265
  this.translate = translate;
3144
3266
  this.documentService = documentService;
3145
3267
  this.messageService = messageService;
3146
3268
  this.confirmationService = confirmationService;
3147
3269
  this.integrationService = integrationService;
3270
+ this.agendaService = agendaService;
3148
3271
  this.viewDocument = new EventEmitter();
3149
3272
  this.gridData = [];
3273
+ this.enableButtonIsClienteExterno = true;
3150
3274
  this.ngUnsubscribe = new Subject();
3151
3275
  this.selection = [];
3152
3276
  }
3153
3277
  DocumentGridComponent.prototype.ngOnInit = function () {
3278
+ this.verifyClienteExterno();
3154
3279
  this.getProcessTypeByScheduling();
3155
3280
  this.listDocuments();
3156
3281
  };
3157
3282
  DocumentGridComponent.prototype.ngAfterContentChecked = function () {
3158
3283
  this.gridColumns = this.getGridColumns();
3159
3284
  };
3285
+ DocumentGridComponent.prototype.verifyClienteExterno = function () {
3286
+ var _this = this;
3287
+ this.agendaService.isClienteExterno()
3288
+ .subscribe(function (result) {
3289
+ _this.isClienteExterno = result.isClienteExterno;
3290
+ _this.cantEditStatus();
3291
+ });
3292
+ };
3160
3293
  DocumentGridComponent.prototype.getProcessTypeByScheduling = function () {
3161
3294
  var _this = this;
3162
3295
  this.integrationService.getProcessTypeByScheduling(this.agenda.tipoAgendamento.id)
@@ -3166,6 +3299,12 @@ var DocumentGridComponent = /** @class */ (function () {
3166
3299
  this.gridData.push(document);
3167
3300
  this.disabled = false;
3168
3301
  };
3302
+ DocumentGridComponent.prototype.cantEditStatus = function () {
3303
+ var cantEditStatus = ['CANCELADO', 'EM_EXECUCAO', 'CONCLUIDO'].includes(this.agenda.status.toString());
3304
+ if (cantEditStatus) {
3305
+ this.enableButtonIsClienteExterno = false;
3306
+ }
3307
+ };
3169
3308
  DocumentGridComponent.prototype.getActions = function () {
3170
3309
  var _this = this;
3171
3310
  return [
@@ -3364,14 +3503,15 @@ var DocumentGridComponent = /** @class */ (function () {
3364
3503
  DocumentGridComponent = __decorate([
3365
3504
  Component({
3366
3505
  selector: 'document-grid',
3367
- 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>",
3506
+ 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 [disabled]=\"!enableButtonIsClienteExterno\">\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 || !enableButtonIsClienteExterno\"\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\"\n [disabled]=\"disabled || !this.gridData || !enableButtonIsClienteExterno\"\n (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>",
3368
3507
  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}"]
3369
3508
  }),
3370
3509
  __metadata("design:paramtypes", [TranslateService,
3371
3510
  DocumentService,
3372
3511
  MessageService,
3373
3512
  ConfirmationService,
3374
- IntegrationService])
3513
+ IntegrationService,
3514
+ AgendaService])
3375
3515
  ], DocumentGridComponent);
3376
3516
  return DocumentGridComponent;
3377
3517
  }());
@@ -3873,103 +4013,9 @@ var DocumentListModule = /** @class */ (function () {
3873
4013
  return DocumentListModule;
3874
4014
  }());
3875
4015
 
3876
- var EntityService$1 = /** @class */ (function () {
3877
- function EntityService(http, messageService, entityUrl, actionsUrl) {
3878
- this.http = http;
3879
- this.messageService = messageService;
3880
- this.entityUrl = entityUrl;
3881
- this.actionsUrl = actionsUrl;
3882
- this.http = http;
3883
- this.messageService = messageService;
3884
- this.entityUrl = entityUrl;
3885
- this.actionsUrl = actionsUrl;
3886
- this.defaultCatch = this.defaultCatch.bind(this);
3887
- }
3888
- EntityService.prototype.getListQueryParams = function (listParams) {
3889
- 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;
3890
- var params = new HttpParams();
3891
- params = params.append("size", String(size));
3892
- params = params.append("offset", String(page));
3893
- if (sort && sort.length) {
3894
- params = params.append("orderby", sort
3895
- .map(function (s) {
3896
- var order = "";
3897
- if (s.order === 1)
3898
- order = " asc";
3899
- else if (s.order === -1)
3900
- order = " desc";
3901
- return "" + s.field + order;
3902
- })
3903
- .join(", "));
3904
- }
3905
- if (filterQuery)
3906
- params = params.append("filter", filterQuery);
3907
- if (displayFields && displayFields.length)
3908
- params = params.append("displayfields", displayFields.join());
3909
- return params;
3910
- };
3911
- EntityService.prototype.getBodyParams = function (listParams) {
3912
- 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;
3913
- var bodyParams = {};
3914
- bodyParams.size = size;
3915
- bodyParams.offset = page;
3916
- if (sort && sort.length) {
3917
- bodyParams.orderBy = sort
3918
- .map(function (s) {
3919
- var order = "";
3920
- if (s.order === 1)
3921
- order = " asc";
3922
- else if (s.order === -1)
3923
- order = " desc";
3924
- return "" + s.field + order;
3925
- })
3926
- .join(", ");
3927
- }
3928
- if (filterQuery)
3929
- bodyParams.filter = filterQuery;
3930
- if (displayFields && displayFields.length)
3931
- bodyParams.displayfields = displayFields.join();
3932
- return bodyParams;
3933
- };
3934
- EntityService.prototype.defaultCatch = function () {
3935
- var _this = this;
3936
- return catchError(function (err) {
3937
- if (err) {
3938
- var summary = err.status ? String(err.status) : "Error";
3939
- var detail = (err.error && err.error.message) || err.statusText || err.message || "Error";
3940
- _this.messageService.add({
3941
- severity: "error",
3942
- summary: summary,
3943
- detail: detail,
3944
- });
3945
- }
3946
- return throwError(err);
3947
- });
3948
- };
3949
- EntityService.prototype.list = function (listParams) {
3950
- return this.http.get(this.entityUrl, { params: this.getListQueryParams(listParams) }).pipe(this.defaultCatch());
3951
- };
3952
- EntityService.prototype.get = function (id) {
3953
- return this.http.get(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3954
- };
3955
- EntityService.prototype.insert = function (entity) {
3956
- return this.http.post("" + this.entityUrl, entity).pipe(this.defaultCatch());
3957
- };
3958
- EntityService.prototype.update = function (id, entity) {
3959
- return this.http.put(this.entityUrl + "/" + id, entity).pipe(this.defaultCatch());
3960
- };
3961
- EntityService.prototype.delete = function (id) {
3962
- return this.http.delete(this.entityUrl + "/" + id).pipe(this.defaultCatch());
3963
- };
3964
- EntityService.prototype.listCustomFilter = function (listParams, action) {
3965
- return this.http.post(this.actionsUrl + "/" + action, this.getBodyParams(listParams)).pipe(this.defaultCatch());
3966
- };
3967
- return EntityService;
3968
- }());
3969
-
3970
4016
  var ERP_ENVIRONMENT = new InjectionToken('integration_environment');
3971
4017
 
3972
- var AgendaService = /** @class */ (function (_super) {
4018
+ var AgendaService$1 = /** @class */ (function (_super) {
3973
4019
  __extends(AgendaService, _super);
3974
4020
  function AgendaService(http, messageService, environment) {
3975
4021
  var _this = _super.call(this, http, messageService, environment.project.domain + "/" + environment.project.service + "/entities/agenda", environment.project.domain + "/" + environment.project.service + "/actions") || this;
@@ -4070,7 +4116,7 @@ var RecebimentoChegadaVeiculoOverride = /** @class */ (function () {
4070
4116
  RecebimentoChegadaVeiculoOverride = __decorate([
4071
4117
  Injectable(),
4072
4118
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
4073
- AgendaService,
4119
+ AgendaService$1,
4074
4120
  RecebimentoContratoService])
4075
4121
  ], RecebimentoChegadaVeiculoOverride);
4076
4122
  return RecebimentoChegadaVeiculoOverride;
@@ -4134,7 +4180,7 @@ var ExpedicaoChegadaVeiculoOverride = /** @class */ (function () {
4134
4180
  ExpedicaoChegadaVeiculoOverride = __decorate([
4135
4181
  Injectable(),
4136
4182
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
4137
- AgendaService,
4183
+ AgendaService$1,
4138
4184
  ExpedicaoService])
4139
4185
  ], ExpedicaoChegadaVeiculoOverride);
4140
4186
  return ExpedicaoChegadaVeiculoOverride;
@@ -5181,7 +5227,7 @@ var AgendaModule = /** @class */ (function () {
5181
5227
  ]),
5182
5228
  ],
5183
5229
  providers: [
5184
- AgendaService,
5230
+ AgendaService$1,
5185
5231
  ],
5186
5232
  declarations: [
5187
5233
  /*{CA:MODULE_DECLARATIONS:START}*/
@@ -7048,7 +7094,7 @@ var DevolucaoChegadaVeiculoOverride = /** @class */ (function () {
7048
7094
  DevolucaoChegadaVeiculoOverride = __decorate([
7049
7095
  Injectable(),
7050
7096
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
7051
- AgendaService,
7097
+ AgendaService$1,
7052
7098
  DevolucaoService])
7053
7099
  ], DevolucaoChegadaVeiculoOverride);
7054
7100
  return DevolucaoChegadaVeiculoOverride;
@@ -8013,7 +8059,7 @@ var DevolucaoFormComponent = /** @class */ (function () {
8013
8059
  ActivatedRoute,
8014
8060
  DevolucaoChegadaVeiculoOverride,
8015
8061
  ConfirmationService,
8016
- AgendaService,
8062
+ AgendaService$1,
8017
8063
  ErpProcessService,
8018
8064
  ErpFormConfigService,
8019
8065
  HasChangeService])
@@ -9594,7 +9640,7 @@ var ExpedicaoFormComponent = /** @class */ (function () {
9594
9640
  TransportadoraService,
9595
9641
  PedidoVendaService,
9596
9642
  PedidoVendaItemService,
9597
- AgendaService,
9643
+ AgendaService$1,
9598
9644
  ExpedicaoChegadaVeiculoOverride,
9599
9645
  ConfirmationService,
9600
9646
  ErpProcessService,
@@ -9875,7 +9921,7 @@ var ProcessoAvulsoChegadaVeiculoOverride = /** @class */ (function () {
9875
9921
  ProcessoAvulsoChegadaVeiculoOverride = __decorate([
9876
9922
  Injectable(),
9877
9923
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
9878
- AgendaService,
9924
+ AgendaService$1,
9879
9925
  ProcessoAvulsoService])
9880
9926
  ], ProcessoAvulsoChegadaVeiculoOverride);
9881
9927
  return ProcessoAvulsoChegadaVeiculoOverride;
@@ -10181,7 +10227,7 @@ var ProcessoAvulsoFormComponent = /** @class */ (function () {
10181
10227
  ProcessoAvulsoChegadaVeiculoOverride,
10182
10228
  TranslateService,
10183
10229
  ConfirmationService,
10184
- AgendaService,
10230
+ AgendaService$1,
10185
10231
  ErpProcessService,
10186
10232
  ErpFormConfigService,
10187
10233
  HasChangeService])
@@ -10370,7 +10416,7 @@ var RecebimentoOrdemCompraChegadaVeiculoOverride = /** @class */ (function () {
10370
10416
  RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
10371
10417
  Injectable(),
10372
10418
  __metadata("design:paramtypes", [ChegadaVeiculoOverride,
10373
- AgendaService,
10419
+ AgendaService$1,
10374
10420
  RecebimentoOrdemCompraService])
10375
10421
  ], RecebimentoOrdemCompraChegadaVeiculoOverride);
10376
10422
  return RecebimentoOrdemCompraChegadaVeiculoOverride;
@@ -11551,7 +11597,7 @@ var RecebimentoOrdemCompraFormComponent = /** @class */ (function () {
11551
11597
  NotaValidatorService,
11552
11598
  ConfirmationService,
11553
11599
  DialogService,
11554
- AgendaService,
11600
+ AgendaService$1,
11555
11601
  ErpProcessService,
11556
11602
  ErpFormConfigService,
11557
11603
  VerificaNotafiscal,
@@ -13898,7 +13944,7 @@ var RecebimentoFormComponent = /** @class */ (function () {
13898
13944
  NotaValidatorService,
13899
13945
  TransgeniaService,
13900
13946
  DialogService,
13901
- AgendaService,
13947
+ AgendaService$1,
13902
13948
  ErpProcessService,
13903
13949
  ErpFormConfigService,
13904
13950
  VerificaNotafiscal,
@@ -14063,5 +14109,5 @@ var DockModule = /** @class */ (function () {
14063
14109
  return DockModule;
14064
14110
  }());
14065
14111
 
14066
- export { AgendaModule, AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, DocumentListComponent, DocumentListModule, 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 };
14112
+ export { AgendaModule, AgendaService$1 as AgendaService, BalancaModule, BalancasService, CamerasModule, CamerasService, CancelasModule, CidadeModule, CidadeService, ContratoCompraItemModule, ContratoCompraItemService, ContratoCompraModule, ContratoCompraService, ControladorCancelaComponent, ControladorCancelaDescritor, ControladorCancelasService, CoreModule, DockModule, DockService, DocumentListComponent, DocumentListModule, 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, RegisterDocumentModule as ɵbc, RegisterDocumentComponent 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, AgendaService as ɵz };
14067
14113
  //# sourceMappingURL=seniorsistemas-yms-integration.js.map