@fundamental-ngx/cdk 0.57.4-rc.9 → 0.57.5-rc.0
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
package/utils/index.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ declare class FocusableItemDirective implements FocusableItem, HasElementRef {
|
|
|
47
47
|
cellFocusedEventAnnouncer: CellFocusedEventAnnouncer;
|
|
48
48
|
/** Event emitted when the cell receives focus, not being emitted when focus moves between item's children. */
|
|
49
49
|
readonly cellFocused: EventEmitter<FocusableItemPosition>;
|
|
50
|
+
/** Event emitted when a focusable child element is focused. */
|
|
51
|
+
readonly focusableChildElementFocused: EventEmitter<void>;
|
|
52
|
+
/** @hidden */
|
|
53
|
+
readonly _parentFocusableItemFocused: EventEmitter<void>;
|
|
50
54
|
/** Element reference. */
|
|
51
55
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
52
56
|
/** @hidden */
|
|
@@ -64,8 +68,6 @@ declare class FocusableItemDirective implements FocusableItem, HasElementRef {
|
|
|
64
68
|
/** @hidden */
|
|
65
69
|
private _tabbable;
|
|
66
70
|
/** @hidden */
|
|
67
|
-
private _timerId;
|
|
68
|
-
/** @hidden */
|
|
69
71
|
private readonly _focusableObserver;
|
|
70
72
|
/** @hidden */
|
|
71
73
|
private readonly _tabbableElementService;
|
|
@@ -76,6 +78,8 @@ declare class FocusableItemDirective implements FocusableItem, HasElementRef {
|
|
|
76
78
|
/** @hidden */
|
|
77
79
|
private readonly _document;
|
|
78
80
|
/** @hidden */
|
|
81
|
+
private readonly _checker;
|
|
82
|
+
/** @hidden */
|
|
79
83
|
constructor();
|
|
80
84
|
/** @hidden */
|
|
81
85
|
element: () => HTMLElement;
|
|
@@ -86,19 +90,17 @@ declare class FocusableItemDirective implements FocusableItem, HasElementRef {
|
|
|
86
90
|
/** Set tabbable state */
|
|
87
91
|
setTabbable(state: boolean): void;
|
|
88
92
|
/** @hidden */
|
|
89
|
-
|
|
93
|
+
enableTabbableElements(): void;
|
|
90
94
|
/** @hidden */
|
|
91
|
-
|
|
95
|
+
disableTabbableElements(): void;
|
|
92
96
|
/** @hidden */
|
|
93
|
-
private
|
|
94
|
-
/** @hidden */
|
|
95
|
-
private _enableTabbableElements;
|
|
97
|
+
private _onFocusin;
|
|
96
98
|
/** @hidden */
|
|
97
|
-
private
|
|
99
|
+
private _onKeydown;
|
|
98
100
|
/** @hidden */
|
|
99
101
|
private _defaultItemFocusedEventAnnouncer;
|
|
100
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusableItemDirective, never>;
|
|
101
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableItemDirective, "[fdkFocusableItem]", never, { "fdkFocusableItem": { "alias": "fdkFocusableItem"; "required": false; }; "cellFocusedEventAnnouncer": { "alias": "cellFocusedEventAnnouncer"; "required": false; }; }, { "cellFocused": "cellFocused"; }, never, never, true, never>;
|
|
103
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableItemDirective, "[fdkFocusableItem]", never, { "fdkFocusableItem": { "alias": "fdkFocusableItem"; "required": false; }; "cellFocusedEventAnnouncer": { "alias": "cellFocusedEventAnnouncer"; "required": false; }; }, { "cellFocused": "cellFocused"; "focusableChildElementFocused": "focusableChildElementFocused"; "_parentFocusableItemFocused": "_parentFocusableItemFocused"; }, never, never, true, never>;
|
|
102
104
|
static ngAcceptInputType_fdkFocusableItem: unknown;
|
|
103
105
|
}
|
|
104
106
|
|
|
@@ -208,6 +210,7 @@ declare function scrollIntoView(element: Nullable<HTMLElement>, position: Nullab
|
|
|
208
210
|
interface FocusableListItemFocusedEvent {
|
|
209
211
|
index: number;
|
|
210
212
|
total: number;
|
|
213
|
+
id?: string | null;
|
|
211
214
|
}
|
|
212
215
|
interface FocusableListKeydownEvent {
|
|
213
216
|
list: FocusableListDirective;
|
|
@@ -342,6 +345,8 @@ declare class FocusableGridDirective implements AfterViewInit {
|
|
|
342
345
|
/** @hidden */
|
|
343
346
|
private readonly _focusableLists;
|
|
344
347
|
/** @hidden */
|
|
348
|
+
private readonly _focusableItems;
|
|
349
|
+
/** @hidden */
|
|
345
350
|
_preventKeydown: boolean;
|
|
346
351
|
/** @hidden */
|
|
347
352
|
private readonly _destroyRef;
|
|
@@ -356,8 +361,10 @@ declare class FocusableGridDirective implements AfterViewInit {
|
|
|
356
361
|
_onKeydown(event: KeyboardEvent, list: FocusableListDirective, activeItemIndex: Nullable<number>): void;
|
|
357
362
|
/** @hidden */
|
|
358
363
|
private _getItemIndex;
|
|
364
|
+
/** @hidden */
|
|
365
|
+
private _handleItemSubscriptions;
|
|
359
366
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusableGridDirective, never>;
|
|
360
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableGridDirective, "[fdkFocusableGrid]", ["fdkFocusableGrid"], { "contentDirection": { "alias": "contentDirection"; "required": false; }; "wrapHorizontally": { "alias": "wrapHorizontally"; "required": false; }; "shortRowFocus": { "alias": "shortRowFocus"; "required": false; }; }, { "itemFocused": "itemFocused"; "rowFocused": "rowFocused"; }, ["_focusableLists"], never, true, never>;
|
|
367
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableGridDirective, "[fdkFocusableGrid]", ["fdkFocusableGrid"], { "contentDirection": { "alias": "contentDirection"; "required": false; }; "wrapHorizontally": { "alias": "wrapHorizontally"; "required": false; }; "shortRowFocus": { "alias": "shortRowFocus"; "required": false; }; }, { "itemFocused": "itemFocused"; "rowFocused": "rowFocused"; }, ["_focusableLists", "_focusableItems"], never, true, never>;
|
|
361
368
|
static ngAcceptInputType_wrapHorizontally: unknown;
|
|
362
369
|
}
|
|
363
370
|
|