@angelblanco/v-calendar
Version:
A calendar and date picker plugin for Vue.js.
18 lines (17 loc) • 623 B
TypeScript
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;
}