mdz-enum 1.5.16 → 1.5.18
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/config/index.d.ts +2 -1
- package/dist/config/index.js +3 -0
- package/dist/marketplace/templates/index.d.ts +3 -0
- 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/config/index.d.ts
CHANGED
|
@@ -107,7 +107,8 @@ export declare const TipoImportacao: {
|
|
|
107
107
|
Pessoa: string;
|
|
108
108
|
Estoque: string;
|
|
109
109
|
CodigoBarras: string;
|
|
110
|
-
|
|
110
|
+
Grade: string;
|
|
111
|
+
description(val: string): "enum not found" | "Produto" | "Pessoa" | "Estoque" | "Código de Barras" | "Grade";
|
|
111
112
|
};
|
|
112
113
|
export declare const ModeloImportacao: {
|
|
113
114
|
Importacao: string;
|
package/dist/config/index.js
CHANGED
|
@@ -302,6 +302,7 @@ exports.TipoImportacao = {
|
|
|
302
302
|
Pessoa: '2',
|
|
303
303
|
Estoque: '3',
|
|
304
304
|
CodigoBarras: '4',
|
|
305
|
+
Grade: '5',
|
|
305
306
|
description(val) {
|
|
306
307
|
switch (val) {
|
|
307
308
|
case this.Produto:
|
|
@@ -312,6 +313,8 @@ exports.TipoImportacao = {
|
|
|
312
313
|
return 'Estoque';
|
|
313
314
|
case this.CodigoBarras:
|
|
314
315
|
return 'Código de Barras';
|
|
316
|
+
case this.Grade:
|
|
317
|
+
return 'Grade';
|
|
315
318
|
default:
|
|
316
319
|
return 'enum not found';
|
|
317
320
|
}
|
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.18",
|
|
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
|
+
|