mdz-enum 1.5.8 → 1.5.10

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.
Files changed (39) hide show
  1. package/dist/checkout/index.d.ts +28 -28
  2. package/dist/checkout/index.js +83 -83
  3. package/dist/commercial/index.d.ts +227 -221
  4. package/dist/commercial/index.js +549 -532
  5. package/dist/common/index.d.ts +47 -47
  6. package/dist/common/index.js +137 -137
  7. package/dist/config/index.d.ts +137 -137
  8. package/dist/config/index.js +392 -392
  9. package/dist/finance/index.d.ts +164 -164
  10. package/dist/finance/index.js +425 -425
  11. package/dist/fiscal/index.d.ts +468 -468
  12. package/dist/fiscal/index.js +1165 -1165
  13. package/dist/functions.d.ts +11 -11
  14. package/dist/functions.js +74 -74
  15. package/dist/general/index.d.ts +243 -243
  16. package/dist/general/index.js +449 -449
  17. package/dist/index.d.ts +14 -14
  18. package/dist/index.js +206 -204
  19. package/dist/integration/index.d.ts +19 -19
  20. package/dist/integration/index.js +57 -57
  21. package/dist/logistics/index.d.ts +124 -124
  22. package/dist/logistics/index.js +359 -359
  23. package/dist/marketplace/templates/components/index.d.ts +145 -145
  24. package/dist/marketplace/templates/components/index.js +156 -156
  25. package/dist/marketplace/templates/elements/index.d.ts +34 -34
  26. package/dist/marketplace/templates/elements/index.js +37 -37
  27. package/dist/marketplace/templates/index.d.ts +286 -284
  28. package/dist/marketplace/templates/index.js +38 -38
  29. package/dist/marketplace/templates/pages/index.d.ts +140 -140
  30. package/dist/marketplace/templates/pages/index.js +310 -310
  31. package/dist/marketplace/templates/reference/index.d.ts +16 -16
  32. package/dist/marketplace/templates/reference/index.js +18 -18
  33. package/dist/people/index.d.ts +35 -35
  34. package/dist/people/index.js +102 -102
  35. package/dist/platform/index.d.ts +189 -184
  36. package/dist/platform/index.js +548 -534
  37. package/dist/reports/index.d.ts +46 -46
  38. package/dist/reports/index.js +136 -136
  39. package/package.json +2 -1
@@ -1,449 +1,449 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TipoData = exports.UfDB = exports.StyleTypeLogos = exports.TipoLogos = exports.ProporcaoImagem = exports.Uf = exports.TipoTempo = exports.TipoDescontoGeneral = exports.TipoCompartilhamento = exports.Situacao = void 0;
4
- exports.Situacao = {
5
- Inativo: '0',
6
- Ativo: '1',
7
- description(val) {
8
- switch (val) {
9
- case this.Inativo:
10
- return 'Inativo';
11
- case this.Ativo:
12
- return 'Ativo';
13
- default:
14
- return 'enum not found';
15
- }
16
- },
17
- };
18
- exports.TipoCompartilhamento = {
19
- NotaFiscal: '1',
20
- PedidoVenda: '2',
21
- Boleto: '3',
22
- description(val) {
23
- switch (val) {
24
- case this.NotaFiscal:
25
- return 'Nota Fiscal';
26
- case this.PedidoVenda:
27
- return 'Pedido';
28
- case this.Boleto:
29
- return 'Boleto';
30
- default:
31
- return 'enum not found';
32
- }
33
- },
34
- };
35
- exports.TipoDescontoGeneral = {
36
- Percentual: '0',
37
- Valor: '1',
38
- description(val) {
39
- switch (val) {
40
- case this.Percentual:
41
- return 'Percentual';
42
- case this.Valor:
43
- return 'Valor';
44
- default:
45
- return 'enum not found';
46
- }
47
- },
48
- };
49
- exports.TipoTempo = {
50
- Dias: '1',
51
- Semanas: '2',
52
- Meses: '3',
53
- Anos: '4',
54
- description(val) {
55
- switch (val) {
56
- case this.Dias:
57
- return 'Dias';
58
- case this.Semanas:
59
- return 'Semanas';
60
- case this.Meses:
61
- return 'Meses';
62
- case this.Anos:
63
- return 'Anos';
64
- }
65
- },
66
- };
67
- exports.Uf = {
68
- RO: '11',
69
- AC: '12',
70
- AM: '13',
71
- RR: '14',
72
- PA: '15',
73
- AP: '16',
74
- TO: '17',
75
- MA: '21',
76
- PI: '22',
77
- CE: '23',
78
- RN: '24',
79
- PB: '25',
80
- PE: '26',
81
- AL: '27',
82
- SE: '28',
83
- BA: '29',
84
- MG: '31',
85
- ES: '32',
86
- RJ: '33',
87
- SP: '35',
88
- PR: '41',
89
- SC: '42',
90
- RS: '43',
91
- MS: '50',
92
- MT: '51',
93
- GO: '52',
94
- DF: '53',
95
- AN: '91',
96
- EX: '99',
97
- description(val) {
98
- switch (val) {
99
- case this.RO:
100
- return 'Rondônia';
101
- case this.AC:
102
- return 'Acre';
103
- case this.AM:
104
- return 'Amazonas';
105
- case this.RR:
106
- return 'Roraima';
107
- case this.PA:
108
- return 'Pará';
109
- case this.AP:
110
- return 'Amapá';
111
- case this.TO:
112
- return 'Tocantins';
113
- case this.MA:
114
- return 'Maranhão';
115
- case this.RN:
116
- return 'Rio Grande do Norte';
117
- case this.PB:
118
- return 'Paraíba';
119
- case this.PE:
120
- return 'Pernambuco';
121
- case this.AL:
122
- return 'Alagoas';
123
- case this.SE:
124
- return 'Sergipe';
125
- case this.BA:
126
- return 'Bahia';
127
- case this.MG:
128
- return 'Minas Gerais';
129
- case this.ES:
130
- return 'Espírito Santo';
131
- case this.RJ:
132
- return 'Rio de Janeiro';
133
- case this.SP:
134
- return 'São Paulo';
135
- case this.PR:
136
- return 'Paraná';
137
- case this.SC:
138
- return 'Santa Catarina';
139
- case this.RS:
140
- return 'Rio Grande do Sul';
141
- case this.MS:
142
- return 'Mato Grosso do Sul';
143
- case this.MT:
144
- return 'Mato Grosso';
145
- case this.GO:
146
- return 'Goiás';
147
- case this.DF:
148
- return 'Distrito Federal';
149
- case this.PI:
150
- return 'Piauí';
151
- case this.CE:
152
- return 'Ceará';
153
- }
154
- },
155
- shortDescription(val) {
156
- switch (val) {
157
- case this.PI:
158
- return 'PI';
159
- case this.CE:
160
- return 'CE';
161
- case this.RO:
162
- return 'RO';
163
- case this.AC:
164
- return 'AC';
165
- case this.AM:
166
- return 'AM';
167
- case this.RR:
168
- return 'RR';
169
- case this.PA:
170
- return 'PA';
171
- case this.AP:
172
- return 'AP';
173
- case this.TO:
174
- return 'TO';
175
- case this.MA:
176
- return 'MA';
177
- case this.RN:
178
- return 'RN';
179
- case this.PB:
180
- return 'PB';
181
- case this.PE:
182
- return 'PE';
183
- case this.AL:
184
- return 'AL';
185
- case this.SE:
186
- return 'SE';
187
- case this.BA:
188
- return 'BA';
189
- case this.MG:
190
- return 'MG';
191
- case this.ES:
192
- return 'ES';
193
- case this.RJ:
194
- return 'RJ';
195
- case this.SP:
196
- return 'SP';
197
- case this.PR:
198
- return 'PR';
199
- case this.SC:
200
- return 'SC';
201
- case this.RS:
202
- return 'RS';
203
- case this.MS:
204
- return 'MS';
205
- case this.MT:
206
- return 'MT';
207
- case this.GO:
208
- return 'GO';
209
- case this.DF:
210
- return 'DF';
211
- }
212
- },
213
- };
214
- exports.ProporcaoImagem = {
215
- '1/1': '0',
216
- '9/16': '1',
217
- description(val) {
218
- switch (val) {
219
- case this['1/1']:
220
- return '1/1';
221
- case this['9/16']:
222
- return '9/16';
223
- default:
224
- return 'enum not found';
225
- }
226
- },
227
- aspectRatioValue(val) {
228
- switch (val) {
229
- case this['1/1']:
230
- return 1 / 1;
231
- case this['9/16']:
232
- return 9 / 16;
233
- default:
234
- return 1 / 1;
235
- }
236
- },
237
- };
238
- exports.TipoLogos = {
239
- Quadrada: '0',
240
- Retangular: '1',
241
- description(val) {
242
- switch (val) {
243
- case this.Quadrada:
244
- return 'Quadrada';
245
- case this.Retangular:
246
- return 'Retangular';
247
- default:
248
- return 'enum not found';
249
- }
250
- },
251
- };
252
- exports.StyleTypeLogos = {
253
- Branca: '0',
254
- Preta: '1',
255
- Default: '2',
256
- description(val) {
257
- switch (val) {
258
- case this.Branca:
259
- return 'Branca';
260
- case this.Preta:
261
- return 'Preta';
262
- case this.Default:
263
- return 'Default';
264
- default:
265
- return 'enum not found';
266
- }
267
- },
268
- };
269
- exports.UfDB = {
270
- RO: {
271
- Descricao: 'RO',
272
- Chave: 1,
273
- Codigo_Ibge: '11',
274
- Nome: 'Rondônia',
275
- },
276
- AC: {
277
- Descricao: 'AC',
278
- Chave: 2,
279
- Codigo_Ibge: '12',
280
- Nome: 'Acre',
281
- },
282
- AM: {
283
- Descricao: 'AM',
284
- Chave: 3,
285
- Codigo_Ibge: '13',
286
- Nome: 'Amazonas',
287
- },
288
- RR: {
289
- Descricao: 'RR',
290
- Chave: 4,
291
- Codigo_Ibge: '14',
292
- Nome: 'Roraima',
293
- },
294
- PA: {
295
- Descricao: 'PA',
296
- Chave: 5,
297
- Codigo_Ibge: '15',
298
- Nome: 'Pará',
299
- },
300
- AP: {
301
- Descricao: 'AP',
302
- Chave: 6,
303
- Codigo_Ibge: '16',
304
- Nome: 'Amapá',
305
- },
306
- TO: {
307
- Descricao: 'TO',
308
- Chave: 7,
309
- Codigo_Ibge: '17',
310
- Nome: 'Tocantins',
311
- },
312
- MA: {
313
- Descricao: 'MA',
314
- Chave: 8,
315
- Codigo_Ibge: '21',
316
- Nome: 'Maranhão',
317
- },
318
- PI: {
319
- Descricao: 'PI',
320
- Chave: 9,
321
- Codigo_Ibge: '22',
322
- Nome: 'Piauí',
323
- },
324
- CE: {
325
- Descricao: 'CE',
326
- Chave: 10,
327
- Codigo_Ibge: '23',
328
- Nome: 'Ceará',
329
- },
330
- RN: {
331
- Descricao: 'RN',
332
- Chave: 11,
333
- Codigo_Ibge: '24',
334
- Nome: 'Rio Grande do Norte',
335
- },
336
- PB: {
337
- Descricao: 'PB',
338
- Chave: 12,
339
- Codigo_Ibge: '25',
340
- Nome: 'Rio Grande do Norte',
341
- },
342
- PE: {
343
- Descricao: 'PE',
344
- Chave: 13,
345
- Codigo_Ibge: '26',
346
- Nome: 'Pernambuco',
347
- },
348
- AL: {
349
- Descricao: 'AL',
350
- Chave: 14,
351
- Codigo_Ibge: '27',
352
- Nome: 'Alagoas',
353
- },
354
- SE: {
355
- Descricao: 'SE',
356
- Chave: 15,
357
- Codigo_Ibge: '28',
358
- Nome: 'Sergipe',
359
- },
360
- BA: {
361
- Descricao: 'BA',
362
- Chave: 16,
363
- Codigo_Ibge: '29',
364
- Nome: 'Bahia',
365
- },
366
- MG: {
367
- Descricao: 'MG',
368
- Chave: 17,
369
- Codigo_Ibge: '31',
370
- Nome: 'Minas Geraris',
371
- },
372
- ES: {
373
- Descricao: 'ES',
374
- Chave: 18,
375
- Codigo_Ibge: '32',
376
- Nome: 'Espírito Santo',
377
- },
378
- RJ: {
379
- Descricao: 'RJ',
380
- Chave: 19,
381
- Codigo_Ibge: '33',
382
- Nome: 'Rio de Janeiro',
383
- },
384
- SP: {
385
- Descricao: 'SP',
386
- Chave: 20,
387
- Codigo_Ibge: '35',
388
- Nome: 'São Paulo',
389
- },
390
- PR: {
391
- Descricao: 'PR',
392
- Chave: 21,
393
- Codigo_Ibge: '41',
394
- Nome: 'Paraná',
395
- },
396
- SC: {
397
- Descricao: 'SC',
398
- Chave: 22,
399
- Codigo_Ibge: '42',
400
- Nome: 'Santa Catarina',
401
- },
402
- MS: {
403
- Descricao: 'MS',
404
- Chave: 23,
405
- Codigo_Ibge: '50',
406
- Nome: 'Mato Grosso do Sul',
407
- },
408
- MT: {
409
- Descricao: 'MT',
410
- Chave: 24,
411
- Codigo_Ibge: '51',
412
- Nome: 'Mato Grosso',
413
- },
414
- GO: {
415
- Descricao: 'GO',
416
- Chave: 25,
417
- Codigo_Ibge: '52',
418
- Nome: 'Goiás',
419
- },
420
- DF: {
421
- Descricao: 'DF',
422
- Chave: 26,
423
- Codigo_Ibge: '53',
424
- Nome: 'Distrito Federal',
425
- },
426
- RS: {
427
- Descricao: 'RS',
428
- Chave: 27,
429
- Codigo_Ibge: '43',
430
- Nome: 'Rio Grande do Sul',
431
- },
432
- };
433
- exports.TipoData = {
434
- DataCadastro: '0',
435
- DataAlteracao: '1',
436
- DataExclusao: '2',
437
- description(val) {
438
- switch (val) {
439
- case this.DataCadastro:
440
- return 'Data de Cadastro';
441
- case this.DataAlteracao:
442
- return 'Data de Alteração';
443
- case this.DataExclusao:
444
- return 'Data de Exclusão';
445
- default:
446
- return 'enum not found';
447
- }
448
- },
449
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TipoData = exports.UfDB = exports.StyleTypeLogos = exports.TipoLogos = exports.ProporcaoImagem = exports.Uf = exports.TipoTempo = exports.TipoDescontoGeneral = exports.TipoCompartilhamento = exports.Situacao = void 0;
4
+ exports.Situacao = {
5
+ Inativo: '0',
6
+ Ativo: '1',
7
+ description(val) {
8
+ switch (val) {
9
+ case this.Inativo:
10
+ return 'Inativo';
11
+ case this.Ativo:
12
+ return 'Ativo';
13
+ default:
14
+ return 'enum not found';
15
+ }
16
+ },
17
+ };
18
+ exports.TipoCompartilhamento = {
19
+ NotaFiscal: '1',
20
+ PedidoVenda: '2',
21
+ Boleto: '3',
22
+ description(val) {
23
+ switch (val) {
24
+ case this.NotaFiscal:
25
+ return 'Nota Fiscal';
26
+ case this.PedidoVenda:
27
+ return 'Pedido';
28
+ case this.Boleto:
29
+ return 'Boleto';
30
+ default:
31
+ return 'enum not found';
32
+ }
33
+ },
34
+ };
35
+ exports.TipoDescontoGeneral = {
36
+ Percentual: '0',
37
+ Valor: '1',
38
+ description(val) {
39
+ switch (val) {
40
+ case this.Percentual:
41
+ return 'Percentual';
42
+ case this.Valor:
43
+ return 'Valor';
44
+ default:
45
+ return 'enum not found';
46
+ }
47
+ },
48
+ };
49
+ exports.TipoTempo = {
50
+ Dias: '1',
51
+ Semanas: '2',
52
+ Meses: '3',
53
+ Anos: '4',
54
+ description(val) {
55
+ switch (val) {
56
+ case this.Dias:
57
+ return 'Dias';
58
+ case this.Semanas:
59
+ return 'Semanas';
60
+ case this.Meses:
61
+ return 'Meses';
62
+ case this.Anos:
63
+ return 'Anos';
64
+ }
65
+ },
66
+ };
67
+ exports.Uf = {
68
+ RO: '11',
69
+ AC: '12',
70
+ AM: '13',
71
+ RR: '14',
72
+ PA: '15',
73
+ AP: '16',
74
+ TO: '17',
75
+ MA: '21',
76
+ PI: '22',
77
+ CE: '23',
78
+ RN: '24',
79
+ PB: '25',
80
+ PE: '26',
81
+ AL: '27',
82
+ SE: '28',
83
+ BA: '29',
84
+ MG: '31',
85
+ ES: '32',
86
+ RJ: '33',
87
+ SP: '35',
88
+ PR: '41',
89
+ SC: '42',
90
+ RS: '43',
91
+ MS: '50',
92
+ MT: '51',
93
+ GO: '52',
94
+ DF: '53',
95
+ AN: '91',
96
+ EX: '99',
97
+ description(val) {
98
+ switch (val) {
99
+ case this.RO:
100
+ return 'Rondônia';
101
+ case this.AC:
102
+ return 'Acre';
103
+ case this.AM:
104
+ return 'Amazonas';
105
+ case this.RR:
106
+ return 'Roraima';
107
+ case this.PA:
108
+ return 'Pará';
109
+ case this.AP:
110
+ return 'Amapá';
111
+ case this.TO:
112
+ return 'Tocantins';
113
+ case this.MA:
114
+ return 'Maranhão';
115
+ case this.RN:
116
+ return 'Rio Grande do Norte';
117
+ case this.PB:
118
+ return 'Paraíba';
119
+ case this.PE:
120
+ return 'Pernambuco';
121
+ case this.AL:
122
+ return 'Alagoas';
123
+ case this.SE:
124
+ return 'Sergipe';
125
+ case this.BA:
126
+ return 'Bahia';
127
+ case this.MG:
128
+ return 'Minas Gerais';
129
+ case this.ES:
130
+ return 'Espírito Santo';
131
+ case this.RJ:
132
+ return 'Rio de Janeiro';
133
+ case this.SP:
134
+ return 'São Paulo';
135
+ case this.PR:
136
+ return 'Paraná';
137
+ case this.SC:
138
+ return 'Santa Catarina';
139
+ case this.RS:
140
+ return 'Rio Grande do Sul';
141
+ case this.MS:
142
+ return 'Mato Grosso do Sul';
143
+ case this.MT:
144
+ return 'Mato Grosso';
145
+ case this.GO:
146
+ return 'Goiás';
147
+ case this.DF:
148
+ return 'Distrito Federal';
149
+ case this.PI:
150
+ return 'Piauí';
151
+ case this.CE:
152
+ return 'Ceará';
153
+ }
154
+ },
155
+ shortDescription(val) {
156
+ switch (val) {
157
+ case this.PI:
158
+ return 'PI';
159
+ case this.CE:
160
+ return 'CE';
161
+ case this.RO:
162
+ return 'RO';
163
+ case this.AC:
164
+ return 'AC';
165
+ case this.AM:
166
+ return 'AM';
167
+ case this.RR:
168
+ return 'RR';
169
+ case this.PA:
170
+ return 'PA';
171
+ case this.AP:
172
+ return 'AP';
173
+ case this.TO:
174
+ return 'TO';
175
+ case this.MA:
176
+ return 'MA';
177
+ case this.RN:
178
+ return 'RN';
179
+ case this.PB:
180
+ return 'PB';
181
+ case this.PE:
182
+ return 'PE';
183
+ case this.AL:
184
+ return 'AL';
185
+ case this.SE:
186
+ return 'SE';
187
+ case this.BA:
188
+ return 'BA';
189
+ case this.MG:
190
+ return 'MG';
191
+ case this.ES:
192
+ return 'ES';
193
+ case this.RJ:
194
+ return 'RJ';
195
+ case this.SP:
196
+ return 'SP';
197
+ case this.PR:
198
+ return 'PR';
199
+ case this.SC:
200
+ return 'SC';
201
+ case this.RS:
202
+ return 'RS';
203
+ case this.MS:
204
+ return 'MS';
205
+ case this.MT:
206
+ return 'MT';
207
+ case this.GO:
208
+ return 'GO';
209
+ case this.DF:
210
+ return 'DF';
211
+ }
212
+ },
213
+ };
214
+ exports.ProporcaoImagem = {
215
+ '1/1': '0',
216
+ '9/16': '1',
217
+ description(val) {
218
+ switch (val) {
219
+ case this['1/1']:
220
+ return '1/1';
221
+ case this['9/16']:
222
+ return '9/16';
223
+ default:
224
+ return 'enum not found';
225
+ }
226
+ },
227
+ aspectRatioValue(val) {
228
+ switch (val) {
229
+ case this['1/1']:
230
+ return 1 / 1;
231
+ case this['9/16']:
232
+ return 9 / 16;
233
+ default:
234
+ return 1 / 1;
235
+ }
236
+ },
237
+ };
238
+ exports.TipoLogos = {
239
+ Quadrada: '0',
240
+ Retangular: '1',
241
+ description(val) {
242
+ switch (val) {
243
+ case this.Quadrada:
244
+ return 'Quadrada';
245
+ case this.Retangular:
246
+ return 'Retangular';
247
+ default:
248
+ return 'enum not found';
249
+ }
250
+ },
251
+ };
252
+ exports.StyleTypeLogos = {
253
+ Branca: '0',
254
+ Preta: '1',
255
+ Default: '2',
256
+ description(val) {
257
+ switch (val) {
258
+ case this.Branca:
259
+ return 'Branca';
260
+ case this.Preta:
261
+ return 'Preta';
262
+ case this.Default:
263
+ return 'Default';
264
+ default:
265
+ return 'enum not found';
266
+ }
267
+ },
268
+ };
269
+ exports.UfDB = {
270
+ RO: {
271
+ Descricao: 'RO',
272
+ Chave: 1,
273
+ Codigo_Ibge: '11',
274
+ Nome: 'Rondônia',
275
+ },
276
+ AC: {
277
+ Descricao: 'AC',
278
+ Chave: 2,
279
+ Codigo_Ibge: '12',
280
+ Nome: 'Acre',
281
+ },
282
+ AM: {
283
+ Descricao: 'AM',
284
+ Chave: 3,
285
+ Codigo_Ibge: '13',
286
+ Nome: 'Amazonas',
287
+ },
288
+ RR: {
289
+ Descricao: 'RR',
290
+ Chave: 4,
291
+ Codigo_Ibge: '14',
292
+ Nome: 'Roraima',
293
+ },
294
+ PA: {
295
+ Descricao: 'PA',
296
+ Chave: 5,
297
+ Codigo_Ibge: '15',
298
+ Nome: 'Pará',
299
+ },
300
+ AP: {
301
+ Descricao: 'AP',
302
+ Chave: 6,
303
+ Codigo_Ibge: '16',
304
+ Nome: 'Amapá',
305
+ },
306
+ TO: {
307
+ Descricao: 'TO',
308
+ Chave: 7,
309
+ Codigo_Ibge: '17',
310
+ Nome: 'Tocantins',
311
+ },
312
+ MA: {
313
+ Descricao: 'MA',
314
+ Chave: 8,
315
+ Codigo_Ibge: '21',
316
+ Nome: 'Maranhão',
317
+ },
318
+ PI: {
319
+ Descricao: 'PI',
320
+ Chave: 9,
321
+ Codigo_Ibge: '22',
322
+ Nome: 'Piauí',
323
+ },
324
+ CE: {
325
+ Descricao: 'CE',
326
+ Chave: 10,
327
+ Codigo_Ibge: '23',
328
+ Nome: 'Ceará',
329
+ },
330
+ RN: {
331
+ Descricao: 'RN',
332
+ Chave: 11,
333
+ Codigo_Ibge: '24',
334
+ Nome: 'Rio Grande do Norte',
335
+ },
336
+ PB: {
337
+ Descricao: 'PB',
338
+ Chave: 12,
339
+ Codigo_Ibge: '25',
340
+ Nome: 'Rio Grande do Norte',
341
+ },
342
+ PE: {
343
+ Descricao: 'PE',
344
+ Chave: 13,
345
+ Codigo_Ibge: '26',
346
+ Nome: 'Pernambuco',
347
+ },
348
+ AL: {
349
+ Descricao: 'AL',
350
+ Chave: 14,
351
+ Codigo_Ibge: '27',
352
+ Nome: 'Alagoas',
353
+ },
354
+ SE: {
355
+ Descricao: 'SE',
356
+ Chave: 15,
357
+ Codigo_Ibge: '28',
358
+ Nome: 'Sergipe',
359
+ },
360
+ BA: {
361
+ Descricao: 'BA',
362
+ Chave: 16,
363
+ Codigo_Ibge: '29',
364
+ Nome: 'Bahia',
365
+ },
366
+ MG: {
367
+ Descricao: 'MG',
368
+ Chave: 17,
369
+ Codigo_Ibge: '31',
370
+ Nome: 'Minas Geraris',
371
+ },
372
+ ES: {
373
+ Descricao: 'ES',
374
+ Chave: 18,
375
+ Codigo_Ibge: '32',
376
+ Nome: 'Espírito Santo',
377
+ },
378
+ RJ: {
379
+ Descricao: 'RJ',
380
+ Chave: 19,
381
+ Codigo_Ibge: '33',
382
+ Nome: 'Rio de Janeiro',
383
+ },
384
+ SP: {
385
+ Descricao: 'SP',
386
+ Chave: 20,
387
+ Codigo_Ibge: '35',
388
+ Nome: 'São Paulo',
389
+ },
390
+ PR: {
391
+ Descricao: 'PR',
392
+ Chave: 21,
393
+ Codigo_Ibge: '41',
394
+ Nome: 'Paraná',
395
+ },
396
+ SC: {
397
+ Descricao: 'SC',
398
+ Chave: 22,
399
+ Codigo_Ibge: '42',
400
+ Nome: 'Santa Catarina',
401
+ },
402
+ MS: {
403
+ Descricao: 'MS',
404
+ Chave: 23,
405
+ Codigo_Ibge: '50',
406
+ Nome: 'Mato Grosso do Sul',
407
+ },
408
+ MT: {
409
+ Descricao: 'MT',
410
+ Chave: 24,
411
+ Codigo_Ibge: '51',
412
+ Nome: 'Mato Grosso',
413
+ },
414
+ GO: {
415
+ Descricao: 'GO',
416
+ Chave: 25,
417
+ Codigo_Ibge: '52',
418
+ Nome: 'Goiás',
419
+ },
420
+ DF: {
421
+ Descricao: 'DF',
422
+ Chave: 26,
423
+ Codigo_Ibge: '53',
424
+ Nome: 'Distrito Federal',
425
+ },
426
+ RS: {
427
+ Descricao: 'RS',
428
+ Chave: 27,
429
+ Codigo_Ibge: '43',
430
+ Nome: 'Rio Grande do Sul',
431
+ },
432
+ };
433
+ exports.TipoData = {
434
+ DataCadastro: '0',
435
+ DataAlteracao: '1',
436
+ DataExclusao: '2',
437
+ description(val) {
438
+ switch (val) {
439
+ case this.DataCadastro:
440
+ return 'Data de Cadastro';
441
+ case this.DataAlteracao:
442
+ return 'Data de Alteração';
443
+ case this.DataExclusao:
444
+ return 'Data de Exclusão';
445
+ default:
446
+ return 'enum not found';
447
+ }
448
+ },
449
+ };