@sumaris-net/ngx-components 2.18.0-alpha2 → 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-alpha2",
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": "~17.1.0",
26
- "@rx-angular/state": "~17.2.0",
27
- "@rx-angular/template": "~17.3.1",
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.5",
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, tabIndex: number): void;
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): 1 | 0 | -1;
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>, opts?: GetFocusableInputOptions): boolean;
32
- export declare function focusPreviousInput(event: Event | undefined, elements: QueryList<ElementRef>, opts?: GetFocusableInputOptions): boolean;
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[];
@@ -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-alpha2",
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": [{
@@ -1,3 +1,2 @@
1
1
  import { Environment } from './environment.class';
2
- import 'zone.js/plugins/zone-error';
3
2
  export declare const environment: Environment;
@@ -908,7 +908,8 @@ ion-button[expand="full"],
908
908
  // Icon multiple
909
909
  // --------------------------------------------------
910
910
  ion-icon.icon-secondary,
911
- mat-icon.icon-secondary {
911
+ mat-icon.icon-secondary,
912
+ .mat-mdc-icon-button .mat-icon.icon-secondary {
912
913
  position: absolute;
913
914
  left: 0;
914
915
  }
@@ -976,7 +977,7 @@ ion-refresher.refresher-native {
976
977
 
977
978
  ion-toolbar app-named-filter-selector,
978
979
  mat-toolbar app-named-filter-selector {
979
-
980
+
980
981
  // Hide subscript wrapper (will hide hint)
981
982
  .mat-mdc-form-field-subscript-wrapper {
982
983
  display: none;