@foxone/finance-ui
Version:
The Financial UI Component Library Based on @foxone/uikit and vuetify
138 lines (137 loc) • 3.51 kB
TypeScript
/// <reference types="node" />
import { PropType } from '@vue/composition-api';
export interface CUSTOM_TEXT {
continue?: {
title?: string;
highlights?: string[];
btn_cancel?: string;
btn_continue?: string;
};
confirm?: {
title?: string;
content?: string;
btn_cancel?: string;
btn_confirm?: string;
};
}
export interface CUSTOM_COLOR {
continue?: {
btn_cancel?: string;
btn_continue?: string;
};
confirm?: {
btn_cancel?: string;
btn_confirm?: string;
};
}
export interface ASSET {
symbol: string;
amount: string;
name?: string;
price?: string;
}
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
classes: (suffix?: string | undefined, className?: string | undefined) => string;
isContinue: boolean;
isShow: boolean;
timer: NodeJS.Timeout | null;
count: number | undefined;
}> & import("@vue/composition-api").Data, {
onCountDown(): void;
resetTimer(): void;
handleInput(val: any): void;
handleContinueClick(evt: string): void;
handleConfirmClick(evt: string): void;
}, {
hasAssets(): boolean;
}, {
value: {
type: BooleanConstructor;
default: boolean;
};
prefixCls: {
type: StringConstructor;
default: string;
};
impact: {
type: StringConstructor;
default: string;
};
assetLeft: {
type: PropType<ASSET>;
default: () => {};
};
assetRight: {
type: PropType<ASSET>;
default: () => {};
};
countdown: {
type: NumberConstructor;
default: number;
};
customText: {
type: PropType<CUSTOM_TEXT>;
default: () => {
continue: {};
confirm: {};
};
};
customColor: {
type: PropType<CUSTOM_COLOR>;
default: () => {
continue: {};
confirm: {};
};
};
}, {
value: boolean;
prefixCls: string;
impact: string;
assetLeft: ASSET;
assetRight: ASSET;
countdown: number;
customText: CUSTOM_TEXT;
customColor: CUSTOM_COLOR;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
value: boolean;
prefixCls: string;
impact: string;
assetLeft: ASSET;
assetRight: ASSET;
countdown: number;
customText: CUSTOM_TEXT;
customColor: CUSTOM_COLOR;
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
classes: (suffix?: string | undefined, className?: string | undefined) => string;
isContinue: boolean;
isShow: boolean;
timer: NodeJS.Timeout | null;
count: number | undefined;
}>, import("@vue/composition-api").Data, {
hasAssets(): boolean;
}, {
onCountDown(): void;
resetTimer(): void;
handleInput(val: any): void;
handleContinueClick(evt: string): void;
handleConfirmClick(evt: string): void;
}, {
value: boolean;
prefixCls: string;
impact: string;
assetLeft: ASSET;
assetRight: ASSET;
countdown: number;
customText: CUSTOM_TEXT;
customColor: CUSTOM_COLOR;
} & {}, {
value: boolean;
prefixCls: string;
impact: string;
assetLeft: ASSET;
assetRight: ASSET;
countdown: number;
customText: CUSTOM_TEXT;
customColor: CUSTOM_COLOR;
}, true>);
export default _default;