@sumaris-net/ngx-components 18.2.28-alpha3 → 18.2.28-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": "18.2.28-alpha3",
4
+ "version": "18.2.28-alpha4",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -4,6 +4,7 @@ import { MatFormField, MatFormFieldAppearance, MatFormFieldDefaultOptions, Subsc
4
4
  import { AppFloatLabelType } from '../../form/field.model';
5
5
  import { LatLongPattern, LatLongType } from './latlong.utils';
6
6
  import { MatSelect } from '@angular/material/select';
7
+ import { MaskitoOptions } from '@maskito/core';
7
8
  import * as i0 from "@angular/core";
8
9
  declare type LatLongSign = 1 | -1;
9
10
  interface ILatLongData {
@@ -28,9 +29,9 @@ export declare class MatLatLongField2 implements OnInit, OnDestroy, ControlValue
28
29
  private readonly _defaultSubscriptSizing;
29
30
  protected _focused: boolean;
30
31
  protected _touched: boolean;
31
- protected degreesControl: FormControl<number>;
32
- protected minutesControl: FormControl<number>;
33
- protected secondsControl: FormControl<number>;
32
+ protected degreesControl: FormControl<string>;
33
+ protected minutesControl: FormControl<string>;
34
+ protected secondsControl: FormControl<string>;
34
35
  protected signControl: FormControl<LatLongSign>;
35
36
  protected showMinutes: boolean;
36
37
  protected showSeconds: boolean;
@@ -38,6 +39,9 @@ export declare class MatLatLongField2 implements OnInit, OnDestroy, ControlValue
38
39
  protected degreesPlaceholder: string;
39
40
  protected minutesPlaceholder: string;
40
41
  protected secondsPlaceholder: string;
42
+ protected degreesMask: MaskitoOptions;
43
+ protected minutesMask: MaskitoOptions;
44
+ protected secondsMask: MaskitoOptions;
41
45
  protected patternMaxDecimals: number;
42
46
  protected i18nErrorKeys: {
43
47
  required: string;
@@ -66,23 +70,6 @@ export declare class MatLatLongField2 implements OnInit, OnDestroy, ControlValue
66
70
  inconsistent: string;
67
71
  equals: string;
68
72
  };
69
- protected minMaxValues: {
70
- degrees?: {
71
- min: number;
72
- max: number;
73
- step: number;
74
- };
75
- minutes?: {
76
- min: number;
77
- max: number;
78
- step: number;
79
- };
80
- seconds?: {
81
- min: number;
82
- max: number;
83
- step: number;
84
- };
85
- };
86
73
  formControl: UntypedFormControl;
87
74
  formControlName: string;
88
75
  type: LatLongType;
@@ -132,7 +119,6 @@ export declare class MatLatLongField2 implements OnInit, OnDestroy, ControlValue
132
119
  protected _onFocusInput(event: FocusEvent): void;
133
120
  protected _onBlurInput(event: FocusEvent): void;
134
121
  protected _onClickInput(event: UIEvent): void;
135
- protected selectInput(input: any): void;
136
122
  protected focus(target?: any): boolean;
137
123
  protected format(rawValue: number): string;
138
124
  protected computeDecimalPart(value: number, nbOfDecimals: 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": "18.2.28-alpha3",
5
+ "version": "18.2.28-alpha4",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{