@sofit/view-locale 1.57.0 → 1.58.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 +2 -1
- package/dist/translations/index.js +2 -0
- package/dist/translations/modules/leasing_measurement.d.ts +68 -0
- package/dist/translations/modules/leasing_measurement.js +48 -0
- package/lib/translations/index.ts +2 -0
- package/lib/translations/modules/leasing_measurement.ts +61 -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="
|
|
3
|
-
<testcase classname="
|
|
1
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.716">
|
|
2
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-08-22T21:21:52" time="1.927" tests="4">
|
|
3
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
|
|
4
4
|
</testcase>
|
|
5
|
-
<testcase classname="
|
|
5
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
|
|
6
6
|
</testcase>
|
|
7
|
-
<testcase classname="
|
|
7
|
+
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
|
|
8
8
|
</testcase>
|
|
9
|
-
<testcase classname="
|
|
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="
|
|
13
|
-
<testcase classname="
|
|
12
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-08-22T21:21:52" time="1.899" tests="4">
|
|
13
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.004">
|
|
14
14
|
</testcase>
|
|
15
|
-
<testcase classname="
|
|
15
|
+
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
|
|
16
16
|
</testcase>
|
|
17
|
-
<testcase classname="
|
|
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="
|
|
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>
|
|
@@ -33,6 +33,7 @@ import * as gate_appointment from './modules/gate_appointment';
|
|
|
33
33
|
import * as gate_appointment_diary from './modules/gate_appointment_diary';
|
|
34
34
|
import * as item from './modules/item';
|
|
35
35
|
import * as leasing_contract from './modules/leasing_contract';
|
|
36
|
+
import * as leasing_measurement from './modules/leasing_measurement';
|
|
36
37
|
import * as maintenance_plan from './modules/maintenance_plan';
|
|
37
38
|
import * as maintenance_plan_service from './modules/maintenance_plan_service';
|
|
38
39
|
import * as measurement_unit from './modules/measurement_unit';
|
|
@@ -78,4 +79,4 @@ import * as warehouse from './modules/warehouse';
|
|
|
78
79
|
import * as warehouse_item from './modules/warehouse_item';
|
|
79
80
|
export { joi } from './common/joi';
|
|
80
81
|
export { databaseErrors } from './common/database-errors';
|
|
81
|
-
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, 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 };
|
|
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 };
|
|
@@ -77,6 +77,8 @@ const item = __importStar(require("./modules/item"));
|
|
|
77
77
|
exports.item = item;
|
|
78
78
|
const leasing_contract = __importStar(require("./modules/leasing_contract"));
|
|
79
79
|
exports.leasing_contract = leasing_contract;
|
|
80
|
+
const leasing_measurement = __importStar(require("./modules/leasing_measurement"));
|
|
81
|
+
exports.leasing_measurement = leasing_measurement;
|
|
80
82
|
const maintenance_plan = __importStar(require("./modules/maintenance_plan"));
|
|
81
83
|
exports.maintenance_plan = maintenance_plan;
|
|
82
84
|
const maintenance_plan_service = __importStar(require("./modules/maintenance_plan_service"));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
vehicle_leasing_id: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
expense_item_id: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
type: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
status: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
competence_month: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
quantity_days: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
foreseen_value: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
original_value: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
paid_value: {
|
|
39
|
+
ptBR: string;
|
|
40
|
+
es: string;
|
|
41
|
+
};
|
|
42
|
+
invoice: {
|
|
43
|
+
ptBR: string;
|
|
44
|
+
es: string;
|
|
45
|
+
};
|
|
46
|
+
name: {
|
|
47
|
+
ptBR: string;
|
|
48
|
+
es: string;
|
|
49
|
+
};
|
|
50
|
+
external_id: {
|
|
51
|
+
ptBR: string;
|
|
52
|
+
es: string;
|
|
53
|
+
};
|
|
54
|
+
id: {
|
|
55
|
+
ptBR: string;
|
|
56
|
+
es: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export declare const messages: {
|
|
60
|
+
must_have_no_paid_measurement_when_removing: {
|
|
61
|
+
ptBR: string;
|
|
62
|
+
es: string;
|
|
63
|
+
};
|
|
64
|
+
must_have_no_paid_measurement_when_editing: {
|
|
65
|
+
ptBR: string;
|
|
66
|
+
es: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Medição da Locação',
|
|
6
|
+
es: 'Medición de Arrendamiento'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { vehicle_leasing_id: {
|
|
9
|
+
ptBR: 'Locação do Veículo',
|
|
10
|
+
es: 'Arrendamiento de Vehículos'
|
|
11
|
+
}, expense_item_id: {
|
|
12
|
+
ptBR: 'Item da despesa',
|
|
13
|
+
es: 'Iten Gasto '
|
|
14
|
+
}, type: {
|
|
15
|
+
ptBR: 'Tipo',
|
|
16
|
+
es: 'Tipo'
|
|
17
|
+
}, status: {
|
|
18
|
+
ptBR: 'Situação',
|
|
19
|
+
es: 'Situación'
|
|
20
|
+
}, competence_month: {
|
|
21
|
+
ptBR: 'Mês de competência',
|
|
22
|
+
es: 'Mes de competencia'
|
|
23
|
+
}, quantity_days: {
|
|
24
|
+
ptBR: 'Dias avaliados',
|
|
25
|
+
es: 'Días evaluados'
|
|
26
|
+
}, foreseen_value: {
|
|
27
|
+
ptBR: 'Valor previsto',
|
|
28
|
+
es: 'Valor esperado'
|
|
29
|
+
}, original_value: {
|
|
30
|
+
ptBR: 'Valor original',
|
|
31
|
+
es: 'Valor original'
|
|
32
|
+
}, paid_value: {
|
|
33
|
+
ptBR: 'Valor pago',
|
|
34
|
+
es: 'Valor pago'
|
|
35
|
+
}, invoice: {
|
|
36
|
+
ptBR: 'Fatura',
|
|
37
|
+
es: 'Factura'
|
|
38
|
+
} });
|
|
39
|
+
exports.messages = {
|
|
40
|
+
must_have_no_paid_measurement_when_removing: {
|
|
41
|
+
ptBR: 'Não é possível remover esta locação pois existem medições de fatura já pagas: {{measurements}}.',
|
|
42
|
+
es: 'Este alquiler no se puede eliminar ya que ya hay mediciones de facturas pagadas: {{measurements}}.'
|
|
43
|
+
},
|
|
44
|
+
must_have_no_paid_measurement_when_editing: {
|
|
45
|
+
ptBR: 'Existem mediçoes de faturas pagas para esta locação. Portanto só é possível a alteração da data de devolução.',
|
|
46
|
+
es: 'Hay mediciones de facturas pagadas por este alquiler, por lo que solo puede cambiar la fecha de devolución.'
|
|
47
|
+
}
|
|
48
|
+
};
|
|
@@ -33,6 +33,7 @@ import * as gate_appointment from './modules/gate_appointment';
|
|
|
33
33
|
import * as gate_appointment_diary from './modules/gate_appointment_diary';
|
|
34
34
|
import * as item from './modules/item';
|
|
35
35
|
import * as leasing_contract from './modules/leasing_contract';
|
|
36
|
+
import * as leasing_measurement from './modules/leasing_measurement';
|
|
36
37
|
import * as maintenance_plan from './modules/maintenance_plan';
|
|
37
38
|
import * as maintenance_plan_service from './modules/maintenance_plan_service';
|
|
38
39
|
import * as measurement_unit from './modules/measurement_unit';
|
|
@@ -116,6 +117,7 @@ export {
|
|
|
116
117
|
gate_appointment_diary,
|
|
117
118
|
item,
|
|
118
119
|
leasing_contract,
|
|
120
|
+
leasing_measurement,
|
|
119
121
|
maintenance_plan,
|
|
120
122
|
maintenance_plan_service,
|
|
121
123
|
measurement_unit,
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Medição da Locação',
|
|
5
|
+
es: 'Medición de Arrendamiento'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
vehicle_leasing_id: {
|
|
11
|
+
ptBR: 'Locação do Veículo',
|
|
12
|
+
es: 'Arrendamiento de Vehículos'
|
|
13
|
+
},
|
|
14
|
+
expense_item_id: {
|
|
15
|
+
ptBR: 'Item da despesa',
|
|
16
|
+
es: 'Iten Gasto '
|
|
17
|
+
},
|
|
18
|
+
type: {
|
|
19
|
+
ptBR: 'Tipo',
|
|
20
|
+
es: 'Tipo'
|
|
21
|
+
},
|
|
22
|
+
status: {
|
|
23
|
+
ptBR: 'Situação',
|
|
24
|
+
es: 'Situación'
|
|
25
|
+
},
|
|
26
|
+
competence_month: {
|
|
27
|
+
ptBR: 'Mês de competência',
|
|
28
|
+
es: 'Mes de competencia'
|
|
29
|
+
},
|
|
30
|
+
quantity_days: {
|
|
31
|
+
ptBR: 'Dias avaliados',
|
|
32
|
+
es: 'Días evaluados'
|
|
33
|
+
},
|
|
34
|
+
foreseen_value: {
|
|
35
|
+
ptBR: 'Valor previsto',
|
|
36
|
+
es: 'Valor esperado'
|
|
37
|
+
},
|
|
38
|
+
original_value: {
|
|
39
|
+
ptBR: 'Valor original',
|
|
40
|
+
es: 'Valor original'
|
|
41
|
+
},
|
|
42
|
+
paid_value: {
|
|
43
|
+
ptBR: 'Valor pago',
|
|
44
|
+
es: 'Valor pago'
|
|
45
|
+
},
|
|
46
|
+
invoice: {
|
|
47
|
+
ptBR: 'Fatura',
|
|
48
|
+
es: 'Factura'
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const messages = {
|
|
53
|
+
must_have_no_paid_measurement_when_removing: {
|
|
54
|
+
ptBR: 'Não é possível remover esta locação pois existem medições de fatura já pagas: {{measurements}}.',
|
|
55
|
+
es: 'Este alquiler no se puede eliminar ya que ya hay mediciones de facturas pagadas: {{measurements}}.'
|
|
56
|
+
},
|
|
57
|
+
must_have_no_paid_measurement_when_editing: {
|
|
58
|
+
ptBR: 'Existem mediçoes de faturas pagas para esta locação. Portanto só é possível a alteração da data de devolução.',
|
|
59
|
+
es: 'Hay mediciones de facturas pagadas por este alquiler, por lo que solo puede cambiar la fecha de devolución.'
|
|
60
|
+
}
|
|
61
|
+
};
|