@appbaseio/reactivesearch-vue 1.30.0 → 1.32.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 +10358 -553
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +21 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-0e2e2c02.js → Button-0673191e.js} +6 -6
- package/dist/cjs/{CancelSvg-c48c1085.js → CancelSvg-9f258f4f.js} +1 -1
- package/dist/cjs/{Card-4fa0f769.js → Card-642547a8.js} +2 -2
- package/dist/cjs/{ComponentWrapper-5cb08414.js → ComponentWrapper-ad3dad02.js} +2 -2
- package/dist/cjs/{Container-cfd69a34.js → Container-daf30918.js} +1 -1
- package/dist/cjs/{DataSearch-e550096e.js → DataSearch-d389fbe7.js} +128 -112
- package/dist/cjs/DataSearch.js +10 -10
- package/dist/cjs/{DropDown-fc59f1ee.js → DropDown-c479bbb0.js} +5 -5
- package/dist/cjs/DynamicRangeSlider.js +8 -7
- package/dist/cjs/{Flex-63774e4d.js → Flex-aa517a13.js} +1 -1
- package/dist/cjs/{FormControlList-a9c64bb8.js → FormControlList-c195a592.js} +1 -1
- package/dist/cjs/{Input-43868594.js → Input-e6603a7e.js} +1 -1
- package/dist/cjs/{ListItem-38962297.js → ListItem-8c9e0d68.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +13 -12
- package/dist/cjs/MultiList.js +11 -10
- package/dist/cjs/MultiRange.js +9 -8
- package/dist/cjs/Pagination-3d73e1b3.js +182 -0
- package/dist/cjs/RangeInput.js +11 -10
- package/dist/cjs/RangeSlider.js +9 -8
- package/dist/cjs/ReactiveBase.js +34 -26
- package/dist/cjs/ReactiveComponent.js +6 -5
- package/dist/cjs/ReactiveGoogleMap.js +2363 -0
- package/dist/cjs/ReactiveList.js +21 -187
- package/dist/cjs/ResultCard.js +4 -4
- package/dist/cjs/ResultList.js +4 -4
- package/dist/cjs/SelectedFilters.js +9 -9
- package/dist/cjs/SingleDropdownList.js +13 -12
- package/dist/cjs/SingleList.js +11 -10
- package/dist/cjs/SingleRange.js +9 -8
- package/dist/cjs/StateProvider.js +65 -22
- package/dist/cjs/{Title-26661936.js → Title-1de7d0f4.js} +1 -1
- package/dist/cjs/ToggleButton.js +9 -8
- package/dist/cjs/{_rollupPluginBabelHelpers-91d4b5a6.js → _rollupPluginBabelHelpers-c705cbe6.js} +16 -0
- package/dist/cjs/{index-2cd3650b.js → index-6a167fe0.js} +13 -1
- package/dist/cjs/index.js +23 -18
- package/dist/cjs/initReactivesearch.js +46 -10
- package/dist/cjs/{install-250a14f1.js → install-3b864d8f.js} +18 -16
- package/dist/cjs/install.js +19 -18
- package/dist/cjs/{ssr-949cafb5.js → ssr-3027b848.js} +1 -1
- package/dist/cjs/{utils-0df3cb93.js → utils-d6a52588.js} +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-57d01f18.js → vueTypes-727b7c63.js} +30 -13
- package/dist/es/{Button-e18ad90f.js → Button-35aa984e.js} +6 -6
- package/dist/es/{CancelSvg-e3b33cdd.js → CancelSvg-4cfae5fd.js} +1 -1
- package/dist/es/{Card-ad6ba09f.js → Card-450683f1.js} +2 -2
- package/dist/es/{ComponentWrapper-dc92772a.js → ComponentWrapper-424e86fd.js} +2 -2
- package/dist/es/{Container-421450dc.js → Container-ba826e96.js} +1 -1
- package/dist/es/{DataSearch-8e5d0972.js → DataSearch-b88ef6ee.js} +128 -112
- package/dist/es/DataSearch.js +10 -10
- package/dist/es/{DropDown-565fad6f.js → DropDown-05a644a5.js} +5 -5
- package/dist/es/DynamicRangeSlider.js +8 -7
- package/dist/es/{Flex-09d40927.js → Flex-1f0795c3.js} +1 -1
- package/dist/es/{FormControlList-38ffe3d3.js → FormControlList-c22d64f6.js} +1 -1
- package/dist/es/{Input-c9d757bc.js → Input-7a2a9fac.js} +1 -1
- package/dist/es/{ListItem-41d6ddd7.js → ListItem-cad14c5e.js} +2 -2
- package/dist/es/MultiDropdownList.js +13 -12
- package/dist/es/MultiList.js +11 -10
- package/dist/es/MultiRange.js +9 -8
- package/dist/es/Pagination-af9de08f.js +177 -0
- package/dist/es/RangeInput.js +11 -10
- package/dist/es/RangeSlider.js +9 -8
- package/dist/es/ReactiveBase.js +35 -27
- package/dist/es/ReactiveComponent.js +6 -5
- package/dist/es/ReactiveGoogleMap.js +2354 -0
- package/dist/es/ReactiveList.js +20 -186
- package/dist/es/ResultCard.js +4 -4
- package/dist/es/ResultList.js +4 -4
- package/dist/es/SelectedFilters.js +7 -7
- package/dist/es/SingleDropdownList.js +13 -12
- package/dist/es/SingleList.js +11 -10
- package/dist/es/SingleRange.js +9 -8
- package/dist/es/StateProvider.js +65 -22
- package/dist/es/{Title-35edd732.js → Title-3342664a.js} +1 -1
- package/dist/es/ToggleButton.js +9 -8
- package/dist/es/{_rollupPluginBabelHelpers-51ce1182.js → _rollupPluginBabelHelpers-76660dab.js} +16 -1
- package/dist/es/{index-5371a13f.js → index-7788a843.js} +13 -2
- package/dist/es/index.js +23 -19
- package/dist/es/initReactivesearch.js +47 -11
- package/dist/es/{install-9faa87f1.js → install-a1fd08ae.js} +16 -14
- package/dist/es/install.js +19 -18
- package/dist/es/{ssr-ad57b0ad.js → ssr-b2c0b401.js} +1 -1
- package/dist/es/{utils-9b45e0ab.js → utils-9e68acee.js} +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-687b2304.js → vueTypes-b8146772.js} +30 -13
- package/package.json +10 -4
package/dist/cjs/ToggleButton.js
CHANGED
|
@@ -6,20 +6,20 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
6
6
|
|
|
7
7
|
var configureStore = require('@appbaseio/reactivecore');
|
|
8
8
|
var configureStore__default = _interopDefault(configureStore);
|
|
9
|
-
require('./_rollupPluginBabelHelpers-
|
|
9
|
+
require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
10
10
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
11
11
|
var constants = require('@appbaseio/reactivecore/lib/utils/constants');
|
|
12
12
|
require('emotion');
|
|
13
13
|
require('@appbaseio/vue-emotion');
|
|
14
14
|
require('polished');
|
|
15
|
-
var Button = require('./Button-
|
|
16
|
-
var vueTypes = require('./vueTypes-
|
|
15
|
+
var Button = require('./Button-0673191e.js');
|
|
16
|
+
var vueTypes = require('./vueTypes-727b7c63.js');
|
|
17
17
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
18
18
|
require('redux');
|
|
19
|
-
var index = require('./index-
|
|
20
|
-
var ComponentWrapper = require('./ComponentWrapper-
|
|
21
|
-
var Title = require('./Title-
|
|
22
|
-
var Container = require('./Container-
|
|
19
|
+
var index = require('./index-6a167fe0.js');
|
|
20
|
+
var ComponentWrapper = require('./ComponentWrapper-ad3dad02.js');
|
|
21
|
+
var Title = require('./Title-1de7d0f4.js');
|
|
22
|
+
var Container = require('./Container-daf30918.js');
|
|
23
23
|
|
|
24
24
|
var updateQuery = configureStore.Actions.updateQuery,
|
|
25
25
|
setQueryOptions = configureStore.Actions.setQueryOptions,
|
|
@@ -48,7 +48,8 @@ var ToggleButton = {
|
|
|
48
48
|
URLParams: VueTypes.bool,
|
|
49
49
|
renderItem: vueTypes.types.func,
|
|
50
50
|
index: VueTypes.string,
|
|
51
|
-
enableStrictSelection: VueTypes.bool
|
|
51
|
+
enableStrictSelection: VueTypes.bool,
|
|
52
|
+
endpoint: vueTypes.types.endpointConfig
|
|
52
53
|
},
|
|
53
54
|
data: function data() {
|
|
54
55
|
this.__state = {
|
package/dist/cjs/{_rollupPluginBabelHelpers-91d4b5a6.js → _rollupPluginBabelHelpers-c705cbe6.js}
RENAMED
|
@@ -17,6 +17,21 @@ function _extends() {
|
|
|
17
17
|
return _extends.apply(this, arguments);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
function _inheritsLoose(subClass, superClass) {
|
|
21
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
22
|
+
subClass.prototype.constructor = subClass;
|
|
23
|
+
|
|
24
|
+
_setPrototypeOf(subClass, superClass);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function _setPrototypeOf(o, p) {
|
|
28
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
29
|
+
o.__proto__ = p;
|
|
30
|
+
return o;
|
|
31
|
+
};
|
|
32
|
+
return _setPrototypeOf(o, p);
|
|
33
|
+
}
|
|
34
|
+
|
|
20
35
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
21
36
|
if (source == null) return {};
|
|
22
37
|
var target = {};
|
|
@@ -61,6 +76,7 @@ function _toPropertyKey(arg) {
|
|
|
61
76
|
}
|
|
62
77
|
|
|
63
78
|
exports._extends = _extends;
|
|
79
|
+
exports._inheritsLoose = _inheritsLoose;
|
|
64
80
|
exports._objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
|
|
65
81
|
exports._taggedTemplateLiteralLoose = _taggedTemplateLiteralLoose;
|
|
66
82
|
exports._toPropertyKey = _toPropertyKey;
|
|
@@ -4,7 +4,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
4
4
|
|
|
5
5
|
var configureStore = require('@appbaseio/reactivecore');
|
|
6
6
|
var configureStore__default = _interopDefault(configureStore);
|
|
7
|
-
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-
|
|
7
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
8
8
|
var constants = require('@appbaseio/reactivecore/lib/utils/constants');
|
|
9
9
|
var redux = require('redux');
|
|
10
10
|
|
|
@@ -369,10 +369,22 @@ function extractModifierKeysFromFocusShortcuts(focusShortcutsArray) {
|
|
|
369
369
|
return MODIFIER_KEYS.includes(shortcutKey);
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
|
+
function decodeHtml(str) {
|
|
373
|
+
if (typeof str !== 'string') {
|
|
374
|
+
return str;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
return str.replace(/&#([0-9]{1,3});/gi, function (match, numStr) {
|
|
378
|
+
var num = parseInt(numStr, 10); // read num as normal number
|
|
379
|
+
|
|
380
|
+
return String.fromCharCode(num);
|
|
381
|
+
});
|
|
382
|
+
}
|
|
372
383
|
|
|
373
384
|
exports.X_SEARCH_CLIENT = X_SEARCH_CLIENT;
|
|
374
385
|
exports.composeThemeObject = composeThemeObject;
|
|
375
386
|
exports.connect = connect;
|
|
387
|
+
exports.decodeHtml = decodeHtml;
|
|
376
388
|
exports.extractModifierKeysFromFocusShortcuts = extractModifierKeysFromFocusShortcuts;
|
|
377
389
|
exports.getCamelCase = getCamelCase;
|
|
378
390
|
exports.getComponent = getComponent;
|
package/dist/cjs/index.js
CHANGED
|
@@ -3,43 +3,44 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('@appbaseio/reactivecore');
|
|
6
|
-
require('./_rollupPluginBabelHelpers-
|
|
6
|
+
require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
7
7
|
require('vue-types');
|
|
8
8
|
require('@appbaseio/reactivecore/lib/utils/constants');
|
|
9
9
|
require('@appbaseio/reactivecore/lib/utils/helper');
|
|
10
10
|
require('emotion');
|
|
11
11
|
require('@appbaseio/vue-emotion');
|
|
12
12
|
require('polished');
|
|
13
|
-
require('./Button-
|
|
14
|
-
require('./vueTypes-
|
|
13
|
+
require('./Button-0673191e.js');
|
|
14
|
+
require('./vueTypes-727b7c63.js');
|
|
15
|
+
require('./Pagination-3d73e1b3.js');
|
|
15
16
|
var ReactiveList = require('./ReactiveList.js');
|
|
16
17
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
17
18
|
require('redux');
|
|
18
|
-
require('./index-
|
|
19
|
-
require('./ComponentWrapper-
|
|
19
|
+
require('./index-6a167fe0.js');
|
|
20
|
+
require('./ComponentWrapper-ad3dad02.js');
|
|
20
21
|
require('@vue/babel-helper-vue-jsx-merge-props');
|
|
21
|
-
require('./Title-
|
|
22
|
-
require('./ListItem-
|
|
23
|
-
require('./Card-
|
|
24
|
-
require('./Flex-
|
|
22
|
+
require('./Title-1de7d0f4.js');
|
|
23
|
+
require('./ListItem-8c9e0d68.js');
|
|
24
|
+
require('./Card-642547a8.js');
|
|
25
|
+
require('./Flex-aa517a13.js');
|
|
25
26
|
require('@appbaseio/reactivecore/lib/actions/analytics');
|
|
26
27
|
require('appbase-js');
|
|
27
28
|
require('url-search-params-polyfill');
|
|
28
29
|
var ReactiveBase = require('./ReactiveBase.js');
|
|
29
30
|
require('hotkeys-js');
|
|
30
|
-
var DataSearch = require('./DataSearch-
|
|
31
|
-
require('./CancelSvg-
|
|
32
|
-
require('./Input-
|
|
31
|
+
var DataSearch = require('./DataSearch-d389fbe7.js');
|
|
32
|
+
require('./CancelSvg-9f258f4f.js');
|
|
33
|
+
require('./Input-e6603a7e.js');
|
|
33
34
|
require('compute-scroll-into-view');
|
|
34
|
-
require('./Container-
|
|
35
|
+
require('./Container-daf30918.js');
|
|
35
36
|
require('vue-highlight-words');
|
|
36
|
-
var install = require('./install-
|
|
37
|
+
var install = require('./install-3b864d8f.js');
|
|
37
38
|
require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
38
|
-
require('./FormControlList-
|
|
39
|
-
require('./utils-
|
|
39
|
+
require('./FormControlList-c195a592.js');
|
|
40
|
+
require('./utils-d6a52588.js');
|
|
40
41
|
var SingleList = require('./SingleList.js');
|
|
41
42
|
var MultiList = require('./MultiList.js');
|
|
42
|
-
require('./DropDown-
|
|
43
|
+
require('./DropDown-c479bbb0.js');
|
|
43
44
|
var SingleDropdownList = require('./SingleDropdownList.js');
|
|
44
45
|
var MultiDropdownList = require('./MultiDropdownList.js');
|
|
45
46
|
var ToggleButton = require('./ToggleButton.js');
|
|
@@ -50,11 +51,14 @@ var MultiRange = require('./MultiRange.js');
|
|
|
50
51
|
var ResultCard = require('./ResultCard.js');
|
|
51
52
|
var ResultList = require('./ResultList.js');
|
|
52
53
|
require('vue-no-ssr');
|
|
53
|
-
require('./ssr-
|
|
54
|
+
require('./ssr-3027b848.js');
|
|
54
55
|
var RangeSlider = require('./RangeSlider.js');
|
|
55
56
|
var DynamicRangeSlider = require('./DynamicRangeSlider.js');
|
|
56
57
|
require('@appbaseio/reactivecore/lib/actions/value');
|
|
57
58
|
var StateProvider = require('./StateProvider.js');
|
|
59
|
+
require('gmap-vue');
|
|
60
|
+
require('ngeohash');
|
|
61
|
+
var ReactiveGoogleMap = require('./ReactiveGoogleMap.js');
|
|
58
62
|
require('@appbaseio/reactivecore/lib/reducers/valueReducer');
|
|
59
63
|
require('@appbaseio/reactivecore/lib/reducers/queryReducer');
|
|
60
64
|
require('@appbaseio/reactivecore/lib/reducers/queryOptionsReducer');
|
|
@@ -96,6 +100,7 @@ exports.ResultList = ResultList.default;
|
|
|
96
100
|
exports.RangeSlider = RangeSlider.default;
|
|
97
101
|
exports.DynamicRangeSlider = DynamicRangeSlider.default;
|
|
98
102
|
exports.StateProvider = StateProvider.default;
|
|
103
|
+
exports.ReactiveGoogleMap = ReactiveGoogleMap.default;
|
|
99
104
|
exports.initReactivesearch = initReactivesearch.default;
|
|
100
105
|
exports.version = version.default;
|
|
101
106
|
exports.RangeInput = RangeInput.default;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
6
6
|
|
|
7
|
-
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-
|
|
7
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
8
8
|
var constants = require('@appbaseio/reactivecore/lib/utils/constants');
|
|
9
9
|
var helper = require('@appbaseio/reactivecore/lib/utils/helper');
|
|
10
10
|
var transform = require('@appbaseio/reactivecore/lib/utils/transform');
|
|
@@ -21,11 +21,14 @@ var utils = require('@appbaseio/reactivecore/lib/actions/utils');
|
|
|
21
21
|
var _excluded = ["aggs", "size"],
|
|
22
22
|
_excluded2 = ["query"],
|
|
23
23
|
_excluded3 = ["query"];
|
|
24
|
+
|
|
25
|
+
var _componentTypeToDefau;
|
|
24
26
|
var X_SEARCH_CLIENT = 'ReactiveSearch Vue';
|
|
25
27
|
var componentsWithoutFilters = [constants.componentTypes.numberBox, constants.componentTypes.ratingsFilter];
|
|
26
28
|
var resultComponents = [constants.componentTypes.reactiveList, constants.componentTypes.reactiveMap];
|
|
29
|
+
var componentTypeToDefaultValue = (_componentTypeToDefau = {}, _componentTypeToDefau[constants.componentTypes.singleList] = '', _componentTypeToDefau[constants.componentTypes.multiList] = [], _componentTypeToDefau[constants.componentTypes.singleDataList] = '', _componentTypeToDefau[constants.componentTypes.singleDropdownList] = '', _componentTypeToDefau[constants.componentTypes.multiDataList] = [], _componentTypeToDefau[constants.componentTypes.multiDropdownList] = [], _componentTypeToDefau[constants.componentTypes.tagCloud] = '', _componentTypeToDefau[constants.componentTypes.toggleButton] = '', _componentTypeToDefau[constants.componentTypes.singleDropdownRange] = '', _componentTypeToDefau[constants.componentTypes.multiDropdownRange] = [], _componentTypeToDefau[constants.componentTypes.singleRange] = '', _componentTypeToDefau[constants.componentTypes.multiRange] = [], _componentTypeToDefau);
|
|
27
30
|
|
|
28
|
-
function getValue(state, id, defaultValue) {
|
|
31
|
+
function getValue(state, id, defaultValue, componentType) {
|
|
29
32
|
if (state && state[id]) {
|
|
30
33
|
try {
|
|
31
34
|
// parsing for next.js - since it uses extra set of quotes to wrap params
|
|
@@ -44,7 +47,7 @@ function getValue(state, id, defaultValue) {
|
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
return {
|
|
47
|
-
value: defaultValue,
|
|
50
|
+
value: defaultValue || componentTypeToDefaultValue[componentType] || null,
|
|
48
51
|
reference: 'DEFAULT'
|
|
49
52
|
};
|
|
50
53
|
}
|
|
@@ -100,20 +103,51 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
100
103
|
'X-Search-Client': X_SEARCH_CLIENT
|
|
101
104
|
}, enableTelemetry === false && {
|
|
102
105
|
'X-Enable-Telemetry': false
|
|
103
|
-
}), settings.headers);
|
|
106
|
+
}), settings.headers, settings.enableAppbase && settings.endpoint && settings.endpoint.headers ? settings.endpoint.headers : {});
|
|
107
|
+
|
|
108
|
+
var url = settings.url && settings.url.trim() !== '' ? settings.url : 'https://scalr.api.appbase.io';
|
|
109
|
+
var transformRequest = settings.transformRequest || null;
|
|
110
|
+
|
|
111
|
+
if (settings.enableAppbase && settings.endpoint) {
|
|
112
|
+
if (settings.endpoint.url) {
|
|
113
|
+
// eslint-disable-next-line prefer-destructuring
|
|
114
|
+
url = settings.endpoint.url;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
transformRequest = function transformRequest(request) {
|
|
118
|
+
var modifiedRequest = helper.transformRequestUsingEndpoint(request, settings.endpoint);
|
|
119
|
+
|
|
120
|
+
if (settings.transformRequest) {
|
|
121
|
+
return settings.transformRequest(modifiedRequest);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return modifiedRequest;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
104
127
|
|
|
105
128
|
var config = {
|
|
106
|
-
url:
|
|
129
|
+
url: url,
|
|
107
130
|
app: settings.app,
|
|
108
131
|
credentials: credentials,
|
|
109
|
-
transformRequest:
|
|
132
|
+
transformRequest: transformRequest,
|
|
110
133
|
type: settings.type ? settings.type : '*',
|
|
111
134
|
transformResponse: settings.transformResponse || null,
|
|
112
135
|
graphQLUrl: settings.graphQLUrl || '',
|
|
113
136
|
headers: headers,
|
|
114
|
-
analyticsConfig: settings.appbaseConfig || null
|
|
137
|
+
analyticsConfig: settings.appbaseConfig || null,
|
|
138
|
+
enableAppbase: settings.enableAppbase,
|
|
139
|
+
endpoint: settings.endpoint
|
|
115
140
|
};
|
|
116
141
|
var appbaseRef = Appbase(config);
|
|
142
|
+
|
|
143
|
+
if (config.transformRequest) {
|
|
144
|
+
appbaseRef.transformRequest = config.transformRequest;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
if (config.transformResponse) {
|
|
148
|
+
appbaseRef.transformResponse = config.transformResponse;
|
|
149
|
+
}
|
|
150
|
+
|
|
117
151
|
var components = [];
|
|
118
152
|
var selectedValues = {};
|
|
119
153
|
var internalValues = {};
|
|
@@ -152,7 +186,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
152
186
|
var internalComponent = component.componentId + "__internal";
|
|
153
187
|
var label = component.filterLabel || component.componentId;
|
|
154
188
|
|
|
155
|
-
var _getValue = getValue(searchState, component.componentId, component.value || component.defaultValue),
|
|
189
|
+
var _getValue = getValue(searchState, component.componentId, component.value || component.defaultValue, componentType),
|
|
156
190
|
value = _getValue.value,
|
|
157
191
|
reference = _getValue.reference; // [1] set selected values
|
|
158
192
|
|
|
@@ -442,9 +476,10 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
442
476
|
}
|
|
443
477
|
|
|
444
478
|
timestamp[component] = res._timestamp;
|
|
479
|
+
var hitsObj = response.hits ? response.hits : response[component].hits;
|
|
445
480
|
hits = _rollupPluginBabelHelpers._extends({}, hits, (_extends7 = {}, _extends7[component] = {
|
|
446
|
-
hits:
|
|
447
|
-
total: typeof
|
|
481
|
+
hits: hitsObj.hits,
|
|
482
|
+
total: typeof hitsObj.total === 'object' ? hitsObj.total.value : hitsObj.total,
|
|
448
483
|
time: response.took
|
|
449
484
|
}, _extends7));
|
|
450
485
|
responseResolve();
|
|
@@ -520,4 +555,5 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
520
555
|
});
|
|
521
556
|
}
|
|
522
557
|
|
|
558
|
+
exports.componentTypeToDefaultValue = componentTypeToDefaultValue;
|
|
523
559
|
exports.default = initReactivesearch;
|
|
@@ -4,24 +4,24 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
4
4
|
|
|
5
5
|
var configureStore = require('@appbaseio/reactivecore');
|
|
6
6
|
var configureStore__default = _interopDefault(configureStore);
|
|
7
|
-
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-
|
|
7
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
8
8
|
var VueTypes = _interopDefault(require('vue-types'));
|
|
9
9
|
var constants = require('@appbaseio/reactivecore/lib/utils/constants');
|
|
10
10
|
var helper = require('@appbaseio/reactivecore/lib/utils/helper');
|
|
11
11
|
var styled = require('@appbaseio/vue-emotion');
|
|
12
12
|
var styled__default = _interopDefault(styled);
|
|
13
|
-
var Button = require('./Button-
|
|
14
|
-
var vueTypes = require('./vueTypes-
|
|
13
|
+
var Button = require('./Button-0673191e.js');
|
|
14
|
+
var vueTypes = require('./vueTypes-727b7c63.js');
|
|
15
15
|
var ReactiveList = require('./ReactiveList.js');
|
|
16
|
-
var index = require('./index-
|
|
17
|
-
var ComponentWrapper = require('./ComponentWrapper-
|
|
18
|
-
var Title = require('./Title-
|
|
16
|
+
var index = require('./index-6a167fe0.js');
|
|
17
|
+
var ComponentWrapper = require('./ComponentWrapper-ad3dad02.js');
|
|
18
|
+
var Title = require('./Title-1de7d0f4.js');
|
|
19
19
|
var ReactiveBase = require('./ReactiveBase.js');
|
|
20
20
|
var hotkeys = _interopDefault(require('hotkeys-js'));
|
|
21
|
-
var DataSearch = require('./DataSearch-
|
|
22
|
-
var CancelSvg = require('./CancelSvg-
|
|
23
|
-
var Input = require('./Input-
|
|
24
|
-
var Container = require('./Container-
|
|
21
|
+
var DataSearch = require('./DataSearch-d389fbe7.js');
|
|
22
|
+
var CancelSvg = require('./CancelSvg-9f258f4f.js');
|
|
23
|
+
var Input = require('./Input-e6603a7e.js');
|
|
24
|
+
var Container = require('./Container-daf30918.js');
|
|
25
25
|
var SingleList = require('./SingleList.js');
|
|
26
26
|
var MultiList = require('./MultiList.js');
|
|
27
27
|
var SingleDropdownList = require('./SingleDropdownList.js');
|
|
@@ -101,7 +101,7 @@ var SearchBox = {
|
|
|
101
101
|
var _this$$props = this.$props,
|
|
102
102
|
distinctField = _this$$props.distinctField,
|
|
103
103
|
distinctFieldConfig = _this$$props.distinctFieldConfig,
|
|
104
|
-
index = _this$$props.index,
|
|
104
|
+
index$1 = _this$$props.index,
|
|
105
105
|
mode = _this$$props.mode;
|
|
106
106
|
|
|
107
107
|
if (mode === constants.SEARCH_COMPONENTS_MODES.TAG) {
|
|
@@ -120,11 +120,11 @@ var SearchBox = {
|
|
|
120
120
|
console.warn('Warning(ReactiveSearch): In order to use the `distinctField` and `distinctFieldConfig` props, the `enableAppbase` prop must be set to true in `ReactiveBase`.');
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
if (!this.enableAppbase && index) {
|
|
123
|
+
if (!this.enableAppbase && index$1) {
|
|
124
124
|
console.warn('Warning(ReactiveSearch): In order to use the `index` prop, the `enableAppbase` prop must be set to true in `ReactiveBase`.');
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
this.currentValue = this.selectedValue || this.value || this.defaultValue || '';
|
|
127
|
+
this.currentValue = index.decodeHtml(this.selectedValue || this.value || this.defaultValue || '');
|
|
128
128
|
|
|
129
129
|
if (this.$options.isTagsMode) {
|
|
130
130
|
this.currentValue = '';
|
|
@@ -221,7 +221,9 @@ var SearchBox = {
|
|
|
221
221
|
enterButton: VueTypes.bool.def(false),
|
|
222
222
|
renderEnterButton: VueTypes.any,
|
|
223
223
|
mode: VueTypes.oneOf(['select', 'tag']).def('select'),
|
|
224
|
-
renderSelectedTags: VueTypes.any
|
|
224
|
+
renderSelectedTags: VueTypes.any,
|
|
225
|
+
searchboxId: VueTypes.string,
|
|
226
|
+
endpoint: vueTypes.types.endpointConfig
|
|
225
227
|
},
|
|
226
228
|
beforeMount: function beforeMount() {
|
|
227
229
|
if (this.selectedValue) {
|
|
@@ -465,7 +467,7 @@ var SearchBox = {
|
|
|
465
467
|
|
|
466
468
|
_this.currentValue = '';
|
|
467
469
|
} else {
|
|
468
|
-
_this.currentValue = value;
|
|
470
|
+
_this.currentValue = index.decodeHtml(value);
|
|
469
471
|
}
|
|
470
472
|
|
|
471
473
|
var queryHandlerValue = value;
|
|
@@ -971,7 +973,7 @@ var SearchBox = {
|
|
|
971
973
|
onAutofillClick: function onAutofillClick(suggestion) {
|
|
972
974
|
var value = suggestion.value;
|
|
973
975
|
this.isOpen = true;
|
|
974
|
-
this.currentValue = value;
|
|
976
|
+
this.currentValue = index.decodeHtml(value);
|
|
975
977
|
this.triggerDefaultQuery(value);
|
|
976
978
|
},
|
|
977
979
|
renderAutoFill: function renderAutoFill(suggestion) {
|
package/dist/cjs/install.js
CHANGED
|
@@ -3,43 +3,44 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('@appbaseio/reactivecore');
|
|
6
|
-
require('./_rollupPluginBabelHelpers-
|
|
6
|
+
require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
7
7
|
require('vue-types');
|
|
8
8
|
require('@appbaseio/reactivecore/lib/utils/constants');
|
|
9
9
|
require('@appbaseio/reactivecore/lib/utils/helper');
|
|
10
10
|
require('emotion');
|
|
11
11
|
require('@appbaseio/vue-emotion');
|
|
12
12
|
require('polished');
|
|
13
|
-
require('./Button-
|
|
14
|
-
require('./vueTypes-
|
|
13
|
+
require('./Button-0673191e.js');
|
|
14
|
+
require('./vueTypes-727b7c63.js');
|
|
15
|
+
require('./Pagination-3d73e1b3.js');
|
|
15
16
|
require('./ReactiveList.js');
|
|
16
17
|
require('@appbaseio/reactivecore/lib/utils/transform');
|
|
17
18
|
require('redux');
|
|
18
|
-
require('./index-
|
|
19
|
-
require('./ComponentWrapper-
|
|
19
|
+
require('./index-6a167fe0.js');
|
|
20
|
+
require('./ComponentWrapper-ad3dad02.js');
|
|
20
21
|
require('@vue/babel-helper-vue-jsx-merge-props');
|
|
21
|
-
require('./Title-
|
|
22
|
-
require('./ListItem-
|
|
23
|
-
require('./Card-
|
|
24
|
-
require('./Flex-
|
|
22
|
+
require('./Title-1de7d0f4.js');
|
|
23
|
+
require('./ListItem-8c9e0d68.js');
|
|
24
|
+
require('./Card-642547a8.js');
|
|
25
|
+
require('./Flex-aa517a13.js');
|
|
25
26
|
require('@appbaseio/reactivecore/lib/actions/analytics');
|
|
26
27
|
require('appbase-js');
|
|
27
28
|
require('url-search-params-polyfill');
|
|
28
29
|
require('./ReactiveBase.js');
|
|
29
30
|
require('hotkeys-js');
|
|
30
|
-
require('./DataSearch-
|
|
31
|
-
require('./CancelSvg-
|
|
32
|
-
require('./Input-
|
|
31
|
+
require('./DataSearch-d389fbe7.js');
|
|
32
|
+
require('./CancelSvg-9f258f4f.js');
|
|
33
|
+
require('./Input-e6603a7e.js');
|
|
33
34
|
require('compute-scroll-into-view');
|
|
34
|
-
require('./Container-
|
|
35
|
+
require('./Container-daf30918.js');
|
|
35
36
|
require('vue-highlight-words');
|
|
36
|
-
var install = require('./install-
|
|
37
|
+
var install = require('./install-3b864d8f.js');
|
|
37
38
|
require('@appbaseio/reactivecore/lib/utils/suggestions');
|
|
38
|
-
require('./FormControlList-
|
|
39
|
-
require('./utils-
|
|
39
|
+
require('./FormControlList-c195a592.js');
|
|
40
|
+
require('./utils-d6a52588.js');
|
|
40
41
|
require('./SingleList.js');
|
|
41
42
|
require('./MultiList.js');
|
|
42
|
-
require('./DropDown-
|
|
43
|
+
require('./DropDown-c479bbb0.js');
|
|
43
44
|
require('./SingleDropdownList.js');
|
|
44
45
|
require('./MultiDropdownList.js');
|
|
45
46
|
require('./ToggleButton.js');
|
|
@@ -50,7 +51,7 @@ require('./MultiRange.js');
|
|
|
50
51
|
require('./ResultCard.js');
|
|
51
52
|
require('./ResultList.js');
|
|
52
53
|
require('vue-no-ssr');
|
|
53
|
-
require('./ssr-
|
|
54
|
+
require('./ssr-3027b848.js');
|
|
54
55
|
require('./RangeSlider.js');
|
|
55
56
|
require('./DynamicRangeSlider.js');
|
|
56
57
|
require('@appbaseio/reactivecore/lib/actions/value');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
4
|
|
|
5
|
-
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-
|
|
5
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
6
6
|
var styled = require('@appbaseio/vue-emotion');
|
|
7
7
|
var styled__default = _interopDefault(styled);
|
|
8
8
|
var NoSSR = _interopDefault(require('vue-no-ssr'));
|
|
@@ -4,7 +4,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
4
4
|
|
|
5
5
|
var configureStore = require('@appbaseio/reactivecore');
|
|
6
6
|
var configureStore__default = _interopDefault(configureStore);
|
|
7
|
-
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-
|
|
7
|
+
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-c705cbe6.js');
|
|
8
8
|
|
|
9
9
|
var getAggsOrder = configureStore.helper.getAggsOrder;
|
|
10
10
|
|
package/dist/cjs/version.js
CHANGED
|
@@ -7,21 +7,35 @@ var VueTypes = _interopDefault(require('vue-types'));
|
|
|
7
7
|
VueTypes.sensibleDefaults = false;
|
|
8
8
|
var reactKeyType = VueTypes.oneOfType([VueTypes.string, VueTypes.arrayOf(VueTypes.string), VueTypes.object, VueTypes.arrayOf(VueTypes.object)]);
|
|
9
9
|
|
|
10
|
-
function validateLocation(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return
|
|
10
|
+
function validateLocation(value) {
|
|
11
|
+
if (!value || !value.lat || !value.lng) {
|
|
12
|
+
console.error(new Error('location must be an object with lat and lng keys defined'));
|
|
13
|
+
return false;
|
|
14
|
+
} // eslint-disable-next-line
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
if (isNaN(value.lat)) {
|
|
18
|
+
console.error(new Error('lat value must be a number'));
|
|
19
|
+
return false;
|
|
20
|
+
} // eslint-disable-next-line
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
if (isNaN(value.lat)) {
|
|
24
|
+
console.error(new Error('lng value must be a number'));
|
|
25
|
+
return false;
|
|
14
26
|
}
|
|
15
27
|
|
|
16
|
-
if (
|
|
17
|
-
|
|
28
|
+
if (value.lat < -90 || value.lat > 90) {
|
|
29
|
+
console.error(new Error('lat value should be between -90 and 90.'));
|
|
30
|
+
return false;
|
|
18
31
|
}
|
|
19
32
|
|
|
20
|
-
if (
|
|
21
|
-
|
|
33
|
+
if (value.lat < -180 || value.lat > 180) {
|
|
34
|
+
console.error(new Error('lng value should be between -180 and 180.'));
|
|
35
|
+
return false;
|
|
22
36
|
}
|
|
23
37
|
|
|
24
|
-
return
|
|
38
|
+
return true;
|
|
25
39
|
}
|
|
26
40
|
|
|
27
41
|
var types = {
|
|
@@ -92,10 +106,7 @@ var types = {
|
|
|
92
106
|
rangeLabelsAlign: VueTypes.oneOf(['left', 'right']),
|
|
93
107
|
title: VueTypes.oneOfType([VueTypes.string, VueTypes.any]),
|
|
94
108
|
tooltipTrigger: VueTypes.oneOf(['always', 'none', 'hover']),
|
|
95
|
-
location: VueTypes.
|
|
96
|
-
lat: validateLocation,
|
|
97
|
-
lng: validateLocation
|
|
98
|
-
}),
|
|
109
|
+
location: VueTypes.custom(validateLocation),
|
|
99
110
|
unit: VueTypes.oneOf(['mi', 'miles', 'yd', 'yards', 'ft', 'feet', 'in', 'inch', 'km', 'kilometers', 'm', 'meters', 'cm', 'centimeters', 'mm', 'millimeters', 'NM', 'nmi', 'nauticalmiles']),
|
|
100
111
|
value: VueTypes.string.def(undefined),
|
|
101
112
|
analyticsConfig: VueTypes.shape({
|
|
@@ -118,6 +129,12 @@ var types = {
|
|
|
118
129
|
mongodb: VueTypes.shape({
|
|
119
130
|
db: VueTypes.string,
|
|
120
131
|
collection: VueTypes.string
|
|
132
|
+
}),
|
|
133
|
+
endpointConfig: VueTypes.shape({
|
|
134
|
+
url: VueTypes.string.isRequired,
|
|
135
|
+
method: VueTypes.string,
|
|
136
|
+
headers: VueTypes.object,
|
|
137
|
+
body: VueTypes.object
|
|
121
138
|
})
|
|
122
139
|
};
|
|
123
140
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
2
2
|
import { css } from 'emotion';
|
|
3
3
|
import styled from '@appbaseio/vue-emotion';
|
|
4
4
|
import { darken, rgba, lighten } from 'polished';
|
|
@@ -7,12 +7,12 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
7
7
|
|
|
8
8
|
var filters = function filters(_ref) {
|
|
9
9
|
var borderColor = _ref.colors.borderColor;
|
|
10
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\
|
|
10
|
+
return css(_templateObject || (_templateObject = _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');
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
var pagination = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n\tmargin: 10px -3px;\n\tmax-width: 100%;\n\ttext-align: center;\n\n\
|
|
14
|
-
var toggleButtons = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\
|
|
15
|
-
var numberBoxContainer = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n\tmargin: 0 -5px;\n\
|
|
13
|
+
var pagination = css(_templateObject2 || (_templateObject2 = _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(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 3px 3px;\n\t}\n"])));
|
|
15
|
+
var numberBoxContainer = css(_templateObject4 || (_templateObject4 = _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
|
|
|
17
17
|
var primary = function primary(_ref2) {
|
|
18
18
|
var theme = _ref2.theme;
|
|
@@ -28,7 +28,7 @@ var disabled = function disabled(_ref3) {
|
|
|
28
28
|
return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n\tbackground-color: ", ";\n\tcolor: #ccc;\n\tcursor: not-allowed;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n"])), theme.colors.backgroundColor ? lighten(0.1, theme.colors.backgroundColor) : '#fafafa', theme.colors.backgroundColor ? lighten(0.2, theme.colors.backgroundColor) : '#fafafa');
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
var Button = styled('
|
|
31
|
+
var Button = styled('button')(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n\tdisplay: inline-flex;\n\tjustify-content: center;\n\talign-items: center;\n\tborder-radius: 3px;\n\tborder: 1px solid transparent;\n\tmin-height: 30px;\n\tword-wrap: break-word;\n\tpadding: 5px 12px;\n\tline-height: 1.2rem;\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tcursor: pointer;\n\tuser-select: none;\n\ttransition: all 0.3s ease;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:focus {\n\t\toutline: 0;\n\t\tborder-color: ", ";\n\t\tbox-shadow: ", ";\n\t}\n\n\t", ";\n\t", ";\n\t", ";\n\n\t&.enter-btn {\n\t\tborder-top-left-radius: 0px;\n\t\tborder-bottom-left-radius: 0px;\n\t\theight: 100%;\n\t}\n"])), function (_ref4) {
|
|
32
32
|
var theme = _ref4.theme;
|
|
33
33
|
return theme.colors.backgroundColor || '#eee';
|
|
34
34
|
}, function (_ref5) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
2
2
|
import styled, { css } from '@appbaseio/vue-emotion';
|
|
3
3
|
import computeScrollIntoView from 'compute-scroll-into-view';
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
2
2
|
import { css } from 'emotion';
|
|
3
3
|
import styled from '@appbaseio/vue-emotion';
|
|
4
4
|
import { lighten } from 'polished';
|
|
5
|
-
import './Title-
|
|
5
|
+
import './Title-3342664a.js';
|
|
6
6
|
|
|
7
7
|
var _templateObject, _templateObject2, _templateObject3;
|
|
8
8
|
var container = css(_templateObject || (_templateObject = _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"])));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import { getInternalComponentID } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
6
|
-
import { c as connect, b as getCamelCase, d as getValidPropsKeys } from './index-
|
|
6
|
+
import { c as connect, b as getCamelCase, d as getValidPropsKeys } from './index-7788a843.js';
|
|
7
7
|
|
|
8
8
|
var addComponent = Actions.addComponent,
|
|
9
9
|
removeComponent = Actions.removeComponent,
|