@adyen/lume-vue3
Version:
Lume is a Vue data visualization component library, built with Typescript and D3.
54 lines • 1.53 kB
TypeScript
import { PropType } from 'vue';
import { orientationValidator } from '@/composables/props';
import { Scale } from '@/composables/scales';
import type { DatasetValueObject, InternalData } from '@/types/dataset';
import type { ContainerSize } from '@/types/size';
import type { Options } from '@/types/options';
import type { Orientation } from '@/types/utils';
export declare const withGroupProps: <T extends Options = Options, K extends DatasetValueObject<number> = DatasetValueObject<number>>() => {
data: {
type: PropType<InternalData<K>>;
required: boolean;
};
labels: {
type: PropType<(string | number)[]>;
default: () => any[];
};
options: {
type: PropType<T>;
default: () => {};
};
orientation: {
type: PropType<Orientation>;
default: Orientation;
validator: typeof orientationValidator;
};
xScale: {
type: PropType<Scale>;
default: () => any;
};
yScale: {
type: PropType<Scale>;
default: () => any;
};
hoveredIndex: {
type: NumberConstructor;
default: number;
};
containerSize: {
type: PropType<ContainerSize>;
default: () => {
width: number;
height: number;
};
};
transition: {
type: BooleanConstructor;
default: boolean;
};
classList: {
type: PropType<string | string[]>;
default: () => any[];
};
};
//# sourceMappingURL=group-props.d.ts.map