@sofit/view-locale 1.23.1 → 1.25.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.
Files changed (51) hide show
  1. package/coverage/jest/results.xml +11 -11
  2. package/dist/translations/common/entity.d.ts +4 -0
  3. package/dist/translations/common/entity.js +4 -0
  4. package/dist/translations/index.d.ts +6 -1
  5. package/dist/translations/index.js +10 -0
  6. package/dist/translations/modules/company.d.ts +4 -0
  7. package/dist/translations/modules/cost_center.d.ts +4 -0
  8. package/dist/translations/modules/customer.d.ts +4 -0
  9. package/dist/translations/modules/employee.d.ts +4 -0
  10. package/dist/translations/modules/employee_role.d.ts +4 -0
  11. package/dist/translations/modules/fine_qualification.d.ts +4 -0
  12. package/dist/translations/modules/fine_resource.d.ts +4 -0
  13. package/dist/translations/modules/foreseen_maintenance_plan_service_item.d.ts +4 -0
  14. package/dist/translations/modules/gate.d.ts +4 -0
  15. package/dist/translations/modules/maintenance_plan.d.ts +4 -0
  16. package/dist/translations/modules/maintenance_plan_service.d.ts +4 -0
  17. package/dist/translations/modules/measurement_unit.d.ts +4 -0
  18. package/dist/translations/modules/qualification_severity.d.ts +4 -0
  19. package/dist/translations/modules/release_notification.d.ts +4 -0
  20. package/dist/translations/modules/route.d.ts +4 -0
  21. package/dist/translations/modules/sub_system.d.ts +4 -0
  22. package/dist/translations/modules/subsidiary.d.ts +8 -0
  23. package/dist/translations/modules/subsidiary.js +3 -0
  24. package/dist/translations/modules/supplier.d.ts +4 -0
  25. package/dist/translations/modules/system.d.ts +4 -0
  26. package/dist/translations/modules/tire_brand.d.ts +4 -0
  27. package/dist/translations/modules/tire_dimension.d.ts +4 -0
  28. package/dist/translations/modules/tire_drawing.d.ts +4 -0
  29. package/dist/translations/modules/vehicle.d.ts +436 -0
  30. package/dist/translations/modules/vehicle.js +326 -0
  31. package/dist/translations/modules/vehicle_axes.d.ts +30 -0
  32. package/dist/translations/modules/vehicle_axes.js +17 -0
  33. package/dist/translations/modules/vehicle_brand.d.ts +4 -0
  34. package/dist/translations/modules/vehicle_due.d.ts +34 -0
  35. package/dist/translations/modules/vehicle_due.js +20 -0
  36. package/dist/translations/modules/vehicle_fuel.d.ts +42 -0
  37. package/dist/translations/modules/vehicle_fuel.js +26 -0
  38. package/dist/translations/modules/vehicle_layout.d.ts +4 -0
  39. package/dist/translations/modules/vehicle_model.d.ts +4 -0
  40. package/dist/translations/modules/vehicle_tag.d.ts +18 -0
  41. package/dist/translations/modules/vehicle_tag.js +8 -0
  42. package/dist/translations/modules/warehouse.d.ts +4 -0
  43. package/lib/translations/common/entity.ts +4 -0
  44. package/lib/translations/index.ts +10 -0
  45. package/lib/translations/modules/subsidiary.ts +4 -0
  46. package/lib/translations/modules/vehicle.ts +433 -0
  47. package/lib/translations/modules/vehicle_axes.ts +22 -0
  48. package/lib/translations/modules/vehicle_due.ts +26 -0
  49. package/lib/translations/modules/vehicle_fuel.ts +34 -0
  50. package/lib/translations/modules/vehicle_tag.ts +10 -0
  51. package/package.json +1 -1
@@ -1,22 +1,22 @@
1
- <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.763">
2
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-03-08T13:04:57" time="1.973" tests="4">
3
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="1.895">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-03-08T20:00:30" time="1.266" tests="4">
3
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
4
4
  </testcase>
5
- <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
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="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
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="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
9
+ <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
10
10
  </testcase>
11
11
  </testsuite>
12
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-03-08T13:04:57" time="1.921" tests="4">
13
- <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.005">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-03-08T20:00:30" time="1.266" tests="4">
13
+ <testcase classname="Joi tests should return default message" name="Joi tests should return default message" 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="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
16
16
  </testcase>
17
- <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
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="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
19
+ <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -7,4 +7,8 @@ export declare const ENTITY_COMMON: {
7
7
  ptBR: string;
8
8
  es: string;
9
9
  };
10
+ id: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
10
14
  };
@@ -8,5 +8,9 @@ exports.ENTITY_COMMON = {
8
8
  external_id: {
9
9
  ptBR: 'Chave externa',
10
10
  es: 'Clave externa'
11
+ },
12
+ id: {
13
+ ptBR: 'id',
14
+ es: 'id'
11
15
  }
12
16
  };
@@ -22,10 +22,15 @@ import * as system from './modules/system';
22
22
  import * as tire_brand from './modules/tire_brand';
23
23
  import * as tire_dimension from './modules/tire_dimension';
24
24
  import * as tire_drawing from './modules/tire_drawing';
25
+ import * as vehicle from './modules/vehicle';
26
+ import * as vehicle_axes from './modules/vehicle_axes';
25
27
  import * as vehicle_brand from './modules/vehicle_brand';
28
+ import * as vehicle_due from './modules/vehicle_due';
29
+ import * as vehicle_fuel from './modules/vehicle_fuel';
26
30
  import * as vehicle_layout from './modules/vehicle_layout';
27
31
  import * as vehicle_model from './modules/vehicle_model';
32
+ import * as vehicle_tag from './modules/vehicle_tag';
28
33
  import * as warehouse from './modules/warehouse';
29
34
  export { joi } from './common/joi';
30
35
  export { databaseErrors } from './common/database-errors';
31
- export { auth, benchmarking, company, cost_center, customer, employee, employee_role, fine_resource, fine_qualification, foreseen_maintenance_plan_service_item, gate, 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, warehouse };
36
+ export { auth, benchmarking, company, cost_center, customer, employee, employee_role, fine_resource, fine_qualification, foreseen_maintenance_plan_service_item, gate, 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, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse };
@@ -55,12 +55,22 @@ const tire_dimension = __importStar(require("./modules/tire_dimension"));
55
55
  exports.tire_dimension = tire_dimension;
56
56
  const tire_drawing = __importStar(require("./modules/tire_drawing"));
57
57
  exports.tire_drawing = tire_drawing;
58
+ const vehicle = __importStar(require("./modules/vehicle"));
59
+ exports.vehicle = vehicle;
60
+ const vehicle_axes = __importStar(require("./modules/vehicle_axes"));
61
+ exports.vehicle_axes = vehicle_axes;
58
62
  const vehicle_brand = __importStar(require("./modules/vehicle_brand"));
59
63
  exports.vehicle_brand = vehicle_brand;
64
+ const vehicle_due = __importStar(require("./modules/vehicle_due"));
65
+ exports.vehicle_due = vehicle_due;
66
+ const vehicle_fuel = __importStar(require("./modules/vehicle_fuel"));
67
+ exports.vehicle_fuel = vehicle_fuel;
60
68
  const vehicle_layout = __importStar(require("./modules/vehicle_layout"));
61
69
  exports.vehicle_layout = vehicle_layout;
62
70
  const vehicle_model = __importStar(require("./modules/vehicle_model"));
63
71
  exports.vehicle_model = vehicle_model;
72
+ const vehicle_tag = __importStar(require("./modules/vehicle_tag"));
73
+ exports.vehicle_tag = vehicle_tag;
64
74
  const warehouse = __importStar(require("./modules/warehouse"));
65
75
  exports.warehouse = warehouse;
66
76
  var joi_1 = require("./common/joi");
@@ -67,4 +67,8 @@ export declare const fields: {
67
67
  ptBR: string;
68
68
  es: string;
69
69
  };
70
+ id: {
71
+ ptBR: string;
72
+ es: string;
73
+ };
70
74
  };
@@ -35,6 +35,10 @@ export declare const fields: {
35
35
  ptBR: string;
36
36
  es: string;
37
37
  };
38
+ id: {
39
+ ptBR: string;
40
+ es: string;
41
+ };
38
42
  };
39
43
  export declare const messages: {
40
44
  not_allowed: {
@@ -71,4 +71,8 @@ export declare const fields: {
71
71
  ptBR: string;
72
72
  es: string;
73
73
  };
74
+ id: {
75
+ ptBR: string;
76
+ es: string;
77
+ };
74
78
  };
@@ -143,6 +143,10 @@ export declare const fields: {
143
143
  ptBR: string;
144
144
  es: string;
145
145
  };
146
+ id: {
147
+ ptBR: string;
148
+ es: string;
149
+ };
146
150
  };
147
151
  export declare const messages: {
148
152
  associated_at_driver_control_deactivate: {
@@ -31,4 +31,8 @@ export declare const fields: {
31
31
  ptBR: string;
32
32
  es: string;
33
33
  };
34
+ id: {
35
+ ptBR: string;
36
+ es: string;
37
+ };
34
38
  };
@@ -55,4 +55,8 @@ export declare const fields: {
55
55
  ptBR: string;
56
56
  es: string;
57
57
  };
58
+ id: {
59
+ ptBR: string;
60
+ es: string;
61
+ };
58
62
  };
@@ -23,4 +23,8 @@ export declare const fields: {
23
23
  ptBR: string;
24
24
  es: string;
25
25
  };
26
+ id: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
26
30
  };
@@ -39,6 +39,10 @@ export declare const fields: {
39
39
  ptBR: string;
40
40
  es: string;
41
41
  };
42
+ id: {
43
+ ptBR: string;
44
+ es: string;
45
+ };
42
46
  };
43
47
  export declare const messages: {
44
48
  item_active: {
@@ -11,4 +11,8 @@ export declare const fields: {
11
11
  ptBR: string;
12
12
  es: string;
13
13
  };
14
+ id: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
14
18
  };
@@ -27,6 +27,10 @@ export declare const fields: {
27
27
  ptBR: string;
28
28
  es: string;
29
29
  };
30
+ id: {
31
+ ptBR: string;
32
+ es: string;
33
+ };
30
34
  };
31
35
  export declare const messages: {
32
36
  cant_change_info: {
@@ -71,6 +71,10 @@ export declare const fields: {
71
71
  ptBR: string;
72
72
  es: string;
73
73
  };
74
+ id: {
75
+ ptBR: string;
76
+ es: string;
77
+ };
74
78
  };
75
79
  export declare const messages: {
76
80
  blank_period_days_usage: {
@@ -27,4 +27,8 @@ export declare const fields: {
27
27
  ptBR: string;
28
28
  es: string;
29
29
  };
30
+ id: {
31
+ ptBR: string;
32
+ es: string;
33
+ };
30
34
  };
@@ -35,4 +35,8 @@ export declare const fields: {
35
35
  ptBR: string;
36
36
  es: string;
37
37
  };
38
+ id: {
39
+ ptBR: string;
40
+ es: string;
41
+ };
38
42
  };
@@ -23,6 +23,10 @@ export declare const fields: {
23
23
  ptBR: string;
24
24
  es: string;
25
25
  };
26
+ id: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
26
30
  };
27
31
  export declare const messages: {
28
32
  has_unpublished_release_notification: {
@@ -15,4 +15,8 @@ export declare const fields: {
15
15
  ptBR: string;
16
16
  es: string;
17
17
  };
18
+ id: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
18
22
  };
@@ -31,4 +31,8 @@ export declare const fields: {
31
31
  ptBR: string;
32
32
  es: string;
33
33
  };
34
+ id: {
35
+ ptBR: string;
36
+ es: string;
37
+ };
34
38
  };
@@ -15,6 +15,10 @@ export declare const fields: {
15
15
  ptBR: string;
16
16
  es: string;
17
17
  };
18
+ reply_to_email: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
18
22
  responsible: {
19
23
  ptBR: string;
20
24
  es: string;
@@ -27,4 +31,8 @@ export declare const fields: {
27
31
  ptBR: string;
28
32
  es: string;
29
33
  };
34
+ id: {
35
+ ptBR: string;
36
+ es: string;
37
+ };
30
38
  };
@@ -14,6 +14,9 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { alert_emails: {
14
14
  }, company_id: {
15
15
  ptBR: 'Empresa',
16
16
  es: 'Empresa'
17
+ }, reply_to_email: {
18
+ ptBR: 'E-mail para resposta',
19
+ es: 'Correo electrónico para respuesta'
17
20
  }, responsible: {
18
21
  ptBR: 'Responsável',
19
22
  es: 'Responsable'
@@ -91,6 +91,10 @@ export declare const fields: {
91
91
  ptBR: string;
92
92
  es: string;
93
93
  };
94
+ id: {
95
+ ptBR: string;
96
+ es: string;
97
+ };
94
98
  };
95
99
  export declare const messages: {
96
100
  has_fuel_supplies: {
@@ -23,4 +23,8 @@ export declare const fields: {
23
23
  ptBR: string;
24
24
  es: string;
25
25
  };
26
+ id: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
26
30
  };
@@ -27,4 +27,8 @@ export declare const fields: {
27
27
  ptBR: string;
28
28
  es: string;
29
29
  };
30
+ id: {
31
+ ptBR: string;
32
+ es: string;
33
+ };
30
34
  };
@@ -27,4 +27,8 @@ export declare const fields: {
27
27
  ptBR: string;
28
28
  es: string;
29
29
  };
30
+ id: {
31
+ ptBR: string;
32
+ es: string;
33
+ };
30
34
  };
@@ -47,6 +47,10 @@ export declare const fields: {
47
47
  ptBR: string;
48
48
  es: string;
49
49
  };
50
+ id: {
51
+ ptBR: string;
52
+ es: string;
53
+ };
50
54
  };
51
55
  export declare const messages: {
52
56
  is_editing_created_by_sofit_register: {