@fluid-topics/ft-search-context 2.0.26 → 2.0.28
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/build/define.js +3 -3
- package/build/definitions.d.ts +5 -0
- package/build/definitions.js +4 -0
- package/build/ft-search-context.d.ts +1 -1
- package/build/ft-search-context.js +2 -2
- package/build/ft-search-context.light.js +6 -6
- package/build/ft-search-context.min.js +29 -131
- package/package.json +4 -4
package/build/define.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { customElements } from "@fluid-topics/ft-wc-utils";
|
|
2
|
+
import definitions from "./definitions";
|
|
3
|
+
customElements(definitions);
|
|
@@ -24,7 +24,7 @@ export declare class FtSearchContext extends FtLitElementRedux implements FtSear
|
|
|
24
24
|
otherQueryParams: Record<string, string>;
|
|
25
25
|
private request?;
|
|
26
26
|
private paging?;
|
|
27
|
-
private
|
|
27
|
+
private spellcheckAutocorrect?;
|
|
28
28
|
private _appIntegrationInfoReady;
|
|
29
29
|
searchServiceProvider?: () => FtSearchService;
|
|
30
30
|
private _stateManager?;
|
|
@@ -118,7 +118,7 @@ export class FtSearchContext extends FtLitElementRedux {
|
|
|
118
118
|
this.dispatchEvent(new SearchRequestChangeEvent(this.request));
|
|
119
119
|
}
|
|
120
120
|
if (props.has("paging") && this.paging !== undefined) {
|
|
121
|
-
this.dispatchEvent(new SearchResultsChangeEvent(this.request, this.paging, this.
|
|
121
|
+
this.dispatchEvent(new SearchResultsChangeEvent(this.request, this.paging, this.spellcheckAutocorrect));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
registerComponent(e) {
|
|
@@ -198,7 +198,7 @@ __decorate([
|
|
|
198
198
|
], FtSearchContext.prototype, "paging", void 0);
|
|
199
199
|
__decorate([
|
|
200
200
|
redux({ store: "search", selector: (s) => s.spellcheck })
|
|
201
|
-
], FtSearchContext.prototype, "
|
|
201
|
+
], FtSearchContext.prototype, "spellcheckAutocorrect", void 0);
|
|
202
202
|
__decorate([
|
|
203
203
|
redux({ store: ftAppInfoStore.name, selector: (s) => s.apiIntegrationIdentifier !== undefined && s.apiIntegrationAppVersion !== undefined })
|
|
204
204
|
], FtSearchContext.prototype, "_appIntegrationInfoReady", void 0);
|