UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

73 lines (72 loc) 2.16 kB
import { ExtractPropTypes, PropType } from "vue"; import { UiTypes } from "@various/constants"; export declare const UiSelectPropsOption: { readonly classExtraName: { readonly type: StringConstructor; }; /**候选项类名 */ readonly placeholder: { readonly type: StringConstructor; }; /**提示文本 */ readonly modelValue: { readonly required: true; }; /**选中项绑定值 */ readonly widthExtra: { readonly type: NumberConstructor; }; /**候选项尺寸 */ readonly candidates: { readonly type: PropType<UiTypes.candidate[]>; readonly required: true; }; /**候选项 */ readonly clearable: { readonly type: BooleanConstructor; readonly default: false; }; readonly animation: { readonly type: BooleanConstructor; readonly default: true; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly readonly: { readonly type: BooleanConstructor; readonly default: false; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly resolve: { readonly type: PropType<() => string>; }; readonly height: { readonly type: NumberConstructor; readonly default: 240; }; readonly zIndex: { readonly type: NumberConstructor; readonly default: 66; }; readonly width: { readonly type: PropType<string | number>; readonly default: 264; }; readonly size: { readonly type: PropType<UiTypes.size>; readonly default: "default"; }; readonly name: { readonly type: StringConstructor; }; }; export type UiSelectProps = ExtractPropTypes<typeof UiSelectPropsOption>; export declare const UiSelectEmits: { "update:modelValue": (_ev: any) => boolean; "before-enter": () => boolean; "before-leave": () => boolean; "after-enter": () => boolean; "after-leave": () => boolean; change: (_ev?: Event) => boolean; clear: (_ev?: any) => boolean; };