@empathyco/x-components 3.0.0-alpha.39 → 3.0.0-alpha.40
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/CHANGELOG.md +28 -0
- package/core/index.js +1 -1
- package/docs/API-reference/api/x-adapter.empathynextquery.md +1 -0
- package/docs/API-reference/api/x-adapter.empathynextquery.source.md +11 -0
- package/docs/API-reference/api/x-components.cancelfetchandsavesearchresponsewire.md +1 -1
- package/docs/API-reference/api/x-components.fetchandsavesearchresponsewire.md +1 -1
- package/docs/API-reference/api/x-components.getnewandupdatedkeys.md +27 -0
- package/docs/API-reference/api/x-components.increasepageappendingresults.md +1 -1
- package/docs/API-reference/api/x-components.md +7 -6
- package/docs/API-reference/api/x-components.resetappending.md +1 -1
- package/docs/API-reference/api/x-components.resetspellcheckquery.md +1 -1
- package/docs/API-reference/api/x-components.resetstatewire.md +13 -0
- package/docs/API-reference/api/x-components.saveoriginwire.md +1 -1
- package/docs/API-reference/api/x-components.scroll.md +1 -3
- package/docs/API-reference/api/x-components.scrollmixin.md +1 -0
- package/docs/API-reference/api/x-components.scrollmixin.reseton.md +13 -0
- package/docs/API-reference/api/x-components.searchactions.md +1 -0
- package/docs/API-reference/api/x-components.searchactions.resetstate.md +24 -0
- package/docs/API-reference/api/x-components.searchxevents.md +1 -0
- package/docs/API-reference/api/x-components.searchxevents.searchrequestupdated.md +13 -0
- package/docs/API-reference/api/x-components.setpagesize.md +1 -1
- package/docs/API-reference/api/x-components.setquerytagginginfo.md +13 -0
- package/docs/API-reference/api/x-components.setrelatedtags.md +1 -1
- package/docs/API-reference/api/x-components.setsearchextraparams.md +1 -1
- package/docs/API-reference/api/x-components.setsearchpage.md +1 -1
- package/docs/API-reference/api/x-components.setsearchquery.md +1 -1
- package/docs/API-reference/api/x-components.setselectedfilters.md +1 -1
- package/docs/API-reference/api/x-components.setsort.md +1 -1
- package/docs/API-reference/api/x-components.seturlparams.md +1 -1
- package/docs/API-reference/api/x-components.slidingpanel.md +2 -12
- package/docs/API-reference/api/x-components.slidingpanel.resetoncontentchange.md +13 -0
- package/docs/API-reference/api/x-components.slidingpanel.scrollfactor.md +1 -1
- package/docs/API-reference/api/x-components.slidingpanel.showbuttons.md +1 -1
- package/docs/API-reference/api/x-components.taggingmutations.md +1 -0
- package/docs/API-reference/api/x-components.taggingmutations.setquerytagginginfo.md +24 -0
- package/docs/API-reference/api/x-components.taggingstate.md +1 -0
- package/docs/API-reference/api/x-components.taggingstate.querytagginginfo.md +13 -0
- package/docs/API-reference/api/x-components.taggingxevents.md +1 -0
- package/docs/API-reference/api/x-components.taggingxevents.searchtaggingreceived.md +13 -0
- package/docs/API-reference/api/x-components.trackquerywire.md +1 -1
- package/docs/API-reference/api/x-components.watchedinternalsearchrequest.md +21 -0
- package/docs/API-reference/api/x-components.watchedinternalsearchrequest.newrequest.md +11 -0
- package/docs/API-reference/api/x-components.watchedinternalsearchrequest.oldrequest.md +11 -0
- package/docs/API-reference/api/x-components.wiremetadata.md +1 -0
- package/docs/API-reference/api/x-components.wiremetadata.oldvalue.md +13 -0
- package/docs/API-reference/api/x-types.nextquery.iscurated.md +13 -0
- package/docs/API-reference/api/x-types.nextquery.md +6 -0
- package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +52 -33
- package/docs/API-reference/components/common/x-components.sliding-panel.md +192 -33
- package/docs/API-reference/components/scroll/x-components.scroll.md +5 -8
- package/js/components/scroll/base-scroll.vue.js +2 -2
- package/js/components/scroll/base-scroll.vue.js.map +1 -1
- package/js/components/scroll/scroll.mixin.js +12 -6
- package/js/components/scroll/scroll.mixin.js.map +1 -1
- package/js/components/sliding-panel.vue.js +2 -2
- package/js/components/sliding-panel.vue.js.map +1 -1
- package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js +56 -40
- package/js/components/sliding-panel.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/index.js +3 -3
- package/js/plugins/x-emitters.js +3 -3
- package/js/plugins/x-emitters.js.map +1 -1
- package/js/utils/object.js +17 -1
- package/js/utils/object.js.map +1 -1
- package/js/x-modules/facets/wiring.js +3 -0
- package/js/x-modules/facets/wiring.js.map +1 -1
- package/js/x-modules/related-tags/wiring.js +3 -0
- package/js/x-modules/related-tags/wiring.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue.js +14 -13
- package/js/x-modules/scroll/components/scroll.vue.js.map +1 -1
- package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js +2 -9
- package/js/x-modules/scroll/components/scroll.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/store/actions/increase-page-apending-results.action.js +1 -1
- package/js/x-modules/search/store/actions/increase-page-apending-results.action.js.map +1 -1
- package/js/x-modules/search/store/actions/reset-state.action.js +32 -0
- package/js/x-modules/search/store/actions/reset-state.action.js.map +1 -0
- package/js/x-modules/search/store/emitters.js +6 -0
- package/js/x-modules/search/store/emitters.js.map +1 -1
- package/js/x-modules/search/store/module.js +2 -0
- package/js/x-modules/search/store/module.js.map +1 -1
- package/js/x-modules/search/wiring.js +15 -32
- package/js/x-modules/search/wiring.js.map +1 -1
- package/js/x-modules/tagging/store/emitters.js +2 -4
- package/js/x-modules/tagging/store/emitters.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +5 -1
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +15 -6
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/package.json +4 -4
- package/report/x-adapter.api.json +26 -0
- package/report/x-components.api.json +449 -290
- package/report/x-components.api.md +51 -34
- package/report/x-types.api.json +28 -1
- package/search/index.js +1 -1
- package/tagging/index.js +1 -1
- package/types/components/scroll/scroll.mixin.d.ts +7 -0
- package/types/components/scroll/scroll.mixin.d.ts.map +1 -1
- package/types/components/sliding-panel.vue.d.ts +35 -18
- package/types/components/sliding-panel.vue.d.ts.map +1 -1
- package/types/utils/object.d.ts +11 -0
- package/types/utils/object.d.ts.map +1 -1
- package/types/wiring/wiring.types.d.ts +2 -0
- package/types/wiring/wiring.types.d.ts.map +1 -1
- package/types/x-modules/facets/wiring.d.ts +3 -0
- package/types/x-modules/facets/wiring.d.ts.map +1 -1
- package/types/x-modules/related-tags/wiring.d.ts +3 -0
- package/types/x-modules/related-tags/wiring.d.ts.map +1 -1
- package/types/x-modules/scroll/components/scroll.vue.d.ts +2 -17
- package/types/x-modules/scroll/components/scroll.vue.d.ts.map +1 -1
- package/types/x-modules/search/events.types.d.ts +5 -0
- package/types/x-modules/search/events.types.d.ts.map +1 -1
- package/types/x-modules/search/store/actions/reset-state.action.d.ts +11 -0
- package/types/x-modules/search/store/actions/reset-state.action.d.ts.map +1 -0
- package/types/x-modules/search/store/emitters.d.ts +4 -0
- package/types/x-modules/search/store/emitters.d.ts.map +1 -1
- package/types/x-modules/search/store/module.d.ts.map +1 -1
- package/types/x-modules/search/store/types.d.ts +7 -1
- package/types/x-modules/search/store/types.d.ts.map +1 -1
- package/types/x-modules/search/types.d.ts +10 -0
- package/types/x-modules/search/types.d.ts.map +1 -1
- package/types/x-modules/search/wiring.d.ts +37 -59
- package/types/x-modules/search/wiring.d.ts.map +1 -1
- package/types/x-modules/tagging/events.types.d.ts +6 -0
- package/types/x-modules/tagging/events.types.d.ts.map +1 -1
- package/types/x-modules/tagging/store/emitters.d.ts +1 -0
- package/types/x-modules/tagging/store/emitters.d.ts.map +1 -1
- package/types/x-modules/tagging/store/module.d.ts.map +1 -1
- package/types/x-modules/tagging/store/types.d.ts +10 -0
- package/types/x-modules/tagging/store/types.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +14 -5
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.resetfacets.md +0 -13
- package/docs/API-reference/api/x-components.resetpage.md +0 -13
- package/docs/API-reference/api/x-components.resetsort.md +0 -13
- package/docs/API-reference/api/x-components.scroll.distancetobottom.md +0 -13
- package/docs/API-reference/api/x-components.scroll.throttlems.md +0 -13
- package/docs/API-reference/api/x-components.slidingpanel._refs.md +0 -15
- package/docs/API-reference/api/x-components.slidingpanel.beforedestroy.md +0 -15
- package/docs/API-reference/api/x-components.slidingpanel.isscrollatend.md +0 -13
- package/docs/API-reference/api/x-components.slidingpanel.isscrollatstart.md +0 -13
- package/docs/API-reference/api/x-components.slidingpanel.mounted.md +0 -15
- package/docs/API-reference/api/x-components.slidingpanel.scrollobserver.md +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.0-alpha.40](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.39...@empathyco/x-components@3.0.0-alpha.40) (2021-12-29)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **tagging:** add new `SearchTaggingReceived` event for tracking the query
|
|
11
|
+
([d58b697](https://github.com/empathyco/x/commit/d58b69730915ccd6fb2b0656ff7280450275b5be)),
|
|
12
|
+
closes [EX-5170](https://searchbroker.atlassian.net/browse/EX-5170)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **components:** `SlidingPanel` can now disable the resetting scroll … (#286)
|
|
17
|
+
([788eb18](https://github.com/empathyco/x/commit/788eb18bf0e066d932484143d0412497f3dada6e)),
|
|
18
|
+
closes [EX-5197](https://searchbroker.atlassian.net/browse/EX-5197)
|
|
19
|
+
- **related-tags:** clear selected related tags when user changes extra params
|
|
20
|
+
([b2d9b94](https://github.com/empathyco/x/commit/b2d9b94053aebbbda41659dbc3e4602931fd1bb5)),
|
|
21
|
+
closes [EX-5188](https://searchbroker.atlassian.net/browse/EX-5188)
|
|
22
|
+
- **search:** batch state reset calls after a search.request parameter changes (#283)
|
|
23
|
+
([492e856](https://github.com/empathyco/x/commit/492e8566913428426459ada29ca4963730cfcd7c)),
|
|
24
|
+
closes [EX-5057](https://searchbroker.atlassian.net/browse/EX-5057)
|
|
25
|
+
- **search:** next page is now requested if it has less than the page size results. (#284)
|
|
26
|
+
([f574792](https://github.com/empathyco/x/commit/f5747923f60f81564ebf124d95cae8a5d92400d4)),
|
|
27
|
+
closes [EX-5194](https://searchbroker.atlassian.net/browse/EX-5194)
|
|
28
|
+
|
|
29
|
+
# Change Log
|
|
30
|
+
|
|
31
|
+
All notable changes to this project will be documented in this file. See
|
|
32
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
33
|
+
|
|
6
34
|
## [3.0.0-alpha.39](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.38...@empathyco/x-components@3.0.0-alpha.39) (2021-12-22)
|
|
7
35
|
|
|
8
36
|
### Features
|
package/core/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export { getURLParameter } from '../js/utils/get-url-parameters.js';
|
|
|
16
16
|
export { isElementEqualOrContained } from '../js/utils/html.js';
|
|
17
17
|
export { normalizeString } from '../js/utils/normalize.js';
|
|
18
18
|
export { isInRange } from '../js/utils/number.js';
|
|
19
|
-
export { cleanUndefined, forEach, map, objectFilter, reduce } from '../js/utils/object.js';
|
|
19
|
+
export { cleanUndefined, forEach, getNewAndUpdatedKeys, map, objectFilter, reduce } from '../js/utils/object.js';
|
|
20
20
|
export { createOrigin } from '../js/utils/origin.js';
|
|
21
21
|
export { sanitize } from '../js/utils/sanitize.js';
|
|
22
22
|
export { localStorageService } from '../js/utils/storage.js';
|
|
@@ -17,4 +17,5 @@ export interface EmpathyNextQuery
|
|
|
17
17
|
| Property | Type | Description |
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| [query](./x-adapter.empathynextquery.query.md) | string | |
|
|
20
|
+
| [source?](./x-adapter.empathynextquery.source.md) | 'CURATED' \| 'ORGANIC' \| 'ENRICHED' | <i>(Optional)</i> |
|
|
20
21
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter](./x-adapter.md) > [EmpathyNextQuery](./x-adapter.empathynextquery.md) > [source](./x-adapter.empathynextquery.source.md)
|
|
4
|
+
|
|
5
|
+
## EmpathyNextQuery.source property
|
|
6
|
+
|
|
7
|
+
<b>Signature:</b>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
source?: 'CURATED' | 'ORGANIC' | 'ENRICHED';
|
|
11
|
+
```
|
|
@@ -9,5 +9,5 @@ Cancels the [SearchActions.fetchAndSaveSearchResponse()](./x-components.searchac
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
cancelFetchAndSaveSearchResponseWire: import("
|
|
12
|
+
cancelFetchAndSaveSearchResponseWire: import("../../wiring/wiring.types").AnyWire
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Requests and stores the search response.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
fetchAndSaveSearchResponseWire: import("
|
|
12
|
+
fetchAndSaveSearchResponseWire: import("../../wiring/wiring.types").Wire<InternalSearchRequest | null>
|
|
13
13
|
```
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [getNewAndUpdatedKeys](./x-components.getnewandupdatedkeys.md)
|
|
4
|
+
|
|
5
|
+
## getNewAndUpdatedKeys() function
|
|
6
|
+
|
|
7
|
+
Compares two objects of the same type, checking the values of their keys and retrieving those that were not present in the old value and/or those whose value has changed.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare function getNewAndUpdatedKeys<ObjectType extends Dictionary>(newValue: ObjectType | undefined, oldValue: ObjectType | undefined): (keyof ObjectType)[];
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| newValue | ObjectType \| undefined | The new object value. |
|
|
20
|
+
| oldValue | ObjectType \| undefined | The old object value. |
|
|
21
|
+
|
|
22
|
+
<b>Returns:</b>
|
|
23
|
+
|
|
24
|
+
(keyof ObjectType)\[\]
|
|
25
|
+
|
|
26
|
+
An array of keys.
|
|
27
|
+
|
|
@@ -106,7 +106,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
106
106
|
| [RenderlessExtraParams](./x-components.renderlessextraparams.md) | It emits a [ExtraParamsXEvents.UserChangedExtraParams](./x-components.extraparamsxevents.userchangedextraparams.md) when the <code>updateValue</code> is called. |
|
|
107
107
|
| [RenderlessFilter](./x-components.renderlessfilter.md) | Renders default slot content. It binds to the default slot a [BooleanFilter](./x-types.booleanfilter.md)<!-- -->, the [XEvents](./x-components.xevent.md) that will be emitted when clicking the content, the css classes and if the content should be disabled. |
|
|
108
108
|
| [ResultsList](./x-components.resultslist.md) | It renders a [ItemsList](./x-components.itemslist.md) list with the results from [SearchState.results](./x-components.searchstate.results.md) by default.<!-- -->The component provides a default slot which wraps the whole component with the <code>results</code> bound.<!-- -->It also provides the slot result to customize the item, which is within the default slot, with the result bound. |
|
|
109
|
-
| [Scroll](./x-components.scroll.md) |
|
|
109
|
+
| [Scroll](./x-components.scroll.md) | Scrollable container that emits scroll related X Events. It exposes all the listeners and props from the [BaseScroll](./x-components.basescroll.md) component. |
|
|
110
110
|
| [ScrollMixin](./x-components.scrollmixin.md) | Mixin to share Scroll logic. |
|
|
111
111
|
| [ScrollToTop](./x-components.scrolltotop.md) | The <code>ScrollToTop</code> component is a button that the user can click to make a container scroll up to its initial position. |
|
|
112
112
|
| [SearchButton](./x-components.searchbutton.md) | This component renders a button to submit the query. |
|
|
@@ -116,7 +116,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
116
116
|
| [SimpleFilter](./x-components.simplefilter.md) | Renders a simple filter, emitting the needed events when clicked. |
|
|
117
117
|
| [SingleColumnLayout](./x-components.singlecolumnlayout.md) | Component for use as Layout to be filled with the rest of the Components. |
|
|
118
118
|
| [SlicedFilters](./x-components.slicedfilters.md) | Component that slices a list of filters and returns them using the default scoped slot, allowing the user to show the full list of them or slicing them again using the show more/less buttons. |
|
|
119
|
-
| [SlidingPanel](./x-components.slidingpanel.md) |
|
|
119
|
+
| [SlidingPanel](./x-components.slidingpanel.md) | This component allows for any other component or element inside it to be horizontally navigable. It also implements customizable buttons as well as other minor customizations to its general behavior. |
|
|
120
120
|
| [SnippetCallbacks](./x-components.snippetcallbacks.md) | This component subscribes to any [XEvent](./x-components.xevent.md) with a custom callbacks provided by the snippet configuration. |
|
|
121
121
|
| [SnippetConfigExtraParams](./x-components.snippetconfigextraparams.md) | Extracts the extra parameters from the [SnippetConfig](./x-components.snippetconfig.md) and syncs it with the request objects of every x-module. |
|
|
122
122
|
| [SortDropdown](./x-components.sortdropdown.md) | The <code>SortDropdown</code> component allows user to select the search results order. This component also allows to change the selected sort programmatically. |
|
|
@@ -163,6 +163,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
163
163
|
| [filterTruthyPayload(wire)](./x-components.filtertruthypayload.md) | Creates a [Wire](./x-components.wire.md) that is only executed when the payload is a [falsy value](https://developer.mozilla.org/en-US/docs/Glossary/Falsy)<!-- -->. |
|
|
164
164
|
| [filterWhitelistedModules(wire, whitelist)](./x-components.filterwhitelistedmodules.md) | Creates a [Wire](./x-components.wire.md) that is only executed if the event is emitted from a [XModule](./x-components.xmodule.md) that is included in the <code>whitelist</code> array passed as parameter. |
|
|
165
165
|
| [forEach(obj, callbackFn)](./x-components.foreach.md) | Iterates over every non-undefined property of the object calling the callback passed as parameter. |
|
|
166
|
+
| [getNewAndUpdatedKeys(newValue, oldValue)](./x-components.getnewandupdatedkeys.md) | Compares two objects of the same type, checking the values of their keys and retrieving those that were not present in the old value and/or those whose value has changed. |
|
|
166
167
|
| [getRootXComponent(component)](./x-components.getrootxcomponent.md) | Given a component, finds the root XComponent in the ancestors hierarchy. |
|
|
167
168
|
| [getStateAndGettersFromModule(state, getters, moduleName)](./x-components.getstateandgettersfrommodule.md) | Returns an object with the getters and state of a module of store defined by the moduleName parameter. |
|
|
168
169
|
| [Getter(module, getter)](./x-components.getter.md) | Generates a computed property which returns the selected getter value.<!-- -->The decorated property needs to be public for type inference to work. |
|
|
@@ -324,6 +325,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
324
325
|
| [UrlMutations](./x-components.urlmutations.md) | URL store mutations. |
|
|
325
326
|
| [UrlParams](./x-components.urlparams.md) | URL store params. |
|
|
326
327
|
| [UrlXEvents](./x-components.urlxevents.md) | Dictionary of the events of URL XModule, where each key is the event name, and the value is the event payload type or <code>void</code> if it has no payload. |
|
|
328
|
+
| [WatchedInternalSearchRequest](./x-components.watchedinternalsearchrequest.md) | A representation of a watched [InternalSearchRequest](./x-components.internalsearchrequest.md) object, wrapping its new and old values. |
|
|
327
329
|
| [WireMetadata](./x-components.wiremetadata.md) | The wires metadata includes more information about the emitted event, so then these events can be processed with more precision if needed. |
|
|
328
330
|
| [WireParams](./x-components.wireparams.md) | Groups the payload, metadata, and the store into an object to avoid having multiple parameters. |
|
|
329
331
|
| [WirePayload](./x-components.wirepayload.md) | The wire payload includes the payload of the event, and a [WireMetadata](./x-components.wiremetadata.md) object to add more information to the event. |
|
|
@@ -463,10 +465,8 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
463
465
|
| [removeFromHistory](./x-components.removefromhistory.md) | Default implementation for the [HistoryQueriesActions.removeFromHistory()](./x-components.historyqueriesactions.removefromhistory.md)<!-- -->. |
|
|
464
466
|
| [removeHistoryQuery](./x-components.removehistoryquery.md) | Removes a single history query from the history queries. |
|
|
465
467
|
| [resetAppending](./x-components.resetappending.md) | Resets the search state <code>isAppendingResults</code>. |
|
|
466
|
-
| [resetFacets](./x-components.resetfacets.md) | Sets empty value to the search state <code>facets</code>. |
|
|
467
|
-
| [resetPage](./x-components.resetpage.md) | Sets 1 to the search state <code>page</code>. |
|
|
468
|
-
| [resetSort](./x-components.resetsort.md) | Sets empty value to the search state <code>sort</code>. |
|
|
469
468
|
| [resetSpellcheckQuery](./x-components.resetspellcheckquery.md) | Resets the search state <code>spellcheckedQuery</code> to its initial value, an empty string. |
|
|
469
|
+
| [resetStateWire](./x-components.resetstatewire.md) | Batches state resets after [SearchGetters.request](./x-components.searchgetters.request.md) parameters update. |
|
|
470
470
|
| [sanitize](./x-components.sanitize.md) | Sanitize characters from a given string. |
|
|
471
471
|
| [saveIdentifierResultsOriginWire](./x-components.saveidentifierresultsoriginwire.md) | Sets the identifier results state <code>origin</code>. |
|
|
472
472
|
| [saveOrigin](./x-components.saveorigin.md) | Default implementation for the [IdentifierResultsActions.saveOrigin()](./x-components.identifierresultsactions.saveorigin.md)<!-- -->. |
|
|
@@ -500,6 +500,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
500
500
|
| [setQuerySuggestionsExtraParams](./x-components.setquerysuggestionsextraparams.md) | Sets the query suggestions state <code>params</code>. |
|
|
501
501
|
| [setQuerySuggestionsQuery](./x-components.setquerysuggestionsquery.md) | Sets the query-suggestions module query. |
|
|
502
502
|
| [setQueryTaggingDebounce](./x-components.setquerytaggingdebounce.md) | Sets the tagging state config <code>queryTaggingDebounceMs</code>. |
|
|
503
|
+
| [setQueryTaggingInfo](./x-components.setquerytagginginfo.md) | Sets the tagging state of the query tagging info using a debounce which ends if the user accepts a query. |
|
|
503
504
|
| [setRecommendationsExtraParams](./x-components.setrecommendationsextraparams.md) | Sets the recommendations state <code>params</code>. |
|
|
504
505
|
| [setRelatedTags](./x-components.setrelatedtags.md) | Sets the search state <code>relatedTags</code>. |
|
|
505
506
|
| [setRelatedTagsExtraParams](./x-components.setrelatedtagsextraparams.md) | Sets the related tags state <code>params</code>. |
|
|
@@ -535,7 +536,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
535
536
|
| [toggleRelatedTagWire](./x-components.togglerelatedtagwire.md) | Sets the selected related tags. |
|
|
536
537
|
| [track](./x-components.track.md) | Default implementation for the [TaggingActions.track()](./x-components.taggingactions.track.md)<!-- -->. |
|
|
537
538
|
| [trackAddToCartWire](./x-components.trackaddtocartwire.md) | Performs a track of a result added to the cart. |
|
|
538
|
-
| [trackQueryWire](./x-components.trackquerywire.md) | Tracks the tagging of the query
|
|
539
|
+
| [trackQueryWire](./x-components.trackquerywire.md) | Tracks the tagging of the query. |
|
|
539
540
|
| [trackResultClickedWire](./x-components.trackresultclickedwire.md) | Tracks the tagging of the result. |
|
|
540
541
|
| [TrashIcon](./x-components.trashicon.md) | |
|
|
541
542
|
| [TrashOpenIcon](./x-components.trashopenicon.md) | |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [resetStateWire](./x-components.resetstatewire.md)
|
|
4
|
+
|
|
5
|
+
## resetStateWire variable
|
|
6
|
+
|
|
7
|
+
Batches state resets after [SearchGetters.request](./x-components.searchgetters.request.md) parameters update.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetStateWire: import("../../wiring/wiring.types").AnyWire
|
|
13
|
+
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Scroll class
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Scrollable container that emits scroll related X Events. It exposes all the listeners and props from the [BaseScroll](./x-components.basescroll.md) component.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -17,7 +17,5 @@ export default class Scroll extends Vue
|
|
|
17
17
|
|
|
18
18
|
| Property | Modifiers | Type | Description |
|
|
19
19
|
| --- | --- | --- | --- |
|
|
20
|
-
| [distanceToBottom](./x-components.scroll.distancetobottom.md) | | number | Distance to the end of the scroll that when reached will emit the <code>scroll:about-to-end</code> event. |
|
|
21
20
|
| [id](./x-components.scroll.id.md) | | string | Id to identify the component. |
|
|
22
|
-
| [throttleMs](./x-components.scroll.throttlems.md) | | number | Time duration to ignore the subsequent scroll events after an emission. Higher values will decrease events precision but can prevent performance issues. |
|
|
23
21
|
|
|
@@ -20,6 +20,7 @@ export default class ScrollMixin extends Vue
|
|
|
20
20
|
| [$el](./x-components.scrollmixin._el.md) | | HTMLElement | The scrolling container reference. |
|
|
21
21
|
| [distanceToBottom](./x-components.scrollmixin.distancetobottom.md) | | number | Distance to the end of the scroll that when reached will emit the <code>scroll:about-to-end</code> event. |
|
|
22
22
|
| [firstElementThresholdPx](./x-components.scrollmixin.firstelementthresholdpx.md) | | number | Positive vertical distance to still consider that the an element is the first one visible. For example, if set to 100, after scrolling 100 pixels, the first rendered element will still be considered the first one. |
|
|
23
|
+
| [resetOn](./x-components.scrollmixin.reseton.md) | | [XEvent](./x-components.xevent.md) | List of events that should reset the scroll when emitted. |
|
|
23
24
|
| [resetOnChange](./x-components.scrollmixin.resetonchange.md) | | boolean | If true (default), sets the scroll position to the top when certain events are emitted. |
|
|
24
25
|
| [throttleMs](./x-components.scrollmixin.throttlems.md) | | number | Time duration to ignore the subsequent scroll events after an emission. Higher values will decrease events precision but can prevent performance issues. |
|
|
25
26
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ScrollMixin](./x-components.scrollmixin.md) > [resetOn](./x-components.scrollmixin.reseton.md)
|
|
4
|
+
|
|
5
|
+
## ScrollMixin.resetOn property
|
|
6
|
+
|
|
7
|
+
List of events that should reset the scroll when emitted.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetOn: XEvent;
|
|
13
|
+
```
|
|
@@ -20,6 +20,7 @@ export interface SearchActions
|
|
|
20
20
|
| [fetchAndSaveSearchResponse(request)](./x-components.searchactions.fetchandsavesearchresponse.md) | Fetches a new search response and stores them in the module state. |
|
|
21
21
|
| [fetchSearchResponse(request)](./x-components.searchactions.fetchsearchresponse.md) | Fetches the search response and returns them. |
|
|
22
22
|
| [increasePageAppendingResults()](./x-components.searchactions.increasepageappendingresults.md) | Checks if there are more pages of results to load. If there are, then increases the page number in state and set to <code>true</code> the [SearchState.isAppendResults](./x-components.searchstate.isappendresults.md) flag. |
|
|
23
|
+
| [resetState(watchedRequest)](./x-components.searchactions.resetstate.md) | Batches state resets in a single action after [SearchGetters.request](./x-components.searchgetters.request.md) parameters update. |
|
|
23
24
|
| [saveOrigin(originInit)](./x-components.searchactions.saveorigin.md) | Creates a [QueryOrigin](./x-components.queryorigin.md) and saves it. |
|
|
24
25
|
| [setUrlParams(urlParams)](./x-components.searchactions.seturlparams.md) | Checks if the url has params on it and then updates the state with these values. |
|
|
25
26
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchActions](./x-components.searchactions.md) > [resetState](./x-components.searchactions.resetstate.md)
|
|
4
|
+
|
|
5
|
+
## SearchActions.resetState() method
|
|
6
|
+
|
|
7
|
+
Batches state resets in a single action after [SearchGetters.request](./x-components.searchgetters.request.md) parameters update.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetState(watchedRequest: WatchedInternalSearchRequest): void;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| watchedRequest | [WatchedInternalSearchRequest](./x-components.watchedinternalsearchrequest.md) | The watched internal search request object. |
|
|
20
|
+
|
|
21
|
+
<b>Returns:</b>
|
|
22
|
+
|
|
23
|
+
void
|
|
24
|
+
|
|
@@ -20,6 +20,7 @@ export interface SearchXEvents
|
|
|
20
20
|
| [PageChanged](./x-components.searchxevents.pagechanged.md) | number | Page has been changed. \* Payload: The new page number. |
|
|
21
21
|
| [ResultsChanged](./x-components.searchxevents.resultschanged.md) | Result\[\] | Results have been changed. \* Payload: The new [results](./x-types.result.md)<!-- -->. |
|
|
22
22
|
| [SearchRequestChanged](./x-components.searchxevents.searchrequestchanged.md) | [InternalSearchRequest](./x-components.internalsearchrequest.md) \| null | Any property of the search request has changed. \* Payload: The new search request or <code>null</code> if there is not enough data in the state to conform a valid request. |
|
|
23
|
+
| [SearchRequestUpdated](./x-components.searchxevents.searchrequestupdated.md) | [InternalSearchRequest](./x-components.internalsearchrequest.md) | Any property of the search request has been updated. \* Payload: The new internal request object. |
|
|
23
24
|
| [SearchTaggingChanged](./x-components.searchxevents.searchtaggingchanged.md) | TaggingInfo | Query tagging has been changed. \* Payload: The new query tagging object. |
|
|
24
25
|
| [SelectedSortProvided](./x-components.searchxevents.selectedsortprovided.md) | Sort | A new selected sort has been provided. \* Payload: The sort option that has been provided. |
|
|
25
26
|
| [SortChanged](./x-components.searchxevents.sortchanged.md) | string | Sort has been changed. \* Payload: The new sort string. |
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchXEvents](./x-components.searchxevents.md) > [SearchRequestUpdated](./x-components.searchxevents.searchrequestupdated.md)
|
|
4
|
+
|
|
5
|
+
## SearchXEvents.SearchRequestUpdated property
|
|
6
|
+
|
|
7
|
+
Any property of the search request has been updated. \* Payload: The new internal request object.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
SearchRequestUpdated: InternalSearchRequest;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [setQueryTaggingInfo](./x-components.setquerytagginginfo.md)
|
|
4
|
+
|
|
5
|
+
## setQueryTaggingInfo variable
|
|
6
|
+
|
|
7
|
+
Sets the tagging state of the query tagging info using a debounce which ends if the user accepts a query.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setQueryTaggingInfo: Wire<TaggingInfo>
|
|
13
|
+
```
|
|
@@ -9,5 +9,5 @@ Sets the search state `relatedTags`<!-- -->.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
setRelatedTags: import("
|
|
12
|
+
setRelatedTags: import("../../wiring/wiring.types").Wire<import("@empathyco/x-types").RelatedTag[]>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Sets the search state `params`<!-- -->.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
setSearchExtraParams: import("
|
|
12
|
+
setSearchExtraParams: import("../../wiring/wiring.types").Wire<import("../..").Dictionary<unknown>>
|
|
13
13
|
```
|
|
@@ -9,5 +9,5 @@ Sets the search state `selectedFilters`<!-- -->.
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
setSelectedFilters: import("
|
|
12
|
+
setSelectedFilters: import("../../wiring/wiring.types").Wire<import("@empathyco/x-types").Filter[]>
|
|
13
13
|
```
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## SlidingPanel class
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
This component allows for any other component or element inside it to be horizontally navigable. It also implements customizable buttons as well as other minor customizations to its general behavior.
|
|
8
8
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
@@ -17,17 +17,7 @@ export default class SlidingPanel extends Vue
|
|
|
17
17
|
|
|
18
18
|
| Property | Modifiers | Type | Description |
|
|
19
19
|
| --- | --- | --- | --- |
|
|
20
|
-
| [
|
|
21
|
-
| [isScrollAtEnd](./x-components.slidingpanel.isscrollatend.md) | | boolean | Indicates if the scroll is at the end of the sliding panel. |
|
|
22
|
-
| [isScrollAtStart](./x-components.slidingpanel.isscrollatstart.md) | | boolean | Indicates if the scroll is at the start of the sliding panel. |
|
|
20
|
+
| [resetOnContentChange](./x-components.slidingpanel.resetoncontentchange.md) | | boolean | When true, whenever the DOM content in the sliding panel slot changes, it will reset the scroll position to 0. |
|
|
23
21
|
| [scrollFactor](./x-components.slidingpanel.scrollfactor.md) | | number | Scroll factor that will dictate how much the scroll moves when pressing a navigation button. |
|
|
24
|
-
| [scrollObserver](./x-components.slidingpanel.scrollobserver.md) | | MutationObserver | MutationObserver that watches for changes inside the wrapping div to update the scroll position. |
|
|
25
22
|
| [showButtons](./x-components.slidingpanel.showbuttons.md) | | boolean | Would make the navigation buttons visible when they're needed or always hide them. |
|
|
26
23
|
|
|
27
|
-
## Methods
|
|
28
|
-
|
|
29
|
-
| Method | Modifiers | Description |
|
|
30
|
-
| --- | --- | --- |
|
|
31
|
-
| [beforeDestroy()](./x-components.slidingpanel.beforedestroy.md) | | |
|
|
32
|
-
| [mounted()](./x-components.slidingpanel.mounted.md) | | |
|
|
33
|
-
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SlidingPanel](./x-components.slidingpanel.md) > [resetOnContentChange](./x-components.slidingpanel.resetoncontentchange.md)
|
|
4
|
+
|
|
5
|
+
## SlidingPanel.resetOnContentChange property
|
|
6
|
+
|
|
7
|
+
When true, whenever the DOM content in the sliding panel slot changes, it will reset the scroll position to 0.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
resetOnContentChange: boolean;
|
|
13
|
+
```
|
|
@@ -18,5 +18,6 @@ export interface TaggingMutations
|
|
|
18
18
|
| --- | --- |
|
|
19
19
|
| [setConsent(consent)](./x-components.taggingmutations.setconsent.md) | Sets the [TaggingState.consent](./x-components.taggingstate.consent.md) property. |
|
|
20
20
|
| [setQueryTaggingDebounce(queryTaggingDebounceMs)](./x-components.taggingmutations.setquerytaggingdebounce.md) | Sets the [TaggingConfig.queryTaggingDebounceMs](./x-components.taggingconfig.querytaggingdebouncems.md) property. |
|
|
21
|
+
| [setQueryTaggingInfo(queryTaggingInfo)](./x-components.taggingmutations.setquerytagginginfo.md) | Sets the [TaggingState.queryTaggingInfo](./x-components.taggingstate.querytagginginfo.md) property. |
|
|
21
22
|
| [setSessionDuration(sessionTTLMs)](./x-components.taggingmutations.setsessionduration.md) | Sets the [TaggingConfig.sessionTTLMs](./x-components.taggingconfig.sessionttlms.md) property. |
|
|
22
23
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [TaggingMutations](./x-components.taggingmutations.md) > [setQueryTaggingInfo](./x-components.taggingmutations.setquerytagginginfo.md)
|
|
4
|
+
|
|
5
|
+
## TaggingMutations.setQueryTaggingInfo() method
|
|
6
|
+
|
|
7
|
+
Sets the [TaggingState.queryTaggingInfo](./x-components.taggingstate.querytagginginfo.md) property.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setQueryTaggingInfo(queryTaggingInfo: TaggingInfo): void;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| queryTaggingInfo | TaggingInfo | The new [TaggingState.queryTaggingInfo](./x-components.taggingstate.querytagginginfo.md)<!-- -->. |
|
|
20
|
+
|
|
21
|
+
<b>Returns:</b>
|
|
22
|
+
|
|
23
|
+
void
|
|
24
|
+
|
|
@@ -18,4 +18,5 @@ export interface TaggingState
|
|
|
18
18
|
| --- | --- | --- |
|
|
19
19
|
| [config](./x-components.taggingstate.config.md) | [TaggingConfig](./x-components.taggingconfig.md) | Configuration for the <code>Tagging</code> module. |
|
|
20
20
|
| [consent](./x-components.taggingstate.consent.md) | boolean \| null | The current consent for tracking. |
|
|
21
|
+
| [queryTaggingInfo](./x-components.taggingstate.querytagginginfo.md) | TaggingInfo \| null | Tagging info for last accepted query. |
|
|
21
22
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [TaggingState](./x-components.taggingstate.md) > [queryTaggingInfo](./x-components.taggingstate.querytagginginfo.md)
|
|
4
|
+
|
|
5
|
+
## TaggingState.queryTaggingInfo property
|
|
6
|
+
|
|
7
|
+
Tagging info for last accepted query.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
queryTaggingInfo: TaggingInfo | null;
|
|
13
|
+
```
|
|
@@ -19,5 +19,6 @@ export interface TaggingXEvents
|
|
|
19
19
|
| [ConsentChanged](./x-components.taggingxevents.consentchanged.md) | boolean | Consent has changed. \* Payload: The new consent value. |
|
|
20
20
|
| [ConsentProvided](./x-components.taggingxevents.consentprovided.md) | boolean | Consent has been provided. \* Payload: The new consent value. |
|
|
21
21
|
| [QueryTaggingDebounceProvided](./x-components.taggingxevents.querytaggingdebounceprovided.md) | number | Query tagging debounce has been provided. \* Payload: The new query tagging debounce value. |
|
|
22
|
+
| [SearchTaggingReceived](./x-components.taggingxevents.searchtaggingreceived.md) | TaggingInfo | Query tagging info has changed. \* Payload: The new query tagging info. |
|
|
22
23
|
| [SessionDurationProvided](./x-components.taggingxevents.sessiondurationprovided.md) | number | Session duration has been provided. \* Payload: The new session duration value. |
|
|
23
24
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [TaggingXEvents](./x-components.taggingxevents.md) > [SearchTaggingReceived](./x-components.taggingxevents.searchtaggingreceived.md)
|
|
4
|
+
|
|
5
|
+
## TaggingXEvents.SearchTaggingReceived property
|
|
6
|
+
|
|
7
|
+
Query tagging info has changed. \* Payload: The new query tagging info.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
SearchTaggingReceived: TaggingInfo;
|
|
13
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [WatchedInternalSearchRequest](./x-components.watchedinternalsearchrequest.md)
|
|
4
|
+
|
|
5
|
+
## WatchedInternalSearchRequest interface
|
|
6
|
+
|
|
7
|
+
A representation of a watched [InternalSearchRequest](./x-components.internalsearchrequest.md) object, wrapping its new and old values.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface WatchedInternalSearchRequest
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
| Property | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| [newRequest](./x-components.watchedinternalsearchrequest.newrequest.md) | [InternalSearchRequest](./x-components.internalsearchrequest.md) | |
|
|
20
|
+
| [oldRequest](./x-components.watchedinternalsearchrequest.oldrequest.md) | [InternalSearchRequest](./x-components.internalsearchrequest.md) | |
|
|
21
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [WatchedInternalSearchRequest](./x-components.watchedinternalsearchrequest.md) > [newRequest](./x-components.watchedinternalsearchrequest.newrequest.md)
|
|
4
|
+
|
|
5
|
+
## WatchedInternalSearchRequest.newRequest property
|
|
6
|
+
|
|
7
|
+
<b>Signature:</b>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
newRequest: InternalSearchRequest;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [WatchedInternalSearchRequest](./x-components.watchedinternalsearchrequest.md) > [oldRequest](./x-components.watchedinternalsearchrequest.oldrequest.md)
|
|
4
|
+
|
|
5
|
+
## WatchedInternalSearchRequest.oldRequest property
|
|
6
|
+
|
|
7
|
+
<b>Signature:</b>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
oldRequest: InternalSearchRequest;
|
|
11
|
+
```
|