@sumaris-net/ngx-components 0.22.1 → 0.23.2

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.22.1",
4
+ "version": "0.23.2",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -63,7 +63,6 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
63
63
  protected translate: TranslateService;
64
64
  protected alertCtrl: AlertController;
65
65
  protected toastController: ToastController;
66
- protected _focusColumn: string;
67
66
  protected previouslyEditedRowId: number;
68
67
  excludesColumns: string[];
69
68
  displayedColumns: string[];
@@ -109,8 +108,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
109
108
  defaultSortDirection: SortDirection;
110
109
  defaultPageSize: number;
111
110
  defaultPageSizeOptions: number[];
112
- set focusColumn(name: string);
113
- get focusColumn(): string;
111
+ focusColumn: string;
114
112
  get firstUserColumn(): string;
115
113
  get lastUserColumn(): string;
116
114
  set dataSource(value: EntitiesTableDataSource<T, F, ID>);
@@ -6,7 +6,7 @@ import { InputElement } from '../../inputs';
6
6
  import { CompareWithFn, DisplayFn } from '../../form/field.model';
7
7
  import { FloatLabelType } from '@angular/material/form-field';
8
8
  import { MatSelect } from '@angular/material/select';
9
- import { MatAutocomplete } from '@angular/material/autocomplete';
9
+ import { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
10
10
  export declare interface MatAutocompleteFieldConfig<T = any, F = any> {
11
11
  attributes: string[];
12
12
  suggestFn?: (value: any, options?: any) => Promise<T[] | LoadResult<T>>;
@@ -105,9 +105,12 @@ export declare class MatAutocompleteField implements OnInit, InputElement, OnDes
105
105
  onBlur: EventEmitter<FocusEvent>;
106
106
  onFocus: EventEmitter<FocusEvent>;
107
107
  onDropButtonClick: EventEmitter<UIEvent>;
108
+ onKeydownEscape: EventEmitter<any>;
109
+ onKeyupEnter: EventEmitter<any>;
108
110
  matSelect: MatSelect;
109
111
  matInputText: ElementRef;
110
- matAutoComplete: MatAutocomplete;
112
+ matAutocomplete: MatAutocomplete;
113
+ matAutocompleteTrigger: MatAutocompleteTrigger;
111
114
  get value(): any;
112
115
  get disabled(): any;
113
116
  get enabled(): any;
@@ -131,6 +134,8 @@ export declare class MatAutocompleteField implements OnInit, InputElement, OnDes
131
134
  clearValue(event: UIEvent): void;
132
135
  _initAutocompleteInfiniteScroll(threshold?: string): void;
133
136
  _initMatSelectInfiniteScroll(threshold?: string): void;
137
+ get isOpen(): boolean;
138
+ closePanel(): void;
134
139
  private suggest;
135
140
  private fetchMore;
136
141
  private updateImplicitValue;
@@ -543,6 +543,7 @@
543
543
  "SEARCH_TEXT": "Recherche: code, libellé",
544
544
  "LABEL": "Code",
545
545
  "NAME": "Libellé",
546
+ "LEVEL_ID": "Niveau",
546
547
  "CREATION_DATE": "Date création",
547
548
  "UPDATE_DATE": "Date MAJ",
548
549
  "COMMENTS": "Commentaires",