@sumaris-net/ngx-components 1.4.0 → 1.4.4
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 +37 -36
- 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/form/form.utils.js +3 -3
- package/esm2015/src/app/core/services/local-settings.service.js +6 -4
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +22 -14
- package/esm2015/src/app/shared/material/boolean/material.boolean.js +4 -15
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +5 -4
- package/esm2015/src/app/shared/toolbar/toolbar.js +4 -2
- package/fesm2015/sumaris-net.ngx-components.js +37 -35
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/boolean/material.boolean.d.ts +2 -4
- package/src/app/shared/material/datetime/material.datetime.d.ts +3 -3
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FloatLabelType } 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';
|
|
6
6
|
import { MatRadioButton, MatRadioChange } from '@angular/material/radio';
|
|
7
7
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
8
|
-
export declare class MatBooleanField implements OnInit,
|
|
8
|
+
export declare class MatBooleanField implements OnInit, ControlValueAccessor, InputElement {
|
|
9
9
|
private translate;
|
|
10
10
|
private formBuilder;
|
|
11
11
|
private cd;
|
|
@@ -43,10 +43,8 @@ export declare class MatBooleanField implements OnInit, AfterViewInit, ControlVa
|
|
|
43
43
|
checkboxButton: MatCheckbox;
|
|
44
44
|
fakeInput: ElementRef;
|
|
45
45
|
suffixDiv: ElementRef;
|
|
46
|
-
suffixInjections: QueryList<ElementRef>;
|
|
47
46
|
constructor(translate: TranslateService, formBuilder: FormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
48
47
|
ngOnInit(): void;
|
|
49
|
-
ngAfterViewInit(): void;
|
|
50
48
|
writeValue(value: any, event?: UIEvent): void;
|
|
51
49
|
registerOnChange(fn: any): void;
|
|
52
50
|
registerOnTouched(fn: any): void;
|
|
@@ -41,22 +41,22 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
|
|
|
41
41
|
locale: string;
|
|
42
42
|
readonly dayMask: (string | RegExp)[];
|
|
43
43
|
readonly hourMask: (string | RegExp)[];
|
|
44
|
-
mobile: boolean;
|
|
45
44
|
formControl: FormControl;
|
|
46
45
|
formControlName: string;
|
|
47
46
|
placeholder: string;
|
|
48
47
|
floatLabel: FloatLabelType;
|
|
49
48
|
required: boolean;
|
|
49
|
+
mobile: boolean;
|
|
50
50
|
compact: boolean;
|
|
51
51
|
placeholderChar: string;
|
|
52
52
|
autofocus: boolean;
|
|
53
|
+
startDate: Moment | null;
|
|
54
|
+
clearable: boolean;
|
|
53
55
|
set readonly(value: boolean);
|
|
54
56
|
get readonly(): boolean;
|
|
55
57
|
set tabindex(value: number);
|
|
56
58
|
get tabindex(): number;
|
|
57
59
|
get value(): any;
|
|
58
|
-
startDate: Date;
|
|
59
|
-
clearable: boolean;
|
|
60
60
|
datePicker: MatDatepicker<Moment>;
|
|
61
61
|
timePicker: NgxTimePicker;
|
|
62
62
|
matInputs: QueryList<ElementRef>;
|