fix(api): use bcrypt directly instead of passlib for compatibility

This commit is contained in:
bwstudio
2026-05-21 22:18:36 +08:00
parent 7f51d200f1
commit 4651781bc3
23511 changed files with 2587254 additions and 8 deletions
@@ -0,0 +1 @@
{"version":3,"file":"useOption.mjs","names":[],"sources":["../../../../../../packages/components/select-v2/src/useOption.ts"],"sourcesContent":["import type { OptionV2EmitFn, OptionV2Props } from './defaults'\n\nexport function useOption(\n props: OptionV2Props,\n { emit }: { emit: OptionV2EmitFn }\n) {\n return {\n hoverItem: () => {\n if (!props.disabled) {\n emit('hover', props.index)\n }\n },\n selectOptionClick: () => {\n if (!props.disabled) {\n emit('select', props.item, props.index)\n }\n },\n }\n}\n"],"mappings":";AAEA,SAAgB,UACd,OACA,EAAE,QACF;CACA,OAAO;EACL,iBAAiB;GACf,IAAI,CAAC,MAAM,UACT,KAAK,SAAS,MAAM,MAAM;;EAG9B,yBAAyB;GACvB,IAAI,CAAC,MAAM,UACT,KAAK,UAAU,MAAM,MAAM,MAAM,MAAM;;EAG5C"}