@appbaseio/reactivesearch-vue 1.34.0-alpha.1 → 1.34.0
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 +1175 -1297
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +6 -11
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{ComponentWrapper-9318cece.js → ComponentWrapper-94c50228.js} +16 -7
- package/dist/cjs/DataSearch.js +1310 -17
- package/dist/cjs/{DropDown-8984b544.js → DropDown-7a52c661.js} +2 -2
- package/dist/cjs/DynamicRangeSlider.js +12 -8
- package/dist/cjs/MultiDropdownList.js +11 -8
- package/dist/cjs/MultiList.js +10 -8
- package/dist/cjs/MultiRange.js +7 -4
- package/dist/cjs/{Pagination-07f4dbad.js → Pagination-e56a5b79.js} +1 -1
- package/dist/cjs/{PreferencesConsumer-5d67b486.js → PreferencesConsumer-5e6e84a2.js} +1 -1
- package/dist/cjs/RangeInput.js +4 -4
- package/dist/cjs/RangeSlider.js +7 -4
- package/dist/cjs/ReactiveBase.js +10 -6
- package/dist/cjs/ReactiveComponent.js +316 -45
- package/dist/cjs/{ReactiveComponent-0a354ed7.js → ReactiveComponentPrivate-244c6055.js} +32 -318
- package/dist/cjs/ReactiveComponentPrivate.js +55 -0
- package/dist/cjs/ReactiveGoogleMap.js +139 -108
- package/dist/cjs/ReactiveList.js +17 -6
- package/dist/cjs/ResultCard.js +1 -1
- package/dist/cjs/ResultList.js +1 -1
- package/dist/cjs/SelectedFilters.js +2 -2
- package/dist/cjs/SingleDropdownList.js +10 -8
- package/dist/cjs/SingleList.js +10 -8
- package/dist/cjs/SingleRange.js +7 -4
- package/dist/cjs/StateProvider.js +1 -1
- package/dist/cjs/Tags-4ec43831.js +883 -0
- package/dist/cjs/ToggleButton.js +6 -4
- package/dist/cjs/{index-30126fd0.js → index-de136c17.js} +2 -0
- package/dist/cjs/index.js +14 -11
- package/dist/cjs/initReactivesearch.js +0 -3
- package/dist/cjs/install.js +11 -9
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-7cfc2f98.js → vueTypes-b7007f5f.js} +2 -1
- package/dist/es/{ComponentWrapper-240450cc.js → ComponentWrapper-edaeaceb.js} +16 -7
- package/dist/es/DataSearch.js +1310 -15
- package/dist/es/{DropDown-28ddce07.js → DropDown-2c0dd714.js} +2 -2
- package/dist/es/DynamicRangeSlider.js +12 -8
- package/dist/es/MultiDropdownList.js +11 -8
- package/dist/es/MultiList.js +10 -8
- package/dist/es/MultiRange.js +7 -4
- package/dist/es/{Pagination-28e56c5c.js → Pagination-edeb7dbe.js} +1 -1
- package/dist/es/{PreferencesConsumer-bc097ebb.js → PreferencesConsumer-86a676c8.js} +1 -1
- package/dist/es/RangeInput.js +4 -4
- package/dist/es/RangeSlider.js +7 -4
- package/dist/es/ReactiveBase.js +10 -6
- package/dist/es/ReactiveComponent.js +316 -44
- package/dist/es/{ReactiveComponent-9352370c.js → ReactiveComponentPrivate-6f16e1b7.js} +19 -305
- package/dist/es/ReactiveComponentPrivate.js +47 -0
- package/dist/es/ReactiveGoogleMap.js +139 -108
- package/dist/es/ReactiveList.js +17 -6
- package/dist/es/ResultCard.js +1 -1
- package/dist/es/ResultList.js +1 -1
- package/dist/es/SelectedFilters.js +2 -2
- package/dist/es/SingleDropdownList.js +10 -8
- package/dist/es/SingleList.js +10 -8
- package/dist/es/SingleRange.js +7 -4
- package/dist/es/StateProvider.js +1 -1
- package/dist/es/Tags-1c2d6c4d.js +869 -0
- package/dist/es/ToggleButton.js +6 -4
- package/dist/es/{index-0444a498.js → index-5509c0bc.js} +2 -0
- package/dist/es/index.js +10 -8
- package/dist/es/initReactivesearch.js +0 -3
- package/dist/es/install.js +11 -9
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-8986b709.js → vueTypes-66ebc93e.js} +2 -1
- package/package.json +87 -87
- package/dist/cjs/DataSearch-8ea2651a.js +0 -2175
- package/dist/es/DataSearch-dcaa106b.js +0 -2159
|
@@ -0,0 +1,883 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var configureStore = require('@appbaseio/reactivecore');
|
|
6
|
+
var configureStore__default = _interopDefault(configureStore);
|
|
7
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
8
|
+
var VueTypes = _interopDefault(require('vue-types'));
|
|
9
|
+
var styled = require('@appbaseio/vue-emotion');
|
|
10
|
+
var styled__default = _interopDefault(styled);
|
|
11
|
+
var vueTypes = require('./vueTypes-b7007f5f.js');
|
|
12
|
+
var index = require('./index-de136c17.js');
|
|
13
|
+
var Flex = require('./Flex-ddd7cb6b.js');
|
|
14
|
+
var CancelSvg = require('./CancelSvg-220a7cc3.js');
|
|
15
|
+
var Input = require('./Input-ead4cd84.js');
|
|
16
|
+
var Highlight = _interopDefault(require('vue-highlight-words'));
|
|
17
|
+
|
|
18
|
+
var _templateObject;
|
|
19
|
+
var InputGroup = styled__default('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n display: flex;\n align-items: stretch;\n width: 100%;\n"])));
|
|
20
|
+
InputGroup.defaultProps = {
|
|
21
|
+
className: 'input-group'
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
var _templateObject$1;
|
|
25
|
+
var InputAddon = styled__default('span')(_templateObject$1 || (_templateObject$1 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #fafafa;\n border: 1px solid #ccc;\n border-radius: 2px;\n color: rgba(0, 0, 0, 0.85);\n font-size: 14px;\n font-weight: 400;\n padding: 0 11px;\n position: relative;\n transition: all 0.3s;\n box-sizing: border-box;\n overflow: hidden;\n\n &:first-of-type {\n border-right: none;\n }\n &:last-of-type {\n border-left: none;\n }\n"])));
|
|
26
|
+
InputAddon.defaultProps = {
|
|
27
|
+
className: 'input-addon'
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var getClassName = configureStore.helper.getClassName;
|
|
31
|
+
var SuggestionWrapper = {
|
|
32
|
+
name: 'SuggestionWrapper',
|
|
33
|
+
props: {
|
|
34
|
+
innerClassName: vueTypes.types.string,
|
|
35
|
+
themePreset: vueTypes.types.themePreset,
|
|
36
|
+
innerClass: vueTypes.types.style
|
|
37
|
+
},
|
|
38
|
+
render: function render() {
|
|
39
|
+
var h = arguments[0];
|
|
40
|
+
var _this$$props = this.$props,
|
|
41
|
+
themePreset = _this$$props.themePreset,
|
|
42
|
+
innerClass = _this$$props.innerClass,
|
|
43
|
+
innerClassName = _this$$props.innerClassName;
|
|
44
|
+
return h("div", {
|
|
45
|
+
"class": Input.noSuggestions(themePreset) + " " + getClassName(innerClass, innerClassName || '')
|
|
46
|
+
}, [h("li", [this.$scopedSlots["default"]()])]);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
var _templateObject$2;
|
|
51
|
+
var highlightStyle = {
|
|
52
|
+
fontWeight: 600,
|
|
53
|
+
padding: 0,
|
|
54
|
+
backgroundColor: 'transparent',
|
|
55
|
+
color: 'inherit'
|
|
56
|
+
};
|
|
57
|
+
var PredictiveSuggestion = styled__default('span')(_templateObject$2 || (_templateObject$2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t.highlight {\n\t\tbackground: transparent;\n\t\tcolor: inherit;\n\t\tfont-weight: 600;\n\t\tpadding: 0;\n\t}\n"])));
|
|
58
|
+
var SuggestionItem = {
|
|
59
|
+
name: 'SuggestionItem',
|
|
60
|
+
props: {
|
|
61
|
+
currentValue: vueTypes.types.string,
|
|
62
|
+
suggestion: vueTypes.types.any
|
|
63
|
+
},
|
|
64
|
+
render: function render() {
|
|
65
|
+
var h = arguments[0];
|
|
66
|
+
var _this$suggestion = this.suggestion,
|
|
67
|
+
label = _this$suggestion.label,
|
|
68
|
+
value = _this$suggestion.value,
|
|
69
|
+
title = _this$suggestion.title,
|
|
70
|
+
description = _this$suggestion.description,
|
|
71
|
+
image = _this$suggestion.image,
|
|
72
|
+
isPredictiveSuggestion = _this$suggestion.isPredictiveSuggestion,
|
|
73
|
+
_suggestion_type = _this$suggestion._suggestion_type,
|
|
74
|
+
_category = _this$suggestion._category;
|
|
75
|
+
if (label) {
|
|
76
|
+
// label has highest precedence
|
|
77
|
+
return typeof label === 'string' ? h("div", {
|
|
78
|
+
"class": "trim"
|
|
79
|
+
}, [(_category ? false : isPredictiveSuggestion
|
|
80
|
+
// eslint-disable-next-line
|
|
81
|
+
|| !!_suggestion_type) ? h(PredictiveSuggestion, {
|
|
82
|
+
"domProps": {
|
|
83
|
+
"innerHTML": label
|
|
84
|
+
}
|
|
85
|
+
}) : h(Highlight, {
|
|
86
|
+
"attrs": {
|
|
87
|
+
"searchWords": _category ? [_category] : this.currentValue.split(' '),
|
|
88
|
+
"textToHighlight": label,
|
|
89
|
+
"autoEscape": true,
|
|
90
|
+
"highlightStyle": highlightStyle
|
|
91
|
+
}
|
|
92
|
+
})]) : label;
|
|
93
|
+
}
|
|
94
|
+
if (title || image || description) {
|
|
95
|
+
return h(Flex.Flex, {
|
|
96
|
+
"attrs": {
|
|
97
|
+
"alignItems": "center",
|
|
98
|
+
"css": {
|
|
99
|
+
width: '100%'
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}, [image && h("div", {
|
|
103
|
+
"attrs": {
|
|
104
|
+
"css": {
|
|
105
|
+
margin: 'auto',
|
|
106
|
+
marginRight: 10
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}, [h("img", {
|
|
110
|
+
"attrs": {
|
|
111
|
+
"src": image,
|
|
112
|
+
"alt": " ",
|
|
113
|
+
"height": "50px",
|
|
114
|
+
"width": "50px",
|
|
115
|
+
"css": {
|
|
116
|
+
objectFit: 'contain'
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
})]), h(Flex.Flex, {
|
|
120
|
+
"attrs": {
|
|
121
|
+
"direction": "column",
|
|
122
|
+
"css": {
|
|
123
|
+
width: image ? 'calc(100% - 60px)' : '100%'
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}, [title && h("div", {
|
|
127
|
+
"class": "trim"
|
|
128
|
+
}, [h(Highlight, {
|
|
129
|
+
"attrs": {
|
|
130
|
+
"searchWords": this.currentValue.split(' '),
|
|
131
|
+
"textToHighlight": title,
|
|
132
|
+
"highlightStyle": highlightStyle
|
|
133
|
+
},
|
|
134
|
+
"class": styled.css({
|
|
135
|
+
fontSize: '1rem'
|
|
136
|
+
})
|
|
137
|
+
})]), description && h("div", {
|
|
138
|
+
"class": styled.cx('trim', styled.css({
|
|
139
|
+
marginTop: 3
|
|
140
|
+
}))
|
|
141
|
+
}, [h(Highlight, {
|
|
142
|
+
"attrs": {
|
|
143
|
+
"searchWords": this.currentValue.split(' '),
|
|
144
|
+
"textToHighlight": description,
|
|
145
|
+
"highlightStyle": highlightStyle
|
|
146
|
+
}
|
|
147
|
+
})])])]);
|
|
148
|
+
}
|
|
149
|
+
return value;
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
var SearchSvg = {
|
|
154
|
+
name: 'SearchSvg',
|
|
155
|
+
props: ['styles'],
|
|
156
|
+
render: function render() {
|
|
157
|
+
var h = arguments[0];
|
|
158
|
+
return h("svg", {
|
|
159
|
+
"attrs": {
|
|
160
|
+
"alt": "Search",
|
|
161
|
+
"height": "12",
|
|
162
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
163
|
+
"viewBox": "0 0 15 15"
|
|
164
|
+
},
|
|
165
|
+
"class": "search-icon",
|
|
166
|
+
"style": _rollupPluginBabelHelpers._extends({
|
|
167
|
+
transform: 'scale(1.35)',
|
|
168
|
+
position: 'relative'
|
|
169
|
+
}, this.$props.styles ? this.$props.styles : {})
|
|
170
|
+
}, [h("title", ["Search"]), h("path", {
|
|
171
|
+
"attrs": {
|
|
172
|
+
"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'
|
|
173
|
+
}
|
|
174
|
+
})]);
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
var _templateObject$3;
|
|
179
|
+
|
|
180
|
+
// eslint-disable-next-line
|
|
181
|
+
styled.injectGlobal(_templateObject$3 || (_templateObject$3 = _rollupPluginBabelHelpers._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"])));
|
|
182
|
+
var MicSvg = {
|
|
183
|
+
name: 'MicSvg',
|
|
184
|
+
props: ['className'],
|
|
185
|
+
render: function render() {
|
|
186
|
+
var h = arguments[0];
|
|
187
|
+
return h("svg", {
|
|
188
|
+
"attrs": {
|
|
189
|
+
"viewBox": "0 0 480 480",
|
|
190
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
191
|
+
"id": "el_xS0FRzQjJ",
|
|
192
|
+
"width": 28,
|
|
193
|
+
"height": 28,
|
|
194
|
+
"className": this.$props.className
|
|
195
|
+
},
|
|
196
|
+
"style": {
|
|
197
|
+
transform: 'scale(1.5)'
|
|
198
|
+
}
|
|
199
|
+
}, [h("g", {
|
|
200
|
+
"attrs": {
|
|
201
|
+
"id": "el_TvxDfTAtKp",
|
|
202
|
+
"fillRule": "evenodd"
|
|
203
|
+
}
|
|
204
|
+
}, [h("g", {
|
|
205
|
+
"attrs": {
|
|
206
|
+
"id": "el_D93PK3GbmJ",
|
|
207
|
+
"fillRule": "nonzero"
|
|
208
|
+
},
|
|
209
|
+
"style": {
|
|
210
|
+
fill: '#595959'
|
|
211
|
+
}
|
|
212
|
+
}, [h("path", {
|
|
213
|
+
"attrs": {
|
|
214
|
+
"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",
|
|
215
|
+
"id": "el_uly3EwA2O3"
|
|
216
|
+
}
|
|
217
|
+
}), h("path", {
|
|
218
|
+
"attrs": {
|
|
219
|
+
"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",
|
|
220
|
+
"id": "el_tnDbR4ytu4"
|
|
221
|
+
}
|
|
222
|
+
})])])]);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
var _templateObject$4;
|
|
227
|
+
|
|
228
|
+
// eslint-disable-next-line
|
|
229
|
+
styled.injectGlobal(_templateObject$4 || (_templateObject$4 = _rollupPluginBabelHelpers._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"])));
|
|
230
|
+
var MuteSvg = {
|
|
231
|
+
name: 'MuteSvg',
|
|
232
|
+
props: ['className'],
|
|
233
|
+
render: function render() {
|
|
234
|
+
var h = arguments[0];
|
|
235
|
+
return h("svg", {
|
|
236
|
+
"style": {
|
|
237
|
+
transform: 'scale(1.5)'
|
|
238
|
+
},
|
|
239
|
+
"attrs": {
|
|
240
|
+
"viewBox": "0 0 480 480",
|
|
241
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
242
|
+
"id": "el_D1rEpH2zj",
|
|
243
|
+
"width": 28,
|
|
244
|
+
"height": 28,
|
|
245
|
+
"className": this.$props.className
|
|
246
|
+
}
|
|
247
|
+
}, [h("g", {
|
|
248
|
+
"attrs": {
|
|
249
|
+
"id": "el_X81iT9kZYo",
|
|
250
|
+
"fillRule": "evenodd"
|
|
251
|
+
}
|
|
252
|
+
}, [h("g", {
|
|
253
|
+
"attrs": {
|
|
254
|
+
"id": "el_gMpyalCphp"
|
|
255
|
+
}
|
|
256
|
+
}, [h("path", {
|
|
257
|
+
"attrs": {
|
|
258
|
+
"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",
|
|
259
|
+
"id": "el_c7H-3u-D4l",
|
|
260
|
+
"fillRule": "nonzero"
|
|
261
|
+
},
|
|
262
|
+
"style": {
|
|
263
|
+
fill: '#595959'
|
|
264
|
+
}
|
|
265
|
+
}), h("path", {
|
|
266
|
+
"attrs": {
|
|
267
|
+
"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",
|
|
268
|
+
"id": "el_qhFcdAAFwo",
|
|
269
|
+
"fillRule": "nonzero"
|
|
270
|
+
},
|
|
271
|
+
"style": {
|
|
272
|
+
fill: '#595959'
|
|
273
|
+
}
|
|
274
|
+
}), h("path", {
|
|
275
|
+
"attrs": {
|
|
276
|
+
"d": "M11.5,206.5 L142.5,12.5",
|
|
277
|
+
"id": "el_M8X8g37WOI",
|
|
278
|
+
"strokeLinecap": "round",
|
|
279
|
+
"strokeLinejoin": "round"
|
|
280
|
+
}
|
|
281
|
+
})])])]);
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
var _templateObject$5;
|
|
286
|
+
|
|
287
|
+
// eslint-disable-next-line
|
|
288
|
+
styled.injectGlobal(_templateObject$5 || (_templateObject$5 = _rollupPluginBabelHelpers._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"])));
|
|
289
|
+
var ListenSvg = {
|
|
290
|
+
name: 'ListenSvg',
|
|
291
|
+
props: ['className'],
|
|
292
|
+
render: function render() {
|
|
293
|
+
var h = arguments[0];
|
|
294
|
+
return h("svg", {
|
|
295
|
+
"attrs": {
|
|
296
|
+
"viewBox": "0 0 480 480",
|
|
297
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
298
|
+
"xmlnsXlink": "http://www.w3.org/1999/xlink",
|
|
299
|
+
"id": "el_hiibMG0x-",
|
|
300
|
+
"width": 28,
|
|
301
|
+
"height": 29,
|
|
302
|
+
"className": this.$props.className
|
|
303
|
+
},
|
|
304
|
+
"style": {
|
|
305
|
+
transform: 'scale(1.5)'
|
|
306
|
+
}
|
|
307
|
+
}, [h("defs", [h("path", {
|
|
308
|
+
"attrs": {
|
|
309
|
+
"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",
|
|
310
|
+
"id": "path-1"
|
|
311
|
+
}
|
|
312
|
+
}), h("path", {
|
|
313
|
+
"attrs": {
|
|
314
|
+
"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",
|
|
315
|
+
"id": "path-3"
|
|
316
|
+
}
|
|
317
|
+
}), h("path", {
|
|
318
|
+
"attrs": {
|
|
319
|
+
"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",
|
|
320
|
+
"id": "path-5"
|
|
321
|
+
}
|
|
322
|
+
}), h("path", {
|
|
323
|
+
"attrs": {
|
|
324
|
+
"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",
|
|
325
|
+
"id": "path-7"
|
|
326
|
+
}
|
|
327
|
+
}), h("path", {
|
|
328
|
+
"attrs": {
|
|
329
|
+
"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",
|
|
330
|
+
"id": "path-9"
|
|
331
|
+
}
|
|
332
|
+
}), h("path", {
|
|
333
|
+
"attrs": {
|
|
334
|
+
"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",
|
|
335
|
+
"id": "path-11"
|
|
336
|
+
}
|
|
337
|
+
}), h("path", {
|
|
338
|
+
"attrs": {
|
|
339
|
+
"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",
|
|
340
|
+
"id": "path-13"
|
|
341
|
+
}
|
|
342
|
+
}), h("path", {
|
|
343
|
+
"attrs": {
|
|
344
|
+
"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",
|
|
345
|
+
"id": "path-15"
|
|
346
|
+
}
|
|
347
|
+
})]), h("g", {
|
|
348
|
+
"attrs": {
|
|
349
|
+
"id": "el_QJeJ_2CDw5",
|
|
350
|
+
"fillRule": "evenodd"
|
|
351
|
+
}
|
|
352
|
+
}, [h("g", {
|
|
353
|
+
"attrs": {
|
|
354
|
+
"id": "el_UYYCfubTRf"
|
|
355
|
+
}
|
|
356
|
+
}, [h("path", {
|
|
357
|
+
"attrs": {
|
|
358
|
+
"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",
|
|
359
|
+
"id": "el_uzZNtK32Zi",
|
|
360
|
+
"fillRule": "nonzero"
|
|
361
|
+
},
|
|
362
|
+
"style": {
|
|
363
|
+
fill: '#0B6AFF'
|
|
364
|
+
}
|
|
365
|
+
}), h("path", {
|
|
366
|
+
"attrs": {
|
|
367
|
+
"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",
|
|
368
|
+
"id": "el_EYKQ2N9Kgy",
|
|
369
|
+
"fillRule": "nonzero"
|
|
370
|
+
}
|
|
371
|
+
}), h("g", {
|
|
372
|
+
"attrs": {
|
|
373
|
+
"id": "el_6SDP2LAgKC"
|
|
374
|
+
}
|
|
375
|
+
}, [h("mask", {
|
|
376
|
+
"attrs": {
|
|
377
|
+
"id": "mask-2",
|
|
378
|
+
"fill": "#fff"
|
|
379
|
+
}
|
|
380
|
+
}, [h("use", {
|
|
381
|
+
"attrs": {
|
|
382
|
+
"xlink:href": "#path-1"
|
|
383
|
+
}
|
|
384
|
+
})]), h("path", {
|
|
385
|
+
"attrs": {
|
|
386
|
+
"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",
|
|
387
|
+
"id": "el_-Vm65Ltfy7",
|
|
388
|
+
"fillRule": "nonzero",
|
|
389
|
+
"mask": "url(#mask-2)"
|
|
390
|
+
}
|
|
391
|
+
}), h("rect", {
|
|
392
|
+
"attrs": {
|
|
393
|
+
"id": "el_q04iZcSim4",
|
|
394
|
+
"mask": "url(#mask-2)",
|
|
395
|
+
"x": "0.279",
|
|
396
|
+
"width": "77",
|
|
397
|
+
"height": "130"
|
|
398
|
+
}
|
|
399
|
+
})]), h("g", {
|
|
400
|
+
"attrs": {
|
|
401
|
+
"id": "el_6WKby7wXqV"
|
|
402
|
+
}
|
|
403
|
+
}, [h("mask", {
|
|
404
|
+
"attrs": {
|
|
405
|
+
"id": "mask-4",
|
|
406
|
+
"fill": "#fff"
|
|
407
|
+
}
|
|
408
|
+
}, [h("use", {
|
|
409
|
+
"attrs": {
|
|
410
|
+
"xlink:href": "#path-3"
|
|
411
|
+
}
|
|
412
|
+
})]), h("path", {
|
|
413
|
+
"attrs": {
|
|
414
|
+
"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",
|
|
415
|
+
"id": "el_9bggsfQOtU",
|
|
416
|
+
"fillRule": "nonzero",
|
|
417
|
+
"mask": "url(#mask-4)"
|
|
418
|
+
}
|
|
419
|
+
}), h("rect", {
|
|
420
|
+
"attrs": {
|
|
421
|
+
"id": "el_NKxqi9eIym",
|
|
422
|
+
"mask": "url(#mask-4)",
|
|
423
|
+
"x": "0.279",
|
|
424
|
+
"width": "77",
|
|
425
|
+
"height": "115"
|
|
426
|
+
}
|
|
427
|
+
})]), h("g", {
|
|
428
|
+
"attrs": {
|
|
429
|
+
"id": "el_Wi-my975tM"
|
|
430
|
+
}
|
|
431
|
+
}, [h("mask", {
|
|
432
|
+
"attrs": {
|
|
433
|
+
"id": "mask-6",
|
|
434
|
+
"fill": "#fff"
|
|
435
|
+
}
|
|
436
|
+
}, [h("use", {
|
|
437
|
+
"attrs": {
|
|
438
|
+
"xlink:href": "#path-5"
|
|
439
|
+
}
|
|
440
|
+
})]), h("path", {
|
|
441
|
+
"attrs": {
|
|
442
|
+
"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",
|
|
443
|
+
"id": "el_zclQ34fvf7",
|
|
444
|
+
"fillRule": "nonzero",
|
|
445
|
+
"mask": "url(#mask-6)"
|
|
446
|
+
}
|
|
447
|
+
}), h("rect", {
|
|
448
|
+
"attrs": {
|
|
449
|
+
"id": "el_1OsvRT8HkeZ",
|
|
450
|
+
"mask": "url(#mask-6)",
|
|
451
|
+
"x": "0.279",
|
|
452
|
+
"width": "77",
|
|
453
|
+
"height": "100"
|
|
454
|
+
}
|
|
455
|
+
})]), h("g", {
|
|
456
|
+
"attrs": {
|
|
457
|
+
"id": "el_DkfFFTaFxy8"
|
|
458
|
+
}
|
|
459
|
+
}, [h("mask", {
|
|
460
|
+
"attrs": {
|
|
461
|
+
"id": "mask-8",
|
|
462
|
+
"fill": "#fff"
|
|
463
|
+
}
|
|
464
|
+
}, [h("use", {
|
|
465
|
+
"attrs": {
|
|
466
|
+
"xlink:href": "#path-7"
|
|
467
|
+
}
|
|
468
|
+
})]), h("path", {
|
|
469
|
+
"attrs": {
|
|
470
|
+
"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",
|
|
471
|
+
"id": "el_aa9sjx4H0vA",
|
|
472
|
+
"fillRule": "nonzero",
|
|
473
|
+
"mask": "url(#mask-8)"
|
|
474
|
+
}
|
|
475
|
+
}), h("rect", {
|
|
476
|
+
"attrs": {
|
|
477
|
+
"id": "el_tea114vWg0J",
|
|
478
|
+
"mask": "url(#mask-8)",
|
|
479
|
+
"x": "0.279",
|
|
480
|
+
"width": "77",
|
|
481
|
+
"height": "85"
|
|
482
|
+
}
|
|
483
|
+
})]), h("g", {
|
|
484
|
+
"attrs": {
|
|
485
|
+
"id": "el_34IgwiMB5rf"
|
|
486
|
+
}
|
|
487
|
+
}, [h("mask", {
|
|
488
|
+
"attrs": {
|
|
489
|
+
"id": "mask-10",
|
|
490
|
+
"fill": "#fff"
|
|
491
|
+
}
|
|
492
|
+
}, [h("use", {
|
|
493
|
+
"attrs": {
|
|
494
|
+
"xlink:href": "#path-9"
|
|
495
|
+
}
|
|
496
|
+
})]), h("path", {
|
|
497
|
+
"attrs": {
|
|
498
|
+
"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",
|
|
499
|
+
"id": "el_z5u6RAFhx7d",
|
|
500
|
+
"fillRule": "nonzero",
|
|
501
|
+
"mask": "url(#mask-10)"
|
|
502
|
+
}
|
|
503
|
+
}), h("rect", {
|
|
504
|
+
"attrs": {
|
|
505
|
+
"id": "el_7nfuWmA5Uhy",
|
|
506
|
+
"mask": "url(#mask-10)",
|
|
507
|
+
"x": "0.279",
|
|
508
|
+
"width": "77",
|
|
509
|
+
"height": "70"
|
|
510
|
+
}
|
|
511
|
+
})]), h("g", {
|
|
512
|
+
"attrs": {
|
|
513
|
+
"id": "el_DeebuCsPTGA"
|
|
514
|
+
}
|
|
515
|
+
}, [h("mask", {
|
|
516
|
+
"attrs": {
|
|
517
|
+
"id": "mask-12",
|
|
518
|
+
"fill": "#fff"
|
|
519
|
+
}
|
|
520
|
+
}, [h("use", {
|
|
521
|
+
"attrs": {
|
|
522
|
+
"xlink:href": "#path-11"
|
|
523
|
+
}
|
|
524
|
+
})]), h("path", {
|
|
525
|
+
"attrs": {
|
|
526
|
+
"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",
|
|
527
|
+
"id": "el__ZcqlS20zcw",
|
|
528
|
+
"fillRule": "nonzero",
|
|
529
|
+
"mask": "url(#mask-12)"
|
|
530
|
+
}
|
|
531
|
+
}), h("rect", {
|
|
532
|
+
"attrs": {
|
|
533
|
+
"id": "el_8DnEQnD7VWV",
|
|
534
|
+
"mask": "url(#mask-12)",
|
|
535
|
+
"x": "0.279",
|
|
536
|
+
"width": "77",
|
|
537
|
+
"height": "55"
|
|
538
|
+
}
|
|
539
|
+
})]), h("g", {
|
|
540
|
+
"attrs": {
|
|
541
|
+
"id": "el_ZOjjrPTvyrv"
|
|
542
|
+
}
|
|
543
|
+
}, [h("mask", {
|
|
544
|
+
"attrs": {
|
|
545
|
+
"id": "mask-14",
|
|
546
|
+
"fill": "#fff"
|
|
547
|
+
}
|
|
548
|
+
}, [h("use", {
|
|
549
|
+
"attrs": {
|
|
550
|
+
"xlink:href": "#path-13"
|
|
551
|
+
}
|
|
552
|
+
})]), h("path", {
|
|
553
|
+
"attrs": {
|
|
554
|
+
"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",
|
|
555
|
+
"id": "el_FYYKCI_u24e",
|
|
556
|
+
"fillRule": "nonzero",
|
|
557
|
+
"mask": "url(#mask-14)"
|
|
558
|
+
}
|
|
559
|
+
}), h("rect", {
|
|
560
|
+
"attrs": {
|
|
561
|
+
"id": "el_XZty4MnTp5Y",
|
|
562
|
+
"mask": "url(#mask-14)",
|
|
563
|
+
"x": "0.279",
|
|
564
|
+
"width": "77",
|
|
565
|
+
"height": "40"
|
|
566
|
+
}
|
|
567
|
+
})]), h("g", {
|
|
568
|
+
"attrs": {
|
|
569
|
+
"id": "el_2FATegVmf0K"
|
|
570
|
+
}
|
|
571
|
+
}, [h("mask", {
|
|
572
|
+
"attrs": {
|
|
573
|
+
"id": "mask-16",
|
|
574
|
+
"fill": "#fff"
|
|
575
|
+
}
|
|
576
|
+
}, [h("use", {
|
|
577
|
+
"attrs": {
|
|
578
|
+
"xlink:href": "#path-15"
|
|
579
|
+
}
|
|
580
|
+
})]), h("path", {
|
|
581
|
+
"attrs": {
|
|
582
|
+
"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",
|
|
583
|
+
"id": "el_RMT1KUfbdF8",
|
|
584
|
+
"fillRule": "nonzero",
|
|
585
|
+
"mask": "url(#mask-16)"
|
|
586
|
+
}
|
|
587
|
+
}), h("rect", {
|
|
588
|
+
"attrs": {
|
|
589
|
+
"id": "el_RgLcovvFiO1",
|
|
590
|
+
"mask": "url(#mask-16)",
|
|
591
|
+
"x": "0.279",
|
|
592
|
+
"width": "77",
|
|
593
|
+
"height": "25"
|
|
594
|
+
}
|
|
595
|
+
})])])])]);
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
var STATUS = {
|
|
600
|
+
inactive: 'INACTIVE',
|
|
601
|
+
stopped: 'STOPPED',
|
|
602
|
+
active: 'ACTIVE',
|
|
603
|
+
denied: 'DENIED'
|
|
604
|
+
};
|
|
605
|
+
var Mic = {
|
|
606
|
+
name: 'Mic',
|
|
607
|
+
props: {
|
|
608
|
+
children: vueTypes.types.title,
|
|
609
|
+
lang: VueTypes.string.def('en-US'),
|
|
610
|
+
iconPosition: VueTypes.string.def('left'),
|
|
611
|
+
handleResult: vueTypes.types.func,
|
|
612
|
+
onNoMatch: vueTypes.types.func,
|
|
613
|
+
onError: vueTypes.types.func,
|
|
614
|
+
getInstance: vueTypes.types.func,
|
|
615
|
+
render: vueTypes.types.func,
|
|
616
|
+
className: vueTypes.types.string,
|
|
617
|
+
applyClearStyle: VueTypes.bool,
|
|
618
|
+
showIcon: VueTypes.bool
|
|
619
|
+
},
|
|
620
|
+
methods: {
|
|
621
|
+
getComponent: function getComponent() {
|
|
622
|
+
var status = this.$data.status;
|
|
623
|
+
var data = {
|
|
624
|
+
handleClick: this.handleClick,
|
|
625
|
+
status: status
|
|
626
|
+
};
|
|
627
|
+
return index.getComponent(data, this);
|
|
628
|
+
},
|
|
629
|
+
stopMic: function stopMic() {
|
|
630
|
+
if (this.instance) {
|
|
631
|
+
this.status = STATUS.inactive;
|
|
632
|
+
this.instance.stop();
|
|
633
|
+
this.instance = null;
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
handleClick: function handleClick() {
|
|
637
|
+
var _this = this;
|
|
638
|
+
this.results = [];
|
|
639
|
+
if (window && window.SpeechRecognition) {
|
|
640
|
+
var status = this.$data.status;
|
|
641
|
+
if (status === STATUS.active) {
|
|
642
|
+
this.status = STATUS.inactive;
|
|
643
|
+
}
|
|
644
|
+
var _this$$props = this.$props,
|
|
645
|
+
handleResult = _this$$props.handleResult,
|
|
646
|
+
onNoMatch = _this$$props.onNoMatch,
|
|
647
|
+
onError = _this$$props.onError,
|
|
648
|
+
lang = _this$$props.lang,
|
|
649
|
+
getInstance = _this$$props.getInstance;
|
|
650
|
+
var _window = window,
|
|
651
|
+
SpeechRecognition = _window.SpeechRecognition;
|
|
652
|
+
if (this.instance && this.status !== STATUS.denied) {
|
|
653
|
+
this.status = STATUS.inactive;
|
|
654
|
+
this.instance.stop();
|
|
655
|
+
this.instance = null;
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
this.instance = new SpeechRecognition();
|
|
659
|
+
this.instance.continuous = true;
|
|
660
|
+
this.instance.interimResults = true;
|
|
661
|
+
this.instance.lang = lang;
|
|
662
|
+
if (getInstance) {
|
|
663
|
+
getInstance(this.instance);
|
|
664
|
+
}
|
|
665
|
+
this.instance.start();
|
|
666
|
+
this.instance.onstart = function () {
|
|
667
|
+
_this.status = STATUS.active;
|
|
668
|
+
};
|
|
669
|
+
this.instance.onresult = function (_ref) {
|
|
670
|
+
var results = _ref.results,
|
|
671
|
+
timeStamp = _ref.timeStamp;
|
|
672
|
+
_this.stopMic();
|
|
673
|
+
if (handleResult) {
|
|
674
|
+
handleResult({
|
|
675
|
+
results: results,
|
|
676
|
+
timeStamp: timeStamp
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
_this.results.push({
|
|
680
|
+
results: results,
|
|
681
|
+
timeStamp: timeStamp
|
|
682
|
+
});
|
|
683
|
+
};
|
|
684
|
+
this.instance.onnomatch = function (e) {
|
|
685
|
+
return onNoMatch ? onNoMatch(e) : console.warn(e);
|
|
686
|
+
};
|
|
687
|
+
this.instance.onerror = function (e) {
|
|
688
|
+
if (e.error === 'no-speech' || e.error === 'audio-capture') {
|
|
689
|
+
_this.status = STATUS.inactive;
|
|
690
|
+
} else if (e.error === 'not-allowed') {
|
|
691
|
+
_this.status = STATUS.denied;
|
|
692
|
+
}
|
|
693
|
+
console.error(e);
|
|
694
|
+
if (onError) {
|
|
695
|
+
onError(e);
|
|
696
|
+
}
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
/* Below Two methods run when Continuous is False */
|
|
700
|
+
this.instance.onspeechend = function () {
|
|
701
|
+
_this.status = STATUS.inactive;
|
|
702
|
+
};
|
|
703
|
+
this.instance.onaudioend = function () {
|
|
704
|
+
_this.status = STATUS.inactive;
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
computed: {
|
|
710
|
+
hasCustomRenderer: function hasCustomRenderer() {
|
|
711
|
+
return index.hasCustomRenderer(this);
|
|
712
|
+
},
|
|
713
|
+
Icon: function Icon() {
|
|
714
|
+
var h = this.$createElement;
|
|
715
|
+
var status = this.$data.status;
|
|
716
|
+
var className = this.$props.className;
|
|
717
|
+
switch (status) {
|
|
718
|
+
case STATUS.active:
|
|
719
|
+
return h(ListenSvg, {
|
|
720
|
+
"attrs": {
|
|
721
|
+
"className": className
|
|
722
|
+
},
|
|
723
|
+
"nativeOn": {
|
|
724
|
+
"click": this.handleClick
|
|
725
|
+
}
|
|
726
|
+
});
|
|
727
|
+
case STATUS.stopped:
|
|
728
|
+
case STATUS.denied:
|
|
729
|
+
return h(MuteSvg, {
|
|
730
|
+
"attrs": {
|
|
731
|
+
"className": className
|
|
732
|
+
},
|
|
733
|
+
"nativeOn": {
|
|
734
|
+
"click": this.handleClick
|
|
735
|
+
}
|
|
736
|
+
});
|
|
737
|
+
default:
|
|
738
|
+
return h(MicSvg, {
|
|
739
|
+
"attrs": {
|
|
740
|
+
"className": className
|
|
741
|
+
},
|
|
742
|
+
"nativeOn": {
|
|
743
|
+
"click": this.handleClick
|
|
744
|
+
}
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
data: function data() {
|
|
750
|
+
return {
|
|
751
|
+
status: STATUS.inactive
|
|
752
|
+
};
|
|
753
|
+
},
|
|
754
|
+
created: function created() {
|
|
755
|
+
this.results = [];
|
|
756
|
+
if (typeof window !== 'undefined') {
|
|
757
|
+
window.SpeechRecognition = window.webkitSpeechRecognition || window.SpeechRecognition || null;
|
|
758
|
+
if (!window.SpeechRecognition) {
|
|
759
|
+
console.error('SpeechRecognition is not supported in this browser. Please check the browser compatibility at https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#Browser_compatibility.');
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
render: function render() {
|
|
764
|
+
var h = arguments[0];
|
|
765
|
+
if (this.hasCustomRenderer) {
|
|
766
|
+
return this.getComponent();
|
|
767
|
+
}
|
|
768
|
+
return h(CancelSvg.IconWrapper, [this.Icon]);
|
|
769
|
+
}
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
var CustomSvg = {
|
|
773
|
+
name: 'CustomSvg',
|
|
774
|
+
props: {
|
|
775
|
+
className: String,
|
|
776
|
+
icon: Function,
|
|
777
|
+
type: String
|
|
778
|
+
},
|
|
779
|
+
data: function data() {
|
|
780
|
+
return {
|
|
781
|
+
customIcon: this.$props.icon && typeof this.$props.icon === 'function' ? this.$props.icon() : null
|
|
782
|
+
};
|
|
783
|
+
},
|
|
784
|
+
render: function render() {
|
|
785
|
+
var h = arguments[0];
|
|
786
|
+
if (this.customIcon) {
|
|
787
|
+
return h("div", {
|
|
788
|
+
"class": this.$props.className
|
|
789
|
+
}, [this.customIcon]);
|
|
790
|
+
}
|
|
791
|
+
if (this.$props.type === 'recent-search-icon') {
|
|
792
|
+
return h("svg", {
|
|
793
|
+
"attrs": {
|
|
794
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
795
|
+
"alt": "Recent Search",
|
|
796
|
+
"height": "20",
|
|
797
|
+
"width": "20",
|
|
798
|
+
"viewBox": "0 0 24 24"
|
|
799
|
+
},
|
|
800
|
+
"style": {
|
|
801
|
+
fill: '#707070'
|
|
802
|
+
},
|
|
803
|
+
"class": this.$props.className
|
|
804
|
+
}, [h("path", {
|
|
805
|
+
"attrs": {
|
|
806
|
+
"d": "M0 0h24v24H0z",
|
|
807
|
+
"fill": "none"
|
|
808
|
+
}
|
|
809
|
+
}), h("path", {
|
|
810
|
+
"attrs": {
|
|
811
|
+
"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"
|
|
812
|
+
}
|
|
813
|
+
})]);
|
|
814
|
+
}
|
|
815
|
+
if (this.$props.type === 'promoted-search-icon') {
|
|
816
|
+
return h("svg", {
|
|
817
|
+
"attrs": {
|
|
818
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
819
|
+
"width": "20",
|
|
820
|
+
"alt": "promoted search",
|
|
821
|
+
"height": "20",
|
|
822
|
+
"viewBox": "0 0 24 24"
|
|
823
|
+
},
|
|
824
|
+
"class": this.$props.className,
|
|
825
|
+
"style": {
|
|
826
|
+
fill: '#707070'
|
|
827
|
+
}
|
|
828
|
+
}, [h("path", {
|
|
829
|
+
"attrs": {
|
|
830
|
+
"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"
|
|
831
|
+
}
|
|
832
|
+
})]);
|
|
833
|
+
}
|
|
834
|
+
if (this.$props.type === 'popular-search-icon') {
|
|
835
|
+
return h("svg", {
|
|
836
|
+
"attrs": {
|
|
837
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
838
|
+
"alt": "Popular Search",
|
|
839
|
+
"height": "20",
|
|
840
|
+
"width": "20",
|
|
841
|
+
"viewBox": "0 0 24 24"
|
|
842
|
+
},
|
|
843
|
+
"style": {
|
|
844
|
+
fill: '#707070'
|
|
845
|
+
},
|
|
846
|
+
"class": this.$props.className
|
|
847
|
+
}, [h("path", {
|
|
848
|
+
"attrs": {
|
|
849
|
+
"d": "M0 0h24v24H0z",
|
|
850
|
+
"fill": "none"
|
|
851
|
+
}
|
|
852
|
+
}), h("path", {
|
|
853
|
+
"attrs": {
|
|
854
|
+
"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"
|
|
855
|
+
}
|
|
856
|
+
})]);
|
|
857
|
+
}
|
|
858
|
+
return h(SearchSvg, {
|
|
859
|
+
"attrs": {
|
|
860
|
+
"styles": {
|
|
861
|
+
position: 'relative',
|
|
862
|
+
fill: '#707070',
|
|
863
|
+
left: '3px',
|
|
864
|
+
marginRight: '8px'
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
var _templateObject$6, _templateObject2;
|
|
872
|
+
var TagsContainer = styled__default('div')(_templateObject$6 || (_templateObject$6 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tmargin-top: 10px;\n\twidth: 100%;\n"])));
|
|
873
|
+
var TagItem = styled__default('span')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._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"])));
|
|
874
|
+
|
|
875
|
+
exports.CustomSvg = CustomSvg;
|
|
876
|
+
exports.InputAddon = InputAddon;
|
|
877
|
+
exports.InputGroup = InputGroup;
|
|
878
|
+
exports.Mic = Mic;
|
|
879
|
+
exports.SearchSvg = SearchSvg;
|
|
880
|
+
exports.SuggestionItem = SuggestionItem;
|
|
881
|
+
exports.SuggestionWrapper = SuggestionWrapper;
|
|
882
|
+
exports.TagItem = TagItem;
|
|
883
|
+
exports.TagsContainer = TagsContainer;
|