@sofit/view-locale 1.41.0 → 1.42.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.932">
2
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-05T14:21:39" time="2.024" 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.143">
2
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-06-10T19:41:50" time="1.475" 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="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
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.001">
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">
10
10
  </testcase>
11
11
  </testsuite>
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">
12
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-06-10T19:41:50" time="1.477" tests="4">
13
+ <testcase classname="Joi tests should return default message" name="Joi tests should return default message" 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.001">
15
+ <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
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.001">
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">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -198,3 +198,19 @@ export declare const messages: {
198
198
  es: string;
199
199
  };
200
200
  };
201
+ export declare const enums: {
202
+ status: {
203
+ 'active': {
204
+ ptBR: string;
205
+ es: string;
206
+ };
207
+ 'inactive': {
208
+ ptBR: string;
209
+ es: string;
210
+ };
211
+ 'absent': {
212
+ ptBR: string;
213
+ es: string;
214
+ };
215
+ };
216
+ };
@@ -154,3 +154,19 @@ 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
+ status: {
159
+ 'active': {
160
+ ptBR: 'Ativo',
161
+ es: 'Activo'
162
+ },
163
+ 'inactive': {
164
+ ptBR: 'Inativo',
165
+ es: 'inactivo'
166
+ },
167
+ 'absent': {
168
+ ptBR: 'Ausente',
169
+ es: 'Ausente'
170
+ }
171
+ }
172
+ };
@@ -190,4 +190,21 @@ 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
+ status: {
197
+ 'active': {
198
+ ptBR: 'Ativo',
199
+ es: 'Activo'
200
+ },
201
+ 'inactive': {
202
+ ptBR: 'Inativo',
203
+ es: 'inactivo'
204
+ },
205
+ 'absent': {
206
+ ptBR: 'Ausente',
207
+ es: 'Ausente'
208
+ }
209
+ }
193
210
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.41.0",
3
+ "version": "1.42.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",