RAMP4 - v4.21.0
Preparing search index...
fixtures/geosearch/store/geosearch-store
useGeosearchStore
Variable useGeosearchStore
Const
useGeosearchStore
:
StoreDefinition
<
"geosearch"
,
Pick
<
{
cleanVal
:
(
val
:
string
)
=>
string
;
failedServices
:
Ref
<
string
[]
,
string
[]
>
;
getProvinces
:
ComputedRef
<
Promise
<
IProvinceInfo
[]
>
>
;
getTypes
:
ComputedRef
<
Promise
<
any
[]
>
>
;
GSservice
:
Ref
<
{
config
:
{}
;
typeList
:
any
;
fetchProvinces
()
:
Promise
<
IProvinceInfo
[]
>
;
fetchTypes
()
:
Promise
<
any
[]
>
;
levenshteinDistance
(
goalText
:
string
,
testText
:
string
)
:
number
;
query
(
userInput
:
string
,
)
:
Promise
<
{
failedServs
:
string
[]
;
results
:
ISearchResult
[]
}
>
;
}
,
|
GeoSearchUI
|
{
config
:
{}
;
typeList
:
any
;
fetchProvinces
()
:
Promise
<
IProvinceInfo
[]
>
;
fetchTypes
()
:
Promise
<
any
[]
>
;
levenshteinDistance
(
goalText
:
string
,
testText
:
string
)
:
number
;
query
(
userInput
:
string
,
)
:
Promise
<
{
failedServs
:
string
[]
;
results
:
ISearchResult
[]
}
>
;
}
,
>
;
initService
:
(
lang
:
string
,
config
:
any
)
=>
void
;
lastSearchVal
:
Ref
<
string
,
string
>
;
loadingResults
:
Ref
<
boolean
,
boolean
>
;
queryParams
:
Ref
<
{
extent
:
|
{
id
:
string
;
sr
:
{
latestWkid
:
number
|
undefined
;
wkid
:
number
|
undefined
;
wkt
:
string
|
undefined
;
clone
()
:
SpatialReference
;
isEqual
(
otherSR
:
SpatialReference
)
:
boolean
;
isWebMercator
()
:
boolean
;
lean
()
:
object
;
toESRI
()
:
SpatialReference
;
toGeoJSON
()
:
NamedCoordinateReferenceSystem
;
}
;
type
:
GeometryType
;
xmax
:
number
;
xmin
:
number
;
ymax
:
number
;
ymin
:
number
;
center
()
:
Point
;
clone
()
:
Extent
;
contains
(
testPoint
:
Point
)
:
boolean
;
expand
(
factor
:
number
)
:
Extent
;
invalid
()
:
boolean
;
isEqual
(
e
:
Extent
|
undefined
)
:
boolean
;
toArray
()
:
number
[]
[]
;
toESRI
()
:
Extent
;
toGeoJSON
()
:
Polygon
;
toPolygon
()
:
Polygon
;
toPolygonArray
()
:
number
[]
[]
[]
;
}
|
undefined
;
province
:
string
;
type
:
string
;
}
,
|
QueryParams
|
{
extent
:
|
{
id
:
string
;
sr
:
{
latestWkid
:
number
|
undefined
;
wkid
:
number
|
undefined
;
wkt
:
string
|
undefined
;
clone
()
:
SpatialReference
;
isEqual
(
otherSR
:
SpatialReference
)
:
boolean
;
isWebMercator
()
:
boolean
;
lean
()
:
object
;
toESRI
()
:
SpatialReference
;
toGeoJSON
()
:
NamedCoordinateReferenceSystem
;
}
;
type
:
GeometryType
;
xmax
:
number
;
xmin
:
number
;
ymax
:
number
;
ymin
:
number
;
center
()
:
Point
;
clone
()
:
Extent
;
contains
(
testPoint
:
Point
)
:
boolean
;
expand
(
factor
:
number
)
:
Extent
;
invalid
()
:
boolean
;
isEqual
(
e
:
Extent
|
undefined
)
:
boolean
;
toArray
()
:
number
[]
[]
;
toESRI
()
:
Extent
;
toGeoJSON
()
:
Polygon
;
toPolygon
()
:
Polygon
;
toPolygonArray
()
:
(...)
[]
[]
[]
;
}
|
undefined
;
province
:
string
;
type
:
string
;
}
,
>
;
resultsVisible
:
Ref
<
boolean
,
boolean
>
;
runQuery
:
(
forceReRun
?:
boolean
)
=>
void
;
savedResults
:
Ref
<
{}
[]
,
ISearchResult
[]
|
{}
[]
>
;
searchRegex
:
Ref
<
string
,
string
>
;
searchResults
:
Ref
<
{}
[]
,
ISearchResult
[]
|
{}
[]
>
;
searchVal
:
Ref
<
string
,
string
>
;
setMapExtent
:
(
mapExtent
:
MapExtent
)
=>
void
;
setProvince
:
(
payload
:
{
forceReRun
?:
boolean
;
province
?:
string
}
,
)
=>
void
;
setSearchRegex
:
(
searchTerm
:
string
)
=>
void
;
setSearchTerm
:
(
searchTerm
:
string
)
=>
void
;
setType
:
(
payload
:
{
forceReRun
?:
boolean
;
type
?:
string
}
)
=>
void
;
}
,
|
"GSservice"
|
"queryParams"
|
"resultsVisible"
|
"searchVal"
|
"searchRegex"
|
"lastSearchVal"
|
"searchResults"
|
"savedResults"
|
"loadingResults"
|
"failedServices"
,
>
,
Pick
<
{
cleanVal
:
(
val
:
string
)
=>
string
;
failedServices
:
Ref
<
string
[]
,
string
[]
>
;
getProvinces
:
ComputedRef
<
Promise
<
IProvinceInfo
[]
>
>
;
getTypes
:
ComputedRef
<
Promise
<
any
[]
>
>
;
GSservice
:
Ref
<
{
config
:
{}
;
typeList
:
any
;
fetchProvinces
()
:
Promise
<
IProvinceInfo
[]
>
;
fetchTypes
()
:
Promise
<
any
[]
>
;
levenshteinDistance
(
goalText
:
string
,
testText
:
string
)
:
number
;
query
(
userInput
:
string
,
)
:
Promise
<
{
failedServs
:
string
[]
;
results
:
ISearchResult
[]
}
>
;
}
,
|
GeoSearchUI
|
{
config
:
{}
;
typeList
:
any
;
fetchProvinces
()
:
Promise
<
IProvinceInfo
[]
>
;
fetchTypes
()
:
Promise
<
any
[]
>
;
levenshteinDistance
(
goalText
:
string
,
testText
:
string
)
:
number
;
query
(
userInput
:
string
,
)
:
Promise
<
{
failedServs
:
string
[]
;
results
:
ISearchResult
[]
}
>
;
}
,
>
;
initService
:
(
lang
:
string
,
config
:
any
)
=>
void
;
lastSearchVal
:
Ref
<
string
,
string
>
;
loadingResults
:
Ref
<
boolean
,
boolean
>
;
queryParams
:
Ref
<
{
extent
:
|
{
id
:
string
;
sr
:
{
latestWkid
:
number
|
undefined
;
wkid
:
number
|
undefined
;
wkt
:
string
|
undefined
;
clone
()
:
SpatialReference
;
isEqual
(
otherSR
:
SpatialReference
)
:
boolean
;
isWebMercator
()
:
boolean
;
lean
()
:
object
;
toESRI
()
:
SpatialReference
;
toGeoJSON
()
:
NamedCoordinateReferenceSystem
;
}
;
type
:
GeometryType
;
xmax
:
number
;
xmin
:
number
;
ymax
:
number
;
ymin
:
number
;
center
()
:
Point
;
clone
()
:
Extent
;
contains
(
testPoint
:
Point
)
:
boolean
;
expand
(
factor
:
number
)
:
Extent
;
invalid
()
:
boolean
;
isEqual
(
e
:
Extent
|
undefined
)
:
boolean
;
toArray
()
:
number
[]
[]
;
toESRI
()
:
Extent
;
toGeoJSON
()
:
Polygon
;
toPolygon
()
:
Polygon
;
toPolygonArray
()
:
number
[]
[]
[]
;
}
|
undefined
;
province
:
string
;
type
:
string
;
}
,
|
QueryParams
|
{
extent
:
|
{
id
:
string
;
sr
:
{
latestWkid
:
number
|
undefined
;
wkid
:
number
|
undefined
;
wkt
:
string
|
undefined
;
clone
()
:
SpatialReference
;
isEqual
(
otherSR
:
SpatialReference
)
:
boolean
;
isWebMercator
()
:
boolean
;
lean
()
:
object
;
toESRI
()
:
SpatialReference
;
toGeoJSON
()
:
NamedCoordinateReferenceSystem
;
}
;
type
:
GeometryType
;
xmax
:
number
;
xmin
:
number
;
ymax
:
number
;
ymin
:
number
;
center
()
:
Point
;
clone
()
:
Extent
;
contains
(
testPoint
:
Point
)
:
boolean
;
expand
(
factor
:
number
)
:
Extent
;
invalid
()
:
boolean
;
isEqual
(
e
:
Extent
|
undefined
)
:
boolean
;
toArray
()
:
number
[]
[]
;
toESRI
()
:
Extent
;
toGeoJSON
()
:
Polygon
;
toPolygon
()
:
Polygon
;
toPolygonArray
()
:
(...)
[]
[]
[]
;
}
|
undefined
;
province
:
string
;
type
:
string
;
}
,
>
;
resultsVisible
:
Ref
<
boolean
,
boolean
>
;
runQuery
:
(
forceReRun
?:
boolean
)
=>
void
;
savedResults
:
Ref
<
{}
[]
,
ISearchResult
[]
|
{}
[]
>
;
searchRegex
:
Ref
<
string
,
string
>
;
searchResults
:
Ref
<
{}
[]
,
ISearchResult
[]
|
{}
[]
>
;
searchVal
:
Ref
<
string
,
string
>
;
setMapExtent
:
(
mapExtent
:
MapExtent
)
=>
void
;
setProvince
:
(
payload
:
{
forceReRun
?:
boolean
;
province
?:
string
}
,
)
=>
void
;
setSearchRegex
:
(
searchTerm
:
string
)
=>
void
;
setSearchTerm
:
(
searchTerm
:
string
)
=>
void
;
setType
:
(
payload
:
{
forceReRun
?:
boolean
;
type
?:
string
}
)
=>
void
;
}
,
"getProvinces"
|
"getTypes"
,
>
,
Pick
<
{
cleanVal
:
(
val
:
string
)
=>
string
;
failedServices
:
Ref
<
string
[]
,
string
[]
>
;
getProvinces
:
ComputedRef
<
Promise
<
IProvinceInfo
[]
>
>
;
getTypes
:
ComputedRef
<
Promise
<
any
[]
>
>
;
GSservice
:
Ref
<
{
config
:
{}
;
typeList
:
any
;
fetchProvinces
()
:
Promise
<
IProvinceInfo
[]
>
;
fetchTypes
()
:
Promise
<
any
[]
>
;
levenshteinDistance
(
goalText
:
string
,
testText
:
string
)
:
number
;
query
(
userInput
:
string
,
)
:
Promise
<
{
failedServs
:
string
[]
;
results
:
ISearchResult
[]
}
>
;
}
,
|
GeoSearchUI
|
{
config
:
{}
;
typeList
:
any
;
fetchProvinces
()
:
Promise
<
IProvinceInfo
[]
>
;
fetchTypes
()
:
Promise
<
any
[]
>
;
levenshteinDistance
(
goalText
:
string
,
testText
:
string
)
:
number
;
query
(
userInput
:
string
,
)
:
Promise
<
{
failedServs
:
string
[]
;
results
:
ISearchResult
[]
}
>
;
}
,
>
;
initService
:
(
lang
:
string
,
config
:
any
)
=>
void
;
lastSearchVal
:
Ref
<
string
,
string
>
;
loadingResults
:
Ref
<
boolean
,
boolean
>
;
queryParams
:
Ref
<
{
extent
:
|
{
id
:
string
;
sr
:
{
latestWkid
:
number
|
undefined
;
wkid
:
number
|
undefined
;
wkt
:
string
|
undefined
;
clone
()
:
SpatialReference
;
isEqual
(
otherSR
:
SpatialReference
)
:
boolean
;
isWebMercator
()
:
boolean
;
lean
()
:
object
;
toESRI
()
:
SpatialReference
;
toGeoJSON
()
:
NamedCoordinateReferenceSystem
;
}
;
type
:
GeometryType
;
xmax
:
number
;
xmin
:
number
;
ymax
:
number
;
ymin
:
number
;
center
()
:
Point
;
clone
()
:
Extent
;
contains
(
testPoint
:
Point
)
:
boolean
;
expand
(
factor
:
number
)
:
Extent
;
invalid
()
:
boolean
;
isEqual
(
e
:
Extent
|
undefined
)
:
boolean
;
toArray
()
:
number
[]
[]
;
toESRI
()
:
Extent
;
toGeoJSON
()
:
Polygon
;
toPolygon
()
:
Polygon
;
toPolygonArray
()
:
number
[]
[]
[]
;
}
|
undefined
;
province
:
string
;
type
:
string
;
}
,
|
QueryParams
|
{
extent
:
|
{
id
:
string
;
sr
:
{
latestWkid
:
number
|
undefined
;
wkid
:
number
|
undefined
;
wkt
:
string
|
undefined
;
clone
()
:
SpatialReference
;
isEqual
(
otherSR
:
SpatialReference
)
:
boolean
;
isWebMercator
()
:
boolean
;
lean
()
:
object
;
toESRI
()
:
SpatialReference
;
toGeoJSON
()
:
NamedCoordinateReferenceSystem
;
}
;
type
:
GeometryType
;
xmax
:
number
;
xmin
:
number
;
ymax
:
number
;
ymin
:
number
;
center
()
:
Point
;
clone
()
:
Extent
;
contains
(
testPoint
:
Point
)
:
boolean
;
expand
(
factor
:
number
)
:
Extent
;
invalid
()
:
boolean
;
isEqual
(
e
:
Extent
|
undefined
)
:
boolean
;
toArray
()
:
number
[]
[]
;
toESRI
()
:
Extent
;
toGeoJSON
()
:
Polygon
;
toPolygon
()
:
Polygon
;
toPolygonArray
()
:
(...)
[]
[]
[]
;
}
|
undefined
;
province
:
string
;
type
:
string
;
}
,
>
;
resultsVisible
:
Ref
<
boolean
,
boolean
>
;
runQuery
:
(
forceReRun
?:
boolean
)
=>
void
;
savedResults
:
Ref
<
{}
[]
,
ISearchResult
[]
|
{}
[]
>
;
searchRegex
:
Ref
<
string
,
string
>
;
searchResults
:
Ref
<
{}
[]
,
ISearchResult
[]
|
{}
[]
>
;
searchVal
:
Ref
<
string
,
string
>
;
setMapExtent
:
(
mapExtent
:
MapExtent
)
=>
void
;
setProvince
:
(
payload
:
{
forceReRun
?:
boolean
;
province
?:
string
}
,
)
=>
void
;
setSearchRegex
:
(
searchTerm
:
string
)
=>
void
;
setSearchTerm
:
(
searchTerm
:
string
)
=>
void
;
setType
:
(
payload
:
{
forceReRun
?:
boolean
;
type
?:
string
}
)
=>
void
;
}
,
|
"initService"
|
"runQuery"
|
"setProvince"
|
"setType"
|
"setSearchTerm"
|
"setSearchRegex"
|
"setMapExtent"
|
"cleanVal"
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
RAMP4 - v4.21.0
Loading...