mdz-enum 1.5.21 → 1.5.22
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 +28 -28
- package/dist/checkout/index.js +83 -83
- package/dist/commercial/index.d.ts +227 -227
- package/dist/commercial/index.js +549 -549
- package/dist/common/index.d.ts +47 -47
- package/dist/common/index.js +137 -137
- package/dist/config/index.d.ts +166 -138
- package/dist/config/index.js +478 -395
- package/dist/finance/index.d.ts +164 -164
- package/dist/finance/index.js +425 -425
- package/dist/fiscal/index.d.ts +468 -468
- package/dist/fiscal/index.js +1165 -1165
- package/dist/functions.d.ts +11 -11
- package/dist/functions.js +74 -74
- package/dist/general/index.d.ts +257 -257
- package/dist/general/index.js +489 -489
- package/dist/index.d.ts +14 -14
- package/dist/index.js +208 -208
- package/dist/integration/index.d.ts +19 -19
- package/dist/integration/index.js +57 -57
- package/dist/logistics/index.d.ts +124 -124
- package/dist/logistics/index.js +359 -359
- package/dist/marketplace/templates/components/index.d.ts +158 -158
- package/dist/marketplace/templates/components/index.js +171 -171
- 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 +292 -295
- package/dist/marketplace/templates/index.js +40 -40
- package/dist/marketplace/templates/pages/index.d.ts +140 -140
- package/dist/marketplace/templates/pages/index.js +310 -310
- package/dist/marketplace/templates/reference/index.d.ts +16 -16
- package/dist/marketplace/templates/reference/index.js +18 -18
- package/dist/people/index.d.ts +36 -36
- package/dist/people/index.js +105 -105
- package/dist/platform/index.d.ts +189 -189
- package/dist/platform/index.js +548 -548
- package/dist/reports/index.d.ts +49 -49
- package/dist/reports/index.js +145 -145
- package/package.json +33 -32
|
@@ -1,18 +1,18 @@
|
|
|
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
|
-
};
|
|
18
|
-
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
|
+
};
|
|
18
|
+
exports.default = APPEARANCE_REFERENCE;
|
package/dist/people/index.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
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
|
-
description(val: string): "enum not found" | "Venda" | "Compra";
|
|
28
|
-
};
|
|
29
|
-
export declare const TipoPessoaClassificacao: {
|
|
30
|
-
Cliente: string;
|
|
31
|
-
ConsumidorFinal: string;
|
|
32
|
-
Fornecedor: string;
|
|
33
|
-
Contador: string;
|
|
34
|
-
Transportadora: string;
|
|
35
|
-
description(val: string): "enum not found" | "Consumidor Final" | "Cliente" | "Fornecedor" | "Contador" | "Transportadora";
|
|
36
|
-
};
|
|
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
|
+
description(val: string): "enum not found" | "Venda" | "Compra";
|
|
28
|
+
};
|
|
29
|
+
export declare const TipoPessoaClassificacao: {
|
|
30
|
+
Cliente: string;
|
|
31
|
+
ConsumidorFinal: string;
|
|
32
|
+
Fornecedor: string;
|
|
33
|
+
Contador: string;
|
|
34
|
+
Transportadora: string;
|
|
35
|
+
description(val: string): "enum not found" | "Consumidor Final" | "Cliente" | "Fornecedor" | "Contador" | "Transportadora";
|
|
36
|
+
};
|
package/dist/people/index.js
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipoPessoaClassificacao = 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
|
-
description(val) {
|
|
73
|
-
switch (val) {
|
|
74
|
-
case this.Compra:
|
|
75
|
-
return 'Compra';
|
|
76
|
-
case this.Venda:
|
|
77
|
-
return 'Venda';
|
|
78
|
-
default:
|
|
79
|
-
return 'enum not found';
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
};
|
|
83
|
-
exports.TipoPessoaClassificacao = {
|
|
84
|
-
Cliente: '0',
|
|
85
|
-
ConsumidorFinal: '1',
|
|
86
|
-
Fornecedor: '2',
|
|
87
|
-
Contador: '3',
|
|
88
|
-
Transportadora: '4',
|
|
89
|
-
description(val) {
|
|
90
|
-
switch (val) {
|
|
91
|
-
case this.Cliente:
|
|
92
|
-
return 'Cliente';
|
|
93
|
-
case this.ConsumidorFinal:
|
|
94
|
-
return 'Consumidor Final';
|
|
95
|
-
case this.Fornecedor:
|
|
96
|
-
return 'Fornecedor';
|
|
97
|
-
case this.Contador:
|
|
98
|
-
return 'Contador';
|
|
99
|
-
case this.Transportadora:
|
|
100
|
-
return 'Transportadora';
|
|
101
|
-
default:
|
|
102
|
-
return 'enum not found';
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TipoPessoaClassificacao = 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
|
+
description(val) {
|
|
73
|
+
switch (val) {
|
|
74
|
+
case this.Compra:
|
|
75
|
+
return 'Compra';
|
|
76
|
+
case this.Venda:
|
|
77
|
+
return 'Venda';
|
|
78
|
+
default:
|
|
79
|
+
return 'enum not found';
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
exports.TipoPessoaClassificacao = {
|
|
84
|
+
Cliente: '0',
|
|
85
|
+
ConsumidorFinal: '1',
|
|
86
|
+
Fornecedor: '2',
|
|
87
|
+
Contador: '3',
|
|
88
|
+
Transportadora: '4',
|
|
89
|
+
description(val) {
|
|
90
|
+
switch (val) {
|
|
91
|
+
case this.Cliente:
|
|
92
|
+
return 'Cliente';
|
|
93
|
+
case this.ConsumidorFinal:
|
|
94
|
+
return 'Consumidor Final';
|
|
95
|
+
case this.Fornecedor:
|
|
96
|
+
return 'Fornecedor';
|
|
97
|
+
case this.Contador:
|
|
98
|
+
return 'Contador';
|
|
99
|
+
case this.Transportadora:
|
|
100
|
+
return 'Transportadora';
|
|
101
|
+
default:
|
|
102
|
+
return 'enum not found';
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
};
|