tav-ui
Version:
1 lines • 659 B
Source Map (JSON)
{"version":3,"file":"toCanvas2.mjs","sources":["../../../../../../../packages/components/qr-code/src/toCanvas.ts"],"sourcesContent":["import { renderQrCode } from './drawCanvas'\nimport { drawLogo } from './drawLogo'\nimport type { RenderQrCodeParams } from './typing'\n\nexport const toCanvas = (options: RenderQrCodeParams) => {\n return renderQrCode(options)\n .then(() => {\n return options\n })\n .then(drawLogo) as Promise<string>\n}\n"],"names":[],"mappings":";;;AAEY,MAAC,QAAQ,GAAG,CAAC,OAAO,KAAK;AACrC,EAAE,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM;AAC1C,IAAI,OAAO,OAAO,CAAC;AACnB,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACpB;;;;"}