mn-angular-lib 1.0.172 → 1.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5513,6 +5513,16 @@ declare class MnTable<T = object> extends MnSelectableCollectionBase<T, TableDat
|
|
|
5513
5513
|
* @param column - The filtered column.
|
|
5514
5514
|
*/
|
|
5515
5515
|
filterLabel(column: ColumnDefinition<T>): string;
|
|
5516
|
+
/**
|
|
5517
|
+
* A string column's header text. `headerKey` is translated here, at render time, rather than
|
|
5518
|
+
* only in `resolveTranslationKeys`: that runs on init and on a locale change, so a column a
|
|
5519
|
+
* consumer adds afterwards (a permission-gated actions or image column) kept an empty header,
|
|
5520
|
+
* which a screen reader announces as a nameless column.
|
|
5521
|
+
* @param column - The column whose header is shown.
|
|
5522
|
+
* @returns The translated key when the column has one, otherwise its literal header, or an
|
|
5523
|
+
* empty string for a template header (rendered through its own outlet instead).
|
|
5524
|
+
*/
|
|
5525
|
+
headerText(column: ColumnDefinition<T>): string;
|
|
5516
5526
|
isSortable(column: ColumnDefinition<T>): boolean;
|
|
5517
5527
|
constructor();
|
|
5518
5528
|
/**
|
|
@@ -5527,6 +5537,8 @@ declare class MnTable<T = object> extends MnSelectableCollectionBase<T, TableDat
|
|
|
5527
5537
|
get selectionSummaryToggleLabel(): string;
|
|
5528
5538
|
/** Placeholder and accessible name for the search box. */
|
|
5529
5539
|
get searchPlaceholderLabel(): string;
|
|
5540
|
+
/** Screen-reader-only header text of the selection column, so that column is never nameless. */
|
|
5541
|
+
get selectionColumnLabel(): string;
|
|
5530
5542
|
/** Accessible name for the scrollable table region. */
|
|
5531
5543
|
get tableRegionLabel(): string;
|
|
5532
5544
|
/**
|
|
@@ -8590,6 +8602,29 @@ declare class MnTabComponent implements DoCheck, AfterViewInit, AfterViewChecked
|
|
|
8590
8602
|
* @param item - The tab item to activate.
|
|
8591
8603
|
*/
|
|
8592
8604
|
setActive(item: MnTabItem): void;
|
|
8605
|
+
/**
|
|
8606
|
+
* Whether a tab is the bar's single Tab stop: the active tab, or the first tab while none is
|
|
8607
|
+
* active yet. Every other tab is reached with the arrow keys, so Tab leaves the bar in one press.
|
|
8608
|
+
* @param item - The tab to check.
|
|
8609
|
+
* @returns True for the one tab that keeps `tabindex="0"`.
|
|
8610
|
+
*/
|
|
8611
|
+
isTabStop(item: MnTabItem): boolean;
|
|
8612
|
+
/**
|
|
8613
|
+
* Keyboard handling on a tab. Left and Right move to the previous or next tab and wrap at the
|
|
8614
|
+
* ends, Home and End jump to the first and last; the tab moved to is activated at once
|
|
8615
|
+
* (automatic activation) and receives focus. Enter and Space activate the focused tab, handled
|
|
8616
|
+
* on keydown so Space does not scroll the page first. Other keys are left alone.
|
|
8617
|
+
* @param event - The keydown on a tab.
|
|
8618
|
+
* @param item - The tab the key was pressed on.
|
|
8619
|
+
*/
|
|
8620
|
+
onTabKeydown(event: KeyboardEvent, item: MnTabItem): void;
|
|
8621
|
+
/**
|
|
8622
|
+
* Moves focus to the tab at `index` and scrolls it into view inside a scrollable bar. Focusing
|
|
8623
|
+
* works before change detection has moved `tabindex="0"` onto it, because a script may focus an
|
|
8624
|
+
* element with `tabindex="-1"`.
|
|
8625
|
+
* @param index - Position of the tab in the data source's items.
|
|
8626
|
+
*/
|
|
8627
|
+
private focusTab;
|
|
8593
8628
|
/**
|
|
8594
8629
|
* Moves the selection to `item` and tells the consumer about it: the
|
|
8595
8630
|
* deactivate/activate/emit sequence a click produces, shared by the click
|