@@ -3,7 +3,7 @@ import * as React from 'react'
3
3
import { FindOptions } from '@framework/FindOptions'
4
4
import { getQueryKey , getQueryNiceName , getTypeInfos } from '@framework/Reflection'
5
5
import { Entity , Lite , is , JavascriptMessage , toLite , liteKey } from '@framework/Signum.Entities'
6
- import { SearchControl , ValueSearchControl , ValueSearchControlController } from '@framework/Search'
6
+ import { SearchControl , SearchValue , SearchValueController } from '@framework/Search'
7
7
import * as UserQueryClient from '../../UserQueries/UserQueryClient'
8
8
import { UserQueryPartEntity , PanelPartEmbedded } from '../Signum.Entities.Dashboard'
9
9
import { classes , getColorContrasColorBWByHex , softCast } from '@framework/Globals' ;
@@ -142,7 +142,7 @@ interface BigValueBadgeProps {
142
142
143
143
export function BigValueSearchCounter ( p : BigValueBadgeProps ) {
144
144
145
- const vsc = React . useRef < ValueSearchControlController > ( null ) ;
145
+ const vsc = React . useRef < SearchValueController > ( null ) ;
146
146
147
147
return (
148
148
< div className = { classes (
@@ -158,7 +158,7 @@ export function BigValueSearchCounter(p: BigValueBadgeProps) {
158
158
</ div >
159
159
< div className = { classes ( "col-9 flip" , "text-end" ) } >
160
160
< h1 >
161
- < ValueSearchControl ref = { vsc } findOptions = { p . findOptions } isLink = { false } isBadge = { false } deps = { p . deps }
161
+ < SearchValue ref = { vsc } findOptions = { p . findOptions } isLink = { false } isBadge = { false } deps = { p . deps }
162
162
customRequest = { p . cachedQuery && ( ( req , fop , token ) => p . cachedQuery ! . then ( cq => executeQueryValueCached ( req , fop , token , cq ) ) ) }
163
163
/>
164
164
</ h1 >
0 commit comments