Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Merge requests
!123
Resolve "Wizzard to create db filters"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Wizzard to create db filters"
wizzard-db-filters
into
dev
Overview
0
Commits
25
Pipelines
22
Changes
27
Merged
Remi PLANEL
requested to merge
wizzard-db-filters
into
dev
1 year ago
Overview
0
Commits
25
Pipelines
22
Changes
4
Expand
Closes
#323 (closed)
0
0
Merge request reports
Viewing commit
024b5d65
Prev
Next
Show latest version
4 files
+
66
−
57
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
024b5d65
search and filter 2 input different
· 024b5d65
Remi PLANEL
authored
1 year ago
components/content/RefseqDb.vue
+
30
−
22
Options
@@ -10,7 +10,8 @@ const facetStore = useFacetsStore()
const
sortBy
:
Ref
<
{
key
:
string
,
order
:
string
}[]
>
=
ref
([{
key
:
'
type
'
,
order
:
"
asc
"
}])
const
itemValue
=
ref
(
"
id
"
);
const
{
width
}
=
useDisplay
();
const
distriTaxoFullscreen
=
ref
(
false
)
const
distriSystemFullscreen
=
ref
(
false
)
const
facets
=
ref
([
"
type
"
,
"
Superkingdom
"
,
@@ -134,27 +135,34 @@ function capitalize([first, ...rest]) {
</
script
>
<
template
>
<v-row>
<v-col
cols=
"6"
>
<v-card
flat
class=
"my-3"
>
<v-card-title>
Systems Distribution
</v-card-title>
<v-card-text>
<PlotFigure
:options=
"unref(computedDistriSystemOptions)"
defer
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
<v-col
cols=
"6"
>
<v-card
flat
:loading=
"pending"
>
<v-card-title>
Taxonomic Distribution
</v-card-title>
<v-card-text>
<v-select
v-model=
"selectedTaxoRank"
:items=
"availableTaxo"
density=
"compact"
label=
"Select taxonomic rank"
></v-select>
<PlotFigure
defer
:options=
"unref(computedDistriTaxoOptions)"
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
</v-row>
<v-card
flat
class=
"mb-2"
>
<v-row
align=
"start"
class=
"mb-2"
>
<v-col
:cols=
"distriSystemFullscreen ? 12 : 6"
:class=
"distriTaxoFullscreen ? 'd-none' : null"
>
<v-card
flat
class=
"my-3"
>
<v-card-title>
Systems Distribution
<v-btn
variant=
"plain"
:icon=
"distriSystemFullscreen ? 'md:fullscreen_exit' : 'md:fullscreen'"
@
click=
"distriSystemFullscreen = !distriSystemFullscreen"
></v-btn></v-card-title>
<v-card-text>
<PlotFigure
:options=
"unref(computedDistriSystemOptions)"
defer
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
<v-col
:cols=
"distriTaxoFullscreen ? 12 : 6"
:class=
"distriSystemFullscreen ? 'd-none' : null"
>
<v-card
flat
>
<v-card-title>
Taxonomic Distribution
<v-btn
variant=
"plain"
:icon=
"distriTaxoFullscreen ? 'md:fullscreen_exit' : 'md:fullscreen'"
@
click=
"distriTaxoFullscreen = !distriTaxoFullscreen"
></v-btn></v-card-title>
<v-card-text>
<v-select
v-model=
"selectedTaxoRank"
:items=
"availableTaxo"
density=
"compact"
label=
"Select taxonomic rank"
></v-select>
<PlotFigure
defer
:options=
"unref(computedDistriTaxoOptions)"
></PlotFigure>
</v-card-text>
</v-card>
</v-col>
</v-row>
</v-card>
<ServerDbTable
title=
"RefSeq"
db=
"refseq"
:sortBy=
"sortBy"
:headers=
"computedHeaders"
:item-value=
"itemValue"
:facets=
"facets"
>
</ServerDbTable>