@sumaris-net/ngx-components 18.0.7 → 18.0.8
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/doc/changelog.md +7 -1
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +3 -3
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +1 -1
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +40 -11
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs +41 -12
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +5 -0
- package/src/app/shared/inputs.d.ts +1 -1
package/package.json
CHANGED
|
@@ -28,16 +28,21 @@ export declare class Hotkeys {
|
|
|
28
28
|
private modalController;
|
|
29
29
|
private popoverController;
|
|
30
30
|
private _debug;
|
|
31
|
+
private _id;
|
|
31
32
|
private _hotkeys;
|
|
32
33
|
private _document;
|
|
33
34
|
private _defaults;
|
|
34
35
|
private _dialogRef;
|
|
36
|
+
private _dialogIsOpened;
|
|
35
37
|
private _config;
|
|
36
38
|
readonly defaultControlKey: string;
|
|
37
39
|
readonly defaultControlKeyName: string;
|
|
40
|
+
get isHelpModalOpened(): boolean;
|
|
38
41
|
constructor(platform: Platform, eventManager: EventManager, dialog: MatDialog, modalController: ModalController, popoverController: PopoverController, config?: Partial<HotKeysConfig>);
|
|
39
42
|
addShortcut(options: Partial<Options>): Observable<KeyboardEvent>;
|
|
43
|
+
toggleHelpModal(): void;
|
|
40
44
|
openHelpModal(): void;
|
|
45
|
+
closeHelpModal(): void;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<Hotkeys, [null, null, null, null, null, { optional: true; }]>;
|
|
42
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<Hotkeys>;
|
|
43
48
|
}
|
|
@@ -16,7 +16,7 @@ export interface InputElement extends FocusableElement {
|
|
|
16
16
|
}
|
|
17
17
|
export declare function isInputElement(object: any): object is InputElement;
|
|
18
18
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
19
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
19
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
|
|
20
20
|
export interface CanGainFocusOptions {
|
|
21
21
|
minTabindex?: number;
|
|
22
22
|
maxTabindex?: number;
|