t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
172 lines (171 loc) • 6.24 kB
TypeScript
import type { DefineComponent, PropType, VNode, RendererNode, RendererElement, Component, ComputedOptions, MethodOptions, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, EmitsOptions } from 'vue';
import type { InstallType, HandleEventInterface } from '../_interface';
import Loading from "./src/loading";
export declare const FLoading: InstallType<DefineComponent<{
readonly show: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly close: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly text: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly fontColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly iconColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly fontSize: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly opacity: {
readonly type: NumberConstructor;
readonly default: () => number | null;
};
readonly icon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly closeEnd: {
readonly type: PropType<HandleEventInterface>;
readonly default: () => null;
};
}, {
prop: {
readonly show?: unknown;
readonly close?: unknown;
readonly text?: unknown;
readonly fontColor?: unknown;
readonly iconColor?: unknown;
readonly fontSize?: unknown;
readonly background?: unknown;
readonly opacity?: unknown;
readonly icon?: unknown;
readonly closeEnd?: unknown;
} & {
fontSize: string;
close: boolean;
background: string;
closeEnd: HandleEventInterface;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
fontColor: string;
text: string;
show: boolean;
iconColor: string;
opacity: number;
} & {};
handleClick: HandleEventInterface;
styleList: ComputedRef<CSSProperties>;
FSvgIcon: InstallType<DefineComponent<{
readonly icon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly size: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly click: {
readonly type: PropType<HandleEventInterface>;
readonly default: () => null;
};
}, {
prop: {
readonly icon?: unknown;
readonly color?: unknown;
readonly size?: unknown;
readonly click?: unknown;
} & {
color: string;
size: string | number;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
} & {};
handleClick: HandleEventInterface;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly icon?: unknown;
readonly color?: unknown;
readonly size?: unknown;
readonly click?: unknown;
} & {
color: string;
size: string | number;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
} & {}>, {
color: string;
size: string | number;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
click: HandleEventInterface;
}>>;
FIconLoadingAVue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly show?: unknown;
readonly close?: unknown;
readonly text?: unknown;
readonly fontColor?: unknown;
readonly iconColor?: unknown;
readonly fontSize?: unknown;
readonly background?: unknown;
readonly opacity?: unknown;
readonly icon?: unknown;
readonly closeEnd?: unknown;
} & {
fontSize: string;
close: boolean;
background: string;
closeEnd: HandleEventInterface;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
fontColor: string;
text: string;
show: boolean;
iconColor: string;
opacity: number;
} & {}>, {
fontSize: string;
close: boolean;
background: string;
closeEnd: HandleEventInterface;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
fontColor: string;
text: string;
show: boolean;
iconColor: string;
opacity: number;
}>>;
export declare type LoadingInstance = InstanceType<typeof Loading>;
export * from './src/interface.d';
export default Loading;