UNPKG

tdesign-vue-next

Version:
42 lines (41 loc) 1.29 kB
export type PlainObject = { [key: string]: any; }; export type OptionData = { label?: string; value?: string | number; } & PlainObject; export type TreeOptionData<T = string | number> = { children?: Array<TreeOptionData<T>> | boolean; label?: any; text?: string; value?: T; } & PlainObject; export type SizeEnum = 'small' | 'medium' | 'large'; export type HorizontalAlignEnum = 'left' | 'center' | 'right'; export type VerticalAlignEnum = 'top' | 'middle' | 'bottom'; export type ClassName = { [className: string]: any; } | ClassName[] | string; export type CSSSelector = string; export interface Styles { [css: string]: string | number; } export declare enum EKeyboardDirection { left = 37, up = 38, right = 39, down = 40 } export declare const ARROW_DOWN_REG: RegExp; export declare const ARROW_UP_REG: RegExp; export declare const ARROW_LEFT_REG: RegExp; export declare const ARROW_RIGHT_REG: RegExp; export declare const ESCAPE_REG: RegExp; export declare const SPACE_REG: RegExp; export declare const ENTER_REG: RegExp; export declare const SHIFT_REG: RegExp; export declare const CLEAR_REG: RegExp; export declare const ALL_REG: RegExp; export declare const CHECKED_CODE_REG: RegExp; export declare const THEME_MODE = "theme-mode";