import { VueUiSparkbarConfig, VueUiSparkbarDatasetItem } from 'vue-data-ui'; export interface MiniBarConfig extends VueUiSparkbarConfig { } export interface MiniBarDatasetItem extends VueUiSparkbarDatasetItem { } export type MiniBarStyle = MiniBarConfig['style']; export interface MiniBarProps { showAnimation?: boolean; backgroundColor?: string; gap?: number; independant?: boolean; percentage?: boolean; target?: number; showTargetValue?: boolean; targetValueText?: string; gutterBackgroundColor?: string; gutterOpacity?: number; showTitle?: boolean; title?: string; titleColor?: string; titleFontSize?: number; showSubtitle?: boolean; subtitle?: string; subtitleColor?: string; subtitleFontSize?: number; labelsFontSize?: number; labelPosition?: 'top-left' | 'top-right' | 'left' | 'top' | 'top-center' | 'right'; showLabelsValue?: boolean; dataset: MiniBarDatasetItem[]; configStyle?: MiniBarStyle; } export interface MiniBarEmitsOptions { datapoint: MiniBarDatasetItem; index: number; } export interface MiniBarEmits { (e: 'select', value: MiniBarEmitsOptions): void; }