UNPKG

vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

1 lines 846 B
{"version":3,"file":"symbol.cjs","sources":["../../../components/drawer/symbol.ts"],"sourcesContent":["export type DrawerPlacement = 'top' | 'right' | 'bottom' | 'left'\n\nexport interface DrawerSlotParams {\n resizing: boolean,\n handleConfirm: () => void,\n handleCancel: () => void,\n handleClose: (isConfirm?: boolean) => Promise<unknown>,\n}\n\nexport type DrawerCommonSlot = (params: DrawerSlotParams) => any\n\nexport interface DrawerSlots {\n header?: DrawerCommonSlot,\n title?: DrawerCommonSlot,\n close?: DrawerCommonSlot,\n default?: DrawerCommonSlot,\n footer?: DrawerCommonSlot,\n handler?: DrawerCommonSlot,\n}\n\nexport const drawerPlacements = Object.freeze<DrawerPlacement[]>(['top', 'right', 'bottom', 'left'])\n"],"names":["drawerPlacements"],"mappings":"gFAoBa,MAAAA,EAAmB,OAAO,OAA0B,CAAC,MAAO,QAAS,SAAU,MAAM,CAAC"}