{ if (event.target === event.currentTarget) onclose(); }} >
{ if (event.key === "Enter") { select(exact); } }} placeholder={$LL.actionSearch.PLACEHOLDER()} />
{#each KEYMAP_CATEGORIES as category} {/each}
{#if currentAction !== undefined} {#if nextAction} {/if} {/if}
    {#if exact !== undefined}
  • Exact match select(exact)} />
  • {/if} {#if !exact && code} {#if code >= 2 ** 5 && code < 2 ** 13}
  • {:else}
  • Action code is out of range
  • {/if} {/if} {#if filter !== undefined || results.length > 0} {@const resultValue = results.length === 0 ? Array.from(KEYMAP_CODES, ([it]) => it) : results} {#each filter ? resultValue.filter( (it) => filter.has(it), ) : resultValue as id (id)}
  • select(id)} />
  • {/each} {/if}