UNPKG

@fesjs/fes-design

Version:
117 lines (116 loc) 3.57 kB
import { type ExtractPropTypes, type PropType, type VNodeChild } from 'vue'; import type { TreeOption } from './interface'; declare const treeNodeProps: { readonly value: { readonly type: PropType<string | number>; readonly required: true; }; readonly label: { readonly type: PropType<string | ((node: TreeOption) => VNodeChild)>; readonly required: true; }; readonly disabled: { readonly type: BooleanConstructor; }; readonly selectable: { readonly type: BooleanConstructor; }; readonly checkable: { readonly type: BooleanConstructor; }; readonly isLeaf: { readonly type: BooleanConstructor; readonly default: false; }; readonly level: { readonly type: NumberConstructor; readonly default: 0; }; readonly draggable: { readonly type: BooleanConstructor; readonly default: false; }; readonly noExpand: { readonly type: BooleanConstructor; readonly default: false; }; }; export type TreeNodeProps = Partial<ExtractPropTypes<typeof treeNodeProps>>; declare const _default: import("vue").DefineComponent<ExtractPropTypes<{ readonly value: { readonly type: PropType<string | number>; readonly required: true; }; readonly label: { readonly type: PropType<string | ((node: TreeOption) => VNodeChild)>; readonly required: true; }; readonly disabled: { readonly type: BooleanConstructor; }; readonly selectable: { readonly type: BooleanConstructor; }; readonly checkable: { readonly type: BooleanConstructor; }; readonly isLeaf: { readonly type: BooleanConstructor; readonly default: false; }; readonly level: { readonly type: NumberConstructor; readonly default: 0; }; readonly draggable: { readonly type: BooleanConstructor; readonly default: false; }; readonly noExpand: { readonly type: BooleanConstructor; readonly default: false; }; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{ readonly value: { readonly type: PropType<string | number>; readonly required: true; }; readonly label: { readonly type: PropType<string | ((node: TreeOption) => VNodeChild)>; readonly required: true; }; readonly disabled: { readonly type: BooleanConstructor; }; readonly selectable: { readonly type: BooleanConstructor; }; readonly checkable: { readonly type: BooleanConstructor; }; readonly isLeaf: { readonly type: BooleanConstructor; readonly default: false; }; readonly level: { readonly type: NumberConstructor; readonly default: 0; }; readonly draggable: { readonly type: BooleanConstructor; readonly default: false; }; readonly noExpand: { readonly type: BooleanConstructor; readonly default: false; }; }>> & Readonly<{}>, { readonly disabled: boolean; readonly selectable: boolean; readonly checkable: boolean; readonly level: number; readonly isLeaf: boolean; readonly draggable: boolean; readonly noExpand: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;