@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
1 lines • 888 B
Source Map (JSON)
{"version":3,"file":"symbol.mjs","sources":["../../../components/drawer/symbol.ts"],"sourcesContent":["export type DrawerPlacement = 'top' | 'right' | 'bottom' | 'left'\r\n\r\nexport interface DrawerSlotParams {\r\n resizing: boolean,\r\n handleConfirm: () => void,\r\n handleCancel: () => void,\r\n handleClose: (isConfirm?: boolean) => Promise<unknown>,\r\n}\r\n\r\nexport type DrawerCommonSlot = (params: DrawerSlotParams) => any\r\n\r\nexport interface DrawerSlots {\r\n header?: DrawerCommonSlot,\r\n title?: DrawerCommonSlot,\r\n close?: DrawerCommonSlot,\r\n default?: DrawerCommonSlot,\r\n footer?: DrawerCommonSlot,\r\n handler?: DrawerCommonSlot,\r\n}\r\n\r\nexport const drawerPlacements = Object.freeze<DrawerPlacement[]>(['top', 'right', 'bottom', 'left'])\r\n"],"names":["drawerPlacements"],"mappings":"AAoBa,MAAAA,IAAmB,OAAO,OAA0B,CAAC,OAAO,SAAS,UAAU,MAAM,CAAC;"}