t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
166 lines (165 loc) • 6.31 kB
TypeScript
import type { PageHeaderBackInterface } from './src/interface.d';
import type { DefineComponent, PropType, VNode, RendererNode, RendererElement, Component, ComputedOptions, MethodOptions, ComputedRef, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, CSSProperties } from 'vue';
import type { InstallType, HandleEventInterface, ClassListInterface, UtilsSizeChangeInterface } from '../_interface';
import PageHeader from "./src/page-header";
export declare const FPageHeader: InstallType<DefineComponent<{
readonly icon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly iconSize: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly backText: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly title: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly titleBold: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly titleColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly titleCenter: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly subtitle: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly back: {
readonly type: PropType<PageHeaderBackInterface>;
readonly default: () => null;
};
}, {
prop: {
readonly icon?: unknown;
readonly iconSize?: unknown;
readonly backText?: unknown;
readonly title?: unknown;
readonly titleBold?: unknown;
readonly titleColor?: unknown;
readonly titleCenter?: unknown;
readonly subtitle?: unknown;
readonly back?: unknown;
} & {
title: string;
titleColor: string;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
iconSize: string | number;
backText: string;
titleBold: boolean;
titleCenter: boolean;
subtitle: string;
back: PageHeaderBackInterface;
} & {};
handleClick: HandleEventInterface;
rightClassList: ComputedRef<ClassListInterface>;
rightTitleClassList: ComputedRef<ClassListInterface>;
sizeChange: UtilsSizeChangeInterface;
FIconArrowLeftVue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
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;
}>>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly icon?: unknown;
readonly iconSize?: unknown;
readonly backText?: unknown;
readonly title?: unknown;
readonly titleBold?: unknown;
readonly titleColor?: unknown;
readonly titleCenter?: unknown;
readonly subtitle?: unknown;
readonly back?: unknown;
} & {
title: string;
titleColor: string;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
iconSize: string | number;
backText: string;
titleBold: boolean;
titleCenter: boolean;
subtitle: string;
back: PageHeaderBackInterface;
} & {}>, {
title: string;
titleColor: string;
icon: VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>;
iconSize: string | number;
backText: string;
titleBold: boolean;
titleCenter: boolean;
subtitle: string;
back: PageHeaderBackInterface;
}>>;
export declare type PageHeaderInstance = InstanceType<typeof PageHeader>;
export * from './src/interface.d';
export default PageHeader;