@appbaseio/reactivesearch-vue 1.24.2 → 1.26.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 +481 -279
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{DownShift-62e82255.js → CancelSvg-4aa35935.js} +58 -14
- package/dist/cjs/DataSearch.js +31 -82
- package/dist/cjs/{DropDown-6815b9b6.js → DropDown-cf9bfffc.js} +60 -23
- package/dist/cjs/DynamicRangeSlider.js +9 -6
- package/dist/cjs/MultiDropdownList.js +14 -7
- package/dist/cjs/MultiList.js +6 -5
- package/dist/cjs/MultiRange.js +2 -2
- package/dist/cjs/RangeInput.js +3 -3
- package/dist/cjs/RangeSlider.js +17 -20
- package/dist/cjs/ReactiveBase.js +5 -3
- package/dist/cjs/ReactiveComponent.js +12 -12
- package/dist/cjs/ReactiveList.js +54 -42
- package/dist/cjs/ResultCard.js +1 -1
- package/dist/cjs/ResultList.js +1 -1
- package/dist/cjs/SelectedFilters.js +7 -5
- package/dist/cjs/SingleDropdownList.js +14 -7
- package/dist/cjs/SingleList.js +7 -6
- package/dist/cjs/SingleRange.js +2 -2
- package/dist/cjs/StateProvider.js +6 -2
- package/dist/cjs/ToggleButton.js +3 -3
- package/dist/cjs/index.js +7 -4
- package/dist/cjs/initReactivesearch.js +31 -12
- package/dist/cjs/install.js +5 -4
- package/dist/cjs/ssr-0ee35a09.js +39 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-4c19b4c8.js → vueTypes-57d01f18.js} +3 -3
- package/dist/es/{DownShift-3558d402.js → CancelSvg-c2c03a35.js} +55 -16
- package/dist/es/DataSearch.js +21 -72
- package/dist/es/{DropDown-035c804f.js → DropDown-c8da0a2c.js} +59 -22
- package/dist/es/DynamicRangeSlider.js +9 -6
- package/dist/es/MultiDropdownList.js +14 -7
- package/dist/es/MultiList.js +6 -5
- package/dist/es/MultiRange.js +2 -2
- package/dist/es/RangeInput.js +3 -3
- package/dist/es/RangeSlider.js +17 -20
- package/dist/es/ReactiveBase.js +5 -3
- package/dist/es/ReactiveComponent.js +12 -12
- package/dist/es/ReactiveList.js +54 -42
- package/dist/es/ResultCard.js +1 -1
- package/dist/es/ResultList.js +1 -1
- package/dist/es/SelectedFilters.js +7 -5
- package/dist/es/SingleDropdownList.js +14 -7
- package/dist/es/SingleList.js +7 -6
- package/dist/es/SingleRange.js +2 -2
- package/dist/es/StateProvider.js +6 -2
- package/dist/es/ToggleButton.js +3 -3
- package/dist/es/index.js +7 -4
- package/dist/es/initReactivesearch.js +31 -12
- package/dist/es/install.js +5 -4
- package/dist/es/ssr-a41dfea9.js +33 -0
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-fb61bb7b.js → vueTypes-687b2304.js} +3 -3
- package/package.json +3 -3
- package/dist/cjs/ssr-08e95ede.js +0 -39
- package/dist/es/ssr-5d255b08.js +0 -33
package/dist/es/DataSearch.js
CHANGED
|
@@ -6,7 +6,7 @@ import { getQueryOptions } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
|
6
6
|
import 'emotion';
|
|
7
7
|
import styled, { css, cx, injectGlobal } from '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
|
-
import { t as types } from './vueTypes-
|
|
9
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
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-cb1950b6.js';
|
|
@@ -14,9 +14,9 @@ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
|
14
14
|
import { T as Title } from './Title-3522ff56.js';
|
|
15
15
|
import { F as Flex } from './Flex-8770345d.js';
|
|
16
16
|
import hotkeys from 'hotkeys-js';
|
|
17
|
+
import { I as IconWrapper, C as CancelSvg, a as IconGroup, D as Downshift, b as InputWrapper } from './CancelSvg-c2c03a35.js';
|
|
17
18
|
import { n as noSuggestions, s as suggestionsContainer, I as Input, a as suggestions } from './Input-08bb1bcf.js';
|
|
18
19
|
import 'compute-scroll-into-view';
|
|
19
|
-
import { D as Downshift } from './DownShift-3558d402.js';
|
|
20
20
|
import { C as Container } from './Container-18b03fde.js';
|
|
21
21
|
import Highlight from 'vue-highlight-words';
|
|
22
22
|
|
|
@@ -27,37 +27,11 @@ InputGroup.defaultProps = {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
var _templateObject$1;
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
var _templateObject$2;
|
|
33
|
-
var InputAddon = styled('span')(_templateObject$2 || (_templateObject$2 = _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"])));
|
|
30
|
+
var InputAddon = styled('span')(_templateObject$1 || (_templateObject$1 = _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"])));
|
|
34
31
|
InputAddon.defaultProps = {
|
|
35
32
|
className: 'input-addon'
|
|
36
33
|
};
|
|
37
34
|
|
|
38
|
-
var _templateObject$3, _templateObject2, _templateObject3, _templateObject4;
|
|
39
|
-
var IconGroup = styled('div')(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tgrid-gap: 6px;\n\tmargin: 0 10px;\n\theight: 100%;\n\n\t", ";\n\n\t", ";\n"])), function (_ref) {
|
|
40
|
-
var positionType = _ref.positionType;
|
|
41
|
-
|
|
42
|
-
if (positionType === 'absolute') {
|
|
43
|
-
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 50%;\n\t\t\t\ttransform: translateY(-50%);\n\t\t\t"])));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return null;
|
|
47
|
-
}, function (_ref2) {
|
|
48
|
-
var groupPosition = _ref2.groupPosition;
|
|
49
|
-
return groupPosition === 'right' ? css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\t\t\t\t\tright: 0;\n\t\t\t "]))) : css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n\t\t\t\t\tleft: 0;\n\t\t\t "])));
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
var _templateObject$4;
|
|
53
|
-
var IconWrapper = styled('div')(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmax-width: 23px;\n\twidth: max-content;\n\tcursor: pointer;\n\theight: 100%;min-width:20px;\n\n\tsvg.search-icon {\n\t\tfill: ", ";\n\t\ttransform:scale(1.5);\n\t}\n\n\tsvg.cancel-icon {\n\t\tfill: ", ";\n\t}\n"])), function (_ref) {
|
|
54
|
-
var theme = _ref.theme;
|
|
55
|
-
return theme.colors.primaryColor;
|
|
56
|
-
}, function (_ref2) {
|
|
57
|
-
var theme = _ref2.theme;
|
|
58
|
-
return theme.colors.borderColor || '#000';
|
|
59
|
-
});
|
|
60
|
-
|
|
61
35
|
var getClassName = helper.getClassName;
|
|
62
36
|
var SuggestionWrapper = {
|
|
63
37
|
name: 'SuggestionWrapper',
|
|
@@ -78,14 +52,14 @@ var SuggestionWrapper = {
|
|
|
78
52
|
}
|
|
79
53
|
};
|
|
80
54
|
|
|
81
|
-
var _templateObject$
|
|
55
|
+
var _templateObject$2;
|
|
82
56
|
var highlightStyle = {
|
|
83
57
|
fontWeight: 600,
|
|
84
58
|
padding: 0,
|
|
85
59
|
backgroundColor: 'transparent',
|
|
86
60
|
color: 'inherit'
|
|
87
61
|
};
|
|
88
|
-
var PredictiveSuggestion = styled('span')(_templateObject$
|
|
62
|
+
var PredictiveSuggestion = styled('span')(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n\t.highlight {\n\t\tbackground: transparent;\n\t\tcolor: inherit;\n\t\tfont-weight: 600;\n\t\tpadding: 0;\n\t}\n"])));
|
|
89
63
|
var SuggestionItem = {
|
|
90
64
|
name: 'SuggestionItem',
|
|
91
65
|
props: {
|
|
@@ -200,34 +174,9 @@ var SearchSvg = {
|
|
|
200
174
|
}
|
|
201
175
|
};
|
|
202
176
|
|
|
203
|
-
var
|
|
204
|
-
functional: true,
|
|
205
|
-
render: function render(h) {
|
|
206
|
-
return h("svg", {
|
|
207
|
-
"attrs": {
|
|
208
|
-
"alt": "Clear",
|
|
209
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
210
|
-
"height": "20px",
|
|
211
|
-
"viewBox": "0 0 24 24",
|
|
212
|
-
"width": "20px"
|
|
213
|
-
},
|
|
214
|
-
"class": "cancel-icon"
|
|
215
|
-
}, [h("title", ["Clear"]), h("path", {
|
|
216
|
-
"attrs": {
|
|
217
|
-
"d": "M0 0h24v24H0V0z",
|
|
218
|
-
"fill": "none"
|
|
219
|
-
}
|
|
220
|
-
}), h("path", {
|
|
221
|
-
"attrs": {
|
|
222
|
-
"d": "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
|
|
223
|
-
}
|
|
224
|
-
})]);
|
|
225
|
-
}
|
|
226
|
-
};
|
|
177
|
+
var _templateObject$3;
|
|
227
178
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
injectGlobal(_templateObject$6 || (_templateObject$6 = _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"])));
|
|
179
|
+
injectGlobal(_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"])));
|
|
231
180
|
var MicSvg = {
|
|
232
181
|
name: 'MicSvg',
|
|
233
182
|
props: ['className'],
|
|
@@ -272,9 +221,9 @@ var MicSvg = {
|
|
|
272
221
|
}
|
|
273
222
|
};
|
|
274
223
|
|
|
275
|
-
var _templateObject$
|
|
224
|
+
var _templateObject$4;
|
|
276
225
|
|
|
277
|
-
injectGlobal(_templateObject$
|
|
226
|
+
injectGlobal(_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"])));
|
|
278
227
|
var MuteSvg = {
|
|
279
228
|
name: 'MuteSvg',
|
|
280
229
|
props: ['className'],
|
|
@@ -330,9 +279,9 @@ var MuteSvg = {
|
|
|
330
279
|
}
|
|
331
280
|
};
|
|
332
281
|
|
|
333
|
-
var _templateObject$
|
|
282
|
+
var _templateObject$5;
|
|
334
283
|
|
|
335
|
-
injectGlobal(_templateObject$
|
|
284
|
+
injectGlobal(_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"])));
|
|
336
285
|
var ListenSvg = {
|
|
337
286
|
name: 'ListenSvg',
|
|
338
287
|
props: ['className'],
|
|
@@ -653,8 +602,8 @@ var Mic = {
|
|
|
653
602
|
name: 'Mic',
|
|
654
603
|
props: {
|
|
655
604
|
children: types.title,
|
|
656
|
-
lang:
|
|
657
|
-
iconPosition:
|
|
605
|
+
lang: VueTypes.string.def('en-US'),
|
|
606
|
+
iconPosition: VueTypes.string.def('left'),
|
|
658
607
|
handleResult: types.func,
|
|
659
608
|
onNoMatch: types.func,
|
|
660
609
|
onError: types.func,
|
|
@@ -1066,10 +1015,10 @@ var DataSearch = {
|
|
|
1066
1015
|
})]),
|
|
1067
1016
|
aggregationField: types.string,
|
|
1068
1017
|
aggregationSize: VueTypes.number,
|
|
1069
|
-
size: VueTypes.number
|
|
1018
|
+
size: VueTypes.number,
|
|
1070
1019
|
debounce: VueTypes.number.def(0),
|
|
1071
1020
|
defaultValue: types.string,
|
|
1072
|
-
excludeFields: types.excludeFields
|
|
1021
|
+
excludeFields: types.excludeFields,
|
|
1073
1022
|
value: types.value,
|
|
1074
1023
|
defaultSuggestions: types.suggestions,
|
|
1075
1024
|
enableSynonyms: VueTypes.bool.def(true),
|
|
@@ -1083,9 +1032,9 @@ var DataSearch = {
|
|
|
1083
1032
|
highlightField: types.stringOrArray,
|
|
1084
1033
|
icon: types.children,
|
|
1085
1034
|
iconPosition: VueTypes.oneOf(['left', 'right']).def('left'),
|
|
1086
|
-
includeFields: types.includeFields
|
|
1035
|
+
includeFields: types.includeFields,
|
|
1087
1036
|
innerClass: types.style,
|
|
1088
|
-
innerRef:
|
|
1037
|
+
innerRef: VueTypes.string.def('searchInputField'),
|
|
1089
1038
|
render: types.func,
|
|
1090
1039
|
renderQuerySuggestions: types.func,
|
|
1091
1040
|
renderPopularSuggestions: types.func,
|
|
@@ -1117,7 +1066,7 @@ var DataSearch = {
|
|
|
1117
1066
|
focusShortcuts: VueTypes.arrayOf(VueTypes.oneOfType([VueTypes.string, VueTypes.number])).def(['/']),
|
|
1118
1067
|
addonBefore: VueTypes.any,
|
|
1119
1068
|
addonAfter: VueTypes.any,
|
|
1120
|
-
expandSuggestionsContainer:
|
|
1069
|
+
expandSuggestionsContainer: VueTypes.bool.def(true),
|
|
1121
1070
|
index: VueTypes.string
|
|
1122
1071
|
},
|
|
1123
1072
|
beforeMount: function beforeMount() {
|
|
@@ -1392,7 +1341,7 @@ var DataSearch = {
|
|
|
1392
1341
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
1393
1342
|
}
|
|
1394
1343
|
|
|
1395
|
-
this.setQueryOptions(this.internalComponent, _extends({}, this.queryOptions, defaultQueryOptions));
|
|
1344
|
+
this.setQueryOptions(this.internalComponent, _extends({}, this.queryOptions, defaultQueryOptions), false);
|
|
1396
1345
|
this.updateQuery({
|
|
1397
1346
|
componentId: this.internalComponent,
|
|
1398
1347
|
query: query,
|
|
@@ -1419,7 +1368,7 @@ var DataSearch = {
|
|
|
1419
1368
|
|
|
1420
1369
|
customQueryOptions = getOptionsFromQuery(customQueryTobeSet);
|
|
1421
1370
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
1422
|
-
this.setQueryOptions(componentId, _extends({}, this.queryOptions, customQueryOptions));
|
|
1371
|
+
this.setQueryOptions(componentId, _extends({}, this.queryOptions, customQueryOptions), false);
|
|
1423
1372
|
}
|
|
1424
1373
|
|
|
1425
1374
|
if (!this.isPending) {
|
|
@@ -1778,7 +1727,7 @@ var DataSearch = {
|
|
|
1778
1727
|
highlightedIndex: highlightedIndex
|
|
1779
1728
|
}), _this3.renderErrorComponent(), !_this3.hasCustomRenderer && isOpen && hasSuggestions ? h("ul", {
|
|
1780
1729
|
"class": suggestions(_this3.themePreset, theme) + " " + getClassName$1(_this3.$props.innerClass, 'list')
|
|
1781
|
-
}, [_this3.suggestionsList.slice(0, size).map(function (item, index) {
|
|
1730
|
+
}, [_this3.suggestionsList.slice(0, size || 10).map(function (item, index) {
|
|
1782
1731
|
return h("li", {
|
|
1783
1732
|
"domProps": _extends({}, getItemProps({
|
|
1784
1733
|
item: item
|
|
@@ -3,10 +3,11 @@ import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPlugin
|
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { css } from 'emotion';
|
|
5
5
|
import styled from '@appbaseio/vue-emotion';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
6
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
7
7
|
import { a as isFunction } from './index-cb1950b6.js';
|
|
8
|
+
import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-c2c03a35.js';
|
|
8
9
|
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-08bb1bcf.js';
|
|
9
|
-
import {
|
|
10
|
+
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
10
11
|
|
|
11
12
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
12
13
|
var small = css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tmin-height: 0;\n\theight: 30px;\n\tborder: 0;\n\tbox-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;\n\tborder-radius: 2px;\n"])));
|
|
@@ -68,7 +69,9 @@ var Dropdown = {
|
|
|
68
69
|
single: VueTypes.bool,
|
|
69
70
|
small: VueTypes.bool.def(false),
|
|
70
71
|
themePreset: types.themePreset,
|
|
71
|
-
showSearch: VueTypes.bool
|
|
72
|
+
showSearch: VueTypes.bool,
|
|
73
|
+
showClear: VueTypes.bool,
|
|
74
|
+
searchPlaceholder: VueTypes.string.def('Type here to search...')
|
|
72
75
|
},
|
|
73
76
|
render: function render() {
|
|
74
77
|
var _this = this;
|
|
@@ -96,7 +99,7 @@ var Dropdown = {
|
|
|
96
99
|
var filteredItemsToRender = itemsToRender.filter(function (item) {
|
|
97
100
|
if (String(item[labelField]).length) {
|
|
98
101
|
if (_this.$props.showSearch && _this.$data.searchTerm) {
|
|
99
|
-
return String(item[labelField]).toLowerCase().includes(_this.$data.searchTerm.toLowerCase());
|
|
102
|
+
return replaceDiacritics(String(item[labelField])).toLowerCase().includes(replaceDiacritics(_this.$data.searchTerm.toLowerCase()));
|
|
100
103
|
}
|
|
101
104
|
|
|
102
105
|
return true;
|
|
@@ -142,25 +145,10 @@ var Dropdown = {
|
|
|
142
145
|
getItemEvents: getItemEvents
|
|
143
146
|
}) : isOpen && itemsToRender.length ? h("ul", {
|
|
144
147
|
"class": suggestions(themePreset, _this.theme) + " " + (_this.$props.small ? 'small' : '') + " " + getClassName(_this.$props.innerClass, 'list')
|
|
145
|
-
}, [_this.$props.showSearch ?
|
|
146
|
-
"attrs": {
|
|
147
|
-
"id": _this.$props.componentId + "-input",
|
|
148
|
-
"showIcon": false,
|
|
149
|
-
"placeholder": "Type here to search...",
|
|
150
|
-
"value": _this.$data.searchTerm,
|
|
151
|
-
"themePreset": themePreset
|
|
152
|
-
},
|
|
153
|
-
"style": {
|
|
154
|
-
border: 0,
|
|
155
|
-
borderBottom: '1px solid #ddd'
|
|
156
|
-
},
|
|
157
|
-
"class": getClassName(_this.$props.innerClass, 'input'),
|
|
158
|
-
"on": {
|
|
159
|
-
"change": _this.handleInputChange
|
|
160
|
-
}
|
|
161
|
-
}) : null, !hasCustomRenderer && filteredItemsToRender.length === 0 ? _this.renderNoResult() : filteredItemsToRender.map(function (item, index) {
|
|
148
|
+
}, [_this.$props.showSearch ? _this.renderSearchbox() : null, !hasCustomRenderer && filteredItemsToRender.length === 0 ? _this.renderNoResult() : filteredItemsToRender.map(function (item, index) {
|
|
162
149
|
var selected = _this.$props.multi // MultiDropdownList
|
|
163
|
-
&& (selectedItem && !!selectedItem[item[keyField]]
|
|
150
|
+
&& (selectedItem && !!selectedItem[item[keyField]] // MultiDropdownRange
|
|
151
|
+
|| Array.isArray(selectedItem) && selectedItem.find(function (value) {
|
|
164
152
|
return value[labelField] === item[labelField];
|
|
165
153
|
}));
|
|
166
154
|
if (!_this.$props.multi) selected = item.key === selectedItem;
|
|
@@ -210,6 +198,7 @@ var Dropdown = {
|
|
|
210
198
|
|
|
211
199
|
if (!this.$props.multi) {
|
|
212
200
|
this.isOpen = false;
|
|
201
|
+
this.searchTerm = '';
|
|
213
202
|
}
|
|
214
203
|
},
|
|
215
204
|
handleStateChange: function handleStateChange(_ref2) {
|
|
@@ -233,6 +222,9 @@ var Dropdown = {
|
|
|
233
222
|
var value = e.target.value;
|
|
234
223
|
this.searchTerm = value;
|
|
235
224
|
},
|
|
225
|
+
clearSearchTerm: function clearSearchTerm() {
|
|
226
|
+
this.searchTerm = '';
|
|
227
|
+
},
|
|
236
228
|
renderToString: function renderToString(value) {
|
|
237
229
|
var _this2 = this;
|
|
238
230
|
|
|
@@ -273,6 +265,51 @@ var Dropdown = {
|
|
|
273
265
|
return h("p", {
|
|
274
266
|
"class": getClassName(this.$props.innerClass, 'noResults') || null
|
|
275
267
|
}, [isFunction(renderNoResults) ? renderNoResults() : renderNoResults]);
|
|
268
|
+
},
|
|
269
|
+
renderSearchbox: function renderSearchbox() {
|
|
270
|
+
var h = this.$createElement;
|
|
271
|
+
var _this$$props2 = this.$props,
|
|
272
|
+
componentId = _this$$props2.componentId,
|
|
273
|
+
searchPlaceholder = _this$$props2.searchPlaceholder,
|
|
274
|
+
showClear = _this$$props2.showClear,
|
|
275
|
+
themePreset = _this$$props2.themePreset,
|
|
276
|
+
innerClass = _this$$props2.innerClass;
|
|
277
|
+
var InputComponent = h(Input, {
|
|
278
|
+
"attrs": {
|
|
279
|
+
"id": componentId + "-input",
|
|
280
|
+
"showIcon": false,
|
|
281
|
+
"showClear": showClear,
|
|
282
|
+
"placeholder": searchPlaceholder,
|
|
283
|
+
"value": this.$data.searchTerm,
|
|
284
|
+
"themePreset": themePreset
|
|
285
|
+
},
|
|
286
|
+
"style": {
|
|
287
|
+
border: 0,
|
|
288
|
+
borderBottom: '1px solid #ddd'
|
|
289
|
+
},
|
|
290
|
+
"class": getClassName(innerClass, 'input'),
|
|
291
|
+
"on": {
|
|
292
|
+
"change": this.handleInputChange
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
if (showClear) {
|
|
297
|
+
return h(InputWrapper, [InputComponent, this.searchTerm && h(IconGroup, {
|
|
298
|
+
"attrs": {
|
|
299
|
+
"groupPosition": "right",
|
|
300
|
+
"positionType": "absolute"
|
|
301
|
+
}
|
|
302
|
+
}, [h(IconWrapper, {
|
|
303
|
+
"on": {
|
|
304
|
+
"click": this.clearSearchTerm
|
|
305
|
+
},
|
|
306
|
+
"attrs": {
|
|
307
|
+
"isClearIcon": true
|
|
308
|
+
}
|
|
309
|
+
}, [h(CancelSvg)])])]);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
return InputComponent;
|
|
276
313
|
}
|
|
277
314
|
}
|
|
278
315
|
};
|
|
@@ -3,13 +3,13 @@ import { a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import '@appbaseio/vue-emotion';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
6
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
7
7
|
import 'redux';
|
|
8
8
|
import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
|
|
9
9
|
import { T as Title } from './Title-3522ff56.js';
|
|
10
10
|
import { C as Container } from './Container-18b03fde.js';
|
|
11
11
|
import NoSSR from 'vue-no-ssr';
|
|
12
|
-
import { g as getComponents, S as Slider } from './ssr-
|
|
12
|
+
import { g as getComponents, S as Slider } from './ssr-a41dfea9.js';
|
|
13
13
|
|
|
14
14
|
var addComponent = Actions.addComponent,
|
|
15
15
|
removeComponent = Actions.removeComponent,
|
|
@@ -176,8 +176,9 @@ var DynamicRangeSlider = {
|
|
|
176
176
|
aggs: aggs
|
|
177
177
|
});
|
|
178
178
|
},
|
|
179
|
-
handleSlider: function handleSlider(
|
|
180
|
-
this.
|
|
179
|
+
handleSlider: function handleSlider() {
|
|
180
|
+
var sliderValues = this.$refs.slider.getValue();
|
|
181
|
+
this.handleChange(sliderValues);
|
|
181
182
|
},
|
|
182
183
|
handleChange: function handleChange(currentValue) {
|
|
183
184
|
var _this2 = this;
|
|
@@ -229,7 +230,7 @@ var DynamicRangeSlider = {
|
|
|
229
230
|
currentEnd = value[1]; // check if the slider is at its initial position
|
|
230
231
|
|
|
231
232
|
var isInitialValue = currentStart === start && currentEnd === end;
|
|
232
|
-
this.setQueryOptions(this.$props.componentId, customQueryOptions);
|
|
233
|
+
this.setQueryOptions(this.$props.componentId, customQueryOptions, false);
|
|
233
234
|
this.updateQuery({
|
|
234
235
|
componentId: this.$props.componentId,
|
|
235
236
|
query: query,
|
|
@@ -310,13 +311,15 @@ var DynamicRangeSlider = {
|
|
|
310
311
|
}, [this.$props.title]), h(NoSSR, [h(Slider, {
|
|
311
312
|
"class": getClassName(this.$props.innerClass, 'slider')
|
|
312
313
|
}, [h("vue-slider-component", {
|
|
314
|
+
"ref": "slider",
|
|
313
315
|
"attrs": {
|
|
314
316
|
"value": [Math.max(start, this.currentValue[0]), Math.min(end, this.currentValue[1])],
|
|
315
317
|
"min": Math.min(start, this.currentValue[0]),
|
|
316
318
|
"max": Math.max(end, this.currentValue[1]),
|
|
317
319
|
"dotSize": 20,
|
|
318
320
|
"height": 4,
|
|
319
|
-
"enable-cross": false
|
|
321
|
+
"enable-cross": false,
|
|
322
|
+
"tooltip": "always"
|
|
320
323
|
},
|
|
321
324
|
"on": {
|
|
322
325
|
"drag-end": this.handleSlider
|
|
@@ -6,18 +6,19 @@ import 'emotion';
|
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
8
|
import { l as loadMoreContainer, B as Button } from './Button-91561391.js';
|
|
9
|
-
import { t as types } from './vueTypes-
|
|
9
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
12
|
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-cb1950b6.js';
|
|
13
13
|
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
14
14
|
import { T as Title } from './Title-3522ff56.js';
|
|
15
|
+
import './CancelSvg-c2c03a35.js';
|
|
15
16
|
import './Input-08bb1bcf.js';
|
|
16
17
|
import 'compute-scroll-into-view';
|
|
17
|
-
import './DownShift-3558d402.js';
|
|
18
18
|
import { C as Container } from './Container-18b03fde.js';
|
|
19
|
+
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
19
20
|
import { g as getAggsQuery } from './utils-64a2e5f0.js';
|
|
20
|
-
import { D as Dropdown } from './DropDown-
|
|
21
|
+
import { D as Dropdown } from './DropDown-c8da0a2c.js';
|
|
21
22
|
|
|
22
23
|
var updateQuery = Actions.updateQuery,
|
|
23
24
|
setQueryOptions = Actions.setQueryOptions,
|
|
@@ -74,10 +75,12 @@ var MultiDropdownList = {
|
|
|
74
75
|
showMissing: VueTypes.bool.def(false),
|
|
75
76
|
missingLabel: VueTypes.string.def('N/A'),
|
|
76
77
|
showSearch: VueTypes.bool.def(false),
|
|
78
|
+
showClear: VueTypes.bool.def(false),
|
|
77
79
|
showLoadMore: VueTypes.bool.def(false),
|
|
78
80
|
loadMoreLabel: VueTypes.oneOfType([VueTypes.string, VueTypes.any]).def('Load More'),
|
|
79
81
|
nestedField: types.string,
|
|
80
|
-
index: VueTypes.string
|
|
82
|
+
index: VueTypes.string,
|
|
83
|
+
searchPlaceholder: VueTypes.string.def('Type here to search...')
|
|
81
84
|
},
|
|
82
85
|
created: function created() {
|
|
83
86
|
if (!this.enableAppbase && this.$props.index) {
|
|
@@ -205,7 +208,9 @@ var MultiDropdownList = {
|
|
|
205
208
|
if (!this.hasCustomRenderer && this.$data.modifiedOptions.length === 0 && !this.isLoading) {
|
|
206
209
|
if (renderNoResults && isFunction(renderNoResults)) {
|
|
207
210
|
return h("div", [renderNoResults()]);
|
|
208
|
-
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if (renderNoResults && !isFunction(renderNoResults)) {
|
|
209
214
|
return renderNoResults;
|
|
210
215
|
}
|
|
211
216
|
|
|
@@ -244,6 +249,8 @@ var MultiDropdownList = {
|
|
|
244
249
|
"renderItem": renderItemCalc,
|
|
245
250
|
"renderNoResults": this.$scopedSlots.renderNoResults || this.$props.renderNoResults,
|
|
246
251
|
"showSearch": this.$props.showSearch,
|
|
252
|
+
"showClear": this.$props.showClear,
|
|
253
|
+
"searchPlaceholder": this.$props.searchPlaceholder,
|
|
247
254
|
"transformData": this.$props.transformData,
|
|
248
255
|
"footer": showLoadMore && !isLastBucket && h("div", {
|
|
249
256
|
"attrs": {
|
|
@@ -362,7 +369,7 @@ var MultiDropdownList = {
|
|
|
362
369
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
363
370
|
}
|
|
364
371
|
|
|
365
|
-
this.setQueryOptions(this.internalComponent, defaultQueryOptions);
|
|
372
|
+
this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
|
|
366
373
|
this.updateQuery({
|
|
367
374
|
componentId: this.internalComponent,
|
|
368
375
|
query: query,
|
|
@@ -383,7 +390,7 @@ var MultiDropdownList = {
|
|
|
383
390
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
384
391
|
}
|
|
385
392
|
|
|
386
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
393
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
387
394
|
this.updateQuery({
|
|
388
395
|
componentId: props.componentId,
|
|
389
396
|
query: query,
|
package/dist/es/MultiList.js
CHANGED
|
@@ -5,7 +5,7 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
|
5
5
|
import 'emotion';
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
11
|
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, n as isEvent, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-cb1950b6.js';
|
|
@@ -13,6 +13,7 @@ import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
|
13
13
|
import { T as Title } from './Title-3522ff56.js';
|
|
14
14
|
import { I as Input } from './Input-08bb1bcf.js';
|
|
15
15
|
import { C as Container } from './Container-18b03fde.js';
|
|
16
|
+
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
16
17
|
import { U as UL, C as Checkbox } from './FormControlList-704f8dee.js';
|
|
17
18
|
import { g as getAggsQuery } from './utils-64a2e5f0.js';
|
|
18
19
|
|
|
@@ -33,7 +34,7 @@ var MultiList = {
|
|
|
33
34
|
queryFormat: VueTypes.oneOf(['and', 'or']).def('or'),
|
|
34
35
|
showCheckbox: VueTypes.bool.def(true),
|
|
35
36
|
beforeValueChange: types.func,
|
|
36
|
-
className:
|
|
37
|
+
className: VueTypes.string.def(''),
|
|
37
38
|
componentId: types.stringRequired,
|
|
38
39
|
customQuery: types.func,
|
|
39
40
|
dataField: types.stringRequired,
|
|
@@ -180,7 +181,7 @@ var MultiList = {
|
|
|
180
181
|
var filteredItemsToRender = itemsToRender.filter(function (item) {
|
|
181
182
|
if (String(item.key).length) {
|
|
182
183
|
if (_this2.$props.showSearch && _this2.$data.searchTerm) {
|
|
183
|
-
return String(item.key).toLowerCase().includes(_this2.$data.searchTerm.toLowerCase());
|
|
184
|
+
return replaceDiacritics(String(item.key)).toLowerCase().includes(replaceDiacritics(_this2.$data.searchTerm).toLowerCase());
|
|
184
185
|
}
|
|
185
186
|
|
|
186
187
|
return true;
|
|
@@ -348,7 +349,7 @@ var MultiList = {
|
|
|
348
349
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
349
350
|
}
|
|
350
351
|
|
|
351
|
-
this.setQueryOptions(this.internalComponent, defaultQueryOptions);
|
|
352
|
+
this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
|
|
352
353
|
this.updateQuery({
|
|
353
354
|
componentId: this.internalComponent,
|
|
354
355
|
query: query,
|
|
@@ -369,7 +370,7 @@ var MultiList = {
|
|
|
369
370
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
370
371
|
}
|
|
371
372
|
|
|
372
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
373
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
373
374
|
this.updateQuery({
|
|
374
375
|
componentId: props.componentId,
|
|
375
376
|
query: query,
|
package/dist/es/MultiRange.js
CHANGED
|
@@ -5,7 +5,7 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
|
5
5
|
import 'emotion';
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
11
|
import { o as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
|
|
@@ -141,7 +141,7 @@ var MultiRange = {
|
|
|
141
141
|
updateCustomQuery(this.componentId, this.setCustomQuery, this.$props, this.currentValue);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
144
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
145
145
|
this.updateQuery({
|
|
146
146
|
componentId: props.componentId,
|
|
147
147
|
query: query,
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -5,7 +5,7 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
|
5
5
|
import { css } from 'emotion';
|
|
6
6
|
import styled from '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
11
|
import { c as connect } from './index-cb1950b6.js';
|
|
@@ -15,7 +15,7 @@ import { F as Flex } from './Flex-8770345d.js';
|
|
|
15
15
|
import { I as Input } from './Input-08bb1bcf.js';
|
|
16
16
|
import { C as Container } from './Container-18b03fde.js';
|
|
17
17
|
import 'vue-no-ssr';
|
|
18
|
-
import './ssr-
|
|
18
|
+
import './ssr-a41dfea9.js';
|
|
19
19
|
import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
|
|
20
20
|
|
|
21
21
|
var _templateObject, _templateObject2;
|
|
@@ -138,7 +138,7 @@ var RangeInput = {
|
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
handleOnChange: function handleOnChange(value) {
|
|
141
|
-
this.handleChange(value, 'change');
|
|
141
|
+
this.handleChange(value || this.$props.range, 'change');
|
|
142
142
|
},
|
|
143
143
|
handleValueChange: function handleValueChange(value) {
|
|
144
144
|
this.handleChange(value, 'value-change');
|