@bridgeline-digital/hawksearch-handlebars-ui 4.0.0-beta.1 → 4.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configuration/configuration.models.d.ts +26 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models/autocomplete.models.d.ts +5 -0
- package/dist/models/raw/raw-autocomplete.models.d.ts +6 -2
- package/dist/services/autocomplete.service.d.ts +1 -0
- package/dist/services/base.service.d.ts +2 -0
- package/dist/services/search.service.d.ts +0 -2
- package/dist/styles.d47f79757b4a33d3db5809736c115e15.css +1 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/styles.1d25072ddb0247ca15a14f30bb90687d.css +0 -1
|
@@ -254,7 +254,33 @@ export interface HawkSearchConfig {
|
|
|
254
254
|
* `'https://searchapi-dev.hawksearch.net'`
|
|
255
255
|
*/
|
|
256
256
|
endpointUrl?: string;
|
|
257
|
+
/**
|
|
258
|
+
* Specifies whether autocomplete recommendations (autocomplete without entering a query) is enabled
|
|
259
|
+
*
|
|
260
|
+
* #### Default Value
|
|
261
|
+
* `false`
|
|
262
|
+
*/
|
|
257
263
|
recommendationsEnabled?: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* Map item attributes to common object properties
|
|
266
|
+
*/
|
|
267
|
+
fieldMappings?: {
|
|
268
|
+
/**
|
|
269
|
+
* #### Default Value
|
|
270
|
+
* `'price'`
|
|
271
|
+
*/
|
|
272
|
+
price?: string;
|
|
273
|
+
/**
|
|
274
|
+
* #### Default Value
|
|
275
|
+
* `'rating'`
|
|
276
|
+
*/
|
|
277
|
+
rating?: string;
|
|
278
|
+
/**
|
|
279
|
+
* #### Default Value
|
|
280
|
+
* `'saleprice'`
|
|
281
|
+
*/
|
|
282
|
+
salePrice?: string;
|
|
283
|
+
};
|
|
258
284
|
};
|
|
259
285
|
search?: {
|
|
260
286
|
/**
|