@jetbrains/ring-ui 5.0.12 → 5.0.13
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/components/analytics/analytics__plugin-utils.d.ts +2 -2
- package/components/button-group-ng/button-group-ng.js +9 -2
- package/components/global/create-stateful-context.d.ts +1 -1
- package/components/global/rerender-hoc.d.ts +1 -1
- package/components/http/http.d.ts +3 -3
- package/components/list/list.d.ts +1 -1
- package/components/query-assist/query-assist.d.ts +2 -2
- package/components/select/select.d.ts +3 -3
- package/components/select/select__popup.d.ts +1 -1
- package/components/shortcuts/shortcuts.d.ts +1 -1
- package/components/tags-input/tags-input.d.ts +1 -1
- package/components/user-agreement/service.d.ts +8 -54
- package/dist/analytics/analytics__plugin-utils.d.ts +2 -2
- package/dist/button-group-ng/button-group-ng.js +10 -2
- package/dist/global/create-stateful-context.d.ts +1 -1
- package/dist/global/rerender-hoc.d.ts +1 -1
- package/dist/http/http.d.ts +3 -3
- package/dist/list/list.d.ts +1 -1
- package/dist/query-assist/query-assist.d.ts +2 -2
- package/dist/select/select.d.ts +3 -3
- package/dist/select/select__popup.d.ts +1 -1
- package/dist/shortcuts/shortcuts.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tags-input/tags-input.d.ts +1 -1
- package/dist/user-agreement/service.d.ts +8 -54
- package/package.json +38 -38
|
@@ -5,8 +5,8 @@ declare const AnalyticsPluginUtils: {
|
|
|
5
5
|
* @param isCategory
|
|
6
6
|
* @returns string, where forbidden symbols are replaced with '_'
|
|
7
7
|
*/
|
|
8
|
-
reformatString: (value: unknown, isCategory?: boolean
|
|
9
|
-
getPageViewDurationPresentation: (durationMs?: number
|
|
8
|
+
reformatString: (value: unknown, isCategory?: boolean) => string;
|
|
9
|
+
getPageViewDurationPresentation: (durationMs?: number) => string;
|
|
10
10
|
getScreenWidthPresentation: () => string;
|
|
11
11
|
npeSaveLowerCase: (val: string | null | undefined) => string;
|
|
12
12
|
getUserAgentPresentation: () => string;
|
|
@@ -16,9 +16,16 @@ const buttonGroupClasses = classNames(styles.buttonGroup, ngStyles.buttonGroup);
|
|
|
16
16
|
function rgButtonGroup() {
|
|
17
17
|
return {
|
|
18
18
|
restrict: 'A',
|
|
19
|
-
|
|
19
|
+
scope: {
|
|
20
|
+
split: '='
|
|
21
|
+
},
|
|
22
|
+
link: function link($scope, iElement, attrs) {
|
|
20
23
|
const element = iElement[0];
|
|
21
|
-
|
|
24
|
+
if (attrs.split) {
|
|
25
|
+
element.classList.add(...styles.split.split(' '));
|
|
26
|
+
} else {
|
|
27
|
+
element.classList.add(...buttonGroupClasses.split(' '));
|
|
28
|
+
}
|
|
22
29
|
}
|
|
23
30
|
};
|
|
24
31
|
}
|
|
@@ -18,7 +18,7 @@ export default function createStatefulContext<T>(initialValue: T, name?: string)
|
|
|
18
18
|
};
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
|
-
useUpdate: (value: T, skipUpdate?: boolean
|
|
21
|
+
useUpdate: (value: T, skipUpdate?: boolean) => void;
|
|
22
22
|
Updater: React.MemoExoticComponent<{
|
|
23
23
|
({ value, skipUpdate }: UpdaterProps<T>): null;
|
|
24
24
|
displayName: string;
|
|
@@ -14,7 +14,7 @@ export interface RerenderableComponentClass<P, S> {
|
|
|
14
14
|
export default function rerenderHOC<P, S>(ComposedComponent: RerenderableComponentClass<P, S>): {
|
|
15
15
|
new (props: P): {
|
|
16
16
|
_propsCache: P & RefAttributes<unknown>;
|
|
17
|
-
rerender(props?: Partial<P>, callback?: (
|
|
17
|
+
rerender(props?: Partial<P>, callback?: () => void): void;
|
|
18
18
|
node?: HTMLElement | null | undefined;
|
|
19
19
|
context: unknown;
|
|
20
20
|
setState<K extends keyof S>(state: S | ((prevState: Readonly<S>, props: Readonly<P>) => S | Pick<S, K> | null) | Pick<S, K> | null, callback?: (() => void) | undefined): void;
|
|
@@ -42,8 +42,8 @@ export default class HTTP implements Partial<HTTPAuth> {
|
|
|
42
42
|
private static _isErrorStatus;
|
|
43
43
|
fetch: (url: string, params?: FetchParams) => Promise<any>;
|
|
44
44
|
authorizedFetch(...args: Parameters<HTTP['_performRequest']>): Promise<any>;
|
|
45
|
-
request: (url: string, params?: RequestParams
|
|
45
|
+
request: (url: string, params?: RequestParams) => Promise<any>;
|
|
46
46
|
getMetaForResponse: (response: object) => Partial<Response> | undefined;
|
|
47
|
-
get: (url: string, params?: RequestParams
|
|
48
|
-
post: (url: string, params?: RequestParams
|
|
47
|
+
get: (url: string, params?: RequestParams) => Promise<any>;
|
|
48
|
+
post: (url: string, params?: RequestParams) => Promise<any>;
|
|
49
49
|
}
|
|
@@ -166,7 +166,7 @@ export default class List<T = unknown> extends Component<ListProps<T>, ListState
|
|
|
166
166
|
moveHandler(index: number, retryCallback: (e: KeyboardEvent) => void, e: KeyboardEvent): void;
|
|
167
167
|
mouseHandler: () => void;
|
|
168
168
|
scrollHandler: () => void;
|
|
169
|
-
enterHandler: (event: KeyboardEvent, shortcut?: string
|
|
169
|
+
enterHandler: (event: KeyboardEvent, shortcut?: string) => boolean;
|
|
170
170
|
getFirst(): ListDataItem<T> | undefined;
|
|
171
171
|
getSelected(): ListDataItem<T> | null;
|
|
172
172
|
clearSelected: () => void;
|
|
@@ -244,7 +244,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
|
|
|
244
244
|
handleInput: (e: Event | SyntheticEvent) => void;
|
|
245
245
|
handleEnter: (e: React.KeyboardEvent) => void;
|
|
246
246
|
handleTab: (e: Event) => boolean | void;
|
|
247
|
-
setState: (state: Partial<QueryAssistState>, resolve?: (
|
|
247
|
+
setState: (state: Partial<QueryAssistState>, resolve?: () => void) => void;
|
|
248
248
|
private _pushHistory;
|
|
249
249
|
undo: (e: Event) => void;
|
|
250
250
|
handlePaste: (e: React.ClipboardEvent) => void;
|
|
@@ -252,7 +252,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
|
|
|
252
252
|
handleStyleRangesResponse: ({ suggestions, ...restProps }: QueryAssistResponse) => Promise<void>;
|
|
253
253
|
handleResponse: ({ query, caret, styleRanges, suggestions }: QueryAssistResponse, afterCompletion?: boolean) => Promise<void>;
|
|
254
254
|
handleApply: () => void;
|
|
255
|
-
handleComplete: (data?: SuggestionItem
|
|
255
|
+
handleComplete: (data?: SuggestionItem, replace?: boolean) => void;
|
|
256
256
|
requestStyleRanges: () => Promise<void>;
|
|
257
257
|
requestHandler: (afterCompletion?: boolean) => Promise<void>;
|
|
258
258
|
sendRequest(params: QueryAssistRequestParams): Promise<QueryAssistResponse>;
|
|
@@ -229,11 +229,11 @@ export default class Select<T = unknown> extends Component<SelectProps<T>, Selec
|
|
|
229
229
|
private _setFilter;
|
|
230
230
|
private _rebuildMultipleMap;
|
|
231
231
|
_redrawPopup: () => void;
|
|
232
|
-
_listSelectHandler: (selected: SelectItem<T>, event?: Event
|
|
232
|
+
_listSelectHandler: (selected: SelectItem<T>, event?: Event, opts?: SelectHandlerParams) => void;
|
|
233
233
|
_listSelectAllHandler: (isSelectAll?: boolean) => void;
|
|
234
234
|
private _onCloseAttempt;
|
|
235
|
-
clearFilter: (e?:
|
|
236
|
-
clear: (event?: Event |
|
|
235
|
+
clearFilter: (e?: SyntheticEvent) => void;
|
|
236
|
+
clear: (event?: Event | SyntheticEvent) => boolean;
|
|
237
237
|
_selectionIsEmpty(): boolean;
|
|
238
238
|
private _getLabel;
|
|
239
239
|
_getSelectedString(): string | null;
|
|
@@ -98,7 +98,7 @@ export default class SelectPopup<T = unknown> extends PureComponent<SelectPopupP
|
|
|
98
98
|
mouseUpHandler: () => void;
|
|
99
99
|
popup?: Popup | null;
|
|
100
100
|
isVisible(): boolean | null | undefined;
|
|
101
|
-
onListSelect: (selected: ListDataItem<T>, event?: Event |
|
|
101
|
+
onListSelect: (selected: ListDataItem<T>, event?: Event | SyntheticEvent, opts?: SelectHandlerParams) => void;
|
|
102
102
|
tabPress: (event: Event) => void;
|
|
103
103
|
onClickHandler: () => void | undefined;
|
|
104
104
|
getFilter(): JSX.Element | null;
|
|
@@ -24,5 +24,5 @@ export default class Shortcuts extends PureComponent<ShortcutsProps> {
|
|
|
24
24
|
componentWillUnmount(): void;
|
|
25
25
|
turnShorcutsOn(): void;
|
|
26
26
|
turnShorcutsOff(): void;
|
|
27
|
-
render(): true | import("react").
|
|
27
|
+
render(): string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | null;
|
|
28
28
|
}
|
|
@@ -109,7 +109,7 @@ export default class TagsInput extends PureComponent<TagsInputProps, TagsInputSt
|
|
|
109
109
|
loadSuggestions: (query?: string) => void;
|
|
110
110
|
private _focusHandler;
|
|
111
111
|
private _blurHandler;
|
|
112
|
-
selectTag: (moveForward?: boolean
|
|
112
|
+
selectTag: (moveForward?: boolean) => void;
|
|
113
113
|
handleKeyDown: (event: React.KeyboardEvent) => boolean;
|
|
114
114
|
handleClick: (arg: TagType) => () => void;
|
|
115
115
|
handleRemove: (arg: TagType) => () => Promise<void | TagType[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserAgreementTranslations } from './user-agreement';
|
|
1
|
+
import { UserAgreementAttrs, UserAgreementTranslations } from './user-agreement';
|
|
2
2
|
export declare const showMessage = "userAgreementShow";
|
|
3
3
|
export declare const hideMessage = "userAgreementHide";
|
|
4
4
|
export interface Consent {
|
|
@@ -53,61 +53,15 @@ export default class UserAgreementService {
|
|
|
53
53
|
private _notifyAboutHiding;
|
|
54
54
|
getUserAgreement: () => Promise<Agreement>;
|
|
55
55
|
getUserConsent: () => Promise<Consent>;
|
|
56
|
-
checkConsentAndShowDialog: (withoutNotifications?: boolean
|
|
56
|
+
checkConsentAndShowDialog: (withoutNotifications?: boolean) => Promise<unknown>;
|
|
57
57
|
checkConsent: () => Promise<boolean | null | undefined>;
|
|
58
58
|
alertKey?: string | number | null;
|
|
59
|
-
showAlert: (withoutNotifications?: boolean
|
|
60
|
-
hideAlert: (withoutNotifications?: boolean
|
|
61
|
-
showDialog: (withoutNotifications?: boolean
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
onAccept: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
66
|
-
onDecline: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
67
|
-
onClose: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
68
|
-
onRemindLater: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
69
|
-
translations: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
70
|
-
userAgreement: import("prop-types").Validator<string>;
|
|
71
|
-
accept: import("prop-types").Validator<string>;
|
|
72
|
-
decline: import("prop-types").Validator<string>;
|
|
73
|
-
close: import("prop-types").Validator<string>;
|
|
74
|
-
scrollToAccept: import("prop-types").Validator<string>;
|
|
75
|
-
remindLater: import("prop-types").Validator<string>;
|
|
76
|
-
}>>;
|
|
77
|
-
className: import("prop-types").Requireable<string>;
|
|
78
|
-
}>, never> & Pick<import("./user-agreement").UserAgreementProps, never>, "className" | "text" | "preview" | "onRemindLater"> & {
|
|
79
|
-
onClose?: (() => void) | undefined;
|
|
80
|
-
show?: boolean | undefined;
|
|
81
|
-
translations?: UserAgreementTranslations | undefined;
|
|
82
|
-
onAccept?: (() => void) | undefined;
|
|
83
|
-
onDecline?: (() => void) | undefined;
|
|
84
|
-
} & {}> | undefined) => Promise<unknown>;
|
|
85
|
-
hideDialog: (withoutNotifications?: boolean | undefined) => void;
|
|
86
|
-
showDialogOrAlert: (withoutNotifications?: boolean | undefined, preview?: boolean | undefined, restOptions?: Partial<Pick<Pick<import("./user-agreement").UserAgreementProps, keyof import("./user-agreement").UserAgreementProps> & Pick<import("prop-types").InferProps<{
|
|
87
|
-
show: import("prop-types").Requireable<boolean>;
|
|
88
|
-
preview: import("prop-types").Requireable<boolean>;
|
|
89
|
-
text: import("prop-types").Validator<string>;
|
|
90
|
-
onAccept: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
91
|
-
onDecline: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
92
|
-
onClose: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
93
|
-
onRemindLater: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
94
|
-
translations: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
95
|
-
userAgreement: import("prop-types").Validator<string>;
|
|
96
|
-
accept: import("prop-types").Validator<string>;
|
|
97
|
-
decline: import("prop-types").Validator<string>;
|
|
98
|
-
close: import("prop-types").Validator<string>;
|
|
99
|
-
scrollToAccept: import("prop-types").Validator<string>;
|
|
100
|
-
remindLater: import("prop-types").Validator<string>;
|
|
101
|
-
}>>;
|
|
102
|
-
className: import("prop-types").Requireable<string>;
|
|
103
|
-
}>, never> & Pick<import("./user-agreement").UserAgreementProps, never>, "className" | "text" | "preview" | "onRemindLater"> & {
|
|
104
|
-
onClose?: (() => void) | undefined;
|
|
105
|
-
show?: boolean | undefined;
|
|
106
|
-
translations?: UserAgreementTranslations | undefined;
|
|
107
|
-
onAccept?: (() => void) | undefined;
|
|
108
|
-
onDecline?: (() => void) | undefined;
|
|
109
|
-
} & {}> | undefined) => Promise<unknown>;
|
|
110
|
-
hideDialogAndAlert: (withoutNotifications?: boolean | undefined) => void;
|
|
59
|
+
showAlert: (withoutNotifications?: boolean) => Promise<unknown>;
|
|
60
|
+
hideAlert: (withoutNotifications?: boolean) => void;
|
|
61
|
+
showDialog: (withoutNotifications?: boolean, preview?: boolean, restOptions?: Partial<UserAgreementAttrs>) => Promise<unknown>;
|
|
62
|
+
hideDialog: (withoutNotifications?: boolean) => void;
|
|
63
|
+
showDialogOrAlert: (withoutNotifications?: boolean, preview?: boolean, restOptions?: Partial<UserAgreementAttrs>) => Promise<unknown>;
|
|
64
|
+
hideDialogAndAlert: (withoutNotifications?: boolean) => void;
|
|
111
65
|
onAccept: () => Promise<void>;
|
|
112
66
|
onDecline: () => void;
|
|
113
67
|
}
|
|
@@ -5,8 +5,8 @@ declare const AnalyticsPluginUtils: {
|
|
|
5
5
|
* @param isCategory
|
|
6
6
|
* @returns string, where forbidden symbols are replaced with '_'
|
|
7
7
|
*/
|
|
8
|
-
reformatString: (value: unknown, isCategory?: boolean
|
|
9
|
-
getPageViewDurationPresentation: (durationMs?: number
|
|
8
|
+
reformatString: (value: unknown, isCategory?: boolean) => string;
|
|
9
|
+
getPageViewDurationPresentation: (durationMs?: number) => string;
|
|
10
10
|
getScreenWidthPresentation: () => string;
|
|
11
11
|
npeSaveLowerCase: (val: string | null | undefined) => string;
|
|
12
12
|
getUserAgentPresentation: () => string;
|
|
@@ -15,9 +15,17 @@ const buttonGroupClasses = classNames(modules_1068e447.buttonGroup, modules_c53c
|
|
|
15
15
|
function rgButtonGroup() {
|
|
16
16
|
return {
|
|
17
17
|
restrict: 'A',
|
|
18
|
-
|
|
18
|
+
scope: {
|
|
19
|
+
split: '='
|
|
20
|
+
},
|
|
21
|
+
link: function link($scope, iElement, attrs) {
|
|
19
22
|
const element = iElement[0];
|
|
20
|
-
|
|
23
|
+
|
|
24
|
+
if (attrs.split) {
|
|
25
|
+
element.classList.add(...modules_1068e447.split.split(' '));
|
|
26
|
+
} else {
|
|
27
|
+
element.classList.add(...buttonGroupClasses.split(' '));
|
|
28
|
+
}
|
|
21
29
|
}
|
|
22
30
|
};
|
|
23
31
|
}
|
|
@@ -18,7 +18,7 @@ export default function createStatefulContext<T>(initialValue: T, name?: string)
|
|
|
18
18
|
};
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
|
-
useUpdate: (value: T, skipUpdate?: boolean
|
|
21
|
+
useUpdate: (value: T, skipUpdate?: boolean) => void;
|
|
22
22
|
Updater: React.MemoExoticComponent<{
|
|
23
23
|
({ value, skipUpdate }: UpdaterProps<T>): null;
|
|
24
24
|
displayName: string;
|
|
@@ -14,7 +14,7 @@ export interface RerenderableComponentClass<P, S> {
|
|
|
14
14
|
export default function rerenderHOC<P, S>(ComposedComponent: RerenderableComponentClass<P, S>): {
|
|
15
15
|
new (props: P): {
|
|
16
16
|
_propsCache: P & RefAttributes<unknown>;
|
|
17
|
-
rerender(props?: Partial<P>, callback?: (
|
|
17
|
+
rerender(props?: Partial<P>, callback?: () => void): void;
|
|
18
18
|
node?: HTMLElement | null | undefined;
|
|
19
19
|
context: unknown;
|
|
20
20
|
setState<K extends keyof S>(state: S | ((prevState: Readonly<S>, props: Readonly<P>) => S | Pick<S, K> | null) | Pick<S, K> | null, callback?: (() => void) | undefined): void;
|
package/dist/http/http.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ export default class HTTP implements Partial<HTTPAuth> {
|
|
|
42
42
|
private static _isErrorStatus;
|
|
43
43
|
fetch: (url: string, params?: FetchParams) => Promise<any>;
|
|
44
44
|
authorizedFetch(...args: Parameters<HTTP['_performRequest']>): Promise<any>;
|
|
45
|
-
request: (url: string, params?: RequestParams
|
|
45
|
+
request: (url: string, params?: RequestParams) => Promise<any>;
|
|
46
46
|
getMetaForResponse: (response: object) => Partial<Response> | undefined;
|
|
47
|
-
get: (url: string, params?: RequestParams
|
|
48
|
-
post: (url: string, params?: RequestParams
|
|
47
|
+
get: (url: string, params?: RequestParams) => Promise<any>;
|
|
48
|
+
post: (url: string, params?: RequestParams) => Promise<any>;
|
|
49
49
|
}
|
package/dist/list/list.d.ts
CHANGED
|
@@ -166,7 +166,7 @@ export default class List<T = unknown> extends Component<ListProps<T>, ListState
|
|
|
166
166
|
moveHandler(index: number, retryCallback: (e: KeyboardEvent) => void, e: KeyboardEvent): void;
|
|
167
167
|
mouseHandler: () => void;
|
|
168
168
|
scrollHandler: () => void;
|
|
169
|
-
enterHandler: (event: KeyboardEvent, shortcut?: string
|
|
169
|
+
enterHandler: (event: KeyboardEvent, shortcut?: string) => boolean;
|
|
170
170
|
getFirst(): ListDataItem<T> | undefined;
|
|
171
171
|
getSelected(): ListDataItem<T> | null;
|
|
172
172
|
clearSelected: () => void;
|
|
@@ -244,7 +244,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
|
|
|
244
244
|
handleInput: (e: Event | SyntheticEvent) => void;
|
|
245
245
|
handleEnter: (e: React.KeyboardEvent) => void;
|
|
246
246
|
handleTab: (e: Event) => boolean | void;
|
|
247
|
-
setState: (state: Partial<QueryAssistState>, resolve?: (
|
|
247
|
+
setState: (state: Partial<QueryAssistState>, resolve?: () => void) => void;
|
|
248
248
|
private _pushHistory;
|
|
249
249
|
undo: (e: Event) => void;
|
|
250
250
|
handlePaste: (e: React.ClipboardEvent) => void;
|
|
@@ -252,7 +252,7 @@ export default class QueryAssist extends Component<QueryAssistProps> {
|
|
|
252
252
|
handleStyleRangesResponse: ({ suggestions, ...restProps }: QueryAssistResponse) => Promise<void>;
|
|
253
253
|
handleResponse: ({ query, caret, styleRanges, suggestions }: QueryAssistResponse, afterCompletion?: boolean) => Promise<void>;
|
|
254
254
|
handleApply: () => void;
|
|
255
|
-
handleComplete: (data?: SuggestionItem
|
|
255
|
+
handleComplete: (data?: SuggestionItem, replace?: boolean) => void;
|
|
256
256
|
requestStyleRanges: () => Promise<void>;
|
|
257
257
|
requestHandler: (afterCompletion?: boolean) => Promise<void>;
|
|
258
258
|
sendRequest(params: QueryAssistRequestParams): Promise<QueryAssistResponse>;
|
package/dist/select/select.d.ts
CHANGED
|
@@ -229,11 +229,11 @@ export default class Select<T = unknown> extends Component<SelectProps<T>, Selec
|
|
|
229
229
|
private _setFilter;
|
|
230
230
|
private _rebuildMultipleMap;
|
|
231
231
|
_redrawPopup: () => void;
|
|
232
|
-
_listSelectHandler: (selected: SelectItem<T>, event?: Event
|
|
232
|
+
_listSelectHandler: (selected: SelectItem<T>, event?: Event, opts?: SelectHandlerParams) => void;
|
|
233
233
|
_listSelectAllHandler: (isSelectAll?: boolean) => void;
|
|
234
234
|
private _onCloseAttempt;
|
|
235
|
-
clearFilter: (e?:
|
|
236
|
-
clear: (event?: Event |
|
|
235
|
+
clearFilter: (e?: SyntheticEvent) => void;
|
|
236
|
+
clear: (event?: Event | SyntheticEvent) => boolean;
|
|
237
237
|
_selectionIsEmpty(): boolean;
|
|
238
238
|
private _getLabel;
|
|
239
239
|
_getSelectedString(): string | null;
|
|
@@ -98,7 +98,7 @@ export default class SelectPopup<T = unknown> extends PureComponent<SelectPopupP
|
|
|
98
98
|
mouseUpHandler: () => void;
|
|
99
99
|
popup?: Popup | null;
|
|
100
100
|
isVisible(): boolean | null | undefined;
|
|
101
|
-
onListSelect: (selected: ListDataItem<T>, event?: Event |
|
|
101
|
+
onListSelect: (selected: ListDataItem<T>, event?: Event | SyntheticEvent, opts?: SelectHandlerParams) => void;
|
|
102
102
|
tabPress: (event: Event) => void;
|
|
103
103
|
onClickHandler: () => void | undefined;
|
|
104
104
|
getFilter(): JSX.Element | null;
|
|
@@ -24,5 +24,5 @@ export default class Shortcuts extends PureComponent<ShortcutsProps> {
|
|
|
24
24
|
componentWillUnmount(): void;
|
|
25
25
|
turnShorcutsOn(): void;
|
|
26
26
|
turnShorcutsOff(): void;
|
|
27
|
-
render(): true | import("react").
|
|
27
|
+
render(): string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | null;
|
|
28
28
|
}
|