@fluid-topics/ft-search-results-spellcheck 2.0.28 → 2.0.29
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.
|
@@ -45,7 +45,7 @@ export class FtSearchResultsSpellcheck extends withI18n(FtSearchComponent) {
|
|
|
45
45
|
}
|
|
46
46
|
update(props) {
|
|
47
47
|
super.update(props);
|
|
48
|
-
if (["request", "
|
|
48
|
+
if (["request", "spellcheckAutocorrect"].some((k) => props.has(k))
|
|
49
49
|
&& this.request && this.spellcheckAutocorrect) {
|
|
50
50
|
this.autocorrectLink = SearchPlaceConverterProvider.get().serialize({ ...this.request, query: this.spellcheckAutocorrect.suggestedQuery });
|
|
51
51
|
}
|
|
@@ -164,7 +164,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
164
164
|
${mr.messages.noResultsForQuery(this.request.query)}
|
|
165
165
|
</ft-typography>
|
|
166
166
|
</div>
|
|
167
|
-
`:br.nothing}update(t){super.update(t),["request","
|
|
167
|
+
`:br.nothing}update(t){super.update(t),["request","spellcheckAutocorrect"].some(o=>t.has(o))&&this.request&&this.spellcheckAutocorrect&&(this.autocorrectLink=Le.get().serialize({...this.request,query:this.spellcheckAutocorrect.suggestedQuery}))}};le.elementDefinitions={"ft-typography":ie};le.styles=Lo;Oo([(0,Ao.redux)({store:"search"})],le.prototype,"request",void 0);Oo([(0,Ao.redux)({store:"search",selector:r=>r.spellcheck})],le.prototype,"spellcheckAutocorrect",void 0);Oo([(0,_i.state)()],le.prototype,"autocorrectLink",void 0);var Ni={"ft-search-results-spellcheck":le};(0,Pi.customElements)(Ni);})();
|
|
168
168
|
/*! Bundled license information:
|
|
169
169
|
|
|
170
170
|
lit-html/lit-html.js:
|
|
@@ -244,7 +244,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
244
244
|
${Uo.messages.noResultsForQuery(this.request.query)}
|
|
245
245
|
</ft-typography>
|
|
246
246
|
</div>
|
|
247
|
-
`:H}update(e){super.update(e),["request","
|
|
247
|
+
`:H}update(e){super.update(e),["request","spellcheckAutocorrect"].some(r=>e.has(r))&&this.request&&this.spellcheckAutocorrect&&(this.autocorrectLink=St.get().serialize({...this.request,query:this.spellcheckAutocorrect.suggestedQuery}))}};Ue.elementDefinitions={"ft-typography":Me};Ue.styles=al;mi([Pe({store:"search"})],Ue.prototype,"request",void 0);mi([Pe({store:"search",selector:t=>t.spellcheck})],Ue.prototype,"spellcheckAutocorrect",void 0);mi([Q()],Ue.prototype,"autocorrectLink",void 0);var $l={"ft-search-results-spellcheck":Ue};Te($l);})();
|
|
248
248
|
/*! Bundled license information:
|
|
249
249
|
|
|
250
250
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-results-spellcheck",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.29",
|
|
4
4
|
"description": "Spellcheck component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "2.0.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "2.0.29",
|
|
23
23
|
"@fluid-topics/public-api": "1.0.122",
|
|
24
24
|
"lit": "3.1.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "7c6a7af32908ebb8496d98416d21cd37097b991f"
|
|
27
27
|
}
|