@odoo/o-spreadsheet
Version:
A spreadsheet component
34 lines (33 loc) • 1.26 kB
TypeScript
import { ImageSVG } from "../../types/image";
import { Style } from "../../types/misc";
export type IconSetType = keyof typeof ICON_SETS;
export declare function getCaretDownSvg(color: Style): ImageSVG;
export declare function getCaretUpSvg(color: Style): ImageSVG;
export declare function getHoveredCaretDownSvg(color: Style): ImageSVG;
export declare const getThemeCheckboxUncheckedSvg: (isDarkMode: boolean) => ImageSVG;
export declare const getThemeCheckboxUncheckedHoveredSvg: (isDarkMode: boolean) => ImageSVG;
export declare const getThemeCheckboxCheckedSvg: (isDarkMode: boolean) => ImageSVG;
export declare function getPivotIconSvg(isCollapsed: boolean, isHovered: boolean): ImageSVG;
export declare function getDataFilterIcon(isActive: boolean, isHighContrast: boolean, isHovered: boolean): ImageSVG;
export declare const ICONS: Record<string, {
template: string;
svg: ImageSVG;
}>;
export declare const ICON_SETS: {
arrows: {
good: string;
neutral: string;
bad: string;
};
smiley: {
good: string;
neutral: string;
bad: string;
};
dots: {
good: string;
neutral: string;
bad: string;
};
};
export declare function getPath2D(svgPath: string): Path2D;