Initalize

This commit is contained in:
Your Name
2026-05-03 12:12:57 -04:00
commit 38652eb9b5
10603 changed files with 1762136 additions and 0 deletions

21
node_modules/@vueuse/integrations/dist/useQRCode.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
import { isClient, toRef } from "@vueuse/shared";
import { shallowRef, watch } from "vue";
import QRCode from "qrcode";
//#region useQRCode/index.ts
/**
* Wrapper for qrcode.
*
* @see https://vueuse.org/useQRCode
* @param text
* @param options
*/
function useQRCode(text, options) {
const src = toRef(text);
const result = shallowRef("");
watch(src, async (value) => {
if (src.value && isClient) result.value = await QRCode.toDataURL(value, options);
}, { immediate: true });
return result;
}
//#endregion
export { useQRCode };