@empathyco/x-components 3.0.0-alpha.155 → 3.0.0-alpha.158
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 +44 -0
- package/core/index.js.map +1 -1
- package/docs/API-reference/api/x-components.md +9 -0
- package/docs/API-reference/api/x-components.queriespreviewactioncontext.md +15 -0
- package/docs/API-reference/api/x-components.queriespreviewactions.md +13 -0
- package/docs/API-reference/api/x-components.queriespreviewgetters.md +13 -0
- package/docs/API-reference/api/x-components.queriespreviewmutations.md +13 -0
- package/docs/API-reference/api/x-components.queriespreviewstate.md +13 -0
- package/docs/API-reference/api/x-components.queriespreviewxevents.md +13 -0
- package/docs/API-reference/api/x-components.queriespreviewxmodule.md +13 -0
- package/docs/API-reference/api/x-components.queriespreviewxstoremodule.md +15 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +3 -3
- package/docs/API-reference/api/x-components.xmodulestree.md +1 -0
- package/docs/API-reference/api/x-components.xmodulestree.queriespreview.md +11 -0
- package/js/index.js +4 -0
- package/js/index.js.map +1 -1
- package/js/store/x.module.js +1 -0
- package/js/store/x.module.js.map +1 -1
- package/js/x-modules/extra-params/x-module.js.map +1 -1
- package/js/x-modules/queries-preview/store/emitters.js +12 -0
- package/js/x-modules/queries-preview/store/emitters.js.map +1 -0
- package/js/x-modules/queries-preview/store/module.js +14 -0
- package/js/x-modules/queries-preview/store/module.js.map +1 -0
- package/js/x-modules/queries-preview/wiring.js +11 -0
- package/js/x-modules/queries-preview/wiring.js.map +1 -0
- package/js/x-modules/queries-preview/x-module.js +19 -0
- package/js/x-modules/queries-preview/x-module.js.map +1 -0
- package/package.json +5 -5
- package/queries-preview/index.d.ts +1 -0
- package/queries-preview/index.js +4 -0
- package/report/x-components.api.json +310 -2
- package/report/x-components.api.md +44 -1
- package/types/adapter/e2e-adapter.d.ts +2 -12
- package/types/adapter/e2e-adapter.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/store/x.module.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +3 -1
- package/types/wiring/events.types.d.ts.map +1 -1
- package/types/x-modules/extra-params/x-module.d.ts +1 -1
- package/types/x-modules/extra-params/x-module.d.ts.map +1 -1
- package/types/x-modules/queries-preview/events.types.d.ts +9 -0
- package/types/x-modules/queries-preview/events.types.d.ts.map +1 -0
- package/types/x-modules/queries-preview/index.d.ts +5 -0
- package/types/x-modules/queries-preview/index.d.ts.map +1 -0
- package/types/x-modules/queries-preview/store/emitters.d.ts +7 -0
- package/types/x-modules/queries-preview/store/emitters.d.ts.map +1 -0
- package/types/x-modules/queries-preview/store/index.d.ts +4 -0
- package/types/x-modules/queries-preview/store/index.d.ts.map +1 -0
- package/types/x-modules/queries-preview/store/module.d.ts +8 -0
- package/types/x-modules/queries-preview/store/module.d.ts.map +1 -0
- package/types/x-modules/queries-preview/store/types.d.ts +42 -0
- package/types/x-modules/queries-preview/store/types.d.ts.map +1 -0
- package/types/x-modules/queries-preview/wiring.d.ts +7 -0
- package/types/x-modules/queries-preview/wiring.d.ts.map +1 -0
- package/types/x-modules/queries-preview/x-module.d.ts +16 -0
- package/types/x-modules/queries-preview/x-module.d.ts.map +1 -0
- package/types/x-modules/x-modules.types.d.ts +6 -2
- package/types/x-modules/x-modules.types.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.158](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.156...@empathyco/x-components@3.0.0-alpha.158) (2022-08-24)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **adapter:** disable cancel http client (#658)
|
|
11
|
+
([3b5b86d](https://github.com/empathyco/x/commit/3b5b86d4725edefa084181a704df716a389eecbc)),
|
|
12
|
+
closes [EX-6875](https://searchbroker.atlassian.net/browse/EX-6875)
|
|
13
|
+
- **queries-preview:** create `queriesPreview` module (#670)
|
|
14
|
+
([317d961](https://github.com/empathyco/x/commit/317d961e94b0b7454cb4d858d401c4264c74cf0e)),
|
|
15
|
+
closes [EX-6638](https://searchbroker.atlassian.net/browse/EX-6638)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- conflict version (#673)
|
|
20
|
+
([fb74dd0](https://github.com/empathyco/x/commit/fb74dd0b992522a9441da1daabe5a8789426324f)),
|
|
21
|
+
closes [EX-6896](https://searchbroker.atlassian.net/browse/EX-6896)
|
|
22
|
+
|
|
23
|
+
# Change Log
|
|
24
|
+
|
|
25
|
+
All notable changes to this project will be documented in this file. See
|
|
26
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
27
|
+
|
|
28
|
+
## [3.0.0-alpha.157](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.156...@empathyco/x-components@3.0.0-alpha.157) (2022-08-24)
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
- **queries-preview:** create `queriesPreview` module (#670)
|
|
33
|
+
([317d961](https://github.com/empathyco/x/commit/317d961e94b0b7454cb4d858d401c4264c74cf0e)),
|
|
34
|
+
closes [EX-6638](https://searchbroker.atlassian.net/browse/EX-6638)
|
|
35
|
+
|
|
36
|
+
# Change Log
|
|
37
|
+
|
|
38
|
+
All notable changes to this project will be documented in this file. See
|
|
39
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
40
|
+
|
|
41
|
+
## [3.0.0-alpha.156](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.155...@empathyco/x-components@3.0.0-alpha.156) (2022-08-19)
|
|
42
|
+
|
|
43
|
+
**Note:** Version bump only for package @empathyco/x-components
|
|
44
|
+
|
|
45
|
+
# Change Log
|
|
46
|
+
|
|
47
|
+
All notable changes to this project will be documented in this file. See
|
|
48
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
49
|
+
|
|
6
50
|
## [3.0.0-alpha.155](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.154...@empathyco/x-components@3.0.0-alpha.155) (2022-08-18)
|
|
7
51
|
|
|
8
52
|
### Features
|
package/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -272,6 +272,11 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
272
272
|
| [PopularSearchesState](./x-components.popularsearchesstate.md) | Popular searches module state. |
|
|
273
273
|
| [PopularSearchesXEvents](./x-components.popularsearchesxevents.md) | Dictionary of the events of PopularSearches 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. |
|
|
274
274
|
| [PrivateXModuleOptions](./x-components.privatexmoduleoptions.md) | Options for overriding the default store module and store emitters for a [XModule](./x-components.xmodule.md)<!-- -->. |
|
|
275
|
+
| [QueriesPreviewActions](./x-components.queriespreviewactions.md) | QueriesPreview store actions. |
|
|
276
|
+
| [QueriesPreviewGetters](./x-components.queriespreviewgetters.md) | QueriesPreview store getters. |
|
|
277
|
+
| [QueriesPreviewMutations](./x-components.queriespreviewmutations.md) | QueriesPreview store mutations. |
|
|
278
|
+
| [QueriesPreviewState](./x-components.queriespreviewstate.md) | QueriesPreview store state. |
|
|
279
|
+
| [QueriesPreviewXEvents](./x-components.queriespreviewxevents.md) | Dictionary of the events of QueriesPreview 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. |
|
|
275
280
|
| [QueryPreview](./x-components.querypreview.md) | Information to render a query preview with. |
|
|
276
281
|
| [QuerySuggestionsActions](./x-components.querysuggestionsactions.md) | QuerySuggestions store actions. |
|
|
277
282
|
| [QuerySuggestionsConfig](./x-components.querysuggestionsconfig.md) | Configuration options for the [QuerySuggestionsXModule](./x-components.querysuggestionsxmodule.md)<!-- -->. |
|
|
@@ -470,6 +475,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
470
475
|
| [popularSearches](./x-components.popularsearches.md) | Default implementation for the [PopularSearchesGetters.popularSearches](./x-components.popularsearchesgetters.popularsearches.md) getter. |
|
|
471
476
|
| [popularSearchesRequest](./x-components.popularsearchesrequest.md) | Default implementation for the [PopularSearchesGetters.request](./x-components.popularsearchesgetters.request.md) getter. |
|
|
472
477
|
| [popularSearchesXModule](./x-components.popularsearchesxmodule.md) | Popular searches [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the <code>popular-searches</code> entry point. |
|
|
478
|
+
| [queriesPreviewXModule](./x-components.queriespreviewxmodule.md) | QueriesPreview [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the <code>queries-preview</code> entry point. |
|
|
473
479
|
| [querySuggestions](./x-components.querysuggestions.md) | Default implementation for the [QuerySuggestionsGetter.querySuggestions()](./x-components.querysuggestionsgetter.querysuggestions.md) getter. |
|
|
474
480
|
| [querySuggestionsRequest](./x-components.querysuggestionsrequest.md) | Default implementation for the [QuerySuggestionsGetters.request](./x-components.querysuggestionsgetters.request.md) getter. |
|
|
475
481
|
| [querySuggestionsXModule](./x-components.querysuggestionsxmodule.md) | QuerySuggestions [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the <code>query-suggestions</code> entry point. |
|
|
@@ -652,6 +658,9 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
652
658
|
| [PopularSearchesXStoreModule](./x-components.popularsearchesxstoremodule.md) | Popular searches store module. |
|
|
653
659
|
| [PrivateXModulesOptions](./x-components.privatexmodulesoptions.md) | Options for overriding the default store module and store emitters for each [XModule](./x-components.xmodule.md)<!-- -->. |
|
|
654
660
|
| [PropsWithType](./x-components.propswithtype.md) | Extracts the name of the properties of an object that match a type. |
|
|
661
|
+
| [QueriesPreviewActionContext](./x-components.queriespreviewactioncontext.md) | Alias type for actions context of the [QueriesPreviewXStoreModule](./x-components.queriespreviewxstoremodule.md)<!-- -->. |
|
|
662
|
+
| [QueriesPreviewXModule](./x-components.queriespreviewxmodule.md) | QueriesPreview [XModule](./x-components.xmodule.md) alias. |
|
|
663
|
+
| [QueriesPreviewXStoreModule](./x-components.queriespreviewxstoremodule.md) | QueriesPreview type safe store module. |
|
|
655
664
|
| [QueryFeature](./x-components.queryfeature.md) | The name of the tool that generated the query. |
|
|
656
665
|
| [QueryOrigin](./x-components.queryorigin.md) | Information to track the usefulness of the query in relation to the [QueryFeature](./x-components.queryfeature.md) that generated it, and the [FeatureLocation](./x-components.featurelocation.md) where it has been shown to the user. |
|
|
657
666
|
| [QueryOriginInit](./x-components.queryorigininit.md) | Parameters to create a [QueryOrigin](./x-components.queryorigin.md) or [ResultOrigin](./x-components.resultorigin.md)<!-- -->. |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewActionContext](./x-components.queriespreviewactioncontext.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewActionContext type
|
|
6
|
+
|
|
7
|
+
Alias type for actions context of the [QueriesPreviewXStoreModule](./x-components.queriespreviewxstoremodule.md)<!-- -->.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare type QueriesPreviewActionContext = XActionContext<QueriesPreviewState, QueriesPreviewGetters, QueriesPreviewMutations, QueriesPreviewActions>;
|
|
13
|
+
```
|
|
14
|
+
<b>References:</b> [XActionContext](./x-components.xactioncontext.md)<!-- -->, [QueriesPreviewState](./x-components.queriespreviewstate.md)<!-- -->, [QueriesPreviewGetters](./x-components.queriespreviewgetters.md)<!-- -->, [QueriesPreviewMutations](./x-components.queriespreviewmutations.md)<!-- -->, [QueriesPreviewActions](./x-components.queriespreviewactions.md)
|
|
15
|
+
|
|
@@ -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) > [QueriesPreviewActions](./x-components.queriespreviewactions.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewActions interface
|
|
6
|
+
|
|
7
|
+
QueriesPreview store actions.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface QueriesPreviewActions
|
|
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) > [QueriesPreviewGetters](./x-components.queriespreviewgetters.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewGetters interface
|
|
6
|
+
|
|
7
|
+
QueriesPreview store getters.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface QueriesPreviewGetters
|
|
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) > [QueriesPreviewMutations](./x-components.queriespreviewmutations.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewMutations interface
|
|
6
|
+
|
|
7
|
+
QueriesPreview store mutations.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface QueriesPreviewMutations
|
|
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) > [QueriesPreviewState](./x-components.queriespreviewstate.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewState interface
|
|
6
|
+
|
|
7
|
+
QueriesPreview store state.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface QueriesPreviewState
|
|
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) > [QueriesPreviewXEvents](./x-components.queriespreviewxevents.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewXEvents interface
|
|
6
|
+
|
|
7
|
+
Dictionary of the events of QueriesPreview XModule, where each key is the event name, and the value is the event payload type or `void` if it has no payload.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface QueriesPreviewXEvents
|
|
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) > [queriesPreviewXModule](./x-components.queriespreviewxmodule.md)
|
|
4
|
+
|
|
5
|
+
## queriesPreviewXModule variable
|
|
6
|
+
|
|
7
|
+
QueriesPreview [XModule](./x-components.xmodule.md) implementation. This module is auto-registered as soon as you import any component from the `queries-preview` entry point.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
queriesPreviewXModule: QueriesPreviewXModule
|
|
13
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [QueriesPreviewXStoreModule](./x-components.queriespreviewxstoremodule.md)
|
|
4
|
+
|
|
5
|
+
## QueriesPreviewXStoreModule type
|
|
6
|
+
|
|
7
|
+
QueriesPreview type safe store module.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export declare type QueriesPreviewXStoreModule = XStoreModule<QueriesPreviewState, QueriesPreviewGetters, QueriesPreviewMutations, QueriesPreviewActions>;
|
|
13
|
+
```
|
|
14
|
+
<b>References:</b> [XStoreModule](./x-components.xstoremodule.md)<!-- -->, [QueriesPreviewState](./x-components.queriespreviewstate.md)<!-- -->, [QueriesPreviewGetters](./x-components.queriespreviewgetters.md)<!-- -->, [QueriesPreviewMutations](./x-components.queriespreviewmutations.md)<!-- -->, [QueriesPreviewActions](./x-components.queriespreviewactions.md)
|
|
15
|
+
|
|
@@ -9,13 +9,13 @@ Dictionary of all the [XEvents](./x-components.xevent.md)<!-- -->, where each ke
|
|
|
9
9
|
<b>Signature:</b>
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, TaggingXEvents, UrlXEvents
|
|
12
|
+
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QueriesPreviewXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, TaggingXEvents, UrlXEvents
|
|
13
13
|
```
|
|
14
|
-
<b>Extends:</b> [DeviceXEvents](./x-components.devicexevents.md)<!-- -->, [EmpathizeXEvents](./x-components.empathizexevents.md)<!-- -->, [ExtraParamsXEvents](./x-components.extraparamsxevents.md)<!-- -->, [FacetsXEvents](./x-components.facetsxevents.md)<!-- -->, [HistoryQueriesXEvents](./x-components.historyqueriesxevents.md)<!-- -->, [IdentifierResultsXEvents](./x-components.identifierresultsxevents.md)<!-- -->, [NextQueriesXEvents](./x-components.nextqueriesxevents.md)<!-- -->, [PopularSearchesXEvents](./x-components.popularsearchesxevents.md)<!-- -->, [QuerySuggestionsXEvents](./x-components.querysuggestionsxevents.md)<!-- -->, [RecommendationsXEvents](./x-components.recommendationsxevents.md)<!-- -->, [RelatedTagsXEvents](./x-components.relatedtagsxevents.md)<!-- -->, [ScrollXEvents](./x-components.scrollxevents.md)<!-- -->, [SearchBoxXEvents](./x-components.searchboxxevents.md)<!-- -->, [SearchXEvents](./x-components.searchxevents.md)<!-- -->, [TaggingXEvents](./x-components.taggingxevents.md)<!-- -->, [UrlXEvents](./x-components.urlxevents.md)
|
|
14
|
+
<b>Extends:</b> [DeviceXEvents](./x-components.devicexevents.md)<!-- -->, [EmpathizeXEvents](./x-components.empathizexevents.md)<!-- -->, [ExtraParamsXEvents](./x-components.extraparamsxevents.md)<!-- -->, [FacetsXEvents](./x-components.facetsxevents.md)<!-- -->, [HistoryQueriesXEvents](./x-components.historyqueriesxevents.md)<!-- -->, [IdentifierResultsXEvents](./x-components.identifierresultsxevents.md)<!-- -->, [NextQueriesXEvents](./x-components.nextqueriesxevents.md)<!-- -->, [PopularSearchesXEvents](./x-components.popularsearchesxevents.md)<!-- -->, [QueriesPreviewXEvents](./x-components.queriespreviewxevents.md)<!-- -->, [QuerySuggestionsXEvents](./x-components.querysuggestionsxevents.md)<!-- -->, [RecommendationsXEvents](./x-components.recommendationsxevents.md)<!-- -->, [RelatedTagsXEvents](./x-components.relatedtagsxevents.md)<!-- -->, [ScrollXEvents](./x-components.scrollxevents.md)<!-- -->, [SearchBoxXEvents](./x-components.searchboxxevents.md)<!-- -->, [SearchXEvents](./x-components.searchxevents.md)<!-- -->, [TaggingXEvents](./x-components.taggingxevents.md)<!-- -->, [UrlXEvents](./x-components.urlxevents.md)
|
|
15
15
|
|
|
16
16
|
## Remarks
|
|
17
17
|
|
|
18
|
-
Aside from common [XEvents](./x-components.xevent.md)<!-- -->, this interface also extends the different XModule's XEventsTypes: [DeviceXEvents](./x-components.devicexevents.md) [EmpathizeXEvents](./x-components.empathizexevents.md) [ExtraParamsXEvents](./x-components.extraparamsxevents.md) [FacetsXEvents](./x-components.facetsxevents.md) [HistoryQueriesXEvents](./x-components.historyqueriesxevents.md) [IdentifierResultsXEvents](./x-components.identifierresultsxevents.md) [NextQueriesXEvents](./x-components.nextqueriesxevents.md) [PopularSearchesXEvents](./x-components.popularsearchesxevents.md) [QuerySuggestionsXEvents](./x-components.querysuggestionsxevents.md)<!-- -->, [RecommendationsXEvents](./x-components.recommendationsxevents.md) [RelatedTagsXEvents](./x-components.relatedtagsxevents.md) [ScrollXEvents](./x-components.scrollxevents.md)<!-- -->, [SearchBoxXEvents](./x-components.searchboxxevents.md) [SearchXEvents](./x-components.searchxevents.md) [TaggingXEvents](./x-components.taggingxevents.md) [UrlXEvents](./x-components.urlxevents.md)
|
|
18
|
+
Aside from common [XEvents](./x-components.xevent.md)<!-- -->, this interface also extends the different XModule's XEventsTypes: [DeviceXEvents](./x-components.devicexevents.md) [EmpathizeXEvents](./x-components.empathizexevents.md) [ExtraParamsXEvents](./x-components.extraparamsxevents.md) [FacetsXEvents](./x-components.facetsxevents.md) [HistoryQueriesXEvents](./x-components.historyqueriesxevents.md) [IdentifierResultsXEvents](./x-components.identifierresultsxevents.md) [NextQueriesXEvents](./x-components.nextqueriesxevents.md) [PopularSearchesXEvents](./x-components.popularsearchesxevents.md) [QueriesPreviewXEvents](./x-components.queriespreviewxevents.md)<!-- -->, [QuerySuggestionsXEvents](./x-components.querysuggestionsxevents.md)<!-- -->, [RecommendationsXEvents](./x-components.recommendationsxevents.md) [RelatedTagsXEvents](./x-components.relatedtagsxevents.md) [ScrollXEvents](./x-components.scrollxevents.md)<!-- -->, [SearchBoxXEvents](./x-components.searchboxxevents.md) [SearchXEvents](./x-components.searchxevents.md) [TaggingXEvents](./x-components.taggingxevents.md) [UrlXEvents](./x-components.urlxevents.md)
|
|
19
19
|
|
|
20
20
|
## Properties
|
|
21
21
|
|
|
@@ -24,6 +24,7 @@ export interface XModulesTree
|
|
|
24
24
|
| [identifierResults](./x-components.xmodulestree.identifierresults.md) | [IdentifierResultsXModule](./x-components.identifierresultsxmodule.md) | |
|
|
25
25
|
| [nextQueries](./x-components.xmodulestree.nextqueries.md) | [NextQueriesXModule](./x-components.nextqueriesxmodule.md) | |
|
|
26
26
|
| [popularSearches](./x-components.xmodulestree.popularsearches.md) | [PopularSearchesXModule](./x-components.popularsearchesxmodule.md) | |
|
|
27
|
+
| [queriesPreview](./x-components.xmodulestree.queriespreview.md) | [QueriesPreviewXModule](./x-components.queriespreviewxmodule.md) | |
|
|
27
28
|
| [querySuggestions](./x-components.xmodulestree.querysuggestions.md) | [QuerySuggestionsXModule](./x-components.querysuggestionsxmodule.md) | |
|
|
28
29
|
| [recommendations](./x-components.xmodulestree.recommendations.md) | [RecommendationsXModule](./x-components.recommendationsxmodule.md) | |
|
|
29
30
|
| [relatedTags](./x-components.xmodulestree.relatedtags.md) | [RelatedTagsXModule](./x-components.relatedtagsxmodule.md) | |
|
|
@@ -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) > [XModulesTree](./x-components.xmodulestree.md) > [queriesPreview](./x-components.xmodulestree.queriespreview.md)
|
|
4
|
+
|
|
5
|
+
## XModulesTree.queriesPreview property
|
|
6
|
+
|
|
7
|
+
<b>Signature:</b>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
queriesPreview: QueriesPreviewXModule;
|
|
11
|
+
```
|
package/js/index.js
CHANGED
|
@@ -263,6 +263,10 @@ export { popularSearches } from './x-modules/popular-searches/store/getters/popu
|
|
|
263
263
|
export { popularSearchesXStoreModule } from './x-modules/popular-searches/store/module.js';
|
|
264
264
|
export { popularSearchesWiring, setPopularSearchesExtraParams, setSearchedQueriesInPopularSearches } from './x-modules/popular-searches/wiring.js';
|
|
265
265
|
export { popularSearchesXModule } from './x-modules/popular-searches/x-module.js';
|
|
266
|
+
export { queriesPreviewEmitters } from './x-modules/queries-preview/store/emitters.js';
|
|
267
|
+
export { queriesPreviewXStoreModule } from './x-modules/queries-preview/store/module.js';
|
|
268
|
+
export { queriesPreviewXModule } from './x-modules/queries-preview/x-module.js';
|
|
269
|
+
export { queriesPreviewWiring } from './x-modules/queries-preview/wiring.js';
|
|
266
270
|
export { default as QuerySuggestion } from './x-modules/query-suggestions/components/query-suggestion.vue.js';
|
|
267
271
|
export { default as QuerySuggestions } from './x-modules/query-suggestions/components/query-suggestions.vue.js';
|
|
268
272
|
export { cancelFetchAndSaveSuggestions as cancelFetchAndSaveQuerySuggestions, fetchAndSaveSuggestions as fetchAndSaveQuerySuggestions } from './x-modules/query-suggestions/store/actions/fetch-and-save-suggestions.action.js';
|
package/js/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/js/store/x.module.js
CHANGED
package/js/store/x.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x.module.js","sources":["../../../src/store/x.module.ts"],"sourcesContent":["import { Module } from 'vuex';\nimport { RootXStoreState } from './store.types';\n\n/**\n * The type of the x module state has a property for each other sub-module assigned to `null`,\n * so we can avoid re-executing getters every time\n * the `store.registerModule` method is called.\n *\n * @internal\n */\nexport type XModuleState = { [Key in keyof RootXStoreState['x']]: null };\n\n/**\n * The main module of the X Store. All of the other {@link XModule | XModules} will be\n * registered as a sub-module of this one.\n *\n * @internal\n */\nexport const RootXStoreModule: Module<XModuleState, any> = {\n state: () => ({\n device: null,\n empathize: null,\n extraParams: null,\n facets: null,\n historyQueries: null,\n identifierResults: null,\n nextQueries: null,\n popularSearches: null,\n querySuggestions: null,\n recommendations: null,\n relatedTags: null,\n scroll: null,\n search: null,\n searchBox: null,\n tagging: null,\n url: null\n }),\n namespaced: true\n};\n"],"names":[],"mappings":"AAYA;;;;;;MAMa,gBAAgB,GAA8B;IACzD,KAAK,EAAE,OAAO;QACZ,MAAM,EAAE,IAAI;QACZ,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;QACjB,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,IAAI;QACpB,iBAAiB,EAAE,IAAI;QACvB,WAAW,EAAE,IAAI;QACjB,eAAe,EAAE,IAAI;QACrB,gBAAgB,EAAE,IAAI;QACtB,eAAe,EAAE,IAAI;QACrB,WAAW,EAAE,IAAI;QACjB,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,IAAI;QACZ,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,IAAI;QACb,GAAG,EAAE,IAAI;KACV,CAAC;IACF,UAAU,EAAE,IAAI;;;;;"}
|
|
1
|
+
{"version":3,"file":"x.module.js","sources":["../../../src/store/x.module.ts"],"sourcesContent":["import { Module } from 'vuex';\nimport { RootXStoreState } from './store.types';\n\n/**\n * The type of the x module state has a property for each other sub-module assigned to `null`,\n * so we can avoid re-executing getters every time\n * the `store.registerModule` method is called.\n *\n * @internal\n */\nexport type XModuleState = { [Key in keyof RootXStoreState['x']]: null };\n\n/**\n * The main module of the X Store. All of the other {@link XModule | XModules} will be\n * registered as a sub-module of this one.\n *\n * @internal\n */\nexport const RootXStoreModule: Module<XModuleState, any> = {\n state: () => ({\n device: null,\n empathize: null,\n extraParams: null,\n facets: null,\n historyQueries: null,\n identifierResults: null,\n nextQueries: null,\n popularSearches: null,\n queriesPreview: null,\n querySuggestions: null,\n recommendations: null,\n relatedTags: null,\n scroll: null,\n search: null,\n searchBox: null,\n tagging: null,\n url: null\n }),\n namespaced: true\n};\n"],"names":[],"mappings":"AAYA;;;;;;MAMa,gBAAgB,GAA8B;IACzD,KAAK,EAAE,OAAO;QACZ,MAAM,EAAE,IAAI;QACZ,SAAS,EAAE,IAAI;QACf,WAAW,EAAE,IAAI;QACjB,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,IAAI;QACpB,iBAAiB,EAAE,IAAI;QACvB,WAAW,EAAE,IAAI;QACjB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,gBAAgB,EAAE,IAAI;QACtB,eAAe,EAAE,IAAI;QACrB,WAAW,EAAE,IAAI;QACjB,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,IAAI;QACZ,SAAS,EAAE,IAAI;QACf,OAAO,EAAE,IAAI;QACb,GAAG,EAAE,IAAI;KACV,CAAC;IACF,UAAU,EAAE,IAAI;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-module.js","sources":["../../../../src/x-modules/extra-params/x-module.ts"],"sourcesContent":["import { XModule } from '../x-modules.types';\nimport { extraParamsEmitters
|
|
1
|
+
{"version":3,"file":"x-module.js","sources":["../../../../src/x-modules/extra-params/x-module.ts"],"sourcesContent":["import { XModule } from '../x-modules.types';\nimport { extraParamsEmitters } from './store/emitters';\nimport { extraParamsXStoreModule } from './store/module';\nimport { ExtraParamsXStoreModule } from './store/types';\nimport { extraParamsWiring } from './wiring';\n\n/**\n * ExtraParams {@link XModule} alias.\n *\n * @public\n */\nexport type ExtraParamsXModule = XModule<ExtraParamsXStoreModule>;\n\n/**\n * ExtraParams {@link XModule} implementation. This module is auto-registered as soon as you\n * import any component from the `extraParams` entry point.\n *\n * @public\n */\nexport const extraParamsXModule: ExtraParamsXModule = {\n name: 'extraParams',\n storeModule: extraParamsXStoreModule,\n storeEmitters: extraParamsEmitters,\n wiring: extraParamsWiring\n};\n"],"names":[],"mappings":";;;;AAaA;;;;;;MAMa,kBAAkB,GAAuB;IACpD,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,uBAAuB;IACpC,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE,iBAAiB;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createStoreEmitters } from '../../../store/utils/store-emitters.utils.js';
|
|
2
|
+
import { queriesPreviewXStoreModule } from './module.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* {@link StoreEmitters} For the queries-preview module.
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
const queriesPreviewEmitters = createStoreEmitters(queriesPreviewXStoreModule, {});
|
|
10
|
+
|
|
11
|
+
export { queriesPreviewEmitters };
|
|
12
|
+
//# sourceMappingURL=emitters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/queries-preview/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store';\nimport { queriesPreviewXStoreModule } from './module';\n\n/**\n * {@link StoreEmitters} For the queries-preview module.\n *\n * @internal\n */\nexport const queriesPreviewEmitters = createStoreEmitters(queriesPreviewXStoreModule, {});\n"],"names":[],"mappings":";;;AAGA;;;;;MAKa,sBAAsB,GAAG,mBAAmB,CAAC,0BAA0B,EAAE,EAAE;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* {@link XStoreModule} For the queries-preview module.
|
|
3
|
+
*
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
const queriesPreviewXStoreModule = {
|
|
7
|
+
state: () => ({}),
|
|
8
|
+
getters: {},
|
|
9
|
+
mutations: {},
|
|
10
|
+
actions: {}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { queriesPreviewXStoreModule };
|
|
14
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sources":["../../../../../src/x-modules/queries-preview/store/module.ts"],"sourcesContent":["import { QueriesPreviewXStoreModule } from './types';\n\n/**\n * {@link XStoreModule} For the queries-preview module.\n *\n * @internal\n */\nexport const queriesPreviewXStoreModule: QueriesPreviewXStoreModule = {\n state: () => ({}),\n getters: {},\n mutations: {},\n actions: {}\n};\n"],"names":[],"mappings":"AAEA;;;;;MAKa,0BAA0B,GAA+B;IACpE,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createWiring } from '../../wiring/wiring.utils.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Wiring configuration for the {@link QueriesPreviewXModule | queriesPreview module}.
|
|
5
|
+
*
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
const queriesPreviewWiring = createWiring({});
|
|
9
|
+
|
|
10
|
+
export { queriesPreviewWiring };
|
|
11
|
+
//# sourceMappingURL=wiring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wiring.js","sources":["../../../../src/x-modules/queries-preview/wiring.ts"],"sourcesContent":["import { createWiring } from '../../wiring/wiring.utils';\n\n/**\n * Wiring configuration for the {@link QueriesPreviewXModule | queriesPreview module}.\n *\n * @internal\n */\nexport const queriesPreviewWiring = createWiring({});\n"],"names":[],"mappings":";;AAEA;;;;;MAKa,oBAAoB,GAAG,YAAY,CAAC,EAAE;;;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { queriesPreviewEmitters } from './store/emitters.js';
|
|
2
|
+
import { queriesPreviewXStoreModule } from './store/module.js';
|
|
3
|
+
import { queriesPreviewWiring } from './wiring.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* QueriesPreview {@link XModule} implementation. This module is auto-registered as soon as you
|
|
7
|
+
* import any component from the `queries-preview` entry point.
|
|
8
|
+
*
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
const queriesPreviewXModule = {
|
|
12
|
+
name: 'queriesPreview',
|
|
13
|
+
storeModule: queriesPreviewXStoreModule,
|
|
14
|
+
storeEmitters: queriesPreviewEmitters,
|
|
15
|
+
wiring: queriesPreviewWiring
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { queriesPreviewXModule };
|
|
19
|
+
//# sourceMappingURL=x-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-module.js","sources":["../../../../src/x-modules/queries-preview/x-module.ts"],"sourcesContent":["import { XModule } from '../x-modules.types';\nimport { queriesPreviewEmitters } from './store/emitters';\nimport { queriesPreviewXStoreModule } from './store/module';\nimport { QueriesPreviewXStoreModule } from './store/types';\nimport { queriesPreviewWiring } from './wiring';\n\n/**\n * QueriesPreview {@link XModule} alias.\n *\n * @public\n */\nexport type QueriesPreviewXModule = XModule<QueriesPreviewXStoreModule>;\n\n/**\n * QueriesPreview {@link XModule} implementation. This module is auto-registered as soon as you\n * import any component from the `queries-preview` entry point.\n *\n * @public\n */\nexport const queriesPreviewXModule: QueriesPreviewXModule = {\n name: 'queriesPreview',\n storeModule: queriesPreviewXStoreModule,\n storeEmitters: queriesPreviewEmitters,\n wiring: queriesPreviewWiring\n};\n"],"names":[],"mappings":";;;;AAaA;;;;;;MAMa,qBAAqB,GAA0B;IAC1D,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,0BAA0B;IACvC,aAAa,EAAE,sBAAsB;IACrC,MAAM,EAAE,oBAAoB;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.158",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"cypress:open:component": "cypress open-ct"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@empathyco/x-adapter": "^8.0.0-alpha.
|
|
62
|
+
"@empathyco/x-adapter": "^8.0.0-alpha.6",
|
|
63
63
|
"@empathyco/x-deep-merge": "^1.3.0-alpha.19",
|
|
64
64
|
"@empathyco/x-logger": "^1.2.0-alpha.3",
|
|
65
65
|
"@empathyco/x-storage-service": "^2.0.0-alpha.2",
|
|
66
|
-
"@empathyco/x-types": "^10.0.0-alpha.
|
|
66
|
+
"@empathyco/x-types": "^10.0.0-alpha.33",
|
|
67
67
|
"@empathyco/x-utils": "^1.0.0-alpha.5",
|
|
68
68
|
"@types/resize-observer-browser": "~0.1.5",
|
|
69
69
|
"rxjs": "~7.4.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@cypress/vue": "~2.2.4",
|
|
80
80
|
"@cypress/webpack-dev-server": "~1.8.4",
|
|
81
|
-
"@empathyco/x-adapter-platform": "^1.0.0-alpha.
|
|
81
|
+
"@empathyco/x-adapter-platform": "^1.0.0-alpha.32",
|
|
82
82
|
"@empathyco/x-tailwindcss": "^0.2.0-alpha.10",
|
|
83
83
|
"@microsoft/api-documenter": "~7.15.3",
|
|
84
84
|
"@microsoft/api-extractor": "~7.19.4",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"access": "public",
|
|
129
129
|
"directory": "dist"
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "7a369790f31c25b69de07ad659e7a705bbeb71e4"
|
|
132
132
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../types/x-modules/queries-preview';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { queriesPreviewEmitters } from '../js/x-modules/queries-preview/store/emitters.js';
|
|
2
|
+
export { queriesPreviewXStoreModule } from '../js/x-modules/queries-preview/store/module.js';
|
|
3
|
+
export { queriesPreviewXModule } from '../js/x-modules/queries-preview/x-module.js';
|
|
4
|
+
export { queriesPreviewWiring } from '../js/x-modules/queries-preview/wiring.js';
|
|
@@ -30423,6 +30423,274 @@
|
|
|
30423
30423
|
"endIndex": 4
|
|
30424
30424
|
}
|
|
30425
30425
|
},
|
|
30426
|
+
{
|
|
30427
|
+
"kind": "TypeAlias",
|
|
30428
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewActionContext:type",
|
|
30429
|
+
"docComment": "/**\n * Alias type for actions context of the {@link QueriesPreviewXStoreModule}.\n *\n * @public\n */\n",
|
|
30430
|
+
"excerptTokens": [
|
|
30431
|
+
{
|
|
30432
|
+
"kind": "Content",
|
|
30433
|
+
"text": "export declare type QueriesPreviewActionContext = "
|
|
30434
|
+
},
|
|
30435
|
+
{
|
|
30436
|
+
"kind": "Reference",
|
|
30437
|
+
"text": "XActionContext",
|
|
30438
|
+
"canonicalReference": "@empathyco/x-components!XActionContext:interface"
|
|
30439
|
+
},
|
|
30440
|
+
{
|
|
30441
|
+
"kind": "Content",
|
|
30442
|
+
"text": "<"
|
|
30443
|
+
},
|
|
30444
|
+
{
|
|
30445
|
+
"kind": "Reference",
|
|
30446
|
+
"text": "QueriesPreviewState",
|
|
30447
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewState:interface"
|
|
30448
|
+
},
|
|
30449
|
+
{
|
|
30450
|
+
"kind": "Content",
|
|
30451
|
+
"text": ", "
|
|
30452
|
+
},
|
|
30453
|
+
{
|
|
30454
|
+
"kind": "Reference",
|
|
30455
|
+
"text": "QueriesPreviewGetters",
|
|
30456
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewGetters:interface"
|
|
30457
|
+
},
|
|
30458
|
+
{
|
|
30459
|
+
"kind": "Content",
|
|
30460
|
+
"text": ", "
|
|
30461
|
+
},
|
|
30462
|
+
{
|
|
30463
|
+
"kind": "Reference",
|
|
30464
|
+
"text": "QueriesPreviewMutations",
|
|
30465
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewMutations:interface"
|
|
30466
|
+
},
|
|
30467
|
+
{
|
|
30468
|
+
"kind": "Content",
|
|
30469
|
+
"text": ", "
|
|
30470
|
+
},
|
|
30471
|
+
{
|
|
30472
|
+
"kind": "Reference",
|
|
30473
|
+
"text": "QueriesPreviewActions",
|
|
30474
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewActions:interface"
|
|
30475
|
+
},
|
|
30476
|
+
{
|
|
30477
|
+
"kind": "Content",
|
|
30478
|
+
"text": ">"
|
|
30479
|
+
},
|
|
30480
|
+
{
|
|
30481
|
+
"kind": "Content",
|
|
30482
|
+
"text": ";"
|
|
30483
|
+
}
|
|
30484
|
+
],
|
|
30485
|
+
"releaseTag": "Public",
|
|
30486
|
+
"name": "QueriesPreviewActionContext",
|
|
30487
|
+
"typeTokenRange": {
|
|
30488
|
+
"startIndex": 1,
|
|
30489
|
+
"endIndex": 11
|
|
30490
|
+
}
|
|
30491
|
+
},
|
|
30492
|
+
{
|
|
30493
|
+
"kind": "Interface",
|
|
30494
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewActions:interface",
|
|
30495
|
+
"docComment": "/**\n * QueriesPreview store actions.\n *\n * @public\n */\n",
|
|
30496
|
+
"excerptTokens": [
|
|
30497
|
+
{
|
|
30498
|
+
"kind": "Content",
|
|
30499
|
+
"text": "export interface QueriesPreviewActions "
|
|
30500
|
+
}
|
|
30501
|
+
],
|
|
30502
|
+
"releaseTag": "Public",
|
|
30503
|
+
"name": "QueriesPreviewActions",
|
|
30504
|
+
"members": [],
|
|
30505
|
+
"extendsTokenRanges": []
|
|
30506
|
+
},
|
|
30507
|
+
{
|
|
30508
|
+
"kind": "Interface",
|
|
30509
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewGetters:interface",
|
|
30510
|
+
"docComment": "/**\n * QueriesPreview store getters.\n *\n * @public\n */\n",
|
|
30511
|
+
"excerptTokens": [
|
|
30512
|
+
{
|
|
30513
|
+
"kind": "Content",
|
|
30514
|
+
"text": "export interface QueriesPreviewGetters "
|
|
30515
|
+
}
|
|
30516
|
+
],
|
|
30517
|
+
"releaseTag": "Public",
|
|
30518
|
+
"name": "QueriesPreviewGetters",
|
|
30519
|
+
"members": [],
|
|
30520
|
+
"extendsTokenRanges": []
|
|
30521
|
+
},
|
|
30522
|
+
{
|
|
30523
|
+
"kind": "Interface",
|
|
30524
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewMutations:interface",
|
|
30525
|
+
"docComment": "/**\n * QueriesPreview store mutations.\n *\n * @public\n */\n",
|
|
30526
|
+
"excerptTokens": [
|
|
30527
|
+
{
|
|
30528
|
+
"kind": "Content",
|
|
30529
|
+
"text": "export interface QueriesPreviewMutations "
|
|
30530
|
+
}
|
|
30531
|
+
],
|
|
30532
|
+
"releaseTag": "Public",
|
|
30533
|
+
"name": "QueriesPreviewMutations",
|
|
30534
|
+
"members": [],
|
|
30535
|
+
"extendsTokenRanges": []
|
|
30536
|
+
},
|
|
30537
|
+
{
|
|
30538
|
+
"kind": "Interface",
|
|
30539
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewState:interface",
|
|
30540
|
+
"docComment": "/**\n * QueriesPreview store state.\n *\n * @public\n */\n",
|
|
30541
|
+
"excerptTokens": [
|
|
30542
|
+
{
|
|
30543
|
+
"kind": "Content",
|
|
30544
|
+
"text": "export interface QueriesPreviewState "
|
|
30545
|
+
}
|
|
30546
|
+
],
|
|
30547
|
+
"releaseTag": "Public",
|
|
30548
|
+
"name": "QueriesPreviewState",
|
|
30549
|
+
"members": [],
|
|
30550
|
+
"extendsTokenRanges": []
|
|
30551
|
+
},
|
|
30552
|
+
{
|
|
30553
|
+
"kind": "Interface",
|
|
30554
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewXEvents:interface",
|
|
30555
|
+
"docComment": "/**\n * Dictionary of the events of QueriesPreview XModule, where each key is the event name, and the value is the event payload type or `void` if it has no payload.\n *\n * @public\n */\n",
|
|
30556
|
+
"excerptTokens": [
|
|
30557
|
+
{
|
|
30558
|
+
"kind": "Content",
|
|
30559
|
+
"text": "export interface QueriesPreviewXEvents "
|
|
30560
|
+
}
|
|
30561
|
+
],
|
|
30562
|
+
"releaseTag": "Public",
|
|
30563
|
+
"name": "QueriesPreviewXEvents",
|
|
30564
|
+
"members": [],
|
|
30565
|
+
"extendsTokenRanges": []
|
|
30566
|
+
},
|
|
30567
|
+
{
|
|
30568
|
+
"kind": "TypeAlias",
|
|
30569
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewXModule:type",
|
|
30570
|
+
"docComment": "/**\n * QueriesPreview {@link XModule} alias.\n *\n * @public\n */\n",
|
|
30571
|
+
"excerptTokens": [
|
|
30572
|
+
{
|
|
30573
|
+
"kind": "Content",
|
|
30574
|
+
"text": "export declare type QueriesPreviewXModule = "
|
|
30575
|
+
},
|
|
30576
|
+
{
|
|
30577
|
+
"kind": "Reference",
|
|
30578
|
+
"text": "XModule",
|
|
30579
|
+
"canonicalReference": "@empathyco/x-components!XModule:interface"
|
|
30580
|
+
},
|
|
30581
|
+
{
|
|
30582
|
+
"kind": "Content",
|
|
30583
|
+
"text": "<"
|
|
30584
|
+
},
|
|
30585
|
+
{
|
|
30586
|
+
"kind": "Reference",
|
|
30587
|
+
"text": "QueriesPreviewXStoreModule",
|
|
30588
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewXStoreModule:type"
|
|
30589
|
+
},
|
|
30590
|
+
{
|
|
30591
|
+
"kind": "Content",
|
|
30592
|
+
"text": ">"
|
|
30593
|
+
},
|
|
30594
|
+
{
|
|
30595
|
+
"kind": "Content",
|
|
30596
|
+
"text": ";"
|
|
30597
|
+
}
|
|
30598
|
+
],
|
|
30599
|
+
"releaseTag": "Public",
|
|
30600
|
+
"name": "QueriesPreviewXModule",
|
|
30601
|
+
"typeTokenRange": {
|
|
30602
|
+
"startIndex": 1,
|
|
30603
|
+
"endIndex": 5
|
|
30604
|
+
}
|
|
30605
|
+
},
|
|
30606
|
+
{
|
|
30607
|
+
"kind": "Variable",
|
|
30608
|
+
"canonicalReference": "@empathyco/x-components!queriesPreviewXModule:var",
|
|
30609
|
+
"docComment": "/**\n * QueriesPreview {@link XModule} implementation. This module is auto-registered as soon as you import any component from the `queries-preview` entry point.\n *\n * @public\n */\n",
|
|
30610
|
+
"excerptTokens": [
|
|
30611
|
+
{
|
|
30612
|
+
"kind": "Content",
|
|
30613
|
+
"text": "queriesPreviewXModule: "
|
|
30614
|
+
},
|
|
30615
|
+
{
|
|
30616
|
+
"kind": "Reference",
|
|
30617
|
+
"text": "QueriesPreviewXModule",
|
|
30618
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewXModule:type"
|
|
30619
|
+
}
|
|
30620
|
+
],
|
|
30621
|
+
"releaseTag": "Public",
|
|
30622
|
+
"name": "queriesPreviewXModule",
|
|
30623
|
+
"variableTypeTokenRange": {
|
|
30624
|
+
"startIndex": 1,
|
|
30625
|
+
"endIndex": 2
|
|
30626
|
+
}
|
|
30627
|
+
},
|
|
30628
|
+
{
|
|
30629
|
+
"kind": "TypeAlias",
|
|
30630
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewXStoreModule:type",
|
|
30631
|
+
"docComment": "/**\n * QueriesPreview type safe store module.\n *\n * @public\n */\n",
|
|
30632
|
+
"excerptTokens": [
|
|
30633
|
+
{
|
|
30634
|
+
"kind": "Content",
|
|
30635
|
+
"text": "export declare type QueriesPreviewXStoreModule = "
|
|
30636
|
+
},
|
|
30637
|
+
{
|
|
30638
|
+
"kind": "Reference",
|
|
30639
|
+
"text": "XStoreModule",
|
|
30640
|
+
"canonicalReference": "@empathyco/x-components!XStoreModule:interface"
|
|
30641
|
+
},
|
|
30642
|
+
{
|
|
30643
|
+
"kind": "Content",
|
|
30644
|
+
"text": "<"
|
|
30645
|
+
},
|
|
30646
|
+
{
|
|
30647
|
+
"kind": "Reference",
|
|
30648
|
+
"text": "QueriesPreviewState",
|
|
30649
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewState:interface"
|
|
30650
|
+
},
|
|
30651
|
+
{
|
|
30652
|
+
"kind": "Content",
|
|
30653
|
+
"text": ", "
|
|
30654
|
+
},
|
|
30655
|
+
{
|
|
30656
|
+
"kind": "Reference",
|
|
30657
|
+
"text": "QueriesPreviewGetters",
|
|
30658
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewGetters:interface"
|
|
30659
|
+
},
|
|
30660
|
+
{
|
|
30661
|
+
"kind": "Content",
|
|
30662
|
+
"text": ", "
|
|
30663
|
+
},
|
|
30664
|
+
{
|
|
30665
|
+
"kind": "Reference",
|
|
30666
|
+
"text": "QueriesPreviewMutations",
|
|
30667
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewMutations:interface"
|
|
30668
|
+
},
|
|
30669
|
+
{
|
|
30670
|
+
"kind": "Content",
|
|
30671
|
+
"text": ", "
|
|
30672
|
+
},
|
|
30673
|
+
{
|
|
30674
|
+
"kind": "Reference",
|
|
30675
|
+
"text": "QueriesPreviewActions",
|
|
30676
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewActions:interface"
|
|
30677
|
+
},
|
|
30678
|
+
{
|
|
30679
|
+
"kind": "Content",
|
|
30680
|
+
"text": ">"
|
|
30681
|
+
},
|
|
30682
|
+
{
|
|
30683
|
+
"kind": "Content",
|
|
30684
|
+
"text": ";"
|
|
30685
|
+
}
|
|
30686
|
+
],
|
|
30687
|
+
"releaseTag": "Public",
|
|
30688
|
+
"name": "QueriesPreviewXStoreModule",
|
|
30689
|
+
"typeTokenRange": {
|
|
30690
|
+
"startIndex": 1,
|
|
30691
|
+
"endIndex": 11
|
|
30692
|
+
}
|
|
30693
|
+
},
|
|
30426
30694
|
{
|
|
30427
30695
|
"kind": "TypeAlias",
|
|
30428
30696
|
"canonicalReference": "@empathyco/x-components!QueryFeature:type",
|
|
@@ -53390,7 +53658,7 @@
|
|
|
53390
53658
|
{
|
|
53391
53659
|
"kind": "Interface",
|
|
53392
53660
|
"canonicalReference": "@empathyco/x-components!XEventsTypes:interface",
|
|
53393
|
-
"docComment": "/**\n * Dictionary of all the {@link XEvent | XEvents}, where each key is the event name, and the value is the event payload type or `void` if it has no payload.\n *\n * @remarks\n *\n * Aside from common {@link XEvent | XEvents}, this interface also extends the different XModule's XEventsTypes: {@link DeviceXEvents} {@link EmpathizeXEvents} {@link ExtraParamsXEvents} {@link FacetsXEvents} {@link HistoryQueriesXEvents} {@link IdentifierResultsXEvents} {@link NextQueriesXEvents} {@link PopularSearchesXEvents} {@link QuerySuggestionsXEvents}, {@link RecommendationsXEvents} {@link RelatedTagsXEvents} {@link ScrollXEvents}, {@link SearchBoxXEvents} {@link SearchXEvents} {@link TaggingXEvents} {@link UrlXEvents}\n *\n * @public\n */\n",
|
|
53661
|
+
"docComment": "/**\n * Dictionary of all the {@link XEvent | XEvents}, where each key is the event name, and the value is the event payload type or `void` if it has no payload.\n *\n * @remarks\n *\n * Aside from common {@link XEvent | XEvents}, this interface also extends the different XModule's XEventsTypes: {@link DeviceXEvents} {@link EmpathizeXEvents} {@link ExtraParamsXEvents} {@link FacetsXEvents} {@link HistoryQueriesXEvents} {@link IdentifierResultsXEvents} {@link NextQueriesXEvents} {@link PopularSearchesXEvents} {@link QueriesPreviewXEvents}, {@link QuerySuggestionsXEvents}, {@link RecommendationsXEvents} {@link RelatedTagsXEvents} {@link ScrollXEvents}, {@link SearchBoxXEvents} {@link SearchXEvents} {@link TaggingXEvents} {@link UrlXEvents}\n *\n * @public\n */\n",
|
|
53394
53662
|
"excerptTokens": [
|
|
53395
53663
|
{
|
|
53396
53664
|
"kind": "Content",
|
|
@@ -53468,6 +53736,15 @@
|
|
|
53468
53736
|
"kind": "Content",
|
|
53469
53737
|
"text": ", "
|
|
53470
53738
|
},
|
|
53739
|
+
{
|
|
53740
|
+
"kind": "Reference",
|
|
53741
|
+
"text": "QueriesPreviewXEvents",
|
|
53742
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewXEvents:interface"
|
|
53743
|
+
},
|
|
53744
|
+
{
|
|
53745
|
+
"kind": "Content",
|
|
53746
|
+
"text": ", "
|
|
53747
|
+
},
|
|
53471
53748
|
{
|
|
53472
53749
|
"kind": "Reference",
|
|
53473
53750
|
"text": "QuerySuggestionsXEvents",
|
|
@@ -54304,7 +54581,11 @@
|
|
|
54304
54581
|
},
|
|
54305
54582
|
{
|
|
54306
54583
|
"startIndex": 31,
|
|
54307
|
-
"endIndex":
|
|
54584
|
+
"endIndex": 32
|
|
54585
|
+
},
|
|
54586
|
+
{
|
|
54587
|
+
"startIndex": 33,
|
|
54588
|
+
"endIndex": 35
|
|
54308
54589
|
}
|
|
54309
54590
|
]
|
|
54310
54591
|
},
|
|
@@ -55191,6 +55472,33 @@
|
|
|
55191
55472
|
"endIndex": 2
|
|
55192
55473
|
}
|
|
55193
55474
|
},
|
|
55475
|
+
{
|
|
55476
|
+
"kind": "PropertySignature",
|
|
55477
|
+
"canonicalReference": "@empathyco/x-components!XModulesTree#queriesPreview:member",
|
|
55478
|
+
"docComment": "",
|
|
55479
|
+
"excerptTokens": [
|
|
55480
|
+
{
|
|
55481
|
+
"kind": "Content",
|
|
55482
|
+
"text": "queriesPreview: "
|
|
55483
|
+
},
|
|
55484
|
+
{
|
|
55485
|
+
"kind": "Reference",
|
|
55486
|
+
"text": "QueriesPreviewXModule",
|
|
55487
|
+
"canonicalReference": "@empathyco/x-components!QueriesPreviewXModule:type"
|
|
55488
|
+
},
|
|
55489
|
+
{
|
|
55490
|
+
"kind": "Content",
|
|
55491
|
+
"text": ";"
|
|
55492
|
+
}
|
|
55493
|
+
],
|
|
55494
|
+
"isOptional": false,
|
|
55495
|
+
"releaseTag": "Public",
|
|
55496
|
+
"name": "queriesPreview",
|
|
55497
|
+
"propertyTypeTokenRange": {
|
|
55498
|
+
"startIndex": 1,
|
|
55499
|
+
"endIndex": 2
|
|
55500
|
+
}
|
|
55501
|
+
},
|
|
55194
55502
|
{
|
|
55195
55503
|
"kind": "PropertySignature",
|
|
55196
55504
|
"canonicalReference": "@empathyco/x-components!XModulesTree#querySuggestions:member",
|
|
@@ -2856,6 +2856,47 @@ export class PromotedsList extends ItemsListInjectionMixin {
|
|
|
2856
2856
|
// @public
|
|
2857
2857
|
export type PropsWithType<SomeObject, TargetItem> = keyof SomeObject & keyof SubObject<SomeObject, TargetItem>;
|
|
2858
2858
|
|
|
2859
|
+
// @public
|
|
2860
|
+
export type QueriesPreviewActionContext = XActionContext<QueriesPreviewState, QueriesPreviewGetters, QueriesPreviewMutations, QueriesPreviewActions>;
|
|
2861
|
+
|
|
2862
|
+
// @public
|
|
2863
|
+
export interface QueriesPreviewActions {
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
// @internal
|
|
2867
|
+
export const queriesPreviewEmitters: {};
|
|
2868
|
+
|
|
2869
|
+
// @public
|
|
2870
|
+
export interface QueriesPreviewGetters {
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
// @public
|
|
2874
|
+
export interface QueriesPreviewMutations {
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
// @public
|
|
2878
|
+
export interface QueriesPreviewState {
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
// @internal
|
|
2882
|
+
export const queriesPreviewWiring: {};
|
|
2883
|
+
|
|
2884
|
+
// @public
|
|
2885
|
+
export interface QueriesPreviewXEvents {
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
// @public
|
|
2889
|
+
export type QueriesPreviewXModule = XModule<QueriesPreviewXStoreModule>;
|
|
2890
|
+
|
|
2891
|
+
// @public
|
|
2892
|
+
export const queriesPreviewXModule: QueriesPreviewXModule;
|
|
2893
|
+
|
|
2894
|
+
// @public
|
|
2895
|
+
export type QueriesPreviewXStoreModule = XStoreModule<QueriesPreviewState, QueriesPreviewGetters, QueriesPreviewMutations, QueriesPreviewActions>;
|
|
2896
|
+
|
|
2897
|
+
// @internal
|
|
2898
|
+
export const queriesPreviewXStoreModule: QueriesPreviewXStoreModule;
|
|
2899
|
+
|
|
2859
2900
|
// @internal
|
|
2860
2901
|
export const QUERY_KEY: XInjectKey<string | undefined>;
|
|
2861
2902
|
|
|
@@ -4968,7 +5009,7 @@ export type XEventPayload<Event extends XEvent> = XEventsTypes[Event] extends vo
|
|
|
4968
5009
|
export type XEventsOf<Type> = PropsWithType<XEventsTypes, Type>;
|
|
4969
5010
|
|
|
4970
5011
|
// @public
|
|
4971
|
-
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, TaggingXEvents, UrlXEvents {
|
|
5012
|
+
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QueriesPreviewXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, TaggingXEvents, UrlXEvents {
|
|
4972
5013
|
ColumnsNumberProvided: number;
|
|
4973
5014
|
SnippetCallbackExecuted: {
|
|
4974
5015
|
event: XEvent;
|
|
@@ -5088,6 +5129,8 @@ export interface XModulesTree {
|
|
|
5088
5129
|
// (undocumented)
|
|
5089
5130
|
popularSearches: PopularSearchesXModule;
|
|
5090
5131
|
// (undocumented)
|
|
5132
|
+
queriesPreview: QueriesPreviewXModule;
|
|
5133
|
+
// (undocumented)
|
|
5091
5134
|
querySuggestions: QuerySuggestionsXModule;
|
|
5092
5135
|
// (undocumented)
|
|
5093
5136
|
recommendations: RecommendationsXModule;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { XComponentsAdapter } from '@empathyco/x-types';
|
|
2
|
-
import {
|
|
2
|
+
import { EndpointAdapter, HttpClient } from '@empathyco/x-adapter';
|
|
3
3
|
/**
|
|
4
4
|
* Mock fetch httpClient.
|
|
5
5
|
*
|
|
@@ -8,22 +8,12 @@ import { ExtendableEndpointAdapter, HttpClient } from '@empathyco/x-adapter';
|
|
|
8
8
|
* @returns A promise wrapped object containing the response.
|
|
9
9
|
*/
|
|
10
10
|
export declare const mockedFetchHttpClient: HttpClient;
|
|
11
|
-
/**
|
|
12
|
-
* Mock beacon httpClient.
|
|
13
|
-
*
|
|
14
|
-
* @param endpoint - The endpoint to use.
|
|
15
|
-
* @param _
|
|
16
|
-
* @param options - Additional options to make the request with.
|
|
17
|
-
* @returns A promise wrapped object.
|
|
18
|
-
*/
|
|
19
|
-
export declare const mockedBeaconHttpClient: HttpClient;
|
|
20
11
|
/**
|
|
21
12
|
* Mock EndpointAdapter.
|
|
22
13
|
*
|
|
23
14
|
* @param path - The path of the endpoint to mock.
|
|
24
|
-
* @param httpClient
|
|
25
15
|
* @returns The mocked endpoint adapter.
|
|
26
16
|
*/
|
|
27
|
-
export declare function mockEndpointAdapter<Request, Response>(path: string
|
|
17
|
+
export declare function mockEndpointAdapter<Request, Response>(path: string): EndpointAdapter<Request, Response>;
|
|
28
18
|
export declare const e2eAdapter: XComponentsAdapter;
|
|
29
19
|
//# sourceMappingURL=e2e-adapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e2e-adapter.d.ts","sourceRoot":"","sources":["../../../src/adapter/e2e-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"e2e-adapter.d.ts","sourceRoot":"","sources":["../../../src/adapter/e2e-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,eAAe,EAA0B,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAE3F;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,EAAE,UAMnC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,QAAQ,EACnD,IAAI,EAAE,MAAM,GACX,eAAe,CAAC,OAAO,EAAE,QAAQ,CAAC,CAKpC;AAED,eAAO,MAAM,UAAU,EAAE,kBAgBxB,CAAC"}
|
package/types/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './x-modules/history-queries';
|
|
|
20
20
|
export * from './x-modules/identifier-results';
|
|
21
21
|
export * from './x-modules/next-queries';
|
|
22
22
|
export * from './x-modules/popular-searches';
|
|
23
|
+
export * from './x-modules/queries-preview';
|
|
23
24
|
export * from './x-modules/query-suggestions';
|
|
24
25
|
export * from './x-modules/recommendations';
|
|
25
26
|
export * from './x-modules/related-tags';
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x.module.d.ts","sourceRoot":"","sources":["../../../src/store/x.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;GAMG;AACH,oBAAY,YAAY,GAAG;KAAG,GAAG,IAAI,MAAM,eAAe,CAAC,GAAG,CAAC,GAAG,IAAI;CAAE,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,YAAY,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"x.module.d.ts","sourceRoot":"","sources":["../../../src/store/x.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;;GAMG;AACH,oBAAY,YAAY,GAAG;KAAG,GAAG,IAAI,MAAM,eAAe,CAAC,GAAG,CAAC,GAAG,IAAI;CAAE,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,YAAY,EAAE,GAAG,CAqBtD,CAAC"}
|
|
@@ -9,6 +9,7 @@ import { HistoryQueriesXEvents } from '../x-modules/history-queries/events.types
|
|
|
9
9
|
import { IdentifierResultsXEvents } from '../x-modules/identifier-results/events.types';
|
|
10
10
|
import { NextQueriesXEvents } from '../x-modules/next-queries/events.types';
|
|
11
11
|
import { PopularSearchesXEvents } from '../x-modules/popular-searches/events.types';
|
|
12
|
+
import { QueriesPreviewXEvents } from '../x-modules/queries-preview/events.types';
|
|
12
13
|
import { QuerySuggestionsXEvents } from '../x-modules/query-suggestions/events.types';
|
|
13
14
|
import { RecommendationsXEvents } from '../x-modules/recommendations/events.types';
|
|
14
15
|
import { RelatedTagsXEvents } from '../x-modules/related-tags/events.types';
|
|
@@ -33,6 +34,7 @@ import { WireMetadata } from './wiring.types';
|
|
|
33
34
|
* {@link IdentifierResultsXEvents}
|
|
34
35
|
* {@link NextQueriesXEvents}
|
|
35
36
|
* {@link PopularSearchesXEvents}
|
|
37
|
+
* {@link QueriesPreviewXEvents},
|
|
36
38
|
* {@link QuerySuggestionsXEvents},
|
|
37
39
|
* {@link RecommendationsXEvents}
|
|
38
40
|
* {@link RelatedTagsXEvents}
|
|
@@ -44,7 +46,7 @@ import { WireMetadata } from './wiring.types';
|
|
|
44
46
|
*
|
|
45
47
|
* @public
|
|
46
48
|
*/
|
|
47
|
-
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, TaggingXEvents, UrlXEvents {
|
|
49
|
+
export interface XEventsTypes extends DeviceXEvents, EmpathizeXEvents, ExtraParamsXEvents, FacetsXEvents, HistoryQueriesXEvents, IdentifierResultsXEvents, NextQueriesXEvents, PopularSearchesXEvents, QueriesPreviewXEvents, QuerySuggestionsXEvents, RecommendationsXEvents, RelatedTagsXEvents, ScrollXEvents, SearchBoxXEvents, SearchXEvents, TaggingXEvents, UrlXEvents {
|
|
48
50
|
/**
|
|
49
51
|
* The number of columns of a grid has changed.
|
|
50
52
|
* Payload: the columns number.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../src/wiring/events.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE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,MAAM,CAAC;IACrC;;;OAGG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;OAGG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;OAGG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,yBAAyB,EAAE,IAAI,CAAC;IAChC;;;OAGG;IACH,mBAAmB,EAAE,QAAQ,CAAC;IAC9B;;;OAGG;IACH,uBAAuB,EAAE,IAAI,CAAC;IAC9B;;;OAGG;IACH,uBAAuB,EAAE,UAAU,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE;QACvB,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,EAAE,OAAO,CAAC;QACxB,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;QAChC,QAAQ,EAAE,YAAY,CAAC;KACxB,CAAC;CACH;AAED;;;;GAIG;AACH,oBAAY,MAAM,GAAG,MAAM,YAAY,CAAC;AAExC;;;;;GAKG;AACH,oBAAY,SAAS,CAAC,IAAI,IAAI,aAAa,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAEhE;;;;;GAKG;AACH,oBAAY,aAAa,CAAC,KAAK,SAAS,MAAM,IAAI,YAAY,CAAC,KAAK,CAAC,SAAS,IAAI,GAC9E,SAAS,GACT,YAAY,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-module.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/extra-params/x-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"x-module.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/extra-params/x-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAGxD;;;;GAIG;AACH,oBAAY,kBAAkB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAElE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAKhC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dictionary of the events of QueriesPreview XModule, where each key is the event name, and the
|
|
3
|
+
* value is the event payload type or `void` if it has no payload.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface QueriesPreviewXEvents {
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=events.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/queries-preview/events.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/queries-preview/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emitters.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/queries-preview/store/emitters.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,IAAsD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/queries-preview/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/queries-preview/store/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,0BAKxC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { XActionContext, XStoreModule } from '../../../store/index';
|
|
2
|
+
/**
|
|
3
|
+
* QueriesPreview store state.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface QueriesPreviewState {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* QueriesPreview store getters.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export interface QueriesPreviewGetters {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* QueriesPreview store mutations.
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface QueriesPreviewMutations {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* QueriesPreview store actions.
|
|
25
|
+
*
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface QueriesPreviewActions {
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* QueriesPreview type safe store module.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare type QueriesPreviewXStoreModule = XStoreModule<QueriesPreviewState, QueriesPreviewGetters, QueriesPreviewMutations, QueriesPreviewActions>;
|
|
36
|
+
/**
|
|
37
|
+
* Alias type for actions context of the {@link QueriesPreviewXStoreModule}.
|
|
38
|
+
*
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare type QueriesPreviewActionContext = XActionContext<QueriesPreviewState, QueriesPreviewGetters, QueriesPreviewMutations, QueriesPreviewActions>;
|
|
42
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/queries-preview/store/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;CAAG;AAEvC;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;CAAG;AAEzC;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;CAAG;AAE3C;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;CAAG;AAEzC;;;;GAIG;AACH,oBAAY,0BAA0B,GAAG,YAAY,CACnD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC;AAEF;;;;GAIG;AACH,oBAAY,2BAA2B,GAAG,cAAc,CACtD,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wiring.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/queries-preview/wiring.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,IAAmB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { XModule } from '../x-modules.types';
|
|
2
|
+
import { QueriesPreviewXStoreModule } from './store/types';
|
|
3
|
+
/**
|
|
4
|
+
* QueriesPreview {@link XModule} alias.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare type QueriesPreviewXModule = XModule<QueriesPreviewXStoreModule>;
|
|
9
|
+
/**
|
|
10
|
+
* QueriesPreview {@link XModule} implementation. This module is auto-registered as soon as you
|
|
11
|
+
* import any component from the `queries-preview` entry point.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export declare const queriesPreviewXModule: QueriesPreviewXModule;
|
|
16
|
+
//# sourceMappingURL=x-module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-module.d.ts","sourceRoot":"","sources":["../../../../src/x-modules/queries-preview/x-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAG7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAG3D;;;;GAIG;AACH,oBAAY,qBAAqB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC;AAExE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,qBAKnC,CAAC"}
|
|
@@ -9,6 +9,7 @@ import { HistoryQueriesXModule } from './history-queries/x-module';
|
|
|
9
9
|
import { IdentifierResultsXModule } from './identifier-results/x-module';
|
|
10
10
|
import { NextQueriesXModule } from './next-queries/x-module';
|
|
11
11
|
import { PopularSearchesXModule } from './popular-searches/x-module';
|
|
12
|
+
import { QueriesPreviewXModule } from './queries-preview/x-module';
|
|
12
13
|
import { QuerySuggestionsXModule } from './query-suggestions/x-module';
|
|
13
14
|
import { RecommendationsXModule } from './recommendations/x-module';
|
|
14
15
|
import { RelatedTagsXModule } from './related-tags/x-module';
|
|
@@ -31,6 +32,7 @@ export interface XModulesTree {
|
|
|
31
32
|
identifierResults: IdentifierResultsXModule;
|
|
32
33
|
nextQueries: NextQueriesXModule;
|
|
33
34
|
popularSearches: PopularSearchesXModule;
|
|
35
|
+
queriesPreview: QueriesPreviewXModule;
|
|
34
36
|
querySuggestions: QuerySuggestionsXModule;
|
|
35
37
|
recommendations: RecommendationsXModule;
|
|
36
38
|
relatedTags: RelatedTagsXModule;
|
|
@@ -59,8 +61,10 @@ export interface XModule<StoreModule extends AnyXStoreModule> {
|
|
|
59
61
|
storeEmitters: StoreEmitters<StoreModule>;
|
|
60
62
|
/** The Vuex Store module associated to this module. */
|
|
61
63
|
storeModule: StoreModule;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
+
/**
|
|
65
|
+
* The wiring associated to this module. It must only access to the store module of this
|
|
66
|
+
* XModule.
|
|
67
|
+
*/
|
|
64
68
|
wiring: Partial<Wiring>;
|
|
65
69
|
}
|
|
66
70
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x-modules.types.d.ts","sourceRoot":"","sources":["../../../src/x-modules/x-modules.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B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