x4js 1.4.46 → 1.4.47
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 +1 -1
- package/src/autocomplete.ts +3 -3
package/package.json
CHANGED
package/src/autocomplete.ts
CHANGED
|
@@ -34,7 +34,7 @@ import { TextEdit, TextEditProps } from './textedit';
|
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
|
|
37
|
-
interface
|
|
37
|
+
interface AutoCompleteProps extends TextEditProps {
|
|
38
38
|
enumValues: ( filter: string ) => string[];
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -42,14 +42,14 @@ interface EditSugProps extends TextEditProps {
|
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
|
-
export class
|
|
45
|
+
export class AutoComplete extends TextEdit<AutoCompleteProps> {
|
|
46
46
|
|
|
47
47
|
private m_popup: PopupListView;
|
|
48
48
|
private m_popvis: boolean;
|
|
49
49
|
private m_needval: boolean;
|
|
50
50
|
private m_lockpop: boolean;
|
|
51
51
|
|
|
52
|
-
constructor( props:
|
|
52
|
+
constructor( props: AutoCompleteProps ) {
|
|
53
53
|
super( props );
|
|
54
54
|
|
|
55
55
|
this.setDomEvent( "input", ( ) => this._onChange( ) );
|