{"version":3,"file":"useOption.mjs","sources":["../../../../../packages/components/color-picker/src/useOption.ts"],"sourcesContent":["import { inject } from 'vue'\n\nimport type { ComputedRef } from 'vue'\n\nexport interface IUseOptions {\n  currentColor: ComputedRef<string>\n}\n\nexport const OPTIONS_KEY = Symbol()\n\nexport const useOptions = () => {\n  return inject<IUseOptions>(OPTIONS_KEY)\n}\n"],"names":[],"mappings":";;AAQO,MAAM,cAAc,MAAO,GAAA;AAE3B,MAAM,aAAa,MAAM;AAC9B,EAAA,OAAO,OAAoB,WAAW,CAAA,CAAA;AACxC;;;;"}