code-monkey-ui
Version:
A Component Library for Vue 3
30 lines (29 loc) • 1.73 kB
TypeScript
import type { DshCascaderConfig, DshCascaderOption, DshCascaderProps, DshCascaderValue } from './node';
export declare const DshCommonProps: {
readonly modelValue: {
readonly type: import("vue").PropType<import("code-monkey-ui/es/utils").EpPropMergeType<(new (...args: any[]) => DshCascaderValue & {}) | (() => DshCascaderValue) | ((new (...args: any[]) => DshCascaderValue & {}) | (() => DshCascaderValue))[], unknown, unknown>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly options: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => DshCascaderOption[]) | (() => DshCascaderOption[]) | ((new (...args: any[]) => DshCascaderOption[]) | (() => DshCascaderOption[]))[], unknown, unknown, () => DshCascaderOption[], boolean>;
readonly props: import("code-monkey-ui/es/utils").EpPropFinalized<(new (...args: any[]) => DshCascaderProps) | (() => DshCascaderProps) | ((new (...args: any[]) => DshCascaderProps) | (() => DshCascaderProps))[], unknown, unknown, () => DshCascaderProps, boolean>;
};
export declare const DshDefaultProps: DshCascaderConfig;
export declare const DshUseCascaderConfig: (props: {
props: DshCascaderProps;
}) => import("vue").ComputedRef<{
expandTrigger: import("./node").DshExpandTrigger;
multiple: boolean;
maxCollapseTags: number;
checkStrictly: boolean;
emitPath: boolean;
lazy: boolean;
lazyLoad: import("./node").DshLazyLoad;
value: string;
label: string;
children: string;
disabled: string | import("./node").DshIsDisabled;
leaf: string | import("./node").DshIsLeaf;
hoverThreshold: number;
}>;