@foxone/finance-ui
Version:
The Financial UI Component Library Based on @foxone/uikit and vuetify
55 lines (54 loc) • 1.25 kB
TypeScript
import { Vue } from 'vue-property-decorator';
import type { CreateElement, VNode } from 'vue';
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;
}
export declare class RiskInfo extends Vue {
readonly value: boolean;
private className;
private impact;
private assetLeft;
private assetRight;
private countdown;
private customText;
private customColor;
private isContinue;
private isShow;
private timer;
private count;
private get hasAssets();
private onCountDown;
resetTimer(): void;
handleValueChange(val: boolean): void;
created(): void;
beforeDestroy(): void;
render(h: CreateElement): VNode;
}
export default RiskInfo;