@appbaseio/reactivesearch-vue 3.0.0-alpha.4 → 3.0.0-alpha.6
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 +1181 -1099
- 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/{Button-ad042719.js → Button-d4da7470.js} +6 -6
- package/dist/cjs/{Card-f5ab024a.js → Card-63968d94.js} +2 -2
- package/dist/cjs/{DropDown-7bd56543.js → DropDown-f48bea16.js} +1 -1
- package/dist/cjs/DynamicRangeSlider.js +4 -4
- package/dist/cjs/{Input-088dfcb4.js → Input-497be42a.js} +4 -4
- package/dist/cjs/{ListItem-d57d648d.js → ListItem-23af8974.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +13 -13
- package/dist/cjs/MultiList.js +11 -11
- package/dist/cjs/MultiRange.js +3 -3
- package/dist/cjs/{Pagination-4ffc67cd.js → Pagination-b953a80a.js} +1 -1
- package/dist/cjs/RangeInput.js +3 -3
- package/dist/cjs/RangeSlider.js +1 -1
- package/dist/cjs/ReactiveBase.js +4 -4
- package/dist/cjs/{ReactiveComponent-4435adfa.js → ReactiveComponent-8180c806.js} +28 -28
- package/dist/cjs/ReactiveComponent.js +9 -9
- package/dist/cjs/ReactiveGoogleMap.js +15 -15
- package/dist/cjs/ReactiveList.js +9 -9
- package/dist/cjs/ResultCard.js +2 -2
- package/dist/cjs/ResultList.js +2 -2
- package/dist/cjs/SelectedFilters.js +2 -2
- package/dist/cjs/SingleDropdownList.js +4 -4
- package/dist/cjs/SingleList.js +2 -2
- package/dist/cjs/ToggleButton.js +2 -2
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/install.js +9 -9
- package/dist/cjs/{ssr-c58b64c4.js → ssr-8dd13d43.js} +22 -3
- package/dist/cjs/version.js +1 -1
- package/dist/es/{Button-474510e3.js → Button-fd869491.js} +1 -1
- package/dist/es/{Card-38cbe652.js → Card-54b9e7a0.js} +1 -1
- package/dist/es/{DropDown-029ffd42.js → DropDown-7174661a.js} +1 -1
- package/dist/es/DynamicRangeSlider.js +4 -4
- package/dist/es/{Input-ad474a55.js → Input-f7499ef8.js} +1 -1
- package/dist/es/{ListItem-16756c02.js → ListItem-1cb1b4de.js} +1 -1
- package/dist/es/MultiDropdownList.js +13 -13
- package/dist/es/MultiList.js +11 -11
- package/dist/es/MultiRange.js +3 -3
- package/dist/es/{Pagination-72bd1d9e.js → Pagination-c2745bec.js} +1 -1
- package/dist/es/RangeInput.js +3 -3
- package/dist/es/RangeSlider.js +1 -1
- package/dist/es/ReactiveBase.js +4 -4
- package/dist/es/{ReactiveComponent-04d94e01.js → ReactiveComponent-f78ff2cd.js} +27 -27
- package/dist/es/ReactiveComponent.js +9 -9
- package/dist/es/ReactiveGoogleMap.js +13 -13
- package/dist/es/ReactiveList.js +7 -7
- package/dist/es/ResultCard.js +2 -2
- package/dist/es/ResultList.js +2 -2
- package/dist/es/SelectedFilters.js +2 -2
- package/dist/es/SingleDropdownList.js +4 -4
- package/dist/es/SingleList.js +2 -2
- package/dist/es/ToggleButton.js +2 -2
- package/dist/es/index.js +9 -9
- package/dist/es/install.js +9 -9
- package/dist/es/{ssr-e5eb1f1e.js → ssr-c630ccb9.js} +3 -3
- package/dist/es/version.js +1 -1
- package/package.json +3 -2
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
4
4
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
5
|
-
var
|
|
5
|
+
var css = require('@emotion/css');
|
|
6
6
|
var polished = require('polished');
|
|
7
7
|
|
|
8
8
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
9
9
|
var filters = function filters(_ref) {
|
|
10
10
|
var borderColor = _ref.colors.borderColor;
|
|
11
|
-
return
|
|
11
|
+
return css.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 2px 3px;\n\t\tpadding: 5px 8px;\n\t\tfont-size: 0.85rem;\n\t\tposition: relative;\n\n\t\tspan:first-child {\n\t\t\tmax-width: 260px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tmargin-right: 26px;\n\t\t}\n\n\t\tspan:last-child {\n\t\t\tdisplay: flex;\n\t\t\theight: 100%;\n\t\t\ttop: 0;\n\t\t\tright: 8px;\n\t\t\tposition: absolute;\n\t\t\talign-items: center;\n\t\t\tborder-left: 1px solid ", ";\n\t\t\tpadding-left: 8px;\n\t\t\tmargin-left: 8px;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tspan:first-child {\n\t\t\t\ttext-decoration: line-through;\n\t\t\t}\n\t\t}\n\t}\n"])), borderColor || '#fff');
|
|
12
12
|
};
|
|
13
|
-
var pagination =
|
|
14
|
-
var toggleButtons =
|
|
15
|
-
var numberBoxContainer =
|
|
13
|
+
var pagination = css.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 10px -3px;\n\tmax-width: 100%;\n\ttext-align: center;\n\n\tbutton {\n\t\tmargin: 0 3px;\n\t}\n"])));
|
|
14
|
+
var toggleButtons = css.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 3px 3px;\n\t}\n"])));
|
|
15
|
+
var numberBoxContainer = css.css(_templateObject4 || (_templateObject4 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -5px;\n\tbutton {\n\t\tmargin: 5px;\n\t}\n\tspan {\n\t\tmargin: 0 5px;\n\t}\n"])));
|
|
16
16
|
var primary = function primary(_ref2) {
|
|
17
17
|
var theme = _ref2.theme;
|
|
18
18
|
return "\n\tbackground-color: " + theme.colors.primaryColor + ";\n\tcolor: " + theme.colors.primaryTextColor + ";\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: " + polished.darken(0.1, theme.colors.primaryColor) + ";\n\t}\n";
|
|
@@ -46,7 +46,7 @@ var Button = vueEmotion.styled('button')(_templateObject5 || (_templateObject5 =
|
|
|
46
46
|
}, function (props) {
|
|
47
47
|
return props.large && large;
|
|
48
48
|
});
|
|
49
|
-
var loadMoreContainer =
|
|
49
|
+
var loadMoreContainer = css.css({
|
|
50
50
|
margin: '5px 0',
|
|
51
51
|
display: 'flex',
|
|
52
52
|
justifyContent: 'center'
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
4
4
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
5
|
-
var
|
|
5
|
+
var css = require('@emotion/css');
|
|
6
6
|
var polished = require('polished');
|
|
7
7
|
require('./Title-8802a218.js');
|
|
8
8
|
|
|
9
9
|
var _templateObject, _templateObject2, _templateObject3;
|
|
10
|
-
var container =
|
|
10
|
+
var container = css.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin: 0 -8px;\n\n\t@media (max-width: 420px) {\n\t\tmargin: 0;\n\t}\n"])));
|
|
11
11
|
var Image = vueEmotion.styled('div')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: calc(100% + 20px);\n\theight: 220px;\n\tmargin: -10px -10px 0;\n\tbackground-color: ", ";\n\tbackground-size: contain;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n"])), function (_ref) {
|
|
12
12
|
var colors = _ref.theme.colors;
|
|
13
13
|
return colors.backgroundColor || '#fcfcfc';
|
|
@@ -10,7 +10,7 @@ var VueTypes = _interopDefault(require('vue-types'));
|
|
|
10
10
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
11
11
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
12
12
|
var index = require('./index-1481798c.js');
|
|
13
|
-
var Input = require('./Input-
|
|
13
|
+
var Input = require('./Input-497be42a.js');
|
|
14
14
|
var computeScrollIntoView = _interopDefault(require('compute-scroll-into-view'));
|
|
15
15
|
var suggestions = require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
16
16
|
|
|
@@ -16,7 +16,7 @@ var index = require('./index-1481798c.js');
|
|
|
16
16
|
var PreferencesConsumer = require('./PreferencesConsumer-2c69ac61.js');
|
|
17
17
|
var Title = require('./Title-8802a218.js');
|
|
18
18
|
var Container = require('./Container-29f049b2.js');
|
|
19
|
-
var ssr = require('./ssr-
|
|
19
|
+
var ssr = require('./ssr-8dd13d43.js');
|
|
20
20
|
|
|
21
21
|
var addComponent = reactivecore.Actions.addComponent,
|
|
22
22
|
removeComponent = reactivecore.Actions.removeComponent,
|
|
@@ -130,9 +130,9 @@ var DynamicRangeSlider = {
|
|
|
130
130
|
var start = _ref.start,
|
|
131
131
|
end = _ref.end;
|
|
132
132
|
if (this.$props.defaultValue) {
|
|
133
|
-
var _this$$props$
|
|
134
|
-
defaultStart = _this$$props$
|
|
135
|
-
defaultEnd = _this$$props$
|
|
133
|
+
var _this$$props$defaultV = this.$props.defaultValue(start, end),
|
|
134
|
+
defaultStart = _this$$props$defaultV.start,
|
|
135
|
+
defaultEnd = _this$$props$defaultV.end;
|
|
136
136
|
this.handleChange([defaultStart, defaultEnd]);
|
|
137
137
|
} else if (this.isControlled()) {
|
|
138
138
|
this.handleChange(DynamicRangeSlider.parseValue(this.$props.value), 'change');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
4
4
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
5
|
-
var
|
|
5
|
+
var css = require('@emotion/css');
|
|
6
6
|
|
|
7
7
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
8
8
|
var alertBorder = function alertBorder(_ref) {
|
|
@@ -61,11 +61,11 @@ var Input = vueEmotion.styled('input')(_templateObject || (_templateObject = _ro
|
|
|
61
61
|
return props.alert && alertBorder;
|
|
62
62
|
});
|
|
63
63
|
var suggestions = function suggestions(themePreset, theme) {
|
|
64
|
-
return
|
|
64
|
+
return css.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid #ccc;\n\tborder-top: none;\n\tbackground-color: #fff;\n\tfont-size: 0.9rem;\n\tz-index: 3;\n\tposition: absolute;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tmax-height: min(100vh, 402px);\n\toverflow-y: auto;\n\n\t&.small {\n\t\ttop: 30px;\n\t}\n\n\tli {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tcursor: pointer;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: flex;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 2.3rem;\n\t\t\tline-height: 1.2rem;\n\t\t\t-webkit-line-clamp: 2;\n\t\t\t-webkit-box-orient: vertical;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: #eee;\n\t\t}\n\t}\n\n\t", ";\n"])), themePreset === 'dark' && theme && dark(theme));
|
|
65
65
|
};
|
|
66
|
-
var suggestionsContainer =
|
|
66
|
+
var suggestionsContainer = css.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tposition: relative;\n\t.cancel-icon {\n\t\tcursor: pointer;\n\t}\n"])));
|
|
67
67
|
var noSuggestions = function noSuggestions(themePreset, theme) {
|
|
68
|
-
return
|
|
68
|
+
return css.css(_templateObject4 || (_templateObject4 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid #ccc;\n\tborder-top: none;\n\tbackground-color: #fff;\n\tfont-size: 0.9rem;\n\tz-index: 3;\n\tposition: absolute;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tmax-height: 260px;\n\toverflow-y: auto;\n\n\t&.small {\n\t\ttop: 30px;\n\t}\n\n\tli {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 2.3rem;\n\t\t\tline-height: 1.2rem;\n\t\t\t-webkit-line-clamp: 2;\n\t\t\t-webkit-box-orient: vertical;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t", "\n"])), themePreset === 'dark' && theme && dark(theme));
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
exports.Input = Input;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
|
|
4
4
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
5
|
-
var
|
|
5
|
+
var css = require('@emotion/css');
|
|
6
6
|
var polished = require('polished');
|
|
7
7
|
require('./Title-8802a218.js');
|
|
8
8
|
|
|
9
9
|
var _templateObject, _templateObject2, _templateObject3;
|
|
10
|
-
var container =
|
|
10
|
+
var container = css.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tmargin: 0;\n\tborder-radius: 0.25rem;\n\toverflow: hidden;\n"])));
|
|
11
11
|
var smallImage = "\n\twidth: 100px;\n\theight: 100px;\n";
|
|
12
12
|
var Image = vueEmotion.styled('div')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: 160px;\n\theight: 160px;\n\t", ";\n\tmargin: 0;\n\tbackground-size: contain;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n\tbackground-image: ", ";\n"])), function (props) {
|
|
13
13
|
return props.small ? smallImage : null;
|
|
@@ -11,9 +11,9 @@ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js
|
|
|
11
11
|
var vue = require('vue');
|
|
12
12
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
13
13
|
require('@appbaseio/vue-emotion');
|
|
14
|
-
require('emotion');
|
|
14
|
+
require('@emotion/css');
|
|
15
15
|
require('polished');
|
|
16
|
-
var Button = require('./Button-
|
|
16
|
+
var Button = require('./Button-d4da7470.js');
|
|
17
17
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
18
18
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
19
19
|
require('redux');
|
|
@@ -21,8 +21,8 @@ var index = require('./index-1481798c.js');
|
|
|
21
21
|
var ComponentWrapper = require('./ComponentWrapper-2dc930e1.js');
|
|
22
22
|
var PreferencesConsumer = require('./PreferencesConsumer-2c69ac61.js');
|
|
23
23
|
var Title = require('./Title-8802a218.js');
|
|
24
|
-
var DropDown = require('./DropDown-
|
|
25
|
-
require('./Input-
|
|
24
|
+
var DropDown = require('./DropDown-f48bea16.js');
|
|
25
|
+
require('./Input-497be42a.js');
|
|
26
26
|
require('compute-scroll-into-view');
|
|
27
27
|
var Container = require('./Container-29f049b2.js');
|
|
28
28
|
require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
@@ -306,24 +306,24 @@ var MultiDropdownList = {
|
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
309
|
-
var
|
|
310
|
-
del =
|
|
311
|
-
obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(
|
|
309
|
+
var _currentValue = currentValue,
|
|
310
|
+
del = _currentValue[selectAllLabel],
|
|
311
|
+
obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_rollupPluginBabelHelpers._toPropertyKey));
|
|
312
312
|
currentValue = _rollupPluginBabelHelpers._extends({}, obj);
|
|
313
313
|
}
|
|
314
314
|
} else {
|
|
315
315
|
if (currentValue[value]) {
|
|
316
|
-
var
|
|
317
|
-
_del =
|
|
318
|
-
rest = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(
|
|
316
|
+
var _currentValue2 = currentValue,
|
|
317
|
+
_del = _currentValue2[value],
|
|
318
|
+
rest = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(_currentValue2, [value].map(_rollupPluginBabelHelpers._toPropertyKey));
|
|
319
319
|
currentValue = _rollupPluginBabelHelpers._extends({}, rest);
|
|
320
320
|
} else {
|
|
321
321
|
currentValue[value] = true;
|
|
322
322
|
}
|
|
323
323
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
324
|
-
var
|
|
325
|
-
_del2 =
|
|
326
|
-
_obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(
|
|
324
|
+
var _currentValue3 = currentValue,
|
|
325
|
+
_del2 = _currentValue3[selectAllLabel],
|
|
326
|
+
_obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_rollupPluginBabelHelpers._toPropertyKey));
|
|
327
327
|
currentValue = _rollupPluginBabelHelpers._extends({}, _obj);
|
|
328
328
|
}
|
|
329
329
|
finalValues = Object.keys(currentValue);
|
package/dist/cjs/MultiList.js
CHANGED
|
@@ -10,7 +10,7 @@ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js
|
|
|
10
10
|
var vue = require('vue');
|
|
11
11
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
12
12
|
require('@appbaseio/vue-emotion');
|
|
13
|
-
require('emotion');
|
|
13
|
+
require('@emotion/css');
|
|
14
14
|
require('polished');
|
|
15
15
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
16
16
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
@@ -19,7 +19,7 @@ var index = require('./index-1481798c.js');
|
|
|
19
19
|
var ComponentWrapper = require('./ComponentWrapper-2dc930e1.js');
|
|
20
20
|
var PreferencesConsumer = require('./PreferencesConsumer-2c69ac61.js');
|
|
21
21
|
var Title = require('./Title-8802a218.js');
|
|
22
|
-
var Input = require('./Input-
|
|
22
|
+
var Input = require('./Input-497be42a.js');
|
|
23
23
|
var Container = require('./Container-29f049b2.js');
|
|
24
24
|
var suggestions = require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
25
25
|
var FormControlList = require('./FormControlList-fadd792f.js');
|
|
@@ -274,16 +274,16 @@ var MultiList = {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
277
|
-
var
|
|
278
|
-
del =
|
|
279
|
-
obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(
|
|
277
|
+
var _currentValue = currentValue,
|
|
278
|
+
del = _currentValue[selectAllLabel],
|
|
279
|
+
obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_rollupPluginBabelHelpers._toPropertyKey));
|
|
280
280
|
currentValue = _rollupPluginBabelHelpers._extends({}, obj);
|
|
281
281
|
}
|
|
282
282
|
} else {
|
|
283
283
|
if (currentValue[value]) {
|
|
284
|
-
var
|
|
285
|
-
_del =
|
|
286
|
-
rest = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(
|
|
284
|
+
var _currentValue2 = currentValue,
|
|
285
|
+
_del = _currentValue2[value],
|
|
286
|
+
rest = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(_currentValue2, [value].map(_rollupPluginBabelHelpers._toPropertyKey));
|
|
287
287
|
currentValue = _rollupPluginBabelHelpers._extends({}, rest);
|
|
288
288
|
} else if (Array.isArray(value)) {
|
|
289
289
|
value.forEach(function (val) {
|
|
@@ -293,9 +293,9 @@ var MultiList = {
|
|
|
293
293
|
currentValue[value] = true;
|
|
294
294
|
}
|
|
295
295
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
296
|
-
var
|
|
297
|
-
_del2 =
|
|
298
|
-
_obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(
|
|
296
|
+
var _currentValue3 = currentValue,
|
|
297
|
+
_del2 = _currentValue3[selectAllLabel],
|
|
298
|
+
_obj = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_rollupPluginBabelHelpers._toPropertyKey));
|
|
299
299
|
currentValue = _rollupPluginBabelHelpers._extends({}, _obj);
|
|
300
300
|
}
|
|
301
301
|
finalValues = Object.keys(currentValue);
|
package/dist/cjs/MultiRange.js
CHANGED
|
@@ -104,9 +104,9 @@ var MultiRange = {
|
|
|
104
104
|
currentValue = currentValue.filter(function (value) {
|
|
105
105
|
return value.label !== item;
|
|
106
106
|
});
|
|
107
|
-
var
|
|
108
|
-
del =
|
|
109
|
-
selected = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(
|
|
107
|
+
var _selectedValues = selectedValues,
|
|
108
|
+
del = _selectedValues[item],
|
|
109
|
+
selected = _rollupPluginBabelHelpers._objectWithoutPropertiesLoose(_selectedValues, [item].map(_rollupPluginBabelHelpers._toPropertyKey));
|
|
110
110
|
selectedValues = selected;
|
|
111
111
|
} else {
|
|
112
112
|
var _extends2;
|
|
@@ -6,7 +6,7 @@ var reactivecore = require('@appbaseio/reactivecore');
|
|
|
6
6
|
var _transformOn = _interopDefault(require('@vue/babel-helper-vue-transform-on'));
|
|
7
7
|
var vue = require('vue');
|
|
8
8
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
9
|
-
var Button = require('./Button-
|
|
9
|
+
var Button = require('./Button-d4da7470.js');
|
|
10
10
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
11
11
|
|
|
12
12
|
function _isSlot(s) {
|
package/dist/cjs/RangeInput.js
CHANGED
|
@@ -11,7 +11,7 @@ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js
|
|
|
11
11
|
var vue = require('vue');
|
|
12
12
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
13
13
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
14
|
-
require('emotion');
|
|
14
|
+
require('@emotion/css');
|
|
15
15
|
require('polished');
|
|
16
16
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
17
17
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
@@ -21,9 +21,9 @@ var ComponentWrapper = require('./ComponentWrapper-2dc930e1.js');
|
|
|
21
21
|
var PreferencesConsumer = require('./PreferencesConsumer-2c69ac61.js');
|
|
22
22
|
require('./Title-8802a218.js');
|
|
23
23
|
var Flex = require('./Flex-d5675ea6.js');
|
|
24
|
-
var Input = require('./Input-
|
|
24
|
+
var Input = require('./Input-497be42a.js');
|
|
25
25
|
var Container = require('./Container-29f049b2.js');
|
|
26
|
-
require('./ssr-
|
|
26
|
+
require('./ssr-8dd13d43.js');
|
|
27
27
|
var RangeSlider = require('./RangeSlider.js');
|
|
28
28
|
|
|
29
29
|
var _templateObject;
|
package/dist/cjs/RangeSlider.js
CHANGED
|
@@ -18,7 +18,7 @@ var ComponentWrapper = require('./ComponentWrapper-2dc930e1.js');
|
|
|
18
18
|
var PreferencesConsumer = require('./PreferencesConsumer-2c69ac61.js');
|
|
19
19
|
var Title = require('./Title-8802a218.js');
|
|
20
20
|
var Container = require('./Container-29f049b2.js');
|
|
21
|
-
var ssr = require('./ssr-
|
|
21
|
+
var ssr = require('./ssr-8dd13d43.js');
|
|
22
22
|
|
|
23
23
|
var updateQuery = reactivecore.Actions.updateQuery,
|
|
24
24
|
setQueryOptions = reactivecore.Actions.setQueryOptions,
|
package/dist/cjs/ReactiveBase.js
CHANGED
|
@@ -116,12 +116,12 @@ var URLParamsProvider = {
|
|
|
116
116
|
try {
|
|
117
117
|
var component = item[0],
|
|
118
118
|
value = item[1];
|
|
119
|
-
var
|
|
119
|
+
var _ref = _this.selectedValues[component] || {
|
|
120
120
|
label: component
|
|
121
121
|
},
|
|
122
|
-
label =
|
|
123
|
-
showFilter =
|
|
124
|
-
URLParams =
|
|
122
|
+
label = _ref.label,
|
|
123
|
+
showFilter = _ref.showFilter,
|
|
124
|
+
URLParams = _ref.URLParams;
|
|
125
125
|
_this.setValue(component, JSON.parse(value), label, showFilter, URLParams, undefined, undefined, undefined, 'URL');
|
|
126
126
|
} catch (e) {
|
|
127
127
|
// Do not set value if JSON parsing fails.
|
|
@@ -10,8 +10,8 @@ var vue = require('vue');
|
|
|
10
10
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
11
11
|
var helper = require('@appbaseio/reactivecore/lib/utils/helper');
|
|
12
12
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
13
|
-
var
|
|
14
|
-
var Button = require('./Button-
|
|
13
|
+
var css = require('@emotion/css');
|
|
14
|
+
var Button = require('./Button-d4da7470.js');
|
|
15
15
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
16
16
|
var ReactiveList = require('./ReactiveList.js');
|
|
17
17
|
var index = require('./index-1481798c.js');
|
|
@@ -20,8 +20,8 @@ var PreferencesConsumer = require('./PreferencesConsumer-2c69ac61.js');
|
|
|
20
20
|
var Title = require('./Title-8802a218.js');
|
|
21
21
|
var Flex = require('./Flex-d5675ea6.js');
|
|
22
22
|
var hotkeys = _interopDefault(require('hotkeys-js'));
|
|
23
|
-
var DropDown = require('./DropDown-
|
|
24
|
-
var Input = require('./Input-
|
|
23
|
+
var DropDown = require('./DropDown-f48bea16.js');
|
|
24
|
+
var Input = require('./Input-497be42a.js');
|
|
25
25
|
var Container = require('./Container-29f049b2.js');
|
|
26
26
|
var Highlight = _interopDefault(require('vue-highlight-words'));
|
|
27
27
|
var SingleList = require('./SingleList.js');
|
|
@@ -140,13 +140,13 @@ var SuggestionItem = {
|
|
|
140
140
|
"searchWords": _this.currentValue.split(' '),
|
|
141
141
|
"textToHighlight": title,
|
|
142
142
|
"highlightStyle": highlightStyle,
|
|
143
|
-
"class":
|
|
143
|
+
"class": css.css({
|
|
144
144
|
fontSize: '1rem'
|
|
145
145
|
})
|
|
146
146
|
}, null)]), description && vue.createVNode("div", {
|
|
147
|
-
"class":
|
|
147
|
+
"class": ['trim', css.css({
|
|
148
148
|
marginTop: 3
|
|
149
|
-
})
|
|
149
|
+
})]
|
|
150
150
|
}, [vue.createVNode(Highlight, {
|
|
151
151
|
"searchWords": _this.currentValue.split(' '),
|
|
152
152
|
"textToHighlight": description,
|
|
@@ -516,14 +516,14 @@ var Mic = {
|
|
|
516
516
|
if (status === STATUS.active) {
|
|
517
517
|
this.status = STATUS.inactive;
|
|
518
518
|
}
|
|
519
|
-
var _this$$
|
|
520
|
-
handleResult = _this$$
|
|
521
|
-
onNoMatch = _this$$
|
|
522
|
-
onError = _this$$
|
|
523
|
-
lang = _this$$
|
|
524
|
-
getInstance = _this$$
|
|
525
|
-
var
|
|
526
|
-
SpeechRecognition =
|
|
519
|
+
var _this$$props = this.$props,
|
|
520
|
+
handleResult = _this$$props.handleResult,
|
|
521
|
+
onNoMatch = _this$$props.onNoMatch,
|
|
522
|
+
onError = _this$$props.onError,
|
|
523
|
+
lang = _this$$props.lang,
|
|
524
|
+
getInstance = _this$$props.getInstance;
|
|
525
|
+
var _window = window,
|
|
526
|
+
SpeechRecognition = _window.SpeechRecognition;
|
|
527
527
|
if (this.instance && this.status !== STATUS.denied) {
|
|
528
528
|
this.status = STATUS.inactive;
|
|
529
529
|
this.instance.stop();
|
|
@@ -1368,12 +1368,12 @@ var SearchBox = vue.defineComponent({
|
|
|
1368
1368
|
renderInputAddonBefore: function renderInputAddonBefore() {
|
|
1369
1369
|
var addonBefore = this.$slots.addonBefore;
|
|
1370
1370
|
if (addonBefore) {
|
|
1371
|
-
var
|
|
1371
|
+
var _slot;
|
|
1372
1372
|
return vue.createVNode(InputAddon, {
|
|
1373
1373
|
"class": "addon-before"
|
|
1374
|
-
}, _isSlot(
|
|
1374
|
+
}, _isSlot(_slot = addonBefore()) ? _slot : {
|
|
1375
1375
|
"default": function _default() {
|
|
1376
|
-
return [
|
|
1376
|
+
return [_slot];
|
|
1377
1377
|
}
|
|
1378
1378
|
});
|
|
1379
1379
|
}
|
|
@@ -1382,12 +1382,12 @@ var SearchBox = vue.defineComponent({
|
|
|
1382
1382
|
renderInputAddonAfter: function renderInputAddonAfter() {
|
|
1383
1383
|
var addonAfter = this.$slots.addonAfter;
|
|
1384
1384
|
if (addonAfter) {
|
|
1385
|
-
var
|
|
1385
|
+
var _slot2;
|
|
1386
1386
|
return vue.createVNode(InputAddon, {
|
|
1387
1387
|
"class": "addon-after"
|
|
1388
|
-
}, _isSlot(
|
|
1388
|
+
}, _isSlot(_slot2 = addonAfter()) ? _slot2 : {
|
|
1389
1389
|
"default": function _default() {
|
|
1390
|
-
return [
|
|
1390
|
+
return [_slot2];
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
1393
|
}
|
|
@@ -1429,7 +1429,7 @@ var SearchBox = vue.defineComponent({
|
|
|
1429
1429
|
},
|
|
1430
1430
|
renderIcons: function renderIcons() {
|
|
1431
1431
|
var _this6 = this;
|
|
1432
|
-
var
|
|
1432
|
+
var _slot3, _slot4, _slot5;
|
|
1433
1433
|
var _this$$props3 = this.$props,
|
|
1434
1434
|
iconPosition = _this$$props3.iconPosition,
|
|
1435
1435
|
showClear = _this$$props3.showClear,
|
|
@@ -1448,9 +1448,9 @@ var SearchBox = vue.defineComponent({
|
|
|
1448
1448
|
"onClick": _this6.clearValue,
|
|
1449
1449
|
"showIcon": showIcon,
|
|
1450
1450
|
"isClearIcon": true
|
|
1451
|
-
}, _isSlot(
|
|
1451
|
+
}, _isSlot(_slot3 = _this6.renderCancelIcon()) ? _slot3 : {
|
|
1452
1452
|
"default": function _default() {
|
|
1453
|
-
return [
|
|
1453
|
+
return [_slot3];
|
|
1454
1454
|
}
|
|
1455
1455
|
}), showVoiceSearch && vue.createVNode(Mic, {
|
|
1456
1456
|
"getInstance": getMicInstance,
|
|
@@ -1459,9 +1459,9 @@ var SearchBox = vue.defineComponent({
|
|
|
1459
1459
|
"className": getClassName$1(innerClass, 'mic') || null
|
|
1460
1460
|
}, null), iconPosition === 'right' && showIcon && vue.createVNode(DropDown.IconWrapper, {
|
|
1461
1461
|
"onClick": _this6.handleSearchIconClick
|
|
1462
|
-
}, _isSlot(
|
|
1462
|
+
}, _isSlot(_slot4 = _this6.renderIcon()) ? _slot4 : {
|
|
1463
1463
|
"default": function _default() {
|
|
1464
|
-
return [
|
|
1464
|
+
return [_slot4];
|
|
1465
1465
|
}
|
|
1466
1466
|
})];
|
|
1467
1467
|
}
|
|
@@ -1472,9 +1472,9 @@ var SearchBox = vue.defineComponent({
|
|
|
1472
1472
|
"default": function _default() {
|
|
1473
1473
|
return [iconPosition === 'left' && showIcon && vue.createVNode(DropDown.IconWrapper, {
|
|
1474
1474
|
"onClick": _this6.handleSearchIconClick
|
|
1475
|
-
}, _isSlot(
|
|
1475
|
+
}, _isSlot(_slot5 = _this6.renderIcon()) ? _slot5 : {
|
|
1476
1476
|
"default": function _default() {
|
|
1477
|
-
return [
|
|
1477
|
+
return [_slot5];
|
|
1478
1478
|
}
|
|
1479
1479
|
})];
|
|
1480
1480
|
}
|
|
@@ -10,11 +10,11 @@ require('vue');
|
|
|
10
10
|
require('vue-types');
|
|
11
11
|
require('@appbaseio/reactivecore/lib/utils/helper');
|
|
12
12
|
require('@appbaseio/vue-emotion');
|
|
13
|
-
require('emotion');
|
|
13
|
+
require('@emotion/css');
|
|
14
14
|
require('polished');
|
|
15
|
-
require('./Button-
|
|
15
|
+
require('./Button-d4da7470.js');
|
|
16
16
|
require('./vueTypes-1bf00978.js');
|
|
17
|
-
require('./Pagination-
|
|
17
|
+
require('./Pagination-b953a80a.js');
|
|
18
18
|
require('./ReactiveList.js');
|
|
19
19
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
20
20
|
require('redux');
|
|
@@ -22,13 +22,13 @@ require('./index-1481798c.js');
|
|
|
22
22
|
require('./ComponentWrapper-2dc930e1.js');
|
|
23
23
|
require('./PreferencesConsumer-2c69ac61.js');
|
|
24
24
|
require('./Title-8802a218.js');
|
|
25
|
-
require('./ListItem-
|
|
26
|
-
require('./Card-
|
|
25
|
+
require('./ListItem-23af8974.js');
|
|
26
|
+
require('./Card-63968d94.js');
|
|
27
27
|
require('./Flex-d5675ea6.js');
|
|
28
28
|
require('hotkeys-js');
|
|
29
|
-
var ReactiveComponent = require('./ReactiveComponent-
|
|
30
|
-
require('./DropDown-
|
|
31
|
-
require('./Input-
|
|
29
|
+
var ReactiveComponent = require('./ReactiveComponent-8180c806.js');
|
|
30
|
+
require('./DropDown-f48bea16.js');
|
|
31
|
+
require('./Input-497be42a.js');
|
|
32
32
|
require('compute-scroll-into-view');
|
|
33
33
|
require('./Container-29f049b2.js');
|
|
34
34
|
require('vue-highlight-words');
|
|
@@ -40,7 +40,7 @@ require('./MultiList.js');
|
|
|
40
40
|
require('./SingleDropdownList.js');
|
|
41
41
|
require('./MultiDropdownList.js');
|
|
42
42
|
require('./ToggleButton.js');
|
|
43
|
-
require('./ssr-
|
|
43
|
+
require('./ssr-8dd13d43.js');
|
|
44
44
|
require('./DynamicRangeSlider.js');
|
|
45
45
|
require('./SingleRange.js');
|
|
46
46
|
require('./MultiRange.js');
|
|
@@ -11,11 +11,11 @@ var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js
|
|
|
11
11
|
var vue = require('vue');
|
|
12
12
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
13
13
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
14
|
-
var
|
|
14
|
+
var css = require('@emotion/css');
|
|
15
15
|
require('polished');
|
|
16
|
-
require('./Button-
|
|
16
|
+
require('./Button-d4da7470.js');
|
|
17
17
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
18
|
-
var Pagination = require('./Pagination-
|
|
18
|
+
var Pagination = require('./Pagination-b953a80a.js');
|
|
19
19
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
20
20
|
require('redux');
|
|
21
21
|
var index = require('./index-1481798c.js');
|
|
@@ -186,9 +186,9 @@ var ReactiveMap = {
|
|
|
186
186
|
var options = getQueryOptions(this.$props);
|
|
187
187
|
options.from = 0;
|
|
188
188
|
this.$defaultQuery = newVal(null, this.$props);
|
|
189
|
-
var
|
|
190
|
-
sort =
|
|
191
|
-
query =
|
|
189
|
+
var _ref = this.$defaultQuery || {},
|
|
190
|
+
sort = _ref.sort,
|
|
191
|
+
query = _ref.query;
|
|
192
192
|
if (sort) {
|
|
193
193
|
options.sort = this.$defaultQuery.sort;
|
|
194
194
|
}
|
|
@@ -571,8 +571,8 @@ var ReactiveMap = {
|
|
|
571
571
|
geo_bounding_box: (_geo_bounding_box = {}, _geo_bounding_box[this.dataField] = boundingBoxCoordinates, _geo_bounding_box)
|
|
572
572
|
};
|
|
573
573
|
if (this.$defaultQuery) {
|
|
574
|
-
var
|
|
575
|
-
query =
|
|
574
|
+
var _ref2 = this.$defaultQuery || {},
|
|
575
|
+
query = _ref2.query;
|
|
576
576
|
if (query) {
|
|
577
577
|
// adds defaultQuery's query to geo-query
|
|
578
578
|
// to generate a map query
|
|
@@ -615,8 +615,8 @@ var ReactiveMap = {
|
|
|
615
615
|
triggerClickAnalytics: function triggerClickAnalytics(searchPosition, documentId) {
|
|
616
616
|
var docId = documentId;
|
|
617
617
|
if (!docId) {
|
|
618
|
-
var _this$
|
|
619
|
-
data = _this$
|
|
618
|
+
var _this$getData2 = this.getData(),
|
|
619
|
+
data = _this$getData2.data;
|
|
620
620
|
var hitData = data.find(function (hit) {
|
|
621
621
|
return hit._click_id === searchPosition;
|
|
622
622
|
});
|
|
@@ -707,10 +707,10 @@ var ReactiveMap = {
|
|
|
707
707
|
var options = getQueryOptions(this.$props);
|
|
708
708
|
options.from = this.$data.from;
|
|
709
709
|
if (this.$props.sortBy) {
|
|
710
|
-
var
|
|
711
|
-
options.sort = [(
|
|
710
|
+
var _ref3;
|
|
711
|
+
options.sort = [(_ref3 = {}, _ref3[this.$props.dataField] = {
|
|
712
712
|
order: this.$props.sortBy
|
|
713
|
-
},
|
|
713
|
+
}, _ref3)];
|
|
714
714
|
}
|
|
715
715
|
this.$defaultQuery = null;
|
|
716
716
|
if (this.$props.defaultQuery) {
|
|
@@ -1632,7 +1632,7 @@ var MarkerWithLabel = {
|
|
|
1632
1632
|
var _templateObject, _templateObject2, _templateObject3;
|
|
1633
1633
|
var MapPin = vueEmotion.styled('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\theight: 24px;\n\twidth: auto;\n\tbackground-color: #fff;\n\tborder-radius: 2px;\n\tcolor: #222;\n\tbox-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);\n\tpadding: 3px 6px;\n\tfont-size: 15px;\n"])));
|
|
1634
1634
|
var MapPinArrow = vueEmotion.styled('div')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tborder-color: rgba(0, 0, 0, 0.2);\n\tborder-style: solid;\n\tborder-width: 0 1px 1px 0;\n\tmargin-left: -6px;\n\tbackground-color: #fff;\n\tmargin-top: -6px;\n\twidth: 12px;\n\theight: 12px;\n\t-webkit-transform: rotate(45deg);\n\t-ms-transform: rotate(45deg);\n\ttransform: rotate(45deg);\n"])));
|
|
1635
|
-
var mapPinWrapper =
|
|
1635
|
+
var mapPinWrapper = css.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t&:hover,\n\t&:focus {\n\t\tz-index: 200;\n\t}\n"])));
|
|
1636
1636
|
|
|
1637
1637
|
var recordResultClick$2 = reactivecore.Actions.recordResultClick;
|
|
1638
1638
|
var GoogleMapMarker = {
|
|
@@ -2035,7 +2035,7 @@ var ReactiveGoogleMap = {
|
|
|
2035
2035
|
"style": {
|
|
2036
2036
|
height: '100%'
|
|
2037
2037
|
},
|
|
2038
|
-
"class":
|
|
2038
|
+
"class": css.css(_templateObject$1 || (_templateObject$1 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t\t\t\t\t\t\theight: 100%;\n\t\t\t\t\t\t"]))),
|
|
2039
2039
|
"options": {
|
|
2040
2040
|
zoomControl: true
|
|
2041
2041
|
},
|
package/dist/cjs/ReactiveList.js
CHANGED
|
@@ -12,19 +12,19 @@ var vue = require('vue');
|
|
|
12
12
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
13
13
|
var helper = require('@appbaseio/reactivecore/lib/utils/helper');
|
|
14
14
|
var vueEmotion = require('@appbaseio/vue-emotion');
|
|
15
|
-
var
|
|
15
|
+
var css = require('@emotion/css');
|
|
16
16
|
require('polished');
|
|
17
|
-
require('./Button-
|
|
17
|
+
require('./Button-d4da7470.js');
|
|
18
18
|
var vueTypes = require('./vueTypes-1bf00978.js');
|
|
19
|
-
var Pagination = require('./Pagination-
|
|
19
|
+
var Pagination = require('./Pagination-b953a80a.js');
|
|
20
20
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
21
21
|
require('redux');
|
|
22
22
|
var index = require('./index-1481798c.js');
|
|
23
23
|
var ComponentWrapper = require('./ComponentWrapper-2dc930e1.js');
|
|
24
24
|
var PreferencesConsumer = require('./PreferencesConsumer-2c69ac61.js');
|
|
25
25
|
require('./Title-8802a218.js');
|
|
26
|
-
var ListItem = require('./ListItem-
|
|
27
|
-
var Card = require('./Card-
|
|
26
|
+
var ListItem = require('./ListItem-23af8974.js');
|
|
27
|
+
var Card = require('./Card-63968d94.js');
|
|
28
28
|
var Flex = require('./Flex-d5675ea6.js');
|
|
29
29
|
|
|
30
30
|
var _templateObject;
|
|
@@ -67,8 +67,8 @@ ResultCardsWrapper.install = function (Vue) {
|
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
var _templateObject$1, _templateObject2;
|
|
70
|
-
var resultStats =
|
|
71
|
-
var sortOptions =
|
|
70
|
+
var resultStats = css.css(_templateObject$1 || (_templateObject$1 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tflex-grow: 1;\n\tfont-size: 0.82rem;\n"])));
|
|
71
|
+
var sortOptions = css.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tcolor: #424242;\n\theight: 32px;\n\tfont-size: 0.82rem;\n\tpadding: 0 25px 0 10px;\n\tbackground: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+)\n\t\tno-repeat 95% 50%;\n\tbackground-color: #fff;\n\t-moz-appearance: none;\n\t-webkit-appearance: none;\n\tappearance: none;\n\t-webkit-border-radius: 0;\n\tborder-radius: 0;\n\tborder: 0;\n\toutline: 1px solid #ddd;\n\toutline-offset: -1px;\n"])));
|
|
72
72
|
|
|
73
73
|
var recordImpressions = reactivecore.Actions.recordImpressions;
|
|
74
74
|
var isEqual = reactivecore.helper.isEqual;
|
|
@@ -772,8 +772,8 @@ var ReactiveList = {
|
|
|
772
772
|
triggerClickAnalytics: function triggerClickAnalytics(searchPosition, documentId) {
|
|
773
773
|
var docId = documentId;
|
|
774
774
|
if (!docId) {
|
|
775
|
-
var _this$
|
|
776
|
-
data = _this$
|
|
775
|
+
var _this$getData = this.getData(),
|
|
776
|
+
data = _this$getData.data;
|
|
777
777
|
var hitData = data.find(function (hit) {
|
|
778
778
|
return hit._click_id === searchPosition;
|
|
779
779
|
});
|