mdz-enum 1.5.16 → 1.5.17
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 +1 -1
- package/dist/reports/index.d.ts +3 -1
- package/dist/reports/index.js +6 -0
- package/package.json +33 -32
package/README.MD
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
#Enumerados Moderniza
|
|
1
|
+
#Enumerados Moderniza
|
package/dist/reports/index.d.ts
CHANGED
|
@@ -15,7 +15,9 @@ export declare const AgrupamentoRelatorio: {
|
|
|
15
15
|
PlanoConta: string;
|
|
16
16
|
CentroCusto: string;
|
|
17
17
|
Preco: string;
|
|
18
|
-
|
|
18
|
+
Operacao: string;
|
|
19
|
+
MeioPagamento: string;
|
|
20
|
+
description(val: string): "enum not found" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Documento" | "Vendedor" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento";
|
|
19
21
|
};
|
|
20
22
|
export declare const AgrupamentoRelatoriosProdutos: {
|
|
21
23
|
Produto: string;
|
package/dist/reports/index.js
CHANGED
|
@@ -27,6 +27,8 @@ exports.AgrupamentoRelatorio = {
|
|
|
27
27
|
PlanoConta: '9',
|
|
28
28
|
CentroCusto: '10',
|
|
29
29
|
Preco: '11',
|
|
30
|
+
Operacao: '12',
|
|
31
|
+
MeioPagamento: '13',
|
|
30
32
|
description(val) {
|
|
31
33
|
switch (val) {
|
|
32
34
|
case this.Cliente:
|
|
@@ -51,6 +53,10 @@ exports.AgrupamentoRelatorio = {
|
|
|
51
53
|
return 'Centro de Custo';
|
|
52
54
|
case this.Preco:
|
|
53
55
|
return 'Preço';
|
|
56
|
+
case this.Operacao:
|
|
57
|
+
return 'Operação';
|
|
58
|
+
case this.MeioPagamento:
|
|
59
|
+
return 'Meio de Pagamento';
|
|
54
60
|
default:
|
|
55
61
|
return 'enum not found';
|
|
56
62
|
}
|
package/package.json
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mdz-enum",
|
|
3
|
-
"version": "1.5.
|
|
4
|
-
"description": "Enumerados ModerShop",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist",
|
|
12
|
-
"package.json",
|
|
13
|
-
"README.md"
|
|
14
|
-
],
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/moderniza-modershop/mdz-enum"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [],
|
|
20
|
-
"author": "willian.moderniza",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/moderniza-dev/mdz-enum/issues"
|
|
24
|
-
},
|
|
25
|
-
"homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@types/node": "^16.9.1",
|
|
28
|
-
"ts-node": "^10.2.1",
|
|
29
|
-
"typescript": "^4.4.3"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {}
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "mdz-enum",
|
|
3
|
+
"version": "1.5.17",
|
|
4
|
+
"description": "Enumerados ModerShop",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"package.json",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/moderniza-modershop/mdz-enum"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [],
|
|
20
|
+
"author": "willian.moderniza",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/moderniza-dev/mdz-enum/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/node": "^16.9.1",
|
|
28
|
+
"ts-node": "^10.2.1",
|
|
29
|
+
"typescript": "^4.4.3"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {}
|
|
32
|
+
}
|
|
33
|
+
|