| addDoiBaseUrl | ||||||
addDoiBaseUrl(value: string)
|
||||||
|
Adds the doi base if not already present
Parameters :
Returns :
string
|
| normalizeDoi | ||||||
normalizeDoi(value: string)
|
||||||
|
Normalizes a doi id
Parameters :
Returns :
string | undefined
|
| removeDoiBase | ||||||
removeDoiBase(value: string)
|
||||||
|
Removes the doi base and prefix
Parameters :
Returns :
string
|
| addOrcidBaseUrl | ||||||||
addOrcidBaseUrl(value: string)
|
||||||||
|
Adds the ORCID base URL to a given value if it does not already start with it.
Parameters :
Returns :
string
The value with the ORCID base URL prepended if it was not already present. |
| normalizeOrcid | ||||||||
normalizeOrcid(value: string)
|
||||||||
|
Normalizes an ORCID identifier by removing the base URL and hyphens, then reformatting it with hyphens and adding the base URL back.
Parameters :
Returns :
string | undefined
The normalized ORCID identifier with the base URL, or undefined if the input is invalid. |
| removeOrcidBaseUrl | ||||||||
removeOrcidBaseUrl(value: string)
|
||||||||
|
Removes the ORCID base URL from a given value if it starts with it.
Parameters :
Returns :
string
The value without the ORCID base URL. |
| filterAutocompleteOptions | ||||||||||||||||
filterAutocompleteOptions(options: Signal, source, getValue)
|
||||||||||||||||
|
Filters a set of options based on the user input.
The filtering is case insensitive and ptions are returned in alphabetical order using the default locale.
Empty inputs (
Parameters :
Returns :
Signal<T[]>
The options that matches the current user input |
| getNodeBbox | ||||||||
getNodeBbox(model: SpatialSceneNode)
|
||||||||
|
Compute the bounding box for a node
Parameters :
Returns :
AABB
Bounding box |
| globalConfigFactory | ||||||||
globalConfigFactory(globals: GlobalsService)
|
||||||||
|
Factory function to create the global configuration object.
Parameters :
Returns :
GlobalConfig
The global configuration object. |
| parseOrgan | ||||||
parseOrgan(value)
|
||||||
|
Tries to parse the input value as an Organ using BUILTIN_PARSERS.json. If parsing fails, returns the value as a string.
Parameters :
Returns :
string | Organ
organ |
| undefIfNaN | ||||||
undefIfNaN(value: number)
|
||||||
|
Returns undefined if number is not a number, otherwise returns the number
Parameters :
Returns :
number | undefined
|