{"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/use-expose/index.ts"],"sourcesContent":["import { getCurrentInstance } from 'vue'\n\nexport const extend = Object.assign\n\n// expose public api\nexport function useExpose<T = Record<string, any>>(apis: T) {\n  const instance = getCurrentInstance()\n  if (instance) {\n    extend(instance.proxy as object, apis)\n  }\n}\n"],"names":[],"mappings":";;AAEO,MAAM,SAAS,MAAO,CAAA,OAAA;AAGtB,SAAS,UAAmC,IAAS,EAAA;AAC1D,EAAA,MAAM,WAAW,kBAAmB,EAAA,CAAA;AACpC,EAAA,IAAI,QAAU,EAAA;AACZ,IAAO,MAAA,CAAA,QAAA,CAAS,OAAiB,IAAI,CAAA,CAAA;AAAA,GACvC;AACF;;;;"}