{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/usePopWindow/index.ts"],"sourcesContent":["import { type ComponentInternalInstance, getCurrentInstance } from 'vue'\n\nimport { closePopWindowById, closePopWindowByTag, initPopWindow, showPopWindow } from './src/index'\nimport { type PopWindowInfoProps, type PopWindowProps } from './src/interface'\n\nexport { showPopWindow, closePopWindowById, closePopWindowByTag }\nexport type { PopWindowInfoProps, PopWindowProps }\nexport const usePopWindow = (ctx?: any) => {\n  const thisAppContext = ctx || (getCurrentInstance() as ComponentInternalInstance)\n  const { showPopWindow } = initPopWindow(thisAppContext)\n  return { showPopWindow }\n}\n"],"names":["showPopWindow"],"mappings":";;;;;;AAOa,MAAA,YAAA,2BAAgB,GAAc,KAAA;AACzC,EAAM,MAAA,cAAA,GAAiB,OAAQ,kBAAmB,EAAA;AAClD,EAAA,MAAM,EAAE,aAAA,EAAAA,cAAc,EAAA,GAAI,cAAc,cAAc,CAAA;AACtD,EAAO,OAAA,EAAE,eAAAA,cAAc,EAAA;AACzB,CAJ4B,EAAA,cAAA;;;;"}