@appbaseio/reactivesearch-vue 1.33.5 → 1.34.0-alpha.2
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/dist/@appbaseio/reactivesearch-vue.umd.js +6840 -9315
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +7 -13
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/Button-626c5e8e.js +58 -0
- package/dist/cjs/{CancelSvg-220a7cc3.js → CancelSvg-062a42f0.js} +32 -40
- package/dist/cjs/Card-c381ded3.js +26 -0
- package/dist/cjs/{ComponentWrapper-b6d4660c.js → ComponentWrapper-db45cc6d.js} +5 -5
- package/dist/cjs/Container-29f049b2.js +12 -0
- package/dist/cjs/{DataSearch-1c5c2202.js → DataSearch-7c71ec9f.js} +712 -850
- package/dist/cjs/DataSearch.js +12 -11
- package/dist/cjs/{DropDown-8984b544.js → DropDown-3b899b20.js} +78 -79
- package/dist/cjs/DynamicRangeSlider.js +51 -37
- package/dist/cjs/Flex-d5675ea6.js +48 -0
- package/dist/cjs/FormControlList-cf1ff2ca.js +42 -0
- package/dist/cjs/Input-4d278ca0.js +74 -0
- package/dist/cjs/ListItem-c067bc07.js +41 -0
- package/dist/cjs/MultiDropdownList.js +71 -62
- package/dist/cjs/MultiList.js +85 -88
- package/dist/cjs/MultiRange.js +54 -41
- package/dist/cjs/{Pagination-07f4dbad.js → Pagination-a468f960.js} +56 -53
- package/dist/cjs/{PreferencesConsumer-5d67b486.js → PreferencesConsumer-034c55e3.js} +6 -5
- package/dist/cjs/RangeInput.js +115 -107
- package/dist/cjs/RangeSlider.js +50 -36
- package/dist/cjs/ReactiveBase.js +66 -48
- package/dist/cjs/{ReactiveComponent-4e75c939.js → ReactiveComponent-f0f486ca.js} +325 -311
- package/dist/cjs/ReactiveComponent.js +21 -20
- package/dist/cjs/ReactiveGoogleMap.js +283 -307
- package/dist/cjs/ReactiveList.js +99 -116
- package/dist/cjs/ResultCard.js +26 -19
- package/dist/cjs/ResultList.js +31 -27
- package/dist/cjs/SelectedFilters.js +49 -34
- package/dist/cjs/SingleDropdownList.js +70 -61
- package/dist/cjs/SingleList.js +86 -90
- package/dist/cjs/SingleRange.js +48 -39
- package/dist/cjs/StateProvider.js +2 -2
- package/dist/cjs/Title-8802a218.js +12 -0
- package/dist/cjs/ToggleButton.js +39 -32
- package/dist/cjs/{index-30126fd0.js → index-dc25b706.js} +6 -6
- package/dist/cjs/index.js +22 -21
- package/dist/cjs/install.js +21 -20
- package/dist/cjs/ssr-eb901d09.js +35 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-7cfc2f98.js → vueTypes-621a8143.js} +1 -1
- package/dist/es/Button-ebafa3d6.js +52 -0
- package/dist/es/{CancelSvg-e40552a5.js → CancelSvg-14ebc9a1.js} +30 -37
- package/dist/es/{Card-19ad6d90.js → Card-1951569e.js} +5 -6
- package/dist/es/{ComponentWrapper-8042aa35.js → ComponentWrapper-bf443c0b.js} +4 -4
- package/dist/es/Container-d00219f7.js +1 -1
- package/dist/es/{DataSearch-5bb904c5.js → DataSearch-4f9a4e46.js} +705 -842
- package/dist/es/DataSearch.js +10 -9
- package/dist/es/{DropDown-28ddce07.js → DropDown-35e232b7.js} +78 -78
- package/dist/es/DynamicRangeSlider.js +48 -34
- package/dist/es/Flex-a08e22d7.js +46 -0
- package/dist/es/FormControlList-fa5cf78b.js +38 -0
- package/dist/es/Input-3b8408a6.js +69 -0
- package/dist/es/{ListItem-07888a65.js → ListItem-47a6345a.js} +6 -7
- package/dist/es/MultiDropdownList.js +69 -60
- package/dist/es/MultiList.js +84 -87
- package/dist/es/MultiRange.js +52 -39
- package/dist/es/{Pagination-28e56c5c.js → Pagination-145b4ff2.js} +56 -53
- package/dist/es/{PreferencesConsumer-bc097ebb.js → PreferencesConsumer-7ea7313a.js} +5 -4
- package/dist/es/RangeInput.js +112 -103
- package/dist/es/RangeSlider.js +47 -33
- package/dist/es/ReactiveBase.js +65 -46
- package/dist/es/{ReactiveComponent-09c183c8.js → ReactiveComponent-e2fb9eb4.js} +321 -306
- package/dist/es/ReactiveComponent.js +18 -17
- package/dist/es/ReactiveGoogleMap.js +279 -302
- package/dist/es/ReactiveList.js +97 -113
- package/dist/es/ResultCard.js +25 -18
- package/dist/es/ResultList.js +30 -26
- package/dist/es/SelectedFilters.js +47 -32
- package/dist/es/SingleDropdownList.js +68 -59
- package/dist/es/SingleList.js +84 -88
- package/dist/es/SingleRange.js +46 -37
- package/dist/es/StateProvider.js +2 -2
- package/dist/es/Title-863dfa42.js +1 -1
- package/dist/es/ToggleButton.js +37 -30
- package/dist/es/{index-0444a498.js → index-285a43a6.js} +6 -6
- package/dist/es/index.js +19 -18
- package/dist/es/install.js +18 -17
- package/dist/es/ssr-03607d84.js +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-8986b709.js → vueTypes-e4af6fe2.js} +1 -1
- package/package.json +8 -8
- package/dist/cjs/Button-841fd06d.js +0 -62
- package/dist/cjs/Card-240f283d.js +0 -30
- package/dist/cjs/Container-e699ea95.js +0 -15
- package/dist/cjs/Flex-ddd7cb6b.js +0 -50
- package/dist/cjs/FormControlList-bbb5cd24.js +0 -45
- package/dist/cjs/Input-ead4cd84.js +0 -77
- package/dist/cjs/ListItem-5088bd6a.js +0 -45
- package/dist/cjs/Title-16042ea0.js +0 -15
- package/dist/cjs/ssr-f2fc1bf6.js +0 -36
- package/dist/es/Button-153cd885.js +0 -53
- package/dist/es/Flex-7c177a10.js +0 -45
- package/dist/es/FormControlList-99797d0a.js +0 -38
- package/dist/es/Input-c09c0b56.js +0 -69
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { helper, Actions, causes } from '@appbaseio/reactivecore';
|
|
2
2
|
import { SEARCH_COMPONENTS_MODES, componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
3
3
|
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
|
|
4
|
+
import { createVNode, createTextVNode, isVNode, mergeProps } from 'vue';
|
|
4
5
|
import VueTypes from 'vue-types';
|
|
5
6
|
import { getQueryOptions } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { styled, createGlobalStyle } from '@appbaseio/vue-emotion';
|
|
8
|
+
import { css, cx } from 'emotion';
|
|
9
|
+
import { t as types } from './vueTypes-e4af6fe2.js';
|
|
10
|
+
import { g as getComponent, h as hasCustomRenderer, f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, j as getQuerySuggestionsComponent, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, m as hasQuerySuggestionsRenderer, c as connect } from './index-285a43a6.js';
|
|
11
|
+
import { C as ComponentWrapper } from './ComponentWrapper-bf443c0b.js';
|
|
12
|
+
import { P as PreferencesConsumer } from './PreferencesConsumer-7ea7313a.js';
|
|
11
13
|
import { T as Title } from './Title-863dfa42.js';
|
|
12
|
-
import { F as Flex } from './Flex-
|
|
14
|
+
import { F as Flex } from './Flex-a08e22d7.js';
|
|
13
15
|
import hotkeys from 'hotkeys-js';
|
|
14
|
-
import { I as IconWrapper, C as CancelSvg, a as IconGroup, D as Downshift, b as InputWrapper } from './CancelSvg-
|
|
15
|
-
import { n as noSuggestions, s as suggestionsContainer, I as Input, a as suggestions } from './Input-
|
|
16
|
+
import { I as IconWrapper, C as CancelSvg, a as IconGroup, D as Downshift, b as InputWrapper } from './CancelSvg-14ebc9a1.js';
|
|
17
|
+
import { n as noSuggestions, s as suggestionsContainer, I as Input, a as suggestions } from './Input-3b8408a6.js';
|
|
16
18
|
import { C as Container } from './Container-d00219f7.js';
|
|
17
19
|
import Highlight from 'vue-highlight-words';
|
|
18
20
|
|
|
@@ -37,14 +39,13 @@ var SuggestionWrapper = {
|
|
|
37
39
|
innerClass: types.style
|
|
38
40
|
},
|
|
39
41
|
render: function render() {
|
|
40
|
-
var h = arguments[0];
|
|
41
42
|
var _this$$props = this.$props,
|
|
42
43
|
themePreset = _this$$props.themePreset,
|
|
43
44
|
innerClass = _this$$props.innerClass,
|
|
44
45
|
innerClassName = _this$$props.innerClassName;
|
|
45
|
-
return
|
|
46
|
+
return createVNode("div", {
|
|
46
47
|
"class": noSuggestions(themePreset) + " " + getClassName(innerClass, innerClassName || '')
|
|
47
|
-
}, [
|
|
48
|
+
}, [createVNode("li", null, [this.$slots["default"]()])]);
|
|
48
49
|
}
|
|
49
50
|
};
|
|
50
51
|
|
|
@@ -63,7 +64,7 @@ var SuggestionItem = {
|
|
|
63
64
|
suggestion: types.any
|
|
64
65
|
},
|
|
65
66
|
render: function render() {
|
|
66
|
-
var
|
|
67
|
+
var _this = this;
|
|
67
68
|
var _this$suggestion = this.suggestion,
|
|
68
69
|
label = _this$suggestion.label,
|
|
69
70
|
value = _this$suggestion.value,
|
|
@@ -75,77 +76,69 @@ var SuggestionItem = {
|
|
|
75
76
|
_category = _this$suggestion._category;
|
|
76
77
|
if (label) {
|
|
77
78
|
// label has highest precedence
|
|
78
|
-
return typeof label === 'string' ?
|
|
79
|
+
return typeof label === 'string' ? createVNode("div", {
|
|
79
80
|
"class": "trim"
|
|
80
81
|
}, [(_category ? false : isPredictiveSuggestion
|
|
81
82
|
// eslint-disable-next-line
|
|
82
|
-
|| !!_suggestion_type) ?
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"autoEscape": true,
|
|
91
|
-
"highlightStyle": highlightStyle
|
|
92
|
-
}
|
|
93
|
-
})]) : label;
|
|
83
|
+
|| !!_suggestion_type) ? createVNode(PredictiveSuggestion, {
|
|
84
|
+
"innerHTML": label
|
|
85
|
+
}, null) : createVNode(Highlight, {
|
|
86
|
+
"searchWords": _category ? [_category] : this.currentValue.split(' '),
|
|
87
|
+
"textToHighlight": label,
|
|
88
|
+
"autoEscape": true,
|
|
89
|
+
"highlightStyle": highlightStyle
|
|
90
|
+
}, null)]) : label;
|
|
94
91
|
}
|
|
95
92
|
if (title || image || description) {
|
|
96
|
-
return
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
width: '100%'
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}, [image && h("div", {
|
|
104
|
-
"attrs": {
|
|
105
|
-
"css": {
|
|
106
|
-
margin: 'auto',
|
|
107
|
-
marginRight: 10
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}, [h("img", {
|
|
111
|
-
"attrs": {
|
|
112
|
-
"src": image,
|
|
113
|
-
"alt": " ",
|
|
114
|
-
"height": "50px",
|
|
115
|
-
"width": "50px",
|
|
116
|
-
"css": {
|
|
117
|
-
objectFit: 'contain'
|
|
118
|
-
}
|
|
93
|
+
return createVNode(Flex, {
|
|
94
|
+
"alignItems": "center",
|
|
95
|
+
"css": {
|
|
96
|
+
width: '100%'
|
|
119
97
|
}
|
|
120
|
-
}
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
98
|
+
}, {
|
|
99
|
+
"default": function _default() {
|
|
100
|
+
return [image && createVNode("div", {
|
|
101
|
+
"css": {
|
|
102
|
+
margin: 'auto',
|
|
103
|
+
marginRight: 10
|
|
104
|
+
}
|
|
105
|
+
}, [createVNode("img", {
|
|
106
|
+
"src": image,
|
|
107
|
+
"alt": " ",
|
|
108
|
+
"height": "50px",
|
|
109
|
+
"width": "50px",
|
|
110
|
+
"css": {
|
|
111
|
+
objectFit: 'contain'
|
|
112
|
+
}
|
|
113
|
+
}, null)]), createVNode(Flex, {
|
|
114
|
+
"direction": "column",
|
|
115
|
+
"css": {
|
|
116
|
+
width: image ? 'calc(100% - 60px)' : '100%'
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
"default": function _default() {
|
|
120
|
+
return [title && createVNode("div", {
|
|
121
|
+
"class": "trim"
|
|
122
|
+
}, [createVNode(Highlight, {
|
|
123
|
+
"searchWords": _this.currentValue.split(' '),
|
|
124
|
+
"textToHighlight": title,
|
|
125
|
+
"highlightStyle": highlightStyle,
|
|
126
|
+
"class": css({
|
|
127
|
+
fontSize: '1rem'
|
|
128
|
+
})
|
|
129
|
+
}, null)]), description && createVNode("div", {
|
|
130
|
+
"class": cx('trim', css({
|
|
131
|
+
marginTop: 3
|
|
132
|
+
}))
|
|
133
|
+
}, [createVNode(Highlight, {
|
|
134
|
+
"searchWords": _this.currentValue.split(' '),
|
|
135
|
+
"textToHighlight": description,
|
|
136
|
+
"highlightStyle": highlightStyle
|
|
137
|
+
}, null)])];
|
|
138
|
+
}
|
|
139
|
+
})];
|
|
147
140
|
}
|
|
148
|
-
})
|
|
141
|
+
});
|
|
149
142
|
}
|
|
150
143
|
return value;
|
|
151
144
|
}
|
|
@@ -155,445 +148,309 @@ var SearchSvg = {
|
|
|
155
148
|
name: 'SearchSvg',
|
|
156
149
|
props: ['styles'],
|
|
157
150
|
render: function render() {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"attrs": {
|
|
161
|
-
"alt": "Search",
|
|
162
|
-
"height": "12",
|
|
163
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
164
|
-
"viewBox": "0 0 15 15"
|
|
165
|
-
},
|
|
151
|
+
return createVNode("svg", {
|
|
152
|
+
"alt": "Search",
|
|
166
153
|
"class": "search-icon",
|
|
154
|
+
"height": "12",
|
|
155
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
156
|
+
"viewBox": "0 0 15 15",
|
|
167
157
|
"style": _extends({
|
|
168
158
|
transform: 'scale(1.35)',
|
|
169
159
|
position: 'relative'
|
|
170
160
|
}, this.$props.styles ? this.$props.styles : {})
|
|
171
|
-
}, [
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
})]);
|
|
161
|
+
}, [createVNode("title", null, [createTextVNode("Search")]), createVNode("path", {
|
|
162
|
+
"d": 'M6.02945,10.20327a4.17382,4.17382,0,1,1,4.17382-4.17382A4.15609,4.15609,0,0,1,6.02945,10.20327Zm9.69195,4.2199L10.8989,9.59979A5.88021,5.88021,0,0,0,12.058,6.02856,6.00467,6.00467,0,1,0,9.59979,10.8989l4.82338,4.82338a.89729.89729,0,0,0,1.29912,0,.89749.89749,0,0,0-.00087-1.29909Z'
|
|
163
|
+
}, null)]);
|
|
176
164
|
}
|
|
177
165
|
};
|
|
178
166
|
|
|
179
167
|
var _templateObject$3;
|
|
180
168
|
|
|
181
169
|
// eslint-disable-next-line
|
|
182
|
-
|
|
170
|
+
createGlobalStyle(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["\n\t#el_TvxDfTAtKp {\n\t\tstroke: none;\n\t\tstroke-width: 1;\n\t\tfill: none;\n\t}\n\t#el_D93PK3GbmJ {\n\t\t-webkit-transform: translate(163px, 131px);\n\t\ttransform: translate(163px, 131px);\n\t\tfill: #d8d8d8;\n\t}\n"])));
|
|
183
171
|
var MicSvg = {
|
|
184
172
|
name: 'MicSvg',
|
|
185
173
|
props: ['className'],
|
|
186
174
|
render: function render() {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
"height": 28,
|
|
195
|
-
"className": this.$props.className
|
|
196
|
-
},
|
|
175
|
+
return createVNode("svg", {
|
|
176
|
+
"viewBox": "0 0 480 480",
|
|
177
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
178
|
+
"id": "el_xS0FRzQjJ",
|
|
179
|
+
"width": 28,
|
|
180
|
+
"height": 28,
|
|
181
|
+
"className": this.$props.className,
|
|
197
182
|
"style": {
|
|
198
183
|
transform: 'scale(1.5)'
|
|
199
184
|
}
|
|
200
|
-
}, [
|
|
201
|
-
"
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
"attrs": {
|
|
207
|
-
"id": "el_D93PK3GbmJ",
|
|
208
|
-
"fillRule": "nonzero"
|
|
209
|
-
},
|
|
185
|
+
}, [createVNode("g", {
|
|
186
|
+
"id": "el_TvxDfTAtKp",
|
|
187
|
+
"fillRule": "evenodd"
|
|
188
|
+
}, [createVNode("g", {
|
|
189
|
+
"id": "el_D93PK3GbmJ",
|
|
190
|
+
"fillRule": "nonzero",
|
|
210
191
|
"style": {
|
|
211
192
|
fill: '#595959'
|
|
212
193
|
}
|
|
213
|
-
}, [
|
|
214
|
-
"
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
"d": "M76.9864699,147.789474 C98.090352,147.789474 115.126016,131.286316 115.126016,110.842105 L115.126016,36.9473684 C115.126016,16.5031579 98.090352,-2.84217094e-14 76.9864699,-2.84217094e-14 C55.8825877,-2.84217094e-14 38.8469239,16.5031579 38.8469239,36.9473684 L38.8469239,110.842105 C38.8469239,131.286316 55.8825877,147.789474 76.9864699,147.789474 Z",
|
|
221
|
-
"id": "el_tnDbR4ytu4"
|
|
222
|
-
}
|
|
223
|
-
})])])]);
|
|
194
|
+
}, [createVNode("path", {
|
|
195
|
+
"d": "M142.731204,111 C137.280427,111 132.719573,114.852 131.82965,120.095 C127.268796,145.24 104.464526,164.5 76.9881611,164.5 C49.5117965,164.5 26.7075263,145.24 22.1466723,120.095 C21.2567496,114.852 16.6958955,111 11.2451187,111 C4.45945784,111 -0.880078594,116.778 0.121084488,123.198 C5.57186127,155.298 32.2695435,180.443 65.8641269,185.044 L65.8641269,207.3 C65.8641269,213.185 70.8699423,218 76.9881611,218 C83.10638,218 88.1121954,213.185 88.1121954,207.3 L88.1121954,185.044 C121.706779,180.443 148.404461,155.298 153.855238,123.198 C154.967641,116.778 149.516864,111 142.731204,111 Z",
|
|
196
|
+
"id": "el_uly3EwA2O3"
|
|
197
|
+
}, null), createVNode("path", {
|
|
198
|
+
"d": "M76.9864699,147.789474 C98.090352,147.789474 115.126016,131.286316 115.126016,110.842105 L115.126016,36.9473684 C115.126016,16.5031579 98.090352,-2.84217094e-14 76.9864699,-2.84217094e-14 C55.8825877,-2.84217094e-14 38.8469239,16.5031579 38.8469239,36.9473684 L38.8469239,110.842105 C38.8469239,131.286316 55.8825877,147.789474 76.9864699,147.789474 Z",
|
|
199
|
+
"id": "el_tnDbR4ytu4"
|
|
200
|
+
}, null)])])]);
|
|
224
201
|
}
|
|
225
202
|
};
|
|
226
203
|
|
|
227
204
|
var _templateObject$4;
|
|
228
205
|
|
|
229
206
|
// eslint-disable-next-line
|
|
230
|
-
|
|
207
|
+
createGlobalStyle(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n\t#el_X81iT9kZYo {\n\t\tstroke: none;\n\t\tstroke-width: 1;\n\t\tfill: none;\n\t}\n\t#el_gMpyalCphp {\n\t\t-webkit-transform: translate(163px, 131px);\n\t\ttransform: translate(163px, 131px);\n\t}\n\t#el_c7H-3u-D4l {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_qhFcdAAFwo {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_M8X8g37WOI {\n\t\tstroke: #e83137;\n\t\tstroke-width: 21;\n\t}\n"])));
|
|
231
208
|
var MuteSvg = {
|
|
232
209
|
name: 'MuteSvg',
|
|
233
210
|
props: ['className'],
|
|
234
211
|
render: function render() {
|
|
235
|
-
|
|
236
|
-
return h("svg", {
|
|
212
|
+
return createVNode("svg", {
|
|
237
213
|
"style": {
|
|
238
214
|
transform: 'scale(1.5)'
|
|
239
215
|
},
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
"
|
|
255
|
-
"id": "el_gMpyalCphp"
|
|
256
|
-
}
|
|
257
|
-
}, [h("path", {
|
|
258
|
-
"attrs": {
|
|
259
|
-
"d": "M142.731204,111 C137.280427,111 132.719573,114.852 131.82965,120.095 C127.268796,145.24 104.464526,164.5 76.9881611,164.5 C49.5117965,164.5 26.7075263,145.24 22.1466723,120.095 C21.2567496,114.852 16.6958955,111 11.2451187,111 C4.45945784,111 -0.880078594,116.778 0.121084488,123.198 C5.57186127,155.298 32.2695435,180.443 65.8641269,185.044 L65.8641269,207.3 C65.8641269,213.185 70.8699423,218 76.9881611,218 C83.10638,218 88.1121954,213.185 88.1121954,207.3 L88.1121954,185.044 C121.706779,180.443 148.404461,155.298 153.855238,123.198 C154.967641,116.778 149.516864,111 142.731204,111 Z",
|
|
260
|
-
"id": "el_c7H-3u-D4l",
|
|
261
|
-
"fillRule": "nonzero"
|
|
262
|
-
},
|
|
216
|
+
"viewBox": "0 0 480 480",
|
|
217
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
218
|
+
"id": "el_D1rEpH2zj",
|
|
219
|
+
"width": 28,
|
|
220
|
+
"height": 28,
|
|
221
|
+
"className": this.$props.className
|
|
222
|
+
}, [createVNode("g", {
|
|
223
|
+
"id": "el_X81iT9kZYo",
|
|
224
|
+
"fillRule": "evenodd"
|
|
225
|
+
}, [createVNode("g", {
|
|
226
|
+
"id": "el_gMpyalCphp"
|
|
227
|
+
}, [createVNode("path", {
|
|
228
|
+
"d": "M142.731204,111 C137.280427,111 132.719573,114.852 131.82965,120.095 C127.268796,145.24 104.464526,164.5 76.9881611,164.5 C49.5117965,164.5 26.7075263,145.24 22.1466723,120.095 C21.2567496,114.852 16.6958955,111 11.2451187,111 C4.45945784,111 -0.880078594,116.778 0.121084488,123.198 C5.57186127,155.298 32.2695435,180.443 65.8641269,185.044 L65.8641269,207.3 C65.8641269,213.185 70.8699423,218 76.9881611,218 C83.10638,218 88.1121954,213.185 88.1121954,207.3 L88.1121954,185.044 C121.706779,180.443 148.404461,155.298 153.855238,123.198 C154.967641,116.778 149.516864,111 142.731204,111 Z",
|
|
229
|
+
"id": "el_c7H-3u-D4l",
|
|
230
|
+
"fillRule": "nonzero",
|
|
263
231
|
"style": {
|
|
264
232
|
fill: '#595959'
|
|
265
233
|
}
|
|
266
|
-
}),
|
|
267
|
-
"
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
"fillRule": "nonzero"
|
|
271
|
-
},
|
|
234
|
+
}, null), createVNode("path", {
|
|
235
|
+
"d": "M76.9864699,147.789474 C98.090352,147.789474 115.126016,131.286316 115.126016,110.842105 L115.126016,36.9473684 C115.126016,16.5031579 98.090352,-2.84217094e-14 76.9864699,-2.84217094e-14 C55.8825877,-2.84217094e-14 38.8469239,16.5031579 38.8469239,36.9473684 L38.8469239,110.842105 C38.8469239,131.286316 55.8825877,147.789474 76.9864699,147.789474 Z",
|
|
236
|
+
"id": "el_qhFcdAAFwo",
|
|
237
|
+
"fillRule": "nonzero",
|
|
272
238
|
"style": {
|
|
273
239
|
fill: '#595959'
|
|
274
240
|
}
|
|
275
|
-
}),
|
|
276
|
-
"
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
}
|
|
282
|
-
})])])]);
|
|
241
|
+
}, null), createVNode("path", {
|
|
242
|
+
"d": "M11.5,206.5 L142.5,12.5",
|
|
243
|
+
"id": "el_M8X8g37WOI",
|
|
244
|
+
"strokeLinecap": "round",
|
|
245
|
+
"strokeLinejoin": "round"
|
|
246
|
+
}, null)])])]);
|
|
283
247
|
}
|
|
284
248
|
};
|
|
285
249
|
|
|
286
250
|
var _templateObject$5;
|
|
287
251
|
|
|
288
252
|
// eslint-disable-next-line
|
|
289
|
-
|
|
253
|
+
createGlobalStyle(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n\t@-webkit-keyframes kf_el_6WKby7wXqV_an_qqO-rxbNc {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t13.89% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes kf_el_6WKby7wXqV_an_qqO-rxbNc {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t13.89% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes kf_el_Wi-my975tM_an_XhXP1epXB {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t27.78% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes kf_el_Wi-my975tM_an_XhXP1epXB {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t27.78% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes kf_el_DkfFFTaFxy8_an_T2XxzvIaA {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t41.67% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes kf_el_DkfFFTaFxy8_an_T2XxzvIaA {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t41.67% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes kf_el_34IgwiMB5rf_an_TPom3H2LI {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t55.56% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes kf_el_34IgwiMB5rf_an_TPom3H2LI {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t55.56% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes kf_el_DeebuCsPTGA_an_aYTRBE7Na {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t69.44% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes kf_el_DeebuCsPTGA_an_aYTRBE7Na {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t69.44% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes kf_el_ZOjjrPTvyrv_an_l_BjBNzXw {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t83.33% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes kf_el_ZOjjrPTvyrv_an_l_BjBNzXw {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t83.33% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@-webkit-keyframes kf_el_2FATegVmf0K_an_wLg4ofuFx {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t97.22% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t@keyframes kf_el_2FATegVmf0K_an_wLg4ofuFx {\n\t\t0% {\n\t\t\topacity: 0;\n\t\t}\n\t\t97.22% {\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\t#el_hiibMG0x- * {\n\t\t-webkit-animation-duration: 1.2s;\n\t\tanimation-duration: 1.2s;\n\t\t-webkit-animation-iteration-count: infinite;\n\t\tanimation-iteration-count: infinite;\n\t\t-webkit-animation-timing-function: cubic-bezier(0, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0, 0, 1, 1);\n\t}\n\t#el_QJeJ_2CDw5 {\n\t\tstroke: none;\n\t\tstroke-width: 1;\n\t\tfill: none;\n\t}\n\t#el_UYYCfubTRf {\n\t\t-webkit-transform: translate(163px, 123px);\n\t\ttransform: translate(163px, 123px);\n\t}\n\t#el_uzZNtK32Zi {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_EYKQ2N9Kgy {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_6SDP2LAgKC {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t}\n\t#el_-Vm65Ltfy7 {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_q04iZcSim4 {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_6WKby7wXqV {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t\t-webkit-animation-fill-mode: backwards;\n\t\tanimation-fill-mode: backwards;\n\t\topacity: 0;\n\t\t-webkit-animation-name: kf_el_6WKby7wXqV_an_qqO-rxbNc;\n\t\tanimation-name: kf_el_6WKby7wXqV_an_qqO-rxbNc;\n\t\t-webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t}\n\t#el_9bggsfQOtU {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_NKxqi9eIym {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_Wi-my975tM {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t\t-webkit-animation-fill-mode: backwards;\n\t\tanimation-fill-mode: backwards;\n\t\topacity: 0;\n\t\t-webkit-animation-name: kf_el_Wi-my975tM_an_XhXP1epXB;\n\t\tanimation-name: kf_el_Wi-my975tM_an_XhXP1epXB;\n\t\t-webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t}\n\t#el_zclQ34fvf7 {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_1OsvRT8HkeZ {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_DkfFFTaFxy8 {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t\t-webkit-animation-fill-mode: backwards;\n\t\tanimation-fill-mode: backwards;\n\t\topacity: 0;\n\t\t-webkit-animation-name: kf_el_DkfFFTaFxy8_an_T2XxzvIaA;\n\t\tanimation-name: kf_el_DkfFFTaFxy8_an_T2XxzvIaA;\n\t\t-webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t}\n\t#el_aa9sjx4H0vA {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_tea114vWg0J {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_34IgwiMB5rf {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t\t-webkit-animation-fill-mode: backwards;\n\t\tanimation-fill-mode: backwards;\n\t\topacity: 0;\n\t\t-webkit-animation-name: kf_el_34IgwiMB5rf_an_TPom3H2LI;\n\t\tanimation-name: kf_el_34IgwiMB5rf_an_TPom3H2LI;\n\t\t-webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t}\n\t#el_z5u6RAFhx7d {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_7nfuWmA5Uhy {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_DeebuCsPTGA {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t\t-webkit-animation-fill-mode: backwards;\n\t\tanimation-fill-mode: backwards;\n\t\topacity: 0;\n\t\t-webkit-animation-name: kf_el_DeebuCsPTGA_an_aYTRBE7Na;\n\t\tanimation-name: kf_el_DeebuCsPTGA_an_aYTRBE7Na;\n\t\t-webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t}\n\t#el__ZcqlS20zcw {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_8DnEQnD7VWV {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_ZOjjrPTvyrv {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t\t-webkit-animation-fill-mode: backwards;\n\t\tanimation-fill-mode: backwards;\n\t\topacity: 0;\n\t\t-webkit-animation-name: kf_el_ZOjjrPTvyrv_an_l_BjBNzXw;\n\t\tanimation-name: kf_el_ZOjjrPTvyrv_an_l_BjBNzXw;\n\t\t-webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t}\n\t#el_FYYKCI_u24e {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_XZty4MnTp5Y {\n\t\tfill: #d8d8d8;\n\t}\n\t#el_2FATegVmf0K {\n\t\t-webkit-transform: translate(37.846924px, 0px);\n\t\ttransform: translate(37.846924px, 0px);\n\t\t-webkit-animation-fill-mode: backwards;\n\t\tanimation-fill-mode: backwards;\n\t\topacity: 0;\n\t\t-webkit-animation-name: kf_el_2FATegVmf0K_an_wLg4ofuFx;\n\t\tanimation-name: kf_el_2FATegVmf0K_an_wLg4ofuFx;\n\t\t-webkit-animation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t\tanimation-timing-function: cubic-bezier(0.42, 0, 1, 1);\n\t}\n\t#el_RMT1KUfbdF8 {\n\t\tfill: #0B6AFF;\n\t}\n\t#el_RgLcovvFiO1 {\n\t\tfill: #d8d8d8;\n\t}\n"])));
|
|
290
254
|
var ListenSvg = {
|
|
291
255
|
name: 'ListenSvg',
|
|
292
256
|
props: ['className'],
|
|
293
257
|
render: function render() {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
"
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
"height": 29,
|
|
303
|
-
"className": this.$props.className
|
|
304
|
-
},
|
|
258
|
+
return createVNode("svg", {
|
|
259
|
+
"viewBox": "0 0 480 480",
|
|
260
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
261
|
+
"xmlnsXlink": "http://www.w3.org/1999/xlink",
|
|
262
|
+
"id": "el_hiibMG0x-",
|
|
263
|
+
"width": 28,
|
|
264
|
+
"height": 29,
|
|
265
|
+
"className": this.$props.className,
|
|
305
266
|
"style": {
|
|
306
267
|
transform: 'scale(1.5)'
|
|
307
268
|
}
|
|
308
|
-
}, [
|
|
309
|
-
"
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
"
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}),
|
|
324
|
-
"
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
"
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
"
|
|
340
|
-
|
|
341
|
-
"id": "path-13"
|
|
342
|
-
}
|
|
343
|
-
}), h("path", {
|
|
344
|
-
"attrs": {
|
|
345
|
-
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
346
|
-
"id": "path-15"
|
|
347
|
-
}
|
|
348
|
-
})]), h("g", {
|
|
349
|
-
"attrs": {
|
|
350
|
-
"id": "el_QJeJ_2CDw5",
|
|
351
|
-
"fillRule": "evenodd"
|
|
352
|
-
}
|
|
353
|
-
}, [h("g", {
|
|
354
|
-
"attrs": {
|
|
355
|
-
"id": "el_UYYCfubTRf"
|
|
356
|
-
}
|
|
357
|
-
}, [h("path", {
|
|
358
|
-
"attrs": {
|
|
359
|
-
"d": "M142.731204,111 C137.280427,111 132.719573,114.852 131.82965,120.095 C127.268796,145.24 104.464526,164.5 76.9881611,164.5 C49.5117965,164.5 26.7075263,145.24 22.1466723,120.095 C21.2567496,114.852 16.6958955,111 11.2451187,111 C4.45945784,111 -0.880078594,116.778 0.121084488,123.198 C5.57186127,155.298 32.2695435,180.443 65.8641269,185.044 L65.8641269,207.3 C65.8641269,213.185 70.8699423,218 76.9881611,218 C83.10638,218 88.1121954,213.185 88.1121954,207.3 L88.1121954,185.044 C121.706779,180.443 148.404461,155.298 153.855238,123.198 C154.967641,116.778 149.516864,111 142.731204,111 Z",
|
|
360
|
-
"id": "el_uzZNtK32Zi",
|
|
361
|
-
"fillRule": "nonzero"
|
|
362
|
-
},
|
|
269
|
+
}, [createVNode("defs", null, [createVNode("path", {
|
|
270
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
271
|
+
"id": "path-1"
|
|
272
|
+
}, null), createVNode("path", {
|
|
273
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
274
|
+
"id": "path-3"
|
|
275
|
+
}, null), createVNode("path", {
|
|
276
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
277
|
+
"id": "path-5"
|
|
278
|
+
}, null), createVNode("path", {
|
|
279
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
280
|
+
"id": "path-7"
|
|
281
|
+
}, null), createVNode("path", {
|
|
282
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
283
|
+
"id": "path-9"
|
|
284
|
+
}, null), createVNode("path", {
|
|
285
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
286
|
+
"id": "path-11"
|
|
287
|
+
}, null), createVNode("path", {
|
|
288
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
289
|
+
"id": "path-13"
|
|
290
|
+
}, null), createVNode("path", {
|
|
291
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
292
|
+
"id": "path-15"
|
|
293
|
+
}, null)]), createVNode("g", {
|
|
294
|
+
"id": "el_QJeJ_2CDw5",
|
|
295
|
+
"fillRule": "evenodd"
|
|
296
|
+
}, [createVNode("g", {
|
|
297
|
+
"id": "el_UYYCfubTRf"
|
|
298
|
+
}, [createVNode("path", {
|
|
299
|
+
"d": "M142.731204,111 C137.280427,111 132.719573,114.852 131.82965,120.095 C127.268796,145.24 104.464526,164.5 76.9881611,164.5 C49.5117965,164.5 26.7075263,145.24 22.1466723,120.095 C21.2567496,114.852 16.6958955,111 11.2451187,111 C4.45945784,111 -0.880078594,116.778 0.121084488,123.198 C5.57186127,155.298 32.2695435,180.443 65.8641269,185.044 L65.8641269,207.3 C65.8641269,213.185 70.8699423,218 76.9881611,218 C83.10638,218 88.1121954,213.185 88.1121954,207.3 L88.1121954,185.044 C121.706779,180.443 148.404461,155.298 153.855238,123.198 C154.967641,116.778 149.516864,111 142.731204,111 Z",
|
|
300
|
+
"id": "el_uzZNtK32Zi",
|
|
301
|
+
"fillRule": "nonzero",
|
|
363
302
|
"style": {
|
|
364
303
|
fill: '#0B6AFF'
|
|
365
304
|
}
|
|
366
|
-
}),
|
|
367
|
-
"
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}
|
|
373
|
-
"
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
})
|
|
401
|
-
"
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
"
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
"
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
})]),
|
|
414
|
-
"
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
"
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
"
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
"
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
"
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
},
|
|
461
|
-
"
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
}, [
|
|
466
|
-
"
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
"
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
"
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
"
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
"
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
"
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
"
|
|
514
|
-
|
|
515
|
-
}
|
|
516
|
-
}, [h("mask", {
|
|
517
|
-
"attrs": {
|
|
518
|
-
"id": "mask-12",
|
|
519
|
-
"fill": "#fff"
|
|
520
|
-
}
|
|
521
|
-
}, [h("use", {
|
|
522
|
-
"attrs": {
|
|
523
|
-
"xlink:href": "#path-11"
|
|
524
|
-
}
|
|
525
|
-
})]), h("path", {
|
|
526
|
-
"attrs": {
|
|
527
|
-
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
528
|
-
"id": "el__ZcqlS20zcw",
|
|
529
|
-
"fillRule": "nonzero",
|
|
530
|
-
"mask": "url(#mask-12)"
|
|
531
|
-
}
|
|
532
|
-
}), h("rect", {
|
|
533
|
-
"attrs": {
|
|
534
|
-
"id": "el_8DnEQnD7VWV",
|
|
535
|
-
"mask": "url(#mask-12)",
|
|
536
|
-
"x": "0.279",
|
|
537
|
-
"width": "77",
|
|
538
|
-
"height": "55"
|
|
539
|
-
}
|
|
540
|
-
})]), h("g", {
|
|
541
|
-
"attrs": {
|
|
542
|
-
"id": "el_ZOjjrPTvyrv"
|
|
543
|
-
}
|
|
544
|
-
}, [h("mask", {
|
|
545
|
-
"attrs": {
|
|
546
|
-
"id": "mask-14",
|
|
547
|
-
"fill": "#fff"
|
|
548
|
-
}
|
|
549
|
-
}, [h("use", {
|
|
550
|
-
"attrs": {
|
|
551
|
-
"xlink:href": "#path-13"
|
|
552
|
-
}
|
|
553
|
-
})]), h("path", {
|
|
554
|
-
"attrs": {
|
|
555
|
-
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
556
|
-
"id": "el_FYYKCI_u24e",
|
|
557
|
-
"fillRule": "nonzero",
|
|
558
|
-
"mask": "url(#mask-14)"
|
|
559
|
-
}
|
|
560
|
-
}), h("rect", {
|
|
561
|
-
"attrs": {
|
|
562
|
-
"id": "el_XZty4MnTp5Y",
|
|
563
|
-
"mask": "url(#mask-14)",
|
|
564
|
-
"x": "0.279",
|
|
565
|
-
"width": "77",
|
|
566
|
-
"height": "40"
|
|
567
|
-
}
|
|
568
|
-
})]), h("g", {
|
|
569
|
-
"attrs": {
|
|
570
|
-
"id": "el_2FATegVmf0K"
|
|
571
|
-
}
|
|
572
|
-
}, [h("mask", {
|
|
573
|
-
"attrs": {
|
|
574
|
-
"id": "mask-16",
|
|
575
|
-
"fill": "#fff"
|
|
576
|
-
}
|
|
577
|
-
}, [h("use", {
|
|
578
|
-
"attrs": {
|
|
579
|
-
"xlink:href": "#path-15"
|
|
580
|
-
}
|
|
581
|
-
})]), h("path", {
|
|
582
|
-
"attrs": {
|
|
583
|
-
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
584
|
-
"id": "el_RMT1KUfbdF8",
|
|
585
|
-
"fillRule": "nonzero",
|
|
586
|
-
"mask": "url(#mask-16)"
|
|
587
|
-
}
|
|
588
|
-
}), h("rect", {
|
|
589
|
-
"attrs": {
|
|
590
|
-
"id": "el_RgLcovvFiO1",
|
|
591
|
-
"mask": "url(#mask-16)",
|
|
592
|
-
"x": "0.279",
|
|
593
|
-
"width": "77",
|
|
594
|
-
"height": "25"
|
|
595
|
-
}
|
|
596
|
-
})])])])]);
|
|
305
|
+
}, null), createVNode("path", {
|
|
306
|
+
"d": "M76.9864699,147.789474 C98.090352,147.789474 115.126016,131.286316 115.126016,110.842105 L115.126016,36.9473684 C115.126016,16.5031579 98.090352,0 76.9864699,0 C55.8825877,0 38.8469239,16.5031579 38.8469239,36.9473684 L38.8469239,110.842105 C38.8469239,131.286316 55.8825877,147.789474 76.9864699,147.789474 Z",
|
|
307
|
+
"id": "el_EYKQ2N9Kgy",
|
|
308
|
+
"fillRule": "nonzero"
|
|
309
|
+
}, null), createVNode("g", {
|
|
310
|
+
"id": "el_6SDP2LAgKC"
|
|
311
|
+
}, [createVNode("mask", {
|
|
312
|
+
"id": "mask-2",
|
|
313
|
+
"fill": "#fff"
|
|
314
|
+
}, [createVNode("use", {
|
|
315
|
+
"xlink:href": "#path-1"
|
|
316
|
+
}, null)]), createVNode("path", {
|
|
317
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
318
|
+
"id": "el_-Vm65Ltfy7",
|
|
319
|
+
"fillRule": "nonzero",
|
|
320
|
+
"mask": "url(#mask-2)"
|
|
321
|
+
}, null), createVNode("rect", {
|
|
322
|
+
"id": "el_q04iZcSim4",
|
|
323
|
+
"mask": "url(#mask-2)",
|
|
324
|
+
"x": "0.279",
|
|
325
|
+
"width": "77",
|
|
326
|
+
"height": "130"
|
|
327
|
+
}, null)]), createVNode("g", {
|
|
328
|
+
"id": "el_6WKby7wXqV"
|
|
329
|
+
}, [createVNode("mask", {
|
|
330
|
+
"id": "mask-4",
|
|
331
|
+
"fill": "#fff"
|
|
332
|
+
}, [createVNode("use", {
|
|
333
|
+
"xlink:href": "#path-3"
|
|
334
|
+
}, null)]), createVNode("path", {
|
|
335
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
336
|
+
"id": "el_9bggsfQOtU",
|
|
337
|
+
"fillRule": "nonzero",
|
|
338
|
+
"mask": "url(#mask-4)"
|
|
339
|
+
}, null), createVNode("rect", {
|
|
340
|
+
"id": "el_NKxqi9eIym",
|
|
341
|
+
"mask": "url(#mask-4)",
|
|
342
|
+
"x": "0.279",
|
|
343
|
+
"width": "77",
|
|
344
|
+
"height": "115"
|
|
345
|
+
}, null)]), createVNode("g", {
|
|
346
|
+
"id": "el_Wi-my975tM"
|
|
347
|
+
}, [createVNode("mask", {
|
|
348
|
+
"id": "mask-6",
|
|
349
|
+
"fill": "#fff"
|
|
350
|
+
}, [createVNode("use", {
|
|
351
|
+
"xlink:href": "#path-5"
|
|
352
|
+
}, null)]), createVNode("path", {
|
|
353
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
354
|
+
"id": "el_zclQ34fvf7",
|
|
355
|
+
"fillRule": "nonzero",
|
|
356
|
+
"mask": "url(#mask-6)"
|
|
357
|
+
}, null), createVNode("rect", {
|
|
358
|
+
"id": "el_1OsvRT8HkeZ",
|
|
359
|
+
"mask": "url(#mask-6)",
|
|
360
|
+
"x": "0.279",
|
|
361
|
+
"width": "77",
|
|
362
|
+
"height": "100"
|
|
363
|
+
}, null)]), createVNode("g", {
|
|
364
|
+
"id": "el_DkfFFTaFxy8"
|
|
365
|
+
}, [createVNode("mask", {
|
|
366
|
+
"id": "mask-8",
|
|
367
|
+
"fill": "#fff"
|
|
368
|
+
}, [createVNode("use", {
|
|
369
|
+
"xlink:href": "#path-7"
|
|
370
|
+
}, null)]), createVNode("path", {
|
|
371
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
372
|
+
"id": "el_aa9sjx4H0vA",
|
|
373
|
+
"fillRule": "nonzero",
|
|
374
|
+
"mask": "url(#mask-8)"
|
|
375
|
+
}, null), createVNode("rect", {
|
|
376
|
+
"id": "el_tea114vWg0J",
|
|
377
|
+
"mask": "url(#mask-8)",
|
|
378
|
+
"x": "0.279",
|
|
379
|
+
"width": "77",
|
|
380
|
+
"height": "85"
|
|
381
|
+
}, null)]), createVNode("g", {
|
|
382
|
+
"id": "el_34IgwiMB5rf"
|
|
383
|
+
}, [createVNode("mask", {
|
|
384
|
+
"id": "mask-10",
|
|
385
|
+
"fill": "#fff"
|
|
386
|
+
}, [createVNode("use", {
|
|
387
|
+
"xlink:href": "#path-9"
|
|
388
|
+
}, null)]), createVNode("path", {
|
|
389
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
390
|
+
"id": "el_z5u6RAFhx7d",
|
|
391
|
+
"fillRule": "nonzero",
|
|
392
|
+
"mask": "url(#mask-10)"
|
|
393
|
+
}, null), createVNode("rect", {
|
|
394
|
+
"id": "el_7nfuWmA5Uhy",
|
|
395
|
+
"mask": "url(#mask-10)",
|
|
396
|
+
"x": "0.279",
|
|
397
|
+
"width": "77",
|
|
398
|
+
"height": "70"
|
|
399
|
+
}, null)]), createVNode("g", {
|
|
400
|
+
"id": "el_DeebuCsPTGA"
|
|
401
|
+
}, [createVNode("mask", {
|
|
402
|
+
"id": "mask-12",
|
|
403
|
+
"fill": "#fff"
|
|
404
|
+
}, [createVNode("use", {
|
|
405
|
+
"xlink:href": "#path-11"
|
|
406
|
+
}, null)]), createVNode("path", {
|
|
407
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
408
|
+
"id": "el__ZcqlS20zcw",
|
|
409
|
+
"fillRule": "nonzero",
|
|
410
|
+
"mask": "url(#mask-12)"
|
|
411
|
+
}, null), createVNode("rect", {
|
|
412
|
+
"id": "el_8DnEQnD7VWV",
|
|
413
|
+
"mask": "url(#mask-12)",
|
|
414
|
+
"x": "0.279",
|
|
415
|
+
"width": "77",
|
|
416
|
+
"height": "55"
|
|
417
|
+
}, null)]), createVNode("g", {
|
|
418
|
+
"id": "el_ZOjjrPTvyrv"
|
|
419
|
+
}, [createVNode("mask", {
|
|
420
|
+
"id": "mask-14",
|
|
421
|
+
"fill": "#fff"
|
|
422
|
+
}, [createVNode("use", {
|
|
423
|
+
"xlink:href": "#path-13"
|
|
424
|
+
}, null)]), createVNode("path", {
|
|
425
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
426
|
+
"id": "el_FYYKCI_u24e",
|
|
427
|
+
"fillRule": "nonzero",
|
|
428
|
+
"mask": "url(#mask-14)"
|
|
429
|
+
}, null), createVNode("rect", {
|
|
430
|
+
"id": "el_XZty4MnTp5Y",
|
|
431
|
+
"mask": "url(#mask-14)",
|
|
432
|
+
"x": "0.279",
|
|
433
|
+
"width": "77",
|
|
434
|
+
"height": "40"
|
|
435
|
+
}, null)]), createVNode("g", {
|
|
436
|
+
"id": "el_2FATegVmf0K"
|
|
437
|
+
}, [createVNode("mask", {
|
|
438
|
+
"id": "mask-16",
|
|
439
|
+
"fill": "#fff"
|
|
440
|
+
}, [createVNode("use", {
|
|
441
|
+
"xlink:href": "#path-15"
|
|
442
|
+
}, null)]), createVNode("path", {
|
|
443
|
+
"d": "M38.779092,147.789474 C60.0824253,147.789474 77.279092,131.286316 77.279092,110.842105 L77.279092,36.9473684 C77.279092,16.5031579 60.0824253,0 38.779092,0 C17.4757586,0 0.279091964,16.5031579 0.279091964,36.9473684 L0.279091964,110.842105 C0.279091964,131.286316 17.4757586,147.789474 38.779092,147.789474 Z",
|
|
444
|
+
"id": "el_RMT1KUfbdF8",
|
|
445
|
+
"fillRule": "nonzero",
|
|
446
|
+
"mask": "url(#mask-16)"
|
|
447
|
+
}, null), createVNode("rect", {
|
|
448
|
+
"id": "el_RgLcovvFiO1",
|
|
449
|
+
"mask": "url(#mask-16)",
|
|
450
|
+
"x": "0.279",
|
|
451
|
+
"width": "77",
|
|
452
|
+
"height": "25"
|
|
453
|
+
}, null)])])])]);
|
|
597
454
|
}
|
|
598
455
|
};
|
|
599
456
|
|
|
@@ -712,38 +569,25 @@ var Mic = {
|
|
|
712
569
|
return hasCustomRenderer(this);
|
|
713
570
|
},
|
|
714
571
|
Icon: function Icon() {
|
|
715
|
-
var h = this.$createElement;
|
|
716
572
|
var status = this.$data.status;
|
|
717
573
|
var className = this.$props.className;
|
|
718
574
|
switch (status) {
|
|
719
575
|
case STATUS.active:
|
|
720
|
-
return
|
|
721
|
-
"
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
"nativeOn": {
|
|
725
|
-
"click": this.handleClick
|
|
726
|
-
}
|
|
727
|
-
});
|
|
576
|
+
return createVNode(ListenSvg, {
|
|
577
|
+
"className": className,
|
|
578
|
+
"nativeOnClick": this.handleClick
|
|
579
|
+
}, null);
|
|
728
580
|
case STATUS.stopped:
|
|
729
581
|
case STATUS.denied:
|
|
730
|
-
return
|
|
731
|
-
"
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
"nativeOn": {
|
|
735
|
-
"click": this.handleClick
|
|
736
|
-
}
|
|
737
|
-
});
|
|
582
|
+
return createVNode(MuteSvg, {
|
|
583
|
+
"className": className,
|
|
584
|
+
"nativeOnClick": this.handleClick
|
|
585
|
+
}, null);
|
|
738
586
|
default:
|
|
739
|
-
return
|
|
740
|
-
"
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
"nativeOn": {
|
|
744
|
-
"click": this.handleClick
|
|
745
|
-
}
|
|
746
|
-
});
|
|
587
|
+
return createVNode(MicSvg, {
|
|
588
|
+
"className": className,
|
|
589
|
+
"nativeOnClick": this.handleClick
|
|
590
|
+
}, null);
|
|
747
591
|
}
|
|
748
592
|
}
|
|
749
593
|
},
|
|
@@ -762,11 +606,15 @@ var Mic = {
|
|
|
762
606
|
}
|
|
763
607
|
},
|
|
764
608
|
render: function render() {
|
|
765
|
-
var
|
|
609
|
+
var _this2 = this;
|
|
766
610
|
if (this.hasCustomRenderer) {
|
|
767
611
|
return this.getComponent();
|
|
768
612
|
}
|
|
769
|
-
return
|
|
613
|
+
return createVNode(IconWrapper, null, {
|
|
614
|
+
"default": function _default() {
|
|
615
|
+
return [_this2.Icon];
|
|
616
|
+
}
|
|
617
|
+
});
|
|
770
618
|
}
|
|
771
619
|
};
|
|
772
620
|
|
|
@@ -783,89 +631,70 @@ var CustomSvg = {
|
|
|
783
631
|
};
|
|
784
632
|
},
|
|
785
633
|
render: function render() {
|
|
786
|
-
var h = arguments[0];
|
|
787
634
|
if (this.customIcon) {
|
|
788
|
-
return
|
|
635
|
+
return createVNode("div", {
|
|
789
636
|
"class": this.$props.className
|
|
790
637
|
}, [this.customIcon]);
|
|
791
638
|
}
|
|
792
639
|
if (this.$props.type === 'recent-search-icon') {
|
|
793
|
-
return
|
|
794
|
-
"
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
"viewBox": "0 0 24 24"
|
|
800
|
-
},
|
|
640
|
+
return createVNode("svg", {
|
|
641
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
642
|
+
"alt": "Recent Search",
|
|
643
|
+
"height": "20",
|
|
644
|
+
"width": "20",
|
|
645
|
+
"viewBox": "0 0 24 24",
|
|
801
646
|
"style": {
|
|
802
647
|
fill: '#707070'
|
|
803
648
|
},
|
|
804
649
|
"class": this.$props.className
|
|
805
|
-
}, [
|
|
806
|
-
"
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
}
|
|
811
|
-
"attrs": {
|
|
812
|
-
"d": "M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"
|
|
813
|
-
}
|
|
814
|
-
})]);
|
|
650
|
+
}, [createVNode("path", {
|
|
651
|
+
"d": "M0 0h24v24H0z",
|
|
652
|
+
"fill": "none"
|
|
653
|
+
}, null), createVNode("path", {
|
|
654
|
+
"d": "M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"
|
|
655
|
+
}, null)]);
|
|
815
656
|
}
|
|
816
657
|
if (this.$props.type === 'promoted-search-icon') {
|
|
817
|
-
return
|
|
818
|
-
"
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
"viewBox": "0 0 24 24"
|
|
824
|
-
},
|
|
658
|
+
return createVNode("svg", {
|
|
659
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
660
|
+
"width": "20",
|
|
661
|
+
"alt": "promoted search",
|
|
662
|
+
"height": "20",
|
|
663
|
+
"viewBox": "0 0 24 24",
|
|
825
664
|
"class": this.$props.className,
|
|
826
665
|
"style": {
|
|
827
666
|
fill: '#707070'
|
|
828
667
|
}
|
|
829
|
-
}, [
|
|
830
|
-
"
|
|
831
|
-
|
|
832
|
-
}
|
|
833
|
-
})]);
|
|
668
|
+
}, [createVNode("path", {
|
|
669
|
+
"d": "M12 .587l3.668 7.568 8.332 1.151-6.064 5.828 1.48 8.279-7.416-3.967-7.417 3.967 1.481-8.279-6.064-5.828 8.332-1.151z"
|
|
670
|
+
}, null)]);
|
|
834
671
|
}
|
|
835
672
|
if (this.$props.type === 'popular-search-icon') {
|
|
836
|
-
return
|
|
837
|
-
"
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
"viewBox": "0 0 24 24"
|
|
843
|
-
},
|
|
673
|
+
return createVNode("svg", {
|
|
674
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
675
|
+
"alt": "Popular Search",
|
|
676
|
+
"height": "20",
|
|
677
|
+
"width": "20",
|
|
678
|
+
"viewBox": "0 0 24 24",
|
|
844
679
|
"style": {
|
|
845
680
|
fill: '#707070'
|
|
846
681
|
},
|
|
847
682
|
"class": this.$props.className
|
|
848
|
-
}, [
|
|
849
|
-
"
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
}
|
|
854
|
-
"attrs": {
|
|
855
|
-
"d": "M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"
|
|
856
|
-
}
|
|
857
|
-
})]);
|
|
683
|
+
}, [createVNode("path", {
|
|
684
|
+
"d": "M0 0h24v24H0z",
|
|
685
|
+
"fill": "none"
|
|
686
|
+
}, null), createVNode("path", {
|
|
687
|
+
"d": "M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"
|
|
688
|
+
}, null)]);
|
|
858
689
|
}
|
|
859
|
-
return
|
|
860
|
-
"
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
}
|
|
868
|
-
});
|
|
690
|
+
return createVNode(SearchSvg, {
|
|
691
|
+
"styles": {
|
|
692
|
+
position: 'relative',
|
|
693
|
+
fill: '#707070',
|
|
694
|
+
left: '3px',
|
|
695
|
+
marginRight: '8px'
|
|
696
|
+
}
|
|
697
|
+
}, null);
|
|
869
698
|
}
|
|
870
699
|
};
|
|
871
700
|
|
|
@@ -873,6 +702,9 @@ var _templateObject$6, _templateObject2;
|
|
|
873
702
|
var TagsContainer = styled('div')(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tmargin-top: 10px;\n\twidth: 100%;\n"])));
|
|
874
703
|
var TagItem = styled('span')(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\tcursor: default;\n\tbox-sizing: border-box;\n\tmargin: 0 4px 4px 0;\n\tcolor: #000000d9;\n\tfont-size: 14px;\n\tfont-variant: tabular-nums;\n\tline-height: 1.5715;\n\tlist-style: none;\n\tfont-feature-settings: 'tnum';\n\tdisplay: inline-block;\n\theight: auto;\n\tpadding: 0 2px 0 7px;\n\tfont-size: 12px;\n\tline-height: 22px;\n\twhite-space: nowrap;\n\tbackground: #fafafa;\n\tborder: 1px solid #d9d9d9;\n\tborder-radius: 2px;\n\topacity: 1;\n\ttransition: all 0.3s;\n\n\tspan.close-icon {\n\t\tsvg {\n\t\t\tcursor: pointer;\n\t\t\theight: 15px;\n\t\t\tposition: relative;\n\t\t\ttop: 4px;\n\t\t\tfill: #262626;\n\t\t}\n\t}\n"])));
|
|
875
704
|
|
|
705
|
+
function _isSlot(s) {
|
|
706
|
+
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
707
|
+
}
|
|
876
708
|
var updateQuery = Actions.updateQuery,
|
|
877
709
|
setQueryOptions = Actions.setQueryOptions,
|
|
878
710
|
setCustomQuery = Actions.setCustomQuery,
|
|
@@ -1541,31 +1373,31 @@ var DataSearch = {
|
|
|
1541
1373
|
return highlightedIndex === index ? '#eee' : '#fff';
|
|
1542
1374
|
},
|
|
1543
1375
|
renderIcon: function renderIcon() {
|
|
1544
|
-
var h = this.$createElement;
|
|
1545
1376
|
if (this.$props.showIcon) {
|
|
1546
|
-
return this.$props.icon ||
|
|
1377
|
+
return this.$props.icon || createVNode(SearchSvg, null, null);
|
|
1547
1378
|
}
|
|
1548
1379
|
return null;
|
|
1549
1380
|
},
|
|
1550
1381
|
renderErrorComponent: function renderErrorComponent() {
|
|
1551
|
-
var
|
|
1552
|
-
var renderError = this.$
|
|
1382
|
+
var _this3 = this;
|
|
1383
|
+
var renderError = this.$slots.renderError || this.$props.renderError;
|
|
1553
1384
|
if (this.error && renderError && this.$data.currentValue && !this.isLoading) {
|
|
1554
|
-
return
|
|
1555
|
-
"
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1385
|
+
return createVNode(SuggestionWrapper, {
|
|
1386
|
+
"innerClass": this.$props.innerClass,
|
|
1387
|
+
"innerClassName": "error",
|
|
1388
|
+
"theme": this.theme,
|
|
1389
|
+
"themePreset": this.themePreset
|
|
1390
|
+
}, {
|
|
1391
|
+
"default": function _default() {
|
|
1392
|
+
return [isFunction(renderError) ? renderError(_this3.error) : renderError];
|
|
1560
1393
|
}
|
|
1561
|
-
}
|
|
1394
|
+
});
|
|
1562
1395
|
}
|
|
1563
1396
|
return null;
|
|
1564
1397
|
},
|
|
1565
1398
|
renderCancelIcon: function renderCancelIcon() {
|
|
1566
|
-
var h = this.$createElement;
|
|
1567
1399
|
if (this.$props.showClear) {
|
|
1568
|
-
return this.$props.clearIcon ||
|
|
1400
|
+
return this.$props.clearIcon || createVNode(CancelSvg, null, null);
|
|
1569
1401
|
}
|
|
1570
1402
|
return null;
|
|
1571
1403
|
},
|
|
@@ -1573,58 +1405,58 @@ var DataSearch = {
|
|
|
1573
1405
|
if (finalSuggestionsList === void 0) {
|
|
1574
1406
|
finalSuggestionsList = [];
|
|
1575
1407
|
}
|
|
1576
|
-
var h = this.$createElement;
|
|
1577
1408
|
var _this$$props4 = this.$props,
|
|
1578
1409
|
theme = _this$$props4.theme,
|
|
1579
1410
|
innerClass = _this$$props4.innerClass;
|
|
1580
|
-
var renderNoSuggestion = this.$
|
|
1581
|
-
var renderError = this.$
|
|
1411
|
+
var renderNoSuggestion = this.$slots.renderNoSuggestion() || this.$props.renderNoSuggestion;
|
|
1412
|
+
var renderError = this.$slots.renderError() || this.$props.renderError;
|
|
1582
1413
|
var _this$$data = this.$data,
|
|
1583
1414
|
isOpen = _this$$data.isOpen,
|
|
1584
1415
|
currentValue = _this$$data.currentValue;
|
|
1585
1416
|
if (renderNoSuggestion && isOpen && !finalSuggestionsList.length && !this.isLoading && currentValue && !(renderError && this.error)) {
|
|
1586
|
-
return
|
|
1587
|
-
"
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
"innerClassName": "noSuggestion"
|
|
1592
|
-
},
|
|
1417
|
+
return createVNode(SuggestionWrapper, {
|
|
1418
|
+
"innerClass": innerClass,
|
|
1419
|
+
"themePreset": this.themePreset,
|
|
1420
|
+
"theme": theme,
|
|
1421
|
+
"innerClassName": "noSuggestion",
|
|
1593
1422
|
"scopedSlots": {
|
|
1594
1423
|
"default": function _default() {
|
|
1595
1424
|
return typeof renderNoSuggestion === 'function' ? renderNoSuggestion(currentValue) : renderNoSuggestion;
|
|
1596
1425
|
}
|
|
1597
1426
|
}
|
|
1598
|
-
});
|
|
1427
|
+
}, null);
|
|
1599
1428
|
}
|
|
1600
1429
|
return null;
|
|
1601
1430
|
},
|
|
1602
1431
|
renderInputAddonBefore: function renderInputAddonBefore() {
|
|
1603
|
-
var
|
|
1604
|
-
var addonBefore = this.$scopedSlots.addonBefore;
|
|
1432
|
+
var addonBefore = this.$slots.addonBefore;
|
|
1605
1433
|
if (addonBefore) {
|
|
1606
|
-
|
|
1434
|
+
var _slot;
|
|
1435
|
+
return createVNode(InputAddon, null, _isSlot(_slot = addonBefore()) ? _slot : {
|
|
1436
|
+
"default": function _default() {
|
|
1437
|
+
return [_slot];
|
|
1438
|
+
}
|
|
1439
|
+
});
|
|
1607
1440
|
}
|
|
1608
1441
|
return null;
|
|
1609
1442
|
},
|
|
1610
1443
|
renderTag: function renderTag(item) {
|
|
1611
|
-
var
|
|
1612
|
-
var h = this.$createElement;
|
|
1444
|
+
var _this4 = this;
|
|
1613
1445
|
var innerClass = this.$props.innerClass;
|
|
1614
|
-
return
|
|
1446
|
+
return createVNode(TagItem, {
|
|
1615
1447
|
"class": getClassName$1(innerClass, 'selected-tag') || ''
|
|
1616
|
-
},
|
|
1617
|
-
"
|
|
1618
|
-
"
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
}
|
|
1448
|
+
}, {
|
|
1449
|
+
"default": function _default() {
|
|
1450
|
+
return [createVNode("span", null, [item]), createVNode("span", {
|
|
1451
|
+
"role": "img",
|
|
1452
|
+
"aria-label": "delete-tag",
|
|
1453
|
+
"class": "close-icon",
|
|
1454
|
+
"onClick": function onClick() {
|
|
1455
|
+
return _this4.clearTag(item);
|
|
1456
|
+
}
|
|
1457
|
+
}, [createVNode(CancelSvg, null, null)])];
|
|
1626
1458
|
}
|
|
1627
|
-
}
|
|
1459
|
+
});
|
|
1628
1460
|
},
|
|
1629
1461
|
clearAllTags: function clearAllTags() {
|
|
1630
1462
|
this.selectedTags = [];
|
|
@@ -1643,43 +1475,51 @@ var DataSearch = {
|
|
|
1643
1475
|
}
|
|
1644
1476
|
},
|
|
1645
1477
|
renderTags: function renderTags() {
|
|
1646
|
-
var
|
|
1647
|
-
var h = this.$createElement;
|
|
1478
|
+
var _this5 = this;
|
|
1648
1479
|
if (!Array.isArray(this.selectedTags)) {
|
|
1649
1480
|
return null;
|
|
1650
1481
|
}
|
|
1651
1482
|
var tagsList = [].concat(this.selectedTags);
|
|
1652
1483
|
var shouldRenderClearAllTag = tagsList.length > 1;
|
|
1653
|
-
var renderSelectedTags = this.$
|
|
1484
|
+
var renderSelectedTags = this.$slots.renderSelectedTags || this.$props.renderSelectedTags;
|
|
1654
1485
|
return renderSelectedTags ? renderSelectedTags({
|
|
1655
1486
|
values: this.selectedTags,
|
|
1656
1487
|
handleClear: this.clearTag,
|
|
1657
1488
|
handleClearAll: this.clearAllTags
|
|
1658
|
-
}) :
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1489
|
+
}) : createVNode(TagsContainer, null, {
|
|
1490
|
+
"default": function _default() {
|
|
1491
|
+
return [tagsList.map(function (item) {
|
|
1492
|
+
return _this5.renderTag(item);
|
|
1493
|
+
}), shouldRenderClearAllTag && createVNode(TagItem, {
|
|
1494
|
+
"class": getClassName$1(_this5.$props.innerClass, 'selected-tag') || ''
|
|
1495
|
+
}, {
|
|
1496
|
+
"default": function _default() {
|
|
1497
|
+
return [createVNode("span", null, [createTextVNode("Clear All")]), createVNode("span", {
|
|
1498
|
+
"role": "img",
|
|
1499
|
+
"aria-label": "delete-tag",
|
|
1500
|
+
"class": "close-icon",
|
|
1501
|
+
"onClick": _this5.clearAllTags
|
|
1502
|
+
}, [createVNode(CancelSvg, null, null)])];
|
|
1503
|
+
}
|
|
1504
|
+
})];
|
|
1670
1505
|
}
|
|
1671
|
-
}
|
|
1506
|
+
});
|
|
1672
1507
|
},
|
|
1673
1508
|
renderInputAddonAfter: function renderInputAddonAfter() {
|
|
1674
|
-
var
|
|
1675
|
-
var addonAfter = this.$scopedSlots.addonAfter;
|
|
1509
|
+
var addonAfter = this.$slots.addonAfter;
|
|
1676
1510
|
if (addonAfter) {
|
|
1677
|
-
|
|
1511
|
+
var _slot2;
|
|
1512
|
+
return createVNode(InputAddon, null, _isSlot(_slot2 = addonAfter()) ? _slot2 : {
|
|
1513
|
+
"default": function _default() {
|
|
1514
|
+
return [_slot2];
|
|
1515
|
+
}
|
|
1516
|
+
});
|
|
1678
1517
|
}
|
|
1679
1518
|
return null;
|
|
1680
1519
|
},
|
|
1681
1520
|
renderIcons: function renderIcons() {
|
|
1682
|
-
var
|
|
1521
|
+
var _this6 = this;
|
|
1522
|
+
var _slot3, _slot4, _slot5;
|
|
1683
1523
|
var _this$$props5 = this.$props,
|
|
1684
1524
|
iconPosition = _this$$props5.iconPosition,
|
|
1685
1525
|
showClear = _this$$props5.showClear,
|
|
@@ -1687,42 +1527,48 @@ var DataSearch = {
|
|
|
1687
1527
|
getMicInstance = _this$$props5.getMicInstance,
|
|
1688
1528
|
showVoiceSearch = _this$$props5.showVoiceSearch,
|
|
1689
1529
|
showIcon = _this$$props5.showIcon;
|
|
1690
|
-
var renderMic = this.$
|
|
1530
|
+
var renderMic = this.$slots.renderMic || this.$props.renderMic;
|
|
1691
1531
|
var currentValue = this.$data.currentValue;
|
|
1692
|
-
return
|
|
1693
|
-
"
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
"attrs": {
|
|
1718
|
-
"groupPosition": "left",
|
|
1719
|
-
"positionType": "absolute"
|
|
1532
|
+
return createVNode("div", null, [createVNode(IconGroup, {
|
|
1533
|
+
"groupPosition": "right",
|
|
1534
|
+
"positionType": "absolute"
|
|
1535
|
+
}, {
|
|
1536
|
+
"default": function _default() {
|
|
1537
|
+
return [currentValue && showClear && createVNode(IconWrapper, {
|
|
1538
|
+
"onClick": _this6.clearValue,
|
|
1539
|
+
"showIcon": showIcon,
|
|
1540
|
+
"isClearIcon": true
|
|
1541
|
+
}, _isSlot(_slot3 = _this6.renderCancelIcon()) ? _slot3 : {
|
|
1542
|
+
"default": function _default() {
|
|
1543
|
+
return [_slot3];
|
|
1544
|
+
}
|
|
1545
|
+
}), showVoiceSearch && createVNode(Mic, {
|
|
1546
|
+
"getInstance": getMicInstance,
|
|
1547
|
+
"render": renderMic,
|
|
1548
|
+
"handleResult": _this6.handleVoiceResults,
|
|
1549
|
+
"className": getClassName$1(innerClass, 'mic') || null
|
|
1550
|
+
}, null), iconPosition === 'right' && showIcon && createVNode(IconWrapper, {
|
|
1551
|
+
"onClick": _this6.handleSearchIconClick
|
|
1552
|
+
}, _isSlot(_slot4 = _this6.renderIcon()) ? _slot4 : {
|
|
1553
|
+
"default": function _default() {
|
|
1554
|
+
return [_slot4];
|
|
1555
|
+
}
|
|
1556
|
+
})];
|
|
1720
1557
|
}
|
|
1721
|
-
},
|
|
1722
|
-
"
|
|
1723
|
-
|
|
1558
|
+
}), createVNode(IconGroup, {
|
|
1559
|
+
"groupPosition": "left",
|
|
1560
|
+
"positionType": "absolute"
|
|
1561
|
+
}, {
|
|
1562
|
+
"default": function _default() {
|
|
1563
|
+
return [iconPosition === 'left' && showIcon && createVNode(IconWrapper, {
|
|
1564
|
+
"onClick": _this6.handleSearchIconClick
|
|
1565
|
+
}, _isSlot(_slot5 = _this6.renderIcon()) ? _slot5 : {
|
|
1566
|
+
"default": function _default() {
|
|
1567
|
+
return [_slot5];
|
|
1568
|
+
}
|
|
1569
|
+
})];
|
|
1724
1570
|
}
|
|
1725
|
-
}
|
|
1571
|
+
})]);
|
|
1726
1572
|
},
|
|
1727
1573
|
focusSearchBox: function focusSearchBox(event) {
|
|
1728
1574
|
var _this$$refs, _this$$refs$this$$pro;
|
|
@@ -1735,7 +1581,7 @@ var DataSearch = {
|
|
|
1735
1581
|
(_this$$refs = this.$refs) == null ? void 0 : (_this$$refs$this$$pro = _this$$refs[this.$props.innerRef]) == null ? void 0 : _this$$refs$this$$pro.focus(); // eslint-disable-line
|
|
1736
1582
|
},
|
|
1737
1583
|
listenForFocusShortcuts: function listenForFocusShortcuts() {
|
|
1738
|
-
var
|
|
1584
|
+
var _this7 = this;
|
|
1739
1585
|
var _this$$props$focusSho = this.$props.focusShortcuts,
|
|
1740
1586
|
focusShortcuts = _this$$props$focusSho === void 0 ? ['/'] : _this$$props$focusSho;
|
|
1741
1587
|
if (isEmpty(focusShortcuts)) {
|
|
@@ -1750,7 +1596,7 @@ var DataSearch = {
|
|
|
1750
1596
|
function (event, handler) {
|
|
1751
1597
|
// Prevent the default refresh event under WINDOWS system
|
|
1752
1598
|
event.preventDefault();
|
|
1753
|
-
|
|
1599
|
+
_this7.focusSearchBox(event);
|
|
1754
1600
|
});
|
|
1755
1601
|
|
|
1756
1602
|
// if one of modifier keys are used, they are handled below
|
|
@@ -1760,7 +1606,7 @@ var DataSearch = {
|
|
|
1760
1606
|
for (var index = 0; index < modifierKeys.length; index += 1) {
|
|
1761
1607
|
var element = modifierKeys[index];
|
|
1762
1608
|
if (hotkeys[element]) {
|
|
1763
|
-
|
|
1609
|
+
_this7.focusSearchBox(event);
|
|
1764
1610
|
break;
|
|
1765
1611
|
}
|
|
1766
1612
|
}
|
|
@@ -1768,217 +1614,234 @@ var DataSearch = {
|
|
|
1768
1614
|
}
|
|
1769
1615
|
},
|
|
1770
1616
|
render: function render() {
|
|
1771
|
-
var
|
|
1772
|
-
var h = arguments[0];
|
|
1617
|
+
var _this8 = this;
|
|
1773
1618
|
var _this$$props6 = this.$props,
|
|
1774
1619
|
theme = _this$$props6.theme,
|
|
1775
1620
|
size = _this$$props6.size,
|
|
1776
1621
|
expandSuggestionsContainer = _this$$props6.expandSuggestionsContainer,
|
|
1777
1622
|
enableDefaultSuggestions = _this$$props6.enableDefaultSuggestions;
|
|
1778
|
-
var _this$$
|
|
1779
|
-
recentSearchesIcon = _this$$
|
|
1780
|
-
popularSearchesIcon = _this$$
|
|
1623
|
+
var _this$$slots = this.$slots,
|
|
1624
|
+
recentSearchesIcon = _this$$slots.recentSearchesIcon,
|
|
1625
|
+
popularSearchesIcon = _this$$slots.popularSearchesIcon;
|
|
1781
1626
|
var hasSuggestions = this.currentValue ? this.suggestionsList.length || this.topSuggestions.length : this.defaultSearchSuggestions.length;
|
|
1782
1627
|
if (enableDefaultSuggestions === false && !this.currentValue) {
|
|
1783
1628
|
hasSuggestions = false;
|
|
1784
1629
|
}
|
|
1785
|
-
return
|
|
1630
|
+
return createVNode(Container, {
|
|
1786
1631
|
"class": this.$props.className
|
|
1787
|
-
},
|
|
1788
|
-
"
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
}))
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
}))
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
"
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1632
|
+
}, {
|
|
1633
|
+
"default": function _default() {
|
|
1634
|
+
return [_this8.$props.title && createVNode(Title, {
|
|
1635
|
+
"class": getClassName$1(_this8.$props.innerClass, 'title') || ''
|
|
1636
|
+
}, {
|
|
1637
|
+
"default": function _default() {
|
|
1638
|
+
return [_this8.$props.title];
|
|
1639
|
+
}
|
|
1640
|
+
}), _this8.$props.defaultSuggestions || _this8.$props.autosuggest ? createVNode(Downshift, {
|
|
1641
|
+
"id": _this8.$props.componentId + "-downshift",
|
|
1642
|
+
"handleChange": _this8.onSuggestionSelected,
|
|
1643
|
+
"handleMouseup": _this8.handleStateChange,
|
|
1644
|
+
"isOpen": _this8.$data.isOpen,
|
|
1645
|
+
"scopedSlots": {
|
|
1646
|
+
"default": function _default(_ref4) {
|
|
1647
|
+
var getInputEvents = _ref4.getInputEvents,
|
|
1648
|
+
getInputProps = _ref4.getInputProps,
|
|
1649
|
+
getItemProps = _ref4.getItemProps,
|
|
1650
|
+
getItemEvents = _ref4.getItemEvents,
|
|
1651
|
+
isOpen = _ref4.isOpen,
|
|
1652
|
+
highlightedIndex = _ref4.highlightedIndex,
|
|
1653
|
+
setHighlightedIndex = _ref4.setHighlightedIndex;
|
|
1654
|
+
var renderSuggestionsContainer = function renderSuggestionsContainer() {
|
|
1655
|
+
return createVNode("div", null, [_this8.hasCustomRenderer && _this8.getComponent({
|
|
1656
|
+
isOpen: isOpen,
|
|
1657
|
+
getItemProps: getItemProps,
|
|
1658
|
+
getItemEvents: getItemEvents,
|
|
1659
|
+
highlightedIndex: highlightedIndex
|
|
1660
|
+
}), _this8.renderErrorComponent(), !_this8.hasCustomRenderer && isOpen && hasSuggestions ? createVNode("ul", {
|
|
1661
|
+
"class": suggestions(_this8.themePreset, theme) + " " + getClassName$1(_this8.$props.innerClass, 'list')
|
|
1662
|
+
}, [_this8.suggestionsList.slice(0, size || 10).map(function (item, index) {
|
|
1663
|
+
return createVNode("li", mergeProps({
|
|
1664
|
+
domProps: getItemProps({
|
|
1665
|
+
item: item
|
|
1666
|
+
})
|
|
1667
|
+
}, {
|
|
1668
|
+
on: getItemEvents({
|
|
1669
|
+
item: item
|
|
1670
|
+
})
|
|
1671
|
+
}, {
|
|
1672
|
+
"key": index + 1 + "-" + item.value,
|
|
1673
|
+
"style": {
|
|
1674
|
+
backgroundColor: _this8.getBackgroundColor(highlightedIndex, index)
|
|
1675
|
+
}
|
|
1676
|
+
}), [createVNode(SuggestionItem, {
|
|
1677
|
+
"currentValue": _this8.currentValue,
|
|
1678
|
+
"suggestion": item
|
|
1679
|
+
}, null)]);
|
|
1680
|
+
}), _this8.defaultSearchSuggestions.map(function (sugg, index) {
|
|
1681
|
+
return createVNode("li", mergeProps({
|
|
1682
|
+
domProps: getItemProps({
|
|
1683
|
+
item: sugg
|
|
1684
|
+
})
|
|
1685
|
+
}, {
|
|
1686
|
+
on: getItemEvents({
|
|
1687
|
+
item: sugg
|
|
1688
|
+
})
|
|
1689
|
+
}, {
|
|
1690
|
+
"key": _this8.suggestionsList.length + index + 1 + "-" + sugg.value,
|
|
1691
|
+
"style": {
|
|
1692
|
+
backgroundColor: _this8.getBackgroundColor(highlightedIndex, _this8.suggestionsList.length + index),
|
|
1693
|
+
justifyContent: 'flex-start'
|
|
1694
|
+
}
|
|
1695
|
+
}), [createVNode("div", {
|
|
1696
|
+
"style": {
|
|
1697
|
+
padding: '0 10px 0 0'
|
|
1698
|
+
}
|
|
1699
|
+
}, [sugg.source && sugg.source._recent_search && createVNode(CustomSvg, {
|
|
1700
|
+
"className": getClassName$1(_this8.$props.innerClass, 'recent-search-icon') || null,
|
|
1701
|
+
"icon": recentSearchesIcon,
|
|
1702
|
+
"type": "recent-search-icon"
|
|
1703
|
+
}, null), sugg.source && sugg.source._popular_suggestion && createVNode(CustomSvg, {
|
|
1704
|
+
"className": getClassName$1(_this8.$props.innerClass, 'popular-search-icon') || null,
|
|
1705
|
+
"icon": popularSearchesIcon,
|
|
1706
|
+
"type": "popular-search-icon"
|
|
1707
|
+
}, null)]), createVNode(SuggestionItem, {
|
|
1708
|
+
"currentValue": _this8.currentValue,
|
|
1709
|
+
"suggestion": sugg
|
|
1710
|
+
}, null)]);
|
|
1711
|
+
}), hasQuerySuggestionsRenderer(_this8) ? _this8.getComponent({
|
|
1712
|
+
isOpen: isOpen,
|
|
1713
|
+
getItemProps: getItemProps,
|
|
1714
|
+
getItemEvents: getItemEvents,
|
|
1715
|
+
highlightedIndex: highlightedIndex
|
|
1716
|
+
}, true) : _this8.topSuggestions.map(function (sugg, index) {
|
|
1717
|
+
return createVNode("li", mergeProps({
|
|
1718
|
+
domProps: getItemProps({
|
|
1719
|
+
item: sugg
|
|
1720
|
+
})
|
|
1721
|
+
}, {
|
|
1722
|
+
on: getItemEvents({
|
|
1723
|
+
item: sugg
|
|
1724
|
+
})
|
|
1725
|
+
}, {
|
|
1726
|
+
"key": _this8.suggestionsList.length + index + 1 + "-" + sugg.value,
|
|
1727
|
+
"style": {
|
|
1728
|
+
backgroundColor: _this8.getBackgroundColor(highlightedIndex, _this8.suggestionsList.length + index),
|
|
1729
|
+
justifyContent: 'flex-start'
|
|
1730
|
+
}
|
|
1731
|
+
}), [createVNode("div", {
|
|
1732
|
+
"style": {
|
|
1733
|
+
padding: '0 10px 0 0'
|
|
1734
|
+
}
|
|
1735
|
+
}, [createVNode(CustomSvg, {
|
|
1736
|
+
"className": getClassName$1(_this8.$props.innerClass, 'popular-search-icon') || null,
|
|
1737
|
+
"icon": popularSearchesIcon,
|
|
1738
|
+
"type": "popular-search-icon"
|
|
1739
|
+
}, null)]), createVNode(SuggestionItem, {
|
|
1740
|
+
"currentValue": _this8.currentValue,
|
|
1741
|
+
"suggestion": sugg
|
|
1742
|
+
}, null)]);
|
|
1743
|
+
})]) : _this8.renderNoSuggestions(_this8.suggestionsList)]);
|
|
1744
|
+
};
|
|
1745
|
+
return createVNode("div", {
|
|
1746
|
+
"class": suggestionsContainer
|
|
1747
|
+
}, [createVNode(InputGroup, null, {
|
|
1748
|
+
"default": function _default() {
|
|
1749
|
+
return [_this8.renderInputAddonBefore(), createVNode(InputWrapper, null, {
|
|
1750
|
+
"default": function _default() {
|
|
1751
|
+
return [createVNode(Input, mergeProps({
|
|
1752
|
+
"id": _this8.$props.componentId + "-input",
|
|
1753
|
+
"showIcon": _this8.$props.showIcon,
|
|
1754
|
+
"showClear": _this8.$props.showClear,
|
|
1755
|
+
"iconPosition": _this8.$props.iconPosition,
|
|
1756
|
+
"ref": _this8.$props.innerRef,
|
|
1757
|
+
"class": getClassName$1(_this8.$props.innerClass, 'input'),
|
|
1758
|
+
"placeholder": _this8.$props.placeholder,
|
|
1759
|
+
"autoFocus": _this8.$props.autoFocus
|
|
1760
|
+
}, {
|
|
1761
|
+
on: getInputEvents({
|
|
1762
|
+
onInput: _this8.onInputChange,
|
|
1763
|
+
onBlur: function onBlur(e) {
|
|
1764
|
+
_this8.$emit('blur', e, _this8.triggerQuery);
|
|
1765
|
+
},
|
|
1766
|
+
onFocus: _this8.handleFocus,
|
|
1767
|
+
onKeyPress: function onKeyPress(e) {
|
|
1768
|
+
_this8.$emit('keyPress', e, _this8.triggerQuery);
|
|
1769
|
+
_this8.$emit('key-press', e, _this8.triggerQuery);
|
|
1770
|
+
},
|
|
1771
|
+
onKeyDown: function onKeyDown(e) {
|
|
1772
|
+
return _this8.handleKeyDown(e, highlightedIndex);
|
|
1773
|
+
},
|
|
1774
|
+
onKeyUp: function onKeyUp(e) {
|
|
1775
|
+
_this8.$emit('keyUp', e, _this8.triggerQuery);
|
|
1776
|
+
_this8.$emit('key-up', e, _this8.triggerQuery);
|
|
1777
|
+
},
|
|
1778
|
+
onClick: function onClick() {
|
|
1779
|
+
setHighlightedIndex(null);
|
|
1780
|
+
}
|
|
1781
|
+
})
|
|
1782
|
+
}, {
|
|
1783
|
+
domProps: getInputProps({
|
|
1784
|
+
value: _this8.$data.currentValue === null || typeof _this8.$data.currentValue !== 'string' ? '' : _this8.$data.currentValue
|
|
1785
|
+
})
|
|
1786
|
+
}, {
|
|
1787
|
+
"themePreset": _this8.themePreset,
|
|
1788
|
+
"autocomplete": "off"
|
|
1789
|
+
}), null), _this8.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()];
|
|
1790
|
+
}
|
|
1791
|
+
}), ' ', _this8.renderInputAddonAfter()];
|
|
1898
1792
|
}
|
|
1899
|
-
})]);
|
|
1900
|
-
}
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
"
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1793
|
+
}), expandSuggestionsContainer && renderSuggestionsContainer(), _this8.renderTags()]);
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
}, null) : createVNode("div", {
|
|
1797
|
+
"class": suggestionsContainer
|
|
1798
|
+
}, [createVNode(InputGroup, null, {
|
|
1799
|
+
"default": function _default() {
|
|
1800
|
+
return [_this8.renderInputAddonBefore(), createVNode(InputWrapper, null, {
|
|
1801
|
+
"default": function _default() {
|
|
1802
|
+
return [createVNode(Input, mergeProps({
|
|
1803
|
+
"class": getClassName$1(_this8.$props.innerClass, 'input') || '',
|
|
1804
|
+
"placeholder": _this8.$props.placeholder
|
|
1805
|
+
}, {
|
|
1806
|
+
on: {
|
|
1807
|
+
blur: function blur(e) {
|
|
1808
|
+
_this8.$emit('blur', e, _this8.triggerQuery);
|
|
1809
|
+
},
|
|
1810
|
+
keypress: function keypress(e) {
|
|
1811
|
+
_this8.$emit('keyPress', e, _this8.triggerQuery);
|
|
1812
|
+
_this8.$emit('key-press', e, _this8.triggerQuery);
|
|
1813
|
+
},
|
|
1814
|
+
input: _this8.onInputChange,
|
|
1815
|
+
focus: function focus(e) {
|
|
1816
|
+
_this8.$emit('focus', e, _this8.triggerQuery);
|
|
1817
|
+
},
|
|
1818
|
+
keydown: function keydown(e) {
|
|
1819
|
+
_this8.$emit('keyDown', e, _this8.triggerQuery);
|
|
1820
|
+
_this8.$emit('key-down', e, _this8.triggerQuery);
|
|
1821
|
+
},
|
|
1822
|
+
keyup: function keyup(e) {
|
|
1823
|
+
_this8.$emit('keyUp', e, _this8.triggerQuery);
|
|
1824
|
+
_this8.$emit('key-up', e, _this8.triggerQuery);
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
}, {
|
|
1828
|
+
domProps: {
|
|
1829
|
+
autofocus: _this8.$props.autoFocus,
|
|
1830
|
+
value: _this8.$data.currentValue ? _this8.$data.currentValue : ''
|
|
1831
|
+
}
|
|
1832
|
+
}, {
|
|
1833
|
+
"iconPosition": _this8.$props.iconPosition,
|
|
1834
|
+
"showIcon": _this8.$props.showIcon,
|
|
1835
|
+
"showClear": _this8.$props.showClear,
|
|
1836
|
+
"ref": _this8.$props.innerRef,
|
|
1837
|
+
"themePreset": _this8.themePreset
|
|
1838
|
+
}), null), _this8.renderIcons()];
|
|
1936
1839
|
}
|
|
1937
|
-
}))
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
}))
|
|
1941
|
-
}), _this6.renderIcons(), !expandSuggestionsContainer && renderSuggestionsContainer()]), ' ', _this6.renderInputAddonAfter()]), expandSuggestionsContainer && renderSuggestionsContainer(), _this6.renderTags()]);
|
|
1942
|
-
}
|
|
1840
|
+
}), _this8.renderInputAddonAfter()];
|
|
1841
|
+
}
|
|
1842
|
+
}), _this8.renderTags()])];
|
|
1943
1843
|
}
|
|
1944
|
-
})
|
|
1945
|
-
"class": suggestionsContainer
|
|
1946
|
-
}, [h(InputGroup, [this.renderInputAddonBefore(), h(InputWrapper, [h(Input, {
|
|
1947
|
-
"class": getClassName$1(this.$props.innerClass, 'input') || '',
|
|
1948
|
-
"attrs": {
|
|
1949
|
-
"placeholder": this.$props.placeholder,
|
|
1950
|
-
"iconPosition": this.$props.iconPosition,
|
|
1951
|
-
"showIcon": this.$props.showIcon,
|
|
1952
|
-
"showClear": this.$props.showClear,
|
|
1953
|
-
"themePreset": this.themePreset
|
|
1954
|
-
},
|
|
1955
|
-
"on": _extends({}, {
|
|
1956
|
-
blur: function blur(e) {
|
|
1957
|
-
_this6.$emit('blur', e, _this6.triggerQuery);
|
|
1958
|
-
},
|
|
1959
|
-
keypress: function keypress(e) {
|
|
1960
|
-
_this6.$emit('keyPress', e, _this6.triggerQuery);
|
|
1961
|
-
_this6.$emit('key-press', e, _this6.triggerQuery);
|
|
1962
|
-
},
|
|
1963
|
-
input: this.onInputChange,
|
|
1964
|
-
focus: function focus(e) {
|
|
1965
|
-
_this6.$emit('focus', e, _this6.triggerQuery);
|
|
1966
|
-
},
|
|
1967
|
-
keydown: function keydown(e) {
|
|
1968
|
-
_this6.$emit('keyDown', e, _this6.triggerQuery);
|
|
1969
|
-
_this6.$emit('key-down', e, _this6.triggerQuery);
|
|
1970
|
-
},
|
|
1971
|
-
keyup: function keyup(e) {
|
|
1972
|
-
_this6.$emit('keyUp', e, _this6.triggerQuery);
|
|
1973
|
-
_this6.$emit('key-up', e, _this6.triggerQuery);
|
|
1974
|
-
}
|
|
1975
|
-
}),
|
|
1976
|
-
"domProps": _extends({}, {
|
|
1977
|
-
autofocus: this.$props.autoFocus,
|
|
1978
|
-
value: this.$data.currentValue ? this.$data.currentValue : ''
|
|
1979
|
-
}),
|
|
1980
|
-
"ref": this.$props.innerRef
|
|
1981
|
-
}), this.renderIcons()]), this.renderInputAddonAfter()]), this.renderTags()])]);
|
|
1844
|
+
});
|
|
1982
1845
|
},
|
|
1983
1846
|
destroyed: function destroyed() {
|
|
1984
1847
|
document.removeEventListener('keydown', this.onKeyDown);
|