mdz-enum 1.3.2 → 1.3.4
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/dist/commercial/index.d.ts +3 -2
- package/dist/commercial/index.js +3 -0
- package/dist/config/index.d.ts +2 -1
- package/dist/config/index.js +3 -0
- package/dist/fiscal/index.d.ts +6 -1
- package/dist/fiscal/index.js +15 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -2
- package/dist/marketplace/templates/components/index.d.ts +163 -0
- package/dist/marketplace/templates/components/index.js +174 -0
- package/dist/marketplace/templates/index.d.ts +206 -0
- package/dist/marketplace/templates/index.js +30 -0
- package/dist/marketplace/templates/pages/index.d.ts +69 -0
- package/dist/marketplace/templates/pages/index.js +166 -0
- package/dist/marketplace/templates/reference/index.d.ts +16 -0
- package/dist/marketplace/templates/reference/index.js +18 -0
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ export declare const OrigemPedido: {
|
|
|
23
23
|
Ecommerce: string;
|
|
24
24
|
MercadoLivre: string;
|
|
25
25
|
PDV: string;
|
|
26
|
-
description(val: string): "enum not found" | "Erp" | "Ecommerce" | "Mercado Livre"
|
|
26
|
+
description(val: string): "enum not found" | "PDV" | "Erp" | "Ecommerce" | "Mercado Livre";
|
|
27
27
|
};
|
|
28
28
|
export declare const TipoFrete: {
|
|
29
29
|
ContratacaoContaRemetente: string;
|
|
@@ -115,7 +115,8 @@ export declare const SituacaoOperacao: {
|
|
|
115
115
|
Pendente: string;
|
|
116
116
|
Processado: string;
|
|
117
117
|
EmProcessamento: string;
|
|
118
|
-
|
|
118
|
+
Erro: string;
|
|
119
|
+
description(val: string): "enum not found" | "Pendente" | "Erro" | "Em processamento" | "Processado" | "Em edição";
|
|
119
120
|
};
|
|
120
121
|
export declare const SituacaoPagamento: {
|
|
121
122
|
Pendente: string;
|
package/dist/commercial/index.js
CHANGED
|
@@ -327,6 +327,7 @@ exports.SituacaoOperacao = {
|
|
|
327
327
|
Pendente: '2',
|
|
328
328
|
Processado: '3',
|
|
329
329
|
EmProcessamento: '4',
|
|
330
|
+
Erro: '5',
|
|
330
331
|
description(val) {
|
|
331
332
|
switch (val) {
|
|
332
333
|
case this.EmEdicao:
|
|
@@ -337,6 +338,8 @@ exports.SituacaoOperacao = {
|
|
|
337
338
|
return 'Processado';
|
|
338
339
|
case this.EmProcessamento:
|
|
339
340
|
return 'Em processamento';
|
|
341
|
+
case this.Erro:
|
|
342
|
+
return 'Erro';
|
|
340
343
|
default:
|
|
341
344
|
return 'enum not found';
|
|
342
345
|
}
|
package/dist/config/index.d.ts
CHANGED
|
@@ -73,7 +73,8 @@ export declare const ParametroEtiquetaProduto: {
|
|
|
73
73
|
Pvp: string;
|
|
74
74
|
Pap: string;
|
|
75
75
|
Nomel2: string;
|
|
76
|
-
|
|
76
|
+
Gradel2: string;
|
|
77
|
+
description(val: string): "enum not found" | "Sku" | "Descrição" | "Descrição Linha 2" | "Codigo de Barras" | "Marca" | "Variação" | "Preço Varejo" | "Preço Atacado" | "Preço Varejo Promocional" | "Preço Atacado Promocional" | "Descrição Variação Linha 2";
|
|
77
78
|
};
|
|
78
79
|
export declare const ModeloPimaco: {
|
|
79
80
|
M6187: string;
|
package/dist/config/index.js
CHANGED
|
@@ -194,6 +194,7 @@ exports.ParametroEtiquetaProduto = {
|
|
|
194
194
|
Pvp: '8',
|
|
195
195
|
Pap: '9',
|
|
196
196
|
Nomel2: '10',
|
|
197
|
+
Gradel2: '11',
|
|
197
198
|
description(val) {
|
|
198
199
|
switch (val) {
|
|
199
200
|
case this.Sku:
|
|
@@ -216,6 +217,8 @@ exports.ParametroEtiquetaProduto = {
|
|
|
216
217
|
return 'Preço Varejo Promocional';
|
|
217
218
|
case this.Pap:
|
|
218
219
|
return 'Preço Atacado Promocional';
|
|
220
|
+
case this.Gradel2:
|
|
221
|
+
return 'Descrição Variação Linha 2';
|
|
219
222
|
default:
|
|
220
223
|
return 'enum not found';
|
|
221
224
|
}
|
package/dist/fiscal/index.d.ts
CHANGED
|
@@ -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" | "
|
|
213
|
+
description(val: string): "Normal" | "enum not found" | "Consumidor Final";
|
|
214
214
|
};
|
|
215
215
|
export declare const IndicadorPresencaNotaFiscal: {
|
|
216
216
|
NaoSeAplica: string;
|
|
@@ -447,3 +447,8 @@ export declare const IndicadorOrigemImportacaoCombustivel: {
|
|
|
447
447
|
Importado: string;
|
|
448
448
|
description(val: string): "enum not found" | "Nacional" | "Importado";
|
|
449
449
|
};
|
|
450
|
+
export declare const OrigemNotaFiscal: {
|
|
451
|
+
NotaFiscal: string;
|
|
452
|
+
PDV: string;
|
|
453
|
+
description(val: string): "enum not found" | "Nota Fiscal" | "PDV";
|
|
454
|
+
};
|
package/dist/fiscal/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IndicadorOrigemImportacaoCombustivel = exports.VariaveisNotaFiscal = exports.TipoCampo = exports.OrigemCampo = exports.IndicadorEmitente = exports.TipoAtividade = exports.PerfilSped = exports.TipoEventoManifestacao = exports.TipoDesconto = exports.TipoInformacaoAdicional = exports.SituacaoManifestoDestinatario = exports.SituacaoNotaFiscal = exports.MotivoDesoneracao = exports.ModalidadeBaseCalculoST = exports.ModalidadeBaseCalculo = exports.IndicadorIEDestinatario = exports.RegimeTributario = exports.IndicadorIntermediador = exports.IndicadorPresencaNotaFiscal = exports.ConsumidorFinalNotaFiscal = exports.AmbienteNotaFiscal = exports.FinalidadeEmissaoNotaFiscal = exports.TipoEmissaoNotaFiscal = exports.TipoImpressaoDanfe = exports.IdentificadorLocalDestino = exports.ModeloNotaFiscal = exports.OperacaoNotaFiscal = exports.TipoNaturezaOperacaoNotaFiscal = exports.TipoOperacaoNotaFiscal = exports.OrigemProduto = exports.COFINS = exports.PIS = exports.IPI = exports.ICMS_CSOSN = exports.ICMS_CST = void 0;
|
|
3
|
+
exports.OrigemNotaFiscal = exports.IndicadorOrigemImportacaoCombustivel = exports.VariaveisNotaFiscal = exports.TipoCampo = exports.OrigemCampo = exports.IndicadorEmitente = exports.TipoAtividade = exports.PerfilSped = exports.TipoEventoManifestacao = exports.TipoDesconto = exports.TipoInformacaoAdicional = exports.SituacaoManifestoDestinatario = exports.SituacaoNotaFiscal = exports.MotivoDesoneracao = exports.ModalidadeBaseCalculoST = exports.ModalidadeBaseCalculo = exports.IndicadorIEDestinatario = exports.RegimeTributario = exports.IndicadorIntermediador = exports.IndicadorPresencaNotaFiscal = exports.ConsumidorFinalNotaFiscal = exports.AmbienteNotaFiscal = exports.FinalidadeEmissaoNotaFiscal = exports.TipoEmissaoNotaFiscal = exports.TipoImpressaoDanfe = exports.IdentificadorLocalDestino = exports.ModeloNotaFiscal = exports.OperacaoNotaFiscal = exports.TipoNaturezaOperacaoNotaFiscal = exports.TipoOperacaoNotaFiscal = exports.OrigemProduto = exports.COFINS = exports.PIS = exports.IPI = exports.ICMS_CSOSN = exports.ICMS_CST = void 0;
|
|
4
4
|
exports.ICMS_CST = {
|
|
5
5
|
TributadoIntegralmente: '00',
|
|
6
6
|
TributadoCobrancaIcmsSt: '10',
|
|
@@ -1120,3 +1120,17 @@ exports.IndicadorOrigemImportacaoCombustivel = {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
},
|
|
1122
1122
|
};
|
|
1123
|
+
exports.OrigemNotaFiscal = {
|
|
1124
|
+
NotaFiscal: '0',
|
|
1125
|
+
PDV: '1',
|
|
1126
|
+
description(val) {
|
|
1127
|
+
switch (val) {
|
|
1128
|
+
case this.NotaFiscal:
|
|
1129
|
+
return 'Nota Fiscal';
|
|
1130
|
+
case this.PDV:
|
|
1131
|
+
return 'PDV';
|
|
1132
|
+
default:
|
|
1133
|
+
return 'enum not found';
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
};
|
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, } 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
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
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
|
-
exports.
|
|
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 = void 0;
|
|
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.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; } });
|
|
@@ -113,6 +113,7 @@ Object.defineProperty(exports, "OrigemCampo", { enumerable: true, get: function
|
|
|
113
113
|
Object.defineProperty(exports, "VariaveisNotaFiscal", { enumerable: true, get: function () { return fiscal_1.VariaveisNotaFiscal; } });
|
|
114
114
|
Object.defineProperty(exports, "IndicadorOrigemImportacaoCombustivel", { enumerable: true, get: function () { return fiscal_1.IndicadorOrigemImportacaoCombustivel; } });
|
|
115
115
|
Object.defineProperty(exports, "TipoNaturezaOperacaoNotaFiscal", { enumerable: true, get: function () { return fiscal_1.TipoNaturezaOperacaoNotaFiscal; } });
|
|
116
|
+
Object.defineProperty(exports, "OrigemNotaFiscal", { enumerable: true, get: function () { return fiscal_1.OrigemNotaFiscal; } });
|
|
116
117
|
var general_1 = require("./general");
|
|
117
118
|
Object.defineProperty(exports, "Situacao", { enumerable: true, get: function () { return general_1.Situacao; } });
|
|
118
119
|
Object.defineProperty(exports, "TipoCompartilhamento", { enumerable: true, get: function () { return general_1.TipoCompartilhamento; } });
|
|
@@ -191,3 +192,7 @@ Object.defineProperty(exports, "SituacaoFila", { enumerable: true, get: function
|
|
|
191
192
|
Object.defineProperty(exports, "TipoHistoricoSolicitacao", { enumerable: true, get: function () { return common_1.TipoHistoricoSolicitacao; } });
|
|
192
193
|
Object.defineProperty(exports, "TipoAbrangenciaNotificacao", { enumerable: true, get: function () { return common_1.TipoAbrangenciaNotificacao; } });
|
|
193
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,163 @@
|
|
|
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 logo
|
|
108
|
+
*/
|
|
109
|
+
declare const LOGO: {
|
|
110
|
+
URL: {
|
|
111
|
+
DESKTOP: {
|
|
112
|
+
KEY: string;
|
|
113
|
+
};
|
|
114
|
+
MOBILE: {
|
|
115
|
+
KEY: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
FILTER: {
|
|
119
|
+
HEADER: {
|
|
120
|
+
KEY: string;
|
|
121
|
+
DEFAULT: string;
|
|
122
|
+
};
|
|
123
|
+
FOOTER: {
|
|
124
|
+
KEY: string;
|
|
125
|
+
DEFAULT: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
TYPE: {
|
|
129
|
+
DESKTOP: {
|
|
130
|
+
KEY: string;
|
|
131
|
+
DEFAULT: string;
|
|
132
|
+
VALUES: string[];
|
|
133
|
+
};
|
|
134
|
+
MOBILE: {
|
|
135
|
+
KEY: string;
|
|
136
|
+
DEFAULT: string;
|
|
137
|
+
VALUES: string[];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
SHAPE: {
|
|
141
|
+
RECTANGLE: {
|
|
142
|
+
TEXT: {
|
|
143
|
+
DESKTOP: {
|
|
144
|
+
KEY: string;
|
|
145
|
+
};
|
|
146
|
+
MOBILE: {
|
|
147
|
+
KEY: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
SQUARE: {
|
|
152
|
+
TEXT: {
|
|
153
|
+
DESKTOP: {
|
|
154
|
+
KEY: string;
|
|
155
|
+
};
|
|
156
|
+
MOBILE: {
|
|
157
|
+
KEY: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
export { PRODUCT_CARD, BUY_BUTTON, LOGO, BUTTON, FOOTER, HEADER };
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
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 logo
|
|
119
|
+
*/
|
|
120
|
+
const LOGO = {
|
|
121
|
+
URL: {
|
|
122
|
+
DESKTOP: {
|
|
123
|
+
KEY: 'logo_desktop',
|
|
124
|
+
},
|
|
125
|
+
MOBILE: {
|
|
126
|
+
KEY: 'logo_mobile',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
FILTER: {
|
|
130
|
+
HEADER: {
|
|
131
|
+
KEY: 'logo_filter_header',
|
|
132
|
+
DEFAULT: 'light',
|
|
133
|
+
},
|
|
134
|
+
FOOTER: {
|
|
135
|
+
KEY: 'logo_filter_footer',
|
|
136
|
+
DEFAULT: 'light',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
TYPE: {
|
|
140
|
+
DESKTOP: {
|
|
141
|
+
KEY: 'logo_type_desktop',
|
|
142
|
+
DEFAULT: 'rectangle',
|
|
143
|
+
VALUES: ['rectangle', 'square'],
|
|
144
|
+
},
|
|
145
|
+
MOBILE: {
|
|
146
|
+
KEY: 'logo_type_mobile',
|
|
147
|
+
DEFAULT: 'rectangle',
|
|
148
|
+
VALUES: ['rectangle', 'square'],
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
SHAPE: {
|
|
152
|
+
RECTANGLE: {
|
|
153
|
+
TEXT: {
|
|
154
|
+
DESKTOP: {
|
|
155
|
+
KEY: 'logo_rectangle_text_desktop',
|
|
156
|
+
},
|
|
157
|
+
MOBILE: {
|
|
158
|
+
KEY: 'logo_rectangle_text_mobile',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
SQUARE: {
|
|
163
|
+
TEXT: {
|
|
164
|
+
DESKTOP: {
|
|
165
|
+
KEY: 'logo_square_text_desktop',
|
|
166
|
+
},
|
|
167
|
+
MOBILE: {
|
|
168
|
+
KEY: 'logo_square_text_mobile',
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
exports.LOGO = LOGO;
|
|
@@ -0,0 +1,206 @@
|
|
|
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
|
+
DEFAULT: string;
|
|
11
|
+
};
|
|
12
|
+
BLOCKS: ({
|
|
13
|
+
id: number;
|
|
14
|
+
name: string;
|
|
15
|
+
icon: {
|
|
16
|
+
type: string;
|
|
17
|
+
size: number;
|
|
18
|
+
};
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
badge: null;
|
|
21
|
+
} | {
|
|
22
|
+
id: number;
|
|
23
|
+
name: string;
|
|
24
|
+
icon: {
|
|
25
|
+
type: string;
|
|
26
|
+
size: number;
|
|
27
|
+
};
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
badge: {
|
|
30
|
+
color: string;
|
|
31
|
+
text: string;
|
|
32
|
+
};
|
|
33
|
+
})[];
|
|
34
|
+
};
|
|
35
|
+
PRODUCT_PAGE: {
|
|
36
|
+
ID: number;
|
|
37
|
+
ORDER: {
|
|
38
|
+
KEY: string;
|
|
39
|
+
DEFAULT: string;
|
|
40
|
+
};
|
|
41
|
+
BLOCKS: ({
|
|
42
|
+
id: number;
|
|
43
|
+
name: string;
|
|
44
|
+
icon: {
|
|
45
|
+
type: string;
|
|
46
|
+
size: number;
|
|
47
|
+
};
|
|
48
|
+
enabled: boolean;
|
|
49
|
+
badge: null;
|
|
50
|
+
} | {
|
|
51
|
+
id: number;
|
|
52
|
+
name: string;
|
|
53
|
+
icon: {
|
|
54
|
+
type: string;
|
|
55
|
+
size: number;
|
|
56
|
+
};
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
badge: {
|
|
59
|
+
color: string;
|
|
60
|
+
text: string;
|
|
61
|
+
};
|
|
62
|
+
})[];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Constante de configuração de aparência dos componentes
|
|
67
|
+
*/
|
|
68
|
+
declare const APPEARANCE_COMPONENTS: {
|
|
69
|
+
PRODUCT_CARD: {
|
|
70
|
+
RADIUS: {
|
|
71
|
+
KEY: string;
|
|
72
|
+
DEFAULT: string;
|
|
73
|
+
VALUES: {
|
|
74
|
+
label: string;
|
|
75
|
+
value: string;
|
|
76
|
+
}[];
|
|
77
|
+
};
|
|
78
|
+
SHADOW: {
|
|
79
|
+
KEY: string;
|
|
80
|
+
DEFAULT: string;
|
|
81
|
+
VALUES: {
|
|
82
|
+
label: string;
|
|
83
|
+
value: string;
|
|
84
|
+
}[];
|
|
85
|
+
};
|
|
86
|
+
PROPORTION: {
|
|
87
|
+
KEY: string;
|
|
88
|
+
DEFAULT: string;
|
|
89
|
+
VALUES: {
|
|
90
|
+
label: string;
|
|
91
|
+
value: string;
|
|
92
|
+
}[];
|
|
93
|
+
};
|
|
94
|
+
SHOW_BUTTON: {
|
|
95
|
+
KEY: string;
|
|
96
|
+
DEFAULT: boolean;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
BUTTON: {
|
|
100
|
+
RADIUS: {
|
|
101
|
+
KEY: string;
|
|
102
|
+
DEFAULT: string;
|
|
103
|
+
VALUES: {
|
|
104
|
+
label: string;
|
|
105
|
+
value: string;
|
|
106
|
+
}[];
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
BUY_BUTTON: {
|
|
110
|
+
LIGHT: {
|
|
111
|
+
COLOR: {
|
|
112
|
+
KEY: string;
|
|
113
|
+
DEFAULT: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
DARK: {
|
|
117
|
+
COLOR: {
|
|
118
|
+
KEY: string;
|
|
119
|
+
DEFAULT: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
LOGO: {
|
|
124
|
+
URL: {
|
|
125
|
+
DESKTOP: {
|
|
126
|
+
KEY: string;
|
|
127
|
+
};
|
|
128
|
+
MOBILE: {
|
|
129
|
+
KEY: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
FILTER: {
|
|
133
|
+
HEADER: {
|
|
134
|
+
KEY: string;
|
|
135
|
+
DEFAULT: string;
|
|
136
|
+
};
|
|
137
|
+
FOOTER: {
|
|
138
|
+
KEY: string;
|
|
139
|
+
DEFAULT: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
TYPE: {
|
|
143
|
+
DESKTOP: {
|
|
144
|
+
KEY: string;
|
|
145
|
+
DEFAULT: string;
|
|
146
|
+
VALUES: string[];
|
|
147
|
+
};
|
|
148
|
+
MOBILE: {
|
|
149
|
+
KEY: string;
|
|
150
|
+
DEFAULT: string;
|
|
151
|
+
VALUES: string[];
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
SHAPE: {
|
|
155
|
+
RECTANGLE: {
|
|
156
|
+
TEXT: {
|
|
157
|
+
DESKTOP: {
|
|
158
|
+
KEY: string;
|
|
159
|
+
};
|
|
160
|
+
MOBILE: {
|
|
161
|
+
KEY: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
SQUARE: {
|
|
166
|
+
TEXT: {
|
|
167
|
+
DESKTOP: {
|
|
168
|
+
KEY: string;
|
|
169
|
+
};
|
|
170
|
+
MOBILE: {
|
|
171
|
+
KEY: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
FOOTER: {
|
|
178
|
+
LIGHT: {
|
|
179
|
+
COLOR: {
|
|
180
|
+
KEY: string;
|
|
181
|
+
DEFAULT: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
DARK: {
|
|
185
|
+
COLOR: {
|
|
186
|
+
KEY: string;
|
|
187
|
+
DEFAULT: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
HEADER: {
|
|
192
|
+
LIGHT: {
|
|
193
|
+
COLOR: {
|
|
194
|
+
KEY: string;
|
|
195
|
+
DEFAULT: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
DARK: {
|
|
199
|
+
COLOR: {
|
|
200
|
+
KEY: string;
|
|
201
|
+
DEFAULT: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
export { APPEARANCE_PAGES, APPEARANCE_COMPONENTS, APPEARANCE_REFERENCE };
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
};
|
|
30
|
+
exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
badge: null;
|
|
20
|
+
} | {
|
|
21
|
+
id: number;
|
|
22
|
+
name: string;
|
|
23
|
+
icon: {
|
|
24
|
+
type: string;
|
|
25
|
+
size: number;
|
|
26
|
+
};
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
badge: {
|
|
29
|
+
color: string;
|
|
30
|
+
text: string;
|
|
31
|
+
};
|
|
32
|
+
})[];
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Referencia da aparencia na pagina de produto
|
|
36
|
+
*/
|
|
37
|
+
declare const PRODUCT_PAGE: {
|
|
38
|
+
ID: number;
|
|
39
|
+
/**
|
|
40
|
+
* Blocos disponiveis na pagina
|
|
41
|
+
*/
|
|
42
|
+
ORDER: {
|
|
43
|
+
KEY: string;
|
|
44
|
+
DEFAULT: string;
|
|
45
|
+
};
|
|
46
|
+
BLOCKS: ({
|
|
47
|
+
id: number;
|
|
48
|
+
name: string;
|
|
49
|
+
icon: {
|
|
50
|
+
type: string;
|
|
51
|
+
size: number;
|
|
52
|
+
};
|
|
53
|
+
enabled: boolean;
|
|
54
|
+
badge: null;
|
|
55
|
+
} | {
|
|
56
|
+
id: number;
|
|
57
|
+
name: string;
|
|
58
|
+
icon: {
|
|
59
|
+
type: string;
|
|
60
|
+
size: number;
|
|
61
|
+
};
|
|
62
|
+
enabled: boolean;
|
|
63
|
+
badge: {
|
|
64
|
+
color: string;
|
|
65
|
+
text: string;
|
|
66
|
+
};
|
|
67
|
+
})[];
|
|
68
|
+
};
|
|
69
|
+
export { HOME_PAGE, PRODUCT_PAGE };
|
|
@@ -0,0 +1,166 @@
|
|
|
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
|
+
badge: null,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 2,
|
|
25
|
+
name: 'Categorias em destaque',
|
|
26
|
+
icon: {
|
|
27
|
+
type: 'Fatypes',
|
|
28
|
+
size: DEFAULT_ICON_SIZE,
|
|
29
|
+
},
|
|
30
|
+
enabled: true,
|
|
31
|
+
badge: null,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: 3,
|
|
35
|
+
name: 'Produtos em promoção',
|
|
36
|
+
icon: {
|
|
37
|
+
type: 'FaBagShopping',
|
|
38
|
+
size: DEFAULT_ICON_SIZE,
|
|
39
|
+
},
|
|
40
|
+
enabled: true,
|
|
41
|
+
badge: null,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: 4,
|
|
45
|
+
name: 'Últimos lançamentos',
|
|
46
|
+
icon: {
|
|
47
|
+
type: 'FaBagShopping',
|
|
48
|
+
size: DEFAULT_ICON_SIZE,
|
|
49
|
+
},
|
|
50
|
+
enabled: true,
|
|
51
|
+
badge: null,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 5,
|
|
55
|
+
name: 'Produtos mais vendidos',
|
|
56
|
+
icon: {
|
|
57
|
+
type: 'FaBagShopping',
|
|
58
|
+
size: DEFAULT_ICON_SIZE,
|
|
59
|
+
},
|
|
60
|
+
enabled: false,
|
|
61
|
+
badge: {
|
|
62
|
+
color: 'info',
|
|
63
|
+
text: 'Em breve',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 6,
|
|
68
|
+
name: 'Produtos mais vistos',
|
|
69
|
+
icon: {
|
|
70
|
+
type: 'FaBagShopping',
|
|
71
|
+
size: DEFAULT_ICON_SIZE,
|
|
72
|
+
},
|
|
73
|
+
enabled: false,
|
|
74
|
+
badge: {
|
|
75
|
+
color: 'info',
|
|
76
|
+
text: 'Em breve',
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: 7,
|
|
81
|
+
name: 'Produtos selecionados',
|
|
82
|
+
icon: {
|
|
83
|
+
type: 'FaBagShopping',
|
|
84
|
+
size: DEFAULT_ICON_SIZE,
|
|
85
|
+
},
|
|
86
|
+
enabled: false,
|
|
87
|
+
badge: {
|
|
88
|
+
color: 'info',
|
|
89
|
+
text: 'Em breve',
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: 8,
|
|
94
|
+
name: 'Banners personalizados',
|
|
95
|
+
icon: {
|
|
96
|
+
type: 'FaImages',
|
|
97
|
+
size: DEFAULT_ICON_SIZE,
|
|
98
|
+
},
|
|
99
|
+
enabled: false,
|
|
100
|
+
badge: {
|
|
101
|
+
color: 'info',
|
|
102
|
+
text: 'Em breve',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
};
|
|
107
|
+
exports.HOME_PAGE = HOME_PAGE;
|
|
108
|
+
/**
|
|
109
|
+
* Referencia da aparencia na pagina de produto
|
|
110
|
+
*/
|
|
111
|
+
const PRODUCT_PAGE = {
|
|
112
|
+
ID: 2,
|
|
113
|
+
/**
|
|
114
|
+
* Blocos disponiveis na pagina
|
|
115
|
+
*/
|
|
116
|
+
ORDER: {
|
|
117
|
+
KEY: 'product_page_blocks',
|
|
118
|
+
DEFAULT: '1,2,3,4',
|
|
119
|
+
},
|
|
120
|
+
BLOCKS: [
|
|
121
|
+
{
|
|
122
|
+
id: 1,
|
|
123
|
+
name: 'Descrição do produto',
|
|
124
|
+
icon: {
|
|
125
|
+
type: 'Fatypes',
|
|
126
|
+
size: DEFAULT_ICON_SIZE,
|
|
127
|
+
},
|
|
128
|
+
enabled: true,
|
|
129
|
+
badge: null,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: 2,
|
|
133
|
+
name: 'Garantia do produto',
|
|
134
|
+
icon: {
|
|
135
|
+
type: 'FaTimeline',
|
|
136
|
+
size: DEFAULT_ICON_SIZE,
|
|
137
|
+
},
|
|
138
|
+
enabled: true,
|
|
139
|
+
badge: null,
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
id: 3,
|
|
143
|
+
name: 'Produtos relacionados',
|
|
144
|
+
icon: {
|
|
145
|
+
type: 'FaBagShopping',
|
|
146
|
+
size: DEFAULT_ICON_SIZE,
|
|
147
|
+
},
|
|
148
|
+
enabled: true,
|
|
149
|
+
badge: null,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: 4,
|
|
153
|
+
name: 'Banners personalizados',
|
|
154
|
+
icon: {
|
|
155
|
+
type: 'FaImages',
|
|
156
|
+
size: DEFAULT_ICON_SIZE,
|
|
157
|
+
},
|
|
158
|
+
enabled: false,
|
|
159
|
+
badge: {
|
|
160
|
+
color: 'info',
|
|
161
|
+
text: 'Em breve',
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
};
|
|
166
|
+
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;
|