constants.d.ts 895 B

1234567891011121314151617181920212223
  1. import type { InjectionKey } from 'vue';
  2. import type { CommonPickerContext } from './composables/use-common-picker';
  3. export declare const timeUnits: readonly ["hours", "minutes", "seconds"];
  4. export declare const PICKER_BASE_INJECTION_KEY = "EP_PICKER_BASE";
  5. export declare const PICKER_POPPER_OPTIONS_INJECTION_KEY = "ElPopperOptions";
  6. export declare const ROOT_COMMON_PICKER_INJECTION_KEY: InjectionKey<CommonPickerContext>;
  7. export declare const DEFAULT_FORMATS_TIME = "HH:mm:ss";
  8. export declare const DEFAULT_FORMATS_DATE = "YYYY-MM-DD";
  9. export declare const DEFAULT_FORMATS_DATEPICKER: {
  10. date: string;
  11. dates: string;
  12. week: string;
  13. year: string;
  14. years: string;
  15. month: string;
  16. months: string;
  17. datetime: string;
  18. monthrange: string;
  19. yearrange: string;
  20. daterange: string;
  21. datetimerange: string;
  22. };
  23. export type TimeUnit = (typeof timeUnits)[number];