mdz-enum 1.6.34 → 1.6.35

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.
Files changed (42) hide show
  1. package/README.MD +7 -7
  2. package/dist/checkout/index.d.ts +33 -33
  3. package/dist/checkout/index.js +97 -97
  4. package/dist/commercial/index.d.ts +245 -243
  5. package/dist/commercial/index.js +601 -595
  6. package/dist/common/index.d.ts +59 -59
  7. package/dist/common/index.js +171 -171
  8. package/dist/config/index.d.ts +182 -182
  9. package/dist/config/index.js +525 -525
  10. package/dist/eva/index.d.ts +142 -142
  11. package/dist/eva/index.js +170 -170
  12. package/dist/finance/index.d.ts +207 -207
  13. package/dist/finance/index.js +549 -549
  14. package/dist/fiscal/index.d.ts +536 -536
  15. package/dist/fiscal/index.js +1356 -1356
  16. package/dist/functions.d.ts +11 -11
  17. package/dist/functions.js +74 -74
  18. package/dist/general/index.d.ts +265 -265
  19. package/dist/general/index.js +512 -512
  20. package/dist/index.d.ts +15 -15
  21. package/dist/index.js +246 -246
  22. package/dist/integration/index.d.ts +27 -27
  23. package/dist/integration/index.js +80 -80
  24. package/dist/logistics/index.d.ts +142 -142
  25. package/dist/logistics/index.js +410 -410
  26. package/dist/marketplace/templates/components/index.d.ts +306 -306
  27. package/dist/marketplace/templates/components/index.js +331 -331
  28. package/dist/marketplace/templates/elements/index.d.ts +32 -32
  29. package/dist/marketplace/templates/elements/index.js +35 -35
  30. package/dist/marketplace/templates/index.d.ts +523 -526
  31. package/dist/marketplace/templates/index.js +48 -48
  32. package/dist/marketplace/templates/pages/index.d.ts +233 -233
  33. package/dist/marketplace/templates/pages/index.js +413 -413
  34. package/dist/marketplace/templates/reference/index.d.ts +24 -24
  35. package/dist/marketplace/templates/reference/index.js +26 -26
  36. package/dist/people/index.d.ts +62 -62
  37. package/dist/people/index.js +180 -180
  38. package/dist/platform/index.d.ts +207 -207
  39. package/dist/platform/index.js +600 -600
  40. package/dist/reports/index.d.ts +95 -95
  41. package/dist/reports/index.js +278 -278
  42. package/package.json +33 -33
@@ -1,278 +1,278 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TendenciaDemanda = exports.FaixaCobertura = exports.StatusCompra = exports.PrioridadeCompra = exports.SituacaoQtdEstoque = exports.AgrupamentoRelatorioPessoas = exports.TipoPreco = exports.AgrupamentoRelatoriosProdutos = exports.AgrupamentoRelatorio = exports.TipoRelatorio = void 0;
4
- exports.TipoRelatorio = {
5
- Resumido: '1',
6
- Detalhado: '2',
7
- description(val) {
8
- switch (val) {
9
- case this.Resumido:
10
- return 'Resumido';
11
- case this.Detalhado:
12
- return 'Detalhado';
13
- default:
14
- return 'enum not found';
15
- }
16
- },
17
- };
18
- exports.AgrupamentoRelatorio = {
19
- Cliente: '1',
20
- Data: '2',
21
- Produto: '3',
22
- Documento: '4',
23
- Vendedor: '5',
24
- Categoria: '6',
25
- Marca: '7',
26
- Filial: '8',
27
- PlanoConta: '9',
28
- CentroCusto: '10',
29
- Preco: '11',
30
- Operacao: '12',
31
- MeioPagamento: '13',
32
- Fornecedor: '14',
33
- OperadoraCartao: '15',
34
- Colecao: '16',
35
- Lote: '17',
36
- Validade: '18',
37
- description(val) {
38
- switch (val) {
39
- case this.Cliente:
40
- return 'Cliente';
41
- case this.Data:
42
- return 'Data';
43
- case this.Produto:
44
- return 'Produto';
45
- case this.Documento:
46
- return 'Documento';
47
- case this.Vendedor:
48
- return 'Vendedor';
49
- case this.Categoria:
50
- return 'Categoria';
51
- case this.Marca:
52
- return 'Marca';
53
- case this.Filial:
54
- return 'Filial';
55
- case this.PlanoConta:
56
- return 'Plano de Contas';
57
- case this.CentroCusto:
58
- return 'Centro de Custo';
59
- case this.Preco:
60
- return 'Preço';
61
- case this.Operacao:
62
- return 'Operação';
63
- case this.MeioPagamento:
64
- return 'Meio de Pagamento';
65
- case this.Fornecedor:
66
- return 'Fornecedor';
67
- case this.OperadoraCartao:
68
- return 'Operadora Cartão';
69
- case this.Colecao:
70
- return 'Coleção';
71
- case this.Lote:
72
- return 'Lote';
73
- case this.Validade:
74
- return 'Validade';
75
- default:
76
- return 'enum not found';
77
- }
78
- },
79
- };
80
- exports.AgrupamentoRelatoriosProdutos = {
81
- Produto: '1',
82
- Categoria: '2',
83
- Marca: '3',
84
- UnidadeMedida: '4',
85
- CenarioFiscal: '5',
86
- NCM: '6',
87
- Filial: '7',
88
- EnderecoEstoque: '8',
89
- InventarioP7: '9',
90
- Lote: '10',
91
- Validade: '11',
92
- description(val) {
93
- switch (val) {
94
- case this.Produto:
95
- return 'Produto';
96
- case this.Categoria:
97
- return 'Categoria';
98
- case this.Marca:
99
- return 'Marca';
100
- case this.UnidadeMedida:
101
- return 'Unidade de Medida';
102
- case this.CenarioFiscal:
103
- return 'Cenário Fiscal';
104
- case this.NCM:
105
- return 'NCM';
106
- case this.Filial:
107
- return 'Filial';
108
- case this.EnderecoEstoque:
109
- return 'Endereço de Estoque';
110
- case this.InventarioP7:
111
- return 'Inventário P7';
112
- case this.Lote:
113
- return 'Lote';
114
- case this.Validade:
115
- return 'Validade';
116
- default:
117
- return 'enum not found';
118
- }
119
- },
120
- };
121
- exports.TipoPreco = {
122
- Compra: '1',
123
- CompraMedio: '2',
124
- Custo: '3',
125
- CustoMedio: '4',
126
- Venda: '5',
127
- VendaAtacado: '6',
128
- description(val) {
129
- switch (val) {
130
- case this.Compra:
131
- return 'Compra';
132
- case this.CompraMedio:
133
- return 'Compra médio';
134
- case this.Custo:
135
- return 'Custo';
136
- case this.CustoMedio:
137
- return 'Custo médio';
138
- case this.Venda:
139
- return 'Venda';
140
- case this.VendaAtacado:
141
- return 'Venda atacado';
142
- default:
143
- return 'enum not found';
144
- }
145
- },
146
- };
147
- exports.AgrupamentoRelatorioPessoas = {
148
- Pessoa: '0',
149
- Tipo: '1',
150
- Classificacao: '2',
151
- Cidade: '3',
152
- Origem: '4',
153
- description(val) {
154
- switch (val) {
155
- case this.Pessoa:
156
- return 'Pessoa';
157
- case this.Tipo:
158
- return 'Tipo';
159
- case this.Classificacao:
160
- return 'Classificação';
161
- case this.Cidade:
162
- return 'Cidade';
163
- case this.Origem:
164
- return 'Origem';
165
- default:
166
- return 'enum not found';
167
- }
168
- },
169
- };
170
- exports.SituacaoQtdEstoque = {
171
- Zerado: '0',
172
- Negativo: '1',
173
- Positivo: '2',
174
- description(val) {
175
- switch (val) {
176
- case this.Zerado:
177
- return 'Zerado';
178
- case this.Negativo:
179
- return 'Negativo';
180
- case this.Positivo:
181
- return 'Positivo';
182
- default:
183
- return 'enum not found';
184
- }
185
- },
186
- };
187
- exports.PrioridadeCompra = {
188
- Alta: '0',
189
- Media: '1',
190
- Baixa: '2',
191
- description(val) {
192
- switch (val) {
193
- case this.Alta:
194
- return 'Alta';
195
- case this.Media:
196
- return 'Média';
197
- case this.Baixa:
198
- return 'Baixa';
199
- default:
200
- return 'enum not found';
201
- }
202
- },
203
- };
204
- exports.StatusCompra = {
205
- ComprarUrgente: '0',
206
- Comprar: '1',
207
- Atencao: '2',
208
- Normal: '3',
209
- RevisarDemanda: '4',
210
- SemDemanda: '5',
211
- Parado: '6',
212
- Excesso: '7',
213
- description(val) {
214
- switch (val) {
215
- case this.ComprarUrgente:
216
- return 'Comprar urgente';
217
- case this.Comprar:
218
- return 'Comprar';
219
- case this.Atencao:
220
- return 'Atenção';
221
- case this.Normal:
222
- return 'Normal';
223
- case this.RevisarDemanda:
224
- return 'Revisar Demanda';
225
- case this.SemDemanda:
226
- return 'Sem demanda';
227
- case this.Parado:
228
- return 'Parado';
229
- case this.Excesso:
230
- return 'Excesso';
231
- default:
232
- return 'enum not found';
233
- }
234
- },
235
- };
236
- exports.FaixaCobertura = {
237
- Critica: '0',
238
- Baixa: '1',
239
- Normal: '2',
240
- Alta: '3',
241
- Excesso: '4',
242
- description(val) {
243
- switch (val) {
244
- case this.Critica:
245
- return 'Crítica';
246
- case this.Baixa:
247
- return 'Baixa';
248
- case this.Normal:
249
- return 'Normal';
250
- case this.Alta:
251
- return 'Alta';
252
- case this.Excesso:
253
- return 'Excesso';
254
- default:
255
- return 'enum not found';
256
- }
257
- },
258
- };
259
- exports.TendenciaDemanda = {
260
- Acelerando: '0',
261
- Estavel: '1',
262
- Desacelerando: '2',
263
- SemDemanda: '3',
264
- description(val) {
265
- switch (val) {
266
- case this.Acelerando:
267
- return 'Acelerando';
268
- case this.Estavel:
269
- return 'Estável';
270
- case this.Desacelerando:
271
- return 'Desacelerando';
272
- case this.SemDemanda:
273
- return 'Sem demanda';
274
- default:
275
- return 'enum not found';
276
- }
277
- },
278
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TendenciaDemanda = exports.FaixaCobertura = exports.StatusCompra = exports.PrioridadeCompra = exports.SituacaoQtdEstoque = exports.AgrupamentoRelatorioPessoas = exports.TipoPreco = exports.AgrupamentoRelatoriosProdutos = exports.AgrupamentoRelatorio = exports.TipoRelatorio = void 0;
4
+ exports.TipoRelatorio = {
5
+ Resumido: '1',
6
+ Detalhado: '2',
7
+ description(val) {
8
+ switch (val) {
9
+ case this.Resumido:
10
+ return 'Resumido';
11
+ case this.Detalhado:
12
+ return 'Detalhado';
13
+ default:
14
+ return 'enum not found';
15
+ }
16
+ },
17
+ };
18
+ exports.AgrupamentoRelatorio = {
19
+ Cliente: '1',
20
+ Data: '2',
21
+ Produto: '3',
22
+ Documento: '4',
23
+ Vendedor: '5',
24
+ Categoria: '6',
25
+ Marca: '7',
26
+ Filial: '8',
27
+ PlanoConta: '9',
28
+ CentroCusto: '10',
29
+ Preco: '11',
30
+ Operacao: '12',
31
+ MeioPagamento: '13',
32
+ Fornecedor: '14',
33
+ OperadoraCartao: '15',
34
+ Colecao: '16',
35
+ Lote: '17',
36
+ Validade: '18',
37
+ description(val) {
38
+ switch (val) {
39
+ case this.Cliente:
40
+ return 'Cliente';
41
+ case this.Data:
42
+ return 'Data';
43
+ case this.Produto:
44
+ return 'Produto';
45
+ case this.Documento:
46
+ return 'Documento';
47
+ case this.Vendedor:
48
+ return 'Vendedor';
49
+ case this.Categoria:
50
+ return 'Categoria';
51
+ case this.Marca:
52
+ return 'Marca';
53
+ case this.Filial:
54
+ return 'Filial';
55
+ case this.PlanoConta:
56
+ return 'Plano de Contas';
57
+ case this.CentroCusto:
58
+ return 'Centro de Custo';
59
+ case this.Preco:
60
+ return 'Preço';
61
+ case this.Operacao:
62
+ return 'Operação';
63
+ case this.MeioPagamento:
64
+ return 'Meio de Pagamento';
65
+ case this.Fornecedor:
66
+ return 'Fornecedor';
67
+ case this.OperadoraCartao:
68
+ return 'Operadora Cartão';
69
+ case this.Colecao:
70
+ return 'Coleção';
71
+ case this.Lote:
72
+ return 'Lote';
73
+ case this.Validade:
74
+ return 'Validade';
75
+ default:
76
+ return 'enum not found';
77
+ }
78
+ },
79
+ };
80
+ exports.AgrupamentoRelatoriosProdutos = {
81
+ Produto: '1',
82
+ Categoria: '2',
83
+ Marca: '3',
84
+ UnidadeMedida: '4',
85
+ CenarioFiscal: '5',
86
+ NCM: '6',
87
+ Filial: '7',
88
+ EnderecoEstoque: '8',
89
+ InventarioP7: '9',
90
+ Lote: '10',
91
+ Validade: '11',
92
+ description(val) {
93
+ switch (val) {
94
+ case this.Produto:
95
+ return 'Produto';
96
+ case this.Categoria:
97
+ return 'Categoria';
98
+ case this.Marca:
99
+ return 'Marca';
100
+ case this.UnidadeMedida:
101
+ return 'Unidade de Medida';
102
+ case this.CenarioFiscal:
103
+ return 'Cenário Fiscal';
104
+ case this.NCM:
105
+ return 'NCM';
106
+ case this.Filial:
107
+ return 'Filial';
108
+ case this.EnderecoEstoque:
109
+ return 'Endereço de Estoque';
110
+ case this.InventarioP7:
111
+ return 'Inventário P7';
112
+ case this.Lote:
113
+ return 'Lote';
114
+ case this.Validade:
115
+ return 'Validade';
116
+ default:
117
+ return 'enum not found';
118
+ }
119
+ },
120
+ };
121
+ exports.TipoPreco = {
122
+ Compra: '1',
123
+ CompraMedio: '2',
124
+ Custo: '3',
125
+ CustoMedio: '4',
126
+ Venda: '5',
127
+ VendaAtacado: '6',
128
+ description(val) {
129
+ switch (val) {
130
+ case this.Compra:
131
+ return 'Compra';
132
+ case this.CompraMedio:
133
+ return 'Compra médio';
134
+ case this.Custo:
135
+ return 'Custo';
136
+ case this.CustoMedio:
137
+ return 'Custo médio';
138
+ case this.Venda:
139
+ return 'Venda';
140
+ case this.VendaAtacado:
141
+ return 'Venda atacado';
142
+ default:
143
+ return 'enum not found';
144
+ }
145
+ },
146
+ };
147
+ exports.AgrupamentoRelatorioPessoas = {
148
+ Pessoa: '0',
149
+ Tipo: '1',
150
+ Classificacao: '2',
151
+ Cidade: '3',
152
+ Origem: '4',
153
+ description(val) {
154
+ switch (val) {
155
+ case this.Pessoa:
156
+ return 'Pessoa';
157
+ case this.Tipo:
158
+ return 'Tipo';
159
+ case this.Classificacao:
160
+ return 'Classificação';
161
+ case this.Cidade:
162
+ return 'Cidade';
163
+ case this.Origem:
164
+ return 'Origem';
165
+ default:
166
+ return 'enum not found';
167
+ }
168
+ },
169
+ };
170
+ exports.SituacaoQtdEstoque = {
171
+ Zerado: '0',
172
+ Negativo: '1',
173
+ Positivo: '2',
174
+ description(val) {
175
+ switch (val) {
176
+ case this.Zerado:
177
+ return 'Zerado';
178
+ case this.Negativo:
179
+ return 'Negativo';
180
+ case this.Positivo:
181
+ return 'Positivo';
182
+ default:
183
+ return 'enum not found';
184
+ }
185
+ },
186
+ };
187
+ exports.PrioridadeCompra = {
188
+ Alta: '0',
189
+ Media: '1',
190
+ Baixa: '2',
191
+ description(val) {
192
+ switch (val) {
193
+ case this.Alta:
194
+ return 'Alta';
195
+ case this.Media:
196
+ return 'Média';
197
+ case this.Baixa:
198
+ return 'Baixa';
199
+ default:
200
+ return 'enum not found';
201
+ }
202
+ },
203
+ };
204
+ exports.StatusCompra = {
205
+ ComprarUrgente: '0',
206
+ Comprar: '1',
207
+ Atencao: '2',
208
+ Normal: '3',
209
+ RevisarDemanda: '4',
210
+ SemDemanda: '5',
211
+ Parado: '6',
212
+ Excesso: '7',
213
+ description(val) {
214
+ switch (val) {
215
+ case this.ComprarUrgente:
216
+ return 'Comprar urgente';
217
+ case this.Comprar:
218
+ return 'Comprar';
219
+ case this.Atencao:
220
+ return 'Atenção';
221
+ case this.Normal:
222
+ return 'Normal';
223
+ case this.RevisarDemanda:
224
+ return 'Revisar Demanda';
225
+ case this.SemDemanda:
226
+ return 'Sem demanda';
227
+ case this.Parado:
228
+ return 'Parado';
229
+ case this.Excesso:
230
+ return 'Excesso';
231
+ default:
232
+ return 'enum not found';
233
+ }
234
+ },
235
+ };
236
+ exports.FaixaCobertura = {
237
+ Critica: '0',
238
+ Baixa: '1',
239
+ Normal: '2',
240
+ Alta: '3',
241
+ Excesso: '4',
242
+ description(val) {
243
+ switch (val) {
244
+ case this.Critica:
245
+ return 'Crítica';
246
+ case this.Baixa:
247
+ return 'Baixa';
248
+ case this.Normal:
249
+ return 'Normal';
250
+ case this.Alta:
251
+ return 'Alta';
252
+ case this.Excesso:
253
+ return 'Excesso';
254
+ default:
255
+ return 'enum not found';
256
+ }
257
+ },
258
+ };
259
+ exports.TendenciaDemanda = {
260
+ Acelerando: '0',
261
+ Estavel: '1',
262
+ Desacelerando: '2',
263
+ SemDemanda: '3',
264
+ description(val) {
265
+ switch (val) {
266
+ case this.Acelerando:
267
+ return 'Acelerando';
268
+ case this.Estavel:
269
+ return 'Estável';
270
+ case this.Desacelerando:
271
+ return 'Desacelerando';
272
+ case this.SemDemanda:
273
+ return 'Sem demanda';
274
+ default:
275
+ return 'enum not found';
276
+ }
277
+ },
278
+ };
package/package.json CHANGED
@@ -1,33 +1,33 @@
1
- {
2
- "name": "mdz-enum",
3
- "version": "1.6.34",
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
-
1
+ {
2
+ "name": "mdz-enum",
3
+ "version": "1.6.35",
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
+