@sofit/view-locale 1.4.0 → 1.5.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/cost_center.d.ts +38 -0
- package/dist/translations/modules/cost_center.js +26 -0
- package/lib/translations/index.ts +2 -0
- package/lib/translations/modules/cost_center.ts +34 -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="6.231">
|
|
2
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2018-10-01T14:11:09" time="4.763" tests="4">
|
|
3
|
+
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.012">
|
|
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.001">
|
|
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.001">
|
|
10
10
|
</testcase>
|
|
11
11
|
</testsuite>
|
|
12
|
-
<testsuite name="
|
|
13
|
-
<testcase classname="
|
|
12
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2018-10-01T14:11:09" time="4.72" tests="4">
|
|
13
|
+
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.007">
|
|
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.001">
|
|
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>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as auth from './common/auth';
|
|
2
2
|
import * as benchmarking from './common/benchmarking';
|
|
3
3
|
import * as company from './modules/company';
|
|
4
|
+
import * as cost_center from './modules/cost_center';
|
|
4
5
|
import * as customer from './modules/customer';
|
|
5
6
|
import * as employee_role from './modules/employee_role';
|
|
6
7
|
import * as gate from './modules/gate';
|
|
@@ -10,4 +11,4 @@ import * as system from './modules/system';
|
|
|
10
11
|
import * as warehouse from './modules/warehouse';
|
|
11
12
|
export { joi } from './common/joi';
|
|
12
13
|
export { databaseErrors } from './common/database-errors';
|
|
13
|
-
export { auth, benchmarking, company, customer, employee_role, gate, route, subsidiary, system, warehouse };
|
|
14
|
+
export { auth, benchmarking, company, cost_center, customer, employee_role, gate, route, subsidiary, system, warehouse };
|
|
@@ -13,6 +13,8 @@ const benchmarking = __importStar(require("./common/benchmarking"));
|
|
|
13
13
|
exports.benchmarking = benchmarking;
|
|
14
14
|
const company = __importStar(require("./modules/company"));
|
|
15
15
|
exports.company = company;
|
|
16
|
+
const cost_center = __importStar(require("./modules/cost_center"));
|
|
17
|
+
exports.cost_center = cost_center;
|
|
16
18
|
const customer = __importStar(require("./modules/customer"));
|
|
17
19
|
exports.customer = customer;
|
|
18
20
|
const employee_role = __importStar(require("./modules/employee_role"));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
active: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
accountable_id: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
approver_id: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
description: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
responsible_id: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
substitute_approvers: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
external_id: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const entity_1 = require("../common/entity");
|
|
4
|
+
exports.name = {
|
|
5
|
+
ptBR: 'Centro de Custo',
|
|
6
|
+
es: 'Centro de Coste'
|
|
7
|
+
};
|
|
8
|
+
exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { active: {
|
|
9
|
+
ptBR: 'Ativo',
|
|
10
|
+
es: 'Activo'
|
|
11
|
+
}, accountable_id: {
|
|
12
|
+
ptBR: 'Colaborador',
|
|
13
|
+
es: 'Colaborador'
|
|
14
|
+
}, approver_id: {
|
|
15
|
+
ptBR: 'Aprovador',
|
|
16
|
+
es: 'Aprobador'
|
|
17
|
+
}, description: {
|
|
18
|
+
ptBR: 'Colaborador',
|
|
19
|
+
es: 'Colaborador'
|
|
20
|
+
}, responsible_id: {
|
|
21
|
+
ptBR: 'Descrição',
|
|
22
|
+
es: 'Descrición'
|
|
23
|
+
}, substitute_approvers: {
|
|
24
|
+
ptBR: 'Aprovadores substitutos',
|
|
25
|
+
es: 'Aprobadores substitutos'
|
|
26
|
+
} });
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as auth from './common/auth';
|
|
2
2
|
import * as benchmarking from './common/benchmarking';
|
|
3
3
|
import * as company from './modules/company';
|
|
4
|
+
import * as cost_center from './modules/cost_center';
|
|
4
5
|
import * as customer from './modules/customer';
|
|
5
6
|
import * as employee_role from './modules/employee_role';
|
|
6
7
|
import * as gate from './modules/gate';
|
|
@@ -16,6 +17,7 @@ export {
|
|
|
16
17
|
auth,
|
|
17
18
|
benchmarking,
|
|
18
19
|
company,
|
|
20
|
+
cost_center,
|
|
19
21
|
customer,
|
|
20
22
|
employee_role,
|
|
21
23
|
gate,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Centro de Custo',
|
|
5
|
+
es: 'Centro de Coste'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
active: {
|
|
11
|
+
ptBR: 'Ativo',
|
|
12
|
+
es: 'Activo'
|
|
13
|
+
},
|
|
14
|
+
accountable_id: {
|
|
15
|
+
ptBR: 'Colaborador',
|
|
16
|
+
es: 'Colaborador'
|
|
17
|
+
},
|
|
18
|
+
approver_id: {
|
|
19
|
+
ptBR: 'Aprovador',
|
|
20
|
+
es: 'Aprobador'
|
|
21
|
+
},
|
|
22
|
+
description: {
|
|
23
|
+
ptBR: 'Colaborador',
|
|
24
|
+
es: 'Colaborador'
|
|
25
|
+
},
|
|
26
|
+
responsible_id: {
|
|
27
|
+
ptBR: 'Descrição',
|
|
28
|
+
es: 'Descrición'
|
|
29
|
+
},
|
|
30
|
+
substitute_approvers: {
|
|
31
|
+
ptBR: 'Aprovadores substitutos',
|
|
32
|
+
es: 'Aprobadores substitutos'
|
|
33
|
+
}
|
|
34
|
+
};
|