@empathyco/x-components 6.0.0-alpha.8 → 6.0.0-alpha.9
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 +8 -0
- package/design-system/deprecated-full-theme.css +7024 -7024
- package/docs/API-reference/api/x-types.md +1 -0
- package/docs/API-reference/api/x-types.searchresponse.md +1 -0
- package/docs/API-reference/api/x-types.searchresponse.stats.md +11 -0
- package/docs/API-reference/api/x-types.stats.md +22 -0
- package/docs/API-reference/api/x-types.stats.price.md +14 -0
- package/package.json +4 -4
- package/report/x-types.api.json +73 -0
|
@@ -88,6 +88,7 @@ Entry point to export search-type models and testing schemas in a unified api-ex
|
|
|
88
88
|
| [SimpleFacet](./x-types.simplefacet.md) | Simple facet is a trait for filtering results. It extends from [Facet](./x-types.facet.md)<!-- -->, changes the modelName and uses [SimpleFilter](./x-types.simplefilter.md) as filters. |
|
|
89
89
|
| [SimpleFilter](./x-types.simplefilter.md) | A type of filter used in [SimpleFacet](./x-types.simplefacet.md) and extends from [Filter](./x-types.filter.md)<!-- -->. It can be selected or not. |
|
|
90
90
|
| [SortableRequest](./x-types.sortablerequest.md) | Interface for any Request with sorting. |
|
|
91
|
+
| [Stats](./x-types.stats.md) | <p>Statistics for the current search results.</p><p>Price - interval of the prices of the results.</p> |
|
|
91
92
|
| [Suggestion](./x-types.suggestion.md) | A suggestion represents a query that has been proposed to the user, due of being popular, matching with the current search query... |
|
|
92
93
|
| [Taggable](./x-types.taggable.md) | A taggable entity. |
|
|
93
94
|
| [Tagging](./x-types.tagging.md) | The tagging user actions. |
|
|
@@ -25,5 +25,6 @@ export interface SearchResponse
|
|
|
25
25
|
| [redirections?](./x-types.searchresponse.redirections.md) | | [Redirection](./x-types.redirection.md)<!-- -->\[\] | _(Optional)_ |
|
|
26
26
|
| [results](./x-types.searchresponse.results.md) | | [Result](./x-types.result.md)<!-- -->\[\] | |
|
|
27
27
|
| [spellcheck?](./x-types.searchresponse.spellcheck.md) | | string | _(Optional)_ |
|
|
28
|
+
| [stats?](./x-types.searchresponse.stats.md) | | [Stats](./x-types.stats.md) | _(Optional)_ |
|
|
28
29
|
| [totalResults](./x-types.searchresponse.totalresults.md) | | number | |
|
|
29
30
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [SearchResponse](./x-types.searchresponse.md) > [stats](./x-types.searchresponse.stats.md)
|
|
4
|
+
|
|
5
|
+
## SearchResponse.stats property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
stats?: Stats;
|
|
11
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [Stats](./x-types.stats.md)
|
|
4
|
+
|
|
5
|
+
## Stats interface
|
|
6
|
+
|
|
7
|
+
Statistics for the current search results.
|
|
8
|
+
|
|
9
|
+
Price - interval of the prices of the results.
|
|
10
|
+
|
|
11
|
+
**Signature:**
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
export interface Stats
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Properties
|
|
18
|
+
|
|
19
|
+
| Property | Modifiers | Type | Description |
|
|
20
|
+
| --- | --- | --- | --- |
|
|
21
|
+
| [price](./x-types.stats.price.md) | | { min: number; max: number; } | |
|
|
22
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [Stats](./x-types.stats.md) > [price](./x-types.stats.price.md)
|
|
4
|
+
|
|
5
|
+
## Stats.price property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
price: {
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
};
|
|
14
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.9",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@empathyco/x-adapter": "^8.1.0-alpha.0",
|
|
73
|
-
"@empathyco/x-adapter-platform": "^1.1.0-alpha.
|
|
73
|
+
"@empathyco/x-adapter-platform": "^1.1.0-alpha.7",
|
|
74
74
|
"@empathyco/x-bus": "^1.0.3-alpha.1",
|
|
75
75
|
"@empathyco/x-deep-merge": "^2.0.3-alpha.1",
|
|
76
76
|
"@empathyco/x-logger": "^1.2.0-alpha.11",
|
|
77
77
|
"@empathyco/x-storage-service": "^2.0.3-alpha.0",
|
|
78
|
-
"@empathyco/x-types": "^10.1.0-alpha.
|
|
78
|
+
"@empathyco/x-types": "^10.1.0-alpha.5",
|
|
79
79
|
"@empathyco/x-utils": "^1.0.3-alpha.1",
|
|
80
80
|
"@vue/devtools-api": "~6.5.0",
|
|
81
81
|
"@vueuse/core": "~10.7.1",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"access": "public",
|
|
138
138
|
"directory": "dist"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "c20f050dd0d59725bfed3c3774b9485e20a00b0d"
|
|
141
141
|
}
|
package/report/x-types.api.json
CHANGED
|
@@ -6008,6 +6008,34 @@
|
|
|
6008
6008
|
"endIndex": 2
|
|
6009
6009
|
}
|
|
6010
6010
|
},
|
|
6011
|
+
{
|
|
6012
|
+
"kind": "PropertySignature",
|
|
6013
|
+
"canonicalReference": "@empathyco/x-types!SearchResponse#stats:member",
|
|
6014
|
+
"docComment": "",
|
|
6015
|
+
"excerptTokens": [
|
|
6016
|
+
{
|
|
6017
|
+
"kind": "Content",
|
|
6018
|
+
"text": "stats?: "
|
|
6019
|
+
},
|
|
6020
|
+
{
|
|
6021
|
+
"kind": "Reference",
|
|
6022
|
+
"text": "Stats",
|
|
6023
|
+
"canonicalReference": "@empathyco/x-types!Stats:interface"
|
|
6024
|
+
},
|
|
6025
|
+
{
|
|
6026
|
+
"kind": "Content",
|
|
6027
|
+
"text": ";"
|
|
6028
|
+
}
|
|
6029
|
+
],
|
|
6030
|
+
"isReadonly": false,
|
|
6031
|
+
"isOptional": true,
|
|
6032
|
+
"releaseTag": "Public",
|
|
6033
|
+
"name": "stats",
|
|
6034
|
+
"propertyTypeTokenRange": {
|
|
6035
|
+
"startIndex": 1,
|
|
6036
|
+
"endIndex": 2
|
|
6037
|
+
}
|
|
6038
|
+
},
|
|
6011
6039
|
{
|
|
6012
6040
|
"kind": "PropertySignature",
|
|
6013
6041
|
"canonicalReference": "@empathyco/x-types!SearchResponse#totalResults:member",
|
|
@@ -6516,6 +6544,51 @@
|
|
|
6516
6544
|
],
|
|
6517
6545
|
"extendsTokenRanges": []
|
|
6518
6546
|
},
|
|
6547
|
+
{
|
|
6548
|
+
"kind": "Interface",
|
|
6549
|
+
"canonicalReference": "@empathyco/x-types!Stats:interface",
|
|
6550
|
+
"docComment": "/**\n * Statistics for the current search results.\n *\n * Price - interval of the prices of the results.\n *\n * @public\n */\n",
|
|
6551
|
+
"excerptTokens": [
|
|
6552
|
+
{
|
|
6553
|
+
"kind": "Content",
|
|
6554
|
+
"text": "export interface Stats "
|
|
6555
|
+
}
|
|
6556
|
+
],
|
|
6557
|
+
"fileUrlPath": "src/stats.model.ts",
|
|
6558
|
+
"releaseTag": "Public",
|
|
6559
|
+
"name": "Stats",
|
|
6560
|
+
"preserveMemberOrder": false,
|
|
6561
|
+
"members": [
|
|
6562
|
+
{
|
|
6563
|
+
"kind": "PropertySignature",
|
|
6564
|
+
"canonicalReference": "@empathyco/x-types!Stats#price:member",
|
|
6565
|
+
"docComment": "",
|
|
6566
|
+
"excerptTokens": [
|
|
6567
|
+
{
|
|
6568
|
+
"kind": "Content",
|
|
6569
|
+
"text": "price: "
|
|
6570
|
+
},
|
|
6571
|
+
{
|
|
6572
|
+
"kind": "Content",
|
|
6573
|
+
"text": "{\n min: number;\n max: number;\n }"
|
|
6574
|
+
},
|
|
6575
|
+
{
|
|
6576
|
+
"kind": "Content",
|
|
6577
|
+
"text": ";"
|
|
6578
|
+
}
|
|
6579
|
+
],
|
|
6580
|
+
"isReadonly": false,
|
|
6581
|
+
"isOptional": false,
|
|
6582
|
+
"releaseTag": "Public",
|
|
6583
|
+
"name": "price",
|
|
6584
|
+
"propertyTypeTokenRange": {
|
|
6585
|
+
"startIndex": 1,
|
|
6586
|
+
"endIndex": 2
|
|
6587
|
+
}
|
|
6588
|
+
}
|
|
6589
|
+
],
|
|
6590
|
+
"extendsTokenRanges": []
|
|
6591
|
+
},
|
|
6519
6592
|
{
|
|
6520
6593
|
"kind": "Interface",
|
|
6521
6594
|
"canonicalReference": "@empathyco/x-types!Suggestion:interface",
|