@fluid-topics/ft-search-bar 2.0.33 → 2.0.35
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.
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
1
7
|
import { css, html, nothing, } from "lit";
|
|
2
8
|
import { repeat } from "lit/directives/repeat.js";
|
|
3
9
|
import { FacetsChipsManager } from "./FacetsChipsManager";
|
|
4
10
|
import { SuggestManager } from "./SuggestManager";
|
|
5
11
|
import { classMap } from "lit/directives/class-map.js";
|
|
12
|
+
import { ignoreComposingEvents } from "@fluid-topics/ft-wc-utils";
|
|
6
13
|
export class DesktopSearchBarManager {
|
|
7
14
|
constructor(searchBar, selectedFacetsManager, suggestManager) {
|
|
8
15
|
this.searchBar = searchBar;
|
|
@@ -193,3 +200,6 @@ export class DesktopSearchBarManager {
|
|
|
193
200
|
DesktopSearchBarManager.styles = css `
|
|
194
201
|
|
|
195
202
|
`;
|
|
203
|
+
__decorate([
|
|
204
|
+
ignoreComposingEvents()
|
|
205
|
+
], DesktopSearchBarManager.prototype, "onSearchBarKeyDown", null);
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { css, html, nothing, } from "lit";
|
|
2
8
|
import { FacetsChipsManager } from "./FacetsChipsManager";
|
|
3
9
|
import { SuggestManager } from "./SuggestManager";
|
|
4
10
|
import { classMap } from "lit/directives/class-map.js";
|
|
11
|
+
import { ignoreComposingEvents } from "@fluid-topics/ft-wc-utils";
|
|
5
12
|
export class MobileSearchBarManager {
|
|
6
13
|
constructor(searchBar, selectedFacetsManager, suggestManager) {
|
|
7
14
|
this.searchBar = searchBar;
|
|
@@ -138,7 +145,10 @@ export class MobileSearchBarManager {
|
|
|
138
145
|
this.searchBar.query = input.value;
|
|
139
146
|
}
|
|
140
147
|
}
|
|
141
|
-
//language=css
|
|
148
|
+
// language=css
|
|
142
149
|
MobileSearchBarManager.styles = css `
|
|
143
150
|
|
|
144
151
|
`;
|
|
152
|
+
__decorate([
|
|
153
|
+
ignoreComposingEvents()
|
|
154
|
+
], MobileSearchBarManager.prototype, "onSearchBarKeyDown", null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-bar",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.35",
|
|
4
4
|
"description": "Search bar component using Fluid Topics public API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-accordion": "2.0.
|
|
23
|
-
"@fluid-topics/ft-app-context": "2.0.
|
|
24
|
-
"@fluid-topics/ft-button": "2.0.
|
|
25
|
-
"@fluid-topics/ft-chip": "2.0.
|
|
26
|
-
"@fluid-topics/ft-filter": "2.0.
|
|
27
|
-
"@fluid-topics/ft-icon": "2.0.
|
|
28
|
-
"@fluid-topics/ft-select": "2.0.
|
|
29
|
-
"@fluid-topics/ft-size-watcher": "2.0.
|
|
30
|
-
"@fluid-topics/ft-skeleton": "2.0.
|
|
31
|
-
"@fluid-topics/ft-snap-scroll": "2.0.
|
|
32
|
-
"@fluid-topics/ft-tooltip": "2.0.
|
|
33
|
-
"@fluid-topics/ft-typography": "2.0.
|
|
34
|
-
"@fluid-topics/ft-wc-utils": "2.0.
|
|
22
|
+
"@fluid-topics/ft-accordion": "2.0.35",
|
|
23
|
+
"@fluid-topics/ft-app-context": "2.0.35",
|
|
24
|
+
"@fluid-topics/ft-button": "2.0.35",
|
|
25
|
+
"@fluid-topics/ft-chip": "2.0.35",
|
|
26
|
+
"@fluid-topics/ft-filter": "2.0.35",
|
|
27
|
+
"@fluid-topics/ft-icon": "2.0.35",
|
|
28
|
+
"@fluid-topics/ft-select": "2.0.35",
|
|
29
|
+
"@fluid-topics/ft-size-watcher": "2.0.35",
|
|
30
|
+
"@fluid-topics/ft-skeleton": "2.0.35",
|
|
31
|
+
"@fluid-topics/ft-snap-scroll": "2.0.35",
|
|
32
|
+
"@fluid-topics/ft-tooltip": "2.0.35",
|
|
33
|
+
"@fluid-topics/ft-typography": "2.0.35",
|
|
34
|
+
"@fluid-topics/ft-wc-utils": "2.0.35",
|
|
35
35
|
"lit": "3.1.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@fluid-topics/public-api": "1.0.123"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b72f0f694a390c77ea515a13afc89abb277cd5f0"
|
|
41
41
|
}
|