@sumaris-net/ngx-components 2.8.4 → 2.8.6
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/esm2022/src/app/core/form/properties/properties.table.mjs +1 -1
- package/esm2022/src/app/core/table/testing/table.testing.mjs +1 -1
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +1 -1
- package/esm2022/src/app/shared/form/field.component.mjs +1 -1
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +49 -21
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +3 -3
- package/esm2022/src/app/shared/material/testing/common.test.mjs +1 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +55 -27
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/material/boolean/material.boolean.d.ts +12 -8
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatFormFieldAppearance, SubscriptSizing } from '@angular/material/form-field';
|
|
3
3
|
import { ControlValueAccessor, FormGroupDirective, UntypedFormControl } from '@angular/forms';
|
|
4
4
|
import { MatRadioButton, MatRadioChange } from '@angular/material/radio';
|
|
@@ -6,8 +6,9 @@ import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
|
6
6
|
import { InputElement } from '../../inputs';
|
|
7
7
|
import { AppFloatLabelType } from '../../form/field.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MatBooleanField implements OnInit, ControlValueAccessor, InputElement {
|
|
9
|
+
export declare class MatBooleanField implements OnInit, ControlValueAccessor, InputElement, OnDestroy {
|
|
10
10
|
private cd;
|
|
11
|
+
protected el: ElementRef<HTMLElement>;
|
|
11
12
|
private formGroupDir;
|
|
12
13
|
private _onChangeCallback;
|
|
13
14
|
private _onTouchedCallback;
|
|
@@ -39,16 +40,18 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
39
40
|
yesIcon: string;
|
|
40
41
|
noIcon: string;
|
|
41
42
|
clearable: boolean;
|
|
43
|
+
labelPosition: 'after' | 'before';
|
|
42
44
|
set tabindex(value: number);
|
|
43
45
|
get tabindex(): number;
|
|
44
46
|
set showRadio(v: any);
|
|
45
47
|
get showRadio(): any;
|
|
46
48
|
set value(v: any);
|
|
47
49
|
get value(): any;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
constructor(cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
|
|
50
|
+
keyupEnter: EventEmitter<any>;
|
|
51
|
+
blurred: EventEmitter<FocusEvent>;
|
|
52
|
+
constructor(cd: ChangeDetectorRef, el: ElementRef<HTMLElement>, formGroupDir: FormGroupDirective);
|
|
51
53
|
ngOnInit(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
52
55
|
writeValue(value: any, event?: Event): void;
|
|
53
56
|
registerOnChange(fn: any): void;
|
|
54
57
|
registerOnTouched(fn: any): void;
|
|
@@ -67,7 +70,8 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
|
|
|
67
70
|
*/
|
|
68
71
|
private updateTabIndex;
|
|
69
72
|
private markForCheck;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
static
|
|
73
|
+
clear(event?: Event): void;
|
|
74
|
+
protected onBlur(event?: FocusEvent): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBooleanField, [null, null, { optional: true; }]>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatBooleanField, "mat-boolean-field", never, { "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "style": { "alias": "style"; "required": false; }; "buttonsColCount": { "alias": "buttonsColCount"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "yesLabel": { "alias": "yesLabel"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; "showButtonIcons": { "alias": "showButtonIcons"; "required": false; }; "yesIcon": { "alias": "yesIcon"; "required": false; }; "noIcon": { "alias": "noIcon"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "showRadio": { "alias": "showRadio"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "keyupEnter": "keyup.enter"; "blurred": "blur"; }, never, ["[matPrefix]", "[matSuffix]"], false, never>;
|
|
73
77
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "2.8.
|
|
5
|
+
"version": "2.8.6",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|