@sonamu-kit/react-components 0.2.3 → 0.2.5
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.
|
@@ -23,11 +23,13 @@ type IdAsyncSelectBaseProps<TSubsetKey extends string = string, TSubsetMapping =
|
|
|
23
23
|
clearable?: boolean;
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
className?: string;
|
|
26
|
+
/** true이면 키워드 없이도 마운트 시 전체 목록을 즉시 로드 (소규모 데이터셋에 적합) */
|
|
27
|
+
preload?: boolean;
|
|
26
28
|
multiple?: boolean;
|
|
27
29
|
value?: TValue | TValue[] | null;
|
|
28
30
|
onValueChange?: (value: TValue | TValue[] | undefined) => void;
|
|
29
31
|
onRowChange?: (row: OnRowChangeType<TSubset, TSubsetMapping>) => void;
|
|
30
32
|
};
|
|
31
33
|
export type IdAsyncSelectProps<TSubsetKey extends string = string, TSubsetMapping = Record<string, unknown>, TValue extends string | number = string, TListParams extends Record<string, unknown> = Record<string, unknown>, TSubset extends TSubsetKey = TSubsetKey> = IdAsyncSelectBaseProps<TSubsetKey, TSubsetMapping, TValue, TListParams, TSubset> & (DisplayFieldAsString<TSubset, TSubsetMapping> | DisplayFieldAsCallback<TSubset, TSubsetMapping>);
|
|
32
|
-
export declare function IdAsyncSelect<TSubsetKey extends string = string, TSubsetMapping = Record<string, unknown>, TValue extends string | number = string, TListParams extends Record<string, unknown> = Record<string, unknown>, TSubset extends TSubsetKey = TSubsetKey>({ config, subset, baseListParams, displayField, valueField, placeholder, clearable, disabled, className, multiple, value, onValueChange, onRowChange, }: IdAsyncSelectProps<TSubsetKey, TSubsetMapping, TValue, TListParams, TSubset>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare function IdAsyncSelect<TSubsetKey extends string = string, TSubsetMapping = Record<string, unknown>, TValue extends string | number = string, TListParams extends Record<string, unknown> = Record<string, unknown>, TSubset extends TSubsetKey = TSubsetKey>({ config, subset, baseListParams, displayField, valueField, placeholder, clearable, disabled, className, multiple, preload, value, onValueChange, onRowChange, }: IdAsyncSelectProps<TSubsetKey, TSubsetMapping, TValue, TListParams, TSubset>): import("react/jsx-runtime").JSX.Element;
|
|
33
35
|
export {};
|