@sumaris-net/ngx-components 0.13.14 → 0.14.0
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/ngx-sumaris-components.umd.js +305 -256
- package/bundles/ngx-sumaris-components.umd.js.map +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js +2 -2
- package/bundles/ngx-sumaris-components.umd.min.js.map +1 -1
- package/esm2015/src/app/admin/users/list/users.js +1 -1
- package/esm2015/src/app/core/auth/form/form-auth.js +4 -9
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +12 -4
- package/esm2015/src/app/shared/material/datetime/material.date.js +2 -2
- package/esm2015/src/app/shared/material/datetime/material.dateshort.js +2 -2
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +2 -2
- package/esm2015/src/app/shared/validator/validators.js +11 -1
- package/esm2015/src/environments/environment.class.js +1 -1
- package/esm2015/src/environments/environment.js +8 -1
- package/fesm2015/ngx-sumaris-components.js +303 -268
- package/fesm2015/ngx-sumaris-components.js.map +1 -1
- package/ngx-sumaris-components.metadata.json +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +3 -1
- package/src/app/shared/validator/validators.d.ts +5 -0
- package/src/environments/environment.class.d.ts +4 -0
package/package.json
CHANGED
|
@@ -51,6 +51,7 @@ export declare class MatAutocompleteField implements OnInit, InputElement, OnDes
|
|
|
51
51
|
private _filter$;
|
|
52
52
|
private _itemCount;
|
|
53
53
|
private _reload$;
|
|
54
|
+
_readonly: boolean;
|
|
54
55
|
_tabindex: number;
|
|
55
56
|
matSelectItems$: Observable<any[]>;
|
|
56
57
|
$inputItems: BehaviorSubject<any[]>;
|
|
@@ -70,7 +71,6 @@ export declare class MatAutocompleteField implements OnInit, InputElement, OnDes
|
|
|
70
71
|
suggestFn: SuggestFn<any, any>;
|
|
71
72
|
required: boolean;
|
|
72
73
|
mobile: boolean;
|
|
73
|
-
readonly: boolean;
|
|
74
74
|
clearable: boolean;
|
|
75
75
|
debounceTime: number;
|
|
76
76
|
displayWith: DisplayFn | null;
|
|
@@ -95,6 +95,8 @@ export declare class MatAutocompleteField implements OnInit, InputElement, OnDes
|
|
|
95
95
|
animationsDisabled: boolean;
|
|
96
96
|
set filter(value: any);
|
|
97
97
|
get filter(): any;
|
|
98
|
+
set readonly(value: boolean);
|
|
99
|
+
get readonly(): boolean;
|
|
98
100
|
set tabindex(value: number);
|
|
99
101
|
get tabindex(): number;
|
|
100
102
|
set items(value: Observable<any[]> | any[]);
|
|
@@ -47,6 +47,11 @@ export declare class SharedFormGroupValidators {
|
|
|
47
47
|
static requiredIfTrue(fieldName: string, anotherFieldToCheck: string | AbstractControl): ValidatorFn;
|
|
48
48
|
static requiredIfEmpty(fieldName: string, anotherFieldToCheck: string): ValidatorFn;
|
|
49
49
|
static propagateIfDirty(fieldName: string, fieldNameToPropagate: string, valueToPropagate: any): ValidatorFn;
|
|
50
|
+
/**
|
|
51
|
+
* Same as compose, but keep only the first errors (instead of the union)
|
|
52
|
+
* @param validators
|
|
53
|
+
*/
|
|
54
|
+
first(validators: (ValidatorFn | null | undefined)[]): ValidationErrors | null;
|
|
50
55
|
}
|
|
51
56
|
export declare class SharedFormArrayValidators {
|
|
52
57
|
/**
|