tdesign-vue
Version:
152 lines (151 loc) • 5.62 kB
TypeScript
import { TdOptionProps, SelectOption } from './type';
export interface OptionsType extends TdOptionProps {
$index?: number;
}
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
t: <T>(pattern: T, ...args: any[]) => any;
global: import("@vue/composition-api").ComputedRef<{} & (import("..").SelectConfig | ({
readonly clearIcon: any;
readonly filterable: false;
} & {
readonly empty: "暂无数据";
readonly loadingText: "加载中";
readonly placeholder: "请选择";
})) & import("..").SelectConfig>;
isEmpty: import("@vue/composition-api").ComputedRef<boolean>;
renderTNode: (name: string, options?: import("../hooks/render-tnode").OptionsType) => any;
selectProvider: any;
isCreateOptionShown: import("@vue/composition-api").ComputedRef<boolean>;
trs: Map<any, any>;
isVirtual: import("@vue/composition-api").ComputedRef<boolean>;
onInnerVirtualScroll: (e: WheelEvent) => void;
visibleData: import("@vue/composition-api").Ref<any[]>;
scrollHeight: import("@vue/composition-api").ComputedRef<any>;
translateY: import("@vue/composition-api").ComputedRef<any>;
scrollType: "lazy" | "virtual";
handleRowMounted: () => void;
bufferSize: number;
threshold: number;
displayOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
getDisplayOptions: () => (SelectOption & {
isCreated?: boolean;
})[];
componentName: import("@vue/composition-api").Ref<string>;
}> & import("@vue/composition-api").Data, {
renderEmptyContent(): any;
renderLoadingContent(): any;
renderCreateOption(): JSX.Element;
renderOptionsContent(options: SelectOption[]): JSX.Element;
renderPanelContent(innerStyle?: {}): JSX.Element;
}, {}, Readonly<{
filter?: any;
keys?: any;
loading?: any;
scroll?: any;
multiple?: any;
options?: any;
size?: any;
empty?: any;
inputValue?: any;
loadingText?: any;
panelBottomContent?: any;
panelTopContent?: any;
creatable?: any;
filterable?: any;
}>, import("@vue/composition-api").ExtractPropTypes<Readonly<{
filter?: any;
keys?: any;
loading?: any;
scroll?: any;
multiple?: any;
options?: any;
size?: any;
empty?: any;
inputValue?: any;
loadingText?: any;
panelBottomContent?: any;
panelTopContent?: any;
creatable?: any;
filterable?: any;
}>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
readonly filter?: any;
readonly keys?: any;
readonly loading?: any;
readonly scroll?: any;
readonly multiple?: any;
readonly options?: any;
readonly size?: any;
readonly empty?: any;
readonly inputValue?: any;
readonly loadingText?: any;
readonly panelBottomContent?: any;
readonly panelTopContent?: any;
readonly creatable?: any;
readonly filterable?: any;
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
t: <T>(pattern: T, ...args: any[]) => any;
global: import("@vue/composition-api").ComputedRef<{} & (import("..").SelectConfig | ({
readonly clearIcon: any;
readonly filterable: false;
} & {
readonly empty: "暂无数据";
readonly loadingText: "加载中";
readonly placeholder: "请选择";
})) & import("..").SelectConfig>;
isEmpty: import("@vue/composition-api").ComputedRef<boolean>;
renderTNode: (name: string, options?: import("../hooks/render-tnode").OptionsType) => any;
selectProvider: any;
isCreateOptionShown: import("@vue/composition-api").ComputedRef<boolean>;
trs: Map<any, any>;
isVirtual: import("@vue/composition-api").ComputedRef<boolean>;
onInnerVirtualScroll: (e: WheelEvent) => void;
visibleData: import("@vue/composition-api").Ref<any[]>;
scrollHeight: import("@vue/composition-api").ComputedRef<any>;
translateY: import("@vue/composition-api").ComputedRef<any>;
scrollType: "lazy" | "virtual";
handleRowMounted: () => void;
bufferSize: number;
threshold: number;
displayOptions: import("@vue/composition-api").ComputedRef<SelectOption[]>;
getDisplayOptions: () => (SelectOption & {
isCreated?: boolean;
})[];
componentName: import("@vue/composition-api").Ref<string>;
}>, import("@vue/composition-api").Data, {}, {
renderEmptyContent(): any;
renderLoadingContent(): any;
renderCreateOption(): JSX.Element;
renderOptionsContent(options: SelectOption[]): JSX.Element;
renderPanelContent(innerStyle?: {}): JSX.Element;
}, {}, {}, {}, {
readonly filter?: any;
readonly keys?: any;
readonly loading?: any;
readonly scroll?: any;
readonly multiple?: any;
readonly options?: any;
readonly size?: any;
readonly empty?: any;
readonly inputValue?: any;
readonly loadingText?: any;
readonly panelBottomContent?: any;
readonly panelTopContent?: any;
readonly creatable?: any;
readonly filterable?: any;
} & {}, {
readonly filter?: any;
readonly keys?: any;
readonly loading?: any;
readonly scroll?: any;
readonly multiple?: any;
readonly options?: any;
readonly size?: any;
readonly empty?: any;
readonly inputValue?: any;
readonly loadingText?: any;
readonly panelBottomContent?: any;
readonly panelTopContent?: any;
readonly creatable?: any;
readonly filterable?: any;
}, true>);
export default _default;