@@ -3,7 +3,7 @@ import * as React from 'react'
33import { FindOptions } from '@framework/FindOptions'
44import { getQueryKey , getQueryNiceName , getTypeInfos } from '@framework/Reflection'
55import { 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'
77import * as UserQueryClient from '../../UserQueries/UserQueryClient'
88import { UserQueryPartEntity , PanelPartEmbedded } from '../Signum.Entities.Dashboard'
99import { classes , getColorContrasColorBWByHex , softCast } from '@framework/Globals' ;
@@ -142,7 +142,7 @@ interface BigValueBadgeProps {
142142
143143export function BigValueSearchCounter ( p : BigValueBadgeProps ) {
144144
145- const vsc = React . useRef < ValueSearchControlController > ( null ) ;
145+ const vsc = React . useRef < SearchValueController > ( null ) ;
146146
147147 return (
148148 < div className = { classes (
@@ -158,7 +158,7 @@ export function BigValueSearchCounter(p: BigValueBadgeProps) {
158158 </ div >
159159 < div className = { classes ( "col-9 flip" , "text-end" ) } >
160160 < 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 }
162162 customRequest = { p . cachedQuery && ( ( req , fop , token ) => p . cachedQuery ! . then ( cq => executeQueryValueCached ( req , fop , token , cq ) ) ) }
163163 />
164164 </ h1 >
0 commit comments