@sumaris-net/ngx-components 1.20.25 → 1.20.28
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 +18 -19
- 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/doc/changelog.md +4 -0
- package/esm2015/src/app/shared/help/help.modal.js +4 -11
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +2 -2
- package/esm2015/src/app/shared/material/boolean/material.boolean.js +3 -2
- package/esm2015/src/app/shared/material/chips/material.chips.js +2 -2
- package/esm2015/src/app/shared/material/datetime/material.date.js +3 -2
- package/esm2015/src/app/shared/material/datetime/material.dateshort.js +3 -2
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +4 -3
- package/esm2015/src/app/shared/material/duration/material.duration.js +3 -2
- package/esm2015/src/app/shared/material/latlong/material.latlong.js +3 -2
- package/fesm2015/sumaris-net.ngx-components.js +18 -19
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/help/help.modal.d.ts +5 -6
- package/src/app/shared/material/boolean/material.boolean.d.ts +2 -1
- package/src/app/shared/material/datetime/material.date.d.ts +2 -1
- package/src/app/shared/material/datetime/material.dateshort.d.ts +2 -1
- package/src/app/shared/material/datetime/material.datetime.d.ts +2 -1
- package/src/app/shared/material/duration/material.duration.d.ts +6 -5
- package/src/app/shared/material/latlong/material.latlong.d.ts +2 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector
|
|
1
|
+
import { ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
2
|
import { ModalController } from '@ionic/angular';
|
|
3
3
|
import { PlatformService } from '../../core/services/platform.service';
|
|
4
4
|
import { LocalSettingsService } from '../../core/services/local-settings.service';
|
|
@@ -6,10 +6,10 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
6
6
|
export interface AppHelpModalOptions {
|
|
7
7
|
title?: string;
|
|
8
8
|
markdownContent?: string;
|
|
9
|
-
|
|
9
|
+
markdownUrl?: string;
|
|
10
10
|
showError?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare class AppHelpModal implements AppHelpModalOptions
|
|
12
|
+
export declare class AppHelpModal implements AppHelpModalOptions {
|
|
13
13
|
protected injector: Injector;
|
|
14
14
|
protected viewCtrl: ModalController;
|
|
15
15
|
protected platform: PlatformService;
|
|
@@ -20,11 +20,10 @@ export declare class AppHelpModal implements AppHelpModalOptions, OnInit {
|
|
|
20
20
|
loading: boolean;
|
|
21
21
|
error: string;
|
|
22
22
|
title: string;
|
|
23
|
-
markdownContent: string;
|
|
24
|
-
docUrl: string;
|
|
25
23
|
showError: boolean;
|
|
24
|
+
markdownContent: string;
|
|
25
|
+
markdownUrl: string;
|
|
26
26
|
constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, cd: ChangeDetectorRef);
|
|
27
|
-
ngOnInit(): void;
|
|
28
27
|
close(event?: UIEvent): Promise<boolean>;
|
|
29
28
|
markAsLoaded(): void;
|
|
30
29
|
onLoadError(error?: string): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
2
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
3
|
import { ControlValueAccessor, FormBuilder, FormControl, FormGroupDirective } from '@angular/forms';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { InputElement } from '../../inputs';
|
|
@@ -21,6 +21,7 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
21
21
|
formControlName: string;
|
|
22
22
|
placeholder: string;
|
|
23
23
|
floatLabel: FloatLabelType;
|
|
24
|
+
appearance: MatFormFieldAppearance;
|
|
24
25
|
readonly: boolean;
|
|
25
26
|
required: boolean;
|
|
26
27
|
compact: boolean;
|
|
@@ -4,7 +4,7 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
4
4
|
import { Moment } from 'moment';
|
|
5
5
|
import { Keyboard } from '@ionic-native/keyboard/ngx';
|
|
6
6
|
import { InputElement } from '../../inputs';
|
|
7
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
7
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
8
8
|
import { DateFilterFn, MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
9
9
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
10
10
|
export declare class MatDate implements OnInit, OnDestroy, ControlValueAccessor, InputElement {
|
|
@@ -31,6 +31,7 @@ export declare class MatDate implements OnInit, OnDestroy, ControlValueAccessor,
|
|
|
31
31
|
formControlName: string;
|
|
32
32
|
placeholder: string;
|
|
33
33
|
floatLabel: FloatLabelType;
|
|
34
|
+
appearance: MatFormFieldAppearance;
|
|
34
35
|
required: boolean;
|
|
35
36
|
compact: boolean;
|
|
36
37
|
placeholderChar: string;
|
|
@@ -4,7 +4,7 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
4
4
|
import { Moment } from 'moment/moment';
|
|
5
5
|
import { Keyboard } from '@ionic-native/keyboard/ngx';
|
|
6
6
|
import { InputElement } from '../../inputs';
|
|
7
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
7
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
8
8
|
import { MatDatepicker } from '@angular/material/datepicker';
|
|
9
9
|
import { DateAdapter } from '@angular/material/core';
|
|
10
10
|
export declare class MatDateShort implements OnInit, ControlValueAccessor, InputElement {
|
|
@@ -32,6 +32,7 @@ export declare class MatDateShort implements OnInit, ControlValueAccessor, Input
|
|
|
32
32
|
formControlName: string;
|
|
33
33
|
placeholder: string;
|
|
34
34
|
floatLabel: FloatLabelType;
|
|
35
|
+
appearance: MatFormFieldAppearance;
|
|
35
36
|
readonly: boolean;
|
|
36
37
|
required: boolean;
|
|
37
38
|
compact: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
2
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
3
|
import { ControlValueAccessor, FormBuilder, FormControl, FormGroupDirective } from '@angular/forms';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { Moment } from 'moment';
|
|
@@ -43,6 +43,7 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
|
|
|
43
43
|
formControlName: string;
|
|
44
44
|
placeholder: string;
|
|
45
45
|
floatLabel: FloatLabelType;
|
|
46
|
+
appearance: MatFormFieldAppearance;
|
|
46
47
|
required: boolean;
|
|
47
48
|
mobile: boolean;
|
|
48
49
|
compact: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
4
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
5
|
import { ControlValueAccessor, FormBuilder, FormControl, FormGroupDirective } from '@angular/forms';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import { Moment } from 'moment';
|
|
@@ -15,17 +15,18 @@ export declare class MatDuration implements OnInit, OnDestroy, ControlValueAcces
|
|
|
15
15
|
private _subscription;
|
|
16
16
|
private _onChangeCallback;
|
|
17
17
|
private _onTouchedCallback;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
private writing;
|
|
19
|
+
private disabling;
|
|
20
|
+
private _tabindex;
|
|
21
|
+
private _value;
|
|
21
22
|
textControl: FormControl;
|
|
22
|
-
_value: number;
|
|
23
23
|
hourMask: (string | RegExp)[];
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
formControl: FormControl;
|
|
26
26
|
formControlName: string;
|
|
27
27
|
placeholder: string;
|
|
28
28
|
floatLabel: FloatLabelType;
|
|
29
|
+
appearance: MatFormFieldAppearance;
|
|
29
30
|
readonly: boolean;
|
|
30
31
|
required: boolean;
|
|
31
32
|
compact: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FloatLabelType } from '@angular/material/form-field';
|
|
2
|
+
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
3
3
|
import { ControlValueAccessor, FormBuilder, FormControl, FormGroupDirective } from '@angular/forms';
|
|
4
4
|
import { LatLongFormatFn, LatLongFormatOptions, LatLongPattern } from './latlong.utils';
|
|
5
5
|
import { TextMaskConfig } from 'angular2-text-mask';
|
|
@@ -28,6 +28,7 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
|
|
|
28
28
|
pattern: LatLongPattern;
|
|
29
29
|
required: boolean;
|
|
30
30
|
floatLabel: FloatLabelType;
|
|
31
|
+
appearance: MatFormFieldAppearance;
|
|
31
32
|
placeholder: string;
|
|
32
33
|
tabindex: number;
|
|
33
34
|
defaultSign: '-' | '+';
|