@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
66 lines (65 loc) • 2.06 kB
TypeScript
import * as Icons from "@element-plus/icons-vue";
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
modelValue: {
type: StringConstructor;
default: string;
};
prefixIcon: {
type: StringConstructor;
default: string;
};
selectBind: ObjectConstructor;
isShowSearch: {
type: BooleanConstructor;
default: boolean;
};
isShowIcon: {
type: BooleanConstructor;
default: boolean;
};
}>, {
props: any;
emit: (event: "update:modelValue" | "select", ...args: any[]) => void;
valueIcon: import("vue").WritableComputedRef<string, string>;
$attrs: any;
attrs: import("vue").ComputedRef<any>;
dialogVisible: import("vue").Ref<boolean, boolean>;
selectIcon: (item: any) => void;
inputRef: import("vue").Ref<any, any>;
clearIcon: () => void;
inputValue: import("vue").Ref<string, string>;
customIcons: {
[key: string]: any;
};
iconsList: import("vue").ComputedRef<{
[key: string]: any;
}>;
readonly Icons: typeof Icons;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "select")[], "update:modelValue" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: StringConstructor;
default: string;
};
prefixIcon: {
type: StringConstructor;
default: string;
};
selectBind: ObjectConstructor;
isShowSearch: {
type: BooleanConstructor;
default: boolean;
};
isShowIcon: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
}>, {
modelValue: string;
prefixIcon: string;
isShowSearch: boolean;
isShowIcon: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _sfc_main;