u
This commit is contained in:
1 parent
bcc4722efc
commit
f48536774f
403 files changed
+34776
No files matched your search
@@ -0,0 +1 @@
|
||||
import{J as l}from"./index-C4UKuwCQ.js";const c={ENTER:"Enter",ESC:"Escape",SPACE:" ",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight"},e=o=>JSON.stringify({key:o.key,ctrl:!!o.ctrl,shift:!!o.shift,alt:!!o.alt,meta:!!o.meta}),i=o=>{const s={};return o.forEach((t,r)=>{const a=l(r)?{key:r}:r;s[e(a)]=t}),t=>{const r=e({key:t.key,ctrl:t.ctrlKey,shift:t.shiftKey,alt:t.altKey,meta:t.metaKey}),a=s[r];a&&(t.stopPropagation(),a(t))}};export{c as K,i as g};
|
||||
Reference in new issue
Block a user