@sofit/view-locale 1.40.1 → 1.41.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 +8 -8
- package/dist/translations/index.d.ts +2 -1
- package/dist/translations/index.js +2 -0
- package/dist/translations/modules/employee.d.ts +1 -35
- package/dist/translations/modules/employee.js +1 -35
- package/dist/translations/modules/employee_hiring_regime.d.ts +18 -0
- package/dist/translations/modules/employee_hiring_regime.js +8 -0
- package/lib/translations/index.ts +2 -0
- package/lib/translations/modules/employee.ts +1 -36
- package/lib/translations/modules/employee_hiring_regime.ts +10 -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="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.932">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-05T14:21:39" time="2.024" tests="4">
|
|
3
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-06-
|
|
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-06-05T14:21:39" time="2.025" 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.001">
|
|
20
20
|
</testcase>
|
|
21
21
|
</testsuite>
|
|
22
22
|
</testsuites>
|
|
@@ -14,6 +14,7 @@ import * as cost_center from './modules/cost_center';
|
|
|
14
14
|
import * as cost_sharing from './modules/cost_sharing';
|
|
15
15
|
import * as customer from './modules/customer';
|
|
16
16
|
import * as employee from './modules/employee';
|
|
17
|
+
import * as employee_hiring_regime from './modules/employee_hiring_regime';
|
|
17
18
|
import * as employee_role from './modules/employee_role';
|
|
18
19
|
import * as fine from './modules/fine';
|
|
19
20
|
import * as fine_qualification from './modules/fine_qualification';
|
|
@@ -54,4 +55,4 @@ import * as warehouse from './modules/warehouse';
|
|
|
54
55
|
import * as warehouse_item from './modules/warehouse_item';
|
|
55
56
|
export { joi } from './common/joi';
|
|
56
57
|
export { databaseErrors } from './common/database-errors';
|
|
57
|
-
export { auth, benchmarking, general, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, cash_basis, company, cost_center, cost_sharing, customer, employee, employee_role, fine_resource, fine, fine_qualification, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, parameter, pipefy, 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_leasing, vehicle_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse, warehouse_item };
|
|
58
|
+
export { auth, benchmarking, general, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, cash_basis, company, cost_center, cost_sharing, customer, employee, employee_hiring_regime, employee_role, fine_resource, fine, fine_qualification, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, parameter, pipefy, 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_leasing, vehicle_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse, warehouse_item };
|
|
@@ -39,6 +39,8 @@ const customer = __importStar(require("./modules/customer"));
|
|
|
39
39
|
exports.customer = customer;
|
|
40
40
|
const employee = __importStar(require("./modules/employee"));
|
|
41
41
|
exports.employee = employee;
|
|
42
|
+
const employee_hiring_regime = __importStar(require("./modules/employee_hiring_regime"));
|
|
43
|
+
exports.employee_hiring_regime = employee_hiring_regime;
|
|
42
44
|
const employee_role = __importStar(require("./modules/employee_role"));
|
|
43
45
|
exports.employee_role = employee_role;
|
|
44
46
|
const fine = __importStar(require("./modules/fine"));
|
|
@@ -103,7 +103,7 @@ export declare const fields: {
|
|
|
103
103
|
ptBR: string;
|
|
104
104
|
es: string;
|
|
105
105
|
};
|
|
106
|
-
|
|
106
|
+
employee_hiring_regime_id: {
|
|
107
107
|
ptBR: string;
|
|
108
108
|
es: string;
|
|
109
109
|
};
|
|
@@ -198,37 +198,3 @@ export declare const messages: {
|
|
|
198
198
|
es: string;
|
|
199
199
|
};
|
|
200
200
|
};
|
|
201
|
-
export declare const enums: {
|
|
202
|
-
hiring_regime: {
|
|
203
|
-
'clt': {
|
|
204
|
-
ptBR: string;
|
|
205
|
-
es: string;
|
|
206
|
-
};
|
|
207
|
-
'outsourced': {
|
|
208
|
-
ptBR: string;
|
|
209
|
-
es: string;
|
|
210
|
-
};
|
|
211
|
-
'juridical_person': {
|
|
212
|
-
ptBR: string;
|
|
213
|
-
es: string;
|
|
214
|
-
};
|
|
215
|
-
'service_provider': {
|
|
216
|
-
ptBR: string;
|
|
217
|
-
es: string;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
status: {
|
|
221
|
-
'active': {
|
|
222
|
-
ptBR: string;
|
|
223
|
-
es: string;
|
|
224
|
-
};
|
|
225
|
-
'absent': {
|
|
226
|
-
ptBR: string;
|
|
227
|
-
es: string;
|
|
228
|
-
};
|
|
229
|
-
'inactive': {
|
|
230
|
-
ptBR: string;
|
|
231
|
-
es: string;
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
};
|
|
@@ -80,7 +80,7 @@ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { active: {
|
|
|
80
80
|
}, cnh: {
|
|
81
81
|
ptBR: 'Nº do formulário da CNH',
|
|
82
82
|
es: 'Nº de formulario de CNH'
|
|
83
|
-
},
|
|
83
|
+
}, employee_hiring_regime_id: {
|
|
84
84
|
ptBR: 'Regime de contratação',
|
|
85
85
|
es: 'Régimen de contratación'
|
|
86
86
|
}, sil_status: {
|
|
@@ -154,37 +154,3 @@ exports.messages = {
|
|
|
154
154
|
es: 'Ya existe un colaborador registrado con la matrícula y filial informadas: {{employee}}'
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
|
-
exports.enums = {
|
|
158
|
-
hiring_regime: {
|
|
159
|
-
'clt': {
|
|
160
|
-
ptBR: 'CLT',
|
|
161
|
-
es: 'CLT'
|
|
162
|
-
},
|
|
163
|
-
'outsourced': {
|
|
164
|
-
ptBR: 'Terceirizado',
|
|
165
|
-
es: 'Externalizado'
|
|
166
|
-
},
|
|
167
|
-
'juridical_person': {
|
|
168
|
-
ptBR: 'Pessoa jurídica',
|
|
169
|
-
es: 'Persona jurídica'
|
|
170
|
-
},
|
|
171
|
-
'service_provider': {
|
|
172
|
-
ptBR: 'Prestador de serviços',
|
|
173
|
-
es: 'Prestador de servicios'
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
status: {
|
|
177
|
-
'active': {
|
|
178
|
-
ptBR: 'Ativo',
|
|
179
|
-
es: 'Activo'
|
|
180
|
-
},
|
|
181
|
-
'absent': {
|
|
182
|
-
ptBR: 'Ausente',
|
|
183
|
-
es: 'Ausente'
|
|
184
|
-
},
|
|
185
|
-
'inactive': {
|
|
186
|
-
ptBR: 'Inativo',
|
|
187
|
-
es: 'Inactivo'
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
};
|
|
@@ -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: 'Regime de Contratação',
|
|
6
|
+
es: 'Régimen de Contratación'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON);
|
|
@@ -14,6 +14,7 @@ import * as cost_center from './modules/cost_center';
|
|
|
14
14
|
import * as cost_sharing from './modules/cost_sharing';
|
|
15
15
|
import * as customer from './modules/customer';
|
|
16
16
|
import * as employee from './modules/employee';
|
|
17
|
+
import * as employee_hiring_regime from './modules/employee_hiring_regime';
|
|
17
18
|
import * as employee_role from './modules/employee_role';
|
|
18
19
|
import * as fine from './modules/fine';
|
|
19
20
|
import * as fine_qualification from './modules/fine_qualification';
|
|
@@ -72,6 +73,7 @@ export {
|
|
|
72
73
|
cost_sharing,
|
|
73
74
|
customer,
|
|
74
75
|
employee,
|
|
76
|
+
employee_hiring_regime,
|
|
75
77
|
employee_role,
|
|
76
78
|
fine_resource,
|
|
77
79
|
fine,
|
|
@@ -107,7 +107,7 @@ export const fields = {
|
|
|
107
107
|
ptBR: 'Nº do formulário da CNH',
|
|
108
108
|
es: 'Nº de formulario de CNH'
|
|
109
109
|
},
|
|
110
|
-
|
|
110
|
+
employee_hiring_regime_id: {
|
|
111
111
|
ptBR: 'Regime de contratação',
|
|
112
112
|
es: 'Régimen de contratación'
|
|
113
113
|
},
|
|
@@ -190,39 +190,4 @@ export const messages = {
|
|
|
190
190
|
ptBR: 'Já existe um colaborador cadastrado com a matrícula e filial informadas: {{employee}}',
|
|
191
191
|
es: 'Ya existe un colaborador registrado con la matrícula y filial informadas: {{employee}}'
|
|
192
192
|
}
|
|
193
|
-
};
|
|
194
|
-
|
|
195
|
-
export const enums = {
|
|
196
|
-
hiring_regime: {
|
|
197
|
-
'clt': {
|
|
198
|
-
ptBR: 'CLT',
|
|
199
|
-
es: 'CLT'
|
|
200
|
-
},
|
|
201
|
-
'outsourced': {
|
|
202
|
-
ptBR: 'Terceirizado',
|
|
203
|
-
es: 'Externalizado'
|
|
204
|
-
},
|
|
205
|
-
'juridical_person': {
|
|
206
|
-
ptBR: 'Pessoa jurídica',
|
|
207
|
-
es: 'Persona jurídica'
|
|
208
|
-
},
|
|
209
|
-
'service_provider': {
|
|
210
|
-
ptBR: 'Prestador de serviços',
|
|
211
|
-
es: 'Prestador de servicios'
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
status: {
|
|
215
|
-
'active': {
|
|
216
|
-
ptBR: 'Ativo',
|
|
217
|
-
es: 'Activo'
|
|
218
|
-
},
|
|
219
|
-
'absent': {
|
|
220
|
-
ptBR: 'Ausente',
|
|
221
|
-
es: 'Ausente'
|
|
222
|
-
},
|
|
223
|
-
'inactive': {
|
|
224
|
-
ptBR: 'Inativo',
|
|
225
|
-
es: 'Inactivo'
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
193
|
};
|