@sumaris-net/ngx-components 2.18.0-alpha3 → 2.18.0-alpha4
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumaris-net/ngx-components",
|
|
3
3
|
"description": "SUMARiS Angular components",
|
|
4
|
-
"version": "2.18.0-
|
|
4
|
+
"version": "2.18.0-alpha4",
|
|
5
5
|
"author": "contact@e-is.pro",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"readmeFilename": "README.md",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"@noble/ed25519": "^1.7.3",
|
|
23
23
|
"@polkadot/util": "~12.6.2",
|
|
24
24
|
"@polkadot/util-crypto": "~12.6.2",
|
|
25
|
-
"@rx-angular/cdk": "~
|
|
26
|
-
"@rx-angular/state": "~
|
|
27
|
-
"@rx-angular/template": "~
|
|
25
|
+
"@rx-angular/cdk": "~18.0.0",
|
|
26
|
+
"@rx-angular/state": "~18.1.0",
|
|
27
|
+
"@rx-angular/template": "~18.0.3",
|
|
28
28
|
"clone": "~2.1.2",
|
|
29
29
|
"maildev": "^2.1.0",
|
|
30
30
|
"tslib": "^2.3.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@apollo/client": "~3.11.
|
|
33
|
+
"@apollo/client": "~3.11.8",
|
|
34
34
|
"@ionic/storage": "~4.0.0",
|
|
35
35
|
"d3": "~7.6.1",
|
|
36
36
|
"localforage": "~1.10.0",
|
|
@@ -5,8 +5,8 @@ export declare function selectInputRange(input: any, startIndex: number, endInde
|
|
|
5
5
|
export declare function getCaretPosition(input: any): number;
|
|
6
6
|
export declare function moveInputCaretToSeparator(event: KeyboardEvent, separator: string, forward?: boolean): boolean;
|
|
7
7
|
export declare function filterNumberInput(event: KeyboardEvent, allowDecimals: boolean, decimalSeparator?: string): void;
|
|
8
|
-
export declare function focusInput(element: ElementRef): void;
|
|
9
|
-
export declare function setTabIndex(element: ElementRef
|
|
8
|
+
export declare function focusInput<T = any>(element: ElementRef<T>): void;
|
|
9
|
+
export declare function setTabIndex<T = any>(element: ElementRef<T>, tabIndex: number): void;
|
|
10
10
|
export interface InputElement extends FocusableElement {
|
|
11
11
|
tabindex?: number;
|
|
12
12
|
tabIndex?: number;
|
|
@@ -15,8 +15,8 @@ export interface InputElement extends FocusableElement {
|
|
|
15
15
|
value: any;
|
|
16
16
|
}
|
|
17
17
|
export declare function isInputElement(object: any): object is InputElement;
|
|
18
|
-
export declare function asInputElement(object: ElementRef): InputElement | undefined;
|
|
19
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
18
|
+
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
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;
|
|
@@ -28,7 +28,7 @@ export interface GetFocusableInputOptions extends CanGainFocusOptions {
|
|
|
28
28
|
}
|
|
29
29
|
export declare function canHaveFocus(input: InputElement, opts?: CanGainFocusOptions): boolean;
|
|
30
30
|
export declare function getFocusableInputElements(elements: QueryList<ElementRef>, opts?: GetFocusableInputOptions): InputElement[];
|
|
31
|
-
export declare function focusNextInput(event: Event | undefined, elements: QueryList<ElementRef
|
|
32
|
-
export declare function focusPreviousInput(event: Event | undefined, elements: QueryList<ElementRef
|
|
31
|
+
export declare function focusNextInput<T = any>(event: Event | undefined, elements: QueryList<ElementRef<T>>, opts?: GetFocusableInputOptions): boolean;
|
|
32
|
+
export declare function focusPreviousInput<T = any>(event: Event | undefined, elements: QueryList<ElementRef<T>>, opts?: GetFocusableInputOptions): boolean;
|
|
33
33
|
export declare function getInputSelectionRangesFromMask(mask: (string | RegExp)[]): number[][];
|
|
34
34
|
export declare function getInputRangeFromCaretIndex(caretIndex: number, inputRanges: number[][]): number[];
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "2.18.0-
|
|
5
|
+
"version": "2.18.0-alpha4",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|