-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1143 from bildvitta/feature/resign-inputs
Redesign v3
- Loading branch information
Showing
101 changed files
with
2,156 additions
and
518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- [] Possibilidade de variação de tamanho de ícone nos botões; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<template> | ||
<div class="container q-gutter-md q-py-lg"> | ||
<qas-badge v-for="(key, value) in badges" :key="value" :color="value" :label="value" removable :text-color="key" /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
computed: { | ||
badges () { | ||
return { | ||
'light-blue-2': 'black', | ||
'green-14': 'white', | ||
'blue-8': 'white', | ||
'grey-10': 'white', | ||
'orange-8': 'white', | ||
'red-14': 'white', | ||
'yellow-14': 'white', | ||
'grey-7': 'white', | ||
'purple-7': 'white', | ||
'amber-2': 'black', | ||
'green-11': 'black' | ||
} | ||
} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<template> | ||
<div class="container spaced"> | ||
<qas-box> | ||
<qas-label label="Título" /> | ||
|
||
<div class="q-col-gutter-md row"> | ||
<div class="col-4"> | ||
<qas-card :route="{ name: 'Root' }" title="Titulo"> | ||
<template #default> | ||
<div> | ||
Meu conteúdo | ||
</div> | ||
</template> | ||
</qas-card> | ||
</div> | ||
|
||
<div class="col-4"> | ||
<qas-card :expansion-props="expansionProps" :route="{ name: 'Root' }" title="Titulo"> | ||
<template #default> | ||
<div> | ||
Meu conteúdo | ||
</div> | ||
</template> | ||
</qas-card> | ||
</div> | ||
|
||
<div class="col-4"> | ||
<qas-card | ||
:actions-menu-props="actionsMenuProps" :expansion-props="expansionProps" :route="{ name: 'Root' }" | ||
status-color="red-14" title="Titulo" use-expansion | ||
> | ||
<template #default> | ||
<div> | ||
Meu conteúdo | ||
</div> | ||
</template> | ||
</qas-card> | ||
</div> | ||
</div> | ||
</qas-box> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
computed: { | ||
actionsMenuProps () { | ||
return { | ||
show: { | ||
label: 'Ir para detalhes', | ||
icon: 'sym_r_visibility' | ||
}, | ||
edit: { | ||
label: 'Editar', | ||
icon: 'sym_r_edit' | ||
} | ||
} | ||
}, | ||
expansionProps () { | ||
return { | ||
label: 'Ver mais', | ||
content: 'Conteúdo do menu expansivo' | ||
} | ||
} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<template> | ||
<div class="container spaced"> | ||
<qas-checkbox v-model="model" label="Aceitar" :options="optionsChildren" /> | ||
|
||
<div class="q-mt-lg"> | ||
model: {{ model }} | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
defineOptions({ name: 'Children' }) | ||
const model = ref([]) | ||
const optionsChildren = [ | ||
{ | ||
label: 'Opção 1', | ||
value: 1, | ||
children: [ | ||
{ | ||
label: 'Opção 2', | ||
value: 2 | ||
}, | ||
{ | ||
label: 'Opção 3', | ||
value: 3 | ||
} | ||
] | ||
} | ||
] | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<div class="container spaced"> | ||
<qas-checkbox v-model="model" :options /> | ||
|
||
<div class="q-mt-lg"> | ||
model: {{ model }} | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
defineOptions({ name: 'Options' }) | ||
const model = ref([]) | ||
const options = [ | ||
{ | ||
label: 'Opção 1', | ||
value: 1 | ||
}, | ||
{ | ||
label: 'Opção 2', | ||
value: 2 | ||
}, | ||
{ | ||
label: 'Opção 3', | ||
value: 3 | ||
} | ||
] | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<div class="container spaced"> | ||
<qas-checkbox v-model="model" :false-value="false" label="Aceitar" :true-value="true" /> | ||
|
||
<div class="q-mt-lg"> | ||
model: {{ model }} | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
defineOptions({ name: 'Single' }) | ||
const model = ref(false) | ||
</script> |
Oops, something went wrong.