@sofit/view-locale 1.30.1 → 1.32.0
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/coverage/jest/results.xml +11 -11
- package/dist/translations/index.d.ts +13 -1
- package/dist/translations/index.js +24 -0
- package/dist/translations/modules/cash_basis.d.ts +4 -0
- package/dist/translations/modules/cash_basis.js +6 -0
- package/dist/translations/modules/checklist_group.d.ts +38 -0
- package/dist/translations/modules/checklist_group.js +23 -0
- package/dist/translations/modules/checklist_group_item.d.ts +44 -0
- package/dist/translations/modules/checklist_group_item.js +29 -0
- package/dist/translations/modules/checklist_group_option.d.ts +22 -0
- package/dist/translations/modules/checklist_group_option.js +11 -0
- package/dist/translations/modules/checklist_model.d.ts +26 -0
- package/dist/translations/modules/checklist_model.js +14 -0
- package/dist/translations/modules/cost_sharing.d.ts +4 -0
- package/dist/translations/modules/cost_sharing.js +6 -0
- package/dist/translations/modules/foreseen_service_order_item.d.ts +4 -0
- package/dist/translations/modules/foreseen_service_order_item.js +6 -0
- package/dist/translations/modules/gas_pump_control.d.ts +4 -0
- package/dist/translations/modules/gas_pump_control.js +6 -0
- package/dist/translations/modules/parameter.d.ts +4 -0
- package/dist/translations/modules/parameter.js +6 -0
- package/dist/translations/modules/stock_entry_item.d.ts +4 -0
- package/dist/translations/modules/stock_entry_item.js +6 -0
- package/dist/translations/modules/transaction.d.ts +4 -0
- package/dist/translations/modules/transaction.js +6 -0
- package/dist/translations/modules/warehouse_item.d.ts +4 -0
- package/dist/translations/modules/warehouse_item.js +6 -0
- package/lib/translations/index.ts +25 -1
- package/lib/translations/modules/cash_basis.ts +4 -0
- package/lib/translations/modules/checklist_group.ts +30 -0
- package/lib/translations/modules/checklist_group_item.ts +37 -0
- package/lib/translations/modules/checklist_group_option.ts +14 -0
- package/lib/translations/modules/checklist_model.ts +18 -0
- package/lib/translations/modules/cost_sharing.ts +4 -0
- package/lib/translations/modules/foreseen_service_order_item.ts +4 -0
- package/lib/translations/modules/gas_pump_control.ts +4 -0
- package/lib/translations/modules/parameter.ts +4 -0
- package/lib/translations/modules/stock_entry_item.ts +4 -0
- package/lib/translations/modules/transaction.ts +4 -0
- package/lib/translations/modules/warehouse_item.ts +4 -0
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.
|
|
2
|
-
<testsuite name="
|
|
3
|
-
<testcase classname="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.642">
|
|
2
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-03-29T20:29:47" time="1.749" tests="4">
|
|
3
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.005">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase classname="
|
|
5
|
+
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
|
|
6
6
|
</testcase>
|
|
7
|
-
<testcase classname="
|
|
7
|
+
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
|
|
8
8
|
</testcase>
|
|
9
|
-
<testcase classname="
|
|
9
|
+
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="
|
|
13
|
-
<testcase classname="
|
|
12
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-03-29T20:29:47" time="1.791" tests="4">
|
|
13
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.005">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase classname="
|
|
15
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.004">
|
|
16
16
|
</testcase>
|
|
17
|
-
<testcase classname="
|
|
17
|
+
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
|
|
18
18
|
</testcase>
|
|
19
|
-
<testcase classname="
|
|
19
|
+
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import * as auth from './common/auth';
|
|
2
2
|
import * as benchmarking from './common/benchmarking';
|
|
3
|
+
import * as cash_basis from './modules/cash_basis';
|
|
4
|
+
import * as checklist_group from './modules/checklist_group';
|
|
5
|
+
import * as checklist_group_item from './modules/checklist_group_item';
|
|
6
|
+
import * as checklist_group_option from './modules/checklist_group_option';
|
|
7
|
+
import * as checklist_model from './modules/checklist_model';
|
|
3
8
|
import * as company from './modules/company';
|
|
4
9
|
import * as cost_center from './modules/cost_center';
|
|
10
|
+
import * as cost_sharing from './modules/cost_sharing';
|
|
5
11
|
import * as customer from './modules/customer';
|
|
6
12
|
import * as employee from './modules/employee';
|
|
7
13
|
import * as employee_role from './modules/employee_role';
|
|
8
14
|
import * as fine_qualification from './modules/fine_qualification';
|
|
9
15
|
import * as fine_resource from './modules/fine_resource';
|
|
10
16
|
import * as foreseen_maintenance_plan_service_item from './modules/foreseen_maintenance_plan_service_item';
|
|
17
|
+
import * as foreseen_service_order_item from './modules/foreseen_service_order_item';
|
|
18
|
+
import * as gas_pump_control from './modules/gas_pump_control';
|
|
11
19
|
import * as gate from './modules/gate';
|
|
12
20
|
import * as item from './modules/item';
|
|
13
21
|
import * as maintenance_plan from './modules/maintenance_plan';
|
|
14
22
|
import * as maintenance_plan_service from './modules/maintenance_plan_service';
|
|
15
23
|
import * as measurement_unit from './modules/measurement_unit';
|
|
24
|
+
import * as parameter from './modules/parameter';
|
|
16
25
|
import * as qualification_severity from './modules/qualification_severity';
|
|
17
26
|
import * as release_notification from './modules/release_notification';
|
|
18
27
|
import * as route from './modules/route';
|
|
28
|
+
import * as stock_entry_item from './modules/stock_entry_item';
|
|
19
29
|
import * as sub_system from './modules/sub_system';
|
|
20
30
|
import * as subsidiary from './modules/subsidiary';
|
|
21
31
|
import * as supplier from './modules/supplier';
|
|
@@ -23,6 +33,7 @@ import * as system from './modules/system';
|
|
|
23
33
|
import * as tire_brand from './modules/tire_brand';
|
|
24
34
|
import * as tire_dimension from './modules/tire_dimension';
|
|
25
35
|
import * as tire_drawing from './modules/tire_drawing';
|
|
36
|
+
import * as transaction from './modules/transaction';
|
|
26
37
|
import * as vehicle from './modules/vehicle';
|
|
27
38
|
import * as vehicle_axes from './modules/vehicle_axes';
|
|
28
39
|
import * as vehicle_brand from './modules/vehicle_brand';
|
|
@@ -33,6 +44,7 @@ import * as vehicle_model from './modules/vehicle_model';
|
|
|
33
44
|
import * as vehicle_model_version from './modules/vehicle_model_version';
|
|
34
45
|
import * as vehicle_tag from './modules/vehicle_tag';
|
|
35
46
|
import * as warehouse from './modules/warehouse';
|
|
47
|
+
import * as warehouse_item from './modules/warehouse_item';
|
|
36
48
|
export { joi } from './common/joi';
|
|
37
49
|
export { databaseErrors } from './common/database-errors';
|
|
38
|
-
export { auth, benchmarking, company, cost_center, customer, employee, employee_role, fine_resource, fine_qualification, foreseen_maintenance_plan_service_item, gate, item, maintenance_plan, maintenance_plan_service, measurement_unit, qualification_severity, release_notification, route, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, vehicle_brand, vehicle_layout, vehicle_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse };
|
|
50
|
+
export { auth, benchmarking, checklist_group, checklist_group_item, checklist_group_option, checklist_model, cash_basis, company, cost_center, cost_sharing, customer, employee, employee_role, fine_resource, fine_qualification, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, item, maintenance_plan, maintenance_plan_service, measurement_unit, parameter, qualification_severity, release_notification, route, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, vehicle_brand, vehicle_layout, vehicle_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse, warehouse_item };
|
|
@@ -11,10 +11,22 @@ const auth = __importStar(require("./common/auth"));
|
|
|
11
11
|
exports.auth = auth;
|
|
12
12
|
const benchmarking = __importStar(require("./common/benchmarking"));
|
|
13
13
|
exports.benchmarking = benchmarking;
|
|
14
|
+
const cash_basis = __importStar(require("./modules/cash_basis"));
|
|
15
|
+
exports.cash_basis = cash_basis;
|
|
16
|
+
const checklist_group = __importStar(require("./modules/checklist_group"));
|
|
17
|
+
exports.checklist_group = checklist_group;
|
|
18
|
+
const checklist_group_item = __importStar(require("./modules/checklist_group_item"));
|
|
19
|
+
exports.checklist_group_item = checklist_group_item;
|
|
20
|
+
const checklist_group_option = __importStar(require("./modules/checklist_group_option"));
|
|
21
|
+
exports.checklist_group_option = checklist_group_option;
|
|
22
|
+
const checklist_model = __importStar(require("./modules/checklist_model"));
|
|
23
|
+
exports.checklist_model = checklist_model;
|
|
14
24
|
const company = __importStar(require("./modules/company"));
|
|
15
25
|
exports.company = company;
|
|
16
26
|
const cost_center = __importStar(require("./modules/cost_center"));
|
|
17
27
|
exports.cost_center = cost_center;
|
|
28
|
+
const cost_sharing = __importStar(require("./modules/cost_sharing"));
|
|
29
|
+
exports.cost_sharing = cost_sharing;
|
|
18
30
|
const customer = __importStar(require("./modules/customer"));
|
|
19
31
|
exports.customer = customer;
|
|
20
32
|
const employee = __importStar(require("./modules/employee"));
|
|
@@ -27,6 +39,10 @@ const fine_resource = __importStar(require("./modules/fine_resource"));
|
|
|
27
39
|
exports.fine_resource = fine_resource;
|
|
28
40
|
const foreseen_maintenance_plan_service_item = __importStar(require("./modules/foreseen_maintenance_plan_service_item"));
|
|
29
41
|
exports.foreseen_maintenance_plan_service_item = foreseen_maintenance_plan_service_item;
|
|
42
|
+
const foreseen_service_order_item = __importStar(require("./modules/foreseen_service_order_item"));
|
|
43
|
+
exports.foreseen_service_order_item = foreseen_service_order_item;
|
|
44
|
+
const gas_pump_control = __importStar(require("./modules/gas_pump_control"));
|
|
45
|
+
exports.gas_pump_control = gas_pump_control;
|
|
30
46
|
const gate = __importStar(require("./modules/gate"));
|
|
31
47
|
exports.gate = gate;
|
|
32
48
|
const item = __importStar(require("./modules/item"));
|
|
@@ -37,12 +53,16 @@ const maintenance_plan_service = __importStar(require("./modules/maintenance_pla
|
|
|
37
53
|
exports.maintenance_plan_service = maintenance_plan_service;
|
|
38
54
|
const measurement_unit = __importStar(require("./modules/measurement_unit"));
|
|
39
55
|
exports.measurement_unit = measurement_unit;
|
|
56
|
+
const parameter = __importStar(require("./modules/parameter"));
|
|
57
|
+
exports.parameter = parameter;
|
|
40
58
|
const qualification_severity = __importStar(require("./modules/qualification_severity"));
|
|
41
59
|
exports.qualification_severity = qualification_severity;
|
|
42
60
|
const release_notification = __importStar(require("./modules/release_notification"));
|
|
43
61
|
exports.release_notification = release_notification;
|
|
44
62
|
const route = __importStar(require("./modules/route"));
|
|
45
63
|
exports.route = route;
|
|
64
|
+
const stock_entry_item = __importStar(require("./modules/stock_entry_item"));
|
|
65
|
+
exports.stock_entry_item = stock_entry_item;
|
|
46
66
|
const sub_system = __importStar(require("./modules/sub_system"));
|
|
47
67
|
exports.sub_system = sub_system;
|
|
48
68
|
const subsidiary = __importStar(require("./modules/subsidiary"));
|
|
@@ -57,6 +77,8 @@ const tire_dimension = __importStar(require("./modules/tire_dimension"));
|
|
|
57
77
|
exports.tire_dimension = tire_dimension;
|
|
58
78
|
const tire_drawing = __importStar(require("./modules/tire_drawing"));
|
|
59
79
|
exports.tire_drawing = tire_drawing;
|
|
80
|
+
const transaction = __importStar(require("./modules/transaction"));
|
|
81
|
+
exports.transaction = transaction;
|
|
60
82
|
const vehicle = __importStar(require("./modules/vehicle"));
|
|
61
83
|
exports.vehicle = vehicle;
|
|
62
84
|
const vehicle_axes = __importStar(require("./modules/vehicle_axes"));
|
|
@@ -77,6 +99,8 @@ const vehicle_tag = __importStar(require("./modules/vehicle_tag"));
|
|
|
77
99
|
exports.vehicle_tag = vehicle_tag;
|
|
78
100
|
const warehouse = __importStar(require("./modules/warehouse"));
|
|
79
101
|
exports.warehouse = warehouse;
|
|
102
|
+
const warehouse_item = __importStar(require("./modules/warehouse_item"));
|
|
103
|
+
exports.warehouse_item = warehouse_item;
|
|
80
104
|
var joi_1 = require("./common/joi");
|
|
81
105
|
exports.joi = joi_1.joi;
|
|
82
106
|
var database_errors_1 = require("./common/database-errors");
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
description: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
order: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
checklist_model_id: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
checklist_group_option: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
checklist_group_item: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
name: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
external_id: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
id: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Grupo',
|
|
6
|
+
es: 'Grupo'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { description: {
|
|
9
|
+
ptBR: 'Descrição',
|
|
10
|
+
es: 'Descrición'
|
|
11
|
+
}, order: {
|
|
12
|
+
ptBR: 'Ordem',
|
|
13
|
+
es: 'Ordem'
|
|
14
|
+
}, checklist_model_id: {
|
|
15
|
+
ptBR: 'Modelo do Checklist',
|
|
16
|
+
es: 'Modelo do Checklist'
|
|
17
|
+
}, checklist_group_option: {
|
|
18
|
+
ptBR: 'Opções',
|
|
19
|
+
es: 'Opções'
|
|
20
|
+
}, checklist_group_item: {
|
|
21
|
+
ptBR: 'Itens',
|
|
22
|
+
es: 'Itens'
|
|
23
|
+
} });
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
instruction: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
photo_required: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
order: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
is_active: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
checklist_group_id: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
name: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
external_id: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
id: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const messages: {
|
|
40
|
+
is_not_allowed_to_activate: {
|
|
41
|
+
ptBR: string;
|
|
42
|
+
es: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Itens',
|
|
6
|
+
es: 'Itens'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { instruction: {
|
|
9
|
+
ptBR: 'Instrução',
|
|
10
|
+
es: 'Instrução'
|
|
11
|
+
}, photo_required: {
|
|
12
|
+
ptBR: 'Foto obrigatória',
|
|
13
|
+
es: 'Foto obrigatória'
|
|
14
|
+
}, order: {
|
|
15
|
+
ptBR: 'Ordem',
|
|
16
|
+
es: 'Ordem'
|
|
17
|
+
}, is_active: {
|
|
18
|
+
ptBR: 'Ativo',
|
|
19
|
+
es: 'Ativo'
|
|
20
|
+
}, checklist_group_id: {
|
|
21
|
+
ptBR: 'Grupo do Checklist',
|
|
22
|
+
es: 'Grupo do Checklist'
|
|
23
|
+
} });
|
|
24
|
+
exports.messages = {
|
|
25
|
+
is_not_allowed_to_activate: {
|
|
26
|
+
ptBR: 'Não é permitido reativar um item.',
|
|
27
|
+
es: 'No se permite volver a habilitar un elemento.'
|
|
28
|
+
}
|
|
29
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
checklist_group_id: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
name: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
external_id: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
id: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Opções do Grupo',
|
|
6
|
+
es: 'Opções do Grupo'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { checklist_group_id: {
|
|
9
|
+
ptBR: 'Grupo do Checklist',
|
|
10
|
+
es: 'Grupo do Checklist'
|
|
11
|
+
} });
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
description: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
checklist_group: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
name: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
external_id: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
id: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Modelo de Checklist',
|
|
6
|
+
es: 'Modelo de Checklist'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { description: {
|
|
9
|
+
ptBR: 'Descrição',
|
|
10
|
+
es: 'Descrición'
|
|
11
|
+
}, checklist_group: {
|
|
12
|
+
ptBR: 'Grupos',
|
|
13
|
+
es: 'Grupos'
|
|
14
|
+
} });
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import * as auth from './common/auth';
|
|
2
2
|
import * as benchmarking from './common/benchmarking';
|
|
3
|
+
import * as cash_basis from './modules/cash_basis';
|
|
4
|
+
import * as checklist_group from './modules/checklist_group';
|
|
5
|
+
import * as checklist_group_item from './modules/checklist_group_item';
|
|
6
|
+
import * as checklist_group_option from './modules/checklist_group_option';
|
|
7
|
+
import * as checklist_model from './modules/checklist_model';
|
|
3
8
|
import * as company from './modules/company';
|
|
4
9
|
import * as cost_center from './modules/cost_center';
|
|
10
|
+
import * as cost_sharing from './modules/cost_sharing';
|
|
5
11
|
import * as customer from './modules/customer';
|
|
6
12
|
import * as employee from './modules/employee';
|
|
7
13
|
import * as employee_role from './modules/employee_role';
|
|
8
14
|
import * as fine_qualification from './modules/fine_qualification';
|
|
9
15
|
import * as fine_resource from './modules/fine_resource';
|
|
10
16
|
import * as foreseen_maintenance_plan_service_item from './modules/foreseen_maintenance_plan_service_item';
|
|
17
|
+
import * as foreseen_service_order_item from './modules/foreseen_service_order_item';
|
|
18
|
+
import * as gas_pump_control from './modules/gas_pump_control';
|
|
11
19
|
import * as gate from './modules/gate';
|
|
12
20
|
import * as item from './modules/item';
|
|
13
21
|
import * as maintenance_plan from './modules/maintenance_plan';
|
|
14
22
|
import * as maintenance_plan_service from './modules/maintenance_plan_service';
|
|
15
23
|
import * as measurement_unit from './modules/measurement_unit';
|
|
24
|
+
import * as parameter from './modules/parameter';
|
|
16
25
|
import * as qualification_severity from './modules/qualification_severity';
|
|
17
26
|
import * as release_notification from './modules/release_notification';
|
|
18
27
|
import * as route from './modules/route';
|
|
28
|
+
import * as stock_entry_item from './modules/stock_entry_item';
|
|
19
29
|
import * as sub_system from './modules/sub_system';
|
|
20
30
|
import * as subsidiary from './modules/subsidiary';
|
|
21
31
|
import * as supplier from './modules/supplier';
|
|
@@ -23,6 +33,7 @@ import * as system from './modules/system';
|
|
|
23
33
|
import * as tire_brand from './modules/tire_brand';
|
|
24
34
|
import * as tire_dimension from './modules/tire_dimension';
|
|
25
35
|
import * as tire_drawing from './modules/tire_drawing';
|
|
36
|
+
import * as transaction from './modules/transaction';
|
|
26
37
|
import * as vehicle from './modules/vehicle';
|
|
27
38
|
import * as vehicle_axes from './modules/vehicle_axes';
|
|
28
39
|
import * as vehicle_brand from './modules/vehicle_brand';
|
|
@@ -33,6 +44,7 @@ import * as vehicle_model from './modules/vehicle_model';
|
|
|
33
44
|
import * as vehicle_model_version from './modules/vehicle_model_version';
|
|
34
45
|
import * as vehicle_tag from './modules/vehicle_tag';
|
|
35
46
|
import * as warehouse from './modules/warehouse';
|
|
47
|
+
import * as warehouse_item from './modules/warehouse_item';
|
|
36
48
|
|
|
37
49
|
export { joi } from './common/joi';
|
|
38
50
|
export { databaseErrors } from './common/database-errors';
|
|
@@ -40,22 +52,32 @@ export { databaseErrors } from './common/database-errors';
|
|
|
40
52
|
export {
|
|
41
53
|
auth,
|
|
42
54
|
benchmarking,
|
|
55
|
+
checklist_group,
|
|
56
|
+
checklist_group_item,
|
|
57
|
+
checklist_group_option,
|
|
58
|
+
checklist_model,
|
|
59
|
+
cash_basis,
|
|
43
60
|
company,
|
|
44
61
|
cost_center,
|
|
62
|
+
cost_sharing,
|
|
45
63
|
customer,
|
|
46
64
|
employee,
|
|
47
65
|
employee_role,
|
|
48
66
|
fine_resource,
|
|
49
67
|
fine_qualification,
|
|
50
68
|
foreseen_maintenance_plan_service_item,
|
|
69
|
+
foreseen_service_order_item,
|
|
70
|
+
gas_pump_control,
|
|
51
71
|
gate,
|
|
52
72
|
item,
|
|
53
73
|
maintenance_plan,
|
|
54
74
|
maintenance_plan_service,
|
|
55
75
|
measurement_unit,
|
|
76
|
+
parameter,
|
|
56
77
|
qualification_severity,
|
|
57
78
|
release_notification,
|
|
58
79
|
route,
|
|
80
|
+
stock_entry_item,
|
|
59
81
|
sub_system,
|
|
60
82
|
subsidiary,
|
|
61
83
|
supplier,
|
|
@@ -63,6 +85,7 @@ export {
|
|
|
63
85
|
tire_brand,
|
|
64
86
|
tire_dimension,
|
|
65
87
|
tire_drawing,
|
|
88
|
+
transaction,
|
|
66
89
|
vehicle_brand,
|
|
67
90
|
vehicle_layout,
|
|
68
91
|
vehicle_model,
|
|
@@ -72,5 +95,6 @@ export {
|
|
|
72
95
|
vehicle_axes,
|
|
73
96
|
vehicle_due,
|
|
74
97
|
vehicle_tag,
|
|
75
|
-
warehouse
|
|
98
|
+
warehouse,
|
|
99
|
+
warehouse_item
|
|
76
100
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Grupo',
|
|
5
|
+
es: 'Grupo'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
description: {
|
|
11
|
+
ptBR: 'Descrição',
|
|
12
|
+
es: 'Descrición'
|
|
13
|
+
},
|
|
14
|
+
order: {
|
|
15
|
+
ptBR: 'Ordem',
|
|
16
|
+
es: 'Ordem'
|
|
17
|
+
},
|
|
18
|
+
checklist_model_id: {
|
|
19
|
+
ptBR: 'Modelo do Checklist',
|
|
20
|
+
es: 'Modelo do Checklist'
|
|
21
|
+
},
|
|
22
|
+
checklist_group_option: {
|
|
23
|
+
ptBR: 'Opções',
|
|
24
|
+
es: 'Opções'
|
|
25
|
+
},
|
|
26
|
+
checklist_group_item: {
|
|
27
|
+
ptBR: 'Itens',
|
|
28
|
+
es: 'Itens'
|
|
29
|
+
}
|
|
30
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Itens',
|
|
5
|
+
es: 'Itens'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
instruction: {
|
|
11
|
+
ptBR: 'Instrução',
|
|
12
|
+
es: 'Instrução'
|
|
13
|
+
},
|
|
14
|
+
photo_required: {
|
|
15
|
+
ptBR: 'Foto obrigatória',
|
|
16
|
+
es: 'Foto obrigatória'
|
|
17
|
+
},
|
|
18
|
+
order: {
|
|
19
|
+
ptBR: 'Ordem',
|
|
20
|
+
es: 'Ordem'
|
|
21
|
+
},
|
|
22
|
+
is_active: {
|
|
23
|
+
ptBR: 'Ativo',
|
|
24
|
+
es: 'Ativo'
|
|
25
|
+
},
|
|
26
|
+
checklist_group_id: {
|
|
27
|
+
ptBR: 'Grupo do Checklist',
|
|
28
|
+
es: 'Grupo do Checklist'
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const messages = {
|
|
33
|
+
is_not_allowed_to_activate: {
|
|
34
|
+
ptBR: 'Não é permitido reativar um item.',
|
|
35
|
+
es: 'No se permite volver a habilitar un elemento.'
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Opções do Grupo',
|
|
5
|
+
es: 'Opções do Grupo'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
checklist_group_id: {
|
|
11
|
+
ptBR: 'Grupo do Checklist',
|
|
12
|
+
es: 'Grupo do Checklist'
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Modelo de Checklist',
|
|
5
|
+
es: 'Modelo de Checklist'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
description: {
|
|
11
|
+
ptBR: 'Descrição',
|
|
12
|
+
es: 'Descrición'
|
|
13
|
+
},
|
|
14
|
+
checklist_group: {
|
|
15
|
+
ptBR: 'Grupos',
|
|
16
|
+
es: 'Grupos'
|
|
17
|
+
}
|
|
18
|
+
};
|