@sofit/view-locale 1.59.0 → 1.61.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.
@@ -1,22 +1,22 @@
1
- <testsuites name="Sofit view locale tests" tests="8" failures="0" time="3.938">
2
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-08-28T12:38:35" time="2.681" tests="4">
3
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.005">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.855">
2
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-08-30T13:57:25" time="1.971" 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.001">
5
+ <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
6
6
  </testcase>
7
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-08-28T12:38:35" time="2.684" tests="4">
12
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-08-30T13:57:25" time="2.017" tests="4">
13
13
  <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.005">
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.001">
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.005">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -10,6 +10,7 @@ import * as checklist_group_item from './modules/checklist_group_item';
10
10
  import * as checklist_group_option from './modules/checklist_group_option';
11
11
  import * as checklist_model from './modules/checklist_model';
12
12
  import * as checklist_reply from './modules/checklist_reply';
13
+ import * as city from './modules/city';
13
14
  import * as company from './modules/company';
14
15
  import * as cost_center from './modules/cost_center';
15
16
  import * as cost_sharing from './modules/cost_sharing';
@@ -49,6 +50,7 @@ import * as solicitation from './modules/solicitation';
49
50
  import * as solicitation_comment from './modules/solicitation_comment';
50
51
  import * as solicitation_history from './modules/solicitation_history';
51
52
  import * as solicitation_watcher from './modules/solicitation_watcher';
53
+ import * as state from './modules/state';
52
54
  import * as stock_entry_item from './modules/stock_entry_item';
53
55
  import * as stock_transfer from './modules/stock_transfer';
54
56
  import * as stock_transfer_item from './modules/stock_transfer_item';
@@ -79,4 +81,4 @@ import * as warehouse from './modules/warehouse';
79
81
  import * as warehouse_item from './modules/warehouse_item';
80
82
  export { joi } from './common/joi';
81
83
  export { databaseErrors } from './common/database-errors';
82
- 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 };
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 };
@@ -31,6 +31,8 @@ const checklist_model = __importStar(require("./modules/checklist_model"));
31
31
  exports.checklist_model = checklist_model;
32
32
  const checklist_reply = __importStar(require("./modules/checklist_reply"));
33
33
  exports.checklist_reply = checklist_reply;
34
+ const city = __importStar(require("./modules/city"));
35
+ exports.city = city;
34
36
  const company = __importStar(require("./modules/company"));
35
37
  exports.company = company;
36
38
  const cost_center = __importStar(require("./modules/cost_center"));
@@ -109,6 +111,8 @@ const solicitation_history = __importStar(require("./modules/solicitation_histor
109
111
  exports.solicitation_history = solicitation_history;
110
112
  const solicitation_watcher = __importStar(require("./modules/solicitation_watcher"));
111
113
  exports.solicitation_watcher = solicitation_watcher;
114
+ const state = __importStar(require("./modules/state"));
115
+ exports.state = state;
112
116
  const stock_entry_item = __importStar(require("./modules/stock_entry_item"));
113
117
  exports.stock_entry_item = stock_entry_item;
114
118
  const stock_transfer = __importStar(require("./modules/stock_transfer"));
@@ -0,0 +1,22 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ state_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: 'Cidade',
6
+ es: 'Ciudad'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { state_id: {
9
+ ptBR: 'Estado',
10
+ es: 'state_id'
11
+ } });
@@ -147,6 +147,10 @@ export declare const fields: {
147
147
  ptBR: string;
148
148
  es: string;
149
149
  };
150
+ manager_id: {
151
+ ptBR: string;
152
+ es: string;
153
+ };
150
154
  name: {
151
155
  ptBR: string;
152
156
  es: string;
@@ -113,6 +113,9 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { active: {
113
113
  }, statement_of_responsibility_file_url: {
114
114
  ptBR: 'Arquivo do Termo de responsabilidade',
115
115
  es: 'Archivo del Término de responsabilidad'
116
+ }, manager_id: {
117
+ ptBR: 'Gestor imediato',
118
+ es: 'Gerente inmediato'
116
119
  } });
117
120
  exports.messages = {
118
121
  associated_at_driver_control_deactivate: {
@@ -0,0 +1,30 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ state_id: {
7
+ ptBR: string;
8
+ es: string;
9
+ };
10
+ uf: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
14
+ country_id: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
18
+ name: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
22
+ external_id: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ id: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
30
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Estado',
6
+ es: 'Estado'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { state_id: {
9
+ ptBR: 'Estado',
10
+ es: 'state_id'
11
+ }, uf: {
12
+ ptBR: 'UF',
13
+ es: 'UF'
14
+ }, country_id: {
15
+ ptBR: 'País',
16
+ es: 'País'
17
+ } });
@@ -10,6 +10,7 @@ import * as checklist_group_item from './modules/checklist_group_item';
10
10
  import * as checklist_group_option from './modules/checklist_group_option';
11
11
  import * as checklist_model from './modules/checklist_model';
12
12
  import * as checklist_reply from './modules/checklist_reply';
13
+ import * as city from './modules/city';
13
14
  import * as company from './modules/company';
14
15
  import * as cost_center from './modules/cost_center';
15
16
  import * as cost_sharing from './modules/cost_sharing';
@@ -49,6 +50,7 @@ import * as solicitation from './modules/solicitation';
49
50
  import * as solicitation_comment from './modules/solicitation_comment';
50
51
  import * as solicitation_history from './modules/solicitation_history';
51
52
  import * as solicitation_watcher from './modules/solicitation_watcher';
53
+ import * as state from './modules/state';
52
54
  import * as stock_entry_item from './modules/stock_entry_item';
53
55
  import * as stock_transfer from './modules/stock_transfer';
54
56
  import * as stock_transfer_item from './modules/stock_transfer_item';
@@ -160,5 +162,7 @@ export {
160
162
  vehicle_model_version,
161
163
  vehicle_tag,
162
164
  warehouse,
163
- warehouse_item
165
+ warehouse_item,
166
+ city,
167
+ state
164
168
  };
@@ -0,0 +1,14 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Cidade',
5
+ es: 'Ciudad'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ state_id: {
11
+ ptBR: 'Estado',
12
+ es: 'state_id'
13
+ }
14
+ };
@@ -150,6 +150,10 @@ export const fields = {
150
150
  statement_of_responsibility_file_url: {
151
151
  ptBR: 'Arquivo do Termo de responsabilidade',
152
152
  es: 'Archivo del Término de responsabilidad'
153
+ },
154
+ manager_id: {
155
+ ptBR: 'Gestor imediato',
156
+ es: 'Gerente inmediato'
153
157
  }
154
158
  };
155
159
 
@@ -0,0 +1,22 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Estado',
5
+ es: 'Estado'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ state_id: {
11
+ ptBR: 'Estado',
12
+ es: 'state_id'
13
+ },
14
+ uf: {
15
+ ptBR: 'UF',
16
+ es: 'UF'
17
+ },
18
+ country_id: {
19
+ ptBR: 'País',
20
+ es: 'País'
21
+ }
22
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",