import { PropType } from 'vue'; import { colors } from './var'; export type PlacementsType = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-top" | "right-bottom"; export type DrawerPlacementsType = "left" | "right" | "top" | "bottom"; export type DropPlacementsType = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right"; export type ValueType = "string" | "number" | "boolean"; export type SizeType = "small" | "medium" | "large"; export type ShapeType = "circle" | "square" | "round"; export type BooleanType = PropType; export type ButtonType = "primary" | "danger" | "warning" | "default" | "text" | "link"; export type ThemeType = "outline" | "fill" | "default" | "solid" | "dashed" | "card"; export type RadioType = "radio" | "button"; export type DirectionType = "horizontal" | "vertical" | "inline"; export type AlignType = "start" | "center" | "end"; export type ColorType = PropType<(typeof colors)[number] | string>; export type UploadStatusType = "success" | "error" | "uploading" | "waiting"; export type SpinModeType = "bounce" | "flip" | "rotate" | "zoom"; export type TriggerType = "hover" | "click" | "contextmenu"; export type NoticeType = "info" | "success" | "warning" | "error" | "loading";