@ansible/ansible-ui-framework 2.4.49 → 2.4.50
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ interface ISelectDialogOptions<T extends object, TMultiple> {
|
|
16
16
|
isMultiple?: TMultiple extends true ? true : false;
|
17
17
|
}
|
18
18
|
export declare function useSelectDialog<T extends {
|
19
|
-
id: number;
|
19
|
+
id: number | string;
|
20
20
|
name: string | undefined;
|
21
21
|
}, TMultiple = false>(options: ISelectDialogOptions<T, TMultiple>): (onSelect?: (TMultiple extends true ? (item: T[]) => void : (item: T) => void) | undefined, title?: string) => void;
|
22
22
|
export type SelectDialogProps<T extends object, TMultiple> = {
|
@@ -28,7 +28,7 @@ export type SelectDialogProps<T extends object, TMultiple> = {
|
|
28
28
|
keyFn: (item: T) => string | number;
|
29
29
|
} & ISelectDialogOptions<T, TMultiple>;
|
30
30
|
export declare function SelectDialog<T extends {
|
31
|
-
id: number;
|
31
|
+
id: number | string;
|
32
32
|
name: string | undefined;
|
33
33
|
}, TMultiple = false>(props: SelectDialogProps<T, TMultiple>): JSX.Element;
|
34
34
|
export {};
|
@@ -16,7 +16,7 @@ interface FieldValuesWithArray<T> extends FieldValues {
|
|
16
16
|
[key: string]: T[];
|
17
17
|
}
|
18
18
|
export declare function PageFormMultiInput<T extends {
|
19
|
-
id: number;
|
19
|
+
id: number | string;
|
20
20
|
name: string;
|
21
21
|
}, TFieldValues extends FieldValuesWithArray<T> = FieldValuesWithArray<T>, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: PageFormMultiInputProps<T, TFieldValues, TFieldName>): JSX.Element;
|
22
22
|
export {};
|