@ansible/ansible-ui-framework 2.4.2614 → 2.4.2616
Sign up to get free protection for your applications and to get access to all the features.
package/PageForm/Inputs/{FormGroupTypeAheadMultiSelect.d.ts → FormGroupTypeAheadSelect.d.ts}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SelectOptionObject } from '@patternfly/react-core/deprecated';
|
2
2
|
import { ChangeEvent, MouseEvent, ReactNode } from 'react';
|
3
|
-
export type
|
3
|
+
export type FormGroupTypeAheadSelectProps = {
|
4
4
|
id?: string;
|
5
5
|
label: string;
|
6
6
|
labelHelp?: string | string[] | ReactNode;
|
@@ -26,5 +26,6 @@ export type FormGroupTypeAheadMultiSelectProps = {
|
|
26
26
|
}>[];
|
27
27
|
onHandleClear: (chip?: string) => void;
|
28
28
|
isRequired?: boolean;
|
29
|
+
isMulti?: boolean;
|
29
30
|
};
|
30
|
-
export declare function
|
31
|
+
export declare function FormGroupTypeAheadSelect(props: FormGroupTypeAheadSelectProps): import("react/jsx-runtime").JSX.Element;
|
@@ -17,5 +17,6 @@ export type PageFormCreatableSelectProps<TFieldValues extends FieldValues = Fiel
|
|
17
17
|
isReadOnly?: boolean;
|
18
18
|
isRequired?: boolean;
|
19
19
|
validate?: Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues> | Record<string, Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues>>;
|
20
|
+
isMulti?: boolean;
|
20
21
|
};
|
21
22
|
export declare function PageFormCreatableSelect<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(props: PageFormCreatableSelectProps<TFieldValues, TFieldName>): import("react/jsx-runtime").JSX.Element;
|
@@ -11,9 +11,8 @@ export type PageFormMultiInputProps<T, TFieldValues extends FieldValues = FieldV
|
|
11
11
|
selectTitle?: string;
|
12
12
|
isDisabled?: boolean;
|
13
13
|
selectOpen?: (callback: (selection: T[]) => void, title: string) => void;
|
14
|
+
getChipLabel: (item: T) => string;
|
14
15
|
} & Omit<PageFormGroupProps, 'onChange' | 'value'> & ChipGroupProps;
|
15
16
|
export declare function PageFormMultiInput<T extends {
|
16
|
-
hostname?: string;
|
17
17
|
id: number | string;
|
18
|
-
name: string;
|
19
18
|
}, TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPathByValue<TFieldValues, T[]> = FieldPathByValue<TFieldValues, T[]>>(props: PageFormMultiInputProps<T, TFieldValues, TFieldName>): import("react/jsx-runtime").JSX.Element;
|