vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 1.2 kB
Source Map (JSON)
{"version":3,"file":"symbol.cjs","sources":["../../../components/popup/symbol.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\n\nexport type Key = string | number\nexport type PopupPlacement =\n | 'top-right'\n | 'top-center'\n | 'top-left'\n | 'bottom-right'\n | 'bottom-center'\n | 'bottom-left'\n\nexport interface PopupItemState extends Record<string, unknown> {\n key: Key,\n content: string,\n closable: boolean,\n height: number,\n visible: boolean,\n verticalPosition: number,\n type?: string,\n className?: any,\n style?: any,\n icon?: Record<string, any> | (() => any),\n iconColor?: string,\n onOpen: (key: Key) => void,\n onClose: (result: boolean) => void,\n onEnter: () => void,\n onLeave: () => void,\n}\n\nexport const DELETE_HANDLER = '__VXP_POPUP_DELETE_HANDLER' as unknown as InjectionKey<\n (key: Key) => void\n>\n\nexport const popupPlacements = Object.freeze<PopupPlacement[]>([\n 'top-right',\n 'top-center',\n 'top-left',\n 'bottom-right',\n 'bottom-center',\n 'bottom-left',\n])\n"],"names":["DELETE_HANDLER","popupPlacements"],"mappings":"gFA6BO,MAAMA,EAAiB,6BAIjBC,EAAkB,OAAO,OAAyB,CAC7D,YACA,aACA,WACA,eACA,gBACA,aACF,CAAC"}