@empathyco/x-components 3.0.0-alpha.146 → 3.0.0-alpha.149
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 +45 -0
- package/core/index.js +1 -1
- package/core/index.js.map +1 -1
- package/design-system/default-theme.css +73 -73
- package/design-system/full-theme.css +4 -5
- package/docs/API-reference/api/x-adapter-platform.md +0 -1
- package/docs/API-reference/api/x-adapter-platform.searchresponsemapper.md +1 -11
- package/docs/API-reference/api/x-components.facetsmutations.md +1 -1
- package/docs/API-reference/api/x-components.facetsmutations.mutatefilter.md +24 -0
- package/docs/API-reference/api/x-components.flathierarchicalfilters.md +26 -0
- package/docs/API-reference/api/x-components.md +3 -0
- package/docs/API-reference/api/x-components.mutatefilterpayload.filter.md +13 -0
- package/docs/API-reference/api/x-components.mutatefilterpayload.md +21 -0
- package/docs/API-reference/api/x-components.mutatefilterpayload.newfilterstate.md +13 -0
- package/docs/API-reference/api/x-components.nextquerieslist.injectedquery.md +13 -0
- package/docs/API-reference/api/x-components.nextquerieslist.md +1 -0
- package/docs/API-reference/api/x-components.nextquerypreview.md +29 -0
- package/docs/API-reference/api/x-components.nextquerypreview.mounted.md +17 -0
- package/docs/API-reference/api/x-components.nextquerypreview.previewresults.md +13 -0
- package/docs/API-reference/api/x-components.nextquerypreview.suggestion.md +13 -0
- package/docs/API-reference/api/x-components.nextquerypreview.suggestionresults.md +13 -0
- package/docs/API-reference/api/x-components.resultslist.md +9 -0
- package/docs/API-reference/api/x-components.resultslist.providedquery.md +13 -0
- package/docs/API-reference/api/x-components.resultslist.searchquery.md +13 -0
- package/docs/API-reference/api/x-components.resultslist.searchstatus.md +13 -0
- package/docs/API-reference/api/x-components.resultslist.updatequery.md +24 -0
- package/docs/API-reference/api/x-types.hierarchicalfilter.children.md +2 -2
- package/docs/API-reference/api/x-types.hierarchicalfilter.md +2 -2
- package/docs/API-reference/api/x-types.hierarchicalfilter.parentid.md +1 -1
- package/docs/API-reference/components/next-queries/x-components.next-query-preview.md +155 -0
- package/facets/index.js +1 -1
- package/js/components/base-grid.vue.js +2 -2
- package/js/components/base-grid.vue.js.map +1 -1
- package/js/components/decorators/injection.consts.js +8 -2
- package/js/components/decorators/injection.consts.js.map +1 -1
- package/js/index.js +4 -3
- package/js/index.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue.js +2 -2
- package/js/x-modules/facets/components/facets/facets-provider.vue.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue_script.vue.js +7 -2
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue_script.vue.js +2 -130
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/facets/entities/editable-number-range-filter.entity.js +11 -10
- package/js/x-modules/facets/entities/editable-number-range-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js +9 -11
- package/js/x-modules/facets/entities/hierarchical-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/number-range-filter.entity.js +2 -2
- package/js/x-modules/facets/entities/number-range-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/raw-filter.entity.js +1 -1
- package/js/x-modules/facets/entities/raw-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/simple-filter.entity.js +2 -2
- package/js/x-modules/facets/entities/simple-filter.entity.js.map +1 -1
- package/js/x-modules/facets/entities/single-select.modifier.js +2 -2
- package/js/x-modules/facets/entities/single-select.modifier.js.map +1 -1
- package/js/x-modules/facets/service/facets.service.js +18 -2
- package/js/x-modules/facets/service/facets.service.js.map +1 -1
- package/js/x-modules/facets/store/module.js +4 -3
- package/js/x-modules/facets/store/module.js.map +1 -1
- package/js/x-modules/facets/utils.js +16 -1
- package/js/x-modules/facets/utils.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue_script.vue.js +19 -0
- package/js/x-modules/next-queries/components/next-queries-list.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/next-queries/components/next-query-preview.vue.js +94 -0
- package/js/x-modules/next-queries/components/next-query-preview.vue.js.map +1 -0
- package/js/x-modules/next-queries/components/next-query-preview.vue_rollup-plugin-vue_script.vue.js +48 -0
- package/js/x-modules/next-queries/components/next-query-preview.vue_rollup-plugin-vue_script.vue.js.map +1 -0
- package/js/x-modules/next-queries/store/actions/fetch-and-save-next-query-preview.action.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue.js.map +1 -1
- package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue_script.vue.js +33 -2
- package/js/x-modules/search/components/results-list.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue.js +54 -45
- package/js/x-modules/search-box/components/search-input.vue.js.map +1 -1
- package/js/x-modules/search-box/components/search-input.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/next-queries/index.js +2 -1
- package/package.json +4 -4
- package/report/x-adapter-platform.api.json +5 -133
- package/report/x-components.api.json +491 -45
- package/report/x-components.api.md +32 -5
- package/report/x-types.api.json +5 -5
- package/types/components/decorators/injection.consts.d.ts +6 -0
- package/types/components/decorators/injection.consts.d.ts.map +1 -1
- package/types/x-modules/facets/components/facets/facets-provider.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +0 -6
- package/types/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/entities/editable-number-range-filter.entity.d.ts +1 -1
- package/types/x-modules/facets/entities/editable-number-range-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts +2 -1
- package/types/x-modules/facets/entities/hierarchical-filter.entity.d.ts.map +1 -1
- package/types/x-modules/facets/entities/single-select.modifier.d.ts.map +1 -1
- package/types/x-modules/facets/service/facets.service.d.ts +13 -0
- package/types/x-modules/facets/service/facets.service.d.ts.map +1 -1
- package/types/x-modules/facets/store/module.d.ts.map +1 -1
- package/types/x-modules/facets/store/types.d.ts +22 -6
- package/types/x-modules/facets/store/types.d.ts.map +1 -1
- package/types/x-modules/facets/utils.d.ts +11 -0
- package/types/x-modules/facets/utils.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/index.d.ts +2 -1
- package/types/x-modules/next-queries/components/index.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts +11 -0
- package/types/x-modules/next-queries/components/next-queries-list.vue.d.ts.map +1 -1
- package/types/x-modules/next-queries/components/next-query-preview.vue.d.ts +35 -0
- package/types/x-modules/next-queries/components/next-query-preview.vue.d.ts.map +1 -0
- package/types/x-modules/search/components/results-list.vue.d.ts +21 -0
- package/types/x-modules/search/components/results-list.vue.d.ts.map +1 -1
- package/types/x-modules/search-box/components/search-input.vue.d.ts.map +1 -1
- package/docs/API-reference/api/x-adapter-platform.searchresponsefacetsmapper.md +0 -27
- package/docs/API-reference/api/x-components.facetsmutations.setfilter.md +0 -24
|
@@ -13794,6 +13794,51 @@
|
|
|
13794
13794
|
"releaseTag": "Public",
|
|
13795
13795
|
"name": "FacetsMutations",
|
|
13796
13796
|
"members": [
|
|
13797
|
+
{
|
|
13798
|
+
"kind": "MethodSignature",
|
|
13799
|
+
"canonicalReference": "@empathyco/x-components!FacetsMutations#mutateFilter:member(1)",
|
|
13800
|
+
"docComment": "/**\n * Updates the state of a filter.\n *\n * @param payload - An object containing the filter to update, and the properties to modify.\n */\n",
|
|
13801
|
+
"excerptTokens": [
|
|
13802
|
+
{
|
|
13803
|
+
"kind": "Content",
|
|
13804
|
+
"text": "mutateFilter(payload: "
|
|
13805
|
+
},
|
|
13806
|
+
{
|
|
13807
|
+
"kind": "Reference",
|
|
13808
|
+
"text": "MutateFilterPayload",
|
|
13809
|
+
"canonicalReference": "@empathyco/x-components!MutateFilterPayload:interface"
|
|
13810
|
+
},
|
|
13811
|
+
{
|
|
13812
|
+
"kind": "Content",
|
|
13813
|
+
"text": "): "
|
|
13814
|
+
},
|
|
13815
|
+
{
|
|
13816
|
+
"kind": "Content",
|
|
13817
|
+
"text": "void"
|
|
13818
|
+
},
|
|
13819
|
+
{
|
|
13820
|
+
"kind": "Content",
|
|
13821
|
+
"text": ";"
|
|
13822
|
+
}
|
|
13823
|
+
],
|
|
13824
|
+
"isOptional": false,
|
|
13825
|
+
"returnTypeTokenRange": {
|
|
13826
|
+
"startIndex": 3,
|
|
13827
|
+
"endIndex": 4
|
|
13828
|
+
},
|
|
13829
|
+
"releaseTag": "Public",
|
|
13830
|
+
"overloadIndex": 1,
|
|
13831
|
+
"parameters": [
|
|
13832
|
+
{
|
|
13833
|
+
"parameterName": "payload",
|
|
13834
|
+
"parameterTypeTokenRange": {
|
|
13835
|
+
"startIndex": 1,
|
|
13836
|
+
"endIndex": 2
|
|
13837
|
+
}
|
|
13838
|
+
}
|
|
13839
|
+
],
|
|
13840
|
+
"name": "mutateFilter"
|
|
13841
|
+
},
|
|
13797
13842
|
{
|
|
13798
13843
|
"kind": "MethodSignature",
|
|
13799
13844
|
"canonicalReference": "@empathyco/x-components!FacetsMutations#removeFacet:member(1)",
|
|
@@ -14023,51 +14068,6 @@
|
|
|
14023
14068
|
],
|
|
14024
14069
|
"name": "setFacetGroup"
|
|
14025
14070
|
},
|
|
14026
|
-
{
|
|
14027
|
-
"kind": "MethodSignature",
|
|
14028
|
-
"canonicalReference": "@empathyco/x-components!FacetsMutations#setFilter:member(1)",
|
|
14029
|
-
"docComment": "/**\n * Adds the filter to the {@link FacetsState.filters | filters} record.\n *\n * @param filter - The filter to add.\n */\n",
|
|
14030
|
-
"excerptTokens": [
|
|
14031
|
-
{
|
|
14032
|
-
"kind": "Content",
|
|
14033
|
-
"text": "setFilter(filter: "
|
|
14034
|
-
},
|
|
14035
|
-
{
|
|
14036
|
-
"kind": "Reference",
|
|
14037
|
-
"text": "Filter",
|
|
14038
|
-
"canonicalReference": "@empathyco/x-components!Filter:interface"
|
|
14039
|
-
},
|
|
14040
|
-
{
|
|
14041
|
-
"kind": "Content",
|
|
14042
|
-
"text": "): "
|
|
14043
|
-
},
|
|
14044
|
-
{
|
|
14045
|
-
"kind": "Content",
|
|
14046
|
-
"text": "void"
|
|
14047
|
-
},
|
|
14048
|
-
{
|
|
14049
|
-
"kind": "Content",
|
|
14050
|
-
"text": ";"
|
|
14051
|
-
}
|
|
14052
|
-
],
|
|
14053
|
-
"isOptional": false,
|
|
14054
|
-
"returnTypeTokenRange": {
|
|
14055
|
-
"startIndex": 3,
|
|
14056
|
-
"endIndex": 4
|
|
14057
|
-
},
|
|
14058
|
-
"releaseTag": "Public",
|
|
14059
|
-
"overloadIndex": 1,
|
|
14060
|
-
"parameters": [
|
|
14061
|
-
{
|
|
14062
|
-
"parameterName": "filter",
|
|
14063
|
-
"parameterTypeTokenRange": {
|
|
14064
|
-
"startIndex": 1,
|
|
14065
|
-
"endIndex": 2
|
|
14066
|
-
}
|
|
14067
|
-
}
|
|
14068
|
-
],
|
|
14069
|
-
"name": "setFilter"
|
|
14070
|
-
},
|
|
14071
14071
|
{
|
|
14072
14072
|
"kind": "MethodSignature",
|
|
14073
14073
|
"canonicalReference": "@empathyco/x-components!FacetsMutations#setFilters:member(1)",
|
|
@@ -17771,6 +17771,59 @@
|
|
|
17771
17771
|
},
|
|
17772
17772
|
"implementsTokenRanges": []
|
|
17773
17773
|
},
|
|
17774
|
+
{
|
|
17775
|
+
"kind": "Function",
|
|
17776
|
+
"canonicalReference": "@empathyco/x-components!flatHierarchicalFilters:function(1)",
|
|
17777
|
+
"docComment": "/**\n * This function flattens the Hierarchical Filters, returning an array with all filters including the children.\n *\n * @param hierarchicalFilters - The list of Hierarchical Filters to flatten.\n *\n * @returns An array with all the Hierarchical filters.\n *\n * @public\n */\n",
|
|
17778
|
+
"excerptTokens": [
|
|
17779
|
+
{
|
|
17780
|
+
"kind": "Content",
|
|
17781
|
+
"text": "export declare function flatHierarchicalFilters(hierarchicalFilters: "
|
|
17782
|
+
},
|
|
17783
|
+
{
|
|
17784
|
+
"kind": "Reference",
|
|
17785
|
+
"text": "HierarchicalFilter",
|
|
17786
|
+
"canonicalReference": "@empathyco/x-components!HierarchicalFilter:interface"
|
|
17787
|
+
},
|
|
17788
|
+
{
|
|
17789
|
+
"kind": "Content",
|
|
17790
|
+
"text": "[]"
|
|
17791
|
+
},
|
|
17792
|
+
{
|
|
17793
|
+
"kind": "Content",
|
|
17794
|
+
"text": "): "
|
|
17795
|
+
},
|
|
17796
|
+
{
|
|
17797
|
+
"kind": "Reference",
|
|
17798
|
+
"text": "HierarchicalFilter",
|
|
17799
|
+
"canonicalReference": "@empathyco/x-components!HierarchicalFilter:interface"
|
|
17800
|
+
},
|
|
17801
|
+
{
|
|
17802
|
+
"kind": "Content",
|
|
17803
|
+
"text": "[]"
|
|
17804
|
+
},
|
|
17805
|
+
{
|
|
17806
|
+
"kind": "Content",
|
|
17807
|
+
"text": ";"
|
|
17808
|
+
}
|
|
17809
|
+
],
|
|
17810
|
+
"returnTypeTokenRange": {
|
|
17811
|
+
"startIndex": 4,
|
|
17812
|
+
"endIndex": 6
|
|
17813
|
+
},
|
|
17814
|
+
"releaseTag": "Public",
|
|
17815
|
+
"overloadIndex": 1,
|
|
17816
|
+
"parameters": [
|
|
17817
|
+
{
|
|
17818
|
+
"parameterName": "hierarchicalFilters",
|
|
17819
|
+
"parameterTypeTokenRange": {
|
|
17820
|
+
"startIndex": 1,
|
|
17821
|
+
"endIndex": 3
|
|
17822
|
+
}
|
|
17823
|
+
}
|
|
17824
|
+
],
|
|
17825
|
+
"name": "flatHierarchicalFilters"
|
|
17826
|
+
},
|
|
17774
17827
|
{
|
|
17775
17828
|
"kind": "Function",
|
|
17776
17829
|
"canonicalReference": "@empathyco/x-components!getRootXComponent:function(1)",
|
|
@@ -24076,6 +24129,89 @@
|
|
|
24076
24129
|
},
|
|
24077
24130
|
"implementsTokenRanges": []
|
|
24078
24131
|
},
|
|
24132
|
+
{
|
|
24133
|
+
"kind": "Interface",
|
|
24134
|
+
"canonicalReference": "@empathyco/x-components!MutateFilterPayload:interface",
|
|
24135
|
+
"docComment": "/**\n * Payload to use in the `mutateFilter` mutation.\n *\n * @public\n */\n",
|
|
24136
|
+
"excerptTokens": [
|
|
24137
|
+
{
|
|
24138
|
+
"kind": "Content",
|
|
24139
|
+
"text": "export interface MutateFilterPayload "
|
|
24140
|
+
}
|
|
24141
|
+
],
|
|
24142
|
+
"releaseTag": "Public",
|
|
24143
|
+
"name": "MutateFilterPayload",
|
|
24144
|
+
"members": [
|
|
24145
|
+
{
|
|
24146
|
+
"kind": "PropertySignature",
|
|
24147
|
+
"canonicalReference": "@empathyco/x-components!MutateFilterPayload#filter:member",
|
|
24148
|
+
"docComment": "/**\n * The filter to modify. If it does not belong to the store it will be added.\n */\n",
|
|
24149
|
+
"excerptTokens": [
|
|
24150
|
+
{
|
|
24151
|
+
"kind": "Content",
|
|
24152
|
+
"text": "filter: "
|
|
24153
|
+
},
|
|
24154
|
+
{
|
|
24155
|
+
"kind": "Reference",
|
|
24156
|
+
"text": "Filter",
|
|
24157
|
+
"canonicalReference": "@empathyco/x-components!Filter:interface"
|
|
24158
|
+
},
|
|
24159
|
+
{
|
|
24160
|
+
"kind": "Content",
|
|
24161
|
+
"text": ";"
|
|
24162
|
+
}
|
|
24163
|
+
],
|
|
24164
|
+
"isOptional": false,
|
|
24165
|
+
"releaseTag": "Public",
|
|
24166
|
+
"name": "filter",
|
|
24167
|
+
"propertyTypeTokenRange": {
|
|
24168
|
+
"startIndex": 1,
|
|
24169
|
+
"endIndex": 2
|
|
24170
|
+
}
|
|
24171
|
+
},
|
|
24172
|
+
{
|
|
24173
|
+
"kind": "PropertySignature",
|
|
24174
|
+
"canonicalReference": "@empathyco/x-components!MutateFilterPayload#newFilterState:member",
|
|
24175
|
+
"docComment": "/**\n * The new fields values to modify in the filter.\n */\n",
|
|
24176
|
+
"excerptTokens": [
|
|
24177
|
+
{
|
|
24178
|
+
"kind": "Content",
|
|
24179
|
+
"text": "newFilterState: "
|
|
24180
|
+
},
|
|
24181
|
+
{
|
|
24182
|
+
"kind": "Reference",
|
|
24183
|
+
"text": "Partial",
|
|
24184
|
+
"canonicalReference": "!Partial:type"
|
|
24185
|
+
},
|
|
24186
|
+
{
|
|
24187
|
+
"kind": "Content",
|
|
24188
|
+
"text": "<"
|
|
24189
|
+
},
|
|
24190
|
+
{
|
|
24191
|
+
"kind": "Reference",
|
|
24192
|
+
"text": "Filter",
|
|
24193
|
+
"canonicalReference": "@empathyco/x-components!Filter:interface"
|
|
24194
|
+
},
|
|
24195
|
+
{
|
|
24196
|
+
"kind": "Content",
|
|
24197
|
+
"text": ">"
|
|
24198
|
+
},
|
|
24199
|
+
{
|
|
24200
|
+
"kind": "Content",
|
|
24201
|
+
"text": ";"
|
|
24202
|
+
}
|
|
24203
|
+
],
|
|
24204
|
+
"isOptional": false,
|
|
24205
|
+
"releaseTag": "Public",
|
|
24206
|
+
"name": "newFilterState",
|
|
24207
|
+
"propertyTypeTokenRange": {
|
|
24208
|
+
"startIndex": 1,
|
|
24209
|
+
"endIndex": 5
|
|
24210
|
+
}
|
|
24211
|
+
}
|
|
24212
|
+
],
|
|
24213
|
+
"extendsTokenRanges": []
|
|
24214
|
+
},
|
|
24079
24215
|
{
|
|
24080
24216
|
"kind": "TypeAlias",
|
|
24081
24217
|
"canonicalReference": "@empathyco/x-components!MutationNamesFor:type",
|
|
@@ -26561,6 +26697,33 @@
|
|
|
26561
26697
|
},
|
|
26562
26698
|
"isStatic": false
|
|
26563
26699
|
},
|
|
26700
|
+
{
|
|
26701
|
+
"kind": "Property",
|
|
26702
|
+
"canonicalReference": "@empathyco/x-components!NextQueriesList#injectedQuery:member",
|
|
26703
|
+
"docComment": "/**\n * Injected query, updated when the related request(s) have succeeded.\n */\n",
|
|
26704
|
+
"excerptTokens": [
|
|
26705
|
+
{
|
|
26706
|
+
"kind": "Content",
|
|
26707
|
+
"text": "injectedQuery: "
|
|
26708
|
+
},
|
|
26709
|
+
{
|
|
26710
|
+
"kind": "Content",
|
|
26711
|
+
"text": "string | undefined"
|
|
26712
|
+
},
|
|
26713
|
+
{
|
|
26714
|
+
"kind": "Content",
|
|
26715
|
+
"text": ";"
|
|
26716
|
+
}
|
|
26717
|
+
],
|
|
26718
|
+
"isOptional": false,
|
|
26719
|
+
"releaseTag": "Public",
|
|
26720
|
+
"name": "injectedQuery",
|
|
26721
|
+
"propertyTypeTokenRange": {
|
|
26722
|
+
"startIndex": 1,
|
|
26723
|
+
"endIndex": 2
|
|
26724
|
+
},
|
|
26725
|
+
"isStatic": false
|
|
26726
|
+
},
|
|
26564
26727
|
{
|
|
26565
26728
|
"kind": "Property",
|
|
26566
26729
|
"canonicalReference": "@empathyco/x-components!NextQueriesList#maxGroups:member",
|
|
@@ -27638,6 +27801,161 @@
|
|
|
27638
27801
|
},
|
|
27639
27802
|
"implementsTokenRanges": []
|
|
27640
27803
|
},
|
|
27804
|
+
{
|
|
27805
|
+
"kind": "Class",
|
|
27806
|
+
"canonicalReference": "@empathyco/x-components!NextQueryPreview:class",
|
|
27807
|
+
"docComment": "/**\n * Retrieves a preview of the results of a next query and exposes them in the default slot, along with the next query and the totalResults of the search request. By default, it renders the names of the results.\n *\n * @public\n */\n",
|
|
27808
|
+
"excerptTokens": [
|
|
27809
|
+
{
|
|
27810
|
+
"kind": "Content",
|
|
27811
|
+
"text": "export default class NextQueryPreview extends "
|
|
27812
|
+
},
|
|
27813
|
+
{
|
|
27814
|
+
"kind": "Reference",
|
|
27815
|
+
"text": "Vue",
|
|
27816
|
+
"canonicalReference": "vue!Vue:interface"
|
|
27817
|
+
},
|
|
27818
|
+
{
|
|
27819
|
+
"kind": "Content",
|
|
27820
|
+
"text": " "
|
|
27821
|
+
}
|
|
27822
|
+
],
|
|
27823
|
+
"releaseTag": "Public",
|
|
27824
|
+
"name": "NextQueryPreview",
|
|
27825
|
+
"members": [
|
|
27826
|
+
{
|
|
27827
|
+
"kind": "Method",
|
|
27828
|
+
"canonicalReference": "@empathyco/x-components!NextQueryPreview#mounted:member(1)",
|
|
27829
|
+
"docComment": "/**\n * The component emits the NextQueryPreviewMounted event to retrieve the results preview of the next query.\n */\n",
|
|
27830
|
+
"excerptTokens": [
|
|
27831
|
+
{
|
|
27832
|
+
"kind": "Content",
|
|
27833
|
+
"text": "mounted(): "
|
|
27834
|
+
},
|
|
27835
|
+
{
|
|
27836
|
+
"kind": "Content",
|
|
27837
|
+
"text": "void"
|
|
27838
|
+
},
|
|
27839
|
+
{
|
|
27840
|
+
"kind": "Content",
|
|
27841
|
+
"text": ";"
|
|
27842
|
+
}
|
|
27843
|
+
],
|
|
27844
|
+
"isOptional": false,
|
|
27845
|
+
"isStatic": false,
|
|
27846
|
+
"returnTypeTokenRange": {
|
|
27847
|
+
"startIndex": 1,
|
|
27848
|
+
"endIndex": 2
|
|
27849
|
+
},
|
|
27850
|
+
"releaseTag": "Public",
|
|
27851
|
+
"overloadIndex": 1,
|
|
27852
|
+
"parameters": [],
|
|
27853
|
+
"name": "mounted"
|
|
27854
|
+
},
|
|
27855
|
+
{
|
|
27856
|
+
"kind": "Property",
|
|
27857
|
+
"canonicalReference": "@empathyco/x-components!NextQueryPreview#previewResults:member",
|
|
27858
|
+
"docComment": "/**\n * The results preview of the next queries mounted. It is a dictionary, indexed by the next query query.\n */\n",
|
|
27859
|
+
"excerptTokens": [
|
|
27860
|
+
{
|
|
27861
|
+
"kind": "Content",
|
|
27862
|
+
"text": "previewResults: "
|
|
27863
|
+
},
|
|
27864
|
+
{
|
|
27865
|
+
"kind": "Reference",
|
|
27866
|
+
"text": "Dictionary",
|
|
27867
|
+
"canonicalReference": "@empathyco/x-utils!Dictionary:type"
|
|
27868
|
+
},
|
|
27869
|
+
{
|
|
27870
|
+
"kind": "Content",
|
|
27871
|
+
"text": "<"
|
|
27872
|
+
},
|
|
27873
|
+
{
|
|
27874
|
+
"kind": "Reference",
|
|
27875
|
+
"text": "PreviewResults",
|
|
27876
|
+
"canonicalReference": "@empathyco/x-components!PreviewResults:interface"
|
|
27877
|
+
},
|
|
27878
|
+
{
|
|
27879
|
+
"kind": "Content",
|
|
27880
|
+
"text": ">"
|
|
27881
|
+
},
|
|
27882
|
+
{
|
|
27883
|
+
"kind": "Content",
|
|
27884
|
+
"text": ";"
|
|
27885
|
+
}
|
|
27886
|
+
],
|
|
27887
|
+
"isOptional": false,
|
|
27888
|
+
"releaseTag": "Public",
|
|
27889
|
+
"name": "previewResults",
|
|
27890
|
+
"propertyTypeTokenRange": {
|
|
27891
|
+
"startIndex": 1,
|
|
27892
|
+
"endIndex": 5
|
|
27893
|
+
},
|
|
27894
|
+
"isStatic": false
|
|
27895
|
+
},
|
|
27896
|
+
{
|
|
27897
|
+
"kind": "Property",
|
|
27898
|
+
"canonicalReference": "@empathyco/x-components!NextQueryPreview#suggestion:member",
|
|
27899
|
+
"docComment": "/**\n * The next query to retrieve the results preview.\n *\n * @public\n */\n",
|
|
27900
|
+
"excerptTokens": [
|
|
27901
|
+
{
|
|
27902
|
+
"kind": "Content",
|
|
27903
|
+
"text": "protected suggestion: "
|
|
27904
|
+
},
|
|
27905
|
+
{
|
|
27906
|
+
"kind": "Reference",
|
|
27907
|
+
"text": "NextQuery",
|
|
27908
|
+
"canonicalReference": "@empathyco/x-components!NextQuery:interface"
|
|
27909
|
+
},
|
|
27910
|
+
{
|
|
27911
|
+
"kind": "Content",
|
|
27912
|
+
"text": ";"
|
|
27913
|
+
}
|
|
27914
|
+
],
|
|
27915
|
+
"isOptional": false,
|
|
27916
|
+
"releaseTag": "Public",
|
|
27917
|
+
"name": "suggestion",
|
|
27918
|
+
"propertyTypeTokenRange": {
|
|
27919
|
+
"startIndex": 1,
|
|
27920
|
+
"endIndex": 2
|
|
27921
|
+
},
|
|
27922
|
+
"isStatic": false
|
|
27923
|
+
},
|
|
27924
|
+
{
|
|
27925
|
+
"kind": "Property",
|
|
27926
|
+
"canonicalReference": "@empathyco/x-components!NextQueryPreview#suggestionResults:member",
|
|
27927
|
+
"docComment": "/**\n * Gets from the state the results preview of the next query.\n *\n * @returns The results preview of the actual next query.\n */\n",
|
|
27928
|
+
"excerptTokens": [
|
|
27929
|
+
{
|
|
27930
|
+
"kind": "Content",
|
|
27931
|
+
"text": "get suggestionResults(): "
|
|
27932
|
+
},
|
|
27933
|
+
{
|
|
27934
|
+
"kind": "Reference",
|
|
27935
|
+
"text": "PreviewResults",
|
|
27936
|
+
"canonicalReference": "@empathyco/x-components!PreviewResults:interface"
|
|
27937
|
+
},
|
|
27938
|
+
{
|
|
27939
|
+
"kind": "Content",
|
|
27940
|
+
"text": ";"
|
|
27941
|
+
}
|
|
27942
|
+
],
|
|
27943
|
+
"isOptional": false,
|
|
27944
|
+
"releaseTag": "Public",
|
|
27945
|
+
"name": "suggestionResults",
|
|
27946
|
+
"propertyTypeTokenRange": {
|
|
27947
|
+
"startIndex": 1,
|
|
27948
|
+
"endIndex": 2
|
|
27949
|
+
},
|
|
27950
|
+
"isStatic": false
|
|
27951
|
+
}
|
|
27952
|
+
],
|
|
27953
|
+
"extendsTokenRange": {
|
|
27954
|
+
"startIndex": 1,
|
|
27955
|
+
"endIndex": 3
|
|
27956
|
+
},
|
|
27957
|
+
"implementsTokenRanges": []
|
|
27958
|
+
},
|
|
27641
27959
|
{
|
|
27642
27960
|
"kind": "TypeAlias",
|
|
27643
27961
|
"canonicalReference": "@empathyco/x-components!NiladicFunction:type",
|
|
@@ -35056,6 +35374,134 @@
|
|
|
35056
35374
|
"endIndex": 3
|
|
35057
35375
|
},
|
|
35058
35376
|
"isStatic": false
|
|
35377
|
+
},
|
|
35378
|
+
{
|
|
35379
|
+
"kind": "Property",
|
|
35380
|
+
"canonicalReference": "@empathyco/x-components!ResultsList#providedQuery:member",
|
|
35381
|
+
"docComment": "/**\n * It provides the search query. This query is updated only when the search request has succeeded.\n */\n",
|
|
35382
|
+
"excerptTokens": [
|
|
35383
|
+
{
|
|
35384
|
+
"kind": "Content",
|
|
35385
|
+
"text": "providedQuery: "
|
|
35386
|
+
},
|
|
35387
|
+
{
|
|
35388
|
+
"kind": "Content",
|
|
35389
|
+
"text": "string"
|
|
35390
|
+
},
|
|
35391
|
+
{
|
|
35392
|
+
"kind": "Content",
|
|
35393
|
+
"text": ";"
|
|
35394
|
+
}
|
|
35395
|
+
],
|
|
35396
|
+
"isOptional": false,
|
|
35397
|
+
"releaseTag": "Public",
|
|
35398
|
+
"name": "providedQuery",
|
|
35399
|
+
"propertyTypeTokenRange": {
|
|
35400
|
+
"startIndex": 1,
|
|
35401
|
+
"endIndex": 2
|
|
35402
|
+
},
|
|
35403
|
+
"isStatic": false
|
|
35404
|
+
},
|
|
35405
|
+
{
|
|
35406
|
+
"kind": "Property",
|
|
35407
|
+
"canonicalReference": "@empathyco/x-components!ResultsList#searchQuery:member",
|
|
35408
|
+
"docComment": "/**\n * The query of the search request, taken from the state.\n */\n",
|
|
35409
|
+
"excerptTokens": [
|
|
35410
|
+
{
|
|
35411
|
+
"kind": "Content",
|
|
35412
|
+
"text": "searchQuery: "
|
|
35413
|
+
},
|
|
35414
|
+
{
|
|
35415
|
+
"kind": "Content",
|
|
35416
|
+
"text": "string"
|
|
35417
|
+
},
|
|
35418
|
+
{
|
|
35419
|
+
"kind": "Content",
|
|
35420
|
+
"text": ";"
|
|
35421
|
+
}
|
|
35422
|
+
],
|
|
35423
|
+
"isOptional": false,
|
|
35424
|
+
"releaseTag": "Public",
|
|
35425
|
+
"name": "searchQuery",
|
|
35426
|
+
"propertyTypeTokenRange": {
|
|
35427
|
+
"startIndex": 1,
|
|
35428
|
+
"endIndex": 2
|
|
35429
|
+
},
|
|
35430
|
+
"isStatic": false
|
|
35431
|
+
},
|
|
35432
|
+
{
|
|
35433
|
+
"kind": "Property",
|
|
35434
|
+
"canonicalReference": "@empathyco/x-components!ResultsList#searchStatus:member",
|
|
35435
|
+
"docComment": "/**\n * The status of the search request, taken from the state.\n */\n",
|
|
35436
|
+
"excerptTokens": [
|
|
35437
|
+
{
|
|
35438
|
+
"kind": "Content",
|
|
35439
|
+
"text": "searchStatus: "
|
|
35440
|
+
},
|
|
35441
|
+
{
|
|
35442
|
+
"kind": "Reference",
|
|
35443
|
+
"text": "RequestStatus",
|
|
35444
|
+
"canonicalReference": "@empathyco/x-components!RequestStatus:type"
|
|
35445
|
+
},
|
|
35446
|
+
{
|
|
35447
|
+
"kind": "Content",
|
|
35448
|
+
"text": ";"
|
|
35449
|
+
}
|
|
35450
|
+
],
|
|
35451
|
+
"isOptional": false,
|
|
35452
|
+
"releaseTag": "Public",
|
|
35453
|
+
"name": "searchStatus",
|
|
35454
|
+
"propertyTypeTokenRange": {
|
|
35455
|
+
"startIndex": 1,
|
|
35456
|
+
"endIndex": 2
|
|
35457
|
+
},
|
|
35458
|
+
"isStatic": false
|
|
35459
|
+
},
|
|
35460
|
+
{
|
|
35461
|
+
"kind": "Method",
|
|
35462
|
+
"canonicalReference": "@empathyco/x-components!ResultsList#updateQuery:member(1)",
|
|
35463
|
+
"docComment": "/**\n * Updates the query to be provided to the child components when the search request has succeeded.\n *\n * @param status - The status of the search request.\n */\n",
|
|
35464
|
+
"excerptTokens": [
|
|
35465
|
+
{
|
|
35466
|
+
"kind": "Content",
|
|
35467
|
+
"text": "updateQuery(status: "
|
|
35468
|
+
},
|
|
35469
|
+
{
|
|
35470
|
+
"kind": "Reference",
|
|
35471
|
+
"text": "RequestStatus",
|
|
35472
|
+
"canonicalReference": "@empathyco/x-components!RequestStatus:type"
|
|
35473
|
+
},
|
|
35474
|
+
{
|
|
35475
|
+
"kind": "Content",
|
|
35476
|
+
"text": "): "
|
|
35477
|
+
},
|
|
35478
|
+
{
|
|
35479
|
+
"kind": "Content",
|
|
35480
|
+
"text": "void"
|
|
35481
|
+
},
|
|
35482
|
+
{
|
|
35483
|
+
"kind": "Content",
|
|
35484
|
+
"text": ";"
|
|
35485
|
+
}
|
|
35486
|
+
],
|
|
35487
|
+
"isOptional": false,
|
|
35488
|
+
"isStatic": false,
|
|
35489
|
+
"returnTypeTokenRange": {
|
|
35490
|
+
"startIndex": 3,
|
|
35491
|
+
"endIndex": 4
|
|
35492
|
+
},
|
|
35493
|
+
"releaseTag": "Public",
|
|
35494
|
+
"overloadIndex": 1,
|
|
35495
|
+
"parameters": [
|
|
35496
|
+
{
|
|
35497
|
+
"parameterName": "status",
|
|
35498
|
+
"parameterTypeTokenRange": {
|
|
35499
|
+
"startIndex": 1,
|
|
35500
|
+
"endIndex": 2
|
|
35501
|
+
}
|
|
35502
|
+
}
|
|
35503
|
+
],
|
|
35504
|
+
"name": "updateQuery"
|
|
35059
35505
|
}
|
|
35060
35506
|
],
|
|
35061
35507
|
"extendsTokenRange": {
|