@sumaris-net/ngx-components 0.25.8 → 0.25.9

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": "0.25.8",
4
+ "version": "0.25.9",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
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
4
  import { FloatLabelType } from '@angular/material/form-field';
@@ -32,8 +32,8 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
32
32
  protected writing: boolean;
33
33
  protected disabling: boolean;
34
34
  protected _tabindex: number;
35
- protected _onDestroy: EventEmitter<any>;
36
35
  protected waitHideKeyboardDelay: number;
36
+ _readonly: boolean;
37
37
  dateFormControl: FormControl;
38
38
  timeFormControl: FormControl;
39
39
  displayPattern: string;
@@ -46,11 +46,12 @@ export declare class MatDateTime implements OnInit, OnDestroy, ControlValueAcces
46
46
  formControlName: string;
47
47
  placeholder: string;
48
48
  floatLabel: FloatLabelType;
49
- readonly: boolean;
50
49
  required: boolean;
51
50
  compact: boolean;
52
51
  placeholderChar: string;
53
52
  autofocus: boolean;
53
+ set readonly(value: boolean);
54
+ get readonly(): boolean;
54
55
  set tabindex(value: number);
55
56
  get tabindex(): number;
56
57
  get value(): any;
@@ -1,11 +1,11 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Platform } from '@ionic/angular';
3
3
  import { FloatLabelType } from '@angular/material/form-field';
4
4
  import { ControlValueAccessor, FormBuilder, FormControl, FormGroupDirective } from '@angular/forms';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
6
  import { LatLongFormatFn, LatLongFormatOptions, LatLongPattern } from './latlong.utils';
7
7
  import { TextMaskConfig } from 'angular2-text-mask';
8
- export declare class MatLatLongField implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
8
+ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueAccessor {
9
9
  private platform;
10
10
  private translate;
11
11
  private formBuilder;
@@ -16,6 +16,7 @@ export declare class MatLatLongField implements OnInit, AfterViewInit, OnDestroy
16
16
  private _subscription;
17
17
  protected disabling: boolean;
18
18
  protected writing: boolean;
19
+ _readonly: boolean;
19
20
  formatFn: LatLongFormatFn;
20
21
  formatFnOptions: LatLongFormatOptions;
21
22
  textMaskConfig: TextMaskConfig;
@@ -36,17 +37,15 @@ export declare class MatLatLongField implements OnInit, AfterViewInit, OnDestroy
36
37
  maxDecimals: number;
37
38
  placeholderChar: string;
38
39
  floatLabel: FloatLabelType;
39
- readonly: boolean;
40
+ set readonly(value: boolean);
41
+ get readonly(): boolean;
40
42
  required: boolean;
41
43
  tabindex: number;
42
44
  onBlur: EventEmitter<FocusEvent>;
43
45
  onFocus: EventEmitter<FocusEvent>;
44
46
  inputElement: ElementRef;
45
- suffixDiv: ElementRef;
46
- suffixInjections: QueryList<ElementRef>;
47
47
  constructor(platform: Platform, translate: TranslateService, formBuilder: FormBuilder, cd: ChangeDetectorRef, formGroupDir: FormGroupDirective);
48
48
  ngOnInit(): void;
49
- ngAfterViewInit(): void;
50
49
  ngOnDestroy(): void;
51
50
  writeValue(obj: any): void;
52
51
  registerOnChange(fn: any): void;
@@ -43,3 +43,10 @@ ion-icon[slot] {
43
43
  width: 24px;
44
44
  height: 24px;
45
45
  }
46
+
47
+ /* hide icon SVG title */
48
+ ion-icon {
49
+ .icon-inner, .ionicon, svg {
50
+ pointer-events: none !important;
51
+ }
52
+ }