@seniorsistemas/yms-integration 1.26.0 → 1.27.0-66607a0f-3e1c-4f97-a69c-5497131ef41a
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 +102 -54
- 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 +47 -46
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +21 -4
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +8 -2
- package/esm2015/src/wms/entities/integration/integration.service.js +29 -0
- package/esm5/seniorsistemas-yms-integration.js +47 -46
- package/esm5/src/wms/components/document-grid/document-grid.component.js +22 -4
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +8 -2
- package/esm5/src/wms/entities/integration/integration.service.js +30 -0
- package/fesm2015/seniorsistemas-yms-integration.js +56 -11
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +56 -9
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.d.ts +46 -45
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/wms/components/document-grid/document-grid.component.d.ts +6 -1
- package/src/wms/entities/integration/integration.service.d.ts +18 -0
|
@@ -3152,6 +3152,30 @@
|
|
|
3152
3152
|
return FormWmsComponent;
|
|
3153
3153
|
}(FormWmsDescritor));
|
|
3154
3154
|
|
|
3155
|
+
var IntegrationService = /** @class */ (function () {
|
|
3156
|
+
function IntegrationService(httpClient) {
|
|
3157
|
+
this.httpClient = httpClient;
|
|
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
|
+
|
|
3155
3179
|
var DocumentService = /** @class */ (function (_super) {
|
|
3156
3180
|
__extends(DocumentService, _super);
|
|
3157
3181
|
function DocumentService(http, messageService) {
|
|
@@ -3171,11 +3195,12 @@
|
|
|
3171
3195
|
}(EntityService));
|
|
3172
3196
|
|
|
3173
3197
|
var DocumentGridComponent = /** @class */ (function () {
|
|
3174
|
-
function DocumentGridComponent(translate, documentService, messageService, confirmationService) {
|
|
3198
|
+
function DocumentGridComponent(translate, documentService, messageService, confirmationService, integrationService) {
|
|
3175
3199
|
this.translate = translate;
|
|
3176
3200
|
this.documentService = documentService;
|
|
3177
3201
|
this.messageService = messageService;
|
|
3178
3202
|
this.confirmationService = confirmationService;
|
|
3203
|
+
this.integrationService = integrationService;
|
|
3179
3204
|
this.viewDocument = new core.EventEmitter();
|
|
3180
3205
|
this.gridData = [];
|
|
3181
3206
|
this.ngUnsubscribe = new rxjs.Subject();
|
|
@@ -3183,8 +3208,14 @@
|
|
|
3183
3208
|
}
|
|
3184
3209
|
DocumentGridComponent.prototype.ngOnInit = function () {
|
|
3185
3210
|
this.gridColumns = this.getGridColumns();
|
|
3211
|
+
this.getProcessTypeByScheduling();
|
|
3186
3212
|
this.listDocuments();
|
|
3187
3213
|
};
|
|
3214
|
+
DocumentGridComponent.prototype.getProcessTypeByScheduling = function () {
|
|
3215
|
+
var _this = this;
|
|
3216
|
+
this.integrationService.getProcessTypeByScheduling(this.agenda.tipoAgendamento.id)
|
|
3217
|
+
.subscribe(function (result) { return _this.processType = result.processType; });
|
|
3218
|
+
};
|
|
3188
3219
|
DocumentGridComponent.prototype.onChangeDocument = function (document) {
|
|
3189
3220
|
this.gridData.push(document);
|
|
3190
3221
|
this.disabled = false;
|
|
@@ -3227,6 +3258,7 @@
|
|
|
3227
3258
|
if (!data.schedulingId) {
|
|
3228
3259
|
data.schedulingId = _this.agenda.id;
|
|
3229
3260
|
}
|
|
3261
|
+
_this.updateKey(data);
|
|
3230
3262
|
_this.documentService.insert(data).subscribe(function () {
|
|
3231
3263
|
_this.message("success", "saved_message_title", "saved_message_content");
|
|
3232
3264
|
});
|
|
@@ -3235,6 +3267,14 @@
|
|
|
3235
3267
|
});
|
|
3236
3268
|
}
|
|
3237
3269
|
};
|
|
3270
|
+
DocumentGridComponent.prototype.updateKey = function (data) {
|
|
3271
|
+
if (data.key === undefined) {
|
|
3272
|
+
data.key = data.invoiceKey;
|
|
3273
|
+
}
|
|
3274
|
+
if (this.wmsSystem === WmsSystem.WIS) {
|
|
3275
|
+
data.key = data.invoiceNumber + ":" + data.invoiceSerialNumber + ":" + data.partnerDocument;
|
|
3276
|
+
}
|
|
3277
|
+
};
|
|
3238
3278
|
DocumentGridComponent.prototype.onDelete = function () {
|
|
3239
3279
|
var _this = this;
|
|
3240
3280
|
this.confirmationService.confirm({
|
|
@@ -3352,13 +3392,14 @@
|
|
|
3352
3392
|
DocumentGridComponent = __decorate([
|
|
3353
3393
|
core.Component({
|
|
3354
3394
|
selector: 'document-grid',
|
|
3355
|
-
template: "<p-panel>\n
|
|
3395
|
+
template: "<div *ngIf=\"this.processType === 'RECEBIMENTO_WMS'; else processNotConfigured\">\n <p-panel>\n <p-header>\n <div class=\"buttons\">\n <div>\n <s-button\n label=\"{{'yms.int.wms_add_document' | translate}}\"\n priority=\"primary\"\n [model]=\"getActions()\"\n [auxiliary]=\"false\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_view_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || selection.length !== 1\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [disabled]=\"!selection || !selection.length\"\n (click)=\"onDelete()\">\n </s-button>\n </div>\n <s-button\n id=\"refresh-button\"\n priority=\"default\"\n iconClass=\"fa fa-refresh\"\n (onClick)=\"listDocuments()\"\n >\n </s-button>\n </div>\n </p-header>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\" *ngIf=\"gridData && gridData.length; else emptyList\">\n <p-table #documentTable [value]=\"gridData\"\n [columns]=\"gridColumns\" dataKey=\"id\" [lazy]=\"true\" [scrollable]=\"true\" [resizableColumns]=\"true\"\n sortMode=\"multiple\" [paginator]=\"true\" [totalRecords]=\"documentTotalRecords\" rows=\"10\"\n [rowsPerPageOptions]=\"[10, 20, 50, 100]\" [(selection)]=\"selection\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\"/>\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th id=\"checkbox\" class=\"table-checkbox\">\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\n </th>\n <th id=\"col\" *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\" pResizableColumn>\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.header }}</span>\n <p-sortIcon [field]=\"col.field\"></p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns let-expanded=\"expanded\">\n <tr [pSelectableRow]=\"rowData\">\n <td class=\"table-checkbox\">\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"logistcUnitName\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"logistcUnitDocument\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"key\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceNumber\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"invoiceSerialNumber\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"ownerName\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"ownerDocument\"] }}</span>\n </td>\n <td (click)=\"selection = [rowData]\">\n <span>{{ rowData[\"code\"] }}</span>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [translate]=\"'total_records'\" [translateParams]=\"{ value: documentTotalRecords }\"></span>\n </ng-template>\n </p-table> \n </div>\n </div>\n <register-document\n [wmsSystem]=\"wmsSystem\"\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document> \n <insert-key [wmsSystem]=\"wmsSystem\" \n (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n </p-panel>\n</div>\n <div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"disabled || !this.gridData\" (click)=\"save()\">\n </s-button>\n </div>\n <register-document\n [wmsSystem]=\"wmsSystem\"\n [edit]=\"edit\"\n [viewDocument]=\"selection\"\n (document)=\"onChangeDocument($event)\"\n [(visible)]=\"visibleDocumentRegister\"\n [agenda]=\"agenda\">\n </register-document> \n <insert-key [wmsSystem]=\"wmsSystem\" \n (document)=\"onChangeDocument($event)\" [(visible)]=\"visibleInvoiceKey\"></insert-key>\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'detail_empty_state_title' | translate\"\n [description]=\"'detail_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n\n<ng-template #processNotConfigured>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\"\n [title]=\"'yms.int.wms_there_no_process_type_configured_for_this_type_scheduling' | translate\"\n >\n </s-empty-state>\n </div>\n</ng-template>",
|
|
3356
3396
|
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}"]
|
|
3357
3397
|
}),
|
|
3358
3398
|
__metadata("design:paramtypes", [core$1.TranslateService,
|
|
3359
3399
|
DocumentService,
|
|
3360
3400
|
api.MessageService,
|
|
3361
|
-
api.ConfirmationService
|
|
3401
|
+
api.ConfirmationService,
|
|
3402
|
+
IntegrationService])
|
|
3362
3403
|
], DocumentGridComponent);
|
|
3363
3404
|
return DocumentGridComponent;
|
|
3364
3405
|
}());
|
|
@@ -3598,6 +3639,12 @@
|
|
|
3598
3639
|
if (this.agenda.id !== undefined) {
|
|
3599
3640
|
value.schedulingId = this.agenda.id;
|
|
3600
3641
|
}
|
|
3642
|
+
if (value.key === undefined) {
|
|
3643
|
+
value.key = value.invoiceKey;
|
|
3644
|
+
if (this.isWmsWis()) {
|
|
3645
|
+
value.key = value.invoiceNumber + ":" + value.invoiceSerialNumber + ":" + value.partnerDocument;
|
|
3646
|
+
}
|
|
3647
|
+
}
|
|
3601
3648
|
this.document.emit(Document.fromDto(value));
|
|
3602
3649
|
this.successMessage();
|
|
3603
3650
|
this.visibleChange.emit(false);
|
|
@@ -3647,7 +3694,7 @@
|
|
|
3647
3694
|
RegisterDocumentComponent = __decorate([
|
|
3648
3695
|
core.Component({
|
|
3649
3696
|
selector: "register-document",
|
|
3650
|
-
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() && !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}}\" (click)=\"save()\" [attr.data-hidden]=\"hideSaveButton\">\n </button>\n <button\n type=\"button\" class=\"ui-button-link\" pButton label=\"{{'cancel' | translate}}\" (click)=\"close()\">\n </button>\n </div>\n</s-sidebar>"
|
|
3697
|
+
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}}\" (click)=\"save()\" [attr.data-hidden]=\"hideSaveButton\">\n </button>\n <button\n type=\"button\" class=\"ui-button-link\" pButton label=\"{{'cancel' | translate}}\" (click)=\"close()\">\n </button>\n </div>\n</s-sidebar>"
|
|
3651
3698
|
}),
|
|
3652
3699
|
__metadata("design:paramtypes", [forms.FormBuilder,
|
|
3653
3700
|
api.MessageService,
|
|
@@ -4043,7 +4090,7 @@
|
|
|
4043
4090
|
return ExpedicaoChegadaVeiculoOverride;
|
|
4044
4091
|
}());
|
|
4045
4092
|
|
|
4046
|
-
var IntegrationService = /** @class */ (function () {
|
|
4093
|
+
var IntegrationService$1 = /** @class */ (function () {
|
|
4047
4094
|
function IntegrationService(http, messageService) {
|
|
4048
4095
|
this.http = http;
|
|
4049
4096
|
this.messageService = messageService;
|
|
@@ -4125,7 +4172,7 @@
|
|
|
4125
4172
|
core.Component({
|
|
4126
4173
|
template: "\n <div *ngIf=\"agenda\">\n <div [ngSwitch]=\"tipoProcessoErpAtual\">\n <recebimento-form *ngSwitchCase=\"'RECEBIMENTO_CONTRATO'\" [agenda]=\"agenda\"></recebimento-form>\n <expedicao-form *ngSwitchCase=\"'EXPEDICAO'\" [agenda]=\"agenda\"></expedicao-form>\n <devolucao-form *ngSwitchCase=\"'DEVOLUCAO'\" [agenda]=\"agenda\"></devolucao-form>\n <recebimento-ordem-compra-form *ngSwitchCase=\"'RECEBIMENTO_ORDEM_COMPRA'\" [agenda]=\"agenda\"></recebimento-ordem-compra-form>\n <processo-avulso-form *ngSwitchCase=\"'PROCESSO_AVULSO'\" [agenda]=\"agenda\"></processo-avulso-form>\n <div *ngSwitchDefault>\n <s-loading-state [loading]=\"loading\">\n <h3 *ngIf=\"!loading\" style=\"text-align: center;\">\n ATEN\u00C7\u00C3O, n\u00E3o existe Tipo de Processo configurado para esse tipo de agendamento.\n </h3>\n <h3 *ngIf=\"loading\" style=\"text-align: center;\"> Carregando configura\u00E7\u00F5es </h3>\n </s-loading-state>\n </div>\n </div>\n </div>\n "
|
|
4127
4174
|
}),
|
|
4128
|
-
__metadata("design:paramtypes", [ymsRoutines.IntegrationEventsCallback, IntegrationService])
|
|
4175
|
+
__metadata("design:paramtypes", [ymsRoutines.IntegrationEventsCallback, IntegrationService$1])
|
|
4129
4176
|
], FormComponent);
|
|
4130
4177
|
return FormComponent;
|
|
4131
4178
|
}(FormDescritor));
|
|
@@ -4176,7 +4223,7 @@
|
|
|
4176
4223
|
core.Component({
|
|
4177
4224
|
template: "\n <div *ngIf=\"agenda\">\n <div [ngSwitch]=\"tipoProcessoErpAtual\">\n <recebimento-info *ngSwitchCase=\"'RECEBIMENTO_CONTRATO'\" [agenda]=\"agenda\"></recebimento-info>\n <expedicao-info *ngSwitchCase=\"'EXPEDICAO'\" [agenda]=\"agenda\"></expedicao-info>\n <devolucao-info *ngSwitchCase=\"'DEVOLUCAO'\" [agenda]=\"agenda\"></devolucao-info> \n <recebimento-ordem-compra-info *ngSwitchCase=\"'RECEBIMENTO_ORDEM_COMPRA'\" [agenda]=\"agenda\"></recebimento-ordem-compra-info>\n <processo-avulso-info *ngSwitchCase=\"'PROCESSO_AVULSO'\" [agenda]=\"agenda\"></processo-avulso-info>\n </div>\n </div>\n "
|
|
4178
4225
|
}),
|
|
4179
|
-
__metadata("design:paramtypes", [IntegrationService])
|
|
4226
|
+
__metadata("design:paramtypes", [IntegrationService$1])
|
|
4180
4227
|
], InfoComponent);
|
|
4181
4228
|
return InfoComponent;
|
|
4182
4229
|
}(InfoDescritor));
|
|
@@ -6902,7 +6949,7 @@
|
|
|
6902
6949
|
LogIntegracaoModule
|
|
6903
6950
|
],
|
|
6904
6951
|
providers: [
|
|
6905
|
-
IntegrationService,
|
|
6952
|
+
IntegrationService$1,
|
|
6906
6953
|
NotaValidatorService
|
|
6907
6954
|
],
|
|
6908
6955
|
exports: [],
|
|
@@ -14061,51 +14108,52 @@
|
|
|
14061
14108
|
exports.highlightLanguages = highlightLanguages;
|
|
14062
14109
|
exports.ɵa = Service;
|
|
14063
14110
|
exports.ɵb = CustomStompConfig;
|
|
14064
|
-
exports.ɵba =
|
|
14065
|
-
exports.ɵbb =
|
|
14066
|
-
exports.ɵbc = EntityService$
|
|
14067
|
-
exports.ɵbd =
|
|
14068
|
-
exports.ɵbe =
|
|
14069
|
-
exports.ɵbf =
|
|
14070
|
-
exports.ɵbg =
|
|
14071
|
-
exports.ɵbh =
|
|
14072
|
-
exports.ɵbi =
|
|
14073
|
-
exports.ɵbj =
|
|
14074
|
-
exports.ɵbk =
|
|
14075
|
-
exports.ɵbl =
|
|
14076
|
-
exports.ɵbm =
|
|
14077
|
-
exports.ɵbn =
|
|
14078
|
-
exports.ɵbo =
|
|
14079
|
-
exports.ɵbp =
|
|
14080
|
-
exports.ɵbq =
|
|
14081
|
-
exports.ɵbr =
|
|
14082
|
-
exports.ɵbs =
|
|
14083
|
-
exports.ɵbt =
|
|
14084
|
-
exports.ɵbu =
|
|
14085
|
-
exports.ɵbv =
|
|
14086
|
-
exports.ɵbw =
|
|
14087
|
-
exports.ɵbx =
|
|
14088
|
-
exports.ɵby =
|
|
14089
|
-
exports.ɵbz =
|
|
14111
|
+
exports.ɵba = RegisterDocumentComponent;
|
|
14112
|
+
exports.ɵbb = AgendaService;
|
|
14113
|
+
exports.ɵbc = EntityService$2;
|
|
14114
|
+
exports.ɵbd = EntityService$1;
|
|
14115
|
+
exports.ɵbe = InsertKeyModule;
|
|
14116
|
+
exports.ɵbf = InsertKeyComponent;
|
|
14117
|
+
exports.ɵbg = IntegrationService$1;
|
|
14118
|
+
exports.ɵbh = RecebimentoFormComponent;
|
|
14119
|
+
exports.ɵbi = DerivacaoService;
|
|
14120
|
+
exports.ɵbj = NotaValidatorService;
|
|
14121
|
+
exports.ɵbk = TransgeniaService;
|
|
14122
|
+
exports.ɵbl = VerificaNotafiscal;
|
|
14123
|
+
exports.ɵbm = BuildFormField;
|
|
14124
|
+
exports.ɵbn = ExpedicaoFormComponent;
|
|
14125
|
+
exports.ɵbo = ExpedicaoInfoComponent;
|
|
14126
|
+
exports.ɵbp = RecebimentoInfoComponent;
|
|
14127
|
+
exports.ɵbq = DevolucaoFormComponent;
|
|
14128
|
+
exports.ɵbr = DevolucaoService;
|
|
14129
|
+
exports.ɵbs = DevolucaoChegadaVeiculoOverride;
|
|
14130
|
+
exports.ɵbt = RecebimentoOrdemCompraFormComponent;
|
|
14131
|
+
exports.ɵbu = OrdemCompraService;
|
|
14132
|
+
exports.ɵbv = RecebimentoOrdemCompraService;
|
|
14133
|
+
exports.ɵbw = RecebimentoOrdemCompraChegadaVeiculoOverride;
|
|
14134
|
+
exports.ɵbx = RecebimentoOrdemCompraInfoComponent;
|
|
14135
|
+
exports.ɵby = DevolucaoInfoComponent;
|
|
14136
|
+
exports.ɵbz = ContratoFormComponent;
|
|
14090
14137
|
exports.ɵc = ViewImageComponent;
|
|
14091
|
-
exports.ɵca =
|
|
14092
|
-
exports.ɵcb =
|
|
14093
|
-
exports.ɵcc =
|
|
14094
|
-
exports.ɵcd =
|
|
14095
|
-
exports.ɵce =
|
|
14096
|
-
exports.ɵcf =
|
|
14097
|
-
exports.ɵcg =
|
|
14098
|
-
exports.ɵch =
|
|
14099
|
-
exports.ɵci =
|
|
14100
|
-
exports.ɵcj =
|
|
14101
|
-
exports.ɵck =
|
|
14102
|
-
exports.ɵcl =
|
|
14103
|
-
exports.ɵcm =
|
|
14104
|
-
exports.ɵcn =
|
|
14105
|
-
exports.ɵco =
|
|
14106
|
-
exports.ɵcp =
|
|
14107
|
-
exports.ɵcq =
|
|
14108
|
-
exports.ɵcr =
|
|
14138
|
+
exports.ɵca = OrdemCompraFormComponent;
|
|
14139
|
+
exports.ɵcb = ProcessoAvulsoFormComponent;
|
|
14140
|
+
exports.ɵcc = ProcessoAvulsoService;
|
|
14141
|
+
exports.ɵcd = ProcessoAvulsoChegadaVeiculoOverride;
|
|
14142
|
+
exports.ɵce = ProcessoAvulsoInfoComponent;
|
|
14143
|
+
exports.ɵcf = LogIntegracaoDescritor;
|
|
14144
|
+
exports.ɵcg = LogIntegracaoComponent;
|
|
14145
|
+
exports.ɵch = LogIntegracaoService;
|
|
14146
|
+
exports.ɵci = DerivacaoModule;
|
|
14147
|
+
exports.ɵcj = DevolucaoModule;
|
|
14148
|
+
exports.ɵck = OrdemCompraModule;
|
|
14149
|
+
exports.ɵcl = RecebimentoOrdemCompraModule;
|
|
14150
|
+
exports.ɵcm = TransgeniaModule;
|
|
14151
|
+
exports.ɵcn = ProcessoAvulsoModule;
|
|
14152
|
+
exports.ɵco = LogIntegracaoModule;
|
|
14153
|
+
exports.ɵcp = NotaFormModule;
|
|
14154
|
+
exports.ɵcq = DirectivesModule;
|
|
14155
|
+
exports.ɵcr = TrimDirective;
|
|
14156
|
+
exports.ɵcs = NotaFormComponent;
|
|
14109
14157
|
exports.ɵd = LogDescritor;
|
|
14110
14158
|
exports.ɵe = LogsComponent;
|
|
14111
14159
|
exports.ɵf = PortariasService;
|
|
@@ -14127,8 +14175,8 @@
|
|
|
14127
14175
|
exports.ɵv = DocumentGridModule;
|
|
14128
14176
|
exports.ɵw = DocumentGridComponent;
|
|
14129
14177
|
exports.ɵx = DocumentService;
|
|
14130
|
-
exports.ɵy =
|
|
14131
|
-
exports.ɵz =
|
|
14178
|
+
exports.ɵy = IntegrationService;
|
|
14179
|
+
exports.ɵz = RegisterDocumentModule;
|
|
14132
14180
|
|
|
14133
14181
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
14134
14182
|
|