@seniorsistemas/yms-integration 1.18.4 → 1.19.1-5faa32ff-77ac-459b-a5e6-0b7a1b7fef2a
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 +871 -253
- 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/index.js +4 -1
- package/esm2015/seniorsistemas-yms-integration.js +47 -38
- package/esm2015/src/devices/balancas/balancas.service.js +4 -1
- package/esm2015/src/devices/balancas/visualiar-balanca/visualizar-balanca.component.js +8 -25
- package/esm2015/src/devices/balancas/weightScale.js +1 -1
- package/esm2015/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
- package/esm2015/src/wms/components/document-grid/document-grid.component.js +163 -0
- package/esm2015/src/wms/components/document-grid/document-grid.module.js +35 -0
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.component.js +75 -0
- package/esm2015/src/wms/components/document-grid/insert-key/insert-key.module.js +26 -0
- package/esm2015/src/wms/components/document-grid/register-document/register-document.component.js +107 -0
- package/esm2015/src/wms/components/document-grid/register-document/register-document.module.js +32 -0
- package/esm2015/src/wms/entities/agenda/agenda.service.js +22 -0
- package/esm2015/src/wms/entities/document/document-dto.js +1 -0
- package/esm2015/src/wms/entities/document/document.js +39 -0
- package/esm2015/src/wms/entities/document/document.service.js +21 -0
- package/esm2015/src/wms/entities/document/find-documents-input.js +1 -0
- package/esm2015/src/wms/entities/entity-service.js +4 -0
- package/esm2015/src/wms/entities/wms-system/wms-system.js +9 -0
- package/esm2015/src/wms/form/form-wms.component.js +60 -0
- package/esm2015/src/wms/wms.module.js +68 -0
- package/esm5/index.js +4 -1
- package/esm5/seniorsistemas-yms-integration.js +47 -38
- package/esm5/src/devices/balancas/balancas.service.js +4 -1
- package/esm5/src/devices/balancas/visualiar-balanca/visualizar-balanca.component.js +8 -25
- package/esm5/src/devices/balancas/weightScale.js +1 -1
- package/esm5/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.js +32 -1
- package/esm5/src/wms/components/document-grid/document-grid.component.js +168 -0
- package/esm5/src/wms/components/document-grid/document-grid.module.js +38 -0
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.component.js +77 -0
- package/esm5/src/wms/components/document-grid/insert-key/insert-key.module.js +29 -0
- package/esm5/src/wms/components/document-grid/register-document/register-document.component.js +109 -0
- package/esm5/src/wms/components/document-grid/register-document/register-document.module.js +35 -0
- package/esm5/src/wms/entities/agenda/agenda.service.js +25 -0
- package/esm5/src/wms/entities/document/document-dto.js +1 -0
- package/esm5/src/wms/entities/document/document.js +44 -0
- package/esm5/src/wms/entities/document/document.service.js +24 -0
- package/esm5/src/wms/entities/document/find-documents-input.js +1 -0
- package/esm5/src/wms/entities/entity-service.js +11 -0
- package/esm5/src/wms/entities/wms-system/wms-system.js +9 -0
- package/esm5/src/wms/form/form-wms.component.js +63 -0
- package/esm5/src/wms/wms.module.js +69 -0
- package/fesm2015/seniorsistemas-yms-integration.js +777 -207
- package/fesm2015/seniorsistemas-yms-integration.js.map +1 -1
- package/fesm5/seniorsistemas-yms-integration.js +810 -204
- package/fesm5/seniorsistemas-yms-integration.js.map +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/seniorsistemas-yms-integration.d.ts +46 -37
- package/seniorsistemas-yms-integration.metadata.json +1 -1
- package/src/devices/balancas/balancas.service.d.ts +1 -0
- package/src/devices/balancas/visualiar-balanca/visualizar-balanca.component.d.ts +2 -11
- package/src/devices/balancas/weightScale.d.ts +2 -2
- package/src/sam-senior/components/visitor-edit/visitor-edit-list/visitor-edit-list.component.d.ts +1 -0
- package/src/wms/components/document-grid/document-grid.component.d.ts +43 -0
- package/src/wms/components/document-grid/document-grid.module.d.ts +2 -0
- package/src/wms/components/document-grid/insert-key/insert-key.component.d.ts +22 -0
- package/src/wms/components/document-grid/insert-key/insert-key.module.d.ts +2 -0
- package/src/wms/components/document-grid/register-document/register-document.component.d.ts +28 -0
- package/src/wms/components/document-grid/register-document/register-document.module.d.ts +2 -0
- package/src/wms/entities/agenda/agenda.service.d.ts +9 -0
- package/src/wms/entities/document/document-dto.d.ts +16 -0
- package/src/wms/entities/document/document.d.ts +20 -0
- package/src/wms/entities/document/document.service.d.ts +11 -0
- package/src/wms/entities/document/find-documents-input.d.ts +7 -0
- package/src/wms/entities/entity-service.d.ts +3 -0
- package/src/wms/entities/wms-system/wms-system.d.ts +7 -0
- package/src/wms/form/form-wms.component.d.ts +18 -0
- package/src/wms/wms.module.d.ts +4 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/core'), require('@ngx-translate/core'), require('@seniorsistemas/angular-components'), require('primeng/message'), require('primeng/table'), require('@angular/common/http'), require('primeng/api'), require('@seniorsistemas/yms-routines'), require('@angular/animations'), require('@seniorsistemas/platform-components'), require('@stomp/ng2-stompjs'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@seniorsistemas/yms-integration', ['exports', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/core', '@ngx-translate/core', '@seniorsistemas/angular-components', 'primeng/message', 'primeng/table', '@angular/common/http', 'primeng/api', '@seniorsistemas/yms-routines', '@angular/animations', '@seniorsistemas/platform-components', '@stomp/ng2-stompjs', '
|
|
4
|
-
(global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['yms-integration'] = {}), global.rxjs, global.rxjs.operators, global.ng.common, global.ng.core, global.core$1, global.angularComponents, global.message, global.table, global.ng.common.http, global.api, global.ymsRoutines, global.ng.animations, global.platformComponents, global.ng2Stompjs, global.
|
|
5
|
-
}(this, (function (exports, rxjs, operators, common, core, core$1, angularComponents, message, table, http, api, ymsRoutines, animations, platformComponents, ng2Stompjs,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/core'), require('@ngx-translate/core'), require('@seniorsistemas/angular-components'), require('primeng/message'), require('primeng/table'), require('@angular/common/http'), require('primeng/api'), require('@seniorsistemas/yms-routines'), require('@angular/animations'), require('@seniorsistemas/platform-components'), require('@stomp/ng2-stompjs'), require('sockjs-client'), require('ngx-cookie-service'), require('primeng/components/dynamicdialog/dynamicdialog'), require('primeng/primeng'), require('@seniorsistemas/yms-components'), require('@angular/router'), require('primeng/inputswitch'), require('primeng/inputtext'), require('@angular/forms'), require('moment'), require('primeng/components/common/messageservice'), require('primeng/shared'), require('primeng/button'), require('ngx-highlightjs'), require('primeng/accordion'), require('primeng/confirmdialog'), require('primeng/dialog'), require('primeng/dropdown'), require('primeng/panel'), require('angular2-hotkeys'), require('primeng/components/common/api'), require('highlight.js/lib/languages/json'), require('highlight.js/lib/languages/xml')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@seniorsistemas/yms-integration', ['exports', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/core', '@ngx-translate/core', '@seniorsistemas/angular-components', 'primeng/message', 'primeng/table', '@angular/common/http', 'primeng/api', '@seniorsistemas/yms-routines', '@angular/animations', '@seniorsistemas/platform-components', '@stomp/ng2-stompjs', 'sockjs-client', 'ngx-cookie-service', 'primeng/components/dynamicdialog/dynamicdialog', 'primeng/primeng', '@seniorsistemas/yms-components', '@angular/router', 'primeng/inputswitch', 'primeng/inputtext', '@angular/forms', 'moment', 'primeng/components/common/messageservice', 'primeng/shared', 'primeng/button', 'ngx-highlightjs', 'primeng/accordion', 'primeng/confirmdialog', 'primeng/dialog', 'primeng/dropdown', 'primeng/panel', 'angular2-hotkeys', 'primeng/components/common/api', 'highlight.js/lib/languages/json', 'highlight.js/lib/languages/xml'], factory) :
|
|
4
|
+
(global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['yms-integration'] = {}), global.rxjs, global.rxjs.operators, global.ng.common, global.ng.core, global.core$1, global.angularComponents, global.message, global.table, global.ng.common.http, global.api, global.ymsRoutines, global.ng.animations, global.platformComponents, global.ng2Stompjs, global.SockJS, global.ngxCookieService, global.dynamicdialog, global.primeng, global.ymsComponents, global.ng.router, global.inputswitch, global.inputtext, global.ng.forms, global._moment, global.messageservice, global.shared, global.button, global.ngxHighlightjs, global.accordion, global.confirmdialog, global.dialog, global.dropdown, global.panel, global.angular2Hotkeys, global.api$1, global.jsonx, global.xmlx));
|
|
5
|
+
}(this, (function (exports, rxjs, operators, common, core, core$1, angularComponents, message, table, http, api, ymsRoutines, animations, platformComponents, ng2Stompjs, SockJS, ngxCookieService, dynamicdialog, primeng, ymsComponents, router, inputswitch, inputtext, forms, _moment, messageservice, shared, button, ngxHighlightjs, accordion, confirmdialog, dialog, dropdown, panel, angular2Hotkeys, api$1, jsonx, xmlx) { 'use strict';
|
|
6
6
|
|
|
7
7
|
jsonx = jsonx && Object.prototype.hasOwnProperty.call(jsonx, 'default') ? jsonx['default'] : jsonx;
|
|
8
8
|
xmlx = xmlx && Object.prototype.hasOwnProperty.call(xmlx, 'default') ? xmlx['default'] : xmlx;
|
|
9
9
|
|
|
10
10
|
/*! *****************************************************************************
|
|
11
|
-
Copyright (c) Microsoft Corporation.
|
|
11
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
13
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
14
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
18
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
19
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
19
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
20
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
21
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
22
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
21
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
22
|
+
and limitations under the License.
|
|
23
23
|
***************************************************************************** */
|
|
24
24
|
/* global Reflect, Promise */
|
|
25
25
|
|
|
@@ -63,15 +63,14 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
function __values(o) {
|
|
66
|
-
var
|
|
66
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
|
|
67
67
|
if (m) return m.call(o);
|
|
68
|
-
|
|
68
|
+
return {
|
|
69
69
|
next: function () {
|
|
70
70
|
if (o && i >= o.length) o = void 0;
|
|
71
71
|
return { value: o && o[i++], done: !o };
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
75
74
|
}
|
|
76
75
|
|
|
77
76
|
function __read(o, n) {
|
|
@@ -435,6 +434,9 @@
|
|
|
435
434
|
BalancasService.prototype.fallbackCall = function (balanca, peso) {
|
|
436
435
|
return this.http.post(this.urlBalanca + "actions/manualWeight", { code: balanca, weight: peso }).pipe(this.defaultCatch());
|
|
437
436
|
};
|
|
437
|
+
BalancasService.prototype.getStabilizedWeight = function (code) {
|
|
438
|
+
return this.http.post(this.urlBalanca + "queries/getStabilizedWeight", { code: code }).pipe(this.defaultCatch());
|
|
439
|
+
};
|
|
438
440
|
BalancasService.prototype.getWeightScaleByCode = function (code) {
|
|
439
441
|
var params = {
|
|
440
442
|
displayFields: ["description", "code"],
|
|
@@ -468,13 +470,10 @@
|
|
|
468
470
|
}());
|
|
469
471
|
var VisualizarBalancaComponent = /** @class */ (function (_super) {
|
|
470
472
|
__extends(VisualizarBalancaComponent, _super);
|
|
471
|
-
function VisualizarBalancaComponent(service
|
|
473
|
+
function VisualizarBalancaComponent(service) {
|
|
472
474
|
var _this = _super.call(this) || this;
|
|
473
475
|
_this.service = service;
|
|
474
|
-
_this.client = client;
|
|
475
|
-
_this.cookieService = cookieService;
|
|
476
476
|
_this.loading = false;
|
|
477
|
-
_this.websocket = new IntegrationWebSocket(_this.client, _this.cookieService, 'integration');
|
|
478
477
|
_this.unsubscribe$ = new rxjs.Subject();
|
|
479
478
|
_this.weightScales$ = new rxjs.BehaviorSubject([]);
|
|
480
479
|
_this.weightScaleValues = new Map();
|
|
@@ -492,19 +491,10 @@
|
|
|
492
491
|
_this.weightScales$.next(contents);
|
|
493
492
|
contents.forEach(function (value) {
|
|
494
493
|
_this.weightScaleValues.set(value.id, 0);
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
.pipe(operators.map(function (message) { return message.body; }), operators.map(function (body) { return JSON.parse(body).data; }), operators.takeUntil(_this.unsubscribe$))
|
|
500
|
-
.subscribe(function (payload) {
|
|
501
|
-
if (!_this.weightScales$.value.length)
|
|
502
|
-
return;
|
|
503
|
-
var index = _this.weightScales$.value.findIndex(function (value) { return value.id === payload.weightScale.id; });
|
|
504
|
-
if (index < 0)
|
|
505
|
-
return;
|
|
506
|
-
var find = _this.weightScales$.value[index];
|
|
507
|
-
_this.weightScaleValues.set(find.id, payload.weight);
|
|
494
|
+
_this.service.getStabilizedWeight(value.code)
|
|
495
|
+
.subscribe(function (stabilized) {
|
|
496
|
+
_this.weightScaleValues.set(value.id, stabilized.weight);
|
|
497
|
+
});
|
|
508
498
|
});
|
|
509
499
|
});
|
|
510
500
|
};
|
|
@@ -521,9 +511,7 @@
|
|
|
521
511
|
selector: 'visualizar-balanca-component',
|
|
522
512
|
template: "<div *sLoadingState=\"loading\">\n <p-table [value]=\"weightScales$ | async\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>C\u00F3digo</th>\n <th>Descri\u00E7\u00E3o</th>\n <th>Peso</th>\n </tr>\n </ng-template>\n <ng-template let-rowData pTemplate=\"body\">\n <tr>\n <td>{{rowData.code}}</td>\n <td>{{rowData.description}}</td>\n <td>{{weightScaleValues.get(rowData.id)}}</td>\n </tr>\n </ng-template>\n </p-table>\n</div>"
|
|
523
513
|
}),
|
|
524
|
-
__metadata("design:paramtypes", [BalancasService
|
|
525
|
-
ng2Stompjs.StompService,
|
|
526
|
-
ngxCookieService.CookieService])
|
|
514
|
+
__metadata("design:paramtypes", [BalancasService])
|
|
527
515
|
], VisualizarBalancaComponent);
|
|
528
516
|
return VisualizarBalancaComponent;
|
|
529
517
|
}(VisualizarBalancaDescritor));
|
|
@@ -1960,6 +1948,16 @@
|
|
|
1960
1948
|
driver: true
|
|
1961
1949
|
});
|
|
1962
1950
|
}
|
|
1951
|
+
if (this.visitors.length > 0) {
|
|
1952
|
+
this.visitors[0].visitor = {
|
|
1953
|
+
name: mot.nome,
|
|
1954
|
+
document: mot.cpf,
|
|
1955
|
+
contact: this.getContatoMotorista(mot),
|
|
1956
|
+
visitorSituation: VisitorSituation.CHECK_IN_PENDING,
|
|
1957
|
+
documentType: this.getDocumentType(),
|
|
1958
|
+
driver: true
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1963
1961
|
};
|
|
1964
1962
|
VisitanteComponent.prototype.adicionaVisitantesGrid = function () {
|
|
1965
1963
|
var _this = this;
|
|
@@ -2052,6 +2050,14 @@
|
|
|
2052
2050
|
if (visitor.document === visitante.document) {
|
|
2053
2051
|
visitor.contact = visitante.contact;
|
|
2054
2052
|
visitor.name = visitante.name;
|
|
2053
|
+
var novoVisitante_1 = _this.buildVisitorCredentialsDto(visitor);
|
|
2054
|
+
_this.visitors.forEach(function (result) {
|
|
2055
|
+
if (result.visitor.document === novoVisitante_1.visitor.document) {
|
|
2056
|
+
result.visitor.name = novoVisitante_1.visitor.name;
|
|
2057
|
+
result.visitor.contact = novoVisitante_1.visitor.contact;
|
|
2058
|
+
}
|
|
2059
|
+
});
|
|
2060
|
+
_this.visitorsChange.emit(_this.visitors);
|
|
2055
2061
|
_this.visitorFound = true;
|
|
2056
2062
|
}
|
|
2057
2063
|
});
|
|
@@ -2079,6 +2085,19 @@
|
|
|
2079
2085
|
this.visitorsChange.emit(this.visitors);
|
|
2080
2086
|
this.hasChange.emit(true);
|
|
2081
2087
|
};
|
|
2088
|
+
VisitanteComponent.prototype.buildVisitorCredentialsDto = function (visitor) {
|
|
2089
|
+
var visitorCredentialsDto = new VisitorCredentialsDto();
|
|
2090
|
+
var visitante = {
|
|
2091
|
+
name: visitor.name,
|
|
2092
|
+
document: visitor.document,
|
|
2093
|
+
contact: visitor.contact,
|
|
2094
|
+
documentType: visitor.documentType,
|
|
2095
|
+
visitorSituation: visitor.visitorSituation,
|
|
2096
|
+
driver: false
|
|
2097
|
+
};
|
|
2098
|
+
visitorCredentialsDto.visitor = visitante;
|
|
2099
|
+
return visitorCredentialsDto;
|
|
2100
|
+
};
|
|
2082
2101
|
VisitanteComponent.prototype.model = function (visitante) {
|
|
2083
2102
|
var _this = this;
|
|
2084
2103
|
var isDriver = visitante.document === this.motorista.cpf;
|
|
@@ -3035,6 +3054,190 @@
|
|
|
3035
3054
|
return VisitorListModule;
|
|
3036
3055
|
}());
|
|
3037
3056
|
|
|
3057
|
+
var INFORMACAOES_ADICIONAIS_HEADER = "Informações adicionais";
|
|
3058
|
+
var FormWmsDescritor = /** @class */ (function () {
|
|
3059
|
+
function FormWmsDescritor() {
|
|
3060
|
+
}
|
|
3061
|
+
FormWmsDescritor = __decorate([
|
|
3062
|
+
ymsRoutines.ChegadaVeiculo({
|
|
3063
|
+
header: INFORMACAOES_ADICIONAIS_HEADER,
|
|
3064
|
+
name: 'yms.integracao.wms',
|
|
3065
|
+
icon: 'fa fa-plus'
|
|
3066
|
+
})
|
|
3067
|
+
], FormWmsDescritor);
|
|
3068
|
+
return FormWmsDescritor;
|
|
3069
|
+
}());
|
|
3070
|
+
var FormWmsComponent = /** @class */ (function (_super) {
|
|
3071
|
+
__extends(FormWmsComponent, _super);
|
|
3072
|
+
function FormWmsComponent(integrationCallback) {
|
|
3073
|
+
var _this = _super.call(this) || this;
|
|
3074
|
+
_this.integrationCallback = integrationCallback;
|
|
3075
|
+
_this.save = [];
|
|
3076
|
+
_this.header = INFORMACAOES_ADICIONAIS_HEADER;
|
|
3077
|
+
_this.loading = false;
|
|
3078
|
+
_this.unsubscribe$ = new rxjs.Subject();
|
|
3079
|
+
_this._integrationCallback = integrationCallback;
|
|
3080
|
+
return _this;
|
|
3081
|
+
}
|
|
3082
|
+
FormWmsComponent.prototype.ngOnInit = function () {
|
|
3083
|
+
var _this = this;
|
|
3084
|
+
this._integrationCallback.onAgendamentoSaved()
|
|
3085
|
+
.pipe(operators.takeUntil(this.unsubscribe$), operators.mergeMap(function (agenda) {
|
|
3086
|
+
_this.agenda = agenda;
|
|
3087
|
+
return rxjs.empty();
|
|
3088
|
+
}))
|
|
3089
|
+
.subscribe();
|
|
3090
|
+
};
|
|
3091
|
+
FormWmsComponent.prototype.ngOnDestroy = function () {
|
|
3092
|
+
this.unsubscribe$.next();
|
|
3093
|
+
this.unsubscribe$.complete();
|
|
3094
|
+
};
|
|
3095
|
+
__decorate([
|
|
3096
|
+
core.Output(),
|
|
3097
|
+
__metadata("design:type", Agenda)
|
|
3098
|
+
], FormWmsComponent.prototype, "agenda", void 0);
|
|
3099
|
+
__decorate([
|
|
3100
|
+
core.Input(),
|
|
3101
|
+
__metadata("design:type", Array)
|
|
3102
|
+
], FormWmsComponent.prototype, "save", void 0);
|
|
3103
|
+
FormWmsComponent = __decorate([
|
|
3104
|
+
core.Component({
|
|
3105
|
+
template: "\n <div *ngIf=\"agenda\">\n <document-grid [agenda]=\"agenda\"></document-grid>\n </div>\n "
|
|
3106
|
+
}),
|
|
3107
|
+
__metadata("design:paramtypes", [ymsRoutines.IntegrationEventsCallback])
|
|
3108
|
+
], FormWmsComponent);
|
|
3109
|
+
return FormWmsComponent;
|
|
3110
|
+
}(FormWmsDescritor));
|
|
3111
|
+
|
|
3112
|
+
var DocumentService = /** @class */ (function (_super) {
|
|
3113
|
+
__extends(DocumentService, _super);
|
|
3114
|
+
function DocumentService(http, messageService) {
|
|
3115
|
+
var _this = _super.call(this, http, messageService, 'yms_int/wms/entities/document', '') || this;
|
|
3116
|
+
_this.http = http;
|
|
3117
|
+
_this.messageService = messageService;
|
|
3118
|
+
return _this;
|
|
3119
|
+
}
|
|
3120
|
+
DocumentService.prototype.findDocuments = function (input) {
|
|
3121
|
+
return this.http.post('yms_int/wms/queries/findDocuments', input);
|
|
3122
|
+
};
|
|
3123
|
+
DocumentService = __decorate([
|
|
3124
|
+
core.Injectable(),
|
|
3125
|
+
__metadata("design:paramtypes", [http.HttpClient, api.MessageService])
|
|
3126
|
+
], DocumentService);
|
|
3127
|
+
return DocumentService;
|
|
3128
|
+
}(EntityService));
|
|
3129
|
+
|
|
3130
|
+
var InsertKeyComponent = /** @class */ (function () {
|
|
3131
|
+
function InsertKeyComponent(formBuilder, documentService, messageService, translate) {
|
|
3132
|
+
this.formBuilder = formBuilder;
|
|
3133
|
+
this.documentService = documentService;
|
|
3134
|
+
this.messageService = messageService;
|
|
3135
|
+
this.translate = translate;
|
|
3136
|
+
this.document = new core.EventEmitter();
|
|
3137
|
+
}
|
|
3138
|
+
InsertKeyComponent.prototype.ngOnInit = function () {
|
|
3139
|
+
this.formGroup = this.formBuilder.group({
|
|
3140
|
+
key: [undefined]
|
|
3141
|
+
});
|
|
3142
|
+
};
|
|
3143
|
+
InsertKeyComponent.prototype.showInsertKey = function (visible) {
|
|
3144
|
+
this.visible = visible;
|
|
3145
|
+
};
|
|
3146
|
+
InsertKeyComponent.prototype.add = function () {
|
|
3147
|
+
this.visible = false;
|
|
3148
|
+
if (!this.formGroup.get('key').value) {
|
|
3149
|
+
return;
|
|
3150
|
+
}
|
|
3151
|
+
this.searchKey();
|
|
3152
|
+
};
|
|
3153
|
+
InsertKeyComponent.prototype.searchKey = function () {
|
|
3154
|
+
var _this = this;
|
|
3155
|
+
var key = {
|
|
3156
|
+
documentKeys: [this.formGroup.get('key').value],
|
|
3157
|
+
invoices: undefined,
|
|
3158
|
+
logistcUnitName: undefined,
|
|
3159
|
+
size: 0,
|
|
3160
|
+
offset: 0
|
|
3161
|
+
};
|
|
3162
|
+
this.documentService.findDocuments(key).subscribe(function (content) {
|
|
3163
|
+
if (content.totalElements < 1) {
|
|
3164
|
+
_this.message("warn", "yms.int.wms_insert_key_warning_message_header", "yms.int.wms_insert_key_warning_message_description");
|
|
3165
|
+
return;
|
|
3166
|
+
}
|
|
3167
|
+
_this.document.emit(content.contents[0]);
|
|
3168
|
+
_this.message("success", "yms.int.wms_insert_key_success_message_header", "yms.int.wms_insert_key_success_message_description");
|
|
3169
|
+
_this.formGroup.reset();
|
|
3170
|
+
});
|
|
3171
|
+
};
|
|
3172
|
+
InsertKeyComponent.prototype.message = function (success, header, description) {
|
|
3173
|
+
this.messageService.add({
|
|
3174
|
+
severity: success,
|
|
3175
|
+
summary: this.translate.instant(header),
|
|
3176
|
+
detail: this.translate.instant(description),
|
|
3177
|
+
});
|
|
3178
|
+
};
|
|
3179
|
+
InsertKeyComponent.prototype.cancel = function () {
|
|
3180
|
+
this.visible = false;
|
|
3181
|
+
};
|
|
3182
|
+
__decorate([
|
|
3183
|
+
core.Output(),
|
|
3184
|
+
__metadata("design:type", core.EventEmitter)
|
|
3185
|
+
], InsertKeyComponent.prototype, "document", void 0);
|
|
3186
|
+
InsertKeyComponent = __decorate([
|
|
3187
|
+
core.Component({
|
|
3188
|
+
selector: "insert-key",
|
|
3189
|
+
template: "<form [formGroup]=\"formGroup\">\n <p-dialog [(visible)]=\"visible\">\n <p-header>{{'yms.insert_key_header' | translate}}</p-header>\n <div class=\"flex py-2 justify-content-center spacing-bottom\">\n <label for=\"key\">{{'yms.insert_key_label'}}</label>\n <input id=\"key\" class=\"size-input\" pInputText type=\"text\" formControlName=\"key\">\n </div>\n <div class=\"separator\"></div>\n <div class=\"spacing-top\">\n <s-button pButton label=\"{{'save' | 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 </p-dialog>\n</form>",
|
|
3190
|
+
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:550px}"]
|
|
3191
|
+
}),
|
|
3192
|
+
__metadata("design:paramtypes", [forms.FormBuilder,
|
|
3193
|
+
DocumentService,
|
|
3194
|
+
api.MessageService,
|
|
3195
|
+
core$1.TranslateService])
|
|
3196
|
+
], InsertKeyComponent);
|
|
3197
|
+
return InsertKeyComponent;
|
|
3198
|
+
}());
|
|
3199
|
+
|
|
3200
|
+
var moment$4 = _moment;
|
|
3201
|
+
var Document = /** @class */ (function () {
|
|
3202
|
+
function Document() {
|
|
3203
|
+
}
|
|
3204
|
+
Document.fromDto = function (documentDto, originEntity) {
|
|
3205
|
+
var model = __assign({}, documentDto);
|
|
3206
|
+
model.createdDate = model.createdDate && moment$4(model.createdDate).toDate();
|
|
3207
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$4(model.lastModifiedDate).toDate();
|
|
3208
|
+
var lookupSeparator = " - ";
|
|
3209
|
+
var displayFields = [
|
|
3210
|
+
"id",
|
|
3211
|
+
"schedulingId",
|
|
3212
|
+
"invoiceKey",
|
|
3213
|
+
"invoiceNumber",
|
|
3214
|
+
"invoiceSerialNumber",
|
|
3215
|
+
"systemIntegration",
|
|
3216
|
+
"logistcUnitName",
|
|
3217
|
+
"logistcUnitDocument",
|
|
3218
|
+
"ownerName",
|
|
3219
|
+
"ownerDocument",
|
|
3220
|
+
"partnerName",
|
|
3221
|
+
"partnerDocument",
|
|
3222
|
+
"notes",
|
|
3223
|
+
"orderReceivingCode",
|
|
3224
|
+
"createdBy",
|
|
3225
|
+
"createdDate",
|
|
3226
|
+
"lastModifiedBy",
|
|
3227
|
+
"lastModifiedDate",
|
|
3228
|
+
];
|
|
3229
|
+
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
3230
|
+
return model;
|
|
3231
|
+
};
|
|
3232
|
+
Document.toDto = function (document, originEntity) {
|
|
3233
|
+
var dto = __assign({}, document);
|
|
3234
|
+
dto.createdDate = dto.createdDate && moment$4(dto.createdDate).format();
|
|
3235
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$4(dto.lastModifiedDate).format();
|
|
3236
|
+
return dto;
|
|
3237
|
+
};
|
|
3238
|
+
return Document;
|
|
3239
|
+
}());
|
|
3240
|
+
|
|
3038
3241
|
var EntityService$1 = /** @class */ (function () {
|
|
3039
3242
|
function EntityService(http, messageService, entityUrl, actionsUrl) {
|
|
3040
3243
|
this.http = http;
|
|
@@ -3129,9 +3332,411 @@
|
|
|
3129
3332
|
return EntityService;
|
|
3130
3333
|
}());
|
|
3131
3334
|
|
|
3335
|
+
var EntityService$2 = /** @class */ (function (_super) {
|
|
3336
|
+
__extends(EntityService, _super);
|
|
3337
|
+
function EntityService() {
|
|
3338
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3339
|
+
}
|
|
3340
|
+
return EntityService;
|
|
3341
|
+
}(EntityService$1));
|
|
3342
|
+
|
|
3343
|
+
var AgendaService = /** @class */ (function (_super) {
|
|
3344
|
+
__extends(AgendaService, _super);
|
|
3345
|
+
function AgendaService(http, messageService) {
|
|
3346
|
+
var _this = _super.call(this, http, messageService, 'yms/agenda/entities/agenda', '') || this;
|
|
3347
|
+
_this.http = http;
|
|
3348
|
+
_this.messageService = messageService;
|
|
3349
|
+
return _this;
|
|
3350
|
+
}
|
|
3351
|
+
AgendaService.ngInjectableDef = core.defineInjectable({ factory: function AgendaService_Factory() { return new AgendaService(core.inject(http.HttpClient), core.inject(messageservice.MessageService)); }, token: AgendaService, providedIn: "root" });
|
|
3352
|
+
AgendaService = __decorate([
|
|
3353
|
+
core.Injectable({ providedIn: 'root' }),
|
|
3354
|
+
__metadata("design:paramtypes", [http.HttpClient, messageservice.MessageService])
|
|
3355
|
+
], AgendaService);
|
|
3356
|
+
return AgendaService;
|
|
3357
|
+
}(EntityService$2));
|
|
3358
|
+
|
|
3359
|
+
var RegisterDocumentComponent = /** @class */ (function () {
|
|
3360
|
+
function RegisterDocumentComponent(fb, messageService, translateService, agendaService) {
|
|
3361
|
+
this.fb = fb;
|
|
3362
|
+
this.messageService = messageService;
|
|
3363
|
+
this.translateService = translateService;
|
|
3364
|
+
this.agendaService = agendaService;
|
|
3365
|
+
this.document = new core.EventEmitter();
|
|
3366
|
+
}
|
|
3367
|
+
RegisterDocumentComponent.prototype.ngOnInit = function () {
|
|
3368
|
+
this.getFormGroup();
|
|
3369
|
+
};
|
|
3370
|
+
RegisterDocumentComponent.prototype.showRegister = function (isVisible, isEdit, document) {
|
|
3371
|
+
if (!isVisible && !isEdit) {
|
|
3372
|
+
return;
|
|
3373
|
+
}
|
|
3374
|
+
this.visible = isVisible;
|
|
3375
|
+
this.edit = isEdit;
|
|
3376
|
+
if (!this.edit) {
|
|
3377
|
+
this.formGroup.disable();
|
|
3378
|
+
this.setValuesFormGroup(document);
|
|
3379
|
+
this.setValueForPartner();
|
|
3380
|
+
this.hideSaveButton = true;
|
|
3381
|
+
}
|
|
3382
|
+
};
|
|
3383
|
+
RegisterDocumentComponent.prototype.close = function () {
|
|
3384
|
+
this.visible = false;
|
|
3385
|
+
};
|
|
3386
|
+
RegisterDocumentComponent.prototype.setValuesFormGroup = function (document) {
|
|
3387
|
+
this.formGroup.get('invoiceKey').setValue(document.invoiceKey);
|
|
3388
|
+
this.formGroup.get('invoiceNumber').setValue(document.invoiceNumber);
|
|
3389
|
+
this.formGroup.get('invoiceSerialNumber').setValue(document.invoiceSerialNumber);
|
|
3390
|
+
this.formGroup.get('logistcUnitDocument').setValue(document.logistcUnitDocument);
|
|
3391
|
+
this.formGroup.get('logistcUnitName').setValue(document.logistcUnitName);
|
|
3392
|
+
this.formGroup.get('notes').setValue(document.notes);
|
|
3393
|
+
this.formGroup.get('orderReceivingCode').setValue(document.orderReceivingCode);
|
|
3394
|
+
this.formGroup.get('ownerDocument').setValue(document.ownerDocument);
|
|
3395
|
+
this.formGroup.get('ownerName').setValue(document.ownerName);
|
|
3396
|
+
};
|
|
3397
|
+
RegisterDocumentComponent.prototype.setValueForPartner = function () {
|
|
3398
|
+
var _this = this;
|
|
3399
|
+
this.agendaService.get(this.agenda.id).subscribe(function (agenda) {
|
|
3400
|
+
_this.formGroup.get('partnerName').setValue(agenda.externalTenant.descricao);
|
|
3401
|
+
_this.formGroup.get('partnerDocument').setValue(agenda.externalTenant.cnpj);
|
|
3402
|
+
});
|
|
3403
|
+
};
|
|
3404
|
+
RegisterDocumentComponent.prototype.getFormGroup = function () {
|
|
3405
|
+
this.formGroup = this.fb.group({
|
|
3406
|
+
invoiceKey: [undefined, forms.Validators.required],
|
|
3407
|
+
schedulingId: [undefined],
|
|
3408
|
+
invoiceNumber: [undefined],
|
|
3409
|
+
invoiceSerialNumber: [undefined],
|
|
3410
|
+
logistcUnitName: [undefined],
|
|
3411
|
+
logistcUnitDocument: [undefined],
|
|
3412
|
+
ownerName: [undefined],
|
|
3413
|
+
ownerDocument: [undefined],
|
|
3414
|
+
partnerName: [undefined],
|
|
3415
|
+
partnerDocument: [undefined],
|
|
3416
|
+
notes: [undefined],
|
|
3417
|
+
orderReceivingCode: [undefined],
|
|
3418
|
+
});
|
|
3419
|
+
};
|
|
3420
|
+
RegisterDocumentComponent.prototype.save = function () {
|
|
3421
|
+
var value = this.formGroup.getRawValue();
|
|
3422
|
+
if (value.id === undefined) {
|
|
3423
|
+
if (this.agenda.id !== undefined) {
|
|
3424
|
+
value.schedulingId = this.agenda.id;
|
|
3425
|
+
}
|
|
3426
|
+
this.document.emit(Document.fromDto(value));
|
|
3427
|
+
this.successMessage();
|
|
3428
|
+
this.visible = false;
|
|
3429
|
+
}
|
|
3430
|
+
};
|
|
3431
|
+
RegisterDocumentComponent.prototype.successMessage = function () {
|
|
3432
|
+
this.messageService.add({
|
|
3433
|
+
severity: "success",
|
|
3434
|
+
summary: this.translateService.instant("saved_message_title"),
|
|
3435
|
+
detail: this.translateService.instant("saved_message_content"),
|
|
3436
|
+
});
|
|
3437
|
+
};
|
|
3438
|
+
__decorate([
|
|
3439
|
+
core.Input(),
|
|
3440
|
+
__metadata("design:type", Agenda)
|
|
3441
|
+
], RegisterDocumentComponent.prototype, "agenda", void 0);
|
|
3442
|
+
__decorate([
|
|
3443
|
+
core.Output(),
|
|
3444
|
+
__metadata("design:type", core.EventEmitter)
|
|
3445
|
+
], RegisterDocumentComponent.prototype, "document", void 0);
|
|
3446
|
+
RegisterDocumentComponent = __decorate([
|
|
3447
|
+
core.Component({
|
|
3448
|
+
selector: "register-document",
|
|
3449
|
+
template: "<s-sidebar\n [visible]=\"visible\"\n header=\"{{ 'yms.int.wms_register_document_add_document' | translate }}\"\n (visibleChange)=\"close()\">\n <form [formGroup]=\"formGroup\">\n <div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-6 required\">\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\">\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\">\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-6\">\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-6\">\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-6\">\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-6\">\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-6\">\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-6\">\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=\"5\" pInputTextarea autoResize=\"autoResize\" formControlName=\"notes\"></textarea>\n </div>\n <div class=\"ui-g-6\">\n <label for=\"orderReceivingCode\">\n {{'yms.int.wms_register_document_order_receiving_code' | translate}}\n </label>\n <input id=\"orderReceivingCode\" pInputText type=\"text\" formControlName=\"orderReceivingCode\">\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>"
|
|
3450
|
+
}),
|
|
3451
|
+
__metadata("design:paramtypes", [forms.FormBuilder,
|
|
3452
|
+
api.MessageService,
|
|
3453
|
+
core$1.TranslateService,
|
|
3454
|
+
AgendaService])
|
|
3455
|
+
], RegisterDocumentComponent);
|
|
3456
|
+
return RegisterDocumentComponent;
|
|
3457
|
+
}());
|
|
3458
|
+
|
|
3459
|
+
var DocumentGridComponent = /** @class */ (function () {
|
|
3460
|
+
function DocumentGridComponent(translate, documentService, messageService) {
|
|
3461
|
+
this.translate = translate;
|
|
3462
|
+
this.documentService = documentService;
|
|
3463
|
+
this.messageService = messageService;
|
|
3464
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
3465
|
+
}
|
|
3466
|
+
DocumentGridComponent.prototype.ngOnInit = function () {
|
|
3467
|
+
this.gridColumns = this.getGridColumns();
|
|
3468
|
+
this.listDocuments();
|
|
3469
|
+
};
|
|
3470
|
+
DocumentGridComponent.prototype.onChangeDocument = function (document) {
|
|
3471
|
+
this.gridData.push(document);
|
|
3472
|
+
this.disabled = true;
|
|
3473
|
+
};
|
|
3474
|
+
DocumentGridComponent.prototype.getActions = function () {
|
|
3475
|
+
var _this = this;
|
|
3476
|
+
return [
|
|
3477
|
+
{
|
|
3478
|
+
label: this.translate.instant("yms.int.wms_add_document_invoice_key"),
|
|
3479
|
+
command: function () {
|
|
3480
|
+
_this.registerDocumentComponent.showRegister(false, false);
|
|
3481
|
+
_this.showInsertKey = true;
|
|
3482
|
+
_this.insertKeyComponent.showInsertKey(_this.showInsertKey);
|
|
3483
|
+
},
|
|
3484
|
+
icon: "fa fa-search"
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
label: this.translate.instant("yms.int.wms_add_document_register"),
|
|
3488
|
+
command: function () {
|
|
3489
|
+
_this.insertKeyComponent.showInsertKey(false);
|
|
3490
|
+
_this.showRegisterDocument = true;
|
|
3491
|
+
_this.registerDocumentComponent.showRegister(_this.showRegisterDocument, true);
|
|
3492
|
+
},
|
|
3493
|
+
icon: "fas fa-pen-square"
|
|
3494
|
+
}
|
|
3495
|
+
];
|
|
3496
|
+
};
|
|
3497
|
+
DocumentGridComponent.prototype.getProp = function (obj, path) {
|
|
3498
|
+
return path.split(".").reduce(function (result, prop) { return (result[prop] === undefined ? "" : result[prop]); }, obj);
|
|
3499
|
+
};
|
|
3500
|
+
DocumentGridComponent.prototype.view = function () {
|
|
3501
|
+
var documentSelectec = this.selection;
|
|
3502
|
+
this.showRegisterDocument = true;
|
|
3503
|
+
this.registerDocumentComponent.showRegister(this.showRegisterDocument, false, documentSelectec);
|
|
3504
|
+
};
|
|
3505
|
+
DocumentGridComponent.prototype.save = function () {
|
|
3506
|
+
var _this = this;
|
|
3507
|
+
if (this.gridData.length > 1) {
|
|
3508
|
+
this.gridData.forEach(function (data) {
|
|
3509
|
+
if (!data.id) {
|
|
3510
|
+
if (!data.schedulingId) {
|
|
3511
|
+
data.schedulingId = _this.agenda.id;
|
|
3512
|
+
}
|
|
3513
|
+
_this.documentService.insert(data).subscribe(function () {
|
|
3514
|
+
_this.message("success", "saved_message_title", "saved_message_content");
|
|
3515
|
+
});
|
|
3516
|
+
_this.disabled = true;
|
|
3517
|
+
}
|
|
3518
|
+
});
|
|
3519
|
+
}
|
|
3520
|
+
};
|
|
3521
|
+
DocumentGridComponent.prototype.onDelete = function (selection) {
|
|
3522
|
+
var _this = this;
|
|
3523
|
+
if (!selection.id) {
|
|
3524
|
+
return;
|
|
3525
|
+
}
|
|
3526
|
+
this.documentService.delete(selection.id)
|
|
3527
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe), operators.finalize(function () {
|
|
3528
|
+
_this.listDocuments();
|
|
3529
|
+
})).
|
|
3530
|
+
subscribe(function () { return _this.message("success", "deleted_message_title", "deleted_message_content"); });
|
|
3531
|
+
};
|
|
3532
|
+
DocumentGridComponent.prototype.listDocuments = function () {
|
|
3533
|
+
var _this = this;
|
|
3534
|
+
this.documentService.list({
|
|
3535
|
+
filterQuery: "schedulingId eq '" + this.agenda.id + "'"
|
|
3536
|
+
})
|
|
3537
|
+
.subscribe(function (contents) {
|
|
3538
|
+
if (contents.totalElements > 0) {
|
|
3539
|
+
_this.gridData = contents.contents;
|
|
3540
|
+
_this.documentTotalRecords = contents.totalElements;
|
|
3541
|
+
}
|
|
3542
|
+
else {
|
|
3543
|
+
_this.disabled = true;
|
|
3544
|
+
}
|
|
3545
|
+
_this.loading = false;
|
|
3546
|
+
});
|
|
3547
|
+
};
|
|
3548
|
+
DocumentGridComponent.prototype.getGridColumns = function () {
|
|
3549
|
+
return [
|
|
3550
|
+
{ field: "logistcUnitName", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_name") },
|
|
3551
|
+
{ field: "logistcUnitDocument", header: this.translate.instant("yms.int.wms_register_document_logistc_unit_document") },
|
|
3552
|
+
{ field: "invoiceKey", header: this.translate.instant("yms.int.wms_register_document_invoice_key") },
|
|
3553
|
+
{ field: "invoiceNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_number") },
|
|
3554
|
+
{ field: "invoiceSerialNumber", header: this.translate.instant("yms.int.wms_register_document_invoice_serial_number") },
|
|
3555
|
+
{ field: "ownerName", header: this.translate.instant("yms.int.wms_register_document_owner_name") },
|
|
3556
|
+
{ field: "ownerDocument", header: this.translate.instant("yms.int.wms_register_document_owner_document") },
|
|
3557
|
+
{ field: "orderReceivingCode", header: this.translate.instant("yms.int.wms_register_document_order_receiving_code") },
|
|
3558
|
+
];
|
|
3559
|
+
};
|
|
3560
|
+
DocumentGridComponent.prototype.message = function (severity, summary, detail) {
|
|
3561
|
+
this.messageService.add({
|
|
3562
|
+
severity: severity,
|
|
3563
|
+
summary: this.translate.instant(summary),
|
|
3564
|
+
detail: this.translate.instant(detail),
|
|
3565
|
+
});
|
|
3566
|
+
};
|
|
3567
|
+
__decorate([
|
|
3568
|
+
core.Input(),
|
|
3569
|
+
__metadata("design:type", Object)
|
|
3570
|
+
], DocumentGridComponent.prototype, "agenda", void 0);
|
|
3571
|
+
__decorate([
|
|
3572
|
+
core.ViewChild("documentTable"),
|
|
3573
|
+
__metadata("design:type", table.Table)
|
|
3574
|
+
], DocumentGridComponent.prototype, "table", void 0);
|
|
3575
|
+
__decorate([
|
|
3576
|
+
core.ViewChild("customTemplate"),
|
|
3577
|
+
__metadata("design:type", core.TemplateRef)
|
|
3578
|
+
], DocumentGridComponent.prototype, "customTemplate", void 0);
|
|
3579
|
+
__decorate([
|
|
3580
|
+
core.ViewChild("customFilterFields"),
|
|
3581
|
+
__metadata("design:type", core.TemplateRef)
|
|
3582
|
+
], DocumentGridComponent.prototype, "customFilterFields", void 0);
|
|
3583
|
+
__decorate([
|
|
3584
|
+
core.ViewChild("customGridColgroup"),
|
|
3585
|
+
__metadata("design:type", core.TemplateRef)
|
|
3586
|
+
], DocumentGridComponent.prototype, "customGridColgroup", void 0);
|
|
3587
|
+
__decorate([
|
|
3588
|
+
core.ViewChild("customGridHeader"),
|
|
3589
|
+
__metadata("design:type", core.TemplateRef)
|
|
3590
|
+
], DocumentGridComponent.prototype, "customGridHeader", void 0);
|
|
3591
|
+
__decorate([
|
|
3592
|
+
core.ViewChild("customGridBody"),
|
|
3593
|
+
__metadata("design:type", core.TemplateRef)
|
|
3594
|
+
], DocumentGridComponent.prototype, "customGridBody", void 0);
|
|
3595
|
+
__decorate([
|
|
3596
|
+
core.ViewChild("registerDocument"),
|
|
3597
|
+
__metadata("design:type", RegisterDocumentComponent)
|
|
3598
|
+
], DocumentGridComponent.prototype, "registerDocumentComponent", void 0);
|
|
3599
|
+
__decorate([
|
|
3600
|
+
core.ViewChild("insertKey"),
|
|
3601
|
+
__metadata("design:type", InsertKeyComponent)
|
|
3602
|
+
], DocumentGridComponent.prototype, "insertKeyComponent", void 0);
|
|
3603
|
+
DocumentGridComponent = __decorate([
|
|
3604
|
+
core.Component({
|
|
3605
|
+
selector: 'document-grid',
|
|
3606
|
+
template: "<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 || disabled\"\n (onClick)=\"view()\">\n </s-button>\n <s-button\n label=\"{{'yms.wms_delete_button' | translate}}\"\n priority=\"secondary\"\n [auxiliary]=\"false\"\n [disabled]=\"!selection || disabled\"\n (click)=\"onDelete(selection)\">\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=\"single\" [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=\"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 (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[\"invoiceKey\"] }}</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[\"orderReceivingCode\"] }}</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 #registerDocument (document)=\"onChangeDocument($event)\" [agenda]=\"agenda\"></register-document>\n <insert-key #insertKey (document)=\"onChangeDocument($event)\"></insert-key>\n</p-panel>\n<div class=\"button-save\">\n <s-button \n priority=\"primary\" [label]=\"'save' | translate\" [disabled]=\"!disabled\" (click)=\"save()\">\n </s-button>\n</div>\n\n\n<ng-template #emptyList>\n <div class=\"center\">\n <s-empty-state\n iconClass=\"fa fa-exclamation-triangle\" [title]=\"'yms.dock.area_dock_empty_state_title' | translate\"\n [description]=\"'yms.dock.area_dock_empty_state_description' | translate\">\n </s-empty-state>\n </div>\n</ng-template>\n",
|
|
3607
|
+
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}"]
|
|
3608
|
+
}),
|
|
3609
|
+
__metadata("design:paramtypes", [core$1.TranslateService,
|
|
3610
|
+
DocumentService,
|
|
3611
|
+
api.MessageService])
|
|
3612
|
+
], DocumentGridComponent);
|
|
3613
|
+
return DocumentGridComponent;
|
|
3614
|
+
}());
|
|
3615
|
+
|
|
3616
|
+
var RegisterDocumentModule = /** @class */ (function () {
|
|
3617
|
+
function RegisterDocumentModule() {
|
|
3618
|
+
}
|
|
3619
|
+
RegisterDocumentModule = __decorate([
|
|
3620
|
+
core.NgModule({
|
|
3621
|
+
imports: [
|
|
3622
|
+
common.CommonModule,
|
|
3623
|
+
angularComponents.SidebarModule,
|
|
3624
|
+
angularComponents.ButtonModule,
|
|
3625
|
+
primeng.PanelModule,
|
|
3626
|
+
primeng.ConfirmDialogModule,
|
|
3627
|
+
core$1.TranslateModule,
|
|
3628
|
+
primeng.InputTextModule,
|
|
3629
|
+
angularComponents.ControlErrorsModule,
|
|
3630
|
+
primeng.InputTextareaModule,
|
|
3631
|
+
forms.ReactiveFormsModule
|
|
3632
|
+
],
|
|
3633
|
+
exports: [RegisterDocumentComponent],
|
|
3634
|
+
declarations: [RegisterDocumentComponent],
|
|
3635
|
+
providers: [DocumentService]
|
|
3636
|
+
})
|
|
3637
|
+
], RegisterDocumentModule);
|
|
3638
|
+
return RegisterDocumentModule;
|
|
3639
|
+
}());
|
|
3640
|
+
|
|
3641
|
+
var InsertKeyModule = /** @class */ (function () {
|
|
3642
|
+
function InsertKeyModule() {
|
|
3643
|
+
}
|
|
3644
|
+
InsertKeyModule = __decorate([
|
|
3645
|
+
core.NgModule({
|
|
3646
|
+
imports: [
|
|
3647
|
+
common.CommonModule,
|
|
3648
|
+
forms.ReactiveFormsModule,
|
|
3649
|
+
angularComponents.ButtonModule,
|
|
3650
|
+
core$1.TranslateModule,
|
|
3651
|
+
primeng.DialogModule,
|
|
3652
|
+
primeng.InputTextModule
|
|
3653
|
+
],
|
|
3654
|
+
exports: [InsertKeyComponent],
|
|
3655
|
+
declarations: [InsertKeyComponent]
|
|
3656
|
+
})
|
|
3657
|
+
], InsertKeyModule);
|
|
3658
|
+
return InsertKeyModule;
|
|
3659
|
+
}());
|
|
3660
|
+
|
|
3661
|
+
var DocumentGridModule = /** @class */ (function () {
|
|
3662
|
+
function DocumentGridModule() {
|
|
3663
|
+
}
|
|
3664
|
+
DocumentGridModule = __decorate([
|
|
3665
|
+
core.NgModule({
|
|
3666
|
+
declarations: [DocumentGridComponent],
|
|
3667
|
+
entryComponents: [DocumentGridComponent],
|
|
3668
|
+
exports: [DocumentGridComponent],
|
|
3669
|
+
imports: [
|
|
3670
|
+
common.CommonModule,
|
|
3671
|
+
core$1.TranslateModule,
|
|
3672
|
+
angularComponents.ButtonModule,
|
|
3673
|
+
primeng.PanelModule,
|
|
3674
|
+
table.TableModule,
|
|
3675
|
+
RegisterDocumentModule,
|
|
3676
|
+
InsertKeyModule,
|
|
3677
|
+
button.ButtonModule,
|
|
3678
|
+
ymsComponents.ComponentsModule,
|
|
3679
|
+
angularComponents.EmptyStateModule
|
|
3680
|
+
],
|
|
3681
|
+
})
|
|
3682
|
+
], DocumentGridModule);
|
|
3683
|
+
return DocumentGridModule;
|
|
3684
|
+
}());
|
|
3685
|
+
|
|
3686
|
+
var WmsModule = /** @class */ (function () {
|
|
3687
|
+
function WmsModule(dispatcher) {
|
|
3688
|
+
dispatcher.dispatch(FormWmsComponent);
|
|
3689
|
+
}
|
|
3690
|
+
WmsModule = __decorate([
|
|
3691
|
+
core.NgModule({
|
|
3692
|
+
declarations: [FormWmsComponent],
|
|
3693
|
+
entryComponents: [FormWmsComponent],
|
|
3694
|
+
exports: [FormWmsComponent],
|
|
3695
|
+
imports: [
|
|
3696
|
+
ymsRoutines.IntegrationModule,
|
|
3697
|
+
DocumentGridModule,
|
|
3698
|
+
common.CommonModule,
|
|
3699
|
+
core$1.TranslateModule,
|
|
3700
|
+
forms.FormsModule,
|
|
3701
|
+
angularComponents.ButtonModule,
|
|
3702
|
+
primeng.SharedModule,
|
|
3703
|
+
primeng.CardModule,
|
|
3704
|
+
button.ButtonModule,
|
|
3705
|
+
forms.ReactiveFormsModule,
|
|
3706
|
+
shared.SharedModule,
|
|
3707
|
+
angularComponents.CustomFieldsModule,
|
|
3708
|
+
angularComponents.ControlErrorsModule,
|
|
3709
|
+
primeng.DialogModule,
|
|
3710
|
+
angularComponents.EmptyStateModule,
|
|
3711
|
+
angularComponents.DynamicFormModule,
|
|
3712
|
+
angularComponents.TokenListModule,
|
|
3713
|
+
primeng.PanelModule,
|
|
3714
|
+
primeng.InputTextModule,
|
|
3715
|
+
primeng.DropdownModule,
|
|
3716
|
+
angularComponents.ButtonModule,
|
|
3717
|
+
angularComponents.LoadingStateModule,
|
|
3718
|
+
angularComponents.NumberInputModule,
|
|
3719
|
+
primeng.ConfirmDialogModule,
|
|
3720
|
+
angularComponents.LocaleModule,
|
|
3721
|
+
platformComponents.PermissionsModule,
|
|
3722
|
+
dynamicdialog.DynamicDialogModule,
|
|
3723
|
+
table.TableModule,
|
|
3724
|
+
primeng.TabViewModule,
|
|
3725
|
+
primeng.CalendarModule,
|
|
3726
|
+
],
|
|
3727
|
+
providers: [
|
|
3728
|
+
FieldCustomizationService,
|
|
3729
|
+
FocusService
|
|
3730
|
+
]
|
|
3731
|
+
}),
|
|
3732
|
+
__metadata("design:paramtypes", [ymsRoutines.IntegrationDispatcher])
|
|
3733
|
+
], WmsModule);
|
|
3734
|
+
return WmsModule;
|
|
3735
|
+
}());
|
|
3736
|
+
|
|
3132
3737
|
var ERP_ENVIRONMENT = new core.InjectionToken('integration_environment');
|
|
3133
3738
|
|
|
3134
|
-
var AgendaService = /** @class */ (function (_super) {
|
|
3739
|
+
var AgendaService$1 = /** @class */ (function (_super) {
|
|
3135
3740
|
__extends(AgendaService, _super);
|
|
3136
3741
|
function AgendaService(http, messageService, environment) {
|
|
3137
3742
|
var _this = _super.call(this, http, messageService, environment.project.domain + "/" + environment.project.service + "/entities/agenda", environment.project.domain + "/" + environment.project.service + "/actions") || this;
|
|
@@ -3232,7 +3837,7 @@
|
|
|
3232
3837
|
RecebimentoChegadaVeiculoOverride = __decorate([
|
|
3233
3838
|
core.Injectable(),
|
|
3234
3839
|
__metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
|
|
3235
|
-
AgendaService,
|
|
3840
|
+
AgendaService$1,
|
|
3236
3841
|
RecebimentoContratoService])
|
|
3237
3842
|
], RecebimentoChegadaVeiculoOverride);
|
|
3238
3843
|
return RecebimentoChegadaVeiculoOverride;
|
|
@@ -3296,7 +3901,7 @@
|
|
|
3296
3901
|
ExpedicaoChegadaVeiculoOverride = __decorate([
|
|
3297
3902
|
core.Injectable(),
|
|
3298
3903
|
__metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
|
|
3299
|
-
AgendaService,
|
|
3904
|
+
AgendaService$1,
|
|
3300
3905
|
ExpedicaoService])
|
|
3301
3906
|
], ExpedicaoChegadaVeiculoOverride);
|
|
3302
3907
|
return ExpedicaoChegadaVeiculoOverride;
|
|
@@ -3513,7 +4118,7 @@
|
|
|
3513
4118
|
return OrdemCompraService;
|
|
3514
4119
|
}(EntityService$1));
|
|
3515
4120
|
|
|
3516
|
-
var moment$
|
|
4121
|
+
var moment$5 = _moment;
|
|
3517
4122
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3518
4123
|
var Empresa = /** @class */ (function () {
|
|
3519
4124
|
function Empresa() {
|
|
@@ -3522,8 +4127,8 @@
|
|
|
3522
4127
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3523
4128
|
Empresa.fromDto = function (empresaDto, originEntity) {
|
|
3524
4129
|
var model = __assign({}, empresaDto);
|
|
3525
|
-
model.createdDate = model.createdDate && moment$
|
|
3526
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4130
|
+
model.createdDate = model.createdDate && moment$5(model.createdDate).toDate();
|
|
4131
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$5(model.lastModifiedDate).toDate();
|
|
3527
4132
|
var lookupSeparator = " - ";
|
|
3528
4133
|
var displayFields = [
|
|
3529
4134
|
"codigo",
|
|
@@ -3535,8 +4140,8 @@
|
|
|
3535
4140
|
};
|
|
3536
4141
|
Empresa.toDto = function (empresa, originEntity) {
|
|
3537
4142
|
var dto = __assign({}, empresa);
|
|
3538
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3539
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4143
|
+
dto.createdDate = dto.createdDate && moment$5(dto.createdDate).format();
|
|
4144
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$5(dto.lastModifiedDate).format();
|
|
3540
4145
|
delete dto.label;
|
|
3541
4146
|
return dto;
|
|
3542
4147
|
};
|
|
@@ -3545,7 +4150,7 @@
|
|
|
3545
4150
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3546
4151
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3547
4152
|
|
|
3548
|
-
var moment$
|
|
4153
|
+
var moment$6 = _moment;
|
|
3549
4154
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3550
4155
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3551
4156
|
var Pessoa = /** @class */ (function () {
|
|
@@ -3555,8 +4160,8 @@
|
|
|
3555
4160
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3556
4161
|
Pessoa.fromDto = function (pessoaDto, originEntity) {
|
|
3557
4162
|
var model = __assign({}, pessoaDto);
|
|
3558
|
-
model.createdDate = model.createdDate && moment$
|
|
3559
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4163
|
+
model.createdDate = model.createdDate && moment$6(model.createdDate).toDate();
|
|
4164
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$6(model.lastModifiedDate).toDate();
|
|
3560
4165
|
var lookupSeparator = " - ";
|
|
3561
4166
|
var displayFields = [
|
|
3562
4167
|
"codigo",
|
|
@@ -3568,8 +4173,8 @@
|
|
|
3568
4173
|
};
|
|
3569
4174
|
Pessoa.toDto = function (pessoa, originEntity) {
|
|
3570
4175
|
var dto = __assign({}, pessoa);
|
|
3571
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3572
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4176
|
+
dto.createdDate = dto.createdDate && moment$6(dto.createdDate).format();
|
|
4177
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$6(dto.lastModifiedDate).format();
|
|
3573
4178
|
delete dto.label;
|
|
3574
4179
|
return dto;
|
|
3575
4180
|
};
|
|
@@ -3578,7 +4183,7 @@
|
|
|
3578
4183
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3579
4184
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3580
4185
|
|
|
3581
|
-
var moment$
|
|
4186
|
+
var moment$7 = _moment;
|
|
3582
4187
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3583
4188
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3584
4189
|
var PessoaJuridica = /** @class */ (function () {
|
|
@@ -3588,8 +4193,8 @@
|
|
|
3588
4193
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3589
4194
|
PessoaJuridica.fromDto = function (pessoaJuridicaDto, originEntity) {
|
|
3590
4195
|
var model = __assign({}, pessoaJuridicaDto);
|
|
3591
|
-
model.createdDate = model.createdDate && moment$
|
|
3592
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4196
|
+
model.createdDate = model.createdDate && moment$7(model.createdDate).toDate();
|
|
4197
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$7(model.lastModifiedDate).toDate();
|
|
3593
4198
|
var lookupSeparator = " - ";
|
|
3594
4199
|
var displayFields = [
|
|
3595
4200
|
"id",
|
|
@@ -3616,8 +4221,8 @@
|
|
|
3616
4221
|
};
|
|
3617
4222
|
PessoaJuridica.toDto = function (pessoaJuridica, originEntity) {
|
|
3618
4223
|
var dto = __assign({}, pessoaJuridica);
|
|
3619
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3620
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4224
|
+
dto.createdDate = dto.createdDate && moment$7(dto.createdDate).format();
|
|
4225
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$7(dto.lastModifiedDate).format();
|
|
3621
4226
|
delete dto.label;
|
|
3622
4227
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
3623
4228
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaJuridica");
|
|
@@ -3628,7 +4233,7 @@
|
|
|
3628
4233
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3629
4234
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3630
4235
|
|
|
3631
|
-
var moment$
|
|
4236
|
+
var moment$8 = _moment;
|
|
3632
4237
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3633
4238
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3634
4239
|
var Pais = /** @class */ (function () {
|
|
@@ -3638,8 +4243,8 @@
|
|
|
3638
4243
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3639
4244
|
Pais.fromDto = function (paisDto, originEntity) {
|
|
3640
4245
|
var model = __assign({}, paisDto);
|
|
3641
|
-
model.createdDate = model.createdDate && moment$
|
|
3642
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4246
|
+
model.createdDate = model.createdDate && moment$8(model.createdDate).toDate();
|
|
4247
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$8(model.lastModifiedDate).toDate();
|
|
3643
4248
|
var lookupSeparator = " - ";
|
|
3644
4249
|
var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
3645
4250
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -3647,8 +4252,8 @@
|
|
|
3647
4252
|
};
|
|
3648
4253
|
Pais.toDto = function (pais, originEntity) {
|
|
3649
4254
|
var dto = __assign({}, pais);
|
|
3650
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3651
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4255
|
+
dto.createdDate = dto.createdDate && moment$8(dto.createdDate).format();
|
|
4256
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$8(dto.lastModifiedDate).format();
|
|
3652
4257
|
delete dto.label;
|
|
3653
4258
|
return dto;
|
|
3654
4259
|
};
|
|
@@ -3657,7 +4262,7 @@
|
|
|
3657
4262
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3658
4263
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3659
4264
|
|
|
3660
|
-
var moment$
|
|
4265
|
+
var moment$9 = _moment;
|
|
3661
4266
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3662
4267
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3663
4268
|
var Estado = /** @class */ (function () {
|
|
@@ -3667,8 +4272,8 @@
|
|
|
3667
4272
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3668
4273
|
Estado.fromDto = function (estadoDto, originEntity) {
|
|
3669
4274
|
var model = __assign({}, estadoDto);
|
|
3670
|
-
model.createdDate = model.createdDate && moment$
|
|
3671
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4275
|
+
model.createdDate = model.createdDate && moment$9(model.createdDate).toDate();
|
|
4276
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$9(model.lastModifiedDate).toDate();
|
|
3672
4277
|
var lookupSeparator = " - ";
|
|
3673
4278
|
var displayFields = [
|
|
3674
4279
|
"id",
|
|
@@ -3690,8 +4295,8 @@
|
|
|
3690
4295
|
};
|
|
3691
4296
|
Estado.toDto = function (estado, originEntity) {
|
|
3692
4297
|
var dto = __assign({}, estado);
|
|
3693
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3694
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4298
|
+
dto.createdDate = dto.createdDate && moment$9(dto.createdDate).format();
|
|
4299
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$9(dto.lastModifiedDate).format();
|
|
3695
4300
|
delete dto.label;
|
|
3696
4301
|
if (originEntity !== "Pais" && dto.pais)
|
|
3697
4302
|
dto.pais = Pais.toDto(dto.pais, "Estado");
|
|
@@ -3702,7 +4307,7 @@
|
|
|
3702
4307
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3703
4308
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3704
4309
|
|
|
3705
|
-
var moment$
|
|
4310
|
+
var moment$a = _moment;
|
|
3706
4311
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3707
4312
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3708
4313
|
var Cidade = /** @class */ (function () {
|
|
@@ -3712,8 +4317,8 @@
|
|
|
3712
4317
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3713
4318
|
Cidade.fromDto = function (cidadeDto, originEntity) {
|
|
3714
4319
|
var model = __assign({}, cidadeDto);
|
|
3715
|
-
model.createdDate = model.createdDate && moment$
|
|
3716
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4320
|
+
model.createdDate = model.createdDate && moment$a(model.createdDate).toDate();
|
|
4321
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$a(model.lastModifiedDate).toDate();
|
|
3717
4322
|
var lookupSeparator = " - ";
|
|
3718
4323
|
var displayFields = [
|
|
3719
4324
|
"id",
|
|
@@ -3734,8 +4339,8 @@
|
|
|
3734
4339
|
};
|
|
3735
4340
|
Cidade.toDto = function (cidade, originEntity) {
|
|
3736
4341
|
var dto = __assign({}, cidade);
|
|
3737
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3738
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4342
|
+
dto.createdDate = dto.createdDate && moment$a(dto.createdDate).format();
|
|
4343
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$a(dto.lastModifiedDate).format();
|
|
3739
4344
|
delete dto.label;
|
|
3740
4345
|
if (originEntity !== "Estado" && dto.estado)
|
|
3741
4346
|
dto.estado = Estado.toDto(dto.estado, "Cidade");
|
|
@@ -3746,14 +4351,14 @@
|
|
|
3746
4351
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3747
4352
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3748
4353
|
|
|
3749
|
-
var moment$
|
|
4354
|
+
var moment$b = _moment;
|
|
3750
4355
|
var PessoaEndereco = /** @class */ (function () {
|
|
3751
4356
|
function PessoaEndereco() {
|
|
3752
4357
|
}
|
|
3753
4358
|
PessoaEndereco.fromDto = function (pessoaEnderecoDto, originEntity) {
|
|
3754
4359
|
var model = __assign({}, pessoaEnderecoDto);
|
|
3755
|
-
model.createdDate = model.createdDate && moment$
|
|
3756
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4360
|
+
model.createdDate = model.createdDate && moment$b(model.createdDate).toDate();
|
|
4361
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$b(model.lastModifiedDate).toDate();
|
|
3757
4362
|
var lookupSeparator = " - ";
|
|
3758
4363
|
var displayFields = [
|
|
3759
4364
|
"codigo",
|
|
@@ -3769,8 +4374,8 @@
|
|
|
3769
4374
|
};
|
|
3770
4375
|
PessoaEndereco.toDto = function (pessoaEndereco, originEntity) {
|
|
3771
4376
|
var dto = __assign({}, pessoaEndereco);
|
|
3772
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3773
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4377
|
+
dto.createdDate = dto.createdDate && moment$b(dto.createdDate).format();
|
|
4378
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$b(dto.lastModifiedDate).format();
|
|
3774
4379
|
delete dto.label;
|
|
3775
4380
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
3776
4381
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "PessoaEndereco");
|
|
@@ -3781,7 +4386,7 @@
|
|
|
3781
4386
|
return PessoaEndereco;
|
|
3782
4387
|
}());
|
|
3783
4388
|
|
|
3784
|
-
var moment$
|
|
4389
|
+
var moment$c = _moment;
|
|
3785
4390
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
3786
4391
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
3787
4392
|
var Filial = /** @class */ (function () {
|
|
@@ -3791,8 +4396,8 @@
|
|
|
3791
4396
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
3792
4397
|
Filial.fromDto = function (filialDto, originEntity) {
|
|
3793
4398
|
var model = __assign({}, filialDto);
|
|
3794
|
-
model.createdDate = model.createdDate && moment$
|
|
3795
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4399
|
+
model.createdDate = model.createdDate && moment$c(model.createdDate).toDate();
|
|
4400
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$c(model.lastModifiedDate).toDate();
|
|
3796
4401
|
var lookupSeparator = " - ";
|
|
3797
4402
|
var displayFields = [
|
|
3798
4403
|
"codigo",
|
|
@@ -3810,8 +4415,8 @@
|
|
|
3810
4415
|
};
|
|
3811
4416
|
Filial.toDto = function (filial, originEntity) {
|
|
3812
4417
|
var dto = __assign({}, filial);
|
|
3813
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3814
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4418
|
+
dto.createdDate = dto.createdDate && moment$c(dto.createdDate).format();
|
|
4419
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$c(dto.lastModifiedDate).format();
|
|
3815
4420
|
delete dto.label;
|
|
3816
4421
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
3817
4422
|
dto.empresa = Empresa.toDto(dto.empresa, "Filial");
|
|
@@ -3826,14 +4431,14 @@
|
|
|
3826
4431
|
/*{CA:FILE_CONTENTS:START}*/
|
|
3827
4432
|
/*{CA:FILE_CONTENTS:END}*/
|
|
3828
4433
|
|
|
3829
|
-
var moment$
|
|
4434
|
+
var moment$d = _moment;
|
|
3830
4435
|
var OrdemCompra = /** @class */ (function () {
|
|
3831
4436
|
function OrdemCompra() {
|
|
3832
4437
|
}
|
|
3833
4438
|
OrdemCompra.fromDto = function (ordemCompraDto, originEntity) {
|
|
3834
4439
|
var model = __assign({}, ordemCompraDto);
|
|
3835
|
-
model.createdDate = model.createdDate && moment$
|
|
3836
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
4440
|
+
model.createdDate = model.createdDate && moment$d(model.createdDate).toDate();
|
|
4441
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$d(model.lastModifiedDate).toDate();
|
|
3837
4442
|
var lookupSeparator = " - ";
|
|
3838
4443
|
var displayFields = [
|
|
3839
4444
|
"codigo",
|
|
@@ -3849,8 +4454,8 @@
|
|
|
3849
4454
|
};
|
|
3850
4455
|
OrdemCompra.toDto = function (ordemCompra, originEntity) {
|
|
3851
4456
|
var dto = __assign({}, ordemCompra);
|
|
3852
|
-
dto.createdDate = dto.createdDate && moment$
|
|
3853
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
4457
|
+
dto.createdDate = dto.createdDate && moment$d(dto.createdDate).format();
|
|
4458
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$d(dto.lastModifiedDate).format();
|
|
3854
4459
|
delete dto.label;
|
|
3855
4460
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
3856
4461
|
dto.empresa = Empresa.toDto(dto.empresa, "Produto");
|
|
@@ -3861,7 +4466,7 @@
|
|
|
3861
4466
|
return OrdemCompra;
|
|
3862
4467
|
}());
|
|
3863
4468
|
|
|
3864
|
-
var moment$
|
|
4469
|
+
var moment$e = _moment;
|
|
3865
4470
|
var OrdemCompraFormComponent = /** @class */ (function () {
|
|
3866
4471
|
function OrdemCompraFormComponent(dialogRef, dialogConfig, ordemCompraService, translate, fb, route) {
|
|
3867
4472
|
this.dialogRef = dialogRef;
|
|
@@ -3940,7 +4545,7 @@
|
|
|
3940
4545
|
if (filial && filial.empresa && filial.empresa.id) {
|
|
3941
4546
|
filter.empresaId = filial.empresa.id;
|
|
3942
4547
|
}
|
|
3943
|
-
filter.dataEmissao = filter.dataEmissao && moment$
|
|
4548
|
+
filter.dataEmissao = filter.dataEmissao && moment$e(filter.dataEmissao).format("YYYY-MM-DD");
|
|
3944
4549
|
var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
|
|
3945
4550
|
this.ordemCompraService
|
|
3946
4551
|
.listOrdensCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, ordensCompraSelecionados: this.ordensCompra, pagina: {
|
|
@@ -4304,7 +4909,7 @@
|
|
|
4304
4909
|
]),
|
|
4305
4910
|
],
|
|
4306
4911
|
providers: [
|
|
4307
|
-
AgendaService,
|
|
4912
|
+
AgendaService$1,
|
|
4308
4913
|
],
|
|
4309
4914
|
declarations: [
|
|
4310
4915
|
/*{CA:MODULE_DECLARATIONS:START}*/
|
|
@@ -6171,13 +6776,13 @@
|
|
|
6171
6776
|
DevolucaoChegadaVeiculoOverride = __decorate([
|
|
6172
6777
|
core.Injectable(),
|
|
6173
6778
|
__metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
|
|
6174
|
-
AgendaService,
|
|
6779
|
+
AgendaService$1,
|
|
6175
6780
|
DevolucaoService])
|
|
6176
6781
|
], DevolucaoChegadaVeiculoOverride);
|
|
6177
6782
|
return DevolucaoChegadaVeiculoOverride;
|
|
6178
6783
|
}());
|
|
6179
6784
|
|
|
6180
|
-
var moment$
|
|
6785
|
+
var moment$f = _moment;
|
|
6181
6786
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6182
6787
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6183
6788
|
var UnidadeMedida = /** @class */ (function () {
|
|
@@ -6187,8 +6792,8 @@
|
|
|
6187
6792
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6188
6793
|
UnidadeMedida.fromDto = function (unidadeMedidaDto, originEntity) {
|
|
6189
6794
|
var model = __assign({}, unidadeMedidaDto);
|
|
6190
|
-
model.createdDate = model.createdDate && moment$
|
|
6191
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6795
|
+
model.createdDate = model.createdDate && moment$f(model.createdDate).toDate();
|
|
6796
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$f(model.lastModifiedDate).toDate();
|
|
6192
6797
|
var lookupSeparator = " - ";
|
|
6193
6798
|
var displayFields = [
|
|
6194
6799
|
"id",
|
|
@@ -6205,8 +6810,8 @@
|
|
|
6205
6810
|
};
|
|
6206
6811
|
UnidadeMedida.toDto = function (unidadeMedida, originEntity) {
|
|
6207
6812
|
var dto = __assign({}, unidadeMedida);
|
|
6208
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6209
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6813
|
+
dto.createdDate = dto.createdDate && moment$f(dto.createdDate).format();
|
|
6814
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$f(dto.lastModifiedDate).format();
|
|
6210
6815
|
delete dto.label;
|
|
6211
6816
|
return dto;
|
|
6212
6817
|
};
|
|
@@ -6215,7 +6820,7 @@
|
|
|
6215
6820
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6216
6821
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6217
6822
|
|
|
6218
|
-
var moment$
|
|
6823
|
+
var moment$g = _moment;
|
|
6219
6824
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6220
6825
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6221
6826
|
var Royalty = /** @class */ (function () {
|
|
@@ -6225,8 +6830,8 @@
|
|
|
6225
6830
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6226
6831
|
Royalty.fromDto = function (royaltyDto, originEntity) {
|
|
6227
6832
|
var model = __assign({}, royaltyDto);
|
|
6228
|
-
model.createdDate = model.createdDate && moment$
|
|
6229
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6833
|
+
model.createdDate = model.createdDate && moment$g(model.createdDate).toDate();
|
|
6834
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$g(model.lastModifiedDate).toDate();
|
|
6230
6835
|
var lookupSeparator = " - ";
|
|
6231
6836
|
var displayFields = ["id", "codigo", "descricao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
6232
6837
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -6236,8 +6841,8 @@
|
|
|
6236
6841
|
};
|
|
6237
6842
|
Royalty.toDto = function (royalty, originEntity) {
|
|
6238
6843
|
var dto = __assign({}, royalty);
|
|
6239
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6240
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6844
|
+
dto.createdDate = dto.createdDate && moment$g(dto.createdDate).format();
|
|
6845
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$g(dto.lastModifiedDate).format();
|
|
6241
6846
|
delete dto.label;
|
|
6242
6847
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6243
6848
|
dto.empresa = Empresa.toDto(dto.empresa, "Royalty");
|
|
@@ -6248,7 +6853,7 @@
|
|
|
6248
6853
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6249
6854
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6250
6855
|
|
|
6251
|
-
var moment$
|
|
6856
|
+
var moment$h = _moment;
|
|
6252
6857
|
var FamiliaProduto = /** @class */ (function () {
|
|
6253
6858
|
function FamiliaProduto() {
|
|
6254
6859
|
}
|
|
@@ -6257,9 +6862,9 @@
|
|
|
6257
6862
|
return familiaProdutoDto;
|
|
6258
6863
|
}
|
|
6259
6864
|
var model = __assign({}, familiaProdutoDto);
|
|
6260
|
-
model.createdDate = model.codigo && moment$
|
|
6261
|
-
model.createdDate = model.createdDate && moment$
|
|
6262
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6865
|
+
model.createdDate = model.codigo && moment$h(model.createdDate).toDate();
|
|
6866
|
+
model.createdDate = model.createdDate && moment$h(model.createdDate).toDate();
|
|
6867
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$h(model.lastModifiedDate).toDate();
|
|
6263
6868
|
var lookupSeparator = " - ";
|
|
6264
6869
|
var displayFields = ["id", "codigo", "descricao", "situacao", "createdBy", "createdDate", "lastModifiedBy", "lastModifiedDate"];
|
|
6265
6870
|
model.label = displayFields.map(function (field) { return model[field]; }).join(lookupSeparator);
|
|
@@ -6269,8 +6874,8 @@
|
|
|
6269
6874
|
};
|
|
6270
6875
|
FamiliaProduto.toDto = function (familiaProduto, originEntity) {
|
|
6271
6876
|
var dto = __assign({}, familiaProduto);
|
|
6272
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6273
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6877
|
+
dto.createdDate = dto.createdDate && moment$h(dto.createdDate).format();
|
|
6878
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$h(dto.lastModifiedDate).format();
|
|
6274
6879
|
delete dto.label;
|
|
6275
6880
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6276
6881
|
dto.empresa = Empresa.toDto(dto.empresa, "FamiliaProduto");
|
|
@@ -6279,7 +6884,7 @@
|
|
|
6279
6884
|
return FamiliaProduto;
|
|
6280
6885
|
}());
|
|
6281
6886
|
|
|
6282
|
-
var moment$
|
|
6887
|
+
var moment$i = _moment;
|
|
6283
6888
|
var Produto = /** @class */ (function () {
|
|
6284
6889
|
function Produto() {
|
|
6285
6890
|
this.produtoMisto = false;
|
|
@@ -6287,8 +6892,8 @@
|
|
|
6287
6892
|
}
|
|
6288
6893
|
Produto.fromDto = function (produtoDto, originEntity) {
|
|
6289
6894
|
var model = __assign({}, produtoDto);
|
|
6290
|
-
model.createdDate = model.createdDate && moment$
|
|
6291
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6895
|
+
model.createdDate = model.createdDate && moment$i(model.createdDate).toDate();
|
|
6896
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$i(model.lastModifiedDate).toDate();
|
|
6292
6897
|
var lookupSeparator = " - ";
|
|
6293
6898
|
var displayFields = [
|
|
6294
6899
|
"codigo",
|
|
@@ -6309,8 +6914,8 @@
|
|
|
6309
6914
|
};
|
|
6310
6915
|
Produto.toDto = function (produto, originEntity) {
|
|
6311
6916
|
var dto = __assign({}, produto);
|
|
6312
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6313
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6917
|
+
dto.createdDate = dto.createdDate && moment$i(dto.createdDate).format();
|
|
6918
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$i(dto.lastModifiedDate).format();
|
|
6314
6919
|
delete dto.label;
|
|
6315
6920
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6316
6921
|
dto.empresa = Empresa.toDto(dto.empresa, "Produto");
|
|
@@ -6327,7 +6932,7 @@
|
|
|
6327
6932
|
return Produto;
|
|
6328
6933
|
}());
|
|
6329
6934
|
|
|
6330
|
-
var moment$
|
|
6935
|
+
var moment$j = _moment;
|
|
6331
6936
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6332
6937
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6333
6938
|
var Derivacao = /** @class */ (function () {
|
|
@@ -6337,8 +6942,8 @@
|
|
|
6337
6942
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6338
6943
|
Derivacao.fromDto = function (derivacaoDto, originEntity) {
|
|
6339
6944
|
var model = __assign({}, derivacaoDto);
|
|
6340
|
-
model.createdDate = model.createdDate && moment$
|
|
6341
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6945
|
+
model.createdDate = model.createdDate && moment$j(model.createdDate).toDate();
|
|
6946
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$j(model.lastModifiedDate).toDate();
|
|
6342
6947
|
var lookupSeparator = " - ";
|
|
6343
6948
|
var displayFields = ["codigo", "descricao"];
|
|
6344
6949
|
model.label = getLookupLabel(model, displayFields, lookupSeparator);
|
|
@@ -6350,8 +6955,8 @@
|
|
|
6350
6955
|
};
|
|
6351
6956
|
Derivacao.toDto = function (derivacao, originEntity) {
|
|
6352
6957
|
var dto = __assign({}, derivacao);
|
|
6353
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6354
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6958
|
+
dto.createdDate = dto.createdDate && moment$j(dto.createdDate).format();
|
|
6959
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$j(dto.lastModifiedDate).format();
|
|
6355
6960
|
delete dto.label;
|
|
6356
6961
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
6357
6962
|
dto.empresa = Empresa.toDto(dto.empresa, "Derivacao");
|
|
@@ -6364,7 +6969,7 @@
|
|
|
6364
6969
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6365
6970
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6366
6971
|
|
|
6367
|
-
var moment$
|
|
6972
|
+
var moment$k = _moment;
|
|
6368
6973
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6369
6974
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6370
6975
|
var Transportadora = /** @class */ (function () {
|
|
@@ -6374,8 +6979,8 @@
|
|
|
6374
6979
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6375
6980
|
Transportadora.fromDto = function (transportadoraDto, originEntity) {
|
|
6376
6981
|
var model = __assign({}, transportadoraDto);
|
|
6377
|
-
model.createdDate = model.createdDate && moment$
|
|
6378
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
6982
|
+
model.createdDate = model.createdDate && moment$k(model.createdDate).toDate();
|
|
6983
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$k(model.lastModifiedDate).toDate();
|
|
6379
6984
|
var lookupSeparator = " - ";
|
|
6380
6985
|
var displayFields = [
|
|
6381
6986
|
"codigo", "pessoa.nome", "pessoa.cpfCnpj"
|
|
@@ -6389,8 +6994,8 @@
|
|
|
6389
6994
|
};
|
|
6390
6995
|
Transportadora.toDto = function (transportadora, originEntity) {
|
|
6391
6996
|
var dto = __assign({}, transportadora);
|
|
6392
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6393
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
6997
|
+
dto.createdDate = dto.createdDate && moment$k(dto.createdDate).format();
|
|
6998
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$k(dto.lastModifiedDate).format();
|
|
6394
6999
|
delete dto.label;
|
|
6395
7000
|
if (originEntity !== "Pessoa" && dto.pessoa)
|
|
6396
7001
|
dto.pessoa = Pessoa.toDto(dto.pessoa, "Transportadora");
|
|
@@ -6403,7 +7008,7 @@
|
|
|
6403
7008
|
/*{CA:FILE_CONTENTS:START}*/
|
|
6404
7009
|
/*{CA:FILE_CONTENTS:END}*/
|
|
6405
7010
|
|
|
6406
|
-
var moment$
|
|
7011
|
+
var moment$l = _moment;
|
|
6407
7012
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
6408
7013
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
6409
7014
|
var Devolucao = /** @class */ (function () {
|
|
@@ -6413,8 +7018,8 @@
|
|
|
6413
7018
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
6414
7019
|
Devolucao.fromDto = function (devolucaoDto, originEntity) {
|
|
6415
7020
|
var model = __assign({}, devolucaoDto);
|
|
6416
|
-
model.createdDate = model.createdDate && moment$
|
|
6417
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
7021
|
+
model.createdDate = model.createdDate && moment$l(model.createdDate).toDate();
|
|
7022
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$l(model.lastModifiedDate).toDate();
|
|
6418
7023
|
var lookupSeparator = " - ";
|
|
6419
7024
|
var displayFields = [
|
|
6420
7025
|
''
|
|
@@ -6438,8 +7043,8 @@
|
|
|
6438
7043
|
};
|
|
6439
7044
|
Devolucao.toDto = function (devolucao, originEntity) {
|
|
6440
7045
|
var dto = __assign({}, devolucao);
|
|
6441
|
-
dto.createdDate = dto.createdDate && moment$
|
|
6442
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
7046
|
+
dto.createdDate = dto.createdDate && moment$l(dto.createdDate).format();
|
|
7047
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$l(dto.lastModifiedDate).format();
|
|
6443
7048
|
delete dto.label;
|
|
6444
7049
|
if (originEntity !== "Pessoa" && dto.fornecedor)
|
|
6445
7050
|
dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Devolucao");
|
|
@@ -7136,7 +7741,7 @@
|
|
|
7136
7741
|
router.ActivatedRoute,
|
|
7137
7742
|
DevolucaoChegadaVeiculoOverride,
|
|
7138
7743
|
api.ConfirmationService,
|
|
7139
|
-
AgendaService,
|
|
7744
|
+
AgendaService$1,
|
|
7140
7745
|
ErpProcessService,
|
|
7141
7746
|
ErpFormConfigService,
|
|
7142
7747
|
HasChangeService])
|
|
@@ -7182,7 +7787,7 @@
|
|
|
7182
7787
|
|
|
7183
7788
|
/*{CA:PACKAGE_IMPORTS:START}*/
|
|
7184
7789
|
/*{CA:PACKAGE_IMPORTS:END}*/
|
|
7185
|
-
var moment$
|
|
7790
|
+
var moment$m = _moment;
|
|
7186
7791
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
7187
7792
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
7188
7793
|
var Expedicao = /** @class */ (function () {
|
|
@@ -7192,8 +7797,8 @@
|
|
|
7192
7797
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
7193
7798
|
Expedicao.fromDto = function (expedicaoDto, originEntity) {
|
|
7194
7799
|
var model = __assign({}, expedicaoDto);
|
|
7195
|
-
model.createdDate = model.createdDate && moment$
|
|
7196
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
7800
|
+
model.createdDate = model.createdDate && moment$m(model.createdDate).toDate();
|
|
7801
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$m(model.lastModifiedDate).toDate();
|
|
7197
7802
|
var lookupSeparator = " - ";
|
|
7198
7803
|
var displayFields = [
|
|
7199
7804
|
"id",
|
|
@@ -7232,8 +7837,8 @@
|
|
|
7232
7837
|
};
|
|
7233
7838
|
Expedicao.toDto = function (expedicao, originEntity) {
|
|
7234
7839
|
var dto = __assign({}, expedicao);
|
|
7235
|
-
dto.createdDate = dto.createdDate && moment$
|
|
7236
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
7840
|
+
dto.createdDate = dto.createdDate && moment$m(dto.createdDate).format();
|
|
7841
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$m(dto.lastModifiedDate).format();
|
|
7237
7842
|
delete dto.label;
|
|
7238
7843
|
if (originEntity !== "Pessoa" && dto.clienteFaturamento)
|
|
7239
7844
|
dto.clienteFaturamento = Pessoa.toDto(dto.clienteFaturamento, "Recebimento");
|
|
@@ -7250,7 +7855,7 @@
|
|
|
7250
7855
|
return Expedicao;
|
|
7251
7856
|
}());
|
|
7252
7857
|
|
|
7253
|
-
var moment$
|
|
7858
|
+
var moment$n = _moment;
|
|
7254
7859
|
var ExpedicaoFormComponent = /** @class */ (function () {
|
|
7255
7860
|
function ExpedicaoFormComponent(expedicaoService, router, route, messageService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, pessoaService, filialService, transportadoraService, pedidoVendaService, pedidoVendaItemService, agendaService, override, confirmationService, erpProcessService, erpFormConfigService, hasChangeService) {
|
|
7256
7861
|
this.expedicaoService = expedicaoService;
|
|
@@ -7800,11 +8405,11 @@
|
|
|
7800
8405
|
if (typeof value == "number")
|
|
7801
8406
|
return name + " eq " + value;
|
|
7802
8407
|
else if (type == angularComponents.FieldType.Date)
|
|
7803
|
-
return name + " eq '" + moment$
|
|
8408
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7804
8409
|
else if (type == angularComponents.FieldType.Time)
|
|
7805
|
-
return name + " eq '" + moment$
|
|
8410
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7806
8411
|
else if (type == angularComponents.FieldType.DateTime)
|
|
7807
|
-
return name + " eq '" + moment$
|
|
8412
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7808
8413
|
else if (type == angularComponents.FieldType.Enum)
|
|
7809
8414
|
return name + " eq '" + value + "'";
|
|
7810
8415
|
else if (type == angularComponents.FieldType.String)
|
|
@@ -7856,11 +8461,11 @@
|
|
|
7856
8461
|
if (typeof value == "number")
|
|
7857
8462
|
return name + " eq " + value;
|
|
7858
8463
|
else if (type == angularComponents.FieldType.Date)
|
|
7859
|
-
return name + " eq '" + moment$
|
|
8464
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7860
8465
|
else if (type == angularComponents.FieldType.Time)
|
|
7861
|
-
return name + " eq '" + moment$
|
|
8466
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7862
8467
|
else if (type == angularComponents.FieldType.DateTime)
|
|
7863
|
-
return name + " eq '" + moment$
|
|
8468
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7864
8469
|
else if (type == angularComponents.FieldType.Enum)
|
|
7865
8470
|
return name + " eq '" + value + "'";
|
|
7866
8471
|
else if (type == angularComponents.FieldType.String)
|
|
@@ -7987,11 +8592,11 @@
|
|
|
7987
8592
|
if (typeof value == "number")
|
|
7988
8593
|
return name + " eq " + value;
|
|
7989
8594
|
else if (type == angularComponents.FieldType.Date)
|
|
7990
|
-
return name + " eq '" + moment$
|
|
8595
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
7991
8596
|
else if (type == angularComponents.FieldType.Time)
|
|
7992
|
-
return name + " eq '" + moment$
|
|
8597
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
7993
8598
|
else if (type == angularComponents.FieldType.DateTime)
|
|
7994
|
-
return name + " eq '" + moment$
|
|
8599
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
7995
8600
|
else if (type == angularComponents.FieldType.String)
|
|
7996
8601
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
7997
8602
|
else
|
|
@@ -8180,11 +8785,11 @@
|
|
|
8180
8785
|
if (typeof value == "number")
|
|
8181
8786
|
return name + " eq " + value;
|
|
8182
8787
|
else if (type == angularComponents.FieldType.Date)
|
|
8183
|
-
return name + " eq '" + moment$
|
|
8788
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
8184
8789
|
else if (type == angularComponents.FieldType.Time)
|
|
8185
|
-
return name + " eq '" + moment$
|
|
8790
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
8186
8791
|
else if (type == angularComponents.FieldType.DateTime)
|
|
8187
|
-
return name + " eq '" + moment$
|
|
8792
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
8188
8793
|
else if (type == angularComponents.FieldType.String)
|
|
8189
8794
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
8190
8795
|
else
|
|
@@ -8226,11 +8831,11 @@
|
|
|
8226
8831
|
if (typeof value == "number")
|
|
8227
8832
|
return name + " eq " + value;
|
|
8228
8833
|
else if (type == angularComponents.FieldType.Date)
|
|
8229
|
-
return name + " eq '" + moment$
|
|
8834
|
+
return name + " eq '" + moment$n(value).format("YYYY-MM-DD") + "'";
|
|
8230
8835
|
else if (type == angularComponents.FieldType.Time)
|
|
8231
|
-
return name + " eq '" + moment$
|
|
8836
|
+
return name + " eq '" + moment$n(value).format("HH:mm:ss") + "'";
|
|
8232
8837
|
else if (type == angularComponents.FieldType.DateTime)
|
|
8233
|
-
return name + " eq '" + moment$
|
|
8838
|
+
return name + " eq '" + moment$n(value).format() + "'";
|
|
8234
8839
|
else if (type == angularComponents.FieldType.Enum)
|
|
8235
8840
|
return name + " eq '" + value + "'";
|
|
8236
8841
|
else if (type == angularComponents.FieldType.String)
|
|
@@ -8717,7 +9322,7 @@
|
|
|
8717
9322
|
TransportadoraService,
|
|
8718
9323
|
PedidoVendaService,
|
|
8719
9324
|
PedidoVendaItemService,
|
|
8720
|
-
AgendaService,
|
|
9325
|
+
AgendaService$1,
|
|
8721
9326
|
ExpedicaoChegadaVeiculoOverride,
|
|
8722
9327
|
api.ConfirmationService,
|
|
8723
9328
|
ErpProcessService,
|
|
@@ -8998,7 +9603,7 @@
|
|
|
8998
9603
|
ProcessoAvulsoChegadaVeiculoOverride = __decorate([
|
|
8999
9604
|
core.Injectable(),
|
|
9000
9605
|
__metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
|
|
9001
|
-
AgendaService,
|
|
9606
|
+
AgendaService$1,
|
|
9002
9607
|
ProcessoAvulsoService])
|
|
9003
9608
|
], ProcessoAvulsoChegadaVeiculoOverride);
|
|
9004
9609
|
return ProcessoAvulsoChegadaVeiculoOverride;
|
|
@@ -9304,7 +9909,7 @@
|
|
|
9304
9909
|
ProcessoAvulsoChegadaVeiculoOverride,
|
|
9305
9910
|
core$1.TranslateService,
|
|
9306
9911
|
api.ConfirmationService,
|
|
9307
|
-
AgendaService,
|
|
9912
|
+
AgendaService$1,
|
|
9308
9913
|
ErpProcessService,
|
|
9309
9914
|
ErpFormConfigService,
|
|
9310
9915
|
HasChangeService])
|
|
@@ -9347,7 +9952,7 @@
|
|
|
9347
9952
|
return ProcessoAvulsoInfoComponent;
|
|
9348
9953
|
}());
|
|
9349
9954
|
|
|
9350
|
-
var moment$
|
|
9955
|
+
var moment$o = _moment;
|
|
9351
9956
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
9352
9957
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
9353
9958
|
var Safra = /** @class */ (function () {
|
|
@@ -9357,10 +9962,10 @@
|
|
|
9357
9962
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
9358
9963
|
Safra.fromDto = function (safraDto, originEntity) {
|
|
9359
9964
|
var model = __assign({}, safraDto);
|
|
9360
|
-
model.competenciaInicial = model.competenciaInicial && moment$
|
|
9361
|
-
model.competenciaFinal = model.competenciaFinal && moment$
|
|
9362
|
-
model.createdDate = model.createdDate && moment$
|
|
9363
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
9965
|
+
model.competenciaInicial = model.competenciaInicial && moment$o(model.competenciaInicial).toDate();
|
|
9966
|
+
model.competenciaFinal = model.competenciaFinal && moment$o(model.competenciaFinal).toDate();
|
|
9967
|
+
model.createdDate = model.createdDate && moment$o(model.createdDate).toDate();
|
|
9968
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$o(model.lastModifiedDate).toDate();
|
|
9364
9969
|
var lookupSeparator = " - ";
|
|
9365
9970
|
var displayFields = [
|
|
9366
9971
|
"codigo",
|
|
@@ -9373,10 +9978,10 @@
|
|
|
9373
9978
|
};
|
|
9374
9979
|
Safra.toDto = function (safra, originEntity) {
|
|
9375
9980
|
var dto = __assign({}, safra);
|
|
9376
|
-
dto.competenciaInicial = dto.competenciaInicial && moment$
|
|
9377
|
-
dto.competenciaFinal = dto.competenciaFinal && moment$
|
|
9378
|
-
dto.createdDate = dto.createdDate && moment$
|
|
9379
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
9981
|
+
dto.competenciaInicial = dto.competenciaInicial && moment$o(dto.competenciaInicial).format("YYYY-MM-DD");
|
|
9982
|
+
dto.competenciaFinal = dto.competenciaFinal && moment$o(dto.competenciaFinal).format("YYYY-MM-DD");
|
|
9983
|
+
dto.createdDate = dto.createdDate && moment$o(dto.createdDate).format();
|
|
9984
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$o(dto.lastModifiedDate).format();
|
|
9380
9985
|
delete dto.label;
|
|
9381
9986
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
9382
9987
|
dto.empresa = Empresa.toDto(dto.empresa, "Safra");
|
|
@@ -9389,7 +9994,7 @@
|
|
|
9389
9994
|
|
|
9390
9995
|
/*{CA:PACKAGE_IMPORTS:START}*/
|
|
9391
9996
|
/*{CA:PACKAGE_IMPORTS:END}*/
|
|
9392
|
-
var moment$
|
|
9997
|
+
var moment$p = _moment;
|
|
9393
9998
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
9394
9999
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
9395
10000
|
var RecebimentoOrdemCompra = /** @class */ (function () {
|
|
@@ -9399,8 +10004,8 @@
|
|
|
9399
10004
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
9400
10005
|
RecebimentoOrdemCompra.fromDto = function (recebimentoOrdemCompraDto, originEntity) {
|
|
9401
10006
|
var model = __assign({}, recebimentoOrdemCompraDto);
|
|
9402
|
-
model.createdDate = model.createdDate && moment$
|
|
9403
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
10007
|
+
model.createdDate = model.createdDate && moment$p(model.createdDate).toDate();
|
|
10008
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$p(model.lastModifiedDate).toDate();
|
|
9404
10009
|
var lookupSeparator = " - ";
|
|
9405
10010
|
var displayFields = [
|
|
9406
10011
|
''
|
|
@@ -9429,8 +10034,8 @@
|
|
|
9429
10034
|
};
|
|
9430
10035
|
RecebimentoOrdemCompra.toDto = function (recebimentoOrdemCompra, originEntity) {
|
|
9431
10036
|
var dto = __assign({}, recebimentoOrdemCompra);
|
|
9432
|
-
dto.createdDate = dto.createdDate && moment$
|
|
9433
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
10037
|
+
dto.createdDate = dto.createdDate && moment$p(dto.createdDate).format();
|
|
10038
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$p(dto.lastModifiedDate).format();
|
|
9434
10039
|
delete dto.label;
|
|
9435
10040
|
if (originEntity !== "Agenda" && dto.agenda)
|
|
9436
10041
|
dto.agenda = Agenda.toDto(dto.agenda, "RecebimentoOrdemCompra");
|
|
@@ -9493,7 +10098,7 @@
|
|
|
9493
10098
|
RecebimentoOrdemCompraChegadaVeiculoOverride = __decorate([
|
|
9494
10099
|
core.Injectable(),
|
|
9495
10100
|
__metadata("design:paramtypes", [ymsRoutines.ChegadaVeiculoOverride,
|
|
9496
|
-
AgendaService,
|
|
10101
|
+
AgendaService$1,
|
|
9497
10102
|
RecebimentoOrdemCompraService])
|
|
9498
10103
|
], RecebimentoOrdemCompraChegadaVeiculoOverride);
|
|
9499
10104
|
return RecebimentoOrdemCompraChegadaVeiculoOverride;
|
|
@@ -10674,7 +11279,7 @@
|
|
|
10674
11279
|
NotaValidatorService,
|
|
10675
11280
|
api.ConfirmationService,
|
|
10676
11281
|
api.DialogService,
|
|
10677
|
-
AgendaService,
|
|
11282
|
+
AgendaService$1,
|
|
10678
11283
|
ErpProcessService,
|
|
10679
11284
|
ErpFormConfigService,
|
|
10680
11285
|
VerificaNotafiscal,
|
|
@@ -10721,7 +11326,7 @@
|
|
|
10721
11326
|
return RecebimentoOrdemCompraInfoComponent;
|
|
10722
11327
|
}());
|
|
10723
11328
|
|
|
10724
|
-
var moment$
|
|
11329
|
+
var moment$q = _moment;
|
|
10725
11330
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
10726
11331
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
10727
11332
|
var ContratoCompra = /** @class */ (function () {
|
|
@@ -10731,11 +11336,11 @@
|
|
|
10731
11336
|
/*{CA:CLASS_ATTRIBUTES:END}*/
|
|
10732
11337
|
ContratoCompra.fromDto = function (contratoCompraDto, originEntity) {
|
|
10733
11338
|
var model = __assign({}, contratoCompraDto);
|
|
10734
|
-
model.dataEmissao = model.dataEmissao && moment$
|
|
10735
|
-
model.dataInicioVigencia = model.dataInicioVigencia && moment$
|
|
10736
|
-
model.dataFimVigencia = model.dataFimVigencia && moment$
|
|
10737
|
-
model.createdDate = model.createdDate && moment$
|
|
10738
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11339
|
+
model.dataEmissao = model.dataEmissao && moment$q(model.dataEmissao).toDate();
|
|
11340
|
+
model.dataInicioVigencia = model.dataInicioVigencia && moment$q(model.dataInicioVigencia).toDate();
|
|
11341
|
+
model.dataFimVigencia = model.dataFimVigencia && moment$q(model.dataFimVigencia).toDate();
|
|
11342
|
+
model.createdDate = model.createdDate && moment$q(model.createdDate).toDate();
|
|
11343
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$q(model.lastModifiedDate).toDate();
|
|
10739
11344
|
model.label = "N\u00FAmero: " + model.numero + ", Filial: " + model.filial.codigo;
|
|
10740
11345
|
if (originEntity !== "Empresa" && model.empresa)
|
|
10741
11346
|
model.empresa = Empresa.fromDto(model.empresa, "ContratoCompra");
|
|
@@ -10751,11 +11356,11 @@
|
|
|
10751
11356
|
};
|
|
10752
11357
|
ContratoCompra.toDto = function (contratoCompra, originEntity) {
|
|
10753
11358
|
var dto = __assign({}, contratoCompra);
|
|
10754
|
-
dto.dataEmissao = dto.dataEmissao && moment$
|
|
10755
|
-
dto.dataInicioVigencia = dto.dataInicioVigencia && moment$
|
|
10756
|
-
dto.dataFimVigencia = dto.dataFimVigencia && moment$
|
|
10757
|
-
dto.createdDate = dto.createdDate && moment$
|
|
10758
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11359
|
+
dto.dataEmissao = dto.dataEmissao && moment$q(dto.dataEmissao).format("YYYY-MM-DD");
|
|
11360
|
+
dto.dataInicioVigencia = dto.dataInicioVigencia && moment$q(dto.dataInicioVigencia).format("YYYY-MM-DD");
|
|
11361
|
+
dto.dataFimVigencia = dto.dataFimVigencia && moment$q(dto.dataFimVigencia).format("YYYY-MM-DD");
|
|
11362
|
+
dto.createdDate = dto.createdDate && moment$q(dto.createdDate).format();
|
|
11363
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$q(dto.lastModifiedDate).format();
|
|
10759
11364
|
delete dto.label;
|
|
10760
11365
|
if (originEntity !== "Empresa" && dto.empresa)
|
|
10761
11366
|
dto.empresa = Empresa.toDto(dto.empresa, "ContratoCompra");
|
|
@@ -10776,7 +11381,7 @@
|
|
|
10776
11381
|
/*{CA:FILE_CONTENTS:START}*/
|
|
10777
11382
|
/*{CA:FILE_CONTENTS:END}*/
|
|
10778
11383
|
|
|
10779
|
-
var moment$
|
|
11384
|
+
var moment$r = _moment;
|
|
10780
11385
|
/*{CA:PROJECT_IMPORTS:START}*/
|
|
10781
11386
|
/*{CA:PROJECT_IMPORTS:END}*/
|
|
10782
11387
|
var ContratoCompraItem = /** @class */ (function () {
|
|
@@ -10787,9 +11392,9 @@
|
|
|
10787
11392
|
ContratoCompraItem.fromDto = function (contratoCompraItemDto, originEntity) {
|
|
10788
11393
|
var model = __assign({}, contratoCompraItemDto);
|
|
10789
11394
|
model.sku = model.sku || {};
|
|
10790
|
-
model.dataCompetencia = model.dataCompetencia && moment$
|
|
10791
|
-
model.createdDate = model.createdDate && moment$
|
|
10792
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11395
|
+
model.dataCompetencia = model.dataCompetencia && moment$r(model.dataCompetencia).toDate();
|
|
11396
|
+
model.createdDate = model.createdDate && moment$r(model.createdDate).toDate();
|
|
11397
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$r(model.lastModifiedDate).toDate();
|
|
10793
11398
|
model.label = model.sequencia + " - " + model.sku.descricao + " - " + model.sku.codigo;
|
|
10794
11399
|
if (originEntity !== "ContratoCompra" && model.contrato)
|
|
10795
11400
|
model.contrato = ContratoCompra.fromDto(model.contrato, "ContratoCompraItem");
|
|
@@ -10799,9 +11404,9 @@
|
|
|
10799
11404
|
};
|
|
10800
11405
|
ContratoCompraItem.toDto = function (contratoCompraItem, originEntity) {
|
|
10801
11406
|
var dto = __assign({}, contratoCompraItem);
|
|
10802
|
-
dto.dataCompetencia = dto.dataCompetencia && moment$
|
|
10803
|
-
dto.createdDate = dto.createdDate && moment$
|
|
10804
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11407
|
+
dto.dataCompetencia = dto.dataCompetencia && moment$r(dto.dataCompetencia).format("YYYY-MM-DD");
|
|
11408
|
+
dto.createdDate = dto.createdDate && moment$r(dto.createdDate).format();
|
|
11409
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$r(dto.lastModifiedDate).format();
|
|
10805
11410
|
delete dto.label;
|
|
10806
11411
|
if (originEntity !== "ContratoCompra" && dto.contrato)
|
|
10807
11412
|
dto.contrato = ContratoCompra.toDto(dto.contrato, "ContratoCompraItem");
|
|
@@ -10814,7 +11419,7 @@
|
|
|
10814
11419
|
/*{CA:FILE_CONTENTS:START}*/
|
|
10815
11420
|
/*{CA:FILE_CONTENTS:END}*/
|
|
10816
11421
|
|
|
10817
|
-
var moment$
|
|
11422
|
+
var moment$s = _moment;
|
|
10818
11423
|
var ContratoFormComponent = /** @class */ (function () {
|
|
10819
11424
|
function ContratoFormComponent(dialogRef, dialogConfig, contratoCompraService, contratoCompraItemService, translate, fb, route) {
|
|
10820
11425
|
this.dialogRef = dialogRef;
|
|
@@ -10908,7 +11513,7 @@
|
|
|
10908
11513
|
if (filial && filial.empresa && filial.empresa.id) {
|
|
10909
11514
|
filter.empresaId = filial.empresa.id;
|
|
10910
11515
|
}
|
|
10911
|
-
filter.dataEmissao = filter.dataEmissao && moment$
|
|
11516
|
+
filter.dataEmissao = filter.dataEmissao && moment$s(filter.dataEmissao).format("YYYY-MM-DD");
|
|
10912
11517
|
var sort = (multiSortMeta || []).length ? { field: multiSortMeta[0].field, order: multiSortMeta[0].order === 1 ? 'Asc' : 'Desc' } : { field: 'numero', order: 'Asc' };
|
|
10913
11518
|
this.contratoCompraService
|
|
10914
11519
|
.listContratosCompra(__assign({}, filter, { pessoaId: (this.fornecedor || { id: undefined }).id, produtoId: (this.produto || { id: undefined }).id, filialId: (filial || { id: undefined }).id, tipoAgendamentoId: this.agenda && this.agenda.tipoAgendamento ? this.agenda.tipoAgendamento.id : null, contratosSelecionados: this.contratos, pagina: {
|
|
@@ -11137,14 +11742,14 @@
|
|
|
11137
11742
|
return Transgenia;
|
|
11138
11743
|
}());
|
|
11139
11744
|
|
|
11140
|
-
var moment$
|
|
11745
|
+
var moment$t = _moment;
|
|
11141
11746
|
var RecebimentoContrato = /** @class */ (function () {
|
|
11142
11747
|
function RecebimentoContrato() {
|
|
11143
11748
|
}
|
|
11144
11749
|
RecebimentoContrato.fromDto = function (recebimentoDto, originEntity) {
|
|
11145
11750
|
var model = __assign({}, recebimentoDto);
|
|
11146
|
-
model.createdDate = model.createdDate && moment$
|
|
11147
|
-
model.lastModifiedDate = model.lastModifiedDate && moment$
|
|
11751
|
+
model.createdDate = model.createdDate && moment$t(model.createdDate).toDate();
|
|
11752
|
+
model.lastModifiedDate = model.lastModifiedDate && moment$t(model.lastModifiedDate).toDate();
|
|
11148
11753
|
var lookupSeparator = " - ";
|
|
11149
11754
|
var displayFields = [
|
|
11150
11755
|
"id",
|
|
@@ -11193,8 +11798,8 @@
|
|
|
11193
11798
|
};
|
|
11194
11799
|
RecebimentoContrato.toDto = function (recebimento, originEntity) {
|
|
11195
11800
|
var dto = __assign({}, recebimento);
|
|
11196
|
-
dto.createdDate = dto.createdDate && moment$
|
|
11197
|
-
dto.lastModifiedDate = dto.lastModifiedDate && moment$
|
|
11801
|
+
dto.createdDate = dto.createdDate && moment$t(dto.createdDate).format();
|
|
11802
|
+
dto.lastModifiedDate = dto.lastModifiedDate && moment$t(dto.lastModifiedDate).format();
|
|
11198
11803
|
delete dto.label;
|
|
11199
11804
|
if (originEntity !== "Pessoa" && dto.fornecedor)
|
|
11200
11805
|
dto.fornecedor = Pessoa.toDto(dto.fornecedor, "Recebimento");
|
|
@@ -11228,7 +11833,7 @@
|
|
|
11228
11833
|
Situacao["ATIVO"] = "ATIVO";
|
|
11229
11834
|
})(Situacao || (Situacao = {}));
|
|
11230
11835
|
|
|
11231
|
-
var moment$
|
|
11836
|
+
var moment$u = _moment;
|
|
11232
11837
|
var RecebimentoFormComponent = /** @class */ (function () {
|
|
11233
11838
|
function RecebimentoFormComponent(recebimentoService, router, route, messageService, confirmationService, formBuilder, translate, hotkeysService, fieldCustomization, focusService, filialService, transportadoraService, pessoaEnderecoService, contratoCompraService, pessoaService, produtoService, derivacaoService, recebimentoChegadaOverride, notaValidatorService, transgeniaService, dialogService, agendaService, erpProcessService, erpFormConfigService, verificaNotaFiscal, hasChangeService, buildFormField) {
|
|
11234
11839
|
var _this = this;
|
|
@@ -11910,11 +12515,11 @@
|
|
|
11910
12515
|
if (typeof value == "number")
|
|
11911
12516
|
return name + " eq " + value;
|
|
11912
12517
|
else if (type == angularComponents.FieldType.Date)
|
|
11913
|
-
return name + " eq '" + moment$
|
|
12518
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11914
12519
|
else if (type == angularComponents.FieldType.Time)
|
|
11915
|
-
return name + " eq '" + moment$
|
|
12520
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11916
12521
|
else if (type == angularComponents.FieldType.DateTime)
|
|
11917
|
-
return name + " eq '" + moment$
|
|
12522
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11918
12523
|
else if (type == angularComponents.FieldType.String)
|
|
11919
12524
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
11920
12525
|
else
|
|
@@ -11953,11 +12558,11 @@
|
|
|
11953
12558
|
if (typeof value == "number")
|
|
11954
12559
|
return name + " eq " + value;
|
|
11955
12560
|
else if (type == angularComponents.FieldType.Date)
|
|
11956
|
-
return name + " eq '" + moment$
|
|
12561
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
11957
12562
|
else if (type == angularComponents.FieldType.Time)
|
|
11958
|
-
return name + " eq '" + moment$
|
|
12563
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
11959
12564
|
else if (type == angularComponents.FieldType.DateTime)
|
|
11960
|
-
return name + " eq '" + moment$
|
|
12565
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
11961
12566
|
else if (type == angularComponents.FieldType.Enum)
|
|
11962
12567
|
return name + " eq '" + value + "'";
|
|
11963
12568
|
else if (type == angularComponents.FieldType.String)
|
|
@@ -11999,11 +12604,11 @@
|
|
|
11999
12604
|
if (typeof value == "number")
|
|
12000
12605
|
return name + " eq " + value;
|
|
12001
12606
|
else if (type == angularComponents.FieldType.Date)
|
|
12002
|
-
return name + " eq '" + moment$
|
|
12607
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12003
12608
|
else if (type == angularComponents.FieldType.Time)
|
|
12004
|
-
return name + " eq '" + moment$
|
|
12609
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12005
12610
|
else if (type == angularComponents.FieldType.DateTime)
|
|
12006
|
-
return name + " eq '" + moment$
|
|
12611
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12007
12612
|
else if (type == angularComponents.FieldType.String)
|
|
12008
12613
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
12009
12614
|
else
|
|
@@ -12043,11 +12648,11 @@
|
|
|
12043
12648
|
if (typeof value == "number")
|
|
12044
12649
|
return name + " eq " + value;
|
|
12045
12650
|
else if (type == angularComponents.FieldType.Date)
|
|
12046
|
-
return name + " eq '" + moment$
|
|
12651
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12047
12652
|
else if (type == angularComponents.FieldType.Time)
|
|
12048
|
-
return name + " eq '" + moment$
|
|
12653
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12049
12654
|
else if (type == angularComponents.FieldType.DateTime)
|
|
12050
|
-
return name + " eq '" + moment$
|
|
12655
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12051
12656
|
else if (type == angularComponents.FieldType.Enum)
|
|
12052
12657
|
return name + " eq '" + value + "'";
|
|
12053
12658
|
else if (type == angularComponents.FieldType.String)
|
|
@@ -12144,11 +12749,11 @@
|
|
|
12144
12749
|
if (typeof value == "number")
|
|
12145
12750
|
return name + " eq " + value;
|
|
12146
12751
|
else if (type == angularComponents.FieldType.Date)
|
|
12147
|
-
return name + " eq '" + moment$
|
|
12752
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12148
12753
|
else if (type == angularComponents.FieldType.Time)
|
|
12149
|
-
return name + " eq '" + moment$
|
|
12754
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12150
12755
|
else if (type == angularComponents.FieldType.DateTime)
|
|
12151
|
-
return name + " eq '" + moment$
|
|
12756
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12152
12757
|
else if (type == angularComponents.FieldType.String)
|
|
12153
12758
|
return "containing(lower(" + name + "), lower('" + value.replace(/'/g, "\\'") + "'))";
|
|
12154
12759
|
else
|
|
@@ -12186,11 +12791,11 @@
|
|
|
12186
12791
|
if (typeof value == "number")
|
|
12187
12792
|
return name + " eq " + value;
|
|
12188
12793
|
else if (type == angularComponents.FieldType.Date)
|
|
12189
|
-
return name + " eq '" + moment$
|
|
12794
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12190
12795
|
else if (type == angularComponents.FieldType.Time)
|
|
12191
|
-
return name + " eq '" + moment$
|
|
12796
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12192
12797
|
else if (type == angularComponents.FieldType.DateTime)
|
|
12193
|
-
return name + " eq '" + moment$
|
|
12798
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12194
12799
|
else if (type == angularComponents.FieldType.Enum)
|
|
12195
12800
|
return name + " eq '" + value + "'";
|
|
12196
12801
|
else if (type == angularComponents.FieldType.String)
|
|
@@ -12239,11 +12844,11 @@
|
|
|
12239
12844
|
if (typeof value == "number")
|
|
12240
12845
|
return name + " eq " + value;
|
|
12241
12846
|
else if (type == angularComponents.FieldType.Date)
|
|
12242
|
-
return name + " eq '" + moment$
|
|
12847
|
+
return name + " eq '" + moment$u(value).format("YYYY-MM-DD") + "'";
|
|
12243
12848
|
else if (type == angularComponents.FieldType.Time)
|
|
12244
|
-
return name + " eq '" + moment$
|
|
12849
|
+
return name + " eq '" + moment$u(value).format("HH:mm:ss") + "'";
|
|
12245
12850
|
else if (type == angularComponents.FieldType.DateTime)
|
|
12246
|
-
return name + " eq '" + moment$
|
|
12851
|
+
return name + " eq '" + moment$u(value).format() + "'";
|
|
12247
12852
|
else if (type == angularComponents.FieldType.Enum)
|
|
12248
12853
|
return name + " eq '" + value + "'";
|
|
12249
12854
|
else if (type == angularComponents.FieldType.String)
|
|
@@ -13021,7 +13626,7 @@
|
|
|
13021
13626
|
NotaValidatorService,
|
|
13022
13627
|
TransgeniaService,
|
|
13023
13628
|
api.DialogService,
|
|
13024
|
-
AgendaService,
|
|
13629
|
+
AgendaService$1,
|
|
13025
13630
|
ErpProcessService,
|
|
13026
13631
|
ErpFormConfigService,
|
|
13027
13632
|
VerificaNotafiscal,
|
|
@@ -13186,7 +13791,7 @@
|
|
|
13186
13791
|
}());
|
|
13187
13792
|
|
|
13188
13793
|
exports.AgendaModule = AgendaModule;
|
|
13189
|
-
exports.AgendaService = AgendaService;
|
|
13794
|
+
exports.AgendaService = AgendaService$1;
|
|
13190
13795
|
exports.BalancaModule = BalancaModule;
|
|
13191
13796
|
exports.BalancasService = BalancasService;
|
|
13192
13797
|
exports.CamerasModule = CamerasModule;
|
|
@@ -13226,7 +13831,10 @@
|
|
|
13226
13831
|
exports.FormDescritor = FormDescritor;
|
|
13227
13832
|
exports.FormSamComponent = FormSamComponent;
|
|
13228
13833
|
exports.FormSamDescritor = FormSamDescritor;
|
|
13834
|
+
exports.FormWmsComponent = FormWmsComponent;
|
|
13835
|
+
exports.FormWmsDescritor = FormWmsDescritor;
|
|
13229
13836
|
exports.HasChangeService = HasChangeService;
|
|
13837
|
+
exports.INFORMACAOES_ADICIONAIS_HEADER = INFORMACAOES_ADICIONAIS_HEADER;
|
|
13230
13838
|
exports.InfoComponent = InfoComponent;
|
|
13231
13839
|
exports.InfoDescritor = InfoDescritor;
|
|
13232
13840
|
exports.IntegrationWebSocket = IntegrationWebSocket;
|
|
@@ -13273,42 +13881,52 @@
|
|
|
13273
13881
|
exports.VisitorListService = VisitorListService;
|
|
13274
13882
|
exports.VisualizarBalancaComponent = VisualizarBalancaComponent;
|
|
13275
13883
|
exports.VisualizarBalancaDescritor = VisualizarBalancaDescritor;
|
|
13884
|
+
exports.WmsModule = WmsModule;
|
|
13276
13885
|
exports.highlightLanguages = highlightLanguages;
|
|
13277
13886
|
exports.ɵa = Service;
|
|
13278
13887
|
exports.ɵb = CustomStompConfig;
|
|
13279
|
-
exports.ɵba =
|
|
13280
|
-
exports.ɵbb =
|
|
13281
|
-
exports.ɵbc =
|
|
13282
|
-
exports.ɵbd =
|
|
13283
|
-
exports.ɵbe =
|
|
13284
|
-
exports.ɵbf =
|
|
13285
|
-
exports.ɵbg =
|
|
13286
|
-
exports.ɵbh =
|
|
13287
|
-
exports.ɵbi =
|
|
13288
|
-
exports.ɵbj =
|
|
13289
|
-
exports.ɵbk =
|
|
13290
|
-
exports.ɵbl =
|
|
13291
|
-
exports.ɵbm =
|
|
13292
|
-
exports.ɵbn =
|
|
13293
|
-
exports.ɵbo =
|
|
13294
|
-
exports.ɵbp =
|
|
13295
|
-
exports.ɵbq =
|
|
13296
|
-
exports.ɵbr =
|
|
13297
|
-
exports.ɵbs =
|
|
13298
|
-
exports.ɵbt =
|
|
13299
|
-
exports.ɵbu =
|
|
13300
|
-
exports.ɵbv =
|
|
13301
|
-
exports.ɵbw =
|
|
13302
|
-
exports.ɵbx =
|
|
13303
|
-
exports.ɵby =
|
|
13304
|
-
exports.ɵbz =
|
|
13888
|
+
exports.ɵba = EntityService$2;
|
|
13889
|
+
exports.ɵbb = EntityService$1;
|
|
13890
|
+
exports.ɵbc = InsertKeyModule;
|
|
13891
|
+
exports.ɵbd = InsertKeyComponent;
|
|
13892
|
+
exports.ɵbe = IntegrationService;
|
|
13893
|
+
exports.ɵbf = RecebimentoFormComponent;
|
|
13894
|
+
exports.ɵbg = DerivacaoService;
|
|
13895
|
+
exports.ɵbh = NotaValidatorService;
|
|
13896
|
+
exports.ɵbi = TransgeniaService;
|
|
13897
|
+
exports.ɵbj = VerificaNotafiscal;
|
|
13898
|
+
exports.ɵbk = BuildFormField;
|
|
13899
|
+
exports.ɵbl = ExpedicaoFormComponent;
|
|
13900
|
+
exports.ɵbm = ExpedicaoInfoComponent;
|
|
13901
|
+
exports.ɵbn = RecebimentoInfoComponent;
|
|
13902
|
+
exports.ɵbo = DevolucaoFormComponent;
|
|
13903
|
+
exports.ɵbp = DevolucaoService;
|
|
13904
|
+
exports.ɵbq = DevolucaoChegadaVeiculoOverride;
|
|
13905
|
+
exports.ɵbr = RecebimentoOrdemCompraFormComponent;
|
|
13906
|
+
exports.ɵbs = OrdemCompraService;
|
|
13907
|
+
exports.ɵbt = RecebimentoOrdemCompraService;
|
|
13908
|
+
exports.ɵbu = RecebimentoOrdemCompraChegadaVeiculoOverride;
|
|
13909
|
+
exports.ɵbv = RecebimentoOrdemCompraInfoComponent;
|
|
13910
|
+
exports.ɵbw = DevolucaoInfoComponent;
|
|
13911
|
+
exports.ɵbx = ContratoFormComponent;
|
|
13912
|
+
exports.ɵby = OrdemCompraFormComponent;
|
|
13913
|
+
exports.ɵbz = ProcessoAvulsoFormComponent;
|
|
13305
13914
|
exports.ɵc = ViewImageComponent;
|
|
13306
|
-
exports.ɵca =
|
|
13307
|
-
exports.ɵcb =
|
|
13308
|
-
exports.ɵcc =
|
|
13309
|
-
exports.ɵcd =
|
|
13310
|
-
exports.ɵce =
|
|
13311
|
-
exports.ɵcf =
|
|
13915
|
+
exports.ɵca = ProcessoAvulsoService;
|
|
13916
|
+
exports.ɵcb = ProcessoAvulsoChegadaVeiculoOverride;
|
|
13917
|
+
exports.ɵcc = ProcessoAvulsoInfoComponent;
|
|
13918
|
+
exports.ɵcd = LogIntegracaoDescritor;
|
|
13919
|
+
exports.ɵce = LogIntegracaoComponent;
|
|
13920
|
+
exports.ɵcf = LogIntegracaoService;
|
|
13921
|
+
exports.ɵcg = DerivacaoModule;
|
|
13922
|
+
exports.ɵch = DevolucaoModule;
|
|
13923
|
+
exports.ɵci = OrdemCompraModule;
|
|
13924
|
+
exports.ɵcj = RecebimentoOrdemCompraModule;
|
|
13925
|
+
exports.ɵck = TransgeniaModule;
|
|
13926
|
+
exports.ɵcl = ProcessoAvulsoModule;
|
|
13927
|
+
exports.ɵcm = LogIntegracaoModule;
|
|
13928
|
+
exports.ɵcn = NotaFormModule;
|
|
13929
|
+
exports.ɵco = NotaFormComponent;
|
|
13312
13930
|
exports.ɵd = LogDescritor;
|
|
13313
13931
|
exports.ɵe = LogsComponent;
|
|
13314
13932
|
exports.ɵf = PortariasService;
|
|
@@ -13326,12 +13944,12 @@
|
|
|
13326
13944
|
exports.ɵr = VisitanteFormComponent;
|
|
13327
13945
|
exports.ɵs = CredencialFormComponent;
|
|
13328
13946
|
exports.ɵt = FocusService;
|
|
13329
|
-
exports.ɵu =
|
|
13330
|
-
exports.ɵv =
|
|
13331
|
-
exports.ɵw =
|
|
13332
|
-
exports.ɵx =
|
|
13333
|
-
exports.ɵy =
|
|
13334
|
-
exports.ɵz =
|
|
13947
|
+
exports.ɵu = DocumentGridModule;
|
|
13948
|
+
exports.ɵv = DocumentGridComponent;
|
|
13949
|
+
exports.ɵw = DocumentService;
|
|
13950
|
+
exports.ɵx = RegisterDocumentModule;
|
|
13951
|
+
exports.ɵy = RegisterDocumentComponent;
|
|
13952
|
+
exports.ɵz = AgendaService;
|
|
13335
13953
|
|
|
13336
13954
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
13337
13955
|
|