UNPKG

@odoo/o-spreadsheet

Version:
34 lines (33 loc) 1.16 kB
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 CHECKBOX_UNCHECKED: ImageSVG; export declare const CHECKBOX_UNCHECKED_HOVERED: ImageSVG; export declare const CHECKBOX_CHECKED: 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;