@fluid-topics/ft-search-context 1.1.113 → 1.1.115
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.
|
@@ -32,6 +32,7 @@ export declare class FtSearchStateManager {
|
|
|
32
32
|
replaceFacet(oldId: string, newId?: string): void;
|
|
33
33
|
private get facetIds();
|
|
34
34
|
private set facetIds(value);
|
|
35
|
+
/** @deprecated */
|
|
35
36
|
setFilter(key: string, values: string[]): void;
|
|
36
37
|
setValueFilter(key: string, values: string[]): void;
|
|
37
38
|
setDateFilter(key: string, dateType: FtDateFilterTypeKeys): void;
|
|
@@ -122,7 +122,7 @@ export class FtSearchStateManager {
|
|
|
122
122
|
let facetsConf = uniqIds.map(id => ({ id: id }));
|
|
123
123
|
this.store.actions.setRequestFacets(facetsConf);
|
|
124
124
|
}
|
|
125
|
-
|
|
125
|
+
/** @deprecated */
|
|
126
126
|
setFilter(key, values) {
|
|
127
127
|
this.setValueFilter(key, values);
|
|
128
128
|
}
|
|
@@ -194,7 +194,10 @@ export class FtSearchStateManager {
|
|
|
194
194
|
this.launchSuggest();
|
|
195
195
|
}
|
|
196
196
|
setRequest(request) {
|
|
197
|
-
this.store.actions.setRequest(
|
|
197
|
+
this.store.actions.setRequest({
|
|
198
|
+
...request,
|
|
199
|
+
facets: this.store.getState().request.facets
|
|
200
|
+
});
|
|
198
201
|
this.store.actions.setLiveQuery(request.query);
|
|
199
202
|
this.store.actions.setPageNumber(1);
|
|
200
203
|
this.launchSearch();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-context",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.115",
|
|
4
4
|
"description": "Context block for integrated search components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-app-context": "1.1.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-app-context": "1.1.115",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.1.115",
|
|
24
24
|
"lit": "3.1.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@fluid-topics/public-api": "1.0.77"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7a0d8f324bb95d068d787990f2d1f1325399467f"
|
|
30
30
|
}
|