@sumaris-net/ngx-components 18.2.27 → 18.2.28-alpha1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.2.27",
4
+ "version": "18.2.28-alpha1",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -5,7 +5,6 @@ import { MatRadioButton, MatRadioChange } from '@angular/material/radio';
5
5
  import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
6
6
  import { InputElement } from '../../inputs';
7
7
  import { AppFloatLabelType } from '../../form/field.model';
8
- import { IonButton } from '@ionic/angular';
9
8
  import * as i0 from "@angular/core";
10
9
  export declare class MatBooleanField implements OnInit, ControlValueAccessor, InputElement, OnDestroy {
11
10
  private cd;
@@ -19,12 +18,10 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
19
18
  protected _tabindex: number;
20
19
  protected _showRadio: boolean;
21
20
  protected _focused: boolean;
21
+ fakeInput: ElementRef;
22
22
  yesRadioButton: MatRadioButton;
23
23
  noRadioButton: MatRadioButton;
24
24
  checkboxButton: MatCheckbox;
25
- yesButton: IonButton;
26
- noButton: IonButton;
27
- fakeInput: ElementRef;
28
25
  disabled: boolean;
29
26
  formControl: UntypedFormControl;
30
27
  formControlName: string;
@@ -52,6 +49,7 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
52
49
  set value(v: any);
53
50
  get value(): any;
54
51
  keyupEnter: EventEmitter<any>;
52
+ focussed: EventEmitter<FocusEvent>;
55
53
  blurred: EventEmitter<FocusEvent>;
56
54
  constructor(cd: ChangeDetectorRef, el: ElementRef<HTMLElement>, formGroupDir: FormGroupDirective);
57
55
  ngOnInit(): void;
@@ -61,11 +59,13 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
61
59
  registerOnTouched(fn: any): void;
62
60
  setDisabledState(isDisabled: boolean): void;
63
61
  protected onFocusFakeInput(event: FocusEvent): void;
62
+ protected onBlurInput(event: FocusEvent): void;
64
63
  focus(): void;
65
64
  protected onRadioValueChanged(event: MatRadioChange): void;
66
65
  protected onCheckboxValueChanged(event: MatCheckboxChange): void;
67
66
  toggleValue(event?: Event): void;
68
- private checkIfTouched;
67
+ private emitChange;
68
+ private _checkIfTouched;
69
69
  /**
70
70
  * Show/Hide the fake input
71
71
  */
@@ -78,9 +78,8 @@ export declare class MatBooleanField implements OnInit, ControlValueAccessor, In
78
78
  clearValue(event?: Event): void;
79
79
  protected get radioButtonElements(): HTMLElement[];
80
80
  protected get inputsElements(): HTMLElement[];
81
- protected get ionButtons(): IonButton[];
82
81
  static ɵfac: i0.ɵɵFactoryDeclaration<MatBooleanField, [null, null, { optional: true; }]>;
83
- 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>;
82
+ 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"; "focussed": "focus"; "blurred": "blur"; }, never, ["[matPrefix]", "[matSuffix]"], false, never>;
84
83
  static ngAcceptInputType_disabled: unknown;
85
84
  static ngAcceptInputType_readonly: unknown;
86
85
  static ngAcceptInputType_required: unknown;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "18.2.27",
5
+ "version": "18.2.28-alpha1",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{