Files
SingBox-Gopanel/frontend/admin/node_modules/element-plus/es/utils/rand.mjs.map
CN-JS-HuiBai db7f1ba82f
Some checks failed
build / build (api, amd64, linux) (push) Failing after -51s
build / build (api, arm64, linux) (push) Failing after -52s
build / build (api.exe, amd64, windows) (push) Failing after -51s
使用VUE重构项目
2026-04-20 00:19:11 +08:00

1 line
698 B
Plaintext

{"version":3,"file":"rand.mjs","names":[],"sources":["../../../../packages/utils/rand.ts"],"sourcesContent":["/**\n * @deprecated Use `useId` `useIdInjection` instead\n * Generate random number in range [0, 1000]\n * Maybe replace with [uuid](https://www.npmjs.com/package/uuid)\n */\nexport const generateId = (): number => Math.floor(Math.random() * 10000)\n\n/**\n * @deprecated\n * Generating a random int in range (0, max - 1)\n * @param max {number}\n */\nexport const getRandomInt = (max: number) =>\n Math.floor(Math.random() * Math.floor(max))\n"],"mappings":";;;;;;AAKA,MAAa,mBAA2B,KAAK,MAAM,KAAK,QAAQ,GAAG,IAAM;;;;;;AAOzE,MAAa,gBAAgB,QAC3B,KAAK,MAAM,KAAK,QAAQ,GAAG,KAAK,MAAM,IAAI,CAAC"}