mdz-enum 1.5.85 → 1.5.87
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/README.MD +7 -7
- package/dist/checkout/index.d.ts +33 -33
- package/dist/checkout/index.js +97 -97
- package/dist/commercial/index.d.ts +232 -232
- package/dist/commercial/index.js +564 -564
- package/dist/common/index.d.ts +52 -52
- package/dist/common/index.js +151 -151
- package/dist/config/index.d.ts +176 -176
- package/dist/config/index.js +507 -507
- package/dist/finance/index.d.ts +172 -171
- package/dist/finance/index.js +448 -445
- package/dist/fiscal/index.d.ts +491 -486
- package/dist/fiscal/index.js +1221 -1207
- package/dist/functions.d.ts +11 -11
- package/dist/functions.js +74 -74
- package/dist/general/index.d.ts +265 -265
- package/dist/general/index.js +512 -512
- package/dist/index.d.ts +14 -14
- package/dist/index.js +221 -220
- package/dist/integration/index.d.ts +27 -27
- package/dist/integration/index.js +80 -80
- package/dist/logistics/index.d.ts +130 -130
- package/dist/logistics/index.js +376 -376
- package/dist/marketplace/templates/components/index.d.ts +277 -277
- package/dist/marketplace/templates/components/index.js +295 -295
- package/dist/marketplace/templates/elements/index.d.ts +32 -32
- package/dist/marketplace/templates/elements/index.js +35 -35
- package/dist/marketplace/templates/index.d.ts +471 -468
- package/dist/marketplace/templates/index.js +44 -44
- package/dist/marketplace/templates/pages/index.d.ts +207 -207
- package/dist/marketplace/templates/pages/index.js +383 -383
- package/dist/marketplace/templates/reference/index.d.ts +24 -24
- package/dist/marketplace/templates/reference/index.js +26 -26
- package/dist/people/index.d.ts +50 -50
- package/dist/people/index.js +145 -145
- package/dist/platform/index.d.ts +202 -202
- package/dist/platform/index.js +585 -585
- package/dist/reports/index.d.ts +57 -57
- package/dist/reports/index.js +168 -168
- package/package.json +33 -33
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Referencia de configuracao da aparencia (themes)
|
|
3
|
-
*/
|
|
4
|
-
declare const APPEARANCE_REFERENCE: {
|
|
5
|
-
/** Cor primaria */
|
|
6
|
-
PRIMARY_COLOR: {
|
|
7
|
-
KEY: string;
|
|
8
|
-
DEFAULT: string;
|
|
9
|
-
};
|
|
10
|
-
/** Cor secundaria */
|
|
11
|
-
SECONDARY_COLOR: {
|
|
12
|
-
KEY: string;
|
|
13
|
-
DEFAULT: string;
|
|
14
|
-
};
|
|
15
|
-
PRIMARY_TEXT_COLOR: {
|
|
16
|
-
KEY: string;
|
|
17
|
-
DEFAULT: string;
|
|
18
|
-
};
|
|
19
|
-
SECONDARY_TEXT_COLOR: {
|
|
20
|
-
KEY: string;
|
|
21
|
-
DEFAULT: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default APPEARANCE_REFERENCE;
|
|
1
|
+
/**
|
|
2
|
+
* Referencia de configuracao da aparencia (themes)
|
|
3
|
+
*/
|
|
4
|
+
declare const APPEARANCE_REFERENCE: {
|
|
5
|
+
/** Cor primaria */
|
|
6
|
+
PRIMARY_COLOR: {
|
|
7
|
+
KEY: string;
|
|
8
|
+
DEFAULT: string;
|
|
9
|
+
};
|
|
10
|
+
/** Cor secundaria */
|
|
11
|
+
SECONDARY_COLOR: {
|
|
12
|
+
KEY: string;
|
|
13
|
+
DEFAULT: string;
|
|
14
|
+
};
|
|
15
|
+
PRIMARY_TEXT_COLOR: {
|
|
16
|
+
KEY: string;
|
|
17
|
+
DEFAULT: string;
|
|
18
|
+
};
|
|
19
|
+
SECONDARY_TEXT_COLOR: {
|
|
20
|
+
KEY: string;
|
|
21
|
+
DEFAULT: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default APPEARANCE_REFERENCE;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* Referencia de configuracao da aparencia (themes)
|
|
5
|
-
*/
|
|
6
|
-
const APPEARANCE_REFERENCE = {
|
|
7
|
-
/** Cor primaria */
|
|
8
|
-
PRIMARY_COLOR: {
|
|
9
|
-
KEY: 'color_primary',
|
|
10
|
-
DEFAULT: '#8854D0',
|
|
11
|
-
},
|
|
12
|
-
/** Cor secundaria */
|
|
13
|
-
SECONDARY_COLOR: {
|
|
14
|
-
KEY: 'color_secondary',
|
|
15
|
-
DEFAULT: '#000000',
|
|
16
|
-
},
|
|
17
|
-
PRIMARY_TEXT_COLOR: {
|
|
18
|
-
KEY: 'color_primary_text',
|
|
19
|
-
DEFAULT: '#ffffff',
|
|
20
|
-
},
|
|
21
|
-
SECONDARY_TEXT_COLOR: {
|
|
22
|
-
KEY: 'color_secondary_text',
|
|
23
|
-
DEFAULT: '#ffffff',
|
|
24
|
-
},
|
|
25
|
-
};
|
|
26
|
-
exports.default = APPEARANCE_REFERENCE;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Referencia de configuracao da aparencia (themes)
|
|
5
|
+
*/
|
|
6
|
+
const APPEARANCE_REFERENCE = {
|
|
7
|
+
/** Cor primaria */
|
|
8
|
+
PRIMARY_COLOR: {
|
|
9
|
+
KEY: 'color_primary',
|
|
10
|
+
DEFAULT: '#8854D0',
|
|
11
|
+
},
|
|
12
|
+
/** Cor secundaria */
|
|
13
|
+
SECONDARY_COLOR: {
|
|
14
|
+
KEY: 'color_secondary',
|
|
15
|
+
DEFAULT: '#000000',
|
|
16
|
+
},
|
|
17
|
+
PRIMARY_TEXT_COLOR: {
|
|
18
|
+
KEY: 'color_primary_text',
|
|
19
|
+
DEFAULT: '#ffffff',
|
|
20
|
+
},
|
|
21
|
+
SECONDARY_TEXT_COLOR: {
|
|
22
|
+
KEY: 'color_secondary_text',
|
|
23
|
+
DEFAULT: '#ffffff',
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
exports.default = APPEARANCE_REFERENCE;
|
package/dist/people/index.d.ts
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export declare const TipoEndereco: {
|
|
2
|
-
Residencial: string;
|
|
3
|
-
Comercial: string;
|
|
4
|
-
description(val: string): "enum not found" | "Residencial" | "Comercial";
|
|
5
|
-
};
|
|
6
|
-
export declare const TipoPessoa: {
|
|
7
|
-
Fisico: string;
|
|
8
|
-
Juridico: string;
|
|
9
|
-
description(val: string): "enum not found" | "Físico" | "Jurídico";
|
|
10
|
-
};
|
|
11
|
-
export declare const GeneroPessoa: {
|
|
12
|
-
Masculino: string;
|
|
13
|
-
Feminino: string;
|
|
14
|
-
description(val: string): "enum not found" | "Masculino" | "Feminino";
|
|
15
|
-
};
|
|
16
|
-
export declare const TipoOperacaoPessoaContaCorrente: {
|
|
17
|
-
DevolucaoVenda: string;
|
|
18
|
-
CompraNotaFiscal: string;
|
|
19
|
-
EstornoSaldoUsado: string;
|
|
20
|
-
EstornoSaldoGerado: string;
|
|
21
|
-
Cashback: string;
|
|
22
|
-
description(val: string): "enum not found" | "Devolução de Venda" | "Compra" | "Cashback" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
|
|
23
|
-
};
|
|
24
|
-
export declare const TipoLancamentoValeCredito: {
|
|
25
|
-
Compra: string;
|
|
26
|
-
Venda: string;
|
|
27
|
-
CancelamentoVenda: string;
|
|
28
|
-
Cancelamento: string;
|
|
29
|
-
description(val: string): "enum not found" | "Venda" | "Compra" | "Cancelado" | "Venda Cancelada";
|
|
30
|
-
};
|
|
31
|
-
export declare const SituacaoValeCredito: {
|
|
32
|
-
Aberto: string;
|
|
33
|
-
Encerrado: string;
|
|
34
|
-
Cancelado: string;
|
|
35
|
-
description(val: string): "enum not found" | "Cancelado" | "Aberto" | "Encerrado";
|
|
36
|
-
};
|
|
37
|
-
export declare const TipoPessoaClassificacao: {
|
|
38
|
-
Cliente: string;
|
|
39
|
-
ConsumidorFinal: string;
|
|
40
|
-
Fornecedor: string;
|
|
41
|
-
Contador: string;
|
|
42
|
-
Transportadora: string;
|
|
43
|
-
description(val: string): "enum not found" | "Consumidor Final" | "Cliente" | "Fornecedor" | "Contador" | "Transportadora";
|
|
44
|
-
};
|
|
45
|
-
export declare const TipoDataPessoa: {
|
|
46
|
-
DataCadastro: string;
|
|
47
|
-
DataAlteracao: string;
|
|
48
|
-
DataAniversario: string;
|
|
49
|
-
description(val: string): "enum not found" | "Data de Cadastro" | "Data de Alteração" | "Data de Aniversário";
|
|
50
|
-
};
|
|
1
|
+
export declare const TipoEndereco: {
|
|
2
|
+
Residencial: string;
|
|
3
|
+
Comercial: string;
|
|
4
|
+
description(val: string): "enum not found" | "Residencial" | "Comercial";
|
|
5
|
+
};
|
|
6
|
+
export declare const TipoPessoa: {
|
|
7
|
+
Fisico: string;
|
|
8
|
+
Juridico: string;
|
|
9
|
+
description(val: string): "enum not found" | "Físico" | "Jurídico";
|
|
10
|
+
};
|
|
11
|
+
export declare const GeneroPessoa: {
|
|
12
|
+
Masculino: string;
|
|
13
|
+
Feminino: string;
|
|
14
|
+
description(val: string): "enum not found" | "Masculino" | "Feminino";
|
|
15
|
+
};
|
|
16
|
+
export declare const TipoOperacaoPessoaContaCorrente: {
|
|
17
|
+
DevolucaoVenda: string;
|
|
18
|
+
CompraNotaFiscal: string;
|
|
19
|
+
EstornoSaldoUsado: string;
|
|
20
|
+
EstornoSaldoGerado: string;
|
|
21
|
+
Cashback: string;
|
|
22
|
+
description(val: string): "enum not found" | "Devolução de Venda" | "Compra" | "Cashback" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
|
|
23
|
+
};
|
|
24
|
+
export declare const TipoLancamentoValeCredito: {
|
|
25
|
+
Compra: string;
|
|
26
|
+
Venda: string;
|
|
27
|
+
CancelamentoVenda: string;
|
|
28
|
+
Cancelamento: string;
|
|
29
|
+
description(val: string): "enum not found" | "Venda" | "Compra" | "Cancelado" | "Venda Cancelada";
|
|
30
|
+
};
|
|
31
|
+
export declare const SituacaoValeCredito: {
|
|
32
|
+
Aberto: string;
|
|
33
|
+
Encerrado: string;
|
|
34
|
+
Cancelado: string;
|
|
35
|
+
description(val: string): "enum not found" | "Cancelado" | "Aberto" | "Encerrado";
|
|
36
|
+
};
|
|
37
|
+
export declare const TipoPessoaClassificacao: {
|
|
38
|
+
Cliente: string;
|
|
39
|
+
ConsumidorFinal: string;
|
|
40
|
+
Fornecedor: string;
|
|
41
|
+
Contador: string;
|
|
42
|
+
Transportadora: string;
|
|
43
|
+
description(val: string): "enum not found" | "Consumidor Final" | "Cliente" | "Fornecedor" | "Contador" | "Transportadora";
|
|
44
|
+
};
|
|
45
|
+
export declare const TipoDataPessoa: {
|
|
46
|
+
DataCadastro: string;
|
|
47
|
+
DataAlteracao: string;
|
|
48
|
+
DataAniversario: string;
|
|
49
|
+
description(val: string): "enum not found" | "Data de Cadastro" | "Data de Alteração" | "Data de Aniversário";
|
|
50
|
+
};
|
package/dist/people/index.js
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoDataPessoa = exports.TipoPessoaClassificacao = exports.SituacaoValeCredito = exports.TipoLancamentoValeCredito = exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = void 0;
|
|
4
|
-
exports.TipoEndereco = {
|
|
5
|
-
Residencial: '0',
|
|
6
|
-
Comercial: '1',
|
|
7
|
-
description(val) {
|
|
8
|
-
switch (val) {
|
|
9
|
-
case this.Residencial:
|
|
10
|
-
return 'Residencial';
|
|
11
|
-
case this.Comercial:
|
|
12
|
-
return 'Comercial';
|
|
13
|
-
default:
|
|
14
|
-
return 'enum not found';
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
exports.TipoPessoa = {
|
|
19
|
-
Fisico: '0',
|
|
20
|
-
Juridico: '1',
|
|
21
|
-
description(val) {
|
|
22
|
-
switch (val) {
|
|
23
|
-
case this.Fisico:
|
|
24
|
-
return 'Físico';
|
|
25
|
-
case this.Juridico:
|
|
26
|
-
return 'Jurídico';
|
|
27
|
-
default:
|
|
28
|
-
return 'enum not found';
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
};
|
|
32
|
-
exports.GeneroPessoa = {
|
|
33
|
-
Masculino: '0',
|
|
34
|
-
Feminino: '1',
|
|
35
|
-
description(val) {
|
|
36
|
-
switch (val) {
|
|
37
|
-
case this.Masculino:
|
|
38
|
-
return 'Masculino';
|
|
39
|
-
case this.Feminino:
|
|
40
|
-
return 'Feminino';
|
|
41
|
-
default:
|
|
42
|
-
return 'enum not found';
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
exports.TipoOperacaoPessoaContaCorrente = {
|
|
47
|
-
DevolucaoVenda: '0',
|
|
48
|
-
CompraNotaFiscal: '1',
|
|
49
|
-
EstornoSaldoUsado: '2',
|
|
50
|
-
EstornoSaldoGerado: '3',
|
|
51
|
-
Cashback: '4',
|
|
52
|
-
description(val) {
|
|
53
|
-
switch (val) {
|
|
54
|
-
case this.DevolucaoVenda:
|
|
55
|
-
return 'Devolução de Venda';
|
|
56
|
-
case this.CompraNotaFiscal:
|
|
57
|
-
return 'Compra';
|
|
58
|
-
case this.EstornoSaldoUsado:
|
|
59
|
-
return 'Estorno de saldo usado';
|
|
60
|
-
case this.EstornoSaldoGerado:
|
|
61
|
-
return 'Estorno de Saldo Gerado';
|
|
62
|
-
case this.Cashback:
|
|
63
|
-
return 'Cashback';
|
|
64
|
-
default:
|
|
65
|
-
return 'enum not found';
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
};
|
|
69
|
-
exports.TipoLancamentoValeCredito = {
|
|
70
|
-
Compra: '0',
|
|
71
|
-
Venda: '1',
|
|
72
|
-
CancelamentoVenda: '2',
|
|
73
|
-
Cancelamento: '3',
|
|
74
|
-
description(val) {
|
|
75
|
-
switch (val) {
|
|
76
|
-
case this.Compra:
|
|
77
|
-
return 'Compra';
|
|
78
|
-
case this.Venda:
|
|
79
|
-
return 'Venda';
|
|
80
|
-
case this.CancelamentoVenda:
|
|
81
|
-
return 'Venda Cancelada';
|
|
82
|
-
case this.Cancelamento:
|
|
83
|
-
return 'Cancelado';
|
|
84
|
-
default:
|
|
85
|
-
return 'enum not found';
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
};
|
|
89
|
-
exports.SituacaoValeCredito = {
|
|
90
|
-
Aberto: '0',
|
|
91
|
-
Encerrado: '1',
|
|
92
|
-
Cancelado: '2',
|
|
93
|
-
description(val) {
|
|
94
|
-
switch (val) {
|
|
95
|
-
case this.Aberto:
|
|
96
|
-
return 'Aberto';
|
|
97
|
-
case this.Encerrado:
|
|
98
|
-
return 'Encerrado';
|
|
99
|
-
case this.Cancelado:
|
|
100
|
-
return 'Cancelado';
|
|
101
|
-
default:
|
|
102
|
-
return 'enum not found';
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
exports.TipoPessoaClassificacao = {
|
|
107
|
-
Cliente: '0',
|
|
108
|
-
ConsumidorFinal: '1',
|
|
109
|
-
Fornecedor: '2',
|
|
110
|
-
Contador: '3',
|
|
111
|
-
Transportadora: '4',
|
|
112
|
-
description(val) {
|
|
113
|
-
switch (val) {
|
|
114
|
-
case this.Cliente:
|
|
115
|
-
return 'Cliente';
|
|
116
|
-
case this.ConsumidorFinal:
|
|
117
|
-
return 'Consumidor Final';
|
|
118
|
-
case this.Fornecedor:
|
|
119
|
-
return 'Fornecedor';
|
|
120
|
-
case this.Contador:
|
|
121
|
-
return 'Contador';
|
|
122
|
-
case this.Transportadora:
|
|
123
|
-
return 'Transportadora';
|
|
124
|
-
default:
|
|
125
|
-
return 'enum not found';
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
};
|
|
129
|
-
exports.TipoDataPessoa = {
|
|
130
|
-
DataCadastro: '0',
|
|
131
|
-
DataAlteracao: '1',
|
|
132
|
-
DataAniversario: '2',
|
|
133
|
-
description(val) {
|
|
134
|
-
switch (val) {
|
|
135
|
-
case this.DataCadastro:
|
|
136
|
-
return 'Data de Cadastro';
|
|
137
|
-
case this.DataAlteracao:
|
|
138
|
-
return 'Data de Alteração';
|
|
139
|
-
case this.DataAniversario:
|
|
140
|
-
return 'Data de Aniversário';
|
|
141
|
-
default:
|
|
142
|
-
return 'enum not found';
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoDataPessoa = exports.TipoPessoaClassificacao = exports.SituacaoValeCredito = exports.TipoLancamentoValeCredito = exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = void 0;
|
|
4
|
+
exports.TipoEndereco = {
|
|
5
|
+
Residencial: '0',
|
|
6
|
+
Comercial: '1',
|
|
7
|
+
description(val) {
|
|
8
|
+
switch (val) {
|
|
9
|
+
case this.Residencial:
|
|
10
|
+
return 'Residencial';
|
|
11
|
+
case this.Comercial:
|
|
12
|
+
return 'Comercial';
|
|
13
|
+
default:
|
|
14
|
+
return 'enum not found';
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.TipoPessoa = {
|
|
19
|
+
Fisico: '0',
|
|
20
|
+
Juridico: '1',
|
|
21
|
+
description(val) {
|
|
22
|
+
switch (val) {
|
|
23
|
+
case this.Fisico:
|
|
24
|
+
return 'Físico';
|
|
25
|
+
case this.Juridico:
|
|
26
|
+
return 'Jurídico';
|
|
27
|
+
default:
|
|
28
|
+
return 'enum not found';
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
exports.GeneroPessoa = {
|
|
33
|
+
Masculino: '0',
|
|
34
|
+
Feminino: '1',
|
|
35
|
+
description(val) {
|
|
36
|
+
switch (val) {
|
|
37
|
+
case this.Masculino:
|
|
38
|
+
return 'Masculino';
|
|
39
|
+
case this.Feminino:
|
|
40
|
+
return 'Feminino';
|
|
41
|
+
default:
|
|
42
|
+
return 'enum not found';
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
exports.TipoOperacaoPessoaContaCorrente = {
|
|
47
|
+
DevolucaoVenda: '0',
|
|
48
|
+
CompraNotaFiscal: '1',
|
|
49
|
+
EstornoSaldoUsado: '2',
|
|
50
|
+
EstornoSaldoGerado: '3',
|
|
51
|
+
Cashback: '4',
|
|
52
|
+
description(val) {
|
|
53
|
+
switch (val) {
|
|
54
|
+
case this.DevolucaoVenda:
|
|
55
|
+
return 'Devolução de Venda';
|
|
56
|
+
case this.CompraNotaFiscal:
|
|
57
|
+
return 'Compra';
|
|
58
|
+
case this.EstornoSaldoUsado:
|
|
59
|
+
return 'Estorno de saldo usado';
|
|
60
|
+
case this.EstornoSaldoGerado:
|
|
61
|
+
return 'Estorno de Saldo Gerado';
|
|
62
|
+
case this.Cashback:
|
|
63
|
+
return 'Cashback';
|
|
64
|
+
default:
|
|
65
|
+
return 'enum not found';
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
exports.TipoLancamentoValeCredito = {
|
|
70
|
+
Compra: '0',
|
|
71
|
+
Venda: '1',
|
|
72
|
+
CancelamentoVenda: '2',
|
|
73
|
+
Cancelamento: '3',
|
|
74
|
+
description(val) {
|
|
75
|
+
switch (val) {
|
|
76
|
+
case this.Compra:
|
|
77
|
+
return 'Compra';
|
|
78
|
+
case this.Venda:
|
|
79
|
+
return 'Venda';
|
|
80
|
+
case this.CancelamentoVenda:
|
|
81
|
+
return 'Venda Cancelada';
|
|
82
|
+
case this.Cancelamento:
|
|
83
|
+
return 'Cancelado';
|
|
84
|
+
default:
|
|
85
|
+
return 'enum not found';
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
exports.SituacaoValeCredito = {
|
|
90
|
+
Aberto: '0',
|
|
91
|
+
Encerrado: '1',
|
|
92
|
+
Cancelado: '2',
|
|
93
|
+
description(val) {
|
|
94
|
+
switch (val) {
|
|
95
|
+
case this.Aberto:
|
|
96
|
+
return 'Aberto';
|
|
97
|
+
case this.Encerrado:
|
|
98
|
+
return 'Encerrado';
|
|
99
|
+
case this.Cancelado:
|
|
100
|
+
return 'Cancelado';
|
|
101
|
+
default:
|
|
102
|
+
return 'enum not found';
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
exports.TipoPessoaClassificacao = {
|
|
107
|
+
Cliente: '0',
|
|
108
|
+
ConsumidorFinal: '1',
|
|
109
|
+
Fornecedor: '2',
|
|
110
|
+
Contador: '3',
|
|
111
|
+
Transportadora: '4',
|
|
112
|
+
description(val) {
|
|
113
|
+
switch (val) {
|
|
114
|
+
case this.Cliente:
|
|
115
|
+
return 'Cliente';
|
|
116
|
+
case this.ConsumidorFinal:
|
|
117
|
+
return 'Consumidor Final';
|
|
118
|
+
case this.Fornecedor:
|
|
119
|
+
return 'Fornecedor';
|
|
120
|
+
case this.Contador:
|
|
121
|
+
return 'Contador';
|
|
122
|
+
case this.Transportadora:
|
|
123
|
+
return 'Transportadora';
|
|
124
|
+
default:
|
|
125
|
+
return 'enum not found';
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
exports.TipoDataPessoa = {
|
|
130
|
+
DataCadastro: '0',
|
|
131
|
+
DataAlteracao: '1',
|
|
132
|
+
DataAniversario: '2',
|
|
133
|
+
description(val) {
|
|
134
|
+
switch (val) {
|
|
135
|
+
case this.DataCadastro:
|
|
136
|
+
return 'Data de Cadastro';
|
|
137
|
+
case this.DataAlteracao:
|
|
138
|
+
return 'Data de Alteração';
|
|
139
|
+
case this.DataAniversario:
|
|
140
|
+
return 'Data de Aniversário';
|
|
141
|
+
default:
|
|
142
|
+
return 'enum not found';
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
};
|