imm-element-ui 2.6.5 → 2.6.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/lib/form/form-type/upload.type.mjs +2 -2
- package/esm2022/lib/grid/cell-edit/cell-edit-autoComplete.component.mjs +341 -51
- package/fesm2022/imm-element-ui.mjs +382 -93
- package/fesm2022/imm-element-ui.mjs.map +1 -1
- package/lib/grid/cell-edit/cell-edit-autoComplete.component.d.ts +25 -8
- package/package.json +1 -1
|
@@ -1,18 +1,35 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ICellEditorAngularComp } from 'ag-grid-angular';
|
|
2
|
+
import type { ICellEditorParams } from 'ag-grid-community';
|
|
2
3
|
import { AutoCompleteSelectEvent } from 'primeng/autocomplete';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CellEditAutoCompleteComponent {
|
|
5
|
+
export declare class CellEditAutoCompleteComponent implements ICellEditorAngularComp {
|
|
5
6
|
params: any;
|
|
6
7
|
value: any;
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
suggestions: any[];
|
|
9
|
+
get displaySuggestions(): any[];
|
|
9
10
|
agInit(params: ICellEditorParams): void;
|
|
10
11
|
getValue(): any;
|
|
11
|
-
|
|
12
|
-
isKeyValue(): any;
|
|
13
|
-
search(e: any): void;
|
|
14
|
-
focusIn(): void;
|
|
12
|
+
search(e: any): Promise<void>;
|
|
15
13
|
select(e: AutoCompleteSelectEvent): void;
|
|
14
|
+
unselect(e: any): void;
|
|
15
|
+
clear(e: any): void;
|
|
16
|
+
emitEvent(name: string, event: any): void;
|
|
17
|
+
private setEditorSize;
|
|
18
|
+
private updateNameFields;
|
|
19
|
+
private updateNameField;
|
|
20
|
+
private resolveNameFieldValue;
|
|
21
|
+
private resolveInitialValue;
|
|
22
|
+
private resolveOptionValue;
|
|
23
|
+
private findOptionByValue;
|
|
24
|
+
private valueEquals;
|
|
25
|
+
private applyOptionsResult;
|
|
26
|
+
private resolveResult;
|
|
27
|
+
private extractOptions;
|
|
28
|
+
private setSuggestions;
|
|
29
|
+
private syncSuggestionsFromParams;
|
|
30
|
+
private normalizeOptions;
|
|
31
|
+
private resolveEditorParams;
|
|
32
|
+
private toValueArray;
|
|
16
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CellEditAutoCompleteComponent, never>;
|
|
17
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<CellEditAutoCompleteComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
18
35
|
}
|