filter model test

This commit is contained in:
SPRINX0\prochazka
2025-01-09 16:01:34 +01:00
parent d14a1449a3
commit f0eb8945e0
5 changed files with 26 additions and 1 deletions

View File

@@ -33,6 +33,13 @@
}
</script>
<InlineButton {square} {narrow} on:click={handleClick} bind:this={domButton} {disabled}>
<InlineButton
{square}
{narrow}
on:click={handleClick}
bind:this={domButton}
{disabled}
data-testid={$$props['data-testid']}
>
<FontIcon icon={isLoading ? 'icon loading' : icon} />
</InlineButton>

View File

@@ -43,6 +43,7 @@
on:keydown={handleKeyDown}
bind:this={domInput}
on:focus={e => domInput.select()}
data-testid={$$props['data-testid']}
/>
<style>

View File

@@ -215,6 +215,7 @@
onFocusFilteredList={() => {
domListHandler?.focusFirst();
}}
data-testid="ConnectionList_search"
/>
<CloseSearchButton bind:filter />
<DropDownButton

View File

@@ -214,6 +214,7 @@
onFocusFilteredList={() => {
domListHandler?.focusFirst();
}}
data-testid="SqlObjectList_search"
/>
<CloseSearchButton bind:filter />
<DropDownButton
@@ -221,6 +222,7 @@
menu={createSearchMenu}
square={!!filter}
narrow={false}
data-testid="SqlObjectList_searchMenuDropDown"
/>
{#if !filter}
<DropDownButton icon="icon plus-thick" menu={createAddMenu} />