mdz-enum 1.7.28 → 1.7.29

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.
@@ -84,7 +84,9 @@ export declare const TipoCaixaOperacao: {
84
84
  Venda: string;
85
85
  Fechamento: string;
86
86
  VendaValeCredito: string;
87
- description(val: string): "enum not found" | "Venda" | "Compra" | "Entrada" | "Saída" | "Abertura" | "Pagamento" | "Recebimento" | "Fechamento" | "Venda vale crédito";
87
+ AdiantamentoPedido: string;
88
+ EstornoAdiantamentoPedido: string;
89
+ description(val: string): "enum not found" | "Venda" | "Compra" | "Entrada" | "Saída" | "Abertura" | "Pagamento" | "Recebimento" | "Fechamento" | "Venda vale crédito" | "Adiantamento de pedido" | "Devolução de adiantamento";
88
90
  };
89
91
  export declare const SituacaoCaixa: {
90
92
  Aberto: string;
@@ -231,6 +231,8 @@ exports.TipoCaixaOperacao = {
231
231
  Venda: '6',
232
232
  Fechamento: '7',
233
233
  VendaValeCredito: '8',
234
+ AdiantamentoPedido: '9',
235
+ EstornoAdiantamentoPedido: '10',
234
236
  description(val) {
235
237
  switch (val) {
236
238
  case this.Abertura:
@@ -251,6 +253,10 @@ exports.TipoCaixaOperacao = {
251
253
  return 'Fechamento';
252
254
  case this.VendaValeCredito:
253
255
  return 'Venda vale crédito';
256
+ case this.AdiantamentoPedido:
257
+ return 'Adiantamento de pedido';
258
+ case this.EstornoAdiantamentoPedido:
259
+ return 'Devolução de adiantamento';
254
260
  default:
255
261
  return 'enum not found';
256
262
  }
@@ -13,6 +13,10 @@ declare const APPEARANCE_PAGES: {
13
13
  KEY: string;
14
14
  DEFAULT: string;
15
15
  };
16
+ HOME_PAGE_CATEGORY_SELECTED: {
17
+ KEY: string;
18
+ DEFAULT: string;
19
+ };
16
20
  HOME_PAGE_CATEGORY_TITLE: {
17
21
  KEY: string;
18
22
  DEFAULT: string;
@@ -34,6 +38,10 @@ declare const APPEARANCE_PAGES: {
34
38
  KEY: string;
35
39
  DEFAULT: string;
36
40
  };
41
+ HOME_PAGE_BRANDS_SELECTED: {
42
+ KEY: string;
43
+ DEFAULT: string;
44
+ };
37
45
  HOME_PAGE_BRANDS_TITLE: {
38
46
  KEY: string;
39
47
  DEFAULT: string;
@@ -12,6 +12,13 @@ declare const HOME_PAGE: {
12
12
  KEY: string;
13
13
  DEFAULT: string;
14
14
  };
15
+ /**
16
+ * Categorias escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
17
+ */
18
+ HOME_PAGE_CATEGORY_SELECTED: {
19
+ KEY: string;
20
+ DEFAULT: string;
21
+ };
15
22
  HOME_PAGE_CATEGORY_TITLE: {
16
23
  KEY: string;
17
24
  DEFAULT: string;
@@ -33,6 +40,13 @@ declare const HOME_PAGE: {
33
40
  KEY: string;
34
41
  DEFAULT: string;
35
42
  };
43
+ /**
44
+ * Marcas escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
45
+ */
46
+ HOME_PAGE_BRANDS_SELECTED: {
47
+ KEY: string;
48
+ DEFAULT: string;
49
+ };
36
50
  HOME_PAGE_BRANDS_TITLE: {
37
51
  KEY: string;
38
52
  DEFAULT: string;
@@ -16,6 +16,13 @@ const HOME_PAGE = {
16
16
  KEY: 'home_page_categories',
17
17
  DEFAULT: '',
18
18
  },
19
+ /**
20
+ * Categorias escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
21
+ */
22
+ HOME_PAGE_CATEGORY_SELECTED: {
23
+ KEY: 'home_page_categories_selected',
24
+ DEFAULT: '',
25
+ },
19
26
  HOME_PAGE_CATEGORY_TITLE: {
20
27
  KEY: 'home_page_categories_title',
21
28
  DEFAULT: '',
@@ -37,6 +44,13 @@ const HOME_PAGE = {
37
44
  KEY: 'home_page_brands',
38
45
  DEFAULT: '',
39
46
  },
47
+ /**
48
+ * Marcas escolhidas, na ordem de exibicao. Vazio exibe todas em ordem alfabetica
49
+ */
50
+ HOME_PAGE_BRANDS_SELECTED: {
51
+ KEY: 'home_page_brands_selected',
52
+ DEFAULT: '',
53
+ },
40
54
  HOME_PAGE_BRANDS_TITLE: {
41
55
  KEY: 'home_page_brands_title',
42
56
  DEFAULT: '',
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "mdz-enum",
3
- "version": "1.7.28",
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
- }
32
-
1
+ {
2
+ "name": "mdz-enum",
3
+ "version": "1.7.29",
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
+ }
32
+