UNPKG

@retanaar/vi-calendar

Version:

Fork of v-calendar 3.1.2 with Vue 3.5 fix

18 lines (17 loc) 640 B
import type { DateRangeCell } from '@/utils/date/range'; import { Attribute } from './attribute'; import { type Bar, type Content, type Dot, type Glyph, type GlyphRenderer, type Highlight } from './glyph'; export interface Glyphs { highlights: Highlight[]; dots: Dot[]; bars: Bar[]; content: Content[]; } export declare class Theme { color: string; renderers: GlyphRenderer<Glyph>[]; constructor(color: string); normalizeGlyphs(attr: Attribute): void; prepareRender(glyphs?: Partial<Glyphs>): Partial<Glyphs>; render(cell: DateRangeCell<Attribute>, glyphs: Partial<Glyphs>): void; }