🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/components/calendar/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,19 @@ export declare class BCalendar extends BvComponent {
focus: () => void
blur: () => void
}

// --- Interfaces ---

// Calendar context event object
export interface BcCalendarCtxObject {
readonly selectedFormatted: string
readonly selectedYMD: string
readonly selectedDate: Date | null
readonly activeFormatted: string
readonly activeYMD: string
readonly activeDate: Date | null
readonly disabled: boolean
readonly locale: string
readonly calendarLocale: string
readonly rtl: boolean
}
15 changes: 15 additions & 0 deletions src/components/time/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,18 @@ export declare class BTime extends BvComponent {
focus: () => void
blur: () => void
}

// --- Interfaces ---

// Time context event object
export interface BvTimeCtxEvent {
readonly formatted: string
readonly value: string
readonly hours: number | null
readonly minutes: number | null
readonly seconds: number | null
readonly hourCycle: string
readonly hour12: boolean
readonly locale: string
readonly isRtl: boolean
}