@sofit/view-locale 1.59.0 → 1.60.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 +3 -1
- package/dist/translations/index.js +4 -0
- package/dist/translations/modules/city.d.ts +22 -0
- package/dist/translations/modules/city.js +11 -0
- package/dist/translations/modules/state.d.ts +30 -0
- package/dist/translations/modules/state.js +17 -0
- package/lib/translations/index.ts +5 -1
- package/lib/translations/modules/city.ts +14 -0
- package/lib/translations/modules/state.ts +22 -0
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="
|
|
2
|
-
<testsuite name="
|
|
3
|
-
<testcase classname="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.581">
|
|
2
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-08-28T14:50:16" time="1.806" 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="
|
|
5
|
+
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.004">
|
|
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.001">
|
|
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">
|
|
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-08-28T14:50:16" time="1.808" 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.001">
|
|
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>
|
|
@@ -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
|
+
} });
|
|
@@ -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,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
|
+
};
|