@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
40 lines (39 loc) • 2.03 kB
TypeScript
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
namespace departments {
export const type: ArrayConstructor;
export const required: boolean;
function _default(): never[];
export { _default as default };
}
namespace defaultProps {
const children: string;
const label: string;
}
}
const emits: string[];
function setup(__props: any, { expose: __expose, emit: __emit }: {
expose: any;
emit: any;
}): {
props: any;
selectedId: import("vue").Ref<null, null>;
emit: any;
treeRef: import("vue").Ref<null, null>;
icon: import("vue").Ref<string, string>;
departmentsList: import("vue").Ref<never[], never[]>;
buildTree: (items: any) => any[];
toggleExpand: (data: any) => void;
selectOpinion: (opinion: any) => void;
ref: typeof ref;
onMounted: (hook: any, target?: import("vue").ComponentInternalInstance | null | undefined) => void;
watch: typeof watch;
h: typeof h;
readonly Plus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
readonly Minus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
};
}
import { ref } from "@vue/runtime-core";
import { watch } from "@vue/runtime-core";
import { h } from "@vue/runtime-core";