Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mariohmol committed Nov 17, 2019
1 parent 315277f commit 33ec920
Show file tree
Hide file tree
Showing 12 changed files with 1,016 additions and 422 deletions.
2 changes: 1 addition & 1 deletion addons/pessoas.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const NOMES_FEMININOS = ['MARIA', 'ANA', 'FRANCISCA', 'ANTONIA', 'ADRIANA', 'JULIANA', 'MARCIA', 'FERNANDA', 'PATRICIA', 'ALINE'];
export const NOMES_MASCULINOS = ['JOSE', 'JOAO', 'ANTONIO', 'FRANCISCO', 'CARLOS', 'PAULO', 'PEDRO', 'LUCAS', 'LUIZ', 'MARCOS'];
export const SOBRENOMES_MASCULINOS = ['ALMEIDA', 'ALVES', 'ANDRADE', 'BARBOSA', 'BARROS', 'BATISTA', 'BORGES', 'CAMPOS', 'CARDOSO', 'CARVALHO', 'CASTRO',
export const SOBRENOMES = ['ALMEIDA', 'ALVES', 'ANDRADE', 'BARBOSA', 'BARROS', 'BATISTA', 'BORGES', 'CAMPOS', 'CARDOSO', 'CARVALHO', 'CASTRO',
'COSTA', 'DIAS', 'DUARTE', 'FREITAS', 'FERNANDES', 'FERREIRA', 'GARCIA', 'GOMES', 'GONÇALVES', 'LIMA', 'LOPES', 'MACHADO', 'MARQUES', 'MARTINS', 'MEDEIROS',
'MELO', 'MENDES', 'MIRANDA', 'MONTEIRO', 'MORAES', 'MOREIRA', 'MOURA', 'NASCIMENTO', 'NUNES', 'OLIVEIRA', 'PEREIRA', 'RAMOS', 'REIS', 'RIBEIRO', 'ROCHA',
'SANTANA', 'SANTOS', 'SILVA', 'SOARES', 'SOUZA', 'TEIXEIRA', 'VIEIRA'];
Expand Down
14 changes: 14 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,20 @@ <h1>Gerador Brasileiro - js-brasil</h1>
</div>
</li>

<li class="col m4">
<div class=" card">
<div class="card-content">
<span class="card-title activator grey-text text-darken-4">Pessoa</span>
<p> Gere dados completos de uma Pessoa contendo Nome, CPF, RG, Mae, Pai, Telefone, Celular,
Data de Nascimento , Endereço Completo, Email, Usuario e Senha
</p>

</div>
<div class="card-action">
<a href="pessoa.html">Gerar Dados de PESSOA</a>
</div>
</div>
</li>

<li class="col m4">
<div class=" card">
Expand Down
557 changes: 384 additions & 173 deletions demo/js-brasil.js

Large diffs are not rendered by default.

52 changes: 29 additions & 23 deletions demo/pessoa.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body data-id="personal">
<body data-id="pessoa">
<header></header>

<main class="container">
Expand Down Expand Up @@ -43,40 +43,46 @@ <h1>Gerador de Dados de Pessoa Física</h1>
<div class="card">
<div class="card-content">


<fieldset>
<label class="card-title activator grey-text text-darken-4">Placa</label>
<input id="placa" type="text" class="validate">
<label class="card-title activator grey-text text-darken-4">Nome</label>
<input id="nome" type="text" class="validate">

<label class="card-title activator grey-text text-darken-4">Chassi</label>
<input id="chassi" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Mãe</label>
<input id="mae" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Marca</label>
<input id="marca" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Pai</label>
<input id="pai" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Modelo</label>
<input id="modelo" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Site</label>
<input id="site" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Categoria</label>
<input id="categoria" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Email</label>
<input id="email" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Espécie</label>
<input id="especie" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">RG</label>
<input id="rg" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Restrição</label>
<input id="restricao" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">CPF</label>
<input id="cpf" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Tipo</label>
<input id="tipo" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Telefone</label>
<input id="telefone" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Carroceria</label>
<input id="carroceria" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Celular</label>
<input id="celular" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Combustível</label>
<input id="combustivel" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Data de Nascimento</label>
<input id="dataNascimento" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Cor</label>
<input id="cor" type="text" class="" />
<label class="card-title activator grey-text text-darken-4">Endereço</label>
<input id="endereco" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Usuário</label>
<input id="usuario" type="text" class="" />

<label class="card-title activator grey-text text-darken-4">Senha</label>
<input id="senha" type="text" class="" />

</fieldset>

Expand Down
Loading

0 comments on commit 33ec920

Please sign in to comment.