@sumaris-net/ngx-components 0.25.8 → 0.25.9
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/bundles/sumaris-net.ngx-components.umd.js +45 -29
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/services/model/person.model.js +4 -3
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +10 -3
- package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +2 -2
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +12 -7
- package/esm2015/src/app/shared/material/datetime/testing/mat-date-time.test.js +5 -3
- package/esm2015/src/app/shared/material/latlong/material.latlong.js +12 -17
- package/esm2015/src/app/shared/material/latlong/testing/latlong.test.js +2 -2
- package/fesm2015/sumaris-net.ngx-components.js +37 -28
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +4 -3
- package/src/app/shared/material/latlong/material.latlong.d.ts +5 -6
- package/src/theme/_ionic.scss +7 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef,
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { Platform } from '@ionic/angular';
|
|
3
3
|
import { DateAdapter } from '@angular/material/core';
|
|
4
4
|
import { FloatLabelType } from '@angular/material/form-field';
|
|
@@ -32,8 +32,8 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
|
|
|
32
32
|
protected writing: boolean;
|
|
33
33
|
protected disabling: boolean;
|
|
34
34
|
protected _tabindex: number;
|
|
35
|
-
protected _onDestroy: EventEmitter<any>;
|
|
36
35
|
protected waitHideKeyboardDelay: number;
|
|
36
|
+
_readonly: boolean;
|
|
37
37
|
dateFormControl: FormControl;
|
|
38
38
|
timeFormControl: FormControl;
|
|
39
39
|
displayPattern: string;
|
|
@@ -46,11 +46,12 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
|
|
|
46
46
|
formControlName: string;
|
|
47
47
|
placeholder: string;
|
|
48
48
|
floatLabel: FloatLabelType;
|
|
49
|
-
readonly: boolean;
|
|
50
49
|
required: boolean;
|
|
51
50
|
compact: boolean;
|
|
52
51
|
placeholderChar: string;
|
|
53
52
|
autofocus: boolean;
|
|
53
|
+
set readonly(value: boolean);
|
|
54
|
+
get readonly(): boolean;
|
|
54
55
|
set tabindex(value: number);
|
|
55
56
|
get tabindex(): number;
|
|
56
57
|
get value(): any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Platform } from '@ionic/angular';
|
|
3
3
|
import { FloatLabelType } from '@angular/material/form-field';
|
|
4
4
|
import { ControlValueAccessor, FormBuilder, FormControl, FormGroupDirective } from '@angular/forms';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { LatLongFormatFn, LatLongFormatOptions, LatLongPattern } from './latlong.utils';
|
|
7
7
|
import { TextMaskConfig } from 'angular2-text-mask';
|
|
8
|
-
export declare class MatLatLongField implements OnInit,
|
|
8
|
+
export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueAccessor {
|
|
9
9
|
private platform;
|
|
10
10
|
private translate;
|
|
11
11
|
private formBuilder;
|
|
@@ -16,6 +16,7 @@ export declare class MatLatLongField implements OnInit, AfterViewInit, OnDestroy
|
|
|
16
16
|
private _subscription;
|
|
17
17
|
protected disabling: boolean;
|
|
18
18
|
protected writing: boolean;
|
|
19
|
+
_readonly: boolean;
|
|
19
20
|
formatFn: LatLongFormatFn;
|
|
20
21
|
formatFnOptions: LatLongFormatOptions;
|
|
21
22
|
textMaskConfig: TextMaskConfig;
|
|
@@ -36,17 +37,15 @@ export declare class MatLatLongField implements OnInit, AfterViewInit, OnDestroy
|
|
|
36
37
|
maxDecimals: number;
|
|
37
38
|
placeholderChar: string;
|
|
38
39
|
floatLabel: FloatLabelType;
|
|
39
|
-
readonly: boolean;
|
|
40
|
+
set readonly(value: boolean);
|
|
41
|
+
get readonly(): boolean;
|
|
40
42
|
required: boolean;
|
|
41
43
|
tabindex: number;
|
|
42
44
|
onBlur: EventEmitter<FocusEvent>;
|
|
43
45
|
onFocus: EventEmitter<FocusEvent>;
|
|
44
46
|
inputElement: ElementRef;
|
|
45
|
-
suffixDiv: ElementRef;
|
|
46
|
-
suffixInjections: QueryList<ElementRef>;
|
|
47
47
|
constructor(platform: Platform, translate: TranslateService, formBuilder: FormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
48
48
|
ngOnInit(): void;
|
|
49
|
-
ngAfterViewInit(): void;
|
|
50
49
|
ngOnDestroy(): void;
|
|
51
50
|
writeValue(obj: any): void;
|
|
52
51
|
registerOnChange(fn: any): void;
|