Skip to content

Commit

Permalink
Merged in upstream changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-wu committed May 22, 2024
2 parents 77ddcf7 + a83d7d3 commit eeba37c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
2 changes: 2 additions & 0 deletions src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ declare module 'vue' {
AnnotationTool: typeof import('./components/AnnotationTool.vue')['default']
ConnectionDialog: typeof import('./components/ConnectionDialog.vue')['default']
DynamicLegends: typeof import('./components/legends/DynamicLegends.vue')['default']
ElAutocomplete: typeof import('element-plus/es')['ElAutocomplete']
ElButton: typeof import('element-plus/es')['ElButton']
ElCard: typeof import('element-plus/es')['ElCard']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
Expand All @@ -34,6 +35,7 @@ declare module 'vue' {
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElSwitch: typeof import('element-plus/es')['ElSwitch']
ElTree: typeof import('element-plus/es')['ElTree']
ExternalResourceCard: typeof import('./components/ExternalResourceCard.vue')['default']
FlatmapVuer: typeof import('./components/FlatmapVuer.vue')['default']
Expand Down
22 changes: 6 additions & 16 deletions src/components/FlatmapVuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ Please use `const` to assign meaningful names to them...
:selections="alertOptions"
@changed="alertSelected"
@checkboxMouseEnter="alertMouseEnterEmitted"
@selections-data-changed="onSelectionsDataChanged"
ref="alertSelection"
key="alertSelection"
/>
Expand Down Expand Up @@ -439,19 +440,6 @@ Please use `const` to assign meaningful names to them...
key="layersSelection"
/>
-->
<selections-group
v-if="!isFC && taxonConnectivity && taxonConnectivity.length > 0"
title="Observed in"
labelKey="label"
identifierKey="taxon"
:selections="taxonConnectivity"
@changed="taxonsSelected"
@checkboxMouseEnter="checkboxMouseEnterEmitted"
@selections-data-changed="onSelectionsDataChanged"
@checkAll="checkAllTaxons"
ref="taxonSelection"
key="taxonSelection"
/>
<selections-group
v-if="pathways && pathways.length > 0"
title="Pathways"
Expand All @@ -467,12 +455,13 @@ Please use `const` to assign meaningful names to them...
/>
<selections-group
v-if="!isFC && taxonConnectivity && taxonConnectivity.length > 0"
title="Observed in"
title="Studied in"
labelKey="label"
identifierKey="taxon"
:selections="taxonConnectivity"
@changed="taxonsSelected"
@checkboxMouseEnter="taxonMouseEnterEmitted"
@selections-data-changed="onSelectionsDataChanged"
@checkAll="checkAllTaxons"
ref="taxonSelection"
key="taxonSelection"
Expand All @@ -484,6 +473,7 @@ Please use `const` to assign meaningful names to them...
identifierKey="key"
:selections="centreLines"
@changed="centreLinesSelected"
@selections-data-changed="onSelectionsDataChanged"
ref="centrelinesSelection"
key="centrelinesSelection"
/>
Expand Down Expand Up @@ -1574,7 +1564,7 @@ export default {
},
/**
* @vuese
* Function to show or hide connectivity features observed in particular species
* Function to show or hide connectivity features studied in particular species
* by providing ``{taxonId, true/false}`` in ``payload.key, payload.value``.
* @arg payload
*/
Expand All @@ -1601,7 +1591,7 @@ export default {
},
/**
* @vuese
* Function to show or hide connectivity features observed in particular species
* Function to show or hide connectivity features studied in particular species
* by providing ``payload`` with ``payload.keys`` array and ``payload.value`` flag.
* @arg payload
*/
Expand Down

0 comments on commit eeba37c

Please sign in to comment.