mdz-enum 1.6.82 → 1.6.83

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 CHANGED
@@ -1,7 +1,7 @@
1
- # mdz-enum
2
-
3
- Gerenciador de enumerados e classes.
4
-
5
- VESÃO DE SOFTWARE: vide `package.json`
6
-
7
- NODE: `14.18.1`
1
+ # mdz-enum
2
+
3
+ Gerenciador de enumerados e classes.
4
+
5
+ VESÃO DE SOFTWARE: vide `package.json`
6
+
7
+ NODE: `14.18.1`
@@ -59,8 +59,8 @@ exports.TipoPagamentoSafeTwoPay = {
59
59
  },
60
60
  };
61
61
  exports.TipoProcessamentoPlugFourMarket = {
62
- CadastroProduto: 1, //Recebe payload unico para ja vincular diretamente ao marketplace
63
- AtualizacaoEstoque: 2, //Recebe payload unico para atualizar estoque
62
+ CadastroProduto: 1,
63
+ AtualizacaoEstoque: 2,
64
64
  ReceberPedido: 4,
65
65
  ConfirmarPedido: 5,
66
66
  ConfirmarEnvio: 6,
@@ -336,7 +336,9 @@ declare const APPEARANCE_COMPONENTS: {
336
336
  DEFAULT: string;
337
337
  VALUES: string[];
338
338
  };
339
- };
339
+ }; /**
340
+ * Constante de configuração de aparência dos componentes (themes)
341
+ */
340
342
  LIGHTTEXT: {
341
343
  COLOR: {
342
344
  KEY: string;
@@ -30,7 +30,7 @@ const HOME_PAGE = {
30
30
  },
31
31
  HOME_PAGE_CATEGORY_BORDER: {
32
32
  KEY: 'home_page_categories_border',
33
- DEFAULT: 'none', // 'none' | 'solid'
33
+ DEFAULT: 'none',
34
34
  VALUES: ['none', 'solid'],
35
35
  },
36
36
  HOME_PAGE_BRANDS: {
@@ -51,7 +51,7 @@ const HOME_PAGE = {
51
51
  },
52
52
  HOME_PAGE_BRANDS_BORDER: {
53
53
  KEY: 'home_page_brands_border',
54
- DEFAULT: 'none', // 'none' | 'solid'
54
+ DEFAULT: 'none',
55
55
  VALUES: ['none', 'solid'],
56
56
  },
57
57
  /**
@@ -44,7 +44,8 @@ export declare const AgrupamentoRelatoriosProdutos: {
44
44
  InventarioP7: string;
45
45
  Lote: string;
46
46
  Validade: string;
47
- description(val: string): "enum not found" | "Produto" | "Marca" | "Categoria" | "Filial" | "Lote" | "Validade" | "Unidade de Medida" | "Cenário Fiscal" | "NCM" | "Endereço de Estoque" | "Inventário P7";
47
+ CodigoBarra: string;
48
+ description(val: string): "enum not found" | "Produto" | "Marca" | "Categoria" | "Filial" | "Lote" | "Validade" | "Unidade de Medida" | "Cenário Fiscal" | "NCM" | "Código de Barra" | "Endereço de Estoque" | "Inventário P7";
48
49
  };
49
50
  export declare const TipoPreco: {
50
51
  Compra: string;
@@ -112,6 +112,7 @@ exports.AgrupamentoRelatoriosProdutos = {
112
112
  InventarioP7: '9',
113
113
  Lote: '10',
114
114
  Validade: '11',
115
+ CodigoBarra: '12',
115
116
  description(val) {
116
117
  switch (val) {
117
118
  case this.Produto:
@@ -126,6 +127,8 @@ exports.AgrupamentoRelatoriosProdutos = {
126
127
  return 'Cenário Fiscal';
127
128
  case this.NCM:
128
129
  return 'NCM';
130
+ case this.CodigoBarra:
131
+ return 'Código de Barra';
129
132
  case this.Filial:
130
133
  return 'Filial';
131
134
  case this.EnderecoEstoque:
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "mdz-enum",
3
- "version": "1.6.82",
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": {}
1
+ {
2
+ "name": "mdz-enum",
3
+ "version": "1.6.83",
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
32
  }