@fesjs/fes-design
Version:
fes-design for PC
381 lines (380 loc) • 18 kB
TypeScript
import type { PropType } from 'vue';
import type { ExtractPublicPropTypes } from '../_util/interface';
export declare const subMenuProps: {
value: {
type: PropType<string | number>;
};
label: StringConstructor;
};
export type SubMenuProps = ExtractPublicPropTypes<typeof subMenuProps>;
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
value: {
type: (StringConstructor | NumberConstructor)[];
default: any;
};
label: StringConstructor;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
value: {
type: (StringConstructor | NumberConstructor)[];
default: any;
};
label: StringConstructor;
}>> & Readonly<{}>, {
value: string | number;
}, {}, {
Ellipsis: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly content: PropType<string | number>;
readonly line: {
readonly type: PropType<string | number>;
readonly default: 1;
};
readonly tooltip: {
readonly type: PropType<boolean | import("..").ToolTipProps>;
readonly default: () => import("..").ToolTipProps;
};
readonly class: PropType<string | object | []>;
readonly style: {
readonly type: PropType<string | import("vue").CSSProperties>;
readonly default: () => {};
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly content: PropType<string | number>;
readonly line: {
readonly type: PropType<string | number>;
readonly default: 1;
};
readonly tooltip: {
readonly type: PropType<boolean | import("..").ToolTipProps>;
readonly default: () => import("..").ToolTipProps;
};
readonly class: PropType<string | object | []>;
readonly style: {
readonly type: PropType<string | import("vue").CSSProperties>;
readonly default: () => {};
};
}>> & Readonly<{}>, {
readonly style: string | import("vue").CSSProperties;
readonly tooltip: import("..").ToolTipProps;
readonly line: string | number;
}, {}, {
Tooltip: {
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
readonly title: PropType<string | number>;
readonly content: PropType<string | number>;
readonly mode: {
readonly type: PropType<"text" | "confirm" | "popover">;
readonly default: "text";
};
readonly confirmOption: {
readonly type: ObjectConstructor;
readonly default: () => {
okText: string;
cancelText: string;
showOk: boolean;
showCancel: boolean;
icon: import("vue/jsx-runtime").JSX.Element;
};
};
readonly arrow: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 8;
};
readonly modelValue: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly trigger: {
readonly type: PropType<"click" | "hover" | "contextmenu" | "focus">;
readonly default: "hover";
};
readonly placement: {
readonly type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
readonly default: "bottom";
};
readonly disabled: {
readonly type: PropType<boolean | (() => boolean)>;
readonly default: false;
};
readonly appendToContainer: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly popperClass: PropType<string | object | []>;
readonly popperStyle: {
readonly type: PropType<import("vue").StyleValue>;
readonly default: () => {};
};
readonly showAfter: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly hideAfter: {
readonly type: NumberConstructor;
readonly default: 200;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly lazy: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly onlyShowTrigger: {
readonly type: BooleanConstructor;
};
readonly passive: {
readonly type: BooleanConstructor;
readonly default: true;
};
}>> & Readonly<{
"onUpdate:modelValue"?: (...args: any[]) => any;
onCancel?: (...args: any[]) => any;
onClickOutside?: (...args: any[]) => any;
onOk?: (...args: any[]) => any;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "clickOutside" | "ok")[], import("vue").PublicProps, {
readonly disabled: boolean | (() => boolean);
readonly trigger: "click" | "hover" | "contextmenu" | "focus";
readonly mode: "text" | "confirm" | "popover";
readonly modelValue: boolean;
readonly arrow: boolean;
readonly appendToContainer: boolean;
readonly placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
readonly offset: number;
readonly popperStyle: import("vue").StyleValue;
readonly showAfter: number;
readonly hideAfter: number;
readonly lazy: boolean;
readonly onlyShowTrigger: boolean;
readonly passive: boolean;
readonly confirmOption: Record<string, any>;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
readonly title: PropType<string | number>;
readonly content: PropType<string | number>;
readonly mode: {
readonly type: PropType<"text" | "confirm" | "popover">;
readonly default: "text";
};
readonly confirmOption: {
readonly type: ObjectConstructor;
readonly default: () => {
okText: string;
cancelText: string;
showOk: boolean;
showCancel: boolean;
icon: import("vue/jsx-runtime").JSX.Element;
};
};
readonly arrow: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 8;
};
readonly modelValue: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly trigger: {
readonly type: PropType<"click" | "hover" | "contextmenu" | "focus">;
readonly default: "hover";
};
readonly placement: {
readonly type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
readonly default: "bottom";
};
readonly disabled: {
readonly type: PropType<boolean | (() => boolean)>;
readonly default: false;
};
readonly appendToContainer: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly popperClass: PropType<string | object | []>;
readonly popperStyle: {
readonly type: PropType<import("vue").StyleValue>;
readonly default: () => {};
};
readonly showAfter: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly hideAfter: {
readonly type: NumberConstructor;
readonly default: 200;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly lazy: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly onlyShowTrigger: {
readonly type: BooleanConstructor;
};
readonly passive: {
readonly type: BooleanConstructor;
readonly default: true;
};
}>> & Readonly<{
"onUpdate:modelValue"?: (...args: any[]) => any;
onCancel?: (...args: any[]) => any;
onClickOutside?: (...args: any[]) => any;
onOk?: (...args: any[]) => any;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
readonly disabled: boolean | (() => boolean);
readonly trigger: "click" | "hover" | "contextmenu" | "focus";
readonly mode: "text" | "confirm" | "popover";
readonly modelValue: boolean;
readonly arrow: boolean;
readonly appendToContainer: boolean;
readonly placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
readonly offset: number;
readonly popperStyle: import("vue").StyleValue;
readonly showAfter: number;
readonly hideAfter: number;
readonly lazy: boolean;
readonly onlyShowTrigger: boolean;
readonly passive: boolean;
readonly confirmOption: Record<string, any>;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
readonly title: PropType<string | number>;
readonly content: PropType<string | number>;
readonly mode: {
readonly type: PropType<"text" | "confirm" | "popover">;
readonly default: "text";
};
readonly confirmOption: {
readonly type: ObjectConstructor;
readonly default: () => {
okText: string;
cancelText: string;
showOk: boolean;
showCancel: boolean;
icon: import("vue/jsx-runtime").JSX.Element;
};
};
readonly arrow: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 8;
};
readonly modelValue: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly trigger: {
readonly type: PropType<"click" | "hover" | "contextmenu" | "focus">;
readonly default: "hover";
};
readonly placement: {
readonly type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
readonly default: "bottom";
};
readonly disabled: {
readonly type: PropType<boolean | (() => boolean)>;
readonly default: false;
};
readonly appendToContainer: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly popperClass: PropType<string | object | []>;
readonly popperStyle: {
readonly type: PropType<import("vue").StyleValue>;
readonly default: () => {};
};
readonly showAfter: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly hideAfter: {
readonly type: NumberConstructor;
readonly default: 200;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly lazy: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly onlyShowTrigger: {
readonly type: BooleanConstructor;
};
readonly passive: {
readonly type: BooleanConstructor;
readonly default: true;
};
}>> & Readonly<{
"onUpdate:modelValue"?: (...args: any[]) => any;
onCancel?: (...args: any[]) => any;
onClickOutside?: (...args: any[]) => any;
onOk?: (...args: any[]) => any;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "clickOutside" | "ok")[], "update:modelValue" | "cancel" | "clickOutside" | "ok", {
readonly disabled: boolean | (() => boolean);
readonly trigger: "click" | "hover" | "contextmenu" | "focus";
readonly mode: "text" | "confirm" | "popover";
readonly modelValue: boolean;
readonly arrow: boolean;
readonly appendToContainer: boolean;
readonly placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
readonly offset: number;
readonly popperStyle: import("vue").StyleValue;
readonly showAfter: number;
readonly hideAfter: number;
readonly lazy: boolean;
readonly onlyShowTrigger: boolean;
readonly passive: boolean;
readonly confirmOption: Record<string, any>;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
FadeInExpandTransition: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
appear: BooleanConstructor;
group: BooleanConstructor;
mode: PropType<"default" | "in-out" | "out-in">;
onLeave: FunctionConstructor;
onAfterLeave: FunctionConstructor;
onAfterEnter: FunctionConstructor;
width: BooleanConstructor;
reverse: BooleanConstructor;
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
appear: BooleanConstructor;
group: BooleanConstructor;
mode: PropType<"default" | "in-out" | "out-in">;
onLeave: FunctionConstructor;
onAfterLeave: FunctionConstructor;
onAfterEnter: FunctionConstructor;
width: BooleanConstructor;
reverse: BooleanConstructor;
}>> & Readonly<{}>, {
reverse: boolean;
group: boolean;
appear: boolean;
width: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;