@designliquido/foles 0.1.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +503 -1
- package/fontes/avaliador-sintatico/avaliador-sintatico-reverso.js +1 -0
- package/fontes/avaliador-sintatico/avaliador-sintatico-reverso.js.map +1 -1
- package/fontes/foles.d.ts +5 -1
- package/fontes/foles.js +20 -12
- package/fontes/foles.js.map +1 -1
- package/fontes/lexador/palavras-reservadas/foles.d.ts +2 -0
- package/fontes/lexador/palavras-reservadas/foles.js +4 -1
- package/fontes/lexador/palavras-reservadas/foles.js.map +1 -1
- package/fontes/modificadores/alinhar-conteudo.d.ts +4 -1
- package/fontes/modificadores/alinhar-conteudo.js +29 -1
- package/fontes/modificadores/alinhar-conteudo.js.map +1 -1
- package/fontes/modificadores/alinhar-encaixe-rolagem-mouse.d.ts +4 -1
- package/fontes/modificadores/alinhar-encaixe-rolagem-mouse.js +16 -1
- package/fontes/modificadores/alinhar-encaixe-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/alinhar-itens.d.ts +4 -1
- package/fontes/modificadores/alinhar-itens.js +26 -1
- package/fontes/modificadores/alinhar-itens.js.map +1 -1
- package/fontes/modificadores/alinhar-se.d.ts +4 -1
- package/fontes/modificadores/alinhar-se.js +30 -1
- package/fontes/modificadores/alinhar-se.js.map +1 -1
- package/fontes/modificadores/alinhar-texto.d.ts +4 -1
- package/fontes/modificadores/alinhar-texto.js +17 -1
- package/fontes/modificadores/alinhar-texto.js.map +1 -1
- package/fontes/modificadores/alinhar-ultimo-item.d.ts +4 -1
- package/fontes/modificadores/alinhar-ultimo-item.js +16 -2
- package/fontes/modificadores/alinhar-ultimo-item.js.map +1 -1
- package/fontes/modificadores/alinhar-vertical.d.ts +4 -1
- package/fontes/modificadores/alinhar-vertical.js +27 -1
- package/fontes/modificadores/alinhar-vertical.js.map +1 -1
- package/fontes/modificadores/altura-linha.d.ts +4 -1
- package/fontes/modificadores/altura-linha.js +20 -1
- package/fontes/modificadores/altura-linha.js.map +1 -1
- package/fontes/modificadores/altura-maxima.d.ts +4 -1
- package/fontes/modificadores/altura-maxima.js +26 -1
- package/fontes/modificadores/altura-maxima.js.map +1 -1
- package/fontes/modificadores/altura-minima.d.ts +4 -1
- package/fontes/modificadores/altura-minima.js +26 -1
- package/fontes/modificadores/altura-minima.js.map +1 -1
- package/fontes/modificadores/altura.d.ts +4 -1
- package/fontes/modificadores/altura.js +28 -1
- package/fontes/modificadores/altura.js.map +1 -1
- package/fontes/modificadores/atraso-animacao.d.ts +1 -1
- package/fontes/modificadores/atraso-animacao.js +13 -1
- package/fontes/modificadores/atraso-animacao.js.map +1 -1
- package/fontes/modificadores/atributos/cores.d.ts +3 -0
- package/fontes/modificadores/atributos/cores.js +178 -0
- package/fontes/modificadores/atributos/cores.js.map +1 -0
- package/fontes/modificadores/atributos/estilo.d.ts +3 -0
- package/fontes/modificadores/atributos/estilo.js +18 -0
- package/fontes/modificadores/atributos/estilo.js.map +1 -0
- package/fontes/modificadores/atributos/globais.d.ts +3 -0
- package/fontes/modificadores/atributos/globais.js +11 -0
- package/fontes/modificadores/atributos/globais.js.map +1 -0
- package/fontes/modificadores/atributos/posi/303/247/303/243o.d.ts +6 -0
- package/fontes/modificadores/atributos/posi/303/247/303/243o.js +27 -0
- package/fontes/modificadores/atributos/posi/303/247/303/243o.js.map +1 -0
- package/fontes/modificadores/atributos/quantificadores.d.ts +27 -0
- package/fontes/modificadores/atributos/quantificadores.js +108 -0
- package/fontes/modificadores/atributos/quantificadores.js.map +1 -0
- package/fontes/modificadores/coordenadas.d.ts +4 -1
- package/fontes/modificadores/coordenadas.js +22 -1
- package/fontes/modificadores/coordenadas.js.map +1 -1
- package/fontes/modificadores/cor-fundo.d.ts +1 -1
- package/fontes/modificadores/cor-fundo.js +13 -1
- package/fontes/modificadores/cor-fundo.js.map +1 -1
- package/fontes/modificadores/decoracao-espessura-texto.d.ts +4 -1
- package/fontes/modificadores/decoracao-espessura-texto.js +20 -1
- package/fontes/modificadores/decoracao-espessura-texto.js.map +1 -1
- package/fontes/modificadores/decoracao-estilo-texto.d.ts +4 -1
- package/fontes/modificadores/decoracao-estilo-texto.js +17 -1
- package/fontes/modificadores/decoracao-estilo-texto.js.map +1 -1
- package/fontes/modificadores/deslocamento-texto-sublinhado.d.ts +4 -1
- package/fontes/modificadores/deslocamento-texto-sublinhado.js +20 -1
- package/fontes/modificadores/deslocamento-texto-sublinhado.js.map +1 -1
- package/fontes/modificadores/deslocar-contorno.d.ts +1 -1
- package/fontes/modificadores/deslocar-contorno.js +14 -1
- package/fontes/modificadores/deslocar-contorno.js.map +1 -1
- package/fontes/modificadores/dicionario/dicionario-modificadores.js +6 -6
- package/fontes/modificadores/dicionario/dicionario-modificadores.js.map +1 -1
- package/fontes/modificadores/direcao-animacao.d.ts +4 -1
- package/fontes/modificadores/direcao-animacao.js +14 -1
- package/fontes/modificadores/direcao-animacao.js.map +1 -1
- package/fontes/modificadores/distancia-deslocamento.d.ts +1 -1
- package/fontes/modificadores/distancia-deslocamento.js +17 -1
- package/fontes/modificadores/distancia-deslocamento.js.map +1 -1
- package/fontes/modificadores/duracao-animacao.d.ts +1 -1
- package/fontes/modificadores/duracao-animacao.js +13 -1
- package/fontes/modificadores/duracao-animacao.js.map +1 -1
- package/fontes/modificadores/escala.d.ts +4 -1
- package/fontes/modificadores/escala.js +22 -1
- package/fontes/modificadores/escala.js.map +1 -1
- package/fontes/modificadores/espacamento-coluna.d.ts +4 -1
- package/fontes/modificadores/espacamento-coluna.js +21 -1
- package/fontes/modificadores/espacamento-coluna.js.map +1 -1
- package/fontes/modificadores/espacamento-letras.d.ts +4 -1
- package/fontes/modificadores/espacamento-letras.js +23 -1
- package/fontes/modificadores/espacamento-letras.js.map +1 -1
- package/fontes/modificadores/espacamento-linhas.d.ts +1 -1
- package/fontes/modificadores/espacamento-linhas.js +15 -1
- package/fontes/modificadores/espacamento-linhas.js.map +1 -1
- package/fontes/modificadores/espacamento-palavras.d.ts +4 -1
- package/fontes/modificadores/espacamento-palavras.js +20 -1
- package/fontes/modificadores/espacamento-palavras.js.map +1 -1
- package/fontes/modificadores/espacamento.d.ts +1 -1
- package/fontes/modificadores/espacamento.js +18 -1
- package/fontes/modificadores/espacamento.js.map +1 -1
- package/fontes/modificadores/espaco-borda.d.ts +1 -1
- package/fontes/modificadores/espaco-borda.js +20 -1
- package/fontes/modificadores/espaco-borda.js.map +1 -1
- package/fontes/modificadores/estender-borda-imagem.d.ts +1 -1
- package/fontes/modificadores/estender-borda-imagem.js +20 -1
- package/fontes/modificadores/estender-borda-imagem.js.map +1 -1
- package/fontes/modificadores/esticar-fonte.d.ts +4 -1
- package/fontes/modificadores/esticar-fonte.js +30 -1
- package/fontes/modificadores/esticar-fonte.js.map +1 -1
- package/fontes/modificadores/estilo-borda-direita.d.ts +1 -1
- package/fontes/modificadores/estilo-borda-direita.js +9 -1
- package/fontes/modificadores/estilo-borda-direita.js.map +1 -1
- package/fontes/modificadores/estilo-borda-em-bloco.d.ts +1 -1
- package/fontes/modificadores/estilo-borda-em-bloco.js +9 -1
- package/fontes/modificadores/estilo-borda-em-bloco.js.map +1 -1
- package/fontes/modificadores/estilo-borda-em-linha.d.ts +1 -1
- package/fontes/modificadores/estilo-borda-em-linha.js +9 -1
- package/fontes/modificadores/estilo-borda-em-linha.js.map +1 -1
- package/fontes/modificadores/estilo-borda-esquerda.d.ts +1 -1
- package/fontes/modificadores/estilo-borda-esquerda.js +9 -1
- package/fontes/modificadores/estilo-borda-esquerda.js.map +1 -1
- package/fontes/modificadores/estilo-borda-inferior.d.ts +1 -1
- package/fontes/modificadores/estilo-borda-inferior.js +9 -1
- package/fontes/modificadores/estilo-borda-inferior.js.map +1 -1
- package/fontes/modificadores/estilo-borda-superior.d.ts +1 -1
- package/fontes/modificadores/estilo-borda-superior.js +9 -1
- package/fontes/modificadores/estilo-borda-superior.js.map +1 -1
- package/fontes/modificadores/estilo-contorno.d.ts +1 -1
- package/fontes/modificadores/estilo-contorno.js +10 -1
- package/fontes/modificadores/estilo-contorno.js.map +1 -1
- package/fontes/modificadores/estilo-fim-borda-em-bloco.d.ts +1 -1
- package/fontes/modificadores/estilo-fim-borda-em-bloco.js +8 -1
- package/fontes/modificadores/estilo-fim-borda-em-bloco.js.map +1 -1
- package/fontes/modificadores/estilo-fim-borda-em-linha.d.ts +1 -1
- package/fontes/modificadores/estilo-fim-borda-em-linha.js +9 -1
- package/fontes/modificadores/estilo-fim-borda-em-linha.js.map +1 -1
- package/fontes/modificadores/estilo-inicio-borda-em-bloco.d.ts +1 -1
- package/fontes/modificadores/estilo-inicio-borda-em-bloco.js +9 -1
- package/fontes/modificadores/estilo-inicio-borda-em-bloco.js.map +1 -1
- package/fontes/modificadores/estilo-inicio-borda-em-linha.d.ts +1 -1
- package/fontes/modificadores/estilo-inicio-borda-em-linha.js +9 -1
- package/fontes/modificadores/estilo-inicio-borda-em-linha.js.map +1 -1
- package/fontes/modificadores/fatiar-borda-mascara.d.ts +4 -1
- package/fontes/modificadores/fatiar-borda-mascara.js +23 -1
- package/fontes/modificadores/fatiar-borda-mascara.js.map +1 -1
- package/fontes/modificadores/fixar-fundo.d.ts +4 -1
- package/fontes/modificadores/fixar-fundo.js +13 -1
- package/fontes/modificadores/fixar-fundo.js.map +1 -1
- package/fontes/modificadores/flex-comprimento.d.ts +4 -1
- package/fontes/modificadores/flex-comprimento.js +27 -1
- package/fontes/modificadores/flex-comprimento.js.map +1 -1
- package/fontes/modificadores/forma-margem.d.ts +1 -1
- package/fontes/modificadores/forma-margem.js +14 -1
- package/fontes/modificadores/forma-margem.js.map +1 -1
- package/fontes/modificadores/imagem-fundo.d.ts +4 -1
- package/fontes/modificadores/imagem-fundo.js +14 -1
- package/fontes/modificadores/imagem-fundo.js.map +1 -1
- package/fontes/modificadores/indentacao-texto.d.ts +4 -1
- package/fontes/modificadores/indentacao-texto.js +23 -1
- package/fontes/modificadores/indentacao-texto.js.map +1 -1
- package/fontes/modificadores/inicio-borda-mascara.d.ts +1 -1
- package/fontes/modificadores/inicio-borda-mascara.js +18 -1
- package/fontes/modificadores/inicio-borda-mascara.js.map +1 -1
- package/fontes/modificadores/inicio-insercao-em-bloco.d.ts +4 -1
- package/fontes/modificadores/inicio-insercao-em-bloco.js +20 -1
- package/fontes/modificadores/inicio-insercao-em-bloco.js.map +1 -1
- package/fontes/modificadores/inicio-insercao-em-linha.d.ts +3 -0
- package/fontes/modificadores/inicio-insercao-em-linha.js +20 -1
- package/fontes/modificadores/inicio-insercao-em-linha.js.map +1 -1
- package/fontes/modificadores/inicio-margem-em-bloco.d.ts +4 -1
- package/fontes/modificadores/inicio-margem-em-bloco.js +20 -1
- package/fontes/modificadores/inicio-margem-em-bloco.js.map +1 -1
- package/fontes/modificadores/inicio-margem-em-linha.d.ts +4 -1
- package/fontes/modificadores/inicio-margem-em-linha.js +20 -1
- package/fontes/modificadores/inicio-margem-em-linha.js.map +1 -1
- package/fontes/modificadores/inicio-recuo-em-bloco.d.ts +1 -1
- package/fontes/modificadores/inicio-recuo-em-bloco.js +14 -1
- package/fontes/modificadores/inicio-recuo-em-bloco.js.map +1 -1
- package/fontes/modificadores/inicio-recuo-em-linha.d.ts +1 -1
- package/fontes/modificadores/inicio-recuo-em-linha.js +14 -1
- package/fontes/modificadores/inicio-recuo-em-linha.js.map +1 -1
- package/fontes/modificadores/insercao-em-bloco-fim.d.ts +4 -1
- package/fontes/modificadores/insercao-em-bloco-fim.js +20 -1
- package/fontes/modificadores/insercao-em-bloco-fim.js.map +1 -1
- package/fontes/modificadores/insercao-em-linha-fim.d.ts +4 -1
- package/fontes/modificadores/insercao-em-linha-fim.js +20 -1
- package/fontes/modificadores/insercao-em-linha-fim.js.map +1 -1
- package/fontes/modificadores/insercao.d.ts +4 -1
- package/fontes/modificadores/insercao.js +20 -1
- package/fontes/modificadores/insercao.js.map +1 -1
- package/fontes/modificadores/justificar-conteudo.d.ts +4 -1
- package/fontes/modificadores/justificar-conteudo.js +27 -1
- package/fontes/modificadores/justificar-conteudo.js.map +1 -1
- package/fontes/modificadores/justificar-itens.d.ts +4 -1
- package/fontes/modificadores/justificar-itens.js +23 -1
- package/fontes/modificadores/justificar-itens.js.map +1 -1
- package/fontes/modificadores/justificar-se.d.ts +4 -1
- package/fontes/modificadores/justificar-se.js +23 -1
- package/fontes/modificadores/justificar-se.js.map +1 -1
- package/fontes/modificadores/largura-borda-direita.d.ts +4 -1
- package/fontes/modificadores/largura-borda-direita.js +24 -1
- package/fontes/modificadores/largura-borda-direita.js.map +1 -1
- package/fontes/modificadores/largura-borda-em-bloco.d.ts +3 -0
- package/fontes/modificadores/largura-borda-em-bloco.js +24 -1
- package/fontes/modificadores/largura-borda-em-bloco.js.map +1 -1
- package/fontes/modificadores/largura-borda-em-linha.d.ts +4 -1
- package/fontes/modificadores/largura-borda-em-linha.js +24 -1
- package/fontes/modificadores/largura-borda-em-linha.js.map +1 -1
- package/fontes/modificadores/largura-borda-esquerda.d.ts +4 -1
- package/fontes/modificadores/largura-borda-esquerda.js +24 -1
- package/fontes/modificadores/largura-borda-esquerda.js.map +1 -1
- package/fontes/modificadores/largura-borda-inferior.d.ts +4 -1
- package/fontes/modificadores/largura-borda-inferior.js +24 -1
- package/fontes/modificadores/largura-borda-inferior.js.map +1 -1
- package/fontes/modificadores/largura-borda-mascara.d.ts +4 -1
- package/fontes/modificadores/largura-borda-mascara.js +22 -1
- package/fontes/modificadores/largura-borda-mascara.js.map +1 -1
- package/fontes/modificadores/largura-borda-superior.d.ts +4 -1
- package/fontes/modificadores/largura-borda-superior.js +24 -1
- package/fontes/modificadores/largura-borda-superior.js.map +1 -1
- package/fontes/modificadores/largura-coluna.d.ts +4 -1
- package/fontes/modificadores/largura-coluna.js +21 -1
- package/fontes/modificadores/largura-coluna.js.map +1 -1
- package/fontes/modificadores/largura-contorno.d.ts +4 -1
- package/fontes/modificadores/largura-contorno.js +23 -1
- package/fontes/modificadores/largura-contorno.js.map +1 -1
- package/fontes/modificadores/largura-fim-borda-em-bloco.d.ts +4 -1
- package/fontes/modificadores/largura-fim-borda-em-bloco.js +24 -1
- package/fontes/modificadores/largura-fim-borda-em-bloco.js.map +1 -1
- package/fontes/modificadores/largura-fim-borda-em-linha.d.ts +4 -1
- package/fontes/modificadores/largura-fim-borda-em-linha.js +24 -1
- package/fontes/modificadores/largura-fim-borda-em-linha.js.map +1 -1
- package/fontes/modificadores/largura-imagem-borda.d.ts +4 -1
- package/fontes/modificadores/largura-imagem-borda.js +25 -1
- package/fontes/modificadores/largura-imagem-borda.js.map +1 -1
- package/fontes/modificadores/largura-inicio-borda-em-bloco.d.ts +4 -1
- package/fontes/modificadores/largura-inicio-borda-em-bloco.js +24 -1
- package/fontes/modificadores/largura-inicio-borda-em-bloco.js.map +1 -1
- package/fontes/modificadores/largura-inicio-borda-em-linha.d.ts +4 -1
- package/fontes/modificadores/largura-inicio-borda-em-linha.js +24 -1
- package/fontes/modificadores/largura-inicio-borda-em-linha.js.map +1 -1
- package/fontes/modificadores/largura-maxima.d.ts +4 -1
- package/fontes/modificadores/largura-maxima.js +26 -1
- package/fontes/modificadores/largura-maxima.js.map +1 -1
- package/fontes/modificadores/largura-minima.d.ts +4 -1
- package/fontes/modificadores/largura-minima.js +27 -2
- package/fontes/modificadores/largura-minima.js.map +1 -1
- package/fontes/modificadores/largura.d.ts +4 -1
- package/fontes/modificadores/largura.js +26 -1
- package/fontes/modificadores/largura.js.map +1 -1
- package/fontes/modificadores/margem-direita-rolagem-mouse.d.ts +1 -1
- package/fontes/modificadores/margem-direita-rolagem-mouse.js +14 -1
- package/fontes/modificadores/margem-direita-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/margem-direita.d.ts +4 -1
- package/fontes/modificadores/margem-direita.js +20 -1
- package/fontes/modificadores/margem-direita.js.map +1 -1
- package/fontes/modificadores/margem-em-bloco-fim.d.ts +4 -1
- package/fontes/modificadores/margem-em-bloco-fim.js +20 -1
- package/fontes/modificadores/margem-em-bloco-fim.js.map +1 -1
- package/fontes/modificadores/margem-em-linha-fim.d.ts +4 -1
- package/fontes/modificadores/margem-em-linha-fim.js +20 -1
- package/fontes/modificadores/margem-em-linha-fim.js.map +1 -1
- package/fontes/modificadores/margem-esquerda-rolagem-mouse.d.ts +1 -1
- package/fontes/modificadores/margem-esquerda-rolagem-mouse.js +14 -1
- package/fontes/modificadores/margem-esquerda-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/margem-esquerda.d.ts +4 -1
- package/fontes/modificadores/margem-esquerda.js +20 -1
- package/fontes/modificadores/margem-esquerda.js.map +1 -1
- package/fontes/modificadores/margem-inferior-rolagem-mouse.d.ts +1 -1
- package/fontes/modificadores/margem-inferior-rolagem-mouse.js +14 -1
- package/fontes/modificadores/margem-inferior-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/margem-inferior.d.ts +4 -1
- package/fontes/modificadores/margem-inferior.js +20 -1
- package/fontes/modificadores/margem-inferior.js.map +1 -1
- package/fontes/modificadores/margem-superior-rolagem-mouse.d.ts +1 -1
- package/fontes/modificadores/margem-superior-rolagem-mouse.js +14 -1
- package/fontes/modificadores/margem-superior-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/margem-superior.d.ts +4 -1
- package/fontes/modificadores/margem-superior.js +20 -1
- package/fontes/modificadores/margem-superior.js.map +1 -1
- package/fontes/modificadores/mesclar-fundo.d.ts +4 -1
- package/fontes/modificadores/mesclar-fundo.js +29 -1
- package/fontes/modificadores/mesclar-fundo.js.map +1 -1
- package/fontes/modificadores/modo-preenchimento-animacao.d.ts +4 -1
- package/fontes/modificadores/modo-preenchimento-animacao.js +15 -1
- package/fontes/modificadores/modo-preenchimento-animacao.js.map +1 -1
- package/fontes/modificadores/nome-animacao.d.ts +1 -1
- package/fontes/modificadores/nome-animacao.js +8 -1
- package/fontes/modificadores/nome-animacao.js.map +1 -1
- package/fontes/modificadores/origem-fundo.d.ts +4 -1
- package/fontes/modificadores/origem-fundo.js +14 -1
- package/fontes/modificadores/origem-fundo.js.map +1 -1
- package/fontes/modificadores/perspectiva.d.ts +4 -1
- package/fontes/modificadores/perspectiva.js +20 -1
- package/fontes/modificadores/perspectiva.js.map +1 -1
- package/fontes/modificadores/posicao-deslocamento.d.ts +4 -1
- package/fontes/modificadores/posicao-deslocamento.js +20 -1
- package/fontes/modificadores/posicao-deslocamento.js.map +1 -1
- package/fontes/modificadores/posicao-direita.d.ts +4 -1
- package/fontes/modificadores/posicao-direita.js +21 -1
- package/fontes/modificadores/posicao-direita.js.map +1 -1
- package/fontes/modificadores/posicao-esquerda.d.ts +4 -1
- package/fontes/modificadores/posicao-esquerda.js +20 -1
- package/fontes/modificadores/posicao-esquerda.js.map +1 -1
- package/fontes/modificadores/posicao-fundo.d.ts +4 -1
- package/fontes/modificadores/posicao-fundo.js +28 -1
- package/fontes/modificadores/posicao-fundo.js.map +1 -1
- package/fontes/modificadores/posicao-horizontal-fundo.d.ts +4 -1
- package/fontes/modificadores/posicao-horizontal-fundo.js +24 -1
- package/fontes/modificadores/posicao-horizontal-fundo.js.map +1 -1
- package/fontes/modificadores/posicao-inferior.d.ts +4 -1
- package/fontes/modificadores/posicao-inferior.js +21 -1
- package/fontes/modificadores/posicao-inferior.js.map +1 -1
- package/fontes/modificadores/posicao-legenda.d.ts +4 -1
- package/fontes/modificadores/posicao-legenda.js +18 -1
- package/fontes/modificadores/posicao-legenda.js.map +1 -1
- package/fontes/modificadores/posicao-mascara.d.ts +1 -1
- package/fontes/modificadores/posicao-mascara.js +12 -1
- package/fontes/modificadores/posicao-mascara.js.map +1 -1
- package/fontes/modificadores/posicao-objeto.d.ts +1 -1
- package/fontes/modificadores/posicao-objeto.js +12 -1
- package/fontes/modificadores/posicao-objeto.js.map +1 -1
- package/fontes/modificadores/posicao-superior.d.ts +4 -1
- package/fontes/modificadores/posicao-superior.js +20 -1
- package/fontes/modificadores/posicao-superior.js.map +1 -1
- package/fontes/modificadores/posicao-texto-sublinhado.d.ts +4 -1
- package/fontes/modificadores/posicao-texto-sublinhado.js +16 -2
- package/fontes/modificadores/posicao-texto-sublinhado.js.map +1 -1
- package/fontes/modificadores/posicao-vertical-fundo.d.ts +4 -1
- package/fontes/modificadores/posicao-vertical-fundo.js +24 -1
- package/fontes/modificadores/posicao-vertical-fundo.js.map +1 -1
- package/fontes/modificadores/raio-direito-borda-inferior.d.ts +1 -1
- package/fontes/modificadores/raio-direito-borda-inferior.js +18 -1
- package/fontes/modificadores/raio-direito-borda-inferior.js.map +1 -1
- package/fontes/modificadores/raio-direito-borda-superior.d.ts +1 -1
- package/fontes/modificadores/raio-direito-borda-superior.js +18 -1
- package/fontes/modificadores/raio-direito-borda-superior.js.map +1 -1
- package/fontes/modificadores/raio-esquerdo-borda-inferior.d.ts +1 -1
- package/fontes/modificadores/raio-esquerdo-borda-inferior.js +18 -1
- package/fontes/modificadores/raio-esquerdo-borda-inferior.js.map +1 -1
- package/fontes/modificadores/raio-esquerdo-borda-superior.d.ts +1 -1
- package/fontes/modificadores/raio-esquerdo-borda-superior.js +18 -1
- package/fontes/modificadores/raio-esquerdo-borda-superior.js.map +1 -1
- package/fontes/modificadores/recortar-fundo.d.ts +4 -1
- package/fontes/modificadores/recortar-fundo.js +15 -1
- package/fontes/modificadores/recortar-fundo.js.map +1 -1
- package/fontes/modificadores/recortar-margem-vazada.d.ts +1 -1
- package/fontes/modificadores/recortar-margem-vazada.js +14 -1
- package/fontes/modificadores/recortar-margem-vazada.js.map +1 -1
- package/fontes/modificadores/recuo-direito-rolagem-mouse.d.ts +4 -1
- package/fontes/modificadores/recuo-direito-rolagem-mouse.js +19 -1
- package/fontes/modificadores/recuo-direito-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/recuo-direito.d.ts +1 -1
- package/fontes/modificadores/recuo-direito.js +17 -1
- package/fontes/modificadores/recuo-direito.js.map +1 -1
- package/fontes/modificadores/recuo-em-bloco-fim.d.ts +1 -1
- package/fontes/modificadores/recuo-em-bloco-fim.js +14 -1
- package/fontes/modificadores/recuo-em-bloco-fim.js.map +1 -1
- package/fontes/modificadores/recuo-em-linha-fim.d.ts +1 -1
- package/fontes/modificadores/recuo-em-linha-fim.js +14 -1
- package/fontes/modificadores/recuo-em-linha-fim.js.map +1 -1
- package/fontes/modificadores/recuo-esquerdo-rolagem-mouse.d.ts +4 -1
- package/fontes/modificadores/recuo-esquerdo-rolagem-mouse.js +19 -1
- package/fontes/modificadores/recuo-esquerdo-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/recuo-esquerdo.d.ts +1 -1
- package/fontes/modificadores/recuo-esquerdo.js +17 -1
- package/fontes/modificadores/recuo-esquerdo.js.map +1 -1
- package/fontes/modificadores/recuo-inferior-rolagem-mouse.d.ts +4 -1
- package/fontes/modificadores/recuo-inferior-rolagem-mouse.js +19 -1
- package/fontes/modificadores/recuo-inferior-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/recuo-inferior.d.ts +1 -1
- package/fontes/modificadores/recuo-inferior.js +17 -1
- package/fontes/modificadores/recuo-inferior.js.map +1 -1
- package/fontes/modificadores/recuo-superior-rolagem-mouse.d.ts +4 -1
- package/fontes/modificadores/recuo-superior-rolagem-mouse.js +19 -1
- package/fontes/modificadores/recuo-superior-rolagem-mouse.js.map +1 -1
- package/fontes/modificadores/recuo-superior.d.ts +1 -1
- package/fontes/modificadores/recuo-superior.js +17 -1
- package/fontes/modificadores/recuo-superior.js.map +1 -1
- package/fontes/modificadores/regras-estilo-coluna.d.ts +1 -1
- package/fontes/modificadores/regras-estilo-coluna.js +9 -1
- package/fontes/modificadores/regras-estilo-coluna.js.map +1 -1
- package/fontes/modificadores/regras-largura-coluna.d.ts +4 -1
- package/fontes/modificadores/regras-largura-coluna.js +24 -1
- package/fontes/modificadores/regras-largura-coluna.js.map +1 -1
- package/fontes/modificadores/repetir-animacao.d.ts +1 -1
- package/fontes/modificadores/repetir-animacao.js +9 -1
- package/fontes/modificadores/repetir-animacao.js.map +1 -1
- package/fontes/modificadores/repetir-fundo.d.ts +4 -1
- package/fontes/modificadores/repetir-fundo.js +18 -1
- package/fontes/modificadores/repetir-fundo.js.map +1 -1
- package/fontes/modificadores/repetir-imagem-borda.d.ts +4 -1
- package/fontes/modificadores/repetir-imagem-borda.js +15 -1
- package/fontes/modificadores/repetir-imagem-borda.js.map +1 -1
- package/fontes/modificadores/{animacao-velocidade.d.ts → rotacao-deslocamento.d.ts} +1 -1
- package/fontes/modificadores/{deslocamento-rotacao.js → rotacao-deslocamento.js} +5 -5
- package/fontes/modificadores/{deslocamento-rotacao.js.map → rotacao-deslocamento.js.map} +1 -1
- package/fontes/modificadores/status-animacao.d.ts +4 -1
- package/fontes/modificadores/status-animacao.js +9 -1
- package/fontes/modificadores/status-animacao.js.map +1 -1
- package/fontes/modificadores/tabulacao.d.ts +1 -1
- package/fontes/modificadores/tabulacao.js +17 -1
- package/fontes/modificadores/tabulacao.js.map +1 -1
- package/fontes/modificadores/tamanho-colunas-em-grade.d.ts +4 -1
- package/fontes/modificadores/tamanho-colunas-em-grade.js +27 -1
- package/fontes/modificadores/tamanho-colunas-em-grade.js.map +1 -1
- package/fontes/modificadores/tamanho-em-bloco.d.ts +4 -1
- package/fontes/modificadores/tamanho-em-bloco.js +25 -1
- package/fontes/modificadores/tamanho-em-bloco.js.map +1 -1
- package/fontes/modificadores/tamanho-em-linha.d.ts +4 -1
- package/fontes/modificadores/tamanho-em-linha.js +26 -1
- package/fontes/modificadores/tamanho-em-linha.js.map +1 -1
- package/fontes/modificadores/tamanho-fonte.d.ts +4 -1
- package/fontes/modificadores/tamanho-fonte.js +31 -1
- package/fontes/modificadores/tamanho-fonte.js.map +1 -1
- package/fontes/modificadores/tamanho-fundo.d.ts +4 -1
- package/fontes/modificadores/tamanho-fundo.js +23 -1
- package/fontes/modificadores/tamanho-fundo.js.map +1 -1
- package/fontes/modificadores/tamanho-linhas-em-grade.d.ts +4 -1
- package/fontes/modificadores/tamanho-linhas-em-grade.js +28 -1
- package/fontes/modificadores/tamanho-linhas-em-grade.js.map +1 -1
- package/fontes/modificadores/tamanho-mascara.d.ts +4 -1
- package/fontes/modificadores/tamanho-mascara.js +25 -1
- package/fontes/modificadores/tamanho-mascara.js.map +1 -1
- package/fontes/modificadores/tamanho-maximo-em-bloco.d.ts +4 -1
- package/fontes/modificadores/tamanho-maximo-em-bloco.js +26 -1
- package/fontes/modificadores/tamanho-maximo-em-bloco.js.map +1 -1
- package/fontes/modificadores/tamanho-maximo-em-linha.d.ts +4 -1
- package/fontes/modificadores/tamanho-maximo-em-linha.js +26 -1
- package/fontes/modificadores/tamanho-maximo-em-linha.js.map +1 -1
- package/fontes/modificadores/tamanho-minimo-em-bloco.d.ts +4 -1
- package/fontes/modificadores/tamanho-minimo-em-bloco.js +26 -1
- package/fontes/modificadores/tamanho-minimo-em-bloco.js.map +1 -1
- package/fontes/modificadores/tamanho-minimo-em-linha.d.ts +4 -1
- package/fontes/modificadores/tamanho-minimo-em-linha.js +26 -1
- package/fontes/modificadores/tamanho-minimo-em-linha.js.map +1 -1
- package/fontes/modificadores/transformar-origem.d.ts +4 -1
- package/fontes/modificadores/transformar-origem.js +27 -1
- package/fontes/modificadores/transformar-origem.js.map +1 -1
- package/fontes/modificadores/velocidade-animacao.d.ts +10 -0
- package/fontes/modificadores/velocidade-animacao.js +56 -0
- package/fontes/modificadores/velocidade-animacao.js.map +1 -0
- package/fontes/tradutor/estruturas-lmht.d.ts +79 -2
- package/fontes/tradutor/estruturas-lmht.js +79 -2
- package/fontes/tradutor/estruturas-lmht.js.map +1 -1
- package/fontes/tradutor/tradutor-reverso.js +1 -1
- package/fontes/tradutor/tradutor-reverso.js.map +1 -1
- package/package.json +3 -2
- package/testes/avaliador-sintatico.test.d.ts +1 -0
- package/testes/avaliador-sintatico.test.js +67 -0
- package/testes/avaliador-sintatico.test.js.map +1 -0
- package/testes/foles.test.d.ts +1 -0
- package/testes/foles.test.js +16 -0
- package/testes/foles.test.js.map +1 -0
- package/testes/lexador.test.js +48 -24
- package/testes/lexador.test.js.map +1 -1
- package/testes/listas/cores.d.ts +3 -0
- package/testes/listas/cores.js +44 -0
- package/testes/listas/cores.js.map +1 -0
- package/testes/listas/estilo.d.ts +3 -0
- package/testes/listas/estilo.js +50 -0
- package/testes/listas/estilo.js.map +1 -0
- package/testes/listas/palavras-reservadas.d.ts +3 -0
- package/testes/listas/palavras-reservadas.js +63 -0
- package/testes/listas/palavras-reservadas.js.map +1 -0
- package/testes/listas/posi/303/247/303/243o.d.ts +3 -0
- package/testes/listas/posi/303/247/303/243o.js +61 -0
- package/testes/listas/posi/303/247/303/243o.js.map +1 -0
- package/testes/listas/shorthand.d.ts +3 -0
- package/testes/listas/shorthand.js +80 -0
- package/testes/listas/shorthand.js.map +1 -0
- package/testes/listas/status.d.ts +3 -0
- package/testes/listas/status.js +91 -0
- package/testes/listas/status.js.map +1 -0
- package/testes/listas/url.d.ts +3 -0
- package/testes/listas/url.js +28 -0
- package/testes/listas/url.js.map +1 -0
- package/testes/listas/valor-global.d.ts +3 -0
- package/testes/listas/valor-global.js +149 -0
- package/testes/listas/valor-global.js.map +1 -0
- package/testes/listas/valor-numerico.d.ts +3 -0
- package/testes/listas/valor-numerico.js +49 -0
- package/testes/listas/valor-numerico.js.map +1 -0
- package/testes/listas/valor-quantificador.d.ts +6 -0
- package/testes/listas/valor-quantificador.js +186 -0
- package/testes/listas/valor-quantificador.js.map +1 -0
- package/testes/modificadores/atribuicao-abreviada.test.d.ts +1 -0
- package/testes/modificadores/atribuicao-abreviada.test.js +26 -0
- package/testes/modificadores/atribuicao-abreviada.test.js.map +1 -0
- package/testes/modificadores/cores.test.d.ts +1 -0
- package/testes/modificadores/cores.test.js +89 -0
- package/testes/modificadores/cores.test.js.map +1 -0
- package/testes/modificadores/estilo.test.d.ts +1 -0
- package/testes/modificadores/estilo.test.js +88 -0
- package/testes/modificadores/estilo.test.js.map +1 -0
- package/testes/modificadores/palavras-reservadas.test.d.ts +1 -0
- package/testes/modificadores/palavras-reservadas.test.js +23 -0
- package/testes/modificadores/palavras-reservadas.test.js.map +1 -0
- package/testes/modificadores/posi/303/247/303/243o.test.d.ts +1 -0
- package/testes/modificadores/posi/303/247/303/243o.test.js +79 -0
- package/testes/modificadores/posi/303/247/303/243o.test.js.map +1 -0
- package/testes/modificadores/status.test.d.ts +1 -0
- package/testes/modificadores/status.test.js +80 -0
- package/testes/modificadores/status.test.js.map +1 -0
- package/testes/modificadores/url.test.d.ts +1 -0
- package/testes/modificadores/url.test.js +75 -0
- package/testes/modificadores/url.test.js.map +1 -0
- package/testes/modificadores/valor-global.test.d.ts +1 -0
- package/testes/modificadores/valor-global.test.js +94 -0
- package/testes/modificadores/valor-global.test.js.map +1 -0
- package/testes/modificadores/valor-numerico.test.d.ts +1 -0
- package/testes/modificadores/valor-numerico.test.js +77 -0
- package/testes/modificadores/valor-numerico.test.js.map +1 -0
- package/testes/modificadores/valor-quantificador.test.d.ts +1 -0
- package/testes/modificadores/valor-quantificador.test.js +70 -0
- package/testes/modificadores/valor-quantificador.test.js.map +1 -0
- package/testes/tradutor-reverso.test.d.ts +1 -0
- package/testes/tradutor-reverso.test.js +36 -0
- package/testes/tradutor-reverso.test.js.map +1 -0
- package/testes/tradutor.test.d.ts +1 -0
- package/testes/tradutor.test.js +73 -0
- package/testes/tradutor.test.js.map +1 -0
- package/fontes/modificadores/animacao-velocidade.js +0 -13
- package/fontes/modificadores/animacao-velocidade.js.map +0 -1
- package/fontes/modificadores/deslocamento-rotacao.d.ts +0 -4
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LarguraMaxima = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class LarguraMaxima extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super(["largura-maxima", "largura-máxima"], "max-width");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"conteudo-maximo": "max-content",
|
|
12
|
+
"conteúdo-máximo": "max-content",
|
|
13
|
+
"conteudo-minimo": "min-content",
|
|
14
|
+
"conteúdo-mínimo": "min-content",
|
|
15
|
+
"nenhuma": "none",
|
|
16
|
+
};
|
|
17
|
+
// Também pode receber a função fit-content(<length-percentage>);
|
|
18
|
+
// A lógica abaixo cobre o recebimento de valores próprios ou numéricos
|
|
19
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
20
|
+
!(valor in this.valoresAceitos) &&
|
|
21
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
22
|
+
throw new Error(`Propriedade 'largura-máxima' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
23
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
24
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
25
|
+
}
|
|
8
26
|
this.valor = valor;
|
|
9
|
-
|
|
27
|
+
if (Number(parseInt(valor))) {
|
|
28
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
29
|
+
quantificador === undefined) {
|
|
30
|
+
throw new Error(`Propriedade 'largura-máxima' com quantificador inválido. Valores aceitos:
|
|
31
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
32
|
+
}
|
|
33
|
+
this.quantificador = quantificador;
|
|
34
|
+
}
|
|
10
35
|
}
|
|
11
36
|
}
|
|
12
37
|
exports.LarguraMaxima = LarguraMaxima;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"largura-maxima.js","sourceRoot":"","sources":["../../../fontes/modificadores/largura-maxima.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,aAAc,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"largura-maxima.js","sourceRoot":"","sources":["../../../fontes/modificadores/largura-maxima.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,aAAc,SAAQ,yBAAW;IAS1C,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,WAAW,CAAC,CAAC;QAT7D,mBAAc,GAAqC;YAC/C,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,SAAS,EAAE,MAAM;SACpB,CAAA;QAKG,iEAAiE;QACjE,uEAAuE;QACvE,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,0CAA0C,KAAK;UACrD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;UAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SACxF;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;cACN,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACzF;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAvCD,sCAuCC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class LarguraMinima extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LarguraMinima = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class LarguraMinima extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
|
-
super(["largura-minima", "largura-
|
|
9
|
+
super(["largura-minima", "largura-minima"], "min-width");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"conteudo-maximo": "max-content",
|
|
12
|
+
"conteúdo-máximo": "max-content",
|
|
13
|
+
"conteudo-minimo": "min-content",
|
|
14
|
+
"conteúdo-mínimo": "min-content",
|
|
15
|
+
"nenhuma": "none",
|
|
16
|
+
};
|
|
17
|
+
// Também pode receber a função fit-content(<length-percentage>);
|
|
18
|
+
// A lógica abaixo cobre o recebimento de valores próprios ou numéricos
|
|
19
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
20
|
+
!(valor in this.valoresAceitos) &&
|
|
21
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
22
|
+
throw new Error(`Propriedade 'largura-minima' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
23
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
24
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
25
|
+
}
|
|
8
26
|
this.valor = valor;
|
|
9
|
-
|
|
27
|
+
if (Number(parseInt(valor))) {
|
|
28
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
29
|
+
quantificador === undefined) {
|
|
30
|
+
throw new Error(`Propriedade 'largura-minima' com quantificador inválido. Valores aceitos:
|
|
31
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
32
|
+
}
|
|
33
|
+
this.quantificador = quantificador;
|
|
34
|
+
}
|
|
10
35
|
}
|
|
11
36
|
}
|
|
12
37
|
exports.LarguraMinima = LarguraMinima;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"largura-minima.js","sourceRoot":"","sources":["../../../fontes/modificadores/largura-minima.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,aAAc,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"largura-minima.js","sourceRoot":"","sources":["../../../fontes/modificadores/largura-minima.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,aAAc,SAAQ,yBAAW;IAS1C,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,WAAW,CAAC,CAAC;QAT7D,mBAAc,GAAqC;YAC/C,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,SAAS,EAAE,MAAM;SACpB,CAAA;QAKG,iEAAiE;QACjE,uEAAuE;QACvE,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,0CAA0C,KAAK;UACrD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;UAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SACxF;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;cACN,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACzF;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAvCD,sCAuCC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class Largura extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Largura = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class Largura extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("largura", "width");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"conteudo-maximo": "max-content",
|
|
12
|
+
"conteúdo-máximo": "max-content",
|
|
13
|
+
"conteudo-minimo": "min-content",
|
|
14
|
+
"conteúdo-mínimo": "min-content",
|
|
15
|
+
"auto": "auto",
|
|
16
|
+
};
|
|
17
|
+
// Também pode receber a função fit-content(<length-percentage>).
|
|
18
|
+
// A lógica abaixo cobre somente os demais valores aceitos.
|
|
19
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
20
|
+
!(valor in this.valoresAceitos) &&
|
|
21
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
22
|
+
throw new Error(`Propriedade 'largura' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
23
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
24
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
25
|
+
}
|
|
8
26
|
this.valor = valor;
|
|
9
|
-
|
|
27
|
+
if (Number(parseInt(valor))) {
|
|
28
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
29
|
+
quantificador === undefined) {
|
|
30
|
+
throw new Error(`Propriedade 'largura' com quantificador inválido. Valores aceitos:
|
|
31
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
32
|
+
}
|
|
33
|
+
this.quantificador = quantificador;
|
|
34
|
+
}
|
|
10
35
|
}
|
|
11
36
|
}
|
|
12
37
|
exports.Largura = Largura;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"largura.js","sourceRoot":"","sources":["../../../fontes/modificadores/largura.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,OAAQ,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"largura.js","sourceRoot":"","sources":["../../../fontes/modificadores/largura.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,OAAQ,SAAQ,yBAAW;IASpC,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAT9B,mBAAc,GAAqC;YAC/C,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,iBAAiB,EAAE,aAAa;YAChC,MAAM,EAAE,MAAM;SACjB,CAAA;QAKG,iEAAiE;QACjE,2DAA2D;QAC3D,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,mCAAmC,KAAK;kBACtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;kBAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SAChG;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;sBACE,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACjG;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAvCD,0BAuCC"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemDireitaRolagemMouse = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemDireitaRolagemMouse extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-direita-rolagem-mouse", "scroll-margin-right");
|
|
10
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
11
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
12
|
+
throw new Error(`Propriedade 'margem-direita-rolagem-mouse' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
13
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
14
|
+
}
|
|
8
15
|
this.valor = valor;
|
|
9
|
-
|
|
16
|
+
if (Number(parseInt(valor))) {
|
|
17
|
+
if (!(quantificador in quantificadores_1.ListaDeComprimento) || quantificador === undefined) {
|
|
18
|
+
throw new Error(`Propriedade 'margem-direita-rolagem-mouse' com quantificador inválido. Valores aceitos:
|
|
19
|
+
${Object.keys(quantificadores_1.ListaDeComprimento).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
20
|
+
}
|
|
21
|
+
this.quantificador = quantificador;
|
|
22
|
+
}
|
|
10
23
|
}
|
|
11
24
|
}
|
|
12
25
|
exports.MargemDireitaRolagemMouse = MargemDireitaRolagemMouse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-direita-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-direita-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,yBAA0B,SAAQ,yBAAW;IACtD,YAAY,KAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"margem-direita-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-direita-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAiE;AACjE,2DAAwD;AAExD,MAAa,yBAA0B,SAAQ,yBAAW;IACtD,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,8BAA8B,EAAE,qBAAqB,CAAC,CAAC;QAE7D,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,wDAAwD,KAAK;UACnE,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SACxF;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IAAI,CAAC,CAAC,aAAa,IAAI,oCAAkB,CAAC,IAAI,aAAa,KAAK,SAAS,EAAE;gBACvE,MAAM,IAAI,KAAK,CACX;cACN,MAAM,CAAC,IAAI,CAAC,oCAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACrF;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAxBD,8DAwBC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class MargemDireita extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemDireita = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemDireita extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-direita", "margin-right");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"auto": "auto",
|
|
12
|
+
};
|
|
13
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
14
|
+
!(valor in this.valoresAceitos) &&
|
|
15
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
16
|
+
throw new Error(`Propriedade 'margem-direita' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
17
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
18
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
19
|
+
}
|
|
8
20
|
this.valor = valor;
|
|
9
|
-
|
|
21
|
+
if (Number(parseInt(valor))) {
|
|
22
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
23
|
+
quantificador === undefined) {
|
|
24
|
+
throw new Error(`Propriedade 'margem-direita' com quantificador inválido. Valores aceitos:
|
|
25
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
26
|
+
}
|
|
27
|
+
this.quantificador = quantificador;
|
|
28
|
+
}
|
|
10
29
|
}
|
|
11
30
|
}
|
|
12
31
|
exports.MargemDireita = MargemDireita;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-direita.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-direita.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,aAAc,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"margem-direita.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-direita.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,aAAc,SAAQ,yBAAW;IAK1C,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;QAL5C,mBAAc,GAAqC;YAC/C,MAAM,EAAE,MAAM;SACjB,CAAA;QAKG,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,0CAA0C,KAAK;kBAC7C,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;kBAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SAChG;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;sBACE,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACjG;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAjCD,sCAiCC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class MargemEmBlocoFim extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemEmBlocoFim = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemEmBlocoFim extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-em-bloco-fim", "margin-block-end");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"auto": "auto",
|
|
12
|
+
};
|
|
13
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
14
|
+
!(valor in this.valoresAceitos) &&
|
|
15
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
16
|
+
throw new Error(`Propriedade 'margem-em-bloco-fim' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
17
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
18
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
19
|
+
}
|
|
8
20
|
this.valor = valor;
|
|
9
|
-
|
|
21
|
+
if (Number(parseInt(valor))) {
|
|
22
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
23
|
+
quantificador === undefined) {
|
|
24
|
+
throw new Error(`Propriedade 'margem-em-bloco-fim' com quantificador inválido. Valores aceitos:
|
|
25
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
26
|
+
}
|
|
27
|
+
this.quantificador = quantificador;
|
|
28
|
+
}
|
|
10
29
|
}
|
|
11
30
|
}
|
|
12
31
|
exports.MargemEmBlocoFim = MargemEmBlocoFim;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-em-bloco-fim.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-em-bloco-fim.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,gBAAiB,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"margem-em-bloco-fim.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-em-bloco-fim.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,gBAAiB,SAAQ,yBAAW;IAK7C,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAAC;QALrD,mBAAc,GAAqC;YAC/C,MAAM,EAAE,MAAM;SACjB,CAAA;QAKG,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,+CAA+C,KAAK;kBAClD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;kBAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SAChG;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;sBACE,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACjG;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAjCD,4CAiCC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class MargemEmLinhaFim extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemEmLinhaFim = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemEmLinhaFim extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-em-linha-fim", "margin-inline-end");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"auto": "auto",
|
|
12
|
+
};
|
|
13
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
14
|
+
!(valor in this.valoresAceitos) &&
|
|
15
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
16
|
+
throw new Error(`Propriedade 'margem-em-linha-fim' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
17
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
18
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
19
|
+
}
|
|
8
20
|
this.valor = valor;
|
|
9
|
-
|
|
21
|
+
if (Number(parseInt(valor))) {
|
|
22
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
23
|
+
quantificador === undefined) {
|
|
24
|
+
throw new Error(`Propriedade 'margem-em-linha-fim' com quantificador inválido. Valores aceitos:
|
|
25
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
26
|
+
}
|
|
27
|
+
this.quantificador = quantificador;
|
|
28
|
+
}
|
|
10
29
|
}
|
|
11
30
|
}
|
|
12
31
|
exports.MargemEmLinhaFim = MargemEmLinhaFim;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-em-linha-fim.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-em-linha-fim.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,gBAAiB,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"margem-em-linha-fim.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-em-linha-fim.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,gBAAiB,SAAQ,yBAAW;IAK7C,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;QALtD,mBAAc,GAAqC;YAC/C,MAAM,EAAE,MAAM;SACjB,CAAA;QAKG,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,+CAA+C,KAAK;kBAClD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;kBAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SAChG;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;sBACE,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACjG;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAjCD,4CAiCC"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemEsquerdaRolagemMouse = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemEsquerdaRolagemMouse extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-esquerda-rolagem-mouse", "scroll-margin-left");
|
|
10
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
11
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
12
|
+
throw new Error(`Propriedade 'margem-esquerda-rolagem-mouse' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
13
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
14
|
+
}
|
|
8
15
|
this.valor = valor;
|
|
9
|
-
|
|
16
|
+
if (Number(parseInt(valor))) {
|
|
17
|
+
if (!(quantificador in quantificadores_1.ListaDeComprimento) || quantificador === undefined) {
|
|
18
|
+
throw new Error(`Propriedade 'margem-esquerda-rolagem-mouse' com quantificador inválido. Valores aceitos:
|
|
19
|
+
${Object.keys(quantificadores_1.ListaDeComprimento).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
20
|
+
}
|
|
21
|
+
this.quantificador = quantificador;
|
|
22
|
+
}
|
|
10
23
|
}
|
|
11
24
|
}
|
|
12
25
|
exports.MargemEsquerdaRolagemMouse = MargemEsquerdaRolagemMouse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-esquerda-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-esquerda-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,yBAAW;IACvD,YAAY,KAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"margem-esquerda-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-esquerda-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAiE;AACjE,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,yBAAW;IACvD,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,+BAA+B,EAAE,oBAAoB,CAAC,CAAC;QAE7D,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,yDAAyD,KAAK;cAChE,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SAC5F;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IAAI,CAAC,CAAC,aAAa,IAAI,oCAAkB,CAAC,IAAI,aAAa,KAAK,SAAS,EAAE;gBACvE,MAAM,IAAI,KAAK,CACX;kBACF,MAAM,CAAC,IAAI,CAAC,oCAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACzF;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAxBD,gEAwBC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class MargemEsquerda extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemEsquerda = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemEsquerda extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-esquerda", "margin-left");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"auto": "auto",
|
|
12
|
+
};
|
|
13
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
14
|
+
!(valor in this.valoresAceitos) &&
|
|
15
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
16
|
+
throw new Error(`Propriedade 'margem-esquerda' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
17
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
18
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
19
|
+
}
|
|
8
20
|
this.valor = valor;
|
|
9
|
-
|
|
21
|
+
if (Number(parseInt(valor))) {
|
|
22
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
23
|
+
quantificador === undefined) {
|
|
24
|
+
throw new Error(`Propriedade 'margem-esquerda' com quantificador inválido. Valores aceitos:
|
|
25
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
26
|
+
}
|
|
27
|
+
this.quantificador = quantificador;
|
|
28
|
+
}
|
|
10
29
|
}
|
|
11
30
|
}
|
|
12
31
|
exports.MargemEsquerda = MargemEsquerda;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-esquerda.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-esquerda.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,cAAe,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"margem-esquerda.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-esquerda.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,cAAe,SAAQ,yBAAW;IAK3C,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAL5C,mBAAc,GAAqC;YAC/C,MAAM,EAAE,MAAM;SACjB,CAAA;QAKG,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,2CAA2C,KAAK;UACtD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;UAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SACxF;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;cACN,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACzF;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAjCD,wCAiCC"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemInferiorRolagemMouse = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemInferiorRolagemMouse extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-inferior-rolagem-mouse", "scroll-margin-bottom");
|
|
10
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
11
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
12
|
+
throw new Error(`Propriedade 'margem-inferior-rolagem-mouse' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
13
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
14
|
+
}
|
|
8
15
|
this.valor = valor;
|
|
9
|
-
|
|
16
|
+
if (Number(parseInt(valor))) {
|
|
17
|
+
if (!(quantificador in quantificadores_1.ListaDeComprimento) || quantificador === undefined) {
|
|
18
|
+
throw new Error(`Propriedade 'margem-inferior-rolagem-mouse' com quantificador inválido. Valores aceitos:
|
|
19
|
+
${Object.keys(quantificadores_1.ListaDeComprimento).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
20
|
+
}
|
|
21
|
+
this.quantificador = quantificador;
|
|
22
|
+
}
|
|
10
23
|
}
|
|
11
24
|
}
|
|
12
25
|
exports.MargemInferiorRolagemMouse = MargemInferiorRolagemMouse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-inferior-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-inferior-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,yBAAW;IACvD,YAAY,KAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"margem-inferior-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-inferior-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAiE;AACjE,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,yBAAW;IACvD,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,+BAA+B,EAAE,sBAAsB,CAAC,CAAC;QAE/D,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,yDAAyD,KAAK;kBAC5D,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SAChG;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IAAI,CAAC,CAAC,aAAa,IAAI,oCAAkB,CAAC,IAAI,aAAa,KAAK,SAAS,EAAE;gBACvE,MAAM,IAAI,KAAK,CACX;sBACE,MAAM,CAAC,IAAI,CAAC,oCAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aAC7F;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAxBD,gEAwBC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class MargemInferior extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemInferior = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemInferior extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-inferior", "margin-bottom");
|
|
10
|
+
this.valoresAceitos = {
|
|
11
|
+
"auto": "auto",
|
|
12
|
+
};
|
|
13
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
14
|
+
!(valor in this.valoresAceitos) &&
|
|
15
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
16
|
+
throw new Error(`Propriedade 'margem-inferior' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
17
|
+
${Object.keys(this.valoresAceitos).reduce((final, atual) => final += `, ${atual}`)},
|
|
18
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
19
|
+
}
|
|
8
20
|
this.valor = valor;
|
|
9
|
-
|
|
21
|
+
if (Number(parseInt(valor))) {
|
|
22
|
+
if (!(quantificador in quantificadores_1.ListaDeQuantificadores) ||
|
|
23
|
+
quantificador === undefined) {
|
|
24
|
+
throw new Error(`Propriedade 'margem-inferior' com quantificador inválido. Valores aceitos:
|
|
25
|
+
${Object.keys(quantificadores_1.ListaDeQuantificadores).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
26
|
+
}
|
|
27
|
+
this.quantificador = quantificador;
|
|
28
|
+
}
|
|
10
29
|
}
|
|
11
30
|
}
|
|
12
31
|
exports.MargemInferior = MargemInferior;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-inferior.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-inferior.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,cAAe,SAAQ,yBAAW;
|
|
1
|
+
{"version":3,"file":"margem-inferior.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-inferior.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAqE;AACrE,2DAAwD;AAExD,MAAa,cAAe,SAAQ,yBAAW;IAK3C,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC;QAL9C,mBAAc,GAAqC;YAC/C,MAAM,EAAE,MAAM;SACjB,CAAA;QAKG,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC;YAC/B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,2CAA2C,KAAK;UACtD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;UAChF,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SACxF;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IACI,CAAC,CAAC,aAAa,IAAI,wCAAsB,CAAC;gBAC1C,aAAa,KAAK,SAAS,EAC7B;gBACE,MAAM,IAAI,KAAK,CACX;cACN,MAAM,CAAC,IAAI,CAAC,wCAAsB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACzF;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAjCD,wCAiCC"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MargemSuperiorRolagemMouse = void 0;
|
|
4
|
+
const globais_1 = require("./atributos/globais");
|
|
5
|
+
const quantificadores_1 = require("./atributos/quantificadores");
|
|
4
6
|
const modificador_1 = require("./superclasse/modificador");
|
|
5
7
|
class MargemSuperiorRolagemMouse extends modificador_1.Modificador {
|
|
6
8
|
constructor(valor, quantificador) {
|
|
7
9
|
super("margem-superior-rolagem-mouse", "scroll-margin-top");
|
|
10
|
+
if (Number.isNaN(parseInt(valor)) &&
|
|
11
|
+
!(valor in globais_1.ListaDeValoresGlobais)) {
|
|
12
|
+
throw new Error(`Propriedade 'margem-superior-rolagem-mouse' com valor ${valor} inválido. O valor deve ser numérico ou um dos valores:
|
|
13
|
+
${Object.keys(globais_1.ListaDeValoresGlobais).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
14
|
+
}
|
|
8
15
|
this.valor = valor;
|
|
9
|
-
|
|
16
|
+
if (Number(parseInt(valor))) {
|
|
17
|
+
if (!(quantificador in quantificadores_1.ListaDeComprimento) || quantificador === undefined) {
|
|
18
|
+
throw new Error(`Propriedade 'margem-superior-rolagem-mouse' com quantificador inválido. Valores aceitos:
|
|
19
|
+
${Object.keys(quantificadores_1.ListaDeComprimento).reduce((final, atual) => final += `, ${atual}`)}.`);
|
|
20
|
+
}
|
|
21
|
+
this.quantificador = quantificador;
|
|
22
|
+
}
|
|
10
23
|
}
|
|
11
24
|
}
|
|
12
25
|
exports.MargemSuperiorRolagemMouse = MargemSuperiorRolagemMouse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"margem-superior-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-superior-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,yBAAW;IACvD,YAAY,KAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"margem-superior-rolagem-mouse.js","sourceRoot":"","sources":["../../../fontes/modificadores/margem-superior-rolagem-mouse.ts"],"names":[],"mappings":";;;AAAA,iDAA4D;AAC5D,iEAAiE;AACjE,2DAAwD;AAExD,MAAa,0BAA2B,SAAQ,yBAAW;IACvD,YAAY,KAAa,EAAE,aAAsB;QAC7C,KAAK,CAAC,+BAA+B,EAAE,mBAAmB,CAAC,CAAC;QAE5D,IAAI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YAC7B,CAAC,CAAC,KAAK,IAAI,+BAAqB,CAAC,EACnC;YACE,MAAM,IAAI,KAAK,CACX,yDAAyD,KAAK;UACpE,MAAM,CAAC,IAAI,CAAC,+BAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;SACxF;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAEnB,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YACzB,IAAI,CAAC,CAAC,aAAa,IAAI,oCAAkB,CAAC,IAAI,aAAa,KAAK,SAAS,EAAE;gBACvE,MAAM,IAAI,KAAK,CACX;cACN,MAAM,CAAC,IAAI,CAAC,oCAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;aACrF;YAED,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;SACtC;IACL,CAAC;CACJ;AAxBD,gEAwBC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Modificador } from "./superclasse/modificador";
|
|
2
2
|
export declare class MargemSuperior extends Modificador {
|
|
3
|
-
|
|
3
|
+
valoresAceitos: {
|
|
4
|
+
[valorFoles: string]: string;
|
|
5
|
+
};
|
|
6
|
+
constructor(valor: string, quantificador?: string);
|
|
4
7
|
}
|