| _closeDialogVia | ||||||||||||
_closeDialogVia(ref: MefDevDialogRef, interactionType: FocusOrigin, result?: R)
|
||||||||||||
|
Helper to close a dialog and tag the close with the interaction origin. Used by default ESC/backdrop handlers to restore focus appropriately.
Parameters :
|
| _countGroupLabelsBeforeOption | ||||||||||||||||
_countGroupLabelsBeforeOption(optionIndex: number, options: QueryList, optionGroups: QueryList)
|
||||||||||||||||
|
Count how many group labels appear before a given option index. Useful for computing aria-posinset / active-descendant offsets when groups are present.
Parameters :
Returns :
number
Number of group headers preceding the option. |
| _getOptionScrollPosition | ||||||||||||||||||||
_getOptionScrollPosition(optionOffset: number, optionHeight: number, currentScrollPosition: number, panelHeight: number)
|
||||||||||||||||||||
|
Compute the
Parameters :
Returns :
number
Desired |
| _removeFromArray | |||||||||
_removeFromArray(array, object: T)
|
|||||||||
|
Parameters :
Returns :
void
|
| getPreferredWidthForElements | |||||||||
getPreferredWidthForElements(elements, host: HTMLElement)
|
|||||||||
|
Parameters :
|
| getWidthOfColsInList | ||||
getWidthOfColsInList(columnList)
|
||||
|
Parameters :
|
| normaliseColumnWidth | ||||||||||||||||
normaliseColumnWidth(column: MDGridColumnDirective, newWidth: number, limits)
|
||||||||||||||||
|
Parameters :
|
| refreshFlexedColumns | ||||||||||||
refreshFlexedColumns(totalSpace: number, columns, resizingCols?)
|
||||||||||||
|
Parameters :
|
| sizeColumnsToFit |
sizeColumnsToFit(gridWidth: number, allColumns, defaultMinColumnWidth, defaultMaxColumnWidth, onlyScaleUp: boolean)
|
| asDate | ||||
asDate(value)
|
||||
|
Parameters :
Returns :
Date | null
|
| createWeekdays |
createWeekdays()
|
|
Returns :
string[]
|
| sameDate |
sameDate(a: Date, b: Date)
|
|
Returns :
boolean
|
| startOfMonth | ||||||
startOfMonth(date: Date)
|
||||||
|
Parameters :
Returns :
Date
|
| asDate | ||||
asDate(value)
|
||||
|
Parameters :
Returns :
Date | null
|
| formatDate | ||||
formatDate(value)
|
||||
|
Parameters :
Returns :
string
|
| parseDate | ||||||
parseDate(value: string)
|
||||||
|
Parameters :
Returns :
Date | null
|
| asDate | ||||
asDate(value)
|
||||
|
Parameters :
Returns :
Date | null
|
| createWeekdays |
createWeekdays()
|
|
Returns :
string[]
|
| isWithinRange | ||||||||||||
isWithinRange(date: Date, start, end)
|
||||||||||||
|
Parameters :
Returns :
boolean
|
| sameDate |
sameDate(a: Date, b: Date)
|
|
Returns :
boolean
|
| startOfMonth | ||||||
startOfMonth(date: Date)
|
||||||
|
Parameters :
Returns :
Date
|
| asDate | ||||
asDate(value)
|
||||
|
Parameters :
Returns :
Date | null
|
| formatDate | ||||
formatDate(value)
|
||||
|
Parameters :
Returns :
string
|
| parseDate | ||||||
parseDate(value: string)
|
||||||
|
Parameters :
Returns :
Date | null
|
| asDate | ||||
asDate(value)
|
||||
|
Parameters :
Returns :
Date | null
|
| createWeekdays |
createWeekdays()
|
|
Returns :
string[]
|
| sameDate |
sameDate(a: Date, b: Date)
|
|
Returns :
boolean
|
| startOfMonth | ||||||
startOfMonth(date: Date)
|
||||||
|
Parameters :
Returns :
Date
|
| checkMinAndMaxWidthsForSet | ||||||
checkMinAndMaxWidthsForSet(columnResizeSet: ColumnResizeSet)
|
||||||
|
Parameters :
|
| clamp | ||||||
clamp(value: number)
|
||||||
|
Parameters :
Returns :
number
|
| clamp | ||||||
clamp(value: number)
|
||||||
|
Parameters :
Returns :
number
|
| compareDates | ||||||
compareDates(a, b)
|
||||||
|
Parameters :
Returns :
number
|
| dateValue | ||||
dateValue(value)
|
||||
|
Parameters :
Returns :
number
|
| createValueGetter | ||||||
createValueGetter(prop?: string)
|
||||||
|
Create value getter function for column
Parameters :
Returns :
any
|
| defaultComparator |
defaultComparator(valueA: any, valueB: any)
|
|
Default comparator for sorting
Returns :
number
|
| formatPropAsName | ||||||
formatPropAsName(prop: string)
|
||||||
|
Format property name as display name e.g., 'firstName' -> 'First Name', 'user_name' -> 'User Name'
Parameters :
Returns :
string
|
| generateColumnId |
generateColumnId()
|
|
Generate unique column ID
Returns :
string
|
| getValueByPath | |||||||||
getValueByPath(obj: T, path: string)
|
|||||||||
|
Get value from object by property path (supports nested paths like 'user.name')
Parameters :
Returns :
any
|
| groupRowsByProperty | ||||||
groupRowsByProperty(rows, groupBy)
|
||||||
|
Group rows by a property
Parameters :
Returns :
GroupedRows[]
|
| nextSortDirection | ||||||||||||
nextSortDirection(currentDir, enableClearing: boolean)
|
||||||||||||
|
Get next sort direction
Parameters :
Returns :
SortDirection | undefined
|
| sortRows | ||||||||
sortRows(rows, sorts, columns)
|
||||||||
|
Sort rows by sort configuration
Parameters :
Returns :
T[]
|
| getClosestDialog | |||||||||
getClosestDialog(element: ElementRef, openDialogs)
|
|||||||||
|
Finds the closest MD dialog container element in the ancestors of This is a fallback for cases where directives are used outside of the primary injection context but still live inside the dialog DOM subtree.
Parameters :
|
| getMDAutocompleteMissingPanelError |
getMDAutocompleteMissingPanelError()
|
|
Returns :
Error
|
| getMDSelectDynamicMultipleError |
getMDSelectDynamicMultipleError()
|
|
Returns an exception to be thrown when attempting to change a select's
Returns :
Error
|
| getOverflowIndices | |||||||||||||||
getOverflowIndices(widths, available: number, menuWidth: number, preferred: number)
|
|||||||||||||||
|
Pack whole labels in order, reserving space for the menu and the selected/focused tab.
Parameters :
Returns :
number[]
|
| INK_BAR_POSITIONER_FACTORY |
INK_BAR_POSITIONER_FACTORY()
|
|
Factory returning a default ink bar positioner based on
Returns :
_InkBarPositioner
|
| matchesFileAccept | |||||||||
matchesFileAccept(file: Pick, accept: string)
|
|||||||||
|
Parameters :
Returns :
boolean
|
| paginationPages |
paginationPages(page: number, count: number)
|
|
Bounded page window, including both ends; never iterates over the total page count.
Returns :
unknown[]
|
| positiveInteger |
positiveInteger(value: number, fallback: number)
|
|
Returns :
number
|
| STEPPER_INTL_PROVIDER_FACTORY | ||||||
STEPPER_INTL_PROVIDER_FACTORY(parentIntl: StepperIntl)
|
||||||
|
Factory that returns the closest parent StepperIntl if available, otherwise creates a new instance. This allows apps/libraries to provide a single shared StepperIntl higher in the injector tree and have all steppers reuse it.
Parameters :
|
| throwMDMenuInvalidPositionX |
throwMDMenuInvalidPositionX()
|
| throwMDMenuInvalidPositionY |
throwMDMenuInvalidPositionY()
|
| throwMDMenuRecursiveError |
throwMDMenuRecursiveError()
|