@seniorsistemas/yms-integration 1.30.2 → 1.31.1
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.
- package/bundles/seniorsistemas-yms-integration.umd.js +204 -158
- package/bundles/seniorsistemas-yms-integration.umd.js.map +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js +1 -1
- package/bundles/seniorsistemas-yms-integration.umd.min.js.map +1 -1
- package/esm2015/seniorsistemas-yms-integration.js +44 -43
- package/esm2015/src/utils/utils-message.js +35 -0
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +55 -33
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +29 -22
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.module.js +6 -5
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +18 -33
- package/esm5/seniorsistemas-yms-integration.js +44 -43
- package/esm5/src/utils/utils-message.js +36 -0
- package/esm5/src/wms/components/document-grid/document-grid.component.js +56 -33
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +29 -22
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.module.js +6 -5
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +19 -33
- package/fesm2015/seniorsistemas-yms-integration.js +152 -110
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +161 -116
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.d.ts +43 -42
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/utils/utils-message.d.ts +9 -0
- package/src/wms/components/document-grid/document-grid.component.d.ts +11 -9
- package/src/wms/components/document-grid/insert-key/insert-key.component.d.ts +6 -7
- package/src/wms/components/document-grid/register-document/register-document.component.d.ts +6 -7
|
@@ -3093,50 +3093,33 @@ var FormWmsComponent = /** @class */ (function (_super) {
|
|
|
3093
3093
|
return FormWmsComponent;
|
|
3094
3094
|
}(FormWmsDescritor));
|
|
3095
3095
|
|
|
3096
|
-
var
|
|
3097
|
-
function
|
|
3098
|
-
this.
|
|
3099
|
-
|
|
3100
|
-
IntegrationService.prototype.getProcessTypeByScheduling = function (idSchedulingType) {
|
|
3101
|
-
return this.httpClient.post('yms/integration/queries/getProcessTypeByScheduling', { idSchedulingType: idSchedulingType });
|
|
3102
|
-
};
|
|
3103
|
-
IntegrationService.ngInjectableDef = defineInjectable({ factory: function IntegrationService_Factory() { return new IntegrationService(inject(HttpClient)); }, token: IntegrationService, providedIn: "root" });
|
|
3104
|
-
IntegrationService = __decorate([
|
|
3105
|
-
Injectable({ providedIn: 'root' }),
|
|
3106
|
-
__metadata("design:paramtypes", [HttpClient])
|
|
3107
|
-
], IntegrationService);
|
|
3108
|
-
return IntegrationService;
|
|
3109
|
-
}());
|
|
3110
|
-
var ProcessType;
|
|
3111
|
-
(function (ProcessType) {
|
|
3112
|
-
ProcessType["RECEBIMENTO_CONTRATO"] = "RECEBIMENTO_CONTRATO";
|
|
3113
|
-
ProcessType["RECEBIMENTO_ORDEM_COMPRA"] = "RECEBIMENTO_ORDEM_COMPRA";
|
|
3114
|
-
ProcessType["EXPEDICAO"] = "EXPEDICAO";
|
|
3115
|
-
ProcessType["DEVOLUCAO"] = "DEVOLUCAO";
|
|
3116
|
-
ProcessType["PROCESSO_AVULSO"] = "PROCESSO_AVULSO";
|
|
3117
|
-
ProcessType["RECEBIMENTO_WMS"] = "RECEBIMENTO_WMS";
|
|
3118
|
-
})(ProcessType || (ProcessType = {}));
|
|
3119
|
-
|
|
3120
|
-
var DocumentService = /** @class */ (function (_super) {
|
|
3121
|
-
__extends(DocumentService, _super);
|
|
3122
|
-
function DocumentService(http, messageService) {
|
|
3123
|
-
var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
|
|
3124
|
-
_this.http = http;
|
|
3125
|
-
_this.messageService = messageService;
|
|
3126
|
-
return _this;
|
|
3096
|
+
var UtilsMessageService = /** @class */ (function () {
|
|
3097
|
+
function UtilsMessageService(messageService, translate) {
|
|
3098
|
+
this.messageService = messageService;
|
|
3099
|
+
this.translate = translate;
|
|
3127
3100
|
}
|
|
3128
|
-
|
|
3129
|
-
|
|
3101
|
+
UtilsMessageService.prototype.message = function (severity, summary, detail) {
|
|
3102
|
+
summary = this.translate.instant(summary);
|
|
3103
|
+
detail = this.translate.instant(detail);
|
|
3104
|
+
this.translateMessage(severity, summary, detail);
|
|
3130
3105
|
};
|
|
3131
|
-
|
|
3132
|
-
|
|
3106
|
+
UtilsMessageService.prototype.translateMessage = function (severity, summary, detail) {
|
|
3107
|
+
this.messageService.add({
|
|
3108
|
+
severity: severity,
|
|
3109
|
+
summary: summary,
|
|
3110
|
+
detail: detail
|
|
3111
|
+
});
|
|
3133
3112
|
};
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3113
|
+
UtilsMessageService.ngInjectableDef = defineInjectable({ factory: function UtilsMessageService_Factory() { return new UtilsMessageService(inject(MessageService$1), inject(TranslateService)); }, token: UtilsMessageService, providedIn: "root" });
|
|
3114
|
+
UtilsMessageService = __decorate([
|
|
3115
|
+
Injectable({
|
|
3116
|
+
providedIn: 'root'
|
|
3117
|
+
}),
|
|
3118
|
+
__metadata("design:paramtypes", [MessageService,
|
|
3119
|
+
TranslateService])
|
|
3120
|
+
], UtilsMessageService);
|
|
3121
|
+
return UtilsMessageService;
|
|
3122
|
+
}());
|
|
3140
3123
|
|
|
3141
3124
|
var EntityService$1 = /** @class */ (function () {
|
|
3142
3125
|
function EntityService(http, messageService, entityUrl, actionsUrl) {
|
|
@@ -3260,14 +3243,59 @@ var AgendaService = /** @class */ (function (_super) {
|
|
|
3260
3243
|
return AgendaService;
|
|
3261
3244
|
}(EntityService$2));
|
|
3262
3245
|
|
|
3246
|
+
var DocumentService = /** @class */ (function (_super) {
|
|
3247
|
+
__extends(DocumentService, _super);
|
|
3248
|
+
function DocumentService(http, messageService) {
|
|
3249
|
+
var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
|
|
3250
|
+
_this.http = http;
|
|
3251
|
+
_this.messageService = messageService;
|
|
3252
|
+
return _this;
|
|
3253
|
+
}
|
|
3254
|
+
DocumentService.prototype.findDocuments = function (input) {
|
|
3255
|
+
return this.http.post('yms_int/wms/queries/findDocuments', input);
|
|
3256
|
+
};
|
|
3257
|
+
DocumentService.prototype.getSystemIntegration = function () {
|
|
3258
|
+
return this.http.get('yms_int/wms/queries/getSystemIntegration');
|
|
3259
|
+
};
|
|
3260
|
+
DocumentService = __decorate([
|
|
3261
|
+
Injectable(),
|
|
3262
|
+
__metadata("design:paramtypes", [HttpClient, MessageService])
|
|
3263
|
+
], DocumentService);
|
|
3264
|
+
return DocumentService;
|
|
3265
|
+
}(EntityService));
|
|
3266
|
+
|
|
3267
|
+
var IntegrationService = /** @class */ (function () {
|
|
3268
|
+
function IntegrationService(httpClient) {
|
|
3269
|
+
this.httpClient = httpClient;
|
|
3270
|
+
}
|
|
3271
|
+
IntegrationService.prototype.getProcessTypeByScheduling = function (idSchedulingType) {
|
|
3272
|
+
return this.httpClient.post('yms/integration/queries/getProcessTypeByScheduling', { idSchedulingType: idSchedulingType });
|
|
3273
|
+
};
|
|
3274
|
+
IntegrationService.ngInjectableDef = defineInjectable({ factory: function IntegrationService_Factory() { return new IntegrationService(inject(HttpClient)); }, token: IntegrationService, providedIn: "root" });
|
|
3275
|
+
IntegrationService = __decorate([
|
|
3276
|
+
Injectable({ providedIn: 'root' }),
|
|
3277
|
+
__metadata("design:paramtypes", [HttpClient])
|
|
3278
|
+
], IntegrationService);
|
|
3279
|
+
return IntegrationService;
|
|
3280
|
+
}());
|
|
3281
|
+
var ProcessType;
|
|
3282
|
+
(function (ProcessType) {
|
|
3283
|
+
ProcessType["RECEBIMENTO_CONTRATO"] = "RECEBIMENTO_CONTRATO";
|
|
3284
|
+
ProcessType["RECEBIMENTO_ORDEM_COMPRA"] = "RECEBIMENTO_ORDEM_COMPRA";
|
|
3285
|
+
ProcessType["EXPEDICAO"] = "EXPEDICAO";
|
|
3286
|
+
ProcessType["DEVOLUCAO"] = "DEVOLUCAO";
|
|
3287
|
+
ProcessType["PROCESSO_AVULSO"] = "PROCESSO_AVULSO";
|
|
3288
|
+
ProcessType["RECEBIMENTO_WMS"] = "RECEBIMENTO_WMS";
|
|
3289
|
+
})(ProcessType || (ProcessType = {}));
|
|
3290
|
+
|
|
3263
3291
|
var DocumentGridComponent = /** @class */ (function () {
|
|
3264
|
-
function DocumentGridComponent(translate, documentService,
|
|
3292
|
+
function DocumentGridComponent(translate, documentService, confirmationService, integrationService, agendaService, utils) {
|
|
3265
3293
|
this.translate = translate;
|
|
3266
3294
|
this.documentService = documentService;
|
|
3267
|
-
this.messageService = messageService;
|
|
3268
3295
|
this.confirmationService = confirmationService;
|
|
3269
3296
|
this.integrationService = integrationService;
|
|
3270
3297
|
this.agendaService = agendaService;
|
|
3298
|
+
this.utils = utils;
|
|
3271
3299
|
this.viewDocument = new EventEmitter();
|
|
3272
3300
|
this.gridData = [];
|
|
3273
3301
|
this.enableButtonIsClienteExterno = true;
|
|
@@ -3277,7 +3305,7 @@ var DocumentGridComponent = /** @class */ (function () {
|
|
|
3277
3305
|
DocumentGridComponent.prototype.ngOnInit = function () {
|
|
3278
3306
|
this.verifyClienteExterno();
|
|
3279
3307
|
this.getProcessTypeByScheduling();
|
|
3280
|
-
this.listDocuments();
|
|
3308
|
+
this.listDocuments(false);
|
|
3281
3309
|
};
|
|
3282
3310
|
DocumentGridComponent.prototype.ngAfterContentChecked = function () {
|
|
3283
3311
|
this.gridColumns = this.getGridColumns();
|
|
@@ -3296,8 +3324,38 @@ var DocumentGridComponent = /** @class */ (function () {
|
|
|
3296
3324
|
.subscribe(function (result) { return _this.processType = result.processType; });
|
|
3297
3325
|
};
|
|
3298
3326
|
DocumentGridComponent.prototype.onChangeDocument = function (document) {
|
|
3327
|
+
if (!this.hasFilledValues(document)) {
|
|
3328
|
+
this.utils.message("error", "yms.int.wms_save_error_register_document_message_title", "yms.int.wms_save_error_register_document_message_description");
|
|
3329
|
+
return;
|
|
3330
|
+
}
|
|
3331
|
+
this.assignKeys(document);
|
|
3332
|
+
var duplicateDocument = this.gridData.find(function (gridData) { return gridData.key === document.key; });
|
|
3333
|
+
if (duplicateDocument) {
|
|
3334
|
+
this.utils.message("error", "yms.int.wms_error_register_document_message_title", "yms.int.wms_error_register_document_message_description");
|
|
3335
|
+
return;
|
|
3336
|
+
}
|
|
3299
3337
|
this.gridData.push(document);
|
|
3300
3338
|
this.disabled = false;
|
|
3339
|
+
this.utils.message("success", "yms.int.wms_saved_document_message_title", "yms.int.wms_success_message_description");
|
|
3340
|
+
this.visibleDocumentRegister = false;
|
|
3341
|
+
this.visibleInvoiceKey = false;
|
|
3342
|
+
};
|
|
3343
|
+
DocumentGridComponent.prototype.assignKeys = function (document) {
|
|
3344
|
+
if (document.id === undefined) {
|
|
3345
|
+
if (this.agenda.id !== undefined) {
|
|
3346
|
+
document.schedulingId = this.agenda.id;
|
|
3347
|
+
}
|
|
3348
|
+
if (document.key === undefined || document.key === null) {
|
|
3349
|
+
document.key = document.invoiceKey;
|
|
3350
|
+
if (this.isWmsWIS()) {
|
|
3351
|
+
document.key = document.invoiceNumber + ":" + document.invoiceSerialNumber + ":" + document.partnerDocument;
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
};
|
|
3356
|
+
DocumentGridComponent.prototype.hasFilledValues = function (document) {
|
|
3357
|
+
var formValues = Object.values(document);
|
|
3358
|
+
return formValues.some(function (value) { return value !== null && value !== ''; });
|
|
3301
3359
|
};
|
|
3302
3360
|
DocumentGridComponent.prototype.cantEditStatus = function () {
|
|
3303
3361
|
var cantEditStatus = [
|
|
@@ -3358,9 +3416,10 @@ var DocumentGridComponent = /** @class */ (function () {
|
|
|
3358
3416
|
}
|
|
3359
3417
|
data.key = _this.updateKeyByWms(data);
|
|
3360
3418
|
_this.documentService.insert(data).subscribe(function () {
|
|
3361
|
-
_this.message("success", "
|
|
3419
|
+
_this.utils.message("success", "yms.int.wms_saved_document_message_title", "saved_message_content");
|
|
3362
3420
|
});
|
|
3363
3421
|
_this.disabled = true;
|
|
3422
|
+
_this.listDocuments(false);
|
|
3364
3423
|
}
|
|
3365
3424
|
});
|
|
3366
3425
|
}
|
|
@@ -3387,13 +3446,8 @@ var DocumentGridComponent = /** @class */ (function () {
|
|
|
3387
3446
|
return forkJoin(_this.selection.map(function (document) { return _this.documentService.delete(document.id); }))
|
|
3388
3447
|
.pipe(takeUntil(_this.ngUnsubscribe))
|
|
3389
3448
|
.subscribe(function () {
|
|
3390
|
-
_this.
|
|
3391
|
-
|
|
3392
|
-
summary: _this.translate.instant("deleted_message_title"),
|
|
3393
|
-
detail: _this.translate.instant("deleted_message_content"),
|
|
3394
|
-
});
|
|
3395
|
-
_this.gridData = [];
|
|
3396
|
-
_this.listDocuments();
|
|
3449
|
+
_this.utils.message("success", "deleted_message_title", "deleted_message_content");
|
|
3450
|
+
_this.listDocuments(true);
|
|
3397
3451
|
});
|
|
3398
3452
|
}
|
|
3399
3453
|
});
|
|
@@ -3402,27 +3456,31 @@ var DocumentGridComponent = /** @class */ (function () {
|
|
|
3402
3456
|
var _this = this;
|
|
3403
3457
|
this.selection.forEach(function (value, index) {
|
|
3404
3458
|
if (!value.id) {
|
|
3405
|
-
_this.gridData.
|
|
3459
|
+
var indexGridData = _this.gridData.findIndex(function (document) { return document.key === value.key; });
|
|
3460
|
+
_this.gridData.splice(indexGridData, 1);
|
|
3406
3461
|
_this.selection.splice(index, 1);
|
|
3407
3462
|
}
|
|
3408
3463
|
});
|
|
3409
3464
|
};
|
|
3410
|
-
DocumentGridComponent.prototype.listDocuments = function () {
|
|
3465
|
+
DocumentGridComponent.prototype.listDocuments = function (isDelete) {
|
|
3411
3466
|
var _this = this;
|
|
3412
3467
|
this.documentService.list({
|
|
3413
3468
|
filterQuery: "schedulingId eq '" + this.agenda.id + "'"
|
|
3414
3469
|
})
|
|
3415
3470
|
.subscribe(function (contents) {
|
|
3416
|
-
|
|
3471
|
+
var _a;
|
|
3472
|
+
_this.gridData = isDelete ? _this.gridData.filter(function (item) { return !item.id; }) : [];
|
|
3417
3473
|
if (contents.totalElements > 0) {
|
|
3418
|
-
_this.gridData
|
|
3474
|
+
(_a = _this.gridData).push.apply(_a, __spread(contents.contents));
|
|
3419
3475
|
_this.documentTotalRecords = contents.totalElements;
|
|
3420
3476
|
}
|
|
3421
3477
|
else {
|
|
3422
3478
|
_this.documentTotalRecords = _this.gridData.length;
|
|
3423
3479
|
}
|
|
3424
|
-
_this.
|
|
3480
|
+
var hasElementWithoutId = _this.gridData.some(function (item) { return !item.id; });
|
|
3481
|
+
_this.disabled = !hasElementWithoutId;
|
|
3425
3482
|
_this.loading = false;
|
|
3483
|
+
_this.selection = [];
|
|
3426
3484
|
});
|
|
3427
3485
|
};
|
|
3428
3486
|
DocumentGridComponent.prototype.getGridColumns = function () {
|
|
@@ -3462,13 +3520,6 @@ var DocumentGridComponent = /** @class */ (function () {
|
|
|
3462
3520
|
DocumentGridComponent.prototype.isWmsWIS = function () {
|
|
3463
3521
|
return this.wmsSystem === WmsSystem.WIS;
|
|
3464
3522
|
};
|
|
3465
|
-
DocumentGridComponent.prototype.message = function (severity, summary, detail) {
|
|
3466
|
-
this.messageService.add({
|
|
3467
|
-
severity: severity,
|
|
3468
|
-
summary: this.translate.instant(summary),
|
|
3469
|
-
detail: this.translate.instant(detail),
|
|
3470
|
-
});
|
|
3471
|
-
};
|
|
3472
3523
|
__decorate([
|
|
3473
3524
|
Input(),
|
|
3474
3525
|
__metadata("design:type", Object)
|
|
@@ -3516,15 +3567,15 @@ var DocumentGridComponent = /** @class */ (function () {
|
|
|
3516
3567
|
DocumentGridComponent = __decorate([
|
|
3517
3568
|
Component({
|
|
3518
3569
|
selector: 'document-grid',
|
|
3519
|
-
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=\"
|
|
3570
|
+
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(false)\"\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=\"key\" [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>",
|
|
3520
3571
|
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}"]
|
|
3521
3572
|
}),
|
|
3522
3573
|
__metadata("design:paramtypes", [TranslateService,
|
|
3523
3574
|
DocumentService,
|
|
3524
|
-
MessageService,
|
|
3525
3575
|
ConfirmationService,
|
|
3526
3576
|
IntegrationService,
|
|
3527
|
-
AgendaService
|
|
3577
|
+
AgendaService,
|
|
3578
|
+
UtilsMessageService])
|
|
3528
3579
|
], DocumentGridComponent);
|
|
3529
3580
|
return DocumentGridComponent;
|
|
3530
3581
|
}());
|
|
@@ -3571,16 +3622,17 @@ var Document = /** @class */ (function () {
|
|
|
3571
3622
|
}());
|
|
3572
3623
|
|
|
3573
3624
|
var RegisterDocumentComponent = /** @class */ (function () {
|
|
3574
|
-
function RegisterDocumentComponent(fb,
|
|
3625
|
+
function RegisterDocumentComponent(fb, utils) {
|
|
3575
3626
|
this.fb = fb;
|
|
3576
|
-
this.
|
|
3577
|
-
this.translateService = translateService;
|
|
3627
|
+
this.utils = utils;
|
|
3578
3628
|
this.document = new EventEmitter();
|
|
3579
3629
|
this.visible = new EventEmitter();
|
|
3580
3630
|
this.visibleChange = new EventEmitter();
|
|
3631
|
+
this.isSaveFormValid = false;
|
|
3581
3632
|
}
|
|
3582
3633
|
RegisterDocumentComponent.prototype.ngOnInit = function () {
|
|
3583
3634
|
this.getFormGroup();
|
|
3635
|
+
this.watchFormChanges();
|
|
3584
3636
|
};
|
|
3585
3637
|
RegisterDocumentComponent.prototype.ngOnChanges = function () {
|
|
3586
3638
|
this.visibilityConfig();
|
|
@@ -3598,8 +3650,8 @@ var RegisterDocumentComponent = /** @class */ (function () {
|
|
|
3598
3650
|
}
|
|
3599
3651
|
};
|
|
3600
3652
|
RegisterDocumentComponent.prototype.close = function () {
|
|
3601
|
-
this.visibleChange.emit(false);
|
|
3602
3653
|
this.formGroup.reset();
|
|
3654
|
+
this.visibleChange.emit(false);
|
|
3603
3655
|
};
|
|
3604
3656
|
RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
|
|
3605
3657
|
this.formGroup.get('key').setValue(document.key);
|
|
@@ -3633,28 +3685,8 @@ var RegisterDocumentComponent = /** @class */ (function () {
|
|
|
3633
3685
|
});
|
|
3634
3686
|
};
|
|
3635
3687
|
RegisterDocumentComponent.prototype.save = function () {
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
if (this.agenda.id !== undefined) {
|
|
3639
|
-
value.schedulingId = this.agenda.id;
|
|
3640
|
-
}
|
|
3641
|
-
if (value.key === undefined) {
|
|
3642
|
-
value.key = value.invoiceKey;
|
|
3643
|
-
if (this.isWmsWis()) {
|
|
3644
|
-
value.key = value.invoiceNumber + ":" + value.invoiceSerialNumber + ":" + value.partnerDocument;
|
|
3645
|
-
}
|
|
3646
|
-
}
|
|
3647
|
-
this.document.emit(Document.fromDto(value));
|
|
3648
|
-
this.successMessage();
|
|
3649
|
-
this.visibleChange.emit(false);
|
|
3650
|
-
}
|
|
3651
|
-
};
|
|
3652
|
-
RegisterDocumentComponent.prototype.successMessage = function () {
|
|
3653
|
-
this.messageService.add({
|
|
3654
|
-
severity: "success",
|
|
3655
|
-
summary: this.translateService.instant("yms.saved_message_title"),
|
|
3656
|
-
detail: this.translateService.instant("yms.int.wms_success_message_description"),
|
|
3657
|
-
});
|
|
3688
|
+
this.document.emit(Document.fromDto(this.formGroup.getRawValue()));
|
|
3689
|
+
this.formGroup.reset();
|
|
3658
3690
|
};
|
|
3659
3691
|
RegisterDocumentComponent.prototype.isWmsWis = function () {
|
|
3660
3692
|
return this.wmsSystem === WmsSystem.WIS;
|
|
@@ -3662,6 +3694,13 @@ var RegisterDocumentComponent = /** @class */ (function () {
|
|
|
3662
3694
|
RegisterDocumentComponent.prototype.isWmsSeniorConnect = function () {
|
|
3663
3695
|
return this.wmsSystem === WmsSystem.SENIOR_CONNECT;
|
|
3664
3696
|
};
|
|
3697
|
+
RegisterDocumentComponent.prototype.watchFormChanges = function () {
|
|
3698
|
+
var _this = this;
|
|
3699
|
+
this.formGroup.valueChanges.subscribe(function () {
|
|
3700
|
+
var formValues = Object.values(_this.formGroup.value);
|
|
3701
|
+
_this.isSaveFormValid = formValues.some(function (value) { return value !== null && value !== ''; });
|
|
3702
|
+
});
|
|
3703
|
+
};
|
|
3665
3704
|
__decorate([
|
|
3666
3705
|
Input(),
|
|
3667
3706
|
__metadata("design:type", Array)
|
|
@@ -3693,11 +3732,10 @@ var RegisterDocumentComponent = /** @class */ (function () {
|
|
|
3693
3732
|
RegisterDocumentComponent = __decorate([
|
|
3694
3733
|
Component({
|
|
3695
3734
|
selector: "register-document",
|
|
3696
|
-
template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }} {{ wmsSystem }}\"\n (visibleChange)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6\" *ngIf=\"isWmsSeniorConnect()\">\n <label for=\"key\">{{'yms.int.wms_purchaseOrder' | translate}}</label>\n <input id=\"key\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"ui-g-6\" *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\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\" *ngIf=\"!isWmsSeniorConnect()\">\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\" *ngIf=\"!isWmsSeniorConnect()\">\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-8\">\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-4\">\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-8\" *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\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-4\" *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\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-8\">\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-4\">\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=\"4\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-4\">\n <label for=\"code\">\n {{'yms.int.wms_register_document_order_receiving_code' | translate}}\n </label>\n <input id=\"code\" pInputText type=\"text\" formControlName=\"code\">\n </div>\n </div>\n </form>\n <div class=\"space-between\">\n <button\n pButton label=\"{{'save' | translate}}\"
|
|
3735
|
+
template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }} {{ wmsSystem }}\"\n (visibleChange)=\"close()\"\n (onclose)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6\" *ngIf=\"isWmsSeniorConnect()\">\n <label for=\"key\">{{'yms.int.wms_purchaseOrder' | translate}}</label>\n <input id=\"key\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"ui-g-6\" *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\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\" *ngIf=\"!isWmsSeniorConnect()\">\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\" *ngIf=\"!isWmsSeniorConnect()\">\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-8\">\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-4\">\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-8\" *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\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-4\" *ngIf=\"!isWmsSeniorConnect() && !isWmsWis()\">\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-8\">\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-4\">\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=\"4\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-4\">\n <label for=\"code\">\n {{'yms.int.wms_register_document_order_receiving_code' | translate}}\n </label>\n <input id=\"code\" pInputText type=\"text\" formControlName=\"code\">\n </div>\n </div>\n </form>\n <div class=\"space-between\">\n <button\n pButton label=\"{{'save' | translate}}\"\n (click)=\"save()\"\n [attr.data-hidden]=\"hideSaveButton\"\n [disabled]=\"!isSaveFormValid\">\n </button>\n <button\n type=\"button\" class=\"ui-button-link\" pButton label=\"{{'cancel' | translate}}\" (click)=\"close()\">\n </button>\n </div>\n</s-sidebar>"
|
|
3697
3736
|
}),
|
|
3698
3737
|
__metadata("design:paramtypes", [FormBuilder,
|
|
3699
|
-
|
|
3700
|
-
TranslateService])
|
|
3738
|
+
UtilsMessageService])
|
|
3701
3739
|
], RegisterDocumentComponent);
|
|
3702
3740
|
return RegisterDocumentComponent;
|
|
3703
3741
|
}());
|
|
@@ -3728,14 +3766,14 @@ var RegisterDocumentModule = /** @class */ (function () {
|
|
|
3728
3766
|
}());
|
|
3729
3767
|
|
|
3730
3768
|
var InsertKeyComponent = /** @class */ (function () {
|
|
3731
|
-
function InsertKeyComponent(formBuilder, documentService,
|
|
3769
|
+
function InsertKeyComponent(formBuilder, documentService, utils) {
|
|
3732
3770
|
this.formBuilder = formBuilder;
|
|
3733
3771
|
this.documentService = documentService;
|
|
3734
|
-
this.
|
|
3735
|
-
this.translate = translate;
|
|
3772
|
+
this.utils = utils;
|
|
3736
3773
|
this.document = new EventEmitter();
|
|
3737
3774
|
this.visible = new EventEmitter();
|
|
3738
3775
|
this.visibleChange = new EventEmitter();
|
|
3776
|
+
this.isLoading = false;
|
|
3739
3777
|
}
|
|
3740
3778
|
InsertKeyComponent.prototype.ngOnInit = function () {
|
|
3741
3779
|
this.formGroup = this.formBuilder.group({
|
|
@@ -3753,11 +3791,11 @@ var InsertKeyComponent = /** @class */ (function () {
|
|
|
3753
3791
|
return this.wmsSystem === WmsSystem.SENIOR_CONNECT;
|
|
3754
3792
|
};
|
|
3755
3793
|
InsertKeyComponent.prototype.add = function () {
|
|
3756
|
-
this.visibleChange.emit(false);
|
|
3757
3794
|
this.searchKey();
|
|
3758
3795
|
};
|
|
3759
3796
|
InsertKeyComponent.prototype.searchKey = function () {
|
|
3760
3797
|
var _this = this;
|
|
3798
|
+
this.isLoading = true;
|
|
3761
3799
|
var key = {
|
|
3762
3800
|
documentKeys: [this.formGroup.get('key').value],
|
|
3763
3801
|
invoices: [{
|
|
@@ -3769,26 +3807,33 @@ var InsertKeyComponent = /** @class */ (function () {
|
|
|
3769
3807
|
size: 0,
|
|
3770
3808
|
offset: 0
|
|
3771
3809
|
};
|
|
3772
|
-
this.documentService.findDocuments(key)
|
|
3773
|
-
|
|
3774
|
-
|
|
3810
|
+
this.documentService.findDocuments(key)
|
|
3811
|
+
.pipe(catchError(function (err) {
|
|
3812
|
+
if (err.error && err.error.message.includes("404")) {
|
|
3813
|
+
_this.utils.message("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_search_document_not_found_message_content");
|
|
3814
|
+
}
|
|
3815
|
+
else {
|
|
3816
|
+
_this.utils.translateMessage("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_unknown_search_document_message_content" + err.error.message);
|
|
3817
|
+
}
|
|
3818
|
+
return throwError(err);
|
|
3819
|
+
}), finalize(function () {
|
|
3820
|
+
_this.isLoading = false;
|
|
3821
|
+
}))
|
|
3822
|
+
.subscribe(function (content) {
|
|
3823
|
+
if (!content || content.totalElements < 1) {
|
|
3824
|
+
_this.utils.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
|
|
3775
3825
|
return;
|
|
3776
3826
|
}
|
|
3777
3827
|
_this.document.emit(content.contents[0]);
|
|
3778
|
-
_this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_success_message_description");
|
|
3779
3828
|
_this.formGroup.reset();
|
|
3780
3829
|
});
|
|
3781
3830
|
};
|
|
3782
|
-
InsertKeyComponent.prototype.message = function (success, header, description) {
|
|
3783
|
-
this.messageService.add({
|
|
3784
|
-
severity: success,
|
|
3785
|
-
summary: this.translate.instant(header),
|
|
3786
|
-
detail: this.translate.instant(description),
|
|
3787
|
-
});
|
|
3788
|
-
};
|
|
3789
3831
|
InsertKeyComponent.prototype.cancel = function () {
|
|
3790
3832
|
this.visibleChange.emit(false);
|
|
3791
3833
|
};
|
|
3834
|
+
InsertKeyComponent.prototype.onDialogShow = function () {
|
|
3835
|
+
this.formGroup.reset();
|
|
3836
|
+
};
|
|
3792
3837
|
__decorate([
|
|
3793
3838
|
Output(),
|
|
3794
3839
|
__metadata("design:type", EventEmitter)
|
|
@@ -3808,13 +3853,12 @@ var InsertKeyComponent = /** @class */ (function () {
|
|
|
3808
3853
|
InsertKeyComponent = __decorate([
|
|
3809
3854
|
Component({
|
|
3810
3855
|
selector: "insert-key",
|
|
3811
|
-
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
|
|
3856
|
+
template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\" [modal]=\"true\" \n [draggable]=\"false\" (visibleChange)=\"cancel()\" (onShow)=\"onDialogShow()\">\n <p-header>{{'yms.int.wms_search_document' | translate}} {{ wmsSystem }}</p-header>\n <s-loading-state [loading]=\"isLoading\">\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 </s-loading-state>\n </p-dialog>\n\n</form>\n",
|
|
3812
3857
|
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}"]
|
|
3813
3858
|
}),
|
|
3814
3859
|
__metadata("design:paramtypes", [FormBuilder,
|
|
3815
3860
|
DocumentService,
|
|
3816
|
-
|
|
3817
|
-
TranslateService])
|
|
3861
|
+
UtilsMessageService])
|
|
3818
3862
|
], InsertKeyComponent);
|
|
3819
3863
|
return InsertKeyComponent;
|
|
3820
3864
|
}());
|
|
@@ -3830,7 +3874,8 @@ var InsertKeyModule = /** @class */ (function () {
|
|
|
3830
3874
|
ButtonModule,
|
|
3831
3875
|
TranslateModule,
|
|
3832
3876
|
DialogModule,
|
|
3833
|
-
InputTextModule$1
|
|
3877
|
+
InputTextModule$1,
|
|
3878
|
+
LoadingStateModule
|
|
3834
3879
|
],
|
|
3835
3880
|
exports: [InsertKeyComponent],
|
|
3836
3881
|
declarations: [InsertKeyComponent]
|
|
@@ -14127,5 +14172,5 @@ var DockModule = /** @class */ (function () {
|
|
|
14127
14172
|
return DockModule;
|
|
14128
14173
|
}());
|
|
14129
14174
|
|
|
14130
|
-
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,
|
|
14175
|
+
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, UtilsMessageService as ɵbc, RegisterDocumentModule as ɵbd, RegisterDocumentComponent as ɵbe, InsertKeyModule as ɵbf, InsertKeyComponent as ɵbg, IntegrationService$1 as ɵbh, RecebimentoFormComponent as ɵbi, DerivacaoService as ɵbj, NotaValidatorService as ɵbk, TransgeniaService as ɵbl, VerificaNotafiscal as ɵbm, BuildFormField as ɵbn, ExpedicaoFormComponent as ɵbo, ExpedicaoInfoComponent as ɵbp, RecebimentoInfoComponent as ɵbq, DevolucaoFormComponent as ɵbr, DevolucaoService as ɵbs, DevolucaoChegadaVeiculoOverride as ɵbt, RecebimentoOrdemCompraFormComponent as ɵbu, OrdemCompraService as ɵbv, RecebimentoOrdemCompraService as ɵbw, RecebimentoOrdemCompraChegadaVeiculoOverride as ɵbx, RecebimentoOrdemCompraInfoComponent as ɵby, DevolucaoInfoComponent as ɵbz, ViewImageComponent as ɵc, ContratoFormComponent as ɵca, OrdemCompraFormComponent as ɵcb, ProcessoAvulsoFormComponent as ɵcc, ProcessoAvulsoService as ɵcd, ProcessoAvulsoChegadaVeiculoOverride as ɵce, ProcessoAvulsoInfoComponent as ɵcf, LogIntegracaoDescritor as ɵcg, LogIntegracaoComponent as ɵch, LogIntegracaoService as ɵci, DerivacaoModule as ɵcj, DevolucaoModule as ɵck, OrdemCompraModule as ɵcl, RecebimentoOrdemCompraModule as ɵcm, TransgeniaModule as ɵcn, ProcessoAvulsoModule as ɵco, LogIntegracaoModule as ɵcp, NotaFormModule as ɵcq, DirectivesModule as ɵcr, TrimDirective as ɵcs, NotaFormComponent as ɵct, 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 };
|
|
14131
14176
|
//# sourceMappingURL=seniorsistemas-yms-integration.js.map
|