@fmdevui/fm-dev
Version:
Page level components developed based on Element Plus.
107 lines (106 loc) • 2.67 kB
TypeScript
import { TreeKey } from 'element-plus/es/components/tree/src/tree.type';
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
declare const _default: DefineComponent<ExtractPropTypes<{
checkStrictly: {
type: BooleanConstructor;
default: boolean;
};
/**
* api service name
*/
apiService: {
type: StringConstructor;
default: string;
};
/**
* api service 下的方法
*/
apiAction: {
type: StringConstructor;
default: string;
};
paras: {
type: ObjectConstructor;
default: null;
};
nodeKey: {
type: StringConstructor;
default: string;
};
defaultProps: {
type: ObjectConstructor;
default: {
children: string;
label: string;
};
};
placeholder: {
type: StringConstructor;
default: string;
};
modelValue: {
type: PropType<any>;
};
}>, {
fetchTreeData: (showLoading?: boolean) => Promise<any>;
getCheckedKeys: () => TreeKey[];
setCurrentKey: (key?: TreeKey | undefined, shouldAutoExpandParent?: boolean | undefined) => void;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"node-click": (...args: any[]) => void;
"update:modelValue": (value: any) => void;
}, string, PublicProps, Readonly< ExtractPropTypes<{
checkStrictly: {
type: BooleanConstructor;
default: boolean;
};
/**
* api service name
*/
apiService: {
type: StringConstructor;
default: string;
};
/**
* api service 下的方法
*/
apiAction: {
type: StringConstructor;
default: string;
};
paras: {
type: ObjectConstructor;
default: null;
};
nodeKey: {
type: StringConstructor;
default: string;
};
defaultProps: {
type: ObjectConstructor;
default: {
children: string;
label: string;
};
};
placeholder: {
type: StringConstructor;
default: string;
};
modelValue: {
type: PropType<any>;
};
}>> & Readonly<{
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
"onNode-click"?: ((...args: any[]) => any) | undefined;
}>, {
placeholder: string;
apiService: string;
apiAction: string;
checkStrictly: boolean;
paras: Record<string, any>;
nodeKey: string;
defaultProps: Record<string, any>;
}, {}, {}, {}, string, ComponentProvideOptions, true, {
treeRef: unknown;
}, any>;
export default _default;