Type aliases
Override
Override: function
Functions
augmentProducts
- augmentProducts(results: Results): object[]
-
Parameters
Returns object[]
autocompleteProductsOverrides
-
Parameters
Returns function
autocompleteSuggestionsOverrides
- autocompleteSuggestionsOverrides(config: Configuration): function
-
Parameters
Returns function
clampPageSize
- clampPageSize(page: number, pageSize: number): number
-
Parameters
-
page: number
-
pageSize: number
Returns number
collectionOverrides
-
Parameters
Returns function
combineNavigations
- combineNavigations(__namedParameters: object): Navigation[]
-
Parameters
-
__namedParameters: object
-
available: Navigation[]
-
selected: Navigation[]
detailsOverrides
-
Parameters
Returns function
extractAllMeta
- extractAllMeta(product: Product | Record): any
extractArea
-
Parameters
-
-
Optional defaultValue: string
Returns string
-
Parameters
Returns string
extractAutocompleteArea
-
Parameters
Returns string
extractAutocompleteCollection
-
Parameters
Returns string
extractAutocompleteHoverAutoFill
-
Parameters
Returns boolean
extractAutocompleteLanguage
-
Parameters
Returns string
extractAutocompleteNavigationCount
- extractAutocompleteNavigationCount(config: Configuration): number
-
Parameters
Returns number
extractAutocompleteNavigationLabels
- extractAutocompleteNavigationLabels(config: Configuration): object
-
Parameters
Returns object
extractAutocompleteProductArea
-
Parameters
Returns string
extractAutocompleteProductCount
-
Parameters
Returns number
extractAutocompleteProductLanguage
- extractAutocompleteProductLanguage(config: Configuration): string
-
Parameters
Returns string
extractAutocompleteSuggestionCount
- extractAutocompleteSuggestionCount(config: Configuration): number
-
Parameters
Returns number
extractCategoryValues
- extractCategoryValues(__namedParameters: object, category: string): any
-
Parameters
-
__namedParameters: object
-
category: string
Returns any
extractCollection
-
Parameters
Returns string
extractFields
-
Parameters
Returns string[]
extractIndexedState
- extractIndexedState(state: string | object): object
-
Parameters
Returns object
-
allIds: string[]
-
selected: string
extractLanguage
-
Parameters
Returns string
-
Parameters
Returns string
extractMaxRefinements
-
Parameters
Returns number
extractNavigation
- extractNavigation(navigation: Navigation): Navigation
extractNavigationSort
- extractNavigationSort(sort: SortType): Sort
extractNavigationsPinned
-
Parameters
Returns string[]
extractPage
- extractPage(state: State, totalRecords: number, current?: number, pageSize?: number): Page
-
Parameters
-
-
totalRecords: number
-
Optional current: number
-
Optional pageSize: number
extractPastPurchaseProductCount
-
Parameters
Returns number
extractProductArea
-
Parameters
Returns string
extractProductLanguage
-
Parameters
Returns string
extractQuery
- extractQuery(__namedParameters: object): Query
-
Parameters
-
__namedParameters: object
-
corrected: string
-
didYouMean: string[]
-
original: string
-
related: string[]
-
rewrites: string[]
extractRealTimeBiasingExpiry
-
Parameters
Returns number
extractRecordCount
- extractRecordCount(recordCount: number): number
-
Parameters
Returns number
extractRefinement
-
Parameters
-
__namedParameters: object
-
high: number
-
low: number
-
total: number
-
type: "Range" & "Value"
-
value: string
-
Parameters
Returns SelectedRefinement
extractRefinementsSort
- extractRefinementsSort(config: Configuration): true | false | string[]
-
Parameters
Returns true
|
false
|
string[]
extractSaytCategoriesForFirstMatch
- extractSaytCategoriesForFirstMatch(config: Configuration): boolean
-
Parameters
Returns boolean
extractSaytCategoryField
-
Parameters
Returns string
extractSkip
- extractSkip(page: number, pageSize: number): number
-
Parameters
-
page: number
-
pageSize: number
Returns number
extractSort
- extractSort(__namedParameters: object): Sort
-
Parameters
-
__namedParameters: object
-
descending: boolean
-
field: string
extractSuggestions
- extractSuggestions(__namedParameters: object, query: string, category: string, labels: object, config: Configuration): Suggestions
-
Parameters
-
__namedParameters: object
-
query: string
-
category: string
-
labels: object
-
extractTemplate
- extractTemplate(template?: Template): Template
-
Parameters
-
Default value template: Template = <any>{ zones: [] }
filterExcludedRefinements
filterNavigations
- filterNavigations(navigations: Navigation[]): Navigation[]
-
Parameters
-
navigations: Navigation[]
Returns Navigation[]
initialState
-
Parameters
Returns Partial<State>
isAutocompleteAlphabeticallySorted
- isAutocompleteAlphabeticallySorted(config: Configuration): boolean
-
Parameters
Returns boolean
isAutocompleteMatchingFuzzily
-
Parameters
Returns boolean
isRealTimeBiasEnabled
-
Parameters
Returns boolean
mergeRefinements
- mergeRefinements(__namedParameters: object, state: State): object
-
Parameters
-
__namedParameters: object
-
navigation: object
-
navigationId: string
-
original: (ValueRefinement | RangeRefinement)[]
-
Returns object
-
navigationId: string
-
-
selected: any[]
mergeSelectedRefinements
- mergeSelectedRefinements(available: Navigation, selected: Navigation): void
mergeSuggestions
-
Parameters
-
suggestions: Array<object>
-
Returns object[]
pastPurchaseAutocompleteOverrides
- pastPurchaseAutocompleteOverrides(config: Configuration): function
-
Parameters
Returns function
pastPurchaseOverrides
-
Parameters
Returns function
recommendationsIdsOverrides
-
Parameters
Returns function
recommendationsNavigationsOverrides
- recommendationsNavigationsOverrides(config: Configuration): function
-
Parameters
Returns function
recommendationsProductsOverrides
- recommendationsProductsOverrides(config: Configuration): function
-
Parameters
Returns function
recommendationsSuggestionsOverrides
- recommendationsSuggestionsOverrides(config: Configuration): function
-
Parameters
Returns function
refinementsMatch
-
Parameters
-
-
rhs: Refinement | SelectedRefinement
-
Default value type: string = rhs.type
Returns boolean
refinementsOverrides
-
Parameters
Returns function
searchOverrides
-
Parameters
Returns function
shouldAddPastPurchaseBias
-
Parameters
Returns boolean
termsMatch
- termsMatch(lhs: string, rhs: string): boolean
-
Parameters
Returns boolean
extract current collection from config