@sofit/view-locale 1.31.0 → 1.32.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="2.226">
2
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-03-28T22:05:19" time="1.466" tests="4">
3
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.642">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-03-29T20:29:47" time="1.749" tests="4">
3
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.005">
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="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="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
7
+ <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
8
8
  </testcase>
9
- <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
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="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-03-28T22:05:19" time="1.516" 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">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-03-29T20:29:47" time="1.791" 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="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
15
+ <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.004">
16
16
  </testcase>
17
- <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
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="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0.001">
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,10 @@
1
1
  import * as auth from './common/auth';
2
2
  import * as benchmarking from './common/benchmarking';
3
3
  import * as cash_basis from './modules/cash_basis';
4
+ import * as checklist_group from './modules/checklist_group';
5
+ import * as checklist_group_item from './modules/checklist_group_item';
6
+ import * as checklist_group_option from './modules/checklist_group_option';
7
+ import * as checklist_model from './modules/checklist_model';
4
8
  import * as company from './modules/company';
5
9
  import * as cost_center from './modules/cost_center';
6
10
  import * as cost_sharing from './modules/cost_sharing';
@@ -43,4 +47,4 @@ import * as warehouse from './modules/warehouse';
43
47
  import * as warehouse_item from './modules/warehouse_item';
44
48
  export { joi } from './common/joi';
45
49
  export { databaseErrors } from './common/database-errors';
46
- export { auth, benchmarking, cash_basis, company, cost_center, cost_sharing, customer, employee, employee_role, fine_resource, fine_qualification, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, item, maintenance_plan, maintenance_plan_service, measurement_unit, parameter, 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_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse, warehouse_item };
50
+ export { auth, benchmarking, checklist_group, checklist_group_item, checklist_group_option, checklist_model, cash_basis, company, cost_center, cost_sharing, customer, employee, employee_role, fine_resource, fine_qualification, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, item, maintenance_plan, maintenance_plan_service, measurement_unit, parameter, 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_model, vehicle_model_version, vehicle, vehicle_fuel, vehicle_axes, vehicle_due, vehicle_tag, warehouse, warehouse_item };
@@ -13,6 +13,14 @@ const benchmarking = __importStar(require("./common/benchmarking"));
13
13
  exports.benchmarking = benchmarking;
14
14
  const cash_basis = __importStar(require("./modules/cash_basis"));
15
15
  exports.cash_basis = cash_basis;
16
+ const checklist_group = __importStar(require("./modules/checklist_group"));
17
+ exports.checklist_group = checklist_group;
18
+ const checklist_group_item = __importStar(require("./modules/checklist_group_item"));
19
+ exports.checklist_group_item = checklist_group_item;
20
+ const checklist_group_option = __importStar(require("./modules/checklist_group_option"));
21
+ exports.checklist_group_option = checklist_group_option;
22
+ const checklist_model = __importStar(require("./modules/checklist_model"));
23
+ exports.checklist_model = checklist_model;
16
24
  const company = __importStar(require("./modules/company"));
17
25
  exports.company = company;
18
26
  const cost_center = __importStar(require("./modules/cost_center"));
@@ -0,0 +1,38 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ description: {
7
+ ptBR: string;
8
+ es: string;
9
+ };
10
+ order: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
14
+ checklist_model_id: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
18
+ checklist_group_option: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
22
+ checklist_group_item: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ name: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
30
+ external_id: {
31
+ ptBR: string;
32
+ es: string;
33
+ };
34
+ id: {
35
+ ptBR: string;
36
+ es: string;
37
+ };
38
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Grupo',
6
+ es: 'Grupo'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { description: {
9
+ ptBR: 'Descrição',
10
+ es: 'Descrición'
11
+ }, order: {
12
+ ptBR: 'Ordem',
13
+ es: 'Ordem'
14
+ }, checklist_model_id: {
15
+ ptBR: 'Modelo do Checklist',
16
+ es: 'Modelo do Checklist'
17
+ }, checklist_group_option: {
18
+ ptBR: 'Opções',
19
+ es: 'Opções'
20
+ }, checklist_group_item: {
21
+ ptBR: 'Itens',
22
+ es: 'Itens'
23
+ } });
@@ -0,0 +1,44 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ instruction: {
7
+ ptBR: string;
8
+ es: string;
9
+ };
10
+ photo_required: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
14
+ order: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
18
+ is_active: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
22
+ checklist_group_id: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ name: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
30
+ external_id: {
31
+ ptBR: string;
32
+ es: string;
33
+ };
34
+ id: {
35
+ ptBR: string;
36
+ es: string;
37
+ };
38
+ };
39
+ export declare const messages: {
40
+ is_not_allowed_to_activate: {
41
+ ptBR: string;
42
+ es: string;
43
+ };
44
+ };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Itens',
6
+ es: 'Itens'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { instruction: {
9
+ ptBR: 'Instrução',
10
+ es: 'Instrução'
11
+ }, photo_required: {
12
+ ptBR: 'Foto obrigatória',
13
+ es: 'Foto obrigatória'
14
+ }, order: {
15
+ ptBR: 'Ordem',
16
+ es: 'Ordem'
17
+ }, is_active: {
18
+ ptBR: 'Ativo',
19
+ es: 'Ativo'
20
+ }, checklist_group_id: {
21
+ ptBR: 'Grupo do Checklist',
22
+ es: 'Grupo do Checklist'
23
+ } });
24
+ exports.messages = {
25
+ is_not_allowed_to_activate: {
26
+ ptBR: 'Não é permitido reativar um item.',
27
+ es: 'No se permite volver a habilitar un elemento.'
28
+ }
29
+ };
@@ -0,0 +1,22 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ checklist_group_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: 'Opções do Grupo',
6
+ es: 'Opções do Grupo'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { checklist_group_id: {
9
+ ptBR: 'Grupo do Checklist',
10
+ es: 'Grupo do Checklist'
11
+ } });
@@ -0,0 +1,26 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ description: {
7
+ ptBR: string;
8
+ es: string;
9
+ };
10
+ checklist_group: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
14
+ name: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
18
+ external_id: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
22
+ id: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Modelo de Checklist',
6
+ es: 'Modelo de Checklist'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { description: {
9
+ ptBR: 'Descrição',
10
+ es: 'Descrición'
11
+ }, checklist_group: {
12
+ ptBR: 'Grupos',
13
+ es: 'Grupos'
14
+ } });
@@ -1,6 +1,10 @@
1
1
  import * as auth from './common/auth';
2
2
  import * as benchmarking from './common/benchmarking';
3
3
  import * as cash_basis from './modules/cash_basis';
4
+ import * as checklist_group from './modules/checklist_group';
5
+ import * as checklist_group_item from './modules/checklist_group_item';
6
+ import * as checklist_group_option from './modules/checklist_group_option';
7
+ import * as checklist_model from './modules/checklist_model';
4
8
  import * as company from './modules/company';
5
9
  import * as cost_center from './modules/cost_center';
6
10
  import * as cost_sharing from './modules/cost_sharing';
@@ -48,6 +52,10 @@ export { databaseErrors } from './common/database-errors';
48
52
  export {
49
53
  auth,
50
54
  benchmarking,
55
+ checklist_group,
56
+ checklist_group_item,
57
+ checklist_group_option,
58
+ checklist_model,
51
59
  cash_basis,
52
60
  company,
53
61
  cost_center,
@@ -0,0 +1,30 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Grupo',
5
+ es: 'Grupo'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ description: {
11
+ ptBR: 'Descrição',
12
+ es: 'Descrición'
13
+ },
14
+ order: {
15
+ ptBR: 'Ordem',
16
+ es: 'Ordem'
17
+ },
18
+ checklist_model_id: {
19
+ ptBR: 'Modelo do Checklist',
20
+ es: 'Modelo do Checklist'
21
+ },
22
+ checklist_group_option: {
23
+ ptBR: 'Opções',
24
+ es: 'Opções'
25
+ },
26
+ checklist_group_item: {
27
+ ptBR: 'Itens',
28
+ es: 'Itens'
29
+ }
30
+ };
@@ -0,0 +1,37 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Itens',
5
+ es: 'Itens'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ instruction: {
11
+ ptBR: 'Instrução',
12
+ es: 'Instrução'
13
+ },
14
+ photo_required: {
15
+ ptBR: 'Foto obrigatória',
16
+ es: 'Foto obrigatória'
17
+ },
18
+ order: {
19
+ ptBR: 'Ordem',
20
+ es: 'Ordem'
21
+ },
22
+ is_active: {
23
+ ptBR: 'Ativo',
24
+ es: 'Ativo'
25
+ },
26
+ checklist_group_id: {
27
+ ptBR: 'Grupo do Checklist',
28
+ es: 'Grupo do Checklist'
29
+ }
30
+ };
31
+
32
+ export const messages = {
33
+ is_not_allowed_to_activate: {
34
+ ptBR: 'Não é permitido reativar um item.',
35
+ es: 'No se permite volver a habilitar un elemento.'
36
+ }
37
+ };
@@ -0,0 +1,14 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Opções do Grupo',
5
+ es: 'Opções do Grupo'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ checklist_group_id: {
11
+ ptBR: 'Grupo do Checklist',
12
+ es: 'Grupo do Checklist'
13
+ }
14
+ };
@@ -0,0 +1,18 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Modelo de Checklist',
5
+ es: 'Modelo de Checklist'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ description: {
11
+ ptBR: 'Descrição',
12
+ es: 'Descrición'
13
+ },
14
+ checklist_group: {
15
+ ptBR: 'Grupos',
16
+ es: 'Grupos'
17
+ }
18
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",