@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
|
@@ -3152,50 +3152,33 @@
|
|
|
3152
3152
|
return FormWmsComponent;
|
|
3153
3153
|
}(FormWmsDescritor));
|
|
3154
3154
|
|
|
3155
|
-
var
|
|
3156
|
-
function
|
|
3157
|
-
this.
|
|
3158
|
-
|
|
3159
|
-
IntegrationService.prototype.getProcessTypeByScheduling = function (idSchedulingType) {
|
|
3160
|
-
return this.httpClient.post('yms/integration/queries/getProcessTypeByScheduling', { idSchedulingType: idSchedulingType });
|
|
3161
|
-
};
|
|
3162
|
-
IntegrationService.ngInjectableDef = core.defineInjectable({ factory: function IntegrationService_Factory() { return new IntegrationService(core.inject(http.HttpClient)); }, token: IntegrationService, providedIn: "root" });
|
|
3163
|
-
IntegrationService = __decorate([
|
|
3164
|
-
core.Injectable({ providedIn: 'root' }),
|
|
3165
|
-
__metadata("design:paramtypes", [http.HttpClient])
|
|
3166
|
-
], IntegrationService);
|
|
3167
|
-
return IntegrationService;
|
|
3168
|
-
}());
|
|
3169
|
-
var ProcessType;
|
|
3170
|
-
(function (ProcessType) {
|
|
3171
|
-
ProcessType["RECEBIMENTO_CONTRATO"] = "RECEBIMENTO_CONTRATO";
|
|
3172
|
-
ProcessType["RECEBIMENTO_ORDEM_COMPRA"] = "RECEBIMENTO_ORDEM_COMPRA";
|
|
3173
|
-
ProcessType["EXPEDICAO"] = "EXPEDICAO";
|
|
3174
|
-
ProcessType["DEVOLUCAO"] = "DEVOLUCAO";
|
|
3175
|
-
ProcessType["PROCESSO_AVULSO"] = "PROCESSO_AVULSO";
|
|
3176
|
-
ProcessType["RECEBIMENTO_WMS"] = "RECEBIMENTO_WMS";
|
|
3177
|
-
})(ProcessType || (ProcessType = {}));
|
|
3178
|
-
|
|
3179
|
-
var DocumentService = /** @class */ (function (_super) {
|
|
3180
|
-
__extends(DocumentService, _super);
|
|
3181
|
-
function DocumentService(http, messageService) {
|
|
3182
|
-
var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
|
|
3183
|
-
_this.http = http;
|
|
3184
|
-
_this.messageService = messageService;
|
|
3185
|
-
return _this;
|
|
3155
|
+
var UtilsMessageService = /** @class */ (function () {
|
|
3156
|
+
function UtilsMessageService(messageService, translate) {
|
|
3157
|
+
this.messageService = messageService;
|
|
3158
|
+
this.translate = translate;
|
|
3186
3159
|
}
|
|
3187
|
-
|
|
3188
|
-
|
|
3160
|
+
UtilsMessageService.prototype.message = function (severity, summary, detail) {
|
|
3161
|
+
summary = this.translate.instant(summary);
|
|
3162
|
+
detail = this.translate.instant(detail);
|
|
3163
|
+
this.translateMessage(severity, summary, detail);
|
|
3189
3164
|
};
|
|
3190
|
-
|
|
3191
|
-
|
|
3165
|
+
UtilsMessageService.prototype.translateMessage = function (severity, summary, detail) {
|
|
3166
|
+
this.messageService.add({
|
|
3167
|
+
severity: severity,
|
|
3168
|
+
summary: summary,
|
|
3169
|
+
detail: detail
|
|
3170
|
+
});
|
|
3192
3171
|
};
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3172
|
+
UtilsMessageService.ngInjectableDef = core.defineInjectable({ factory: function UtilsMessageService_Factory() { return new UtilsMessageService(core.inject(messageservice.MessageService), core.inject(core$1.TranslateService)); }, token: UtilsMessageService, providedIn: "root" });
|
|
3173
|
+
UtilsMessageService = __decorate([
|
|
3174
|
+
core.Injectable({
|
|
3175
|
+
providedIn: 'root'
|
|
3176
|
+
}),
|
|
3177
|
+
__metadata("design:paramtypes", [api.MessageService,
|
|
3178
|
+
core$1.TranslateService])
|
|
3179
|
+
], UtilsMessageService);
|
|
3180
|
+
return UtilsMessageService;
|
|
3181
|
+
}());
|
|
3199
3182
|
|
|
3200
3183
|
var EntityService$1 = /** @class */ (function () {
|
|
3201
3184
|
function EntityService(http, messageService, entityUrl, actionsUrl) {
|
|
@@ -3319,14 +3302,59 @@
|
|
|
3319
3302
|
return AgendaService;
|
|
3320
3303
|
}(EntityService$2));
|
|
3321
3304
|
|
|
3305
|
+
var DocumentService = /** @class */ (function (_super) {
|
|
3306
|
+
__extends(DocumentService, _super);
|
|
3307
|
+
function DocumentService(http, messageService) {
|
|
3308
|
+
var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
|
|
3309
|
+
_this.http = http;
|
|
3310
|
+
_this.messageService = messageService;
|
|
3311
|
+
return _this;
|
|
3312
|
+
}
|
|
3313
|
+
DocumentService.prototype.findDocuments = function (input) {
|
|
3314
|
+
return this.http.post('yms_int/wms/queries/findDocuments', input);
|
|
3315
|
+
};
|
|
3316
|
+
DocumentService.prototype.getSystemIntegration = function () {
|
|
3317
|
+
return this.http.get('yms_int/wms/queries/getSystemIntegration');
|
|
3318
|
+
};
|
|
3319
|
+
DocumentService = __decorate([
|
|
3320
|
+
core.Injectable(),
|
|
3321
|
+
__metadata("design:paramtypes", [http.HttpClient, api.MessageService])
|
|
3322
|
+
], DocumentService);
|
|
3323
|
+
return DocumentService;
|
|
3324
|
+
}(EntityService));
|
|
3325
|
+
|
|
3326
|
+
var IntegrationService = /** @class */ (function () {
|
|
3327
|
+
function IntegrationService(httpClient) {
|
|
3328
|
+
this.httpClient = httpClient;
|
|
3329
|
+
}
|
|
3330
|
+
IntegrationService.prototype.getProcessTypeByScheduling = function (idSchedulingType) {
|
|
3331
|
+
return this.httpClient.post('yms/integration/queries/getProcessTypeByScheduling', { idSchedulingType: idSchedulingType });
|
|
3332
|
+
};
|
|
3333
|
+
IntegrationService.ngInjectableDef = core.defineInjectable({ factory: function IntegrationService_Factory() { return new IntegrationService(core.inject(http.HttpClient)); }, token: IntegrationService, providedIn: "root" });
|
|
3334
|
+
IntegrationService = __decorate([
|
|
3335
|
+
core.Injectable({ providedIn: 'root' }),
|
|
3336
|
+
__metadata("design:paramtypes", [http.HttpClient])
|
|
3337
|
+
], IntegrationService);
|
|
3338
|
+
return IntegrationService;
|
|
3339
|
+
}());
|
|
3340
|
+
var ProcessType;
|
|
3341
|
+
(function (ProcessType) {
|
|
3342
|
+
ProcessType["RECEBIMENTO_CONTRATO"] = "RECEBIMENTO_CONTRATO";
|
|
3343
|
+
ProcessType["RECEBIMENTO_ORDEM_COMPRA"] = "RECEBIMENTO_ORDEM_COMPRA";
|
|
3344
|
+
ProcessType["EXPEDICAO"] = "EXPEDICAO";
|
|
3345
|
+
ProcessType["DEVOLUCAO"] = "DEVOLUCAO";
|
|
3346
|
+
ProcessType["PROCESSO_AVULSO"] = "PROCESSO_AVULSO";
|
|
3347
|
+
ProcessType["RECEBIMENTO_WMS"] = "RECEBIMENTO_WMS";
|
|
3348
|
+
})(ProcessType || (ProcessType = {}));
|
|
3349
|
+
|
|
3322
3350
|
var DocumentGridComponent = /** @class */ (function () {
|
|
3323
|
-
function DocumentGridComponent(translate, documentService,
|
|
3351
|
+
function DocumentGridComponent(translate, documentService, confirmationService, integrationService, agendaService, utils) {
|
|
3324
3352
|
this.translate = translate;
|
|
3325
3353
|
this.documentService = documentService;
|
|
3326
|
-
this.messageService = messageService;
|
|
3327
3354
|
this.confirmationService = confirmationService;
|
|
3328
3355
|
this.integrationService = integrationService;
|
|
3329
3356
|
this.agendaService = agendaService;
|
|
3357
|
+
this.utils = utils;
|
|
3330
3358
|
this.viewDocument = new core.EventEmitter();
|
|
3331
3359
|
this.gridData = [];
|
|
3332
3360
|
this.enableButtonIsClienteExterno = true;
|
|
@@ -3336,7 +3364,7 @@
|
|
|
3336
3364
|
DocumentGridComponent.prototype.ngOnInit = function () {
|
|
3337
3365
|
this.verifyClienteExterno();
|
|
3338
3366
|
this.getProcessTypeByScheduling();
|
|
3339
|
-
this.listDocuments();
|
|
3367
|
+
this.listDocuments(false);
|
|
3340
3368
|
};
|
|
3341
3369
|
DocumentGridComponent.prototype.ngAfterContentChecked = function () {
|
|
3342
3370
|
this.gridColumns = this.getGridColumns();
|
|
@@ -3355,8 +3383,38 @@
|
|
|
3355
3383
|
.subscribe(function (result) { return _this.processType = result.processType; });
|
|
3356
3384
|
};
|
|
3357
3385
|
DocumentGridComponent.prototype.onChangeDocument = function (document) {
|
|
3386
|
+
if (!this.hasFilledValues(document)) {
|
|
3387
|
+
this.utils.message("error", "yms.int.wms_save_error_register_document_message_title", "yms.int.wms_save_error_register_document_message_description");
|
|
3388
|
+
return;
|
|
3389
|
+
}
|
|
3390
|
+
this.assignKeys(document);
|
|
3391
|
+
var duplicateDocument = this.gridData.find(function (gridData) { return gridData.key === document.key; });
|
|
3392
|
+
if (duplicateDocument) {
|
|
3393
|
+
this.utils.message("error", "yms.int.wms_error_register_document_message_title", "yms.int.wms_error_register_document_message_description");
|
|
3394
|
+
return;
|
|
3395
|
+
}
|
|
3358
3396
|
this.gridData.push(document);
|
|
3359
3397
|
this.disabled = false;
|
|
3398
|
+
this.utils.message("success", "yms.int.wms_saved_document_message_title", "yms.int.wms_success_message_description");
|
|
3399
|
+
this.visibleDocumentRegister = false;
|
|
3400
|
+
this.visibleInvoiceKey = false;
|
|
3401
|
+
};
|
|
3402
|
+
DocumentGridComponent.prototype.assignKeys = function (document) {
|
|
3403
|
+
if (document.id === undefined) {
|
|
3404
|
+
if (this.agenda.id !== undefined) {
|
|
3405
|
+
document.schedulingId = this.agenda.id;
|
|
3406
|
+
}
|
|
3407
|
+
if (document.key === undefined || document.key === null) {
|
|
3408
|
+
document.key = document.invoiceKey;
|
|
3409
|
+
if (this.isWmsWIS()) {
|
|
3410
|
+
document.key = document.invoiceNumber + ":" + document.invoiceSerialNumber + ":" + document.partnerDocument;
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
};
|
|
3415
|
+
DocumentGridComponent.prototype.hasFilledValues = function (document) {
|
|
3416
|
+
var formValues = Object.values(document);
|
|
3417
|
+
return formValues.some(function (value) { return value !== null && value !== ''; });
|
|
3360
3418
|
};
|
|
3361
3419
|
DocumentGridComponent.prototype.cantEditStatus = function () {
|
|
3362
3420
|
var cantEditStatus = [
|
|
@@ -3417,9 +3475,10 @@
|
|
|
3417
3475
|
}
|
|
3418
3476
|
data.key = _this.updateKeyByWms(data);
|
|
3419
3477
|
_this.documentService.insert(data).subscribe(function () {
|
|
3420
|
-
_this.message("success", "
|
|
3478
|
+
_this.utils.message("success", "yms.int.wms_saved_document_message_title", "saved_message_content");
|
|
3421
3479
|
});
|
|
3422
3480
|
_this.disabled = true;
|
|
3481
|
+
_this.listDocuments(false);
|
|
3423
3482
|
}
|
|
3424
3483
|
});
|
|
3425
3484
|
}
|
|
@@ -3446,13 +3505,8 @@
|
|
|
3446
3505
|
return rxjs.forkJoin(_this.selection.map(function (document) { return _this.documentService.delete(document.id); }))
|
|
3447
3506
|
.pipe(operators.takeUntil(_this.ngUnsubscribe))
|
|
3448
3507
|
.subscribe(function () {
|
|
3449
|
-
_this.
|
|
3450
|
-
|
|
3451
|
-
summary: _this.translate.instant("deleted_message_title"),
|
|
3452
|
-
detail: _this.translate.instant("deleted_message_content"),
|
|
3453
|
-
});
|
|
3454
|
-
_this.gridData = [];
|
|
3455
|
-
_this.listDocuments();
|
|
3508
|
+
_this.utils.message("success", "deleted_message_title", "deleted_message_content");
|
|
3509
|
+
_this.listDocuments(true);
|
|
3456
3510
|
});
|
|
3457
3511
|
}
|
|
3458
3512
|
});
|
|
@@ -3461,27 +3515,31 @@
|
|
|
3461
3515
|
var _this = this;
|
|
3462
3516
|
this.selection.forEach(function (value, index) {
|
|
3463
3517
|
if (!value.id) {
|
|
3464
|
-
_this.gridData.
|
|
3518
|
+
var indexGridData = _this.gridData.findIndex(function (document) { return document.key === value.key; });
|
|
3519
|
+
_this.gridData.splice(indexGridData, 1);
|
|
3465
3520
|
_this.selection.splice(index, 1);
|
|
3466
3521
|
}
|
|
3467
3522
|
});
|
|
3468
3523
|
};
|
|
3469
|
-
DocumentGridComponent.prototype.listDocuments = function () {
|
|
3524
|
+
DocumentGridComponent.prototype.listDocuments = function (isDelete) {
|
|
3470
3525
|
var _this = this;
|
|
3471
3526
|
this.documentService.list({
|
|
3472
3527
|
filterQuery: "schedulingId eq '" + this.agenda.id + "'"
|
|
3473
3528
|
})
|
|
3474
3529
|
.subscribe(function (contents) {
|
|
3475
|
-
|
|
3530
|
+
var _a;
|
|
3531
|
+
_this.gridData = isDelete ? _this.gridData.filter(function (item) { return !item.id; }) : [];
|
|
3476
3532
|
if (contents.totalElements > 0) {
|
|
3477
|
-
_this.gridData
|
|
3533
|
+
(_a = _this.gridData).push.apply(_a, __spread(contents.contents));
|
|
3478
3534
|
_this.documentTotalRecords = contents.totalElements;
|
|
3479
3535
|
}
|
|
3480
3536
|
else {
|
|
3481
3537
|
_this.documentTotalRecords = _this.gridData.length;
|
|
3482
3538
|
}
|
|
3483
|
-
_this.
|
|
3539
|
+
var hasElementWithoutId = _this.gridData.some(function (item) { return !item.id; });
|
|
3540
|
+
_this.disabled = !hasElementWithoutId;
|
|
3484
3541
|
_this.loading = false;
|
|
3542
|
+
_this.selection = [];
|
|
3485
3543
|
});
|
|
3486
3544
|
};
|
|
3487
3545
|
DocumentGridComponent.prototype.getGridColumns = function () {
|
|
@@ -3521,13 +3579,6 @@
|
|
|
3521
3579
|
DocumentGridComponent.prototype.isWmsWIS = function () {
|
|
3522
3580
|
return this.wmsSystem === WmsSystem.WIS;
|
|
3523
3581
|
};
|
|
3524
|
-
DocumentGridComponent.prototype.message = function (severity, summary, detail) {
|
|
3525
|
-
this.messageService.add({
|
|
3526
|
-
severity: severity,
|
|
3527
|
-
summary: this.translate.instant(summary),
|
|
3528
|
-
detail: this.translate.instant(detail),
|
|
3529
|
-
});
|
|
3530
|
-
};
|
|
3531
3582
|
__decorate([
|
|
3532
3583
|
core.Input(),
|
|
3533
3584
|
__metadata("design:type", Object)
|
|
@@ -3575,15 +3626,15 @@
|
|
|
3575
3626
|
DocumentGridComponent = __decorate([
|
|
3576
3627
|
core.Component({
|
|
3577
3628
|
selector: 'document-grid',
|
|
3578
|
-
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=\"
|
|
3629
|
+
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>",
|
|
3579
3630
|
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}"]
|
|
3580
3631
|
}),
|
|
3581
3632
|
__metadata("design:paramtypes", [core$1.TranslateService,
|
|
3582
3633
|
DocumentService,
|
|
3583
|
-
api.MessageService,
|
|
3584
3634
|
api.ConfirmationService,
|
|
3585
3635
|
IntegrationService,
|
|
3586
|
-
AgendaService
|
|
3636
|
+
AgendaService,
|
|
3637
|
+
UtilsMessageService])
|
|
3587
3638
|
], DocumentGridComponent);
|
|
3588
3639
|
return DocumentGridComponent;
|
|
3589
3640
|
}());
|
|
@@ -3630,16 +3681,17 @@
|
|
|
3630
3681
|
}());
|
|
3631
3682
|
|
|
3632
3683
|
var RegisterDocumentComponent = /** @class */ (function () {
|
|
3633
|
-
function RegisterDocumentComponent(fb,
|
|
3684
|
+
function RegisterDocumentComponent(fb, utils) {
|
|
3634
3685
|
this.fb = fb;
|
|
3635
|
-
this.
|
|
3636
|
-
this.translateService = translateService;
|
|
3686
|
+
this.utils = utils;
|
|
3637
3687
|
this.document = new core.EventEmitter();
|
|
3638
3688
|
this.visible = new core.EventEmitter();
|
|
3639
3689
|
this.visibleChange = new core.EventEmitter();
|
|
3690
|
+
this.isSaveFormValid = false;
|
|
3640
3691
|
}
|
|
3641
3692
|
RegisterDocumentComponent.prototype.ngOnInit = function () {
|
|
3642
3693
|
this.getFormGroup();
|
|
3694
|
+
this.watchFormChanges();
|
|
3643
3695
|
};
|
|
3644
3696
|
RegisterDocumentComponent.prototype.ngOnChanges = function () {
|
|
3645
3697
|
this.visibilityConfig();
|
|
@@ -3657,8 +3709,8 @@
|
|
|
3657
3709
|
}
|
|
3658
3710
|
};
|
|
3659
3711
|
RegisterDocumentComponent.prototype.close = function () {
|
|
3660
|
-
this.visibleChange.emit(false);
|
|
3661
3712
|
this.formGroup.reset();
|
|
3713
|
+
this.visibleChange.emit(false);
|
|
3662
3714
|
};
|
|
3663
3715
|
RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
|
|
3664
3716
|
this.formGroup.get('key').setValue(document.key);
|
|
@@ -3692,28 +3744,8 @@
|
|
|
3692
3744
|
});
|
|
3693
3745
|
};
|
|
3694
3746
|
RegisterDocumentComponent.prototype.save = function () {
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
if (this.agenda.id !== undefined) {
|
|
3698
|
-
value.schedulingId = this.agenda.id;
|
|
3699
|
-
}
|
|
3700
|
-
if (value.key === undefined) {
|
|
3701
|
-
value.key = value.invoiceKey;
|
|
3702
|
-
if (this.isWmsWis()) {
|
|
3703
|
-
value.key = value.invoiceNumber + ":" + value.invoiceSerialNumber + ":" + value.partnerDocument;
|
|
3704
|
-
}
|
|
3705
|
-
}
|
|
3706
|
-
this.document.emit(Document.fromDto(value));
|
|
3707
|
-
this.successMessage();
|
|
3708
|
-
this.visibleChange.emit(false);
|
|
3709
|
-
}
|
|
3710
|
-
};
|
|
3711
|
-
RegisterDocumentComponent.prototype.successMessage = function () {
|
|
3712
|
-
this.messageService.add({
|
|
3713
|
-
severity: "success",
|
|
3714
|
-
summary: this.translateService.instant("yms.saved_message_title"),
|
|
3715
|
-
detail: this.translateService.instant("yms.int.wms_success_message_description"),
|
|
3716
|
-
});
|
|
3747
|
+
this.document.emit(Document.fromDto(this.formGroup.getRawValue()));
|
|
3748
|
+
this.formGroup.reset();
|
|
3717
3749
|
};
|
|
3718
3750
|
RegisterDocumentComponent.prototype.isWmsWis = function () {
|
|
3719
3751
|
return this.wmsSystem === WmsSystem.WIS;
|
|
@@ -3721,6 +3753,13 @@
|
|
|
3721
3753
|
RegisterDocumentComponent.prototype.isWmsSeniorConnect = function () {
|
|
3722
3754
|
return this.wmsSystem === WmsSystem.SENIOR_CONNECT;
|
|
3723
3755
|
};
|
|
3756
|
+
RegisterDocumentComponent.prototype.watchFormChanges = function () {
|
|
3757
|
+
var _this = this;
|
|
3758
|
+
this.formGroup.valueChanges.subscribe(function () {
|
|
3759
|
+
var formValues = Object.values(_this.formGroup.value);
|
|
3760
|
+
_this.isSaveFormValid = formValues.some(function (value) { return value !== null && value !== ''; });
|
|
3761
|
+
});
|
|
3762
|
+
};
|
|
3724
3763
|
__decorate([
|
|
3725
3764
|
core.Input(),
|
|
3726
3765
|
__metadata("design:type", Array)
|
|
@@ -3752,11 +3791,10 @@
|
|
|
3752
3791
|
RegisterDocumentComponent = __decorate([
|
|
3753
3792
|
core.Component({
|
|
3754
3793
|
selector: "register-document",
|
|
3755
|
-
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}}\"
|
|
3794
|
+
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>"
|
|
3756
3795
|
}),
|
|
3757
3796
|
__metadata("design:paramtypes", [forms.FormBuilder,
|
|
3758
|
-
|
|
3759
|
-
core$1.TranslateService])
|
|
3797
|
+
UtilsMessageService])
|
|
3760
3798
|
], RegisterDocumentComponent);
|
|
3761
3799
|
return RegisterDocumentComponent;
|
|
3762
3800
|
}());
|
|
@@ -3787,14 +3825,14 @@
|
|
|
3787
3825
|
}());
|
|
3788
3826
|
|
|
3789
3827
|
var InsertKeyComponent = /** @class */ (function () {
|
|
3790
|
-
function InsertKeyComponent(formBuilder, documentService,
|
|
3828
|
+
function InsertKeyComponent(formBuilder, documentService, utils) {
|
|
3791
3829
|
this.formBuilder = formBuilder;
|
|
3792
3830
|
this.documentService = documentService;
|
|
3793
|
-
this.
|
|
3794
|
-
this.translate = translate;
|
|
3831
|
+
this.utils = utils;
|
|
3795
3832
|
this.document = new core.EventEmitter();
|
|
3796
3833
|
this.visible = new core.EventEmitter();
|
|
3797
3834
|
this.visibleChange = new core.EventEmitter();
|
|
3835
|
+
this.isLoading = false;
|
|
3798
3836
|
}
|
|
3799
3837
|
InsertKeyComponent.prototype.ngOnInit = function () {
|
|
3800
3838
|
this.formGroup = this.formBuilder.group({
|
|
@@ -3812,11 +3850,11 @@
|
|
|
3812
3850
|
return this.wmsSystem === WmsSystem.SENIOR_CONNECT;
|
|
3813
3851
|
};
|
|
3814
3852
|
InsertKeyComponent.prototype.add = function () {
|
|
3815
|
-
this.visibleChange.emit(false);
|
|
3816
3853
|
this.searchKey();
|
|
3817
3854
|
};
|
|
3818
3855
|
InsertKeyComponent.prototype.searchKey = function () {
|
|
3819
3856
|
var _this = this;
|
|
3857
|
+
this.isLoading = true;
|
|
3820
3858
|
var key = {
|
|
3821
3859
|
documentKeys: [this.formGroup.get('key').value],
|
|
3822
3860
|
invoices: [{
|
|
@@ -3828,26 +3866,33 @@
|
|
|
3828
3866
|
size: 0,
|
|
3829
3867
|
offset: 0
|
|
3830
3868
|
};
|
|
3831
|
-
this.documentService.findDocuments(key)
|
|
3832
|
-
|
|
3833
|
-
|
|
3869
|
+
this.documentService.findDocuments(key)
|
|
3870
|
+
.pipe(operators.catchError(function (err) {
|
|
3871
|
+
if (err.error && err.error.message.includes("404")) {
|
|
3872
|
+
_this.utils.message("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_search_document_not_found_message_content");
|
|
3873
|
+
}
|
|
3874
|
+
else {
|
|
3875
|
+
_this.utils.translateMessage("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_unknown_search_document_message_content" + err.error.message);
|
|
3876
|
+
}
|
|
3877
|
+
return rxjs.throwError(err);
|
|
3878
|
+
}), operators.finalize(function () {
|
|
3879
|
+
_this.isLoading = false;
|
|
3880
|
+
}))
|
|
3881
|
+
.subscribe(function (content) {
|
|
3882
|
+
if (!content || content.totalElements < 1) {
|
|
3883
|
+
_this.utils.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
|
|
3834
3884
|
return;
|
|
3835
3885
|
}
|
|
3836
3886
|
_this.document.emit(content.contents[0]);
|
|
3837
|
-
_this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_success_message_description");
|
|
3838
3887
|
_this.formGroup.reset();
|
|
3839
3888
|
});
|
|
3840
3889
|
};
|
|
3841
|
-
InsertKeyComponent.prototype.message = function (success, header, description) {
|
|
3842
|
-
this.messageService.add({
|
|
3843
|
-
severity: success,
|
|
3844
|
-
summary: this.translate.instant(header),
|
|
3845
|
-
detail: this.translate.instant(description),
|
|
3846
|
-
});
|
|
3847
|
-
};
|
|
3848
3890
|
InsertKeyComponent.prototype.cancel = function () {
|
|
3849
3891
|
this.visibleChange.emit(false);
|
|
3850
3892
|
};
|
|
3893
|
+
InsertKeyComponent.prototype.onDialogShow = function () {
|
|
3894
|
+
this.formGroup.reset();
|
|
3895
|
+
};
|
|
3851
3896
|
__decorate([
|
|
3852
3897
|
core.Output(),
|
|
3853
3898
|
__metadata("design:type", core.EventEmitter)
|
|
@@ -3867,13 +3912,12 @@
|
|
|
3867
3912
|
InsertKeyComponent = __decorate([
|
|
3868
3913
|
core.Component({
|
|
3869
3914
|
selector: "insert-key",
|
|
3870
|
-
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
|
|
3915
|
+
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",
|
|
3871
3916
|
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}"]
|
|
3872
3917
|
}),
|
|
3873
3918
|
__metadata("design:paramtypes", [forms.FormBuilder,
|
|
3874
3919
|
DocumentService,
|
|
3875
|
-
|
|
3876
|
-
core$1.TranslateService])
|
|
3920
|
+
UtilsMessageService])
|
|
3877
3921
|
], InsertKeyComponent);
|
|
3878
3922
|
return InsertKeyComponent;
|
|
3879
3923
|
}());
|
|
@@ -3889,7 +3933,8 @@
|
|
|
3889
3933
|
angularComponents.ButtonModule,
|
|
3890
3934
|
core$1.TranslateModule,
|
|
3891
3935
|
primeng.DialogModule,
|
|
3892
|
-
primeng.InputTextModule
|
|
3936
|
+
primeng.InputTextModule,
|
|
3937
|
+
angularComponents.LoadingStateModule
|
|
3893
3938
|
],
|
|
3894
3939
|
exports: [InsertKeyComponent],
|
|
3895
3940
|
declarations: [InsertKeyComponent]
|
|
@@ -14285,50 +14330,51 @@
|
|
|
14285
14330
|
exports.ɵb = CustomStompConfig;
|
|
14286
14331
|
exports.ɵba = EntityService$2;
|
|
14287
14332
|
exports.ɵbb = EntityService$1;
|
|
14288
|
-
exports.ɵbc =
|
|
14289
|
-
exports.ɵbd =
|
|
14290
|
-
exports.ɵbe =
|
|
14291
|
-
exports.ɵbf =
|
|
14292
|
-
exports.ɵbg =
|
|
14293
|
-
exports.ɵbh =
|
|
14294
|
-
exports.ɵbi =
|
|
14295
|
-
exports.ɵbj =
|
|
14296
|
-
exports.ɵbk =
|
|
14297
|
-
exports.ɵbl =
|
|
14298
|
-
exports.ɵbm =
|
|
14299
|
-
exports.ɵbn =
|
|
14300
|
-
exports.ɵbo =
|
|
14301
|
-
exports.ɵbp =
|
|
14302
|
-
exports.ɵbq =
|
|
14303
|
-
exports.ɵbr =
|
|
14304
|
-
exports.ɵbs =
|
|
14305
|
-
exports.ɵbt =
|
|
14306
|
-
exports.ɵbu =
|
|
14307
|
-
exports.ɵbv =
|
|
14308
|
-
exports.ɵbw =
|
|
14309
|
-
exports.ɵbx =
|
|
14310
|
-
exports.ɵby =
|
|
14311
|
-
exports.ɵbz =
|
|
14333
|
+
exports.ɵbc = UtilsMessageService;
|
|
14334
|
+
exports.ɵbd = RegisterDocumentModule;
|
|
14335
|
+
exports.ɵbe = RegisterDocumentComponent;
|
|
14336
|
+
exports.ɵbf = InsertKeyModule;
|
|
14337
|
+
exports.ɵbg = InsertKeyComponent;
|
|
14338
|
+
exports.ɵbh = IntegrationService$1;
|
|
14339
|
+
exports.ɵbi = RecebimentoFormComponent;
|
|
14340
|
+
exports.ɵbj = DerivacaoService;
|
|
14341
|
+
exports.ɵbk = NotaValidatorService;
|
|
14342
|
+
exports.ɵbl = TransgeniaService;
|
|
14343
|
+
exports.ɵbm = VerificaNotafiscal;
|
|
14344
|
+
exports.ɵbn = BuildFormField;
|
|
14345
|
+
exports.ɵbo = ExpedicaoFormComponent;
|
|
14346
|
+
exports.ɵbp = ExpedicaoInfoComponent;
|
|
14347
|
+
exports.ɵbq = RecebimentoInfoComponent;
|
|
14348
|
+
exports.ɵbr = DevolucaoFormComponent;
|
|
14349
|
+
exports.ɵbs = DevolucaoService;
|
|
14350
|
+
exports.ɵbt = DevolucaoChegadaVeiculoOverride;
|
|
14351
|
+
exports.ɵbu = RecebimentoOrdemCompraFormComponent;
|
|
14352
|
+
exports.ɵbv = OrdemCompraService;
|
|
14353
|
+
exports.ɵbw = RecebimentoOrdemCompraService;
|
|
14354
|
+
exports.ɵbx = RecebimentoOrdemCompraChegadaVeiculoOverride;
|
|
14355
|
+
exports.ɵby = RecebimentoOrdemCompraInfoComponent;
|
|
14356
|
+
exports.ɵbz = DevolucaoInfoComponent;
|
|
14312
14357
|
exports.ɵc = ViewImageComponent;
|
|
14313
|
-
exports.ɵca =
|
|
14314
|
-
exports.ɵcb =
|
|
14315
|
-
exports.ɵcc =
|
|
14316
|
-
exports.ɵcd =
|
|
14317
|
-
exports.ɵce =
|
|
14318
|
-
exports.ɵcf =
|
|
14319
|
-
exports.ɵcg =
|
|
14320
|
-
exports.ɵch =
|
|
14321
|
-
exports.ɵci =
|
|
14322
|
-
exports.ɵcj =
|
|
14323
|
-
exports.ɵck =
|
|
14324
|
-
exports.ɵcl =
|
|
14325
|
-
exports.ɵcm =
|
|
14326
|
-
exports.ɵcn =
|
|
14327
|
-
exports.ɵco =
|
|
14328
|
-
exports.ɵcp =
|
|
14329
|
-
exports.ɵcq =
|
|
14330
|
-
exports.ɵcr =
|
|
14331
|
-
exports.ɵcs =
|
|
14358
|
+
exports.ɵca = ContratoFormComponent;
|
|
14359
|
+
exports.ɵcb = OrdemCompraFormComponent;
|
|
14360
|
+
exports.ɵcc = ProcessoAvulsoFormComponent;
|
|
14361
|
+
exports.ɵcd = ProcessoAvulsoService;
|
|
14362
|
+
exports.ɵce = ProcessoAvulsoChegadaVeiculoOverride;
|
|
14363
|
+
exports.ɵcf = ProcessoAvulsoInfoComponent;
|
|
14364
|
+
exports.ɵcg = LogIntegracaoDescritor;
|
|
14365
|
+
exports.ɵch = LogIntegracaoComponent;
|
|
14366
|
+
exports.ɵci = LogIntegracaoService;
|
|
14367
|
+
exports.ɵcj = DerivacaoModule;
|
|
14368
|
+
exports.ɵck = DevolucaoModule;
|
|
14369
|
+
exports.ɵcl = OrdemCompraModule;
|
|
14370
|
+
exports.ɵcm = RecebimentoOrdemCompraModule;
|
|
14371
|
+
exports.ɵcn = TransgeniaModule;
|
|
14372
|
+
exports.ɵco = ProcessoAvulsoModule;
|
|
14373
|
+
exports.ɵcp = LogIntegracaoModule;
|
|
14374
|
+
exports.ɵcq = NotaFormModule;
|
|
14375
|
+
exports.ɵcr = DirectivesModule;
|
|
14376
|
+
exports.ɵcs = TrimDirective;
|
|
14377
|
+
exports.ɵct = NotaFormComponent;
|
|
14332
14378
|
exports.ɵd = LogDescritor;
|
|
14333
14379
|
exports.ɵe = LogsComponent;
|
|
14334
14380
|
exports.ɵf = PortariasService;
|