mdz-enum 1.5.5 → 1.5.7

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.
@@ -364,6 +364,12 @@ export declare const VariaveisNotaFiscal: {
364
364
  Tipo: string;
365
365
  Aplicacao: string;
366
366
  };
367
+ ValorIcmsCreditoSN: {
368
+ Descricao: string;
369
+ Chave: string;
370
+ Tipo: string;
371
+ Aplicacao: string;
372
+ };
367
373
  ValorBaseIcmsST: {
368
374
  Descricao: string;
369
375
  Chave: string;
@@ -1030,6 +1030,12 @@ exports.VariaveisNotaFiscal = {
1030
1030
  Tipo: exports.TipoCampo.Numerico,
1031
1031
  Aplicacao: exports.OrigemCampo.Nota,
1032
1032
  },
1033
+ ValorIcmsCreditoSN: {
1034
+ Descricao: 'Valor de crédito de ICMS SN',
1035
+ Chave: '<icms_valor_credito_sn>',
1036
+ Tipo: exports.TipoCampo.Numerico,
1037
+ Aplicacao: exports.OrigemCampo.Nota,
1038
+ },
1033
1039
  ValorBaseIcmsST: {
1034
1040
  Descricao: 'Valor base de cálculo ICMSST',
1035
1041
  Chave: '<icmsst_valor_base_calculo>',
package/dist/index.d.ts CHANGED
@@ -11,4 +11,4 @@ export { TipoOrganizacao, SituacaoOrganizacao, TipoBanners, EstruturaNegocio, Si
11
11
  export { TipoIntegracaoPagamento, TipoPagamentoTuo, TipoPagamentoSafeTwoPay } from './integration';
12
12
  export { ModoOperacaoPdv, ModoVisualizacaoMobile, TipoBuscaAutocomplete, TipoItemCheckout } from './checkout';
13
13
  export { TipoSolicitacao, SituacaoSolicitacao, SituacaoFila, TipoHistoricoSolicitacao, TipoAbrangenciaNotificacao, TipoNotificacao, TipoBusca } from './common';
14
- export { APPEARANCE_REFERENCE, APPEARANCE_PAGES, APPEARANCE_COMPONENTS } from './marketplace/templates';
14
+ export { APPEARANCE_REFERENCE, APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_ELEMENTS } from './marketplace/templates';
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OperacaoOperadoraCartao = exports.MeioPagamento = exports.TipoOperacaoComprovanteTroca = exports.ModeloPOS = exports.SituacaoAutorizacao = exports.OrigemAutorizacao = exports.ModeloImportacao = exports.TipoImportacao = exports.TipoArquivoExportacao = exports.TipoAtualizacaoSocket = exports.ModeloBalanca = exports.TipoInformacaoBalanca = exports.TipoImpressao = exports.ModeloPimaco = exports.ParametroEtiquetaProduto = exports.ModeloEtiqueta = exports.TipoEtiqueta = exports.TipoPrecoPadrao = exports.VersaoLayoutSat = exports.ModoFinalizacao = exports.ModeloSat = exports.TipoPeriferico = exports.TipoPermissao = exports.TipoDispositivo = exports.VariaveisPedido = exports.SituacaoDevolucaoPedido = exports.SituacaoDevolucao = exports.MotivoDevolucao = exports.SituacaoEtiqueta = exports.SituacaoEntrega = exports.SituacaoPagamento = exports.SituacaoOperacao = exports.TipoIntegracaoFrete = exports.ModalConsignacaoOperacao = exports.TipoDataPedido = exports.SituacaoItemConsignacao = exports.MotivoPedido = exports.TipoGrupoComissao = exports.TipoValorTabelaPreco = exports.TipoAplicacaoTabelaPreco = exports.StatusProcessoCarrinho = exports.SituacaoProdutoMarketplace = exports.TipoMarketplace = exports.TipoDescontoPromocao = exports.TipoFrete = exports.OrigemPedido = exports.OperacaoPedido = exports.SituacaoPedido = exports.listObjectEnum = exports.listEnum = void 0;
4
4
  exports.OrigemCampo = exports.TipoCampo = exports.IndicadorEmitente = exports.TipoAtividade = exports.PerfilSped = exports.TipoEventoManifestacao = exports.SituacaoManifestoDestinatario = exports.TipoDesconto = exports.TipoInformacaoAdicional = exports.SituacaoNotaFiscal = exports.TipoImpressaoDanfe = exports.TipoEmissaoNotaFiscal = exports.RegimeTributario = exports.MotivoDesoneracao = exports.ModalidadeBaseCalculoST = exports.ModalidadeBaseCalculo = exports.IndicadorPresencaNotaFiscal = exports.IndicadorIntermediador = exports.IndicadorIEDestinatario = exports.FinalidadeEmissaoNotaFiscal = exports.ConsumidorFinalNotaFiscal = exports.AmbienteNotaFiscal = exports.IdentificadorLocalDestino = exports.OrigemProduto = exports.ModeloNotaFiscal = exports.OperacaoNotaFiscal = exports.TipoOperacaoNotaFiscal = exports.PIS = exports.IPI = exports.ICMS_CST = exports.ICMS_CSOSN = exports.COFINS = exports.ModeloCaptura = exports.TipoDataBoleto = exports.CNAB = exports.SituacaoContaMatera = exports.VariaveisBoleto = exports.TipoCalculoTaxaCartaoCredito = exports.TipoDataDocumentoFinanceiro = exports.SituacaoConciliacao = exports.SituacaoBoleto = exports.TipoValorConfiguracaoBoleto = exports.SituacaoCaixa = exports.TipoCaixaOperacao = exports.TipoLancamentoDocumentoFinanceiro = exports.SituacaoDocumentoFinanceiro = exports.BandeiraCartao = exports.IndicadorFormaPagamento = exports.TipoPromocao = exports.TipoCalculoParcelamento = void 0;
5
5
  exports.SituacaoTicket = exports.SituacaoAtivacao = exports.EstruturaNegocio = exports.TipoBanners = exports.SituacaoOrganizacao = exports.TipoOrganizacao = exports.AgrupamentoRelatorioPessoas = exports.TipoPreco = exports.AgrupamentoRelatoriosProdutos = exports.AgrupamentoRelatorio = exports.TipoRelatorio = exports.TipoCodigoEtiquetaProduto = exports.SituacaoQuantidadeEstoque = exports.TipoDesdobramentoProduto = exports.TipoMovimentacaoItemInventario = exports.TipoAjusteInventario = exports.SituacaoItemInventario = exports.SituacaoInventario = exports.TipoItem = exports.TipoQuantidadeInfoNutricional = exports.TipoLeiRotulagem = exports.TipoAtualizacaoEstoque = exports.TipoImagemGaleria = exports.TipoCategoria = exports.OperacaoMovimentacaoEstoque = exports.OrigemMovimentacaoEstoque = exports.SituacaoMovimentacaoEstoque = exports.TipoValoracao = exports.TipoProduto = exports.TipoPessoaClassificacao = exports.TipoLancamentoValeCredito = exports.TipoOperacaoPessoaContaCorrente = exports.GeneroPessoa = exports.TipoPessoa = exports.TipoEndereco = exports.TipoData = exports.UfDB = exports.StyleTypeLogos = exports.TipoLogos = exports.ProporcaoImagem = exports.Uf = exports.TipoTempo = exports.TipoDescontoGeneral = exports.TipoCompartilhamento = exports.Situacao = exports.ModeloImpressao = exports.OrigemOperacao = exports.TipoNaturezaOperacaoNotaFiscal = exports.IndicadorOrigemImportacaoCombustivel = exports.VariaveisNotaFiscal = void 0;
6
- exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = exports.APPEARANCE_REFERENCE = exports.TipoBusca = exports.TipoNotificacao = exports.TipoAbrangenciaNotificacao = exports.TipoHistoricoSolicitacao = exports.SituacaoFila = exports.SituacaoSolicitacao = exports.TipoSolicitacao = exports.TipoItemCheckout = exports.TipoBuscaAutocomplete = exports.ModoVisualizacaoMobile = exports.ModoOperacaoPdv = exports.TipoPagamentoSafeTwoPay = exports.TipoPagamentoTuo = exports.TipoIntegracaoPagamento = exports.UnidadeDeNegocio = exports.MotivoInativacao = exports.UnidadeFederativa = exports.IsDemonstracao = exports.TipoTransacao = exports.Modulos = exports.Aplicativos = exports.TipoAplicativo = exports.SituacaoRequisicao = exports.TipoRequisicao = exports.Perfis = exports.Segmento = exports.SituacaoUsuarios = exports.SituacaoPlanos = exports.SituacaoAplicativo = void 0;
6
+ exports.APPEARANCE_ELEMENTS = exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = exports.APPEARANCE_REFERENCE = exports.TipoBusca = exports.TipoNotificacao = exports.TipoAbrangenciaNotificacao = exports.TipoHistoricoSolicitacao = exports.SituacaoFila = exports.SituacaoSolicitacao = exports.TipoSolicitacao = exports.TipoItemCheckout = exports.TipoBuscaAutocomplete = exports.ModoVisualizacaoMobile = exports.ModoOperacaoPdv = exports.TipoPagamentoSafeTwoPay = exports.TipoPagamentoTuo = exports.TipoIntegracaoPagamento = exports.UnidadeDeNegocio = exports.MotivoInativacao = exports.UnidadeFederativa = exports.IsDemonstracao = exports.TipoTransacao = exports.Modulos = exports.Aplicativos = exports.TipoAplicativo = exports.SituacaoRequisicao = exports.TipoRequisicao = exports.Perfis = exports.Segmento = exports.SituacaoUsuarios = exports.SituacaoPlanos = exports.SituacaoAplicativo = void 0;
7
7
  var functions_1 = require("./functions");
8
8
  Object.defineProperty(exports, "listEnum", { enumerable: true, get: function () { return functions_1.listEnum; } });
9
9
  Object.defineProperty(exports, "listObjectEnum", { enumerable: true, get: function () { return functions_1.listObjectEnum; } });
@@ -201,3 +201,4 @@ var templates_1 = require("./marketplace/templates");
201
201
  Object.defineProperty(exports, "APPEARANCE_REFERENCE", { enumerable: true, get: function () { return templates_1.APPEARANCE_REFERENCE; } });
202
202
  Object.defineProperty(exports, "APPEARANCE_PAGES", { enumerable: true, get: function () { return templates_1.APPEARANCE_PAGES; } });
203
203
  Object.defineProperty(exports, "APPEARANCE_COMPONENTS", { enumerable: true, get: function () { return templates_1.APPEARANCE_COMPONENTS; } });
204
+ Object.defineProperty(exports, "APPEARANCE_ELEMENTS", { enumerable: true, get: function () { return templates_1.APPEARANCE_ELEMENTS; } });
@@ -8,12 +8,22 @@ declare const FOOTER: {
8
8
  KEY: string;
9
9
  DEFAULT: string;
10
10
  };
11
+ LOGO_FILTER: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ VALUES: string[];
15
+ };
11
16
  };
12
17
  DARK: {
13
18
  COLOR: {
14
19
  KEY: string;
15
20
  DEFAULT: string;
16
21
  };
22
+ LOGO_FILTER: {
23
+ KEY: string;
24
+ DEFAULT: string;
25
+ VALUES: string[];
26
+ };
17
27
  };
18
28
  };
19
29
  /**
@@ -26,12 +36,22 @@ declare const HEADER: {
26
36
  KEY: string;
27
37
  DEFAULT: string;
28
38
  };
39
+ LOGO_FILTER: {
40
+ KEY: string;
41
+ DEFAULT: string;
42
+ VALUES: string[];
43
+ };
29
44
  };
30
45
  DARK: {
31
46
  COLOR: {
32
47
  KEY: string;
33
48
  DEFAULT: string;
34
49
  };
50
+ LOGO_FILTER: {
51
+ KEY: string;
52
+ DEFAULT: string;
53
+ VALUES: string[];
54
+ };
35
55
  };
36
56
  };
37
57
  /**
@@ -122,68 +142,4 @@ declare const CART_BUTTON: {
122
142
  };
123
143
  };
124
144
  };
125
- /**
126
- * Referencia da aparencia do logo
127
- */
128
- declare const LOGO: {
129
- URL: {
130
- DESKTOP: {
131
- KEY: string;
132
- };
133
- MOBILE: {
134
- KEY: string;
135
- };
136
- };
137
- FILTER: {
138
- HEADER: {
139
- KEY: string;
140
- DEFAULT: string;
141
- VALUES: string[];
142
- };
143
- FOOTER: {
144
- KEY: string;
145
- DEFAULT: string;
146
- VALUES: string[];
147
- };
148
- LOADING: {
149
- KEY: string;
150
- DEFAULT: string;
151
- VALUES: string[];
152
- };
153
- };
154
- TYPE: {
155
- DESKTOP: {
156
- KEY: string;
157
- DEFAULT: string;
158
- VALUES: string[];
159
- };
160
- MOBILE: {
161
- KEY: string;
162
- DEFAULT: string;
163
- VALUES: string[];
164
- };
165
- };
166
- SHAPE: {
167
- RECTANGLE: {
168
- TEXT: {
169
- DESKTOP: {
170
- KEY: string;
171
- };
172
- MOBILE: {
173
- KEY: string;
174
- };
175
- };
176
- };
177
- SQUARE: {
178
- TEXT: {
179
- DESKTOP: {
180
- KEY: string;
181
- };
182
- MOBILE: {
183
- KEY: string;
184
- };
185
- };
186
- };
187
- };
188
- };
189
- export { PRODUCT_CARD, BUY_BUTTON, LOGO, BUTTON, FOOTER, HEADER, CART_BUTTON };
145
+ export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, CART_BUTTON };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CART_BUTTON = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.LOGO = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
3
+ exports.CART_BUTTON = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
4
4
  /**
5
5
  * Referencia de aparencia do rodape
6
6
  */
@@ -11,12 +11,22 @@ const FOOTER = {
11
11
  KEY: 'component_footer_light_color',
12
12
  DEFAULT: '#624495',
13
13
  },
14
+ LOGO_FILTER: {
15
+ KEY: 'component_footer_logo_light_filter',
16
+ DEFAULT: 'none',
17
+ VALUES: ['light', 'dark', 'none'],
18
+ },
14
19
  },
15
20
  DARK: {
16
21
  COLOR: {
17
22
  KEY: 'component_footer_dark_color',
18
23
  DEFAULT: '#624495',
19
24
  },
25
+ LOGO_FILTER: {
26
+ KEY: 'component_footer_logo_dark_filter',
27
+ DEFAULT: 'light',
28
+ VALUES: ['light', 'dark', 'none'],
29
+ },
20
30
  },
21
31
  };
22
32
  exports.FOOTER = FOOTER;
@@ -30,12 +40,22 @@ const HEADER = {
30
40
  KEY: 'component_header_light_color',
31
41
  DEFAULT: '#624495',
32
42
  },
43
+ LOGO_FILTER: {
44
+ KEY: 'component_header_logo_light_filter',
45
+ DEFAULT: 'light',
46
+ VALUES: ['light', 'dark', 'none'],
47
+ },
33
48
  },
34
49
  DARK: {
35
50
  COLOR: {
36
51
  KEY: 'component_header_dark_color',
37
52
  DEFAULT: '#624495',
38
53
  },
54
+ LOGO_FILTER: {
55
+ KEY: 'component_header_logo_dark_filter',
56
+ DEFAULT: 'light',
57
+ VALUES: ['light', 'dark', 'none'],
58
+ },
39
59
  },
40
60
  };
41
61
  exports.HEADER = HEADER;
@@ -134,68 +154,3 @@ const CART_BUTTON = {
134
154
  },
135
155
  };
136
156
  exports.CART_BUTTON = CART_BUTTON;
137
- /**
138
- * Referencia da aparencia do logo
139
- */
140
- const LOGO = {
141
- URL: {
142
- DESKTOP: {
143
- KEY: 'logo_desktop',
144
- },
145
- MOBILE: {
146
- KEY: 'logo_mobile',
147
- },
148
- },
149
- FILTER: {
150
- HEADER: {
151
- KEY: 'logo_filter_header',
152
- DEFAULT: 'light',
153
- VALUES: ['light', 'dark', 'none'],
154
- },
155
- FOOTER: {
156
- KEY: 'logo_filter_footer',
157
- DEFAULT: 'dark',
158
- VALUES: ['light', 'dark', 'none'],
159
- },
160
- LOADING: {
161
- KEY: 'logo_filter_loading',
162
- DEFAULT: 'light',
163
- VALUES: ['light', 'dark', 'none'],
164
- },
165
- },
166
- TYPE: {
167
- DESKTOP: {
168
- KEY: 'logo_type_desktop',
169
- DEFAULT: 'rectangle',
170
- VALUES: ['rectangle', 'square'],
171
- },
172
- MOBILE: {
173
- KEY: 'logo_type_mobile',
174
- DEFAULT: 'rectangle',
175
- VALUES: ['rectangle', 'square'],
176
- },
177
- },
178
- SHAPE: {
179
- RECTANGLE: {
180
- TEXT: {
181
- DESKTOP: {
182
- KEY: 'logo_rectangle_text_desktop',
183
- },
184
- MOBILE: {
185
- KEY: 'logo_rectangle_text_mobile',
186
- },
187
- },
188
- },
189
- SQUARE: {
190
- TEXT: {
191
- DESKTOP: {
192
- KEY: 'logo_square_text_desktop',
193
- },
194
- MOBILE: {
195
- KEY: 'logo_square_text_mobile',
196
- },
197
- },
198
- },
199
- },
200
- };
201
- exports.LOGO = LOGO;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Referencia da aparencia do logo
3
+ */
4
+ declare const LOGO: {
5
+ URL: {
6
+ DESKTOP: {
7
+ KEY: string;
8
+ };
9
+ MOBILE: {
10
+ KEY: string;
11
+ };
12
+ };
13
+ TYPE: {
14
+ DESKTOP: {
15
+ KEY: string;
16
+ DEFAULT: string;
17
+ VALUES: string[];
18
+ };
19
+ MOBILE: {
20
+ KEY: string;
21
+ DEFAULT: string;
22
+ VALUES: string[];
23
+ };
24
+ };
25
+ DESCRIPTION: {
26
+ MOBILE: {
27
+ KEY: string;
28
+ };
29
+ DESKTOP: {
30
+ KEY: string;
31
+ };
32
+ };
33
+ };
34
+ export { LOGO };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LOGO = void 0;
4
+ /**
5
+ * Referencia da aparencia do logo
6
+ */
7
+ const LOGO = {
8
+ URL: {
9
+ DESKTOP: {
10
+ KEY: 'logo_desktop',
11
+ },
12
+ MOBILE: {
13
+ KEY: 'logo_mobile',
14
+ },
15
+ },
16
+ TYPE: {
17
+ DESKTOP: {
18
+ KEY: 'logo_type_desktop',
19
+ DEFAULT: 'rectangle',
20
+ VALUES: ['rectangle', 'square'],
21
+ },
22
+ MOBILE: {
23
+ KEY: 'logo_type_mobile',
24
+ DEFAULT: 'rectangle',
25
+ VALUES: ['rectangle', 'square'],
26
+ },
27
+ },
28
+ DESCRIPTION: {
29
+ MOBILE: {
30
+ KEY: 'logo_mobile_description',
31
+ },
32
+ DESKTOP: {
33
+ KEY: 'logo_desktop_description',
34
+ },
35
+ },
36
+ };
37
+ exports.LOGO = LOGO;
@@ -1,14 +1,12 @@
1
1
  import APPEARANCE_REFERENCE from './reference';
2
2
  /**
3
- * Constante de configuração de aparência das páginas
3
+ * Constante de configuração de aparência das páginas (blocks)
4
4
  */
5
5
  declare const APPEARANCE_PAGES: {
6
6
  HOME_PAGE: {
7
7
  ID: number;
8
8
  ORDER: {
9
- KEY: string; /**
10
- * Constante de configuração de aparência das páginas
11
- */
9
+ KEY: string;
12
10
  DEFAULT: string;
13
11
  };
14
12
  HOME_PAGE_CATEGORY: {
@@ -24,7 +22,9 @@ declare const APPEARANCE_PAGES: {
24
22
  DEFAULT: string;
25
23
  };
26
24
  HOME_PAGE_BRANDS_TITLE: {
27
- KEY: string;
25
+ KEY: string; /**
26
+ * Constante de configuração de referencia para elementos gerais (any)
27
+ */
28
28
  DEFAULT: string;
29
29
  };
30
30
  HOME_PAGE_SELECTED_PRODUCTS_ONE: {
@@ -47,6 +47,19 @@ declare const APPEARANCE_PAGES: {
47
47
  KEY: string;
48
48
  DEFAULT: string;
49
49
  };
50
+ BLOCK_IDS: {
51
+ BANNERS: number;
52
+ CATEGORIES: number;
53
+ PROMOTIONS: number;
54
+ LATEST: number;
55
+ BEST_SELLERS: number;
56
+ MOST_VIEWED: number;
57
+ SELECTED_PRODUCTS_ONE: number;
58
+ CUSTOM_BANNERS: number;
59
+ SELECTED_BRANDS: number;
60
+ SELECTED_PRODUCTS_TWO: number;
61
+ FEATURED_PRODUCTS: number;
62
+ };
50
63
  BLOCKS: ({
51
64
  id: number;
52
65
  name: string;
@@ -80,6 +93,13 @@ declare const APPEARANCE_PAGES: {
80
93
  KEY: string;
81
94
  DEFAULT: string;
82
95
  };
96
+ BLOCKS_IDS: {
97
+ DETAILS: number;
98
+ DESCRIPTION: number;
99
+ WARRANTY: number;
100
+ RELATED: number;
101
+ BANNERS: number;
102
+ };
83
103
  BLOCKS: ({
84
104
  id: number;
85
105
  name: string;
@@ -107,7 +127,7 @@ declare const APPEARANCE_PAGES: {
107
127
  };
108
128
  };
109
129
  /**
110
- * Constante de configuração de aparência dos componentes
130
+ * Constante de configuração de aparência dos componentes (themes)
111
131
  */
112
132
  declare const APPEARANCE_COMPONENTS: {
113
133
  PRODUCT_CARD: {
@@ -165,77 +185,61 @@ declare const APPEARANCE_COMPONENTS: {
165
185
  };
166
186
  };
167
187
  };
168
- LOGO: {
169
- URL: {
170
- DESKTOP: {
171
- KEY: string;
172
- };
173
- MOBILE: {
188
+ FOOTER: {
189
+ LIGHT: {
190
+ COLOR: {
174
191
  KEY: string;
192
+ DEFAULT: string;
175
193
  };
176
- };
177
- FILTER: {
178
- HEADER: {
194
+ LOGO_FILTER: {
179
195
  KEY: string;
180
196
  DEFAULT: string;
181
197
  VALUES: string[];
182
198
  };
183
- FOOTER: {
199
+ };
200
+ DARK: {
201
+ COLOR: {
184
202
  KEY: string;
185
203
  DEFAULT: string;
186
- VALUES: string[];
187
204
  };
188
- LOADING: {
205
+ LOGO_FILTER: {
189
206
  KEY: string;
190
207
  DEFAULT: string;
191
208
  VALUES: string[];
192
209
  };
193
210
  };
194
- TYPE: {
195
- DESKTOP: {
211
+ };
212
+ HEADER: {
213
+ LIGHT: {
214
+ COLOR: {
196
215
  KEY: string;
197
216
  DEFAULT: string;
198
- VALUES: string[];
199
217
  };
200
- MOBILE: {
218
+ LOGO_FILTER: {
201
219
  KEY: string;
202
220
  DEFAULT: string;
203
221
  VALUES: string[];
204
222
  };
205
223
  };
206
- SHAPE: {
207
- RECTANGLE: {
208
- TEXT: {
209
- DESKTOP: {
210
- KEY: string;
211
- };
212
- MOBILE: {
213
- KEY: string;
214
- };
215
- };
224
+ DARK: {
225
+ COLOR: {
226
+ KEY: string;
227
+ DEFAULT: string;
216
228
  };
217
- SQUARE: {
218
- TEXT: {
219
- DESKTOP: {
220
- KEY: string;
221
- };
222
- MOBILE: {
223
- KEY: string;
224
- };
225
- };
229
+ LOGO_FILTER: {
230
+ KEY: string;
231
+ DEFAULT: string;
232
+ VALUES: string[];
226
233
  };
227
234
  };
228
235
  };
229
- FOOTER: {
236
+ CART_BUTTON: {
230
237
  LIGHT: {
231
238
  COLOR: {
232
239
  KEY: string;
233
240
  DEFAULT: string;
234
241
  };
235
242
  };
236
- /**
237
- * Constante de configuração de aparência das páginas
238
- */
239
243
  DARK: {
240
244
  COLOR: {
241
245
  KEY: string;
@@ -243,33 +247,40 @@ declare const APPEARANCE_COMPONENTS: {
243
247
  };
244
248
  };
245
249
  };
246
- HEADER: {
247
- LIGHT: {
248
- COLOR: {
250
+ };
251
+ /**
252
+ * Constante de configuração de referencia para elementos gerais (any)
253
+ */
254
+ declare const APPEARANCE_ELEMENTS: {
255
+ LOGO: {
256
+ URL: {
257
+ DESKTOP: {
258
+ KEY: string;
259
+ };
260
+ MOBILE: {
249
261
  KEY: string;
250
- DEFAULT: string;
251
262
  };
252
263
  };
253
- DARK: {
254
- COLOR: {
264
+ TYPE: {
265
+ DESKTOP: {
255
266
  KEY: string;
256
267
  DEFAULT: string;
268
+ VALUES: string[];
257
269
  };
258
- };
259
- };
260
- CART_BUTTON: {
261
- LIGHT: {
262
- COLOR: {
270
+ MOBILE: {
263
271
  KEY: string;
264
272
  DEFAULT: string;
273
+ VALUES: string[];
265
274
  };
266
275
  };
267
- DARK: {
268
- COLOR: {
276
+ DESCRIPTION: {
277
+ MOBILE: {
278
+ KEY: string;
279
+ };
280
+ DESKTOP: {
269
281
  KEY: string;
270
- DEFAULT: string;
271
282
  };
272
283
  };
273
284
  };
274
285
  };
275
- export { APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_REFERENCE };
286
+ export { APPEARANCE_REFERENCE, APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_ELEMENTS };
@@ -3,13 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.APPEARANCE_REFERENCE = exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = void 0;
7
- const pages_1 = require("./pages");
8
- const components_1 = require("./components");
6
+ exports.APPEARANCE_ELEMENTS = exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = exports.APPEARANCE_REFERENCE = void 0;
9
7
  const reference_1 = __importDefault(require("./reference"));
10
8
  exports.APPEARANCE_REFERENCE = reference_1.default;
9
+ const pages_1 = require("./pages");
10
+ const components_1 = require("./components");
11
+ const elements_1 = require("./elements");
11
12
  /**
12
- * Constante de configuração de aparência das páginas
13
+ * Constante de configuração de aparência das páginas (blocks)
13
14
  */
14
15
  const APPEARANCE_PAGES = {
15
16
  HOME_PAGE: pages_1.HOME_PAGE,
@@ -17,15 +18,21 @@ const APPEARANCE_PAGES = {
17
18
  };
18
19
  exports.APPEARANCE_PAGES = APPEARANCE_PAGES;
19
20
  /**
20
- * Constante de configuração de aparência dos componentes
21
+ * Constante de configuração de aparência dos componentes (themes)
21
22
  */
22
23
  const APPEARANCE_COMPONENTS = {
23
24
  PRODUCT_CARD: components_1.PRODUCT_CARD,
24
25
  BUTTON: components_1.BUTTON,
25
26
  BUY_BUTTON: components_1.BUY_BUTTON,
26
- LOGO: components_1.LOGO,
27
27
  FOOTER: components_1.FOOTER,
28
28
  HEADER: components_1.HEADER,
29
29
  CART_BUTTON: components_1.CART_BUTTON,
30
30
  };
31
31
  exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
32
+ /**
33
+ * Constante de configuração de referencia para elementos gerais (any)
34
+ */
35
+ const APPEARANCE_ELEMENTS = {
36
+ LOGO: elements_1.LOGO,
37
+ };
38
+ exports.APPEARANCE_ELEMENTS = APPEARANCE_ELEMENTS;
@@ -53,6 +53,19 @@ declare const HOME_PAGE: {
53
53
  KEY: string;
54
54
  DEFAULT: string;
55
55
  };
56
+ BLOCK_IDS: {
57
+ BANNERS: number;
58
+ CATEGORIES: number;
59
+ PROMOTIONS: number;
60
+ LATEST: number;
61
+ BEST_SELLERS: number;
62
+ MOST_VIEWED: number;
63
+ SELECTED_PRODUCTS_ONE: number;
64
+ CUSTOM_BANNERS: number;
65
+ SELECTED_BRANDS: number;
66
+ SELECTED_PRODUCTS_TWO: number;
67
+ FEATURED_PRODUCTS: number;
68
+ };
56
69
  BLOCKS: ({
57
70
  id: number;
58
71
  name: string;
@@ -92,6 +105,13 @@ declare const PRODUCT_PAGE: {
92
105
  KEY: string;
93
106
  DEFAULT: string;
94
107
  };
108
+ BLOCKS_IDS: {
109
+ DETAILS: number;
110
+ DESCRIPTION: number;
111
+ WARRANTY: number;
112
+ RELATED: number;
113
+ BANNERS: number;
114
+ };
95
115
  BLOCKS: ({
96
116
  id: number;
97
117
  name: string;
@@ -57,6 +57,19 @@ const HOME_PAGE = {
57
57
  KEY: 'home_page_featured_products',
58
58
  DEFAULT: '',
59
59
  },
60
+ BLOCK_IDS: {
61
+ BANNERS: 1,
62
+ CATEGORIES: 2,
63
+ PROMOTIONS: 3,
64
+ LATEST: 4,
65
+ BEST_SELLERS: 5,
66
+ MOST_VIEWED: 6,
67
+ SELECTED_PRODUCTS_ONE: 7,
68
+ CUSTOM_BANNERS: 8,
69
+ SELECTED_BRANDS: 9,
70
+ SELECTED_PRODUCTS_TWO: 10,
71
+ FEATURED_PRODUCTS: 11,
72
+ },
60
73
  BLOCKS: [
61
74
  {
62
75
  id: 1,
@@ -226,6 +239,13 @@ const PRODUCT_PAGE = {
226
239
  KEY: 'product_page_blocks',
227
240
  DEFAULT: '1,2,3,4,5',
228
241
  },
242
+ BLOCKS_IDS: {
243
+ DETAILS: 1,
244
+ DESCRIPTION: 2,
245
+ WARRANTY: 3,
246
+ RELATED: 4,
247
+ BANNERS: 5,
248
+ },
229
249
  BLOCKS: [
230
250
  {
231
251
  id: 1,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Referencia de configuracao da aparencia
2
+ * Referencia de configuracao da aparencia (themes)
3
3
  */
4
4
  declare const APPEARANCE_REFERENCE: {
5
5
  /** Cor primaria */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
- * Referencia de configuracao da aparencia
4
+ * Referencia de configuracao da aparencia (themes)
5
5
  */
6
6
  const APPEARANCE_REFERENCE = {
7
7
  /** Cor primaria */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {