@sofit/view-locale 1.63.0 → 1.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/jest/results.xml +9 -9
- package/dist/translations/index.d.ts +3 -1
- package/dist/translations/index.js +4 -0
- package/dist/translations/modules/vehicle_event.d.ts +38 -0
- package/dist/translations/modules/vehicle_event.js +23 -0
- package/dist/translations/modules/vehicle_event_type.d.ts +18 -0
- package/dist/translations/modules/vehicle_event_type.js +8 -0
- package/lib/translations/index.ts +4 -0
- package/lib/translations/modules/vehicle_event.ts +30 -0
- package/lib/translations/modules/vehicle_event_type.ts +10 -0
- package/package.json +36 -36
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.
|
|
2
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-09-
|
|
3
|
-
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.357">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-09-30T14:44:10" time="1.679" tests="4">
|
|
3
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0
|
|
5
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
6
6
|
</testcase>
|
|
7
|
-
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
|
|
7
|
+
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
|
|
8
8
|
</testcase>
|
|
9
9
|
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-09-
|
|
13
|
-
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.
|
|
12
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-09-30T14:44:10" time="1.663" tests="4">
|
|
13
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
|
|
15
|
+
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
|
|
16
16
|
</testcase>
|
|
17
17
|
<testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
|
|
18
18
|
</testcase>
|
|
19
|
-
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0
|
|
19
|
+
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -69,6 +69,8 @@ import * as vehicle_brand from './modules/vehicle_brand';
|
|
|
69
69
|
import * as vehicle_change_history from './modules/vehicle_change_history';
|
|
70
70
|
import * as vehicle_deactivation_cause from './modules/vehicle_deactivation_cause';
|
|
71
71
|
import * as vehicle_due from './modules/vehicle_due';
|
|
72
|
+
import * as vehicle_event from './modules/vehicle_event';
|
|
73
|
+
import * as vehicle_event_type from './modules/vehicle_event_type';
|
|
72
74
|
import * as vehicle_fuel from './modules/vehicle_fuel';
|
|
73
75
|
import * as vehicle_layout from './modules/vehicle_layout';
|
|
74
76
|
import * as vehicle_leasing from './modules/vehicle_leasing';
|
|
@@ -81,4 +83,4 @@ import * as warehouse from './modules/warehouse';
|
|
|
81
83
|
import * as warehouse_item from './modules/warehouse_item';
|
|
82
84
|
export { joi } from './common/joi';
|
|
83
85
|
export { databaseErrors } from './common/database-errors';
|
|
84
|
-
export { auth, benchmarking, general, inout, pipefy, cash_basis, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, cost_sharing_entity, customer, driver_control, driver_license_point, employee, employee_hiring_regime, employee_role, expense, fine, fine_qualification_integration_key, fine_qualification, fine_resource, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, gate_appointment, gate_appointment_diary, item, leasing_contract, leasing_measurement, maintenance_plan, maintenance_plan_service, measurement_unit, night_transport, parameter, pendency, qualification_severity, release_notification, request_occurrence, route, service_order, solicitation, solicitation_comment, solicitation_history, solicitation_watcher, stock_transfer, stock_transfer_item, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_brand, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_maintenance_plan, vehicle_maintenance_plan_service, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item, city, state };
|
|
86
|
+
export { auth, benchmarking, general, inout, pipefy, cash_basis, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, cost_sharing_entity, customer, driver_control, driver_license_point, employee, employee_hiring_regime, employee_role, expense, fine, fine_qualification_integration_key, fine_qualification, fine_resource, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, gate_appointment, gate_appointment_diary, item, leasing_contract, leasing_measurement, maintenance_plan, maintenance_plan_service, measurement_unit, night_transport, parameter, pendency, qualification_severity, release_notification, request_occurrence, route, service_order, solicitation, solicitation_comment, solicitation_history, solicitation_watcher, stock_transfer, stock_transfer_item, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_brand, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_event, vehicle_event_type, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_maintenance_plan, vehicle_maintenance_plan_service, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item, city, state };
|
|
@@ -149,6 +149,10 @@ const vehicle_deactivation_cause = __importStar(require("./modules/vehicle_deact
|
|
|
149
149
|
exports.vehicle_deactivation_cause = vehicle_deactivation_cause;
|
|
150
150
|
const vehicle_due = __importStar(require("./modules/vehicle_due"));
|
|
151
151
|
exports.vehicle_due = vehicle_due;
|
|
152
|
+
const vehicle_event = __importStar(require("./modules/vehicle_event"));
|
|
153
|
+
exports.vehicle_event = vehicle_event;
|
|
154
|
+
const vehicle_event_type = __importStar(require("./modules/vehicle_event_type"));
|
|
155
|
+
exports.vehicle_event_type = vehicle_event_type;
|
|
152
156
|
const vehicle_fuel = __importStar(require("./modules/vehicle_fuel"));
|
|
153
157
|
exports.vehicle_fuel = vehicle_fuel;
|
|
154
158
|
const vehicle_layout = __importStar(require("./modules/vehicle_layout"));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
employee_id: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
date: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
description: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
vehicle_event_type_id: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
vehicle_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
|
+
};
|
|
@@ -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: 'Evento do veículo',
|
|
6
|
+
es: 'Evento de vehículo'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { employee_id: {
|
|
9
|
+
ptBR: 'Colaborador',
|
|
10
|
+
es: 'Colaborador'
|
|
11
|
+
}, date: {
|
|
12
|
+
ptBR: 'Data',
|
|
13
|
+
es: 'Fecha'
|
|
14
|
+
}, description: {
|
|
15
|
+
ptBR: 'Descrição',
|
|
16
|
+
es: 'Descripción'
|
|
17
|
+
}, vehicle_event_type_id: {
|
|
18
|
+
ptBR: 'Tipo de evento do veículo',
|
|
19
|
+
es: 'Tipo de evento del vehículo'
|
|
20
|
+
}, vehicle_id: {
|
|
21
|
+
ptBR: 'Veículo',
|
|
22
|
+
es: 'Vehículo'
|
|
23
|
+
} });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
name: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
external_id: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
id: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Tipo de evento do veículo',
|
|
6
|
+
es: 'Tipo de evento del vehículo'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON);
|
|
@@ -69,6 +69,8 @@ import * as vehicle_brand from './modules/vehicle_brand';
|
|
|
69
69
|
import * as vehicle_change_history from './modules/vehicle_change_history';
|
|
70
70
|
import * as vehicle_deactivation_cause from './modules/vehicle_deactivation_cause';
|
|
71
71
|
import * as vehicle_due from './modules/vehicle_due';
|
|
72
|
+
import * as vehicle_event from './modules/vehicle_event';
|
|
73
|
+
import * as vehicle_event_type from './modules/vehicle_event_type';
|
|
72
74
|
import * as vehicle_fuel from './modules/vehicle_fuel';
|
|
73
75
|
import * as vehicle_layout from './modules/vehicle_layout';
|
|
74
76
|
import * as vehicle_leasing from './modules/vehicle_leasing';
|
|
@@ -153,6 +155,8 @@ export {
|
|
|
153
155
|
vehicle_change_history,
|
|
154
156
|
vehicle_deactivation_cause,
|
|
155
157
|
vehicle_due,
|
|
158
|
+
vehicle_event,
|
|
159
|
+
vehicle_event_type,
|
|
156
160
|
vehicle_fuel,
|
|
157
161
|
vehicle_layout,
|
|
158
162
|
vehicle_leasing,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Evento do veículo',
|
|
5
|
+
es: 'Evento de vehículo'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
employee_id: {
|
|
11
|
+
ptBR: 'Colaborador',
|
|
12
|
+
es: 'Colaborador'
|
|
13
|
+
},
|
|
14
|
+
date: {
|
|
15
|
+
ptBR: 'Data',
|
|
16
|
+
es: 'Fecha'
|
|
17
|
+
},
|
|
18
|
+
description: {
|
|
19
|
+
ptBR: 'Descrição',
|
|
20
|
+
es: 'Descripción'
|
|
21
|
+
},
|
|
22
|
+
vehicle_event_type_id: {
|
|
23
|
+
ptBR: 'Tipo de evento do veículo',
|
|
24
|
+
es: 'Tipo de evento del vehículo'
|
|
25
|
+
},
|
|
26
|
+
vehicle_id: {
|
|
27
|
+
ptBR: 'Veículo',
|
|
28
|
+
es: 'Vehículo'
|
|
29
|
+
}
|
|
30
|
+
};
|
package/package.json
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
2
|
+
"name": "@sofit/view-locale",
|
|
3
|
+
"version": "1.64.1",
|
|
4
|
+
"description": "Traduções do Sofit View",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "jest --config ./jest.config.json",
|
|
9
|
+
"start": "tsc --p ./ --watch",
|
|
10
|
+
"lint": "tslint --project ./",
|
|
11
|
+
"build": "tsc --p ./",
|
|
12
|
+
"postinstall": "[ -f .vscode/commit-msg.js ] && node .vscode/commit-msg.js"
|
|
13
|
+
},
|
|
14
|
+
"author": "desenvolvimento@sofit4.com.br",
|
|
15
|
+
"contributors": [
|
|
16
|
+
"lucassedrez@hotmail.com",
|
|
17
|
+
"rhogeranacleto@gmail.com"
|
|
18
|
+
],
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": "8.11.1"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"typescript": "^2.8.3",
|
|
25
|
+
"@types/node": "^9.6.6"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@sofit/tslint-rules": "0.1.11",
|
|
29
|
+
"@types/jest": "^22.2.3",
|
|
30
|
+
"jest-junit": "^5.1.0",
|
|
31
|
+
"jest": "^22.4.3",
|
|
32
|
+
"ts-jest": "^22.4.4",
|
|
33
|
+
"tslint": "^5.9.1",
|
|
34
|
+
"tslint-eslint-rules": "^5.1.0",
|
|
35
|
+
"nodemon": "^1.17.3",
|
|
36
|
+
"ts-node": "^6.0.0"
|
|
37
|
+
}
|
|
38
38
|
}
|