@pusdn/pgz-comp-elep
Version:
PGZ组件库,Vue3 中基于Element-plus二次封装基础组件文档
90 lines (89 loc) • 2.59 kB
TypeScript
import * as Icons from "@element-plus/icons-vue";
export interface TSelectIconProps {
modelValue: any;
prefixIcon?: string;
selectBind?: Record<string, any>;
isShowSearch?: boolean;
isShowIcon?: boolean;
}
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
modelValue: {
type: null;
required: true;
default: string;
};
prefixIcon: {
type: StringConstructor;
required: false;
default: string;
};
selectBind: {
type: ObjectConstructor;
required: false;
default: () => {};
};
isShowSearch: {
type: BooleanConstructor;
required: false;
default: boolean;
};
isShowIcon: {
type: BooleanConstructor;
required: false;
default: boolean;
};
}>, {
props: any;
emit: (event: "update:modelValue" | "select", ...args: any[]) => void;
valueIcon: import("vue").WritableComputedRef<any, any>;
$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: null;
required: true;
default: string;
};
prefixIcon: {
type: StringConstructor;
required: false;
default: string;
};
selectBind: {
type: ObjectConstructor;
required: false;
default: () => {};
};
isShowSearch: {
type: BooleanConstructor;
required: false;
default: boolean;
};
isShowIcon: {
type: BooleanConstructor;
required: false;
default: boolean;
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onSelect?: ((...args: any[]) => any) | undefined;
}>, {
modelValue: any;
prefixIcon: string;
selectBind: Record<string, any>;
isShowSearch: boolean;
isShowIcon: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _sfc_main;