@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/bundles/ngx-sumaris-components.umd.js +311 -311
- package/bundles/ngx-sumaris-components.umd.js.map +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js +2 -2
- package/bundles/ngx-sumaris-components.umd.min.js.map +1 -1
- package/doc/changelog.md +4 -0
- package/esm2015/src/app/admin/users/list/users.js +1 -1
- package/esm2015/src/app/core/form/form-buttons-bar.component.js +2 -1
- package/esm2015/src/app/core/services/local-settings.service.js +2 -2
- package/esm2015/src/app/core/table/table.class.js +6 -11
- package/esm2015/src/app/shared/functions.js +2 -5
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +45 -12
- package/esm2015/src/app/shared/material/autocomplete/testing/autocomplete.test.js +2 -2
- package/esm2015/src/app/shared/material/boolean/material.boolean.js +1 -1
- package/fesm2015/ngx-sumaris-components.js +308 -298
- package/fesm2015/ngx-sumaris-components.js.map +1 -1
- package/ngx-sumaris-components.metadata.json +1 -1
- package/package.json +1 -1
- package/src/app/core/table/table.class.d.ts +1 -3
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +7 -2
- package/src/assets/i18n/fr.json +1 -0
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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;
|
package/src/assets/i18n/fr.json
CHANGED