mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
filter behaviour WIP
This commit is contained in:
parent
c3609e8c7b
commit
17cf9d5007
@ -349,7 +349,7 @@
|
|||||||
import registerCommand from '../commands/registerCommand';
|
import registerCommand from '../commands/registerCommand';
|
||||||
import ColumnHeaderControl from './ColumnHeaderControl.svelte';
|
import ColumnHeaderControl from './ColumnHeaderControl.svelte';
|
||||||
import DataGridRow from './DataGridRow.svelte';
|
import DataGridRow from './DataGridRow.svelte';
|
||||||
import { getFilterValueExpression } from 'dbgate-filterparser';
|
import { getFilterValueExpression } from 'dbgate-filterparser';
|
||||||
import stableStringify from 'json-stable-stringify';
|
import stableStringify from 'json-stable-stringify';
|
||||||
import contextMenu, { getContextMenu, registerMenu } from '../utility/contextMenu';
|
import contextMenu, { getContextMenu, registerMenu } from '../utility/contextMenu';
|
||||||
import { tick } from 'svelte';
|
import { tick } from 'svelte';
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
import FontIcon from '../icons/FontIcon.svelte';
|
import FontIcon from '../icons/FontIcon.svelte';
|
||||||
import keycodes from '../utility/keycodes';
|
import keycodes from '../utility/keycodes';
|
||||||
import FormViewFilterColumn from './FormViewFilterColumn.svelte';
|
import FormViewFilterColumn from './FormViewFilterColumn.svelte';
|
||||||
|
import { stringFilterBehaviour } from 'dbgate-tools';
|
||||||
// import PrimaryKeyFilterEditor from './PrimaryKeyFilterEditor.svelte';
|
// import PrimaryKeyFilterEditor from './PrimaryKeyFilterEditor.svelte';
|
||||||
|
|
||||||
export let managerSize;
|
export let managerSize;
|
||||||
@ -76,7 +77,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<DataFilterControl
|
<DataFilterControl
|
||||||
filterType="string"
|
filterBehaviour={stringFilterBehaviour}
|
||||||
filter={multiColumnFilter}
|
filter={multiColumnFilter}
|
||||||
setFilter={value => display.setMutliColumnFilter(value)}
|
setFilter={value => display.setMutliColumnFilter(value)}
|
||||||
{driver}
|
{driver}
|
||||||
|
Loading…
Reference in New Issue
Block a user