Common classes used across various UI components.


Name Description  
UiComponents Manages the localization service for the components-react package.  


Name Description  
SelectionMode Selection modes for Tree row selection  
SelectionModeFlags Selection mode flags for Tree row selection  

Global Functions

Name Description  
adjustDateToTimezone Adjust a Date object to show time in one time zone as if it is in the local time zone.  
hasSelectionModeFlag Determines if a SelectionMode is active  
HighlightedText Highlighted text  
Returns a list of links from a text  
toDateString Format a date in a display string, optionally converting to time zone, if specified by timeZoneOffset  
toTimeString Format the time included in a date, optionally converting to time zone, if specified  
useAsyncValue Custom hook for working with possibly async values.  
useDebouncedAsyncValue Custom hook for working with promise values.  


Name Description  
DateFormatOptions Define formatting options for use when component are generating a formatted date string calling Date.toLocaleTimeString().  
HighlightedTextProps Properties of HighlightedText  
HighlightInfo Item highlight info used for identification of a specific highlight in an item  
HighlightingComponentProps Properties used for highlighting parts in item by given text and actively highlighting one highlight in a distinct item specified in activeHighlight  
IImageLoader Interface for an image loader.  
LoadedBinaryImage Image data for raw images  
LoadedImage Image data for string based images  
PageOptions Paging options.  

Type Aliases

Name Description  
Image Image data returned by an IImageLoader  
ImageFileFormat Type of raw image format  
ImageSourceType Type of loaded image source:  
OnItemsDeselectedCallback Called after items were deselected.  
OnItemsSelectedCallback Called after items were selected.  
OnSelectionChanged Prototype for a Selection Changed handler  

Last Updated: 23 May, 2024