JewelryMall/admin/node_modules/element-plus/es/hooks/use-focus/index.mjs.map
2026-02-14 19:29:15 +08:00

1 line
591 B
Plaintext

{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-focus/index.ts"],"sourcesContent":["import type { Ref } from 'vue'\n\nexport const useFocus = (\n el: Ref<{\n focus: () => void\n } | null>\n) => {\n return {\n focus: () => {\n el.value?.focus?.()\n },\n }\n}\n"],"names":[],"mappings":"AAEO,MAAM,QAAA,GAAW,CACtB,EAAA,KAGG;AACH,EAAA,OAAO;AAAA,IACL,OAAO,MAAM;AARjB,MAAA,IAAA,EAAA,EAAA,EAAA;AASM,MAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,EAAA,CAAG,KAAA,KAAH,mBAAU,KAAA,KAAV,IAAA,GAAA,MAAA,GAAA,EAAA,CAAA,IAAA,CAAA,EAAA,CAAA;AAAA,IACF;AAAA,GACF;AACF;;;;"}