src/app/app.component.ts
This is the main angular component that all the other components branch off from. It is in charge of the header and drawer components who have many sub-components.
BaseApplicationComponent
| changeDetection | ChangeDetectionStrategy.OnPush |
| host | { |
| selector | ccf-root |
| templateUrl | ./app.component.html |
| styleUrl | ./app.component.scss |
Properties |
|
Methods |
constructor()
|
|
Defined in src/app/app.component.ts:150
|
|
Creates an instance of app component. |
| asMutable | ||||||
asMutable(value: Immutable
|
||||||
|
Defined in src/app/app.component.ts:220
|
||||||
Type parameters :
|
||||||
|
Helper to cast immutable types to mutable
Parameters :
Returns :
T
|
| clearAllOrgans |
clearAllOrgans()
|
|
Defined in src/app/app.component.ts:230
|
|
Clear all organs
Returns :
void
|
| formatRange |
formatRange(range: number[] | undefined, min: number, max: number)
|
|
Defined in src/app/app.component.ts:181
|
|
Format a range of values
Returns :
string
|
| isItemSelected | ||||||
isItemSelected(item: string)
|
||||||
|
Defined in src/app/app.component.ts:210
|
||||||
|
Whether an item is selected
Parameters :
Returns :
any
|
| ontologySelected | ||||||||||||
ontologySelected(ontologySelection: OntologySelection[] | undefined, type: "anatomical-structures" | "cell-type" | "biomarkers")
|
||||||||||||
|
Defined in src/app/app.component.ts:191
|
||||||||||||
|
Captures changes in the ontologySelection and uses them to update the results-browser label and the filter object in the data store.
Parameters :
Returns :
void
|
| selectAllOrgans |
selectAllOrgans()
|
|
Defined in src/app/app.component.ts:225
|
|
Select all organs
Returns :
void
|
| toggleSelection | ||||||
toggleSelection(value: string[])
|
||||||
|
Defined in src/app/app.component.ts:215
|
||||||
|
Toggle selection
Parameters :
Returns :
void
|
| unHighlightNode |
unHighlightNode()
|
|
Defined in src/app/app.component.ts:235
|
|
Unhighlight a node
Returns :
void
|
| Protected Readonly ageRangeValue |
Type : unknown
|
Default value : computed(() =>
this.formatRange(this.filter().ageRange, DEFAULT_FILTER_AGE_LOW, DEFAULT_FILTER_AGE_HIGH),
)
|
|
Defined in src/app/app.component.ts:126
|
|
Formatted age range |
| Readonly baseHref$ |
Type : unknown
|
Default value : this.globalConfig.getOption('baseHref')
|
|
Defined in src/app/app.component.ts:147
|
|
Base href option |
| Protected Readonly biomarkerTree |
Type : unknown
|
Default value : this.store.selectSignal(DataStateSelectors.biomarkersTreeModel)
|
|
Defined in src/app/app.component.ts:123
|
|
Biomarker tree |
| Protected Readonly bmiRangeValue |
Type : unknown
|
Default value : computed(() =>
this.formatRange(this.filter().bmiRange, DEFAULT_FILTER_BMI_LOW, DEFAULT_FILTER_BMI_HIGH),
)
|
|
Defined in src/app/app.component.ts:130
|
|
Formatted bmi range |
| Protected Readonly cellTypeTree |
Type : unknown
|
Default value : this.store.selectSignal(DataStateSelectors.cellTypesTreeModel)
|
|
Defined in src/app/app.component.ts:119
|
|
Cell type tree |
| Protected Readonly consortiaOptions |
Type : unknown
|
Default value : toSignal(this.data.consortiaFilterData$, { initialValue: [] })
|
|
Defined in src/app/app.component.ts:111
|
|
Consortia options |
| Protected Readonly data |
Type : unknown
|
Default value : inject(DataState)
|
|
Defined in src/app/app.component.ts:91
|
|
Data state |
| Protected Readonly databaseReady |
Type : unknown
|
Default value : this.store.selectSignal(DataStateSelectors.isDatabaseReady)
|
|
Defined in src/app/app.component.ts:115
|
|
Database state |
| Protected Readonly debouncedHighlight |
Type : unknown
|
Default value : debounce((id: string) => this.listResultsState.highlightNode(id), 100)
|
|
Defined in src/app/app.component.ts:150
|
|
Node highlighting function with debounce |
| Protected Readonly filter |
Type : unknown
|
Default value : toSignal(this.data.filter$, { requireSync: true })
|
|
Defined in src/app/app.component.ts:104
|
|
Filter |
| Readonly filter$ |
Type : unknown
|
Default value : this.globalConfig.getOption('filter')
|
|
Defined in src/app/app.component.ts:143
|
|
Filter option |
| Readonly header$ |
Type : unknown
|
Default value : this.globalConfig.getOption('header')
|
|
Defined in src/app/app.component.ts:135
|
|
Header option |
| Readonly homeUrl$ |
Type : unknown
|
Default value : this.globalConfig.getOption('homeUrl')
|
|
Defined in src/app/app.component.ts:137
|
|
Home url option |
| Readonly listResultsState |
Type : unknown
|
Default value : inject(ListResultsState)
|
|
Defined in src/app/app.component.ts:97
|
|
List results state |
| Readonly loginDisabled$ |
Type : unknown
|
Default value : this.globalConfig.getOption('loginDisabled')
|
|
Defined in src/app/app.component.ts:141
|
|
Login disabled option |
| Readonly logoTooltip$ |
Type : unknown
|
Default value : this.globalConfig.getOption('logoTooltip')
|
|
Defined in src/app/app.component.ts:139
|
|
Logo tooltip option |
| Readonly menuOptions |
Type : string[]
|
Default value : ['Anatomical Structures', 'Cell Types', 'Biomarkers']
|
|
Defined in src/app/app.component.ts:77
|
|
Menu options |
| Readonly ontologyTooltips |
Type : Record<string | string>
|
Default value : {
as: 'Parts of the body in defined locations and regions, including the surface, internal organs and tissues. These structures may be described by gross or microscopic morphology and include functional tissue units and highly organized cellular ecosystems (such as alveoli in the lungs).',
ct: 'Mammalian cells are biological units with a defined function that typically have a nucleus and cytoplasm surrounded by a membrane. Each cell type may have broad common functions across organs and specialized functions or morphological or molecular features within each organ or region. For example, epithelial cells in the skin, lungs and kidneys may have shared and specialized functions according to tissue localization.',
b: 'Molecular, histological, morphological, radiological, physiological or anatomical features that help to characterize the biological state of the body. Here we focus on the molecular markers that can be measured to characterize a cell type.',
}
|
|
Defined in src/app/app.component.ts:79
|
|
Tooltips |
| Protected Readonly ontologyTree |
Type : unknown
|
Default value : this.store.selectSignal(DataStateSelectors.anatomicalStructuresTreeModel)
|
|
Defined in src/app/app.component.ts:121
|
|
Ontology tree |
| Protected Readonly providerOptions |
Type : unknown
|
Default value : toSignal(this.data.providerFilterData$, { initialValue: [] })
|
|
Defined in src/app/app.component.ts:108
|
|
Provider options |
| Protected Readonly queryStatus |
Type : unknown
|
Default value : toSignal(this.data.queryStatus$, { requireSync: true })
|
|
Defined in src/app/app.component.ts:117
|
|
Query status |
| Readonly removeSpatialSearch |
Type : unknown
|
Default value : actionAsFn(RemoveSearch)
|
Decorators :
@Dispatch()
|
|
Defined in src/app/app.component.ts:74
|
|
Remove spatial searches |
| Readonly scene |
Type : unknown
|
Default value : inject(SceneState)
|
|
Defined in src/app/app.component.ts:95
|
|
Scene state |
| Readonly selectedOrgans$ |
Type : unknown
|
Default value : this.globalConfig.getOption('selectedOrgans')
|
|
Defined in src/app/app.component.ts:145
|
|
Selected organs options |
| selectedToggleOptions |
Type : string[]
|
Default value : []
|
|
Defined in src/app/app.component.ts:86
|
|
Selected options |
| Readonly setSelectedSearches |
Type : unknown
|
Default value : actionAsFn(SetSelectedSearches)
|
Decorators :
@Dispatch()
|
|
Defined in src/app/app.component.ts:70
|
|
Set selected searches |
| Readonly snackbar |
Type : unknown
|
Default value : inject(SnackbarService)
|
|
Defined in src/app/app.component.ts:99
|
|
Snackbar service |
| Protected Readonly spatialFlowService |
Type : unknown
|
Default value : inject(SpatialSearchFlowService)
|
|
Defined in src/app/app.component.ts:93
|
|
Spatial flow service |
| Protected Readonly spatialSearchItems |
Type : unknown
|
Default value : this.store.selectSignal(SpatialSearchFilterSelectors.items)
|
|
Defined in src/app/app.component.ts:113
|
|
Spatial searches |
| Protected Readonly technologyOptions |
Type : unknown
|
Default value : toSignal(this.data.technologyFilterData$, { initialValue: [] })
|
|
Defined in src/app/app.component.ts:106
|
|
Technology options |