{"version":3,"file":"drawer.mjs","sources":["../../../../../../components/drawer/src/drawer.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport { buildProps, isBoolean } from '@fusion-ui-vue/utils'\nimport { UPDATE_MODEL_EVENT } from '@fusion-ui-vue/constants'\nexport const drawerProps = buildProps({\n  modelValue: Boolean,\n  title: String,\n  direction: {\n    type: String,\n    values: ['left', 'right', 'top', 'bottom'],\n    default: 'left',\n  },\n} as const)\n\nexport type DrawerProps = ExtractPropTypes<typeof drawerProps>\nexport const drawerEmits = {\n  [UPDATE_MODEL_EVENT]: (value: boolean) => isBoolean(value),\n}\nexport type DrawerEmits = typeof drawerEmits\n"],"names":[],"mappings":";;;;;;AAGO,MAAM,cAAc,UAAW,CAAA;AAAA,EACpC,UAAY,EAAA,OAAA;AAAA,EACZ,KAAO,EAAA,MAAA;AAAA,EACP,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,MAAQ,EAAA,CAAC,MAAQ,EAAA,OAAA,EAAS,OAAO,QAAQ,CAAA;AAAA,IACzC,OAAS,EAAA,MAAA;AAAA,GACX;AACF,CAAU,EAAA;AAGH,MAAM,WAAc,GAAA;AAAA,EACzB,CAAC,kBAAkB,GAAG,CAAC,KAAA,KAAmB,UAAU,KAAK,CAAA;AAC3D;;;;"}