@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 1.52 kB
Source Map (JSON)
{"version":3,"file":"symbol.mjs","sources":["../../../components/notice/symbol.ts"],"sourcesContent":["import type { ComponentPublicInstance } from 'vue'\n\nexport type Key = string | number\nexport type NoticeType = 'primary' | 'info' | 'success' | 'warning' | 'error'\nexport type NoticePlacement = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'\n\nexport interface NoticeOptions extends Record<string, any> {\n title?: string,\n content?: string,\n key?: Key,\n icon?: Record<string, any> | (() => any),\n iconColor?: string,\n type?: NoticeType | null,\n duration?: number,\n className?: string | Record<string, any>,\n style?: string | Record<string, any>,\n zIndex?: number,\n background?: boolean | string,\n color?: boolean | string,\n closable?: boolean,\n parseHtml?: boolean,\n liveOnEnter?: boolean,\n renderer?: () => any\n}\n\nexport interface NoticeConfig {\n placement?: NoticePlacement\n}\n\nexport interface NoticeInstance extends ComponentPublicInstance {\n add: (options: NoticeOptions) => void,\n remove: (key: string | number) => void,\n clear: () => void,\n config: (config: NoticeConfig) => void\n}\n\nexport const effectiveTypes = Object.freeze(['primary', 'info', 'success', 'warning', 'error'])\n// For a11n\nexport const assertiveTypes = Object.freeze(['success', 'warning', 'error'])\n"],"names":["effectiveTypes","assertiveTypes"],"mappings":"AAoCa,MAAAA,IAAiB,OAAO,OAAO,CAAC,WAAW,QAAQ,WAAW,WAAW,OAAO,CAAC,GAEjFC,IAAiB,OAAO,OAAO,CAAC,WAAW,WAAW,OAAO,CAAC;"}