@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
|
@@ -2886,46 +2886,32 @@ FormWmsComponent = __decorate([
|
|
|
2886
2886
|
__metadata("design:paramtypes", [IntegrationEventsCallback, FormWmsService])
|
|
2887
2887
|
], FormWmsComponent);
|
|
2888
2888
|
|
|
2889
|
-
let
|
|
2890
|
-
constructor(
|
|
2891
|
-
this.httpClient = httpClient;
|
|
2892
|
-
}
|
|
2893
|
-
getProcessTypeByScheduling(idSchedulingType) {
|
|
2894
|
-
return this.httpClient.post('yms/integration/queries/getProcessTypeByScheduling', { idSchedulingType });
|
|
2895
|
-
}
|
|
2896
|
-
};
|
|
2897
|
-
IntegrationService.ngInjectableDef = defineInjectable({ factory: function IntegrationService_Factory() { return new IntegrationService(inject(HttpClient)); }, token: IntegrationService, providedIn: "root" });
|
|
2898
|
-
IntegrationService = __decorate([
|
|
2899
|
-
Injectable({ providedIn: 'root' }),
|
|
2900
|
-
__metadata("design:paramtypes", [HttpClient])
|
|
2901
|
-
], IntegrationService);
|
|
2902
|
-
var ProcessType;
|
|
2903
|
-
(function (ProcessType) {
|
|
2904
|
-
ProcessType["RECEBIMENTO_CONTRATO"] = "RECEBIMENTO_CONTRATO";
|
|
2905
|
-
ProcessType["RECEBIMENTO_ORDEM_COMPRA"] = "RECEBIMENTO_ORDEM_COMPRA";
|
|
2906
|
-
ProcessType["EXPEDICAO"] = "EXPEDICAO";
|
|
2907
|
-
ProcessType["DEVOLUCAO"] = "DEVOLUCAO";
|
|
2908
|
-
ProcessType["PROCESSO_AVULSO"] = "PROCESSO_AVULSO";
|
|
2909
|
-
ProcessType["RECEBIMENTO_WMS"] = "RECEBIMENTO_WMS";
|
|
2910
|
-
})(ProcessType || (ProcessType = {}));
|
|
2911
|
-
|
|
2912
|
-
let DocumentService = class DocumentService extends EntityService {
|
|
2913
|
-
constructor(http, messageService) {
|
|
2914
|
-
super(http, messageService, 'yms_int/wms/entities/document', '');
|
|
2915
|
-
this.http = http;
|
|
2889
|
+
let UtilsMessageService = class UtilsMessageService {
|
|
2890
|
+
constructor(messageService, translate) {
|
|
2916
2891
|
this.messageService = messageService;
|
|
2892
|
+
this.translate = translate;
|
|
2917
2893
|
}
|
|
2918
|
-
|
|
2919
|
-
|
|
2894
|
+
message(severity, summary, detail) {
|
|
2895
|
+
summary = this.translate.instant(summary);
|
|
2896
|
+
detail = this.translate.instant(detail);
|
|
2897
|
+
this.translateMessage(severity, summary, detail);
|
|
2920
2898
|
}
|
|
2921
|
-
|
|
2922
|
-
|
|
2899
|
+
translateMessage(severity, summary, detail) {
|
|
2900
|
+
this.messageService.add({
|
|
2901
|
+
severity,
|
|
2902
|
+
summary,
|
|
2903
|
+
detail
|
|
2904
|
+
});
|
|
2923
2905
|
}
|
|
2924
2906
|
};
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2907
|
+
UtilsMessageService.ngInjectableDef = defineInjectable({ factory: function UtilsMessageService_Factory() { return new UtilsMessageService(inject(MessageService$1), inject(TranslateService)); }, token: UtilsMessageService, providedIn: "root" });
|
|
2908
|
+
UtilsMessageService = __decorate([
|
|
2909
|
+
Injectable({
|
|
2910
|
+
providedIn: 'root'
|
|
2911
|
+
}),
|
|
2912
|
+
__metadata("design:paramtypes", [MessageService,
|
|
2913
|
+
TranslateService])
|
|
2914
|
+
], UtilsMessageService);
|
|
2929
2915
|
|
|
2930
2916
|
class EntityService$1 {
|
|
2931
2917
|
constructor(http, messageService, entityUrl, actionsUrl) {
|
|
@@ -3039,14 +3025,55 @@ AgendaService = __decorate([
|
|
|
3039
3025
|
__metadata("design:paramtypes", [HttpClient, MessageService$1])
|
|
3040
3026
|
], AgendaService);
|
|
3041
3027
|
|
|
3028
|
+
let DocumentService = class DocumentService extends EntityService {
|
|
3029
|
+
constructor(http, messageService) {
|
|
3030
|
+
super(http, messageService, 'yms_int/wms/entities/document', '');
|
|
3031
|
+
this.http = http;
|
|
3032
|
+
this.messageService = messageService;
|
|
3033
|
+
}
|
|
3034
|
+
findDocuments(input) {
|
|
3035
|
+
return this.http.post('yms_int/wms/queries/findDocuments', input);
|
|
3036
|
+
}
|
|
3037
|
+
getSystemIntegration() {
|
|
3038
|
+
return this.http.get('yms_int/wms/queries/getSystemIntegration');
|
|
3039
|
+
}
|
|
3040
|
+
};
|
|
3041
|
+
DocumentService = __decorate([
|
|
3042
|
+
Injectable(),
|
|
3043
|
+
__metadata("design:paramtypes", [HttpClient, MessageService])
|
|
3044
|
+
], DocumentService);
|
|
3045
|
+
|
|
3046
|
+
let IntegrationService = class IntegrationService {
|
|
3047
|
+
constructor(httpClient) {
|
|
3048
|
+
this.httpClient = httpClient;
|
|
3049
|
+
}
|
|
3050
|
+
getProcessTypeByScheduling(idSchedulingType) {
|
|
3051
|
+
return this.httpClient.post('yms/integration/queries/getProcessTypeByScheduling', { idSchedulingType });
|
|
3052
|
+
}
|
|
3053
|
+
};
|
|
3054
|
+
IntegrationService.ngInjectableDef = defineInjectable({ factory: function IntegrationService_Factory() { return new IntegrationService(inject(HttpClient)); }, token: IntegrationService, providedIn: "root" });
|
|
3055
|
+
IntegrationService = __decorate([
|
|
3056
|
+
Injectable({ providedIn: 'root' }),
|
|
3057
|
+
__metadata("design:paramtypes", [HttpClient])
|
|
3058
|
+
], IntegrationService);
|
|
3059
|
+
var ProcessType;
|
|
3060
|
+
(function (ProcessType) {
|
|
3061
|
+
ProcessType["RECEBIMENTO_CONTRATO"] = "RECEBIMENTO_CONTRATO";
|
|
3062
|
+
ProcessType["RECEBIMENTO_ORDEM_COMPRA"] = "RECEBIMENTO_ORDEM_COMPRA";
|
|
3063
|
+
ProcessType["EXPEDICAO"] = "EXPEDICAO";
|
|
3064
|
+
ProcessType["DEVOLUCAO"] = "DEVOLUCAO";
|
|
3065
|
+
ProcessType["PROCESSO_AVULSO"] = "PROCESSO_AVULSO";
|
|
3066
|
+
ProcessType["RECEBIMENTO_WMS"] = "RECEBIMENTO_WMS";
|
|
3067
|
+
})(ProcessType || (ProcessType = {}));
|
|
3068
|
+
|
|
3042
3069
|
let DocumentGridComponent = class DocumentGridComponent {
|
|
3043
|
-
constructor(translate, documentService,
|
|
3070
|
+
constructor(translate, documentService, confirmationService, integrationService, agendaService, utils) {
|
|
3044
3071
|
this.translate = translate;
|
|
3045
3072
|
this.documentService = documentService;
|
|
3046
|
-
this.messageService = messageService;
|
|
3047
3073
|
this.confirmationService = confirmationService;
|
|
3048
3074
|
this.integrationService = integrationService;
|
|
3049
3075
|
this.agendaService = agendaService;
|
|
3076
|
+
this.utils = utils;
|
|
3050
3077
|
this.viewDocument = new EventEmitter();
|
|
3051
3078
|
this.gridData = [];
|
|
3052
3079
|
this.enableButtonIsClienteExterno = true;
|
|
@@ -3056,7 +3083,7 @@ let DocumentGridComponent = class DocumentGridComponent {
|
|
|
3056
3083
|
ngOnInit() {
|
|
3057
3084
|
this.verifyClienteExterno();
|
|
3058
3085
|
this.getProcessTypeByScheduling();
|
|
3059
|
-
this.listDocuments();
|
|
3086
|
+
this.listDocuments(false);
|
|
3060
3087
|
}
|
|
3061
3088
|
ngAfterContentChecked() {
|
|
3062
3089
|
this.gridColumns = this.getGridColumns();
|
|
@@ -3073,8 +3100,38 @@ let DocumentGridComponent = class DocumentGridComponent {
|
|
|
3073
3100
|
.subscribe((result) => this.processType = result.processType);
|
|
3074
3101
|
}
|
|
3075
3102
|
onChangeDocument(document) {
|
|
3103
|
+
if (!this.hasFilledValues(document)) {
|
|
3104
|
+
this.utils.message("error", "yms.int.wms_save_error_register_document_message_title", "yms.int.wms_save_error_register_document_message_description");
|
|
3105
|
+
return;
|
|
3106
|
+
}
|
|
3107
|
+
this.assignKeys(document);
|
|
3108
|
+
const duplicateDocument = this.gridData.find(gridData => gridData.key === document.key);
|
|
3109
|
+
if (duplicateDocument) {
|
|
3110
|
+
this.utils.message("error", "yms.int.wms_error_register_document_message_title", "yms.int.wms_error_register_document_message_description");
|
|
3111
|
+
return;
|
|
3112
|
+
}
|
|
3076
3113
|
this.gridData.push(document);
|
|
3077
3114
|
this.disabled = false;
|
|
3115
|
+
this.utils.message("success", "yms.int.wms_saved_document_message_title", "yms.int.wms_success_message_description");
|
|
3116
|
+
this.visibleDocumentRegister = false;
|
|
3117
|
+
this.visibleInvoiceKey = false;
|
|
3118
|
+
}
|
|
3119
|
+
assignKeys(document) {
|
|
3120
|
+
if (document.id === undefined) {
|
|
3121
|
+
if (this.agenda.id !== undefined) {
|
|
3122
|
+
document.schedulingId = this.agenda.id;
|
|
3123
|
+
}
|
|
3124
|
+
if (document.key === undefined || document.key === null) {
|
|
3125
|
+
document.key = document.invoiceKey;
|
|
3126
|
+
if (this.isWmsWIS()) {
|
|
3127
|
+
document.key = `${document.invoiceNumber}:${document.invoiceSerialNumber}:${document.partnerDocument}`;
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
hasFilledValues(document) {
|
|
3133
|
+
const formValues = Object.values(document);
|
|
3134
|
+
return formValues.some(value => value !== null && value !== '');
|
|
3078
3135
|
}
|
|
3079
3136
|
cantEditStatus() {
|
|
3080
3137
|
const cantEditStatus = [
|
|
@@ -3133,9 +3190,10 @@ let DocumentGridComponent = class DocumentGridComponent {
|
|
|
3133
3190
|
}
|
|
3134
3191
|
data.key = this.updateKeyByWms(data);
|
|
3135
3192
|
this.documentService.insert(data).subscribe(() => {
|
|
3136
|
-
this.message("success", "
|
|
3193
|
+
this.utils.message("success", "yms.int.wms_saved_document_message_title", "saved_message_content");
|
|
3137
3194
|
});
|
|
3138
3195
|
this.disabled = true;
|
|
3196
|
+
this.listDocuments(false);
|
|
3139
3197
|
}
|
|
3140
3198
|
});
|
|
3141
3199
|
}
|
|
@@ -3161,13 +3219,8 @@ let DocumentGridComponent = class DocumentGridComponent {
|
|
|
3161
3219
|
return forkJoin(this.selection.map(document => this.documentService.delete(document.id)))
|
|
3162
3220
|
.pipe(takeUntil(this.ngUnsubscribe))
|
|
3163
3221
|
.subscribe(() => {
|
|
3164
|
-
this.
|
|
3165
|
-
|
|
3166
|
-
summary: this.translate.instant("deleted_message_title"),
|
|
3167
|
-
detail: this.translate.instant("deleted_message_content"),
|
|
3168
|
-
});
|
|
3169
|
-
this.gridData = [];
|
|
3170
|
-
this.listDocuments();
|
|
3222
|
+
this.utils.message("success", "deleted_message_title", "deleted_message_content");
|
|
3223
|
+
this.listDocuments(true);
|
|
3171
3224
|
});
|
|
3172
3225
|
}
|
|
3173
3226
|
});
|
|
@@ -3175,26 +3228,29 @@ let DocumentGridComponent = class DocumentGridComponent {
|
|
|
3175
3228
|
removeDocumentIfIdUndfined() {
|
|
3176
3229
|
this.selection.forEach((value, index) => {
|
|
3177
3230
|
if (!value.id) {
|
|
3178
|
-
this.gridData.
|
|
3231
|
+
const indexGridData = this.gridData.findIndex(document => document.key === value.key);
|
|
3232
|
+
this.gridData.splice(indexGridData, 1);
|
|
3179
3233
|
this.selection.splice(index, 1);
|
|
3180
3234
|
}
|
|
3181
3235
|
});
|
|
3182
3236
|
}
|
|
3183
|
-
listDocuments() {
|
|
3237
|
+
listDocuments(isDelete) {
|
|
3184
3238
|
this.documentService.list({
|
|
3185
3239
|
filterQuery: `schedulingId eq '${this.agenda.id}'`
|
|
3186
3240
|
})
|
|
3187
3241
|
.subscribe((contents) => {
|
|
3188
|
-
this.gridData = [];
|
|
3242
|
+
this.gridData = isDelete ? this.gridData.filter(item => !item.id) : [];
|
|
3189
3243
|
if (contents.totalElements > 0) {
|
|
3190
|
-
this.gridData
|
|
3244
|
+
this.gridData.push(...contents.contents);
|
|
3191
3245
|
this.documentTotalRecords = contents.totalElements;
|
|
3192
3246
|
}
|
|
3193
3247
|
else {
|
|
3194
3248
|
this.documentTotalRecords = this.gridData.length;
|
|
3195
3249
|
}
|
|
3196
|
-
this.
|
|
3250
|
+
const hasElementWithoutId = this.gridData.some(item => !item.id);
|
|
3251
|
+
this.disabled = !hasElementWithoutId;
|
|
3197
3252
|
this.loading = false;
|
|
3253
|
+
this.selection = [];
|
|
3198
3254
|
});
|
|
3199
3255
|
}
|
|
3200
3256
|
getGridColumns() {
|
|
@@ -3235,13 +3291,6 @@ let DocumentGridComponent = class DocumentGridComponent {
|
|
|
3235
3291
|
isWmsWIS() {
|
|
3236
3292
|
return this.wmsSystem === WmsSystem.WIS;
|
|
3237
3293
|
}
|
|
3238
|
-
message(severity, summary, detail) {
|
|
3239
|
-
this.messageService.add({
|
|
3240
|
-
severity,
|
|
3241
|
-
summary: this.translate.instant(summary),
|
|
3242
|
-
detail: this.translate.instant(detail),
|
|
3243
|
-
});
|
|
3244
|
-
}
|
|
3245
3294
|
};
|
|
3246
3295
|
__decorate([
|
|
3247
3296
|
Input(),
|
|
@@ -3290,15 +3339,15 @@ __decorate([
|
|
|
3290
3339
|
DocumentGridComponent = __decorate([
|
|
3291
3340
|
Component({
|
|
3292
3341
|
selector: 'document-grid',
|
|
3293
|
-
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=\"
|
|
3342
|
+
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>",
|
|
3294
3343
|
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}"]
|
|
3295
3344
|
}),
|
|
3296
3345
|
__metadata("design:paramtypes", [TranslateService,
|
|
3297
3346
|
DocumentService,
|
|
3298
|
-
MessageService,
|
|
3299
3347
|
ConfirmationService,
|
|
3300
3348
|
IntegrationService,
|
|
3301
|
-
AgendaService
|
|
3349
|
+
AgendaService,
|
|
3350
|
+
UtilsMessageService])
|
|
3302
3351
|
], DocumentGridComponent);
|
|
3303
3352
|
|
|
3304
3353
|
const moment$4 = _moment;
|
|
@@ -3340,16 +3389,17 @@ class Document {
|
|
|
3340
3389
|
}
|
|
3341
3390
|
|
|
3342
3391
|
let RegisterDocumentComponent = class RegisterDocumentComponent {
|
|
3343
|
-
constructor(fb,
|
|
3392
|
+
constructor(fb, utils) {
|
|
3344
3393
|
this.fb = fb;
|
|
3345
|
-
this.
|
|
3346
|
-
this.translateService = translateService;
|
|
3394
|
+
this.utils = utils;
|
|
3347
3395
|
this.document = new EventEmitter();
|
|
3348
3396
|
this.visible = new EventEmitter();
|
|
3349
3397
|
this.visibleChange = new EventEmitter();
|
|
3398
|
+
this.isSaveFormValid = false;
|
|
3350
3399
|
}
|
|
3351
3400
|
ngOnInit() {
|
|
3352
3401
|
this.getFormGroup();
|
|
3402
|
+
this.watchFormChanges();
|
|
3353
3403
|
}
|
|
3354
3404
|
ngOnChanges() {
|
|
3355
3405
|
this.visibilityConfig();
|
|
@@ -3367,8 +3417,8 @@ let RegisterDocumentComponent = class RegisterDocumentComponent {
|
|
|
3367
3417
|
}
|
|
3368
3418
|
}
|
|
3369
3419
|
close() {
|
|
3370
|
-
this.visibleChange.emit(false);
|
|
3371
3420
|
this.formGroup.reset();
|
|
3421
|
+
this.visibleChange.emit(false);
|
|
3372
3422
|
}
|
|
3373
3423
|
setValuesFormGroup(document) {
|
|
3374
3424
|
this.formGroup.get('key').setValue(document.key);
|
|
@@ -3402,28 +3452,8 @@ let RegisterDocumentComponent = class RegisterDocumentComponent {
|
|
|
3402
3452
|
});
|
|
3403
3453
|
}
|
|
3404
3454
|
save() {
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
if (this.agenda.id !== undefined) {
|
|
3408
|
-
value.schedulingId = this.agenda.id;
|
|
3409
|
-
}
|
|
3410
|
-
if (value.key === undefined) {
|
|
3411
|
-
value.key = value.invoiceKey;
|
|
3412
|
-
if (this.isWmsWis()) {
|
|
3413
|
-
value.key = `${value.invoiceNumber}:${value.invoiceSerialNumber}:${value.partnerDocument}`;
|
|
3414
|
-
}
|
|
3415
|
-
}
|
|
3416
|
-
this.document.emit(Document.fromDto(value));
|
|
3417
|
-
this.successMessage();
|
|
3418
|
-
this.visibleChange.emit(false);
|
|
3419
|
-
}
|
|
3420
|
-
}
|
|
3421
|
-
successMessage() {
|
|
3422
|
-
this.messageService.add({
|
|
3423
|
-
severity: "success",
|
|
3424
|
-
summary: this.translateService.instant("yms.saved_message_title"),
|
|
3425
|
-
detail: this.translateService.instant("yms.int.wms_success_message_description"),
|
|
3426
|
-
});
|
|
3455
|
+
this.document.emit(Document.fromDto(this.formGroup.getRawValue()));
|
|
3456
|
+
this.formGroup.reset();
|
|
3427
3457
|
}
|
|
3428
3458
|
isWmsWis() {
|
|
3429
3459
|
return this.wmsSystem === WmsSystem.WIS;
|
|
@@ -3431,6 +3461,12 @@ let RegisterDocumentComponent = class RegisterDocumentComponent {
|
|
|
3431
3461
|
isWmsSeniorConnect() {
|
|
3432
3462
|
return this.wmsSystem === WmsSystem.SENIOR_CONNECT;
|
|
3433
3463
|
}
|
|
3464
|
+
watchFormChanges() {
|
|
3465
|
+
this.formGroup.valueChanges.subscribe(() => {
|
|
3466
|
+
const formValues = Object.values(this.formGroup.value);
|
|
3467
|
+
this.isSaveFormValid = formValues.some(value => value !== null && value !== '');
|
|
3468
|
+
});
|
|
3469
|
+
}
|
|
3434
3470
|
};
|
|
3435
3471
|
__decorate([
|
|
3436
3472
|
Input(),
|
|
@@ -3463,11 +3499,10 @@ __decorate([
|
|
|
3463
3499
|
RegisterDocumentComponent = __decorate([
|
|
3464
3500
|
Component({
|
|
3465
3501
|
selector: "register-document",
|
|
3466
|
-
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}}\"
|
|
3502
|
+
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>"
|
|
3467
3503
|
}),
|
|
3468
3504
|
__metadata("design:paramtypes", [FormBuilder,
|
|
3469
|
-
|
|
3470
|
-
TranslateService])
|
|
3505
|
+
UtilsMessageService])
|
|
3471
3506
|
], RegisterDocumentComponent);
|
|
3472
3507
|
|
|
3473
3508
|
let RegisterDocumentModule = class RegisterDocumentModule {
|
|
@@ -3493,14 +3528,14 @@ RegisterDocumentModule = __decorate([
|
|
|
3493
3528
|
], RegisterDocumentModule);
|
|
3494
3529
|
|
|
3495
3530
|
let InsertKeyComponent = class InsertKeyComponent {
|
|
3496
|
-
constructor(formBuilder, documentService,
|
|
3531
|
+
constructor(formBuilder, documentService, utils) {
|
|
3497
3532
|
this.formBuilder = formBuilder;
|
|
3498
3533
|
this.documentService = documentService;
|
|
3499
|
-
this.
|
|
3500
|
-
this.translate = translate;
|
|
3534
|
+
this.utils = utils;
|
|
3501
3535
|
this.document = new EventEmitter();
|
|
3502
3536
|
this.visible = new EventEmitter();
|
|
3503
3537
|
this.visibleChange = new EventEmitter();
|
|
3538
|
+
this.isLoading = false;
|
|
3504
3539
|
}
|
|
3505
3540
|
ngOnInit() {
|
|
3506
3541
|
this.formGroup = this.formBuilder.group({
|
|
@@ -3518,10 +3553,10 @@ let InsertKeyComponent = class InsertKeyComponent {
|
|
|
3518
3553
|
return this.wmsSystem === WmsSystem.SENIOR_CONNECT;
|
|
3519
3554
|
}
|
|
3520
3555
|
add() {
|
|
3521
|
-
this.visibleChange.emit(false);
|
|
3522
3556
|
this.searchKey();
|
|
3523
3557
|
}
|
|
3524
3558
|
searchKey() {
|
|
3559
|
+
this.isLoading = true;
|
|
3525
3560
|
const key = {
|
|
3526
3561
|
documentKeys: [this.formGroup.get('key').value],
|
|
3527
3562
|
invoices: [{
|
|
@@ -3533,26 +3568,33 @@ let InsertKeyComponent = class InsertKeyComponent {
|
|
|
3533
3568
|
size: 0,
|
|
3534
3569
|
offset: 0
|
|
3535
3570
|
};
|
|
3536
|
-
this.documentService.findDocuments(key)
|
|
3537
|
-
|
|
3538
|
-
|
|
3571
|
+
this.documentService.findDocuments(key)
|
|
3572
|
+
.pipe(catchError(err => {
|
|
3573
|
+
if (err.error && err.error.message.includes("404")) {
|
|
3574
|
+
this.utils.message("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_search_document_not_found_message_content");
|
|
3575
|
+
}
|
|
3576
|
+
else {
|
|
3577
|
+
this.utils.translateMessage("error", "yms.int.wms_error_search_document_message_header", "yms.int.wms_error_unknown_search_document_message_content" + err.error.message);
|
|
3578
|
+
}
|
|
3579
|
+
return throwError(err);
|
|
3580
|
+
}), finalize(() => {
|
|
3581
|
+
this.isLoading = false;
|
|
3582
|
+
}))
|
|
3583
|
+
.subscribe((content) => {
|
|
3584
|
+
if (!content || content.totalElements < 1) {
|
|
3585
|
+
this.utils.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
|
|
3539
3586
|
return;
|
|
3540
3587
|
}
|
|
3541
3588
|
this.document.emit(content.contents[0]);
|
|
3542
|
-
this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_success_message_description");
|
|
3543
3589
|
this.formGroup.reset();
|
|
3544
3590
|
});
|
|
3545
3591
|
}
|
|
3546
|
-
message(success, header, description) {
|
|
3547
|
-
this.messageService.add({
|
|
3548
|
-
severity: success,
|
|
3549
|
-
summary: this.translate.instant(header),
|
|
3550
|
-
detail: this.translate.instant(description),
|
|
3551
|
-
});
|
|
3552
|
-
}
|
|
3553
3592
|
cancel() {
|
|
3554
3593
|
this.visibleChange.emit(false);
|
|
3555
3594
|
}
|
|
3595
|
+
onDialogShow() {
|
|
3596
|
+
this.formGroup.reset();
|
|
3597
|
+
}
|
|
3556
3598
|
};
|
|
3557
3599
|
__decorate([
|
|
3558
3600
|
Output(),
|
|
@@ -3573,13 +3615,12 @@ __decorate([
|
|
|
3573
3615
|
InsertKeyComponent = __decorate([
|
|
3574
3616
|
Component({
|
|
3575
3617
|
selector: "insert-key",
|
|
3576
|
-
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
|
|
3618
|
+
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",
|
|
3577
3619
|
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}"]
|
|
3578
3620
|
}),
|
|
3579
3621
|
__metadata("design:paramtypes", [FormBuilder,
|
|
3580
3622
|
DocumentService,
|
|
3581
|
-
|
|
3582
|
-
TranslateService])
|
|
3623
|
+
UtilsMessageService])
|
|
3583
3624
|
], InsertKeyComponent);
|
|
3584
3625
|
|
|
3585
3626
|
let InsertKeyModule = class InsertKeyModule {
|
|
@@ -3592,7 +3633,8 @@ InsertKeyModule = __decorate([
|
|
|
3592
3633
|
ButtonModule,
|
|
3593
3634
|
TranslateModule,
|
|
3594
3635
|
DialogModule,
|
|
3595
|
-
InputTextModule$1
|
|
3636
|
+
InputTextModule$1,
|
|
3637
|
+
LoadingStateModule
|
|
3596
3638
|
],
|
|
3597
3639
|
exports: [InsertKeyComponent],
|
|
3598
3640
|
declarations: [InsertKeyComponent]
|
|
@@ -13394,5 +13436,5 @@ DockModule = __decorate([
|
|
|
13394
13436
|
})
|
|
13395
13437
|
], DockModule);
|
|
13396
13438
|
|
|
13397
|
-
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,
|
|
13439
|
+
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 };
|
|
13398
13440
|
//# sourceMappingURL=seniorsistemas-yms-integration.js.map
|