UNPKG

element-plus

Version:

A Component Library for Vue 3

24 lines (23 loc) 893 B
import type { InjectionKey } from 'vue'; import type { CommonPickerContext } from './composables/use-common-picker'; export declare const timeUnits: readonly ["hours", "minutes", "seconds"]; export declare const PICKER_BASE_INJECTION_KEY = "EP_PICKER_BASE"; export declare const PICKER_POPPER_OPTIONS_INJECTION_KEY = "ElPopperOptions"; export declare const ROOT_COMMON_PICKER_INJECTION_KEY: InjectionKey<CommonPickerContext>; export declare const DEFAULT_FORMATS_TIME = "HH:mm:ss"; export declare const DEFAULT_FORMATS_DATE = "YYYY-MM-DD"; export declare const DEFAULT_FORMATS_DATEPICKER: { date: string; dates: string; week: string; year: string; years: string; month: string; months: string; datetime: string; monthrange: string; yearrange: string; daterange: string; datetimerange: string; }; export type TimeUnit = typeof timeUnits[number];