mdz-enum 1.6.76 → 1.6.78

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`
@@ -28,7 +28,8 @@ export declare const OrigemPedido: {
28
28
  MagazineLuiza: string;
29
29
  Amazon: string;
30
30
  Shopee: string;
31
- description(val: string): "enum not found" | "PDV" | "Erp" | "Ecommerce" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee";
31
+ Integracao: string;
32
+ description(val: string): "enum not found" | "PDV" | "Erp" | "Ecommerce" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Integração";
32
33
  };
33
34
  export declare const TipoFrete: {
34
35
  ContratacaoContaRemetente: string;
@@ -72,6 +72,7 @@ exports.OrigemPedido = {
72
72
  MagazineLuiza: '5',
73
73
  Amazon: '6',
74
74
  Shopee: '7',
75
+ Integracao: '8',
75
76
  description(val) {
76
77
  switch (val) {
77
78
  case this.Erp:
@@ -90,6 +91,8 @@ exports.OrigemPedido = {
90
91
  return 'Amazon';
91
92
  case this.Shopee:
92
93
  return 'Shopee';
94
+ case this.Integracao:
95
+ return 'Integração';
93
96
  default:
94
97
  return 'enum not found';
95
98
  }
@@ -120,10 +120,18 @@ declare const SUBMENU: {
120
120
  KEY: string;
121
121
  DEFAULT: string;
122
122
  };
123
+ TYPE: {
124
+ KEY: string;
125
+ DEFAULT: string;
126
+ };
123
127
  ATTRIBUTE_ITEM: {
124
128
  KEY: string;
125
129
  DEFAULT: string;
126
130
  };
131
+ COLLECTION: {
132
+ KEY: string;
133
+ DEFAULT: string;
134
+ };
127
135
  }[];
128
136
  };
129
137
  };
@@ -94,10 +94,18 @@ const SUBMENU_DYNAMIC_ITEMS = Array.from({ length: SUBMENU_DYNAMIC_MAX_ITEMS },
94
94
  KEY: `component_submenu_dynamic_item_${position}_label`,
95
95
  DEFAULT: '',
96
96
  },
97
+ TYPE: {
98
+ KEY: `component_submenu_dynamic_item_${position}_type`,
99
+ DEFAULT: 'attribute',
100
+ },
97
101
  ATTRIBUTE_ITEM: {
98
102
  KEY: `component_submenu_dynamic_item_${position}_attribute_item`,
99
103
  DEFAULT: '',
100
104
  },
105
+ COLLECTION: {
106
+ KEY: `component_submenu_dynamic_item_${position}_collection`,
107
+ DEFAULT: '',
108
+ },
101
109
  };
102
110
  });
103
111
  const SUBMENU = {
@@ -402,10 +402,18 @@ declare const APPEARANCE_COMPONENTS: {
402
402
  KEY: string;
403
403
  DEFAULT: string;
404
404
  };
405
+ TYPE: {
406
+ KEY: string;
407
+ DEFAULT: string;
408
+ };
405
409
  ATTRIBUTE_ITEM: {
406
410
  KEY: string;
407
411
  DEFAULT: string;
408
412
  };
413
+ COLLECTION: {
414
+ KEY: string;
415
+ DEFAULT: string;
416
+ };
409
417
  }[];
410
418
  };
411
419
  };
@@ -60,5 +60,6 @@ export declare const OrigemPessoa: {
60
60
  Facebook: string;
61
61
  Radio: string;
62
62
  CarroDeSom: string;
63
- description(val: string): "enum not found" | "Pedido" | "PDV" | "ERP" | "E-commerce" | "Marketplace" | "Indicação" | "Instagram" | "WhatsApp" | "Facebook" | "Rádio" | "Carro de Som";
63
+ Integracao: string;
64
+ description(val: string): "enum not found" | "Pedido" | "PDV" | "Integração" | "ERP" | "E-commerce" | "Marketplace" | "Indicação" | "Instagram" | "WhatsApp" | "Facebook" | "Rádio" | "Carro de Som";
64
65
  };
@@ -155,6 +155,7 @@ exports.OrigemPessoa = {
155
155
  Facebook: '8',
156
156
  Radio: '9',
157
157
  CarroDeSom: '10',
158
+ Integracao: '11',
158
159
  description(val) {
159
160
  switch (val) {
160
161
  case this.Erp:
@@ -179,6 +180,8 @@ exports.OrigemPessoa = {
179
180
  return 'Rádio';
180
181
  case this.CarroDeSom:
181
182
  return 'Carro de Som';
183
+ case this.Integracao:
184
+ return 'Integração';
182
185
  default:
183
186
  return 'enum not found';
184
187
  }
@@ -139,12 +139,12 @@ export declare const Aplicativos: {
139
139
  NFSeNacional: number;
140
140
  VeroPOS: number;
141
141
  Eva: number;
142
- EvaGrowth: number;
142
+ EvaPro: number;
143
143
  EvaMensagens100: number;
144
144
  EvaMensagens500: number;
145
145
  EvaMensagens1000: number;
146
146
  Nuvemshop: number;
147
- description(val: number): "enum not found" | "TEF" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Marketplace" | "Modershop" | "Modershop Light" | "Modershop PDV" | "Loja Virtual" | "Sped" | "Cake ERP" | "Módulo Ótica" | "Nuvemshop" | "TEF Destaxa" | "Gestão Contábil" | "NFSe (Ambiente Nacional)" | "Vero POS" | "EVA" | "EVA Growth" | "EVA 100 mensagens" | "EVA 500 mensagens" | "EVA 1.000 mensagens";
147
+ description(val: number): "enum not found" | "TEF" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Marketplace" | "Modershop" | "Modershop Light" | "Modershop PDV" | "Loja Virtual" | "Sped" | "Cake ERP" | "Módulo Ótica" | "Nuvemshop" | "TEF Destaxa" | "Gestão Contábil" | "NFSe (Ambiente Nacional)" | "Vero POS" | "EVA" | "EVA Pro" | "EVA 100 mensagens" | "EVA 500 mensagens" | "EVA 1.000 mensagens";
148
148
  };
149
149
  export declare const IsDemonstracao: {
150
150
  Demonstracao: boolean;
@@ -368,7 +368,7 @@ exports.Aplicativos = {
368
368
  NFSeNacional: 21,
369
369
  VeroPOS: 22,
370
370
  Eva: 24,
371
- EvaGrowth: 25,
371
+ EvaPro: 25,
372
372
  EvaMensagens100: 26,
373
373
  EvaMensagens500: 27,
374
374
  EvaMensagens1000: 28,
@@ -415,8 +415,8 @@ exports.Aplicativos = {
415
415
  return 'Vero POS';
416
416
  case this.Eva:
417
417
  return 'EVA';
418
- case this.EvaGrowth:
419
- return 'EVA Growth';
418
+ case this.EvaPro:
419
+ return 'EVA Pro';
420
420
  case this.EvaMensagens100:
421
421
  return 'EVA 100 mensagens';
422
422
  case this.EvaMensagens500:
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "mdz-enum",
3
- "version": "1.6.76",
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.6.78",
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
+ }