mdz-enum 1.3.3 → 1.3.5

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.
@@ -210,7 +210,7 @@ export declare const AmbienteNotaFiscal: {
210
210
  export declare const ConsumidorFinalNotaFiscal: {
211
211
  Normal: string;
212
212
  ConsumidorFinal: string;
213
- description(val: string): "enum not found" | "Normal" | "Consumidor Final";
213
+ description(val: string): "Normal" | "enum not found" | "Consumidor Final";
214
214
  };
215
215
  export declare const IndicadorPresencaNotaFiscal: {
216
216
  NaoSeAplica: string;
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export { listEnum, listObjectEnum } from './functions';
2
2
  export { SituacaoPedido, OperacaoPedido, OrigemPedido, TipoFrete, TipoDescontoPromocao, TipoMarketplace, SituacaoProdutoMarketplace, StatusProcessoCarrinho, TipoAplicacaoTabelaPreco, TipoValorTabelaPreco, TipoGrupoComissao, MotivoPedido, SituacaoItemConsignacao, TipoDataPedido, ModalConsignacaoOperacao, TipoIntegracaoFrete, SituacaoOperacao, SituacaoPagamento, SituacaoEntrega, SituacaoEtiqueta, MotivoDevolucao, SituacaoDevolucao, SituacaoDevolucaoPedido, VariaveisPedido, } from './commercial';
3
3
  export { TipoDispositivo, TipoPermissao, TipoPeriferico, ModeloSat, ModoFinalizacao, VersaoLayoutSat, TipoPrecoPadrao, TipoEtiqueta, ModeloEtiqueta, ParametroEtiquetaProduto, ModeloPimaco, TipoImpressao, TipoInformacaoBalanca, ModeloBalanca, TipoAtualizacaoSocket, TipoArquivoExportacao, TipoImportacao, ModeloImportacao, OrigemAutorizacao, SituacaoAutorizacao, ModeloPOS, TipoOperacaoComprovanteTroca, } from './config';
4
4
  export { MeioPagamento, OperacaoOperadoraCartao, TipoCalculoParcelamento, TipoPromocao, IndicadorFormaPagamento, BandeiraCartao, SituacaoDocumentoFinanceiro, TipoLancamentoDocumentoFinanceiro, TipoCaixaOperacao, SituacaoCaixa, TipoValorConfiguracaoBoleto, SituacaoBoleto, SituacaoConciliacao, TipoDataDocumentoFinanceiro, TipoCalculoTaxaCartaoCredito, VariaveisBoleto, SituacaoContaMatera, CNAB, TipoDataBoleto, ModeloCaptura, } from './finance';
5
- export { COFINS, ICMS_CSOSN, ICMS_CST, IPI, PIS, TipoOperacaoNotaFiscal, OperacaoNotaFiscal, ModeloNotaFiscal, OrigemProduto, IdentificadorLocalDestino, AmbienteNotaFiscal, ConsumidorFinalNotaFiscal, FinalidadeEmissaoNotaFiscal, IndicadorIEDestinatario, IndicadorIntermediador, IndicadorPresencaNotaFiscal, ModalidadeBaseCalculo, ModalidadeBaseCalculoST, MotivoDesoneracao, RegimeTributario, TipoEmissaoNotaFiscal, TipoImpressaoDanfe, SituacaoNotaFiscal, TipoInformacaoAdicional, TipoDesconto, SituacaoManifestoDestinatario, TipoEventoManifestacao, PerfilSped, TipoAtividade, IndicadorEmitente, TipoCampo, OrigemCampo, VariaveisNotaFiscal, IndicadorOrigemImportacaoCombustivel, TipoNaturezaOperacaoNotaFiscal, OrigemNotaFiscal } from './fiscal';
5
+ export { COFINS, ICMS_CSOSN, ICMS_CST, IPI, PIS, TipoOperacaoNotaFiscal, OperacaoNotaFiscal, ModeloNotaFiscal, OrigemProduto, IdentificadorLocalDestino, AmbienteNotaFiscal, ConsumidorFinalNotaFiscal, FinalidadeEmissaoNotaFiscal, IndicadorIEDestinatario, IndicadorIntermediador, IndicadorPresencaNotaFiscal, ModalidadeBaseCalculo, ModalidadeBaseCalculoST, MotivoDesoneracao, RegimeTributario, TipoEmissaoNotaFiscal, TipoImpressaoDanfe, SituacaoNotaFiscal, TipoInformacaoAdicional, TipoDesconto, SituacaoManifestoDestinatario, TipoEventoManifestacao, PerfilSped, TipoAtividade, IndicadorEmitente, TipoCampo, OrigemCampo, VariaveisNotaFiscal, IndicadorOrigemImportacaoCombustivel, TipoNaturezaOperacaoNotaFiscal, OrigemNotaFiscal, } from './fiscal';
6
6
  export { Situacao, TipoCompartilhamento, TipoDescontoGeneral, TipoTempo, Uf, ProporcaoImagem, TipoLogos, StyleTypeLogos, UfDB, } from './general';
7
7
  export { TipoEndereco, TipoPessoa, GeneroPessoa, TipoOperacaoPessoaContaCorrente, TipoLancamentoValeCredito, TipoPessoaClassificacao, } from './people';
8
8
  export { TipoProduto, TipoValoracao, SituacaoMovimentacaoEstoque, OrigemMovimentacaoEstoque, OperacaoMovimentacaoEstoque, TipoCategoria, TipoImagemGaleria, TipoAtualizacaoEstoque, TipoLeiRotulagem, TipoQuantidadeInfoNutricional, TipoItem, SituacaoInventario, SituacaoItemInventario, TipoAjusteInventario, TipoMovimentacaoItemInventario, TipoDesdobramentoProduto, SituacaoQuantidadeEstoque, } from './logistics';
@@ -11,3 +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, } from './common';
14
+ export { APPEARANCE_REFERENCE, APPEARANCE_PAGES, APPEARANCE_COMPONENTS } 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.SituacaoUsuarios = exports.SituacaoPlanos = exports.SituacaoAplicativo = exports.SituacaoTicket = exports.SituacaoAtivacao = exports.EstruturaNegocio = exports.TipoBanners = exports.SituacaoOrganizacao = exports.TipoOrganizacao = exports.AgrupamentoRelatorioPessoas = exports.TipoPreco = exports.AgrupamentoRelatoriosProdutos = exports.AgrupamentoRelatorio = exports.TipoRelatorio = 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.UfDB = exports.StyleTypeLogos = exports.TipoLogos = exports.ProporcaoImagem = exports.Uf = exports.TipoTempo = exports.TipoDescontoGeneral = exports.TipoCompartilhamento = exports.Situacao = exports.OrigemNotaFiscal = exports.TipoNaturezaOperacaoNotaFiscal = exports.IndicadorOrigemImportacaoCombustivel = exports.VariaveisNotaFiscal = void 0;
6
- 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.MotivoInativacao = exports.UnidadeFederativa = exports.IsDemonstracao = exports.TipoTransacao = exports.Modulos = exports.Aplicativos = exports.TipoAplicativo = exports.SituacaoRequisicao = exports.TipoRequisicao = exports.Perfis = exports.Segmento = void 0;
6
+ exports.APPEARANCE_COMPONENTS = exports.APPEARANCE_PAGES = exports.APPEARANCE_REFERENCE = 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.MotivoInativacao = exports.UnidadeFederativa = exports.IsDemonstracao = exports.TipoTransacao = exports.Modulos = exports.Aplicativos = exports.TipoAplicativo = exports.SituacaoRequisicao = exports.TipoRequisicao = exports.Perfis = exports.Segmento = 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; } });
@@ -192,3 +192,7 @@ Object.defineProperty(exports, "SituacaoFila", { enumerable: true, get: function
192
192
  Object.defineProperty(exports, "TipoHistoricoSolicitacao", { enumerable: true, get: function () { return common_1.TipoHistoricoSolicitacao; } });
193
193
  Object.defineProperty(exports, "TipoAbrangenciaNotificacao", { enumerable: true, get: function () { return common_1.TipoAbrangenciaNotificacao; } });
194
194
  Object.defineProperty(exports, "TipoNotificacao", { enumerable: true, get: function () { return common_1.TipoNotificacao; } });
195
+ var templates_1 = require("./marketplace/templates");
196
+ Object.defineProperty(exports, "APPEARANCE_REFERENCE", { enumerable: true, get: function () { return templates_1.APPEARANCE_REFERENCE; } });
197
+ Object.defineProperty(exports, "APPEARANCE_PAGES", { enumerable: true, get: function () { return templates_1.APPEARANCE_PAGES; } });
198
+ Object.defineProperty(exports, "APPEARANCE_COMPONENTS", { enumerable: true, get: function () { return templates_1.APPEARANCE_COMPONENTS; } });
@@ -0,0 +1,185 @@
1
+ /**
2
+ * Referencia de aparencia do rodape
3
+ */
4
+ declare const FOOTER: {
5
+ /** Cor do rodape */
6
+ LIGHT: {
7
+ COLOR: {
8
+ KEY: string;
9
+ DEFAULT: string;
10
+ };
11
+ };
12
+ DARK: {
13
+ COLOR: {
14
+ KEY: string;
15
+ DEFAULT: string;
16
+ };
17
+ };
18
+ };
19
+ /**
20
+ * Referencia de aparencia do cabeçalho
21
+ */
22
+ declare const HEADER: {
23
+ /** Cor do cabeçalho */
24
+ LIGHT: {
25
+ COLOR: {
26
+ KEY: string;
27
+ DEFAULT: string;
28
+ };
29
+ };
30
+ DARK: {
31
+ COLOR: {
32
+ KEY: string;
33
+ DEFAULT: string;
34
+ };
35
+ };
36
+ };
37
+ /**
38
+ * Rerefencia de aparencia dos botoes
39
+ */
40
+ declare const BUTTON: {
41
+ /** Cor de fundo */
42
+ RADIUS: {
43
+ KEY: string;
44
+ DEFAULT: string;
45
+ VALUES: {
46
+ label: string;
47
+ value: string;
48
+ }[];
49
+ };
50
+ };
51
+ /**
52
+ * Refencia da aparencia do cartao de produtos
53
+ */
54
+ declare const PRODUCT_CARD: {
55
+ /** Arredondamento */
56
+ RADIUS: {
57
+ KEY: string;
58
+ DEFAULT: string;
59
+ VALUES: {
60
+ label: string;
61
+ value: string;
62
+ }[];
63
+ };
64
+ /** Sombra */
65
+ SHADOW: {
66
+ KEY: string;
67
+ DEFAULT: string;
68
+ VALUES: {
69
+ label: string;
70
+ value: string;
71
+ }[];
72
+ };
73
+ /** Proporcao */
74
+ PROPORTION: {
75
+ KEY: string;
76
+ DEFAULT: string;
77
+ VALUES: {
78
+ label: string;
79
+ value: string;
80
+ }[];
81
+ };
82
+ /** Mostrar botão */
83
+ SHOW_BUTTON: {
84
+ KEY: string;
85
+ DEFAULT: boolean;
86
+ };
87
+ };
88
+ /**
89
+ * Refencia da aparencia do botao de compra
90
+ */
91
+ declare const BUY_BUTTON: {
92
+ /** Fundo botao */
93
+ LIGHT: {
94
+ COLOR: {
95
+ KEY: string;
96
+ DEFAULT: string;
97
+ };
98
+ };
99
+ DARK: {
100
+ COLOR: {
101
+ KEY: string;
102
+ DEFAULT: string;
103
+ };
104
+ };
105
+ };
106
+ /**
107
+ * Referencia da aparencia do botao de adicionar ao carrinho
108
+ */
109
+ declare const CART_BUTTON: {
110
+ /** Fundo botao */
111
+ LIGHT: {
112
+ COLOR: {
113
+ KEY: string;
114
+ DEFAULT: string;
115
+ };
116
+ };
117
+ DARK: {
118
+ COLOR: {
119
+ KEY: string;
120
+ DEFAULT: string;
121
+ };
122
+ };
123
+ };
124
+ /**
125
+ * Referencia da aparencia do logo
126
+ */
127
+ declare const LOGO: {
128
+ URL: {
129
+ DESKTOP: {
130
+ KEY: string;
131
+ };
132
+ MOBILE: {
133
+ KEY: string;
134
+ };
135
+ };
136
+ FILTER: {
137
+ HEADER: {
138
+ KEY: string;
139
+ DEFAULT: string;
140
+ };
141
+ FOOTER: {
142
+ KEY: string;
143
+ DEFAULT: string;
144
+ };
145
+ LOADING: {
146
+ KEY: string;
147
+ DEFAULT: string;
148
+ };
149
+ };
150
+ TYPE: {
151
+ DESKTOP: {
152
+ KEY: string;
153
+ DEFAULT: string;
154
+ VALUES: string[];
155
+ };
156
+ MOBILE: {
157
+ KEY: string;
158
+ DEFAULT: string;
159
+ VALUES: string[];
160
+ };
161
+ };
162
+ SHAPE: {
163
+ RECTANGLE: {
164
+ TEXT: {
165
+ DESKTOP: {
166
+ KEY: string;
167
+ };
168
+ MOBILE: {
169
+ KEY: string;
170
+ };
171
+ };
172
+ };
173
+ SQUARE: {
174
+ TEXT: {
175
+ DESKTOP: {
176
+ KEY: string;
177
+ };
178
+ MOBILE: {
179
+ KEY: string;
180
+ };
181
+ };
182
+ };
183
+ };
184
+ };
185
+ export { PRODUCT_CARD, BUY_BUTTON, LOGO, BUTTON, FOOTER, HEADER, CART_BUTTON };
@@ -0,0 +1,197 @@
1
+ "use strict";
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;
4
+ /**
5
+ * Referencia de aparencia do rodape
6
+ */
7
+ const FOOTER = {
8
+ /** Cor do rodape */
9
+ LIGHT: {
10
+ COLOR: {
11
+ KEY: 'component_footer_light_color',
12
+ DEFAULT: '#624495',
13
+ },
14
+ },
15
+ DARK: {
16
+ COLOR: {
17
+ KEY: 'component_footer_dark_color',
18
+ DEFAULT: '#624495',
19
+ },
20
+ },
21
+ };
22
+ exports.FOOTER = FOOTER;
23
+ /**
24
+ * Referencia de aparencia do cabeçalho
25
+ */
26
+ const HEADER = {
27
+ /** Cor do cabeçalho */
28
+ LIGHT: {
29
+ COLOR: {
30
+ KEY: 'component_header_light_color',
31
+ DEFAULT: '#624495',
32
+ },
33
+ },
34
+ DARK: {
35
+ COLOR: {
36
+ KEY: 'component_header_dark_color',
37
+ DEFAULT: '#624495',
38
+ },
39
+ },
40
+ };
41
+ exports.HEADER = HEADER;
42
+ /**
43
+ * Rerefencia de aparencia dos botoes
44
+ */
45
+ const BUTTON = {
46
+ /** Cor de fundo */
47
+ RADIUS: {
48
+ KEY: 'component_button_radius',
49
+ DEFAULT: 'soft',
50
+ VALUES: [
51
+ { label: 'Suave', value: 'soft' },
52
+ { label: 'Normal', value: 'normal' },
53
+ { label: 'Quadrado', value: 'none' },
54
+ ],
55
+ },
56
+ };
57
+ exports.BUTTON = BUTTON;
58
+ /**
59
+ * Refencia da aparencia do cartao de produtos
60
+ */
61
+ const PRODUCT_CARD = {
62
+ /** Arredondamento */
63
+ RADIUS: {
64
+ KEY: 'component_product_card_radius',
65
+ DEFAULT: 'soft',
66
+ VALUES: [
67
+ { label: 'Suave', value: 'soft' },
68
+ { label: 'Normal', value: 'normal' },
69
+ { label: 'Quadrado', value: 'none' },
70
+ ],
71
+ },
72
+ /** Sombra */
73
+ SHADOW: {
74
+ KEY: 'component_product_card_shadow',
75
+ DEFAULT: 'soft',
76
+ VALUES: [
77
+ { label: 'Suave', value: 'soft' },
78
+ { label: 'Normal', value: 'normal' },
79
+ { label: 'Nenhuma', value: 'none' },
80
+ ],
81
+ },
82
+ /** Proporcao */
83
+ PROPORTION: {
84
+ KEY: 'component_product_card_proportion',
85
+ DEFAULT: '4/4',
86
+ VALUES: [
87
+ { label: '4/4', value: '4/4' },
88
+ { label: '3/4', value: '3/4' },
89
+ ],
90
+ },
91
+ /** Mostrar botão */
92
+ SHOW_BUTTON: {
93
+ KEY: 'component_product_card_show_button',
94
+ DEFAULT: true,
95
+ },
96
+ };
97
+ exports.PRODUCT_CARD = PRODUCT_CARD;
98
+ /**
99
+ * Refencia da aparencia do botao de compra
100
+ */
101
+ const BUY_BUTTON = {
102
+ /** Fundo botao */
103
+ LIGHT: {
104
+ COLOR: {
105
+ KEY: 'component_buy_button_color_light',
106
+ DEFAULT: '#624495',
107
+ },
108
+ },
109
+ DARK: {
110
+ COLOR: {
111
+ KEY: 'component_buy_button_color_dark',
112
+ DEFAULT: '#624495',
113
+ },
114
+ },
115
+ };
116
+ exports.BUY_BUTTON = BUY_BUTTON;
117
+ /**
118
+ * Referencia da aparencia do botao de adicionar ao carrinho
119
+ */
120
+ const CART_BUTTON = {
121
+ /** Fundo botao */
122
+ LIGHT: {
123
+ COLOR: {
124
+ KEY: 'component_cart_button_color_light',
125
+ DEFAULT: '#624495',
126
+ },
127
+ },
128
+ DARK: {
129
+ COLOR: {
130
+ KEY: 'component_cart_button_color_dark',
131
+ DEFAULT: '#624495',
132
+ },
133
+ },
134
+ };
135
+ exports.CART_BUTTON = CART_BUTTON;
136
+ /**
137
+ * Referencia da aparencia do logo
138
+ */
139
+ const LOGO = {
140
+ URL: {
141
+ DESKTOP: {
142
+ KEY: 'logo_desktop',
143
+ },
144
+ MOBILE: {
145
+ KEY: 'logo_mobile',
146
+ },
147
+ },
148
+ FILTER: {
149
+ HEADER: {
150
+ KEY: 'logo_filter_header',
151
+ DEFAULT: 'light',
152
+ },
153
+ FOOTER: {
154
+ KEY: 'logo_filter_footer',
155
+ DEFAULT: 'light',
156
+ },
157
+ LOADING: {
158
+ KEY: 'logo_filter_loading',
159
+ DEFAULT: 'light',
160
+ },
161
+ },
162
+ TYPE: {
163
+ DESKTOP: {
164
+ KEY: 'logo_type_desktop',
165
+ DEFAULT: 'rectangle',
166
+ VALUES: ['rectangle', 'square'],
167
+ },
168
+ MOBILE: {
169
+ KEY: 'logo_type_mobile',
170
+ DEFAULT: 'rectangle',
171
+ VALUES: ['rectangle', 'square'],
172
+ },
173
+ },
174
+ SHAPE: {
175
+ RECTANGLE: {
176
+ TEXT: {
177
+ DESKTOP: {
178
+ KEY: 'logo_rectangle_text_desktop',
179
+ },
180
+ MOBILE: {
181
+ KEY: 'logo_rectangle_text_mobile',
182
+ },
183
+ },
184
+ },
185
+ SQUARE: {
186
+ TEXT: {
187
+ DESKTOP: {
188
+ KEY: 'logo_square_text_desktop',
189
+ },
190
+ MOBILE: {
191
+ KEY: 'logo_square_text_mobile',
192
+ },
193
+ },
194
+ },
195
+ },
196
+ };
197
+ exports.LOGO = LOGO;
@@ -0,0 +1,233 @@
1
+ import APPEARANCE_REFERENCE from './reference';
2
+ /**
3
+ * Constante de configuração de aparência das páginas
4
+ */
5
+ declare const APPEARANCE_PAGES: {
6
+ HOME_PAGE: {
7
+ ID: number;
8
+ ORDER: {
9
+ KEY: string; /**
10
+ * Constante de configuração de aparência das páginas
11
+ */
12
+ DEFAULT: string;
13
+ };
14
+ BLOCKS: ({
15
+ id: number;
16
+ name: string;
17
+ icon: {
18
+ type: string;
19
+ size: number;
20
+ };
21
+ enabled: boolean;
22
+ immutable: boolean;
23
+ badge: null;
24
+ } | {
25
+ id: number;
26
+ name: string;
27
+ icon: {
28
+ type: string;
29
+ size: number;
30
+ };
31
+ enabled: boolean;
32
+ immutable: boolean;
33
+ badge: {
34
+ color: string;
35
+ text: string;
36
+ };
37
+ })[];
38
+ };
39
+ PRODUCT_PAGE: {
40
+ ID: number;
41
+ ORDER: {
42
+ KEY: string;
43
+ DEFAULT: string;
44
+ };
45
+ BLOCKS: ({
46
+ id: number;
47
+ name: string;
48
+ icon: {
49
+ type: string;
50
+ size: number;
51
+ };
52
+ enabled: boolean;
53
+ immutable: boolean;
54
+ badge: null;
55
+ } | {
56
+ id: number;
57
+ name: string;
58
+ icon: {
59
+ type: string;
60
+ size: number;
61
+ };
62
+ enabled: boolean;
63
+ immutable: boolean;
64
+ badge: {
65
+ color: string;
66
+ text: string;
67
+ };
68
+ })[];
69
+ };
70
+ };
71
+ /**
72
+ * Constante de configuração de aparência dos componentes
73
+ */
74
+ declare const APPEARANCE_COMPONENTS: {
75
+ PRODUCT_CARD: {
76
+ RADIUS: {
77
+ KEY: string;
78
+ DEFAULT: string;
79
+ VALUES: {
80
+ label: string;
81
+ value: string;
82
+ }[];
83
+ };
84
+ SHADOW: {
85
+ KEY: string;
86
+ DEFAULT: string;
87
+ VALUES: {
88
+ label: string;
89
+ value: string;
90
+ }[];
91
+ };
92
+ PROPORTION: {
93
+ KEY: string;
94
+ DEFAULT: string;
95
+ VALUES: {
96
+ label: string;
97
+ value: string;
98
+ }[];
99
+ };
100
+ SHOW_BUTTON: {
101
+ KEY: string;
102
+ DEFAULT: boolean;
103
+ };
104
+ };
105
+ BUTTON: {
106
+ RADIUS: {
107
+ KEY: string;
108
+ DEFAULT: string;
109
+ VALUES: {
110
+ label: string;
111
+ value: string;
112
+ }[];
113
+ };
114
+ };
115
+ BUY_BUTTON: {
116
+ LIGHT: {
117
+ COLOR: {
118
+ KEY: string;
119
+ DEFAULT: string;
120
+ };
121
+ };
122
+ DARK: {
123
+ COLOR: {
124
+ KEY: string;
125
+ DEFAULT: string;
126
+ };
127
+ };
128
+ };
129
+ LOGO: {
130
+ URL: {
131
+ DESKTOP: {
132
+ KEY: string;
133
+ };
134
+ MOBILE: {
135
+ KEY: string;
136
+ };
137
+ };
138
+ FILTER: {
139
+ HEADER: {
140
+ KEY: string;
141
+ DEFAULT: string;
142
+ };
143
+ FOOTER: {
144
+ KEY: string;
145
+ DEFAULT: string;
146
+ };
147
+ LOADING: {
148
+ KEY: string;
149
+ DEFAULT: string;
150
+ };
151
+ };
152
+ TYPE: {
153
+ DESKTOP: {
154
+ KEY: string;
155
+ DEFAULT: string;
156
+ VALUES: string[];
157
+ };
158
+ MOBILE: {
159
+ KEY: string;
160
+ DEFAULT: string;
161
+ VALUES: string[];
162
+ };
163
+ };
164
+ SHAPE: {
165
+ RECTANGLE: {
166
+ TEXT: {
167
+ DESKTOP: {
168
+ KEY: string;
169
+ };
170
+ MOBILE: {
171
+ KEY: string;
172
+ };
173
+ };
174
+ };
175
+ SQUARE: {
176
+ TEXT: {
177
+ DESKTOP: {
178
+ KEY: string;
179
+ };
180
+ MOBILE: {
181
+ KEY: string;
182
+ };
183
+ };
184
+ };
185
+ };
186
+ };
187
+ FOOTER: {
188
+ LIGHT: {
189
+ COLOR: {
190
+ KEY: string;
191
+ DEFAULT: string;
192
+ };
193
+ };
194
+ /**
195
+ * Constante de configuração de aparência das páginas
196
+ */
197
+ DARK: {
198
+ COLOR: {
199
+ KEY: string;
200
+ DEFAULT: string;
201
+ };
202
+ };
203
+ };
204
+ HEADER: {
205
+ LIGHT: {
206
+ COLOR: {
207
+ KEY: string;
208
+ DEFAULT: string;
209
+ };
210
+ };
211
+ DARK: {
212
+ COLOR: {
213
+ KEY: string;
214
+ DEFAULT: string;
215
+ };
216
+ };
217
+ };
218
+ CART_BUTTON: {
219
+ LIGHT: {
220
+ COLOR: {
221
+ KEY: string;
222
+ DEFAULT: string;
223
+ };
224
+ };
225
+ DARK: {
226
+ COLOR: {
227
+ KEY: string;
228
+ DEFAULT: string;
229
+ };
230
+ };
231
+ };
232
+ };
233
+ export { APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_REFERENCE };
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
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");
9
+ const reference_1 = __importDefault(require("./reference"));
10
+ exports.APPEARANCE_REFERENCE = reference_1.default;
11
+ /**
12
+ * Constante de configuração de aparência das páginas
13
+ */
14
+ const APPEARANCE_PAGES = {
15
+ HOME_PAGE: pages_1.HOME_PAGE,
16
+ PRODUCT_PAGE: pages_1.PRODUCT_PAGE,
17
+ };
18
+ exports.APPEARANCE_PAGES = APPEARANCE_PAGES;
19
+ /**
20
+ * Constante de configuração de aparência dos componentes
21
+ */
22
+ const APPEARANCE_COMPONENTS = {
23
+ PRODUCT_CARD: components_1.PRODUCT_CARD,
24
+ BUTTON: components_1.BUTTON,
25
+ BUY_BUTTON: components_1.BUY_BUTTON,
26
+ LOGO: components_1.LOGO,
27
+ FOOTER: components_1.FOOTER,
28
+ HEADER: components_1.HEADER,
29
+ CART_BUTTON: components_1.CART_BUTTON,
30
+ };
31
+ exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
@@ -0,0 +1,73 @@
1
+ /** Referencia da aparencia na pagina inicial */
2
+ declare const HOME_PAGE: {
3
+ ID: number;
4
+ /**
5
+ * Blocos disponiveis na pagina
6
+ */
7
+ ORDER: {
8
+ KEY: string;
9
+ DEFAULT: string;
10
+ };
11
+ BLOCKS: ({
12
+ id: number;
13
+ name: string;
14
+ icon: {
15
+ type: string;
16
+ size: number;
17
+ };
18
+ enabled: boolean;
19
+ immutable: boolean;
20
+ badge: null;
21
+ } | {
22
+ id: number;
23
+ name: string;
24
+ icon: {
25
+ type: string;
26
+ size: number;
27
+ };
28
+ enabled: boolean;
29
+ immutable: boolean;
30
+ badge: {
31
+ color: string;
32
+ text: string;
33
+ };
34
+ })[];
35
+ };
36
+ /**
37
+ * Referencia da aparencia na pagina de produto
38
+ */
39
+ declare const PRODUCT_PAGE: {
40
+ ID: number;
41
+ /**
42
+ * Blocos disponiveis na pagina
43
+ */
44
+ ORDER: {
45
+ KEY: string;
46
+ DEFAULT: string;
47
+ };
48
+ BLOCKS: ({
49
+ id: number;
50
+ name: string;
51
+ icon: {
52
+ type: string;
53
+ size: number;
54
+ };
55
+ enabled: boolean;
56
+ immutable: boolean;
57
+ badge: null;
58
+ } | {
59
+ id: number;
60
+ name: string;
61
+ icon: {
62
+ type: string;
63
+ size: number;
64
+ };
65
+ enabled: boolean;
66
+ immutable: boolean;
67
+ badge: {
68
+ color: string;
69
+ text: string;
70
+ };
71
+ })[];
72
+ };
73
+ export { HOME_PAGE, PRODUCT_PAGE };
@@ -0,0 +1,189 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRODUCT_PAGE = exports.HOME_PAGE = void 0;
4
+ const DEFAULT_ICON_SIZE = 32;
5
+ /** Referencia da aparencia na pagina inicial */
6
+ const HOME_PAGE = {
7
+ ID: 1,
8
+ /**
9
+ * Blocos disponiveis na pagina
10
+ */
11
+ ORDER: {
12
+ KEY: 'home_page_blocks',
13
+ DEFAULT: '1,2,3,4,5,6,7,8',
14
+ },
15
+ BLOCKS: [
16
+ {
17
+ id: 1,
18
+ name: 'Banners principais',
19
+ icon: { type: 'FaImages', size: DEFAULT_ICON_SIZE },
20
+ enabled: true,
21
+ immutable: true,
22
+ badge: null,
23
+ },
24
+ {
25
+ id: 2,
26
+ name: 'Categorias em destaque',
27
+ icon: {
28
+ type: 'Fatypes',
29
+ size: DEFAULT_ICON_SIZE,
30
+ },
31
+ enabled: true,
32
+ immutable: false,
33
+ badge: null,
34
+ },
35
+ {
36
+ id: 3,
37
+ name: 'Produtos em promoção',
38
+ icon: {
39
+ type: 'FaBagShopping',
40
+ size: DEFAULT_ICON_SIZE,
41
+ },
42
+ enabled: true,
43
+ immutable: false,
44
+ badge: null,
45
+ },
46
+ {
47
+ id: 4,
48
+ name: 'Últimos lançamentos',
49
+ icon: {
50
+ type: 'FaBagShopping',
51
+ size: DEFAULT_ICON_SIZE,
52
+ },
53
+ enabled: true,
54
+ immutable: false,
55
+ badge: null,
56
+ },
57
+ {
58
+ id: 5,
59
+ name: 'Produtos mais vendidos',
60
+ icon: {
61
+ type: 'FaBagShopping',
62
+ size: DEFAULT_ICON_SIZE,
63
+ },
64
+ enabled: false,
65
+ immutable: false,
66
+ badge: {
67
+ color: 'info',
68
+ text: 'Em breve',
69
+ },
70
+ },
71
+ {
72
+ id: 6,
73
+ name: 'Produtos mais vistos',
74
+ icon: {
75
+ type: 'FaBagShopping',
76
+ size: DEFAULT_ICON_SIZE,
77
+ },
78
+ enabled: false,
79
+ immutable: false,
80
+ badge: {
81
+ color: 'info',
82
+ text: 'Em breve',
83
+ },
84
+ },
85
+ {
86
+ id: 7,
87
+ name: 'Produtos selecionados',
88
+ icon: {
89
+ type: 'FaBagShopping',
90
+ size: DEFAULT_ICON_SIZE,
91
+ },
92
+ enabled: false,
93
+ immutable: false,
94
+ badge: {
95
+ color: 'info',
96
+ text: 'Em breve',
97
+ },
98
+ },
99
+ {
100
+ id: 8,
101
+ name: 'Banners personalizados',
102
+ icon: {
103
+ type: 'FaImages',
104
+ size: DEFAULT_ICON_SIZE,
105
+ },
106
+ enabled: false,
107
+ immutable: false,
108
+ badge: {
109
+ color: 'info',
110
+ text: 'Em breve',
111
+ },
112
+ },
113
+ ],
114
+ };
115
+ exports.HOME_PAGE = HOME_PAGE;
116
+ /**
117
+ * Referencia da aparencia na pagina de produto
118
+ */
119
+ const PRODUCT_PAGE = {
120
+ ID: 2,
121
+ /**
122
+ * Blocos disponiveis na pagina
123
+ */
124
+ ORDER: {
125
+ KEY: 'product_page_blocks',
126
+ DEFAULT: '1,2,3,4,5',
127
+ },
128
+ BLOCKS: [
129
+ {
130
+ id: 1,
131
+ name: 'Detalhes do produto',
132
+ icon: {
133
+ type: 'FaTag',
134
+ size: DEFAULT_ICON_SIZE,
135
+ },
136
+ enabled: true,
137
+ immutable: true,
138
+ badge: null,
139
+ },
140
+ {
141
+ id: 2,
142
+ name: 'Descrição do produto',
143
+ icon: {
144
+ type: 'Fatypes',
145
+ size: DEFAULT_ICON_SIZE,
146
+ },
147
+ enabled: true,
148
+ immutable: false,
149
+ badge: null,
150
+ },
151
+ {
152
+ id: 3,
153
+ name: 'Garantia do produto',
154
+ icon: {
155
+ type: 'FaTimeline',
156
+ size: DEFAULT_ICON_SIZE,
157
+ },
158
+ enabled: true,
159
+ immutable: false,
160
+ badge: null,
161
+ },
162
+ {
163
+ id: 4,
164
+ name: 'Produtos relacionados',
165
+ icon: {
166
+ type: 'FaBagShopping',
167
+ size: DEFAULT_ICON_SIZE,
168
+ },
169
+ enabled: true,
170
+ immutable: false,
171
+ badge: null,
172
+ },
173
+ {
174
+ id: 5,
175
+ name: 'Banners personalizados',
176
+ icon: {
177
+ type: 'FaImages',
178
+ size: DEFAULT_ICON_SIZE,
179
+ },
180
+ enabled: false,
181
+ immutable: false,
182
+ badge: {
183
+ color: 'info',
184
+ text: 'Em breve',
185
+ },
186
+ },
187
+ ],
188
+ };
189
+ exports.PRODUCT_PAGE = PRODUCT_PAGE;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Referencia de configuracao da aparencia
3
+ */
4
+ declare const APPEARANCE_REFERENCE: {
5
+ /** Cor primaria */
6
+ PRIMARY_COLOR: {
7
+ KEY: string;
8
+ DEFAULT: string;
9
+ };
10
+ /** Cor secundaria */
11
+ SECONDARY_COLOR: {
12
+ KEY: string;
13
+ DEFAULT: string;
14
+ };
15
+ };
16
+ export default APPEARANCE_REFERENCE;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Referencia de configuracao da aparencia
5
+ */
6
+ const APPEARANCE_REFERENCE = {
7
+ /** Cor primaria */
8
+ PRIMARY_COLOR: {
9
+ KEY: 'color_primary',
10
+ DEFAULT: '#624495',
11
+ },
12
+ /** Cor secundaria */
13
+ SECONDARY_COLOR: {
14
+ KEY: 'color_secondary',
15
+ DEFAULT: '#000000',
16
+ },
17
+ };
18
+ exports.default = APPEARANCE_REFERENCE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {